Mercurial > dwindows
comparison configure @ 622:fb59f9eeeecd
SUpport for embedded mozilla/firefox widget
author | mhessling@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Mon, 07 Apr 2008 06:59:45 +0000 |
parents | 1b398af1ec38 |
children | 7bdb2a58c51d |
comparison
equal
deleted
inserted
replaced
621:46c261153aa4 | 622:fb59f9eeeecd |
---|---|
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 GNU Autoconf 2.53. | 3 # Generated by GNU Autoconf 2.61. |
4 # | 4 # |
5 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 | 5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
6 # Free Software Foundation, Inc. | 6 # 2002, 2003, 2004, 2005, 2006 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 | |
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 ## --------------------- ## | 9 ## --------------------- ## |
18 ## M4sh Initialization. ## | 10 ## M4sh Initialization. ## |
19 ## --------------------- ## | 11 ## --------------------- ## |
20 | 12 |
21 # Be Bourne compatible | 13 # Be more Bourne compatible |
14 DUALCASE=1; export DUALCASE # for MKS sh | |
22 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | 15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
23 emulate sh | 16 emulate sh |
24 NULLCMD=: | 17 NULLCMD=: |
25 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then | 18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
26 set -o posix | 19 # is contrary to our usage. Disable this feature. |
27 fi | 20 alias -g '${1+"$@"}'='"$@"' |
28 | 21 setopt NO_GLOB_SUBST |
29 # NLS nuisances. | 22 else |
30 # Support unset when possible. | 23 case `(set -o) 2>/dev/null` in |
31 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then | 24 *posix*) set -o posix ;; |
32 as_unset=unset | 25 esac |
33 else | 26 |
34 as_unset=false | 27 fi |
35 fi | 28 |
36 | 29 |
37 (set +x; test -n "`(LANG=C; export LANG) 2>&1`") && | 30 |
38 { $as_unset LANG || test "${LANG+set}" != set; } || | 31 |
39 { LANG=C; export LANG; } | 32 # PATH needs CR |
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. | |
76 # Avoid depending upon Character Ranges. | 33 # Avoid depending upon Character Ranges. |
77 as_cr_letters='abcdefghijklmnopqrstuvwxyz' | 34 as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
78 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | 35 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
79 as_cr_Letters=$as_cr_letters$as_cr_LETTERS | 36 as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
80 as_cr_digits='0123456789' | 37 as_cr_digits='0123456789' |
81 as_cr_alnum=$as_cr_Letters$as_cr_digits | 38 as_cr_alnum=$as_cr_Letters$as_cr_digits |
82 | 39 |
83 # The user is always right. | 40 # The user is always right. |
84 if test "${PATH_SEPARATOR+set}" != set; then | 41 if test "${PATH_SEPARATOR+set}" != set; then |
85 echo "#! /bin/sh" >conftest.sh | 42 echo "#! /bin/sh" >conf$$.sh |
86 echo "exit 0" >>conftest.sh | 43 echo "exit 0" >>conf$$.sh |
87 chmod +x conftest.sh | 44 chmod +x conf$$.sh |
88 if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then | 45 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
89 PATH_SEPARATOR=';' | 46 PATH_SEPARATOR=';' |
90 else | 47 else |
91 PATH_SEPARATOR=: | 48 PATH_SEPARATOR=: |
92 fi | 49 fi |
93 rm -f conftest.sh | 50 rm -f conf$$.sh |
94 fi | 51 fi |
95 | 52 |
96 | 53 # Support unset when possible. |
97 as_lineno_1=$LINENO | 54 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
98 as_lineno_2=$LINENO | 55 as_unset=unset |
99 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` | 56 else |
100 test "x$as_lineno_1" != "x$as_lineno_2" && | 57 as_unset=false |
101 test "x$as_lineno_3" = "x$as_lineno_2" || { | 58 fi |
102 # Find who we are. Look in the path if we contain no path at all | 59 |
103 # relative or not. | 60 |
104 case $0 in | 61 # IFS |
105 *[\\/]* ) as_myself=$0 ;; | 62 # We need space, tab and new line, in precisely that order. Quoting is |
106 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 63 # there to prevent editors from complaining about space-tab. |
64 # (If _AS_PATH_WALK were called with IFS unset, it would disable word | |
65 # splitting by setting IFS to empty value.) | |
66 as_nl=' | |
67 ' | |
68 IFS=" "" $as_nl" | |
69 | |
70 # Find who we are. Look in the path if we contain no directory separator. | |
71 case $0 in | |
72 *[\\/]* ) as_myself=$0 ;; | |
73 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
107 for as_dir in $PATH | 74 for as_dir in $PATH |
108 do | 75 do |
109 IFS=$as_save_IFS | 76 IFS=$as_save_IFS |
110 test -z "$as_dir" && as_dir=. | 77 test -z "$as_dir" && as_dir=. |
111 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | 78 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
112 done | 79 done |
113 | 80 IFS=$as_save_IFS |
114 ;; | 81 |
115 esac | 82 ;; |
116 # We did not find ourselves, most probably we were run as `sh COMMAND' | 83 esac |
117 # in which case we are not to be found in the path. | 84 # We did not find ourselves, most probably we were run as `sh COMMAND' |
118 if test "x$as_myself" = x; then | 85 # in which case we are not to be found in the path. |
119 as_myself=$0 | 86 if test "x$as_myself" = x; then |
87 as_myself=$0 | |
88 fi | |
89 if test ! -f "$as_myself"; then | |
90 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 | |
91 { (exit 1); exit 1; } | |
92 fi | |
93 | |
94 # Work around bugs in pre-3.0 UWIN ksh. | |
95 for as_var in ENV MAIL MAILPATH | |
96 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var | |
97 done | |
98 PS1='$ ' | |
99 PS2='> ' | |
100 PS4='+ ' | |
101 | |
102 # NLS nuisances. | |
103 for as_var in \ | |
104 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ | |
105 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ | |
106 LC_TELEPHONE LC_TIME | |
107 do | |
108 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then | |
109 eval $as_var=C; export $as_var | |
110 else | |
111 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var | |
120 fi | 112 fi |
121 if test ! -f "$as_myself"; then | 113 done |
122 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 | 114 |
123 { (exit 1); exit 1; }; } | 115 # Required to use basename. |
124 fi | 116 if expr a : '\(a\)' >/dev/null 2>&1 && |
125 case $CONFIG_SHELL in | 117 test "X`expr 00001 : '.*\(...\)'`" = X001; then |
126 '') | 118 as_expr=expr |
119 else | |
120 as_expr=false | |
121 fi | |
122 | |
123 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then | |
124 as_basename=basename | |
125 else | |
126 as_basename=false | |
127 fi | |
128 | |
129 | |
130 # Name of the executable. | |
131 as_me=`$as_basename -- "$0" || | |
132 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | |
133 X"$0" : 'X\(//\)$' \| \ | |
134 X"$0" : 'X\(/\)' \| . 2>/dev/null || | |
135 echo X/"$0" | | |
136 sed '/^.*\/\([^/][^/]*\)\/*$/{ | |
137 s//\1/ | |
138 q | |
139 } | |
140 /^X\/\(\/\/\)$/{ | |
141 s//\1/ | |
142 q | |
143 } | |
144 /^X\/\(\/\).*/{ | |
145 s//\1/ | |
146 q | |
147 } | |
148 s/.*/./; q'` | |
149 | |
150 # CDPATH. | |
151 $as_unset CDPATH | |
152 | |
153 | |
154 if test "x$CONFIG_SHELL" = x; then | |
155 if (eval ":") 2>/dev/null; then | |
156 as_have_required=yes | |
157 else | |
158 as_have_required=no | |
159 fi | |
160 | |
161 if test $as_have_required = yes && (eval ": | |
162 (as_func_return () { | |
163 (exit \$1) | |
164 } | |
165 as_func_success () { | |
166 as_func_return 0 | |
167 } | |
168 as_func_failure () { | |
169 as_func_return 1 | |
170 } | |
171 as_func_ret_success () { | |
172 return 0 | |
173 } | |
174 as_func_ret_failure () { | |
175 return 1 | |
176 } | |
177 | |
178 exitcode=0 | |
179 if as_func_success; then | |
180 : | |
181 else | |
182 exitcode=1 | |
183 echo as_func_success failed. | |
184 fi | |
185 | |
186 if as_func_failure; then | |
187 exitcode=1 | |
188 echo as_func_failure succeeded. | |
189 fi | |
190 | |
191 if as_func_ret_success; then | |
192 : | |
193 else | |
194 exitcode=1 | |
195 echo as_func_ret_success failed. | |
196 fi | |
197 | |
198 if as_func_ret_failure; then | |
199 exitcode=1 | |
200 echo as_func_ret_failure succeeded. | |
201 fi | |
202 | |
203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then | |
204 : | |
205 else | |
206 exitcode=1 | |
207 echo positional parameters were not saved. | |
208 fi | |
209 | |
210 test \$exitcode = 0) || { (exit 1); exit 1; } | |
211 | |
212 ( | |
213 as_lineno_1=\$LINENO | |
214 as_lineno_2=\$LINENO | |
215 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && | |
216 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } | |
217 ") 2> /dev/null; then | |
218 : | |
219 else | |
220 as_candidate_shells= | |
127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
128 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH | 222 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
129 do | 223 do |
130 IFS=$as_save_IFS | 224 IFS=$as_save_IFS |
131 test -z "$as_dir" && as_dir=. | 225 test -z "$as_dir" && as_dir=. |
132 for as_base in sh bash ksh sh5; do | 226 case $as_dir in |
133 case $as_dir in | |
134 /*) | 227 /*) |
135 if ("$as_dir/$as_base" -c ' | 228 for as_base in sh bash ksh sh5; do |
229 as_candidate_shells="$as_candidate_shells $as_dir/$as_base" | |
230 done;; | |
231 esac | |
232 done | |
233 IFS=$as_save_IFS | |
234 | |
235 | |
236 for as_shell in $as_candidate_shells $SHELL; do | |
237 # Try only shells that exist, to save several forks. | |
238 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && | |
239 { ("$as_shell") 2> /dev/null <<\_ASEOF | |
240 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | |
241 emulate sh | |
242 NULLCMD=: | |
243 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which | |
244 # is contrary to our usage. Disable this feature. | |
245 alias -g '${1+"$@"}'='"$@"' | |
246 setopt NO_GLOB_SUBST | |
247 else | |
248 case `(set -o) 2>/dev/null` in | |
249 *posix*) set -o posix ;; | |
250 esac | |
251 | |
252 fi | |
253 | |
254 | |
255 : | |
256 _ASEOF | |
257 }; then | |
258 CONFIG_SHELL=$as_shell | |
259 as_have_required=yes | |
260 if { "$as_shell" 2> /dev/null <<\_ASEOF | |
261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | |
262 emulate sh | |
263 NULLCMD=: | |
264 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which | |
265 # is contrary to our usage. Disable this feature. | |
266 alias -g '${1+"$@"}'='"$@"' | |
267 setopt NO_GLOB_SUBST | |
268 else | |
269 case `(set -o) 2>/dev/null` in | |
270 *posix*) set -o posix ;; | |
271 esac | |
272 | |
273 fi | |
274 | |
275 | |
276 : | |
277 (as_func_return () { | |
278 (exit $1) | |
279 } | |
280 as_func_success () { | |
281 as_func_return 0 | |
282 } | |
283 as_func_failure () { | |
284 as_func_return 1 | |
285 } | |
286 as_func_ret_success () { | |
287 return 0 | |
288 } | |
289 as_func_ret_failure () { | |
290 return 1 | |
291 } | |
292 | |
293 exitcode=0 | |
294 if as_func_success; then | |
295 : | |
296 else | |
297 exitcode=1 | |
298 echo as_func_success failed. | |
299 fi | |
300 | |
301 if as_func_failure; then | |
302 exitcode=1 | |
303 echo as_func_failure succeeded. | |
304 fi | |
305 | |
306 if as_func_ret_success; then | |
307 : | |
308 else | |
309 exitcode=1 | |
310 echo as_func_ret_success failed. | |
311 fi | |
312 | |
313 if as_func_ret_failure; then | |
314 exitcode=1 | |
315 echo as_func_ret_failure succeeded. | |
316 fi | |
317 | |
318 if ( set x; as_func_ret_success y && test x = "$1" ); then | |
319 : | |
320 else | |
321 exitcode=1 | |
322 echo positional parameters were not saved. | |
323 fi | |
324 | |
325 test $exitcode = 0) || { (exit 1); exit 1; } | |
326 | |
327 ( | |
136 as_lineno_1=$LINENO | 328 as_lineno_1=$LINENO |
137 as_lineno_2=$LINENO | 329 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" && | 330 test "x$as_lineno_1" != "x$as_lineno_2" && |
140 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then | 331 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } |
141 CONFIG_SHELL=$as_dir/$as_base | 332 |
142 export CONFIG_SHELL | 333 _ASEOF |
143 exec "$CONFIG_SHELL" "$0" ${1+"$@"} | 334 }; then |
144 fi;; | 335 break |
145 esac | 336 fi |
146 done | 337 |
147 done | 338 fi |
148 ;; | 339 |
149 esac | 340 done |
341 | |
342 if test "x$CONFIG_SHELL" != x; then | |
343 for as_var in BASH_ENV ENV | |
344 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var | |
345 done | |
346 export CONFIG_SHELL | |
347 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} | |
348 fi | |
349 | |
350 | |
351 if test $as_have_required = no; then | |
352 echo This script requires a shell more modern than all the | |
353 echo shells that I found on your system. Please install a | |
354 echo modern shell, or manually run the script under such a | |
355 echo shell if you do have one. | |
356 { (exit 1); exit 1; } | |
357 fi | |
358 | |
359 | |
360 fi | |
361 | |
362 fi | |
363 | |
364 | |
365 | |
366 (eval "as_func_return () { | |
367 (exit \$1) | |
368 } | |
369 as_func_success () { | |
370 as_func_return 0 | |
371 } | |
372 as_func_failure () { | |
373 as_func_return 1 | |
374 } | |
375 as_func_ret_success () { | |
376 return 0 | |
377 } | |
378 as_func_ret_failure () { | |
379 return 1 | |
380 } | |
381 | |
382 exitcode=0 | |
383 if as_func_success; then | |
384 : | |
385 else | |
386 exitcode=1 | |
387 echo as_func_success failed. | |
388 fi | |
389 | |
390 if as_func_failure; then | |
391 exitcode=1 | |
392 echo as_func_failure succeeded. | |
393 fi | |
394 | |
395 if as_func_ret_success; then | |
396 : | |
397 else | |
398 exitcode=1 | |
399 echo as_func_ret_success failed. | |
400 fi | |
401 | |
402 if as_func_ret_failure; then | |
403 exitcode=1 | |
404 echo as_func_ret_failure succeeded. | |
405 fi | |
406 | |
407 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then | |
408 : | |
409 else | |
410 exitcode=1 | |
411 echo positional parameters were not saved. | |
412 fi | |
413 | |
414 test \$exitcode = 0") || { | |
415 echo No shell found that supports shell functions. | |
416 echo Please tell autoconf@gnu.org about your system, | |
417 echo including any error possibly output before this | |
418 echo message | |
419 } | |
420 | |
421 | |
422 | |
423 as_lineno_1=$LINENO | |
424 as_lineno_2=$LINENO | |
425 test "x$as_lineno_1" != "x$as_lineno_2" && | |
426 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { | |
150 | 427 |
151 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO | 428 # 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 | 429 # uniformly replaced by the line number. The first 'sed' inserts a |
153 # line-number line before each line; the second 'sed' does the real | 430 # line-number line after each line using $LINENO; the second 'sed' |
154 # work. The second script uses 'N' to pair each line-number line | 431 # does the real work. The second script uses 'N' to pair each |
155 # with the numbered line, and appends trailing '-' during | 432 # line-number line with the line containing $LINENO, and appends |
156 # substitution so that $LINENO is not a special case at line end. | 433 # trailing '-' during substitution so that $LINENO is not a special |
434 # case at line end. | |
157 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the | 435 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
158 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) | 436 # scripts with optimization help from Paolo Bonzini. Blame Lee |
159 sed '=' <$as_myself | | 437 # E. McMahon (1931-1989) for sed's syntax. :-) |
438 sed -n ' | |
439 p | |
440 /[$]LINENO/= | |
441 ' <$as_myself | | |
160 sed ' | 442 sed ' |
443 s/[$]LINENO.*/&-/ | |
444 t lineno | |
445 b | |
446 :lineno | |
161 N | 447 N |
162 s,$,-, | 448 :loop |
163 : loop | 449 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
164 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, | |
165 t loop | 450 t loop |
166 s,-$,, | 451 s/-\n.*// |
167 s,^['$as_cr_digits']*\n,, | |
168 ' >$as_me.lineno && | 452 ' >$as_me.lineno && |
169 chmod +x $as_me.lineno || | 453 chmod +x "$as_me.lineno" || |
170 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 | 454 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
171 { (exit 1); exit 1; }; } | 455 { (exit 1); exit 1; }; } |
172 | 456 |
173 # Don't try to exec as it changes $[0], causing all sort of problems | 457 # 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 | 458 # (the dirname of $[0] is not the place where we might find the |
175 # original and so on. Autoconf is especially sensible to this). | 459 # original and so on. Autoconf is especially sensitive to this). |
176 . ./$as_me.lineno | 460 . "./$as_me.lineno" |
177 # Exit status is that of the last command. | 461 # Exit status is that of the last command. |
178 exit | 462 exit |
179 } | 463 } |
180 | 464 |
181 | 465 |
182 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in | 466 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
183 *c*,-n*) ECHO_N= ECHO_C=' | 467 as_dirname=dirname |
184 ' ECHO_T=' ' ;; | 468 else |
185 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; | 469 as_dirname=false |
186 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; | 470 fi |
187 esac | 471 |
188 | 472 ECHO_C= ECHO_N= ECHO_T= |
189 if expr a : '\(a\)' >/dev/null 2>&1; then | 473 case `echo -n x` in |
474 -n*) | |
475 case `echo 'x\c'` in | |
476 *c*) ECHO_T=' ';; # ECHO_T is single tab character. | |
477 *) ECHO_C='\c';; | |
478 esac;; | |
479 *) | |
480 ECHO_N='-n';; | |
481 esac | |
482 | |
483 if expr a : '\(a\)' >/dev/null 2>&1 && | |
484 test "X`expr 00001 : '.*\(...\)'`" = X001; then | |
190 as_expr=expr | 485 as_expr=expr |
191 else | 486 else |
192 as_expr=false | 487 as_expr=false |
193 fi | 488 fi |
194 | 489 |
195 rm -f conf$$ conf$$.exe conf$$.file | 490 rm -f conf$$ conf$$.exe conf$$.file |
491 if test -d conf$$.dir; then | |
492 rm -f conf$$.dir/conf$$.file | |
493 else | |
494 rm -f conf$$.dir | |
495 mkdir conf$$.dir | |
496 fi | |
196 echo >conf$$.file | 497 echo >conf$$.file |
197 if ln -s conf$$.file conf$$ 2>/dev/null; then | 498 if ln -s conf$$.file conf$$ 2>/dev/null; then |
198 # We could just check for DJGPP; but this test a) works b) is more generic | 499 as_ln_s='ln -s' |
199 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). | 500 # ... but there are two gotchas: |
200 if test -f conf$$.exe; then | 501 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
201 # Don't use ln at all; we don't have any links | 502 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
503 # In both cases, we have to default to `cp -p'. | |
504 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || | |
202 as_ln_s='cp -p' | 505 as_ln_s='cp -p' |
203 else | |
204 as_ln_s='ln -s' | |
205 fi | |
206 elif ln conf$$.file conf$$ 2>/dev/null; then | 506 elif ln conf$$.file conf$$ 2>/dev/null; then |
207 as_ln_s=ln | 507 as_ln_s=ln |
208 else | 508 else |
209 as_ln_s='cp -p' | 509 as_ln_s='cp -p' |
210 fi | 510 fi |
211 rm -f conf$$ conf$$.exe conf$$.file | 511 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
212 | 512 rmdir conf$$.dir 2>/dev/null |
213 as_executable_p="test -f" | 513 |
514 if mkdir -p . 2>/dev/null; then | |
515 as_mkdir_p=: | |
516 else | |
517 test -d ./-p && rmdir ./-p | |
518 as_mkdir_p=false | |
519 fi | |
520 | |
521 if test -x / >/dev/null 2>&1; then | |
522 as_test_x='test -x' | |
523 else | |
524 if ls -dL / >/dev/null 2>&1; then | |
525 as_ls_L_option=L | |
526 else | |
527 as_ls_L_option= | |
528 fi | |
529 as_test_x=' | |
530 eval sh -c '\'' | |
531 if test -d "$1"; then | |
532 test -d "$1/."; | |
533 else | |
534 case $1 in | |
535 -*)set "./$1";; | |
536 esac; | |
537 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in | |
538 ???[sx]*):;;*)false;;esac;fi | |
539 '\'' sh | |
540 ' | |
541 fi | |
542 as_executable_p=$as_test_x | |
214 | 543 |
215 # Sed expression to map a string onto a valid CPP name. | 544 # Sed expression to map a string onto a valid CPP name. |
216 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" | 545 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
217 | 546 |
218 # Sed expression to map a string onto a valid variable name. | 547 # Sed expression to map a string onto a valid variable name. |
219 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" | 548 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
220 | 549 |
221 | 550 |
222 # IFS | 551 |
223 # We need space, tab and new line, in precisely that order. | 552 exec 7<&0 </dev/null 6>&1 |
224 as_nl=' | |
225 ' | |
226 IFS=" $as_nl" | |
227 | |
228 # CDPATH. | |
229 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; } | |
230 | |
231 | 553 |
232 # Name of the host. | 554 # Name of the host. |
233 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, | 555 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, |
234 # so uname gets run too. | 556 # so uname gets run too. |
235 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` | 557 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
236 | 558 |
237 exec 6>&1 | |
238 | |
239 # | 559 # |
240 # Initializations. | 560 # Initializations. |
241 # | 561 # |
242 ac_default_prefix=/usr/local | 562 ac_default_prefix=/usr/local |
563 ac_clean_files= | |
564 ac_config_libobj_dir=. | |
565 LIBOBJS= | |
243 cross_compiling=no | 566 cross_compiling=no |
244 subdirs= | 567 subdirs= |
245 MFLAGS= | 568 MFLAGS= |
246 MAKEFLAGS= | 569 MAKEFLAGS= |
247 SHELL=${CONFIG_SHELL-/bin/sh} | 570 SHELL=${CONFIG_SHELL-/bin/sh} |
248 | |
249 # Maximum number of lines to put in a shell here document. | |
250 # This variable seems obsolete. It should probably be removed, and | |
251 # only ac_max_sed_lines should be used. | |
252 : ${ac_max_here_lines=38} | |
253 | 571 |
254 # Identity of this package. | 572 # Identity of this package. |
255 PACKAGE_NAME= | 573 PACKAGE_NAME= |
256 PACKAGE_TARNAME= | 574 PACKAGE_TARNAME= |
257 PACKAGE_VERSION= | 575 PACKAGE_VERSION= |
260 | 578 |
261 ac_unique_file="winmain.c" | 579 ac_unique_file="winmain.c" |
262 # Factoring default headers for most tests. | 580 # Factoring default headers for most tests. |
263 ac_includes_default="\ | 581 ac_includes_default="\ |
264 #include <stdio.h> | 582 #include <stdio.h> |
265 #if HAVE_SYS_TYPES_H | 583 #ifdef HAVE_SYS_TYPES_H |
266 # include <sys/types.h> | 584 # include <sys/types.h> |
267 #endif | 585 #endif |
268 #if HAVE_SYS_STAT_H | 586 #ifdef HAVE_SYS_STAT_H |
269 # include <sys/stat.h> | 587 # include <sys/stat.h> |
270 #endif | 588 #endif |
271 #if STDC_HEADERS | 589 #ifdef STDC_HEADERS |
272 # include <stdlib.h> | 590 # include <stdlib.h> |
273 # include <stddef.h> | 591 # include <stddef.h> |
274 #else | 592 #else |
275 # if HAVE_STDLIB_H | 593 # ifdef HAVE_STDLIB_H |
276 # include <stdlib.h> | 594 # include <stdlib.h> |
277 # endif | 595 # endif |
278 #endif | 596 #endif |
279 #if HAVE_STRING_H | 597 #ifdef HAVE_STRING_H |
280 # if !STDC_HEADERS && HAVE_MEMORY_H | 598 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H |
281 # include <memory.h> | 599 # include <memory.h> |
282 # endif | 600 # endif |
283 # include <string.h> | 601 # include <string.h> |
284 #endif | 602 #endif |
285 #if HAVE_STRINGS_H | 603 #ifdef HAVE_STRINGS_H |
286 # include <strings.h> | 604 # include <strings.h> |
287 #endif | 605 #endif |
288 #if HAVE_INTTYPES_H | 606 #ifdef HAVE_INTTYPES_H |
289 # include <inttypes.h> | 607 # include <inttypes.h> |
290 #else | |
291 # if HAVE_STDINT_H | |
292 # include <stdint.h> | |
293 # endif | |
294 #endif | 608 #endif |
295 #if HAVE_UNISTD_H | 609 #ifdef HAVE_STDINT_H |
610 # include <stdint.h> | |
611 #endif | |
612 #ifdef HAVE_UNISTD_H | |
296 # include <unistd.h> | 613 # include <unistd.h> |
297 #endif" | 614 #endif" |
615 | |
616 ac_subst_vars='SHELL | |
617 PATH_SEPARATOR | |
618 PACKAGE_NAME | |
619 PACKAGE_TARNAME | |
620 PACKAGE_VERSION | |
621 PACKAGE_STRING | |
622 PACKAGE_BUGREPORT | |
623 exec_prefix | |
624 prefix | |
625 program_transform_name | |
626 bindir | |
627 sbindir | |
628 libexecdir | |
629 datarootdir | |
630 datadir | |
631 sysconfdir | |
632 sharedstatedir | |
633 localstatedir | |
634 includedir | |
635 oldincludedir | |
636 docdir | |
637 infodir | |
638 htmldir | |
639 dvidir | |
640 pdfdir | |
641 psdir | |
642 libdir | |
643 localedir | |
644 mandir | |
645 DEFS | |
646 ECHO_C | |
647 ECHO_N | |
648 ECHO_T | |
649 LIBS | |
650 build_alias | |
651 host_alias | |
652 target_alias | |
653 DW_MAJOR_VERSION | |
654 DW_MINOR_VERSION | |
655 DW_SUB_VERSION | |
656 CC | |
657 CFLAGS | |
658 LDFLAGS | |
659 CPPFLAGS | |
660 ac_ct_CC | |
661 EXEEXT | |
662 OBJEXT | |
663 CXX | |
664 CXXFLAGS | |
665 ac_ct_CXX | |
666 MAKE | |
667 INSTALL_PROGRAM | |
668 INSTALL_SCRIPT | |
669 INSTALL_DATA | |
670 CPP | |
671 GREP | |
672 EGREP | |
673 PKG_CFG | |
674 GLIB_CONFIG | |
675 GLIB_CFLAGS | |
676 GLIB_LIBS | |
677 GTK_CONFIG | |
678 GTK_CFLAGS | |
679 GTK_LIBS | |
680 IMLIB_CONFIG | |
681 GDK_IMLIB_CFLAGS | |
682 GDK_IMLIB_LIBS | |
683 INCLUDES | |
684 RM | |
685 LN | |
686 CP | |
687 MV | |
688 MKDIR | |
689 SHAREDFLAG | |
690 SOSUFFIX | |
691 DW_SRC | |
692 DW_DEFINE | |
693 LIBOBJS | |
694 LTLIBOBJS' | |
695 ac_subst_files='' | |
696 ac_precious_vars='build_alias | |
697 host_alias | |
698 target_alias | |
699 CC | |
700 CFLAGS | |
701 LDFLAGS | |
702 LIBS | |
703 CPPFLAGS | |
704 CXX | |
705 CXXFLAGS | |
706 CCC | |
707 CPP' | |
298 | 708 |
299 | 709 |
300 # Initialize some variables set by options. | 710 # Initialize some variables set by options. |
301 ac_init_help= | 711 ac_init_help= |
302 ac_init_version=false | 712 ac_init_version=false |
320 # Installation directory options. | 730 # Installation directory options. |
321 # These are left unexpanded so users can "make install exec_prefix=/foo" | 731 # These are left unexpanded so users can "make install exec_prefix=/foo" |
322 # and all the variables that are supposed to be based on exec_prefix | 732 # and all the variables that are supposed to be based on exec_prefix |
323 # by default will actually change. | 733 # by default will actually change. |
324 # Use braces instead of parens because sh, perl, etc. also accept them. | 734 # Use braces instead of parens because sh, perl, etc. also accept them. |
735 # (The list follows the same order as the GNU Coding Standards.) | |
325 bindir='${exec_prefix}/bin' | 736 bindir='${exec_prefix}/bin' |
326 sbindir='${exec_prefix}/sbin' | 737 sbindir='${exec_prefix}/sbin' |
327 libexecdir='${exec_prefix}/libexec' | 738 libexecdir='${exec_prefix}/libexec' |
328 datadir='${prefix}/share' | 739 datarootdir='${prefix}/share' |
740 datadir='${datarootdir}' | |
329 sysconfdir='${prefix}/etc' | 741 sysconfdir='${prefix}/etc' |
330 sharedstatedir='${prefix}/com' | 742 sharedstatedir='${prefix}/com' |
331 localstatedir='${prefix}/var' | 743 localstatedir='${prefix}/var' |
332 libdir='${exec_prefix}/lib' | |
333 includedir='${prefix}/include' | 744 includedir='${prefix}/include' |
334 oldincludedir='/usr/include' | 745 oldincludedir='/usr/include' |
335 infodir='${prefix}/info' | 746 docdir='${datarootdir}/doc/${PACKAGE}' |
336 mandir='${prefix}/man' | 747 infodir='${datarootdir}/info' |
748 htmldir='${docdir}' | |
749 dvidir='${docdir}' | |
750 pdfdir='${docdir}' | |
751 psdir='${docdir}' | |
752 libdir='${exec_prefix}/lib' | |
753 localedir='${datarootdir}/locale' | |
754 mandir='${datarootdir}/man' | |
337 | 755 |
338 ac_prev= | 756 ac_prev= |
757 ac_dashdash= | |
339 for ac_option | 758 for ac_option |
340 do | 759 do |
341 # If the previous option needs an argument, assign it. | 760 # If the previous option needs an argument, assign it. |
342 if test -n "$ac_prev"; then | 761 if test -n "$ac_prev"; then |
343 eval "$ac_prev=\$ac_option" | 762 eval $ac_prev=\$ac_option |
344 ac_prev= | 763 ac_prev= |
345 continue | 764 continue |
346 fi | 765 fi |
347 | 766 |
348 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` | 767 case $ac_option in |
768 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; | |
769 *) ac_optarg=yes ;; | |
770 esac | |
349 | 771 |
350 # Accept the important Cygnus configure options, so we can diagnose typos. | 772 # Accept the important Cygnus configure options, so we can diagnose typos. |
351 | 773 |
352 case $ac_option in | 774 case $ac_dashdash$ac_option in |
775 --) | |
776 ac_dashdash=yes ;; | |
353 | 777 |
354 -bindir | --bindir | --bindi | --bind | --bin | --bi) | 778 -bindir | --bindir | --bindi | --bind | --bin | --bi) |
355 ac_prev=bindir ;; | 779 ac_prev=bindir ;; |
356 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) | 780 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
357 bindir=$ac_optarg ;; | 781 bindir=$ac_optarg ;; |
369 cache_file=$ac_optarg ;; | 793 cache_file=$ac_optarg ;; |
370 | 794 |
371 --config-cache | -C) | 795 --config-cache | -C) |
372 cache_file=config.cache ;; | 796 cache_file=config.cache ;; |
373 | 797 |
374 -datadir | --datadir | --datadi | --datad | --data | --dat | --da) | 798 -datadir | --datadir | --datadi | --datad) |
375 ac_prev=datadir ;; | 799 ac_prev=datadir ;; |
376 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ | 800 -datadir=* | --datadir=* | --datadi=* | --datad=*) |
377 | --da=*) | |
378 datadir=$ac_optarg ;; | 801 datadir=$ac_optarg ;; |
802 | |
803 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ | |
804 | --dataroo | --dataro | --datar) | |
805 ac_prev=datarootdir ;; | |
806 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ | |
807 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) | |
808 datarootdir=$ac_optarg ;; | |
379 | 809 |
380 -disable-* | --disable-*) | 810 -disable-* | --disable-*) |
381 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` | 811 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
382 # Reject names that are not valid shell variable names. | 812 # Reject names that are not valid shell variable names. |
383 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && | 813 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && |
384 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 | 814 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
385 { (exit 1); exit 1; }; } | 815 { (exit 1); exit 1; }; } |
386 ac_feature=`echo $ac_feature | sed 's/-/_/g'` | 816 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` |
387 eval "enable_$ac_feature=no" ;; | 817 eval enable_$ac_feature=no ;; |
818 | |
819 -docdir | --docdir | --docdi | --doc | --do) | |
820 ac_prev=docdir ;; | |
821 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) | |
822 docdir=$ac_optarg ;; | |
823 | |
824 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) | |
825 ac_prev=dvidir ;; | |
826 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) | |
827 dvidir=$ac_optarg ;; | |
388 | 828 |
389 -enable-* | --enable-*) | 829 -enable-* | --enable-*) |
390 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` | 830 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
391 # Reject names that are not valid shell variable names. | 831 # Reject names that are not valid shell variable names. |
392 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && | 832 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && |
393 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 | 833 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
394 { (exit 1); exit 1; }; } | 834 { (exit 1); exit 1; }; } |
395 ac_feature=`echo $ac_feature | sed 's/-/_/g'` | 835 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` |
396 case $ac_option in | 836 eval enable_$ac_feature=\$ac_optarg ;; |
397 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; | |
398 *) ac_optarg=yes ;; | |
399 esac | |
400 eval "enable_$ac_feature='$ac_optarg'" ;; | |
401 | 837 |
402 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | 838 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
403 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | 839 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
404 | --exec | --exe | --ex) | 840 | --exec | --exe | --ex) |
405 ac_prev=exec_prefix ;; | 841 ac_prev=exec_prefix ;; |
422 -host | --host | --hos | --ho) | 858 -host | --host | --hos | --ho) |
423 ac_prev=host_alias ;; | 859 ac_prev=host_alias ;; |
424 -host=* | --host=* | --hos=* | --ho=*) | 860 -host=* | --host=* | --hos=* | --ho=*) |
425 host_alias=$ac_optarg ;; | 861 host_alias=$ac_optarg ;; |
426 | 862 |
863 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) | |
864 ac_prev=htmldir ;; | |
865 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ | |
866 | --ht=*) | |
867 htmldir=$ac_optarg ;; | |
868 | |
427 -includedir | --includedir | --includedi | --included | --include \ | 869 -includedir | --includedir | --includedi | --included | --include \ |
428 | --includ | --inclu | --incl | --inc) | 870 | --includ | --inclu | --incl | --inc) |
429 ac_prev=includedir ;; | 871 ac_prev=includedir ;; |
430 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | 872 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
431 | --includ=* | --inclu=* | --incl=* | --inc=*) | 873 | --includ=* | --inclu=* | --incl=* | --inc=*) |
446 ac_prev=libexecdir ;; | 888 ac_prev=libexecdir ;; |
447 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | 889 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
448 | --libexe=* | --libex=* | --libe=*) | 890 | --libexe=* | --libex=* | --libe=*) |
449 libexecdir=$ac_optarg ;; | 891 libexecdir=$ac_optarg ;; |
450 | 892 |
893 -localedir | --localedir | --localedi | --localed | --locale) | |
894 ac_prev=localedir ;; | |
895 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) | |
896 localedir=$ac_optarg ;; | |
897 | |
451 -localstatedir | --localstatedir | --localstatedi | --localstated \ | 898 -localstatedir | --localstatedir | --localstatedi | --localstated \ |
452 | --localstate | --localstat | --localsta | --localst \ | 899 | --localstate | --localstat | --localsta | --localst | --locals) |
453 | --locals | --local | --loca | --loc | --lo) | |
454 ac_prev=localstatedir ;; | 900 ac_prev=localstatedir ;; |
455 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | 901 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
456 | --localstate=* | --localstat=* | --localsta=* | --localst=* \ | 902 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) |
457 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) | |
458 localstatedir=$ac_optarg ;; | 903 localstatedir=$ac_optarg ;; |
459 | 904 |
460 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) | 905 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
461 ac_prev=mandir ;; | 906 ac_prev=mandir ;; |
462 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) | 907 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
517 | --program-transfo=* | --program-transf=* \ | 962 | --program-transfo=* | --program-transf=* \ |
518 | --program-trans=* | --program-tran=* \ | 963 | --program-trans=* | --program-tran=* \ |
519 | --progr-tra=* | --program-tr=* | --program-t=*) | 964 | --progr-tra=* | --program-tr=* | --program-t=*) |
520 program_transform_name=$ac_optarg ;; | 965 program_transform_name=$ac_optarg ;; |
521 | 966 |
967 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) | |
968 ac_prev=pdfdir ;; | |
969 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) | |
970 pdfdir=$ac_optarg ;; | |
971 | |
972 -psdir | --psdir | --psdi | --psd | --ps) | |
973 ac_prev=psdir ;; | |
974 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) | |
975 psdir=$ac_optarg ;; | |
976 | |
522 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | 977 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
523 | -silent | --silent | --silen | --sile | --sil) | 978 | -silent | --silent | --silen | --sile | --sil) |
524 silent=yes ;; | 979 silent=yes ;; |
525 | 980 |
526 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) | 981 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
569 ac_init_version=: ;; | 1024 ac_init_version=: ;; |
570 | 1025 |
571 -with-* | --with-*) | 1026 -with-* | --with-*) |
572 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` | 1027 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
573 # Reject names that are not valid shell variable names. | 1028 # Reject names that are not valid shell variable names. |
574 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && | 1029 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && |
575 { echo "$as_me: error: invalid package name: $ac_package" >&2 | 1030 { echo "$as_me: error: invalid package name: $ac_package" >&2 |
576 { (exit 1); exit 1; }; } | 1031 { (exit 1); exit 1; }; } |
577 ac_package=`echo $ac_package| sed 's/-/_/g'` | 1032 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` |
578 case $ac_option in | 1033 eval with_$ac_package=\$ac_optarg ;; |
579 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; | |
580 *) ac_optarg=yes ;; | |
581 esac | |
582 eval "with_$ac_package='$ac_optarg'" ;; | |
583 | 1034 |
584 -without-* | --without-*) | 1035 -without-* | --without-*) |
585 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` | 1036 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
586 # Reject names that are not valid shell variable names. | 1037 # Reject names that are not valid shell variable names. |
587 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && | 1038 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && |
588 { echo "$as_me: error: invalid package name: $ac_package" >&2 | 1039 { echo "$as_me: error: invalid package name: $ac_package" >&2 |
589 { (exit 1); exit 1; }; } | 1040 { (exit 1); exit 1; }; } |
590 ac_package=`echo $ac_package | sed 's/-/_/g'` | 1041 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` |
591 eval "with_$ac_package=no" ;; | 1042 eval with_$ac_package=no ;; |
592 | 1043 |
593 --x) | 1044 --x) |
594 # Obsolete; use --with-x. | 1045 # Obsolete; use --with-x. |
595 with_x=yes ;; | 1046 with_x=yes ;; |
596 | 1047 |
617 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` | 1068 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
618 # Reject names that are not valid shell variable names. | 1069 # Reject names that are not valid shell variable names. |
619 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && | 1070 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && |
620 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 | 1071 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 |
621 { (exit 1); exit 1; }; } | 1072 { (exit 1); exit 1; }; } |
622 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` | 1073 eval $ac_envvar=\$ac_optarg |
623 eval "$ac_envvar='$ac_optarg'" | |
624 export $ac_envvar ;; | 1074 export $ac_envvar ;; |
625 | 1075 |
626 *) | 1076 *) |
627 # FIXME: should be removed in autoconf 3.0. | 1077 # FIXME: should be removed in autoconf 3.0. |
628 echo "$as_me: WARNING: you should use --build, --host, --target" >&2 | 1078 echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
638 ac_option=--`echo $ac_prev | sed 's/_/-/g'` | 1088 ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
639 { echo "$as_me: error: missing argument to $ac_option" >&2 | 1089 { echo "$as_me: error: missing argument to $ac_option" >&2 |
640 { (exit 1); exit 1; }; } | 1090 { (exit 1); exit 1; }; } |
641 fi | 1091 fi |
642 | 1092 |
643 # Be sure to have absolute paths. | 1093 # Be sure to have absolute directory names. |
644 for ac_var in exec_prefix prefix | 1094 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
1095 datadir sysconfdir sharedstatedir localstatedir includedir \ | |
1096 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ | |
1097 libdir localedir mandir | |
645 do | 1098 do |
646 eval ac_val=$`echo $ac_var` | 1099 eval ac_val=\$$ac_var |
647 case $ac_val in | 1100 case $ac_val in |
648 [\\/$]* | ?:[\\/]* | NONE | '' ) ;; | 1101 [\\/$]* | ?:[\\/]* ) continue;; |
649 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 | 1102 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
650 { (exit 1); exit 1; }; };; | |
651 esac | 1103 esac |
652 done | 1104 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
653 | 1105 { (exit 1); exit 1; }; } |
654 # Be sure to have absolute paths. | |
655 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ | |
656 localstatedir libdir includedir oldincludedir infodir mandir | |
657 do | |
658 eval ac_val=$`echo $ac_var` | |
659 case $ac_val in | |
660 [\\/$]* | ?:[\\/]* ) ;; | |
661 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 | |
662 { (exit 1); exit 1; }; };; | |
663 esac | |
664 done | 1106 done |
665 | 1107 |
666 # There might be people who depend on the old broken behavior: `$host' | 1108 # There might be people who depend on the old broken behavior: `$host' |
667 # used to hold the argument of --host etc. | 1109 # used to hold the argument of --host etc. |
668 # FIXME: To remove some day. | 1110 # FIXME: To remove some day. |
685 test -n "$host_alias" && ac_tool_prefix=$host_alias- | 1127 test -n "$host_alias" && ac_tool_prefix=$host_alias- |
686 | 1128 |
687 test "$silent" = yes && exec 6>/dev/null | 1129 test "$silent" = yes && exec 6>/dev/null |
688 | 1130 |
689 | 1131 |
1132 ac_pwd=`pwd` && test -n "$ac_pwd" && | |
1133 ac_ls_di=`ls -di .` && | |
1134 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || | |
1135 { echo "$as_me: error: Working directory cannot be determined" >&2 | |
1136 { (exit 1); exit 1; }; } | |
1137 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || | |
1138 { echo "$as_me: error: pwd does not report name of working directory" >&2 | |
1139 { (exit 1); exit 1; }; } | |
1140 | |
1141 | |
690 # Find the source files, if location was not specified. | 1142 # Find the source files, if location was not specified. |
691 if test -z "$srcdir"; then | 1143 if test -z "$srcdir"; then |
692 ac_srcdir_defaulted=yes | 1144 ac_srcdir_defaulted=yes |
693 # Try the directory containing this script, then its parent. | 1145 # Try the directory containing this script, then the parent directory. |
694 ac_confdir=`(dirname "$0") 2>/dev/null || | 1146 ac_confdir=`$as_dirname -- "$0" || |
695 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 1147 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
696 X"$0" : 'X\(//\)[^/]' \| \ | 1148 X"$0" : 'X\(//\)[^/]' \| \ |
697 X"$0" : 'X\(//\)$' \| \ | 1149 X"$0" : 'X\(//\)$' \| \ |
698 X"$0" : 'X\(/\)' \| \ | 1150 X"$0" : 'X\(/\)' \| . 2>/dev/null || |
699 . : '\(.\)' 2>/dev/null || | |
700 echo X"$0" | | 1151 echo X"$0" | |
701 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 1152 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
702 /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 1153 s//\1/ |
703 /^X\(\/\/\)$/{ s//\1/; q; } | 1154 q |
704 /^X\(\/\).*/{ s//\1/; q; } | 1155 } |
705 s/.*/./; q'` | 1156 /^X\(\/\/\)[^/].*/{ |
1157 s//\1/ | |
1158 q | |
1159 } | |
1160 /^X\(\/\/\)$/{ | |
1161 s//\1/ | |
1162 q | |
1163 } | |
1164 /^X\(\/\).*/{ | |
1165 s//\1/ | |
1166 q | |
1167 } | |
1168 s/.*/./; q'` | |
706 srcdir=$ac_confdir | 1169 srcdir=$ac_confdir |
707 if test ! -r $srcdir/$ac_unique_file; then | 1170 if test ! -r "$srcdir/$ac_unique_file"; then |
708 srcdir=.. | 1171 srcdir=.. |
709 fi | 1172 fi |
710 else | 1173 else |
711 ac_srcdir_defaulted=no | 1174 ac_srcdir_defaulted=no |
712 fi | 1175 fi |
713 if test ! -r $srcdir/$ac_unique_file; then | 1176 if test ! -r "$srcdir/$ac_unique_file"; then |
714 if test "$ac_srcdir_defaulted" = yes; then | 1177 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
715 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 | 1178 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 |
716 { (exit 1); exit 1; }; } | 1179 { (exit 1); exit 1; }; } |
717 else | 1180 fi |
718 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 | 1181 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
1182 ac_abs_confdir=`( | |
1183 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 | |
719 { (exit 1); exit 1; }; } | 1184 { (exit 1); exit 1; }; } |
720 fi | 1185 pwd)` |
721 fi | 1186 # When building in place, set srcdir=. |
722 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` | 1187 if test "$ac_abs_confdir" = "$ac_pwd"; then |
723 ac_env_build_alias_set=${build_alias+set} | 1188 srcdir=. |
724 ac_env_build_alias_value=$build_alias | 1189 fi |
725 ac_cv_env_build_alias_set=${build_alias+set} | 1190 # Remove unnecessary trailing slashes from srcdir. |
726 ac_cv_env_build_alias_value=$build_alias | 1191 # Double slashes in file names in object file debugging info |
727 ac_env_host_alias_set=${host_alias+set} | 1192 # mess up M-x gdb in Emacs. |
728 ac_env_host_alias_value=$host_alias | 1193 case $srcdir in |
729 ac_cv_env_host_alias_set=${host_alias+set} | 1194 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; |
730 ac_cv_env_host_alias_value=$host_alias | 1195 esac |
731 ac_env_target_alias_set=${target_alias+set} | 1196 for ac_var in $ac_precious_vars; do |
732 ac_env_target_alias_value=$target_alias | 1197 eval ac_env_${ac_var}_set=\${${ac_var}+set} |
733 ac_cv_env_target_alias_set=${target_alias+set} | 1198 eval ac_env_${ac_var}_value=\$${ac_var} |
734 ac_cv_env_target_alias_value=$target_alias | 1199 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} |
735 ac_env_CC_set=${CC+set} | 1200 eval ac_cv_env_${ac_var}_value=\$${ac_var} |
736 ac_env_CC_value=$CC | 1201 done |
737 ac_cv_env_CC_set=${CC+set} | |
738 ac_cv_env_CC_value=$CC | |
739 ac_env_CFLAGS_set=${CFLAGS+set} | |
740 ac_env_CFLAGS_value=$CFLAGS | |
741 ac_cv_env_CFLAGS_set=${CFLAGS+set} | |
742 ac_cv_env_CFLAGS_value=$CFLAGS | |
743 ac_env_LDFLAGS_set=${LDFLAGS+set} | |
744 ac_env_LDFLAGS_value=$LDFLAGS | |
745 ac_cv_env_LDFLAGS_set=${LDFLAGS+set} | |
746 ac_cv_env_LDFLAGS_value=$LDFLAGS | |
747 ac_env_CPPFLAGS_set=${CPPFLAGS+set} | |
748 ac_env_CPPFLAGS_value=$CPPFLAGS | |
749 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} | |
750 ac_cv_env_CPPFLAGS_value=$CPPFLAGS | |
751 ac_env_CPP_set=${CPP+set} | |
752 ac_env_CPP_value=$CPP | |
753 ac_cv_env_CPP_set=${CPP+set} | |
754 ac_cv_env_CPP_value=$CPP | |
755 | 1202 |
756 # | 1203 # |
757 # Report the --help message. | 1204 # Report the --help message. |
758 # | 1205 # |
759 if test "$ac_init_help" = "long"; then | 1206 if test "$ac_init_help" = "long"; then |
778 --cache-file=FILE cache test results in FILE [disabled] | 1225 --cache-file=FILE cache test results in FILE [disabled] |
779 -C, --config-cache alias for \`--cache-file=config.cache' | 1226 -C, --config-cache alias for \`--cache-file=config.cache' |
780 -n, --no-create do not create output files | 1227 -n, --no-create do not create output files |
781 --srcdir=DIR find the sources in DIR [configure dir or \`..'] | 1228 --srcdir=DIR find the sources in DIR [configure dir or \`..'] |
782 | 1229 |
783 _ACEOF | |
784 | |
785 cat <<_ACEOF | |
786 Installation directories: | 1230 Installation directories: |
787 --prefix=PREFIX install architecture-independent files in PREFIX | 1231 --prefix=PREFIX install architecture-independent files in PREFIX |
788 [$ac_default_prefix] | 1232 [$ac_default_prefix] |
789 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX | 1233 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
790 [PREFIX] | 1234 [PREFIX] |
791 | 1235 |
792 By default, \`make install' will install all the files in | 1236 By default, \`make install' will install all the files in |
793 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify | 1237 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
794 an installation prefix other than \`$ac_default_prefix' using \`--prefix', | 1238 an installation prefix other than \`$ac_default_prefix' using \`--prefix', |
795 for instance \`--prefix=\$HOME'. | 1239 for instance \`--prefix=\$HOME'. |
798 | 1242 |
799 Fine tuning of the installation directories: | 1243 Fine tuning of the installation directories: |
800 --bindir=DIR user executables [EPREFIX/bin] | 1244 --bindir=DIR user executables [EPREFIX/bin] |
801 --sbindir=DIR system admin executables [EPREFIX/sbin] | 1245 --sbindir=DIR system admin executables [EPREFIX/sbin] |
802 --libexecdir=DIR program executables [EPREFIX/libexec] | 1246 --libexecdir=DIR program executables [EPREFIX/libexec] |
803 --datadir=DIR read-only architecture-independent data [PREFIX/share] | |
804 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] | 1247 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
805 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] | 1248 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
806 --localstatedir=DIR modifiable single-machine data [PREFIX/var] | 1249 --localstatedir=DIR modifiable single-machine data [PREFIX/var] |
807 --libdir=DIR object code libraries [EPREFIX/lib] | 1250 --libdir=DIR object code libraries [EPREFIX/lib] |
808 --includedir=DIR C header files [PREFIX/include] | 1251 --includedir=DIR C header files [PREFIX/include] |
809 --oldincludedir=DIR C header files for non-gcc [/usr/include] | 1252 --oldincludedir=DIR C header files for non-gcc [/usr/include] |
810 --infodir=DIR info documentation [PREFIX/info] | 1253 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
811 --mandir=DIR man documentation [PREFIX/man] | 1254 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
1255 --infodir=DIR info documentation [DATAROOTDIR/info] | |
1256 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] | |
1257 --mandir=DIR man documentation [DATAROOTDIR/man] | |
1258 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] | |
1259 --htmldir=DIR html documentation [DOCDIR] | |
1260 --dvidir=DIR dvi documentation [DOCDIR] | |
1261 --pdfdir=DIR pdf documentation [DOCDIR] | |
1262 --psdir=DIR ps documentation [DOCDIR] | |
812 _ACEOF | 1263 _ACEOF |
813 | 1264 |
814 cat <<\_ACEOF | 1265 cat <<\_ACEOF |
815 _ACEOF | 1266 _ACEOF |
816 fi | 1267 fi |
839 Some influential environment variables: | 1290 Some influential environment variables: |
840 CC C compiler command | 1291 CC C compiler command |
841 CFLAGS C compiler flags | 1292 CFLAGS C compiler flags |
842 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a | 1293 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
843 nonstandard directory <lib dir> | 1294 nonstandard directory <lib dir> |
844 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have | 1295 LIBS libraries to pass to the linker, e.g. -l<library> |
845 headers in a nonstandard directory <include dir> | 1296 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if |
1297 you have headers in a nonstandard directory <include dir> | |
1298 CXX C++ compiler command | |
1299 CXXFLAGS C++ compiler flags | |
846 CPP C preprocessor | 1300 CPP C preprocessor |
847 | 1301 |
848 Use these variables to override the choices made by `configure' or to help | 1302 Use these variables to override the choices made by `configure' or to help |
849 it to find libraries and programs with nonstandard names/locations. | 1303 it to find libraries and programs with nonstandard names/locations. |
850 | 1304 |
851 _ACEOF | 1305 _ACEOF |
1306 ac_status=$? | |
852 fi | 1307 fi |
853 | 1308 |
854 if test "$ac_init_help" = "recursive"; then | 1309 if test "$ac_init_help" = "recursive"; then |
855 # If there are subdirs, report their specific --help. | 1310 # If there are subdirs, report their specific --help. |
856 ac_popdir=`pwd` | |
857 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue | 1311 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
858 test -d $ac_dir || continue | 1312 test -d "$ac_dir" || continue |
859 ac_builddir=. | 1313 ac_builddir=. |
860 | 1314 |
861 if test "$ac_dir" != .; then | 1315 case "$ac_dir" in |
1316 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; | |
1317 *) | |
862 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` | 1318 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
863 # A "../" for each directory in $ac_dir_suffix. | 1319 # A ".." for each directory in $ac_dir_suffix. |
864 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` | 1320 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` |
865 else | 1321 case $ac_top_builddir_sub in |
866 ac_dir_suffix= ac_top_builddir= | 1322 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
867 fi | 1323 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
1324 esac ;; | |
1325 esac | |
1326 ac_abs_top_builddir=$ac_pwd | |
1327 ac_abs_builddir=$ac_pwd$ac_dir_suffix | |
1328 # for backward compatibility: | |
1329 ac_top_builddir=$ac_top_build_prefix | |
868 | 1330 |
869 case $srcdir in | 1331 case $srcdir in |
870 .) # No --srcdir option. We are building in place. | 1332 .) # We are building in place. |
871 ac_srcdir=. | 1333 ac_srcdir=. |
872 if test -z "$ac_top_builddir"; then | 1334 ac_top_srcdir=$ac_top_builddir_sub |
873 ac_top_srcdir=. | 1335 ac_abs_top_srcdir=$ac_pwd ;; |
874 else | 1336 [\\/]* | ?:[\\/]* ) # Absolute name. |
875 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` | |
876 fi ;; | |
877 [\\/]* | ?:[\\/]* ) # Absolute path. | |
878 ac_srcdir=$srcdir$ac_dir_suffix; | 1337 ac_srcdir=$srcdir$ac_dir_suffix; |
879 ac_top_srcdir=$srcdir ;; | 1338 ac_top_srcdir=$srcdir |
880 *) # Relative path. | 1339 ac_abs_top_srcdir=$srcdir ;; |
881 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix | 1340 *) # Relative name. |
882 ac_top_srcdir=$ac_top_builddir$srcdir ;; | 1341 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
883 esac | 1342 ac_top_srcdir=$ac_top_build_prefix$srcdir |
884 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be | 1343 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
885 # absolute. | 1344 esac |
886 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` | 1345 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
887 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd` | 1346 |
888 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` | 1347 cd "$ac_dir" || { ac_status=$?; continue; } |
889 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` | 1348 # Check for guested configure. |
890 | 1349 if test -f "$ac_srcdir/configure.gnu"; then |
891 cd $ac_dir | 1350 echo && |
892 # Check for guested configure; otherwise get Cygnus style configure. | 1351 $SHELL "$ac_srcdir/configure.gnu" --help=recursive |
893 if test -f $ac_srcdir/configure.gnu; then | 1352 elif test -f "$ac_srcdir/configure"; then |
894 echo | 1353 echo && |
895 $SHELL $ac_srcdir/configure.gnu --help=recursive | 1354 $SHELL "$ac_srcdir/configure" --help=recursive |
896 elif test -f $ac_srcdir/configure; then | |
897 echo | |
898 $SHELL $ac_srcdir/configure --help=recursive | |
899 elif test -f $ac_srcdir/configure.ac || | |
900 test -f $ac_srcdir/configure.in; then | |
901 echo | |
902 $ac_configure --help | |
903 else | 1355 else |
904 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 | 1356 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
905 fi | 1357 fi || ac_status=$? |
906 cd $ac_popdir | 1358 cd "$ac_pwd" || { ac_status=$?; break; } |
907 done | 1359 done |
908 fi | 1360 fi |
909 | 1361 |
910 test -n "$ac_init_help" && exit 0 | 1362 test -n "$ac_init_help" && exit $ac_status |
911 if $ac_init_version; then | 1363 if $ac_init_version; then |
912 cat <<\_ACEOF | 1364 cat <<\_ACEOF |
913 | 1365 configure |
914 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 | 1366 generated by GNU Autoconf 2.61 |
915 Free Software Foundation, Inc. | 1367 |
1368 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, | |
1369 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. | |
916 This configure script is free software; the Free Software Foundation | 1370 This configure script is free software; the Free Software Foundation |
917 gives unlimited permission to copy, distribute and modify it. | 1371 gives unlimited permission to copy, distribute and modify it. |
918 _ACEOF | 1372 _ACEOF |
919 exit 0 | 1373 exit |
920 fi | 1374 fi |
921 exec 5>config.log | 1375 cat >config.log <<_ACEOF |
922 cat >&5 <<_ACEOF | |
923 This file contains any messages produced by compilers while | 1376 This file contains any messages produced by compilers while |
924 running configure, to aid debugging if configure makes a mistake. | 1377 running configure, to aid debugging if configure makes a mistake. |
925 | 1378 |
926 It was created by $as_me, which was | 1379 It was created by $as_me, which was |
927 generated by GNU Autoconf 2.53. Invocation command line was | 1380 generated by GNU Autoconf 2.61. Invocation command line was |
928 | 1381 |
929 $ $0 $@ | 1382 $ $0 $@ |
930 | 1383 |
931 _ACEOF | 1384 _ACEOF |
1385 exec 5>>config.log | |
932 { | 1386 { |
933 cat <<_ASUNAME | 1387 cat <<_ASUNAME |
934 ## --------- ## | 1388 ## --------- ## |
935 ## Platform. ## | 1389 ## Platform. ## |
936 ## --------- ## | 1390 ## --------- ## |
945 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` | 1399 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` |
946 | 1400 |
947 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` | 1401 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` |
948 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` | 1402 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` |
949 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` | 1403 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` |
950 hostinfo = `(hostinfo) 2>/dev/null || echo unknown` | 1404 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` |
951 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` | 1405 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` |
952 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` | 1406 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` |
953 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` | 1407 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` |
954 | 1408 |
955 _ASUNAME | 1409 _ASUNAME |
959 do | 1413 do |
960 IFS=$as_save_IFS | 1414 IFS=$as_save_IFS |
961 test -z "$as_dir" && as_dir=. | 1415 test -z "$as_dir" && as_dir=. |
962 echo "PATH: $as_dir" | 1416 echo "PATH: $as_dir" |
963 done | 1417 done |
1418 IFS=$as_save_IFS | |
964 | 1419 |
965 } >&5 | 1420 } >&5 |
966 | 1421 |
967 cat >&5 <<_ACEOF | 1422 cat >&5 <<_ACEOF |
968 | 1423 |
974 _ACEOF | 1429 _ACEOF |
975 | 1430 |
976 | 1431 |
977 # Keep a trace of the command line. | 1432 # Keep a trace of the command line. |
978 # Strip out --no-create and --no-recursion so they do not pile up. | 1433 # Strip out --no-create and --no-recursion so they do not pile up. |
1434 # Strip out --silent because we don't want to record it for future runs. | |
979 # Also quote any args containing shell meta-characters. | 1435 # Also quote any args containing shell meta-characters. |
1436 # Make two passes to allow for proper duplicate-argument suppression. | |
980 ac_configure_args= | 1437 ac_configure_args= |
981 ac_sep= | 1438 ac_configure_args0= |
982 for ac_arg | 1439 ac_configure_args1= |
1440 ac_must_keep_next=false | |
1441 for ac_pass in 1 2 | |
983 do | 1442 do |
984 case $ac_arg in | 1443 for ac_arg |
985 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | 1444 do |
986 | --no-cr | --no-c | -n ) continue ;; | 1445 case $ac_arg in |
987 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | 1446 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
988 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) | 1447 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
989 continue ;; | 1448 | -silent | --silent | --silen | --sile | --sil) |
990 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) | 1449 continue ;; |
991 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; | 1450 *\'*) |
992 esac | 1451 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
993 case " $ac_configure_args " in | 1452 esac |
994 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. | 1453 case $ac_pass in |
995 *) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" | 1454 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; |
996 ac_sep=" " ;; | 1455 2) |
997 esac | 1456 ac_configure_args1="$ac_configure_args1 '$ac_arg'" |
998 # Get rid of the leading space. | 1457 if test $ac_must_keep_next = true; then |
1458 ac_must_keep_next=false # Got value, back to normal. | |
1459 else | |
1460 case $ac_arg in | |
1461 *=* | --config-cache | -C | -disable-* | --disable-* \ | |
1462 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ | |
1463 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ | |
1464 | -with-* | --with-* | -without-* | --without-* | --x) | |
1465 case "$ac_configure_args0 " in | |
1466 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; | |
1467 esac | |
1468 ;; | |
1469 -* ) ac_must_keep_next=true ;; | |
1470 esac | |
1471 fi | |
1472 ac_configure_args="$ac_configure_args '$ac_arg'" | |
1473 ;; | |
1474 esac | |
1475 done | |
999 done | 1476 done |
1477 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } | |
1478 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } | |
1000 | 1479 |
1001 # When interrupted or exit'd, cleanup temporary files, and complete | 1480 # When interrupted or exit'd, cleanup temporary files, and complete |
1002 # config.log. We remove comments because anyway the quotes in there | 1481 # config.log. We remove comments because anyway the quotes in there |
1003 # would cause problems or look ugly. | 1482 # would cause problems or look ugly. |
1004 # WARNING: Be sure not to use single quotes in there, as some shells, | 1483 # WARNING: Use '\'' to represent an apostrophe within the trap. |
1005 # such as our DU 5.0 friend, will then `close' the trap. | 1484 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. |
1006 trap 'exit_status=$? | 1485 trap 'exit_status=$? |
1007 # Save into config.log some information that might help in debugging. | 1486 # Save into config.log some information that might help in debugging. |
1008 { | 1487 { |
1009 echo | 1488 echo |
1489 | |
1010 cat <<\_ASBOX | 1490 cat <<\_ASBOX |
1011 ## ---------------- ## | 1491 ## ---------------- ## |
1012 ## Cache variables. ## | 1492 ## Cache variables. ## |
1013 ## ---------------- ## | 1493 ## ---------------- ## |
1014 _ASBOX | 1494 _ASBOX |
1015 echo | 1495 echo |
1016 # The following way of writing the cache mishandles newlines in values, | 1496 # The following way of writing the cache mishandles newlines in values, |
1017 { | 1497 ( |
1498 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do | |
1499 eval ac_val=\$$ac_var | |
1500 case $ac_val in #( | |
1501 *${as_nl}*) | |
1502 case $ac_var in #( | |
1503 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 | |
1504 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; | |
1505 esac | |
1506 case $ac_var in #( | |
1507 _ | IFS | as_nl) ;; #( | |
1508 *) $as_unset $ac_var ;; | |
1509 esac ;; | |
1510 esac | |
1511 done | |
1018 (set) 2>&1 | | 1512 (set) 2>&1 | |
1019 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in | 1513 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( |
1020 *ac_space=\ *) | 1514 *${as_nl}ac_space=\ *) |
1021 sed -n \ | 1515 sed -n \ |
1022 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; | 1516 "s/'\''/'\''\\\\'\'''\''/g; |
1023 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" | 1517 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" |
1518 ;; #( | |
1519 *) | |
1520 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" | |
1024 ;; | 1521 ;; |
1025 *) | 1522 esac | |
1026 sed -n \ | 1523 sort |
1027 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" | 1524 ) |
1028 ;; | |
1029 esac; | |
1030 } | |
1031 echo | 1525 echo |
1526 | |
1527 cat <<\_ASBOX | |
1528 ## ----------------- ## | |
1529 ## Output variables. ## | |
1530 ## ----------------- ## | |
1531 _ASBOX | |
1532 echo | |
1533 for ac_var in $ac_subst_vars | |
1534 do | |
1535 eval ac_val=\$$ac_var | |
1536 case $ac_val in | |
1537 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; | |
1538 esac | |
1539 echo "$ac_var='\''$ac_val'\''" | |
1540 done | sort | |
1541 echo | |
1542 | |
1543 if test -n "$ac_subst_files"; then | |
1544 cat <<\_ASBOX | |
1545 ## ------------------- ## | |
1546 ## File substitutions. ## | |
1547 ## ------------------- ## | |
1548 _ASBOX | |
1549 echo | |
1550 for ac_var in $ac_subst_files | |
1551 do | |
1552 eval ac_val=\$$ac_var | |
1553 case $ac_val in | |
1554 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; | |
1555 esac | |
1556 echo "$ac_var='\''$ac_val'\''" | |
1557 done | sort | |
1558 echo | |
1559 fi | |
1560 | |
1032 if test -s confdefs.h; then | 1561 if test -s confdefs.h; then |
1033 cat <<\_ASBOX | 1562 cat <<\_ASBOX |
1034 ## ----------- ## | 1563 ## ----------- ## |
1035 ## confdefs.h. ## | 1564 ## confdefs.h. ## |
1036 ## ----------- ## | 1565 ## ----------- ## |
1037 _ASBOX | 1566 _ASBOX |
1038 echo | 1567 echo |
1039 sed "/^$/d" confdefs.h | 1568 cat confdefs.h |
1040 echo | 1569 echo |
1041 fi | 1570 fi |
1042 test "$ac_signal" != 0 && | 1571 test "$ac_signal" != 0 && |
1043 echo "$as_me: caught signal $ac_signal" | 1572 echo "$as_me: caught signal $ac_signal" |
1044 echo "$as_me: exit $exit_status" | 1573 echo "$as_me: exit $exit_status" |
1045 } >&5 | 1574 } >&5 |
1046 rm -f core core.* *.core && | 1575 rm -f core *.core core.conftest.* && |
1047 rm -rf conftest* confdefs* conf$$* $ac_clean_files && | 1576 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && |
1048 exit $exit_status | 1577 exit $exit_status |
1049 ' 0 | 1578 ' 0 |
1050 for ac_signal in 1 2 13 15; do | 1579 for ac_signal in 1 2 13 15; do |
1051 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal | 1580 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal |
1052 done | 1581 done |
1053 ac_signal=0 | 1582 ac_signal=0 |
1054 | 1583 |
1055 # confdefs.h avoids OS command line length limits that DEFS can exceed. | 1584 # confdefs.h avoids OS command line length limits that DEFS can exceed. |
1056 rm -rf conftest* confdefs.h | 1585 rm -f -r conftest* confdefs.h |
1057 # AIX cpp loses on an empty file, so make sure it contains at least a newline. | |
1058 echo >confdefs.h | |
1059 | 1586 |
1060 # Predefined preprocessor variables. | 1587 # Predefined preprocessor variables. |
1061 | 1588 |
1062 cat >>confdefs.h <<_ACEOF | 1589 cat >>confdefs.h <<_ACEOF |
1063 #define PACKAGE_NAME "$PACKAGE_NAME" | 1590 #define PACKAGE_NAME "$PACKAGE_NAME" |
1084 _ACEOF | 1611 _ACEOF |
1085 | 1612 |
1086 | 1613 |
1087 # Let the site file select an alternate cache file if it wants to. | 1614 # Let the site file select an alternate cache file if it wants to. |
1088 # Prefer explicitly selected file to automatically selected ones. | 1615 # Prefer explicitly selected file to automatically selected ones. |
1089 if test -z "$CONFIG_SITE"; then | 1616 if test -n "$CONFIG_SITE"; then |
1090 if test "x$prefix" != xNONE; then | 1617 set x "$CONFIG_SITE" |
1091 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" | 1618 elif test "x$prefix" != xNONE; then |
1092 else | 1619 set x "$prefix/share/config.site" "$prefix/etc/config.site" |
1093 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" | 1620 else |
1094 fi | 1621 set x "$ac_default_prefix/share/config.site" \ |
1095 fi | 1622 "$ac_default_prefix/etc/config.site" |
1096 for ac_site_file in $CONFIG_SITE; do | 1623 fi |
1624 shift | |
1625 for ac_site_file | |
1626 do | |
1097 if test -r "$ac_site_file"; then | 1627 if test -r "$ac_site_file"; then |
1098 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 | 1628 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 |
1099 echo "$as_me: loading site script $ac_site_file" >&6;} | 1629 echo "$as_me: loading site script $ac_site_file" >&6;} |
1100 sed 's/^/| /' "$ac_site_file" >&5 | 1630 sed 's/^/| /' "$ac_site_file" >&5 |
1101 . "$ac_site_file" | 1631 . "$ac_site_file" |
1107 # files actually), so we avoid doing that. | 1637 # files actually), so we avoid doing that. |
1108 if test -f "$cache_file"; then | 1638 if test -f "$cache_file"; then |
1109 { echo "$as_me:$LINENO: loading cache $cache_file" >&5 | 1639 { echo "$as_me:$LINENO: loading cache $cache_file" >&5 |
1110 echo "$as_me: loading cache $cache_file" >&6;} | 1640 echo "$as_me: loading cache $cache_file" >&6;} |
1111 case $cache_file in | 1641 case $cache_file in |
1112 [\\/]* | ?:[\\/]* ) . $cache_file;; | 1642 [\\/]* | ?:[\\/]* ) . "$cache_file";; |
1113 *) . ./$cache_file;; | 1643 *) . "./$cache_file";; |
1114 esac | 1644 esac |
1115 fi | 1645 fi |
1116 else | 1646 else |
1117 { echo "$as_me:$LINENO: creating cache $cache_file" >&5 | 1647 { echo "$as_me:$LINENO: creating cache $cache_file" >&5 |
1118 echo "$as_me: creating cache $cache_file" >&6;} | 1648 echo "$as_me: creating cache $cache_file" >&6;} |
1120 fi | 1650 fi |
1121 | 1651 |
1122 # Check that the precious variables saved in the cache have kept the same | 1652 # Check that the precious variables saved in the cache have kept the same |
1123 # value. | 1653 # value. |
1124 ac_cache_corrupted=false | 1654 ac_cache_corrupted=false |
1125 for ac_var in `(set) 2>&1 | | 1655 for ac_var in $ac_precious_vars; do |
1126 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do | |
1127 eval ac_old_set=\$ac_cv_env_${ac_var}_set | 1656 eval ac_old_set=\$ac_cv_env_${ac_var}_set |
1128 eval ac_new_set=\$ac_env_${ac_var}_set | 1657 eval ac_new_set=\$ac_env_${ac_var}_set |
1129 eval ac_old_val="\$ac_cv_env_${ac_var}_value" | 1658 eval ac_old_val=\$ac_cv_env_${ac_var}_value |
1130 eval ac_new_val="\$ac_env_${ac_var}_value" | 1659 eval ac_new_val=\$ac_env_${ac_var}_value |
1131 case $ac_old_set,$ac_new_set in | 1660 case $ac_old_set,$ac_new_set in |
1132 set,) | 1661 set,) |
1133 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 | 1662 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
1134 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} | 1663 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
1135 ac_cache_corrupted=: ;; | 1664 ac_cache_corrupted=: ;; |
1138 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} | 1667 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
1139 ac_cache_corrupted=: ;; | 1668 ac_cache_corrupted=: ;; |
1140 ,);; | 1669 ,);; |
1141 *) | 1670 *) |
1142 if test "x$ac_old_val" != "x$ac_new_val"; then | 1671 if test "x$ac_old_val" != "x$ac_new_val"; then |
1143 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 | 1672 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 |
1144 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} | 1673 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
1145 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 | 1674 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 |
1146 echo "$as_me: former value: $ac_old_val" >&2;} | 1675 echo "$as_me: former value: $ac_old_val" >&2;} |
1147 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 | 1676 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 |
1148 echo "$as_me: current value: $ac_new_val" >&2;} | 1677 echo "$as_me: current value: $ac_new_val" >&2;} |
1149 ac_cache_corrupted=: | 1678 ac_cache_corrupted=: |
1150 fi;; | 1679 fi;; |
1151 esac | 1680 esac |
1152 # Pass precious variables to config.status. | 1681 # Pass precious variables to config.status. |
1153 if test "$ac_new_set" = set; then | 1682 if test "$ac_new_set" = set; then |
1154 case $ac_new_val in | 1683 case $ac_new_val in |
1155 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) | 1684 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
1156 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; | |
1157 *) ac_arg=$ac_var=$ac_new_val ;; | 1685 *) ac_arg=$ac_var=$ac_new_val ;; |
1158 esac | 1686 esac |
1159 case " $ac_configure_args " in | 1687 case " $ac_configure_args " in |
1160 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. | 1688 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
1161 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; | 1689 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; |
1168 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 | 1696 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 |
1169 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} | 1697 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} |
1170 { (exit 1); exit 1; }; } | 1698 { (exit 1); exit 1; }; } |
1171 fi | 1699 fi |
1172 | 1700 |
1701 | |
1702 | |
1703 | |
1704 | |
1705 | |
1706 | |
1707 | |
1708 | |
1709 | |
1710 | |
1711 | |
1712 | |
1713 | |
1714 | |
1715 | |
1716 | |
1173 ac_ext=c | 1717 ac_ext=c |
1174 ac_cpp='$CPP $CPPFLAGS' | 1718 ac_cpp='$CPP $CPPFLAGS' |
1175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 1719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
1176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 1720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
1177 ac_compiler_gnu=$ac_cv_c_compiler_gnu | 1721 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
1178 | |
1179 | |
1180 | |
1181 | |
1182 | |
1183 | |
1184 | |
1185 | |
1186 | |
1187 | |
1188 | |
1189 | |
1190 | |
1191 | |
1192 | |
1193 | |
1194 | 1722 |
1195 | 1723 |
1196 ac_config_headers="$ac_config_headers config.h" | 1724 ac_config_headers="$ac_config_headers config.h" |
1197 | 1725 |
1198 | 1726 |
1216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 1744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
1217 ac_compiler_gnu=$ac_cv_c_compiler_gnu | 1745 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
1218 if test -n "$ac_tool_prefix"; then | 1746 if test -n "$ac_tool_prefix"; then |
1219 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. | 1747 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
1220 set dummy ${ac_tool_prefix}gcc; ac_word=$2 | 1748 set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
1221 echo "$as_me:$LINENO: checking for $ac_word" >&5 | 1749 { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1222 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 1750 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
1223 if test "${ac_cv_prog_CC+set}" = set; then | 1751 if test "${ac_cv_prog_CC+set}" = set; then |
1224 echo $ECHO_N "(cached) $ECHO_C" >&6 | 1752 echo $ECHO_N "(cached) $ECHO_C" >&6 |
1225 else | 1753 else |
1226 if test -n "$CC"; then | 1754 if test -n "$CC"; then |
1227 ac_cv_prog_CC="$CC" # Let the user override the test. | 1755 ac_cv_prog_CC="$CC" # Let the user override the test. |
1230 for as_dir in $PATH | 1758 for as_dir in $PATH |
1231 do | 1759 do |
1232 IFS=$as_save_IFS | 1760 IFS=$as_save_IFS |
1233 test -z "$as_dir" && as_dir=. | 1761 test -z "$as_dir" && as_dir=. |
1234 for ac_exec_ext in '' $ac_executable_extensions; do | 1762 for ac_exec_ext in '' $ac_executable_extensions; do |
1235 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 1763 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
1236 ac_cv_prog_CC="${ac_tool_prefix}gcc" | 1764 ac_cv_prog_CC="${ac_tool_prefix}gcc" |
1237 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 1765 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1238 break 2 | 1766 break 2 |
1239 fi | 1767 fi |
1240 done | 1768 done |
1241 done | 1769 done |
1770 IFS=$as_save_IFS | |
1242 | 1771 |
1243 fi | 1772 fi |
1244 fi | 1773 fi |
1245 CC=$ac_cv_prog_CC | 1774 CC=$ac_cv_prog_CC |
1246 if test -n "$CC"; then | 1775 if test -n "$CC"; then |
1247 echo "$as_me:$LINENO: result: $CC" >&5 | 1776 { echo "$as_me:$LINENO: result: $CC" >&5 |
1248 echo "${ECHO_T}$CC" >&6 | 1777 echo "${ECHO_T}$CC" >&6; } |
1249 else | 1778 else |
1250 echo "$as_me:$LINENO: result: no" >&5 | 1779 { echo "$as_me:$LINENO: result: no" >&5 |
1251 echo "${ECHO_T}no" >&6 | 1780 echo "${ECHO_T}no" >&6; } |
1252 fi | 1781 fi |
1782 | |
1253 | 1783 |
1254 fi | 1784 fi |
1255 if test -z "$ac_cv_prog_CC"; then | 1785 if test -z "$ac_cv_prog_CC"; then |
1256 ac_ct_CC=$CC | 1786 ac_ct_CC=$CC |
1257 # Extract the first word of "gcc", so it can be a program name with args. | 1787 # Extract the first word of "gcc", so it can be a program name with args. |
1258 set dummy gcc; ac_word=$2 | 1788 set dummy gcc; ac_word=$2 |
1259 echo "$as_me:$LINENO: checking for $ac_word" >&5 | 1789 { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1260 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 1790 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
1261 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | 1791 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
1262 echo $ECHO_N "(cached) $ECHO_C" >&6 | 1792 echo $ECHO_N "(cached) $ECHO_C" >&6 |
1263 else | 1793 else |
1264 if test -n "$ac_ct_CC"; then | 1794 if test -n "$ac_ct_CC"; then |
1265 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | 1795 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
1268 for as_dir in $PATH | 1798 for as_dir in $PATH |
1269 do | 1799 do |
1270 IFS=$as_save_IFS | 1800 IFS=$as_save_IFS |
1271 test -z "$as_dir" && as_dir=. | 1801 test -z "$as_dir" && as_dir=. |
1272 for ac_exec_ext in '' $ac_executable_extensions; do | 1802 for ac_exec_ext in '' $ac_executable_extensions; do |
1273 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 1803 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
1274 ac_cv_prog_ac_ct_CC="gcc" | 1804 ac_cv_prog_ac_ct_CC="gcc" |
1275 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 1805 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1276 break 2 | 1806 break 2 |
1277 fi | 1807 fi |
1278 done | 1808 done |
1279 done | 1809 done |
1810 IFS=$as_save_IFS | |
1280 | 1811 |
1281 fi | 1812 fi |
1282 fi | 1813 fi |
1283 ac_ct_CC=$ac_cv_prog_ac_ct_CC | 1814 ac_ct_CC=$ac_cv_prog_ac_ct_CC |
1284 if test -n "$ac_ct_CC"; then | 1815 if test -n "$ac_ct_CC"; then |
1285 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | 1816 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
1286 echo "${ECHO_T}$ac_ct_CC" >&6 | 1817 echo "${ECHO_T}$ac_ct_CC" >&6; } |
1287 else | 1818 else |
1288 echo "$as_me:$LINENO: result: no" >&5 | 1819 { echo "$as_me:$LINENO: result: no" >&5 |
1289 echo "${ECHO_T}no" >&6 | 1820 echo "${ECHO_T}no" >&6; } |
1290 fi | 1821 fi |
1291 | 1822 |
1292 CC=$ac_ct_CC | 1823 if test "x$ac_ct_CC" = x; then |
1824 CC="" | |
1825 else | |
1826 case $cross_compiling:$ac_tool_warned in | |
1827 yes:) | |
1828 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools | |
1829 whose name does not start with the host triplet. If you think this | |
1830 configuration is useful to you, please write to autoconf@gnu.org." >&5 | |
1831 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools | |
1832 whose name does not start with the host triplet. If you think this | |
1833 configuration is useful to you, please write to autoconf@gnu.org." >&2;} | |
1834 ac_tool_warned=yes ;; | |
1835 esac | |
1836 CC=$ac_ct_CC | |
1837 fi | |
1293 else | 1838 else |
1294 CC="$ac_cv_prog_CC" | 1839 CC="$ac_cv_prog_CC" |
1295 fi | 1840 fi |
1296 | 1841 |
1297 if test -z "$CC"; then | 1842 if test -z "$CC"; then |
1298 if test -n "$ac_tool_prefix"; then | 1843 if test -n "$ac_tool_prefix"; then |
1299 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. | 1844 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
1300 set dummy ${ac_tool_prefix}cc; ac_word=$2 | 1845 set dummy ${ac_tool_prefix}cc; ac_word=$2 |
1301 echo "$as_me:$LINENO: checking for $ac_word" >&5 | 1846 { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1302 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 1847 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
1303 if test "${ac_cv_prog_CC+set}" = set; then | 1848 if test "${ac_cv_prog_CC+set}" = set; then |
1304 echo $ECHO_N "(cached) $ECHO_C" >&6 | 1849 echo $ECHO_N "(cached) $ECHO_C" >&6 |
1305 else | 1850 else |
1306 if test -n "$CC"; then | 1851 if test -n "$CC"; then |
1307 ac_cv_prog_CC="$CC" # Let the user override the test. | 1852 ac_cv_prog_CC="$CC" # Let the user override the test. |
1310 for as_dir in $PATH | 1855 for as_dir in $PATH |
1311 do | 1856 do |
1312 IFS=$as_save_IFS | 1857 IFS=$as_save_IFS |
1313 test -z "$as_dir" && as_dir=. | 1858 test -z "$as_dir" && as_dir=. |
1314 for ac_exec_ext in '' $ac_executable_extensions; do | 1859 for ac_exec_ext in '' $ac_executable_extensions; do |
1315 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 1860 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
1316 ac_cv_prog_CC="${ac_tool_prefix}cc" | 1861 ac_cv_prog_CC="${ac_tool_prefix}cc" |
1317 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 1862 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1318 break 2 | 1863 break 2 |
1319 fi | 1864 fi |
1320 done | 1865 done |
1321 done | 1866 done |
1867 IFS=$as_save_IFS | |
1322 | 1868 |
1323 fi | 1869 fi |
1324 fi | 1870 fi |
1325 CC=$ac_cv_prog_CC | 1871 CC=$ac_cv_prog_CC |
1326 if test -n "$CC"; then | 1872 if test -n "$CC"; then |
1327 echo "$as_me:$LINENO: result: $CC" >&5 | 1873 { echo "$as_me:$LINENO: result: $CC" >&5 |
1328 echo "${ECHO_T}$CC" >&6 | 1874 echo "${ECHO_T}$CC" >&6; } |
1329 else | 1875 else |
1330 echo "$as_me:$LINENO: result: no" >&5 | 1876 { echo "$as_me:$LINENO: result: no" >&5 |
1331 echo "${ECHO_T}no" >&6 | 1877 echo "${ECHO_T}no" >&6; } |
1332 fi | 1878 fi |
1333 | 1879 |
1334 fi | 1880 |
1335 if test -z "$ac_cv_prog_CC"; then | |
1336 ac_ct_CC=$CC | |
1337 # Extract the first word of "cc", so it can be a program name with args. | |
1338 set dummy cc; ac_word=$2 | |
1339 echo "$as_me:$LINENO: checking for $ac_word" >&5 | |
1340 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | |
1341 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | |
1342 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
1343 else | |
1344 if test -n "$ac_ct_CC"; then | |
1345 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | |
1346 else | |
1347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
1348 for as_dir in $PATH | |
1349 do | |
1350 IFS=$as_save_IFS | |
1351 test -z "$as_dir" && as_dir=. | |
1352 for ac_exec_ext in '' $ac_executable_extensions; do | |
1353 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
1354 ac_cv_prog_ac_ct_CC="cc" | |
1355 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
1356 break 2 | |
1357 fi | 1881 fi |
1358 done | |
1359 done | |
1360 | |
1361 fi | |
1362 fi | |
1363 ac_ct_CC=$ac_cv_prog_ac_ct_CC | |
1364 if test -n "$ac_ct_CC"; then | |
1365 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | |
1366 echo "${ECHO_T}$ac_ct_CC" >&6 | |
1367 else | |
1368 echo "$as_me:$LINENO: result: no" >&5 | |
1369 echo "${ECHO_T}no" >&6 | |
1370 fi | |
1371 | |
1372 CC=$ac_ct_CC | |
1373 else | |
1374 CC="$ac_cv_prog_CC" | |
1375 fi | |
1376 | |
1377 fi | 1882 fi |
1378 if test -z "$CC"; then | 1883 if test -z "$CC"; then |
1379 # Extract the first word of "cc", so it can be a program name with args. | 1884 # Extract the first word of "cc", so it can be a program name with args. |
1380 set dummy cc; ac_word=$2 | 1885 set dummy cc; ac_word=$2 |
1381 echo "$as_me:$LINENO: checking for $ac_word" >&5 | 1886 { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1382 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 1887 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
1383 if test "${ac_cv_prog_CC+set}" = set; then | 1888 if test "${ac_cv_prog_CC+set}" = set; then |
1384 echo $ECHO_N "(cached) $ECHO_C" >&6 | 1889 echo $ECHO_N "(cached) $ECHO_C" >&6 |
1385 else | 1890 else |
1386 if test -n "$CC"; then | 1891 if test -n "$CC"; then |
1387 ac_cv_prog_CC="$CC" # Let the user override the test. | 1892 ac_cv_prog_CC="$CC" # Let the user override the test. |
1391 for as_dir in $PATH | 1896 for as_dir in $PATH |
1392 do | 1897 do |
1393 IFS=$as_save_IFS | 1898 IFS=$as_save_IFS |
1394 test -z "$as_dir" && as_dir=. | 1899 test -z "$as_dir" && as_dir=. |
1395 for ac_exec_ext in '' $ac_executable_extensions; do | 1900 for ac_exec_ext in '' $ac_executable_extensions; do |
1396 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 1901 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
1397 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then | 1902 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
1398 ac_prog_rejected=yes | 1903 ac_prog_rejected=yes |
1399 continue | 1904 continue |
1400 fi | 1905 fi |
1401 ac_cv_prog_CC="cc" | 1906 ac_cv_prog_CC="cc" |
1402 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 1907 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1403 break 2 | 1908 break 2 |
1404 fi | 1909 fi |
1405 done | 1910 done |
1406 done | 1911 done |
1912 IFS=$as_save_IFS | |
1407 | 1913 |
1408 if test $ac_prog_rejected = yes; then | 1914 if test $ac_prog_rejected = yes; then |
1409 # We found a bogon in the path, so make sure we never use it. | 1915 # We found a bogon in the path, so make sure we never use it. |
1410 set dummy $ac_cv_prog_CC | 1916 set dummy $ac_cv_prog_CC |
1411 shift | 1917 shift |
1412 if test $# != 0; then | 1918 if test $# != 0; then |
1413 # We chose a different compiler from the bogus one. | 1919 # We chose a different compiler from the bogus one. |
1414 # However, it has the same basename, so the bogon will be chosen | 1920 # However, it has the same basename, so the bogon will be chosen |
1415 # first if we set CC to just the basename; use the full file name. | 1921 # first if we set CC to just the basename; use the full file name. |
1416 shift | 1922 shift |
1417 set dummy "$as_dir/$ac_word" ${1+"$@"} | 1923 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
1418 shift | |
1419 ac_cv_prog_CC="$@" | |
1420 fi | 1924 fi |
1421 fi | 1925 fi |
1422 fi | 1926 fi |
1423 fi | 1927 fi |
1424 CC=$ac_cv_prog_CC | 1928 CC=$ac_cv_prog_CC |
1425 if test -n "$CC"; then | 1929 if test -n "$CC"; then |
1426 echo "$as_me:$LINENO: result: $CC" >&5 | 1930 { echo "$as_me:$LINENO: result: $CC" >&5 |
1427 echo "${ECHO_T}$CC" >&6 | 1931 echo "${ECHO_T}$CC" >&6; } |
1428 else | 1932 else |
1429 echo "$as_me:$LINENO: result: no" >&5 | 1933 { echo "$as_me:$LINENO: result: no" >&5 |
1430 echo "${ECHO_T}no" >&6 | 1934 echo "${ECHO_T}no" >&6; } |
1431 fi | 1935 fi |
1936 | |
1432 | 1937 |
1433 fi | 1938 fi |
1434 if test -z "$CC"; then | 1939 if test -z "$CC"; then |
1435 if test -n "$ac_tool_prefix"; then | 1940 if test -n "$ac_tool_prefix"; then |
1436 for ac_prog in cl | 1941 for ac_prog in cl.exe |
1437 do | 1942 do |
1438 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | 1943 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
1439 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | 1944 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
1440 echo "$as_me:$LINENO: checking for $ac_word" >&5 | 1945 { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1441 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 1946 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
1442 if test "${ac_cv_prog_CC+set}" = set; then | 1947 if test "${ac_cv_prog_CC+set}" = set; then |
1443 echo $ECHO_N "(cached) $ECHO_C" >&6 | 1948 echo $ECHO_N "(cached) $ECHO_C" >&6 |
1444 else | 1949 else |
1445 if test -n "$CC"; then | 1950 if test -n "$CC"; then |
1446 ac_cv_prog_CC="$CC" # Let the user override the test. | 1951 ac_cv_prog_CC="$CC" # Let the user override the test. |
1449 for as_dir in $PATH | 1954 for as_dir in $PATH |
1450 do | 1955 do |
1451 IFS=$as_save_IFS | 1956 IFS=$as_save_IFS |
1452 test -z "$as_dir" && as_dir=. | 1957 test -z "$as_dir" && as_dir=. |
1453 for ac_exec_ext in '' $ac_executable_extensions; do | 1958 for ac_exec_ext in '' $ac_executable_extensions; do |
1454 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 1959 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
1455 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" | 1960 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
1456 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 1961 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1457 break 2 | 1962 break 2 |
1458 fi | 1963 fi |
1459 done | 1964 done |
1460 done | 1965 done |
1966 IFS=$as_save_IFS | |
1461 | 1967 |
1462 fi | 1968 fi |
1463 fi | 1969 fi |
1464 CC=$ac_cv_prog_CC | 1970 CC=$ac_cv_prog_CC |
1465 if test -n "$CC"; then | 1971 if test -n "$CC"; then |
1466 echo "$as_me:$LINENO: result: $CC" >&5 | 1972 { echo "$as_me:$LINENO: result: $CC" >&5 |
1467 echo "${ECHO_T}$CC" >&6 | 1973 echo "${ECHO_T}$CC" >&6; } |
1468 else | 1974 else |
1469 echo "$as_me:$LINENO: result: no" >&5 | 1975 { echo "$as_me:$LINENO: result: no" >&5 |
1470 echo "${ECHO_T}no" >&6 | 1976 echo "${ECHO_T}no" >&6; } |
1471 fi | 1977 fi |
1978 | |
1472 | 1979 |
1473 test -n "$CC" && break | 1980 test -n "$CC" && break |
1474 done | 1981 done |
1475 fi | 1982 fi |
1476 if test -z "$CC"; then | 1983 if test -z "$CC"; then |
1477 ac_ct_CC=$CC | 1984 ac_ct_CC=$CC |
1478 for ac_prog in cl | 1985 for ac_prog in cl.exe |
1479 do | 1986 do |
1480 # Extract the first word of "$ac_prog", so it can be a program name with args. | 1987 # Extract the first word of "$ac_prog", so it can be a program name with args. |
1481 set dummy $ac_prog; ac_word=$2 | 1988 set dummy $ac_prog; ac_word=$2 |
1482 echo "$as_me:$LINENO: checking for $ac_word" >&5 | 1989 { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1483 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 1990 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
1484 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | 1991 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
1485 echo $ECHO_N "(cached) $ECHO_C" >&6 | 1992 echo $ECHO_N "(cached) $ECHO_C" >&6 |
1486 else | 1993 else |
1487 if test -n "$ac_ct_CC"; then | 1994 if test -n "$ac_ct_CC"; then |
1488 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | 1995 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
1491 for as_dir in $PATH | 1998 for as_dir in $PATH |
1492 do | 1999 do |
1493 IFS=$as_save_IFS | 2000 IFS=$as_save_IFS |
1494 test -z "$as_dir" && as_dir=. | 2001 test -z "$as_dir" && as_dir=. |
1495 for ac_exec_ext in '' $ac_executable_extensions; do | 2002 for ac_exec_ext in '' $ac_executable_extensions; do |
1496 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 2003 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
1497 ac_cv_prog_ac_ct_CC="$ac_prog" | 2004 ac_cv_prog_ac_ct_CC="$ac_prog" |
1498 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 2005 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1499 break 2 | 2006 break 2 |
1500 fi | 2007 fi |
1501 done | 2008 done |
1502 done | 2009 done |
2010 IFS=$as_save_IFS | |
1503 | 2011 |
1504 fi | 2012 fi |
1505 fi | 2013 fi |
1506 ac_ct_CC=$ac_cv_prog_ac_ct_CC | 2014 ac_ct_CC=$ac_cv_prog_ac_ct_CC |
1507 if test -n "$ac_ct_CC"; then | 2015 if test -n "$ac_ct_CC"; then |
1508 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | 2016 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
1509 echo "${ECHO_T}$ac_ct_CC" >&6 | 2017 echo "${ECHO_T}$ac_ct_CC" >&6; } |
1510 else | 2018 else |
1511 echo "$as_me:$LINENO: result: no" >&5 | 2019 { echo "$as_me:$LINENO: result: no" >&5 |
1512 echo "${ECHO_T}no" >&6 | 2020 echo "${ECHO_T}no" >&6; } |
1513 fi | 2021 fi |
2022 | |
1514 | 2023 |
1515 test -n "$ac_ct_CC" && break | 2024 test -n "$ac_ct_CC" && break |
1516 done | 2025 done |
1517 | 2026 |
1518 CC=$ac_ct_CC | 2027 if test "x$ac_ct_CC" = x; then |
1519 fi | 2028 CC="" |
1520 | 2029 else |
1521 fi | 2030 case $cross_compiling:$ac_tool_warned in |
1522 | 2031 yes:) |
1523 | 2032 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
1524 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5 | 2033 whose name does not start with the host triplet. If you think this |
1525 echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;} | 2034 configuration is useful to you, please write to autoconf@gnu.org." >&5 |
2035 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools | |
2036 whose name does not start with the host triplet. If you think this | |
2037 configuration is useful to you, please write to autoconf@gnu.org." >&2;} | |
2038 ac_tool_warned=yes ;; | |
2039 esac | |
2040 CC=$ac_ct_CC | |
2041 fi | |
2042 fi | |
2043 | |
2044 fi | |
2045 | |
2046 | |
2047 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH | |
2048 See \`config.log' for more details." >&5 | |
2049 echo "$as_me: error: no acceptable C compiler found in \$PATH | |
2050 See \`config.log' for more details." >&2;} | |
1526 { (exit 1); exit 1; }; } | 2051 { (exit 1); exit 1; }; } |
1527 | 2052 |
1528 # Provide some information about the compiler. | 2053 # Provide some information about the compiler. |
1529 echo "$as_me:$LINENO:" \ | 2054 echo "$as_me:$LINENO: checking for C compiler version" >&5 |
1530 "checking for C compiler version" >&5 | |
1531 ac_compiler=`set X $ac_compile; echo $2` | 2055 ac_compiler=`set X $ac_compile; echo $2` |
1532 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 | 2056 { (ac_try="$ac_compiler --version >&5" |
1533 (eval $ac_compiler --version </dev/null >&5) 2>&5 | 2057 case "(($ac_try" in |
2058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
2059 *) ac_try_echo=$ac_try;; | |
2060 esac | |
2061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
2062 (eval "$ac_compiler --version >&5") 2>&5 | |
1534 ac_status=$? | 2063 ac_status=$? |
1535 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 2064 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1536 (exit $ac_status); } | 2065 (exit $ac_status); } |
1537 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 | 2066 { (ac_try="$ac_compiler -v >&5" |
1538 (eval $ac_compiler -v </dev/null >&5) 2>&5 | 2067 case "(($ac_try" in |
2068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
2069 *) ac_try_echo=$ac_try;; | |
2070 esac | |
2071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
2072 (eval "$ac_compiler -v >&5") 2>&5 | |
1539 ac_status=$? | 2073 ac_status=$? |
1540 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 2074 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1541 (exit $ac_status); } | 2075 (exit $ac_status); } |
1542 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 | 2076 { (ac_try="$ac_compiler -V >&5" |
1543 (eval $ac_compiler -V </dev/null >&5) 2>&5 | 2077 case "(($ac_try" in |
2078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
2079 *) ac_try_echo=$ac_try;; | |
2080 esac | |
2081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
2082 (eval "$ac_compiler -V >&5") 2>&5 | |
1544 ac_status=$? | 2083 ac_status=$? |
1545 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 2084 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1546 (exit $ac_status); } | 2085 (exit $ac_status); } |
1547 | 2086 |
1548 cat >conftest.$ac_ext <<_ACEOF | 2087 cat >conftest.$ac_ext <<_ACEOF |
1549 #line $LINENO "configure" | 2088 /* confdefs.h. */ |
1550 #include "confdefs.h" | 2089 _ACEOF |
1551 | 2090 cat confdefs.h >>conftest.$ac_ext |
1552 #ifdef F77_DUMMY_MAIN | 2091 cat >>conftest.$ac_ext <<_ACEOF |
1553 # ifdef __cplusplus | 2092 /* end confdefs.h. */ |
1554 extern "C" | 2093 |
1555 # endif | |
1556 int F77_DUMMY_MAIN() { return 1; } | |
1557 #endif | |
1558 int | 2094 int |
1559 main () | 2095 main () |
1560 { | 2096 { |
1561 | 2097 |
1562 ; | 2098 ; |
1563 return 0; | 2099 return 0; |
1564 } | 2100 } |
1565 _ACEOF | 2101 _ACEOF |
1566 ac_clean_files_save=$ac_clean_files | 2102 ac_clean_files_save=$ac_clean_files |
1567 ac_clean_files="$ac_clean_files a.out a.exe" | 2103 ac_clean_files="$ac_clean_files a.out a.exe b.out" |
1568 # Try to create an executable without -o first, disregard a.out. | 2104 # Try to create an executable without -o first, disregard a.out. |
1569 # It will help us diagnose broken compilers, and finding out an intuition | 2105 # It will help us diagnose broken compilers, and finding out an intuition |
1570 # of exeext. | 2106 # of exeext. |
1571 echo "$as_me:$LINENO: checking for C compiler default output" >&5 | 2107 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 |
1572 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6 | 2108 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } |
1573 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` | 2109 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
1574 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 | 2110 # |
1575 (eval $ac_link_default) 2>&5 | 2111 # List of possible output files, starting from the most likely. |
2112 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*) | |
2113 # only as a last resort. b.out is created by i960 compilers. | |
2114 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' | |
2115 # | |
2116 # The IRIX 6 linker writes into existing files which may not be | |
2117 # executable, retaining their permissions. Remove them first so a | |
2118 # subsequent execution test works. | |
2119 ac_rmfiles= | |
2120 for ac_file in $ac_files | |
2121 do | |
2122 case $ac_file in | |
2123 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; | |
2124 * ) ac_rmfiles="$ac_rmfiles $ac_file";; | |
2125 esac | |
2126 done | |
2127 rm -f $ac_rmfiles | |
2128 | |
2129 if { (ac_try="$ac_link_default" | |
2130 case "(($ac_try" in | |
2131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
2132 *) ac_try_echo=$ac_try;; | |
2133 esac | |
2134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
2135 (eval "$ac_link_default") 2>&5 | |
1576 ac_status=$? | 2136 ac_status=$? |
1577 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 2137 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1578 (exit $ac_status); }; then | 2138 (exit $ac_status); }; then |
1579 # Find the output, starting from the most likely. This scheme is | 2139 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. |
1580 # not robust to junk in `.', hence go to wildcards (a.*) only as a last | 2140 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' |
1581 # resort. | 2141 # in a Makefile. We should not override ac_cv_exeext if it was cached, |
1582 | 2142 # so that the user can short-circuit this test for compilers unknown to |
1583 # Be careful to initialize this variable, since it used to be cached. | 2143 # Autoconf. |
1584 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. | 2144 for ac_file in $ac_files '' |
1585 ac_cv_exeext= | 2145 do |
1586 for ac_file in `ls a_out.exe a.exe conftest.exe 2>/dev/null; | 2146 test -f "$ac_file" || continue |
1587 ls a.out conftest 2>/dev/null; | |
1588 ls a.* conftest.* 2>/dev/null`; do | |
1589 case $ac_file in | 2147 case $ac_file in |
1590 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb | *.xSYM ) ;; | 2148 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) |
1591 a.out ) # We found the default executable, but exeext='' is most | 2149 ;; |
1592 # certainly right. | 2150 [ab].out ) |
1593 break;; | 2151 # We found the default executable, but exeext='' is most |
1594 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | 2152 # certainly right. |
1595 # FIXME: I believe we export ac_cv_exeext for Libtool --akim. | 2153 break;; |
1596 export ac_cv_exeext | 2154 *.* ) |
1597 break;; | 2155 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; |
1598 * ) break;; | 2156 then :; else |
2157 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | |
2158 fi | |
2159 # We set ac_cv_exeext here because the later test for it is not | |
2160 # safe: cross compilers may not add the suffix if given an `-o' | |
2161 # argument, so we may need to know it at that point already. | |
2162 # Even if this section looks crufty: it has the advantage of | |
2163 # actually working. | |
2164 break;; | |
2165 * ) | |
2166 break;; | |
1599 esac | 2167 esac |
1600 done | 2168 done |
1601 else | 2169 test "$ac_cv_exeext" = no && ac_cv_exeext= |
2170 | |
2171 else | |
2172 ac_file='' | |
2173 fi | |
2174 | |
2175 { echo "$as_me:$LINENO: result: $ac_file" >&5 | |
2176 echo "${ECHO_T}$ac_file" >&6; } | |
2177 if test -z "$ac_file"; then | |
1602 echo "$as_me: failed program was:" >&5 | 2178 echo "$as_me: failed program was:" >&5 |
1603 cat conftest.$ac_ext >&5 | 2179 sed 's/^/| /' conftest.$ac_ext >&5 |
1604 { { echo "$as_me:$LINENO: error: C compiler cannot create executables" >&5 | 2180 |
1605 echo "$as_me: error: C compiler cannot create executables" >&2;} | 2181 { { echo "$as_me:$LINENO: error: C compiler cannot create executables |
2182 See \`config.log' for more details." >&5 | |
2183 echo "$as_me: error: C compiler cannot create executables | |
2184 See \`config.log' for more details." >&2;} | |
1606 { (exit 77); exit 77; }; } | 2185 { (exit 77); exit 77; }; } |
1607 fi | 2186 fi |
1608 | 2187 |
1609 ac_exeext=$ac_cv_exeext | 2188 ac_exeext=$ac_cv_exeext |
1610 echo "$as_me:$LINENO: result: $ac_file" >&5 | 2189 |
1611 echo "${ECHO_T}$ac_file" >&6 | 2190 # Check that the compiler produces executables we can run. If not, either |
1612 | |
1613 # Check the compiler produces executables we can run. If not, either | |
1614 # the compiler is broken, or we cross compile. | 2191 # the compiler is broken, or we cross compile. |
1615 echo "$as_me:$LINENO: checking whether the C compiler works" >&5 | 2192 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5 |
1616 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 | 2193 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } |
1617 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 | 2194 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 |
1618 # If not cross compiling, check that we can run a simple program. | 2195 # If not cross compiling, check that we can run a simple program. |
1619 if test "$cross_compiling" != yes; then | 2196 if test "$cross_compiling" != yes; then |
1620 if { ac_try='./$ac_file' | 2197 if { ac_try='./$ac_file' |
1621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 2198 { (case "(($ac_try" in |
1622 (eval $ac_try) 2>&5 | 2199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2200 *) ac_try_echo=$ac_try;; | |
2201 esac | |
2202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
2203 (eval "$ac_try") 2>&5 | |
1623 ac_status=$? | 2204 ac_status=$? |
1624 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 2205 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1625 (exit $ac_status); }; }; then | 2206 (exit $ac_status); }; }; then |
1626 cross_compiling=no | 2207 cross_compiling=no |
1627 else | 2208 else |
1628 if test "$cross_compiling" = maybe; then | 2209 if test "$cross_compiling" = maybe; then |
1629 cross_compiling=yes | 2210 cross_compiling=yes |
1630 else | 2211 else |
1631 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. | 2212 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. |
1632 If you meant to cross compile, use \`--host'." >&5 | 2213 If you meant to cross compile, use \`--host'. |
2214 See \`config.log' for more details." >&5 | |
1633 echo "$as_me: error: cannot run C compiled programs. | 2215 echo "$as_me: error: cannot run C compiled programs. |
1634 If you meant to cross compile, use \`--host'." >&2;} | 2216 If you meant to cross compile, use \`--host'. |
2217 See \`config.log' for more details." >&2;} | |
1635 { (exit 1); exit 1; }; } | 2218 { (exit 1); exit 1; }; } |
1636 fi | 2219 fi |
1637 fi | 2220 fi |
1638 fi | 2221 fi |
1639 echo "$as_me:$LINENO: result: yes" >&5 | 2222 { echo "$as_me:$LINENO: result: yes" >&5 |
1640 echo "${ECHO_T}yes" >&6 | 2223 echo "${ECHO_T}yes" >&6; } |
1641 | 2224 |
1642 rm -f a.out a.exe conftest$ac_cv_exeext | 2225 rm -f a.out a.exe conftest$ac_cv_exeext b.out |
1643 ac_clean_files=$ac_clean_files_save | 2226 ac_clean_files=$ac_clean_files_save |
1644 # Check the compiler produces executables we can run. If not, either | 2227 # Check that the compiler produces executables we can run. If not, either |
1645 # the compiler is broken, or we cross compile. | 2228 # the compiler is broken, or we cross compile. |
1646 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 | 2229 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 |
1647 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 | 2230 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } |
1648 echo "$as_me:$LINENO: result: $cross_compiling" >&5 | 2231 { echo "$as_me:$LINENO: result: $cross_compiling" >&5 |
1649 echo "${ECHO_T}$cross_compiling" >&6 | 2232 echo "${ECHO_T}$cross_compiling" >&6; } |
1650 | 2233 |
1651 echo "$as_me:$LINENO: checking for suffix of executables" >&5 | 2234 { echo "$as_me:$LINENO: checking for suffix of executables" >&5 |
1652 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 | 2235 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } |
1653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 2236 if { (ac_try="$ac_link" |
1654 (eval $ac_link) 2>&5 | 2237 case "(($ac_try" in |
2238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
2239 *) ac_try_echo=$ac_try;; | |
2240 esac | |
2241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
2242 (eval "$ac_link") 2>&5 | |
1655 ac_status=$? | 2243 ac_status=$? |
1656 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 2244 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1657 (exit $ac_status); }; then | 2245 (exit $ac_status); }; then |
1658 # If both `conftest.exe' and `conftest' are `present' (well, observable) | 2246 # If both `conftest.exe' and `conftest' are `present' (well, observable) |
1659 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will | 2247 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
1660 # work properly (i.e., refer to `conftest.exe'), while it won't with | 2248 # work properly (i.e., refer to `conftest.exe'), while it won't with |
1661 # `rm'. | 2249 # `rm'. |
1662 for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do | 2250 for ac_file in conftest.exe conftest conftest.*; do |
2251 test -f "$ac_file" || continue | |
1663 case $ac_file in | 2252 case $ac_file in |
1664 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;; | 2253 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; |
1665 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | 2254 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
1666 export ac_cv_exeext | 2255 break;; |
1667 break;; | |
1668 * ) break;; | 2256 * ) break;; |
1669 esac | 2257 esac |
1670 done | 2258 done |
1671 else | 2259 else |
1672 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5 | 2260 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link |
1673 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;} | 2261 See \`config.log' for more details." >&5 |
2262 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link | |
2263 See \`config.log' for more details." >&2;} | |
1674 { (exit 1); exit 1; }; } | 2264 { (exit 1); exit 1; }; } |
1675 fi | 2265 fi |
1676 | 2266 |
1677 rm -f conftest$ac_cv_exeext | 2267 rm -f conftest$ac_cv_exeext |
1678 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 | 2268 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 |
1679 echo "${ECHO_T}$ac_cv_exeext" >&6 | 2269 echo "${ECHO_T}$ac_cv_exeext" >&6; } |
1680 | 2270 |
1681 rm -f conftest.$ac_ext | 2271 rm -f conftest.$ac_ext |
1682 EXEEXT=$ac_cv_exeext | 2272 EXEEXT=$ac_cv_exeext |
1683 ac_exeext=$EXEEXT | 2273 ac_exeext=$EXEEXT |
1684 echo "$as_me:$LINENO: checking for suffix of object files" >&5 | 2274 { echo "$as_me:$LINENO: checking for suffix of object files" >&5 |
1685 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 | 2275 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } |
1686 if test "${ac_cv_objext+set}" = set; then | 2276 if test "${ac_cv_objext+set}" = set; then |
1687 echo $ECHO_N "(cached) $ECHO_C" >&6 | 2277 echo $ECHO_N "(cached) $ECHO_C" >&6 |
1688 else | 2278 else |
1689 cat >conftest.$ac_ext <<_ACEOF | 2279 cat >conftest.$ac_ext <<_ACEOF |
1690 #line $LINENO "configure" | 2280 /* confdefs.h. */ |
1691 #include "confdefs.h" | 2281 _ACEOF |
1692 | 2282 cat confdefs.h >>conftest.$ac_ext |
1693 #ifdef F77_DUMMY_MAIN | 2283 cat >>conftest.$ac_ext <<_ACEOF |
1694 # ifdef __cplusplus | 2284 /* end confdefs.h. */ |
1695 extern "C" | 2285 |
1696 # endif | |
1697 int F77_DUMMY_MAIN() { return 1; } | |
1698 #endif | |
1699 int | 2286 int |
1700 main () | 2287 main () |
1701 { | 2288 { |
1702 | 2289 |
1703 ; | 2290 ; |
1704 return 0; | 2291 return 0; |
1705 } | 2292 } |
1706 _ACEOF | 2293 _ACEOF |
1707 rm -f conftest.o conftest.obj | 2294 rm -f conftest.o conftest.obj |
1708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 2295 if { (ac_try="$ac_compile" |
1709 (eval $ac_compile) 2>&5 | 2296 case "(($ac_try" in |
2297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
2298 *) ac_try_echo=$ac_try;; | |
2299 esac | |
2300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
2301 (eval "$ac_compile") 2>&5 | |
1710 ac_status=$? | 2302 ac_status=$? |
1711 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 2303 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1712 (exit $ac_status); }; then | 2304 (exit $ac_status); }; then |
1713 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do | 2305 for ac_file in conftest.o conftest.obj conftest.*; do |
2306 test -f "$ac_file" || continue; | |
1714 case $ac_file in | 2307 case $ac_file in |
1715 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;; | 2308 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; |
1716 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` | 2309 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
1717 break;; | 2310 break;; |
1718 esac | 2311 esac |
1719 done | 2312 done |
1720 else | 2313 else |
1721 echo "$as_me: failed program was:" >&5 | 2314 echo "$as_me: failed program was:" >&5 |
1722 cat conftest.$ac_ext >&5 | 2315 sed 's/^/| /' conftest.$ac_ext >&5 |
1723 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5 | 2316 |
1724 echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;} | 2317 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile |
2318 See \`config.log' for more details." >&5 | |
2319 echo "$as_me: error: cannot compute suffix of object files: cannot compile | |
2320 See \`config.log' for more details." >&2;} | |
1725 { (exit 1); exit 1; }; } | 2321 { (exit 1); exit 1; }; } |
1726 fi | 2322 fi |
1727 | 2323 |
1728 rm -f conftest.$ac_cv_objext conftest.$ac_ext | 2324 rm -f conftest.$ac_cv_objext conftest.$ac_ext |
1729 fi | 2325 fi |
1730 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 | 2326 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 |
1731 echo "${ECHO_T}$ac_cv_objext" >&6 | 2327 echo "${ECHO_T}$ac_cv_objext" >&6; } |
1732 OBJEXT=$ac_cv_objext | 2328 OBJEXT=$ac_cv_objext |
1733 ac_objext=$OBJEXT | 2329 ac_objext=$OBJEXT |
1734 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 | 2330 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 |
1735 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 | 2331 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } |
1736 if test "${ac_cv_c_compiler_gnu+set}" = set; then | 2332 if test "${ac_cv_c_compiler_gnu+set}" = set; then |
1737 echo $ECHO_N "(cached) $ECHO_C" >&6 | 2333 echo $ECHO_N "(cached) $ECHO_C" >&6 |
1738 else | 2334 else |
1739 cat >conftest.$ac_ext <<_ACEOF | 2335 cat >conftest.$ac_ext <<_ACEOF |
1740 #line $LINENO "configure" | 2336 /* confdefs.h. */ |
1741 #include "confdefs.h" | 2337 _ACEOF |
1742 | 2338 cat confdefs.h >>conftest.$ac_ext |
1743 #ifdef F77_DUMMY_MAIN | 2339 cat >>conftest.$ac_ext <<_ACEOF |
1744 # ifdef __cplusplus | 2340 /* end confdefs.h. */ |
1745 extern "C" | 2341 |
1746 # endif | |
1747 int F77_DUMMY_MAIN() { return 1; } | |
1748 #endif | |
1749 int | 2342 int |
1750 main () | 2343 main () |
1751 { | 2344 { |
1752 #ifndef __GNUC__ | 2345 #ifndef __GNUC__ |
1753 choke me | 2346 choke me |
1756 ; | 2349 ; |
1757 return 0; | 2350 return 0; |
1758 } | 2351 } |
1759 _ACEOF | 2352 _ACEOF |
1760 rm -f conftest.$ac_objext | 2353 rm -f conftest.$ac_objext |
1761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 2354 if { (ac_try="$ac_compile" |
1762 (eval $ac_compile) 2>&5 | 2355 case "(($ac_try" in |
2356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
2357 *) ac_try_echo=$ac_try;; | |
2358 esac | |
2359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
2360 (eval "$ac_compile") 2>conftest.er1 | |
1763 ac_status=$? | 2361 ac_status=$? |
2362 grep -v '^ *+' conftest.er1 >conftest.err | |
2363 rm -f conftest.er1 | |
2364 cat conftest.err >&5 | |
1764 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 2365 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1765 (exit $ac_status); } && | 2366 (exit $ac_status); } && { |
1766 { ac_try='test -s conftest.$ac_objext' | 2367 test -z "$ac_c_werror_flag" || |
1767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 2368 test ! -s conftest.err |
1768 (eval $ac_try) 2>&5 | 2369 } && test -s conftest.$ac_objext; then |
1769 ac_status=$? | |
1770 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
1771 (exit $ac_status); }; }; then | |
1772 ac_compiler_gnu=yes | 2370 ac_compiler_gnu=yes |
1773 else | 2371 else |
1774 echo "$as_me: failed program was:" >&5 | 2372 echo "$as_me: failed program was:" >&5 |
1775 cat conftest.$ac_ext >&5 | 2373 sed 's/^/| /' conftest.$ac_ext >&5 |
1776 ac_compiler_gnu=no | 2374 |
1777 fi | 2375 ac_compiler_gnu=no |
1778 rm -f conftest.$ac_objext conftest.$ac_ext | 2376 fi |
2377 | |
2378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
1779 ac_cv_c_compiler_gnu=$ac_compiler_gnu | 2379 ac_cv_c_compiler_gnu=$ac_compiler_gnu |
1780 | 2380 |
1781 fi | 2381 fi |
1782 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 | 2382 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
1783 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 | 2383 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } |
1784 GCC=`test $ac_compiler_gnu = yes && echo yes` | 2384 GCC=`test $ac_compiler_gnu = yes && echo yes` |
1785 ac_test_CFLAGS=${CFLAGS+set} | 2385 ac_test_CFLAGS=${CFLAGS+set} |
1786 ac_save_CFLAGS=$CFLAGS | 2386 ac_save_CFLAGS=$CFLAGS |
1787 CFLAGS="-g" | 2387 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 |
1788 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 | 2388 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } |
1789 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 | |
1790 if test "${ac_cv_prog_cc_g+set}" = set; then | 2389 if test "${ac_cv_prog_cc_g+set}" = set; then |
1791 echo $ECHO_N "(cached) $ECHO_C" >&6 | 2390 echo $ECHO_N "(cached) $ECHO_C" >&6 |
1792 else | 2391 else |
1793 cat >conftest.$ac_ext <<_ACEOF | 2392 ac_save_c_werror_flag=$ac_c_werror_flag |
1794 #line $LINENO "configure" | 2393 ac_c_werror_flag=yes |
1795 #include "confdefs.h" | 2394 ac_cv_prog_cc_g=no |
1796 | 2395 CFLAGS="-g" |
1797 #ifdef F77_DUMMY_MAIN | 2396 cat >conftest.$ac_ext <<_ACEOF |
1798 # ifdef __cplusplus | 2397 /* confdefs.h. */ |
1799 extern "C" | 2398 _ACEOF |
1800 # endif | 2399 cat confdefs.h >>conftest.$ac_ext |
1801 int F77_DUMMY_MAIN() { return 1; } | 2400 cat >>conftest.$ac_ext <<_ACEOF |
1802 #endif | 2401 /* end confdefs.h. */ |
2402 | |
1803 int | 2403 int |
1804 main () | 2404 main () |
1805 { | 2405 { |
1806 | 2406 |
1807 ; | 2407 ; |
1808 return 0; | 2408 return 0; |
1809 } | 2409 } |
1810 _ACEOF | 2410 _ACEOF |
1811 rm -f conftest.$ac_objext | 2411 rm -f conftest.$ac_objext |
1812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 2412 if { (ac_try="$ac_compile" |
1813 (eval $ac_compile) 2>&5 | 2413 case "(($ac_try" in |
2414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
2415 *) ac_try_echo=$ac_try;; | |
2416 esac | |
2417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
2418 (eval "$ac_compile") 2>conftest.er1 | |
1814 ac_status=$? | 2419 ac_status=$? |
2420 grep -v '^ *+' conftest.er1 >conftest.err | |
2421 rm -f conftest.er1 | |
2422 cat conftest.err >&5 | |
1815 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 2423 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1816 (exit $ac_status); } && | 2424 (exit $ac_status); } && { |
1817 { ac_try='test -s conftest.$ac_objext' | 2425 test -z "$ac_c_werror_flag" || |
1818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 2426 test ! -s conftest.err |
1819 (eval $ac_try) 2>&5 | 2427 } && test -s conftest.$ac_objext; then |
2428 ac_cv_prog_cc_g=yes | |
2429 else | |
2430 echo "$as_me: failed program was:" >&5 | |
2431 sed 's/^/| /' conftest.$ac_ext >&5 | |
2432 | |
2433 CFLAGS="" | |
2434 cat >conftest.$ac_ext <<_ACEOF | |
2435 /* confdefs.h. */ | |
2436 _ACEOF | |
2437 cat confdefs.h >>conftest.$ac_ext | |
2438 cat >>conftest.$ac_ext <<_ACEOF | |
2439 /* end confdefs.h. */ | |
2440 | |
2441 int | |
2442 main () | |
2443 { | |
2444 | |
2445 ; | |
2446 return 0; | |
2447 } | |
2448 _ACEOF | |
2449 rm -f conftest.$ac_objext | |
2450 if { (ac_try="$ac_compile" | |
2451 case "(($ac_try" in | |
2452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
2453 *) ac_try_echo=$ac_try;; | |
2454 esac | |
2455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
2456 (eval "$ac_compile") 2>conftest.er1 | |
1820 ac_status=$? | 2457 ac_status=$? |
2458 grep -v '^ *+' conftest.er1 >conftest.err | |
2459 rm -f conftest.er1 | |
2460 cat conftest.err >&5 | |
1821 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 2461 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1822 (exit $ac_status); }; }; then | 2462 (exit $ac_status); } && { |
2463 test -z "$ac_c_werror_flag" || | |
2464 test ! -s conftest.err | |
2465 } && test -s conftest.$ac_objext; then | |
2466 : | |
2467 else | |
2468 echo "$as_me: failed program was:" >&5 | |
2469 sed 's/^/| /' conftest.$ac_ext >&5 | |
2470 | |
2471 ac_c_werror_flag=$ac_save_c_werror_flag | |
2472 CFLAGS="-g" | |
2473 cat >conftest.$ac_ext <<_ACEOF | |
2474 /* confdefs.h. */ | |
2475 _ACEOF | |
2476 cat confdefs.h >>conftest.$ac_ext | |
2477 cat >>conftest.$ac_ext <<_ACEOF | |
2478 /* end confdefs.h. */ | |
2479 | |
2480 int | |
2481 main () | |
2482 { | |
2483 | |
2484 ; | |
2485 return 0; | |
2486 } | |
2487 _ACEOF | |
2488 rm -f conftest.$ac_objext | |
2489 if { (ac_try="$ac_compile" | |
2490 case "(($ac_try" in | |
2491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
2492 *) ac_try_echo=$ac_try;; | |
2493 esac | |
2494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
2495 (eval "$ac_compile") 2>conftest.er1 | |
2496 ac_status=$? | |
2497 grep -v '^ *+' conftest.er1 >conftest.err | |
2498 rm -f conftest.er1 | |
2499 cat conftest.err >&5 | |
2500 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2501 (exit $ac_status); } && { | |
2502 test -z "$ac_c_werror_flag" || | |
2503 test ! -s conftest.err | |
2504 } && test -s conftest.$ac_objext; then | |
1823 ac_cv_prog_cc_g=yes | 2505 ac_cv_prog_cc_g=yes |
1824 else | 2506 else |
1825 echo "$as_me: failed program was:" >&5 | 2507 echo "$as_me: failed program was:" >&5 |
1826 cat conftest.$ac_ext >&5 | 2508 sed 's/^/| /' conftest.$ac_ext >&5 |
1827 ac_cv_prog_cc_g=no | 2509 |
1828 fi | 2510 |
1829 rm -f conftest.$ac_objext conftest.$ac_ext | 2511 fi |
1830 fi | 2512 |
1831 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 | 2513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
1832 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 | 2514 fi |
2515 | |
2516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
2517 fi | |
2518 | |
2519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
2520 ac_c_werror_flag=$ac_save_c_werror_flag | |
2521 fi | |
2522 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 | |
2523 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } | |
1833 if test "$ac_test_CFLAGS" = set; then | 2524 if test "$ac_test_CFLAGS" = set; then |
1834 CFLAGS=$ac_save_CFLAGS | 2525 CFLAGS=$ac_save_CFLAGS |
1835 elif test $ac_cv_prog_cc_g = yes; then | 2526 elif test $ac_cv_prog_cc_g = yes; then |
1836 if test "$GCC" = yes; then | 2527 if test "$GCC" = yes; then |
1837 CFLAGS="-g -O2" | 2528 CFLAGS="-g -O2" |
1843 CFLAGS="-O2" | 2534 CFLAGS="-O2" |
1844 else | 2535 else |
1845 CFLAGS= | 2536 CFLAGS= |
1846 fi | 2537 fi |
1847 fi | 2538 fi |
1848 # Some people use a C++ compiler to compile C. Since we use `exit', | 2539 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 |
1849 # in C++ we need to declare it. In case someone uses the same compiler | 2540 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } |
1850 # for both compiling C and C++ we need to have the C++ compiler decide | 2541 if test "${ac_cv_prog_cc_c89+set}" = set; then |
1851 # the declaration of exit, since it's the most demanding environment. | 2542 echo $ECHO_N "(cached) $ECHO_C" >&6 |
2543 else | |
2544 ac_cv_prog_cc_c89=no | |
2545 ac_save_CC=$CC | |
1852 cat >conftest.$ac_ext <<_ACEOF | 2546 cat >conftest.$ac_ext <<_ACEOF |
1853 #ifndef __cplusplus | 2547 /* confdefs.h. */ |
1854 choke me | 2548 _ACEOF |
1855 #endif | 2549 cat confdefs.h >>conftest.$ac_ext |
1856 _ACEOF | 2550 cat >>conftest.$ac_ext <<_ACEOF |
1857 rm -f conftest.$ac_objext | 2551 /* end confdefs.h. */ |
1858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 2552 #include <stdarg.h> |
1859 (eval $ac_compile) 2>&5 | 2553 #include <stdio.h> |
1860 ac_status=$? | 2554 #include <sys/types.h> |
1861 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 2555 #include <sys/stat.h> |
1862 (exit $ac_status); } && | 2556 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
1863 { ac_try='test -s conftest.$ac_objext' | 2557 struct buf { int x; }; |
1864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 2558 FILE * (*rcsopen) (struct buf *, struct stat *, int); |
1865 (eval $ac_try) 2>&5 | 2559 static char *e (p, i) |
1866 ac_status=$? | 2560 char **p; |
1867 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 2561 int i; |
1868 (exit $ac_status); }; }; then | 2562 { |
1869 for ac_declaration in \ | 2563 return p[i]; |
1870 ''\ | 2564 } |
1871 '#include <stdlib.h>' \ | 2565 static char *f (char * (*g) (char **, int), char **p, ...) |
1872 'extern "C" void std::exit (int) throw (); using std::exit;' \ | 2566 { |
1873 'extern "C" void std::exit (int); using std::exit;' \ | 2567 char *s; |
1874 'extern "C" void exit (int) throw ();' \ | 2568 va_list v; |
1875 'extern "C" void exit (int);' \ | 2569 va_start (v,p); |
1876 'void exit (int);' | 2570 s = g (p, va_arg (v,int)); |
1877 do | 2571 va_end (v); |
1878 cat >conftest.$ac_ext <<_ACEOF | 2572 return s; |
1879 #line $LINENO "configure" | 2573 } |
1880 #include "confdefs.h" | 2574 |
1881 #include <stdlib.h> | 2575 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
1882 $ac_declaration | 2576 function prototypes and stuff, but not '\xHH' hex character constants. |
1883 #ifdef F77_DUMMY_MAIN | 2577 These don't provoke an error unfortunately, instead are silently treated |
1884 # ifdef __cplusplus | 2578 as 'x'. The following induces an error, until -std is added to get |
1885 extern "C" | 2579 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
1886 # endif | 2580 array size at least. It's necessary to write '\x00'==0 to get something |
1887 int F77_DUMMY_MAIN() { return 1; } | 2581 that's true only with -std. */ |
1888 #endif | 2582 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
2583 | |
2584 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters | |
2585 inside strings and character constants. */ | |
2586 #define FOO(x) 'x' | |
2587 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; | |
2588 | |
2589 int test (int i, double x); | |
2590 struct s1 {int (*f) (int a);}; | |
2591 struct s2 {int (*f) (double a);}; | |
2592 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | |
2593 int argc; | |
2594 char **argv; | |
1889 int | 2595 int |
1890 main () | 2596 main () |
1891 { | 2597 { |
1892 exit (42); | 2598 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
1893 ; | 2599 ; |
1894 return 0; | 2600 return 0; |
1895 } | 2601 } |
1896 _ACEOF | 2602 _ACEOF |
1897 rm -f conftest.$ac_objext | 2603 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ |
1898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 2604 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
1899 (eval $ac_compile) 2>&5 | 2605 do |
2606 CC="$ac_save_CC $ac_arg" | |
2607 rm -f conftest.$ac_objext | |
2608 if { (ac_try="$ac_compile" | |
2609 case "(($ac_try" in | |
2610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
2611 *) ac_try_echo=$ac_try;; | |
2612 esac | |
2613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
2614 (eval "$ac_compile") 2>conftest.er1 | |
1900 ac_status=$? | 2615 ac_status=$? |
2616 grep -v '^ *+' conftest.er1 >conftest.err | |
2617 rm -f conftest.er1 | |
2618 cat conftest.err >&5 | |
1901 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 2619 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1902 (exit $ac_status); } && | 2620 (exit $ac_status); } && { |
1903 { ac_try='test -s conftest.$ac_objext' | 2621 test -z "$ac_c_werror_flag" || |
1904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 2622 test ! -s conftest.err |
1905 (eval $ac_try) 2>&5 | 2623 } && test -s conftest.$ac_objext; then |
1906 ac_status=$? | 2624 ac_cv_prog_cc_c89=$ac_arg |
1907 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
1908 (exit $ac_status); }; }; then | |
1909 : | |
1910 else | 2625 else |
1911 echo "$as_me: failed program was:" >&5 | 2626 echo "$as_me: failed program was:" >&5 |
1912 cat conftest.$ac_ext >&5 | 2627 sed 's/^/| /' conftest.$ac_ext >&5 |
1913 continue | 2628 |
1914 fi | 2629 |
1915 rm -f conftest.$ac_objext conftest.$ac_ext | 2630 fi |
1916 cat >conftest.$ac_ext <<_ACEOF | 2631 |
1917 #line $LINENO "configure" | 2632 rm -f core conftest.err conftest.$ac_objext |
1918 #include "confdefs.h" | 2633 test "x$ac_cv_prog_cc_c89" != "xno" && break |
1919 $ac_declaration | |
1920 #ifdef F77_DUMMY_MAIN | |
1921 # ifdef __cplusplus | |
1922 extern "C" | |
1923 # endif | |
1924 int F77_DUMMY_MAIN() { return 1; } | |
1925 #endif | |
1926 int | |
1927 main () | |
1928 { | |
1929 exit (42); | |
1930 ; | |
1931 return 0; | |
1932 } | |
1933 _ACEOF | |
1934 rm -f conftest.$ac_objext | |
1935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
1936 (eval $ac_compile) 2>&5 | |
1937 ac_status=$? | |
1938 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
1939 (exit $ac_status); } && | |
1940 { ac_try='test -s conftest.$ac_objext' | |
1941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
1942 (eval $ac_try) 2>&5 | |
1943 ac_status=$? | |
1944 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
1945 (exit $ac_status); }; }; then | |
1946 break | |
1947 else | |
1948 echo "$as_me: failed program was:" >&5 | |
1949 cat conftest.$ac_ext >&5 | |
1950 fi | |
1951 rm -f conftest.$ac_objext conftest.$ac_ext | |
1952 done | 2634 done |
1953 rm -f conftest* | 2635 rm -f conftest.$ac_ext |
1954 if test -n "$ac_declaration"; then | 2636 CC=$ac_save_CC |
1955 echo '#ifdef __cplusplus' >>confdefs.h | 2637 |
1956 echo $ac_declaration >>confdefs.h | 2638 fi |
1957 echo '#endif' >>confdefs.h | 2639 # AC_CACHE_VAL |
1958 fi | 2640 case "x$ac_cv_prog_cc_c89" in |
1959 | 2641 x) |
1960 else | 2642 { echo "$as_me:$LINENO: result: none needed" >&5 |
1961 echo "$as_me: failed program was:" >&5 | 2643 echo "${ECHO_T}none needed" >&6; } ;; |
1962 cat conftest.$ac_ext >&5 | 2644 xno) |
1963 fi | 2645 { echo "$as_me:$LINENO: result: unsupported" >&5 |
1964 rm -f conftest.$ac_objext conftest.$ac_ext | 2646 echo "${ECHO_T}unsupported" >&6; } ;; |
2647 *) | |
2648 CC="$CC $ac_cv_prog_cc_c89" | |
2649 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 | |
2650 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; | |
2651 esac | |
2652 | |
2653 | |
1965 ac_ext=c | 2654 ac_ext=c |
1966 ac_cpp='$CPP $CPPFLAGS' | 2655 ac_cpp='$CPP $CPPFLAGS' |
1967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 2656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
1968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 2657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
1969 ac_compiler_gnu=$ac_cv_c_compiler_gnu | 2658 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
1970 | 2659 |
1971 | 2660 ac_ext=cpp |
1972 # Extract the first word of "gmake", so it can be a program name with args. | 2661 ac_cpp='$CXXCPP $CPPFLAGS' |
1973 set dummy gmake; ac_word=$2 | 2662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
1974 echo "$as_me:$LINENO: checking for $ac_word" >&5 | 2663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
1975 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 2664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
1976 if test "${ac_cv_prog_MAKE+set}" = set; then | 2665 if test -z "$CXX"; then |
2666 if test -n "$CCC"; then | |
2667 CXX=$CCC | |
2668 else | |
2669 if test -n "$ac_tool_prefix"; then | |
2670 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC | |
2671 do | |
2672 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | |
2673 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | |
2674 { echo "$as_me:$LINENO: checking for $ac_word" >&5 | |
2675 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | |
2676 if test "${ac_cv_prog_CXX+set}" = set; then | |
1977 echo $ECHO_N "(cached) $ECHO_C" >&6 | 2677 echo $ECHO_N "(cached) $ECHO_C" >&6 |
1978 else | 2678 else |
1979 if test -n "$MAKE"; then | 2679 if test -n "$CXX"; then |
1980 ac_cv_prog_MAKE="$MAKE" # Let the user override the test. | 2680 ac_cv_prog_CXX="$CXX" # Let the user override the test. |
1981 else | 2681 else |
1982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 2682 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1983 for as_dir in $PATH | 2683 for as_dir in $PATH |
1984 do | 2684 do |
1985 IFS=$as_save_IFS | 2685 IFS=$as_save_IFS |
1986 test -z "$as_dir" && as_dir=. | 2686 test -z "$as_dir" && as_dir=. |
1987 for ac_exec_ext in '' $ac_executable_extensions; do | 2687 for ac_exec_ext in '' $ac_executable_extensions; do |
1988 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 2688 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2689 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" | |
2690 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
2691 break 2 | |
2692 fi | |
2693 done | |
2694 done | |
2695 IFS=$as_save_IFS | |
2696 | |
2697 fi | |
2698 fi | |
2699 CXX=$ac_cv_prog_CXX | |
2700 if test -n "$CXX"; then | |
2701 { echo "$as_me:$LINENO: result: $CXX" >&5 | |
2702 echo "${ECHO_T}$CXX" >&6; } | |
2703 else | |
2704 { echo "$as_me:$LINENO: result: no" >&5 | |
2705 echo "${ECHO_T}no" >&6; } | |
2706 fi | |
2707 | |
2708 | |
2709 test -n "$CXX" && break | |
2710 done | |
2711 fi | |
2712 if test -z "$CXX"; then | |
2713 ac_ct_CXX=$CXX | |
2714 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC | |
2715 do | |
2716 # Extract the first word of "$ac_prog", so it can be a program name with args. | |
2717 set dummy $ac_prog; ac_word=$2 | |
2718 { echo "$as_me:$LINENO: checking for $ac_word" >&5 | |
2719 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | |
2720 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then | |
2721 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
2722 else | |
2723 if test -n "$ac_ct_CXX"; then | |
2724 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. | |
2725 else | |
2726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
2727 for as_dir in $PATH | |
2728 do | |
2729 IFS=$as_save_IFS | |
2730 test -z "$as_dir" && as_dir=. | |
2731 for ac_exec_ext in '' $ac_executable_extensions; do | |
2732 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
2733 ac_cv_prog_ac_ct_CXX="$ac_prog" | |
2734 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
2735 break 2 | |
2736 fi | |
2737 done | |
2738 done | |
2739 IFS=$as_save_IFS | |
2740 | |
2741 fi | |
2742 fi | |
2743 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX | |
2744 if test -n "$ac_ct_CXX"; then | |
2745 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 | |
2746 echo "${ECHO_T}$ac_ct_CXX" >&6; } | |
2747 else | |
2748 { echo "$as_me:$LINENO: result: no" >&5 | |
2749 echo "${ECHO_T}no" >&6; } | |
2750 fi | |
2751 | |
2752 | |
2753 test -n "$ac_ct_CXX" && break | |
2754 done | |
2755 | |
2756 if test "x$ac_ct_CXX" = x; then | |
2757 CXX="g++" | |
2758 else | |
2759 case $cross_compiling:$ac_tool_warned in | |
2760 yes:) | |
2761 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools | |
2762 whose name does not start with the host triplet. If you think this | |
2763 configuration is useful to you, please write to autoconf@gnu.org." >&5 | |
2764 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools | |
2765 whose name does not start with the host triplet. If you think this | |
2766 configuration is useful to you, please write to autoconf@gnu.org." >&2;} | |
2767 ac_tool_warned=yes ;; | |
2768 esac | |
2769 CXX=$ac_ct_CXX | |
2770 fi | |
2771 fi | |
2772 | |
2773 fi | |
2774 fi | |
2775 # Provide some information about the compiler. | |
2776 echo "$as_me:$LINENO: checking for C++ compiler version" >&5 | |
2777 ac_compiler=`set X $ac_compile; echo $2` | |
2778 { (ac_try="$ac_compiler --version >&5" | |
2779 case "(($ac_try" in | |
2780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
2781 *) ac_try_echo=$ac_try;; | |
2782 esac | |
2783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
2784 (eval "$ac_compiler --version >&5") 2>&5 | |
2785 ac_status=$? | |
2786 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2787 (exit $ac_status); } | |
2788 { (ac_try="$ac_compiler -v >&5" | |
2789 case "(($ac_try" in | |
2790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
2791 *) ac_try_echo=$ac_try;; | |
2792 esac | |
2793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
2794 (eval "$ac_compiler -v >&5") 2>&5 | |
2795 ac_status=$? | |
2796 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2797 (exit $ac_status); } | |
2798 { (ac_try="$ac_compiler -V >&5" | |
2799 case "(($ac_try" in | |
2800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
2801 *) ac_try_echo=$ac_try;; | |
2802 esac | |
2803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
2804 (eval "$ac_compiler -V >&5") 2>&5 | |
2805 ac_status=$? | |
2806 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2807 (exit $ac_status); } | |
2808 | |
2809 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 | |
2810 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; } | |
2811 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then | |
2812 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
2813 else | |
2814 cat >conftest.$ac_ext <<_ACEOF | |
2815 /* confdefs.h. */ | |
2816 _ACEOF | |
2817 cat confdefs.h >>conftest.$ac_ext | |
2818 cat >>conftest.$ac_ext <<_ACEOF | |
2819 /* end confdefs.h. */ | |
2820 | |
2821 int | |
2822 main () | |
2823 { | |
2824 #ifndef __GNUC__ | |
2825 choke me | |
2826 #endif | |
2827 | |
2828 ; | |
2829 return 0; | |
2830 } | |
2831 _ACEOF | |
2832 rm -f conftest.$ac_objext | |
2833 if { (ac_try="$ac_compile" | |
2834 case "(($ac_try" in | |
2835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
2836 *) ac_try_echo=$ac_try;; | |
2837 esac | |
2838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
2839 (eval "$ac_compile") 2>conftest.er1 | |
2840 ac_status=$? | |
2841 grep -v '^ *+' conftest.er1 >conftest.err | |
2842 rm -f conftest.er1 | |
2843 cat conftest.err >&5 | |
2844 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2845 (exit $ac_status); } && { | |
2846 test -z "$ac_cxx_werror_flag" || | |
2847 test ! -s conftest.err | |
2848 } && test -s conftest.$ac_objext; then | |
2849 ac_compiler_gnu=yes | |
2850 else | |
2851 echo "$as_me: failed program was:" >&5 | |
2852 sed 's/^/| /' conftest.$ac_ext >&5 | |
2853 | |
2854 ac_compiler_gnu=no | |
2855 fi | |
2856 | |
2857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
2858 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu | |
2859 | |
2860 fi | |
2861 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 | |
2862 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; } | |
2863 GXX=`test $ac_compiler_gnu = yes && echo yes` | |
2864 ac_test_CXXFLAGS=${CXXFLAGS+set} | |
2865 ac_save_CXXFLAGS=$CXXFLAGS | |
2866 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 | |
2867 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; } | |
2868 if test "${ac_cv_prog_cxx_g+set}" = set; then | |
2869 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
2870 else | |
2871 ac_save_cxx_werror_flag=$ac_cxx_werror_flag | |
2872 ac_cxx_werror_flag=yes | |
2873 ac_cv_prog_cxx_g=no | |
2874 CXXFLAGS="-g" | |
2875 cat >conftest.$ac_ext <<_ACEOF | |
2876 /* confdefs.h. */ | |
2877 _ACEOF | |
2878 cat confdefs.h >>conftest.$ac_ext | |
2879 cat >>conftest.$ac_ext <<_ACEOF | |
2880 /* end confdefs.h. */ | |
2881 | |
2882 int | |
2883 main () | |
2884 { | |
2885 | |
2886 ; | |
2887 return 0; | |
2888 } | |
2889 _ACEOF | |
2890 rm -f conftest.$ac_objext | |
2891 if { (ac_try="$ac_compile" | |
2892 case "(($ac_try" in | |
2893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
2894 *) ac_try_echo=$ac_try;; | |
2895 esac | |
2896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
2897 (eval "$ac_compile") 2>conftest.er1 | |
2898 ac_status=$? | |
2899 grep -v '^ *+' conftest.er1 >conftest.err | |
2900 rm -f conftest.er1 | |
2901 cat conftest.err >&5 | |
2902 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2903 (exit $ac_status); } && { | |
2904 test -z "$ac_cxx_werror_flag" || | |
2905 test ! -s conftest.err | |
2906 } && test -s conftest.$ac_objext; then | |
2907 ac_cv_prog_cxx_g=yes | |
2908 else | |
2909 echo "$as_me: failed program was:" >&5 | |
2910 sed 's/^/| /' conftest.$ac_ext >&5 | |
2911 | |
2912 CXXFLAGS="" | |
2913 cat >conftest.$ac_ext <<_ACEOF | |
2914 /* confdefs.h. */ | |
2915 _ACEOF | |
2916 cat confdefs.h >>conftest.$ac_ext | |
2917 cat >>conftest.$ac_ext <<_ACEOF | |
2918 /* end confdefs.h. */ | |
2919 | |
2920 int | |
2921 main () | |
2922 { | |
2923 | |
2924 ; | |
2925 return 0; | |
2926 } | |
2927 _ACEOF | |
2928 rm -f conftest.$ac_objext | |
2929 if { (ac_try="$ac_compile" | |
2930 case "(($ac_try" in | |
2931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
2932 *) ac_try_echo=$ac_try;; | |
2933 esac | |
2934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
2935 (eval "$ac_compile") 2>conftest.er1 | |
2936 ac_status=$? | |
2937 grep -v '^ *+' conftest.er1 >conftest.err | |
2938 rm -f conftest.er1 | |
2939 cat conftest.err >&5 | |
2940 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2941 (exit $ac_status); } && { | |
2942 test -z "$ac_cxx_werror_flag" || | |
2943 test ! -s conftest.err | |
2944 } && test -s conftest.$ac_objext; then | |
2945 : | |
2946 else | |
2947 echo "$as_me: failed program was:" >&5 | |
2948 sed 's/^/| /' conftest.$ac_ext >&5 | |
2949 | |
2950 ac_cxx_werror_flag=$ac_save_cxx_werror_flag | |
2951 CXXFLAGS="-g" | |
2952 cat >conftest.$ac_ext <<_ACEOF | |
2953 /* confdefs.h. */ | |
2954 _ACEOF | |
2955 cat confdefs.h >>conftest.$ac_ext | |
2956 cat >>conftest.$ac_ext <<_ACEOF | |
2957 /* end confdefs.h. */ | |
2958 | |
2959 int | |
2960 main () | |
2961 { | |
2962 | |
2963 ; | |
2964 return 0; | |
2965 } | |
2966 _ACEOF | |
2967 rm -f conftest.$ac_objext | |
2968 if { (ac_try="$ac_compile" | |
2969 case "(($ac_try" in | |
2970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
2971 *) ac_try_echo=$ac_try;; | |
2972 esac | |
2973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
2974 (eval "$ac_compile") 2>conftest.er1 | |
2975 ac_status=$? | |
2976 grep -v '^ *+' conftest.er1 >conftest.err | |
2977 rm -f conftest.er1 | |
2978 cat conftest.err >&5 | |
2979 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2980 (exit $ac_status); } && { | |
2981 test -z "$ac_cxx_werror_flag" || | |
2982 test ! -s conftest.err | |
2983 } && test -s conftest.$ac_objext; then | |
2984 ac_cv_prog_cxx_g=yes | |
2985 else | |
2986 echo "$as_me: failed program was:" >&5 | |
2987 sed 's/^/| /' conftest.$ac_ext >&5 | |
2988 | |
2989 | |
2990 fi | |
2991 | |
2992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
2993 fi | |
2994 | |
2995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
2996 fi | |
2997 | |
2998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
2999 ac_cxx_werror_flag=$ac_save_cxx_werror_flag | |
3000 fi | |
3001 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 | |
3002 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; } | |
3003 if test "$ac_test_CXXFLAGS" = set; then | |
3004 CXXFLAGS=$ac_save_CXXFLAGS | |
3005 elif test $ac_cv_prog_cxx_g = yes; then | |
3006 if test "$GXX" = yes; then | |
3007 CXXFLAGS="-g -O2" | |
3008 else | |
3009 CXXFLAGS="-g" | |
3010 fi | |
3011 else | |
3012 if test "$GXX" = yes; then | |
3013 CXXFLAGS="-O2" | |
3014 else | |
3015 CXXFLAGS= | |
3016 fi | |
3017 fi | |
3018 ac_ext=c | |
3019 ac_cpp='$CPP $CPPFLAGS' | |
3020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
3021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
3022 ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
3023 | |
3024 | |
3025 # Extract the first word of "gmake", so it can be a program name with args. | |
3026 set dummy gmake; ac_word=$2 | |
3027 { echo "$as_me:$LINENO: checking for $ac_word" >&5 | |
3028 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | |
3029 if test "${ac_cv_prog_MAKE+set}" = set; then | |
3030 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
3031 else | |
3032 if test -n "$MAKE"; then | |
3033 ac_cv_prog_MAKE="$MAKE" # Let the user override the test. | |
3034 else | |
3035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
3036 for as_dir in $PATH | |
3037 do | |
3038 IFS=$as_save_IFS | |
3039 test -z "$as_dir" && as_dir=. | |
3040 for ac_exec_ext in '' $ac_executable_extensions; do | |
3041 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
1989 ac_cv_prog_MAKE="gmake" | 3042 ac_cv_prog_MAKE="gmake" |
1990 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 3043 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1991 break 2 | 3044 break 2 |
1992 fi | 3045 fi |
1993 done | 3046 done |
1994 done | 3047 done |
3048 IFS=$as_save_IFS | |
1995 | 3049 |
1996 fi | 3050 fi |
1997 fi | 3051 fi |
1998 MAKE=$ac_cv_prog_MAKE | 3052 MAKE=$ac_cv_prog_MAKE |
1999 if test -n "$MAKE"; then | 3053 if test -n "$MAKE"; then |
2000 echo "$as_me:$LINENO: result: $MAKE" >&5 | 3054 { echo "$as_me:$LINENO: result: $MAKE" >&5 |
2001 echo "${ECHO_T}$MAKE" >&6 | 3055 echo "${ECHO_T}$MAKE" >&6; } |
2002 else | 3056 else |
2003 echo "$as_me:$LINENO: result: no" >&5 | 3057 { echo "$as_me:$LINENO: result: no" >&5 |
2004 echo "${ECHO_T}no" >&6 | 3058 echo "${ECHO_T}no" >&6; } |
2005 fi | 3059 fi |
3060 | |
2006 | 3061 |
2007 if test x"$MAKE" = x; then | 3062 if test x"$MAKE" = x; then |
2008 # Extract the first word of "make", so it can be a program name with args. | 3063 # Extract the first word of "make", so it can be a program name with args. |
2009 set dummy make; ac_word=$2 | 3064 set dummy make; ac_word=$2 |
2010 echo "$as_me:$LINENO: checking for $ac_word" >&5 | 3065 { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2011 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 3066 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
2012 if test "${ac_cv_prog_MAKE+set}" = set; then | 3067 if test "${ac_cv_prog_MAKE+set}" = set; then |
2013 echo $ECHO_N "(cached) $ECHO_C" >&6 | 3068 echo $ECHO_N "(cached) $ECHO_C" >&6 |
2014 else | 3069 else |
2015 if test -n "$MAKE"; then | 3070 if test -n "$MAKE"; then |
2016 ac_cv_prog_MAKE="$MAKE" # Let the user override the test. | 3071 ac_cv_prog_MAKE="$MAKE" # Let the user override the test. |
2019 for as_dir in $PATH | 3074 for as_dir in $PATH |
2020 do | 3075 do |
2021 IFS=$as_save_IFS | 3076 IFS=$as_save_IFS |
2022 test -z "$as_dir" && as_dir=. | 3077 test -z "$as_dir" && as_dir=. |
2023 for ac_exec_ext in '' $ac_executable_extensions; do | 3078 for ac_exec_ext in '' $ac_executable_extensions; do |
2024 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 3079 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2025 ac_cv_prog_MAKE="make" | 3080 ac_cv_prog_MAKE="make" |
2026 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 3081 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2027 break 2 | 3082 break 2 |
2028 fi | 3083 fi |
2029 done | 3084 done |
2030 done | 3085 done |
3086 IFS=$as_save_IFS | |
2031 | 3087 |
2032 fi | 3088 fi |
2033 fi | 3089 fi |
2034 MAKE=$ac_cv_prog_MAKE | 3090 MAKE=$ac_cv_prog_MAKE |
2035 if test -n "$MAKE"; then | 3091 if test -n "$MAKE"; then |
2036 echo "$as_me:$LINENO: result: $MAKE" >&5 | 3092 { echo "$as_me:$LINENO: result: $MAKE" >&5 |
2037 echo "${ECHO_T}$MAKE" >&6 | 3093 echo "${ECHO_T}$MAKE" >&6; } |
2038 else | 3094 else |
2039 echo "$as_me:$LINENO: result: no" >&5 | 3095 { echo "$as_me:$LINENO: result: no" >&5 |
2040 echo "${ECHO_T}no" >&6 | 3096 echo "${ECHO_T}no" >&6; } |
2041 fi | 3097 fi |
3098 | |
2042 | 3099 |
2043 fi | 3100 fi |
2044 | 3101 |
2045 ac_aux_dir= | 3102 ac_aux_dir= |
2046 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do | 3103 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
2047 if test -f $ac_dir/install-sh; then | 3104 if test -f "$ac_dir/install-sh"; then |
2048 ac_aux_dir=$ac_dir | 3105 ac_aux_dir=$ac_dir |
2049 ac_install_sh="$ac_aux_dir/install-sh -c" | 3106 ac_install_sh="$ac_aux_dir/install-sh -c" |
2050 break | 3107 break |
2051 elif test -f $ac_dir/install.sh; then | 3108 elif test -f "$ac_dir/install.sh"; then |
2052 ac_aux_dir=$ac_dir | 3109 ac_aux_dir=$ac_dir |
2053 ac_install_sh="$ac_aux_dir/install.sh -c" | 3110 ac_install_sh="$ac_aux_dir/install.sh -c" |
2054 break | 3111 break |
2055 elif test -f $ac_dir/shtool; then | 3112 elif test -f "$ac_dir/shtool"; then |
2056 ac_aux_dir=$ac_dir | 3113 ac_aux_dir=$ac_dir |
2057 ac_install_sh="$ac_aux_dir/shtool install -c" | 3114 ac_install_sh="$ac_aux_dir/shtool install -c" |
2058 break | 3115 break |
2059 fi | 3116 fi |
2060 done | 3117 done |
2061 if test -z "$ac_aux_dir"; then | 3118 if test -z "$ac_aux_dir"; then |
2062 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 | 3119 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 |
2063 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} | 3120 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} |
2064 { (exit 1); exit 1; }; } | 3121 { (exit 1); exit 1; }; } |
2065 fi | 3122 fi |
2066 ac_config_guess="$SHELL $ac_aux_dir/config.guess" | 3123 |
2067 ac_config_sub="$SHELL $ac_aux_dir/config.sub" | 3124 # These three variables are undocumented and unsupported, |
2068 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. | 3125 # and are intended to be withdrawn in a future Autoconf release. |
3126 # They can cause serious problems if a builder's source tree is in a directory | |
3127 # whose full name contains unusual characters. | |
3128 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. | |
3129 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. | |
3130 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. | |
3131 | |
2069 | 3132 |
2070 # Find a good install program. We prefer a C program (faster), | 3133 # Find a good install program. We prefer a C program (faster), |
2071 # so one script is as good as another. But avoid the broken or | 3134 # so one script is as good as another. But avoid the broken or |
2072 # incompatible versions: | 3135 # incompatible versions: |
2073 # SysV /etc/install, /usr/sbin/install | 3136 # SysV /etc/install, /usr/sbin/install |
2076 # AIX /bin/install | 3139 # AIX /bin/install |
2077 # AmigaOS /C/install, which installs bootblocks on floppy discs | 3140 # AmigaOS /C/install, which installs bootblocks on floppy discs |
2078 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | 3141 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
2079 # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 3142 # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
2080 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 3143 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
3144 # OS/2's system install, which has a completely different semantic | |
2081 # ./install, which can be erroneously created by make from ./install.sh. | 3145 # ./install, which can be erroneously created by make from ./install.sh. |
2082 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 | 3146 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
2083 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 | 3147 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } |
2084 if test -z "$INSTALL"; then | 3148 if test -z "$INSTALL"; then |
2085 if test "${ac_cv_path_install+set}" = set; then | 3149 if test "${ac_cv_path_install+set}" = set; then |
2086 echo $ECHO_N "(cached) $ECHO_C" >&6 | 3150 echo $ECHO_N "(cached) $ECHO_C" >&6 |
2087 else | 3151 else |
2088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 3152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2092 test -z "$as_dir" && as_dir=. | 3156 test -z "$as_dir" && as_dir=. |
2093 # Account for people who put trailing slashes in PATH elements. | 3157 # Account for people who put trailing slashes in PATH elements. |
2094 case $as_dir/ in | 3158 case $as_dir/ in |
2095 ./ | .// | /cC/* | \ | 3159 ./ | .// | /cC/* | \ |
2096 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ | 3160 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
3161 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ | |
2097 /usr/ucb/* ) ;; | 3162 /usr/ucb/* ) ;; |
2098 *) | 3163 *) |
2099 # OSF1 and SCO ODT 3.0 have their own names for install. | 3164 # OSF1 and SCO ODT 3.0 have their own names for install. |
2100 # Don't use installbsd from OSF since it installs stuff as root | 3165 # Don't use installbsd from OSF since it installs stuff as root |
2101 # by default. | 3166 # by default. |
2102 for ac_prog in ginstall scoinst install; do | 3167 for ac_prog in ginstall scoinst install; do |
2103 for ac_exec_ext in '' $ac_executable_extensions; do | 3168 for ac_exec_ext in '' $ac_executable_extensions; do |
2104 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then | 3169 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then |
2105 if test $ac_prog = install && | 3170 if test $ac_prog = install && |
2106 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | 3171 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
2107 # AIX install. It has an incompatible calling convention. | 3172 # AIX install. It has an incompatible calling convention. |
2108 : | 3173 : |
2109 elif test $ac_prog = install && | 3174 elif test $ac_prog = install && |
2110 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | 3175 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
2111 # program-specific install script used by HP pwplus--don't use. | 3176 # program-specific install script used by HP pwplus--don't use. |
2112 : | 3177 : |
2113 else | 3178 else |
2114 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" | 3179 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
2115 break 3 | 3180 break 3 |
2116 fi | 3181 fi |
2117 fi | 3182 fi |
2118 done | 3183 done |
2119 done | 3184 done |
2120 ;; | 3185 ;; |
2121 esac | 3186 esac |
2122 done | 3187 done |
3188 IFS=$as_save_IFS | |
2123 | 3189 |
2124 | 3190 |
2125 fi | 3191 fi |
2126 if test "${ac_cv_path_install+set}" = set; then | 3192 if test "${ac_cv_path_install+set}" = set; then |
2127 INSTALL=$ac_cv_path_install | 3193 INSTALL=$ac_cv_path_install |
2128 else | 3194 else |
2129 # As a last resort, use the slow shell script. We don't cache a | 3195 # As a last resort, use the slow shell script. Don't cache a |
2130 # path for INSTALL within a source directory, because that will | 3196 # value for INSTALL within a source directory, because that will |
2131 # break other packages using the cache if that directory is | 3197 # break other packages using the cache if that directory is |
2132 # removed, or if the path is relative. | 3198 # removed, or if the value is a relative name. |
2133 INSTALL=$ac_install_sh | 3199 INSTALL=$ac_install_sh |
2134 fi | 3200 fi |
2135 fi | 3201 fi |
2136 echo "$as_me:$LINENO: result: $INSTALL" >&5 | 3202 { echo "$as_me:$LINENO: result: $INSTALL" >&5 |
2137 echo "${ECHO_T}$INSTALL" >&6 | 3203 echo "${ECHO_T}$INSTALL" >&6; } |
2138 | 3204 |
2139 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. | 3205 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
2140 # It thinks the first close brace ends the variable substitution. | 3206 # It thinks the first close brace ends the variable substitution. |
2141 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' | 3207 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
2142 | 3208 |
2151 ac_ext=c | 3217 ac_ext=c |
2152 ac_cpp='$CPP $CPPFLAGS' | 3218 ac_cpp='$CPP $CPPFLAGS' |
2153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 3219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
2154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 3220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
2155 ac_compiler_gnu=$ac_cv_c_compiler_gnu | 3221 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
2156 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 | 3222 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 |
2157 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 | 3223 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; } |
2158 # On Suns, sometimes $CPP names a directory. | 3224 # On Suns, sometimes $CPP names a directory. |
2159 if test -n "$CPP" && test -d "$CPP"; then | 3225 if test -n "$CPP" && test -d "$CPP"; then |
2160 CPP= | 3226 CPP= |
2161 fi | 3227 fi |
2162 if test -z "$CPP"; then | 3228 if test -z "$CPP"; then |
2169 ac_preproc_ok=false | 3235 ac_preproc_ok=false |
2170 for ac_c_preproc_warn_flag in '' yes | 3236 for ac_c_preproc_warn_flag in '' yes |
2171 do | 3237 do |
2172 # Use a header file that comes with gcc, so configuring glibc | 3238 # Use a header file that comes with gcc, so configuring glibc |
2173 # with a fresh cross-compiler works. | 3239 # with a fresh cross-compiler works. |
3240 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
3241 # <limits.h> exists even on freestanding compilers. | |
2174 # On the NeXT, cc -E runs the code through the compiler's parser, | 3242 # On the NeXT, cc -E runs the code through the compiler's parser, |
2175 # not just through cpp. "Syntax error" is here to catch this case. | 3243 # not just through cpp. "Syntax error" is here to catch this case. |
2176 cat >conftest.$ac_ext <<_ACEOF | 3244 cat >conftest.$ac_ext <<_ACEOF |
2177 #line $LINENO "configure" | 3245 /* confdefs.h. */ |
2178 #include "confdefs.h" | 3246 _ACEOF |
2179 #include <assert.h> | 3247 cat confdefs.h >>conftest.$ac_ext |
2180 Syntax error | 3248 cat >>conftest.$ac_ext <<_ACEOF |
2181 _ACEOF | 3249 /* end confdefs.h. */ |
2182 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 3250 #ifdef __STDC__ |
2183 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 3251 # include <limits.h> |
3252 #else | |
3253 # include <assert.h> | |
3254 #endif | |
3255 Syntax error | |
3256 _ACEOF | |
3257 if { (ac_try="$ac_cpp conftest.$ac_ext" | |
3258 case "(($ac_try" in | |
3259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3260 *) ac_try_echo=$ac_try;; | |
3261 esac | |
3262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
3263 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
2184 ac_status=$? | 3264 ac_status=$? |
2185 egrep -v '^ *\+' conftest.er1 >conftest.err | 3265 grep -v '^ *+' conftest.er1 >conftest.err |
2186 rm -f conftest.er1 | 3266 rm -f conftest.er1 |
2187 cat conftest.err >&5 | 3267 cat conftest.err >&5 |
2188 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3268 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2189 (exit $ac_status); } >/dev/null; then | 3269 (exit $ac_status); } >/dev/null && { |
2190 if test -s conftest.err; then | 3270 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
2191 ac_cpp_err=$ac_c_preproc_warn_flag | 3271 test ! -s conftest.err |
2192 else | 3272 }; then |
2193 ac_cpp_err= | |
2194 fi | |
2195 else | |
2196 ac_cpp_err=yes | |
2197 fi | |
2198 if test -z "$ac_cpp_err"; then | |
2199 : | 3273 : |
2200 else | 3274 else |
2201 echo "$as_me: failed program was:" >&5 | 3275 echo "$as_me: failed program was:" >&5 |
2202 cat conftest.$ac_ext >&5 | 3276 sed 's/^/| /' conftest.$ac_ext >&5 |
3277 | |
2203 # Broken: fails on valid input. | 3278 # Broken: fails on valid input. |
2204 continue | 3279 continue |
2205 fi | 3280 fi |
3281 | |
2206 rm -f conftest.err conftest.$ac_ext | 3282 rm -f conftest.err conftest.$ac_ext |
2207 | 3283 |
2208 # OK, works on sane cases. Now check whether non-existent headers | 3284 # OK, works on sane cases. Now check whether nonexistent headers |
2209 # can be detected and how. | 3285 # can be detected and how. |
2210 cat >conftest.$ac_ext <<_ACEOF | 3286 cat >conftest.$ac_ext <<_ACEOF |
2211 #line $LINENO "configure" | 3287 /* confdefs.h. */ |
2212 #include "confdefs.h" | 3288 _ACEOF |
3289 cat confdefs.h >>conftest.$ac_ext | |
3290 cat >>conftest.$ac_ext <<_ACEOF | |
3291 /* end confdefs.h. */ | |
2213 #include <ac_nonexistent.h> | 3292 #include <ac_nonexistent.h> |
2214 _ACEOF | 3293 _ACEOF |
2215 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 3294 if { (ac_try="$ac_cpp conftest.$ac_ext" |
2216 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 3295 case "(($ac_try" in |
3296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3297 *) ac_try_echo=$ac_try;; | |
3298 esac | |
3299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
3300 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
2217 ac_status=$? | 3301 ac_status=$? |
2218 egrep -v '^ *\+' conftest.er1 >conftest.err | 3302 grep -v '^ *+' conftest.er1 >conftest.err |
2219 rm -f conftest.er1 | 3303 rm -f conftest.er1 |
2220 cat conftest.err >&5 | 3304 cat conftest.err >&5 |
2221 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3305 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2222 (exit $ac_status); } >/dev/null; then | 3306 (exit $ac_status); } >/dev/null && { |
2223 if test -s conftest.err; then | 3307 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
2224 ac_cpp_err=$ac_c_preproc_warn_flag | 3308 test ! -s conftest.err |
2225 else | 3309 }; then |
2226 ac_cpp_err= | |
2227 fi | |
2228 else | |
2229 ac_cpp_err=yes | |
2230 fi | |
2231 if test -z "$ac_cpp_err"; then | |
2232 # Broken: success on invalid input. | 3310 # Broken: success on invalid input. |
2233 continue | 3311 continue |
2234 else | 3312 else |
2235 echo "$as_me: failed program was:" >&5 | 3313 echo "$as_me: failed program was:" >&5 |
2236 cat conftest.$ac_ext >&5 | 3314 sed 's/^/| /' conftest.$ac_ext >&5 |
3315 | |
2237 # Passes both tests. | 3316 # Passes both tests. |
2238 ac_preproc_ok=: | 3317 ac_preproc_ok=: |
2239 break | 3318 break |
2240 fi | 3319 fi |
3320 | |
2241 rm -f conftest.err conftest.$ac_ext | 3321 rm -f conftest.err conftest.$ac_ext |
2242 | 3322 |
2243 done | 3323 done |
2244 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 3324 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
2245 rm -f conftest.err conftest.$ac_ext | 3325 rm -f conftest.err conftest.$ac_ext |
2253 fi | 3333 fi |
2254 CPP=$ac_cv_prog_CPP | 3334 CPP=$ac_cv_prog_CPP |
2255 else | 3335 else |
2256 ac_cv_prog_CPP=$CPP | 3336 ac_cv_prog_CPP=$CPP |
2257 fi | 3337 fi |
2258 echo "$as_me:$LINENO: result: $CPP" >&5 | 3338 { echo "$as_me:$LINENO: result: $CPP" >&5 |
2259 echo "${ECHO_T}$CPP" >&6 | 3339 echo "${ECHO_T}$CPP" >&6; } |
2260 ac_preproc_ok=false | 3340 ac_preproc_ok=false |
2261 for ac_c_preproc_warn_flag in '' yes | 3341 for ac_c_preproc_warn_flag in '' yes |
2262 do | 3342 do |
2263 # Use a header file that comes with gcc, so configuring glibc | 3343 # Use a header file that comes with gcc, so configuring glibc |
2264 # with a fresh cross-compiler works. | 3344 # with a fresh cross-compiler works. |
3345 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
3346 # <limits.h> exists even on freestanding compilers. | |
2265 # On the NeXT, cc -E runs the code through the compiler's parser, | 3347 # On the NeXT, cc -E runs the code through the compiler's parser, |
2266 # not just through cpp. "Syntax error" is here to catch this case. | 3348 # not just through cpp. "Syntax error" is here to catch this case. |
2267 cat >conftest.$ac_ext <<_ACEOF | 3349 cat >conftest.$ac_ext <<_ACEOF |
2268 #line $LINENO "configure" | 3350 /* confdefs.h. */ |
2269 #include "confdefs.h" | 3351 _ACEOF |
2270 #include <assert.h> | 3352 cat confdefs.h >>conftest.$ac_ext |
2271 Syntax error | 3353 cat >>conftest.$ac_ext <<_ACEOF |
2272 _ACEOF | 3354 /* end confdefs.h. */ |
2273 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 3355 #ifdef __STDC__ |
2274 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 3356 # include <limits.h> |
3357 #else | |
3358 # include <assert.h> | |
3359 #endif | |
3360 Syntax error | |
3361 _ACEOF | |
3362 if { (ac_try="$ac_cpp conftest.$ac_ext" | |
3363 case "(($ac_try" in | |
3364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3365 *) ac_try_echo=$ac_try;; | |
3366 esac | |
3367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
3368 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
2275 ac_status=$? | 3369 ac_status=$? |
2276 egrep -v '^ *\+' conftest.er1 >conftest.err | 3370 grep -v '^ *+' conftest.er1 >conftest.err |
2277 rm -f conftest.er1 | 3371 rm -f conftest.er1 |
2278 cat conftest.err >&5 | 3372 cat conftest.err >&5 |
2279 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3373 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2280 (exit $ac_status); } >/dev/null; then | 3374 (exit $ac_status); } >/dev/null && { |
2281 if test -s conftest.err; then | 3375 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
2282 ac_cpp_err=$ac_c_preproc_warn_flag | 3376 test ! -s conftest.err |
2283 else | 3377 }; then |
2284 ac_cpp_err= | |
2285 fi | |
2286 else | |
2287 ac_cpp_err=yes | |
2288 fi | |
2289 if test -z "$ac_cpp_err"; then | |
2290 : | 3378 : |
2291 else | 3379 else |
2292 echo "$as_me: failed program was:" >&5 | 3380 echo "$as_me: failed program was:" >&5 |
2293 cat conftest.$ac_ext >&5 | 3381 sed 's/^/| /' conftest.$ac_ext >&5 |
3382 | |
2294 # Broken: fails on valid input. | 3383 # Broken: fails on valid input. |
2295 continue | 3384 continue |
2296 fi | 3385 fi |
3386 | |
2297 rm -f conftest.err conftest.$ac_ext | 3387 rm -f conftest.err conftest.$ac_ext |
2298 | 3388 |
2299 # OK, works on sane cases. Now check whether non-existent headers | 3389 # OK, works on sane cases. Now check whether nonexistent headers |
2300 # can be detected and how. | 3390 # can be detected and how. |
2301 cat >conftest.$ac_ext <<_ACEOF | 3391 cat >conftest.$ac_ext <<_ACEOF |
2302 #line $LINENO "configure" | 3392 /* confdefs.h. */ |
2303 #include "confdefs.h" | 3393 _ACEOF |
3394 cat confdefs.h >>conftest.$ac_ext | |
3395 cat >>conftest.$ac_ext <<_ACEOF | |
3396 /* end confdefs.h. */ | |
2304 #include <ac_nonexistent.h> | 3397 #include <ac_nonexistent.h> |
2305 _ACEOF | 3398 _ACEOF |
2306 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 3399 if { (ac_try="$ac_cpp conftest.$ac_ext" |
2307 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 3400 case "(($ac_try" in |
3401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3402 *) ac_try_echo=$ac_try;; | |
3403 esac | |
3404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
3405 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
2308 ac_status=$? | 3406 ac_status=$? |
2309 egrep -v '^ *\+' conftest.er1 >conftest.err | 3407 grep -v '^ *+' conftest.er1 >conftest.err |
2310 rm -f conftest.er1 | 3408 rm -f conftest.er1 |
2311 cat conftest.err >&5 | 3409 cat conftest.err >&5 |
2312 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3410 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2313 (exit $ac_status); } >/dev/null; then | 3411 (exit $ac_status); } >/dev/null && { |
2314 if test -s conftest.err; then | 3412 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
2315 ac_cpp_err=$ac_c_preproc_warn_flag | 3413 test ! -s conftest.err |
2316 else | 3414 }; then |
2317 ac_cpp_err= | |
2318 fi | |
2319 else | |
2320 ac_cpp_err=yes | |
2321 fi | |
2322 if test -z "$ac_cpp_err"; then | |
2323 # Broken: success on invalid input. | 3415 # Broken: success on invalid input. |
2324 continue | 3416 continue |
2325 else | 3417 else |
2326 echo "$as_me: failed program was:" >&5 | 3418 echo "$as_me: failed program was:" >&5 |
2327 cat conftest.$ac_ext >&5 | 3419 sed 's/^/| /' conftest.$ac_ext >&5 |
3420 | |
2328 # Passes both tests. | 3421 # Passes both tests. |
2329 ac_preproc_ok=: | 3422 ac_preproc_ok=: |
2330 break | 3423 break |
2331 fi | 3424 fi |
3425 | |
2332 rm -f conftest.err conftest.$ac_ext | 3426 rm -f conftest.err conftest.$ac_ext |
2333 | 3427 |
2334 done | 3428 done |
2335 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 3429 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
2336 rm -f conftest.err conftest.$ac_ext | 3430 rm -f conftest.err conftest.$ac_ext |
2337 if $ac_preproc_ok; then | 3431 if $ac_preproc_ok; then |
2338 : | 3432 : |
2339 else | 3433 else |
2340 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5 | 3434 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check |
2341 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;} | 3435 See \`config.log' for more details." >&5 |
3436 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check | |
3437 See \`config.log' for more details." >&2;} | |
2342 { (exit 1); exit 1; }; } | 3438 { (exit 1); exit 1; }; } |
2343 fi | 3439 fi |
2344 | 3440 |
2345 ac_ext=c | 3441 ac_ext=c |
2346 ac_cpp='$CPP $CPPFLAGS' | 3442 ac_cpp='$CPP $CPPFLAGS' |
2347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 3443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
2348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 3444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
2349 ac_compiler_gnu=$ac_cv_c_compiler_gnu | 3445 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
2350 | 3446 |
2351 | 3447 |
2352 echo "$as_me:$LINENO: checking for ANSI C header files" >&5 | 3448 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 |
2353 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 | 3449 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } |
3450 if test "${ac_cv_path_GREP+set}" = set; then | |
3451 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
3452 else | |
3453 # Extract the first word of "grep ggrep" to use in msg output | |
3454 if test -z "$GREP"; then | |
3455 set dummy grep ggrep; ac_prog_name=$2 | |
3456 if test "${ac_cv_path_GREP+set}" = set; then | |
3457 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
3458 else | |
3459 ac_path_GREP_found=false | |
3460 # Loop through the user's path and test for each of PROGNAME-LIST | |
3461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
3462 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | |
3463 do | |
3464 IFS=$as_save_IFS | |
3465 test -z "$as_dir" && as_dir=. | |
3466 for ac_prog in grep ggrep; do | |
3467 for ac_exec_ext in '' $ac_executable_extensions; do | |
3468 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" | |
3469 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue | |
3470 # Check for GNU ac_path_GREP and select it if it is found. | |
3471 # Check for GNU $ac_path_GREP | |
3472 case `"$ac_path_GREP" --version 2>&1` in | |
3473 *GNU*) | |
3474 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; | |
3475 *) | |
3476 ac_count=0 | |
3477 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" | |
3478 while : | |
3479 do | |
3480 cat "conftest.in" "conftest.in" >"conftest.tmp" | |
3481 mv "conftest.tmp" "conftest.in" | |
3482 cp "conftest.in" "conftest.nl" | |
3483 echo 'GREP' >> "conftest.nl" | |
3484 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break | |
3485 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break | |
3486 ac_count=`expr $ac_count + 1` | |
3487 if test $ac_count -gt ${ac_path_GREP_max-0}; then | |
3488 # Best one so far, save it but keep looking for a better one | |
3489 ac_cv_path_GREP="$ac_path_GREP" | |
3490 ac_path_GREP_max=$ac_count | |
3491 fi | |
3492 # 10*(2^10) chars as input seems more than enough | |
3493 test $ac_count -gt 10 && break | |
3494 done | |
3495 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; | |
3496 esac | |
3497 | |
3498 | |
3499 $ac_path_GREP_found && break 3 | |
3500 done | |
3501 done | |
3502 | |
3503 done | |
3504 IFS=$as_save_IFS | |
3505 | |
3506 | |
3507 fi | |
3508 | |
3509 GREP="$ac_cv_path_GREP" | |
3510 if test -z "$GREP"; then | |
3511 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 | |
3512 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} | |
3513 { (exit 1); exit 1; }; } | |
3514 fi | |
3515 | |
3516 else | |
3517 ac_cv_path_GREP=$GREP | |
3518 fi | |
3519 | |
3520 | |
3521 fi | |
3522 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 | |
3523 echo "${ECHO_T}$ac_cv_path_GREP" >&6; } | |
3524 GREP="$ac_cv_path_GREP" | |
3525 | |
3526 | |
3527 { echo "$as_me:$LINENO: checking for egrep" >&5 | |
3528 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; } | |
3529 if test "${ac_cv_path_EGREP+set}" = set; then | |
3530 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
3531 else | |
3532 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 | |
3533 then ac_cv_path_EGREP="$GREP -E" | |
3534 else | |
3535 # Extract the first word of "egrep" to use in msg output | |
3536 if test -z "$EGREP"; then | |
3537 set dummy egrep; ac_prog_name=$2 | |
3538 if test "${ac_cv_path_EGREP+set}" = set; then | |
3539 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
3540 else | |
3541 ac_path_EGREP_found=false | |
3542 # Loop through the user's path and test for each of PROGNAME-LIST | |
3543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
3544 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | |
3545 do | |
3546 IFS=$as_save_IFS | |
3547 test -z "$as_dir" && as_dir=. | |
3548 for ac_prog in egrep; do | |
3549 for ac_exec_ext in '' $ac_executable_extensions; do | |
3550 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" | |
3551 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue | |
3552 # Check for GNU ac_path_EGREP and select it if it is found. | |
3553 # Check for GNU $ac_path_EGREP | |
3554 case `"$ac_path_EGREP" --version 2>&1` in | |
3555 *GNU*) | |
3556 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; | |
3557 *) | |
3558 ac_count=0 | |
3559 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" | |
3560 while : | |
3561 do | |
3562 cat "conftest.in" "conftest.in" >"conftest.tmp" | |
3563 mv "conftest.tmp" "conftest.in" | |
3564 cp "conftest.in" "conftest.nl" | |
3565 echo 'EGREP' >> "conftest.nl" | |
3566 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break | |
3567 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break | |
3568 ac_count=`expr $ac_count + 1` | |
3569 if test $ac_count -gt ${ac_path_EGREP_max-0}; then | |
3570 # Best one so far, save it but keep looking for a better one | |
3571 ac_cv_path_EGREP="$ac_path_EGREP" | |
3572 ac_path_EGREP_max=$ac_count | |
3573 fi | |
3574 # 10*(2^10) chars as input seems more than enough | |
3575 test $ac_count -gt 10 && break | |
3576 done | |
3577 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; | |
3578 esac | |
3579 | |
3580 | |
3581 $ac_path_EGREP_found && break 3 | |
3582 done | |
3583 done | |
3584 | |
3585 done | |
3586 IFS=$as_save_IFS | |
3587 | |
3588 | |
3589 fi | |
3590 | |
3591 EGREP="$ac_cv_path_EGREP" | |
3592 if test -z "$EGREP"; then | |
3593 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 | |
3594 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} | |
3595 { (exit 1); exit 1; }; } | |
3596 fi | |
3597 | |
3598 else | |
3599 ac_cv_path_EGREP=$EGREP | |
3600 fi | |
3601 | |
3602 | |
3603 fi | |
3604 fi | |
3605 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 | |
3606 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; } | |
3607 EGREP="$ac_cv_path_EGREP" | |
3608 | |
3609 | |
3610 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 | |
3611 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } | |
2354 if test "${ac_cv_header_stdc+set}" = set; then | 3612 if test "${ac_cv_header_stdc+set}" = set; then |
2355 echo $ECHO_N "(cached) $ECHO_C" >&6 | 3613 echo $ECHO_N "(cached) $ECHO_C" >&6 |
2356 else | 3614 else |
2357 cat >conftest.$ac_ext <<_ACEOF | 3615 cat >conftest.$ac_ext <<_ACEOF |
2358 #line $LINENO "configure" | 3616 /* confdefs.h. */ |
2359 #include "confdefs.h" | 3617 _ACEOF |
3618 cat confdefs.h >>conftest.$ac_ext | |
3619 cat >>conftest.$ac_ext <<_ACEOF | |
3620 /* end confdefs.h. */ | |
2360 #include <stdlib.h> | 3621 #include <stdlib.h> |
2361 #include <stdarg.h> | 3622 #include <stdarg.h> |
2362 #include <string.h> | 3623 #include <string.h> |
2363 #include <float.h> | 3624 #include <float.h> |
2364 | 3625 |
2365 _ACEOF | 3626 int |
2366 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 3627 main () |
2367 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 3628 { |
3629 | |
3630 ; | |
3631 return 0; | |
3632 } | |
3633 _ACEOF | |
3634 rm -f conftest.$ac_objext | |
3635 if { (ac_try="$ac_compile" | |
3636 case "(($ac_try" in | |
3637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3638 *) ac_try_echo=$ac_try;; | |
3639 esac | |
3640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
3641 (eval "$ac_compile") 2>conftest.er1 | |
2368 ac_status=$? | 3642 ac_status=$? |
2369 egrep -v '^ *\+' conftest.er1 >conftest.err | 3643 grep -v '^ *+' conftest.er1 >conftest.err |
2370 rm -f conftest.er1 | 3644 rm -f conftest.er1 |
2371 cat conftest.err >&5 | 3645 cat conftest.err >&5 |
2372 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3646 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2373 (exit $ac_status); } >/dev/null; then | 3647 (exit $ac_status); } && { |
2374 if test -s conftest.err; then | 3648 test -z "$ac_c_werror_flag" || |
2375 ac_cpp_err=$ac_c_preproc_warn_flag | 3649 test ! -s conftest.err |
2376 else | 3650 } && test -s conftest.$ac_objext; then |
2377 ac_cpp_err= | |
2378 fi | |
2379 else | |
2380 ac_cpp_err=yes | |
2381 fi | |
2382 if test -z "$ac_cpp_err"; then | |
2383 ac_cv_header_stdc=yes | 3651 ac_cv_header_stdc=yes |
2384 else | 3652 else |
2385 echo "$as_me: failed program was:" >&5 | 3653 echo "$as_me: failed program was:" >&5 |
2386 cat conftest.$ac_ext >&5 | 3654 sed 's/^/| /' conftest.$ac_ext >&5 |
2387 ac_cv_header_stdc=no | 3655 |
2388 fi | 3656 ac_cv_header_stdc=no |
2389 rm -f conftest.err conftest.$ac_ext | 3657 fi |
3658 | |
3659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
2390 | 3660 |
2391 if test $ac_cv_header_stdc = yes; then | 3661 if test $ac_cv_header_stdc = yes; then |
2392 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 3662 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
2393 cat >conftest.$ac_ext <<_ACEOF | 3663 cat >conftest.$ac_ext <<_ACEOF |
2394 #line $LINENO "configure" | 3664 /* confdefs.h. */ |
2395 #include "confdefs.h" | 3665 _ACEOF |
3666 cat confdefs.h >>conftest.$ac_ext | |
3667 cat >>conftest.$ac_ext <<_ACEOF | |
3668 /* end confdefs.h. */ | |
2396 #include <string.h> | 3669 #include <string.h> |
2397 | 3670 |
2398 _ACEOF | 3671 _ACEOF |
2399 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3672 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
2400 egrep "memchr" >/dev/null 2>&1; then | 3673 $EGREP "memchr" >/dev/null 2>&1; then |
2401 : | 3674 : |
2402 else | 3675 else |
2403 ac_cv_header_stdc=no | 3676 ac_cv_header_stdc=no |
2404 fi | 3677 fi |
2405 rm -f conftest* | 3678 rm -f conftest* |
2407 fi | 3680 fi |
2408 | 3681 |
2409 if test $ac_cv_header_stdc = yes; then | 3682 if test $ac_cv_header_stdc = yes; then |
2410 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 3683 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
2411 cat >conftest.$ac_ext <<_ACEOF | 3684 cat >conftest.$ac_ext <<_ACEOF |
2412 #line $LINENO "configure" | 3685 /* confdefs.h. */ |
2413 #include "confdefs.h" | 3686 _ACEOF |
3687 cat confdefs.h >>conftest.$ac_ext | |
3688 cat >>conftest.$ac_ext <<_ACEOF | |
3689 /* end confdefs.h. */ | |
2414 #include <stdlib.h> | 3690 #include <stdlib.h> |
2415 | 3691 |
2416 _ACEOF | 3692 _ACEOF |
2417 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3693 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
2418 egrep "free" >/dev/null 2>&1; then | 3694 $EGREP "free" >/dev/null 2>&1; then |
2419 : | 3695 : |
2420 else | 3696 else |
2421 ac_cv_header_stdc=no | 3697 ac_cv_header_stdc=no |
2422 fi | 3698 fi |
2423 rm -f conftest* | 3699 rm -f conftest* |
2428 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 3704 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
2429 if test "$cross_compiling" = yes; then | 3705 if test "$cross_compiling" = yes; then |
2430 : | 3706 : |
2431 else | 3707 else |
2432 cat >conftest.$ac_ext <<_ACEOF | 3708 cat >conftest.$ac_ext <<_ACEOF |
2433 #line $LINENO "configure" | 3709 /* confdefs.h. */ |
2434 #include "confdefs.h" | 3710 _ACEOF |
3711 cat confdefs.h >>conftest.$ac_ext | |
3712 cat >>conftest.$ac_ext <<_ACEOF | |
3713 /* end confdefs.h. */ | |
2435 #include <ctype.h> | 3714 #include <ctype.h> |
3715 #include <stdlib.h> | |
2436 #if ((' ' & 0x0FF) == 0x020) | 3716 #if ((' ' & 0x0FF) == 0x020) |
2437 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 3717 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
2438 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 3718 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
2439 #else | 3719 #else |
2440 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \ | 3720 # define ISLOWER(c) \ |
2441 || ('j' <= (c) && (c) <= 'r') \ | 3721 (('a' <= (c) && (c) <= 'i') \ |
2442 || ('s' <= (c) && (c) <= 'z')) | 3722 || ('j' <= (c) && (c) <= 'r') \ |
3723 || ('s' <= (c) && (c) <= 'z')) | |
2443 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) | 3724 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
2444 #endif | 3725 #endif |
2445 | 3726 |
2446 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 3727 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
2447 int | 3728 int |
2448 main () | 3729 main () |
2449 { | 3730 { |
2450 int i; | 3731 int i; |
2451 for (i = 0; i < 256; i++) | 3732 for (i = 0; i < 256; i++) |
2452 if (XOR (islower (i), ISLOWER (i)) | 3733 if (XOR (islower (i), ISLOWER (i)) |
2453 || toupper (i) != TOUPPER (i)) | 3734 || toupper (i) != TOUPPER (i)) |
2454 exit(2); | 3735 return 2; |
2455 exit (0); | 3736 return 0; |
2456 } | 3737 } |
2457 _ACEOF | 3738 _ACEOF |
2458 rm -f conftest$ac_exeext | 3739 rm -f conftest$ac_exeext |
2459 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 3740 if { (ac_try="$ac_link" |
2460 (eval $ac_link) 2>&5 | 3741 case "(($ac_try" in |
3742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3743 *) ac_try_echo=$ac_try;; | |
3744 esac | |
3745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
3746 (eval "$ac_link") 2>&5 | |
2461 ac_status=$? | 3747 ac_status=$? |
2462 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3748 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2463 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 3749 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
2464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 3750 { (case "(($ac_try" in |
2465 (eval $ac_try) 2>&5 | 3751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3752 *) ac_try_echo=$ac_try;; | |
3753 esac | |
3754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
3755 (eval "$ac_try") 2>&5 | |
2466 ac_status=$? | 3756 ac_status=$? |
2467 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3757 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2468 (exit $ac_status); }; }; then | 3758 (exit $ac_status); }; }; then |
2469 : | 3759 : |
2470 else | 3760 else |
2471 echo "$as_me: program exited with status $ac_status" >&5 | 3761 echo "$as_me: program exited with status $ac_status" >&5 |
2472 echo "$as_me: failed program was:" >&5 | 3762 echo "$as_me: failed program was:" >&5 |
2473 cat conftest.$ac_ext >&5 | 3763 sed 's/^/| /' conftest.$ac_ext >&5 |
3764 | |
2474 ( exit $ac_status ) | 3765 ( exit $ac_status ) |
2475 ac_cv_header_stdc=no | 3766 ac_cv_header_stdc=no |
2476 fi | 3767 fi |
2477 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 3768 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
2478 fi | 3769 fi |
2479 fi | 3770 |
2480 fi | 3771 |
2481 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 | 3772 fi |
2482 echo "${ECHO_T}$ac_cv_header_stdc" >&6 | 3773 fi |
3774 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 | |
3775 echo "${ECHO_T}$ac_cv_header_stdc" >&6; } | |
2483 if test $ac_cv_header_stdc = yes; then | 3776 if test $ac_cv_header_stdc = yes; then |
2484 | 3777 |
2485 cat >>confdefs.h <<\_ACEOF | 3778 cat >>confdefs.h <<\_ACEOF |
2486 #define STDC_HEADERS 1 | 3779 #define STDC_HEADERS 1 |
2487 _ACEOF | 3780 _ACEOF |
2494 | 3787 |
2495 | 3788 |
2496 ac_header_dirent=no | 3789 ac_header_dirent=no |
2497 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do | 3790 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do |
2498 as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` | 3791 as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` |
2499 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5 | 3792 { echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5 |
2500 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6 | 3793 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; } |
2501 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 3794 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
2502 echo $ECHO_N "(cached) $ECHO_C" >&6 | 3795 echo $ECHO_N "(cached) $ECHO_C" >&6 |
2503 else | 3796 else |
2504 cat >conftest.$ac_ext <<_ACEOF | 3797 cat >conftest.$ac_ext <<_ACEOF |
2505 #line $LINENO "configure" | 3798 /* confdefs.h. */ |
2506 #include "confdefs.h" | 3799 _ACEOF |
3800 cat confdefs.h >>conftest.$ac_ext | |
3801 cat >>conftest.$ac_ext <<_ACEOF | |
3802 /* end confdefs.h. */ | |
2507 #include <sys/types.h> | 3803 #include <sys/types.h> |
2508 #include <$ac_hdr> | 3804 #include <$ac_hdr> |
2509 | 3805 |
2510 #ifdef F77_DUMMY_MAIN | |
2511 # ifdef __cplusplus | |
2512 extern "C" | |
2513 # endif | |
2514 int F77_DUMMY_MAIN() { return 1; } | |
2515 #endif | |
2516 int | 3806 int |
2517 main () | 3807 main () |
2518 { | 3808 { |
2519 if ((DIR *) 0) | 3809 if ((DIR *) 0) |
2520 return 0; | 3810 return 0; |
2521 ; | 3811 ; |
2522 return 0; | 3812 return 0; |
2523 } | 3813 } |
2524 _ACEOF | 3814 _ACEOF |
2525 rm -f conftest.$ac_objext | 3815 rm -f conftest.$ac_objext |
2526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 3816 if { (ac_try="$ac_compile" |
2527 (eval $ac_compile) 2>&5 | 3817 case "(($ac_try" in |
3818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3819 *) ac_try_echo=$ac_try;; | |
3820 esac | |
3821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
3822 (eval "$ac_compile") 2>conftest.er1 | |
2528 ac_status=$? | 3823 ac_status=$? |
3824 grep -v '^ *+' conftest.er1 >conftest.err | |
3825 rm -f conftest.er1 | |
3826 cat conftest.err >&5 | |
2529 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3827 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2530 (exit $ac_status); } && | 3828 (exit $ac_status); } && { |
2531 { ac_try='test -s conftest.$ac_objext' | 3829 test -z "$ac_c_werror_flag" || |
2532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 3830 test ! -s conftest.err |
2533 (eval $ac_try) 2>&5 | 3831 } && test -s conftest.$ac_objext; then |
2534 ac_status=$? | |
2535 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2536 (exit $ac_status); }; }; then | |
2537 eval "$as_ac_Header=yes" | 3832 eval "$as_ac_Header=yes" |
2538 else | 3833 else |
2539 echo "$as_me: failed program was:" >&5 | 3834 echo "$as_me: failed program was:" >&5 |
2540 cat conftest.$ac_ext >&5 | 3835 sed 's/^/| /' conftest.$ac_ext >&5 |
2541 eval "$as_ac_Header=no" | 3836 |
2542 fi | 3837 eval "$as_ac_Header=no" |
2543 rm -f conftest.$ac_objext conftest.$ac_ext | 3838 fi |
2544 fi | 3839 |
2545 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 3840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2546 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 3841 fi |
3842 ac_res=`eval echo '${'$as_ac_Header'}'` | |
3843 { echo "$as_me:$LINENO: result: $ac_res" >&5 | |
3844 echo "${ECHO_T}$ac_res" >&6; } | |
2547 if test `eval echo '${'$as_ac_Header'}'` = yes; then | 3845 if test `eval echo '${'$as_ac_Header'}'` = yes; then |
2548 cat >>confdefs.h <<_ACEOF | 3846 cat >>confdefs.h <<_ACEOF |
2549 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1 | 3847 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1 |
2550 _ACEOF | 3848 _ACEOF |
2551 | 3849 |
2553 fi | 3851 fi |
2554 | 3852 |
2555 done | 3853 done |
2556 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. | 3854 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. |
2557 if test $ac_header_dirent = dirent.h; then | 3855 if test $ac_header_dirent = dirent.h; then |
2558 echo "$as_me:$LINENO: checking for library containing opendir" >&5 | 3856 { echo "$as_me:$LINENO: checking for library containing opendir" >&5 |
2559 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6 | 3857 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; } |
2560 if test "${ac_cv_search_opendir+set}" = set; then | 3858 if test "${ac_cv_search_opendir+set}" = set; then |
2561 echo $ECHO_N "(cached) $ECHO_C" >&6 | 3859 echo $ECHO_N "(cached) $ECHO_C" >&6 |
2562 else | 3860 else |
2563 ac_func_search_save_LIBS=$LIBS | 3861 ac_func_search_save_LIBS=$LIBS |
2564 ac_cv_search_opendir=no | |
2565 cat >conftest.$ac_ext <<_ACEOF | 3862 cat >conftest.$ac_ext <<_ACEOF |
2566 #line $LINENO "configure" | 3863 /* confdefs.h. */ |
2567 #include "confdefs.h" | 3864 _ACEOF |
2568 | 3865 cat confdefs.h >>conftest.$ac_ext |
2569 /* Override any gcc2 internal prototype to avoid an error. */ | 3866 cat >>conftest.$ac_ext <<_ACEOF |
3867 /* end confdefs.h. */ | |
3868 | |
3869 /* Override any GCC internal prototype to avoid an error. | |
3870 Use char because int might match the return type of a GCC | |
3871 builtin and then its argument prototype would still apply. */ | |
2570 #ifdef __cplusplus | 3872 #ifdef __cplusplus |
2571 extern "C" | 3873 extern "C" |
2572 #endif | 3874 #endif |
2573 /* We use char because int might match the return type of a gcc2 | |
2574 builtin and then its argument prototype would still apply. */ | |
2575 char opendir (); | 3875 char opendir (); |
2576 #ifdef F77_DUMMY_MAIN | |
2577 # ifdef __cplusplus | |
2578 extern "C" | |
2579 # endif | |
2580 int F77_DUMMY_MAIN() { return 1; } | |
2581 #endif | |
2582 int | 3876 int |
2583 main () | 3877 main () |
2584 { | 3878 { |
2585 opendir (); | 3879 return opendir (); |
2586 ; | 3880 ; |
2587 return 0; | 3881 return 0; |
2588 } | 3882 } |
2589 _ACEOF | 3883 _ACEOF |
2590 rm -f conftest.$ac_objext conftest$ac_exeext | 3884 for ac_lib in '' dir; do |
2591 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 3885 if test -z "$ac_lib"; then |
2592 (eval $ac_link) 2>&5 | 3886 ac_res="none required" |
3887 else | |
3888 ac_res=-l$ac_lib | |
3889 LIBS="-l$ac_lib $ac_func_search_save_LIBS" | |
3890 fi | |
3891 rm -f conftest.$ac_objext conftest$ac_exeext | |
3892 if { (ac_try="$ac_link" | |
3893 case "(($ac_try" in | |
3894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3895 *) ac_try_echo=$ac_try;; | |
3896 esac | |
3897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
3898 (eval "$ac_link") 2>conftest.er1 | |
2593 ac_status=$? | 3899 ac_status=$? |
3900 grep -v '^ *+' conftest.er1 >conftest.err | |
3901 rm -f conftest.er1 | |
3902 cat conftest.err >&5 | |
2594 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3903 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2595 (exit $ac_status); } && | 3904 (exit $ac_status); } && { |
2596 { ac_try='test -s conftest$ac_exeext' | 3905 test -z "$ac_c_werror_flag" || |
2597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 3906 test ! -s conftest.err |
2598 (eval $ac_try) 2>&5 | 3907 } && test -s conftest$ac_exeext && |
2599 ac_status=$? | 3908 $as_test_x conftest$ac_exeext; then |
2600 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3909 ac_cv_search_opendir=$ac_res |
2601 (exit $ac_status); }; }; then | |
2602 ac_cv_search_opendir="none required" | |
2603 else | 3910 else |
2604 echo "$as_me: failed program was:" >&5 | 3911 echo "$as_me: failed program was:" >&5 |
2605 cat conftest.$ac_ext >&5 | 3912 sed 's/^/| /' conftest.$ac_ext >&5 |
2606 fi | 3913 |
2607 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 3914 |
2608 if test "$ac_cv_search_opendir" = no; then | 3915 fi |
2609 for ac_lib in dir; do | 3916 |
2610 LIBS="-l$ac_lib $ac_func_search_save_LIBS" | 3917 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
2611 cat >conftest.$ac_ext <<_ACEOF | 3918 conftest$ac_exeext |
2612 #line $LINENO "configure" | 3919 if test "${ac_cv_search_opendir+set}" = set; then |
2613 #include "confdefs.h" | 3920 break |
2614 | 3921 fi |
2615 /* Override any gcc2 internal prototype to avoid an error. */ | 3922 done |
3923 if test "${ac_cv_search_opendir+set}" = set; then | |
3924 : | |
3925 else | |
3926 ac_cv_search_opendir=no | |
3927 fi | |
3928 rm conftest.$ac_ext | |
3929 LIBS=$ac_func_search_save_LIBS | |
3930 fi | |
3931 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 | |
3932 echo "${ECHO_T}$ac_cv_search_opendir" >&6; } | |
3933 ac_res=$ac_cv_search_opendir | |
3934 if test "$ac_res" != no; then | |
3935 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" | |
3936 | |
3937 fi | |
3938 | |
3939 else | |
3940 { echo "$as_me:$LINENO: checking for library containing opendir" >&5 | |
3941 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; } | |
3942 if test "${ac_cv_search_opendir+set}" = set; then | |
3943 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
3944 else | |
3945 ac_func_search_save_LIBS=$LIBS | |
3946 cat >conftest.$ac_ext <<_ACEOF | |
3947 /* confdefs.h. */ | |
3948 _ACEOF | |
3949 cat confdefs.h >>conftest.$ac_ext | |
3950 cat >>conftest.$ac_ext <<_ACEOF | |
3951 /* end confdefs.h. */ | |
3952 | |
3953 /* Override any GCC internal prototype to avoid an error. | |
3954 Use char because int might match the return type of a GCC | |
3955 builtin and then its argument prototype would still apply. */ | |
2616 #ifdef __cplusplus | 3956 #ifdef __cplusplus |
2617 extern "C" | 3957 extern "C" |
2618 #endif | 3958 #endif |
2619 /* We use char because int might match the return type of a gcc2 | |
2620 builtin and then its argument prototype would still apply. */ | |
2621 char opendir (); | 3959 char opendir (); |
2622 #ifdef F77_DUMMY_MAIN | |
2623 # ifdef __cplusplus | |
2624 extern "C" | |
2625 # endif | |
2626 int F77_DUMMY_MAIN() { return 1; } | |
2627 #endif | |
2628 int | 3960 int |
2629 main () | 3961 main () |
2630 { | 3962 { |
2631 opendir (); | 3963 return opendir (); |
2632 ; | 3964 ; |
2633 return 0; | 3965 return 0; |
2634 } | 3966 } |
2635 _ACEOF | 3967 _ACEOF |
2636 rm -f conftest.$ac_objext conftest$ac_exeext | 3968 for ac_lib in '' x; do |
2637 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 3969 if test -z "$ac_lib"; then |
2638 (eval $ac_link) 2>&5 | 3970 ac_res="none required" |
3971 else | |
3972 ac_res=-l$ac_lib | |
3973 LIBS="-l$ac_lib $ac_func_search_save_LIBS" | |
3974 fi | |
3975 rm -f conftest.$ac_objext conftest$ac_exeext | |
3976 if { (ac_try="$ac_link" | |
3977 case "(($ac_try" in | |
3978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3979 *) ac_try_echo=$ac_try;; | |
3980 esac | |
3981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
3982 (eval "$ac_link") 2>conftest.er1 | |
2639 ac_status=$? | 3983 ac_status=$? |
3984 grep -v '^ *+' conftest.er1 >conftest.err | |
3985 rm -f conftest.er1 | |
3986 cat conftest.err >&5 | |
2640 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3987 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2641 (exit $ac_status); } && | 3988 (exit $ac_status); } && { |
2642 { ac_try='test -s conftest$ac_exeext' | 3989 test -z "$ac_c_werror_flag" || |
2643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 3990 test ! -s conftest.err |
2644 (eval $ac_try) 2>&5 | 3991 } && test -s conftest$ac_exeext && |
3992 $as_test_x conftest$ac_exeext; then | |
3993 ac_cv_search_opendir=$ac_res | |
3994 else | |
3995 echo "$as_me: failed program was:" >&5 | |
3996 sed 's/^/| /' conftest.$ac_ext >&5 | |
3997 | |
3998 | |
3999 fi | |
4000 | |
4001 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
4002 conftest$ac_exeext | |
4003 if test "${ac_cv_search_opendir+set}" = set; then | |
4004 break | |
4005 fi | |
4006 done | |
4007 if test "${ac_cv_search_opendir+set}" = set; then | |
4008 : | |
4009 else | |
4010 ac_cv_search_opendir=no | |
4011 fi | |
4012 rm conftest.$ac_ext | |
4013 LIBS=$ac_func_search_save_LIBS | |
4014 fi | |
4015 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 | |
4016 echo "${ECHO_T}$ac_cv_search_opendir" >&6; } | |
4017 ac_res=$ac_cv_search_opendir | |
4018 if test "$ac_res" != no; then | |
4019 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" | |
4020 | |
4021 fi | |
4022 | |
4023 fi | |
4024 | |
4025 # On IRIX 5.3, sys/types and inttypes.h are conflicting. | |
4026 | |
4027 | |
4028 | |
4029 | |
4030 | |
4031 | |
4032 | |
4033 | |
4034 | |
4035 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ | |
4036 inttypes.h stdint.h unistd.h | |
4037 do | |
4038 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | |
4039 { echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
4040 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | |
4041 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
4042 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
4043 else | |
4044 cat >conftest.$ac_ext <<_ACEOF | |
4045 /* confdefs.h. */ | |
4046 _ACEOF | |
4047 cat confdefs.h >>conftest.$ac_ext | |
4048 cat >>conftest.$ac_ext <<_ACEOF | |
4049 /* end confdefs.h. */ | |
4050 $ac_includes_default | |
4051 | |
4052 #include <$ac_header> | |
4053 _ACEOF | |
4054 rm -f conftest.$ac_objext | |
4055 if { (ac_try="$ac_compile" | |
4056 case "(($ac_try" in | |
4057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4058 *) ac_try_echo=$ac_try;; | |
4059 esac | |
4060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
4061 (eval "$ac_compile") 2>conftest.er1 | |
2645 ac_status=$? | 4062 ac_status=$? |
4063 grep -v '^ *+' conftest.er1 >conftest.err | |
4064 rm -f conftest.er1 | |
4065 cat conftest.err >&5 | |
2646 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4066 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2647 (exit $ac_status); }; }; then | 4067 (exit $ac_status); } && { |
2648 ac_cv_search_opendir="-l$ac_lib" | 4068 test -z "$ac_c_werror_flag" || |
2649 break | 4069 test ! -s conftest.err |
4070 } && test -s conftest.$ac_objext; then | |
4071 eval "$as_ac_Header=yes" | |
2650 else | 4072 else |
2651 echo "$as_me: failed program was:" >&5 | 4073 echo "$as_me: failed program was:" >&5 |
2652 cat conftest.$ac_ext >&5 | 4074 sed 's/^/| /' conftest.$ac_ext >&5 |
2653 fi | 4075 |
2654 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 4076 eval "$as_ac_Header=no" |
2655 done | 4077 fi |
2656 fi | 4078 |
2657 LIBS=$ac_func_search_save_LIBS | 4079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2658 fi | 4080 fi |
2659 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 | 4081 ac_res=`eval echo '${'$as_ac_Header'}'` |
2660 echo "${ECHO_T}$ac_cv_search_opendir" >&6 | 4082 { echo "$as_me:$LINENO: result: $ac_res" >&5 |
2661 if test "$ac_cv_search_opendir" != no; then | 4083 echo "${ECHO_T}$ac_res" >&6; } |
2662 test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS" | 4084 if test `eval echo '${'$as_ac_Header'}'` = yes; then |
2663 | 4085 cat >>confdefs.h <<_ACEOF |
2664 fi | 4086 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
2665 | 4087 _ACEOF |
2666 else | 4088 |
2667 echo "$as_me:$LINENO: checking for library containing opendir" >&5 | 4089 fi |
2668 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6 | 4090 |
2669 if test "${ac_cv_search_opendir+set}" = set; then | 4091 done |
4092 | |
4093 | |
4094 | |
4095 for ac_header in unistd.h | |
4096 do | |
4097 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | |
4098 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
4099 { echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
4100 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | |
4101 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
2670 echo $ECHO_N "(cached) $ECHO_C" >&6 | 4102 echo $ECHO_N "(cached) $ECHO_C" >&6 |
2671 else | 4103 fi |
2672 ac_func_search_save_LIBS=$LIBS | 4104 ac_res=`eval echo '${'$as_ac_Header'}'` |
2673 ac_cv_search_opendir=no | 4105 { echo "$as_me:$LINENO: result: $ac_res" >&5 |
4106 echo "${ECHO_T}$ac_res" >&6; } | |
4107 else | |
4108 # Is the header compilable? | |
4109 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 | |
4110 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } | |
2674 cat >conftest.$ac_ext <<_ACEOF | 4111 cat >conftest.$ac_ext <<_ACEOF |
2675 #line $LINENO "configure" | 4112 /* confdefs.h. */ |
2676 #include "confdefs.h" | 4113 _ACEOF |
2677 | 4114 cat confdefs.h >>conftest.$ac_ext |
2678 /* Override any gcc2 internal prototype to avoid an error. */ | 4115 cat >>conftest.$ac_ext <<_ACEOF |
4116 /* end confdefs.h. */ | |
4117 $ac_includes_default | |
4118 #include <$ac_header> | |
4119 _ACEOF | |
4120 rm -f conftest.$ac_objext | |
4121 if { (ac_try="$ac_compile" | |
4122 case "(($ac_try" in | |
4123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4124 *) ac_try_echo=$ac_try;; | |
4125 esac | |
4126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
4127 (eval "$ac_compile") 2>conftest.er1 | |
4128 ac_status=$? | |
4129 grep -v '^ *+' conftest.er1 >conftest.err | |
4130 rm -f conftest.er1 | |
4131 cat conftest.err >&5 | |
4132 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4133 (exit $ac_status); } && { | |
4134 test -z "$ac_c_werror_flag" || | |
4135 test ! -s conftest.err | |
4136 } && test -s conftest.$ac_objext; then | |
4137 ac_header_compiler=yes | |
4138 else | |
4139 echo "$as_me: failed program was:" >&5 | |
4140 sed 's/^/| /' conftest.$ac_ext >&5 | |
4141 | |
4142 ac_header_compiler=no | |
4143 fi | |
4144 | |
4145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
4146 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
4147 echo "${ECHO_T}$ac_header_compiler" >&6; } | |
4148 | |
4149 # Is the header present? | |
4150 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 | |
4151 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } | |
4152 cat >conftest.$ac_ext <<_ACEOF | |
4153 /* confdefs.h. */ | |
4154 _ACEOF | |
4155 cat confdefs.h >>conftest.$ac_ext | |
4156 cat >>conftest.$ac_ext <<_ACEOF | |
4157 /* end confdefs.h. */ | |
4158 #include <$ac_header> | |
4159 _ACEOF | |
4160 if { (ac_try="$ac_cpp conftest.$ac_ext" | |
4161 case "(($ac_try" in | |
4162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4163 *) ac_try_echo=$ac_try;; | |
4164 esac | |
4165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
4166 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
4167 ac_status=$? | |
4168 grep -v '^ *+' conftest.er1 >conftest.err | |
4169 rm -f conftest.er1 | |
4170 cat conftest.err >&5 | |
4171 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4172 (exit $ac_status); } >/dev/null && { | |
4173 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
4174 test ! -s conftest.err | |
4175 }; then | |
4176 ac_header_preproc=yes | |
4177 else | |
4178 echo "$as_me: failed program was:" >&5 | |
4179 sed 's/^/| /' conftest.$ac_ext >&5 | |
4180 | |
4181 ac_header_preproc=no | |
4182 fi | |
4183 | |
4184 rm -f conftest.err conftest.$ac_ext | |
4185 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
4186 echo "${ECHO_T}$ac_header_preproc" >&6; } | |
4187 | |
4188 # So? What about this header? | |
4189 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | |
4190 yes:no: ) | |
4191 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | |
4192 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
4193 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | |
4194 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | |
4195 ac_header_preproc=yes | |
4196 ;; | |
4197 no:yes:* ) | |
4198 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | |
4199 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | |
4200 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | |
4201 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | |
4202 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | |
4203 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | |
4204 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | |
4205 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | |
4206 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
4207 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | |
4208 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | |
4209 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | |
4210 | |
4211 ;; | |
4212 esac | |
4213 { echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
4214 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | |
4215 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
4216 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
4217 else | |
4218 eval "$as_ac_Header=\$ac_header_preproc" | |
4219 fi | |
4220 ac_res=`eval echo '${'$as_ac_Header'}'` | |
4221 { echo "$as_me:$LINENO: result: $ac_res" >&5 | |
4222 echo "${ECHO_T}$ac_res" >&6; } | |
4223 | |
4224 fi | |
4225 if test `eval echo '${'$as_ac_Header'}'` = yes; then | |
4226 cat >>confdefs.h <<_ACEOF | |
4227 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | |
4228 _ACEOF | |
4229 | |
4230 fi | |
4231 | |
4232 done | |
4233 | |
4234 | |
4235 for ac_header in sys/stat.h | |
4236 do | |
4237 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | |
4238 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
4239 { echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
4240 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | |
4241 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
4242 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
4243 fi | |
4244 ac_res=`eval echo '${'$as_ac_Header'}'` | |
4245 { echo "$as_me:$LINENO: result: $ac_res" >&5 | |
4246 echo "${ECHO_T}$ac_res" >&6; } | |
4247 else | |
4248 # Is the header compilable? | |
4249 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 | |
4250 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } | |
4251 cat >conftest.$ac_ext <<_ACEOF | |
4252 /* confdefs.h. */ | |
4253 _ACEOF | |
4254 cat confdefs.h >>conftest.$ac_ext | |
4255 cat >>conftest.$ac_ext <<_ACEOF | |
4256 /* end confdefs.h. */ | |
4257 $ac_includes_default | |
4258 #include <$ac_header> | |
4259 _ACEOF | |
4260 rm -f conftest.$ac_objext | |
4261 if { (ac_try="$ac_compile" | |
4262 case "(($ac_try" in | |
4263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4264 *) ac_try_echo=$ac_try;; | |
4265 esac | |
4266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
4267 (eval "$ac_compile") 2>conftest.er1 | |
4268 ac_status=$? | |
4269 grep -v '^ *+' conftest.er1 >conftest.err | |
4270 rm -f conftest.er1 | |
4271 cat conftest.err >&5 | |
4272 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4273 (exit $ac_status); } && { | |
4274 test -z "$ac_c_werror_flag" || | |
4275 test ! -s conftest.err | |
4276 } && test -s conftest.$ac_objext; then | |
4277 ac_header_compiler=yes | |
4278 else | |
4279 echo "$as_me: failed program was:" >&5 | |
4280 sed 's/^/| /' conftest.$ac_ext >&5 | |
4281 | |
4282 ac_header_compiler=no | |
4283 fi | |
4284 | |
4285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
4286 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
4287 echo "${ECHO_T}$ac_header_compiler" >&6; } | |
4288 | |
4289 # Is the header present? | |
4290 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 | |
4291 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } | |
4292 cat >conftest.$ac_ext <<_ACEOF | |
4293 /* confdefs.h. */ | |
4294 _ACEOF | |
4295 cat confdefs.h >>conftest.$ac_ext | |
4296 cat >>conftest.$ac_ext <<_ACEOF | |
4297 /* end confdefs.h. */ | |
4298 #include <$ac_header> | |
4299 _ACEOF | |
4300 if { (ac_try="$ac_cpp conftest.$ac_ext" | |
4301 case "(($ac_try" in | |
4302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4303 *) ac_try_echo=$ac_try;; | |
4304 esac | |
4305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
4306 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
4307 ac_status=$? | |
4308 grep -v '^ *+' conftest.er1 >conftest.err | |
4309 rm -f conftest.er1 | |
4310 cat conftest.err >&5 | |
4311 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4312 (exit $ac_status); } >/dev/null && { | |
4313 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
4314 test ! -s conftest.err | |
4315 }; then | |
4316 ac_header_preproc=yes | |
4317 else | |
4318 echo "$as_me: failed program was:" >&5 | |
4319 sed 's/^/| /' conftest.$ac_ext >&5 | |
4320 | |
4321 ac_header_preproc=no | |
4322 fi | |
4323 | |
4324 rm -f conftest.err conftest.$ac_ext | |
4325 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
4326 echo "${ECHO_T}$ac_header_preproc" >&6; } | |
4327 | |
4328 # So? What about this header? | |
4329 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | |
4330 yes:no: ) | |
4331 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | |
4332 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
4333 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | |
4334 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | |
4335 ac_header_preproc=yes | |
4336 ;; | |
4337 no:yes:* ) | |
4338 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | |
4339 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | |
4340 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | |
4341 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | |
4342 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | |
4343 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | |
4344 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | |
4345 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | |
4346 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
4347 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | |
4348 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | |
4349 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | |
4350 | |
4351 ;; | |
4352 esac | |
4353 { echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
4354 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | |
4355 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
4356 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
4357 else | |
4358 eval "$as_ac_Header=\$ac_header_preproc" | |
4359 fi | |
4360 ac_res=`eval echo '${'$as_ac_Header'}'` | |
4361 { echo "$as_me:$LINENO: result: $ac_res" >&5 | |
4362 echo "${ECHO_T}$ac_res" >&6; } | |
4363 | |
4364 fi | |
4365 if test `eval echo '${'$as_ac_Header'}'` = yes; then | |
4366 cat >>confdefs.h <<_ACEOF | |
4367 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | |
4368 _ACEOF | |
4369 | |
4370 fi | |
4371 | |
4372 done | |
4373 | |
4374 | |
4375 | |
4376 for ac_func in pipe | |
4377 do | |
4378 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | |
4379 { echo "$as_me:$LINENO: checking for $ac_func" >&5 | |
4380 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | |
4381 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | |
4382 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
4383 else | |
4384 cat >conftest.$ac_ext <<_ACEOF | |
4385 /* confdefs.h. */ | |
4386 _ACEOF | |
4387 cat confdefs.h >>conftest.$ac_ext | |
4388 cat >>conftest.$ac_ext <<_ACEOF | |
4389 /* end confdefs.h. */ | |
4390 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | |
4391 For example, HP-UX 11i <limits.h> declares gettimeofday. */ | |
4392 #define $ac_func innocuous_$ac_func | |
4393 | |
4394 /* System header to define __stub macros and hopefully few prototypes, | |
4395 which can conflict with char $ac_func (); below. | |
4396 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
4397 <limits.h> exists even on freestanding compilers. */ | |
4398 | |
4399 #ifdef __STDC__ | |
4400 # include <limits.h> | |
4401 #else | |
4402 # include <assert.h> | |
4403 #endif | |
4404 | |
4405 #undef $ac_func | |
4406 | |
4407 /* Override any GCC internal prototype to avoid an error. | |
4408 Use char because int might match the return type of a GCC | |
4409 builtin and then its argument prototype would still apply. */ | |
2679 #ifdef __cplusplus | 4410 #ifdef __cplusplus |
2680 extern "C" | 4411 extern "C" |
2681 #endif | 4412 #endif |
2682 /* We use char because int might match the return type of a gcc2 | 4413 char $ac_func (); |
2683 builtin and then its argument prototype would still apply. */ | 4414 /* The GNU C library defines this for functions which it implements |
2684 char opendir (); | 4415 to always fail with ENOSYS. Some functions are actually named |
2685 #ifdef F77_DUMMY_MAIN | 4416 something starting with __ and the normal name is an alias. */ |
2686 # ifdef __cplusplus | 4417 #if defined __stub_$ac_func || defined __stub___$ac_func |
2687 extern "C" | 4418 choke me |
2688 # endif | |
2689 int F77_DUMMY_MAIN() { return 1; } | |
2690 #endif | 4419 #endif |
4420 | |
2691 int | 4421 int |
2692 main () | 4422 main () |
2693 { | 4423 { |
2694 opendir (); | 4424 return $ac_func (); |
2695 ; | 4425 ; |
2696 return 0; | 4426 return 0; |
2697 } | 4427 } |
2698 _ACEOF | 4428 _ACEOF |
2699 rm -f conftest.$ac_objext conftest$ac_exeext | 4429 rm -f conftest.$ac_objext conftest$ac_exeext |
2700 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 4430 if { (ac_try="$ac_link" |
2701 (eval $ac_link) 2>&5 | 4431 case "(($ac_try" in |
4432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4433 *) ac_try_echo=$ac_try;; | |
4434 esac | |
4435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
4436 (eval "$ac_link") 2>conftest.er1 | |
2702 ac_status=$? | 4437 ac_status=$? |
4438 grep -v '^ *+' conftest.er1 >conftest.err | |
4439 rm -f conftest.er1 | |
4440 cat conftest.err >&5 | |
2703 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4441 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2704 (exit $ac_status); } && | 4442 (exit $ac_status); } && { |
2705 { ac_try='test -s conftest$ac_exeext' | 4443 test -z "$ac_c_werror_flag" || |
2706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 4444 test ! -s conftest.err |
2707 (eval $ac_try) 2>&5 | 4445 } && test -s conftest$ac_exeext && |
2708 ac_status=$? | 4446 $as_test_x conftest$ac_exeext; then |
2709 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4447 eval "$as_ac_var=yes" |
2710 (exit $ac_status); }; }; then | |
2711 ac_cv_search_opendir="none required" | |
2712 else | 4448 else |
2713 echo "$as_me: failed program was:" >&5 | 4449 echo "$as_me: failed program was:" >&5 |
2714 cat conftest.$ac_ext >&5 | 4450 sed 's/^/| /' conftest.$ac_ext >&5 |
2715 fi | 4451 |
2716 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 4452 eval "$as_ac_var=no" |
2717 if test "$ac_cv_search_opendir" = no; then | 4453 fi |
2718 for ac_lib in x; do | 4454 |
2719 LIBS="-l$ac_lib $ac_func_search_save_LIBS" | 4455 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
2720 cat >conftest.$ac_ext <<_ACEOF | 4456 conftest$ac_exeext conftest.$ac_ext |
2721 #line $LINENO "configure" | 4457 fi |
2722 #include "confdefs.h" | 4458 ac_res=`eval echo '${'$as_ac_var'}'` |
2723 | 4459 { echo "$as_me:$LINENO: result: $ac_res" >&5 |
2724 /* Override any gcc2 internal prototype to avoid an error. */ | 4460 echo "${ECHO_T}$ac_res" >&6; } |
4461 if test `eval echo '${'$as_ac_var'}'` = yes; then | |
4462 cat >>confdefs.h <<_ACEOF | |
4463 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | |
4464 _ACEOF | |
4465 | |
4466 cat >>confdefs.h <<\_ACEOF | |
4467 #define HAVE_PIPE 1 | |
4468 _ACEOF | |
4469 | |
4470 fi | |
4471 done | |
4472 | |
4473 | |
4474 | |
4475 for ac_func in connect | |
4476 do | |
4477 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | |
4478 { echo "$as_me:$LINENO: checking for $ac_func" >&5 | |
4479 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | |
4480 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | |
4481 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
4482 else | |
4483 cat >conftest.$ac_ext <<_ACEOF | |
4484 /* confdefs.h. */ | |
4485 _ACEOF | |
4486 cat confdefs.h >>conftest.$ac_ext | |
4487 cat >>conftest.$ac_ext <<_ACEOF | |
4488 /* end confdefs.h. */ | |
4489 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | |
4490 For example, HP-UX 11i <limits.h> declares gettimeofday. */ | |
4491 #define $ac_func innocuous_$ac_func | |
4492 | |
4493 /* System header to define __stub macros and hopefully few prototypes, | |
4494 which can conflict with char $ac_func (); below. | |
4495 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
4496 <limits.h> exists even on freestanding compilers. */ | |
4497 | |
4498 #ifdef __STDC__ | |
4499 # include <limits.h> | |
4500 #else | |
4501 # include <assert.h> | |
4502 #endif | |
4503 | |
4504 #undef $ac_func | |
4505 | |
4506 /* Override any GCC internal prototype to avoid an error. | |
4507 Use char because int might match the return type of a GCC | |
4508 builtin and then its argument prototype would still apply. */ | |
2725 #ifdef __cplusplus | 4509 #ifdef __cplusplus |
2726 extern "C" | 4510 extern "C" |
2727 #endif | 4511 #endif |
2728 /* We use char because int might match the return type of a gcc2 | 4512 char $ac_func (); |
2729 builtin and then its argument prototype would still apply. */ | 4513 /* The GNU C library defines this for functions which it implements |
2730 char opendir (); | 4514 to always fail with ENOSYS. Some functions are actually named |
2731 #ifdef F77_DUMMY_MAIN | 4515 something starting with __ and the normal name is an alias. */ |
2732 # ifdef __cplusplus | 4516 #if defined __stub_$ac_func || defined __stub___$ac_func |
2733 extern "C" | 4517 choke me |
2734 # endif | |
2735 int F77_DUMMY_MAIN() { return 1; } | |
2736 #endif | 4518 #endif |
4519 | |
2737 int | 4520 int |
2738 main () | 4521 main () |
2739 { | 4522 { |
2740 opendir (); | 4523 return $ac_func (); |
2741 ; | 4524 ; |
2742 return 0; | 4525 return 0; |
2743 } | 4526 } |
2744 _ACEOF | 4527 _ACEOF |
2745 rm -f conftest.$ac_objext conftest$ac_exeext | 4528 rm -f conftest.$ac_objext conftest$ac_exeext |
2746 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 4529 if { (ac_try="$ac_link" |
2747 (eval $ac_link) 2>&5 | 4530 case "(($ac_try" in |
4531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4532 *) ac_try_echo=$ac_try;; | |
4533 esac | |
4534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
4535 (eval "$ac_link") 2>conftest.er1 | |
2748 ac_status=$? | 4536 ac_status=$? |
2749 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4537 grep -v '^ *+' conftest.er1 >conftest.err |
2750 (exit $ac_status); } && | |
2751 { ac_try='test -s conftest$ac_exeext' | |
2752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
2753 (eval $ac_try) 2>&5 | |
2754 ac_status=$? | |
2755 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2756 (exit $ac_status); }; }; then | |
2757 ac_cv_search_opendir="-l$ac_lib" | |
2758 break | |
2759 else | |
2760 echo "$as_me: failed program was:" >&5 | |
2761 cat conftest.$ac_ext >&5 | |
2762 fi | |
2763 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
2764 done | |
2765 fi | |
2766 LIBS=$ac_func_search_save_LIBS | |
2767 fi | |
2768 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 | |
2769 echo "${ECHO_T}$ac_cv_search_opendir" >&6 | |
2770 if test "$ac_cv_search_opendir" != no; then | |
2771 test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS" | |
2772 | |
2773 fi | |
2774 | |
2775 fi | |
2776 | |
2777 # On IRIX 5.3, sys/types and inttypes.h are conflicting. | |
2778 | |
2779 | |
2780 | |
2781 | |
2782 | |
2783 | |
2784 | |
2785 | |
2786 | |
2787 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ | |
2788 inttypes.h stdint.h unistd.h | |
2789 do | |
2790 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | |
2791 echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
2792 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | |
2793 if eval "test \"\${$as_ac_Header+set}\" = set"; then | |
2794 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
2795 else | |
2796 cat >conftest.$ac_ext <<_ACEOF | |
2797 #line $LINENO "configure" | |
2798 #include "confdefs.h" | |
2799 $ac_includes_default | |
2800 | |
2801 #include <$ac_header> | |
2802 _ACEOF | |
2803 rm -f conftest.$ac_objext | |
2804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
2805 (eval $ac_compile) 2>&5 | |
2806 ac_status=$? | |
2807 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2808 (exit $ac_status); } && | |
2809 { ac_try='test -s conftest.$ac_objext' | |
2810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
2811 (eval $ac_try) 2>&5 | |
2812 ac_status=$? | |
2813 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2814 (exit $ac_status); }; }; then | |
2815 eval "$as_ac_Header=yes" | |
2816 else | |
2817 echo "$as_me: failed program was:" >&5 | |
2818 cat conftest.$ac_ext >&5 | |
2819 eval "$as_ac_Header=no" | |
2820 fi | |
2821 rm -f conftest.$ac_objext conftest.$ac_ext | |
2822 fi | |
2823 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | |
2824 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | |
2825 if test `eval echo '${'$as_ac_Header'}'` = yes; then | |
2826 cat >>confdefs.h <<_ACEOF | |
2827 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | |
2828 _ACEOF | |
2829 | |
2830 fi | |
2831 | |
2832 done | |
2833 | |
2834 | |
2835 | |
2836 for ac_header in unistd.h | |
2837 do | |
2838 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | |
2839 if eval "test \"\${$as_ac_Header+set}\" = set"; then | |
2840 echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
2841 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | |
2842 if eval "test \"\${$as_ac_Header+set}\" = set"; then | |
2843 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
2844 fi | |
2845 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | |
2846 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | |
2847 else | |
2848 # Is the header compilable? | |
2849 echo "$as_me:$LINENO: checking $ac_header usability" >&5 | |
2850 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | |
2851 cat >conftest.$ac_ext <<_ACEOF | |
2852 #line $LINENO "configure" | |
2853 #include "confdefs.h" | |
2854 $ac_includes_default | |
2855 #include <$ac_header> | |
2856 _ACEOF | |
2857 rm -f conftest.$ac_objext | |
2858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
2859 (eval $ac_compile) 2>&5 | |
2860 ac_status=$? | |
2861 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2862 (exit $ac_status); } && | |
2863 { ac_try='test -s conftest.$ac_objext' | |
2864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
2865 (eval $ac_try) 2>&5 | |
2866 ac_status=$? | |
2867 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2868 (exit $ac_status); }; }; then | |
2869 ac_header_compiler=yes | |
2870 else | |
2871 echo "$as_me: failed program was:" >&5 | |
2872 cat conftest.$ac_ext >&5 | |
2873 ac_header_compiler=no | |
2874 fi | |
2875 rm -f conftest.$ac_objext conftest.$ac_ext | |
2876 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
2877 echo "${ECHO_T}$ac_header_compiler" >&6 | |
2878 | |
2879 # Is the header present? | |
2880 echo "$as_me:$LINENO: checking $ac_header presence" >&5 | |
2881 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | |
2882 cat >conftest.$ac_ext <<_ACEOF | |
2883 #line $LINENO "configure" | |
2884 #include "confdefs.h" | |
2885 #include <$ac_header> | |
2886 _ACEOF | |
2887 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | |
2888 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | |
2889 ac_status=$? | |
2890 egrep -v '^ *\+' conftest.er1 >conftest.err | |
2891 rm -f conftest.er1 | 4538 rm -f conftest.er1 |
2892 cat conftest.err >&5 | 4539 cat conftest.err >&5 |
2893 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4540 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2894 (exit $ac_status); } >/dev/null; then | 4541 (exit $ac_status); } && { |
2895 if test -s conftest.err; then | 4542 test -z "$ac_c_werror_flag" || |
2896 ac_cpp_err=$ac_c_preproc_warn_flag | 4543 test ! -s conftest.err |
2897 else | 4544 } && test -s conftest$ac_exeext && |
2898 ac_cpp_err= | 4545 $as_test_x conftest$ac_exeext; then |
2899 fi | 4546 eval "$as_ac_var=yes" |
2900 else | |
2901 ac_cpp_err=yes | |
2902 fi | |
2903 if test -z "$ac_cpp_err"; then | |
2904 ac_header_preproc=yes | |
2905 else | 4547 else |
2906 echo "$as_me: failed program was:" >&5 | 4548 echo "$as_me: failed program was:" >&5 |
2907 cat conftest.$ac_ext >&5 | 4549 sed 's/^/| /' conftest.$ac_ext >&5 |
2908 ac_header_preproc=no | 4550 |
2909 fi | 4551 eval "$as_ac_var=no" |
2910 rm -f conftest.err conftest.$ac_ext | 4552 fi |
2911 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 4553 |
2912 echo "${ECHO_T}$ac_header_preproc" >&6 | 4554 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
2913 | 4555 conftest$ac_exeext conftest.$ac_ext |
2914 # So? What about this header? | 4556 fi |
2915 case $ac_header_compiler:$ac_header_preproc in | 4557 ac_res=`eval echo '${'$as_ac_var'}'` |
2916 yes:no ) | 4558 { echo "$as_me:$LINENO: result: $ac_res" >&5 |
2917 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 4559 echo "${ECHO_T}$ac_res" >&6; } |
2918 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 4560 if test `eval echo '${'$as_ac_var'}'` = yes; then |
2919 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 4561 cat >>confdefs.h <<_ACEOF |
2920 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; | 4562 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
2921 no:yes ) | 4563 _ACEOF |
2922 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 4564 |
2923 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 4565 fi |
2924 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | 4566 done |
2925 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | 4567 |
2926 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 4568 if test x"$ac_cv_func_connect" = x"no"; then |
2927 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; | 4569 if test -z "$libsocket"; then |
2928 esac | 4570 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5 |
2929 echo "$as_me:$LINENO: checking for $ac_header" >&5 | 4571 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; } |
2930 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 4572 if test "${ac_cv_lib_socket_socket+set}" = set; then |
2931 if eval "test \"\${$as_ac_Header+set}\" = set"; then | |
2932 echo $ECHO_N "(cached) $ECHO_C" >&6 | 4573 echo $ECHO_N "(cached) $ECHO_C" >&6 |
2933 else | 4574 else |
2934 eval "$as_ac_Header=$ac_header_preproc" | 4575 ac_check_lib_save_LIBS=$LIBS |
2935 fi | 4576 LIBS="-lsocket $LIBS" |
2936 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | |
2937 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | |
2938 | |
2939 fi | |
2940 if test `eval echo '${'$as_ac_Header'}'` = yes; then | |
2941 cat >>confdefs.h <<_ACEOF | |
2942 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | |
2943 _ACEOF | |
2944 | |
2945 fi | |
2946 | |
2947 done | |
2948 | |
2949 | |
2950 for ac_header in sys/stat.h | |
2951 do | |
2952 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | |
2953 if eval "test \"\${$as_ac_Header+set}\" = set"; then | |
2954 echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
2955 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | |
2956 if eval "test \"\${$as_ac_Header+set}\" = set"; then | |
2957 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
2958 fi | |
2959 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | |
2960 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | |
2961 else | |
2962 # Is the header compilable? | |
2963 echo "$as_me:$LINENO: checking $ac_header usability" >&5 | |
2964 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | |
2965 cat >conftest.$ac_ext <<_ACEOF | 4577 cat >conftest.$ac_ext <<_ACEOF |
2966 #line $LINENO "configure" | 4578 /* confdefs.h. */ |
2967 #include "confdefs.h" | 4579 _ACEOF |
2968 $ac_includes_default | 4580 cat confdefs.h >>conftest.$ac_ext |
2969 #include <$ac_header> | 4581 cat >>conftest.$ac_ext <<_ACEOF |
2970 _ACEOF | 4582 /* end confdefs.h. */ |
2971 rm -f conftest.$ac_objext | 4583 |
2972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 4584 /* Override any GCC internal prototype to avoid an error. |
2973 (eval $ac_compile) 2>&5 | 4585 Use char because int might match the return type of a GCC |
4586 builtin and then its argument prototype would still apply. */ | |
4587 #ifdef __cplusplus | |
4588 extern "C" | |
4589 #endif | |
4590 char socket (); | |
4591 int | |
4592 main () | |
4593 { | |
4594 return socket (); | |
4595 ; | |
4596 return 0; | |
4597 } | |
4598 _ACEOF | |
4599 rm -f conftest.$ac_objext conftest$ac_exeext | |
4600 if { (ac_try="$ac_link" | |
4601 case "(($ac_try" in | |
4602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4603 *) ac_try_echo=$ac_try;; | |
4604 esac | |
4605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
4606 (eval "$ac_link") 2>conftest.er1 | |
2974 ac_status=$? | 4607 ac_status=$? |
2975 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4608 grep -v '^ *+' conftest.er1 >conftest.err |
2976 (exit $ac_status); } && | |
2977 { ac_try='test -s conftest.$ac_objext' | |
2978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
2979 (eval $ac_try) 2>&5 | |
2980 ac_status=$? | |
2981 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2982 (exit $ac_status); }; }; then | |
2983 ac_header_compiler=yes | |
2984 else | |
2985 echo "$as_me: failed program was:" >&5 | |
2986 cat conftest.$ac_ext >&5 | |
2987 ac_header_compiler=no | |
2988 fi | |
2989 rm -f conftest.$ac_objext conftest.$ac_ext | |
2990 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
2991 echo "${ECHO_T}$ac_header_compiler" >&6 | |
2992 | |
2993 # Is the header present? | |
2994 echo "$as_me:$LINENO: checking $ac_header presence" >&5 | |
2995 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | |
2996 cat >conftest.$ac_ext <<_ACEOF | |
2997 #line $LINENO "configure" | |
2998 #include "confdefs.h" | |
2999 #include <$ac_header> | |
3000 _ACEOF | |
3001 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | |
3002 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | |
3003 ac_status=$? | |
3004 egrep -v '^ *\+' conftest.er1 >conftest.err | |
3005 rm -f conftest.er1 | 4609 rm -f conftest.er1 |
3006 cat conftest.err >&5 | 4610 cat conftest.err >&5 |
3007 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4611 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3008 (exit $ac_status); } >/dev/null; then | 4612 (exit $ac_status); } && { |
3009 if test -s conftest.err; then | 4613 test -z "$ac_c_werror_flag" || |
3010 ac_cpp_err=$ac_c_preproc_warn_flag | 4614 test ! -s conftest.err |
3011 else | 4615 } && test -s conftest$ac_exeext && |
3012 ac_cpp_err= | 4616 $as_test_x conftest$ac_exeext; then |
3013 fi | 4617 ac_cv_lib_socket_socket=yes |
3014 else | |
3015 ac_cpp_err=yes | |
3016 fi | |
3017 if test -z "$ac_cpp_err"; then | |
3018 ac_header_preproc=yes | |
3019 else | 4618 else |
3020 echo "$as_me: failed program was:" >&5 | 4619 echo "$as_me: failed program was:" >&5 |
3021 cat conftest.$ac_ext >&5 | 4620 sed 's/^/| /' conftest.$ac_ext >&5 |
3022 ac_header_preproc=no | 4621 |
3023 fi | 4622 ac_cv_lib_socket_socket=no |
3024 rm -f conftest.err conftest.$ac_ext | 4623 fi |
3025 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 4624 |
3026 echo "${ECHO_T}$ac_header_preproc" >&6 | 4625 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
3027 | 4626 conftest$ac_exeext conftest.$ac_ext |
3028 # So? What about this header? | 4627 LIBS=$ac_check_lib_save_LIBS |
3029 case $ac_header_compiler:$ac_header_preproc in | 4628 fi |
3030 yes:no ) | 4629 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5 |
3031 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 4630 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; } |
3032 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 4631 if test $ac_cv_lib_socket_socket = yes; then |
3033 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 4632 LIBS="$LIBS -lsocket" |
3034 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; | 4633 fi |
3035 no:yes ) | 4634 |
3036 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 4635 fi |
3037 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 4636 |
3038 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | 4637 if test -z "$libinet"; then |
3039 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | 4638 { echo "$as_me:$LINENO: checking for socket in -linet" >&5 |
3040 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 4639 echo $ECHO_N "checking for socket in -linet... $ECHO_C" >&6; } |
3041 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; | 4640 if test "${ac_cv_lib_inet_socket+set}" = set; then |
3042 esac | |
3043 echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
3044 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | |
3045 if eval "test \"\${$as_ac_Header+set}\" = set"; then | |
3046 echo $ECHO_N "(cached) $ECHO_C" >&6 | 4641 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3047 else | 4642 else |
3048 eval "$as_ac_Header=$ac_header_preproc" | 4643 ac_check_lib_save_LIBS=$LIBS |
3049 fi | 4644 LIBS="-linet $LIBS" |
3050 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 4645 cat >conftest.$ac_ext <<_ACEOF |
3051 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 4646 /* confdefs.h. */ |
3052 | 4647 _ACEOF |
3053 fi | 4648 cat confdefs.h >>conftest.$ac_ext |
3054 if test `eval echo '${'$as_ac_Header'}'` = yes; then | 4649 cat >>conftest.$ac_ext <<_ACEOF |
3055 cat >>confdefs.h <<_ACEOF | 4650 /* end confdefs.h. */ |
3056 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 4651 |
3057 _ACEOF | 4652 /* Override any GCC internal prototype to avoid an error. |
3058 | 4653 Use char because int might match the return type of a GCC |
3059 fi | 4654 builtin and then its argument prototype would still apply. */ |
3060 | |
3061 done | |
3062 | |
3063 | |
3064 | |
3065 for ac_func in pipe | |
3066 do | |
3067 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | |
3068 echo "$as_me:$LINENO: checking for $ac_func" >&5 | |
3069 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | |
3070 if eval "test \"\${$as_ac_var+set}\" = set"; then | |
3071 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
3072 else | |
3073 cat >conftest.$ac_ext <<_ACEOF | |
3074 #line $LINENO "configure" | |
3075 #include "confdefs.h" | |
3076 /* System header to define __stub macros and hopefully few prototypes, | |
3077 which can conflict with char $ac_func (); below. */ | |
3078 #include <assert.h> | |
3079 /* Override any gcc2 internal prototype to avoid an error. */ | |
3080 #ifdef __cplusplus | 4655 #ifdef __cplusplus |
3081 extern "C" | 4656 extern "C" |
3082 #endif | 4657 #endif |
3083 /* We use char because int might match the return type of a gcc2 | 4658 char socket (); |
3084 builtin and then its argument prototype would still apply. */ | |
3085 char $ac_func (); | |
3086 char (*f) (); | |
3087 | |
3088 #ifdef F77_DUMMY_MAIN | |
3089 # ifdef __cplusplus | |
3090 extern "C" | |
3091 # endif | |
3092 int F77_DUMMY_MAIN() { return 1; } | |
3093 #endif | |
3094 int | 4659 int |
3095 main () | 4660 main () |
3096 { | 4661 { |
3097 /* The GNU C library defines this for functions which it implements | 4662 return socket (); |
3098 to always fail with ENOSYS. Some functions are actually named | |
3099 something starting with __ and the normal name is an alias. */ | |
3100 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | |
3101 choke me | |
3102 #else | |
3103 f = $ac_func; | |
3104 #endif | |
3105 | |
3106 ; | 4663 ; |
3107 return 0; | 4664 return 0; |
3108 } | 4665 } |
3109 _ACEOF | 4666 _ACEOF |
3110 rm -f conftest.$ac_objext conftest$ac_exeext | 4667 rm -f conftest.$ac_objext conftest$ac_exeext |
3111 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 4668 if { (ac_try="$ac_link" |
3112 (eval $ac_link) 2>&5 | 4669 case "(($ac_try" in |
4670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4671 *) ac_try_echo=$ac_try;; | |
4672 esac | |
4673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
4674 (eval "$ac_link") 2>conftest.er1 | |
3113 ac_status=$? | 4675 ac_status=$? |
4676 grep -v '^ *+' conftest.er1 >conftest.err | |
4677 rm -f conftest.er1 | |
4678 cat conftest.err >&5 | |
3114 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4679 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3115 (exit $ac_status); } && | 4680 (exit $ac_status); } && { |
3116 { ac_try='test -s conftest$ac_exeext' | 4681 test -z "$ac_c_werror_flag" || |
3117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 4682 test ! -s conftest.err |
3118 (eval $ac_try) 2>&5 | 4683 } && test -s conftest$ac_exeext && |
3119 ac_status=$? | 4684 $as_test_x conftest$ac_exeext; then |
3120 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4685 ac_cv_lib_inet_socket=yes |
3121 (exit $ac_status); }; }; then | |
3122 eval "$as_ac_var=yes" | |
3123 else | 4686 else |
3124 echo "$as_me: failed program was:" >&5 | 4687 echo "$as_me: failed program was:" >&5 |
3125 cat conftest.$ac_ext >&5 | 4688 sed 's/^/| /' conftest.$ac_ext >&5 |
3126 eval "$as_ac_var=no" | 4689 |
3127 fi | 4690 ac_cv_lib_inet_socket=no |
3128 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 4691 fi |
3129 fi | 4692 |
3130 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | 4693 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
3131 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 4694 conftest$ac_exeext conftest.$ac_ext |
3132 if test `eval echo '${'$as_ac_var'}'` = yes; then | 4695 LIBS=$ac_check_lib_save_LIBS |
3133 cat >>confdefs.h <<_ACEOF | 4696 fi |
3134 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 4697 { echo "$as_me:$LINENO: result: $ac_cv_lib_inet_socket" >&5 |
3135 _ACEOF | 4698 echo "${ECHO_T}$ac_cv_lib_inet_socket" >&6; } |
3136 | 4699 if test $ac_cv_lib_inet_socket = yes; then |
3137 cat >>confdefs.h <<\_ACEOF | 4700 libnsl=1; LIBS="$LIBS -linet -lnsl_s" |
3138 #define HAVE_PIPE 1 | 4701 fi |
3139 _ACEOF | 4702 |
3140 | 4703 fi |
3141 fi | 4704 |
3142 done | 4705 if test -z "$libnsl"; then |
3143 | 4706 { echo "$as_me:$LINENO: checking for gethostname in -lnsl" >&5 |
3144 | 4707 echo $ECHO_N "checking for gethostname in -lnsl... $ECHO_C" >&6; } |
3145 | 4708 if test "${ac_cv_lib_nsl_gethostname+set}" = set; then |
3146 for ac_func in connect | |
3147 do | |
3148 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | |
3149 echo "$as_me:$LINENO: checking for $ac_func" >&5 | |
3150 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | |
3151 if eval "test \"\${$as_ac_var+set}\" = set"; then | |
3152 echo $ECHO_N "(cached) $ECHO_C" >&6 | 4709 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3153 else | 4710 else |
3154 cat >conftest.$ac_ext <<_ACEOF | 4711 ac_check_lib_save_LIBS=$LIBS |
3155 #line $LINENO "configure" | 4712 LIBS="-lnsl $LIBS" |
3156 #include "confdefs.h" | 4713 cat >conftest.$ac_ext <<_ACEOF |
3157 /* System header to define __stub macros and hopefully few prototypes, | 4714 /* confdefs.h. */ |
3158 which can conflict with char $ac_func (); below. */ | 4715 _ACEOF |
3159 #include <assert.h> | 4716 cat confdefs.h >>conftest.$ac_ext |
3160 /* Override any gcc2 internal prototype to avoid an error. */ | 4717 cat >>conftest.$ac_ext <<_ACEOF |
4718 /* end confdefs.h. */ | |
4719 | |
4720 /* Override any GCC internal prototype to avoid an error. | |
4721 Use char because int might match the return type of a GCC | |
4722 builtin and then its argument prototype would still apply. */ | |
3161 #ifdef __cplusplus | 4723 #ifdef __cplusplus |
3162 extern "C" | 4724 extern "C" |
3163 #endif | 4725 #endif |
3164 /* We use char because int might match the return type of a gcc2 | 4726 char gethostname (); |
3165 builtin and then its argument prototype would still apply. */ | |
3166 char $ac_func (); | |
3167 char (*f) (); | |
3168 | |
3169 #ifdef F77_DUMMY_MAIN | |
3170 # ifdef __cplusplus | |
3171 extern "C" | |
3172 # endif | |
3173 int F77_DUMMY_MAIN() { return 1; } | |
3174 #endif | |
3175 int | 4727 int |
3176 main () | 4728 main () |
3177 { | 4729 { |
3178 /* The GNU C library defines this for functions which it implements | 4730 return gethostname (); |
3179 to always fail with ENOSYS. Some functions are actually named | |
3180 something starting with __ and the normal name is an alias. */ | |
3181 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | |
3182 choke me | |
3183 #else | |
3184 f = $ac_func; | |
3185 #endif | |
3186 | |
3187 ; | 4731 ; |
3188 return 0; | 4732 return 0; |
3189 } | 4733 } |
3190 _ACEOF | 4734 _ACEOF |
3191 rm -f conftest.$ac_objext conftest$ac_exeext | 4735 rm -f conftest.$ac_objext conftest$ac_exeext |
3192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 4736 if { (ac_try="$ac_link" |
3193 (eval $ac_link) 2>&5 | 4737 case "(($ac_try" in |
4738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4739 *) ac_try_echo=$ac_try;; | |
4740 esac | |
4741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
4742 (eval "$ac_link") 2>conftest.er1 | |
3194 ac_status=$? | 4743 ac_status=$? |
4744 grep -v '^ *+' conftest.er1 >conftest.err | |
4745 rm -f conftest.er1 | |
4746 cat conftest.err >&5 | |
3195 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4747 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3196 (exit $ac_status); } && | 4748 (exit $ac_status); } && { |
3197 { ac_try='test -s conftest$ac_exeext' | 4749 test -z "$ac_c_werror_flag" || |
3198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 4750 test ! -s conftest.err |
3199 (eval $ac_try) 2>&5 | 4751 } && test -s conftest$ac_exeext && |
3200 ac_status=$? | 4752 $as_test_x conftest$ac_exeext; then |
3201 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4753 ac_cv_lib_nsl_gethostname=yes |
3202 (exit $ac_status); }; }; then | |
3203 eval "$as_ac_var=yes" | |
3204 else | 4754 else |
3205 echo "$as_me: failed program was:" >&5 | 4755 echo "$as_me: failed program was:" >&5 |
3206 cat conftest.$ac_ext >&5 | 4756 sed 's/^/| /' conftest.$ac_ext >&5 |
3207 eval "$as_ac_var=no" | 4757 |
3208 fi | 4758 ac_cv_lib_nsl_gethostname=no |
3209 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 4759 fi |
3210 fi | 4760 |
3211 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | 4761 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
3212 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 4762 conftest$ac_exeext conftest.$ac_ext |
3213 if test `eval echo '${'$as_ac_var'}'` = yes; then | 4763 LIBS=$ac_check_lib_save_LIBS |
3214 cat >>confdefs.h <<_ACEOF | 4764 fi |
3215 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 4765 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostname" >&5 |
3216 _ACEOF | 4766 echo "${ECHO_T}$ac_cv_lib_nsl_gethostname" >&6; } |
3217 | 4767 if test $ac_cv_lib_nsl_gethostname = yes; then |
3218 fi | 4768 LIBS="$LIBS -lnsl" |
3219 done | 4769 fi |
3220 | 4770 |
3221 if test x"$ac_cv_func_connect" = x"no"; then | 4771 fi |
3222 if test -z "$libsocket"; then | 4772 fi |
3223 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5 | 4773 |
3224 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6 | 4774 { echo "$as_me:$LINENO: checking for getpwnam in -lsun" >&5 |
3225 if test "${ac_cv_lib_socket_socket+set}" = set; then | 4775 echo $ECHO_N "checking for getpwnam in -lsun... $ECHO_C" >&6; } |
4776 if test "${ac_cv_lib_sun_getpwnam+set}" = set; then | |
3226 echo $ECHO_N "(cached) $ECHO_C" >&6 | 4777 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3227 else | 4778 else |
3228 ac_check_lib_save_LIBS=$LIBS | 4779 ac_check_lib_save_LIBS=$LIBS |
3229 LIBS="-lsocket $LIBS" | 4780 LIBS="-lsun $LIBS" |
3230 cat >conftest.$ac_ext <<_ACEOF | 4781 cat >conftest.$ac_ext <<_ACEOF |
3231 #line $LINENO "configure" | 4782 /* confdefs.h. */ |
3232 #include "confdefs.h" | 4783 _ACEOF |
3233 | 4784 cat confdefs.h >>conftest.$ac_ext |
3234 /* Override any gcc2 internal prototype to avoid an error. */ | 4785 cat >>conftest.$ac_ext <<_ACEOF |
4786 /* end confdefs.h. */ | |
4787 | |
4788 /* Override any GCC internal prototype to avoid an error. | |
4789 Use char because int might match the return type of a GCC | |
4790 builtin and then its argument prototype would still apply. */ | |
3235 #ifdef __cplusplus | 4791 #ifdef __cplusplus |
3236 extern "C" | 4792 extern "C" |
3237 #endif | 4793 #endif |
3238 /* We use char because int might match the return type of a gcc2 | 4794 char getpwnam (); |
3239 builtin and then its argument prototype would still apply. */ | |
3240 char socket (); | |
3241 #ifdef F77_DUMMY_MAIN | |
3242 # ifdef __cplusplus | |
3243 extern "C" | |
3244 # endif | |
3245 int F77_DUMMY_MAIN() { return 1; } | |
3246 #endif | |
3247 int | 4795 int |
3248 main () | 4796 main () |
3249 { | 4797 { |
3250 socket (); | 4798 return getpwnam (); |
3251 ; | 4799 ; |
3252 return 0; | 4800 return 0; |
3253 } | 4801 } |
3254 _ACEOF | 4802 _ACEOF |
3255 rm -f conftest.$ac_objext conftest$ac_exeext | 4803 rm -f conftest.$ac_objext conftest$ac_exeext |
3256 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 4804 if { (ac_try="$ac_link" |
3257 (eval $ac_link) 2>&5 | 4805 case "(($ac_try" in |
4806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4807 *) ac_try_echo=$ac_try;; | |
4808 esac | |
4809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
4810 (eval "$ac_link") 2>conftest.er1 | |
3258 ac_status=$? | 4811 ac_status=$? |
4812 grep -v '^ *+' conftest.er1 >conftest.err | |
4813 rm -f conftest.er1 | |
4814 cat conftest.err >&5 | |
3259 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4815 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3260 (exit $ac_status); } && | 4816 (exit $ac_status); } && { |
3261 { ac_try='test -s conftest$ac_exeext' | 4817 test -z "$ac_c_werror_flag" || |
3262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 4818 test ! -s conftest.err |
3263 (eval $ac_try) 2>&5 | 4819 } && test -s conftest$ac_exeext && |
3264 ac_status=$? | 4820 $as_test_x conftest$ac_exeext; then |
3265 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4821 ac_cv_lib_sun_getpwnam=yes |
3266 (exit $ac_status); }; }; then | |
3267 ac_cv_lib_socket_socket=yes | |
3268 else | 4822 else |
3269 echo "$as_me: failed program was:" >&5 | 4823 echo "$as_me: failed program was:" >&5 |
3270 cat conftest.$ac_ext >&5 | 4824 sed 's/^/| /' conftest.$ac_ext >&5 |
3271 ac_cv_lib_socket_socket=no | 4825 |
3272 fi | 4826 ac_cv_lib_sun_getpwnam=no |
3273 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 4827 fi |
4828 | |
4829 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
4830 conftest$ac_exeext conftest.$ac_ext | |
3274 LIBS=$ac_check_lib_save_LIBS | 4831 LIBS=$ac_check_lib_save_LIBS |
3275 fi | 4832 fi |
3276 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5 | 4833 { echo "$as_me:$LINENO: result: $ac_cv_lib_sun_getpwnam" >&5 |
3277 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6 | 4834 echo "${ECHO_T}$ac_cv_lib_sun_getpwnam" >&6; } |
3278 if test $ac_cv_lib_socket_socket = yes; then | 4835 if test $ac_cv_lib_sun_getpwnam = yes; then |
3279 LIBS="$LIBS -lsocket" | 4836 LIBS="$LIBS -lsun" |
3280 fi | 4837 fi |
3281 | 4838 |
3282 fi | 4839 { echo "$as_me:$LINENO: checking for inet_addr in -ldgc" >&5 |
3283 | 4840 echo $ECHO_N "checking for inet_addr in -ldgc... $ECHO_C" >&6; } |
3284 if test -z "$libinet"; then | 4841 if test "${ac_cv_lib_dgc_inet_addr+set}" = set; then |
3285 echo "$as_me:$LINENO: checking for socket in -linet" >&5 | |
3286 echo $ECHO_N "checking for socket in -linet... $ECHO_C" >&6 | |
3287 if test "${ac_cv_lib_inet_socket+set}" = set; then | |
3288 echo $ECHO_N "(cached) $ECHO_C" >&6 | 4842 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3289 else | 4843 else |
3290 ac_check_lib_save_LIBS=$LIBS | 4844 ac_check_lib_save_LIBS=$LIBS |
3291 LIBS="-linet $LIBS" | 4845 LIBS="-ldgc $LIBS" |
3292 cat >conftest.$ac_ext <<_ACEOF | 4846 cat >conftest.$ac_ext <<_ACEOF |
3293 #line $LINENO "configure" | 4847 /* confdefs.h. */ |
3294 #include "confdefs.h" | 4848 _ACEOF |
3295 | 4849 cat confdefs.h >>conftest.$ac_ext |
3296 /* Override any gcc2 internal prototype to avoid an error. */ | 4850 cat >>conftest.$ac_ext <<_ACEOF |
4851 /* end confdefs.h. */ | |
4852 | |
4853 /* Override any GCC internal prototype to avoid an error. | |
4854 Use char because int might match the return type of a GCC | |
4855 builtin and then its argument prototype would still apply. */ | |
3297 #ifdef __cplusplus | 4856 #ifdef __cplusplus |
3298 extern "C" | 4857 extern "C" |
3299 #endif | 4858 #endif |
3300 /* We use char because int might match the return type of a gcc2 | 4859 char inet_addr (); |
3301 builtin and then its argument prototype would still apply. */ | |
3302 char socket (); | |
3303 #ifdef F77_DUMMY_MAIN | |
3304 # ifdef __cplusplus | |
3305 extern "C" | |
3306 # endif | |
3307 int F77_DUMMY_MAIN() { return 1; } | |
3308 #endif | |
3309 int | 4860 int |
3310 main () | 4861 main () |
3311 { | 4862 { |
3312 socket (); | 4863 return inet_addr (); |
3313 ; | 4864 ; |
3314 return 0; | 4865 return 0; |
3315 } | 4866 } |
3316 _ACEOF | 4867 _ACEOF |
3317 rm -f conftest.$ac_objext conftest$ac_exeext | 4868 rm -f conftest.$ac_objext conftest$ac_exeext |
3318 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 4869 if { (ac_try="$ac_link" |
3319 (eval $ac_link) 2>&5 | 4870 case "(($ac_try" in |
4871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4872 *) ac_try_echo=$ac_try;; | |
4873 esac | |
4874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
4875 (eval "$ac_link") 2>conftest.er1 | |
3320 ac_status=$? | 4876 ac_status=$? |
4877 grep -v '^ *+' conftest.er1 >conftest.err | |
4878 rm -f conftest.er1 | |
4879 cat conftest.err >&5 | |
3321 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4880 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3322 (exit $ac_status); } && | 4881 (exit $ac_status); } && { |
3323 { ac_try='test -s conftest$ac_exeext' | 4882 test -z "$ac_c_werror_flag" || |
3324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 4883 test ! -s conftest.err |
3325 (eval $ac_try) 2>&5 | 4884 } && test -s conftest$ac_exeext && |
3326 ac_status=$? | 4885 $as_test_x conftest$ac_exeext; then |
3327 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4886 ac_cv_lib_dgc_inet_addr=yes |
3328 (exit $ac_status); }; }; then | |
3329 ac_cv_lib_inet_socket=yes | |
3330 else | 4887 else |
3331 echo "$as_me: failed program was:" >&5 | 4888 echo "$as_me: failed program was:" >&5 |
3332 cat conftest.$ac_ext >&5 | 4889 sed 's/^/| /' conftest.$ac_ext >&5 |
3333 ac_cv_lib_inet_socket=no | 4890 |
3334 fi | 4891 ac_cv_lib_dgc_inet_addr=no |
3335 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 4892 fi |
4893 | |
4894 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
4895 conftest$ac_exeext conftest.$ac_ext | |
3336 LIBS=$ac_check_lib_save_LIBS | 4896 LIBS=$ac_check_lib_save_LIBS |
3337 fi | 4897 fi |
3338 echo "$as_me:$LINENO: result: $ac_cv_lib_inet_socket" >&5 | 4898 { echo "$as_me:$LINENO: result: $ac_cv_lib_dgc_inet_addr" >&5 |
3339 echo "${ECHO_T}$ac_cv_lib_inet_socket" >&6 | 4899 echo "${ECHO_T}$ac_cv_lib_dgc_inet_addr" >&6; } |
3340 if test $ac_cv_lib_inet_socket = yes; then | 4900 if test $ac_cv_lib_dgc_inet_addr = yes; then |
3341 libnsl=1; LIBS="$LIBS -linet -lnsl_s" | 4901 LIBS="$LIBS -ldgc" |
3342 fi | 4902 fi |
3343 | 4903 |
3344 fi | 4904 { echo "$as_me:$LINENO: checking for gethostbyname in -lresolv" >&5 |
3345 | 4905 echo $ECHO_N "checking for gethostbyname in -lresolv... $ECHO_C" >&6; } |
3346 if test -z "$libnsl"; then | 4906 if test "${ac_cv_lib_resolv_gethostbyname+set}" = set; then |
3347 echo "$as_me:$LINENO: checking for gethostname in -lnsl" >&5 | |
3348 echo $ECHO_N "checking for gethostname in -lnsl... $ECHO_C" >&6 | |
3349 if test "${ac_cv_lib_nsl_gethostname+set}" = set; then | |
3350 echo $ECHO_N "(cached) $ECHO_C" >&6 | 4907 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3351 else | 4908 else |
3352 ac_check_lib_save_LIBS=$LIBS | 4909 ac_check_lib_save_LIBS=$LIBS |
3353 LIBS="-lnsl $LIBS" | 4910 LIBS="-lresolv $LIBS" |
3354 cat >conftest.$ac_ext <<_ACEOF | 4911 cat >conftest.$ac_ext <<_ACEOF |
3355 #line $LINENO "configure" | 4912 /* confdefs.h. */ |
3356 #include "confdefs.h" | 4913 _ACEOF |
3357 | 4914 cat confdefs.h >>conftest.$ac_ext |
3358 /* Override any gcc2 internal prototype to avoid an error. */ | 4915 cat >>conftest.$ac_ext <<_ACEOF |
4916 /* end confdefs.h. */ | |
4917 | |
4918 /* Override any GCC internal prototype to avoid an error. | |
4919 Use char because int might match the return type of a GCC | |
4920 builtin and then its argument prototype would still apply. */ | |
3359 #ifdef __cplusplus | 4921 #ifdef __cplusplus |
3360 extern "C" | 4922 extern "C" |
3361 #endif | 4923 #endif |
3362 /* We use char because int might match the return type of a gcc2 | 4924 char gethostbyname (); |
3363 builtin and then its argument prototype would still apply. */ | |
3364 char gethostname (); | |
3365 #ifdef F77_DUMMY_MAIN | |
3366 # ifdef __cplusplus | |
3367 extern "C" | |
3368 # endif | |
3369 int F77_DUMMY_MAIN() { return 1; } | |
3370 #endif | |
3371 int | 4925 int |
3372 main () | 4926 main () |
3373 { | 4927 { |
3374 gethostname (); | 4928 return gethostbyname (); |
3375 ; | 4929 ; |
3376 return 0; | 4930 return 0; |
3377 } | 4931 } |
3378 _ACEOF | 4932 _ACEOF |
3379 rm -f conftest.$ac_objext conftest$ac_exeext | 4933 rm -f conftest.$ac_objext conftest$ac_exeext |
3380 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 4934 if { (ac_try="$ac_link" |
3381 (eval $ac_link) 2>&5 | 4935 case "(($ac_try" in |
4936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4937 *) ac_try_echo=$ac_try;; | |
4938 esac | |
4939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
4940 (eval "$ac_link") 2>conftest.er1 | |
3382 ac_status=$? | 4941 ac_status=$? |
4942 grep -v '^ *+' conftest.er1 >conftest.err | |
4943 rm -f conftest.er1 | |
4944 cat conftest.err >&5 | |
3383 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4945 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3384 (exit $ac_status); } && | 4946 (exit $ac_status); } && { |
3385 { ac_try='test -s conftest$ac_exeext' | 4947 test -z "$ac_c_werror_flag" || |
3386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 4948 test ! -s conftest.err |
3387 (eval $ac_try) 2>&5 | 4949 } && test -s conftest$ac_exeext && |
3388 ac_status=$? | 4950 $as_test_x conftest$ac_exeext; then |
3389 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4951 ac_cv_lib_resolv_gethostbyname=yes |
3390 (exit $ac_status); }; }; then | |
3391 ac_cv_lib_nsl_gethostname=yes | |
3392 else | 4952 else |
3393 echo "$as_me: failed program was:" >&5 | 4953 echo "$as_me: failed program was:" >&5 |
3394 cat conftest.$ac_ext >&5 | 4954 sed 's/^/| /' conftest.$ac_ext >&5 |
3395 ac_cv_lib_nsl_gethostname=no | 4955 |
3396 fi | 4956 ac_cv_lib_resolv_gethostbyname=no |
3397 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 4957 fi |
4958 | |
4959 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
4960 conftest$ac_exeext conftest.$ac_ext | |
3398 LIBS=$ac_check_lib_save_LIBS | 4961 LIBS=$ac_check_lib_save_LIBS |
3399 fi | 4962 fi |
3400 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostname" >&5 | 4963 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_gethostbyname" >&5 |
3401 echo "${ECHO_T}$ac_cv_lib_nsl_gethostname" >&6 | 4964 echo "${ECHO_T}$ac_cv_lib_resolv_gethostbyname" >&6; } |
3402 if test $ac_cv_lib_nsl_gethostname = yes; then | |
3403 LIBS="$LIBS -lnsl" | |
3404 fi | |
3405 | |
3406 fi | |
3407 fi | |
3408 | |
3409 echo "$as_me:$LINENO: checking for getpwnam in -lsun" >&5 | |
3410 echo $ECHO_N "checking for getpwnam in -lsun... $ECHO_C" >&6 | |
3411 if test "${ac_cv_lib_sun_getpwnam+set}" = set; then | |
3412 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
3413 else | |
3414 ac_check_lib_save_LIBS=$LIBS | |
3415 LIBS="-lsun $LIBS" | |
3416 cat >conftest.$ac_ext <<_ACEOF | |
3417 #line $LINENO "configure" | |
3418 #include "confdefs.h" | |
3419 | |
3420 /* Override any gcc2 internal prototype to avoid an error. */ | |
3421 #ifdef __cplusplus | |
3422 extern "C" | |
3423 #endif | |
3424 /* We use char because int might match the return type of a gcc2 | |
3425 builtin and then its argument prototype would still apply. */ | |
3426 char getpwnam (); | |
3427 #ifdef F77_DUMMY_MAIN | |
3428 # ifdef __cplusplus | |
3429 extern "C" | |
3430 # endif | |
3431 int F77_DUMMY_MAIN() { return 1; } | |
3432 #endif | |
3433 int | |
3434 main () | |
3435 { | |
3436 getpwnam (); | |
3437 ; | |
3438 return 0; | |
3439 } | |
3440 _ACEOF | |
3441 rm -f conftest.$ac_objext conftest$ac_exeext | |
3442 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
3443 (eval $ac_link) 2>&5 | |
3444 ac_status=$? | |
3445 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3446 (exit $ac_status); } && | |
3447 { ac_try='test -s conftest$ac_exeext' | |
3448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
3449 (eval $ac_try) 2>&5 | |
3450 ac_status=$? | |
3451 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3452 (exit $ac_status); }; }; then | |
3453 ac_cv_lib_sun_getpwnam=yes | |
3454 else | |
3455 echo "$as_me: failed program was:" >&5 | |
3456 cat conftest.$ac_ext >&5 | |
3457 ac_cv_lib_sun_getpwnam=no | |
3458 fi | |
3459 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
3460 LIBS=$ac_check_lib_save_LIBS | |
3461 fi | |
3462 echo "$as_me:$LINENO: result: $ac_cv_lib_sun_getpwnam" >&5 | |
3463 echo "${ECHO_T}$ac_cv_lib_sun_getpwnam" >&6 | |
3464 if test $ac_cv_lib_sun_getpwnam = yes; then | |
3465 LIBS="$LIBS -lsun" | |
3466 fi | |
3467 | |
3468 echo "$as_me:$LINENO: checking for inet_addr in -ldgc" >&5 | |
3469 echo $ECHO_N "checking for inet_addr in -ldgc... $ECHO_C" >&6 | |
3470 if test "${ac_cv_lib_dgc_inet_addr+set}" = set; then | |
3471 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
3472 else | |
3473 ac_check_lib_save_LIBS=$LIBS | |
3474 LIBS="-ldgc $LIBS" | |
3475 cat >conftest.$ac_ext <<_ACEOF | |
3476 #line $LINENO "configure" | |
3477 #include "confdefs.h" | |
3478 | |
3479 /* Override any gcc2 internal prototype to avoid an error. */ | |
3480 #ifdef __cplusplus | |
3481 extern "C" | |
3482 #endif | |
3483 /* We use char because int might match the return type of a gcc2 | |
3484 builtin and then its argument prototype would still apply. */ | |
3485 char inet_addr (); | |
3486 #ifdef F77_DUMMY_MAIN | |
3487 # ifdef __cplusplus | |
3488 extern "C" | |
3489 # endif | |
3490 int F77_DUMMY_MAIN() { return 1; } | |
3491 #endif | |
3492 int | |
3493 main () | |
3494 { | |
3495 inet_addr (); | |
3496 ; | |
3497 return 0; | |
3498 } | |
3499 _ACEOF | |
3500 rm -f conftest.$ac_objext conftest$ac_exeext | |
3501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
3502 (eval $ac_link) 2>&5 | |
3503 ac_status=$? | |
3504 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3505 (exit $ac_status); } && | |
3506 { ac_try='test -s conftest$ac_exeext' | |
3507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
3508 (eval $ac_try) 2>&5 | |
3509 ac_status=$? | |
3510 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3511 (exit $ac_status); }; }; then | |
3512 ac_cv_lib_dgc_inet_addr=yes | |
3513 else | |
3514 echo "$as_me: failed program was:" >&5 | |
3515 cat conftest.$ac_ext >&5 | |
3516 ac_cv_lib_dgc_inet_addr=no | |
3517 fi | |
3518 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
3519 LIBS=$ac_check_lib_save_LIBS | |
3520 fi | |
3521 echo "$as_me:$LINENO: result: $ac_cv_lib_dgc_inet_addr" >&5 | |
3522 echo "${ECHO_T}$ac_cv_lib_dgc_inet_addr" >&6 | |
3523 if test $ac_cv_lib_dgc_inet_addr = yes; then | |
3524 LIBS="$LIBS -ldgc" | |
3525 fi | |
3526 | |
3527 echo "$as_me:$LINENO: checking for gethostbyname in -lresolv" >&5 | |
3528 echo $ECHO_N "checking for gethostbyname in -lresolv... $ECHO_C" >&6 | |
3529 if test "${ac_cv_lib_resolv_gethostbyname+set}" = set; then | |
3530 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
3531 else | |
3532 ac_check_lib_save_LIBS=$LIBS | |
3533 LIBS="-lresolv $LIBS" | |
3534 cat >conftest.$ac_ext <<_ACEOF | |
3535 #line $LINENO "configure" | |
3536 #include "confdefs.h" | |
3537 | |
3538 /* Override any gcc2 internal prototype to avoid an error. */ | |
3539 #ifdef __cplusplus | |
3540 extern "C" | |
3541 #endif | |
3542 /* We use char because int might match the return type of a gcc2 | |
3543 builtin and then its argument prototype would still apply. */ | |
3544 char gethostbyname (); | |
3545 #ifdef F77_DUMMY_MAIN | |
3546 # ifdef __cplusplus | |
3547 extern "C" | |
3548 # endif | |
3549 int F77_DUMMY_MAIN() { return 1; } | |
3550 #endif | |
3551 int | |
3552 main () | |
3553 { | |
3554 gethostbyname (); | |
3555 ; | |
3556 return 0; | |
3557 } | |
3558 _ACEOF | |
3559 rm -f conftest.$ac_objext conftest$ac_exeext | |
3560 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | |
3561 (eval $ac_link) 2>&5 | |
3562 ac_status=$? | |
3563 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3564 (exit $ac_status); } && | |
3565 { ac_try='test -s conftest$ac_exeext' | |
3566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
3567 (eval $ac_try) 2>&5 | |
3568 ac_status=$? | |
3569 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3570 (exit $ac_status); }; }; then | |
3571 ac_cv_lib_resolv_gethostbyname=yes | |
3572 else | |
3573 echo "$as_me: failed program was:" >&5 | |
3574 cat conftest.$ac_ext >&5 | |
3575 ac_cv_lib_resolv_gethostbyname=no | |
3576 fi | |
3577 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
3578 LIBS=$ac_check_lib_save_LIBS | |
3579 fi | |
3580 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_gethostbyname" >&5 | |
3581 echo "${ECHO_T}$ac_cv_lib_resolv_gethostbyname" >&6 | |
3582 if test $ac_cv_lib_resolv_gethostbyname = yes; then | 4965 if test $ac_cv_lib_resolv_gethostbyname = yes; then |
3583 LIBS="$LIBS -lresolv" | 4966 LIBS="$LIBS -lresolv" |
3584 fi | 4967 fi |
3585 | 4968 |
3586 | 4969 |
3587 OPSYSTEM=`uname -s` | 4970 OPSYSTEM=`uname -s` |
3588 | 4971 |
3589 if test $OPSYSTEM = "Darwin"; then | 4972 if test $OPSYSTEM = "Darwin"; then |
3590 DW_SRC=mac | 4973 DW_SRC=mac |
3591 DW_DEFINE=__MAC__ | 4974 DW_DEFINE=__MAC__ |
3592 SHAREDFLAG=-dynamiclib | 4975 SHAREDFLAG=-dynamiclib |
3593 SOSUFFIX=dylib | 4976 SOSUFFIX=dylib |
3594 LIBS="$LIBS -framework Carbon" | 4977 LIBS="$LIBS -framework Carbon" |
3595 else | 4978 else |
3596 # Extract the first word of "pkg-config", so it can be a program name with args. | 4979 # Extract the first word of "pkg-config", so it can be a program name with args. |
3597 set dummy pkg-config; ac_word=$2 | 4980 set dummy pkg-config; ac_word=$2 |
3598 echo "$as_me:$LINENO: checking for $ac_word" >&5 | 4981 { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3599 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 4982 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
3600 if test "${ac_cv_prog_PKG_CFG+set}" = set; then | 4983 if test "${ac_cv_prog_PKG_CFG+set}" = set; then |
3601 echo $ECHO_N "(cached) $ECHO_C" >&6 | 4984 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3602 else | 4985 else |
3603 if test -n "$PKG_CFG"; then | 4986 if test -n "$PKG_CFG"; then |
3604 ac_cv_prog_PKG_CFG="$PKG_CFG" # Let the user override the test. | 4987 ac_cv_prog_PKG_CFG="$PKG_CFG" # Let the user override the test. |
3607 for as_dir in $PATH | 4990 for as_dir in $PATH |
3608 do | 4991 do |
3609 IFS=$as_save_IFS | 4992 IFS=$as_save_IFS |
3610 test -z "$as_dir" && as_dir=. | 4993 test -z "$as_dir" && as_dir=. |
3611 for ac_exec_ext in '' $ac_executable_extensions; do | 4994 for ac_exec_ext in '' $ac_executable_extensions; do |
3612 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 4995 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3613 ac_cv_prog_PKG_CFG="pkg-config" | 4996 ac_cv_prog_PKG_CFG="pkg-config" |
3614 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 4997 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3615 break 2 | 4998 break 2 |
3616 fi | 4999 fi |
3617 done | 5000 done |
3618 done | 5001 done |
5002 IFS=$as_save_IFS | |
3619 | 5003 |
3620 fi | 5004 fi |
3621 fi | 5005 fi |
3622 PKG_CFG=$ac_cv_prog_PKG_CFG | 5006 PKG_CFG=$ac_cv_prog_PKG_CFG |
3623 if test -n "$PKG_CFG"; then | 5007 if test -n "$PKG_CFG"; then |
3624 echo "$as_me:$LINENO: result: $PKG_CFG" >&5 | 5008 { echo "$as_me:$LINENO: result: $PKG_CFG" >&5 |
3625 echo "${ECHO_T}$PKG_CFG" >&6 | 5009 echo "${ECHO_T}$PKG_CFG" >&6; } |
3626 else | 5010 else |
3627 echo "$as_me:$LINENO: result: no" >&5 | 5011 { echo "$as_me:$LINENO: result: no" >&5 |
3628 echo "${ECHO_T}no" >&6 | 5012 echo "${ECHO_T}no" >&6; } |
3629 fi | 5013 fi |
3630 | 5014 |
3631 if test x"$PKG_CFG" != x; then | 5015 |
3632 GTK_LIBS=`$PKG_CFG --silence-errors --libs gtk+-2.0 gthread-2.0` | 5016 if test x"$PKG_CFG" != x; then |
3633 MOZEMBED_LIBS=`$PKG_CFG --silence-errors --libs firefox-gtkmozembed` | 5017 GTK_LIBS=`$PKG_CFG --silence-errors --libs gtk+-2.0 gthread-2.0` |
3634 MOZEMBED_CFLAGS=`$PKG_CFG --silence-errors --cflags firefox-gtkmozembed` | 5018 MOZEMBED_LIBS=`$PKG_CFG --silence-errors --libs firefox-gtkmozembed` |
3635 RPATH=`$PKG_CFG --silence-errors --libs-only-L firefox-gtkmozembed | cut -b 3-` | 5019 MOZEMBED_CFLAGS=`$PKG_CFG --silence-errors --cflags firefox-gtkmozembed` |
3636 if test x"$MOZEMBED_LIBS" = x; then | 5020 RPATH=`$PKG_CFG --silence-errors --libs-only-L firefox-gtkmozembed | cut -b 3-` |
3637 MOZEMBED_LIBS=`$PKG_CFG --silence-errors --libs mozilla-gtkmozembed` | 5021 if test x"$MOZEMBED_LIBS" = x; then |
3638 MOZEMBED_CFLAGS=`$PKG_CFG --silence-errors --cflags mozilla-gtkmozembed` | 5022 MOZEMBED_LIBS=`$PKG_CFG --silence-errors --libs mozilla-gtkmozembed` |
3639 RPATH=`$PKG_CFG --silence-errors --libs-only-L mozilla-gtkmozembed | cut -b 3-` | 5023 MOZEMBED_CFLAGS=`$PKG_CFG --silence-errors --cflags mozilla-gtkmozembed` |
3640 fi | 5024 RPATH=`$PKG_CFG --silence-errors --libs-only-L mozilla-gtkmozembed | cut -b 3-` |
3641 if test x"$RPATH" != x; then | 5025 fi |
3642 RPATH="-Wl,-R$RPATH" | 5026 if test x"$RPATH" != x; then |
3643 fi | 5027 RPATH="-Wl,-R$RPATH" |
3644 fi | 5028 fi |
3645 | 5029 fi |
3646 if test x"$GTK_LIBS" = x; then | 5030 |
3647 | 5031 if test x"$GTK_LIBS" = x; then |
3648 # Check whether --with-glib-prefix or --without-glib-prefix was given. | 5032 |
5033 # Check whether --with-glib-prefix was given. | |
3649 if test "${with_glib_prefix+set}" = set; then | 5034 if test "${with_glib_prefix+set}" = set; then |
3650 withval="$with_glib_prefix" | 5035 withval=$with_glib_prefix; glib_config_prefix="$withval" |
3651 glib_config_prefix="$withval" | |
3652 else | 5036 else |
3653 glib_config_prefix="" | 5037 glib_config_prefix="" |
3654 fi; | 5038 fi |
3655 | 5039 |
3656 # Check whether --with-glib-exec-prefix or --without-glib-exec-prefix was given. | 5040 |
5041 # Check whether --with-glib-exec-prefix was given. | |
3657 if test "${with_glib_exec_prefix+set}" = set; then | 5042 if test "${with_glib_exec_prefix+set}" = set; then |
3658 withval="$with_glib_exec_prefix" | 5043 withval=$with_glib_exec_prefix; glib_config_exec_prefix="$withval" |
3659 glib_config_exec_prefix="$withval" | |
3660 else | 5044 else |
3661 glib_config_exec_prefix="" | 5045 glib_config_exec_prefix="" |
3662 fi; | 5046 fi |
3663 # Check whether --enable-glibtest or --disable-glibtest was given. | 5047 |
5048 # Check whether --enable-glibtest was given. | |
3664 if test "${enable_glibtest+set}" = set; then | 5049 if test "${enable_glibtest+set}" = set; then |
3665 enableval="$enable_glibtest" | 5050 enableval=$enable_glibtest; |
3666 | |
3667 else | 5051 else |
3668 enable_glibtest=yes | 5052 enable_glibtest=yes |
3669 fi; | 5053 fi |
5054 | |
3670 | 5055 |
3671 if test x$glib_config_exec_prefix != x ; then | 5056 if test x$glib_config_exec_prefix != x ; then |
3672 glib_config_args="$glib_config_args --exec-prefix=$glib_config_exec_prefix" | 5057 glib_config_args="$glib_config_args --exec-prefix=$glib_config_exec_prefix" |
3673 if test x${GLIB_CONFIG+set} != xset ; then | 5058 if test x${GLIB_CONFIG+set} != xset ; then |
3674 GLIB_CONFIG=$glib_config_exec_prefix/bin/glib-config | 5059 GLIB_CONFIG=$glib_config_exec_prefix/bin/glib-config |
3693 esac | 5078 esac |
3694 done | 5079 done |
3695 | 5080 |
3696 # Extract the first word of "glib-config", so it can be a program name with args. | 5081 # Extract the first word of "glib-config", so it can be a program name with args. |
3697 set dummy glib-config; ac_word=$2 | 5082 set dummy glib-config; ac_word=$2 |
3698 echo "$as_me:$LINENO: checking for $ac_word" >&5 | 5083 { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3699 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 5084 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
3700 if test "${ac_cv_path_GLIB_CONFIG+set}" = set; then | 5085 if test "${ac_cv_path_GLIB_CONFIG+set}" = set; then |
3701 echo $ECHO_N "(cached) $ECHO_C" >&6 | 5086 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3702 else | 5087 else |
3703 case $GLIB_CONFIG in | 5088 case $GLIB_CONFIG in |
3704 [\\/]* | ?:[\\/]*) | 5089 [\\/]* | ?:[\\/]*) |
3709 for as_dir in $PATH | 5094 for as_dir in $PATH |
3710 do | 5095 do |
3711 IFS=$as_save_IFS | 5096 IFS=$as_save_IFS |
3712 test -z "$as_dir" && as_dir=. | 5097 test -z "$as_dir" && as_dir=. |
3713 for ac_exec_ext in '' $ac_executable_extensions; do | 5098 for ac_exec_ext in '' $ac_executable_extensions; do |
3714 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 5099 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3715 ac_cv_path_GLIB_CONFIG="$as_dir/$ac_word$ac_exec_ext" | 5100 ac_cv_path_GLIB_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
3716 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 5101 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3717 break 2 | 5102 break 2 |
3718 fi | 5103 fi |
3719 done | 5104 done |
3720 done | 5105 done |
5106 IFS=$as_save_IFS | |
3721 | 5107 |
3722 test -z "$ac_cv_path_GLIB_CONFIG" && ac_cv_path_GLIB_CONFIG="no" | 5108 test -z "$ac_cv_path_GLIB_CONFIG" && ac_cv_path_GLIB_CONFIG="no" |
3723 ;; | 5109 ;; |
3724 esac | 5110 esac |
3725 fi | 5111 fi |
3726 GLIB_CONFIG=$ac_cv_path_GLIB_CONFIG | 5112 GLIB_CONFIG=$ac_cv_path_GLIB_CONFIG |
3727 | |
3728 if test -n "$GLIB_CONFIG"; then | 5113 if test -n "$GLIB_CONFIG"; then |
3729 echo "$as_me:$LINENO: result: $GLIB_CONFIG" >&5 | 5114 { echo "$as_me:$LINENO: result: $GLIB_CONFIG" >&5 |
3730 echo "${ECHO_T}$GLIB_CONFIG" >&6 | 5115 echo "${ECHO_T}$GLIB_CONFIG" >&6; } |
3731 else | 5116 else |
3732 echo "$as_me:$LINENO: result: no" >&5 | 5117 { echo "$as_me:$LINENO: result: no" >&5 |
3733 echo "${ECHO_T}no" >&6 | 5118 echo "${ECHO_T}no" >&6; } |
3734 fi | 5119 fi |
5120 | |
3735 | 5121 |
3736 min_glib_version=1.2.0 | 5122 min_glib_version=1.2.0 |
3737 echo "$as_me:$LINENO: checking for GLIB - version >= $min_glib_version" >&5 | 5123 { echo "$as_me:$LINENO: checking for GLIB - version >= $min_glib_version" >&5 |
3738 echo $ECHO_N "checking for GLIB - version >= $min_glib_version... $ECHO_C" >&6 | 5124 echo $ECHO_N "checking for GLIB - version >= $min_glib_version... $ECHO_C" >&6; } |
3739 no_glib="" | 5125 no_glib="" |
3740 if test "$GLIB_CONFIG" = "no" ; then | 5126 if test "$GLIB_CONFIG" = "no" ; then |
3741 no_glib=yes | 5127 no_glib=yes |
3742 else | 5128 else |
3743 GLIB_CFLAGS=`$GLIB_CONFIG $glib_config_args --cflags` | 5129 GLIB_CFLAGS=`$GLIB_CONFIG $glib_config_args --cflags` |
3756 rm -f conf.glibtest | 5142 rm -f conf.glibtest |
3757 if test "$cross_compiling" = yes; then | 5143 if test "$cross_compiling" = yes; then |
3758 echo $ac_n "cross compiling; assumed OK... $ac_c" | 5144 echo $ac_n "cross compiling; assumed OK... $ac_c" |
3759 else | 5145 else |
3760 cat >conftest.$ac_ext <<_ACEOF | 5146 cat >conftest.$ac_ext <<_ACEOF |
3761 #line $LINENO "configure" | 5147 /* confdefs.h. */ |
3762 #include "confdefs.h" | 5148 _ACEOF |
5149 cat confdefs.h >>conftest.$ac_ext | |
5150 cat >>conftest.$ac_ext <<_ACEOF | |
5151 /* end confdefs.h. */ | |
3763 | 5152 |
3764 #include <glib.h> | 5153 #include <glib.h> |
3765 #include <stdio.h> | 5154 #include <stdio.h> |
3766 #include <stdlib.h> | 5155 #include <stdlib.h> |
3767 | 5156 |
3833 return 1; | 5222 return 1; |
3834 } | 5223 } |
3835 | 5224 |
3836 _ACEOF | 5225 _ACEOF |
3837 rm -f conftest$ac_exeext | 5226 rm -f conftest$ac_exeext |
3838 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 5227 if { (ac_try="$ac_link" |
3839 (eval $ac_link) 2>&5 | 5228 case "(($ac_try" in |
5229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
5230 *) ac_try_echo=$ac_try;; | |
5231 esac | |
5232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
5233 (eval "$ac_link") 2>&5 | |
3840 ac_status=$? | 5234 ac_status=$? |
3841 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5235 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3842 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 5236 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
3843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 5237 { (case "(($ac_try" in |
3844 (eval $ac_try) 2>&5 | 5238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
5239 *) ac_try_echo=$ac_try;; | |
5240 esac | |
5241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
5242 (eval "$ac_try") 2>&5 | |
3845 ac_status=$? | 5243 ac_status=$? |
3846 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5244 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3847 (exit $ac_status); }; }; then | 5245 (exit $ac_status); }; }; then |
3848 : | 5246 : |
3849 else | 5247 else |
3850 echo "$as_me: program exited with status $ac_status" >&5 | 5248 echo "$as_me: program exited with status $ac_status" >&5 |
3851 echo "$as_me: failed program was:" >&5 | 5249 echo "$as_me: failed program was:" >&5 |
3852 cat conftest.$ac_ext >&5 | 5250 sed 's/^/| /' conftest.$ac_ext >&5 |
5251 | |
3853 ( exit $ac_status ) | 5252 ( exit $ac_status ) |
3854 no_glib=yes | 5253 no_glib=yes |
3855 fi | 5254 fi |
3856 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 5255 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
3857 fi | 5256 fi |
5257 | |
5258 | |
3858 CFLAGS="$ac_save_CFLAGS" | 5259 CFLAGS="$ac_save_CFLAGS" |
3859 LIBS="$ac_save_LIBS" | 5260 LIBS="$ac_save_LIBS" |
3860 fi | 5261 fi |
3861 fi | 5262 fi |
3862 if test "x$no_glib" = x ; then | 5263 if test "x$no_glib" = x ; then |
3863 echo "$as_me:$LINENO: result: yes" >&5 | 5264 { echo "$as_me:$LINENO: result: yes" >&5 |
3864 echo "${ECHO_T}yes" >&6 | 5265 echo "${ECHO_T}yes" >&6; } |
3865 : | 5266 : |
3866 else | 5267 else |
3867 echo "$as_me:$LINENO: result: no" >&5 | 5268 { echo "$as_me:$LINENO: result: no" >&5 |
3868 echo "${ECHO_T}no" >&6 | 5269 echo "${ECHO_T}no" >&6; } |
3869 if test "$GLIB_CONFIG" = "no" ; then | 5270 if test "$GLIB_CONFIG" = "no" ; then |
3870 echo "*** The glib-config script installed by GLIB could not be found" | 5271 echo "*** The glib-config script installed by GLIB could not be found" |
3871 echo "*** If GLIB was installed in PREFIX, make sure PREFIX/bin is in" | 5272 echo "*** If GLIB was installed in PREFIX, make sure PREFIX/bin is in" |
3872 echo "*** your path, or set the GLIB_CONFIG environment variable to the" | 5273 echo "*** your path, or set the GLIB_CONFIG environment variable to the" |
3873 echo "*** full path to glib-config." | 5274 echo "*** full path to glib-config." |
3877 else | 5278 else |
3878 echo "*** Could not run GLIB test program, checking why..." | 5279 echo "*** Could not run GLIB test program, checking why..." |
3879 CFLAGS="$CFLAGS $GLIB_CFLAGS" | 5280 CFLAGS="$CFLAGS $GLIB_CFLAGS" |
3880 LIBS="$LIBS $GLIB_LIBS" | 5281 LIBS="$LIBS $GLIB_LIBS" |
3881 cat >conftest.$ac_ext <<_ACEOF | 5282 cat >conftest.$ac_ext <<_ACEOF |
3882 #line $LINENO "configure" | 5283 /* confdefs.h. */ |
3883 #include "confdefs.h" | 5284 _ACEOF |
5285 cat confdefs.h >>conftest.$ac_ext | |
5286 cat >>conftest.$ac_ext <<_ACEOF | |
5287 /* end confdefs.h. */ | |
3884 | 5288 |
3885 #include <glib.h> | 5289 #include <glib.h> |
3886 #include <stdio.h> | 5290 #include <stdio.h> |
3887 | 5291 |
3888 #ifdef F77_DUMMY_MAIN | |
3889 # ifdef __cplusplus | |
3890 extern "C" | |
3891 # endif | |
3892 int F77_DUMMY_MAIN() { return 1; } | |
3893 #endif | |
3894 int | 5292 int |
3895 main () | 5293 main () |
3896 { | 5294 { |
3897 return ((glib_major_version) || (glib_minor_version) || (glib_micro_version)); | 5295 return ((glib_major_version) || (glib_minor_version) || (glib_micro_version)); |
3898 ; | 5296 ; |
3899 return 0; | 5297 return 0; |
3900 } | 5298 } |
3901 _ACEOF | 5299 _ACEOF |
3902 rm -f conftest.$ac_objext conftest$ac_exeext | 5300 rm -f conftest.$ac_objext conftest$ac_exeext |
3903 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 5301 if { (ac_try="$ac_link" |
3904 (eval $ac_link) 2>&5 | 5302 case "(($ac_try" in |
5303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
5304 *) ac_try_echo=$ac_try;; | |
5305 esac | |
5306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
5307 (eval "$ac_link") 2>conftest.er1 | |
3905 ac_status=$? | 5308 ac_status=$? |
5309 grep -v '^ *+' conftest.er1 >conftest.err | |
5310 rm -f conftest.er1 | |
5311 cat conftest.err >&5 | |
3906 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5312 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3907 (exit $ac_status); } && | 5313 (exit $ac_status); } && { |
3908 { ac_try='test -s conftest$ac_exeext' | 5314 test -z "$ac_c_werror_flag" || |
3909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 5315 test ! -s conftest.err |
3910 (eval $ac_try) 2>&5 | 5316 } && test -s conftest$ac_exeext && |
3911 ac_status=$? | 5317 $as_test_x conftest$ac_exeext; then |
3912 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3913 (exit $ac_status); }; }; then | |
3914 echo "*** The test program compiled, but did not run. This usually means" | 5318 echo "*** The test program compiled, but did not run. This usually means" |
3915 echo "*** that the run-time linker is not finding GLIB or finding the wrong" | 5319 echo "*** that the run-time linker is not finding GLIB or finding the wrong" |
3916 echo "*** version of GLIB. If it is not finding GLIB, you'll need to set your" | 5320 echo "*** version of GLIB. If it is not finding GLIB, you'll need to set your" |
3917 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" | 5321 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" |
3918 echo "*** to the installed location Also, make sure you have run ldconfig if that" | 5322 echo "*** to the installed location Also, make sure you have run ldconfig if that" |
3920 echo "***" | 5324 echo "***" |
3921 echo "*** If you have an old version installed, it is best to remove it, although" | 5325 echo "*** If you have an old version installed, it is best to remove it, although" |
3922 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" | 5326 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" |
3923 else | 5327 else |
3924 echo "$as_me: failed program was:" >&5 | 5328 echo "$as_me: failed program was:" >&5 |
3925 cat conftest.$ac_ext >&5 | 5329 sed 's/^/| /' conftest.$ac_ext >&5 |
3926 echo "*** The test program failed to compile or link. See the file config.log for the" | 5330 |
5331 echo "*** The test program failed to compile or link. See the file config.log for the" | |
3927 echo "*** exact error that occured. This usually means GLIB was incorrectly installed" | 5332 echo "*** exact error that occured. This usually means GLIB was incorrectly installed" |
3928 echo "*** or that you have moved GLIB since it was installed. In the latter case, you" | 5333 echo "*** or that you have moved GLIB since it was installed. In the latter case, you" |
3929 echo "*** may want to edit the glib-config script: $GLIB_CONFIG" | 5334 echo "*** may want to edit the glib-config script: $GLIB_CONFIG" |
3930 fi | 5335 fi |
3931 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 5336 |
5337 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
5338 conftest$ac_exeext conftest.$ac_ext | |
3932 CFLAGS="$ac_save_CFLAGS" | 5339 CFLAGS="$ac_save_CFLAGS" |
3933 LIBS="$ac_save_LIBS" | 5340 LIBS="$ac_save_LIBS" |
3934 fi | 5341 fi |
3935 fi | 5342 fi |
3936 GLIB_CFLAGS="" | 5343 GLIB_CFLAGS="" |
3946 | 5353 |
3947 | 5354 |
3948 rm -f conf.glibtest | 5355 rm -f conf.glibtest |
3949 | 5356 |
3950 | 5357 |
3951 # Check whether --with-gtk-prefix or --without-gtk-prefix was given. | 5358 # Check whether --with-gtk-prefix was given. |
3952 if test "${with_gtk_prefix+set}" = set; then | 5359 if test "${with_gtk_prefix+set}" = set; then |
3953 withval="$with_gtk_prefix" | 5360 withval=$with_gtk_prefix; gtk_config_prefix="$withval" |
3954 gtk_config_prefix="$withval" | |
3955 else | 5361 else |
3956 gtk_config_prefix="" | 5362 gtk_config_prefix="" |
3957 fi; | 5363 fi |
3958 | 5364 |
3959 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given. | 5365 |
5366 # Check whether --with-gtk-exec-prefix was given. | |
3960 if test "${with_gtk_exec_prefix+set}" = set; then | 5367 if test "${with_gtk_exec_prefix+set}" = set; then |
3961 withval="$with_gtk_exec_prefix" | 5368 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval" |
3962 gtk_config_exec_prefix="$withval" | |
3963 else | 5369 else |
3964 gtk_config_exec_prefix="" | 5370 gtk_config_exec_prefix="" |
3965 fi; | 5371 fi |
3966 # Check whether --enable-gtktest or --disable-gtktest was given. | 5372 |
5373 # Check whether --enable-gtktest was given. | |
3967 if test "${enable_gtktest+set}" = set; then | 5374 if test "${enable_gtktest+set}" = set; then |
3968 enableval="$enable_gtktest" | 5375 enableval=$enable_gtktest; |
3969 | |
3970 else | 5376 else |
3971 enable_gtktest=yes | 5377 enable_gtktest=yes |
3972 fi; | 5378 fi |
5379 | |
3973 | 5380 |
3974 for module in . gthread | 5381 for module in . gthread |
3975 do | 5382 do |
3976 case "$module" in | 5383 case "$module" in |
3977 gthread) | 5384 gthread) |
3993 fi | 5400 fi |
3994 fi | 5401 fi |
3995 | 5402 |
3996 # Extract the first word of "gtk-config", so it can be a program name with args. | 5403 # Extract the first word of "gtk-config", so it can be a program name with args. |
3997 set dummy gtk-config; ac_word=$2 | 5404 set dummy gtk-config; ac_word=$2 |
3998 echo "$as_me:$LINENO: checking for $ac_word" >&5 | 5405 { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3999 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 5406 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
4000 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then | 5407 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then |
4001 echo $ECHO_N "(cached) $ECHO_C" >&6 | 5408 echo $ECHO_N "(cached) $ECHO_C" >&6 |
4002 else | 5409 else |
4003 case $GTK_CONFIG in | 5410 case $GTK_CONFIG in |
4004 [\\/]* | ?:[\\/]*) | 5411 [\\/]* | ?:[\\/]*) |
4009 for as_dir in $PATH | 5416 for as_dir in $PATH |
4010 do | 5417 do |
4011 IFS=$as_save_IFS | 5418 IFS=$as_save_IFS |
4012 test -z "$as_dir" && as_dir=. | 5419 test -z "$as_dir" && as_dir=. |
4013 for ac_exec_ext in '' $ac_executable_extensions; do | 5420 for ac_exec_ext in '' $ac_executable_extensions; do |
4014 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 5421 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
4015 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext" | 5422 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
4016 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 5423 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4017 break 2 | 5424 break 2 |
4018 fi | 5425 fi |
4019 done | 5426 done |
4020 done | 5427 done |
5428 IFS=$as_save_IFS | |
4021 | 5429 |
4022 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no" | 5430 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no" |
4023 ;; | 5431 ;; |
4024 esac | 5432 esac |
4025 fi | 5433 fi |
4026 GTK_CONFIG=$ac_cv_path_GTK_CONFIG | 5434 GTK_CONFIG=$ac_cv_path_GTK_CONFIG |
4027 | |
4028 if test -n "$GTK_CONFIG"; then | 5435 if test -n "$GTK_CONFIG"; then |
4029 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5 | 5436 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5 |
4030 echo "${ECHO_T}$GTK_CONFIG" >&6 | 5437 echo "${ECHO_T}$GTK_CONFIG" >&6; } |
4031 else | 5438 else |
4032 echo "$as_me:$LINENO: result: no" >&5 | 5439 { echo "$as_me:$LINENO: result: no" >&5 |
4033 echo "${ECHO_T}no" >&6 | 5440 echo "${ECHO_T}no" >&6; } |
4034 fi | 5441 fi |
5442 | |
4035 | 5443 |
4036 min_gtk_version=1.2.0 | 5444 min_gtk_version=1.2.0 |
4037 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5 | 5445 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5 |
4038 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6 | 5446 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; } |
4039 no_gtk="" | 5447 no_gtk="" |
4040 if test "$GTK_CONFIG" = "no" ; then | 5448 if test "$GTK_CONFIG" = "no" ; then |
4041 no_gtk=yes | 5449 no_gtk=yes |
4042 else | 5450 else |
4043 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags` | 5451 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags` |
4056 rm -f conf.gtktest | 5464 rm -f conf.gtktest |
4057 if test "$cross_compiling" = yes; then | 5465 if test "$cross_compiling" = yes; then |
4058 echo $ac_n "cross compiling; assumed OK... $ac_c" | 5466 echo $ac_n "cross compiling; assumed OK... $ac_c" |
4059 else | 5467 else |
4060 cat >conftest.$ac_ext <<_ACEOF | 5468 cat >conftest.$ac_ext <<_ACEOF |
4061 #line $LINENO "configure" | 5469 /* confdefs.h. */ |
4062 #include "confdefs.h" | 5470 _ACEOF |
5471 cat confdefs.h >>conftest.$ac_ext | |
5472 cat >>conftest.$ac_ext <<_ACEOF | |
5473 /* end confdefs.h. */ | |
4063 | 5474 |
4064 #include <gtk/gtk.h> | 5475 #include <gtk/gtk.h> |
4065 #include <stdio.h> | 5476 #include <stdio.h> |
4066 #include <stdlib.h> | 5477 #include <stdlib.h> |
4067 | 5478 |
4135 return 1; | 5546 return 1; |
4136 } | 5547 } |
4137 | 5548 |
4138 _ACEOF | 5549 _ACEOF |
4139 rm -f conftest$ac_exeext | 5550 rm -f conftest$ac_exeext |
4140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 5551 if { (ac_try="$ac_link" |
4141 (eval $ac_link) 2>&5 | 5552 case "(($ac_try" in |
5553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
5554 *) ac_try_echo=$ac_try;; | |
5555 esac | |
5556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
5557 (eval "$ac_link") 2>&5 | |
4142 ac_status=$? | 5558 ac_status=$? |
4143 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5559 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4144 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 5560 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
4145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 5561 { (case "(($ac_try" in |
4146 (eval $ac_try) 2>&5 | 5562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
5563 *) ac_try_echo=$ac_try;; | |
5564 esac | |
5565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
5566 (eval "$ac_try") 2>&5 | |
4147 ac_status=$? | 5567 ac_status=$? |
4148 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5568 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4149 (exit $ac_status); }; }; then | 5569 (exit $ac_status); }; }; then |
4150 : | 5570 : |
4151 else | 5571 else |
4152 echo "$as_me: program exited with status $ac_status" >&5 | 5572 echo "$as_me: program exited with status $ac_status" >&5 |
4153 echo "$as_me: failed program was:" >&5 | 5573 echo "$as_me: failed program was:" >&5 |
4154 cat conftest.$ac_ext >&5 | 5574 sed 's/^/| /' conftest.$ac_ext >&5 |
5575 | |
4155 ( exit $ac_status ) | 5576 ( exit $ac_status ) |
4156 no_gtk=yes | 5577 no_gtk=yes |
4157 fi | 5578 fi |
4158 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 5579 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
4159 fi | 5580 fi |
5581 | |
5582 | |
4160 CFLAGS="$ac_save_CFLAGS" | 5583 CFLAGS="$ac_save_CFLAGS" |
4161 LIBS="$ac_save_LIBS" | 5584 LIBS="$ac_save_LIBS" |
4162 fi | 5585 fi |
4163 fi | 5586 fi |
4164 if test "x$no_gtk" = x ; then | 5587 if test "x$no_gtk" = x ; then |
4165 echo "$as_me:$LINENO: result: yes" >&5 | 5588 { echo "$as_me:$LINENO: result: yes" >&5 |
4166 echo "${ECHO_T}yes" >&6 | 5589 echo "${ECHO_T}yes" >&6; } |
4167 : | 5590 : |
4168 else | 5591 else |
4169 echo "$as_me:$LINENO: result: no" >&5 | 5592 { echo "$as_me:$LINENO: result: no" >&5 |
4170 echo "${ECHO_T}no" >&6 | 5593 echo "${ECHO_T}no" >&6; } |
4171 if test "$GTK_CONFIG" = "no" ; then | 5594 if test "$GTK_CONFIG" = "no" ; then |
4172 echo "*** The gtk-config script installed by GTK could not be found" | 5595 echo "*** The gtk-config script installed by GTK could not be found" |
4173 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in" | 5596 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in" |
4174 echo "*** your path, or set the GTK_CONFIG environment variable to the" | 5597 echo "*** your path, or set the GTK_CONFIG environment variable to the" |
4175 echo "*** full path to gtk-config." | 5598 echo "*** full path to gtk-config." |
4179 else | 5602 else |
4180 echo "*** Could not run GTK test program, checking why..." | 5603 echo "*** Could not run GTK test program, checking why..." |
4181 CFLAGS="$CFLAGS $GTK_CFLAGS" | 5604 CFLAGS="$CFLAGS $GTK_CFLAGS" |
4182 LIBS="$LIBS $GTK_LIBS" | 5605 LIBS="$LIBS $GTK_LIBS" |
4183 cat >conftest.$ac_ext <<_ACEOF | 5606 cat >conftest.$ac_ext <<_ACEOF |
4184 #line $LINENO "configure" | 5607 /* confdefs.h. */ |
4185 #include "confdefs.h" | 5608 _ACEOF |
5609 cat confdefs.h >>conftest.$ac_ext | |
5610 cat >>conftest.$ac_ext <<_ACEOF | |
5611 /* end confdefs.h. */ | |
4186 | 5612 |
4187 #include <gtk/gtk.h> | 5613 #include <gtk/gtk.h> |
4188 #include <stdio.h> | 5614 #include <stdio.h> |
4189 | 5615 |
4190 #ifdef F77_DUMMY_MAIN | |
4191 # ifdef __cplusplus | |
4192 extern "C" | |
4193 # endif | |
4194 int F77_DUMMY_MAIN() { return 1; } | |
4195 #endif | |
4196 int | 5616 int |
4197 main () | 5617 main () |
4198 { | 5618 { |
4199 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version)); | 5619 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version)); |
4200 ; | 5620 ; |
4201 return 0; | 5621 return 0; |
4202 } | 5622 } |
4203 _ACEOF | 5623 _ACEOF |
4204 rm -f conftest.$ac_objext conftest$ac_exeext | 5624 rm -f conftest.$ac_objext conftest$ac_exeext |
4205 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 5625 if { (ac_try="$ac_link" |
4206 (eval $ac_link) 2>&5 | 5626 case "(($ac_try" in |
5627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
5628 *) ac_try_echo=$ac_try;; | |
5629 esac | |
5630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
5631 (eval "$ac_link") 2>conftest.er1 | |
4207 ac_status=$? | 5632 ac_status=$? |
5633 grep -v '^ *+' conftest.er1 >conftest.err | |
5634 rm -f conftest.er1 | |
5635 cat conftest.err >&5 | |
4208 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5636 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4209 (exit $ac_status); } && | 5637 (exit $ac_status); } && { |
4210 { ac_try='test -s conftest$ac_exeext' | 5638 test -z "$ac_c_werror_flag" || |
4211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 5639 test ! -s conftest.err |
4212 (eval $ac_try) 2>&5 | 5640 } && test -s conftest$ac_exeext && |
4213 ac_status=$? | 5641 $as_test_x conftest$ac_exeext; then |
4214 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4215 (exit $ac_status); }; }; then | |
4216 echo "*** The test program compiled, but did not run. This usually means" | 5642 echo "*** The test program compiled, but did not run. This usually means" |
4217 echo "*** that the run-time linker is not finding GTK or finding the wrong" | 5643 echo "*** that the run-time linker is not finding GTK or finding the wrong" |
4218 echo "*** version of GTK. If it is not finding GTK, you'll need to set your" | 5644 echo "*** version of GTK. If it is not finding GTK, you'll need to set your" |
4219 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" | 5645 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" |
4220 echo "*** to the installed location Also, make sure you have run ldconfig if that" | 5646 echo "*** to the installed location Also, make sure you have run ldconfig if that" |
4222 echo "***" | 5648 echo "***" |
4223 echo "*** If you have an old version installed, it is best to remove it, although" | 5649 echo "*** If you have an old version installed, it is best to remove it, although" |
4224 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" | 5650 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" |
4225 else | 5651 else |
4226 echo "$as_me: failed program was:" >&5 | 5652 echo "$as_me: failed program was:" >&5 |
4227 cat conftest.$ac_ext >&5 | 5653 sed 's/^/| /' conftest.$ac_ext >&5 |
4228 echo "*** The test program failed to compile or link. See the file config.log for the" | 5654 |
5655 echo "*** The test program failed to compile or link. See the file config.log for the" | |
4229 echo "*** exact error that occured. This usually means GTK was incorrectly installed" | 5656 echo "*** exact error that occured. This usually means GTK was incorrectly installed" |
4230 echo "*** or that you have moved GTK since it was installed. In the latter case, you" | 5657 echo "*** or that you have moved GTK since it was installed. In the latter case, you" |
4231 echo "*** may want to edit the gtk-config script: $GTK_CONFIG" | 5658 echo "*** may want to edit the gtk-config script: $GTK_CONFIG" |
4232 fi | 5659 fi |
4233 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 5660 |
5661 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
5662 conftest$ac_exeext conftest.$ac_ext | |
4234 CFLAGS="$ac_save_CFLAGS" | 5663 CFLAGS="$ac_save_CFLAGS" |
4235 LIBS="$ac_save_LIBS" | 5664 LIBS="$ac_save_LIBS" |
4236 fi | 5665 fi |
4237 fi | 5666 fi |
4238 GTK_CFLAGS="" | 5667 GTK_CFLAGS="" |
4248 | 5677 |
4249 | 5678 |
4250 rm -f conf.gtktest | 5679 rm -f conf.gtktest |
4251 | 5680 |
4252 | 5681 |
4253 # Check whether --with-imlib-prefix or --without-imlib-prefix was given. | 5682 # Check whether --with-imlib-prefix was given. |
4254 if test "${with_imlib_prefix+set}" = set; then | 5683 if test "${with_imlib_prefix+set}" = set; then |
4255 withval="$with_imlib_prefix" | 5684 withval=$with_imlib_prefix; imlib_prefix="$withval" |
4256 imlib_prefix="$withval" | |
4257 else | 5685 else |
4258 imlib_prefix="" | 5686 imlib_prefix="" |
4259 fi; | 5687 fi |
4260 | 5688 |
4261 # Check whether --with-imlib-exec-prefix or --without-imlib-exec-prefix was given. | 5689 |
5690 # Check whether --with-imlib-exec-prefix was given. | |
4262 if test "${with_imlib_exec_prefix+set}" = set; then | 5691 if test "${with_imlib_exec_prefix+set}" = set; then |
4263 withval="$with_imlib_exec_prefix" | 5692 withval=$with_imlib_exec_prefix; imlib_exec_prefix="$withval" |
4264 imlib_exec_prefix="$withval" | |
4265 else | 5693 else |
4266 imlib_exec_prefix="" | 5694 imlib_exec_prefix="" |
4267 fi; | 5695 fi |
4268 # Check whether --enable-imlibtest or --disable-imlibtest was given. | 5696 |
5697 # Check whether --enable-imlibtest was given. | |
4269 if test "${enable_imlibtest+set}" = set; then | 5698 if test "${enable_imlibtest+set}" = set; then |
4270 enableval="$enable_imlibtest" | 5699 enableval=$enable_imlibtest; |
4271 | |
4272 else | 5700 else |
4273 enable_imlibtest=yes | 5701 enable_imlibtest=yes |
4274 fi; | 5702 fi |
5703 | |
4275 | 5704 |
4276 if test x$imlib_exec_prefix != x ; then | 5705 if test x$imlib_exec_prefix != x ; then |
4277 imlib_args="$imlib_args --exec-prefix=$imlib_exec_prefix" | 5706 imlib_args="$imlib_args --exec-prefix=$imlib_exec_prefix" |
4278 if test x${IMLIB_CONFIG+set} != xset ; then | 5707 if test x${IMLIB_CONFIG+set} != xset ; then |
4279 IMLIB_CONFIG=$imlib_exec_prefix/bin/imlib-config | 5708 IMLIB_CONFIG=$imlib_exec_prefix/bin/imlib-config |
4286 fi | 5715 fi |
4287 fi | 5716 fi |
4288 | 5717 |
4289 # Extract the first word of "imlib-config", so it can be a program name with args. | 5718 # Extract the first word of "imlib-config", so it can be a program name with args. |
4290 set dummy imlib-config; ac_word=$2 | 5719 set dummy imlib-config; ac_word=$2 |
4291 echo "$as_me:$LINENO: checking for $ac_word" >&5 | 5720 { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
4292 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 5721 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
4293 if test "${ac_cv_path_IMLIB_CONFIG+set}" = set; then | 5722 if test "${ac_cv_path_IMLIB_CONFIG+set}" = set; then |
4294 echo $ECHO_N "(cached) $ECHO_C" >&6 | 5723 echo $ECHO_N "(cached) $ECHO_C" >&6 |
4295 else | 5724 else |
4296 case $IMLIB_CONFIG in | 5725 case $IMLIB_CONFIG in |
4297 [\\/]* | ?:[\\/]*) | 5726 [\\/]* | ?:[\\/]*) |
4302 for as_dir in $PATH | 5731 for as_dir in $PATH |
4303 do | 5732 do |
4304 IFS=$as_save_IFS | 5733 IFS=$as_save_IFS |
4305 test -z "$as_dir" && as_dir=. | 5734 test -z "$as_dir" && as_dir=. |
4306 for ac_exec_ext in '' $ac_executable_extensions; do | 5735 for ac_exec_ext in '' $ac_executable_extensions; do |
4307 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 5736 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
4308 ac_cv_path_IMLIB_CONFIG="$as_dir/$ac_word$ac_exec_ext" | 5737 ac_cv_path_IMLIB_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
4309 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 5738 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4310 break 2 | 5739 break 2 |
4311 fi | 5740 fi |
4312 done | 5741 done |
4313 done | 5742 done |
5743 IFS=$as_save_IFS | |
4314 | 5744 |
4315 test -z "$ac_cv_path_IMLIB_CONFIG" && ac_cv_path_IMLIB_CONFIG="no" | 5745 test -z "$ac_cv_path_IMLIB_CONFIG" && ac_cv_path_IMLIB_CONFIG="no" |
4316 ;; | 5746 ;; |
4317 esac | 5747 esac |
4318 fi | 5748 fi |
4319 IMLIB_CONFIG=$ac_cv_path_IMLIB_CONFIG | 5749 IMLIB_CONFIG=$ac_cv_path_IMLIB_CONFIG |
4320 | |
4321 if test -n "$IMLIB_CONFIG"; then | 5750 if test -n "$IMLIB_CONFIG"; then |
4322 echo "$as_me:$LINENO: result: $IMLIB_CONFIG" >&5 | 5751 { echo "$as_me:$LINENO: result: $IMLIB_CONFIG" >&5 |
4323 echo "${ECHO_T}$IMLIB_CONFIG" >&6 | 5752 echo "${ECHO_T}$IMLIB_CONFIG" >&6; } |
4324 else | 5753 else |
4325 echo "$as_me:$LINENO: result: no" >&5 | 5754 { echo "$as_me:$LINENO: result: no" >&5 |
4326 echo "${ECHO_T}no" >&6 | 5755 echo "${ECHO_T}no" >&6; } |
4327 fi | 5756 fi |
5757 | |
4328 | 5758 |
4329 min_imlib_version=1.9.4 | 5759 min_imlib_version=1.9.4 |
4330 echo "$as_me:$LINENO: checking for IMLIB - version >= $min_imlib_version" >&5 | 5760 { echo "$as_me:$LINENO: checking for IMLIB - version >= $min_imlib_version" >&5 |
4331 echo $ECHO_N "checking for IMLIB - version >= $min_imlib_version... $ECHO_C" >&6 | 5761 echo $ECHO_N "checking for IMLIB - version >= $min_imlib_version... $ECHO_C" >&6; } |
4332 no_imlib="" | 5762 no_imlib="" |
4333 if test "$IMLIB_CONFIG" = "no" ; then | 5763 if test "$IMLIB_CONFIG" = "no" ; then |
4334 no_imlib=yes | 5764 no_imlib=yes |
4335 else | 5765 else |
4336 GDK_IMLIB_CFLAGS=`$IMLIB_CONFIG $imlibconf_args --cflags-gdk` | 5766 GDK_IMLIB_CFLAGS=`$IMLIB_CONFIG $imlibconf_args --cflags-gdk` |
4350 rm -f conf.imlibtest | 5780 rm -f conf.imlibtest |
4351 if test "$cross_compiling" = yes; then | 5781 if test "$cross_compiling" = yes; then |
4352 echo $ac_n "cross compiling; assumed OK... $ac_c" | 5782 echo $ac_n "cross compiling; assumed OK... $ac_c" |
4353 else | 5783 else |
4354 cat >conftest.$ac_ext <<_ACEOF | 5784 cat >conftest.$ac_ext <<_ACEOF |
4355 #line $LINENO "configure" | 5785 /* confdefs.h. */ |
4356 #include "confdefs.h" | 5786 _ACEOF |
5787 cat confdefs.h >>conftest.$ac_ext | |
5788 cat >>conftest.$ac_ext <<_ACEOF | |
5789 /* end confdefs.h. */ | |
4357 | 5790 |
4358 #include <stdio.h> | 5791 #include <stdio.h> |
4359 #include <stdlib.h> | 5792 #include <stdlib.h> |
4360 #include <gdk_imlib.h> | 5793 #include <gdk_imlib.h> |
4361 | 5794 |
4393 } | 5826 } |
4394 | 5827 |
4395 | 5828 |
4396 _ACEOF | 5829 _ACEOF |
4397 rm -f conftest$ac_exeext | 5830 rm -f conftest$ac_exeext |
4398 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 5831 if { (ac_try="$ac_link" |
4399 (eval $ac_link) 2>&5 | 5832 case "(($ac_try" in |
5833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
5834 *) ac_try_echo=$ac_try;; | |
5835 esac | |
5836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
5837 (eval "$ac_link") 2>&5 | |
4400 ac_status=$? | 5838 ac_status=$? |
4401 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5839 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4402 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 5840 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
4403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 5841 { (case "(($ac_try" in |
4404 (eval $ac_try) 2>&5 | 5842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
5843 *) ac_try_echo=$ac_try;; | |
5844 esac | |
5845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
5846 (eval "$ac_try") 2>&5 | |
4405 ac_status=$? | 5847 ac_status=$? |
4406 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5848 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4407 (exit $ac_status); }; }; then | 5849 (exit $ac_status); }; }; then |
4408 : | 5850 : |
4409 else | 5851 else |
4410 echo "$as_me: program exited with status $ac_status" >&5 | 5852 echo "$as_me: program exited with status $ac_status" >&5 |
4411 echo "$as_me: failed program was:" >&5 | 5853 echo "$as_me: failed program was:" >&5 |
4412 cat conftest.$ac_ext >&5 | 5854 sed 's/^/| /' conftest.$ac_ext >&5 |
5855 | |
4413 ( exit $ac_status ) | 5856 ( exit $ac_status ) |
4414 no_imlib=yes | 5857 no_imlib=yes |
4415 fi | 5858 fi |
4416 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 5859 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
4417 fi | 5860 fi |
5861 | |
5862 | |
4418 CFLAGS="$ac_save_CFLAGS" | 5863 CFLAGS="$ac_save_CFLAGS" |
4419 LIBS="$ac_save_LIBS" | 5864 LIBS="$ac_save_LIBS" |
4420 fi | 5865 fi |
4421 fi | 5866 fi |
4422 if test "x$no_imlib" = x ; then | 5867 if test "x$no_imlib" = x ; then |
4423 echo "$as_me:$LINENO: result: yes" >&5 | 5868 { echo "$as_me:$LINENO: result: yes" >&5 |
4424 echo "${ECHO_T}yes" >&6 | 5869 echo "${ECHO_T}yes" >&6; } |
4425 cat >>confdefs.h <<\_ACEOF | 5870 cat >>confdefs.h <<\_ACEOF |
4426 #define USE_IMLIB 1 | 5871 #define USE_IMLIB 1 |
4427 _ACEOF | 5872 _ACEOF |
4428 | 5873 |
4429 else | 5874 else |
4430 echo "$as_me:$LINENO: result: no" >&5 | 5875 { echo "$as_me:$LINENO: result: no" >&5 |
4431 echo "${ECHO_T}no" >&6 | 5876 echo "${ECHO_T}no" >&6; } |
4432 if test "$IMLIB_CONFIG" = "no" ; then | 5877 if test "$IMLIB_CONFIG" = "no" ; then |
4433 echo "*** The imlib-config script installed by IMLIB could not be found" | 5878 echo "*** The imlib-config script installed by IMLIB could not be found" |
4434 echo "*** If IMLIB was installed in PREFIX, make sure PREFIX/bin is in" | 5879 echo "*** If IMLIB was installed in PREFIX, make sure PREFIX/bin is in" |
4435 echo "*** your path, or set the IMLIB_CONFIG environment variable to the" | 5880 echo "*** your path, or set the IMLIB_CONFIG environment variable to the" |
4436 echo "*** full path to imlib-config." | 5881 echo "*** full path to imlib-config." |
4440 else | 5885 else |
4441 echo "*** Could not run IMLIB test program, checking why..." | 5886 echo "*** Could not run IMLIB test program, checking why..." |
4442 CFLAGS="$CFLAGS $GDK_IMLIB_CFLAGS" | 5887 CFLAGS="$CFLAGS $GDK_IMLIB_CFLAGS" |
4443 LIBS="$LIBS $GDK_IMLIB_LIBS" | 5888 LIBS="$LIBS $GDK_IMLIB_LIBS" |
4444 cat >conftest.$ac_ext <<_ACEOF | 5889 cat >conftest.$ac_ext <<_ACEOF |
4445 #line $LINENO "configure" | 5890 /* confdefs.h. */ |
4446 #include "confdefs.h" | 5891 _ACEOF |
5892 cat confdefs.h >>conftest.$ac_ext | |
5893 cat >>conftest.$ac_ext <<_ACEOF | |
5894 /* end confdefs.h. */ | |
4447 | 5895 |
4448 #include <stdio.h> | 5896 #include <stdio.h> |
4449 #include <gdk_imlib.h> | 5897 #include <gdk_imlib.h> |
4450 | 5898 |
4451 #ifdef F77_DUMMY_MAIN | |
4452 # ifdef __cplusplus | |
4453 extern "C" | |
4454 # endif | |
4455 int F77_DUMMY_MAIN() { return 1; } | |
4456 #endif | |
4457 int | 5899 int |
4458 main () | 5900 main () |
4459 { | 5901 { |
4460 return 0; | 5902 return 0; |
4461 ; | 5903 ; |
4462 return 0; | 5904 return 0; |
4463 } | 5905 } |
4464 _ACEOF | 5906 _ACEOF |
4465 rm -f conftest.$ac_objext conftest$ac_exeext | 5907 rm -f conftest.$ac_objext conftest$ac_exeext |
4466 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 5908 if { (ac_try="$ac_link" |
4467 (eval $ac_link) 2>&5 | 5909 case "(($ac_try" in |
5910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
5911 *) ac_try_echo=$ac_try;; | |
5912 esac | |
5913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
5914 (eval "$ac_link") 2>conftest.er1 | |
4468 ac_status=$? | 5915 ac_status=$? |
5916 grep -v '^ *+' conftest.er1 >conftest.err | |
5917 rm -f conftest.er1 | |
5918 cat conftest.err >&5 | |
4469 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5919 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4470 (exit $ac_status); } && | 5920 (exit $ac_status); } && { |
4471 { ac_try='test -s conftest$ac_exeext' | 5921 test -z "$ac_c_werror_flag" || |
4472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 5922 test ! -s conftest.err |
4473 (eval $ac_try) 2>&5 | 5923 } && test -s conftest$ac_exeext && |
4474 ac_status=$? | 5924 $as_test_x conftest$ac_exeext; then |
4475 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4476 (exit $ac_status); }; }; then | |
4477 echo "*** The test program compiled, but did not run. This usually means" | 5925 echo "*** The test program compiled, but did not run. This usually means" |
4478 echo "*** that the run-time linker is not finding IMLIB or finding the wrong" | 5926 echo "*** that the run-time linker is not finding IMLIB or finding the wrong" |
4479 echo "*** version of IMLIB. If it is not finding IMLIB, you'll need to set your" | 5927 echo "*** version of IMLIB. If it is not finding IMLIB, you'll need to set your" |
4480 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" | 5928 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" |
4481 echo "*** to the installed location Also, make sure you have run ldconfig if that" | 5929 echo "*** to the installed location Also, make sure you have run ldconfig if that" |
4483 echo "***" | 5931 echo "***" |
4484 echo "*** If you have an old version installed, it is best to remove it, although" | 5932 echo "*** If you have an old version installed, it is best to remove it, although" |
4485 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" | 5933 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" |
4486 else | 5934 else |
4487 echo "$as_me: failed program was:" >&5 | 5935 echo "$as_me: failed program was:" >&5 |
4488 cat conftest.$ac_ext >&5 | 5936 sed 's/^/| /' conftest.$ac_ext >&5 |
4489 echo "*** The test program failed to compile or link. See the file config.log for the" | 5937 |
5938 echo "*** The test program failed to compile or link. See the file config.log for the" | |
4490 echo "*** exact error that occured. This usually means IMLIB was incorrectly installed" | 5939 echo "*** exact error that occured. This usually means IMLIB was incorrectly installed" |
4491 echo "*** or that you have moved IMLIB since it was installed. In the latter case, you" | 5940 echo "*** or that you have moved IMLIB since it was installed. In the latter case, you" |
4492 echo "*** may want to edit the imlib-config script: $IMLIB_CONFIG" | 5941 echo "*** may want to edit the imlib-config script: $IMLIB_CONFIG" |
4493 fi | 5942 fi |
4494 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 5943 |
5944 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
5945 conftest$ac_exeext conftest.$ac_ext | |
4495 CFLAGS="$ac_save_CFLAGS" | 5946 CFLAGS="$ac_save_CFLAGS" |
4496 LIBS="$ac_save_LIBS" | 5947 LIBS="$ac_save_LIBS" |
4497 fi | 5948 fi |
4498 fi | 5949 fi |
4499 GDK_IMLIB_CFLAGS="" | 5950 GDK_IMLIB_CFLAGS="" |
4504 fi | 5955 fi |
4505 | 5956 |
4506 | 5957 |
4507 rm -f conf.gdkimlibtest | 5958 rm -f conf.gdkimlibtest |
4508 | 5959 |
4509 else | 5960 else |
4510 GTK_CFLAGS=`$PKG_CFG --cflags gtk+-2.0 gthread-2.0` | 5961 GTK_CFLAGS=`$PKG_CFG --cflags gtk+-2.0 gthread-2.0` |
4511 GTK_LIBS=`$PKG_CFG --libs gtk+-2.0 gthread-2.0` | 5962 GTK_LIBS=`$PKG_CFG --libs gtk+-2.0 gthread-2.0` |
4512 fi | 5963 fi |
4513 fi | 5964 fi |
4514 | 5965 |
4515 if test "${ac_cv_header_pthread_h+set}" = set; then | 5966 if test "${ac_cv_header_pthread_h+set}" = set; then |
4516 echo "$as_me:$LINENO: checking for pthread.h" >&5 | 5967 { echo "$as_me:$LINENO: checking for pthread.h" >&5 |
4517 echo $ECHO_N "checking for pthread.h... $ECHO_C" >&6 | 5968 echo $ECHO_N "checking for pthread.h... $ECHO_C" >&6; } |
4518 if test "${ac_cv_header_pthread_h+set}" = set; then | 5969 if test "${ac_cv_header_pthread_h+set}" = set; then |
4519 echo $ECHO_N "(cached) $ECHO_C" >&6 | 5970 echo $ECHO_N "(cached) $ECHO_C" >&6 |
4520 fi | 5971 fi |
4521 echo "$as_me:$LINENO: result: $ac_cv_header_pthread_h" >&5 | 5972 { echo "$as_me:$LINENO: result: $ac_cv_header_pthread_h" >&5 |
4522 echo "${ECHO_T}$ac_cv_header_pthread_h" >&6 | 5973 echo "${ECHO_T}$ac_cv_header_pthread_h" >&6; } |
4523 else | 5974 else |
4524 # Is the header compilable? | 5975 # Is the header compilable? |
4525 echo "$as_me:$LINENO: checking pthread.h usability" >&5 | 5976 { echo "$as_me:$LINENO: checking pthread.h usability" >&5 |
4526 echo $ECHO_N "checking pthread.h usability... $ECHO_C" >&6 | 5977 echo $ECHO_N "checking pthread.h usability... $ECHO_C" >&6; } |
4527 cat >conftest.$ac_ext <<_ACEOF | 5978 cat >conftest.$ac_ext <<_ACEOF |
4528 #line $LINENO "configure" | 5979 /* confdefs.h. */ |
4529 #include "confdefs.h" | 5980 _ACEOF |
5981 cat confdefs.h >>conftest.$ac_ext | |
5982 cat >>conftest.$ac_ext <<_ACEOF | |
5983 /* end confdefs.h. */ | |
4530 $ac_includes_default | 5984 $ac_includes_default |
4531 #include <pthread.h> | 5985 #include <pthread.h> |
4532 _ACEOF | 5986 _ACEOF |
4533 rm -f conftest.$ac_objext | 5987 rm -f conftest.$ac_objext |
4534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 5988 if { (ac_try="$ac_compile" |
4535 (eval $ac_compile) 2>&5 | 5989 case "(($ac_try" in |
5990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
5991 *) ac_try_echo=$ac_try;; | |
5992 esac | |
5993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
5994 (eval "$ac_compile") 2>conftest.er1 | |
4536 ac_status=$? | 5995 ac_status=$? |
4537 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5996 grep -v '^ *+' conftest.er1 >conftest.err |
4538 (exit $ac_status); } && | |
4539 { ac_try='test -s conftest.$ac_objext' | |
4540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
4541 (eval $ac_try) 2>&5 | |
4542 ac_status=$? | |
4543 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4544 (exit $ac_status); }; }; then | |
4545 ac_header_compiler=yes | |
4546 else | |
4547 echo "$as_me: failed program was:" >&5 | |
4548 cat conftest.$ac_ext >&5 | |
4549 ac_header_compiler=no | |
4550 fi | |
4551 rm -f conftest.$ac_objext conftest.$ac_ext | |
4552 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
4553 echo "${ECHO_T}$ac_header_compiler" >&6 | |
4554 | |
4555 # Is the header present? | |
4556 echo "$as_me:$LINENO: checking pthread.h presence" >&5 | |
4557 echo $ECHO_N "checking pthread.h presence... $ECHO_C" >&6 | |
4558 cat >conftest.$ac_ext <<_ACEOF | |
4559 #line $LINENO "configure" | |
4560 #include "confdefs.h" | |
4561 #include <pthread.h> | |
4562 _ACEOF | |
4563 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | |
4564 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | |
4565 ac_status=$? | |
4566 egrep -v '^ *\+' conftest.er1 >conftest.err | |
4567 rm -f conftest.er1 | 5997 rm -f conftest.er1 |
4568 cat conftest.err >&5 | 5998 cat conftest.err >&5 |
4569 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5999 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4570 (exit $ac_status); } >/dev/null; then | 6000 (exit $ac_status); } && { |
4571 if test -s conftest.err; then | 6001 test -z "$ac_c_werror_flag" || |
4572 ac_cpp_err=$ac_c_preproc_warn_flag | 6002 test ! -s conftest.err |
4573 else | 6003 } && test -s conftest.$ac_objext; then |
4574 ac_cpp_err= | 6004 ac_header_compiler=yes |
4575 fi | 6005 else |
4576 else | 6006 echo "$as_me: failed program was:" >&5 |
4577 ac_cpp_err=yes | 6007 sed 's/^/| /' conftest.$ac_ext >&5 |
4578 fi | 6008 |
4579 if test -z "$ac_cpp_err"; then | 6009 ac_header_compiler=no |
6010 fi | |
6011 | |
6012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
6013 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
6014 echo "${ECHO_T}$ac_header_compiler" >&6; } | |
6015 | |
6016 # Is the header present? | |
6017 { echo "$as_me:$LINENO: checking pthread.h presence" >&5 | |
6018 echo $ECHO_N "checking pthread.h presence... $ECHO_C" >&6; } | |
6019 cat >conftest.$ac_ext <<_ACEOF | |
6020 /* confdefs.h. */ | |
6021 _ACEOF | |
6022 cat confdefs.h >>conftest.$ac_ext | |
6023 cat >>conftest.$ac_ext <<_ACEOF | |
6024 /* end confdefs.h. */ | |
6025 #include <pthread.h> | |
6026 _ACEOF | |
6027 if { (ac_try="$ac_cpp conftest.$ac_ext" | |
6028 case "(($ac_try" in | |
6029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
6030 *) ac_try_echo=$ac_try;; | |
6031 esac | |
6032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
6033 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
6034 ac_status=$? | |
6035 grep -v '^ *+' conftest.er1 >conftest.err | |
6036 rm -f conftest.er1 | |
6037 cat conftest.err >&5 | |
6038 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
6039 (exit $ac_status); } >/dev/null && { | |
6040 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
6041 test ! -s conftest.err | |
6042 }; then | |
4580 ac_header_preproc=yes | 6043 ac_header_preproc=yes |
4581 else | 6044 else |
4582 echo "$as_me: failed program was:" >&5 | 6045 echo "$as_me: failed program was:" >&5 |
4583 cat conftest.$ac_ext >&5 | 6046 sed 's/^/| /' conftest.$ac_ext >&5 |
6047 | |
4584 ac_header_preproc=no | 6048 ac_header_preproc=no |
4585 fi | 6049 fi |
6050 | |
4586 rm -f conftest.err conftest.$ac_ext | 6051 rm -f conftest.err conftest.$ac_ext |
4587 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 6052 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
4588 echo "${ECHO_T}$ac_header_preproc" >&6 | 6053 echo "${ECHO_T}$ac_header_preproc" >&6; } |
4589 | 6054 |
4590 # So? What about this header? | 6055 # So? What about this header? |
4591 case $ac_header_compiler:$ac_header_preproc in | 6056 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
4592 yes:no ) | 6057 yes:no: ) |
4593 { echo "$as_me:$LINENO: WARNING: pthread.h: accepted by the compiler, rejected by the preprocessor!" >&5 | 6058 { echo "$as_me:$LINENO: WARNING: pthread.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
4594 echo "$as_me: WARNING: pthread.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | 6059 echo "$as_me: WARNING: pthread.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
4595 { echo "$as_me:$LINENO: WARNING: pthread.h: proceeding with the preprocessor's result" >&5 | 6060 { echo "$as_me:$LINENO: WARNING: pthread.h: proceeding with the compiler's result" >&5 |
4596 echo "$as_me: WARNING: pthread.h: proceeding with the preprocessor's result" >&2;};; | 6061 echo "$as_me: WARNING: pthread.h: proceeding with the compiler's result" >&2;} |
4597 no:yes ) | 6062 ac_header_preproc=yes |
6063 ;; | |
6064 no:yes:* ) | |
4598 { echo "$as_me:$LINENO: WARNING: pthread.h: present but cannot be compiled" >&5 | 6065 { echo "$as_me:$LINENO: WARNING: pthread.h: present but cannot be compiled" >&5 |
4599 echo "$as_me: WARNING: pthread.h: present but cannot be compiled" >&2;} | 6066 echo "$as_me: WARNING: pthread.h: present but cannot be compiled" >&2;} |
4600 { echo "$as_me:$LINENO: WARNING: pthread.h: check for missing prerequisite headers?" >&5 | 6067 { echo "$as_me:$LINENO: WARNING: pthread.h: check for missing prerequisite headers?" >&5 |
4601 echo "$as_me: WARNING: pthread.h: check for missing prerequisite headers?" >&2;} | 6068 echo "$as_me: WARNING: pthread.h: check for missing prerequisite headers?" >&2;} |
6069 { echo "$as_me:$LINENO: WARNING: pthread.h: see the Autoconf documentation" >&5 | |
6070 echo "$as_me: WARNING: pthread.h: see the Autoconf documentation" >&2;} | |
6071 { echo "$as_me:$LINENO: WARNING: pthread.h: section \"Present But Cannot Be Compiled\"" >&5 | |
6072 echo "$as_me: WARNING: pthread.h: section \"Present But Cannot Be Compiled\"" >&2;} | |
4602 { echo "$as_me:$LINENO: WARNING: pthread.h: proceeding with the preprocessor's result" >&5 | 6073 { echo "$as_me:$LINENO: WARNING: pthread.h: proceeding with the preprocessor's result" >&5 |
4603 echo "$as_me: WARNING: pthread.h: proceeding with the preprocessor's result" >&2;};; | 6074 echo "$as_me: WARNING: pthread.h: proceeding with the preprocessor's result" >&2;} |
4604 esac | 6075 { echo "$as_me:$LINENO: WARNING: pthread.h: in the future, the compiler will take precedence" >&5 |
4605 echo "$as_me:$LINENO: checking for pthread.h" >&5 | 6076 echo "$as_me: WARNING: pthread.h: in the future, the compiler will take precedence" >&2;} |
4606 echo $ECHO_N "checking for pthread.h... $ECHO_C" >&6 | 6077 |
6078 ;; | |
6079 esac | |
6080 { echo "$as_me:$LINENO: checking for pthread.h" >&5 | |
6081 echo $ECHO_N "checking for pthread.h... $ECHO_C" >&6; } | |
4607 if test "${ac_cv_header_pthread_h+set}" = set; then | 6082 if test "${ac_cv_header_pthread_h+set}" = set; then |
4608 echo $ECHO_N "(cached) $ECHO_C" >&6 | 6083 echo $ECHO_N "(cached) $ECHO_C" >&6 |
4609 else | 6084 else |
4610 ac_cv_header_pthread_h=$ac_header_preproc | 6085 ac_cv_header_pthread_h=$ac_header_preproc |
4611 fi | 6086 fi |
4612 echo "$as_me:$LINENO: result: $ac_cv_header_pthread_h" >&5 | 6087 { echo "$as_me:$LINENO: result: $ac_cv_header_pthread_h" >&5 |
4613 echo "${ECHO_T}$ac_cv_header_pthread_h" >&6 | 6088 echo "${ECHO_T}$ac_cv_header_pthread_h" >&6; } |
4614 | 6089 |
4615 fi | 6090 fi |
4616 if test $ac_cv_header_pthread_h = yes; then | 6091 if test $ac_cv_header_pthread_h = yes; then |
4617 : | 6092 : |
4618 else | 6093 else |
4620 echo "$as_me: error: pthread header not found. Dynamic Windows cannot build without it." >&2;} | 6095 echo "$as_me: error: pthread header not found. Dynamic Windows cannot build without it." >&2;} |
4621 { (exit 1); exit 1; }; } | 6096 { (exit 1); exit 1; }; } |
4622 fi | 6097 fi |
4623 | 6098 |
4624 | 6099 |
4625 echo "$as_me:$LINENO: checking for pthread_attr_init in -lpthread" >&5 | 6100 { echo "$as_me:$LINENO: checking for pthread_attr_init in -lpthread" >&5 |
4626 echo $ECHO_N "checking for pthread_attr_init in -lpthread... $ECHO_C" >&6 | 6101 echo $ECHO_N "checking for pthread_attr_init in -lpthread... $ECHO_C" >&6; } |
4627 if test "${ac_cv_lib_pthread_pthread_attr_init+set}" = set; then | 6102 if test "${ac_cv_lib_pthread_pthread_attr_init+set}" = set; then |
4628 echo $ECHO_N "(cached) $ECHO_C" >&6 | 6103 echo $ECHO_N "(cached) $ECHO_C" >&6 |
4629 else | 6104 else |
4630 ac_check_lib_save_LIBS=$LIBS | 6105 ac_check_lib_save_LIBS=$LIBS |
4631 LIBS="-lpthread $LIBS" | 6106 LIBS="-lpthread $LIBS" |
4632 cat >conftest.$ac_ext <<_ACEOF | 6107 cat >conftest.$ac_ext <<_ACEOF |
4633 #line $LINENO "configure" | 6108 /* confdefs.h. */ |
4634 #include "confdefs.h" | 6109 _ACEOF |
4635 | 6110 cat confdefs.h >>conftest.$ac_ext |
4636 /* Override any gcc2 internal prototype to avoid an error. */ | 6111 cat >>conftest.$ac_ext <<_ACEOF |
6112 /* end confdefs.h. */ | |
6113 | |
6114 /* Override any GCC internal prototype to avoid an error. | |
6115 Use char because int might match the return type of a GCC | |
6116 builtin and then its argument prototype would still apply. */ | |
4637 #ifdef __cplusplus | 6117 #ifdef __cplusplus |
4638 extern "C" | 6118 extern "C" |
4639 #endif | 6119 #endif |
4640 /* We use char because int might match the return type of a gcc2 | |
4641 builtin and then its argument prototype would still apply. */ | |
4642 char pthread_attr_init (); | 6120 char pthread_attr_init (); |
4643 #ifdef F77_DUMMY_MAIN | |
4644 # ifdef __cplusplus | |
4645 extern "C" | |
4646 # endif | |
4647 int F77_DUMMY_MAIN() { return 1; } | |
4648 #endif | |
4649 int | 6121 int |
4650 main () | 6122 main () |
4651 { | 6123 { |
4652 pthread_attr_init (); | 6124 return pthread_attr_init (); |
4653 ; | 6125 ; |
4654 return 0; | 6126 return 0; |
4655 } | 6127 } |
4656 _ACEOF | 6128 _ACEOF |
4657 rm -f conftest.$ac_objext conftest$ac_exeext | 6129 rm -f conftest.$ac_objext conftest$ac_exeext |
4658 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 6130 if { (ac_try="$ac_link" |
4659 (eval $ac_link) 2>&5 | 6131 case "(($ac_try" in |
6132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
6133 *) ac_try_echo=$ac_try;; | |
6134 esac | |
6135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
6136 (eval "$ac_link") 2>conftest.er1 | |
4660 ac_status=$? | 6137 ac_status=$? |
6138 grep -v '^ *+' conftest.er1 >conftest.err | |
6139 rm -f conftest.er1 | |
6140 cat conftest.err >&5 | |
4661 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6141 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4662 (exit $ac_status); } && | 6142 (exit $ac_status); } && { |
4663 { ac_try='test -s conftest$ac_exeext' | 6143 test -z "$ac_c_werror_flag" || |
4664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 6144 test ! -s conftest.err |
4665 (eval $ac_try) 2>&5 | 6145 } && test -s conftest$ac_exeext && |
4666 ac_status=$? | 6146 $as_test_x conftest$ac_exeext; then |
4667 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4668 (exit $ac_status); }; }; then | |
4669 ac_cv_lib_pthread_pthread_attr_init=yes | 6147 ac_cv_lib_pthread_pthread_attr_init=yes |
4670 else | 6148 else |
4671 echo "$as_me: failed program was:" >&5 | 6149 echo "$as_me: failed program was:" >&5 |
4672 cat conftest.$ac_ext >&5 | 6150 sed 's/^/| /' conftest.$ac_ext >&5 |
4673 ac_cv_lib_pthread_pthread_attr_init=no | 6151 |
4674 fi | 6152 ac_cv_lib_pthread_pthread_attr_init=no |
4675 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 6153 fi |
6154 | |
6155 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
6156 conftest$ac_exeext conftest.$ac_ext | |
4676 LIBS=$ac_check_lib_save_LIBS | 6157 LIBS=$ac_check_lib_save_LIBS |
4677 fi | 6158 fi |
4678 echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_attr_init" >&5 | 6159 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_attr_init" >&5 |
4679 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_attr_init" >&6 | 6160 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_attr_init" >&6; } |
4680 if test $ac_cv_lib_pthread_pthread_attr_init = yes; then | 6161 if test $ac_cv_lib_pthread_pthread_attr_init = yes; then |
4681 PTHREAD_LIBS="-lpthread" | 6162 PTHREAD_LIBS="-lpthread" |
4682 else | 6163 else |
4683 echo "$as_me:$LINENO: checking for pthread_attr_init in -lpthreads" >&5 | 6164 { echo "$as_me:$LINENO: checking for pthread_attr_init in -lpthreads" >&5 |
4684 echo $ECHO_N "checking for pthread_attr_init in -lpthreads... $ECHO_C" >&6 | 6165 echo $ECHO_N "checking for pthread_attr_init in -lpthreads... $ECHO_C" >&6; } |
4685 if test "${ac_cv_lib_pthreads_pthread_attr_init+set}" = set; then | 6166 if test "${ac_cv_lib_pthreads_pthread_attr_init+set}" = set; then |
4686 echo $ECHO_N "(cached) $ECHO_C" >&6 | 6167 echo $ECHO_N "(cached) $ECHO_C" >&6 |
4687 else | 6168 else |
4688 ac_check_lib_save_LIBS=$LIBS | 6169 ac_check_lib_save_LIBS=$LIBS |
4689 LIBS="-lpthreads $LIBS" | 6170 LIBS="-lpthreads $LIBS" |
4690 cat >conftest.$ac_ext <<_ACEOF | 6171 cat >conftest.$ac_ext <<_ACEOF |
4691 #line $LINENO "configure" | 6172 /* confdefs.h. */ |
4692 #include "confdefs.h" | 6173 _ACEOF |
4693 | 6174 cat confdefs.h >>conftest.$ac_ext |
4694 /* Override any gcc2 internal prototype to avoid an error. */ | 6175 cat >>conftest.$ac_ext <<_ACEOF |
6176 /* end confdefs.h. */ | |
6177 | |
6178 /* Override any GCC internal prototype to avoid an error. | |
6179 Use char because int might match the return type of a GCC | |
6180 builtin and then its argument prototype would still apply. */ | |
4695 #ifdef __cplusplus | 6181 #ifdef __cplusplus |
4696 extern "C" | 6182 extern "C" |
4697 #endif | 6183 #endif |
4698 /* We use char because int might match the return type of a gcc2 | |
4699 builtin and then its argument prototype would still apply. */ | |
4700 char pthread_attr_init (); | 6184 char pthread_attr_init (); |
4701 #ifdef F77_DUMMY_MAIN | |
4702 # ifdef __cplusplus | |
4703 extern "C" | |
4704 # endif | |
4705 int F77_DUMMY_MAIN() { return 1; } | |
4706 #endif | |
4707 int | 6185 int |
4708 main () | 6186 main () |
4709 { | 6187 { |
4710 pthread_attr_init (); | 6188 return pthread_attr_init (); |
4711 ; | 6189 ; |
4712 return 0; | 6190 return 0; |
4713 } | 6191 } |
4714 _ACEOF | 6192 _ACEOF |
4715 rm -f conftest.$ac_objext conftest$ac_exeext | 6193 rm -f conftest.$ac_objext conftest$ac_exeext |
4716 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 6194 if { (ac_try="$ac_link" |
4717 (eval $ac_link) 2>&5 | 6195 case "(($ac_try" in |
6196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
6197 *) ac_try_echo=$ac_try;; | |
6198 esac | |
6199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
6200 (eval "$ac_link") 2>conftest.er1 | |
4718 ac_status=$? | 6201 ac_status=$? |
6202 grep -v '^ *+' conftest.er1 >conftest.err | |
6203 rm -f conftest.er1 | |
6204 cat conftest.err >&5 | |
4719 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6205 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4720 (exit $ac_status); } && | 6206 (exit $ac_status); } && { |
4721 { ac_try='test -s conftest$ac_exeext' | 6207 test -z "$ac_c_werror_flag" || |
4722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 6208 test ! -s conftest.err |
4723 (eval $ac_try) 2>&5 | 6209 } && test -s conftest$ac_exeext && |
4724 ac_status=$? | 6210 $as_test_x conftest$ac_exeext; then |
4725 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4726 (exit $ac_status); }; }; then | |
4727 ac_cv_lib_pthreads_pthread_attr_init=yes | 6211 ac_cv_lib_pthreads_pthread_attr_init=yes |
4728 else | 6212 else |
4729 echo "$as_me: failed program was:" >&5 | 6213 echo "$as_me: failed program was:" >&5 |
4730 cat conftest.$ac_ext >&5 | 6214 sed 's/^/| /' conftest.$ac_ext >&5 |
4731 ac_cv_lib_pthreads_pthread_attr_init=no | 6215 |
4732 fi | 6216 ac_cv_lib_pthreads_pthread_attr_init=no |
4733 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 6217 fi |
6218 | |
6219 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
6220 conftest$ac_exeext conftest.$ac_ext | |
4734 LIBS=$ac_check_lib_save_LIBS | 6221 LIBS=$ac_check_lib_save_LIBS |
4735 fi | 6222 fi |
4736 echo "$as_me:$LINENO: result: $ac_cv_lib_pthreads_pthread_attr_init" >&5 | 6223 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthreads_pthread_attr_init" >&5 |
4737 echo "${ECHO_T}$ac_cv_lib_pthreads_pthread_attr_init" >&6 | 6224 echo "${ECHO_T}$ac_cv_lib_pthreads_pthread_attr_init" >&6; } |
4738 if test $ac_cv_lib_pthreads_pthread_attr_init = yes; then | 6225 if test $ac_cv_lib_pthreads_pthread_attr_init = yes; then |
4739 PTHREAD_LIBS="-lpthreads" | 6226 PTHREAD_LIBS="-lpthreads" |
4740 else | 6227 else |
4741 echo "$as_me:$LINENO: checking for pthread_attr_init in -lc_r" >&5 | 6228 { echo "$as_me:$LINENO: checking for pthread_attr_init in -lc_r" >&5 |
4742 echo $ECHO_N "checking for pthread_attr_init in -lc_r... $ECHO_C" >&6 | 6229 echo $ECHO_N "checking for pthread_attr_init in -lc_r... $ECHO_C" >&6; } |
4743 if test "${ac_cv_lib_c_r_pthread_attr_init+set}" = set; then | 6230 if test "${ac_cv_lib_c_r_pthread_attr_init+set}" = set; then |
4744 echo $ECHO_N "(cached) $ECHO_C" >&6 | 6231 echo $ECHO_N "(cached) $ECHO_C" >&6 |
4745 else | 6232 else |
4746 ac_check_lib_save_LIBS=$LIBS | 6233 ac_check_lib_save_LIBS=$LIBS |
4747 LIBS="-lc_r $LIBS" | 6234 LIBS="-lc_r $LIBS" |
4748 cat >conftest.$ac_ext <<_ACEOF | 6235 cat >conftest.$ac_ext <<_ACEOF |
4749 #line $LINENO "configure" | 6236 /* confdefs.h. */ |
4750 #include "confdefs.h" | 6237 _ACEOF |
4751 | 6238 cat confdefs.h >>conftest.$ac_ext |
4752 /* Override any gcc2 internal prototype to avoid an error. */ | 6239 cat >>conftest.$ac_ext <<_ACEOF |
6240 /* end confdefs.h. */ | |
6241 | |
6242 /* Override any GCC internal prototype to avoid an error. | |
6243 Use char because int might match the return type of a GCC | |
6244 builtin and then its argument prototype would still apply. */ | |
4753 #ifdef __cplusplus | 6245 #ifdef __cplusplus |
4754 extern "C" | 6246 extern "C" |
4755 #endif | 6247 #endif |
4756 /* We use char because int might match the return type of a gcc2 | |
4757 builtin and then its argument prototype would still apply. */ | |
4758 char pthread_attr_init (); | 6248 char pthread_attr_init (); |
4759 #ifdef F77_DUMMY_MAIN | |
4760 # ifdef __cplusplus | |
4761 extern "C" | |
4762 # endif | |
4763 int F77_DUMMY_MAIN() { return 1; } | |
4764 #endif | |
4765 int | 6249 int |
4766 main () | 6250 main () |
4767 { | 6251 { |
4768 pthread_attr_init (); | 6252 return pthread_attr_init (); |
4769 ; | 6253 ; |
4770 return 0; | 6254 return 0; |
4771 } | 6255 } |
4772 _ACEOF | 6256 _ACEOF |
4773 rm -f conftest.$ac_objext conftest$ac_exeext | 6257 rm -f conftest.$ac_objext conftest$ac_exeext |
4774 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 6258 if { (ac_try="$ac_link" |
4775 (eval $ac_link) 2>&5 | 6259 case "(($ac_try" in |
6260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
6261 *) ac_try_echo=$ac_try;; | |
6262 esac | |
6263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
6264 (eval "$ac_link") 2>conftest.er1 | |
4776 ac_status=$? | 6265 ac_status=$? |
6266 grep -v '^ *+' conftest.er1 >conftest.err | |
6267 rm -f conftest.er1 | |
6268 cat conftest.err >&5 | |
4777 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6269 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4778 (exit $ac_status); } && | 6270 (exit $ac_status); } && { |
4779 { ac_try='test -s conftest$ac_exeext' | 6271 test -z "$ac_c_werror_flag" || |
4780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 6272 test ! -s conftest.err |
4781 (eval $ac_try) 2>&5 | 6273 } && test -s conftest$ac_exeext && |
4782 ac_status=$? | 6274 $as_test_x conftest$ac_exeext; then |
4783 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4784 (exit $ac_status); }; }; then | |
4785 ac_cv_lib_c_r_pthread_attr_init=yes | 6275 ac_cv_lib_c_r_pthread_attr_init=yes |
4786 else | 6276 else |
4787 echo "$as_me: failed program was:" >&5 | 6277 echo "$as_me: failed program was:" >&5 |
4788 cat conftest.$ac_ext >&5 | 6278 sed 's/^/| /' conftest.$ac_ext >&5 |
4789 ac_cv_lib_c_r_pthread_attr_init=no | 6279 |
4790 fi | 6280 ac_cv_lib_c_r_pthread_attr_init=no |
4791 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 6281 fi |
6282 | |
6283 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
6284 conftest$ac_exeext conftest.$ac_ext | |
4792 LIBS=$ac_check_lib_save_LIBS | 6285 LIBS=$ac_check_lib_save_LIBS |
4793 fi | 6286 fi |
4794 echo "$as_me:$LINENO: result: $ac_cv_lib_c_r_pthread_attr_init" >&5 | 6287 { echo "$as_me:$LINENO: result: $ac_cv_lib_c_r_pthread_attr_init" >&5 |
4795 echo "${ECHO_T}$ac_cv_lib_c_r_pthread_attr_init" >&6 | 6288 echo "${ECHO_T}$ac_cv_lib_c_r_pthread_attr_init" >&6; } |
4796 if test $ac_cv_lib_c_r_pthread_attr_init = yes; then | 6289 if test $ac_cv_lib_c_r_pthread_attr_init = yes; then |
4797 PTHREAD_LIBS="-lc_r" | 6290 PTHREAD_LIBS="-lc_r" |
4798 else | 6291 else |
4799 { { echo "$as_me:$LINENO: error: pthread library not found. HandyFTP cannot build without it. | 6292 { { echo "$as_me:$LINENO: error: pthread library not found. dwindows cannot build without it. |
4800 " >&5 | 6293 " >&5 |
4801 echo "$as_me: error: pthread library not found. HandyFTP cannot build without it. | 6294 echo "$as_me: error: pthread library not found. dwindows cannot build without it. |
4802 " >&2;} | 6295 " >&2;} |
4803 { (exit 1); exit 1; }; } | 6296 { (exit 1); exit 1; }; } |
4804 | 6297 |
4805 fi | 6298 fi |
4806 | 6299 |
4807 | 6300 |
4812 | 6305 |
4813 | 6306 |
4814 CFLAGS="$CFLAGS $GTK_CFLAGS $GDK_IMLIB_FLAGS $MOZEMBED_CFLAGS" | 6307 CFLAGS="$CFLAGS $GTK_CFLAGS $GDK_IMLIB_FLAGS $MOZEMBED_CFLAGS" |
4815 | 6308 |
4816 if test x"$MOZEMBED_LIBS" != x; then | 6309 if test x"$MOZEMBED_LIBS" != x; then |
4817 SAVE_LIBS="$LIBS" | 6310 SAVE_LIBS="$LIBS" |
4818 LIBS="$LIBS $GTK_LIBS $PTHREAD_LIBS $GDK_IMLIB_LIBS $MOZEMBED_LIBS" | 6311 LIBS="$RPATH $LIBS $GTK_LIBS $PTHREAD_LIBS $GDK_IMLIB_LIBS $MOZEMBED_LIBS" |
4819 echo "$as_me:$LINENO: checking for gtk_moz_embed_new in -lgtkembedmoz" >&5 | 6312 { echo "$as_me:$LINENO: checking for gtk_moz_embed_new in -lgtkembedmoz" >&5 |
4820 echo $ECHO_N "checking for gtk_moz_embed_new in -lgtkembedmoz... $ECHO_C" >&6 | 6313 echo $ECHO_N "checking for gtk_moz_embed_new in -lgtkembedmoz... $ECHO_C" >&6; } |
4821 if test "${ac_cv_lib_gtkembedmoz_gtk_moz_embed_new+set}" = set; then | 6314 if test "${ac_cv_lib_gtkembedmoz_gtk_moz_embed_new+set}" = set; then |
4822 echo $ECHO_N "(cached) $ECHO_C" >&6 | 6315 echo $ECHO_N "(cached) $ECHO_C" >&6 |
4823 else | 6316 else |
4824 ac_check_lib_save_LIBS=$LIBS | 6317 ac_check_lib_save_LIBS=$LIBS |
4825 LIBS="-lgtkembedmoz $LIBS" | 6318 LIBS="-lgtkembedmoz $LIBS" |
4826 cat >conftest.$ac_ext <<_ACEOF | 6319 cat >conftest.$ac_ext <<_ACEOF |
4827 #line $LINENO "configure" | 6320 /* confdefs.h. */ |
4828 #include "confdefs.h" | 6321 _ACEOF |
4829 | 6322 cat confdefs.h >>conftest.$ac_ext |
4830 /* Override any gcc2 internal prototype to avoid an error. */ | 6323 cat >>conftest.$ac_ext <<_ACEOF |
6324 /* end confdefs.h. */ | |
6325 | |
6326 /* Override any GCC internal prototype to avoid an error. | |
6327 Use char because int might match the return type of a GCC | |
6328 builtin and then its argument prototype would still apply. */ | |
4831 #ifdef __cplusplus | 6329 #ifdef __cplusplus |
4832 extern "C" | 6330 extern "C" |
4833 #endif | 6331 #endif |
4834 /* We use char because int might match the return type of a gcc2 | |
4835 builtin and then its argument prototype would still apply. */ | |
4836 char gtk_moz_embed_new (); | 6332 char gtk_moz_embed_new (); |
4837 #ifdef F77_DUMMY_MAIN | |
4838 # ifdef __cplusplus | |
4839 extern "C" | |
4840 # endif | |
4841 int F77_DUMMY_MAIN() { return 1; } | |
4842 #endif | |
4843 int | 6333 int |
4844 main () | 6334 main () |
4845 { | 6335 { |
4846 gtk_moz_embed_new (); | 6336 return gtk_moz_embed_new (); |
4847 ; | 6337 ; |
4848 return 0; | 6338 return 0; |
4849 } | 6339 } |
4850 _ACEOF | 6340 _ACEOF |
4851 rm -f conftest.$ac_objext conftest$ac_exeext | 6341 rm -f conftest.$ac_objext conftest$ac_exeext |
4852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 6342 if { (ac_try="$ac_link" |
4853 (eval $ac_link) 2>&5 | 6343 case "(($ac_try" in |
6344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
6345 *) ac_try_echo=$ac_try;; | |
6346 esac | |
6347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
6348 (eval "$ac_link") 2>conftest.er1 | |
4854 ac_status=$? | 6349 ac_status=$? |
6350 grep -v '^ *+' conftest.er1 >conftest.err | |
6351 rm -f conftest.er1 | |
6352 cat conftest.err >&5 | |
4855 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6353 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4856 (exit $ac_status); } && | 6354 (exit $ac_status); } && { |
4857 { ac_try='test -s conftest$ac_exeext' | 6355 test -z "$ac_c_werror_flag" || |
4858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 6356 test ! -s conftest.err |
4859 (eval $ac_try) 2>&5 | 6357 } && test -s conftest$ac_exeext && |
4860 ac_status=$? | 6358 $as_test_x conftest$ac_exeext; then |
4861 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4862 (exit $ac_status); }; }; then | |
4863 ac_cv_lib_gtkembedmoz_gtk_moz_embed_new=yes | 6359 ac_cv_lib_gtkembedmoz_gtk_moz_embed_new=yes |
4864 else | 6360 else |
4865 echo "$as_me: failed program was:" >&5 | 6361 echo "$as_me: failed program was:" >&5 |
4866 cat conftest.$ac_ext >&5 | 6362 sed 's/^/| /' conftest.$ac_ext >&5 |
4867 ac_cv_lib_gtkembedmoz_gtk_moz_embed_new=no | 6363 |
4868 fi | 6364 ac_cv_lib_gtkembedmoz_gtk_moz_embed_new=no |
4869 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 6365 fi |
6366 | |
6367 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
6368 conftest$ac_exeext conftest.$ac_ext | |
4870 LIBS=$ac_check_lib_save_LIBS | 6369 LIBS=$ac_check_lib_save_LIBS |
4871 fi | 6370 fi |
4872 echo "$as_me:$LINENO: result: $ac_cv_lib_gtkembedmoz_gtk_moz_embed_new" >&5 | 6371 { echo "$as_me:$LINENO: result: $ac_cv_lib_gtkembedmoz_gtk_moz_embed_new" >&5 |
4873 echo "${ECHO_T}$ac_cv_lib_gtkembedmoz_gtk_moz_embed_new" >&6 | 6372 echo "${ECHO_T}$ac_cv_lib_gtkembedmoz_gtk_moz_embed_new" >&6; } |
4874 if test $ac_cv_lib_gtkembedmoz_gtk_moz_embed_new = yes; then | 6373 if test $ac_cv_lib_gtkembedmoz_gtk_moz_embed_new = yes; then |
4875 cat >>confdefs.h <<\_ACEOF | 6374 cat >>confdefs.h <<\_ACEOF |
4876 #define USE_GTKMOZEMBED 1 | 6375 #define USE_GTKMOZEMBED 1 |
4877 _ACEOF | 6376 _ACEOF |
4878 | 6377 |
4879 fi | 6378 fi |
4880 | 6379 |
4881 LIBS="$SAVE_LIBS" | 6380 LIBS="$SAVE_LIBS" |
4882 fi | 6381 fi |
4883 | 6382 |
4884 LIBS="$RPATH $LIBS $GTK_LIBS $PTHREAD_LIBS $GDK_IMLIB_LIBS" | 6383 LIBS="$RPATH $LIBS $GTK_LIBS $PTHREAD_LIBS $GDK_IMLIB_LIBS $MOZEMBED_LIBS" |
4885 | 6384 |
4886 RM="rm -f" | 6385 RM="rm -f" |
4887 LN="ln -s" | 6386 LN="ln -s" |
4888 CP="cp" | 6387 CP="cp" |
4889 MV="mv" | 6388 MV="mv" |
4912 # want to keep, you may remove or edit it. | 6411 # want to keep, you may remove or edit it. |
4913 # | 6412 # |
4914 # config.status only pays attention to the cache file if you give it | 6413 # config.status only pays attention to the cache file if you give it |
4915 # the --recheck option to rerun configure. | 6414 # the --recheck option to rerun configure. |
4916 # | 6415 # |
4917 # `ac_cv_env_foo' variables (set or unset) will be overriden when | 6416 # `ac_cv_env_foo' variables (set or unset) will be overridden when |
4918 # loading this file, other *unset* `ac_cv_foo' will be assigned the | 6417 # loading this file, other *unset* `ac_cv_foo' will be assigned the |
4919 # following values. | 6418 # following values. |
4920 | 6419 |
4921 _ACEOF | 6420 _ACEOF |
4922 | 6421 |
4923 # The following way of writing the cache mishandles newlines in values, | 6422 # The following way of writing the cache mishandles newlines in values, |
4924 # but we know of no workaround that is simple, portable, and efficient. | 6423 # but we know of no workaround that is simple, portable, and efficient. |
4925 # So, don't put newlines in cache variables' values. | 6424 # So, we kill variables containing newlines. |
4926 # Ultrix sh set writes to stderr and can't be redirected directly, | 6425 # Ultrix sh set writes to stderr and can't be redirected directly, |
4927 # and sets the high bit in the cache file unless we assign to the vars. | 6426 # and sets the high bit in the cache file unless we assign to the vars. |
4928 { | 6427 ( |
6428 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do | |
6429 eval ac_val=\$$ac_var | |
6430 case $ac_val in #( | |
6431 *${as_nl}*) | |
6432 case $ac_var in #( | |
6433 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 | |
6434 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; | |
6435 esac | |
6436 case $ac_var in #( | |
6437 _ | IFS | as_nl) ;; #( | |
6438 *) $as_unset $ac_var ;; | |
6439 esac ;; | |
6440 esac | |
6441 done | |
6442 | |
4929 (set) 2>&1 | | 6443 (set) 2>&1 | |
4930 case `(ac_space=' '; set | grep ac_space) 2>&1` in | 6444 case $as_nl`(ac_space=' '; set) 2>&1` in #( |
4931 *ac_space=\ *) | 6445 *${as_nl}ac_space=\ *) |
4932 # `set' does not quote correctly, so add quotes (double-quote | 6446 # `set' does not quote correctly, so add quotes (double-quote |
4933 # substitution turns \\\\ into \\, and sed turns \\ into \). | 6447 # substitution turns \\\\ into \\, and sed turns \\ into \). |
4934 sed -n \ | 6448 sed -n \ |
4935 "s/'/'\\\\''/g; | 6449 "s/'/'\\\\''/g; |
4936 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" | 6450 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
4937 ;; | 6451 ;; #( |
4938 *) | 6452 *) |
4939 # `set' quotes correctly as required by POSIX, so do not add quotes. | 6453 # `set' quotes correctly as required by POSIX, so do not add quotes. |
4940 sed -n \ | 6454 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
4941 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" | |
4942 ;; | 6455 ;; |
4943 esac; | 6456 esac | |
4944 } | | 6457 sort |
6458 ) | | |
4945 sed ' | 6459 sed ' |
6460 /^ac_cv_env_/b end | |
4946 t clear | 6461 t clear |
4947 : clear | 6462 :clear |
4948 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ | 6463 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ |
4949 t end | 6464 t end |
4950 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ | 6465 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
4951 : end' >>confcache | 6466 :end' >>confcache |
4952 if cmp -s $cache_file confcache; then :; else | 6467 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
4953 if test -w $cache_file; then | 6468 if test -w "$cache_file"; then |
4954 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" | 6469 test "x$cache_file" != "x/dev/null" && |
6470 { echo "$as_me:$LINENO: updating cache $cache_file" >&5 | |
6471 echo "$as_me: updating cache $cache_file" >&6;} | |
4955 cat confcache >$cache_file | 6472 cat confcache >$cache_file |
4956 else | 6473 else |
4957 echo "not updating unwritable cache $cache_file" | 6474 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 |
6475 echo "$as_me: not updating unwritable cache $cache_file" >&6;} | |
4958 fi | 6476 fi |
4959 fi | 6477 fi |
4960 rm -f confcache | 6478 rm -f confcache |
4961 | 6479 |
4962 test "x$prefix" = xNONE && prefix=$ac_default_prefix | 6480 test "x$prefix" = xNONE && prefix=$ac_default_prefix |
4963 # Let make expand exec_prefix. | 6481 # Let make expand exec_prefix. |
4964 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' | 6482 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
4965 | 6483 |
4966 # VPATH may cause trouble with some makes, so we remove $(srcdir), | |
4967 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and | |
4968 # trailing colons and then remove the whole line if VPATH becomes empty | |
4969 # (actually we leave an empty line to preserve line numbers). | |
4970 if test "x$srcdir" = x.; then | |
4971 ac_vpsub='/^[ ]*VPATH[ ]*=/{ | |
4972 s/:*\$(srcdir):*/:/; | |
4973 s/:*\${srcdir}:*/:/; | |
4974 s/:*@srcdir@:*/:/; | |
4975 s/^\([^=]*=[ ]*\):*/\1/; | |
4976 s/:*$//; | |
4977 s/^[^=]*=[ ]*$//; | |
4978 }' | |
4979 fi | |
4980 | |
4981 DEFS=-DHAVE_CONFIG_H | 6484 DEFS=-DHAVE_CONFIG_H |
6485 | |
6486 ac_libobjs= | |
6487 ac_ltlibobjs= | |
6488 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue | |
6489 # 1. Remove the extension, and $U if already installed. | |
6490 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' | |
6491 ac_i=`echo "$ac_i" | sed "$ac_script"` | |
6492 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR | |
6493 # will be set to the directory where LIBOBJS objects are built. | |
6494 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" | |
6495 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' | |
6496 done | |
6497 LIBOBJS=$ac_libobjs | |
6498 | |
6499 LTLIBOBJS=$ac_ltlibobjs | |
6500 | |
4982 | 6501 |
4983 | 6502 |
4984 : ${CONFIG_STATUS=./config.status} | 6503 : ${CONFIG_STATUS=./config.status} |
4985 ac_clean_files_save=$ac_clean_files | 6504 ac_clean_files_save=$ac_clean_files |
4986 ac_clean_files="$ac_clean_files $CONFIG_STATUS" | 6505 ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
4992 # Run this file to recreate the current configuration. | 6511 # Run this file to recreate the current configuration. |
4993 # Compiler output produced by configure, useful for debugging | 6512 # Compiler output produced by configure, useful for debugging |
4994 # configure, is in config.log if it exists. | 6513 # configure, is in config.log if it exists. |
4995 | 6514 |
4996 debug=false | 6515 debug=false |
6516 ac_cs_recheck=false | |
6517 ac_cs_silent=false | |
4997 SHELL=\${CONFIG_SHELL-$SHELL} | 6518 SHELL=\${CONFIG_SHELL-$SHELL} |
4998 _ACEOF | 6519 _ACEOF |
4999 | 6520 |
5000 cat >>$CONFIG_STATUS <<\_ACEOF | 6521 cat >>$CONFIG_STATUS <<\_ACEOF |
5001 | |
5002 ## --------------------- ## | 6522 ## --------------------- ## |
5003 ## M4sh Initialization. ## | 6523 ## M4sh Initialization. ## |
5004 ## --------------------- ## | 6524 ## --------------------- ## |
5005 | 6525 |
5006 # Be Bourne compatible | 6526 # Be more Bourne compatible |
6527 DUALCASE=1; export DUALCASE # for MKS sh | |
5007 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | 6528 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
5008 emulate sh | 6529 emulate sh |
5009 NULLCMD=: | 6530 NULLCMD=: |
5010 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then | 6531 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
5011 set -o posix | 6532 # is contrary to our usage. Disable this feature. |
5012 fi | 6533 alias -g '${1+"$@"}'='"$@"' |
5013 | 6534 setopt NO_GLOB_SUBST |
5014 # NLS nuisances. | 6535 else |
5015 # Support unset when possible. | 6536 case `(set -o) 2>/dev/null` in |
5016 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then | 6537 *posix*) set -o posix ;; |
5017 as_unset=unset | 6538 esac |
5018 else | 6539 |
5019 as_unset=false | 6540 fi |
5020 fi | 6541 |
5021 | 6542 |
5022 (set +x; test -n "`(LANG=C; export LANG) 2>&1`") && | 6543 |
5023 { $as_unset LANG || test "${LANG+set}" != set; } || | 6544 |
5024 { LANG=C; export LANG; } | 6545 # PATH needs CR |
5025 (set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") && | |
5026 { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } || | |
5027 { LC_ALL=C; export LC_ALL; } | |
5028 (set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") && | |
5029 { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } || | |
5030 { LC_TIME=C; export LC_TIME; } | |
5031 (set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") && | |
5032 { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } || | |
5033 { LC_CTYPE=C; export LC_CTYPE; } | |
5034 (set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") && | |
5035 { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } || | |
5036 { LANGUAGE=C; export LANGUAGE; } | |
5037 (set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") && | |
5038 { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } || | |
5039 { LC_COLLATE=C; export LC_COLLATE; } | |
5040 (set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") && | |
5041 { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } || | |
5042 { LC_NUMERIC=C; export LC_NUMERIC; } | |
5043 (set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") && | |
5044 { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } || | |
5045 { LC_MESSAGES=C; export LC_MESSAGES; } | |
5046 | |
5047 | |
5048 # Name of the executable. | |
5049 as_me=`(basename "$0") 2>/dev/null || | |
5050 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | |
5051 X"$0" : 'X\(//\)$' \| \ | |
5052 X"$0" : 'X\(/\)$' \| \ | |
5053 . : '\(.\)' 2>/dev/null || | |
5054 echo X/"$0" | | |
5055 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } | |
5056 /^X\/\(\/\/\)$/{ s//\1/; q; } | |
5057 /^X\/\(\/\).*/{ s//\1/; q; } | |
5058 s/.*/./; q'` | |
5059 | |
5060 # PATH needs CR, and LINENO needs CR and PATH. | |
5061 # Avoid depending upon Character Ranges. | 6546 # Avoid depending upon Character Ranges. |
5062 as_cr_letters='abcdefghijklmnopqrstuvwxyz' | 6547 as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
5063 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | 6548 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
5064 as_cr_Letters=$as_cr_letters$as_cr_LETTERS | 6549 as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
5065 as_cr_digits='0123456789' | 6550 as_cr_digits='0123456789' |
5066 as_cr_alnum=$as_cr_Letters$as_cr_digits | 6551 as_cr_alnum=$as_cr_Letters$as_cr_digits |
5067 | 6552 |
5068 # The user is always right. | 6553 # The user is always right. |
5069 if test "${PATH_SEPARATOR+set}" != set; then | 6554 if test "${PATH_SEPARATOR+set}" != set; then |
5070 echo "#! /bin/sh" >conftest.sh | 6555 echo "#! /bin/sh" >conf$$.sh |
5071 echo "exit 0" >>conftest.sh | 6556 echo "exit 0" >>conf$$.sh |
5072 chmod +x conftest.sh | 6557 chmod +x conf$$.sh |
5073 if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then | 6558 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
5074 PATH_SEPARATOR=';' | 6559 PATH_SEPARATOR=';' |
5075 else | 6560 else |
5076 PATH_SEPARATOR=: | 6561 PATH_SEPARATOR=: |
5077 fi | 6562 fi |
5078 rm -f conftest.sh | 6563 rm -f conf$$.sh |
5079 fi | 6564 fi |
5080 | 6565 |
5081 | 6566 # Support unset when possible. |
5082 as_lineno_1=$LINENO | 6567 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
5083 as_lineno_2=$LINENO | 6568 as_unset=unset |
5084 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` | 6569 else |
5085 test "x$as_lineno_1" != "x$as_lineno_2" && | 6570 as_unset=false |
5086 test "x$as_lineno_3" = "x$as_lineno_2" || { | 6571 fi |
5087 # Find who we are. Look in the path if we contain no path at all | 6572 |
5088 # relative or not. | 6573 |
5089 case $0 in | 6574 # IFS |
5090 *[\\/]* ) as_myself=$0 ;; | 6575 # We need space, tab and new line, in precisely that order. Quoting is |
5091 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 6576 # there to prevent editors from complaining about space-tab. |
6577 # (If _AS_PATH_WALK were called with IFS unset, it would disable word | |
6578 # splitting by setting IFS to empty value.) | |
6579 as_nl=' | |
6580 ' | |
6581 IFS=" "" $as_nl" | |
6582 | |
6583 # Find who we are. Look in the path if we contain no directory separator. | |
6584 case $0 in | |
6585 *[\\/]* ) as_myself=$0 ;; | |
6586 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
5092 for as_dir in $PATH | 6587 for as_dir in $PATH |
5093 do | 6588 do |
5094 IFS=$as_save_IFS | 6589 IFS=$as_save_IFS |
5095 test -z "$as_dir" && as_dir=. | 6590 test -z "$as_dir" && as_dir=. |
5096 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | 6591 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
5097 done | 6592 done |
5098 | 6593 IFS=$as_save_IFS |
5099 ;; | 6594 |
5100 esac | 6595 ;; |
5101 # We did not find ourselves, most probably we were run as `sh COMMAND' | 6596 esac |
5102 # in which case we are not to be found in the path. | 6597 # We did not find ourselves, most probably we were run as `sh COMMAND' |
5103 if test "x$as_myself" = x; then | 6598 # in which case we are not to be found in the path. |
5104 as_myself=$0 | 6599 if test "x$as_myself" = x; then |
6600 as_myself=$0 | |
6601 fi | |
6602 if test ! -f "$as_myself"; then | |
6603 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 | |
6604 { (exit 1); exit 1; } | |
6605 fi | |
6606 | |
6607 # Work around bugs in pre-3.0 UWIN ksh. | |
6608 for as_var in ENV MAIL MAILPATH | |
6609 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var | |
6610 done | |
6611 PS1='$ ' | |
6612 PS2='> ' | |
6613 PS4='+ ' | |
6614 | |
6615 # NLS nuisances. | |
6616 for as_var in \ | |
6617 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ | |
6618 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ | |
6619 LC_TELEPHONE LC_TIME | |
6620 do | |
6621 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then | |
6622 eval $as_var=C; export $as_var | |
6623 else | |
6624 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var | |
5105 fi | 6625 fi |
5106 if test ! -f "$as_myself"; then | 6626 done |
5107 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 | 6627 |
5108 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} | 6628 # Required to use basename. |
5109 { (exit 1); exit 1; }; } | 6629 if expr a : '\(a\)' >/dev/null 2>&1 && |
5110 fi | 6630 test "X`expr 00001 : '.*\(...\)'`" = X001; then |
5111 case $CONFIG_SHELL in | 6631 as_expr=expr |
5112 '') | 6632 else |
5113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 6633 as_expr=false |
5114 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH | 6634 fi |
5115 do | 6635 |
5116 IFS=$as_save_IFS | 6636 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
5117 test -z "$as_dir" && as_dir=. | 6637 as_basename=basename |
5118 for as_base in sh bash ksh sh5; do | 6638 else |
5119 case $as_dir in | 6639 as_basename=false |
5120 /*) | 6640 fi |
5121 if ("$as_dir/$as_base" -c ' | 6641 |
6642 | |
6643 # Name of the executable. | |
6644 as_me=`$as_basename -- "$0" || | |
6645 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | |
6646 X"$0" : 'X\(//\)$' \| \ | |
6647 X"$0" : 'X\(/\)' \| . 2>/dev/null || | |
6648 echo X/"$0" | | |
6649 sed '/^.*\/\([^/][^/]*\)\/*$/{ | |
6650 s//\1/ | |
6651 q | |
6652 } | |
6653 /^X\/\(\/\/\)$/{ | |
6654 s//\1/ | |
6655 q | |
6656 } | |
6657 /^X\/\(\/\).*/{ | |
6658 s//\1/ | |
6659 q | |
6660 } | |
6661 s/.*/./; q'` | |
6662 | |
6663 # CDPATH. | |
6664 $as_unset CDPATH | |
6665 | |
6666 | |
6667 | |
5122 as_lineno_1=$LINENO | 6668 as_lineno_1=$LINENO |
5123 as_lineno_2=$LINENO | 6669 as_lineno_2=$LINENO |
5124 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` | |
5125 test "x$as_lineno_1" != "x$as_lineno_2" && | 6670 test "x$as_lineno_1" != "x$as_lineno_2" && |
5126 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then | 6671 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { |
5127 CONFIG_SHELL=$as_dir/$as_base | |
5128 export CONFIG_SHELL | |
5129 exec "$CONFIG_SHELL" "$0" ${1+"$@"} | |
5130 fi;; | |
5131 esac | |
5132 done | |
5133 done | |
5134 ;; | |
5135 esac | |
5136 | 6672 |
5137 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO | 6673 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
5138 # uniformly replaced by the line number. The first 'sed' inserts a | 6674 # uniformly replaced by the line number. The first 'sed' inserts a |
5139 # line-number line before each line; the second 'sed' does the real | 6675 # line-number line after each line using $LINENO; the second 'sed' |
5140 # work. The second script uses 'N' to pair each line-number line | 6676 # does the real work. The second script uses 'N' to pair each |
5141 # with the numbered line, and appends trailing '-' during | 6677 # line-number line with the line containing $LINENO, and appends |
5142 # substitution so that $LINENO is not a special case at line end. | 6678 # trailing '-' during substitution so that $LINENO is not a special |
6679 # case at line end. | |
5143 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the | 6680 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
5144 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) | 6681 # scripts with optimization help from Paolo Bonzini. Blame Lee |
5145 sed '=' <$as_myself | | 6682 # E. McMahon (1931-1989) for sed's syntax. :-) |
6683 sed -n ' | |
6684 p | |
6685 /[$]LINENO/= | |
6686 ' <$as_myself | | |
5146 sed ' | 6687 sed ' |
6688 s/[$]LINENO.*/&-/ | |
6689 t lineno | |
6690 b | |
6691 :lineno | |
5147 N | 6692 N |
5148 s,$,-, | 6693 :loop |
5149 : loop | 6694 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
5150 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, | |
5151 t loop | 6695 t loop |
5152 s,-$,, | 6696 s/-\n.*// |
5153 s,^['$as_cr_digits']*\n,, | |
5154 ' >$as_me.lineno && | 6697 ' >$as_me.lineno && |
5155 chmod +x $as_me.lineno || | 6698 chmod +x "$as_me.lineno" || |
5156 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 | 6699 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
5157 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} | |
5158 { (exit 1); exit 1; }; } | 6700 { (exit 1); exit 1; }; } |
5159 | 6701 |
5160 # Don't try to exec as it changes $[0], causing all sort of problems | 6702 # Don't try to exec as it changes $[0], causing all sort of problems |
5161 # (the dirname of $[0] is not the place where we might find the | 6703 # (the dirname of $[0] is not the place where we might find the |
5162 # original and so on. Autoconf is especially sensible to this). | 6704 # original and so on. Autoconf is especially sensitive to this). |
5163 . ./$as_me.lineno | 6705 . "./$as_me.lineno" |
5164 # Exit status is that of the last command. | 6706 # Exit status is that of the last command. |
5165 exit | 6707 exit |
5166 } | 6708 } |
5167 | 6709 |
5168 | 6710 |
5169 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in | 6711 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
5170 *c*,-n*) ECHO_N= ECHO_C=' | 6712 as_dirname=dirname |
5171 ' ECHO_T=' ' ;; | 6713 else |
5172 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; | 6714 as_dirname=false |
5173 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; | 6715 fi |
5174 esac | 6716 |
5175 | 6717 ECHO_C= ECHO_N= ECHO_T= |
5176 if expr a : '\(a\)' >/dev/null 2>&1; then | 6718 case `echo -n x` in |
6719 -n*) | |
6720 case `echo 'x\c'` in | |
6721 *c*) ECHO_T=' ';; # ECHO_T is single tab character. | |
6722 *) ECHO_C='\c';; | |
6723 esac;; | |
6724 *) | |
6725 ECHO_N='-n';; | |
6726 esac | |
6727 | |
6728 if expr a : '\(a\)' >/dev/null 2>&1 && | |
6729 test "X`expr 00001 : '.*\(...\)'`" = X001; then | |
5177 as_expr=expr | 6730 as_expr=expr |
5178 else | 6731 else |
5179 as_expr=false | 6732 as_expr=false |
5180 fi | 6733 fi |
5181 | 6734 |
5182 rm -f conf$$ conf$$.exe conf$$.file | 6735 rm -f conf$$ conf$$.exe conf$$.file |
6736 if test -d conf$$.dir; then | |
6737 rm -f conf$$.dir/conf$$.file | |
6738 else | |
6739 rm -f conf$$.dir | |
6740 mkdir conf$$.dir | |
6741 fi | |
5183 echo >conf$$.file | 6742 echo >conf$$.file |
5184 if ln -s conf$$.file conf$$ 2>/dev/null; then | 6743 if ln -s conf$$.file conf$$ 2>/dev/null; then |
5185 # We could just check for DJGPP; but this test a) works b) is more generic | 6744 as_ln_s='ln -s' |
5186 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). | 6745 # ... but there are two gotchas: |
5187 if test -f conf$$.exe; then | 6746 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
5188 # Don't use ln at all; we don't have any links | 6747 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
6748 # In both cases, we have to default to `cp -p'. | |
6749 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || | |
5189 as_ln_s='cp -p' | 6750 as_ln_s='cp -p' |
5190 else | |
5191 as_ln_s='ln -s' | |
5192 fi | |
5193 elif ln conf$$.file conf$$ 2>/dev/null; then | 6751 elif ln conf$$.file conf$$ 2>/dev/null; then |
5194 as_ln_s=ln | 6752 as_ln_s=ln |
5195 else | 6753 else |
5196 as_ln_s='cp -p' | 6754 as_ln_s='cp -p' |
5197 fi | 6755 fi |
5198 rm -f conf$$ conf$$.exe conf$$.file | 6756 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
5199 | 6757 rmdir conf$$.dir 2>/dev/null |
5200 as_executable_p="test -f" | 6758 |
6759 if mkdir -p . 2>/dev/null; then | |
6760 as_mkdir_p=: | |
6761 else | |
6762 test -d ./-p && rmdir ./-p | |
6763 as_mkdir_p=false | |
6764 fi | |
6765 | |
6766 if test -x / >/dev/null 2>&1; then | |
6767 as_test_x='test -x' | |
6768 else | |
6769 if ls -dL / >/dev/null 2>&1; then | |
6770 as_ls_L_option=L | |
6771 else | |
6772 as_ls_L_option= | |
6773 fi | |
6774 as_test_x=' | |
6775 eval sh -c '\'' | |
6776 if test -d "$1"; then | |
6777 test -d "$1/."; | |
6778 else | |
6779 case $1 in | |
6780 -*)set "./$1";; | |
6781 esac; | |
6782 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in | |
6783 ???[sx]*):;;*)false;;esac;fi | |
6784 '\'' sh | |
6785 ' | |
6786 fi | |
6787 as_executable_p=$as_test_x | |
5201 | 6788 |
5202 # Sed expression to map a string onto a valid CPP name. | 6789 # Sed expression to map a string onto a valid CPP name. |
5203 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" | 6790 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
5204 | 6791 |
5205 # Sed expression to map a string onto a valid variable name. | 6792 # Sed expression to map a string onto a valid variable name. |
5206 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" | 6793 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
5207 | 6794 |
5208 | |
5209 # IFS | |
5210 # We need space, tab and new line, in precisely that order. | |
5211 as_nl=' | |
5212 ' | |
5213 IFS=" $as_nl" | |
5214 | |
5215 # CDPATH. | |
5216 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; } | |
5217 | 6795 |
5218 exec 6>&1 | 6796 exec 6>&1 |
5219 | 6797 |
5220 # Open the log real soon, to keep \$[0] and so on meaningful, and to | 6798 # Save the log message, to keep $[0] and so on meaningful, and to |
5221 # report actual input values of CONFIG_FILES etc. instead of their | 6799 # report actual input values of CONFIG_FILES etc. instead of their |
5222 # values after options handling. Logging --version etc. is OK. | 6800 # values after options handling. |
5223 exec 5>>config.log | 6801 ac_log=" |
5224 { | |
5225 echo | |
5226 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX | |
5227 ## Running $as_me. ## | |
5228 _ASBOX | |
5229 } >&5 | |
5230 cat >&5 <<_CSEOF | |
5231 | |
5232 This file was extended by $as_me, which was | 6802 This file was extended by $as_me, which was |
5233 generated by GNU Autoconf 2.53. Invocation command line was | 6803 generated by GNU Autoconf 2.61. Invocation command line was |
5234 | 6804 |
5235 CONFIG_FILES = $CONFIG_FILES | 6805 CONFIG_FILES = $CONFIG_FILES |
5236 CONFIG_HEADERS = $CONFIG_HEADERS | 6806 CONFIG_HEADERS = $CONFIG_HEADERS |
5237 CONFIG_LINKS = $CONFIG_LINKS | 6807 CONFIG_LINKS = $CONFIG_LINKS |
5238 CONFIG_COMMANDS = $CONFIG_COMMANDS | 6808 CONFIG_COMMANDS = $CONFIG_COMMANDS |
5239 $ $0 $@ | 6809 $ $0 $@ |
5240 | 6810 |
5241 _CSEOF | 6811 on `(hostname || uname -n) 2>/dev/null | sed 1q` |
5242 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 | 6812 " |
5243 echo >&5 | 6813 |
5244 _ACEOF | 6814 _ACEOF |
5245 | 6815 |
6816 cat >>$CONFIG_STATUS <<_ACEOF | |
5246 # Files that config.status was made for. | 6817 # Files that config.status was made for. |
5247 if test -n "$ac_config_files"; then | 6818 config_files="$ac_config_files" |
5248 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS | 6819 config_headers="$ac_config_headers" |
5249 fi | 6820 |
5250 | 6821 _ACEOF |
5251 if test -n "$ac_config_headers"; then | |
5252 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS | |
5253 fi | |
5254 | |
5255 if test -n "$ac_config_links"; then | |
5256 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS | |
5257 fi | |
5258 | |
5259 if test -n "$ac_config_commands"; then | |
5260 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS | |
5261 fi | |
5262 | 6822 |
5263 cat >>$CONFIG_STATUS <<\_ACEOF | 6823 cat >>$CONFIG_STATUS <<\_ACEOF |
5264 | |
5265 ac_cs_usage="\ | 6824 ac_cs_usage="\ |
5266 \`$as_me' instantiates files from templates according to the | 6825 \`$as_me' instantiates files from templates according to the |
5267 current configuration. | 6826 current configuration. |
5268 | 6827 |
5269 Usage: $0 [OPTIONS] [FILE]... | 6828 Usage: $0 [OPTIONS] [FILE]... |
5270 | 6829 |
5271 -h, --help print this help, then exit | 6830 -h, --help print this help, then exit |
5272 -V, --version print version number, then exit | 6831 -V, --version print version number and configuration settings, then exit |
6832 -q, --quiet do not print progress messages | |
5273 -d, --debug don't remove temporary files | 6833 -d, --debug don't remove temporary files |
5274 --recheck update $as_me by reconfiguring in the same conditions | 6834 --recheck update $as_me by reconfiguring in the same conditions |
5275 --file=FILE[:TEMPLATE] | 6835 --file=FILE[:TEMPLATE] |
5276 instantiate the configuration file FILE | 6836 instantiate the configuration file FILE |
5277 --header=FILE[:TEMPLATE] | 6837 --header=FILE[:TEMPLATE] |
5278 instantiate the configuration header FILE | 6838 instantiate the configuration header FILE |
5279 | 6839 |
5280 Configuration files: | 6840 Configuration files: |
5281 $config_files | 6841 $config_files |
5282 | 6842 |
5283 Configuration headers: | 6843 Configuration headers: |
5284 $config_headers | 6844 $config_headers |
5285 | 6845 |
5286 Report bugs to <bug-autoconf@gnu.org>." | 6846 Report bugs to <bug-autoconf@gnu.org>." |
5287 _ACEOF | 6847 |
5288 | 6848 _ACEOF |
5289 cat >>$CONFIG_STATUS <<_ACEOF | 6849 cat >>$CONFIG_STATUS <<_ACEOF |
5290 ac_cs_version="\\ | 6850 ac_cs_version="\\ |
5291 config.status | 6851 config.status |
5292 configured by $0, generated by GNU Autoconf 2.53, | 6852 configured by $0, generated by GNU Autoconf 2.61, |
5293 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" | 6853 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" |
5294 | 6854 |
5295 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 | 6855 Copyright (C) 2006 Free Software Foundation, Inc. |
5296 Free Software Foundation, Inc. | |
5297 This config.status script is free software; the Free Software Foundation | 6856 This config.status script is free software; the Free Software Foundation |
5298 gives unlimited permission to copy, distribute and modify it." | 6857 gives unlimited permission to copy, distribute and modify it." |
5299 srcdir=$srcdir | 6858 |
5300 INSTALL="$INSTALL" | 6859 ac_pwd='$ac_pwd' |
6860 srcdir='$srcdir' | |
6861 INSTALL='$INSTALL' | |
5301 _ACEOF | 6862 _ACEOF |
5302 | 6863 |
5303 cat >>$CONFIG_STATUS <<\_ACEOF | 6864 cat >>$CONFIG_STATUS <<\_ACEOF |
5304 # If no file are specified by the user, then we need to provide default | 6865 # If no file are specified by the user, then we need to provide default |
5305 # value. By we need to know if files were specified by the user. | 6866 # value. By we need to know if files were specified by the user. |
5306 ac_need_defaults=: | 6867 ac_need_defaults=: |
5307 while test $# != 0 | 6868 while test $# != 0 |
5308 do | 6869 do |
5309 case $1 in | 6870 case $1 in |
5310 --*=*) | 6871 --*=*) |
5311 ac_option=`expr "x$1" : 'x\([^=]*\)='` | 6872 ac_option=`expr "X$1" : 'X\([^=]*\)='` |
5312 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` | 6873 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` |
5313 shift | 6874 ac_shift=: |
5314 set dummy "$ac_option" "$ac_optarg" ${1+"$@"} | |
5315 shift | |
5316 ;; | 6875 ;; |
5317 -*);; | 6876 *) |
5318 *) # This is not an option, so the user has probably given explicit | 6877 ac_option=$1 |
5319 # arguments. | 6878 ac_optarg=$2 |
5320 ac_need_defaults=false;; | 6879 ac_shift=shift |
6880 ;; | |
5321 esac | 6881 esac |
5322 | 6882 |
5323 case $1 in | 6883 case $ac_option in |
5324 # Handling of the options. | 6884 # Handling of the options. |
5325 _ACEOF | |
5326 cat >>$CONFIG_STATUS <<_ACEOF | |
5327 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) | 6885 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
5328 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion" | 6886 ac_cs_recheck=: ;; |
5329 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;; | 6887 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) |
5330 _ACEOF | 6888 echo "$ac_cs_version"; exit ;; |
5331 cat >>$CONFIG_STATUS <<\_ACEOF | 6889 --debug | --debu | --deb | --de | --d | -d ) |
5332 --version | --vers* | -V ) | 6890 debug=: ;; |
5333 echo "$ac_cs_version"; exit 0 ;; | 6891 --file | --fil | --fi | --f ) |
6892 $ac_shift | |
6893 CONFIG_FILES="$CONFIG_FILES $ac_optarg" | |
6894 ac_need_defaults=false;; | |
6895 --header | --heade | --head | --hea ) | |
6896 $ac_shift | |
6897 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" | |
6898 ac_need_defaults=false;; | |
5334 --he | --h) | 6899 --he | --h) |
5335 # Conflict between --help and --header | 6900 # Conflict between --help and --header |
5336 { { echo "$as_me:$LINENO: error: ambiguous option: $1 | 6901 { echo "$as_me: error: ambiguous option: $1 |
5337 Try \`$0 --help' for more information." >&5 | 6902 Try \`$0 --help' for more information." >&2 |
5338 echo "$as_me: error: ambiguous option: $1 | |
5339 Try \`$0 --help' for more information." >&2;} | |
5340 { (exit 1); exit 1; }; };; | 6903 { (exit 1); exit 1; }; };; |
5341 --help | --hel | -h ) | 6904 --help | --hel | -h ) |
5342 echo "$ac_cs_usage"; exit 0 ;; | 6905 echo "$ac_cs_usage"; exit ;; |
5343 --debug | --d* | -d ) | 6906 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
5344 debug=: ;; | 6907 | -silent | --silent | --silen | --sile | --sil | --si | --s) |
5345 --file | --fil | --fi | --f ) | 6908 ac_cs_silent=: ;; |
5346 shift | |
5347 CONFIG_FILES="$CONFIG_FILES $1" | |
5348 ac_need_defaults=false;; | |
5349 --header | --heade | --head | --hea ) | |
5350 shift | |
5351 CONFIG_HEADERS="$CONFIG_HEADERS $1" | |
5352 ac_need_defaults=false;; | |
5353 | 6909 |
5354 # This is an error. | 6910 # This is an error. |
5355 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 | 6911 -*) { echo "$as_me: error: unrecognized option: $1 |
5356 Try \`$0 --help' for more information." >&5 | 6912 Try \`$0 --help' for more information." >&2 |
5357 echo "$as_me: error: unrecognized option: $1 | |
5358 Try \`$0 --help' for more information." >&2;} | |
5359 { (exit 1); exit 1; }; } ;; | 6913 { (exit 1); exit 1; }; } ;; |
5360 | 6914 |
5361 *) ac_config_targets="$ac_config_targets $1" ;; | 6915 *) ac_config_targets="$ac_config_targets $1" |
6916 ac_need_defaults=false ;; | |
5362 | 6917 |
5363 esac | 6918 esac |
5364 shift | 6919 shift |
5365 done | 6920 done |
5366 | 6921 |
5367 _ACEOF | 6922 ac_configure_extra_args= |
5368 | 6923 |
5369 | 6924 if $ac_cs_silent; then |
5370 | 6925 exec 6>/dev/null |
5371 | 6926 ac_configure_extra_args="$ac_configure_extra_args --silent" |
5372 | 6927 fi |
6928 | |
6929 _ACEOF | |
6930 cat >>$CONFIG_STATUS <<_ACEOF | |
6931 if \$ac_cs_recheck; then | |
6932 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 | |
6933 CONFIG_SHELL=$SHELL | |
6934 export CONFIG_SHELL | |
6935 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion | |
6936 fi | |
6937 | |
6938 _ACEOF | |
5373 cat >>$CONFIG_STATUS <<\_ACEOF | 6939 cat >>$CONFIG_STATUS <<\_ACEOF |
6940 exec 5>>config.log | |
6941 { | |
6942 echo | |
6943 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX | |
6944 ## Running $as_me. ## | |
6945 _ASBOX | |
6946 echo "$ac_log" | |
6947 } >&5 | |
6948 | |
6949 _ACEOF | |
6950 cat >>$CONFIG_STATUS <<_ACEOF | |
6951 _ACEOF | |
6952 | |
6953 cat >>$CONFIG_STATUS <<\_ACEOF | |
6954 | |
6955 # Handling of arguments. | |
5374 for ac_config_target in $ac_config_targets | 6956 for ac_config_target in $ac_config_targets |
5375 do | 6957 do |
5376 case "$ac_config_target" in | 6958 case $ac_config_target in |
5377 # Handling of arguments. | 6959 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; |
5378 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; | 6960 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
5379 "dw-config" ) CONFIG_FILES="$CONFIG_FILES dw-config" ;; | 6961 "dw-config") CONFIG_FILES="$CONFIG_FILES dw-config" ;; |
5380 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; | 6962 |
5381 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 | 6963 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
5382 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} | 6964 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
5383 { (exit 1); exit 1; }; };; | 6965 { (exit 1); exit 1; }; };; |
5384 esac | 6966 esac |
5385 done | 6967 done |
6968 | |
5386 | 6969 |
5387 # If the user did not use the arguments to specify the items to instantiate, | 6970 # If the user did not use the arguments to specify the items to instantiate, |
5388 # then the envvar interface is used. Set only those that are not. | 6971 # then the envvar interface is used. Set only those that are not. |
5389 # We use the long form for the default assignment because of an extremely | 6972 # We use the long form for the default assignment because of an extremely |
5390 # bizarre bug on SunOS 4.1.3. | 6973 # bizarre bug on SunOS 4.1.3. |
5391 if $ac_need_defaults; then | 6974 if $ac_need_defaults; then |
5392 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files | 6975 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files |
5393 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers | 6976 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers |
5394 fi | 6977 fi |
5395 | 6978 |
5396 # Create a temporary directory, and hook for its removal unless debugging. | 6979 # Have a temporary directory for convenience. Make it in the build tree |
6980 # simply because there is no reason against having it here, and in addition, | |
6981 # creating and moving files from /tmp can sometimes cause problems. | |
6982 # Hook for its removal unless debugging. | |
6983 # Note that there is a small window in which the directory will not be cleaned: | |
6984 # after its creation but before its name has been assigned to `$tmp'. | |
5397 $debug || | 6985 $debug || |
5398 { | 6986 { |
5399 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 | 6987 tmp= |
6988 trap 'exit_status=$? | |
6989 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status | |
6990 ' 0 | |
5400 trap '{ (exit 1); exit 1; }' 1 2 13 15 | 6991 trap '{ (exit 1); exit 1; }' 1 2 13 15 |
5401 } | 6992 } |
5402 | |
5403 # Create a (secure) tmp directory for tmp files. | 6993 # Create a (secure) tmp directory for tmp files. |
5404 : ${TMPDIR=/tmp} | 6994 |
5405 { | 6995 { |
5406 tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` && | 6996 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
5407 test -n "$tmp" && test -d "$tmp" | 6997 test -n "$tmp" && test -d "$tmp" |
5408 } || | 6998 } || |
5409 { | 6999 { |
5410 tmp=$TMPDIR/cs$$-$RANDOM | 7000 tmp=./conf$$-$RANDOM |
5411 (umask 077 && mkdir $tmp) | 7001 (umask 077 && mkdir "$tmp") |
5412 } || | 7002 } || |
5413 { | 7003 { |
5414 echo "$me: cannot create a temporary directory in $TMPDIR" >&2 | 7004 echo "$me: cannot create a temporary directory in ." >&2 |
5415 { (exit 1); exit 1; } | 7005 { (exit 1); exit 1; } |
5416 } | 7006 } |
5417 | 7007 |
5418 _ACEOF | |
5419 | |
5420 cat >>$CONFIG_STATUS <<_ACEOF | |
5421 | |
5422 # | 7008 # |
5423 # CONFIG_FILES section. | 7009 # Set up the sed scripts for CONFIG_FILES section. |
5424 # | 7010 # |
5425 | 7011 |
5426 # No need to generate the scripts if there are no CONFIG_FILES. | 7012 # No need to generate the scripts if there are no CONFIG_FILES. |
5427 # This happens for instance when ./config.status config.h | 7013 # This happens for instance when ./config.status config.h |
5428 if test -n "\$CONFIG_FILES"; then | 7014 if test -n "$CONFIG_FILES"; then |
5429 # Protect against being on the right side of a sed subst in config.status. | 7015 |
5430 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; | 7016 _ACEOF |
5431 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF | 7017 |
5432 s,@SHELL@,$SHELL,;t t | 7018 |
5433 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t | 7019 |
5434 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t | 7020 ac_delim='%!_!# ' |
5435 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t | 7021 for ac_last_try in false false false false false :; do |
5436 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t | 7022 cat >conf$$subs.sed <<_ACEOF |
5437 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t | 7023 SHELL!$SHELL$ac_delim |
5438 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t | 7024 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim |
5439 s,@exec_prefix@,$exec_prefix,;t t | 7025 PACKAGE_NAME!$PACKAGE_NAME$ac_delim |
5440 s,@prefix@,$prefix,;t t | 7026 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim |
5441 s,@program_transform_name@,$program_transform_name,;t t | 7027 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim |
5442 s,@bindir@,$bindir,;t t | 7028 PACKAGE_STRING!$PACKAGE_STRING$ac_delim |
5443 s,@sbindir@,$sbindir,;t t | 7029 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim |
5444 s,@libexecdir@,$libexecdir,;t t | 7030 exec_prefix!$exec_prefix$ac_delim |
5445 s,@datadir@,$datadir,;t t | 7031 prefix!$prefix$ac_delim |
5446 s,@sysconfdir@,$sysconfdir,;t t | 7032 program_transform_name!$program_transform_name$ac_delim |
5447 s,@sharedstatedir@,$sharedstatedir,;t t | 7033 bindir!$bindir$ac_delim |
5448 s,@localstatedir@,$localstatedir,;t t | 7034 sbindir!$sbindir$ac_delim |
5449 s,@libdir@,$libdir,;t t | 7035 libexecdir!$libexecdir$ac_delim |
5450 s,@includedir@,$includedir,;t t | 7036 datarootdir!$datarootdir$ac_delim |
5451 s,@oldincludedir@,$oldincludedir,;t t | 7037 datadir!$datadir$ac_delim |
5452 s,@infodir@,$infodir,;t t | 7038 sysconfdir!$sysconfdir$ac_delim |
5453 s,@mandir@,$mandir,;t t | 7039 sharedstatedir!$sharedstatedir$ac_delim |
5454 s,@build_alias@,$build_alias,;t t | 7040 localstatedir!$localstatedir$ac_delim |
5455 s,@host_alias@,$host_alias,;t t | 7041 includedir!$includedir$ac_delim |
5456 s,@target_alias@,$target_alias,;t t | 7042 oldincludedir!$oldincludedir$ac_delim |
5457 s,@DEFS@,$DEFS,;t t | 7043 docdir!$docdir$ac_delim |
5458 s,@ECHO_C@,$ECHO_C,;t t | 7044 infodir!$infodir$ac_delim |
5459 s,@ECHO_N@,$ECHO_N,;t t | 7045 htmldir!$htmldir$ac_delim |
5460 s,@ECHO_T@,$ECHO_T,;t t | 7046 dvidir!$dvidir$ac_delim |
5461 s,@LIBS@,$LIBS,;t t | 7047 pdfdir!$pdfdir$ac_delim |
5462 s,@DW_MAJOR_VERSION@,$DW_MAJOR_VERSION,;t t | 7048 psdir!$psdir$ac_delim |
5463 s,@DW_MINOR_VERSION@,$DW_MINOR_VERSION,;t t | 7049 libdir!$libdir$ac_delim |
5464 s,@DW_SUB_VERSION@,$DW_SUB_VERSION,;t t | 7050 localedir!$localedir$ac_delim |
5465 s,@CC@,$CC,;t t | 7051 mandir!$mandir$ac_delim |
5466 s,@CFLAGS@,$CFLAGS,;t t | 7052 DEFS!$DEFS$ac_delim |
5467 s,@LDFLAGS@,$LDFLAGS,;t t | 7053 ECHO_C!$ECHO_C$ac_delim |
5468 s,@CPPFLAGS@,$CPPFLAGS,;t t | 7054 ECHO_N!$ECHO_N$ac_delim |
5469 s,@ac_ct_CC@,$ac_ct_CC,;t t | 7055 ECHO_T!$ECHO_T$ac_delim |
5470 s,@EXEEXT@,$EXEEXT,;t t | 7056 LIBS!$LIBS$ac_delim |
5471 s,@OBJEXT@,$OBJEXT,;t t | 7057 build_alias!$build_alias$ac_delim |
5472 s,@MAKE@,$MAKE,;t t | 7058 host_alias!$host_alias$ac_delim |
5473 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t | 7059 target_alias!$target_alias$ac_delim |
5474 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t | 7060 DW_MAJOR_VERSION!$DW_MAJOR_VERSION$ac_delim |
5475 s,@INSTALL_DATA@,$INSTALL_DATA,;t t | 7061 DW_MINOR_VERSION!$DW_MINOR_VERSION$ac_delim |
5476 s,@CPP@,$CPP,;t t | 7062 DW_SUB_VERSION!$DW_SUB_VERSION$ac_delim |
5477 s,@PKG_CFG@,$PKG_CFG,;t t | 7063 CC!$CC$ac_delim |
5478 s,@GLIB_CONFIG@,$GLIB_CONFIG,;t t | 7064 CFLAGS!$CFLAGS$ac_delim |
5479 s,@GLIB_CFLAGS@,$GLIB_CFLAGS,;t t | 7065 LDFLAGS!$LDFLAGS$ac_delim |
5480 s,@GLIB_LIBS@,$GLIB_LIBS,;t t | 7066 CPPFLAGS!$CPPFLAGS$ac_delim |
5481 s,@GTK_CONFIG@,$GTK_CONFIG,;t t | 7067 ac_ct_CC!$ac_ct_CC$ac_delim |
5482 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t | 7068 EXEEXT!$EXEEXT$ac_delim |
5483 s,@GTK_LIBS@,$GTK_LIBS,;t t | 7069 OBJEXT!$OBJEXT$ac_delim |
5484 s,@IMLIB_CONFIG@,$IMLIB_CONFIG,;t t | 7070 CXX!$CXX$ac_delim |
5485 s,@GDK_IMLIB_CFLAGS@,$GDK_IMLIB_CFLAGS,;t t | 7071 CXXFLAGS!$CXXFLAGS$ac_delim |
5486 s,@GDK_IMLIB_LIBS@,$GDK_IMLIB_LIBS,;t t | 7072 ac_ct_CXX!$ac_ct_CXX$ac_delim |
5487 s,@INCLUDES@,$INCLUDES,;t t | 7073 MAKE!$MAKE$ac_delim |
5488 s,@RM@,$RM,;t t | 7074 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim |
5489 s,@LN@,$LN,;t t | 7075 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim |
5490 s,@CP@,$CP,;t t | 7076 INSTALL_DATA!$INSTALL_DATA$ac_delim |
5491 s,@MV@,$MV,;t t | 7077 CPP!$CPP$ac_delim |
5492 s,@MKDIR@,$MKDIR,;t t | 7078 GREP!$GREP$ac_delim |
5493 s,@SHAREDFLAG@,$SHAREDFLAG,;t t | 7079 EGREP!$EGREP$ac_delim |
5494 s,@SOSUFFIX@,$SOSUFFIX,;t t | 7080 PKG_CFG!$PKG_CFG$ac_delim |
5495 s,@DW_SRC@,$DW_SRC,;t t | 7081 GLIB_CONFIG!$GLIB_CONFIG$ac_delim |
5496 s,@DW_DEFINE@,$DW_DEFINE,;t t | 7082 GLIB_CFLAGS!$GLIB_CFLAGS$ac_delim |
5497 CEOF | 7083 GLIB_LIBS!$GLIB_LIBS$ac_delim |
5498 | 7084 GTK_CONFIG!$GTK_CONFIG$ac_delim |
5499 _ACEOF | 7085 GTK_CFLAGS!$GTK_CFLAGS$ac_delim |
5500 | 7086 GTK_LIBS!$GTK_LIBS$ac_delim |
5501 cat >>$CONFIG_STATUS <<\_ACEOF | 7087 IMLIB_CONFIG!$IMLIB_CONFIG$ac_delim |
5502 # Split the substitutions into bite-sized pieces for seds with | 7088 GDK_IMLIB_CFLAGS!$GDK_IMLIB_CFLAGS$ac_delim |
5503 # small command number limits, like on Digital OSF/1 and HP-UX. | 7089 GDK_IMLIB_LIBS!$GDK_IMLIB_LIBS$ac_delim |
5504 ac_max_sed_lines=48 | 7090 INCLUDES!$INCLUDES$ac_delim |
5505 ac_sed_frag=1 # Number of current file. | 7091 RM!$RM$ac_delim |
5506 ac_beg=1 # First line for current file. | 7092 LN!$LN$ac_delim |
5507 ac_end=$ac_max_sed_lines # Line after last line for current file. | 7093 CP!$CP$ac_delim |
5508 ac_more_lines=: | 7094 MV!$MV$ac_delim |
5509 ac_sed_cmds= | 7095 MKDIR!$MKDIR$ac_delim |
5510 while $ac_more_lines; do | 7096 SHAREDFLAG!$SHAREDFLAG$ac_delim |
5511 if test $ac_beg -gt 1; then | 7097 SOSUFFIX!$SOSUFFIX$ac_delim |
5512 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag | 7098 DW_SRC!$DW_SRC$ac_delim |
5513 else | 7099 DW_DEFINE!$DW_DEFINE$ac_delim |
5514 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag | 7100 LIBOBJS!$LIBOBJS$ac_delim |
7101 LTLIBOBJS!$LTLIBOBJS$ac_delim | |
7102 _ACEOF | |
7103 | |
7104 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 79; then | |
7105 break | |
7106 elif $ac_last_try; then | |
7107 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 | |
7108 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} | |
7109 { (exit 1); exit 1; }; } | |
7110 else | |
7111 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " | |
7112 fi | |
7113 done | |
7114 | |
7115 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` | |
7116 if test -n "$ac_eof"; then | |
7117 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` | |
7118 ac_eof=`expr $ac_eof + 1` | |
7119 fi | |
7120 | |
7121 cat >>$CONFIG_STATUS <<_ACEOF | |
7122 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof | |
7123 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end | |
7124 _ACEOF | |
7125 sed ' | |
7126 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g | |
7127 s/^/s,@/; s/!/@,|#_!!_#|/ | |
7128 :n | |
7129 t n | |
7130 s/'"$ac_delim"'$/,g/; t | |
7131 s/$/\\/; p | |
7132 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n | |
7133 ' >>$CONFIG_STATUS <conf$$subs.sed | |
7134 rm -f conf$$subs.sed | |
7135 cat >>$CONFIG_STATUS <<_ACEOF | |
7136 :end | |
7137 s/|#_!!_#|//g | |
7138 CEOF$ac_eof | |
7139 _ACEOF | |
7140 | |
7141 | |
7142 # VPATH may cause trouble with some makes, so we remove $(srcdir), | |
7143 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and | |
7144 # trailing colons and then remove the whole line if VPATH becomes empty | |
7145 # (actually we leave an empty line to preserve line numbers). | |
7146 if test "x$srcdir" = x.; then | |
7147 ac_vpsub='/^[ ]*VPATH[ ]*=/{ | |
7148 s/:*\$(srcdir):*/:/ | |
7149 s/:*\${srcdir}:*/:/ | |
7150 s/:*@srcdir@:*/:/ | |
7151 s/^\([^=]*=[ ]*\):*/\1/ | |
7152 s/:*$// | |
7153 s/^[^=]*=[ ]*$// | |
7154 }' | |
7155 fi | |
7156 | |
7157 cat >>$CONFIG_STATUS <<\_ACEOF | |
7158 fi # test -n "$CONFIG_FILES" | |
7159 | |
7160 | |
7161 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS | |
7162 do | |
7163 case $ac_tag in | |
7164 :[FHLC]) ac_mode=$ac_tag; continue;; | |
7165 esac | |
7166 case $ac_mode$ac_tag in | |
7167 :[FHL]*:*);; | |
7168 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 | |
7169 echo "$as_me: error: Invalid tag $ac_tag." >&2;} | |
7170 { (exit 1); exit 1; }; };; | |
7171 :[FH]-) ac_tag=-:-;; | |
7172 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; | |
7173 esac | |
7174 ac_save_IFS=$IFS | |
7175 IFS=: | |
7176 set x $ac_tag | |
7177 IFS=$ac_save_IFS | |
7178 shift | |
7179 ac_file=$1 | |
7180 shift | |
7181 | |
7182 case $ac_mode in | |
7183 :L) ac_source=$1;; | |
7184 :[FH]) | |
7185 ac_file_inputs= | |
7186 for ac_f | |
7187 do | |
7188 case $ac_f in | |
7189 -) ac_f="$tmp/stdin";; | |
7190 *) # Look for the file first in the build tree, then in the source tree | |
7191 # (if the path is not absolute). The absolute path cannot be DOS-style, | |
7192 # because $ac_f cannot contain `:'. | |
7193 test -f "$ac_f" || | |
7194 case $ac_f in | |
7195 [\\/$]*) false;; | |
7196 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; | |
7197 esac || | |
7198 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 | |
7199 echo "$as_me: error: cannot find input file: $ac_f" >&2;} | |
7200 { (exit 1); exit 1; }; };; | |
7201 esac | |
7202 ac_file_inputs="$ac_file_inputs $ac_f" | |
7203 done | |
7204 | |
7205 # Let's still pretend it is `configure' which instantiates (i.e., don't | |
7206 # use $as_me), people would be surprised to read: | |
7207 # /* config.h. Generated by config.status. */ | |
7208 configure_input="Generated from "`IFS=: | |
7209 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." | |
7210 if test x"$ac_file" != x-; then | |
7211 configure_input="$ac_file. $configure_input" | |
7212 { echo "$as_me:$LINENO: creating $ac_file" >&5 | |
7213 echo "$as_me: creating $ac_file" >&6;} | |
5515 fi | 7214 fi |
5516 if test ! -s $tmp/subs.frag; then | 7215 |
5517 ac_more_lines=false | 7216 case $ac_tag in |
5518 else | 7217 *:-:* | *:-) cat >"$tmp/stdin";; |
5519 # The purpose of the label and of the branching condition is to | 7218 esac |
5520 # speed up the sed processing (if there are no `@' at all, there | |
5521 # is no need to browse any of the substitutions). | |
5522 # These are the two extra sed commands mentioned above. | |
5523 (echo ':t | |
5524 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed | |
5525 if test -z "$ac_sed_cmds"; then | |
5526 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" | |
5527 else | |
5528 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" | |
5529 fi | |
5530 ac_sed_frag=`expr $ac_sed_frag + 1` | |
5531 ac_beg=$ac_end | |
5532 ac_end=`expr $ac_end + $ac_max_sed_lines` | |
5533 fi | |
5534 done | |
5535 if test -z "$ac_sed_cmds"; then | |
5536 ac_sed_cmds=cat | |
5537 fi | |
5538 fi # test -n "$CONFIG_FILES" | |
5539 | |
5540 _ACEOF | |
5541 cat >>$CONFIG_STATUS <<\_ACEOF | |
5542 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue | |
5543 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". | |
5544 case $ac_file in | |
5545 - | *:- | *:-:* ) # input from stdin | |
5546 cat >$tmp/stdin | |
5547 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | |
5548 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | |
5549 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | |
5550 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | |
5551 * ) ac_file_in=$ac_file.in ;; | |
5552 esac | |
5553 | |
5554 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. | |
5555 ac_dir=`(dirname "$ac_file") 2>/dev/null || | |
5556 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
5557 X"$ac_file" : 'X\(//\)[^/]' \| \ | |
5558 X"$ac_file" : 'X\(//\)$' \| \ | |
5559 X"$ac_file" : 'X\(/\)' \| \ | |
5560 . : '\(.\)' 2>/dev/null || | |
5561 echo X"$ac_file" | | |
5562 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | |
5563 /^X\(\/\/\)[^/].*/{ s//\1/; q; } | |
5564 /^X\(\/\/\)$/{ s//\1/; q; } | |
5565 /^X\(\/\).*/{ s//\1/; q; } | |
5566 s/.*/./; q'` | |
5567 { case "$ac_dir" in | |
5568 [\\/]* | ?:[\\/]* ) as_incr_dir=;; | |
5569 *) as_incr_dir=.;; | |
5570 esac | |
5571 as_dummy="$ac_dir" | |
5572 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do | |
5573 case $as_mkdir_dir in | |
5574 # Skip DOS drivespec | |
5575 ?:) as_incr_dir=$as_mkdir_dir ;; | |
5576 *) | |
5577 as_incr_dir=$as_incr_dir/$as_mkdir_dir | |
5578 test -d "$as_incr_dir" || | |
5579 mkdir "$as_incr_dir" || | |
5580 { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5 | |
5581 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;} | |
5582 { (exit 1); exit 1; }; } | |
5583 ;; | 7219 ;; |
5584 esac | 7220 esac |
5585 done; } | 7221 |
5586 | 7222 ac_dir=`$as_dirname -- "$ac_file" || |
7223 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
7224 X"$ac_file" : 'X\(//\)[^/]' \| \ | |
7225 X"$ac_file" : 'X\(//\)$' \| \ | |
7226 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || | |
7227 echo X"$ac_file" | | |
7228 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
7229 s//\1/ | |
7230 q | |
7231 } | |
7232 /^X\(\/\/\)[^/].*/{ | |
7233 s//\1/ | |
7234 q | |
7235 } | |
7236 /^X\(\/\/\)$/{ | |
7237 s//\1/ | |
7238 q | |
7239 } | |
7240 /^X\(\/\).*/{ | |
7241 s//\1/ | |
7242 q | |
7243 } | |
7244 s/.*/./; q'` | |
7245 { as_dir="$ac_dir" | |
7246 case $as_dir in #( | |
7247 -*) as_dir=./$as_dir;; | |
7248 esac | |
7249 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { | |
7250 as_dirs= | |
7251 while :; do | |
7252 case $as_dir in #( | |
7253 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( | |
7254 *) as_qdir=$as_dir;; | |
7255 esac | |
7256 as_dirs="'$as_qdir' $as_dirs" | |
7257 as_dir=`$as_dirname -- "$as_dir" || | |
7258 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
7259 X"$as_dir" : 'X\(//\)[^/]' \| \ | |
7260 X"$as_dir" : 'X\(//\)$' \| \ | |
7261 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || | |
7262 echo X"$as_dir" | | |
7263 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
7264 s//\1/ | |
7265 q | |
7266 } | |
7267 /^X\(\/\/\)[^/].*/{ | |
7268 s//\1/ | |
7269 q | |
7270 } | |
7271 /^X\(\/\/\)$/{ | |
7272 s//\1/ | |
7273 q | |
7274 } | |
7275 /^X\(\/\).*/{ | |
7276 s//\1/ | |
7277 q | |
7278 } | |
7279 s/.*/./; q'` | |
7280 test -d "$as_dir" && break | |
7281 done | |
7282 test -z "$as_dirs" || eval "mkdir $as_dirs" | |
7283 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 | |
7284 echo "$as_me: error: cannot create directory $as_dir" >&2;} | |
7285 { (exit 1); exit 1; }; }; } | |
5587 ac_builddir=. | 7286 ac_builddir=. |
5588 | 7287 |
5589 if test "$ac_dir" != .; then | 7288 case "$ac_dir" in |
7289 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; | |
7290 *) | |
5590 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` | 7291 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
5591 # A "../" for each directory in $ac_dir_suffix. | 7292 # A ".." for each directory in $ac_dir_suffix. |
5592 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` | 7293 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` |
5593 else | 7294 case $ac_top_builddir_sub in |
5594 ac_dir_suffix= ac_top_builddir= | 7295 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
5595 fi | 7296 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
7297 esac ;; | |
7298 esac | |
7299 ac_abs_top_builddir=$ac_pwd | |
7300 ac_abs_builddir=$ac_pwd$ac_dir_suffix | |
7301 # for backward compatibility: | |
7302 ac_top_builddir=$ac_top_build_prefix | |
5596 | 7303 |
5597 case $srcdir in | 7304 case $srcdir in |
5598 .) # No --srcdir option. We are building in place. | 7305 .) # We are building in place. |
5599 ac_srcdir=. | 7306 ac_srcdir=. |
5600 if test -z "$ac_top_builddir"; then | 7307 ac_top_srcdir=$ac_top_builddir_sub |
5601 ac_top_srcdir=. | 7308 ac_abs_top_srcdir=$ac_pwd ;; |
5602 else | 7309 [\\/]* | ?:[\\/]* ) # Absolute name. |
5603 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` | |
5604 fi ;; | |
5605 [\\/]* | ?:[\\/]* ) # Absolute path. | |
5606 ac_srcdir=$srcdir$ac_dir_suffix; | 7310 ac_srcdir=$srcdir$ac_dir_suffix; |
5607 ac_top_srcdir=$srcdir ;; | 7311 ac_top_srcdir=$srcdir |
5608 *) # Relative path. | 7312 ac_abs_top_srcdir=$srcdir ;; |
5609 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix | 7313 *) # Relative name. |
5610 ac_top_srcdir=$ac_top_builddir$srcdir ;; | 7314 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
5611 esac | 7315 ac_top_srcdir=$ac_top_build_prefix$srcdir |
5612 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be | 7316 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
5613 # absolute. | 7317 esac |
5614 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` | 7318 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
5615 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd` | 7319 |
5616 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` | 7320 |
5617 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` | 7321 case $ac_mode in |
5618 | 7322 :F) |
7323 # | |
7324 # CONFIG_FILE | |
7325 # | |
5619 | 7326 |
5620 case $INSTALL in | 7327 case $INSTALL in |
5621 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; | 7328 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
5622 *) ac_INSTALL=$ac_top_builddir$INSTALL ;; | 7329 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; |
5623 esac | 7330 esac |
5624 | 7331 _ACEOF |
5625 if test x"$ac_file" != x-; then | 7332 |
5626 { echo "$as_me:$LINENO: creating $ac_file" >&5 | 7333 cat >>$CONFIG_STATUS <<\_ACEOF |
5627 echo "$as_me: creating $ac_file" >&6;} | 7334 # If the template does not know about datarootdir, expand it. |
5628 rm -f "$ac_file" | 7335 # FIXME: This hack should be removed a few years after 2.60. |
5629 fi | 7336 ac_datarootdir_hack=; ac_datarootdir_seen= |
5630 # Let's still pretend it is `configure' which instantiates (i.e., don't | 7337 |
5631 # use $as_me), people would be surprised to read: | 7338 case `sed -n '/datarootdir/ { |
5632 # /* config.h. Generated by config.status. */ | 7339 p |
5633 if test x"$ac_file" = x-; then | 7340 q |
5634 configure_input= | 7341 } |
5635 else | 7342 /@datadir@/p |
5636 configure_input="$ac_file. " | 7343 /@docdir@/p |
5637 fi | 7344 /@infodir@/p |
5638 configure_input=$configure_input"Generated from `echo $ac_file_in | | 7345 /@localedir@/p |
5639 sed 's,.*/,,'` by configure." | 7346 /@mandir@/p |
5640 | 7347 ' $ac_file_inputs` in |
5641 # First look for the input files in the build tree, otherwise in the | 7348 *datarootdir*) ac_datarootdir_seen=yes;; |
5642 # src tree. | 7349 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) |
5643 ac_file_inputs=`IFS=: | 7350 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 |
5644 for f in $ac_file_in; do | 7351 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} |
5645 case $f in | 7352 _ACEOF |
5646 -) echo $tmp/stdin ;; | 7353 cat >>$CONFIG_STATUS <<_ACEOF |
5647 [\\/$]*) | 7354 ac_datarootdir_hack=' |
5648 # Absolute (can't be DOS-style, as IFS=:) | 7355 s&@datadir@&$datadir&g |
5649 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 | 7356 s&@docdir@&$docdir&g |
5650 echo "$as_me: error: cannot find input file: $f" >&2;} | 7357 s&@infodir@&$infodir&g |
5651 { (exit 1); exit 1; }; } | 7358 s&@localedir@&$localedir&g |
5652 echo $f;; | 7359 s&@mandir@&$mandir&g |
5653 *) # Relative | 7360 s&\\\${datarootdir}&$datarootdir&g' ;; |
5654 if test -f "$f"; then | 7361 esac |
5655 # Build tree | 7362 _ACEOF |
5656 echo $f | 7363 |
5657 elif test -f "$srcdir/$f"; then | 7364 # Neutralize VPATH when `$srcdir' = `.'. |
5658 # Source tree | 7365 # Shell code in configure.ac might set extrasub. |
5659 echo $srcdir/$f | 7366 # FIXME: do we really want to maintain this feature? |
5660 else | |
5661 # /dev/null tree | |
5662 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 | |
5663 echo "$as_me: error: cannot find input file: $f" >&2;} | |
5664 { (exit 1); exit 1; }; } | |
5665 fi;; | |
5666 esac | |
5667 done` || { (exit 1); exit 1; } | |
5668 _ACEOF | |
5669 cat >>$CONFIG_STATUS <<_ACEOF | 7367 cat >>$CONFIG_STATUS <<_ACEOF |
5670 sed "$ac_vpsub | 7368 sed "$ac_vpsub |
5671 $extrasub | 7369 $extrasub |
5672 _ACEOF | 7370 _ACEOF |
5673 cat >>$CONFIG_STATUS <<\_ACEOF | 7371 cat >>$CONFIG_STATUS <<\_ACEOF |
5674 :t | 7372 :t |
5675 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b | 7373 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
5676 s,@configure_input@,$configure_input,;t t | 7374 s&@configure_input@&$configure_input&;t t |
5677 s,@srcdir@,$ac_srcdir,;t t | 7375 s&@top_builddir@&$ac_top_builddir_sub&;t t |
5678 s,@abs_srcdir@,$ac_abs_srcdir,;t t | 7376 s&@srcdir@&$ac_srcdir&;t t |
5679 s,@top_srcdir@,$ac_top_srcdir,;t t | 7377 s&@abs_srcdir@&$ac_abs_srcdir&;t t |
5680 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t | 7378 s&@top_srcdir@&$ac_top_srcdir&;t t |
5681 s,@builddir@,$ac_builddir,;t t | 7379 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t |
5682 s,@abs_builddir@,$ac_abs_builddir,;t t | 7380 s&@builddir@&$ac_builddir&;t t |
5683 s,@top_builddir@,$ac_top_builddir,;t t | 7381 s&@abs_builddir@&$ac_abs_builddir&;t t |
5684 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t | 7382 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
5685 s,@INSTALL@,$ac_INSTALL,;t t | 7383 s&@INSTALL@&$ac_INSTALL&;t t |
5686 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out | 7384 $ac_datarootdir_hack |
5687 rm -f $tmp/stdin | 7385 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out |
5688 if test x"$ac_file" != x-; then | 7386 |
5689 mv $tmp/out $ac_file | 7387 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
5690 else | 7388 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && |
5691 cat $tmp/out | 7389 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && |
5692 rm -f $tmp/out | 7390 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
5693 fi | 7391 which seems to be undefined. Please make sure it is defined." >&5 |
5694 | 7392 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
5695 done | 7393 which seems to be undefined. Please make sure it is defined." >&2;} |
5696 _ACEOF | 7394 |
5697 cat >>$CONFIG_STATUS <<\_ACEOF | 7395 rm -f "$tmp/stdin" |
5698 | 7396 case $ac_file in |
5699 # | 7397 -) cat "$tmp/out"; rm -f "$tmp/out";; |
5700 # CONFIG_HEADER section. | 7398 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; |
5701 # | 7399 esac |
5702 | 7400 ;; |
5703 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where | 7401 :H) |
5704 # NAME is the cpp macro being defined and VALUE is the value it is being given. | 7402 # |
5705 # | 7403 # CONFIG_HEADER |
5706 # ac_d sets the value in "#define NAME VALUE" lines. | 7404 # |
5707 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' | 7405 _ACEOF |
5708 ac_dB='[ ].*$,\1#\2' | 7406 |
7407 # Transform confdefs.h into a sed script `conftest.defines', that | |
7408 # substitutes the proper values into config.h.in to produce config.h. | |
7409 rm -f conftest.defines conftest.tail | |
7410 # First, append a space to every undef/define line, to ease matching. | |
7411 echo 's/$/ /' >conftest.defines | |
7412 # Then, protect against being on the right side of a sed subst, or in | |
7413 # an unquoted here document, in config.status. If some macros were | |
7414 # called several times there might be several #defines for the same | |
7415 # symbol, which is useless. But do not sort them, since the last | |
7416 # AC_DEFINE must be honored. | |
7417 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* | |
7418 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where | |
7419 # NAME is the cpp macro being defined, VALUE is the value it is being given. | |
7420 # PARAMS is the parameter list in the macro definition--in most cases, it's | |
7421 # just an empty string. | |
7422 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*' | |
7423 ac_dB='\\)[ (].*,\\1define\\2' | |
5709 ac_dC=' ' | 7424 ac_dC=' ' |
5710 ac_dD=',;t' | 7425 ac_dD=' ,' |
5711 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". | 7426 |
5712 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' | 7427 uniq confdefs.h | |
5713 ac_uB='$,\1#\2define\3' | 7428 sed -n ' |
5714 ac_uC=' ' | 7429 t rset |
5715 ac_uD=',;t' | 7430 :rset |
5716 | 7431 s/^[ ]*#[ ]*define[ ][ ]*// |
5717 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue | 7432 t ok |
5718 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". | 7433 d |
5719 case $ac_file in | 7434 :ok |
5720 - | *:- | *:-:* ) # input from stdin | 7435 s/[\\&,]/\\&/g |
5721 cat >$tmp/stdin | 7436 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p |
5722 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | 7437 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p |
5723 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | 7438 ' >>conftest.defines |
5724 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | 7439 |
5725 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | 7440 # Remove the space that was appended to ease matching. |
5726 * ) ac_file_in=$ac_file.in ;; | 7441 # Then replace #undef with comments. This is necessary, for |
5727 esac | |
5728 | |
5729 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 | |
5730 echo "$as_me: creating $ac_file" >&6;} | |
5731 | |
5732 # First look for the input files in the build tree, otherwise in the | |
5733 # src tree. | |
5734 ac_file_inputs=`IFS=: | |
5735 for f in $ac_file_in; do | |
5736 case $f in | |
5737 -) echo $tmp/stdin ;; | |
5738 [\\/$]*) | |
5739 # Absolute (can't be DOS-style, as IFS=:) | |
5740 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 | |
5741 echo "$as_me: error: cannot find input file: $f" >&2;} | |
5742 { (exit 1); exit 1; }; } | |
5743 echo $f;; | |
5744 *) # Relative | |
5745 if test -f "$f"; then | |
5746 # Build tree | |
5747 echo $f | |
5748 elif test -f "$srcdir/$f"; then | |
5749 # Source tree | |
5750 echo $srcdir/$f | |
5751 else | |
5752 # /dev/null tree | |
5753 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 | |
5754 echo "$as_me: error: cannot find input file: $f" >&2;} | |
5755 { (exit 1); exit 1; }; } | |
5756 fi;; | |
5757 esac | |
5758 done` || { (exit 1); exit 1; } | |
5759 # Remove the trailing spaces. | |
5760 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in | |
5761 | |
5762 _ACEOF | |
5763 | |
5764 # Transform confdefs.h into two sed scripts, `conftest.defines' and | |
5765 # `conftest.undefs', that substitutes the proper values into | |
5766 # config.h.in to produce config.h. The first handles `#define' | |
5767 # templates, and the second `#undef' templates. | |
5768 # And first: Protect against being on the right side of a sed subst in | |
5769 # config.status. Protect against being in an unquoted here document | |
5770 # in config.status. | |
5771 rm -f conftest.defines conftest.undefs | |
5772 # Using a here document instead of a string reduces the quoting nightmare. | |
5773 # Putting comments in sed scripts is not portable. | |
5774 # | |
5775 # `end' is used to avoid that the second main sed command (meant for | |
5776 # 0-ary CPP macros) applies to n-ary macro definitions. | |
5777 # See the Autoconf documentation for `clear'. | |
5778 cat >confdef2sed.sed <<\_ACEOF | |
5779 s/[\\&,]/\\&/g | |
5780 s,[\\$`],\\&,g | |
5781 t clear | |
5782 : clear | |
5783 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp | |
5784 t end | |
5785 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp | |
5786 : end | |
5787 _ACEOF | |
5788 # If some macros were called several times there might be several times | |
5789 # the same #defines, which is useless. Nevertheless, we may not want to | |
5790 # sort them, since we want the *last* AC-DEFINE to be honored. | |
5791 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines | |
5792 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs | |
5793 rm -f confdef2sed.sed | |
5794 | |
5795 # This sed command replaces #undef with comments. This is necessary, for | |
5796 # example, in the case of _POSIX_SOURCE, which is predefined and required | 7442 # example, in the case of _POSIX_SOURCE, which is predefined and required |
5797 # on some systems where configure will not decide to define it. | 7443 # on some systems where configure will not decide to define it. |
5798 cat >>conftest.undefs <<\_ACEOF | 7444 # (The regexp can be short, since the line contains either #define or #undef.) |
5799 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, | 7445 echo 's/ $// |
5800 _ACEOF | 7446 s,^[ #]*u.*,/* & */,' >>conftest.defines |
5801 | 7447 |
5802 # Break up conftest.defines because some shells have a limit on the size | 7448 # Break up conftest.defines: |
5803 # of here documents, and old seds have small limits too (100 cmds). | 7449 ac_max_sed_lines=50 |
5804 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS | 7450 |
5805 echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS | 7451 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1" |
5806 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS | 7452 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2" |
5807 echo ' :' >>$CONFIG_STATUS | 7453 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1" |
5808 rm -f conftest.tail | 7454 # et cetera. |
5809 while grep . conftest.defines >/dev/null | 7455 ac_in='$ac_file_inputs' |
7456 ac_out='"$tmp/out1"' | |
7457 ac_nxt='"$tmp/out2"' | |
7458 | |
7459 while : | |
5810 do | 7460 do |
5811 # Write a limited-size here document to $tmp/defines.sed. | 7461 # Write a here document: |
5812 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS | 7462 cat >>$CONFIG_STATUS <<_ACEOF |
5813 # Speed up: don't consider the non `#define' lines. | 7463 # First, check the format of the line: |
5814 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS | 7464 cat >"\$tmp/defines.sed" <<\\CEOF |
5815 # Work around the forget-to-reset-the-flag bug. | 7465 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def |
5816 echo 't clr' >>$CONFIG_STATUS | 7466 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def |
5817 echo ': clr' >>$CONFIG_STATUS | 7467 b |
5818 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS | 7468 :def |
7469 _ACEOF | |
7470 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS | |
5819 echo 'CEOF | 7471 echo 'CEOF |
5820 sed -f $tmp/defines.sed $tmp/in >$tmp/out | 7472 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS |
5821 rm -f $tmp/in | 7473 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in |
5822 mv $tmp/out $tmp/in | 7474 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail |
5823 ' >>$CONFIG_STATUS | 7475 grep . conftest.tail >/dev/null || break |
5824 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail | |
5825 rm -f conftest.defines | 7476 rm -f conftest.defines |
5826 mv conftest.tail conftest.defines | 7477 mv conftest.tail conftest.defines |
5827 done | 7478 done |
5828 rm -f conftest.defines | 7479 rm -f conftest.defines conftest.tail |
5829 echo ' fi # egrep' >>$CONFIG_STATUS | 7480 |
5830 echo >>$CONFIG_STATUS | 7481 echo "ac_result=$ac_in" >>$CONFIG_STATUS |
5831 | |
5832 # Break up conftest.undefs because some shells have a limit on the size | |
5833 # of here documents, and old seds have small limits too (100 cmds). | |
5834 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS | |
5835 rm -f conftest.tail | |
5836 while grep . conftest.undefs >/dev/null | |
5837 do | |
5838 # Write a limited-size here document to $tmp/undefs.sed. | |
5839 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS | |
5840 # Speed up: don't consider the non `#undef' | |
5841 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS | |
5842 # Work around the forget-to-reset-the-flag bug. | |
5843 echo 't clr' >>$CONFIG_STATUS | |
5844 echo ': clr' >>$CONFIG_STATUS | |
5845 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS | |
5846 echo 'CEOF | |
5847 sed -f $tmp/undefs.sed $tmp/in >$tmp/out | |
5848 rm -f $tmp/in | |
5849 mv $tmp/out $tmp/in | |
5850 ' >>$CONFIG_STATUS | |
5851 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail | |
5852 rm -f conftest.undefs | |
5853 mv conftest.tail conftest.undefs | |
5854 done | |
5855 rm -f conftest.undefs | |
5856 | |
5857 cat >>$CONFIG_STATUS <<\_ACEOF | 7482 cat >>$CONFIG_STATUS <<\_ACEOF |
5858 # Let's still pretend it is `configure' which instantiates (i.e., don't | |
5859 # use $as_me), people would be surprised to read: | |
5860 # /* config.h. Generated by config.status. */ | |
5861 if test x"$ac_file" = x-; then | |
5862 echo "/* Generated by configure. */" >$tmp/config.h | |
5863 else | |
5864 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h | |
5865 fi | |
5866 cat $tmp/in >>$tmp/config.h | |
5867 rm -f $tmp/in | |
5868 if test x"$ac_file" != x-; then | 7483 if test x"$ac_file" != x-; then |
5869 if cmp -s $ac_file $tmp/config.h 2>/dev/null; then | 7484 echo "/* $configure_input */" >"$tmp/config.h" |
7485 cat "$ac_result" >>"$tmp/config.h" | |
7486 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then | |
5870 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 | 7487 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 |
5871 echo "$as_me: $ac_file is unchanged" >&6;} | 7488 echo "$as_me: $ac_file is unchanged" >&6;} |
5872 else | 7489 else |
5873 ac_dir=`(dirname "$ac_file") 2>/dev/null || | |
5874 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
5875 X"$ac_file" : 'X\(//\)[^/]' \| \ | |
5876 X"$ac_file" : 'X\(//\)$' \| \ | |
5877 X"$ac_file" : 'X\(/\)' \| \ | |
5878 . : '\(.\)' 2>/dev/null || | |
5879 echo X"$ac_file" | | |
5880 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | |
5881 /^X\(\/\/\)[^/].*/{ s//\1/; q; } | |
5882 /^X\(\/\/\)$/{ s//\1/; q; } | |
5883 /^X\(\/\).*/{ s//\1/; q; } | |
5884 s/.*/./; q'` | |
5885 { case "$ac_dir" in | |
5886 [\\/]* | ?:[\\/]* ) as_incr_dir=;; | |
5887 *) as_incr_dir=.;; | |
5888 esac | |
5889 as_dummy="$ac_dir" | |
5890 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do | |
5891 case $as_mkdir_dir in | |
5892 # Skip DOS drivespec | |
5893 ?:) as_incr_dir=$as_mkdir_dir ;; | |
5894 *) | |
5895 as_incr_dir=$as_incr_dir/$as_mkdir_dir | |
5896 test -d "$as_incr_dir" || | |
5897 mkdir "$as_incr_dir" || | |
5898 { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5 | |
5899 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;} | |
5900 { (exit 1); exit 1; }; } | |
5901 ;; | |
5902 esac | |
5903 done; } | |
5904 | |
5905 rm -f $ac_file | 7490 rm -f $ac_file |
5906 mv $tmp/config.h $ac_file | 7491 mv "$tmp/config.h" $ac_file |
5907 fi | 7492 fi |
5908 else | 7493 else |
5909 cat $tmp/config.h | 7494 echo "/* $configure_input */" |
5910 rm -f $tmp/config.h | 7495 cat "$ac_result" |
5911 fi | 7496 fi |
5912 done | 7497 rm -f "$tmp/out12" |
5913 _ACEOF | 7498 ;; |
5914 | 7499 |
5915 cat >>$CONFIG_STATUS <<\_ACEOF | 7500 |
7501 esac | |
7502 | |
7503 done # for ac_tag | |
7504 | |
5916 | 7505 |
5917 { (exit 0); exit 0; } | 7506 { (exit 0); exit 0; } |
5918 _ACEOF | 7507 _ACEOF |
5919 chmod +x $CONFIG_STATUS | 7508 chmod +x $CONFIG_STATUS |
5920 ac_clean_files=$ac_clean_files_save | 7509 ac_clean_files=$ac_clean_files_save |
5928 # effectively closing config.log, so it can be properly (re)opened and | 7517 # effectively closing config.log, so it can be properly (re)opened and |
5929 # appended to by config.status. When coming back to configure, we | 7518 # appended to by config.status. When coming back to configure, we |
5930 # need to make the FD available again. | 7519 # need to make the FD available again. |
5931 if test "$no_create" != yes; then | 7520 if test "$no_create" != yes; then |
5932 ac_cs_success=: | 7521 ac_cs_success=: |
7522 ac_config_status_args= | |
7523 test "$silent" = yes && | |
7524 ac_config_status_args="$ac_config_status_args --quiet" | |
5933 exec 5>/dev/null | 7525 exec 5>/dev/null |
5934 $SHELL $CONFIG_STATUS || ac_cs_success=false | 7526 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
5935 exec 5>>config.log | 7527 exec 5>>config.log |
5936 # Use ||, not &&, to avoid exiting from the if with $? = 1, which | 7528 # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
5937 # would make configure fail if this is the last instruction. | 7529 # would make configure fail if this is the last instruction. |
5938 $ac_cs_success || { (exit 1); exit 1; } | 7530 $ac_cs_success || { (exit 1); exit 1; } |
5939 fi | 7531 fi |