Mercurial > dwindows
comparison configure @ 1594:6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
There are several other projects that include compat.c and compat.h...
To avoid conflicts make sure the header and source files match the library.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Thu, 23 Feb 2012 12:44:15 +0000 |
parents | 751f127439f7 |
children | 080b764e8982 |
comparison
equal
deleted
inserted
replaced
1593:19af25f71e1f | 1594:6baf177f335c |
---|---|
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.68. | 3 # Generated by GNU Autoconf 2.61. |
4 # | |
5 # | 4 # |
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, | 5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software | 6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. |
8 # Foundation, Inc. | |
9 # | |
10 # | |
11 # This configure script is free software; the Free Software Foundation | 7 # This configure script is free software; the Free Software Foundation |
12 # gives unlimited permission to copy, distribute and modify it. | 8 # gives unlimited permission to copy, distribute and modify it. |
13 ## -------------------- ## | 9 ## --------------------- ## |
14 ## M4sh Initialization. ## | 10 ## M4sh Initialization. ## |
15 ## -------------------- ## | 11 ## --------------------- ## |
16 | 12 |
17 # Be more Bourne compatible | 13 # Be more Bourne compatible |
18 DUALCASE=1; export DUALCASE # for MKS sh | 14 DUALCASE=1; export DUALCASE # for MKS sh |
19 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 |
20 emulate sh | 16 emulate sh |
21 NULLCMD=: | 17 NULLCMD=: |
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which | 18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
23 # is contrary to our usage. Disable this feature. | 19 # is contrary to our usage. Disable this feature. |
24 alias -g '${1+"$@"}'='"$@"' | 20 alias -g '${1+"$@"}'='"$@"' |
25 setopt NO_GLOB_SUBST | 21 setopt NO_GLOB_SUBST |
26 else | 22 else |
27 case `(set -o) 2>/dev/null` in #( | 23 case `(set -o) 2>/dev/null` in |
28 *posix*) : | 24 *posix*) set -o posix ;; |
29 set -o posix ;; #( | 25 esac |
30 *) : | 26 |
31 ;; | 27 fi |
32 esac | 28 |
33 fi | 29 |
34 | 30 |
35 | 31 |
36 as_nl=' | 32 # PATH needs CR |
37 ' | 33 # Avoid depending upon Character Ranges. |
38 export as_nl | 34 as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
39 # Printing a long string crashes Solaris 7 /usr/bin/printf. | 35 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' | 36 as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo | 37 as_cr_digits='0123456789' |
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo | 38 as_cr_alnum=$as_cr_Letters$as_cr_digits |
43 # Prefer a ksh shell builtin over an external printf program on Solaris, | |
44 # but without wasting forks for bash or zsh. | |
45 if test -z "$BASH_VERSION$ZSH_VERSION" \ | |
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then | |
47 as_echo='print -r --' | |
48 as_echo_n='print -rn --' | |
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then | |
50 as_echo='printf %s\n' | |
51 as_echo_n='printf %s' | |
52 else | |
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then | |
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' | |
55 as_echo_n='/usr/ucb/echo -n' | |
56 else | |
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' | |
58 as_echo_n_body='eval | |
59 arg=$1; | |
60 case $arg in #( | |
61 *"$as_nl"*) | |
62 expr "X$arg" : "X\\(.*\\)$as_nl"; | |
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; | |
64 esac; | |
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" | |
66 ' | |
67 export as_echo_n_body | |
68 as_echo_n='sh -c $as_echo_n_body as_echo' | |
69 fi | |
70 export as_echo_body | |
71 as_echo='sh -c $as_echo_body as_echo' | |
72 fi | |
73 | 39 |
74 # The user is always right. | 40 # The user is always right. |
75 if test "${PATH_SEPARATOR+set}" != set; then | 41 if test "${PATH_SEPARATOR+set}" != set; then |
76 PATH_SEPARATOR=: | 42 echo "#! /bin/sh" >conf$$.sh |
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { | 43 echo "exit 0" >>conf$$.sh |
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || | 44 chmod +x conf$$.sh |
79 PATH_SEPARATOR=';' | 45 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
80 } | 46 PATH_SEPARATOR=';' |
47 else | |
48 PATH_SEPARATOR=: | |
49 fi | |
50 rm -f conf$$.sh | |
51 fi | |
52 | |
53 # Support unset when possible. | |
54 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then | |
55 as_unset=unset | |
56 else | |
57 as_unset=false | |
81 fi | 58 fi |
82 | 59 |
83 | 60 |
84 # IFS | 61 # IFS |
85 # We need space, tab and new line, in precisely that order. Quoting is | 62 # We need space, tab and new line, in precisely that order. Quoting is |
86 # there to prevent editors from complaining about space-tab. | 63 # there to prevent editors from complaining about space-tab. |
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word | 64 # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
88 # splitting by setting IFS to empty value.) | 65 # splitting by setting IFS to empty value.) |
66 as_nl=' | |
67 ' | |
89 IFS=" "" $as_nl" | 68 IFS=" "" $as_nl" |
90 | 69 |
91 # Find who we are. Look in the path if we contain no directory separator. | 70 # Find who we are. Look in the path if we contain no directory separator. |
92 as_myself= | 71 case $0 in |
93 case $0 in #(( | |
94 *[\\/]* ) as_myself=$0 ;; | 72 *[\\/]* ) as_myself=$0 ;; |
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 73 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
96 for as_dir in $PATH | 74 for as_dir in $PATH |
97 do | 75 do |
98 IFS=$as_save_IFS | 76 IFS=$as_save_IFS |
99 test -z "$as_dir" && as_dir=. | 77 test -z "$as_dir" && as_dir=. |
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | 78 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
101 done | 79 done |
102 IFS=$as_save_IFS | 80 IFS=$as_save_IFS |
103 | 81 |
104 ;; | 82 ;; |
105 esac | 83 esac |
106 # We did not find ourselves, most probably we were run as `sh COMMAND' | 84 # We did not find ourselves, most probably we were run as `sh COMMAND' |
107 # in which case we are not to be found in the path. | 85 # in which case we are not to be found in the path. |
108 if test "x$as_myself" = x; then | 86 if test "x$as_myself" = x; then |
109 as_myself=$0 | 87 as_myself=$0 |
110 fi | 88 fi |
111 if test ! -f "$as_myself"; then | 89 if test ! -f "$as_myself"; then |
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 | 90 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
113 exit 1 | 91 { (exit 1); exit 1; } |
114 fi | 92 fi |
115 | 93 |
116 # Unset variables that we do not need and which cause bugs (e.g. in | 94 # Work around bugs in pre-3.0 UWIN ksh. |
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" | 95 for as_var in ENV MAIL MAILPATH |
118 # suppresses any "Segmentation fault" message there. '((' could | 96 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
119 # trigger a bug in pdksh 5.2.14. | |
120 for as_var in BASH_ENV ENV MAIL MAILPATH | |
121 do eval test x\${$as_var+set} = xset \ | |
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : | |
123 done | 97 done |
124 PS1='$ ' | 98 PS1='$ ' |
125 PS2='> ' | 99 PS2='> ' |
126 PS4='+ ' | 100 PS4='+ ' |
127 | 101 |
128 # NLS nuisances. | 102 # NLS nuisances. |
129 LC_ALL=C | 103 for as_var in \ |
130 export LC_ALL | 104 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ |
131 LANGUAGE=C | 105 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
132 export LANGUAGE | 106 LC_TELEPHONE LC_TIME |
133 | |
134 # CDPATH. | |
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH | |
136 | |
137 if test "x$CONFIG_SHELL" = x; then | |
138 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : | |
139 emulate sh | |
140 NULLCMD=: | |
141 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which | |
142 # is contrary to our usage. Disable this feature. | |
143 alias -g '\${1+\"\$@\"}'='\"\$@\"' | |
144 setopt NO_GLOB_SUBST | |
145 else | |
146 case \`(set -o) 2>/dev/null\` in #( | |
147 *posix*) : | |
148 set -o posix ;; #( | |
149 *) : | |
150 ;; | |
151 esac | |
152 fi | |
153 " | |
154 as_required="as_fn_return () { (exit \$1); } | |
155 as_fn_success () { as_fn_return 0; } | |
156 as_fn_failure () { as_fn_return 1; } | |
157 as_fn_ret_success () { return 0; } | |
158 as_fn_ret_failure () { return 1; } | |
159 | |
160 exitcode=0 | |
161 as_fn_success || { exitcode=1; echo as_fn_success failed.; } | |
162 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } | |
163 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } | |
164 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } | |
165 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : | |
166 | |
167 else | |
168 exitcode=1; echo positional parameters were not saved. | |
169 fi | |
170 test x\$exitcode = x0 || exit 1" | |
171 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO | |
172 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO | |
173 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && | |
174 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 | |
175 test \$(( 1 + 1 )) = 2 || exit 1" | |
176 if (eval "$as_required") 2>/dev/null; then : | |
177 as_have_required=yes | |
178 else | |
179 as_have_required=no | |
180 fi | |
181 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : | |
182 | |
183 else | |
184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
185 as_found=false | |
186 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH | |
187 do | 107 do |
188 IFS=$as_save_IFS | 108 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
189 test -z "$as_dir" && as_dir=. | 109 eval $as_var=C; export $as_var |
190 as_found=: | 110 else |
191 case $as_dir in #( | 111 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
192 /*) | 112 fi |
193 for as_base in sh bash ksh sh5; do | |
194 # Try only shells that exist, to save several forks. | |
195 as_shell=$as_dir/$as_base | |
196 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && | |
197 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : | |
198 CONFIG_SHELL=$as_shell as_have_required=yes | |
199 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : | |
200 break 2 | |
201 fi | |
202 fi | |
203 done;; | |
204 esac | |
205 as_found=false | |
206 done | 113 done |
207 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && | 114 |
208 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : | 115 # Required to use basename. |
209 CONFIG_SHELL=$SHELL as_have_required=yes | |
210 fi; } | |
211 IFS=$as_save_IFS | |
212 | |
213 | |
214 if test "x$CONFIG_SHELL" != x; then : | |
215 # We cannot yet assume a decent shell, so we have to provide a | |
216 # neutralization value for shells without unset; and this also | |
217 # works around shells that cannot unset nonexistent variables. | |
218 # Preserve -v and -x to the replacement shell. | |
219 BASH_ENV=/dev/null | |
220 ENV=/dev/null | |
221 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV | |
222 export CONFIG_SHELL | |
223 case $- in # (((( | |
224 *v*x* | *x*v* ) as_opts=-vx ;; | |
225 *v* ) as_opts=-v ;; | |
226 *x* ) as_opts=-x ;; | |
227 * ) as_opts= ;; | |
228 esac | |
229 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} | |
230 fi | |
231 | |
232 if test x$as_have_required = xno; then : | |
233 $as_echo "$0: This script requires a shell more modern than all" | |
234 $as_echo "$0: the shells that I found on your system." | |
235 if test x${ZSH_VERSION+set} = xset ; then | |
236 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" | |
237 $as_echo "$0: be upgraded to zsh 4.3.4 or later." | |
238 else | |
239 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, | |
240 $0: including any error possibly output before this | |
241 $0: message. Then install a modern shell, or manually run | |
242 $0: the script under such a shell if you do have one." | |
243 fi | |
244 exit 1 | |
245 fi | |
246 fi | |
247 fi | |
248 SHELL=${CONFIG_SHELL-/bin/sh} | |
249 export SHELL | |
250 # Unset more variables known to interfere with behavior of common tools. | |
251 CLICOLOR_FORCE= GREP_OPTIONS= | |
252 unset CLICOLOR_FORCE GREP_OPTIONS | |
253 | |
254 ## --------------------- ## | |
255 ## M4sh Shell Functions. ## | |
256 ## --------------------- ## | |
257 # as_fn_unset VAR | |
258 # --------------- | |
259 # Portably unset VAR. | |
260 as_fn_unset () | |
261 { | |
262 { eval $1=; unset $1;} | |
263 } | |
264 as_unset=as_fn_unset | |
265 | |
266 # as_fn_set_status STATUS | |
267 # ----------------------- | |
268 # Set $? to STATUS, without forking. | |
269 as_fn_set_status () | |
270 { | |
271 return $1 | |
272 } # as_fn_set_status | |
273 | |
274 # as_fn_exit STATUS | |
275 # ----------------- | |
276 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. | |
277 as_fn_exit () | |
278 { | |
279 set +e | |
280 as_fn_set_status $1 | |
281 exit $1 | |
282 } # as_fn_exit | |
283 | |
284 # as_fn_mkdir_p | |
285 # ------------- | |
286 # Create "$as_dir" as a directory, including parents if necessary. | |
287 as_fn_mkdir_p () | |
288 { | |
289 | |
290 case $as_dir in #( | |
291 -*) as_dir=./$as_dir;; | |
292 esac | |
293 test -d "$as_dir" || eval $as_mkdir_p || { | |
294 as_dirs= | |
295 while :; do | |
296 case $as_dir in #( | |
297 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( | |
298 *) as_qdir=$as_dir;; | |
299 esac | |
300 as_dirs="'$as_qdir' $as_dirs" | |
301 as_dir=`$as_dirname -- "$as_dir" || | |
302 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
303 X"$as_dir" : 'X\(//\)[^/]' \| \ | |
304 X"$as_dir" : 'X\(//\)$' \| \ | |
305 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || | |
306 $as_echo X"$as_dir" | | |
307 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
308 s//\1/ | |
309 q | |
310 } | |
311 /^X\(\/\/\)[^/].*/{ | |
312 s//\1/ | |
313 q | |
314 } | |
315 /^X\(\/\/\)$/{ | |
316 s//\1/ | |
317 q | |
318 } | |
319 /^X\(\/\).*/{ | |
320 s//\1/ | |
321 q | |
322 } | |
323 s/.*/./; q'` | |
324 test -d "$as_dir" && break | |
325 done | |
326 test -z "$as_dirs" || eval "mkdir $as_dirs" | |
327 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" | |
328 | |
329 | |
330 } # as_fn_mkdir_p | |
331 # as_fn_append VAR VALUE | |
332 # ---------------------- | |
333 # Append the text in VALUE to the end of the definition contained in VAR. Take | |
334 # advantage of any shell optimizations that allow amortized linear growth over | |
335 # repeated appends, instead of the typical quadratic growth present in naive | |
336 # implementations. | |
337 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : | |
338 eval 'as_fn_append () | |
339 { | |
340 eval $1+=\$2 | |
341 }' | |
342 else | |
343 as_fn_append () | |
344 { | |
345 eval $1=\$$1\$2 | |
346 } | |
347 fi # as_fn_append | |
348 | |
349 # as_fn_arith ARG... | |
350 # ------------------ | |
351 # Perform arithmetic evaluation on the ARGs, and store the result in the | |
352 # global $as_val. Take advantage of shells that can avoid forks. The arguments | |
353 # must be portable across $(()) and expr. | |
354 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : | |
355 eval 'as_fn_arith () | |
356 { | |
357 as_val=$(( $* )) | |
358 }' | |
359 else | |
360 as_fn_arith () | |
361 { | |
362 as_val=`expr "$@" || test $? -eq 1` | |
363 } | |
364 fi # as_fn_arith | |
365 | |
366 | |
367 # as_fn_error STATUS ERROR [LINENO LOG_FD] | |
368 # ---------------------------------------- | |
369 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are | |
370 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the | |
371 # script with STATUS, using 1 if that was 0. | |
372 as_fn_error () | |
373 { | |
374 as_status=$1; test $as_status -eq 0 && as_status=1 | |
375 if test "$4"; then | |
376 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
377 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 | |
378 fi | |
379 $as_echo "$as_me: error: $2" >&2 | |
380 as_fn_exit $as_status | |
381 } # as_fn_error | |
382 | |
383 if expr a : '\(a\)' >/dev/null 2>&1 && | 116 if expr a : '\(a\)' >/dev/null 2>&1 && |
384 test "X`expr 00001 : '.*\(...\)'`" = X001; then | 117 test "X`expr 00001 : '.*\(...\)'`" = X001; then |
385 as_expr=expr | 118 as_expr=expr |
386 else | 119 else |
387 as_expr=false | 120 as_expr=false |
391 as_basename=basename | 124 as_basename=basename |
392 else | 125 else |
393 as_basename=false | 126 as_basename=false |
394 fi | 127 fi |
395 | 128 |
396 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then | 129 |
397 as_dirname=dirname | 130 # Name of the executable. |
398 else | |
399 as_dirname=false | |
400 fi | |
401 | |
402 as_me=`$as_basename -- "$0" || | 131 as_me=`$as_basename -- "$0" || |
403 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | 132 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
404 X"$0" : 'X\(//\)$' \| \ | 133 X"$0" : 'X\(//\)$' \| \ |
405 X"$0" : 'X\(/\)' \| . 2>/dev/null || | 134 X"$0" : 'X\(/\)' \| . 2>/dev/null || |
406 $as_echo X/"$0" | | 135 echo X/"$0" | |
407 sed '/^.*\/\([^/][^/]*\)\/*$/{ | 136 sed '/^.*\/\([^/][^/]*\)\/*$/{ |
408 s//\1/ | 137 s//\1/ |
409 q | 138 q |
410 } | 139 } |
411 /^X\/\(\/\/\)$/{ | 140 /^X\/\(\/\/\)$/{ |
416 s//\1/ | 145 s//\1/ |
417 q | 146 q |
418 } | 147 } |
419 s/.*/./; q'` | 148 s/.*/./; q'` |
420 | 149 |
421 # Avoid depending upon Character Ranges. | 150 # CDPATH. |
422 as_cr_letters='abcdefghijklmnopqrstuvwxyz' | 151 $as_unset CDPATH |
423 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | 152 |
424 as_cr_Letters=$as_cr_letters$as_cr_LETTERS | 153 |
425 as_cr_digits='0123456789' | 154 if test "x$CONFIG_SHELL" = x; then |
426 as_cr_alnum=$as_cr_Letters$as_cr_digits | 155 if (eval ":") 2>/dev/null; then |
427 | 156 as_have_required=yes |
428 | 157 else |
429 as_lineno_1=$LINENO as_lineno_1a=$LINENO | 158 as_have_required=no |
430 as_lineno_2=$LINENO as_lineno_2a=$LINENO | 159 fi |
431 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && | 160 |
432 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { | 161 if test $as_have_required = yes && (eval ": |
433 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) | 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= | |
221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
222 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH | |
223 do | |
224 IFS=$as_save_IFS | |
225 test -z "$as_dir" && as_dir=. | |
226 case $as_dir in | |
227 /*) | |
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 ( | |
328 as_lineno_1=$LINENO | |
329 as_lineno_2=$LINENO | |
330 test "x$as_lineno_1" != "x$as_lineno_2" && | |
331 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } | |
332 | |
333 _ASEOF | |
334 }; then | |
335 break | |
336 fi | |
337 | |
338 fi | |
339 | |
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" || { | |
427 | |
428 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO | |
429 # uniformly replaced by the line number. The first 'sed' inserts a | |
430 # line-number line after each line using $LINENO; the second 'sed' | |
431 # does the real work. The second script uses 'N' to pair each | |
432 # line-number line with the line containing $LINENO, and appends | |
433 # trailing '-' during substitution so that $LINENO is not a special | |
434 # case at line end. | |
435 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the | |
436 # scripts with optimization help from Paolo Bonzini. Blame Lee | |
437 # E. McMahon (1931-1989) for sed's syntax. :-) | |
434 sed -n ' | 438 sed -n ' |
435 p | 439 p |
436 /[$]LINENO/= | 440 /[$]LINENO/= |
437 ' <$as_myself | | 441 ' <$as_myself | |
438 sed ' | 442 sed ' |
445 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ | 449 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
446 t loop | 450 t loop |
447 s/-\n.*// | 451 s/-\n.*// |
448 ' >$as_me.lineno && | 452 ' >$as_me.lineno && |
449 chmod +x "$as_me.lineno" || | 453 chmod +x "$as_me.lineno" || |
450 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } | 454 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
455 { (exit 1); exit 1; }; } | |
451 | 456 |
452 # 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 |
453 # (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 |
454 # original and so on. Autoconf is especially sensitive to this). | 459 # original and so on. Autoconf is especially sensitive to this). |
455 . "./$as_me.lineno" | 460 . "./$as_me.lineno" |
456 # Exit status is that of the last command. | 461 # Exit status is that of the last command. |
457 exit | 462 exit |
458 } | 463 } |
459 | 464 |
465 | |
466 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then | |
467 as_dirname=dirname | |
468 else | |
469 as_dirname=false | |
470 fi | |
471 | |
460 ECHO_C= ECHO_N= ECHO_T= | 472 ECHO_C= ECHO_N= ECHO_T= |
461 case `echo -n x` in #((((( | 473 case `echo -n x` in |
462 -n*) | 474 -n*) |
463 case `echo 'xy\c'` in | 475 case `echo 'x\c'` in |
464 *c*) ECHO_T=' ';; # ECHO_T is single tab character. | 476 *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
465 xy) ECHO_C='\c';; | 477 *) ECHO_C='\c';; |
466 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null | |
467 ECHO_T=' ';; | |
468 esac;; | 478 esac;; |
469 *) | 479 *) |
470 ECHO_N='-n';; | 480 ECHO_N='-n';; |
471 esac | 481 esac |
472 | 482 |
483 if expr a : '\(a\)' >/dev/null 2>&1 && | |
484 test "X`expr 00001 : '.*\(...\)'`" = X001; then | |
485 as_expr=expr | |
486 else | |
487 as_expr=false | |
488 fi | |
489 | |
473 rm -f conf$$ conf$$.exe conf$$.file | 490 rm -f conf$$ conf$$.exe conf$$.file |
474 if test -d conf$$.dir; then | 491 if test -d conf$$.dir; then |
475 rm -f conf$$.dir/conf$$.file | 492 rm -f conf$$.dir/conf$$.file |
476 else | 493 else |
477 rm -f conf$$.dir | 494 rm -f conf$$.dir |
478 mkdir conf$$.dir 2>/dev/null | 495 mkdir conf$$.dir |
479 fi | 496 fi |
480 if (echo >conf$$.file) 2>/dev/null; then | 497 echo >conf$$.file |
481 if ln -s conf$$.file conf$$ 2>/dev/null; then | 498 if ln -s conf$$.file conf$$ 2>/dev/null; then |
482 as_ln_s='ln -s' | 499 as_ln_s='ln -s' |
483 # ... but there are two gotchas: | 500 # ... but there are two gotchas: |
484 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. | 501 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
485 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. | 502 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
486 # In both cases, we have to default to `cp -p'. | 503 # In both cases, we have to default to `cp -p'. |
487 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || | 504 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
488 as_ln_s='cp -p' | |
489 elif ln conf$$.file conf$$ 2>/dev/null; then | |
490 as_ln_s=ln | |
491 else | |
492 as_ln_s='cp -p' | 505 as_ln_s='cp -p' |
493 fi | 506 elif ln conf$$.file conf$$ 2>/dev/null; then |
507 as_ln_s=ln | |
494 else | 508 else |
495 as_ln_s='cp -p' | 509 as_ln_s='cp -p' |
496 fi | 510 fi |
497 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file | 511 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
498 rmdir conf$$.dir 2>/dev/null | 512 rmdir conf$$.dir 2>/dev/null |
499 | 513 |
500 if mkdir -p . 2>/dev/null; then | 514 if mkdir -p . 2>/dev/null; then |
501 as_mkdir_p='mkdir -p "$as_dir"' | 515 as_mkdir_p=: |
502 else | 516 else |
503 test -d ./-p && rmdir ./-p | 517 test -d ./-p && rmdir ./-p |
504 as_mkdir_p=false | 518 as_mkdir_p=false |
505 fi | 519 fi |
506 | 520 |
513 as_ls_L_option= | 527 as_ls_L_option= |
514 fi | 528 fi |
515 as_test_x=' | 529 as_test_x=' |
516 eval sh -c '\'' | 530 eval sh -c '\'' |
517 if test -d "$1"; then | 531 if test -d "$1"; then |
518 test -d "$1/."; | 532 test -d "$1/."; |
519 else | 533 else |
520 case $1 in #( | 534 case $1 in |
521 -*)set "./$1";; | 535 -*)set "./$1";; |
522 esac; | 536 esac; |
523 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( | 537 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in |
524 ???[sx]*):;;*)false;;esac;fi | 538 ???[sx]*):;;*)false;;esac;fi |
525 '\'' sh | 539 '\'' sh |
526 ' | 540 ' |
527 fi | 541 fi |
528 as_executable_p=$as_test_x | 542 as_executable_p=$as_test_x |
532 | 546 |
533 # Sed expression to map a string onto a valid variable name. | 547 # Sed expression to map a string onto a valid variable name. |
534 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | 548 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
535 | 549 |
536 | 550 |
537 test -n "$DJDIR" || exec 7<&0 </dev/null | 551 |
538 exec 6>&1 | 552 exec 7<&0 </dev/null 6>&1 |
539 | 553 |
540 # Name of the host. | 554 # Name of the host. |
541 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, | 555 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, |
542 # so uname gets run too. | 556 # so uname gets run too. |
543 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` | 557 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
544 | 558 |
545 # | 559 # |
546 # Initializations. | 560 # Initializations. |
551 LIBOBJS= | 565 LIBOBJS= |
552 cross_compiling=no | 566 cross_compiling=no |
553 subdirs= | 567 subdirs= |
554 MFLAGS= | 568 MFLAGS= |
555 MAKEFLAGS= | 569 MAKEFLAGS= |
570 SHELL=${CONFIG_SHELL-/bin/sh} | |
556 | 571 |
557 # Identity of this package. | 572 # Identity of this package. |
558 PACKAGE_NAME= | 573 PACKAGE_NAME= |
559 PACKAGE_TARNAME= | 574 PACKAGE_TARNAME= |
560 PACKAGE_VERSION= | 575 PACKAGE_VERSION= |
561 PACKAGE_STRING= | 576 PACKAGE_STRING= |
562 PACKAGE_BUGREPORT= | 577 PACKAGE_BUGREPORT= |
563 PACKAGE_URL= | |
564 | 578 |
565 ac_unique_file="winmain.c" | 579 ac_unique_file="winmain.c" |
566 # Factoring default headers for most tests. | 580 # Factoring default headers for most tests. |
567 ac_includes_default="\ | 581 ac_includes_default="\ |
568 #include <stdio.h> | 582 #include <stdio.h> |
597 #endif | 611 #endif |
598 #ifdef HAVE_UNISTD_H | 612 #ifdef HAVE_UNISTD_H |
599 # include <unistd.h> | 613 # include <unistd.h> |
600 #endif" | 614 #endif" |
601 | 615 |
602 ac_subst_vars='LTLIBOBJS | 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 TARGET | |
654 TARGET2 | |
655 CC | |
656 CFLAGS | |
657 LDFLAGS | |
658 CPPFLAGS | |
659 ac_ct_CC | |
660 EXEEXT | |
661 OBJEXT | |
662 CXX | |
663 CXXFLAGS | |
664 ac_ct_CXX | |
665 MAKE | |
666 SVNVERSION | |
667 INSTALL_PROGRAM | |
668 INSTALL_SCRIPT | |
669 INSTALL_DATA | |
670 build | |
671 build_cpu | |
672 build_vendor | |
673 build_os | |
674 host | |
675 host_cpu | |
676 host_vendor | |
677 host_os | |
678 target | |
679 target_cpu | |
680 target_vendor | |
681 target_os | |
682 CPP | |
683 GREP | |
684 EGREP | |
685 PKG_CFG | |
686 GLIB_CONFIG | |
687 GLIB_CFLAGS | |
688 GLIB_LIBS | |
689 GTK_CONFIG | |
690 GTK_CFLAGS | |
691 GTK_LIBS | |
692 IMLIB_CONFIG | |
693 GDK_IMLIB_CFLAGS | |
694 GDK_IMLIB_LIBS | |
695 SYSCONF_LINK_TARGET_SHARED | |
696 SYSCONF_LINK_TARGET_SHARED2 | |
697 SYSCONF_LINK_TARGET_STATIC | |
698 INCLUDES | |
699 PLATCCFLAGS | |
700 ARFLAGS | |
701 RM | |
702 LN | |
703 CP | |
704 MV | |
705 MKDIR | |
706 SHAREDFLAG | |
707 SOSUFFIX | |
708 LIBSUFFIX | |
709 LIBPREFIX | |
710 SONAME | |
711 TARGETS | |
712 DW_SRC | |
713 DW_DIR | |
714 DW_DEFINE | |
715 BROWSER_OBJECT | |
716 COMPAT_OBJECT | |
717 INSTALL_COMPAT | |
718 ARCH | |
603 LIBOBJS | 719 LIBOBJS |
604 ARCH | 720 LTLIBOBJS' |
605 INSTALL_COMPAT | |
606 COMPAT_OBJECT | |
607 BROWSER_OBJECT | |
608 DW_DEFINE | |
609 DW_DIR | |
610 DW_SRC | |
611 TARGETS | |
612 SONAME | |
613 LIBPREFIX | |
614 LIBSUFFIX | |
615 SOSUFFIX | |
616 SHAREDFLAG | |
617 MKDIR | |
618 MV | |
619 CP | |
620 LN | |
621 RM | |
622 ARFLAGS | |
623 PLATCCFLAGS | |
624 INCLUDES | |
625 SYSCONF_LINK_TARGET_STATIC | |
626 SYSCONF_LINK_TARGET_SHARED2 | |
627 SYSCONF_LINK_TARGET_SHARED | |
628 GDK_IMLIB_LIBS | |
629 GDK_IMLIB_CFLAGS | |
630 IMLIB_CONFIG | |
631 GTK_LIBS | |
632 GTK_CFLAGS | |
633 GTK_CONFIG | |
634 GLIB_LIBS | |
635 GLIB_CFLAGS | |
636 GLIB_CONFIG | |
637 PKG_CFG | |
638 EGREP | |
639 GREP | |
640 CPP | |
641 target_os | |
642 target_vendor | |
643 target_cpu | |
644 target | |
645 host_os | |
646 host_vendor | |
647 host_cpu | |
648 host | |
649 build_os | |
650 build_vendor | |
651 build_cpu | |
652 build | |
653 INSTALL_DATA | |
654 INSTALL_SCRIPT | |
655 INSTALL_PROGRAM | |
656 SVNVERSION | |
657 MAKE | |
658 ac_ct_CXX | |
659 CXXFLAGS | |
660 CXX | |
661 OBJEXT | |
662 EXEEXT | |
663 ac_ct_CC | |
664 CPPFLAGS | |
665 LDFLAGS | |
666 CFLAGS | |
667 CC | |
668 TARGET2 | |
669 TARGET | |
670 target_alias | |
671 host_alias | |
672 build_alias | |
673 LIBS | |
674 ECHO_T | |
675 ECHO_N | |
676 ECHO_C | |
677 DEFS | |
678 mandir | |
679 localedir | |
680 libdir | |
681 psdir | |
682 pdfdir | |
683 dvidir | |
684 htmldir | |
685 infodir | |
686 docdir | |
687 oldincludedir | |
688 includedir | |
689 localstatedir | |
690 sharedstatedir | |
691 sysconfdir | |
692 datadir | |
693 datarootdir | |
694 libexecdir | |
695 sbindir | |
696 bindir | |
697 program_transform_name | |
698 prefix | |
699 exec_prefix | |
700 PACKAGE_URL | |
701 PACKAGE_BUGREPORT | |
702 PACKAGE_STRING | |
703 PACKAGE_VERSION | |
704 PACKAGE_TARNAME | |
705 PACKAGE_NAME | |
706 PATH_SEPARATOR | |
707 SHELL' | |
708 ac_subst_files='' | 721 ac_subst_files='' |
709 ac_user_opts=' | |
710 enable_option_checking | |
711 with_compat | |
712 with_gtk3 | |
713 with_gtk | |
714 with_gtkframework | |
715 with_gtkhtml | |
716 with_gtkmozembed | |
717 with_arch | |
718 with_glib_prefix | |
719 with_glib_exec_prefix | |
720 enable_glibtest | |
721 with_gtk_prefix | |
722 with_gtk_exec_prefix | |
723 enable_gtktest | |
724 with_imlib_prefix | |
725 with_imlib_exec_prefix | |
726 enable_imlibtest | |
727 ' | |
728 ac_precious_vars='build_alias | 722 ac_precious_vars='build_alias |
729 host_alias | 723 host_alias |
730 target_alias | 724 target_alias |
731 CC | 725 CC |
732 CFLAGS | 726 CFLAGS |
740 | 734 |
741 | 735 |
742 # Initialize some variables set by options. | 736 # Initialize some variables set by options. |
743 ac_init_help= | 737 ac_init_help= |
744 ac_init_version=false | 738 ac_init_version=false |
745 ac_unrecognized_opts= | |
746 ac_unrecognized_sep= | |
747 # The variables have the same names as the options, with | 739 # The variables have the same names as the options, with |
748 # dashes changed to underlines. | 740 # dashes changed to underlines. |
749 cache_file=/dev/null | 741 cache_file=/dev/null |
750 exec_prefix=NONE | 742 exec_prefix=NONE |
751 no_create= | 743 no_create= |
797 ac_prev= | 789 ac_prev= |
798 continue | 790 continue |
799 fi | 791 fi |
800 | 792 |
801 case $ac_option in | 793 case $ac_option in |
802 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; | 794 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
803 *=) ac_optarg= ;; | 795 *) ac_optarg=yes ;; |
804 *) ac_optarg=yes ;; | |
805 esac | 796 esac |
806 | 797 |
807 # Accept the important Cygnus configure options, so we can diagnose typos. | 798 # Accept the important Cygnus configure options, so we can diagnose typos. |
808 | 799 |
809 case $ac_dashdash$ac_option in | 800 case $ac_dashdash$ac_option in |
841 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ | 832 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ |
842 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) | 833 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) |
843 datarootdir=$ac_optarg ;; | 834 datarootdir=$ac_optarg ;; |
844 | 835 |
845 -disable-* | --disable-*) | 836 -disable-* | --disable-*) |
846 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` | 837 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
847 # Reject names that are not valid shell variable names. | 838 # Reject names that are not valid shell variable names. |
848 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | 839 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && |
849 as_fn_error $? "invalid feature name: $ac_useropt" | 840 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
850 ac_useropt_orig=$ac_useropt | 841 { (exit 1); exit 1; }; } |
851 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | 842 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` |
852 case $ac_user_opts in | 843 eval enable_$ac_feature=no ;; |
853 *" | |
854 "enable_$ac_useropt" | |
855 "*) ;; | |
856 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" | |
857 ac_unrecognized_sep=', ';; | |
858 esac | |
859 eval enable_$ac_useropt=no ;; | |
860 | 844 |
861 -docdir | --docdir | --docdi | --doc | --do) | 845 -docdir | --docdir | --docdi | --doc | --do) |
862 ac_prev=docdir ;; | 846 ac_prev=docdir ;; |
863 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) | 847 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) |
864 docdir=$ac_optarg ;; | 848 docdir=$ac_optarg ;; |
867 ac_prev=dvidir ;; | 851 ac_prev=dvidir ;; |
868 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) | 852 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) |
869 dvidir=$ac_optarg ;; | 853 dvidir=$ac_optarg ;; |
870 | 854 |
871 -enable-* | --enable-*) | 855 -enable-* | --enable-*) |
872 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` | 856 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
873 # Reject names that are not valid shell variable names. | 857 # Reject names that are not valid shell variable names. |
874 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | 858 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && |
875 as_fn_error $? "invalid feature name: $ac_useropt" | 859 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
876 ac_useropt_orig=$ac_useropt | 860 { (exit 1); exit 1; }; } |
877 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | 861 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` |
878 case $ac_user_opts in | 862 eval enable_$ac_feature=\$ac_optarg ;; |
879 *" | |
880 "enable_$ac_useropt" | |
881 "*) ;; | |
882 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" | |
883 ac_unrecognized_sep=', ';; | |
884 esac | |
885 eval enable_$ac_useropt=\$ac_optarg ;; | |
886 | 863 |
887 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | 864 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
888 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | 865 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
889 | --exec | --exe | --ex) | 866 | --exec | --exe | --ex) |
890 ac_prev=exec_prefix ;; | 867 ac_prev=exec_prefix ;; |
1071 | 1048 |
1072 -version | --version | --versio | --versi | --vers | -V) | 1049 -version | --version | --versio | --versi | --vers | -V) |
1073 ac_init_version=: ;; | 1050 ac_init_version=: ;; |
1074 | 1051 |
1075 -with-* | --with-*) | 1052 -with-* | --with-*) |
1076 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` | 1053 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
1077 # Reject names that are not valid shell variable names. | 1054 # Reject names that are not valid shell variable names. |
1078 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | 1055 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && |
1079 as_fn_error $? "invalid package name: $ac_useropt" | 1056 { echo "$as_me: error: invalid package name: $ac_package" >&2 |
1080 ac_useropt_orig=$ac_useropt | 1057 { (exit 1); exit 1; }; } |
1081 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | 1058 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` |
1082 case $ac_user_opts in | 1059 eval with_$ac_package=\$ac_optarg ;; |
1083 *" | |
1084 "with_$ac_useropt" | |
1085 "*) ;; | |
1086 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" | |
1087 ac_unrecognized_sep=', ';; | |
1088 esac | |
1089 eval with_$ac_useropt=\$ac_optarg ;; | |
1090 | 1060 |
1091 -without-* | --without-*) | 1061 -without-* | --without-*) |
1092 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` | 1062 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
1093 # Reject names that are not valid shell variable names. | 1063 # Reject names that are not valid shell variable names. |
1094 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | 1064 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && |
1095 as_fn_error $? "invalid package name: $ac_useropt" | 1065 { echo "$as_me: error: invalid package name: $ac_package" >&2 |
1096 ac_useropt_orig=$ac_useropt | 1066 { (exit 1); exit 1; }; } |
1097 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | 1067 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` |
1098 case $ac_user_opts in | 1068 eval with_$ac_package=no ;; |
1099 *" | |
1100 "with_$ac_useropt" | |
1101 "*) ;; | |
1102 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" | |
1103 ac_unrecognized_sep=', ';; | |
1104 esac | |
1105 eval with_$ac_useropt=no ;; | |
1106 | 1069 |
1107 --x) | 1070 --x) |
1108 # Obsolete; use --with-x. | 1071 # Obsolete; use --with-x. |
1109 with_x=yes ;; | 1072 with_x=yes ;; |
1110 | 1073 |
1120 ac_prev=x_libraries ;; | 1083 ac_prev=x_libraries ;; |
1121 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | 1084 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
1122 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) | 1085 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
1123 x_libraries=$ac_optarg ;; | 1086 x_libraries=$ac_optarg ;; |
1124 | 1087 |
1125 -*) as_fn_error $? "unrecognized option: \`$ac_option' | 1088 -*) { echo "$as_me: error: unrecognized option: $ac_option |
1126 Try \`$0 --help' for more information" | 1089 Try \`$0 --help' for more information." >&2 |
1090 { (exit 1); exit 1; }; } | |
1127 ;; | 1091 ;; |
1128 | 1092 |
1129 *=*) | 1093 *=*) |
1130 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` | 1094 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
1131 # Reject names that are not valid shell variable names. | 1095 # Reject names that are not valid shell variable names. |
1132 case $ac_envvar in #( | 1096 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && |
1133 '' | [0-9]* | *[!_$as_cr_alnum]* ) | 1097 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 |
1134 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; | 1098 { (exit 1); exit 1; }; } |
1135 esac | |
1136 eval $ac_envvar=\$ac_optarg | 1099 eval $ac_envvar=\$ac_optarg |
1137 export $ac_envvar ;; | 1100 export $ac_envvar ;; |
1138 | 1101 |
1139 *) | 1102 *) |
1140 # FIXME: should be removed in autoconf 3.0. | 1103 # FIXME: should be removed in autoconf 3.0. |
1141 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 | 1104 echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
1142 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && | 1105 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
1143 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 | 1106 echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
1144 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" | 1107 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} |
1145 ;; | 1108 ;; |
1146 | 1109 |
1147 esac | 1110 esac |
1148 done | 1111 done |
1149 | 1112 |
1150 if test -n "$ac_prev"; then | 1113 if test -n "$ac_prev"; then |
1151 ac_option=--`echo $ac_prev | sed 's/_/-/g'` | 1114 ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
1152 as_fn_error $? "missing argument to $ac_option" | 1115 { echo "$as_me: error: missing argument to $ac_option" >&2 |
1153 fi | 1116 { (exit 1); exit 1; }; } |
1154 | 1117 fi |
1155 if test -n "$ac_unrecognized_opts"; then | 1118 |
1156 case $enable_option_checking in | 1119 # Be sure to have absolute directory names. |
1157 no) ;; | |
1158 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; | |
1159 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; | |
1160 esac | |
1161 fi | |
1162 | |
1163 # Check all directory arguments for consistency. | |
1164 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ | 1120 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
1165 datadir sysconfdir sharedstatedir localstatedir includedir \ | 1121 datadir sysconfdir sharedstatedir localstatedir includedir \ |
1166 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ | 1122 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
1167 libdir localedir mandir | 1123 libdir localedir mandir |
1168 do | 1124 do |
1169 eval ac_val=\$$ac_var | 1125 eval ac_val=\$$ac_var |
1170 # Remove trailing slashes. | |
1171 case $ac_val in | |
1172 */ ) | |
1173 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` | |
1174 eval $ac_var=\$ac_val;; | |
1175 esac | |
1176 # Be sure to have absolute directory names. | |
1177 case $ac_val in | 1126 case $ac_val in |
1178 [\\/$]* | ?:[\\/]* ) continue;; | 1127 [\\/$]* | ?:[\\/]* ) continue;; |
1179 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; | 1128 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
1180 esac | 1129 esac |
1181 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" | 1130 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
1131 { (exit 1); exit 1; }; } | |
1182 done | 1132 done |
1183 | 1133 |
1184 # There might be people who depend on the old broken behavior: `$host' | 1134 # There might be people who depend on the old broken behavior: `$host' |
1185 # used to hold the argument of --host etc. | 1135 # used to hold the argument of --host etc. |
1186 # FIXME: To remove some day. | 1136 # FIXME: To remove some day. |
1190 | 1140 |
1191 # FIXME: To remove some day. | 1141 # FIXME: To remove some day. |
1192 if test "x$host_alias" != x; then | 1142 if test "x$host_alias" != x; then |
1193 if test "x$build_alias" = x; then | 1143 if test "x$build_alias" = x; then |
1194 cross_compiling=maybe | 1144 cross_compiling=maybe |
1195 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. | 1145 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. |
1196 If a cross compiler is detected then cross compile mode will be used" >&2 | 1146 If a cross compiler is detected then cross compile mode will be used." >&2 |
1197 elif test "x$build_alias" != "x$host_alias"; then | 1147 elif test "x$build_alias" != "x$host_alias"; then |
1198 cross_compiling=yes | 1148 cross_compiling=yes |
1199 fi | 1149 fi |
1200 fi | 1150 fi |
1201 | 1151 |
1206 | 1156 |
1207 | 1157 |
1208 ac_pwd=`pwd` && test -n "$ac_pwd" && | 1158 ac_pwd=`pwd` && test -n "$ac_pwd" && |
1209 ac_ls_di=`ls -di .` && | 1159 ac_ls_di=`ls -di .` && |
1210 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || | 1160 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
1211 as_fn_error $? "working directory cannot be determined" | 1161 { echo "$as_me: error: Working directory cannot be determined" >&2 |
1162 { (exit 1); exit 1; }; } | |
1212 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || | 1163 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
1213 as_fn_error $? "pwd does not report name of working directory" | 1164 { echo "$as_me: error: pwd does not report name of working directory" >&2 |
1165 { (exit 1); exit 1; }; } | |
1214 | 1166 |
1215 | 1167 |
1216 # Find the source files, if location was not specified. | 1168 # Find the source files, if location was not specified. |
1217 if test -z "$srcdir"; then | 1169 if test -z "$srcdir"; then |
1218 ac_srcdir_defaulted=yes | 1170 ac_srcdir_defaulted=yes |
1219 # Try the directory containing this script, then the parent directory. | 1171 # Try the directory containing this script, then the parent directory. |
1220 ac_confdir=`$as_dirname -- "$as_myself" || | 1172 ac_confdir=`$as_dirname -- "$0" || |
1221 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 1173 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
1222 X"$as_myself" : 'X\(//\)[^/]' \| \ | 1174 X"$0" : 'X\(//\)[^/]' \| \ |
1223 X"$as_myself" : 'X\(//\)$' \| \ | 1175 X"$0" : 'X\(//\)$' \| \ |
1224 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || | 1176 X"$0" : 'X\(/\)' \| . 2>/dev/null || |
1225 $as_echo X"$as_myself" | | 1177 echo X"$0" | |
1226 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | 1178 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
1227 s//\1/ | 1179 s//\1/ |
1228 q | 1180 q |
1229 } | 1181 } |
1230 /^X\(\/\/\)[^/].*/{ | 1182 /^X\(\/\/\)[^/].*/{ |
1247 else | 1199 else |
1248 ac_srcdir_defaulted=no | 1200 ac_srcdir_defaulted=no |
1249 fi | 1201 fi |
1250 if test ! -r "$srcdir/$ac_unique_file"; then | 1202 if test ! -r "$srcdir/$ac_unique_file"; then |
1251 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." | 1203 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
1252 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" | 1204 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 |
1205 { (exit 1); exit 1; }; } | |
1253 fi | 1206 fi |
1254 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" | 1207 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
1255 ac_abs_confdir=`( | 1208 ac_abs_confdir=`( |
1256 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" | 1209 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 |
1210 { (exit 1); exit 1; }; } | |
1257 pwd)` | 1211 pwd)` |
1258 # When building in place, set srcdir=. | 1212 # When building in place, set srcdir=. |
1259 if test "$ac_abs_confdir" = "$ac_pwd"; then | 1213 if test "$ac_abs_confdir" = "$ac_pwd"; then |
1260 srcdir=. | 1214 srcdir=. |
1261 fi | 1215 fi |
1291 Configuration: | 1245 Configuration: |
1292 -h, --help display this help and exit | 1246 -h, --help display this help and exit |
1293 --help=short display options specific to this package | 1247 --help=short display options specific to this package |
1294 --help=recursive display the short help of all the included packages | 1248 --help=recursive display the short help of all the included packages |
1295 -V, --version display version information and exit | 1249 -V, --version display version information and exit |
1296 -q, --quiet, --silent do not print \`checking ...' messages | 1250 -q, --quiet, --silent do not print \`checking...' messages |
1297 --cache-file=FILE cache test results in FILE [disabled] | 1251 --cache-file=FILE cache test results in FILE [disabled] |
1298 -C, --config-cache alias for \`--cache-file=config.cache' | 1252 -C, --config-cache alias for \`--cache-file=config.cache' |
1299 -n, --no-create do not create output files | 1253 -n, --no-create do not create output files |
1300 --srcdir=DIR find the sources in DIR [configure dir or \`..'] | 1254 --srcdir=DIR find the sources in DIR [configure dir or \`..'] |
1301 | 1255 |
1302 Installation directories: | 1256 Installation directories: |
1303 --prefix=PREFIX install architecture-independent files in PREFIX | 1257 --prefix=PREFIX install architecture-independent files in PREFIX |
1304 [$ac_default_prefix] | 1258 [$ac_default_prefix] |
1305 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX | 1259 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
1306 [PREFIX] | 1260 [PREFIX] |
1307 | 1261 |
1308 By default, \`make install' will install all the files in | 1262 By default, \`make install' will install all the files in |
1309 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify | 1263 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
1310 an installation prefix other than \`$ac_default_prefix' using \`--prefix', | 1264 an installation prefix other than \`$ac_default_prefix' using \`--prefix', |
1311 for instance \`--prefix=\$HOME'. | 1265 for instance \`--prefix=\$HOME'. |
1312 | 1266 |
1313 For better control, use the options below. | 1267 For better control, use the options below. |
1314 | 1268 |
1315 Fine tuning of the installation directories: | 1269 Fine tuning of the installation directories: |
1316 --bindir=DIR user executables [EPREFIX/bin] | 1270 --bindir=DIR user executables [EPREFIX/bin] |
1317 --sbindir=DIR system admin executables [EPREFIX/sbin] | 1271 --sbindir=DIR system admin executables [EPREFIX/sbin] |
1318 --libexecdir=DIR program executables [EPREFIX/libexec] | 1272 --libexecdir=DIR program executables [EPREFIX/libexec] |
1319 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] | 1273 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
1320 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] | 1274 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
1321 --localstatedir=DIR modifiable single-machine data [PREFIX/var] | 1275 --localstatedir=DIR modifiable single-machine data [PREFIX/var] |
1322 --libdir=DIR object code libraries [EPREFIX/lib] | 1276 --libdir=DIR object code libraries [EPREFIX/lib] |
1323 --includedir=DIR C header files [PREFIX/include] | 1277 --includedir=DIR C header files [PREFIX/include] |
1324 --oldincludedir=DIR C header files for non-gcc [/usr/include] | 1278 --oldincludedir=DIR C header files for non-gcc [/usr/include] |
1325 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] | 1279 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
1326 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] | 1280 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
1327 --infodir=DIR info documentation [DATAROOTDIR/info] | 1281 --infodir=DIR info documentation [DATAROOTDIR/info] |
1328 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] | 1282 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] |
1329 --mandir=DIR man documentation [DATAROOTDIR/man] | 1283 --mandir=DIR man documentation [DATAROOTDIR/man] |
1330 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] | 1284 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] |
1331 --htmldir=DIR html documentation [DOCDIR] | 1285 --htmldir=DIR html documentation [DOCDIR] |
1332 --dvidir=DIR dvi documentation [DOCDIR] | 1286 --dvidir=DIR dvi documentation [DOCDIR] |
1333 --pdfdir=DIR pdf documentation [DOCDIR] | 1287 --pdfdir=DIR pdf documentation [DOCDIR] |
1334 --psdir=DIR ps documentation [DOCDIR] | 1288 --psdir=DIR ps documentation [DOCDIR] |
1335 _ACEOF | 1289 _ACEOF |
1336 | 1290 |
1337 cat <<\_ACEOF | 1291 cat <<\_ACEOF |
1338 | 1292 |
1339 System types: | 1293 System types: |
1346 if test -n "$ac_init_help"; then | 1300 if test -n "$ac_init_help"; then |
1347 | 1301 |
1348 cat <<\_ACEOF | 1302 cat <<\_ACEOF |
1349 | 1303 |
1350 Optional Features: | 1304 Optional Features: |
1351 --disable-option-checking ignore unrecognized --enable/--with options | |
1352 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) | 1305 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
1353 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] | 1306 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
1354 --disable-glibtest Do not try to compile and run a test GLIB program | 1307 --disable-glibtest Do not try to compile and run a test GLIB program |
1355 --disable-gtktest Do not try to compile and run a test GTK program | 1308 --disable-gtktest Do not try to compile and run a test GTK program |
1356 --disable-imlibtest Do not try to compile and run a test IMLIB program | 1309 --disable-imlibtest Do not try to compile and run a test IMLIB program |
1357 | 1310 |
1358 Optional Packages: | 1311 Optional Packages: |
1359 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] | 1312 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
1360 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) | 1313 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
1361 --with-compat specify this to build the optional dwcompat library | 1314 --with-dwcompat specify this to build the optional dwcompat library |
1362 --with-gtk3 specify this to build with GTK+ 3.x if available | 1315 --with-gtk3 specify this to build with GTK+ 3.x if available |
1363 --with-gtk specify this to build dwindows with GTK+ (only relevant for OSX) | 1316 --with-gtk specify this to build dwindows with GTK+ (only relevant for OSX) |
1364 --with-gtkframework specify this to build dwindows with GTK+ Framework (only relevant for OSX) | 1317 --with-gtkframework specify this to build dwindows with GTK+ Framework (only relevant for OSX) |
1365 --with-gtkhtml specify this to build dwindows with libgtkhtml-2 | 1318 --with-gtkhtml specify this to build dwindows with libgtkhtml-2 |
1366 --with-gtkmozembed specify this to build dwindows with Mozilla gtkmozembed | 1319 --with-gtkmozembed specify this to build dwindows with Mozilla gtkmozembed |
1376 CC C compiler command | 1329 CC C compiler command |
1377 CFLAGS C compiler flags | 1330 CFLAGS C compiler flags |
1378 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a | 1331 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
1379 nonstandard directory <lib dir> | 1332 nonstandard directory <lib dir> |
1380 LIBS libraries to pass to the linker, e.g. -l<library> | 1333 LIBS libraries to pass to the linker, e.g. -l<library> |
1381 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if | 1334 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if |
1382 you have headers in a nonstandard directory <include dir> | 1335 you have headers in a nonstandard directory <include dir> |
1383 CXX C++ compiler command | 1336 CXX C++ compiler command |
1384 CXXFLAGS C++ compiler flags | 1337 CXXFLAGS C++ compiler flags |
1385 CPP C preprocessor | 1338 CPP C preprocessor |
1386 | 1339 |
1387 Use these variables to override the choices made by `configure' or to help | 1340 Use these variables to override the choices made by `configure' or to help |
1388 it to find libraries and programs with nonstandard names/locations. | 1341 it to find libraries and programs with nonstandard names/locations. |
1389 | 1342 |
1390 Report bugs to the package provider. | |
1391 _ACEOF | 1343 _ACEOF |
1392 ac_status=$? | 1344 ac_status=$? |
1393 fi | 1345 fi |
1394 | 1346 |
1395 if test "$ac_init_help" = "recursive"; then | 1347 if test "$ac_init_help" = "recursive"; then |
1396 # If there are subdirs, report their specific --help. | 1348 # If there are subdirs, report their specific --help. |
1397 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue | 1349 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
1398 test -d "$ac_dir" || | 1350 test -d "$ac_dir" || continue |
1399 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || | |
1400 continue | |
1401 ac_builddir=. | 1351 ac_builddir=. |
1402 | 1352 |
1403 case "$ac_dir" in | 1353 case "$ac_dir" in |
1404 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; | 1354 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
1405 *) | 1355 *) |
1406 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` | 1356 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
1407 # A ".." for each directory in $ac_dir_suffix. | 1357 # A ".." for each directory in $ac_dir_suffix. |
1408 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` | 1358 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` |
1409 case $ac_top_builddir_sub in | 1359 case $ac_top_builddir_sub in |
1410 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; | 1360 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
1411 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; | 1361 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
1412 esac ;; | 1362 esac ;; |
1413 esac | 1363 esac |
1439 $SHELL "$ac_srcdir/configure.gnu" --help=recursive | 1389 $SHELL "$ac_srcdir/configure.gnu" --help=recursive |
1440 elif test -f "$ac_srcdir/configure"; then | 1390 elif test -f "$ac_srcdir/configure"; then |
1441 echo && | 1391 echo && |
1442 $SHELL "$ac_srcdir/configure" --help=recursive | 1392 $SHELL "$ac_srcdir/configure" --help=recursive |
1443 else | 1393 else |
1444 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 | 1394 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
1445 fi || ac_status=$? | 1395 fi || ac_status=$? |
1446 cd "$ac_pwd" || { ac_status=$?; break; } | 1396 cd "$ac_pwd" || { ac_status=$?; break; } |
1447 done | 1397 done |
1448 fi | 1398 fi |
1449 | 1399 |
1450 test -n "$ac_init_help" && exit $ac_status | 1400 test -n "$ac_init_help" && exit $ac_status |
1451 if $ac_init_version; then | 1401 if $ac_init_version; then |
1452 cat <<\_ACEOF | 1402 cat <<\_ACEOF |
1453 configure | 1403 configure |
1454 generated by GNU Autoconf 2.68 | 1404 generated by GNU Autoconf 2.61 |
1455 | 1405 |
1456 Copyright (C) 2010 Free Software Foundation, Inc. | 1406 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
1407 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. | |
1457 This configure script is free software; the Free Software Foundation | 1408 This configure script is free software; the Free Software Foundation |
1458 gives unlimited permission to copy, distribute and modify it. | 1409 gives unlimited permission to copy, distribute and modify it. |
1459 _ACEOF | 1410 _ACEOF |
1460 exit | 1411 exit |
1461 fi | 1412 fi |
1462 | |
1463 ## ------------------------ ## | |
1464 ## Autoconf initialization. ## | |
1465 ## ------------------------ ## | |
1466 | |
1467 # ac_fn_c_try_compile LINENO | |
1468 # -------------------------- | |
1469 # Try to compile conftest.$ac_ext, and return whether this succeeded. | |
1470 ac_fn_c_try_compile () | |
1471 { | |
1472 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
1473 rm -f conftest.$ac_objext | |
1474 if { { ac_try="$ac_compile" | |
1475 case "(($ac_try" in | |
1476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
1477 *) ac_try_echo=$ac_try;; | |
1478 esac | |
1479 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
1480 $as_echo "$ac_try_echo"; } >&5 | |
1481 (eval "$ac_compile") 2>conftest.err | |
1482 ac_status=$? | |
1483 if test -s conftest.err; then | |
1484 grep -v '^ *+' conftest.err >conftest.er1 | |
1485 cat conftest.er1 >&5 | |
1486 mv -f conftest.er1 conftest.err | |
1487 fi | |
1488 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
1489 test $ac_status = 0; } && { | |
1490 test -z "$ac_c_werror_flag" || | |
1491 test ! -s conftest.err | |
1492 } && test -s conftest.$ac_objext; then : | |
1493 ac_retval=0 | |
1494 else | |
1495 $as_echo "$as_me: failed program was:" >&5 | |
1496 sed 's/^/| /' conftest.$ac_ext >&5 | |
1497 | |
1498 ac_retval=1 | |
1499 fi | |
1500 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | |
1501 as_fn_set_status $ac_retval | |
1502 | |
1503 } # ac_fn_c_try_compile | |
1504 | |
1505 # ac_fn_cxx_try_compile LINENO | |
1506 # ---------------------------- | |
1507 # Try to compile conftest.$ac_ext, and return whether this succeeded. | |
1508 ac_fn_cxx_try_compile () | |
1509 { | |
1510 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
1511 rm -f conftest.$ac_objext | |
1512 if { { ac_try="$ac_compile" | |
1513 case "(($ac_try" in | |
1514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
1515 *) ac_try_echo=$ac_try;; | |
1516 esac | |
1517 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
1518 $as_echo "$ac_try_echo"; } >&5 | |
1519 (eval "$ac_compile") 2>conftest.err | |
1520 ac_status=$? | |
1521 if test -s conftest.err; then | |
1522 grep -v '^ *+' conftest.err >conftest.er1 | |
1523 cat conftest.er1 >&5 | |
1524 mv -f conftest.er1 conftest.err | |
1525 fi | |
1526 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
1527 test $ac_status = 0; } && { | |
1528 test -z "$ac_cxx_werror_flag" || | |
1529 test ! -s conftest.err | |
1530 } && test -s conftest.$ac_objext; then : | |
1531 ac_retval=0 | |
1532 else | |
1533 $as_echo "$as_me: failed program was:" >&5 | |
1534 sed 's/^/| /' conftest.$ac_ext >&5 | |
1535 | |
1536 ac_retval=1 | |
1537 fi | |
1538 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | |
1539 as_fn_set_status $ac_retval | |
1540 | |
1541 } # ac_fn_cxx_try_compile | |
1542 | |
1543 # ac_fn_c_try_cpp LINENO | |
1544 # ---------------------- | |
1545 # Try to preprocess conftest.$ac_ext, and return whether this succeeded. | |
1546 ac_fn_c_try_cpp () | |
1547 { | |
1548 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
1549 if { { ac_try="$ac_cpp conftest.$ac_ext" | |
1550 case "(($ac_try" in | |
1551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
1552 *) ac_try_echo=$ac_try;; | |
1553 esac | |
1554 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
1555 $as_echo "$ac_try_echo"; } >&5 | |
1556 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err | |
1557 ac_status=$? | |
1558 if test -s conftest.err; then | |
1559 grep -v '^ *+' conftest.err >conftest.er1 | |
1560 cat conftest.er1 >&5 | |
1561 mv -f conftest.er1 conftest.err | |
1562 fi | |
1563 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
1564 test $ac_status = 0; } > conftest.i && { | |
1565 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
1566 test ! -s conftest.err | |
1567 }; then : | |
1568 ac_retval=0 | |
1569 else | |
1570 $as_echo "$as_me: failed program was:" >&5 | |
1571 sed 's/^/| /' conftest.$ac_ext >&5 | |
1572 | |
1573 ac_retval=1 | |
1574 fi | |
1575 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | |
1576 as_fn_set_status $ac_retval | |
1577 | |
1578 } # ac_fn_c_try_cpp | |
1579 | |
1580 # ac_fn_c_try_run LINENO | |
1581 # ---------------------- | |
1582 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes | |
1583 # that executables *can* be run. | |
1584 ac_fn_c_try_run () | |
1585 { | |
1586 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
1587 if { { ac_try="$ac_link" | |
1588 case "(($ac_try" in | |
1589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
1590 *) ac_try_echo=$ac_try;; | |
1591 esac | |
1592 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
1593 $as_echo "$ac_try_echo"; } >&5 | |
1594 (eval "$ac_link") 2>&5 | |
1595 ac_status=$? | |
1596 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
1597 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' | |
1598 { { case "(($ac_try" in | |
1599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
1600 *) ac_try_echo=$ac_try;; | |
1601 esac | |
1602 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
1603 $as_echo "$ac_try_echo"; } >&5 | |
1604 (eval "$ac_try") 2>&5 | |
1605 ac_status=$? | |
1606 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
1607 test $ac_status = 0; }; }; then : | |
1608 ac_retval=0 | |
1609 else | |
1610 $as_echo "$as_me: program exited with status $ac_status" >&5 | |
1611 $as_echo "$as_me: failed program was:" >&5 | |
1612 sed 's/^/| /' conftest.$ac_ext >&5 | |
1613 | |
1614 ac_retval=$ac_status | |
1615 fi | |
1616 rm -rf conftest.dSYM conftest_ipa8_conftest.oo | |
1617 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | |
1618 as_fn_set_status $ac_retval | |
1619 | |
1620 } # ac_fn_c_try_run | |
1621 | |
1622 # ac_fn_c_try_link LINENO | |
1623 # ----------------------- | |
1624 # Try to link conftest.$ac_ext, and return whether this succeeded. | |
1625 ac_fn_c_try_link () | |
1626 { | |
1627 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
1628 rm -f conftest.$ac_objext conftest$ac_exeext | |
1629 if { { ac_try="$ac_link" | |
1630 case "(($ac_try" in | |
1631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
1632 *) ac_try_echo=$ac_try;; | |
1633 esac | |
1634 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
1635 $as_echo "$ac_try_echo"; } >&5 | |
1636 (eval "$ac_link") 2>conftest.err | |
1637 ac_status=$? | |
1638 if test -s conftest.err; then | |
1639 grep -v '^ *+' conftest.err >conftest.er1 | |
1640 cat conftest.er1 >&5 | |
1641 mv -f conftest.er1 conftest.err | |
1642 fi | |
1643 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
1644 test $ac_status = 0; } && { | |
1645 test -z "$ac_c_werror_flag" || | |
1646 test ! -s conftest.err | |
1647 } && test -s conftest$ac_exeext && { | |
1648 test "$cross_compiling" = yes || | |
1649 $as_test_x conftest$ac_exeext | |
1650 }; then : | |
1651 ac_retval=0 | |
1652 else | |
1653 $as_echo "$as_me: failed program was:" >&5 | |
1654 sed 's/^/| /' conftest.$ac_ext >&5 | |
1655 | |
1656 ac_retval=1 | |
1657 fi | |
1658 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information | |
1659 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would | |
1660 # interfere with the next link command; also delete a directory that is | |
1661 # left behind by Apple's compiler. We do this before executing the actions. | |
1662 rm -rf conftest.dSYM conftest_ipa8_conftest.oo | |
1663 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | |
1664 as_fn_set_status $ac_retval | |
1665 | |
1666 } # ac_fn_c_try_link | |
1667 | |
1668 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES | |
1669 # ------------------------------------------------------- | |
1670 # Tests whether HEADER exists, giving a warning if it cannot be compiled using | |
1671 # the include files in INCLUDES and setting the cache variable VAR | |
1672 # accordingly. | |
1673 ac_fn_c_check_header_mongrel () | |
1674 { | |
1675 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
1676 if eval \${$3+:} false; then : | |
1677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | |
1678 $as_echo_n "checking for $2... " >&6; } | |
1679 if eval \${$3+:} false; then : | |
1680 $as_echo_n "(cached) " >&6 | |
1681 fi | |
1682 eval ac_res=\$$3 | |
1683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |
1684 $as_echo "$ac_res" >&6; } | |
1685 else | |
1686 # Is the header compilable? | |
1687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 | |
1688 $as_echo_n "checking $2 usability... " >&6; } | |
1689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
1690 /* end confdefs.h. */ | |
1691 $4 | |
1692 #include <$2> | |
1693 _ACEOF | |
1694 if ac_fn_c_try_compile "$LINENO"; then : | |
1695 ac_header_compiler=yes | |
1696 else | |
1697 ac_header_compiler=no | |
1698 fi | |
1699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
1700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 | |
1701 $as_echo "$ac_header_compiler" >&6; } | |
1702 | |
1703 # Is the header present? | |
1704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 | |
1705 $as_echo_n "checking $2 presence... " >&6; } | |
1706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
1707 /* end confdefs.h. */ | |
1708 #include <$2> | |
1709 _ACEOF | |
1710 if ac_fn_c_try_cpp "$LINENO"; then : | |
1711 ac_header_preproc=yes | |
1712 else | |
1713 ac_header_preproc=no | |
1714 fi | |
1715 rm -f conftest.err conftest.i conftest.$ac_ext | |
1716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 | |
1717 $as_echo "$ac_header_preproc" >&6; } | |
1718 | |
1719 # So? What about this header? | |
1720 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( | |
1721 yes:no: ) | |
1722 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 | |
1723 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
1724 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 | |
1725 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} | |
1726 ;; | |
1727 no:yes:* ) | |
1728 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 | |
1729 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} | |
1730 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 | |
1731 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} | |
1732 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 | |
1733 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} | |
1734 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 | |
1735 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} | |
1736 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 | |
1737 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} | |
1738 ;; | |
1739 esac | |
1740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | |
1741 $as_echo_n "checking for $2... " >&6; } | |
1742 if eval \${$3+:} false; then : | |
1743 $as_echo_n "(cached) " >&6 | |
1744 else | |
1745 eval "$3=\$ac_header_compiler" | |
1746 fi | |
1747 eval ac_res=\$$3 | |
1748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |
1749 $as_echo "$ac_res" >&6; } | |
1750 fi | |
1751 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | |
1752 | |
1753 } # ac_fn_c_check_header_mongrel | |
1754 | |
1755 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES | |
1756 # ------------------------------------------------------- | |
1757 # Tests whether HEADER exists and can be compiled using the include files in | |
1758 # INCLUDES, setting the cache variable VAR accordingly. | |
1759 ac_fn_c_check_header_compile () | |
1760 { | |
1761 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
1762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | |
1763 $as_echo_n "checking for $2... " >&6; } | |
1764 if eval \${$3+:} false; then : | |
1765 $as_echo_n "(cached) " >&6 | |
1766 else | |
1767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
1768 /* end confdefs.h. */ | |
1769 $4 | |
1770 #include <$2> | |
1771 _ACEOF | |
1772 if ac_fn_c_try_compile "$LINENO"; then : | |
1773 eval "$3=yes" | |
1774 else | |
1775 eval "$3=no" | |
1776 fi | |
1777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
1778 fi | |
1779 eval ac_res=\$$3 | |
1780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |
1781 $as_echo "$ac_res" >&6; } | |
1782 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | |
1783 | |
1784 } # ac_fn_c_check_header_compile | |
1785 | |
1786 # ac_fn_c_check_func LINENO FUNC VAR | |
1787 # ---------------------------------- | |
1788 # Tests whether FUNC exists, setting the cache variable VAR accordingly | |
1789 ac_fn_c_check_func () | |
1790 { | |
1791 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
1792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | |
1793 $as_echo_n "checking for $2... " >&6; } | |
1794 if eval \${$3+:} false; then : | |
1795 $as_echo_n "(cached) " >&6 | |
1796 else | |
1797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
1798 /* end confdefs.h. */ | |
1799 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. | |
1800 For example, HP-UX 11i <limits.h> declares gettimeofday. */ | |
1801 #define $2 innocuous_$2 | |
1802 | |
1803 /* System header to define __stub macros and hopefully few prototypes, | |
1804 which can conflict with char $2 (); below. | |
1805 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
1806 <limits.h> exists even on freestanding compilers. */ | |
1807 | |
1808 #ifdef __STDC__ | |
1809 # include <limits.h> | |
1810 #else | |
1811 # include <assert.h> | |
1812 #endif | |
1813 | |
1814 #undef $2 | |
1815 | |
1816 /* Override any GCC internal prototype to avoid an error. | |
1817 Use char because int might match the return type of a GCC | |
1818 builtin and then its argument prototype would still apply. */ | |
1819 #ifdef __cplusplus | |
1820 extern "C" | |
1821 #endif | |
1822 char $2 (); | |
1823 /* The GNU C library defines this for functions which it implements | |
1824 to always fail with ENOSYS. Some functions are actually named | |
1825 something starting with __ and the normal name is an alias. */ | |
1826 #if defined __stub_$2 || defined __stub___$2 | |
1827 choke me | |
1828 #endif | |
1829 | |
1830 int | |
1831 main () | |
1832 { | |
1833 return $2 (); | |
1834 ; | |
1835 return 0; | |
1836 } | |
1837 _ACEOF | |
1838 if ac_fn_c_try_link "$LINENO"; then : | |
1839 eval "$3=yes" | |
1840 else | |
1841 eval "$3=no" | |
1842 fi | |
1843 rm -f core conftest.err conftest.$ac_objext \ | |
1844 conftest$ac_exeext conftest.$ac_ext | |
1845 fi | |
1846 eval ac_res=\$$3 | |
1847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |
1848 $as_echo "$ac_res" >&6; } | |
1849 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | |
1850 | |
1851 } # ac_fn_c_check_func | |
1852 cat >config.log <<_ACEOF | 1413 cat >config.log <<_ACEOF |
1853 This file contains any messages produced by compilers while | 1414 This file contains any messages produced by compilers while |
1854 running configure, to aid debugging if configure makes a mistake. | 1415 running configure, to aid debugging if configure makes a mistake. |
1855 | 1416 |
1856 It was created by $as_me, which was | 1417 It was created by $as_me, which was |
1857 generated by GNU Autoconf 2.68. Invocation command line was | 1418 generated by GNU Autoconf 2.61. Invocation command line was |
1858 | 1419 |
1859 $ $0 $@ | 1420 $ $0 $@ |
1860 | 1421 |
1861 _ACEOF | 1422 _ACEOF |
1862 exec 5>>config.log | 1423 exec 5>>config.log |
1888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 1449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1889 for as_dir in $PATH | 1450 for as_dir in $PATH |
1890 do | 1451 do |
1891 IFS=$as_save_IFS | 1452 IFS=$as_save_IFS |
1892 test -z "$as_dir" && as_dir=. | 1453 test -z "$as_dir" && as_dir=. |
1893 $as_echo "PATH: $as_dir" | 1454 echo "PATH: $as_dir" |
1894 done | 1455 done |
1895 IFS=$as_save_IFS | 1456 IFS=$as_save_IFS |
1896 | 1457 |
1897 } >&5 | 1458 } >&5 |
1898 | 1459 |
1899 cat >&5 <<_ACEOF | 1460 cat >&5 <<_ACEOF |
1923 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; | 1484 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
1924 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | 1485 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
1925 | -silent | --silent | --silen | --sile | --sil) | 1486 | -silent | --silent | --silen | --sile | --sil) |
1926 continue ;; | 1487 continue ;; |
1927 *\'*) | 1488 *\'*) |
1928 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; | 1489 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
1929 esac | 1490 esac |
1930 case $ac_pass in | 1491 case $ac_pass in |
1931 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; | 1492 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; |
1932 2) | 1493 2) |
1933 as_fn_append ac_configure_args1 " '$ac_arg'" | 1494 ac_configure_args1="$ac_configure_args1 '$ac_arg'" |
1934 if test $ac_must_keep_next = true; then | 1495 if test $ac_must_keep_next = true; then |
1935 ac_must_keep_next=false # Got value, back to normal. | 1496 ac_must_keep_next=false # Got value, back to normal. |
1936 else | 1497 else |
1937 case $ac_arg in | 1498 case $ac_arg in |
1938 *=* | --config-cache | -C | -disable-* | --disable-* \ | 1499 *=* | --config-cache | -C | -disable-* | --disable-* \ |
1944 esac | 1505 esac |
1945 ;; | 1506 ;; |
1946 -* ) ac_must_keep_next=true ;; | 1507 -* ) ac_must_keep_next=true ;; |
1947 esac | 1508 esac |
1948 fi | 1509 fi |
1949 as_fn_append ac_configure_args " '$ac_arg'" | 1510 ac_configure_args="$ac_configure_args '$ac_arg'" |
1950 ;; | 1511 ;; |
1951 esac | 1512 esac |
1952 done | 1513 done |
1953 done | 1514 done |
1954 { ac_configure_args0=; unset ac_configure_args0;} | 1515 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } |
1955 { ac_configure_args1=; unset ac_configure_args1;} | 1516 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } |
1956 | 1517 |
1957 # When interrupted or exit'd, cleanup temporary files, and complete | 1518 # When interrupted or exit'd, cleanup temporary files, and complete |
1958 # config.log. We remove comments because anyway the quotes in there | 1519 # config.log. We remove comments because anyway the quotes in there |
1959 # would cause problems or look ugly. | 1520 # would cause problems or look ugly. |
1960 # WARNING: Use '\'' to represent an apostrophe within the trap. | 1521 # WARNING: Use '\'' to represent an apostrophe within the trap. |
1962 trap 'exit_status=$? | 1523 trap 'exit_status=$? |
1963 # Save into config.log some information that might help in debugging. | 1524 # Save into config.log some information that might help in debugging. |
1964 { | 1525 { |
1965 echo | 1526 echo |
1966 | 1527 |
1967 $as_echo "## ---------------- ## | 1528 cat <<\_ASBOX |
1529 ## ---------------- ## | |
1968 ## Cache variables. ## | 1530 ## Cache variables. ## |
1969 ## ---------------- ##" | 1531 ## ---------------- ## |
1532 _ASBOX | |
1970 echo | 1533 echo |
1971 # The following way of writing the cache mishandles newlines in values, | 1534 # The following way of writing the cache mishandles newlines in values, |
1972 ( | 1535 ( |
1973 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do | 1536 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do |
1974 eval ac_val=\$$ac_var | 1537 eval ac_val=\$$ac_var |
1975 case $ac_val in #( | 1538 case $ac_val in #( |
1976 *${as_nl}*) | 1539 *${as_nl}*) |
1977 case $ac_var in #( | 1540 case $ac_var in #( |
1978 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 | 1541 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 |
1979 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; | 1542 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; |
1980 esac | 1543 esac |
1981 case $ac_var in #( | 1544 case $ac_var in #( |
1982 _ | IFS | as_nl) ;; #( | 1545 _ | IFS | as_nl) ;; #( |
1983 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( | 1546 *) $as_unset $ac_var ;; |
1984 *) { eval $ac_var=; unset $ac_var;} ;; | |
1985 esac ;; | 1547 esac ;; |
1986 esac | 1548 esac |
1987 done | 1549 done |
1988 (set) 2>&1 | | 1550 (set) 2>&1 | |
1989 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( | 1551 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( |
1998 esac | | 1560 esac | |
1999 sort | 1561 sort |
2000 ) | 1562 ) |
2001 echo | 1563 echo |
2002 | 1564 |
2003 $as_echo "## ----------------- ## | 1565 cat <<\_ASBOX |
1566 ## ----------------- ## | |
2004 ## Output variables. ## | 1567 ## Output variables. ## |
2005 ## ----------------- ##" | 1568 ## ----------------- ## |
1569 _ASBOX | |
2006 echo | 1570 echo |
2007 for ac_var in $ac_subst_vars | 1571 for ac_var in $ac_subst_vars |
2008 do | 1572 do |
2009 eval ac_val=\$$ac_var | 1573 eval ac_val=\$$ac_var |
2010 case $ac_val in | 1574 case $ac_val in |
2011 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; | 1575 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
2012 esac | 1576 esac |
2013 $as_echo "$ac_var='\''$ac_val'\''" | 1577 echo "$ac_var='\''$ac_val'\''" |
2014 done | sort | 1578 done | sort |
2015 echo | 1579 echo |
2016 | 1580 |
2017 if test -n "$ac_subst_files"; then | 1581 if test -n "$ac_subst_files"; then |
2018 $as_echo "## ------------------- ## | 1582 cat <<\_ASBOX |
1583 ## ------------------- ## | |
2019 ## File substitutions. ## | 1584 ## File substitutions. ## |
2020 ## ------------------- ##" | 1585 ## ------------------- ## |
1586 _ASBOX | |
2021 echo | 1587 echo |
2022 for ac_var in $ac_subst_files | 1588 for ac_var in $ac_subst_files |
2023 do | 1589 do |
2024 eval ac_val=\$$ac_var | 1590 eval ac_val=\$$ac_var |
2025 case $ac_val in | 1591 case $ac_val in |
2026 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; | 1592 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
2027 esac | 1593 esac |
2028 $as_echo "$ac_var='\''$ac_val'\''" | 1594 echo "$ac_var='\''$ac_val'\''" |
2029 done | sort | 1595 done | sort |
2030 echo | 1596 echo |
2031 fi | 1597 fi |
2032 | 1598 |
2033 if test -s confdefs.h; then | 1599 if test -s confdefs.h; then |
2034 $as_echo "## ----------- ## | 1600 cat <<\_ASBOX |
1601 ## ----------- ## | |
2035 ## confdefs.h. ## | 1602 ## confdefs.h. ## |
2036 ## ----------- ##" | 1603 ## ----------- ## |
1604 _ASBOX | |
2037 echo | 1605 echo |
2038 cat confdefs.h | 1606 cat confdefs.h |
2039 echo | 1607 echo |
2040 fi | 1608 fi |
2041 test "$ac_signal" != 0 && | 1609 test "$ac_signal" != 0 && |
2042 $as_echo "$as_me: caught signal $ac_signal" | 1610 echo "$as_me: caught signal $ac_signal" |
2043 $as_echo "$as_me: exit $exit_status" | 1611 echo "$as_me: exit $exit_status" |
2044 } >&5 | 1612 } >&5 |
2045 rm -f core *.core core.conftest.* && | 1613 rm -f core *.core core.conftest.* && |
2046 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && | 1614 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && |
2047 exit $exit_status | 1615 exit $exit_status |
2048 ' 0 | 1616 ' 0 |
2049 for ac_signal in 1 2 13 15; do | 1617 for ac_signal in 1 2 13 15; do |
2050 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal | 1618 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal |
2051 done | 1619 done |
2052 ac_signal=0 | 1620 ac_signal=0 |
2053 | 1621 |
2054 # confdefs.h avoids OS command line length limits that DEFS can exceed. | 1622 # confdefs.h avoids OS command line length limits that DEFS can exceed. |
2055 rm -f -r conftest* confdefs.h | 1623 rm -f -r conftest* confdefs.h |
2056 | 1624 |
2057 $as_echo "/* confdefs.h */" > confdefs.h | |
2058 | |
2059 # Predefined preprocessor variables. | 1625 # Predefined preprocessor variables. |
2060 | 1626 |
2061 cat >>confdefs.h <<_ACEOF | 1627 cat >>confdefs.h <<_ACEOF |
2062 #define PACKAGE_NAME "$PACKAGE_NAME" | 1628 #define PACKAGE_NAME "$PACKAGE_NAME" |
2063 _ACEOF | 1629 _ACEOF |
2064 | 1630 |
1631 | |
2065 cat >>confdefs.h <<_ACEOF | 1632 cat >>confdefs.h <<_ACEOF |
2066 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" | 1633 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
2067 _ACEOF | 1634 _ACEOF |
2068 | 1635 |
1636 | |
2069 cat >>confdefs.h <<_ACEOF | 1637 cat >>confdefs.h <<_ACEOF |
2070 #define PACKAGE_VERSION "$PACKAGE_VERSION" | 1638 #define PACKAGE_VERSION "$PACKAGE_VERSION" |
2071 _ACEOF | 1639 _ACEOF |
2072 | 1640 |
1641 | |
2073 cat >>confdefs.h <<_ACEOF | 1642 cat >>confdefs.h <<_ACEOF |
2074 #define PACKAGE_STRING "$PACKAGE_STRING" | 1643 #define PACKAGE_STRING "$PACKAGE_STRING" |
2075 _ACEOF | 1644 _ACEOF |
2076 | 1645 |
1646 | |
2077 cat >>confdefs.h <<_ACEOF | 1647 cat >>confdefs.h <<_ACEOF |
2078 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" | 1648 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
2079 _ACEOF | 1649 _ACEOF |
2080 | 1650 |
2081 cat >>confdefs.h <<_ACEOF | |
2082 #define PACKAGE_URL "$PACKAGE_URL" | |
2083 _ACEOF | |
2084 | |
2085 | 1651 |
2086 # Let the site file select an alternate cache file if it wants to. | 1652 # Let the site file select an alternate cache file if it wants to. |
2087 # Prefer an explicitly selected file to automatically selected ones. | 1653 # Prefer explicitly selected file to automatically selected ones. |
2088 ac_site_file1=NONE | |
2089 ac_site_file2=NONE | |
2090 if test -n "$CONFIG_SITE"; then | 1654 if test -n "$CONFIG_SITE"; then |
2091 # We do not want a PATH search for config.site. | 1655 set x "$CONFIG_SITE" |
2092 case $CONFIG_SITE in #(( | |
2093 -*) ac_site_file1=./$CONFIG_SITE;; | |
2094 */*) ac_site_file1=$CONFIG_SITE;; | |
2095 *) ac_site_file1=./$CONFIG_SITE;; | |
2096 esac | |
2097 elif test "x$prefix" != xNONE; then | 1656 elif test "x$prefix" != xNONE; then |
2098 ac_site_file1=$prefix/share/config.site | 1657 set x "$prefix/share/config.site" "$prefix/etc/config.site" |
2099 ac_site_file2=$prefix/etc/config.site | 1658 else |
2100 else | 1659 set x "$ac_default_prefix/share/config.site" \ |
2101 ac_site_file1=$ac_default_prefix/share/config.site | 1660 "$ac_default_prefix/etc/config.site" |
2102 ac_site_file2=$ac_default_prefix/etc/config.site | 1661 fi |
2103 fi | 1662 shift |
2104 for ac_site_file in "$ac_site_file1" "$ac_site_file2" | 1663 for ac_site_file |
2105 do | 1664 do |
2106 test "x$ac_site_file" = xNONE && continue | 1665 if test -r "$ac_site_file"; then |
2107 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then | 1666 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 |
2108 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 | 1667 echo "$as_me: loading site script $ac_site_file" >&6;} |
2109 $as_echo "$as_me: loading site script $ac_site_file" >&6;} | |
2110 sed 's/^/| /' "$ac_site_file" >&5 | 1668 sed 's/^/| /' "$ac_site_file" >&5 |
2111 . "$ac_site_file" \ | 1669 . "$ac_site_file" |
2112 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
2113 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
2114 as_fn_error $? "failed to load site script $ac_site_file | |
2115 See \`config.log' for more details" "$LINENO" 5; } | |
2116 fi | 1670 fi |
2117 done | 1671 done |
2118 | 1672 |
2119 if test -r "$cache_file"; then | 1673 if test -r "$cache_file"; then |
2120 # Some versions of bash will fail to source /dev/null (special files | 1674 # Some versions of bash will fail to source /dev/null (special |
2121 # actually), so we avoid doing that. DJGPP emulates it as a regular file. | 1675 # files actually), so we avoid doing that. |
2122 if test /dev/null != "$cache_file" && test -f "$cache_file"; then | 1676 if test -f "$cache_file"; then |
2123 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 | 1677 { echo "$as_me:$LINENO: loading cache $cache_file" >&5 |
2124 $as_echo "$as_me: loading cache $cache_file" >&6;} | 1678 echo "$as_me: loading cache $cache_file" >&6;} |
2125 case $cache_file in | 1679 case $cache_file in |
2126 [\\/]* | ?:[\\/]* ) . "$cache_file";; | 1680 [\\/]* | ?:[\\/]* ) . "$cache_file";; |
2127 *) . "./$cache_file";; | 1681 *) . "./$cache_file";; |
2128 esac | 1682 esac |
2129 fi | 1683 fi |
2130 else | 1684 else |
2131 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 | 1685 { echo "$as_me:$LINENO: creating cache $cache_file" >&5 |
2132 $as_echo "$as_me: creating cache $cache_file" >&6;} | 1686 echo "$as_me: creating cache $cache_file" >&6;} |
2133 >$cache_file | 1687 >$cache_file |
2134 fi | 1688 fi |
2135 | 1689 |
2136 # Check that the precious variables saved in the cache have kept the same | 1690 # Check that the precious variables saved in the cache have kept the same |
2137 # value. | 1691 # value. |
2141 eval ac_new_set=\$ac_env_${ac_var}_set | 1695 eval ac_new_set=\$ac_env_${ac_var}_set |
2142 eval ac_old_val=\$ac_cv_env_${ac_var}_value | 1696 eval ac_old_val=\$ac_cv_env_${ac_var}_value |
2143 eval ac_new_val=\$ac_env_${ac_var}_value | 1697 eval ac_new_val=\$ac_env_${ac_var}_value |
2144 case $ac_old_set,$ac_new_set in | 1698 case $ac_old_set,$ac_new_set in |
2145 set,) | 1699 set,) |
2146 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 | 1700 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
2147 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} | 1701 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
2148 ac_cache_corrupted=: ;; | 1702 ac_cache_corrupted=: ;; |
2149 ,set) | 1703 ,set) |
2150 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 | 1704 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 |
2151 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} | 1705 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
2152 ac_cache_corrupted=: ;; | 1706 ac_cache_corrupted=: ;; |
2153 ,);; | 1707 ,);; |
2154 *) | 1708 *) |
2155 if test "x$ac_old_val" != "x$ac_new_val"; then | 1709 if test "x$ac_old_val" != "x$ac_new_val"; then |
2156 # differences in whitespace do not lead to failure. | 1710 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 |
2157 ac_old_val_w=`echo x $ac_old_val` | 1711 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
2158 ac_new_val_w=`echo x $ac_new_val` | 1712 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 |
2159 if test "$ac_old_val_w" != "$ac_new_val_w"; then | 1713 echo "$as_me: former value: $ac_old_val" >&2;} |
2160 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 | 1714 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 |
2161 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} | 1715 echo "$as_me: current value: $ac_new_val" >&2;} |
2162 ac_cache_corrupted=: | 1716 ac_cache_corrupted=: |
2163 else | |
2164 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 | |
2165 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} | |
2166 eval $ac_var=\$ac_old_val | |
2167 fi | |
2168 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 | |
2169 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} | |
2170 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 | |
2171 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} | |
2172 fi;; | 1717 fi;; |
2173 esac | 1718 esac |
2174 # Pass precious variables to config.status. | 1719 # Pass precious variables to config.status. |
2175 if test "$ac_new_set" = set; then | 1720 if test "$ac_new_set" = set; then |
2176 case $ac_new_val in | 1721 case $ac_new_val in |
2177 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; | 1722 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
2178 *) ac_arg=$ac_var=$ac_new_val ;; | 1723 *) ac_arg=$ac_var=$ac_new_val ;; |
2179 esac | 1724 esac |
2180 case " $ac_configure_args " in | 1725 case " $ac_configure_args " in |
2181 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. | 1726 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
2182 *) as_fn_append ac_configure_args " '$ac_arg'" ;; | 1727 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; |
2183 esac | 1728 esac |
2184 fi | 1729 fi |
2185 done | 1730 done |
2186 if $ac_cache_corrupted; then | 1731 if $ac_cache_corrupted; then |
2187 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 1732 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 |
2188 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 1733 echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
2189 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 | 1734 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 |
2190 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} | 1735 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} |
2191 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 | 1736 { (exit 1); exit 1; }; } |
2192 fi | 1737 fi |
2193 ## -------------------- ## | 1738 |
2194 ## Main body of script. ## | 1739 |
2195 ## -------------------- ## | 1740 |
1741 | |
1742 | |
1743 | |
1744 | |
1745 | |
1746 | |
1747 | |
1748 | |
1749 | |
1750 | |
1751 | |
1752 | |
1753 | |
2196 | 1754 |
2197 ac_ext=c | 1755 ac_ext=c |
2198 ac_cpp='$CPP $CPPFLAGS' | 1756 ac_cpp='$CPP $CPPFLAGS' |
2199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 1757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
2200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 1758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
2227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 1785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
2228 ac_compiler_gnu=$ac_cv_c_compiler_gnu | 1786 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
2229 if test -n "$ac_tool_prefix"; then | 1787 if test -n "$ac_tool_prefix"; then |
2230 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. | 1788 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
2231 set dummy ${ac_tool_prefix}gcc; ac_word=$2 | 1789 set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
2232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 1790 { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2233 $as_echo_n "checking for $ac_word... " >&6; } | 1791 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
2234 if ${ac_cv_prog_CC+:} false; then : | 1792 if test "${ac_cv_prog_CC+set}" = set; then |
2235 $as_echo_n "(cached) " >&6 | 1793 echo $ECHO_N "(cached) $ECHO_C" >&6 |
2236 else | 1794 else |
2237 if test -n "$CC"; then | 1795 if test -n "$CC"; then |
2238 ac_cv_prog_CC="$CC" # Let the user override the test. | 1796 ac_cv_prog_CC="$CC" # Let the user override the test. |
2239 else | 1797 else |
2240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 1798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2241 for as_dir in $PATH | 1799 for as_dir in $PATH |
2242 do | 1800 do |
2243 IFS=$as_save_IFS | 1801 IFS=$as_save_IFS |
2244 test -z "$as_dir" && as_dir=. | 1802 test -z "$as_dir" && as_dir=. |
2245 for ac_exec_ext in '' $ac_executable_extensions; do | 1803 for ac_exec_ext in '' $ac_executable_extensions; do |
2246 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 1804 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2247 ac_cv_prog_CC="${ac_tool_prefix}gcc" | 1805 ac_cv_prog_CC="${ac_tool_prefix}gcc" |
2248 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 1806 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2249 break 2 | 1807 break 2 |
2250 fi | 1808 fi |
2251 done | 1809 done |
2252 done | 1810 done |
2253 IFS=$as_save_IFS | 1811 IFS=$as_save_IFS |
2254 | 1812 |
2255 fi | 1813 fi |
2256 fi | 1814 fi |
2257 CC=$ac_cv_prog_CC | 1815 CC=$ac_cv_prog_CC |
2258 if test -n "$CC"; then | 1816 if test -n "$CC"; then |
2259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | 1817 { echo "$as_me:$LINENO: result: $CC" >&5 |
2260 $as_echo "$CC" >&6; } | 1818 echo "${ECHO_T}$CC" >&6; } |
2261 else | 1819 else |
2262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 1820 { echo "$as_me:$LINENO: result: no" >&5 |
2263 $as_echo "no" >&6; } | 1821 echo "${ECHO_T}no" >&6; } |
2264 fi | 1822 fi |
2265 | 1823 |
2266 | 1824 |
2267 fi | 1825 fi |
2268 if test -z "$ac_cv_prog_CC"; then | 1826 if test -z "$ac_cv_prog_CC"; then |
2269 ac_ct_CC=$CC | 1827 ac_ct_CC=$CC |
2270 # Extract the first word of "gcc", so it can be a program name with args. | 1828 # Extract the first word of "gcc", so it can be a program name with args. |
2271 set dummy gcc; ac_word=$2 | 1829 set dummy gcc; ac_word=$2 |
2272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 1830 { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2273 $as_echo_n "checking for $ac_word... " >&6; } | 1831 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
2274 if ${ac_cv_prog_ac_ct_CC+:} false; then : | 1832 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
2275 $as_echo_n "(cached) " >&6 | 1833 echo $ECHO_N "(cached) $ECHO_C" >&6 |
2276 else | 1834 else |
2277 if test -n "$ac_ct_CC"; then | 1835 if test -n "$ac_ct_CC"; then |
2278 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | 1836 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
2279 else | 1837 else |
2280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 1838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2281 for as_dir in $PATH | 1839 for as_dir in $PATH |
2282 do | 1840 do |
2283 IFS=$as_save_IFS | 1841 IFS=$as_save_IFS |
2284 test -z "$as_dir" && as_dir=. | 1842 test -z "$as_dir" && as_dir=. |
2285 for ac_exec_ext in '' $ac_executable_extensions; do | 1843 for ac_exec_ext in '' $ac_executable_extensions; do |
2286 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 1844 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2287 ac_cv_prog_ac_ct_CC="gcc" | 1845 ac_cv_prog_ac_ct_CC="gcc" |
2288 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 1846 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2289 break 2 | 1847 break 2 |
2290 fi | 1848 fi |
2291 done | 1849 done |
2292 done | 1850 done |
2293 IFS=$as_save_IFS | 1851 IFS=$as_save_IFS |
2294 | 1852 |
2295 fi | 1853 fi |
2296 fi | 1854 fi |
2297 ac_ct_CC=$ac_cv_prog_ac_ct_CC | 1855 ac_ct_CC=$ac_cv_prog_ac_ct_CC |
2298 if test -n "$ac_ct_CC"; then | 1856 if test -n "$ac_ct_CC"; then |
2299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 | 1857 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
2300 $as_echo "$ac_ct_CC" >&6; } | 1858 echo "${ECHO_T}$ac_ct_CC" >&6; } |
2301 else | 1859 else |
2302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 1860 { echo "$as_me:$LINENO: result: no" >&5 |
2303 $as_echo "no" >&6; } | 1861 echo "${ECHO_T}no" >&6; } |
2304 fi | 1862 fi |
2305 | 1863 |
2306 if test "x$ac_ct_CC" = x; then | 1864 if test "x$ac_ct_CC" = x; then |
2307 CC="" | 1865 CC="" |
2308 else | 1866 else |
2309 case $cross_compiling:$ac_tool_warned in | 1867 case $cross_compiling:$ac_tool_warned in |
2310 yes:) | 1868 yes:) |
2311 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | 1869 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
2312 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | 1870 whose name does not start with the host triplet. If you think this |
1871 configuration is useful to you, please write to autoconf@gnu.org." >&5 | |
1872 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools | |
1873 whose name does not start with the host triplet. If you think this | |
1874 configuration is useful to you, please write to autoconf@gnu.org." >&2;} | |
2313 ac_tool_warned=yes ;; | 1875 ac_tool_warned=yes ;; |
2314 esac | 1876 esac |
2315 CC=$ac_ct_CC | 1877 CC=$ac_ct_CC |
2316 fi | 1878 fi |
2317 else | 1879 else |
2320 | 1882 |
2321 if test -z "$CC"; then | 1883 if test -z "$CC"; then |
2322 if test -n "$ac_tool_prefix"; then | 1884 if test -n "$ac_tool_prefix"; then |
2323 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. | 1885 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
2324 set dummy ${ac_tool_prefix}cc; ac_word=$2 | 1886 set dummy ${ac_tool_prefix}cc; ac_word=$2 |
2325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 1887 { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2326 $as_echo_n "checking for $ac_word... " >&6; } | 1888 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
2327 if ${ac_cv_prog_CC+:} false; then : | 1889 if test "${ac_cv_prog_CC+set}" = set; then |
2328 $as_echo_n "(cached) " >&6 | 1890 echo $ECHO_N "(cached) $ECHO_C" >&6 |
2329 else | 1891 else |
2330 if test -n "$CC"; then | 1892 if test -n "$CC"; then |
2331 ac_cv_prog_CC="$CC" # Let the user override the test. | 1893 ac_cv_prog_CC="$CC" # Let the user override the test. |
2332 else | 1894 else |
2333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 1895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2334 for as_dir in $PATH | 1896 for as_dir in $PATH |
2335 do | 1897 do |
2336 IFS=$as_save_IFS | 1898 IFS=$as_save_IFS |
2337 test -z "$as_dir" && as_dir=. | 1899 test -z "$as_dir" && as_dir=. |
2338 for ac_exec_ext in '' $ac_executable_extensions; do | 1900 for ac_exec_ext in '' $ac_executable_extensions; do |
2339 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$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 |
2340 ac_cv_prog_CC="${ac_tool_prefix}cc" | 1902 ac_cv_prog_CC="${ac_tool_prefix}cc" |
2341 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 1903 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2342 break 2 | 1904 break 2 |
2343 fi | 1905 fi |
2344 done | 1906 done |
2345 done | 1907 done |
2346 IFS=$as_save_IFS | 1908 IFS=$as_save_IFS |
2347 | 1909 |
2348 fi | 1910 fi |
2349 fi | 1911 fi |
2350 CC=$ac_cv_prog_CC | 1912 CC=$ac_cv_prog_CC |
2351 if test -n "$CC"; then | 1913 if test -n "$CC"; then |
2352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | 1914 { echo "$as_me:$LINENO: result: $CC" >&5 |
2353 $as_echo "$CC" >&6; } | 1915 echo "${ECHO_T}$CC" >&6; } |
2354 else | 1916 else |
2355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 1917 { echo "$as_me:$LINENO: result: no" >&5 |
2356 $as_echo "no" >&6; } | 1918 echo "${ECHO_T}no" >&6; } |
2357 fi | 1919 fi |
2358 | 1920 |
2359 | 1921 |
2360 fi | 1922 fi |
2361 fi | 1923 fi |
2362 if test -z "$CC"; then | 1924 if test -z "$CC"; then |
2363 # Extract the first word of "cc", so it can be a program name with args. | 1925 # Extract the first word of "cc", so it can be a program name with args. |
2364 set dummy cc; ac_word=$2 | 1926 set dummy cc; ac_word=$2 |
2365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 1927 { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2366 $as_echo_n "checking for $ac_word... " >&6; } | 1928 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
2367 if ${ac_cv_prog_CC+:} false; then : | 1929 if test "${ac_cv_prog_CC+set}" = set; then |
2368 $as_echo_n "(cached) " >&6 | 1930 echo $ECHO_N "(cached) $ECHO_C" >&6 |
2369 else | 1931 else |
2370 if test -n "$CC"; then | 1932 if test -n "$CC"; then |
2371 ac_cv_prog_CC="$CC" # Let the user override the test. | 1933 ac_cv_prog_CC="$CC" # Let the user override the test. |
2372 else | 1934 else |
2373 ac_prog_rejected=no | 1935 ac_prog_rejected=no |
2374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 1936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2375 for as_dir in $PATH | 1937 for as_dir in $PATH |
2376 do | 1938 do |
2377 IFS=$as_save_IFS | 1939 IFS=$as_save_IFS |
2378 test -z "$as_dir" && as_dir=. | 1940 test -z "$as_dir" && as_dir=. |
2379 for ac_exec_ext in '' $ac_executable_extensions; do | 1941 for ac_exec_ext in '' $ac_executable_extensions; do |
2380 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 1942 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2381 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then | 1943 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
2382 ac_prog_rejected=yes | 1944 ac_prog_rejected=yes |
2383 continue | 1945 continue |
2384 fi | 1946 fi |
2385 ac_cv_prog_CC="cc" | 1947 ac_cv_prog_CC="cc" |
2386 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 1948 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2387 break 2 | 1949 break 2 |
2388 fi | 1950 fi |
2389 done | 1951 done |
2390 done | 1952 done |
2391 IFS=$as_save_IFS | 1953 IFS=$as_save_IFS |
2392 | 1954 |
2393 if test $ac_prog_rejected = yes; then | 1955 if test $ac_prog_rejected = yes; then |
2394 # We found a bogon in the path, so make sure we never use it. | 1956 # We found a bogon in the path, so make sure we never use it. |
2395 set dummy $ac_cv_prog_CC | 1957 set dummy $ac_cv_prog_CC |
2404 fi | 1966 fi |
2405 fi | 1967 fi |
2406 fi | 1968 fi |
2407 CC=$ac_cv_prog_CC | 1969 CC=$ac_cv_prog_CC |
2408 if test -n "$CC"; then | 1970 if test -n "$CC"; then |
2409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | 1971 { echo "$as_me:$LINENO: result: $CC" >&5 |
2410 $as_echo "$CC" >&6; } | 1972 echo "${ECHO_T}$CC" >&6; } |
2411 else | 1973 else |
2412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 1974 { echo "$as_me:$LINENO: result: no" >&5 |
2413 $as_echo "no" >&6; } | 1975 echo "${ECHO_T}no" >&6; } |
2414 fi | 1976 fi |
2415 | 1977 |
2416 | 1978 |
2417 fi | 1979 fi |
2418 if test -z "$CC"; then | 1980 if test -z "$CC"; then |
2419 if test -n "$ac_tool_prefix"; then | 1981 if test -n "$ac_tool_prefix"; then |
2420 for ac_prog in cl.exe | 1982 for ac_prog in cl.exe |
2421 do | 1983 do |
2422 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | 1984 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
2423 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | 1985 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
2424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 1986 { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2425 $as_echo_n "checking for $ac_word... " >&6; } | 1987 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
2426 if ${ac_cv_prog_CC+:} false; then : | 1988 if test "${ac_cv_prog_CC+set}" = set; then |
2427 $as_echo_n "(cached) " >&6 | 1989 echo $ECHO_N "(cached) $ECHO_C" >&6 |
2428 else | 1990 else |
2429 if test -n "$CC"; then | 1991 if test -n "$CC"; then |
2430 ac_cv_prog_CC="$CC" # Let the user override the test. | 1992 ac_cv_prog_CC="$CC" # Let the user override the test. |
2431 else | 1993 else |
2432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 1994 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2433 for as_dir in $PATH | 1995 for as_dir in $PATH |
2434 do | 1996 do |
2435 IFS=$as_save_IFS | 1997 IFS=$as_save_IFS |
2436 test -z "$as_dir" && as_dir=. | 1998 test -z "$as_dir" && as_dir=. |
2437 for ac_exec_ext in '' $ac_executable_extensions; do | 1999 for ac_exec_ext in '' $ac_executable_extensions; do |
2438 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 2000 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2439 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" | 2001 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
2440 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 2002 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2441 break 2 | 2003 break 2 |
2442 fi | 2004 fi |
2443 done | 2005 done |
2444 done | 2006 done |
2445 IFS=$as_save_IFS | 2007 IFS=$as_save_IFS |
2446 | 2008 |
2447 fi | 2009 fi |
2448 fi | 2010 fi |
2449 CC=$ac_cv_prog_CC | 2011 CC=$ac_cv_prog_CC |
2450 if test -n "$CC"; then | 2012 if test -n "$CC"; then |
2451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | 2013 { echo "$as_me:$LINENO: result: $CC" >&5 |
2452 $as_echo "$CC" >&6; } | 2014 echo "${ECHO_T}$CC" >&6; } |
2453 else | 2015 else |
2454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 2016 { echo "$as_me:$LINENO: result: no" >&5 |
2455 $as_echo "no" >&6; } | 2017 echo "${ECHO_T}no" >&6; } |
2456 fi | 2018 fi |
2457 | 2019 |
2458 | 2020 |
2459 test -n "$CC" && break | 2021 test -n "$CC" && break |
2460 done | 2022 done |
2463 ac_ct_CC=$CC | 2025 ac_ct_CC=$CC |
2464 for ac_prog in cl.exe | 2026 for ac_prog in cl.exe |
2465 do | 2027 do |
2466 # Extract the first word of "$ac_prog", so it can be a program name with args. | 2028 # Extract the first word of "$ac_prog", so it can be a program name with args. |
2467 set dummy $ac_prog; ac_word=$2 | 2029 set dummy $ac_prog; ac_word=$2 |
2468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 2030 { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2469 $as_echo_n "checking for $ac_word... " >&6; } | 2031 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
2470 if ${ac_cv_prog_ac_ct_CC+:} false; then : | 2032 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
2471 $as_echo_n "(cached) " >&6 | 2033 echo $ECHO_N "(cached) $ECHO_C" >&6 |
2472 else | 2034 else |
2473 if test -n "$ac_ct_CC"; then | 2035 if test -n "$ac_ct_CC"; then |
2474 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | 2036 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
2475 else | 2037 else |
2476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 2038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2477 for as_dir in $PATH | 2039 for as_dir in $PATH |
2478 do | 2040 do |
2479 IFS=$as_save_IFS | 2041 IFS=$as_save_IFS |
2480 test -z "$as_dir" && as_dir=. | 2042 test -z "$as_dir" && as_dir=. |
2481 for ac_exec_ext in '' $ac_executable_extensions; do | 2043 for ac_exec_ext in '' $ac_executable_extensions; do |
2482 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 2044 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2483 ac_cv_prog_ac_ct_CC="$ac_prog" | 2045 ac_cv_prog_ac_ct_CC="$ac_prog" |
2484 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 2046 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2485 break 2 | 2047 break 2 |
2486 fi | 2048 fi |
2487 done | 2049 done |
2488 done | 2050 done |
2489 IFS=$as_save_IFS | 2051 IFS=$as_save_IFS |
2490 | 2052 |
2491 fi | 2053 fi |
2492 fi | 2054 fi |
2493 ac_ct_CC=$ac_cv_prog_ac_ct_CC | 2055 ac_ct_CC=$ac_cv_prog_ac_ct_CC |
2494 if test -n "$ac_ct_CC"; then | 2056 if test -n "$ac_ct_CC"; then |
2495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 | 2057 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
2496 $as_echo "$ac_ct_CC" >&6; } | 2058 echo "${ECHO_T}$ac_ct_CC" >&6; } |
2497 else | 2059 else |
2498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 2060 { echo "$as_me:$LINENO: result: no" >&5 |
2499 $as_echo "no" >&6; } | 2061 echo "${ECHO_T}no" >&6; } |
2500 fi | 2062 fi |
2501 | 2063 |
2502 | 2064 |
2503 test -n "$ac_ct_CC" && break | 2065 test -n "$ac_ct_CC" && break |
2504 done | 2066 done |
2506 if test "x$ac_ct_CC" = x; then | 2068 if test "x$ac_ct_CC" = x; then |
2507 CC="" | 2069 CC="" |
2508 else | 2070 else |
2509 case $cross_compiling:$ac_tool_warned in | 2071 case $cross_compiling:$ac_tool_warned in |
2510 yes:) | 2072 yes:) |
2511 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | 2073 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
2512 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | 2074 whose name does not start with the host triplet. If you think this |
2075 configuration is useful to you, please write to autoconf@gnu.org." >&5 | |
2076 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools | |
2077 whose name does not start with the host triplet. If you think this | |
2078 configuration is useful to you, please write to autoconf@gnu.org." >&2;} | |
2513 ac_tool_warned=yes ;; | 2079 ac_tool_warned=yes ;; |
2514 esac | 2080 esac |
2515 CC=$ac_ct_CC | 2081 CC=$ac_ct_CC |
2516 fi | 2082 fi |
2517 fi | 2083 fi |
2518 | 2084 |
2519 fi | 2085 fi |
2520 | 2086 |
2521 | 2087 |
2522 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 2088 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH |
2523 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 2089 See \`config.log' for more details." >&5 |
2524 as_fn_error $? "no acceptable C compiler found in \$PATH | 2090 echo "$as_me: error: no acceptable C compiler found in \$PATH |
2525 See \`config.log' for more details" "$LINENO" 5; } | 2091 See \`config.log' for more details." >&2;} |
2092 { (exit 1); exit 1; }; } | |
2526 | 2093 |
2527 # Provide some information about the compiler. | 2094 # Provide some information about the compiler. |
2528 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 | 2095 echo "$as_me:$LINENO: checking for C compiler version" >&5 |
2529 set X $ac_compile | 2096 ac_compiler=`set X $ac_compile; echo $2` |
2530 ac_compiler=$2 | 2097 { (ac_try="$ac_compiler --version >&5" |
2531 for ac_option in --version -v -V -qversion; do | |
2532 { { ac_try="$ac_compiler $ac_option >&5" | |
2533 case "(($ac_try" in | 2098 case "(($ac_try" in |
2534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 2099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2535 *) ac_try_echo=$ac_try;; | 2100 *) ac_try_echo=$ac_try;; |
2536 esac | 2101 esac |
2537 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | 2102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
2538 $as_echo "$ac_try_echo"; } >&5 | 2103 (eval "$ac_compiler --version >&5") 2>&5 |
2539 (eval "$ac_compiler $ac_option >&5") 2>conftest.err | |
2540 ac_status=$? | 2104 ac_status=$? |
2541 if test -s conftest.err; then | 2105 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2542 sed '10a\ | 2106 (exit $ac_status); } |
2543 ... rest of stderr output deleted ... | 2107 { (ac_try="$ac_compiler -v >&5" |
2544 10q' conftest.err >conftest.er1 | 2108 case "(($ac_try" in |
2545 cat conftest.er1 >&5 | 2109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2546 fi | 2110 *) ac_try_echo=$ac_try;; |
2547 rm -f conftest.er1 conftest.err | 2111 esac |
2548 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 2112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
2549 test $ac_status = 0; } | 2113 (eval "$ac_compiler -v >&5") 2>&5 |
2550 done | 2114 ac_status=$? |
2551 | 2115 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 2116 (exit $ac_status); } |
2117 { (ac_try="$ac_compiler -V >&5" | |
2118 case "(($ac_try" in | |
2119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
2120 *) ac_try_echo=$ac_try;; | |
2121 esac | |
2122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
2123 (eval "$ac_compiler -V >&5") 2>&5 | |
2124 ac_status=$? | |
2125 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2126 (exit $ac_status); } | |
2127 | |
2128 cat >conftest.$ac_ext <<_ACEOF | |
2129 /* confdefs.h. */ | |
2130 _ACEOF | |
2131 cat confdefs.h >>conftest.$ac_ext | |
2132 cat >>conftest.$ac_ext <<_ACEOF | |
2553 /* end confdefs.h. */ | 2133 /* end confdefs.h. */ |
2554 | 2134 |
2555 int | 2135 int |
2556 main () | 2136 main () |
2557 { | 2137 { |
2559 ; | 2139 ; |
2560 return 0; | 2140 return 0; |
2561 } | 2141 } |
2562 _ACEOF | 2142 _ACEOF |
2563 ac_clean_files_save=$ac_clean_files | 2143 ac_clean_files_save=$ac_clean_files |
2564 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" | 2144 ac_clean_files="$ac_clean_files a.out a.exe b.out" |
2565 # Try to create an executable without -o first, disregard a.out. | 2145 # Try to create an executable without -o first, disregard a.out. |
2566 # It will help us diagnose broken compilers, and finding out an intuition | 2146 # It will help us diagnose broken compilers, and finding out an intuition |
2567 # of exeext. | 2147 # of exeext. |
2568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 | 2148 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 |
2569 $as_echo_n "checking whether the C compiler works... " >&6; } | 2149 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } |
2570 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` | 2150 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
2571 | 2151 # |
2572 # The possible output files: | 2152 # List of possible output files, starting from the most likely. |
2573 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" | 2153 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*) |
2574 | 2154 # only as a last resort. b.out is created by i960 compilers. |
2155 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' | |
2156 # | |
2157 # The IRIX 6 linker writes into existing files which may not be | |
2158 # executable, retaining their permissions. Remove them first so a | |
2159 # subsequent execution test works. | |
2575 ac_rmfiles= | 2160 ac_rmfiles= |
2576 for ac_file in $ac_files | 2161 for ac_file in $ac_files |
2577 do | 2162 do |
2578 case $ac_file in | 2163 case $ac_file in |
2579 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; | 2164 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; |
2580 * ) ac_rmfiles="$ac_rmfiles $ac_file";; | 2165 * ) ac_rmfiles="$ac_rmfiles $ac_file";; |
2581 esac | 2166 esac |
2582 done | 2167 done |
2583 rm -f $ac_rmfiles | 2168 rm -f $ac_rmfiles |
2584 | 2169 |
2585 if { { ac_try="$ac_link_default" | 2170 if { (ac_try="$ac_link_default" |
2586 case "(($ac_try" in | 2171 case "(($ac_try" in |
2587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 2172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2588 *) ac_try_echo=$ac_try;; | 2173 *) ac_try_echo=$ac_try;; |
2589 esac | 2174 esac |
2590 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | 2175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
2591 $as_echo "$ac_try_echo"; } >&5 | |
2592 (eval "$ac_link_default") 2>&5 | 2176 (eval "$ac_link_default") 2>&5 |
2593 ac_status=$? | 2177 ac_status=$? |
2594 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 2178 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2595 test $ac_status = 0; }; then : | 2179 (exit $ac_status); }; then |
2596 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. | 2180 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. |
2597 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' | 2181 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' |
2598 # in a Makefile. We should not override ac_cv_exeext if it was cached, | 2182 # in a Makefile. We should not override ac_cv_exeext if it was cached, |
2599 # so that the user can short-circuit this test for compilers unknown to | 2183 # so that the user can short-circuit this test for compilers unknown to |
2600 # Autoconf. | 2184 # Autoconf. |
2601 for ac_file in $ac_files '' | 2185 for ac_file in $ac_files '' |
2602 do | 2186 do |
2603 test -f "$ac_file" || continue | 2187 test -f "$ac_file" || continue |
2604 case $ac_file in | 2188 case $ac_file in |
2605 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) | 2189 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) |
2606 ;; | 2190 ;; |
2607 [ab].out ) | 2191 [ab].out ) |
2608 # We found the default executable, but exeext='' is most | 2192 # We found the default executable, but exeext='' is most |
2609 # certainly right. | 2193 # certainly right. |
2610 break;; | 2194 break;; |
2611 *.* ) | 2195 *.* ) |
2612 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; | 2196 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; |
2613 then :; else | 2197 then :; else |
2614 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | 2198 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
2615 fi | 2199 fi |
2616 # We set ac_cv_exeext here because the later test for it is not | 2200 # We set ac_cv_exeext here because the later test for it is not |
2617 # safe: cross compilers may not add the suffix if given an `-o' | 2201 # safe: cross compilers may not add the suffix if given an `-o' |
2626 test "$ac_cv_exeext" = no && ac_cv_exeext= | 2210 test "$ac_cv_exeext" = no && ac_cv_exeext= |
2627 | 2211 |
2628 else | 2212 else |
2629 ac_file='' | 2213 ac_file='' |
2630 fi | 2214 fi |
2631 if test -z "$ac_file"; then : | 2215 |
2632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 2216 { echo "$as_me:$LINENO: result: $ac_file" >&5 |
2633 $as_echo "no" >&6; } | 2217 echo "${ECHO_T}$ac_file" >&6; } |
2634 $as_echo "$as_me: failed program was:" >&5 | 2218 if test -z "$ac_file"; then |
2219 echo "$as_me: failed program was:" >&5 | |
2635 sed 's/^/| /' conftest.$ac_ext >&5 | 2220 sed 's/^/| /' conftest.$ac_ext >&5 |
2636 | 2221 |
2637 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 2222 { { echo "$as_me:$LINENO: error: C compiler cannot create executables |
2638 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 2223 See \`config.log' for more details." >&5 |
2639 as_fn_error 77 "C compiler cannot create executables | 2224 echo "$as_me: error: C compiler cannot create executables |
2640 See \`config.log' for more details" "$LINENO" 5; } | 2225 See \`config.log' for more details." >&2;} |
2641 else | 2226 { (exit 77); exit 77; }; } |
2642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 2227 fi |
2643 $as_echo "yes" >&6; } | 2228 |
2644 fi | |
2645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 | |
2646 $as_echo_n "checking for C compiler default output file name... " >&6; } | |
2647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 | |
2648 $as_echo "$ac_file" >&6; } | |
2649 ac_exeext=$ac_cv_exeext | 2229 ac_exeext=$ac_cv_exeext |
2650 | 2230 |
2651 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out | 2231 # Check that the compiler produces executables we can run. If not, either |
2232 # the compiler is broken, or we cross compile. | |
2233 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5 | |
2234 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } | |
2235 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 | |
2236 # If not cross compiling, check that we can run a simple program. | |
2237 if test "$cross_compiling" != yes; then | |
2238 if { ac_try='./$ac_file' | |
2239 { (case "(($ac_try" in | |
2240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
2241 *) ac_try_echo=$ac_try;; | |
2242 esac | |
2243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
2244 (eval "$ac_try") 2>&5 | |
2245 ac_status=$? | |
2246 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2247 (exit $ac_status); }; }; then | |
2248 cross_compiling=no | |
2249 else | |
2250 if test "$cross_compiling" = maybe; then | |
2251 cross_compiling=yes | |
2252 else | |
2253 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. | |
2254 If you meant to cross compile, use \`--host'. | |
2255 See \`config.log' for more details." >&5 | |
2256 echo "$as_me: error: cannot run C compiled programs. | |
2257 If you meant to cross compile, use \`--host'. | |
2258 See \`config.log' for more details." >&2;} | |
2259 { (exit 1); exit 1; }; } | |
2260 fi | |
2261 fi | |
2262 fi | |
2263 { echo "$as_me:$LINENO: result: yes" >&5 | |
2264 echo "${ECHO_T}yes" >&6; } | |
2265 | |
2266 rm -f a.out a.exe conftest$ac_cv_exeext b.out | |
2652 ac_clean_files=$ac_clean_files_save | 2267 ac_clean_files=$ac_clean_files_save |
2653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 | 2268 # Check that the compiler produces executables we can run. If not, either |
2654 $as_echo_n "checking for suffix of executables... " >&6; } | 2269 # the compiler is broken, or we cross compile. |
2655 if { { ac_try="$ac_link" | 2270 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 |
2271 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } | |
2272 { echo "$as_me:$LINENO: result: $cross_compiling" >&5 | |
2273 echo "${ECHO_T}$cross_compiling" >&6; } | |
2274 | |
2275 { echo "$as_me:$LINENO: checking for suffix of executables" >&5 | |
2276 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } | |
2277 if { (ac_try="$ac_link" | |
2656 case "(($ac_try" in | 2278 case "(($ac_try" in |
2657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 2279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2658 *) ac_try_echo=$ac_try;; | 2280 *) ac_try_echo=$ac_try;; |
2659 esac | 2281 esac |
2660 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | 2282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
2661 $as_echo "$ac_try_echo"; } >&5 | |
2662 (eval "$ac_link") 2>&5 | 2283 (eval "$ac_link") 2>&5 |
2663 ac_status=$? | 2284 ac_status=$? |
2664 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 2285 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2665 test $ac_status = 0; }; then : | 2286 (exit $ac_status); }; then |
2666 # If both `conftest.exe' and `conftest' are `present' (well, observable) | 2287 # If both `conftest.exe' and `conftest' are `present' (well, observable) |
2667 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will | 2288 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
2668 # work properly (i.e., refer to `conftest.exe'), while it won't with | 2289 # work properly (i.e., refer to `conftest.exe'), while it won't with |
2669 # `rm'. | 2290 # `rm'. |
2670 for ac_file in conftest.exe conftest conftest.*; do | 2291 for ac_file in conftest.exe conftest conftest.*; do |
2671 test -f "$ac_file" || continue | 2292 test -f "$ac_file" || continue |
2672 case $ac_file in | 2293 case $ac_file in |
2673 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; | 2294 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; |
2674 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | 2295 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
2675 break;; | 2296 break;; |
2676 * ) break;; | 2297 * ) break;; |
2677 esac | 2298 esac |
2678 done | 2299 done |
2679 else | 2300 else |
2680 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 2301 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link |
2681 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 2302 See \`config.log' for more details." >&5 |
2682 as_fn_error $? "cannot compute suffix of executables: cannot compile and link | 2303 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link |
2683 See \`config.log' for more details" "$LINENO" 5; } | 2304 See \`config.log' for more details." >&2;} |
2684 fi | 2305 { (exit 1); exit 1; }; } |
2685 rm -f conftest conftest$ac_cv_exeext | 2306 fi |
2686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 | 2307 |
2687 $as_echo "$ac_cv_exeext" >&6; } | 2308 rm -f conftest$ac_cv_exeext |
2309 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 | |
2310 echo "${ECHO_T}$ac_cv_exeext" >&6; } | |
2688 | 2311 |
2689 rm -f conftest.$ac_ext | 2312 rm -f conftest.$ac_ext |
2690 EXEEXT=$ac_cv_exeext | 2313 EXEEXT=$ac_cv_exeext |
2691 ac_exeext=$EXEEXT | 2314 ac_exeext=$EXEEXT |
2692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 2315 { echo "$as_me:$LINENO: checking for suffix of object files" >&5 |
2316 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } | |
2317 if test "${ac_cv_objext+set}" = set; then | |
2318 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
2319 else | |
2320 cat >conftest.$ac_ext <<_ACEOF | |
2321 /* confdefs.h. */ | |
2322 _ACEOF | |
2323 cat confdefs.h >>conftest.$ac_ext | |
2324 cat >>conftest.$ac_ext <<_ACEOF | |
2693 /* end confdefs.h. */ | 2325 /* end confdefs.h. */ |
2694 #include <stdio.h> | 2326 |
2695 int | 2327 int |
2696 main () | 2328 main () |
2697 { | 2329 { |
2698 FILE *f = fopen ("conftest.out", "w"); | |
2699 return ferror (f) || fclose (f) != 0; | |
2700 | 2330 |
2701 ; | 2331 ; |
2702 return 0; | 2332 return 0; |
2703 } | 2333 } |
2704 _ACEOF | 2334 _ACEOF |
2705 ac_clean_files="$ac_clean_files conftest.out" | 2335 rm -f conftest.o conftest.obj |
2706 # Check that the compiler produces executables we can run. If not, either | 2336 if { (ac_try="$ac_compile" |
2707 # the compiler is broken, or we cross compile. | |
2708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 | |
2709 $as_echo_n "checking whether we are cross compiling... " >&6; } | |
2710 if test "$cross_compiling" != yes; then | |
2711 { { ac_try="$ac_link" | |
2712 case "(($ac_try" in | 2337 case "(($ac_try" in |
2713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 2338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2714 *) ac_try_echo=$ac_try;; | 2339 *) ac_try_echo=$ac_try;; |
2715 esac | 2340 esac |
2716 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | 2341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
2717 $as_echo "$ac_try_echo"; } >&5 | |
2718 (eval "$ac_link") 2>&5 | |
2719 ac_status=$? | |
2720 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
2721 test $ac_status = 0; } | |
2722 if { ac_try='./conftest$ac_cv_exeext' | |
2723 { { case "(($ac_try" in | |
2724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
2725 *) ac_try_echo=$ac_try;; | |
2726 esac | |
2727 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
2728 $as_echo "$ac_try_echo"; } >&5 | |
2729 (eval "$ac_try") 2>&5 | |
2730 ac_status=$? | |
2731 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
2732 test $ac_status = 0; }; }; then | |
2733 cross_compiling=no | |
2734 else | |
2735 if test "$cross_compiling" = maybe; then | |
2736 cross_compiling=yes | |
2737 else | |
2738 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
2739 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
2740 as_fn_error $? "cannot run C compiled programs. | |
2741 If you meant to cross compile, use \`--host'. | |
2742 See \`config.log' for more details" "$LINENO" 5; } | |
2743 fi | |
2744 fi | |
2745 fi | |
2746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 | |
2747 $as_echo "$cross_compiling" >&6; } | |
2748 | |
2749 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out | |
2750 ac_clean_files=$ac_clean_files_save | |
2751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 | |
2752 $as_echo_n "checking for suffix of object files... " >&6; } | |
2753 if ${ac_cv_objext+:} false; then : | |
2754 $as_echo_n "(cached) " >&6 | |
2755 else | |
2756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
2757 /* end confdefs.h. */ | |
2758 | |
2759 int | |
2760 main () | |
2761 { | |
2762 | |
2763 ; | |
2764 return 0; | |
2765 } | |
2766 _ACEOF | |
2767 rm -f conftest.o conftest.obj | |
2768 if { { ac_try="$ac_compile" | |
2769 case "(($ac_try" in | |
2770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
2771 *) ac_try_echo=$ac_try;; | |
2772 esac | |
2773 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
2774 $as_echo "$ac_try_echo"; } >&5 | |
2775 (eval "$ac_compile") 2>&5 | 2342 (eval "$ac_compile") 2>&5 |
2776 ac_status=$? | 2343 ac_status=$? |
2777 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 2344 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2778 test $ac_status = 0; }; then : | 2345 (exit $ac_status); }; then |
2779 for ac_file in conftest.o conftest.obj conftest.*; do | 2346 for ac_file in conftest.o conftest.obj conftest.*; do |
2780 test -f "$ac_file" || continue; | 2347 test -f "$ac_file" || continue; |
2781 case $ac_file in | 2348 case $ac_file in |
2782 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; | 2349 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; |
2783 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` | 2350 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
2784 break;; | 2351 break;; |
2785 esac | 2352 esac |
2786 done | 2353 done |
2787 else | 2354 else |
2788 $as_echo "$as_me: failed program was:" >&5 | 2355 echo "$as_me: failed program was:" >&5 |
2789 sed 's/^/| /' conftest.$ac_ext >&5 | 2356 sed 's/^/| /' conftest.$ac_ext >&5 |
2790 | 2357 |
2791 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 2358 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile |
2792 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 2359 See \`config.log' for more details." >&5 |
2793 as_fn_error $? "cannot compute suffix of object files: cannot compile | 2360 echo "$as_me: error: cannot compute suffix of object files: cannot compile |
2794 See \`config.log' for more details" "$LINENO" 5; } | 2361 See \`config.log' for more details." >&2;} |
2795 fi | 2362 { (exit 1); exit 1; }; } |
2363 fi | |
2364 | |
2796 rm -f conftest.$ac_cv_objext conftest.$ac_ext | 2365 rm -f conftest.$ac_cv_objext conftest.$ac_ext |
2797 fi | 2366 fi |
2798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 | 2367 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 |
2799 $as_echo "$ac_cv_objext" >&6; } | 2368 echo "${ECHO_T}$ac_cv_objext" >&6; } |
2800 OBJEXT=$ac_cv_objext | 2369 OBJEXT=$ac_cv_objext |
2801 ac_objext=$OBJEXT | 2370 ac_objext=$OBJEXT |
2802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 | 2371 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 |
2803 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } | 2372 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } |
2804 if ${ac_cv_c_compiler_gnu+:} false; then : | 2373 if test "${ac_cv_c_compiler_gnu+set}" = set; then |
2805 $as_echo_n "(cached) " >&6 | 2374 echo $ECHO_N "(cached) $ECHO_C" >&6 |
2806 else | 2375 else |
2807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 2376 cat >conftest.$ac_ext <<_ACEOF |
2377 /* confdefs.h. */ | |
2378 _ACEOF | |
2379 cat confdefs.h >>conftest.$ac_ext | |
2380 cat >>conftest.$ac_ext <<_ACEOF | |
2808 /* end confdefs.h. */ | 2381 /* end confdefs.h. */ |
2809 | 2382 |
2810 int | 2383 int |
2811 main () | 2384 main () |
2812 { | 2385 { |
2816 | 2389 |
2817 ; | 2390 ; |
2818 return 0; | 2391 return 0; |
2819 } | 2392 } |
2820 _ACEOF | 2393 _ACEOF |
2821 if ac_fn_c_try_compile "$LINENO"; then : | 2394 rm -f conftest.$ac_objext |
2395 if { (ac_try="$ac_compile" | |
2396 case "(($ac_try" in | |
2397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
2398 *) ac_try_echo=$ac_try;; | |
2399 esac | |
2400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
2401 (eval "$ac_compile") 2>conftest.er1 | |
2402 ac_status=$? | |
2403 grep -v '^ *+' conftest.er1 >conftest.err | |
2404 rm -f conftest.er1 | |
2405 cat conftest.err >&5 | |
2406 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2407 (exit $ac_status); } && { | |
2408 test -z "$ac_c_werror_flag" || | |
2409 test ! -s conftest.err | |
2410 } && test -s conftest.$ac_objext; then | |
2822 ac_compiler_gnu=yes | 2411 ac_compiler_gnu=yes |
2823 else | 2412 else |
2824 ac_compiler_gnu=no | 2413 echo "$as_me: failed program was:" >&5 |
2825 fi | 2414 sed 's/^/| /' conftest.$ac_ext >&5 |
2415 | |
2416 ac_compiler_gnu=no | |
2417 fi | |
2418 | |
2826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 2419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2827 ac_cv_c_compiler_gnu=$ac_compiler_gnu | 2420 ac_cv_c_compiler_gnu=$ac_compiler_gnu |
2828 | 2421 |
2829 fi | 2422 fi |
2830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 | 2423 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
2831 $as_echo "$ac_cv_c_compiler_gnu" >&6; } | 2424 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } |
2832 if test $ac_compiler_gnu = yes; then | 2425 GCC=`test $ac_compiler_gnu = yes && echo yes` |
2833 GCC=yes | |
2834 else | |
2835 GCC= | |
2836 fi | |
2837 ac_test_CFLAGS=${CFLAGS+set} | 2426 ac_test_CFLAGS=${CFLAGS+set} |
2838 ac_save_CFLAGS=$CFLAGS | 2427 ac_save_CFLAGS=$CFLAGS |
2839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 | 2428 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 |
2840 $as_echo_n "checking whether $CC accepts -g... " >&6; } | 2429 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } |
2841 if ${ac_cv_prog_cc_g+:} false; then : | 2430 if test "${ac_cv_prog_cc_g+set}" = set; then |
2842 $as_echo_n "(cached) " >&6 | 2431 echo $ECHO_N "(cached) $ECHO_C" >&6 |
2843 else | 2432 else |
2844 ac_save_c_werror_flag=$ac_c_werror_flag | 2433 ac_save_c_werror_flag=$ac_c_werror_flag |
2845 ac_c_werror_flag=yes | 2434 ac_c_werror_flag=yes |
2846 ac_cv_prog_cc_g=no | 2435 ac_cv_prog_cc_g=no |
2847 CFLAGS="-g" | 2436 CFLAGS="-g" |
2848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 2437 cat >conftest.$ac_ext <<_ACEOF |
2438 /* confdefs.h. */ | |
2439 _ACEOF | |
2440 cat confdefs.h >>conftest.$ac_ext | |
2441 cat >>conftest.$ac_ext <<_ACEOF | |
2849 /* end confdefs.h. */ | 2442 /* end confdefs.h. */ |
2850 | 2443 |
2851 int | 2444 int |
2852 main () | 2445 main () |
2853 { | 2446 { |
2854 | 2447 |
2855 ; | 2448 ; |
2856 return 0; | 2449 return 0; |
2857 } | 2450 } |
2858 _ACEOF | 2451 _ACEOF |
2859 if ac_fn_c_try_compile "$LINENO"; then : | 2452 rm -f conftest.$ac_objext |
2453 if { (ac_try="$ac_compile" | |
2454 case "(($ac_try" in | |
2455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
2456 *) ac_try_echo=$ac_try;; | |
2457 esac | |
2458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
2459 (eval "$ac_compile") 2>conftest.er1 | |
2460 ac_status=$? | |
2461 grep -v '^ *+' conftest.er1 >conftest.err | |
2462 rm -f conftest.er1 | |
2463 cat conftest.err >&5 | |
2464 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2465 (exit $ac_status); } && { | |
2466 test -z "$ac_c_werror_flag" || | |
2467 test ! -s conftest.err | |
2468 } && test -s conftest.$ac_objext; then | |
2860 ac_cv_prog_cc_g=yes | 2469 ac_cv_prog_cc_g=yes |
2861 else | 2470 else |
2862 CFLAGS="" | 2471 echo "$as_me: failed program was:" >&5 |
2863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 2472 sed 's/^/| /' conftest.$ac_ext >&5 |
2473 | |
2474 CFLAGS="" | |
2475 cat >conftest.$ac_ext <<_ACEOF | |
2476 /* confdefs.h. */ | |
2477 _ACEOF | |
2478 cat confdefs.h >>conftest.$ac_ext | |
2479 cat >>conftest.$ac_ext <<_ACEOF | |
2864 /* end confdefs.h. */ | 2480 /* end confdefs.h. */ |
2865 | 2481 |
2866 int | 2482 int |
2867 main () | 2483 main () |
2868 { | 2484 { |
2869 | 2485 |
2870 ; | 2486 ; |
2871 return 0; | 2487 return 0; |
2872 } | 2488 } |
2873 _ACEOF | 2489 _ACEOF |
2874 if ac_fn_c_try_compile "$LINENO"; then : | 2490 rm -f conftest.$ac_objext |
2875 | 2491 if { (ac_try="$ac_compile" |
2876 else | 2492 case "(($ac_try" in |
2877 ac_c_werror_flag=$ac_save_c_werror_flag | 2493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2494 *) ac_try_echo=$ac_try;; | |
2495 esac | |
2496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
2497 (eval "$ac_compile") 2>conftest.er1 | |
2498 ac_status=$? | |
2499 grep -v '^ *+' conftest.er1 >conftest.err | |
2500 rm -f conftest.er1 | |
2501 cat conftest.err >&5 | |
2502 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2503 (exit $ac_status); } && { | |
2504 test -z "$ac_c_werror_flag" || | |
2505 test ! -s conftest.err | |
2506 } && test -s conftest.$ac_objext; then | |
2507 : | |
2508 else | |
2509 echo "$as_me: failed program was:" >&5 | |
2510 sed 's/^/| /' conftest.$ac_ext >&5 | |
2511 | |
2512 ac_c_werror_flag=$ac_save_c_werror_flag | |
2878 CFLAGS="-g" | 2513 CFLAGS="-g" |
2879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 2514 cat >conftest.$ac_ext <<_ACEOF |
2515 /* confdefs.h. */ | |
2516 _ACEOF | |
2517 cat confdefs.h >>conftest.$ac_ext | |
2518 cat >>conftest.$ac_ext <<_ACEOF | |
2880 /* end confdefs.h. */ | 2519 /* end confdefs.h. */ |
2881 | 2520 |
2882 int | 2521 int |
2883 main () | 2522 main () |
2884 { | 2523 { |
2885 | 2524 |
2886 ; | 2525 ; |
2887 return 0; | 2526 return 0; |
2888 } | 2527 } |
2889 _ACEOF | 2528 _ACEOF |
2890 if ac_fn_c_try_compile "$LINENO"; then : | 2529 rm -f conftest.$ac_objext |
2530 if { (ac_try="$ac_compile" | |
2531 case "(($ac_try" in | |
2532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
2533 *) ac_try_echo=$ac_try;; | |
2534 esac | |
2535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
2536 (eval "$ac_compile") 2>conftest.er1 | |
2537 ac_status=$? | |
2538 grep -v '^ *+' conftest.er1 >conftest.err | |
2539 rm -f conftest.er1 | |
2540 cat conftest.err >&5 | |
2541 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2542 (exit $ac_status); } && { | |
2543 test -z "$ac_c_werror_flag" || | |
2544 test ! -s conftest.err | |
2545 } && test -s conftest.$ac_objext; then | |
2891 ac_cv_prog_cc_g=yes | 2546 ac_cv_prog_cc_g=yes |
2892 fi | 2547 else |
2548 echo "$as_me: failed program was:" >&5 | |
2549 sed 's/^/| /' conftest.$ac_ext >&5 | |
2550 | |
2551 | |
2552 fi | |
2553 | |
2893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 2554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2894 fi | 2555 fi |
2556 | |
2895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 2557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2896 fi | 2558 fi |
2559 | |
2897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 2560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2898 ac_c_werror_flag=$ac_save_c_werror_flag | 2561 ac_c_werror_flag=$ac_save_c_werror_flag |
2899 fi | 2562 fi |
2900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 | 2563 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
2901 $as_echo "$ac_cv_prog_cc_g" >&6; } | 2564 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } |
2902 if test "$ac_test_CFLAGS" = set; then | 2565 if test "$ac_test_CFLAGS" = set; then |
2903 CFLAGS=$ac_save_CFLAGS | 2566 CFLAGS=$ac_save_CFLAGS |
2904 elif test $ac_cv_prog_cc_g = yes; then | 2567 elif test $ac_cv_prog_cc_g = yes; then |
2905 if test "$GCC" = yes; then | 2568 if test "$GCC" = yes; then |
2906 CFLAGS="-g -O2" | 2569 CFLAGS="-g -O2" |
2912 CFLAGS="-O2" | 2575 CFLAGS="-O2" |
2913 else | 2576 else |
2914 CFLAGS= | 2577 CFLAGS= |
2915 fi | 2578 fi |
2916 fi | 2579 fi |
2917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 | 2580 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 |
2918 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } | 2581 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } |
2919 if ${ac_cv_prog_cc_c89+:} false; then : | 2582 if test "${ac_cv_prog_cc_c89+set}" = set; then |
2920 $as_echo_n "(cached) " >&6 | 2583 echo $ECHO_N "(cached) $ECHO_C" >&6 |
2921 else | 2584 else |
2922 ac_cv_prog_cc_c89=no | 2585 ac_cv_prog_cc_c89=no |
2923 ac_save_CC=$CC | 2586 ac_save_CC=$CC |
2924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 2587 cat >conftest.$ac_ext <<_ACEOF |
2588 /* confdefs.h. */ | |
2589 _ACEOF | |
2590 cat confdefs.h >>conftest.$ac_ext | |
2591 cat >>conftest.$ac_ext <<_ACEOF | |
2925 /* end confdefs.h. */ | 2592 /* end confdefs.h. */ |
2926 #include <stdarg.h> | 2593 #include <stdarg.h> |
2927 #include <stdio.h> | 2594 #include <stdio.h> |
2928 #include <sys/types.h> | 2595 #include <sys/types.h> |
2929 #include <sys/stat.h> | 2596 #include <sys/stat.h> |
2976 _ACEOF | 2643 _ACEOF |
2977 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ | 2644 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ |
2978 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" | 2645 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
2979 do | 2646 do |
2980 CC="$ac_save_CC $ac_arg" | 2647 CC="$ac_save_CC $ac_arg" |
2981 if ac_fn_c_try_compile "$LINENO"; then : | 2648 rm -f conftest.$ac_objext |
2649 if { (ac_try="$ac_compile" | |
2650 case "(($ac_try" in | |
2651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
2652 *) ac_try_echo=$ac_try;; | |
2653 esac | |
2654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
2655 (eval "$ac_compile") 2>conftest.er1 | |
2656 ac_status=$? | |
2657 grep -v '^ *+' conftest.er1 >conftest.err | |
2658 rm -f conftest.er1 | |
2659 cat conftest.err >&5 | |
2660 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2661 (exit $ac_status); } && { | |
2662 test -z "$ac_c_werror_flag" || | |
2663 test ! -s conftest.err | |
2664 } && test -s conftest.$ac_objext; then | |
2982 ac_cv_prog_cc_c89=$ac_arg | 2665 ac_cv_prog_cc_c89=$ac_arg |
2983 fi | 2666 else |
2667 echo "$as_me: failed program was:" >&5 | |
2668 sed 's/^/| /' conftest.$ac_ext >&5 | |
2669 | |
2670 | |
2671 fi | |
2672 | |
2984 rm -f core conftest.err conftest.$ac_objext | 2673 rm -f core conftest.err conftest.$ac_objext |
2985 test "x$ac_cv_prog_cc_c89" != "xno" && break | 2674 test "x$ac_cv_prog_cc_c89" != "xno" && break |
2986 done | 2675 done |
2987 rm -f conftest.$ac_ext | 2676 rm -f conftest.$ac_ext |
2988 CC=$ac_save_CC | 2677 CC=$ac_save_CC |
2989 | 2678 |
2990 fi | 2679 fi |
2991 # AC_CACHE_VAL | 2680 # AC_CACHE_VAL |
2992 case "x$ac_cv_prog_cc_c89" in | 2681 case "x$ac_cv_prog_cc_c89" in |
2993 x) | 2682 x) |
2994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 | 2683 { echo "$as_me:$LINENO: result: none needed" >&5 |
2995 $as_echo "none needed" >&6; } ;; | 2684 echo "${ECHO_T}none needed" >&6; } ;; |
2996 xno) | 2685 xno) |
2997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 | 2686 { echo "$as_me:$LINENO: result: unsupported" >&5 |
2998 $as_echo "unsupported" >&6; } ;; | 2687 echo "${ECHO_T}unsupported" >&6; } ;; |
2999 *) | 2688 *) |
3000 CC="$CC $ac_cv_prog_cc_c89" | 2689 CC="$CC $ac_cv_prog_cc_c89" |
3001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 | 2690 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 |
3002 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; | 2691 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; |
3003 esac | 2692 esac |
3004 if test "x$ac_cv_prog_cc_c89" != xno; then : | 2693 |
3005 | |
3006 fi | |
3007 | 2694 |
3008 ac_ext=c | 2695 ac_ext=c |
3009 ac_cpp='$CPP $CPPFLAGS' | 2696 ac_cpp='$CPP $CPPFLAGS' |
3010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 2697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 2698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3023 if test -n "$ac_tool_prefix"; then | 2710 if test -n "$ac_tool_prefix"; then |
3024 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC | 2711 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC |
3025 do | 2712 do |
3026 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | 2713 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
3027 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | 2714 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
3028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 2715 { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3029 $as_echo_n "checking for $ac_word... " >&6; } | 2716 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
3030 if ${ac_cv_prog_CXX+:} false; then : | 2717 if test "${ac_cv_prog_CXX+set}" = set; then |
3031 $as_echo_n "(cached) " >&6 | 2718 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3032 else | 2719 else |
3033 if test -n "$CXX"; then | 2720 if test -n "$CXX"; then |
3034 ac_cv_prog_CXX="$CXX" # Let the user override the test. | 2721 ac_cv_prog_CXX="$CXX" # Let the user override the test. |
3035 else | 2722 else |
3036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 2723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3037 for as_dir in $PATH | 2724 for as_dir in $PATH |
3038 do | 2725 do |
3039 IFS=$as_save_IFS | 2726 IFS=$as_save_IFS |
3040 test -z "$as_dir" && as_dir=. | 2727 test -z "$as_dir" && as_dir=. |
3041 for ac_exec_ext in '' $ac_executable_extensions; do | 2728 for ac_exec_ext in '' $ac_executable_extensions; do |
3042 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 2729 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3043 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" | 2730 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" |
3044 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 2731 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3045 break 2 | 2732 break 2 |
3046 fi | 2733 fi |
3047 done | 2734 done |
3048 done | 2735 done |
3049 IFS=$as_save_IFS | 2736 IFS=$as_save_IFS |
3050 | 2737 |
3051 fi | 2738 fi |
3052 fi | 2739 fi |
3053 CXX=$ac_cv_prog_CXX | 2740 CXX=$ac_cv_prog_CXX |
3054 if test -n "$CXX"; then | 2741 if test -n "$CXX"; then |
3055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 | 2742 { echo "$as_me:$LINENO: result: $CXX" >&5 |
3056 $as_echo "$CXX" >&6; } | 2743 echo "${ECHO_T}$CXX" >&6; } |
3057 else | 2744 else |
3058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 2745 { echo "$as_me:$LINENO: result: no" >&5 |
3059 $as_echo "no" >&6; } | 2746 echo "${ECHO_T}no" >&6; } |
3060 fi | 2747 fi |
3061 | 2748 |
3062 | 2749 |
3063 test -n "$CXX" && break | 2750 test -n "$CXX" && break |
3064 done | 2751 done |
3067 ac_ct_CXX=$CXX | 2754 ac_ct_CXX=$CXX |
3068 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC | 2755 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC |
3069 do | 2756 do |
3070 # Extract the first word of "$ac_prog", so it can be a program name with args. | 2757 # Extract the first word of "$ac_prog", so it can be a program name with args. |
3071 set dummy $ac_prog; ac_word=$2 | 2758 set dummy $ac_prog; ac_word=$2 |
3072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 2759 { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3073 $as_echo_n "checking for $ac_word... " >&6; } | 2760 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
3074 if ${ac_cv_prog_ac_ct_CXX+:} false; then : | 2761 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then |
3075 $as_echo_n "(cached) " >&6 | 2762 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3076 else | 2763 else |
3077 if test -n "$ac_ct_CXX"; then | 2764 if test -n "$ac_ct_CXX"; then |
3078 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. | 2765 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. |
3079 else | 2766 else |
3080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 2767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3081 for as_dir in $PATH | 2768 for as_dir in $PATH |
3082 do | 2769 do |
3083 IFS=$as_save_IFS | 2770 IFS=$as_save_IFS |
3084 test -z "$as_dir" && as_dir=. | 2771 test -z "$as_dir" && as_dir=. |
3085 for ac_exec_ext in '' $ac_executable_extensions; do | 2772 for ac_exec_ext in '' $ac_executable_extensions; do |
3086 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 2773 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3087 ac_cv_prog_ac_ct_CXX="$ac_prog" | 2774 ac_cv_prog_ac_ct_CXX="$ac_prog" |
3088 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 2775 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3089 break 2 | 2776 break 2 |
3090 fi | 2777 fi |
3091 done | 2778 done |
3092 done | 2779 done |
3093 IFS=$as_save_IFS | 2780 IFS=$as_save_IFS |
3094 | 2781 |
3095 fi | 2782 fi |
3096 fi | 2783 fi |
3097 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX | 2784 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX |
3098 if test -n "$ac_ct_CXX"; then | 2785 if test -n "$ac_ct_CXX"; then |
3099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 | 2786 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 |
3100 $as_echo "$ac_ct_CXX" >&6; } | 2787 echo "${ECHO_T}$ac_ct_CXX" >&6; } |
3101 else | 2788 else |
3102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 2789 { echo "$as_me:$LINENO: result: no" >&5 |
3103 $as_echo "no" >&6; } | 2790 echo "${ECHO_T}no" >&6; } |
3104 fi | 2791 fi |
3105 | 2792 |
3106 | 2793 |
3107 test -n "$ac_ct_CXX" && break | 2794 test -n "$ac_ct_CXX" && break |
3108 done | 2795 done |
3110 if test "x$ac_ct_CXX" = x; then | 2797 if test "x$ac_ct_CXX" = x; then |
3111 CXX="g++" | 2798 CXX="g++" |
3112 else | 2799 else |
3113 case $cross_compiling:$ac_tool_warned in | 2800 case $cross_compiling:$ac_tool_warned in |
3114 yes:) | 2801 yes:) |
3115 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | 2802 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
3116 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | 2803 whose name does not start with the host triplet. If you think this |
2804 configuration is useful to you, please write to autoconf@gnu.org." >&5 | |
2805 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools | |
2806 whose name does not start with the host triplet. If you think this | |
2807 configuration is useful to you, please write to autoconf@gnu.org." >&2;} | |
3117 ac_tool_warned=yes ;; | 2808 ac_tool_warned=yes ;; |
3118 esac | 2809 esac |
3119 CXX=$ac_ct_CXX | 2810 CXX=$ac_ct_CXX |
3120 fi | 2811 fi |
3121 fi | 2812 fi |
3122 | 2813 |
3123 fi | 2814 fi |
3124 fi | 2815 fi |
3125 # Provide some information about the compiler. | 2816 # Provide some information about the compiler. |
3126 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 | 2817 echo "$as_me:$LINENO: checking for C++ compiler version" >&5 |
3127 set X $ac_compile | 2818 ac_compiler=`set X $ac_compile; echo $2` |
3128 ac_compiler=$2 | 2819 { (ac_try="$ac_compiler --version >&5" |
3129 for ac_option in --version -v -V -qversion; do | |
3130 { { ac_try="$ac_compiler $ac_option >&5" | |
3131 case "(($ac_try" in | 2820 case "(($ac_try" in |
3132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 2821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3133 *) ac_try_echo=$ac_try;; | 2822 *) ac_try_echo=$ac_try;; |
3134 esac | 2823 esac |
3135 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | 2824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
3136 $as_echo "$ac_try_echo"; } >&5 | 2825 (eval "$ac_compiler --version >&5") 2>&5 |
3137 (eval "$ac_compiler $ac_option >&5") 2>conftest.err | |
3138 ac_status=$? | 2826 ac_status=$? |
3139 if test -s conftest.err; then | 2827 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3140 sed '10a\ | 2828 (exit $ac_status); } |
3141 ... rest of stderr output deleted ... | 2829 { (ac_try="$ac_compiler -v >&5" |
3142 10q' conftest.err >conftest.er1 | 2830 case "(($ac_try" in |
3143 cat conftest.er1 >&5 | 2831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3144 fi | 2832 *) ac_try_echo=$ac_try;; |
3145 rm -f conftest.er1 conftest.err | 2833 esac |
3146 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 2834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
3147 test $ac_status = 0; } | 2835 (eval "$ac_compiler -v >&5") 2>&5 |
3148 done | 2836 ac_status=$? |
3149 | 2837 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 | 2838 (exit $ac_status); } |
3151 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } | 2839 { (ac_try="$ac_compiler -V >&5" |
3152 if ${ac_cv_cxx_compiler_gnu+:} false; then : | 2840 case "(($ac_try" in |
3153 $as_echo_n "(cached) " >&6 | 2841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3154 else | 2842 *) ac_try_echo=$ac_try;; |
3155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 2843 esac |
2844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
2845 (eval "$ac_compiler -V >&5") 2>&5 | |
2846 ac_status=$? | |
2847 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2848 (exit $ac_status); } | |
2849 | |
2850 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 | |
2851 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; } | |
2852 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then | |
2853 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
2854 else | |
2855 cat >conftest.$ac_ext <<_ACEOF | |
2856 /* confdefs.h. */ | |
2857 _ACEOF | |
2858 cat confdefs.h >>conftest.$ac_ext | |
2859 cat >>conftest.$ac_ext <<_ACEOF | |
3156 /* end confdefs.h. */ | 2860 /* end confdefs.h. */ |
3157 | 2861 |
3158 int | 2862 int |
3159 main () | 2863 main () |
3160 { | 2864 { |
3164 | 2868 |
3165 ; | 2869 ; |
3166 return 0; | 2870 return 0; |
3167 } | 2871 } |
3168 _ACEOF | 2872 _ACEOF |
3169 if ac_fn_cxx_try_compile "$LINENO"; then : | 2873 rm -f conftest.$ac_objext |
2874 if { (ac_try="$ac_compile" | |
2875 case "(($ac_try" in | |
2876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
2877 *) ac_try_echo=$ac_try;; | |
2878 esac | |
2879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
2880 (eval "$ac_compile") 2>conftest.er1 | |
2881 ac_status=$? | |
2882 grep -v '^ *+' conftest.er1 >conftest.err | |
2883 rm -f conftest.er1 | |
2884 cat conftest.err >&5 | |
2885 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2886 (exit $ac_status); } && { | |
2887 test -z "$ac_cxx_werror_flag" || | |
2888 test ! -s conftest.err | |
2889 } && test -s conftest.$ac_objext; then | |
3170 ac_compiler_gnu=yes | 2890 ac_compiler_gnu=yes |
3171 else | 2891 else |
3172 ac_compiler_gnu=no | 2892 echo "$as_me: failed program was:" >&5 |
3173 fi | 2893 sed 's/^/| /' conftest.$ac_ext >&5 |
2894 | |
2895 ac_compiler_gnu=no | |
2896 fi | |
2897 | |
3174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 2898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3175 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu | 2899 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu |
3176 | 2900 |
3177 fi | 2901 fi |
3178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 | 2902 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 |
3179 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } | 2903 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; } |
3180 if test $ac_compiler_gnu = yes; then | 2904 GXX=`test $ac_compiler_gnu = yes && echo yes` |
3181 GXX=yes | |
3182 else | |
3183 GXX= | |
3184 fi | |
3185 ac_test_CXXFLAGS=${CXXFLAGS+set} | 2905 ac_test_CXXFLAGS=${CXXFLAGS+set} |
3186 ac_save_CXXFLAGS=$CXXFLAGS | 2906 ac_save_CXXFLAGS=$CXXFLAGS |
3187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 | 2907 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 |
3188 $as_echo_n "checking whether $CXX accepts -g... " >&6; } | 2908 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; } |
3189 if ${ac_cv_prog_cxx_g+:} false; then : | 2909 if test "${ac_cv_prog_cxx_g+set}" = set; then |
3190 $as_echo_n "(cached) " >&6 | 2910 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3191 else | 2911 else |
3192 ac_save_cxx_werror_flag=$ac_cxx_werror_flag | 2912 ac_save_cxx_werror_flag=$ac_cxx_werror_flag |
3193 ac_cxx_werror_flag=yes | 2913 ac_cxx_werror_flag=yes |
3194 ac_cv_prog_cxx_g=no | 2914 ac_cv_prog_cxx_g=no |
3195 CXXFLAGS="-g" | 2915 CXXFLAGS="-g" |
3196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 2916 cat >conftest.$ac_ext <<_ACEOF |
2917 /* confdefs.h. */ | |
2918 _ACEOF | |
2919 cat confdefs.h >>conftest.$ac_ext | |
2920 cat >>conftest.$ac_ext <<_ACEOF | |
3197 /* end confdefs.h. */ | 2921 /* end confdefs.h. */ |
3198 | 2922 |
3199 int | 2923 int |
3200 main () | 2924 main () |
3201 { | 2925 { |
3202 | 2926 |
3203 ; | 2927 ; |
3204 return 0; | 2928 return 0; |
3205 } | 2929 } |
3206 _ACEOF | 2930 _ACEOF |
3207 if ac_fn_cxx_try_compile "$LINENO"; then : | 2931 rm -f conftest.$ac_objext |
2932 if { (ac_try="$ac_compile" | |
2933 case "(($ac_try" in | |
2934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
2935 *) ac_try_echo=$ac_try;; | |
2936 esac | |
2937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
2938 (eval "$ac_compile") 2>conftest.er1 | |
2939 ac_status=$? | |
2940 grep -v '^ *+' conftest.er1 >conftest.err | |
2941 rm -f conftest.er1 | |
2942 cat conftest.err >&5 | |
2943 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2944 (exit $ac_status); } && { | |
2945 test -z "$ac_cxx_werror_flag" || | |
2946 test ! -s conftest.err | |
2947 } && test -s conftest.$ac_objext; then | |
3208 ac_cv_prog_cxx_g=yes | 2948 ac_cv_prog_cxx_g=yes |
3209 else | 2949 else |
3210 CXXFLAGS="" | 2950 echo "$as_me: failed program was:" >&5 |
3211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 2951 sed 's/^/| /' conftest.$ac_ext >&5 |
2952 | |
2953 CXXFLAGS="" | |
2954 cat >conftest.$ac_ext <<_ACEOF | |
2955 /* confdefs.h. */ | |
2956 _ACEOF | |
2957 cat confdefs.h >>conftest.$ac_ext | |
2958 cat >>conftest.$ac_ext <<_ACEOF | |
3212 /* end confdefs.h. */ | 2959 /* end confdefs.h. */ |
3213 | 2960 |
3214 int | 2961 int |
3215 main () | 2962 main () |
3216 { | 2963 { |
3217 | 2964 |
3218 ; | 2965 ; |
3219 return 0; | 2966 return 0; |
3220 } | 2967 } |
3221 _ACEOF | 2968 _ACEOF |
3222 if ac_fn_cxx_try_compile "$LINENO"; then : | 2969 rm -f conftest.$ac_objext |
3223 | 2970 if { (ac_try="$ac_compile" |
3224 else | 2971 case "(($ac_try" in |
3225 ac_cxx_werror_flag=$ac_save_cxx_werror_flag | 2972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2973 *) ac_try_echo=$ac_try;; | |
2974 esac | |
2975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
2976 (eval "$ac_compile") 2>conftest.er1 | |
2977 ac_status=$? | |
2978 grep -v '^ *+' conftest.er1 >conftest.err | |
2979 rm -f conftest.er1 | |
2980 cat conftest.err >&5 | |
2981 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2982 (exit $ac_status); } && { | |
2983 test -z "$ac_cxx_werror_flag" || | |
2984 test ! -s conftest.err | |
2985 } && test -s conftest.$ac_objext; then | |
2986 : | |
2987 else | |
2988 echo "$as_me: failed program was:" >&5 | |
2989 sed 's/^/| /' conftest.$ac_ext >&5 | |
2990 | |
2991 ac_cxx_werror_flag=$ac_save_cxx_werror_flag | |
3226 CXXFLAGS="-g" | 2992 CXXFLAGS="-g" |
3227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 2993 cat >conftest.$ac_ext <<_ACEOF |
2994 /* confdefs.h. */ | |
2995 _ACEOF | |
2996 cat confdefs.h >>conftest.$ac_ext | |
2997 cat >>conftest.$ac_ext <<_ACEOF | |
3228 /* end confdefs.h. */ | 2998 /* end confdefs.h. */ |
3229 | 2999 |
3230 int | 3000 int |
3231 main () | 3001 main () |
3232 { | 3002 { |
3233 | 3003 |
3234 ; | 3004 ; |
3235 return 0; | 3005 return 0; |
3236 } | 3006 } |
3237 _ACEOF | 3007 _ACEOF |
3238 if ac_fn_cxx_try_compile "$LINENO"; then : | 3008 rm -f conftest.$ac_objext |
3009 if { (ac_try="$ac_compile" | |
3010 case "(($ac_try" in | |
3011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3012 *) ac_try_echo=$ac_try;; | |
3013 esac | |
3014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
3015 (eval "$ac_compile") 2>conftest.er1 | |
3016 ac_status=$? | |
3017 grep -v '^ *+' conftest.er1 >conftest.err | |
3018 rm -f conftest.er1 | |
3019 cat conftest.err >&5 | |
3020 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3021 (exit $ac_status); } && { | |
3022 test -z "$ac_cxx_werror_flag" || | |
3023 test ! -s conftest.err | |
3024 } && test -s conftest.$ac_objext; then | |
3239 ac_cv_prog_cxx_g=yes | 3025 ac_cv_prog_cxx_g=yes |
3240 fi | 3026 else |
3027 echo "$as_me: failed program was:" >&5 | |
3028 sed 's/^/| /' conftest.$ac_ext >&5 | |
3029 | |
3030 | |
3031 fi | |
3032 | |
3241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 3033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3242 fi | 3034 fi |
3035 | |
3243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 3036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3244 fi | 3037 fi |
3038 | |
3245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 3039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3246 ac_cxx_werror_flag=$ac_save_cxx_werror_flag | 3040 ac_cxx_werror_flag=$ac_save_cxx_werror_flag |
3247 fi | 3041 fi |
3248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 | 3042 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 |
3249 $as_echo "$ac_cv_prog_cxx_g" >&6; } | 3043 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; } |
3250 if test "$ac_test_CXXFLAGS" = set; then | 3044 if test "$ac_test_CXXFLAGS" = set; then |
3251 CXXFLAGS=$ac_save_CXXFLAGS | 3045 CXXFLAGS=$ac_save_CXXFLAGS |
3252 elif test $ac_cv_prog_cxx_g = yes; then | 3046 elif test $ac_cv_prog_cxx_g = yes; then |
3253 if test "$GXX" = yes; then | 3047 if test "$GXX" = yes; then |
3254 CXXFLAGS="-g -O2" | 3048 CXXFLAGS="-g -O2" |
3269 ac_compiler_gnu=$ac_cv_c_compiler_gnu | 3063 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3270 | 3064 |
3271 | 3065 |
3272 # Extract the first word of "gmake", so it can be a program name with args. | 3066 # Extract the first word of "gmake", so it can be a program name with args. |
3273 set dummy gmake; ac_word=$2 | 3067 set dummy gmake; ac_word=$2 |
3274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 3068 { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3275 $as_echo_n "checking for $ac_word... " >&6; } | 3069 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
3276 if ${ac_cv_prog_MAKE+:} false; then : | 3070 if test "${ac_cv_prog_MAKE+set}" = set; then |
3277 $as_echo_n "(cached) " >&6 | 3071 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3278 else | 3072 else |
3279 if test -n "$MAKE"; then | 3073 if test -n "$MAKE"; then |
3280 ac_cv_prog_MAKE="$MAKE" # Let the user override the test. | 3074 ac_cv_prog_MAKE="$MAKE" # Let the user override the test. |
3281 else | 3075 else |
3282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 3076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3283 for as_dir in $PATH | 3077 for as_dir in $PATH |
3284 do | 3078 do |
3285 IFS=$as_save_IFS | 3079 IFS=$as_save_IFS |
3286 test -z "$as_dir" && as_dir=. | 3080 test -z "$as_dir" && as_dir=. |
3287 for ac_exec_ext in '' $ac_executable_extensions; do | 3081 for ac_exec_ext in '' $ac_executable_extensions; do |
3288 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 3082 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3289 ac_cv_prog_MAKE="gmake" | 3083 ac_cv_prog_MAKE="gmake" |
3290 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 3084 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3291 break 2 | 3085 break 2 |
3292 fi | 3086 fi |
3293 done | 3087 done |
3294 done | 3088 done |
3295 IFS=$as_save_IFS | 3089 IFS=$as_save_IFS |
3296 | 3090 |
3297 fi | 3091 fi |
3298 fi | 3092 fi |
3299 MAKE=$ac_cv_prog_MAKE | 3093 MAKE=$ac_cv_prog_MAKE |
3300 if test -n "$MAKE"; then | 3094 if test -n "$MAKE"; then |
3301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKE" >&5 | 3095 { echo "$as_me:$LINENO: result: $MAKE" >&5 |
3302 $as_echo "$MAKE" >&6; } | 3096 echo "${ECHO_T}$MAKE" >&6; } |
3303 else | 3097 else |
3304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 3098 { echo "$as_me:$LINENO: result: no" >&5 |
3305 $as_echo "no" >&6; } | 3099 echo "${ECHO_T}no" >&6; } |
3306 fi | 3100 fi |
3307 | 3101 |
3308 | 3102 |
3309 if test x"$MAKE" = x; then | 3103 if test x"$MAKE" = x; then |
3310 # Extract the first word of "make", so it can be a program name with args. | 3104 # Extract the first word of "make", so it can be a program name with args. |
3311 set dummy make; ac_word=$2 | 3105 set dummy make; ac_word=$2 |
3312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 3106 { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3313 $as_echo_n "checking for $ac_word... " >&6; } | 3107 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
3314 if ${ac_cv_prog_MAKE+:} false; then : | 3108 if test "${ac_cv_prog_MAKE+set}" = set; then |
3315 $as_echo_n "(cached) " >&6 | 3109 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3316 else | 3110 else |
3317 if test -n "$MAKE"; then | 3111 if test -n "$MAKE"; then |
3318 ac_cv_prog_MAKE="$MAKE" # Let the user override the test. | 3112 ac_cv_prog_MAKE="$MAKE" # Let the user override the test. |
3319 else | 3113 else |
3320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 3114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3321 for as_dir in $PATH | 3115 for as_dir in $PATH |
3322 do | 3116 do |
3323 IFS=$as_save_IFS | 3117 IFS=$as_save_IFS |
3324 test -z "$as_dir" && as_dir=. | 3118 test -z "$as_dir" && as_dir=. |
3325 for ac_exec_ext in '' $ac_executable_extensions; do | 3119 for ac_exec_ext in '' $ac_executable_extensions; do |
3326 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 3120 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3327 ac_cv_prog_MAKE="make" | 3121 ac_cv_prog_MAKE="make" |
3328 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 3122 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3329 break 2 | 3123 break 2 |
3330 fi | 3124 fi |
3331 done | 3125 done |
3332 done | 3126 done |
3333 IFS=$as_save_IFS | 3127 IFS=$as_save_IFS |
3334 | 3128 |
3335 fi | 3129 fi |
3336 fi | 3130 fi |
3337 MAKE=$ac_cv_prog_MAKE | 3131 MAKE=$ac_cv_prog_MAKE |
3338 if test -n "$MAKE"; then | 3132 if test -n "$MAKE"; then |
3339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKE" >&5 | 3133 { echo "$as_me:$LINENO: result: $MAKE" >&5 |
3340 $as_echo "$MAKE" >&6; } | 3134 echo "${ECHO_T}$MAKE" >&6; } |
3341 else | 3135 else |
3342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 3136 { echo "$as_me:$LINENO: result: no" >&5 |
3343 $as_echo "no" >&6; } | 3137 echo "${ECHO_T}no" >&6; } |
3344 fi | 3138 fi |
3345 | 3139 |
3346 | 3140 |
3347 fi | 3141 fi |
3348 if test -d .svn; then | 3142 if test -d .svn; then |
3349 # Extract the first word of "svnversion", so it can be a program name with args. | 3143 # Extract the first word of "svnversion", so it can be a program name with args. |
3350 set dummy svnversion; ac_word=$2 | 3144 set dummy svnversion; ac_word=$2 |
3351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 3145 { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3352 $as_echo_n "checking for $ac_word... " >&6; } | 3146 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
3353 if ${ac_cv_prog_SVNVERSION+:} false; then : | 3147 if test "${ac_cv_prog_SVNVERSION+set}" = set; then |
3354 $as_echo_n "(cached) " >&6 | 3148 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3355 else | 3149 else |
3356 if test -n "$SVNVERSION"; then | 3150 if test -n "$SVNVERSION"; then |
3357 ac_cv_prog_SVNVERSION="$SVNVERSION" # Let the user override the test. | 3151 ac_cv_prog_SVNVERSION="$SVNVERSION" # Let the user override the test. |
3358 else | 3152 else |
3359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 3153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3360 for as_dir in $PATH | 3154 for as_dir in $PATH |
3361 do | 3155 do |
3362 IFS=$as_save_IFS | 3156 IFS=$as_save_IFS |
3363 test -z "$as_dir" && as_dir=. | 3157 test -z "$as_dir" && as_dir=. |
3364 for ac_exec_ext in '' $ac_executable_extensions; do | 3158 for ac_exec_ext in '' $ac_executable_extensions; do |
3365 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 3159 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3366 ac_cv_prog_SVNVERSION="svnversion" | 3160 ac_cv_prog_SVNVERSION="svnversion" |
3367 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 3161 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3368 break 2 | 3162 break 2 |
3369 fi | 3163 fi |
3370 done | 3164 done |
3371 done | 3165 done |
3372 IFS=$as_save_IFS | 3166 IFS=$as_save_IFS |
3373 | 3167 |
3374 fi | 3168 fi |
3375 fi | 3169 fi |
3376 SVNVERSION=$ac_cv_prog_SVNVERSION | 3170 SVNVERSION=$ac_cv_prog_SVNVERSION |
3377 if test -n "$SVNVERSION"; then | 3171 if test -n "$SVNVERSION"; then |
3378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SVNVERSION" >&5 | 3172 { echo "$as_me:$LINENO: result: $SVNVERSION" >&5 |
3379 $as_echo "$SVNVERSION" >&6; } | 3173 echo "${ECHO_T}$SVNVERSION" >&6; } |
3380 else | 3174 else |
3381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 3175 { echo "$as_me:$LINENO: result: no" >&5 |
3382 $as_echo "no" >&6; } | 3176 echo "${ECHO_T}no" >&6; } |
3383 fi | 3177 fi |
3384 | 3178 |
3385 | 3179 |
3386 fi | 3180 fi |
3387 if test x"$SVNVERSION" = x; then | 3181 if test x"$SVNVERSION" = x; then |
3405 ac_install_sh="$ac_aux_dir/shtool install -c" | 3199 ac_install_sh="$ac_aux_dir/shtool install -c" |
3406 break | 3200 break |
3407 fi | 3201 fi |
3408 done | 3202 done |
3409 if test -z "$ac_aux_dir"; then | 3203 if test -z "$ac_aux_dir"; then |
3410 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 | 3204 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 |
3205 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} | |
3206 { (exit 1); exit 1; }; } | |
3411 fi | 3207 fi |
3412 | 3208 |
3413 # These three variables are undocumented and unsupported, | 3209 # These three variables are undocumented and unsupported, |
3414 # and are intended to be withdrawn in a future Autoconf release. | 3210 # and are intended to be withdrawn in a future Autoconf release. |
3415 # They can cause serious problems if a builder's source tree is in a directory | 3211 # They can cause serious problems if a builder's source tree is in a directory |
3430 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | 3226 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
3431 # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 3227 # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
3432 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 3228 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
3433 # OS/2's system install, which has a completely different semantic | 3229 # OS/2's system install, which has a completely different semantic |
3434 # ./install, which can be erroneously created by make from ./install.sh. | 3230 # ./install, which can be erroneously created by make from ./install.sh. |
3435 # Reject install programs that cannot install multiple files. | 3231 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
3436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 | 3232 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } |
3437 $as_echo_n "checking for a BSD-compatible install... " >&6; } | |
3438 if test -z "$INSTALL"; then | 3233 if test -z "$INSTALL"; then |
3439 if ${ac_cv_path_install+:} false; then : | 3234 if test "${ac_cv_path_install+set}" = set; then |
3440 $as_echo_n "(cached) " >&6 | 3235 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3441 else | 3236 else |
3442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 3237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3443 for as_dir in $PATH | 3238 for as_dir in $PATH |
3444 do | 3239 do |
3445 IFS=$as_save_IFS | 3240 IFS=$as_save_IFS |
3446 test -z "$as_dir" && as_dir=. | 3241 test -z "$as_dir" && as_dir=. |
3447 # Account for people who put trailing slashes in PATH elements. | 3242 # Account for people who put trailing slashes in PATH elements. |
3448 case $as_dir/ in #(( | 3243 case $as_dir/ in |
3449 ./ | .// | /[cC]/* | \ | 3244 ./ | .// | /cC/* | \ |
3450 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ | 3245 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
3451 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ | 3246 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ |
3452 /usr/ucb/* ) ;; | 3247 /usr/ucb/* ) ;; |
3453 *) | 3248 *) |
3454 # OSF1 and SCO ODT 3.0 have their own names for install. | 3249 # OSF1 and SCO ODT 3.0 have their own names for install. |
3455 # Don't use installbsd from OSF since it installs stuff as root | 3250 # Don't use installbsd from OSF since it installs stuff as root |
3456 # by default. | 3251 # by default. |
3464 elif test $ac_prog = install && | 3259 elif test $ac_prog = install && |
3465 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | 3260 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
3466 # program-specific install script used by HP pwplus--don't use. | 3261 # program-specific install script used by HP pwplus--don't use. |
3467 : | 3262 : |
3468 else | 3263 else |
3469 rm -rf conftest.one conftest.two conftest.dir | 3264 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
3470 echo one > conftest.one | 3265 break 3 |
3471 echo two > conftest.two | |
3472 mkdir conftest.dir | |
3473 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && | |
3474 test -s conftest.one && test -s conftest.two && | |
3475 test -s conftest.dir/conftest.one && | |
3476 test -s conftest.dir/conftest.two | |
3477 then | |
3478 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" | |
3479 break 3 | |
3480 fi | |
3481 fi | 3266 fi |
3482 fi | 3267 fi |
3483 done | 3268 done |
3484 done | 3269 done |
3485 ;; | 3270 ;; |
3486 esac | 3271 esac |
3487 | 3272 done |
3488 done | |
3489 IFS=$as_save_IFS | 3273 IFS=$as_save_IFS |
3490 | 3274 |
3491 rm -rf conftest.one conftest.two conftest.dir | |
3492 | 3275 |
3493 fi | 3276 fi |
3494 if test "${ac_cv_path_install+set}" = set; then | 3277 if test "${ac_cv_path_install+set}" = set; then |
3495 INSTALL=$ac_cv_path_install | 3278 INSTALL=$ac_cv_path_install |
3496 else | 3279 else |
3499 # break other packages using the cache if that directory is | 3282 # break other packages using the cache if that directory is |
3500 # removed, or if the value is a relative name. | 3283 # removed, or if the value is a relative name. |
3501 INSTALL=$ac_install_sh | 3284 INSTALL=$ac_install_sh |
3502 fi | 3285 fi |
3503 fi | 3286 fi |
3504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 | 3287 { echo "$as_me:$LINENO: result: $INSTALL" >&5 |
3505 $as_echo "$INSTALL" >&6; } | 3288 echo "${ECHO_T}$INSTALL" >&6; } |
3506 | 3289 |
3507 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. | 3290 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
3508 # It thinks the first close brace ends the variable substitution. | 3291 # It thinks the first close brace ends the variable substitution. |
3509 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' | 3292 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
3510 | 3293 |
3515 | 3298 |
3516 | 3299 |
3517 | 3300 |
3518 # Make sure we can run config.sub. | 3301 # Make sure we can run config.sub. |
3519 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || | 3302 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || |
3520 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 | 3303 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 |
3521 | 3304 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} |
3522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 | 3305 { (exit 1); exit 1; }; } |
3523 $as_echo_n "checking build system type... " >&6; } | 3306 |
3524 if ${ac_cv_build+:} false; then : | 3307 { echo "$as_me:$LINENO: checking build system type" >&5 |
3525 $as_echo_n "(cached) " >&6 | 3308 echo $ECHO_N "checking build system type... $ECHO_C" >&6; } |
3309 if test "${ac_cv_build+set}" = set; then | |
3310 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
3526 else | 3311 else |
3527 ac_build_alias=$build_alias | 3312 ac_build_alias=$build_alias |
3528 test "x$ac_build_alias" = x && | 3313 test "x$ac_build_alias" = x && |
3529 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` | 3314 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` |
3530 test "x$ac_build_alias" = x && | 3315 test "x$ac_build_alias" = x && |
3531 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 | 3316 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 |
3317 echo "$as_me: error: cannot guess build type; you must specify one" >&2;} | |
3318 { (exit 1); exit 1; }; } | |
3532 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || | 3319 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || |
3533 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 | 3320 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 |
3534 | 3321 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} |
3535 fi | 3322 { (exit 1); exit 1; }; } |
3536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 | 3323 |
3537 $as_echo "$ac_cv_build" >&6; } | 3324 fi |
3325 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5 | |
3326 echo "${ECHO_T}$ac_cv_build" >&6; } | |
3538 case $ac_cv_build in | 3327 case $ac_cv_build in |
3539 *-*-*) ;; | 3328 *-*-*) ;; |
3540 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; | 3329 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 |
3330 echo "$as_me: error: invalid value of canonical build" >&2;} | |
3331 { (exit 1); exit 1; }; };; | |
3541 esac | 3332 esac |
3542 build=$ac_cv_build | 3333 build=$ac_cv_build |
3543 ac_save_IFS=$IFS; IFS='-' | 3334 ac_save_IFS=$IFS; IFS='-' |
3544 set x $ac_cv_build | 3335 set x $ac_cv_build |
3545 shift | 3336 shift |
3551 build_os=$* | 3342 build_os=$* |
3552 IFS=$ac_save_IFS | 3343 IFS=$ac_save_IFS |
3553 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac | 3344 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac |
3554 | 3345 |
3555 | 3346 |
3556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 | 3347 { echo "$as_me:$LINENO: checking host system type" >&5 |
3557 $as_echo_n "checking host system type... " >&6; } | 3348 echo $ECHO_N "checking host system type... $ECHO_C" >&6; } |
3558 if ${ac_cv_host+:} false; then : | 3349 if test "${ac_cv_host+set}" = set; then |
3559 $as_echo_n "(cached) " >&6 | 3350 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3560 else | 3351 else |
3561 if test "x$host_alias" = x; then | 3352 if test "x$host_alias" = x; then |
3562 ac_cv_host=$ac_cv_build | 3353 ac_cv_host=$ac_cv_build |
3563 else | 3354 else |
3564 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || | 3355 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || |
3565 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 | 3356 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 |
3566 fi | 3357 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} |
3567 | 3358 { (exit 1); exit 1; }; } |
3568 fi | 3359 fi |
3569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 | 3360 |
3570 $as_echo "$ac_cv_host" >&6; } | 3361 fi |
3362 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5 | |
3363 echo "${ECHO_T}$ac_cv_host" >&6; } | |
3571 case $ac_cv_host in | 3364 case $ac_cv_host in |
3572 *-*-*) ;; | 3365 *-*-*) ;; |
3573 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; | 3366 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 |
3367 echo "$as_me: error: invalid value of canonical host" >&2;} | |
3368 { (exit 1); exit 1; }; };; | |
3574 esac | 3369 esac |
3575 host=$ac_cv_host | 3370 host=$ac_cv_host |
3576 ac_save_IFS=$IFS; IFS='-' | 3371 ac_save_IFS=$IFS; IFS='-' |
3577 set x $ac_cv_host | 3372 set x $ac_cv_host |
3578 shift | 3373 shift |
3584 host_os=$* | 3379 host_os=$* |
3585 IFS=$ac_save_IFS | 3380 IFS=$ac_save_IFS |
3586 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac | 3381 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac |
3587 | 3382 |
3588 | 3383 |
3589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 | 3384 { echo "$as_me:$LINENO: checking target system type" >&5 |
3590 $as_echo_n "checking target system type... " >&6; } | 3385 echo $ECHO_N "checking target system type... $ECHO_C" >&6; } |
3591 if ${ac_cv_target+:} false; then : | 3386 if test "${ac_cv_target+set}" = set; then |
3592 $as_echo_n "(cached) " >&6 | 3387 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3593 else | 3388 else |
3594 if test "x$target_alias" = x; then | 3389 if test "x$target_alias" = x; then |
3595 ac_cv_target=$ac_cv_host | 3390 ac_cv_target=$ac_cv_host |
3596 else | 3391 else |
3597 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || | 3392 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || |
3598 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 | 3393 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5 |
3599 fi | 3394 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;} |
3600 | 3395 { (exit 1); exit 1; }; } |
3601 fi | 3396 fi |
3602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 | 3397 |
3603 $as_echo "$ac_cv_target" >&6; } | 3398 fi |
3399 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5 | |
3400 echo "${ECHO_T}$ac_cv_target" >&6; } | |
3604 case $ac_cv_target in | 3401 case $ac_cv_target in |
3605 *-*-*) ;; | 3402 *-*-*) ;; |
3606 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;; | 3403 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5 |
3404 echo "$as_me: error: invalid value of canonical target" >&2;} | |
3405 { (exit 1); exit 1; }; };; | |
3607 esac | 3406 esac |
3608 target=$ac_cv_target | 3407 target=$ac_cv_target |
3609 ac_save_IFS=$IFS; IFS='-' | 3408 ac_save_IFS=$IFS; IFS='-' |
3610 set x $ac_cv_target | 3409 set x $ac_cv_target |
3611 shift | 3410 shift |
3625 test "$program_prefix$program_suffix$program_transform_name" = \ | 3424 test "$program_prefix$program_suffix$program_transform_name" = \ |
3626 NONENONEs,x,x, && | 3425 NONENONEs,x,x, && |
3627 program_prefix=${target_alias}- | 3426 program_prefix=${target_alias}- |
3628 | 3427 |
3629 | 3428 |
3630 | 3429 # Check whether --with-dwcompat was given. |
3631 # Check whether --with-compat was given. | 3430 if test "${with_dwcompat+set}" = set; then |
3632 if test "${with_compat+set}" = set; then : | 3431 withval=$with_dwcompat; with_dwcompat=$withval |
3633 withval=$with_compat; with_compat=$withval | 3432 else |
3634 else | 3433 with_dwcompat=no |
3635 with_compat=no | |
3636 fi | 3434 fi |
3637 | 3435 |
3638 | 3436 |
3639 | 3437 |
3640 # Check whether --with-gtk3 was given. | 3438 # Check whether --with-gtk3 was given. |
3641 if test "${with_gtk3+set}" = set; then : | 3439 if test "${with_gtk3+set}" = set; then |
3642 withval=$with_gtk3; with_gtk3=$withval | 3440 withval=$with_gtk3; with_gtk3=$withval |
3643 else | 3441 else |
3644 with_gtk3=no | 3442 with_gtk3=no |
3645 fi | 3443 fi |
3646 | 3444 |
3647 | 3445 |
3648 if test $with_compat = yes; then | 3446 if test $with_dwcompat = yes; then |
3649 COMPAT_OBJECT="compat.o" | 3447 COMPAT_OBJECT="dwcompat.o" |
3650 INSTALL_COMPAT="installcompat" | 3448 INSTALL_COMPAT="installdwcompat" |
3651 SYSCONF_LINK_TARGET_SHARED2="lib$TARGET2.$SOSUFFIX.\$(DW_MAJOR_VERSION).\$(DW_MINOR_VERSION)" | 3449 SYSCONF_LINK_TARGET_SHARED2="lib$TARGET2.$SOSUFFIX.\$(DW_MAJOR_VERSION).\$(DW_MINOR_VERSION)" |
3652 else | 3450 else |
3653 COMPAT_OBJECT="" | 3451 COMPAT_OBJECT="" |
3654 INSTALL_COMPAT="" | 3452 INSTALL_COMPAT="" |
3655 SYSCONF_LINK_TARGET_SHARED2="" | 3453 SYSCONF_LINK_TARGET_SHARED2="" |
3657 SYSCONF_LINK_TARGET_SHARED="lib$TARGET.$SOSUFFIX.\$(DW_MAJOR_VERSION).\$(DW_MINOR_VERSION)" | 3455 SYSCONF_LINK_TARGET_SHARED="lib$TARGET.$SOSUFFIX.\$(DW_MAJOR_VERSION).\$(DW_MINOR_VERSION)" |
3658 SYSCONF_LINK_TARGET_STATIC="lib$TARGET.a" | 3456 SYSCONF_LINK_TARGET_STATIC="lib$TARGET.a" |
3659 | 3457 |
3660 | 3458 |
3661 # Check whether --with-gtk was given. | 3459 # Check whether --with-gtk was given. |
3662 if test "${with_gtk+set}" = set; then : | 3460 if test "${with_gtk+set}" = set; then |
3663 withval=$with_gtk; with_gtk=$withval | 3461 withval=$with_gtk; with_gtk=$withval |
3664 else | 3462 else |
3665 with_gtk=no | 3463 with_gtk=no |
3666 fi | 3464 fi |
3667 | 3465 |
3668 | 3466 |
3669 | 3467 |
3670 # Check whether --with-gtkframework was given. | 3468 # Check whether --with-gtkframework was given. |
3671 if test "${with_gtkframework+set}" = set; then : | 3469 if test "${with_gtkframework+set}" = set; then |
3672 withval=$with_gtkframework; with_gtkframework=$withval | 3470 withval=$with_gtkframework; with_gtkframework=$withval |
3673 else | 3471 else |
3674 with_gtkframework=no | 3472 with_gtkframework=no |
3675 fi | 3473 fi |
3676 | 3474 |
3677 | 3475 |
3678 | 3476 |
3679 # Check whether --with-gtkhtml was given. | 3477 # Check whether --with-gtkhtml was given. |
3680 if test "${with_gtkhtml+set}" = set; then : | 3478 if test "${with_gtkhtml+set}" = set; then |
3681 withval=$with_gtkhtml; with_gtkhtml=$withval | 3479 withval=$with_gtkhtml; with_gtkhtml=$withval |
3682 else | 3480 else |
3683 with_gtkhtml=no | 3481 with_gtkhtml=no |
3684 fi | 3482 fi |
3685 | 3483 |
3686 | 3484 |
3687 | 3485 |
3688 # Check whether --with-gtkmozembed was given. | 3486 # Check whether --with-gtkmozembed was given. |
3689 if test "${with_gtkmozembed+set}" = set; then : | 3487 if test "${with_gtkmozembed+set}" = set; then |
3690 withval=$with_gtkmozembed; with_gtkmozembed=$withval | 3488 withval=$with_gtkmozembed; with_gtkmozembed=$withval |
3691 else | 3489 else |
3692 with_gtkmozembed=no | 3490 with_gtkmozembed=no |
3693 fi | 3491 fi |
3694 | 3492 |
3695 | 3493 |
3696 | 3494 |
3697 # Check whether --with-arch was given. | 3495 # Check whether --with-arch was given. |
3698 if test "${with_arch+set}" = set; then : | 3496 if test "${with_arch+set}" = set; then |
3699 withval=$with_arch; with_arch=$withval | 3497 withval=$with_arch; with_arch=$withval |
3700 else | 3498 else |
3701 with_arch=no | 3499 with_arch=no |
3702 fi | 3500 fi |
3703 | 3501 |
3706 ac_ext=c | 3504 ac_ext=c |
3707 ac_cpp='$CPP $CPPFLAGS' | 3505 ac_cpp='$CPP $CPPFLAGS' |
3708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 3506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 3507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3710 ac_compiler_gnu=$ac_cv_c_compiler_gnu | 3508 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 | 3509 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 |
3712 $as_echo_n "checking how to run the C preprocessor... " >&6; } | 3510 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; } |
3713 # On Suns, sometimes $CPP names a directory. | 3511 # On Suns, sometimes $CPP names a directory. |
3714 if test -n "$CPP" && test -d "$CPP"; then | 3512 if test -n "$CPP" && test -d "$CPP"; then |
3715 CPP= | 3513 CPP= |
3716 fi | 3514 fi |
3717 if test -z "$CPP"; then | 3515 if test -z "$CPP"; then |
3718 if ${ac_cv_prog_CPP+:} false; then : | 3516 if test "${ac_cv_prog_CPP+set}" = set; then |
3719 $as_echo_n "(cached) " >&6 | 3517 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3720 else | 3518 else |
3721 # Double quotes because CPP needs to be expanded | 3519 # Double quotes because CPP needs to be expanded |
3722 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" | 3520 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
3723 do | 3521 do |
3724 ac_preproc_ok=false | 3522 ac_preproc_ok=false |
3728 # with a fresh cross-compiler works. | 3526 # with a fresh cross-compiler works. |
3729 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 3527 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
3730 # <limits.h> exists even on freestanding compilers. | 3528 # <limits.h> exists even on freestanding compilers. |
3731 # On the NeXT, cc -E runs the code through the compiler's parser, | 3529 # On the NeXT, cc -E runs the code through the compiler's parser, |
3732 # not just through cpp. "Syntax error" is here to catch this case. | 3530 # not just through cpp. "Syntax error" is here to catch this case. |
3733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 3531 cat >conftest.$ac_ext <<_ACEOF |
3532 /* confdefs.h. */ | |
3533 _ACEOF | |
3534 cat confdefs.h >>conftest.$ac_ext | |
3535 cat >>conftest.$ac_ext <<_ACEOF | |
3734 /* end confdefs.h. */ | 3536 /* end confdefs.h. */ |
3735 #ifdef __STDC__ | 3537 #ifdef __STDC__ |
3736 # include <limits.h> | 3538 # include <limits.h> |
3737 #else | 3539 #else |
3738 # include <assert.h> | 3540 # include <assert.h> |
3739 #endif | 3541 #endif |
3740 Syntax error | 3542 Syntax error |
3741 _ACEOF | 3543 _ACEOF |
3742 if ac_fn_c_try_cpp "$LINENO"; then : | 3544 if { (ac_try="$ac_cpp conftest.$ac_ext" |
3743 | 3545 case "(($ac_try" in |
3744 else | 3546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3547 *) ac_try_echo=$ac_try;; | |
3548 esac | |
3549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
3550 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
3551 ac_status=$? | |
3552 grep -v '^ *+' conftest.er1 >conftest.err | |
3553 rm -f conftest.er1 | |
3554 cat conftest.err >&5 | |
3555 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3556 (exit $ac_status); } >/dev/null && { | |
3557 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
3558 test ! -s conftest.err | |
3559 }; then | |
3560 : | |
3561 else | |
3562 echo "$as_me: failed program was:" >&5 | |
3563 sed 's/^/| /' conftest.$ac_ext >&5 | |
3564 | |
3745 # Broken: fails on valid input. | 3565 # Broken: fails on valid input. |
3746 continue | 3566 continue |
3747 fi | 3567 fi |
3748 rm -f conftest.err conftest.i conftest.$ac_ext | 3568 |
3569 rm -f conftest.err conftest.$ac_ext | |
3749 | 3570 |
3750 # OK, works on sane cases. Now check whether nonexistent headers | 3571 # OK, works on sane cases. Now check whether nonexistent headers |
3751 # can be detected and how. | 3572 # can be detected and how. |
3752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 3573 cat >conftest.$ac_ext <<_ACEOF |
3574 /* confdefs.h. */ | |
3575 _ACEOF | |
3576 cat confdefs.h >>conftest.$ac_ext | |
3577 cat >>conftest.$ac_ext <<_ACEOF | |
3753 /* end confdefs.h. */ | 3578 /* end confdefs.h. */ |
3754 #include <ac_nonexistent.h> | 3579 #include <ac_nonexistent.h> |
3755 _ACEOF | 3580 _ACEOF |
3756 if ac_fn_c_try_cpp "$LINENO"; then : | 3581 if { (ac_try="$ac_cpp conftest.$ac_ext" |
3582 case "(($ac_try" in | |
3583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3584 *) ac_try_echo=$ac_try;; | |
3585 esac | |
3586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
3587 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
3588 ac_status=$? | |
3589 grep -v '^ *+' conftest.er1 >conftest.err | |
3590 rm -f conftest.er1 | |
3591 cat conftest.err >&5 | |
3592 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3593 (exit $ac_status); } >/dev/null && { | |
3594 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
3595 test ! -s conftest.err | |
3596 }; then | |
3757 # Broken: success on invalid input. | 3597 # Broken: success on invalid input. |
3758 continue | 3598 continue |
3759 else | 3599 else |
3600 echo "$as_me: failed program was:" >&5 | |
3601 sed 's/^/| /' conftest.$ac_ext >&5 | |
3602 | |
3760 # Passes both tests. | 3603 # Passes both tests. |
3761 ac_preproc_ok=: | 3604 ac_preproc_ok=: |
3762 break | 3605 break |
3763 fi | 3606 fi |
3764 rm -f conftest.err conftest.i conftest.$ac_ext | 3607 |
3608 rm -f conftest.err conftest.$ac_ext | |
3765 | 3609 |
3766 done | 3610 done |
3767 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 3611 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
3768 rm -f conftest.i conftest.err conftest.$ac_ext | 3612 rm -f conftest.err conftest.$ac_ext |
3769 if $ac_preproc_ok; then : | 3613 if $ac_preproc_ok; then |
3770 break | 3614 break |
3771 fi | 3615 fi |
3772 | 3616 |
3773 done | 3617 done |
3774 ac_cv_prog_CPP=$CPP | 3618 ac_cv_prog_CPP=$CPP |
3776 fi | 3620 fi |
3777 CPP=$ac_cv_prog_CPP | 3621 CPP=$ac_cv_prog_CPP |
3778 else | 3622 else |
3779 ac_cv_prog_CPP=$CPP | 3623 ac_cv_prog_CPP=$CPP |
3780 fi | 3624 fi |
3781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 | 3625 { echo "$as_me:$LINENO: result: $CPP" >&5 |
3782 $as_echo "$CPP" >&6; } | 3626 echo "${ECHO_T}$CPP" >&6; } |
3783 ac_preproc_ok=false | 3627 ac_preproc_ok=false |
3784 for ac_c_preproc_warn_flag in '' yes | 3628 for ac_c_preproc_warn_flag in '' yes |
3785 do | 3629 do |
3786 # Use a header file that comes with gcc, so configuring glibc | 3630 # Use a header file that comes with gcc, so configuring glibc |
3787 # with a fresh cross-compiler works. | 3631 # with a fresh cross-compiler works. |
3788 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 3632 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
3789 # <limits.h> exists even on freestanding compilers. | 3633 # <limits.h> exists even on freestanding compilers. |
3790 # On the NeXT, cc -E runs the code through the compiler's parser, | 3634 # On the NeXT, cc -E runs the code through the compiler's parser, |
3791 # not just through cpp. "Syntax error" is here to catch this case. | 3635 # not just through cpp. "Syntax error" is here to catch this case. |
3792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 3636 cat >conftest.$ac_ext <<_ACEOF |
3637 /* confdefs.h. */ | |
3638 _ACEOF | |
3639 cat confdefs.h >>conftest.$ac_ext | |
3640 cat >>conftest.$ac_ext <<_ACEOF | |
3793 /* end confdefs.h. */ | 3641 /* end confdefs.h. */ |
3794 #ifdef __STDC__ | 3642 #ifdef __STDC__ |
3795 # include <limits.h> | 3643 # include <limits.h> |
3796 #else | 3644 #else |
3797 # include <assert.h> | 3645 # include <assert.h> |
3798 #endif | 3646 #endif |
3799 Syntax error | 3647 Syntax error |
3800 _ACEOF | 3648 _ACEOF |
3801 if ac_fn_c_try_cpp "$LINENO"; then : | 3649 if { (ac_try="$ac_cpp conftest.$ac_ext" |
3802 | 3650 case "(($ac_try" in |
3803 else | 3651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3652 *) ac_try_echo=$ac_try;; | |
3653 esac | |
3654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
3655 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
3656 ac_status=$? | |
3657 grep -v '^ *+' conftest.er1 >conftest.err | |
3658 rm -f conftest.er1 | |
3659 cat conftest.err >&5 | |
3660 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3661 (exit $ac_status); } >/dev/null && { | |
3662 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
3663 test ! -s conftest.err | |
3664 }; then | |
3665 : | |
3666 else | |
3667 echo "$as_me: failed program was:" >&5 | |
3668 sed 's/^/| /' conftest.$ac_ext >&5 | |
3669 | |
3804 # Broken: fails on valid input. | 3670 # Broken: fails on valid input. |
3805 continue | 3671 continue |
3806 fi | 3672 fi |
3807 rm -f conftest.err conftest.i conftest.$ac_ext | 3673 |
3674 rm -f conftest.err conftest.$ac_ext | |
3808 | 3675 |
3809 # OK, works on sane cases. Now check whether nonexistent headers | 3676 # OK, works on sane cases. Now check whether nonexistent headers |
3810 # can be detected and how. | 3677 # can be detected and how. |
3811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 3678 cat >conftest.$ac_ext <<_ACEOF |
3679 /* confdefs.h. */ | |
3680 _ACEOF | |
3681 cat confdefs.h >>conftest.$ac_ext | |
3682 cat >>conftest.$ac_ext <<_ACEOF | |
3812 /* end confdefs.h. */ | 3683 /* end confdefs.h. */ |
3813 #include <ac_nonexistent.h> | 3684 #include <ac_nonexistent.h> |
3814 _ACEOF | 3685 _ACEOF |
3815 if ac_fn_c_try_cpp "$LINENO"; then : | 3686 if { (ac_try="$ac_cpp conftest.$ac_ext" |
3687 case "(($ac_try" in | |
3688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3689 *) ac_try_echo=$ac_try;; | |
3690 esac | |
3691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
3692 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
3693 ac_status=$? | |
3694 grep -v '^ *+' conftest.er1 >conftest.err | |
3695 rm -f conftest.er1 | |
3696 cat conftest.err >&5 | |
3697 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3698 (exit $ac_status); } >/dev/null && { | |
3699 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
3700 test ! -s conftest.err | |
3701 }; then | |
3816 # Broken: success on invalid input. | 3702 # Broken: success on invalid input. |
3817 continue | 3703 continue |
3818 else | 3704 else |
3705 echo "$as_me: failed program was:" >&5 | |
3706 sed 's/^/| /' conftest.$ac_ext >&5 | |
3707 | |
3819 # Passes both tests. | 3708 # Passes both tests. |
3820 ac_preproc_ok=: | 3709 ac_preproc_ok=: |
3821 break | 3710 break |
3822 fi | 3711 fi |
3823 rm -f conftest.err conftest.i conftest.$ac_ext | 3712 |
3713 rm -f conftest.err conftest.$ac_ext | |
3824 | 3714 |
3825 done | 3715 done |
3826 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 3716 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
3827 rm -f conftest.i conftest.err conftest.$ac_ext | 3717 rm -f conftest.err conftest.$ac_ext |
3828 if $ac_preproc_ok; then : | 3718 if $ac_preproc_ok; then |
3829 | 3719 : |
3830 else | 3720 else |
3831 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 3721 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check |
3832 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 3722 See \`config.log' for more details." >&5 |
3833 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check | 3723 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check |
3834 See \`config.log' for more details" "$LINENO" 5; } | 3724 See \`config.log' for more details." >&2;} |
3725 { (exit 1); exit 1; }; } | |
3835 fi | 3726 fi |
3836 | 3727 |
3837 ac_ext=c | 3728 ac_ext=c |
3838 ac_cpp='$CPP $CPPFLAGS' | 3729 ac_cpp='$CPP $CPPFLAGS' |
3839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 3730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 3731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3841 ac_compiler_gnu=$ac_cv_c_compiler_gnu | 3732 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3842 | 3733 |
3843 | 3734 |
3844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 | 3735 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 |
3845 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } | 3736 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } |
3846 if ${ac_cv_path_GREP+:} false; then : | 3737 if test "${ac_cv_path_GREP+set}" = set; then |
3847 $as_echo_n "(cached) " >&6 | 3738 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3848 else | 3739 else |
3849 if test -z "$GREP"; then | 3740 # Extract the first word of "grep ggrep" to use in msg output |
3741 if test -z "$GREP"; then | |
3742 set dummy grep ggrep; ac_prog_name=$2 | |
3743 if test "${ac_cv_path_GREP+set}" = set; then | |
3744 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
3745 else | |
3850 ac_path_GREP_found=false | 3746 ac_path_GREP_found=false |
3851 # Loop through the user's path and test for each of PROGNAME-LIST | 3747 # Loop through the user's path and test for each of PROGNAME-LIST |
3852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 3748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3853 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | 3749 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
3854 do | 3750 do |
3855 IFS=$as_save_IFS | 3751 IFS=$as_save_IFS |
3856 test -z "$as_dir" && as_dir=. | 3752 test -z "$as_dir" && as_dir=. |
3857 for ac_prog in grep ggrep; do | 3753 for ac_prog in grep ggrep; do |
3858 for ac_exec_ext in '' $ac_executable_extensions; do | 3754 for ac_exec_ext in '' $ac_executable_extensions; do |
3859 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" | 3755 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
3860 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue | 3756 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue |
3861 # Check for GNU ac_path_GREP and select it if it is found. | 3757 # Check for GNU ac_path_GREP and select it if it is found. |
3862 # Check for GNU $ac_path_GREP | 3758 # Check for GNU $ac_path_GREP |
3863 case `"$ac_path_GREP" --version 2>&1` in | 3759 case `"$ac_path_GREP" --version 2>&1` in |
3864 *GNU*) | 3760 *GNU*) |
3865 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; | 3761 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; |
3866 *) | 3762 *) |
3867 ac_count=0 | 3763 ac_count=0 |
3868 $as_echo_n 0123456789 >"conftest.in" | 3764 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" |
3869 while : | 3765 while : |
3870 do | 3766 do |
3871 cat "conftest.in" "conftest.in" >"conftest.tmp" | 3767 cat "conftest.in" "conftest.in" >"conftest.tmp" |
3872 mv "conftest.tmp" "conftest.in" | 3768 mv "conftest.tmp" "conftest.in" |
3873 cp "conftest.in" "conftest.nl" | 3769 cp "conftest.in" "conftest.nl" |
3874 $as_echo 'GREP' >> "conftest.nl" | 3770 echo 'GREP' >> "conftest.nl" |
3875 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break | 3771 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
3876 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break | 3772 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
3877 as_fn_arith $ac_count + 1 && ac_count=$as_val | 3773 ac_count=`expr $ac_count + 1` |
3878 if test $ac_count -gt ${ac_path_GREP_max-0}; then | 3774 if test $ac_count -gt ${ac_path_GREP_max-0}; then |
3879 # Best one so far, save it but keep looking for a better one | 3775 # Best one so far, save it but keep looking for a better one |
3880 ac_cv_path_GREP="$ac_path_GREP" | 3776 ac_cv_path_GREP="$ac_path_GREP" |
3881 ac_path_GREP_max=$ac_count | 3777 ac_path_GREP_max=$ac_count |
3882 fi | 3778 fi |
3884 test $ac_count -gt 10 && break | 3780 test $ac_count -gt 10 && break |
3885 done | 3781 done |
3886 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; | 3782 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
3887 esac | 3783 esac |
3888 | 3784 |
3889 $ac_path_GREP_found && break 3 | 3785 |
3890 done | 3786 $ac_path_GREP_found && break 3 |
3891 done | 3787 done |
3892 done | 3788 done |
3789 | |
3790 done | |
3893 IFS=$as_save_IFS | 3791 IFS=$as_save_IFS |
3894 if test -z "$ac_cv_path_GREP"; then | 3792 |
3895 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 | 3793 |
3896 fi | 3794 fi |
3795 | |
3796 GREP="$ac_cv_path_GREP" | |
3797 if test -z "$GREP"; then | |
3798 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 | |
3799 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} | |
3800 { (exit 1); exit 1; }; } | |
3801 fi | |
3802 | |
3897 else | 3803 else |
3898 ac_cv_path_GREP=$GREP | 3804 ac_cv_path_GREP=$GREP |
3899 fi | 3805 fi |
3900 | 3806 |
3901 fi | 3807 |
3902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 | 3808 fi |
3903 $as_echo "$ac_cv_path_GREP" >&6; } | 3809 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 |
3810 echo "${ECHO_T}$ac_cv_path_GREP" >&6; } | |
3904 GREP="$ac_cv_path_GREP" | 3811 GREP="$ac_cv_path_GREP" |
3905 | 3812 |
3906 | 3813 |
3907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 | 3814 { echo "$as_me:$LINENO: checking for egrep" >&5 |
3908 $as_echo_n "checking for egrep... " >&6; } | 3815 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; } |
3909 if ${ac_cv_path_EGREP+:} false; then : | 3816 if test "${ac_cv_path_EGREP+set}" = set; then |
3910 $as_echo_n "(cached) " >&6 | 3817 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3911 else | 3818 else |
3912 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 | 3819 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
3913 then ac_cv_path_EGREP="$GREP -E" | 3820 then ac_cv_path_EGREP="$GREP -E" |
3914 else | 3821 else |
3915 if test -z "$EGREP"; then | 3822 # Extract the first word of "egrep" to use in msg output |
3823 if test -z "$EGREP"; then | |
3824 set dummy egrep; ac_prog_name=$2 | |
3825 if test "${ac_cv_path_EGREP+set}" = set; then | |
3826 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
3827 else | |
3916 ac_path_EGREP_found=false | 3828 ac_path_EGREP_found=false |
3917 # Loop through the user's path and test for each of PROGNAME-LIST | 3829 # Loop through the user's path and test for each of PROGNAME-LIST |
3918 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 3830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3919 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | 3831 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
3920 do | 3832 do |
3921 IFS=$as_save_IFS | 3833 IFS=$as_save_IFS |
3922 test -z "$as_dir" && as_dir=. | 3834 test -z "$as_dir" && as_dir=. |
3923 for ac_prog in egrep; do | 3835 for ac_prog in egrep; do |
3924 for ac_exec_ext in '' $ac_executable_extensions; do | 3836 for ac_exec_ext in '' $ac_executable_extensions; do |
3925 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" | 3837 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
3926 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue | 3838 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue |
3927 # Check for GNU ac_path_EGREP and select it if it is found. | 3839 # Check for GNU ac_path_EGREP and select it if it is found. |
3928 # Check for GNU $ac_path_EGREP | 3840 # Check for GNU $ac_path_EGREP |
3929 case `"$ac_path_EGREP" --version 2>&1` in | 3841 case `"$ac_path_EGREP" --version 2>&1` in |
3930 *GNU*) | 3842 *GNU*) |
3931 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; | 3843 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; |
3932 *) | 3844 *) |
3933 ac_count=0 | 3845 ac_count=0 |
3934 $as_echo_n 0123456789 >"conftest.in" | 3846 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" |
3935 while : | 3847 while : |
3936 do | 3848 do |
3937 cat "conftest.in" "conftest.in" >"conftest.tmp" | 3849 cat "conftest.in" "conftest.in" >"conftest.tmp" |
3938 mv "conftest.tmp" "conftest.in" | 3850 mv "conftest.tmp" "conftest.in" |
3939 cp "conftest.in" "conftest.nl" | 3851 cp "conftest.in" "conftest.nl" |
3940 $as_echo 'EGREP' >> "conftest.nl" | 3852 echo 'EGREP' >> "conftest.nl" |
3941 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break | 3853 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
3942 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break | 3854 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
3943 as_fn_arith $ac_count + 1 && ac_count=$as_val | 3855 ac_count=`expr $ac_count + 1` |
3944 if test $ac_count -gt ${ac_path_EGREP_max-0}; then | 3856 if test $ac_count -gt ${ac_path_EGREP_max-0}; then |
3945 # Best one so far, save it but keep looking for a better one | 3857 # Best one so far, save it but keep looking for a better one |
3946 ac_cv_path_EGREP="$ac_path_EGREP" | 3858 ac_cv_path_EGREP="$ac_path_EGREP" |
3947 ac_path_EGREP_max=$ac_count | 3859 ac_path_EGREP_max=$ac_count |
3948 fi | 3860 fi |
3950 test $ac_count -gt 10 && break | 3862 test $ac_count -gt 10 && break |
3951 done | 3863 done |
3952 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; | 3864 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
3953 esac | 3865 esac |
3954 | 3866 |
3955 $ac_path_EGREP_found && break 3 | 3867 |
3956 done | 3868 $ac_path_EGREP_found && break 3 |
3957 done | 3869 done |
3958 done | 3870 done |
3871 | |
3872 done | |
3959 IFS=$as_save_IFS | 3873 IFS=$as_save_IFS |
3960 if test -z "$ac_cv_path_EGREP"; then | 3874 |
3961 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 | 3875 |
3962 fi | 3876 fi |
3877 | |
3878 EGREP="$ac_cv_path_EGREP" | |
3879 if test -z "$EGREP"; then | |
3880 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 | |
3881 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} | |
3882 { (exit 1); exit 1; }; } | |
3883 fi | |
3884 | |
3963 else | 3885 else |
3964 ac_cv_path_EGREP=$EGREP | 3886 ac_cv_path_EGREP=$EGREP |
3965 fi | 3887 fi |
3966 | 3888 |
3889 | |
3967 fi | 3890 fi |
3968 fi | 3891 fi |
3969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 | 3892 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 |
3970 $as_echo "$ac_cv_path_EGREP" >&6; } | 3893 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; } |
3971 EGREP="$ac_cv_path_EGREP" | 3894 EGREP="$ac_cv_path_EGREP" |
3972 | 3895 |
3973 | 3896 |
3974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 | 3897 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
3975 $as_echo_n "checking for ANSI C header files... " >&6; } | 3898 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } |
3976 if ${ac_cv_header_stdc+:} false; then : | 3899 if test "${ac_cv_header_stdc+set}" = set; then |
3977 $as_echo_n "(cached) " >&6 | 3900 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3978 else | 3901 else |
3979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 3902 cat >conftest.$ac_ext <<_ACEOF |
3903 /* confdefs.h. */ | |
3904 _ACEOF | |
3905 cat confdefs.h >>conftest.$ac_ext | |
3906 cat >>conftest.$ac_ext <<_ACEOF | |
3980 /* end confdefs.h. */ | 3907 /* end confdefs.h. */ |
3981 #include <stdlib.h> | 3908 #include <stdlib.h> |
3982 #include <stdarg.h> | 3909 #include <stdarg.h> |
3983 #include <string.h> | 3910 #include <string.h> |
3984 #include <float.h> | 3911 #include <float.h> |
3989 | 3916 |
3990 ; | 3917 ; |
3991 return 0; | 3918 return 0; |
3992 } | 3919 } |
3993 _ACEOF | 3920 _ACEOF |
3994 if ac_fn_c_try_compile "$LINENO"; then : | 3921 rm -f conftest.$ac_objext |
3922 if { (ac_try="$ac_compile" | |
3923 case "(($ac_try" in | |
3924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3925 *) ac_try_echo=$ac_try;; | |
3926 esac | |
3927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
3928 (eval "$ac_compile") 2>conftest.er1 | |
3929 ac_status=$? | |
3930 grep -v '^ *+' conftest.er1 >conftest.err | |
3931 rm -f conftest.er1 | |
3932 cat conftest.err >&5 | |
3933 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3934 (exit $ac_status); } && { | |
3935 test -z "$ac_c_werror_flag" || | |
3936 test ! -s conftest.err | |
3937 } && test -s conftest.$ac_objext; then | |
3995 ac_cv_header_stdc=yes | 3938 ac_cv_header_stdc=yes |
3996 else | 3939 else |
3997 ac_cv_header_stdc=no | 3940 echo "$as_me: failed program was:" >&5 |
3998 fi | 3941 sed 's/^/| /' conftest.$ac_ext >&5 |
3942 | |
3943 ac_cv_header_stdc=no | |
3944 fi | |
3945 | |
3999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 3946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
4000 | 3947 |
4001 if test $ac_cv_header_stdc = yes; then | 3948 if test $ac_cv_header_stdc = yes; then |
4002 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 3949 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
4003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 3950 cat >conftest.$ac_ext <<_ACEOF |
3951 /* confdefs.h. */ | |
3952 _ACEOF | |
3953 cat confdefs.h >>conftest.$ac_ext | |
3954 cat >>conftest.$ac_ext <<_ACEOF | |
4004 /* end confdefs.h. */ | 3955 /* end confdefs.h. */ |
4005 #include <string.h> | 3956 #include <string.h> |
4006 | 3957 |
4007 _ACEOF | 3958 _ACEOF |
4008 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3959 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
4009 $EGREP "memchr" >/dev/null 2>&1; then : | 3960 $EGREP "memchr" >/dev/null 2>&1; then |
4010 | 3961 : |
4011 else | 3962 else |
4012 ac_cv_header_stdc=no | 3963 ac_cv_header_stdc=no |
4013 fi | 3964 fi |
4014 rm -f conftest* | 3965 rm -f -r conftest* |
4015 | 3966 |
4016 fi | 3967 fi |
4017 | 3968 |
4018 if test $ac_cv_header_stdc = yes; then | 3969 if test $ac_cv_header_stdc = yes; then |
4019 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 3970 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
4020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 3971 cat >conftest.$ac_ext <<_ACEOF |
3972 /* confdefs.h. */ | |
3973 _ACEOF | |
3974 cat confdefs.h >>conftest.$ac_ext | |
3975 cat >>conftest.$ac_ext <<_ACEOF | |
4021 /* end confdefs.h. */ | 3976 /* end confdefs.h. */ |
4022 #include <stdlib.h> | 3977 #include <stdlib.h> |
4023 | 3978 |
4024 _ACEOF | 3979 _ACEOF |
4025 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3980 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
4026 $EGREP "free" >/dev/null 2>&1; then : | 3981 $EGREP "free" >/dev/null 2>&1; then |
4027 | 3982 : |
4028 else | 3983 else |
4029 ac_cv_header_stdc=no | 3984 ac_cv_header_stdc=no |
4030 fi | 3985 fi |
4031 rm -f conftest* | 3986 rm -f -r conftest* |
4032 | 3987 |
4033 fi | 3988 fi |
4034 | 3989 |
4035 if test $ac_cv_header_stdc = yes; then | 3990 if test $ac_cv_header_stdc = yes; then |
4036 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 3991 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
4037 if test "$cross_compiling" = yes; then : | 3992 if test "$cross_compiling" = yes; then |
4038 : | 3993 : |
4039 else | 3994 else |
4040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 3995 cat >conftest.$ac_ext <<_ACEOF |
3996 /* confdefs.h. */ | |
3997 _ACEOF | |
3998 cat confdefs.h >>conftest.$ac_ext | |
3999 cat >>conftest.$ac_ext <<_ACEOF | |
4041 /* end confdefs.h. */ | 4000 /* end confdefs.h. */ |
4042 #include <ctype.h> | 4001 #include <ctype.h> |
4043 #include <stdlib.h> | 4002 #include <stdlib.h> |
4044 #if ((' ' & 0x0FF) == 0x020) | 4003 #if ((' ' & 0x0FF) == 0x020) |
4045 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 4004 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
4062 || toupper (i) != TOUPPER (i)) | 4021 || toupper (i) != TOUPPER (i)) |
4063 return 2; | 4022 return 2; |
4064 return 0; | 4023 return 0; |
4065 } | 4024 } |
4066 _ACEOF | 4025 _ACEOF |
4067 if ac_fn_c_try_run "$LINENO"; then : | 4026 rm -f conftest$ac_exeext |
4068 | 4027 if { (ac_try="$ac_link" |
4069 else | 4028 case "(($ac_try" in |
4070 ac_cv_header_stdc=no | 4029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
4071 fi | 4030 *) ac_try_echo=$ac_try;; |
4072 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | 4031 esac |
4073 conftest.$ac_objext conftest.beam conftest.$ac_ext | 4032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
4074 fi | 4033 (eval "$ac_link") 2>&5 |
4075 | 4034 ac_status=$? |
4076 fi | 4035 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4077 fi | 4036 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
4078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 | 4037 { (case "(($ac_try" in |
4079 $as_echo "$ac_cv_header_stdc" >&6; } | 4038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
4039 *) ac_try_echo=$ac_try;; | |
4040 esac | |
4041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
4042 (eval "$ac_try") 2>&5 | |
4043 ac_status=$? | |
4044 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4045 (exit $ac_status); }; }; then | |
4046 : | |
4047 else | |
4048 echo "$as_me: program exited with status $ac_status" >&5 | |
4049 echo "$as_me: failed program was:" >&5 | |
4050 sed 's/^/| /' conftest.$ac_ext >&5 | |
4051 | |
4052 ( exit $ac_status ) | |
4053 ac_cv_header_stdc=no | |
4054 fi | |
4055 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | |
4056 fi | |
4057 | |
4058 | |
4059 fi | |
4060 fi | |
4061 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 | |
4062 echo "${ECHO_T}$ac_cv_header_stdc" >&6; } | |
4080 if test $ac_cv_header_stdc = yes; then | 4063 if test $ac_cv_header_stdc = yes; then |
4081 | 4064 |
4082 $as_echo "#define STDC_HEADERS 1" >>confdefs.h | 4065 cat >>confdefs.h <<\_ACEOF |
4083 | 4066 #define STDC_HEADERS 1 |
4084 fi | 4067 _ACEOF |
4068 | |
4069 fi | |
4070 | |
4071 | |
4072 | |
4073 | |
4074 | |
4085 | 4075 |
4086 ac_header_dirent=no | 4076 ac_header_dirent=no |
4087 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do | 4077 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do |
4088 as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` | 4078 as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` |
4089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5 | 4079 { echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5 |
4090 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; } | 4080 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; } |
4091 if eval \${$as_ac_Header+:} false; then : | 4081 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
4092 $as_echo_n "(cached) " >&6 | 4082 echo $ECHO_N "(cached) $ECHO_C" >&6 |
4093 else | 4083 else |
4094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 4084 cat >conftest.$ac_ext <<_ACEOF |
4085 /* confdefs.h. */ | |
4086 _ACEOF | |
4087 cat confdefs.h >>conftest.$ac_ext | |
4088 cat >>conftest.$ac_ext <<_ACEOF | |
4095 /* end confdefs.h. */ | 4089 /* end confdefs.h. */ |
4096 #include <sys/types.h> | 4090 #include <sys/types.h> |
4097 #include <$ac_hdr> | 4091 #include <$ac_hdr> |
4098 | 4092 |
4099 int | 4093 int |
4103 return 0; | 4097 return 0; |
4104 ; | 4098 ; |
4105 return 0; | 4099 return 0; |
4106 } | 4100 } |
4107 _ACEOF | 4101 _ACEOF |
4108 if ac_fn_c_try_compile "$LINENO"; then : | 4102 rm -f conftest.$ac_objext |
4103 if { (ac_try="$ac_compile" | |
4104 case "(($ac_try" in | |
4105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4106 *) ac_try_echo=$ac_try;; | |
4107 esac | |
4108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
4109 (eval "$ac_compile") 2>conftest.er1 | |
4110 ac_status=$? | |
4111 grep -v '^ *+' conftest.er1 >conftest.err | |
4112 rm -f conftest.er1 | |
4113 cat conftest.err >&5 | |
4114 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4115 (exit $ac_status); } && { | |
4116 test -z "$ac_c_werror_flag" || | |
4117 test ! -s conftest.err | |
4118 } && test -s conftest.$ac_objext; then | |
4109 eval "$as_ac_Header=yes" | 4119 eval "$as_ac_Header=yes" |
4110 else | 4120 else |
4111 eval "$as_ac_Header=no" | 4121 echo "$as_me: failed program was:" >&5 |
4112 fi | 4122 sed 's/^/| /' conftest.$ac_ext >&5 |
4123 | |
4124 eval "$as_ac_Header=no" | |
4125 fi | |
4126 | |
4113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 4127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
4114 fi | 4128 fi |
4115 eval ac_res=\$$as_ac_Header | 4129 ac_res=`eval echo '${'$as_ac_Header'}'` |
4116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | 4130 { echo "$as_me:$LINENO: result: $ac_res" >&5 |
4117 $as_echo "$ac_res" >&6; } | 4131 echo "${ECHO_T}$ac_res" >&6; } |
4118 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | 4132 if test `eval echo '${'$as_ac_Header'}'` = yes; then |
4119 cat >>confdefs.h <<_ACEOF | 4133 cat >>confdefs.h <<_ACEOF |
4120 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1 | 4134 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1 |
4121 _ACEOF | 4135 _ACEOF |
4122 | 4136 |
4123 ac_header_dirent=$ac_hdr; break | 4137 ac_header_dirent=$ac_hdr; break |
4124 fi | 4138 fi |
4125 | 4139 |
4126 done | 4140 done |
4127 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. | 4141 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. |
4128 if test $ac_header_dirent = dirent.h; then | 4142 if test $ac_header_dirent = dirent.h; then |
4129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5 | 4143 { echo "$as_me:$LINENO: checking for library containing opendir" >&5 |
4130 $as_echo_n "checking for library containing opendir... " >&6; } | 4144 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; } |
4131 if ${ac_cv_search_opendir+:} false; then : | 4145 if test "${ac_cv_search_opendir+set}" = set; then |
4132 $as_echo_n "(cached) " >&6 | 4146 echo $ECHO_N "(cached) $ECHO_C" >&6 |
4133 else | 4147 else |
4134 ac_func_search_save_LIBS=$LIBS | 4148 ac_func_search_save_LIBS=$LIBS |
4135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 4149 cat >conftest.$ac_ext <<_ACEOF |
4150 /* confdefs.h. */ | |
4151 _ACEOF | |
4152 cat confdefs.h >>conftest.$ac_ext | |
4153 cat >>conftest.$ac_ext <<_ACEOF | |
4136 /* end confdefs.h. */ | 4154 /* end confdefs.h. */ |
4137 | 4155 |
4138 /* Override any GCC internal prototype to avoid an error. | 4156 /* Override any GCC internal prototype to avoid an error. |
4139 Use char because int might match the return type of a GCC | 4157 Use char because int might match the return type of a GCC |
4140 builtin and then its argument prototype would still apply. */ | 4158 builtin and then its argument prototype would still apply. */ |
4155 ac_res="none required" | 4173 ac_res="none required" |
4156 else | 4174 else |
4157 ac_res=-l$ac_lib | 4175 ac_res=-l$ac_lib |
4158 LIBS="-l$ac_lib $ac_func_search_save_LIBS" | 4176 LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
4159 fi | 4177 fi |
4160 if ac_fn_c_try_link "$LINENO"; then : | 4178 rm -f conftest.$ac_objext conftest$ac_exeext |
4179 if { (ac_try="$ac_link" | |
4180 case "(($ac_try" in | |
4181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4182 *) ac_try_echo=$ac_try;; | |
4183 esac | |
4184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
4185 (eval "$ac_link") 2>conftest.er1 | |
4186 ac_status=$? | |
4187 grep -v '^ *+' conftest.er1 >conftest.err | |
4188 rm -f conftest.er1 | |
4189 cat conftest.err >&5 | |
4190 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4191 (exit $ac_status); } && { | |
4192 test -z "$ac_c_werror_flag" || | |
4193 test ! -s conftest.err | |
4194 } && test -s conftest$ac_exeext && | |
4195 $as_test_x conftest$ac_exeext; then | |
4161 ac_cv_search_opendir=$ac_res | 4196 ac_cv_search_opendir=$ac_res |
4162 fi | 4197 else |
4163 rm -f core conftest.err conftest.$ac_objext \ | 4198 echo "$as_me: failed program was:" >&5 |
4164 conftest$ac_exeext | 4199 sed 's/^/| /' conftest.$ac_ext >&5 |
4165 if ${ac_cv_search_opendir+:} false; then : | 4200 |
4201 | |
4202 fi | |
4203 | |
4204 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
4205 conftest$ac_exeext | |
4206 if test "${ac_cv_search_opendir+set}" = set; then | |
4166 break | 4207 break |
4167 fi | 4208 fi |
4168 done | 4209 done |
4169 if ${ac_cv_search_opendir+:} false; then : | 4210 if test "${ac_cv_search_opendir+set}" = set; then |
4170 | 4211 : |
4171 else | 4212 else |
4172 ac_cv_search_opendir=no | 4213 ac_cv_search_opendir=no |
4173 fi | 4214 fi |
4174 rm conftest.$ac_ext | 4215 rm conftest.$ac_ext |
4175 LIBS=$ac_func_search_save_LIBS | 4216 LIBS=$ac_func_search_save_LIBS |
4176 fi | 4217 fi |
4177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5 | 4218 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 |
4178 $as_echo "$ac_cv_search_opendir" >&6; } | 4219 echo "${ECHO_T}$ac_cv_search_opendir" >&6; } |
4179 ac_res=$ac_cv_search_opendir | 4220 ac_res=$ac_cv_search_opendir |
4180 if test "$ac_res" != no; then : | 4221 if test "$ac_res" != no; then |
4181 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" | 4222 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
4182 | 4223 |
4183 fi | 4224 fi |
4184 | 4225 |
4185 else | 4226 else |
4186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5 | 4227 { echo "$as_me:$LINENO: checking for library containing opendir" >&5 |
4187 $as_echo_n "checking for library containing opendir... " >&6; } | 4228 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; } |
4188 if ${ac_cv_search_opendir+:} false; then : | 4229 if test "${ac_cv_search_opendir+set}" = set; then |
4189 $as_echo_n "(cached) " >&6 | 4230 echo $ECHO_N "(cached) $ECHO_C" >&6 |
4190 else | 4231 else |
4191 ac_func_search_save_LIBS=$LIBS | 4232 ac_func_search_save_LIBS=$LIBS |
4192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 4233 cat >conftest.$ac_ext <<_ACEOF |
4234 /* confdefs.h. */ | |
4235 _ACEOF | |
4236 cat confdefs.h >>conftest.$ac_ext | |
4237 cat >>conftest.$ac_ext <<_ACEOF | |
4193 /* end confdefs.h. */ | 4238 /* end confdefs.h. */ |
4194 | 4239 |
4195 /* Override any GCC internal prototype to avoid an error. | 4240 /* Override any GCC internal prototype to avoid an error. |
4196 Use char because int might match the return type of a GCC | 4241 Use char because int might match the return type of a GCC |
4197 builtin and then its argument prototype would still apply. */ | 4242 builtin and then its argument prototype would still apply. */ |
4212 ac_res="none required" | 4257 ac_res="none required" |
4213 else | 4258 else |
4214 ac_res=-l$ac_lib | 4259 ac_res=-l$ac_lib |
4215 LIBS="-l$ac_lib $ac_func_search_save_LIBS" | 4260 LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
4216 fi | 4261 fi |
4217 if ac_fn_c_try_link "$LINENO"; then : | 4262 rm -f conftest.$ac_objext conftest$ac_exeext |
4263 if { (ac_try="$ac_link" | |
4264 case "(($ac_try" in | |
4265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4266 *) ac_try_echo=$ac_try;; | |
4267 esac | |
4268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
4269 (eval "$ac_link") 2>conftest.er1 | |
4270 ac_status=$? | |
4271 grep -v '^ *+' conftest.er1 >conftest.err | |
4272 rm -f conftest.er1 | |
4273 cat conftest.err >&5 | |
4274 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4275 (exit $ac_status); } && { | |
4276 test -z "$ac_c_werror_flag" || | |
4277 test ! -s conftest.err | |
4278 } && test -s conftest$ac_exeext && | |
4279 $as_test_x conftest$ac_exeext; then | |
4218 ac_cv_search_opendir=$ac_res | 4280 ac_cv_search_opendir=$ac_res |
4219 fi | 4281 else |
4220 rm -f core conftest.err conftest.$ac_objext \ | 4282 echo "$as_me: failed program was:" >&5 |
4221 conftest$ac_exeext | 4283 sed 's/^/| /' conftest.$ac_ext >&5 |
4222 if ${ac_cv_search_opendir+:} false; then : | 4284 |
4285 | |
4286 fi | |
4287 | |
4288 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
4289 conftest$ac_exeext | |
4290 if test "${ac_cv_search_opendir+set}" = set; then | |
4223 break | 4291 break |
4224 fi | 4292 fi |
4225 done | 4293 done |
4226 if ${ac_cv_search_opendir+:} false; then : | 4294 if test "${ac_cv_search_opendir+set}" = set; then |
4227 | 4295 : |
4228 else | 4296 else |
4229 ac_cv_search_opendir=no | 4297 ac_cv_search_opendir=no |
4230 fi | 4298 fi |
4231 rm conftest.$ac_ext | 4299 rm conftest.$ac_ext |
4232 LIBS=$ac_func_search_save_LIBS | 4300 LIBS=$ac_func_search_save_LIBS |
4233 fi | 4301 fi |
4234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5 | 4302 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 |
4235 $as_echo "$ac_cv_search_opendir" >&6; } | 4303 echo "${ECHO_T}$ac_cv_search_opendir" >&6; } |
4236 ac_res=$ac_cv_search_opendir | 4304 ac_res=$ac_cv_search_opendir |
4237 if test "$ac_res" != no; then : | 4305 if test "$ac_res" != no; then |
4238 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" | 4306 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
4239 | 4307 |
4240 fi | 4308 fi |
4241 | 4309 |
4242 fi | 4310 fi |
4243 | 4311 |
4244 # On IRIX 5.3, sys/types and inttypes.h are conflicting. | 4312 # On IRIX 5.3, sys/types and inttypes.h are conflicting. |
4313 | |
4314 | |
4315 | |
4316 | |
4317 | |
4318 | |
4319 | |
4320 | |
4321 | |
4245 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ | 4322 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
4246 inttypes.h stdint.h unistd.h | 4323 inttypes.h stdint.h unistd.h |
4247 do : | 4324 do |
4248 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 4325 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
4249 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default | 4326 { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
4250 " | 4327 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
4251 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | 4328 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
4329 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
4330 else | |
4331 cat >conftest.$ac_ext <<_ACEOF | |
4332 /* confdefs.h. */ | |
4333 _ACEOF | |
4334 cat confdefs.h >>conftest.$ac_ext | |
4335 cat >>conftest.$ac_ext <<_ACEOF | |
4336 /* end confdefs.h. */ | |
4337 $ac_includes_default | |
4338 | |
4339 #include <$ac_header> | |
4340 _ACEOF | |
4341 rm -f conftest.$ac_objext | |
4342 if { (ac_try="$ac_compile" | |
4343 case "(($ac_try" in | |
4344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4345 *) ac_try_echo=$ac_try;; | |
4346 esac | |
4347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
4348 (eval "$ac_compile") 2>conftest.er1 | |
4349 ac_status=$? | |
4350 grep -v '^ *+' conftest.er1 >conftest.err | |
4351 rm -f conftest.er1 | |
4352 cat conftest.err >&5 | |
4353 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4354 (exit $ac_status); } && { | |
4355 test -z "$ac_c_werror_flag" || | |
4356 test ! -s conftest.err | |
4357 } && test -s conftest.$ac_objext; then | |
4358 eval "$as_ac_Header=yes" | |
4359 else | |
4360 echo "$as_me: failed program was:" >&5 | |
4361 sed 's/^/| /' conftest.$ac_ext >&5 | |
4362 | |
4363 eval "$as_ac_Header=no" | |
4364 fi | |
4365 | |
4366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
4367 fi | |
4368 ac_res=`eval echo '${'$as_ac_Header'}'` | |
4369 { echo "$as_me:$LINENO: result: $ac_res" >&5 | |
4370 echo "${ECHO_T}$ac_res" >&6; } | |
4371 if test `eval echo '${'$as_ac_Header'}'` = yes; then | |
4252 cat >>confdefs.h <<_ACEOF | 4372 cat >>confdefs.h <<_ACEOF |
4253 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 4373 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
4254 _ACEOF | 4374 _ACEOF |
4255 | 4375 |
4256 fi | 4376 fi |
4257 | 4377 |
4258 done | 4378 done |
4259 | 4379 |
4260 | 4380 |
4381 | |
4261 for ac_header in unistd.h | 4382 for ac_header in unistd.h |
4262 do : | 4383 do |
4263 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default" | 4384 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
4264 if test "x$ac_cv_header_unistd_h" = xyes; then : | 4385 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
4386 { echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
4387 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | |
4388 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
4389 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
4390 fi | |
4391 ac_res=`eval echo '${'$as_ac_Header'}'` | |
4392 { echo "$as_me:$LINENO: result: $ac_res" >&5 | |
4393 echo "${ECHO_T}$ac_res" >&6; } | |
4394 else | |
4395 # Is the header compilable? | |
4396 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 | |
4397 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } | |
4398 cat >conftest.$ac_ext <<_ACEOF | |
4399 /* confdefs.h. */ | |
4400 _ACEOF | |
4401 cat confdefs.h >>conftest.$ac_ext | |
4402 cat >>conftest.$ac_ext <<_ACEOF | |
4403 /* end confdefs.h. */ | |
4404 $ac_includes_default | |
4405 #include <$ac_header> | |
4406 _ACEOF | |
4407 rm -f conftest.$ac_objext | |
4408 if { (ac_try="$ac_compile" | |
4409 case "(($ac_try" in | |
4410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4411 *) ac_try_echo=$ac_try;; | |
4412 esac | |
4413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
4414 (eval "$ac_compile") 2>conftest.er1 | |
4415 ac_status=$? | |
4416 grep -v '^ *+' conftest.er1 >conftest.err | |
4417 rm -f conftest.er1 | |
4418 cat conftest.err >&5 | |
4419 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4420 (exit $ac_status); } && { | |
4421 test -z "$ac_c_werror_flag" || | |
4422 test ! -s conftest.err | |
4423 } && test -s conftest.$ac_objext; then | |
4424 ac_header_compiler=yes | |
4425 else | |
4426 echo "$as_me: failed program was:" >&5 | |
4427 sed 's/^/| /' conftest.$ac_ext >&5 | |
4428 | |
4429 ac_header_compiler=no | |
4430 fi | |
4431 | |
4432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
4433 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
4434 echo "${ECHO_T}$ac_header_compiler" >&6; } | |
4435 | |
4436 # Is the header present? | |
4437 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 | |
4438 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } | |
4439 cat >conftest.$ac_ext <<_ACEOF | |
4440 /* confdefs.h. */ | |
4441 _ACEOF | |
4442 cat confdefs.h >>conftest.$ac_ext | |
4443 cat >>conftest.$ac_ext <<_ACEOF | |
4444 /* end confdefs.h. */ | |
4445 #include <$ac_header> | |
4446 _ACEOF | |
4447 if { (ac_try="$ac_cpp conftest.$ac_ext" | |
4448 case "(($ac_try" in | |
4449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4450 *) ac_try_echo=$ac_try;; | |
4451 esac | |
4452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
4453 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
4454 ac_status=$? | |
4455 grep -v '^ *+' conftest.er1 >conftest.err | |
4456 rm -f conftest.er1 | |
4457 cat conftest.err >&5 | |
4458 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4459 (exit $ac_status); } >/dev/null && { | |
4460 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
4461 test ! -s conftest.err | |
4462 }; then | |
4463 ac_header_preproc=yes | |
4464 else | |
4465 echo "$as_me: failed program was:" >&5 | |
4466 sed 's/^/| /' conftest.$ac_ext >&5 | |
4467 | |
4468 ac_header_preproc=no | |
4469 fi | |
4470 | |
4471 rm -f conftest.err conftest.$ac_ext | |
4472 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
4473 echo "${ECHO_T}$ac_header_preproc" >&6; } | |
4474 | |
4475 # So? What about this header? | |
4476 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | |
4477 yes:no: ) | |
4478 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | |
4479 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
4480 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | |
4481 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | |
4482 ac_header_preproc=yes | |
4483 ;; | |
4484 no:yes:* ) | |
4485 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | |
4486 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | |
4487 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | |
4488 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | |
4489 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | |
4490 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | |
4491 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | |
4492 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | |
4493 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
4494 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | |
4495 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | |
4496 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | |
4497 | |
4498 ;; | |
4499 esac | |
4500 { echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
4501 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | |
4502 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
4503 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
4504 else | |
4505 eval "$as_ac_Header=\$ac_header_preproc" | |
4506 fi | |
4507 ac_res=`eval echo '${'$as_ac_Header'}'` | |
4508 { echo "$as_me:$LINENO: result: $ac_res" >&5 | |
4509 echo "${ECHO_T}$ac_res" >&6; } | |
4510 | |
4511 fi | |
4512 if test `eval echo '${'$as_ac_Header'}'` = yes; then | |
4265 cat >>confdefs.h <<_ACEOF | 4513 cat >>confdefs.h <<_ACEOF |
4266 #define HAVE_UNISTD_H 1 | 4514 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
4267 _ACEOF | 4515 _ACEOF |
4268 | 4516 |
4269 fi | 4517 fi |
4270 | 4518 |
4271 done | 4519 done |
4272 | 4520 |
4521 | |
4273 for ac_header in sys/stat.h | 4522 for ac_header in sys/stat.h |
4274 do : | 4523 do |
4275 ac_fn_c_check_header_mongrel "$LINENO" "sys/stat.h" "ac_cv_header_sys_stat_h" "$ac_includes_default" | 4524 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
4276 if test "x$ac_cv_header_sys_stat_h" = xyes; then : | 4525 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
4526 { echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
4527 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | |
4528 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
4529 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
4530 fi | |
4531 ac_res=`eval echo '${'$as_ac_Header'}'` | |
4532 { echo "$as_me:$LINENO: result: $ac_res" >&5 | |
4533 echo "${ECHO_T}$ac_res" >&6; } | |
4534 else | |
4535 # Is the header compilable? | |
4536 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 | |
4537 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } | |
4538 cat >conftest.$ac_ext <<_ACEOF | |
4539 /* confdefs.h. */ | |
4540 _ACEOF | |
4541 cat confdefs.h >>conftest.$ac_ext | |
4542 cat >>conftest.$ac_ext <<_ACEOF | |
4543 /* end confdefs.h. */ | |
4544 $ac_includes_default | |
4545 #include <$ac_header> | |
4546 _ACEOF | |
4547 rm -f conftest.$ac_objext | |
4548 if { (ac_try="$ac_compile" | |
4549 case "(($ac_try" in | |
4550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4551 *) ac_try_echo=$ac_try;; | |
4552 esac | |
4553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
4554 (eval "$ac_compile") 2>conftest.er1 | |
4555 ac_status=$? | |
4556 grep -v '^ *+' conftest.er1 >conftest.err | |
4557 rm -f conftest.er1 | |
4558 cat conftest.err >&5 | |
4559 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4560 (exit $ac_status); } && { | |
4561 test -z "$ac_c_werror_flag" || | |
4562 test ! -s conftest.err | |
4563 } && test -s conftest.$ac_objext; then | |
4564 ac_header_compiler=yes | |
4565 else | |
4566 echo "$as_me: failed program was:" >&5 | |
4567 sed 's/^/| /' conftest.$ac_ext >&5 | |
4568 | |
4569 ac_header_compiler=no | |
4570 fi | |
4571 | |
4572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
4573 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
4574 echo "${ECHO_T}$ac_header_compiler" >&6; } | |
4575 | |
4576 # Is the header present? | |
4577 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 | |
4578 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } | |
4579 cat >conftest.$ac_ext <<_ACEOF | |
4580 /* confdefs.h. */ | |
4581 _ACEOF | |
4582 cat confdefs.h >>conftest.$ac_ext | |
4583 cat >>conftest.$ac_ext <<_ACEOF | |
4584 /* end confdefs.h. */ | |
4585 #include <$ac_header> | |
4586 _ACEOF | |
4587 if { (ac_try="$ac_cpp conftest.$ac_ext" | |
4588 case "(($ac_try" in | |
4589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4590 *) ac_try_echo=$ac_try;; | |
4591 esac | |
4592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
4593 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
4594 ac_status=$? | |
4595 grep -v '^ *+' conftest.er1 >conftest.err | |
4596 rm -f conftest.er1 | |
4597 cat conftest.err >&5 | |
4598 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4599 (exit $ac_status); } >/dev/null && { | |
4600 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
4601 test ! -s conftest.err | |
4602 }; then | |
4603 ac_header_preproc=yes | |
4604 else | |
4605 echo "$as_me: failed program was:" >&5 | |
4606 sed 's/^/| /' conftest.$ac_ext >&5 | |
4607 | |
4608 ac_header_preproc=no | |
4609 fi | |
4610 | |
4611 rm -f conftest.err conftest.$ac_ext | |
4612 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
4613 echo "${ECHO_T}$ac_header_preproc" >&6; } | |
4614 | |
4615 # So? What about this header? | |
4616 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | |
4617 yes:no: ) | |
4618 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | |
4619 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
4620 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | |
4621 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | |
4622 ac_header_preproc=yes | |
4623 ;; | |
4624 no:yes:* ) | |
4625 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | |
4626 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | |
4627 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | |
4628 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | |
4629 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | |
4630 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | |
4631 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | |
4632 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | |
4633 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
4634 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | |
4635 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | |
4636 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | |
4637 | |
4638 ;; | |
4639 esac | |
4640 { echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
4641 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | |
4642 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
4643 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
4644 else | |
4645 eval "$as_ac_Header=\$ac_header_preproc" | |
4646 fi | |
4647 ac_res=`eval echo '${'$as_ac_Header'}'` | |
4648 { echo "$as_me:$LINENO: result: $ac_res" >&5 | |
4649 echo "${ECHO_T}$ac_res" >&6; } | |
4650 | |
4651 fi | |
4652 if test `eval echo '${'$as_ac_Header'}'` = yes; then | |
4277 cat >>confdefs.h <<_ACEOF | 4653 cat >>confdefs.h <<_ACEOF |
4278 #define HAVE_SYS_STAT_H 1 | 4654 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
4279 _ACEOF | 4655 _ACEOF |
4280 | 4656 |
4281 fi | 4657 fi |
4282 | 4658 |
4283 done | 4659 done |
4284 | 4660 |
4285 | 4661 |
4662 | |
4286 for ac_func in pipe | 4663 for ac_func in pipe |
4287 do : | 4664 do |
4288 ac_fn_c_check_func "$LINENO" "pipe" "ac_cv_func_pipe" | 4665 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
4289 if test "x$ac_cv_func_pipe" = xyes; then : | 4666 { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
4667 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | |
4668 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | |
4669 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
4670 else | |
4671 cat >conftest.$ac_ext <<_ACEOF | |
4672 /* confdefs.h. */ | |
4673 _ACEOF | |
4674 cat confdefs.h >>conftest.$ac_ext | |
4675 cat >>conftest.$ac_ext <<_ACEOF | |
4676 /* end confdefs.h. */ | |
4677 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | |
4678 For example, HP-UX 11i <limits.h> declares gettimeofday. */ | |
4679 #define $ac_func innocuous_$ac_func | |
4680 | |
4681 /* System header to define __stub macros and hopefully few prototypes, | |
4682 which can conflict with char $ac_func (); below. | |
4683 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
4684 <limits.h> exists even on freestanding compilers. */ | |
4685 | |
4686 #ifdef __STDC__ | |
4687 # include <limits.h> | |
4688 #else | |
4689 # include <assert.h> | |
4690 #endif | |
4691 | |
4692 #undef $ac_func | |
4693 | |
4694 /* Override any GCC internal prototype to avoid an error. | |
4695 Use char because int might match the return type of a GCC | |
4696 builtin and then its argument prototype would still apply. */ | |
4697 #ifdef __cplusplus | |
4698 extern "C" | |
4699 #endif | |
4700 char $ac_func (); | |
4701 /* The GNU C library defines this for functions which it implements | |
4702 to always fail with ENOSYS. Some functions are actually named | |
4703 something starting with __ and the normal name is an alias. */ | |
4704 #if defined __stub_$ac_func || defined __stub___$ac_func | |
4705 choke me | |
4706 #endif | |
4707 | |
4708 int | |
4709 main () | |
4710 { | |
4711 return $ac_func (); | |
4712 ; | |
4713 return 0; | |
4714 } | |
4715 _ACEOF | |
4716 rm -f conftest.$ac_objext conftest$ac_exeext | |
4717 if { (ac_try="$ac_link" | |
4718 case "(($ac_try" in | |
4719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4720 *) ac_try_echo=$ac_try;; | |
4721 esac | |
4722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
4723 (eval "$ac_link") 2>conftest.er1 | |
4724 ac_status=$? | |
4725 grep -v '^ *+' conftest.er1 >conftest.err | |
4726 rm -f conftest.er1 | |
4727 cat conftest.err >&5 | |
4728 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4729 (exit $ac_status); } && { | |
4730 test -z "$ac_c_werror_flag" || | |
4731 test ! -s conftest.err | |
4732 } && test -s conftest$ac_exeext && | |
4733 $as_test_x conftest$ac_exeext; then | |
4734 eval "$as_ac_var=yes" | |
4735 else | |
4736 echo "$as_me: failed program was:" >&5 | |
4737 sed 's/^/| /' conftest.$ac_ext >&5 | |
4738 | |
4739 eval "$as_ac_var=no" | |
4740 fi | |
4741 | |
4742 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
4743 conftest$ac_exeext conftest.$ac_ext | |
4744 fi | |
4745 ac_res=`eval echo '${'$as_ac_var'}'` | |
4746 { echo "$as_me:$LINENO: result: $ac_res" >&5 | |
4747 echo "${ECHO_T}$ac_res" >&6; } | |
4748 if test `eval echo '${'$as_ac_var'}'` = yes; then | |
4290 cat >>confdefs.h <<_ACEOF | 4749 cat >>confdefs.h <<_ACEOF |
4750 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | |
4751 _ACEOF | |
4752 | |
4753 cat >>confdefs.h <<\_ACEOF | |
4291 #define HAVE_PIPE 1 | 4754 #define HAVE_PIPE 1 |
4292 _ACEOF | 4755 _ACEOF |
4293 | 4756 |
4294 $as_echo "#define HAVE_PIPE 1" >>confdefs.h | |
4295 | |
4296 fi | 4757 fi |
4297 done | 4758 done |
4298 | 4759 |
4760 | |
4299 for ac_func in vsnprintf | 4761 for ac_func in vsnprintf |
4300 do : | 4762 do |
4301 ac_fn_c_check_func "$LINENO" "vsnprintf" "ac_cv_func_vsnprintf" | 4763 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
4302 if test "x$ac_cv_func_vsnprintf" = xyes; then : | 4764 { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
4765 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | |
4766 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | |
4767 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
4768 else | |
4769 cat >conftest.$ac_ext <<_ACEOF | |
4770 /* confdefs.h. */ | |
4771 _ACEOF | |
4772 cat confdefs.h >>conftest.$ac_ext | |
4773 cat >>conftest.$ac_ext <<_ACEOF | |
4774 /* end confdefs.h. */ | |
4775 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | |
4776 For example, HP-UX 11i <limits.h> declares gettimeofday. */ | |
4777 #define $ac_func innocuous_$ac_func | |
4778 | |
4779 /* System header to define __stub macros and hopefully few prototypes, | |
4780 which can conflict with char $ac_func (); below. | |
4781 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
4782 <limits.h> exists even on freestanding compilers. */ | |
4783 | |
4784 #ifdef __STDC__ | |
4785 # include <limits.h> | |
4786 #else | |
4787 # include <assert.h> | |
4788 #endif | |
4789 | |
4790 #undef $ac_func | |
4791 | |
4792 /* Override any GCC internal prototype to avoid an error. | |
4793 Use char because int might match the return type of a GCC | |
4794 builtin and then its argument prototype would still apply. */ | |
4795 #ifdef __cplusplus | |
4796 extern "C" | |
4797 #endif | |
4798 char $ac_func (); | |
4799 /* The GNU C library defines this for functions which it implements | |
4800 to always fail with ENOSYS. Some functions are actually named | |
4801 something starting with __ and the normal name is an alias. */ | |
4802 #if defined __stub_$ac_func || defined __stub___$ac_func | |
4803 choke me | |
4804 #endif | |
4805 | |
4806 int | |
4807 main () | |
4808 { | |
4809 return $ac_func (); | |
4810 ; | |
4811 return 0; | |
4812 } | |
4813 _ACEOF | |
4814 rm -f conftest.$ac_objext conftest$ac_exeext | |
4815 if { (ac_try="$ac_link" | |
4816 case "(($ac_try" in | |
4817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4818 *) ac_try_echo=$ac_try;; | |
4819 esac | |
4820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
4821 (eval "$ac_link") 2>conftest.er1 | |
4822 ac_status=$? | |
4823 grep -v '^ *+' conftest.er1 >conftest.err | |
4824 rm -f conftest.er1 | |
4825 cat conftest.err >&5 | |
4826 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4827 (exit $ac_status); } && { | |
4828 test -z "$ac_c_werror_flag" || | |
4829 test ! -s conftest.err | |
4830 } && test -s conftest$ac_exeext && | |
4831 $as_test_x conftest$ac_exeext; then | |
4832 eval "$as_ac_var=yes" | |
4833 else | |
4834 echo "$as_me: failed program was:" >&5 | |
4835 sed 's/^/| /' conftest.$ac_ext >&5 | |
4836 | |
4837 eval "$as_ac_var=no" | |
4838 fi | |
4839 | |
4840 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
4841 conftest$ac_exeext conftest.$ac_ext | |
4842 fi | |
4843 ac_res=`eval echo '${'$as_ac_var'}'` | |
4844 { echo "$as_me:$LINENO: result: $ac_res" >&5 | |
4845 echo "${ECHO_T}$ac_res" >&6; } | |
4846 if test `eval echo '${'$as_ac_var'}'` = yes; then | |
4303 cat >>confdefs.h <<_ACEOF | 4847 cat >>confdefs.h <<_ACEOF |
4848 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | |
4849 _ACEOF | |
4850 | |
4851 cat >>confdefs.h <<\_ACEOF | |
4304 #define HAVE_VSNPRINTF 1 | 4852 #define HAVE_VSNPRINTF 1 |
4305 _ACEOF | 4853 _ACEOF |
4306 | 4854 |
4307 $as_echo "#define HAVE_VSNPRINTF 1" >>confdefs.h | |
4308 | |
4309 fi | 4855 fi |
4310 done | 4856 done |
4311 | 4857 |
4312 | 4858 |
4859 | |
4313 for ac_func in connect | 4860 for ac_func in connect |
4314 do : | 4861 do |
4315 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect" | 4862 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
4316 if test "x$ac_cv_func_connect" = xyes; then : | 4863 { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
4864 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | |
4865 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | |
4866 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
4867 else | |
4868 cat >conftest.$ac_ext <<_ACEOF | |
4869 /* confdefs.h. */ | |
4870 _ACEOF | |
4871 cat confdefs.h >>conftest.$ac_ext | |
4872 cat >>conftest.$ac_ext <<_ACEOF | |
4873 /* end confdefs.h. */ | |
4874 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | |
4875 For example, HP-UX 11i <limits.h> declares gettimeofday. */ | |
4876 #define $ac_func innocuous_$ac_func | |
4877 | |
4878 /* System header to define __stub macros and hopefully few prototypes, | |
4879 which can conflict with char $ac_func (); below. | |
4880 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
4881 <limits.h> exists even on freestanding compilers. */ | |
4882 | |
4883 #ifdef __STDC__ | |
4884 # include <limits.h> | |
4885 #else | |
4886 # include <assert.h> | |
4887 #endif | |
4888 | |
4889 #undef $ac_func | |
4890 | |
4891 /* Override any GCC internal prototype to avoid an error. | |
4892 Use char because int might match the return type of a GCC | |
4893 builtin and then its argument prototype would still apply. */ | |
4894 #ifdef __cplusplus | |
4895 extern "C" | |
4896 #endif | |
4897 char $ac_func (); | |
4898 /* The GNU C library defines this for functions which it implements | |
4899 to always fail with ENOSYS. Some functions are actually named | |
4900 something starting with __ and the normal name is an alias. */ | |
4901 #if defined __stub_$ac_func || defined __stub___$ac_func | |
4902 choke me | |
4903 #endif | |
4904 | |
4905 int | |
4906 main () | |
4907 { | |
4908 return $ac_func (); | |
4909 ; | |
4910 return 0; | |
4911 } | |
4912 _ACEOF | |
4913 rm -f conftest.$ac_objext conftest$ac_exeext | |
4914 if { (ac_try="$ac_link" | |
4915 case "(($ac_try" in | |
4916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4917 *) ac_try_echo=$ac_try;; | |
4918 esac | |
4919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
4920 (eval "$ac_link") 2>conftest.er1 | |
4921 ac_status=$? | |
4922 grep -v '^ *+' conftest.er1 >conftest.err | |
4923 rm -f conftest.er1 | |
4924 cat conftest.err >&5 | |
4925 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4926 (exit $ac_status); } && { | |
4927 test -z "$ac_c_werror_flag" || | |
4928 test ! -s conftest.err | |
4929 } && test -s conftest$ac_exeext && | |
4930 $as_test_x conftest$ac_exeext; then | |
4931 eval "$as_ac_var=yes" | |
4932 else | |
4933 echo "$as_me: failed program was:" >&5 | |
4934 sed 's/^/| /' conftest.$ac_ext >&5 | |
4935 | |
4936 eval "$as_ac_var=no" | |
4937 fi | |
4938 | |
4939 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
4940 conftest$ac_exeext conftest.$ac_ext | |
4941 fi | |
4942 ac_res=`eval echo '${'$as_ac_var'}'` | |
4943 { echo "$as_me:$LINENO: result: $ac_res" >&5 | |
4944 echo "${ECHO_T}$ac_res" >&6; } | |
4945 if test `eval echo '${'$as_ac_var'}'` = yes; then | |
4317 cat >>confdefs.h <<_ACEOF | 4946 cat >>confdefs.h <<_ACEOF |
4318 #define HAVE_CONNECT 1 | 4947 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
4319 _ACEOF | 4948 _ACEOF |
4320 | 4949 |
4321 fi | 4950 fi |
4322 done | 4951 done |
4323 | 4952 |
4324 if test x"$ac_cv_func_connect" = x"no"; then | 4953 if test x"$ac_cv_func_connect" = x"no"; then |
4325 if test -z "$libsocket"; then | 4954 if test -z "$libsocket"; then |
4326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5 | 4955 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5 |
4327 $as_echo_n "checking for socket in -lsocket... " >&6; } | 4956 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; } |
4328 if ${ac_cv_lib_socket_socket+:} false; then : | 4957 if test "${ac_cv_lib_socket_socket+set}" = set; then |
4329 $as_echo_n "(cached) " >&6 | 4958 echo $ECHO_N "(cached) $ECHO_C" >&6 |
4330 else | 4959 else |
4331 ac_check_lib_save_LIBS=$LIBS | 4960 ac_check_lib_save_LIBS=$LIBS |
4332 LIBS="-lsocket $LIBS" | 4961 LIBS="-lsocket $LIBS" |
4333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 4962 cat >conftest.$ac_ext <<_ACEOF |
4963 /* confdefs.h. */ | |
4964 _ACEOF | |
4965 cat confdefs.h >>conftest.$ac_ext | |
4966 cat >>conftest.$ac_ext <<_ACEOF | |
4334 /* end confdefs.h. */ | 4967 /* end confdefs.h. */ |
4335 | 4968 |
4336 /* Override any GCC internal prototype to avoid an error. | 4969 /* Override any GCC internal prototype to avoid an error. |
4337 Use char because int might match the return type of a GCC | 4970 Use char because int might match the return type of a GCC |
4338 builtin and then its argument prototype would still apply. */ | 4971 builtin and then its argument prototype would still apply. */ |
4346 return socket (); | 4979 return socket (); |
4347 ; | 4980 ; |
4348 return 0; | 4981 return 0; |
4349 } | 4982 } |
4350 _ACEOF | 4983 _ACEOF |
4351 if ac_fn_c_try_link "$LINENO"; then : | 4984 rm -f conftest.$ac_objext conftest$ac_exeext |
4985 if { (ac_try="$ac_link" | |
4986 case "(($ac_try" in | |
4987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4988 *) ac_try_echo=$ac_try;; | |
4989 esac | |
4990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
4991 (eval "$ac_link") 2>conftest.er1 | |
4992 ac_status=$? | |
4993 grep -v '^ *+' conftest.er1 >conftest.err | |
4994 rm -f conftest.er1 | |
4995 cat conftest.err >&5 | |
4996 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4997 (exit $ac_status); } && { | |
4998 test -z "$ac_c_werror_flag" || | |
4999 test ! -s conftest.err | |
5000 } && test -s conftest$ac_exeext && | |
5001 $as_test_x conftest$ac_exeext; then | |
4352 ac_cv_lib_socket_socket=yes | 5002 ac_cv_lib_socket_socket=yes |
4353 else | 5003 else |
4354 ac_cv_lib_socket_socket=no | 5004 echo "$as_me: failed program was:" >&5 |
4355 fi | 5005 sed 's/^/| /' conftest.$ac_ext >&5 |
4356 rm -f core conftest.err conftest.$ac_objext \ | 5006 |
4357 conftest$ac_exeext conftest.$ac_ext | 5007 ac_cv_lib_socket_socket=no |
5008 fi | |
5009 | |
5010 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
5011 conftest$ac_exeext conftest.$ac_ext | |
4358 LIBS=$ac_check_lib_save_LIBS | 5012 LIBS=$ac_check_lib_save_LIBS |
4359 fi | 5013 fi |
4360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5 | 5014 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5 |
4361 $as_echo "$ac_cv_lib_socket_socket" >&6; } | 5015 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; } |
4362 if test "x$ac_cv_lib_socket_socket" = xyes; then : | 5016 if test $ac_cv_lib_socket_socket = yes; then |
4363 LIBS="$LIBS -lsocket" | 5017 LIBS="$LIBS -lsocket" |
4364 fi | 5018 fi |
4365 | 5019 |
4366 fi | 5020 fi |
4367 | 5021 |
4368 if test -z "$libinet"; then | 5022 if test -z "$libinet"; then |
4369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -linet" >&5 | 5023 { echo "$as_me:$LINENO: checking for socket in -linet" >&5 |
4370 $as_echo_n "checking for socket in -linet... " >&6; } | 5024 echo $ECHO_N "checking for socket in -linet... $ECHO_C" >&6; } |
4371 if ${ac_cv_lib_inet_socket+:} false; then : | 5025 if test "${ac_cv_lib_inet_socket+set}" = set; then |
4372 $as_echo_n "(cached) " >&6 | 5026 echo $ECHO_N "(cached) $ECHO_C" >&6 |
4373 else | 5027 else |
4374 ac_check_lib_save_LIBS=$LIBS | 5028 ac_check_lib_save_LIBS=$LIBS |
4375 LIBS="-linet $LIBS" | 5029 LIBS="-linet $LIBS" |
4376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 5030 cat >conftest.$ac_ext <<_ACEOF |
5031 /* confdefs.h. */ | |
5032 _ACEOF | |
5033 cat confdefs.h >>conftest.$ac_ext | |
5034 cat >>conftest.$ac_ext <<_ACEOF | |
4377 /* end confdefs.h. */ | 5035 /* end confdefs.h. */ |
4378 | 5036 |
4379 /* Override any GCC internal prototype to avoid an error. | 5037 /* Override any GCC internal prototype to avoid an error. |
4380 Use char because int might match the return type of a GCC | 5038 Use char because int might match the return type of a GCC |
4381 builtin and then its argument prototype would still apply. */ | 5039 builtin and then its argument prototype would still apply. */ |
4389 return socket (); | 5047 return socket (); |
4390 ; | 5048 ; |
4391 return 0; | 5049 return 0; |
4392 } | 5050 } |
4393 _ACEOF | 5051 _ACEOF |
4394 if ac_fn_c_try_link "$LINENO"; then : | 5052 rm -f conftest.$ac_objext conftest$ac_exeext |
5053 if { (ac_try="$ac_link" | |
5054 case "(($ac_try" in | |
5055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
5056 *) ac_try_echo=$ac_try;; | |
5057 esac | |
5058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
5059 (eval "$ac_link") 2>conftest.er1 | |
5060 ac_status=$? | |
5061 grep -v '^ *+' conftest.er1 >conftest.err | |
5062 rm -f conftest.er1 | |
5063 cat conftest.err >&5 | |
5064 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
5065 (exit $ac_status); } && { | |
5066 test -z "$ac_c_werror_flag" || | |
5067 test ! -s conftest.err | |
5068 } && test -s conftest$ac_exeext && | |
5069 $as_test_x conftest$ac_exeext; then | |
4395 ac_cv_lib_inet_socket=yes | 5070 ac_cv_lib_inet_socket=yes |
4396 else | 5071 else |
4397 ac_cv_lib_inet_socket=no | 5072 echo "$as_me: failed program was:" >&5 |
4398 fi | 5073 sed 's/^/| /' conftest.$ac_ext >&5 |
4399 rm -f core conftest.err conftest.$ac_objext \ | 5074 |
4400 conftest$ac_exeext conftest.$ac_ext | 5075 ac_cv_lib_inet_socket=no |
5076 fi | |
5077 | |
5078 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
5079 conftest$ac_exeext conftest.$ac_ext | |
4401 LIBS=$ac_check_lib_save_LIBS | 5080 LIBS=$ac_check_lib_save_LIBS |
4402 fi | 5081 fi |
4403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inet_socket" >&5 | 5082 { echo "$as_me:$LINENO: result: $ac_cv_lib_inet_socket" >&5 |
4404 $as_echo "$ac_cv_lib_inet_socket" >&6; } | 5083 echo "${ECHO_T}$ac_cv_lib_inet_socket" >&6; } |
4405 if test "x$ac_cv_lib_inet_socket" = xyes; then : | 5084 if test $ac_cv_lib_inet_socket = yes; then |
4406 libnsl=1; LIBS="$LIBS -linet -lnsl_s" | 5085 libnsl=1; LIBS="$LIBS -linet -lnsl_s" |
4407 fi | 5086 fi |
4408 | 5087 |
4409 fi | 5088 fi |
4410 | 5089 |
4411 if test -z "$libnsl"; then | 5090 if test -z "$libnsl"; then |
4412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostname in -lnsl" >&5 | 5091 { echo "$as_me:$LINENO: checking for gethostname in -lnsl" >&5 |
4413 $as_echo_n "checking for gethostname in -lnsl... " >&6; } | 5092 echo $ECHO_N "checking for gethostname in -lnsl... $ECHO_C" >&6; } |
4414 if ${ac_cv_lib_nsl_gethostname+:} false; then : | 5093 if test "${ac_cv_lib_nsl_gethostname+set}" = set; then |
4415 $as_echo_n "(cached) " >&6 | 5094 echo $ECHO_N "(cached) $ECHO_C" >&6 |
4416 else | 5095 else |
4417 ac_check_lib_save_LIBS=$LIBS | 5096 ac_check_lib_save_LIBS=$LIBS |
4418 LIBS="-lnsl $LIBS" | 5097 LIBS="-lnsl $LIBS" |
4419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 5098 cat >conftest.$ac_ext <<_ACEOF |
5099 /* confdefs.h. */ | |
5100 _ACEOF | |
5101 cat confdefs.h >>conftest.$ac_ext | |
5102 cat >>conftest.$ac_ext <<_ACEOF | |
4420 /* end confdefs.h. */ | 5103 /* end confdefs.h. */ |
4421 | 5104 |
4422 /* Override any GCC internal prototype to avoid an error. | 5105 /* Override any GCC internal prototype to avoid an error. |
4423 Use char because int might match the return type of a GCC | 5106 Use char because int might match the return type of a GCC |
4424 builtin and then its argument prototype would still apply. */ | 5107 builtin and then its argument prototype would still apply. */ |
4432 return gethostname (); | 5115 return gethostname (); |
4433 ; | 5116 ; |
4434 return 0; | 5117 return 0; |
4435 } | 5118 } |
4436 _ACEOF | 5119 _ACEOF |
4437 if ac_fn_c_try_link "$LINENO"; then : | 5120 rm -f conftest.$ac_objext conftest$ac_exeext |
5121 if { (ac_try="$ac_link" | |
5122 case "(($ac_try" in | |
5123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
5124 *) ac_try_echo=$ac_try;; | |
5125 esac | |
5126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
5127 (eval "$ac_link") 2>conftest.er1 | |
5128 ac_status=$? | |
5129 grep -v '^ *+' conftest.er1 >conftest.err | |
5130 rm -f conftest.er1 | |
5131 cat conftest.err >&5 | |
5132 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
5133 (exit $ac_status); } && { | |
5134 test -z "$ac_c_werror_flag" || | |
5135 test ! -s conftest.err | |
5136 } && test -s conftest$ac_exeext && | |
5137 $as_test_x conftest$ac_exeext; then | |
4438 ac_cv_lib_nsl_gethostname=yes | 5138 ac_cv_lib_nsl_gethostname=yes |
4439 else | 5139 else |
4440 ac_cv_lib_nsl_gethostname=no | 5140 echo "$as_me: failed program was:" >&5 |
4441 fi | 5141 sed 's/^/| /' conftest.$ac_ext >&5 |
4442 rm -f core conftest.err conftest.$ac_objext \ | 5142 |
4443 conftest$ac_exeext conftest.$ac_ext | 5143 ac_cv_lib_nsl_gethostname=no |
5144 fi | |
5145 | |
5146 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
5147 conftest$ac_exeext conftest.$ac_ext | |
4444 LIBS=$ac_check_lib_save_LIBS | 5148 LIBS=$ac_check_lib_save_LIBS |
4445 fi | 5149 fi |
4446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostname" >&5 | 5150 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostname" >&5 |
4447 $as_echo "$ac_cv_lib_nsl_gethostname" >&6; } | 5151 echo "${ECHO_T}$ac_cv_lib_nsl_gethostname" >&6; } |
4448 if test "x$ac_cv_lib_nsl_gethostname" = xyes; then : | 5152 if test $ac_cv_lib_nsl_gethostname = yes; then |
4449 LIBS="$LIBS -lnsl" | 5153 LIBS="$LIBS -lnsl" |
4450 fi | 5154 fi |
4451 | 5155 |
4452 fi | 5156 fi |
4453 fi | 5157 fi |
4454 | 5158 |
4455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getpwnam in -lsun" >&5 | 5159 { echo "$as_me:$LINENO: checking for getpwnam in -lsun" >&5 |
4456 $as_echo_n "checking for getpwnam in -lsun... " >&6; } | 5160 echo $ECHO_N "checking for getpwnam in -lsun... $ECHO_C" >&6; } |
4457 if ${ac_cv_lib_sun_getpwnam+:} false; then : | 5161 if test "${ac_cv_lib_sun_getpwnam+set}" = set; then |
4458 $as_echo_n "(cached) " >&6 | 5162 echo $ECHO_N "(cached) $ECHO_C" >&6 |
4459 else | 5163 else |
4460 ac_check_lib_save_LIBS=$LIBS | 5164 ac_check_lib_save_LIBS=$LIBS |
4461 LIBS="-lsun $LIBS" | 5165 LIBS="-lsun $LIBS" |
4462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 5166 cat >conftest.$ac_ext <<_ACEOF |
5167 /* confdefs.h. */ | |
5168 _ACEOF | |
5169 cat confdefs.h >>conftest.$ac_ext | |
5170 cat >>conftest.$ac_ext <<_ACEOF | |
4463 /* end confdefs.h. */ | 5171 /* end confdefs.h. */ |
4464 | 5172 |
4465 /* Override any GCC internal prototype to avoid an error. | 5173 /* Override any GCC internal prototype to avoid an error. |
4466 Use char because int might match the return type of a GCC | 5174 Use char because int might match the return type of a GCC |
4467 builtin and then its argument prototype would still apply. */ | 5175 builtin and then its argument prototype would still apply. */ |
4475 return getpwnam (); | 5183 return getpwnam (); |
4476 ; | 5184 ; |
4477 return 0; | 5185 return 0; |
4478 } | 5186 } |
4479 _ACEOF | 5187 _ACEOF |
4480 if ac_fn_c_try_link "$LINENO"; then : | 5188 rm -f conftest.$ac_objext conftest$ac_exeext |
5189 if { (ac_try="$ac_link" | |
5190 case "(($ac_try" in | |
5191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
5192 *) ac_try_echo=$ac_try;; | |
5193 esac | |
5194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
5195 (eval "$ac_link") 2>conftest.er1 | |
5196 ac_status=$? | |
5197 grep -v '^ *+' conftest.er1 >conftest.err | |
5198 rm -f conftest.er1 | |
5199 cat conftest.err >&5 | |
5200 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
5201 (exit $ac_status); } && { | |
5202 test -z "$ac_c_werror_flag" || | |
5203 test ! -s conftest.err | |
5204 } && test -s conftest$ac_exeext && | |
5205 $as_test_x conftest$ac_exeext; then | |
4481 ac_cv_lib_sun_getpwnam=yes | 5206 ac_cv_lib_sun_getpwnam=yes |
4482 else | 5207 else |
4483 ac_cv_lib_sun_getpwnam=no | 5208 echo "$as_me: failed program was:" >&5 |
4484 fi | 5209 sed 's/^/| /' conftest.$ac_ext >&5 |
4485 rm -f core conftest.err conftest.$ac_objext \ | 5210 |
4486 conftest$ac_exeext conftest.$ac_ext | 5211 ac_cv_lib_sun_getpwnam=no |
5212 fi | |
5213 | |
5214 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
5215 conftest$ac_exeext conftest.$ac_ext | |
4487 LIBS=$ac_check_lib_save_LIBS | 5216 LIBS=$ac_check_lib_save_LIBS |
4488 fi | 5217 fi |
4489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sun_getpwnam" >&5 | 5218 { echo "$as_me:$LINENO: result: $ac_cv_lib_sun_getpwnam" >&5 |
4490 $as_echo "$ac_cv_lib_sun_getpwnam" >&6; } | 5219 echo "${ECHO_T}$ac_cv_lib_sun_getpwnam" >&6; } |
4491 if test "x$ac_cv_lib_sun_getpwnam" = xyes; then : | 5220 if test $ac_cv_lib_sun_getpwnam = yes; then |
4492 LIBS="$LIBS -lsun" | 5221 LIBS="$LIBS -lsun" |
4493 fi | 5222 fi |
4494 | 5223 |
4495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -ldgc" >&5 | 5224 { echo "$as_me:$LINENO: checking for inet_addr in -ldgc" >&5 |
4496 $as_echo_n "checking for inet_addr in -ldgc... " >&6; } | 5225 echo $ECHO_N "checking for inet_addr in -ldgc... $ECHO_C" >&6; } |
4497 if ${ac_cv_lib_dgc_inet_addr+:} false; then : | 5226 if test "${ac_cv_lib_dgc_inet_addr+set}" = set; then |
4498 $as_echo_n "(cached) " >&6 | 5227 echo $ECHO_N "(cached) $ECHO_C" >&6 |
4499 else | 5228 else |
4500 ac_check_lib_save_LIBS=$LIBS | 5229 ac_check_lib_save_LIBS=$LIBS |
4501 LIBS="-ldgc $LIBS" | 5230 LIBS="-ldgc $LIBS" |
4502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 5231 cat >conftest.$ac_ext <<_ACEOF |
5232 /* confdefs.h. */ | |
5233 _ACEOF | |
5234 cat confdefs.h >>conftest.$ac_ext | |
5235 cat >>conftest.$ac_ext <<_ACEOF | |
4503 /* end confdefs.h. */ | 5236 /* end confdefs.h. */ |
4504 | 5237 |
4505 /* Override any GCC internal prototype to avoid an error. | 5238 /* Override any GCC internal prototype to avoid an error. |
4506 Use char because int might match the return type of a GCC | 5239 Use char because int might match the return type of a GCC |
4507 builtin and then its argument prototype would still apply. */ | 5240 builtin and then its argument prototype would still apply. */ |
4515 return inet_addr (); | 5248 return inet_addr (); |
4516 ; | 5249 ; |
4517 return 0; | 5250 return 0; |
4518 } | 5251 } |
4519 _ACEOF | 5252 _ACEOF |
4520 if ac_fn_c_try_link "$LINENO"; then : | 5253 rm -f conftest.$ac_objext conftest$ac_exeext |
5254 if { (ac_try="$ac_link" | |
5255 case "(($ac_try" in | |
5256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
5257 *) ac_try_echo=$ac_try;; | |
5258 esac | |
5259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
5260 (eval "$ac_link") 2>conftest.er1 | |
5261 ac_status=$? | |
5262 grep -v '^ *+' conftest.er1 >conftest.err | |
5263 rm -f conftest.er1 | |
5264 cat conftest.err >&5 | |
5265 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
5266 (exit $ac_status); } && { | |
5267 test -z "$ac_c_werror_flag" || | |
5268 test ! -s conftest.err | |
5269 } && test -s conftest$ac_exeext && | |
5270 $as_test_x conftest$ac_exeext; then | |
4521 ac_cv_lib_dgc_inet_addr=yes | 5271 ac_cv_lib_dgc_inet_addr=yes |
4522 else | 5272 else |
4523 ac_cv_lib_dgc_inet_addr=no | 5273 echo "$as_me: failed program was:" >&5 |
4524 fi | 5274 sed 's/^/| /' conftest.$ac_ext >&5 |
4525 rm -f core conftest.err conftest.$ac_objext \ | 5275 |
4526 conftest$ac_exeext conftest.$ac_ext | 5276 ac_cv_lib_dgc_inet_addr=no |
5277 fi | |
5278 | |
5279 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
5280 conftest$ac_exeext conftest.$ac_ext | |
4527 LIBS=$ac_check_lib_save_LIBS | 5281 LIBS=$ac_check_lib_save_LIBS |
4528 fi | 5282 fi |
4529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dgc_inet_addr" >&5 | 5283 { echo "$as_me:$LINENO: result: $ac_cv_lib_dgc_inet_addr" >&5 |
4530 $as_echo "$ac_cv_lib_dgc_inet_addr" >&6; } | 5284 echo "${ECHO_T}$ac_cv_lib_dgc_inet_addr" >&6; } |
4531 if test "x$ac_cv_lib_dgc_inet_addr" = xyes; then : | 5285 if test $ac_cv_lib_dgc_inet_addr = yes; then |
4532 LIBS="$LIBS -ldgc" | 5286 LIBS="$LIBS -ldgc" |
4533 fi | 5287 fi |
4534 | 5288 |
4535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lresolv" >&5 | 5289 { echo "$as_me:$LINENO: checking for gethostbyname in -lresolv" >&5 |
4536 $as_echo_n "checking for gethostbyname in -lresolv... " >&6; } | 5290 echo $ECHO_N "checking for gethostbyname in -lresolv... $ECHO_C" >&6; } |
4537 if ${ac_cv_lib_resolv_gethostbyname+:} false; then : | 5291 if test "${ac_cv_lib_resolv_gethostbyname+set}" = set; then |
4538 $as_echo_n "(cached) " >&6 | 5292 echo $ECHO_N "(cached) $ECHO_C" >&6 |
4539 else | 5293 else |
4540 ac_check_lib_save_LIBS=$LIBS | 5294 ac_check_lib_save_LIBS=$LIBS |
4541 LIBS="-lresolv $LIBS" | 5295 LIBS="-lresolv $LIBS" |
4542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 5296 cat >conftest.$ac_ext <<_ACEOF |
5297 /* confdefs.h. */ | |
5298 _ACEOF | |
5299 cat confdefs.h >>conftest.$ac_ext | |
5300 cat >>conftest.$ac_ext <<_ACEOF | |
4543 /* end confdefs.h. */ | 5301 /* end confdefs.h. */ |
4544 | 5302 |
4545 /* Override any GCC internal prototype to avoid an error. | 5303 /* Override any GCC internal prototype to avoid an error. |
4546 Use char because int might match the return type of a GCC | 5304 Use char because int might match the return type of a GCC |
4547 builtin and then its argument prototype would still apply. */ | 5305 builtin and then its argument prototype would still apply. */ |
4555 return gethostbyname (); | 5313 return gethostbyname (); |
4556 ; | 5314 ; |
4557 return 0; | 5315 return 0; |
4558 } | 5316 } |
4559 _ACEOF | 5317 _ACEOF |
4560 if ac_fn_c_try_link "$LINENO"; then : | 5318 rm -f conftest.$ac_objext conftest$ac_exeext |
5319 if { (ac_try="$ac_link" | |
5320 case "(($ac_try" in | |
5321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
5322 *) ac_try_echo=$ac_try;; | |
5323 esac | |
5324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
5325 (eval "$ac_link") 2>conftest.er1 | |
5326 ac_status=$? | |
5327 grep -v '^ *+' conftest.er1 >conftest.err | |
5328 rm -f conftest.er1 | |
5329 cat conftest.err >&5 | |
5330 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
5331 (exit $ac_status); } && { | |
5332 test -z "$ac_c_werror_flag" || | |
5333 test ! -s conftest.err | |
5334 } && test -s conftest$ac_exeext && | |
5335 $as_test_x conftest$ac_exeext; then | |
4561 ac_cv_lib_resolv_gethostbyname=yes | 5336 ac_cv_lib_resolv_gethostbyname=yes |
4562 else | 5337 else |
4563 ac_cv_lib_resolv_gethostbyname=no | 5338 echo "$as_me: failed program was:" >&5 |
4564 fi | 5339 sed 's/^/| /' conftest.$ac_ext >&5 |
4565 rm -f core conftest.err conftest.$ac_objext \ | 5340 |
4566 conftest$ac_exeext conftest.$ac_ext | 5341 ac_cv_lib_resolv_gethostbyname=no |
5342 fi | |
5343 | |
5344 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
5345 conftest$ac_exeext conftest.$ac_ext | |
4567 LIBS=$ac_check_lib_save_LIBS | 5346 LIBS=$ac_check_lib_save_LIBS |
4568 fi | 5347 fi |
4569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_gethostbyname" >&5 | 5348 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_gethostbyname" >&5 |
4570 $as_echo "$ac_cv_lib_resolv_gethostbyname" >&6; } | 5349 echo "${ECHO_T}$ac_cv_lib_resolv_gethostbyname" >&6; } |
4571 if test "x$ac_cv_lib_resolv_gethostbyname" = xyes; then : | 5350 if test $ac_cv_lib_resolv_gethostbyname = yes; then |
4572 LIBS="$LIBS -lresolv" | 5351 LIBS="$LIBS -lresolv" |
4573 fi | 5352 fi |
4574 | 5353 |
4575 | 5354 |
4576 build_gtk="yes" | 5355 build_gtk="yes" |
4583 | 5362 |
4584 case "$target" in | 5363 case "$target" in |
4585 *cygwin*) | 5364 *cygwin*) |
4586 ;; | 5365 ;; |
4587 *mingw32) | 5366 *mingw32) |
4588 $as_echo "#define DW_USE_GTK 1" >>confdefs.h | 5367 cat >>confdefs.h <<\_ACEOF |
5368 #define DW_USE_GTK 1 | |
5369 _ACEOF | |
4589 | 5370 |
4590 ;; | 5371 ;; |
4591 *linux*) | 5372 *linux*) |
4592 SONAME="-Wl,-soname,lib$TARGET.so.\$(DW_MAJOR_VERSION)" | 5373 SONAME="-Wl,-soname,lib$TARGET.so.\$(DW_MAJOR_VERSION)" |
4593 ;; | 5374 ;; |
4652 esac | 5433 esac |
4653 | 5434 |
4654 if test $build_gtk = "yes"; then | 5435 if test $build_gtk = "yes"; then |
4655 # Extract the first word of "pkg-config", so it can be a program name with args. | 5436 # Extract the first word of "pkg-config", so it can be a program name with args. |
4656 set dummy pkg-config; ac_word=$2 | 5437 set dummy pkg-config; ac_word=$2 |
4657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 5438 { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
4658 $as_echo_n "checking for $ac_word... " >&6; } | 5439 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
4659 if ${ac_cv_prog_PKG_CFG+:} false; then : | 5440 if test "${ac_cv_prog_PKG_CFG+set}" = set; then |
4660 $as_echo_n "(cached) " >&6 | 5441 echo $ECHO_N "(cached) $ECHO_C" >&6 |
4661 else | 5442 else |
4662 if test -n "$PKG_CFG"; then | 5443 if test -n "$PKG_CFG"; then |
4663 ac_cv_prog_PKG_CFG="$PKG_CFG" # Let the user override the test. | 5444 ac_cv_prog_PKG_CFG="$PKG_CFG" # Let the user override the test. |
4664 else | 5445 else |
4665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 5446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4666 for as_dir in $PATH | 5447 for as_dir in $PATH |
4667 do | 5448 do |
4668 IFS=$as_save_IFS | 5449 IFS=$as_save_IFS |
4669 test -z "$as_dir" && as_dir=. | 5450 test -z "$as_dir" && as_dir=. |
4670 for ac_exec_ext in '' $ac_executable_extensions; do | 5451 for ac_exec_ext in '' $ac_executable_extensions; do |
4671 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 5452 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
4672 ac_cv_prog_PKG_CFG="pkg-config" | 5453 ac_cv_prog_PKG_CFG="pkg-config" |
4673 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 5454 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4674 break 2 | 5455 break 2 |
4675 fi | 5456 fi |
4676 done | 5457 done |
4677 done | 5458 done |
4678 IFS=$as_save_IFS | 5459 IFS=$as_save_IFS |
4679 | 5460 |
4680 fi | 5461 fi |
4681 fi | 5462 fi |
4682 PKG_CFG=$ac_cv_prog_PKG_CFG | 5463 PKG_CFG=$ac_cv_prog_PKG_CFG |
4683 if test -n "$PKG_CFG"; then | 5464 if test -n "$PKG_CFG"; then |
4684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CFG" >&5 | 5465 { echo "$as_me:$LINENO: result: $PKG_CFG" >&5 |
4685 $as_echo "$PKG_CFG" >&6; } | 5466 echo "${ECHO_T}$PKG_CFG" >&6; } |
4686 else | 5467 else |
4687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 5468 { echo "$as_me:$LINENO: result: no" >&5 |
4688 $as_echo "no" >&6; } | 5469 echo "${ECHO_T}no" >&6; } |
4689 fi | 5470 fi |
4690 | 5471 |
4691 | 5472 |
4692 if test x"$PKG_CFG" != x; then | 5473 if test x"$PKG_CFG" != x; then |
4693 GTK_LIBS="" | 5474 GTK_LIBS="" |
4729 WEBKIT_PKG="WebKitGtk" | 5510 WEBKIT_PKG="WebKitGtk" |
4730 MOZEMBED_LIBS=`$PKG_CFG --silence-errors --libs $WEBKIT_PKG` | 5511 MOZEMBED_LIBS=`$PKG_CFG --silence-errors --libs $WEBKIT_PKG` |
4731 MOZEMBED_CFLAGS=`$PKG_CFG --silence-errors --cflags $WEBKIT_PKG` | 5512 MOZEMBED_CFLAGS=`$PKG_CFG --silence-errors --cflags $WEBKIT_PKG` |
4732 RPATH=`$PKG_CFG --silence-errors --libs-only-L $WEBKIT_PKG | cut -b 3-` | 5513 RPATH=`$PKG_CFG --silence-errors --libs-only-L $WEBKIT_PKG | cut -b 3-` |
4733 else | 5514 else |
4734 $as_echo "#define USE_WEBKIT10 1" >>confdefs.h | 5515 cat >>confdefs.h <<\_ACEOF |
5516 #define USE_WEBKIT10 1 | |
5517 _ACEOF | |
4735 | 5518 |
4736 WEBKIT_LIB=$WEBKIT_PKG | 5519 WEBKIT_LIB=$WEBKIT_PKG |
4737 MOZEMBED_LIBS=`$PKG_CFG --silence-errors --libs $WEBKIT_PKG` | 5520 MOZEMBED_LIBS=`$PKG_CFG --silence-errors --libs $WEBKIT_PKG` |
4738 RESULT=`echo $MOZEMBED_LIBS | grep lwebkitgtk-1.0` | 5521 RESULT=`echo $MOZEMBED_LIBS | grep lwebkitgtk-1.0` |
4739 if test x"$RESULT" != x; then | 5522 if test x"$RESULT" != x; then |
4740 WEBKIT_LIB=webkitgtk-1.0 | 5523 WEBKIT_LIB=webkitgtk-1.0 |
4741 fi | 5524 fi |
4742 fi | 5525 fi |
4743 else | 5526 else |
4744 $as_echo "#define USE_WEBKIT11 1" >>confdefs.h | 5527 cat >>confdefs.h <<\_ACEOF |
5528 #define USE_WEBKIT11 1 | |
5529 _ACEOF | |
4745 | 5530 |
4746 WEBKIT_LIB=$WEBKIT_PKG | 5531 WEBKIT_LIB=$WEBKIT_PKG |
4747 fi | 5532 fi |
4748 cat >>confdefs.h <<_ACEOF | 5533 cat >>confdefs.h <<_ACEOF |
4749 #define WEBKIT_LIB "$WEBKIT_LIB" | 5534 #define WEBKIT_LIB "$WEBKIT_LIB" |
4756 fi | 5541 fi |
4757 | 5542 |
4758 if test x"$GTK_LIBS" = x; then | 5543 if test x"$GTK_LIBS" = x; then |
4759 | 5544 |
4760 # Check whether --with-glib-prefix was given. | 5545 # Check whether --with-glib-prefix was given. |
4761 if test "${with_glib_prefix+set}" = set; then : | 5546 if test "${with_glib_prefix+set}" = set; then |
4762 withval=$with_glib_prefix; glib_config_prefix="$withval" | 5547 withval=$with_glib_prefix; glib_config_prefix="$withval" |
4763 else | 5548 else |
4764 glib_config_prefix="" | 5549 glib_config_prefix="" |
4765 fi | 5550 fi |
4766 | 5551 |
4767 | 5552 |
4768 # Check whether --with-glib-exec-prefix was given. | 5553 # Check whether --with-glib-exec-prefix was given. |
4769 if test "${with_glib_exec_prefix+set}" = set; then : | 5554 if test "${with_glib_exec_prefix+set}" = set; then |
4770 withval=$with_glib_exec_prefix; glib_config_exec_prefix="$withval" | 5555 withval=$with_glib_exec_prefix; glib_config_exec_prefix="$withval" |
4771 else | 5556 else |
4772 glib_config_exec_prefix="" | 5557 glib_config_exec_prefix="" |
4773 fi | 5558 fi |
4774 | 5559 |
4775 # Check whether --enable-glibtest was given. | 5560 # Check whether --enable-glibtest was given. |
4776 if test "${enable_glibtest+set}" = set; then : | 5561 if test "${enable_glibtest+set}" = set; then |
4777 enableval=$enable_glibtest; | 5562 enableval=$enable_glibtest; |
4778 else | 5563 else |
4779 enable_glibtest=yes | 5564 enable_glibtest=yes |
4780 fi | 5565 fi |
4781 | 5566 |
4805 esac | 5590 esac |
4806 done | 5591 done |
4807 | 5592 |
4808 # Extract the first word of "glib-config", so it can be a program name with args. | 5593 # Extract the first word of "glib-config", so it can be a program name with args. |
4809 set dummy glib-config; ac_word=$2 | 5594 set dummy glib-config; ac_word=$2 |
4810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 5595 { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
4811 $as_echo_n "checking for $ac_word... " >&6; } | 5596 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
4812 if ${ac_cv_path_GLIB_CONFIG+:} false; then : | 5597 if test "${ac_cv_path_GLIB_CONFIG+set}" = set; then |
4813 $as_echo_n "(cached) " >&6 | 5598 echo $ECHO_N "(cached) $ECHO_C" >&6 |
4814 else | 5599 else |
4815 case $GLIB_CONFIG in | 5600 case $GLIB_CONFIG in |
4816 [\\/]* | ?:[\\/]*) | 5601 [\\/]* | ?:[\\/]*) |
4817 ac_cv_path_GLIB_CONFIG="$GLIB_CONFIG" # Let the user override the test with a path. | 5602 ac_cv_path_GLIB_CONFIG="$GLIB_CONFIG" # Let the user override the test with a path. |
4818 ;; | 5603 ;; |
4820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 5605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4821 for as_dir in $PATH | 5606 for as_dir in $PATH |
4822 do | 5607 do |
4823 IFS=$as_save_IFS | 5608 IFS=$as_save_IFS |
4824 test -z "$as_dir" && as_dir=. | 5609 test -z "$as_dir" && as_dir=. |
4825 for ac_exec_ext in '' $ac_executable_extensions; do | 5610 for ac_exec_ext in '' $ac_executable_extensions; do |
4826 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 5611 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
4827 ac_cv_path_GLIB_CONFIG="$as_dir/$ac_word$ac_exec_ext" | 5612 ac_cv_path_GLIB_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
4828 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 5613 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4829 break 2 | 5614 break 2 |
4830 fi | 5615 fi |
4831 done | 5616 done |
4832 done | 5617 done |
4833 IFS=$as_save_IFS | 5618 IFS=$as_save_IFS |
4834 | 5619 |
4835 test -z "$ac_cv_path_GLIB_CONFIG" && ac_cv_path_GLIB_CONFIG="no" | 5620 test -z "$ac_cv_path_GLIB_CONFIG" && ac_cv_path_GLIB_CONFIG="no" |
4836 ;; | 5621 ;; |
4837 esac | 5622 esac |
4838 fi | 5623 fi |
4839 GLIB_CONFIG=$ac_cv_path_GLIB_CONFIG | 5624 GLIB_CONFIG=$ac_cv_path_GLIB_CONFIG |
4840 if test -n "$GLIB_CONFIG"; then | 5625 if test -n "$GLIB_CONFIG"; then |
4841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_CONFIG" >&5 | 5626 { echo "$as_me:$LINENO: result: $GLIB_CONFIG" >&5 |
4842 $as_echo "$GLIB_CONFIG" >&6; } | 5627 echo "${ECHO_T}$GLIB_CONFIG" >&6; } |
4843 else | 5628 else |
4844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 5629 { echo "$as_me:$LINENO: result: no" >&5 |
4845 $as_echo "no" >&6; } | 5630 echo "${ECHO_T}no" >&6; } |
4846 fi | 5631 fi |
4847 | 5632 |
4848 | 5633 |
4849 min_glib_version=1.2.0 | 5634 min_glib_version=1.2.0 |
4850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB - version >= $min_glib_version" >&5 | 5635 { echo "$as_me:$LINENO: checking for GLIB - version >= $min_glib_version" >&5 |
4851 $as_echo_n "checking for GLIB - version >= $min_glib_version... " >&6; } | 5636 echo $ECHO_N "checking for GLIB - version >= $min_glib_version... $ECHO_C" >&6; } |
4852 no_glib="" | 5637 no_glib="" |
4853 if test "$GLIB_CONFIG" = "no" ; then | 5638 if test "$GLIB_CONFIG" = "no" ; then |
4854 no_glib=yes | 5639 no_glib=yes |
4855 else | 5640 else |
4856 GLIB_CFLAGS=`$GLIB_CONFIG $glib_config_args --cflags` | 5641 GLIB_CFLAGS=`$GLIB_CONFIG $glib_config_args --cflags` |
4865 ac_save_CFLAGS="$CFLAGS" | 5650 ac_save_CFLAGS="$CFLAGS" |
4866 ac_save_LIBS="$LIBS" | 5651 ac_save_LIBS="$LIBS" |
4867 CFLAGS="$CFLAGS $GLIB_CFLAGS" | 5652 CFLAGS="$CFLAGS $GLIB_CFLAGS" |
4868 LIBS="$GLIB_LIBS $LIBS" | 5653 LIBS="$GLIB_LIBS $LIBS" |
4869 rm -f conf.glibtest | 5654 rm -f conf.glibtest |
4870 if test "$cross_compiling" = yes; then : | 5655 if test "$cross_compiling" = yes; then |
4871 echo $ac_n "cross compiling; assumed OK... $ac_c" | 5656 echo $ac_n "cross compiling; assumed OK... $ac_c" |
4872 else | 5657 else |
4873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 5658 cat >conftest.$ac_ext <<_ACEOF |
5659 /* confdefs.h. */ | |
5660 _ACEOF | |
5661 cat confdefs.h >>conftest.$ac_ext | |
5662 cat >>conftest.$ac_ext <<_ACEOF | |
4874 /* end confdefs.h. */ | 5663 /* end confdefs.h. */ |
4875 | 5664 |
4876 #include <glib.h> | 5665 #include <glib.h> |
4877 #include <stdio.h> | 5666 #include <stdio.h> |
4878 #include <stdlib.h> | 5667 #include <stdlib.h> |
4944 } | 5733 } |
4945 return 1; | 5734 return 1; |
4946 } | 5735 } |
4947 | 5736 |
4948 _ACEOF | 5737 _ACEOF |
4949 if ac_fn_c_try_run "$LINENO"; then : | 5738 rm -f conftest$ac_exeext |
4950 | 5739 if { (ac_try="$ac_link" |
4951 else | 5740 case "(($ac_try" in |
4952 no_glib=yes | 5741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
4953 fi | 5742 *) ac_try_echo=$ac_try;; |
4954 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | 5743 esac |
4955 conftest.$ac_objext conftest.beam conftest.$ac_ext | 5744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
4956 fi | 5745 (eval "$ac_link") 2>&5 |
5746 ac_status=$? | |
5747 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
5748 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | |
5749 { (case "(($ac_try" in | |
5750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
5751 *) ac_try_echo=$ac_try;; | |
5752 esac | |
5753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
5754 (eval "$ac_try") 2>&5 | |
5755 ac_status=$? | |
5756 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
5757 (exit $ac_status); }; }; then | |
5758 : | |
5759 else | |
5760 echo "$as_me: program exited with status $ac_status" >&5 | |
5761 echo "$as_me: failed program was:" >&5 | |
5762 sed 's/^/| /' conftest.$ac_ext >&5 | |
5763 | |
5764 ( exit $ac_status ) | |
5765 no_glib=yes | |
5766 fi | |
5767 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | |
5768 fi | |
5769 | |
4957 | 5770 |
4958 CFLAGS="$ac_save_CFLAGS" | 5771 CFLAGS="$ac_save_CFLAGS" |
4959 LIBS="$ac_save_LIBS" | 5772 LIBS="$ac_save_LIBS" |
4960 fi | 5773 fi |
4961 fi | 5774 fi |
4962 if test "x$no_glib" = x ; then | 5775 if test "x$no_glib" = x ; then |
4963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 5776 { echo "$as_me:$LINENO: result: yes" >&5 |
4964 $as_echo "yes" >&6; } | 5777 echo "${ECHO_T}yes" >&6; } |
4965 : | 5778 : |
4966 else | 5779 else |
4967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 5780 { echo "$as_me:$LINENO: result: no" >&5 |
4968 $as_echo "no" >&6; } | 5781 echo "${ECHO_T}no" >&6; } |
4969 if test "$GLIB_CONFIG" = "no" ; then | 5782 if test "$GLIB_CONFIG" = "no" ; then |
4970 echo "*** The glib-config script installed by GLIB could not be found" | 5783 echo "*** The glib-config script installed by GLIB could not be found" |
4971 echo "*** If GLIB was installed in PREFIX, make sure PREFIX/bin is in" | 5784 echo "*** If GLIB was installed in PREFIX, make sure PREFIX/bin is in" |
4972 echo "*** your path, or set the GLIB_CONFIG environment variable to the" | 5785 echo "*** your path, or set the GLIB_CONFIG environment variable to the" |
4973 echo "*** full path to glib-config." | 5786 echo "*** full path to glib-config." |
4976 : | 5789 : |
4977 else | 5790 else |
4978 echo "*** Could not run GLIB test program, checking why..." | 5791 echo "*** Could not run GLIB test program, checking why..." |
4979 CFLAGS="$CFLAGS $GLIB_CFLAGS" | 5792 CFLAGS="$CFLAGS $GLIB_CFLAGS" |
4980 LIBS="$LIBS $GLIB_LIBS" | 5793 LIBS="$LIBS $GLIB_LIBS" |
4981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 5794 cat >conftest.$ac_ext <<_ACEOF |
5795 /* confdefs.h. */ | |
5796 _ACEOF | |
5797 cat confdefs.h >>conftest.$ac_ext | |
5798 cat >>conftest.$ac_ext <<_ACEOF | |
4982 /* end confdefs.h. */ | 5799 /* end confdefs.h. */ |
4983 | 5800 |
4984 #include <glib.h> | 5801 #include <glib.h> |
4985 #include <stdio.h> | 5802 #include <stdio.h> |
4986 | 5803 |
4990 return ((glib_major_version) || (glib_minor_version) || (glib_micro_version)); | 5807 return ((glib_major_version) || (glib_minor_version) || (glib_micro_version)); |
4991 ; | 5808 ; |
4992 return 0; | 5809 return 0; |
4993 } | 5810 } |
4994 _ACEOF | 5811 _ACEOF |
4995 if ac_fn_c_try_link "$LINENO"; then : | 5812 rm -f conftest.$ac_objext conftest$ac_exeext |
5813 if { (ac_try="$ac_link" | |
5814 case "(($ac_try" in | |
5815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
5816 *) ac_try_echo=$ac_try;; | |
5817 esac | |
5818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
5819 (eval "$ac_link") 2>conftest.er1 | |
5820 ac_status=$? | |
5821 grep -v '^ *+' conftest.er1 >conftest.err | |
5822 rm -f conftest.er1 | |
5823 cat conftest.err >&5 | |
5824 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
5825 (exit $ac_status); } && { | |
5826 test -z "$ac_c_werror_flag" || | |
5827 test ! -s conftest.err | |
5828 } && test -s conftest$ac_exeext && | |
5829 $as_test_x conftest$ac_exeext; then | |
4996 echo "*** The test program compiled, but did not run. This usually means" | 5830 echo "*** The test program compiled, but did not run. This usually means" |
4997 echo "*** that the run-time linker is not finding GLIB or finding the wrong" | 5831 echo "*** that the run-time linker is not finding GLIB or finding the wrong" |
4998 echo "*** version of GLIB. If it is not finding GLIB, you'll need to set your" | 5832 echo "*** version of GLIB. If it is not finding GLIB, you'll need to set your" |
4999 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" | 5833 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" |
5000 echo "*** to the installed location Also, make sure you have run ldconfig if that" | 5834 echo "*** to the installed location Also, make sure you have run ldconfig if that" |
5001 echo "*** is required on your system" | 5835 echo "*** is required on your system" |
5002 echo "***" | 5836 echo "***" |
5003 echo "*** If you have an old version installed, it is best to remove it, although" | 5837 echo "*** If you have an old version installed, it is best to remove it, although" |
5004 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" | 5838 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" |
5005 else | 5839 else |
5006 echo "*** The test program failed to compile or link. See the file config.log for the" | 5840 echo "$as_me: failed program was:" >&5 |
5841 sed 's/^/| /' conftest.$ac_ext >&5 | |
5842 | |
5843 echo "*** The test program failed to compile or link. See the file config.log for the" | |
5007 echo "*** exact error that occured. This usually means GLIB was incorrectly installed" | 5844 echo "*** exact error that occured. This usually means GLIB was incorrectly installed" |
5008 echo "*** or that you have moved GLIB since it was installed. In the latter case, you" | 5845 echo "*** or that you have moved GLIB since it was installed. In the latter case, you" |
5009 echo "*** may want to edit the glib-config script: $GLIB_CONFIG" | 5846 echo "*** may want to edit the glib-config script: $GLIB_CONFIG" |
5010 fi | 5847 fi |
5011 rm -f core conftest.err conftest.$ac_objext \ | 5848 |
5012 conftest$ac_exeext conftest.$ac_ext | 5849 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
5850 conftest$ac_exeext conftest.$ac_ext | |
5013 CFLAGS="$ac_save_CFLAGS" | 5851 CFLAGS="$ac_save_CFLAGS" |
5014 LIBS="$ac_save_LIBS" | 5852 LIBS="$ac_save_LIBS" |
5015 fi | 5853 fi |
5016 fi | 5854 fi |
5017 GLIB_CFLAGS="" | 5855 GLIB_CFLAGS="" |
5018 GLIB_LIBS="" | 5856 GLIB_LIBS="" |
5019 as_fn_error $? "as_fn_error $? \"Cannot find GLIB: Is glib-config in path?\" \"$LINENO\" 5" "$LINENO" 5 | 5857 { { echo "$as_me:$LINENO: error: { { echo \"$as_me:$LINENO: error: Cannot find GLIB: Is glib-config in path?\" >&5 |
5858 echo \"$as_me: error: Cannot find GLIB: Is glib-config in path?\" >&2;} | |
5859 { (exit 1); exit 1; }; }" >&5 | |
5860 echo "$as_me: error: { { echo \"$as_me:$LINENO: error: Cannot find GLIB: Is glib-config in path?\" >&5 | |
5861 echo \"$as_me: error: Cannot find GLIB: Is glib-config in path?\" >&2;} | |
5862 { (exit 1); exit 1; }; }" >&2;} | |
5863 { (exit 1); exit 1; }; } | |
5020 fi | 5864 fi |
5021 | 5865 |
5022 | 5866 |
5023 rm -f conf.glibtest | 5867 rm -f conf.glibtest |
5024 | 5868 |
5025 | 5869 |
5026 # Check whether --with-gtk-prefix was given. | 5870 # Check whether --with-gtk-prefix was given. |
5027 if test "${with_gtk_prefix+set}" = set; then : | 5871 if test "${with_gtk_prefix+set}" = set; then |
5028 withval=$with_gtk_prefix; gtk_config_prefix="$withval" | 5872 withval=$with_gtk_prefix; gtk_config_prefix="$withval" |
5029 else | 5873 else |
5030 gtk_config_prefix="" | 5874 gtk_config_prefix="" |
5031 fi | 5875 fi |
5032 | 5876 |
5033 | 5877 |
5034 # Check whether --with-gtk-exec-prefix was given. | 5878 # Check whether --with-gtk-exec-prefix was given. |
5035 if test "${with_gtk_exec_prefix+set}" = set; then : | 5879 if test "${with_gtk_exec_prefix+set}" = set; then |
5036 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval" | 5880 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval" |
5037 else | 5881 else |
5038 gtk_config_exec_prefix="" | 5882 gtk_config_exec_prefix="" |
5039 fi | 5883 fi |
5040 | 5884 |
5041 # Check whether --enable-gtktest was given. | 5885 # Check whether --enable-gtktest was given. |
5042 if test "${enable_gtktest+set}" = set; then : | 5886 if test "${enable_gtktest+set}" = set; then |
5043 enableval=$enable_gtktest; | 5887 enableval=$enable_gtktest; |
5044 else | 5888 else |
5045 enable_gtktest=yes | 5889 enable_gtktest=yes |
5046 fi | 5890 fi |
5047 | 5891 |
5068 fi | 5912 fi |
5069 fi | 5913 fi |
5070 | 5914 |
5071 # Extract the first word of "gtk-config", so it can be a program name with args. | 5915 # Extract the first word of "gtk-config", so it can be a program name with args. |
5072 set dummy gtk-config; ac_word=$2 | 5916 set dummy gtk-config; ac_word=$2 |
5073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 5917 { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5074 $as_echo_n "checking for $ac_word... " >&6; } | 5918 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
5075 if ${ac_cv_path_GTK_CONFIG+:} false; then : | 5919 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then |
5076 $as_echo_n "(cached) " >&6 | 5920 echo $ECHO_N "(cached) $ECHO_C" >&6 |
5077 else | 5921 else |
5078 case $GTK_CONFIG in | 5922 case $GTK_CONFIG in |
5079 [\\/]* | ?:[\\/]*) | 5923 [\\/]* | ?:[\\/]*) |
5080 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path. | 5924 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path. |
5081 ;; | 5925 ;; |
5083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 5927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
5084 for as_dir in $PATH | 5928 for as_dir in $PATH |
5085 do | 5929 do |
5086 IFS=$as_save_IFS | 5930 IFS=$as_save_IFS |
5087 test -z "$as_dir" && as_dir=. | 5931 test -z "$as_dir" && as_dir=. |
5088 for ac_exec_ext in '' $ac_executable_extensions; do | 5932 for ac_exec_ext in '' $ac_executable_extensions; do |
5089 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 5933 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
5090 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext" | 5934 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
5091 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 5935 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5092 break 2 | 5936 break 2 |
5093 fi | 5937 fi |
5094 done | 5938 done |
5095 done | 5939 done |
5096 IFS=$as_save_IFS | 5940 IFS=$as_save_IFS |
5097 | 5941 |
5098 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no" | 5942 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no" |
5099 ;; | 5943 ;; |
5100 esac | 5944 esac |
5101 fi | 5945 fi |
5102 GTK_CONFIG=$ac_cv_path_GTK_CONFIG | 5946 GTK_CONFIG=$ac_cv_path_GTK_CONFIG |
5103 if test -n "$GTK_CONFIG"; then | 5947 if test -n "$GTK_CONFIG"; then |
5104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CONFIG" >&5 | 5948 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5 |
5105 $as_echo "$GTK_CONFIG" >&6; } | 5949 echo "${ECHO_T}$GTK_CONFIG" >&6; } |
5106 else | 5950 else |
5107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 5951 { echo "$as_me:$LINENO: result: no" >&5 |
5108 $as_echo "no" >&6; } | 5952 echo "${ECHO_T}no" >&6; } |
5109 fi | 5953 fi |
5110 | 5954 |
5111 | 5955 |
5112 min_gtk_version=1.2.0 | 5956 min_gtk_version=1.2.0 |
5113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK - version >= $min_gtk_version" >&5 | 5957 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5 |
5114 $as_echo_n "checking for GTK - version >= $min_gtk_version... " >&6; } | 5958 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; } |
5115 no_gtk="" | 5959 no_gtk="" |
5116 if test "$GTK_CONFIG" = "no" ; then | 5960 if test "$GTK_CONFIG" = "no" ; then |
5117 no_gtk=yes | 5961 no_gtk=yes |
5118 else | 5962 else |
5119 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags` | 5963 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags` |
5128 ac_save_CFLAGS="$CFLAGS" | 5972 ac_save_CFLAGS="$CFLAGS" |
5129 ac_save_LIBS="$LIBS" | 5973 ac_save_LIBS="$LIBS" |
5130 CFLAGS="$CFLAGS $GTK_CFLAGS" | 5974 CFLAGS="$CFLAGS $GTK_CFLAGS" |
5131 LIBS="$GTK_LIBS $LIBS" | 5975 LIBS="$GTK_LIBS $LIBS" |
5132 rm -f conf.gtktest | 5976 rm -f conf.gtktest |
5133 if test "$cross_compiling" = yes; then : | 5977 if test "$cross_compiling" = yes; then |
5134 echo $ac_n "cross compiling; assumed OK... $ac_c" | 5978 echo $ac_n "cross compiling; assumed OK... $ac_c" |
5135 else | 5979 else |
5136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 5980 cat >conftest.$ac_ext <<_ACEOF |
5981 /* confdefs.h. */ | |
5982 _ACEOF | |
5983 cat confdefs.h >>conftest.$ac_ext | |
5984 cat >>conftest.$ac_ext <<_ACEOF | |
5137 /* end confdefs.h. */ | 5985 /* end confdefs.h. */ |
5138 | 5986 |
5139 #include <gtk/gtk.h> | 5987 #include <gtk/gtk.h> |
5140 #include <stdio.h> | 5988 #include <stdio.h> |
5141 #include <stdlib.h> | 5989 #include <stdlib.h> |
5209 } | 6057 } |
5210 return 1; | 6058 return 1; |
5211 } | 6059 } |
5212 | 6060 |
5213 _ACEOF | 6061 _ACEOF |
5214 if ac_fn_c_try_run "$LINENO"; then : | 6062 rm -f conftest$ac_exeext |
5215 | 6063 if { (ac_try="$ac_link" |
5216 else | 6064 case "(($ac_try" in |
5217 no_gtk=yes | 6065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
5218 fi | 6066 *) ac_try_echo=$ac_try;; |
5219 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | 6067 esac |
5220 conftest.$ac_objext conftest.beam conftest.$ac_ext | 6068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
5221 fi | 6069 (eval "$ac_link") 2>&5 |
6070 ac_status=$? | |
6071 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
6072 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | |
6073 { (case "(($ac_try" in | |
6074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
6075 *) ac_try_echo=$ac_try;; | |
6076 esac | |
6077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
6078 (eval "$ac_try") 2>&5 | |
6079 ac_status=$? | |
6080 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
6081 (exit $ac_status); }; }; then | |
6082 : | |
6083 else | |
6084 echo "$as_me: program exited with status $ac_status" >&5 | |
6085 echo "$as_me: failed program was:" >&5 | |
6086 sed 's/^/| /' conftest.$ac_ext >&5 | |
6087 | |
6088 ( exit $ac_status ) | |
6089 no_gtk=yes | |
6090 fi | |
6091 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | |
6092 fi | |
6093 | |
5222 | 6094 |
5223 CFLAGS="$ac_save_CFLAGS" | 6095 CFLAGS="$ac_save_CFLAGS" |
5224 LIBS="$ac_save_LIBS" | 6096 LIBS="$ac_save_LIBS" |
5225 fi | 6097 fi |
5226 fi | 6098 fi |
5227 if test "x$no_gtk" = x ; then | 6099 if test "x$no_gtk" = x ; then |
5228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 6100 { echo "$as_me:$LINENO: result: yes" >&5 |
5229 $as_echo "yes" >&6; } | 6101 echo "${ECHO_T}yes" >&6; } |
5230 : | 6102 : |
5231 else | 6103 else |
5232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 6104 { echo "$as_me:$LINENO: result: no" >&5 |
5233 $as_echo "no" >&6; } | 6105 echo "${ECHO_T}no" >&6; } |
5234 if test "$GTK_CONFIG" = "no" ; then | 6106 if test "$GTK_CONFIG" = "no" ; then |
5235 echo "*** The gtk-config script installed by GTK could not be found" | 6107 echo "*** The gtk-config script installed by GTK could not be found" |
5236 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in" | 6108 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in" |
5237 echo "*** your path, or set the GTK_CONFIG environment variable to the" | 6109 echo "*** your path, or set the GTK_CONFIG environment variable to the" |
5238 echo "*** full path to gtk-config." | 6110 echo "*** full path to gtk-config." |
5241 : | 6113 : |
5242 else | 6114 else |
5243 echo "*** Could not run GTK test program, checking why..." | 6115 echo "*** Could not run GTK test program, checking why..." |
5244 CFLAGS="$CFLAGS $GTK_CFLAGS" | 6116 CFLAGS="$CFLAGS $GTK_CFLAGS" |
5245 LIBS="$LIBS $GTK_LIBS" | 6117 LIBS="$LIBS $GTK_LIBS" |
5246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 6118 cat >conftest.$ac_ext <<_ACEOF |
6119 /* confdefs.h. */ | |
6120 _ACEOF | |
6121 cat confdefs.h >>conftest.$ac_ext | |
6122 cat >>conftest.$ac_ext <<_ACEOF | |
5247 /* end confdefs.h. */ | 6123 /* end confdefs.h. */ |
5248 | 6124 |
5249 #include <gtk/gtk.h> | 6125 #include <gtk/gtk.h> |
5250 #include <stdio.h> | 6126 #include <stdio.h> |
5251 | 6127 |
5255 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version)); | 6131 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version)); |
5256 ; | 6132 ; |
5257 return 0; | 6133 return 0; |
5258 } | 6134 } |
5259 _ACEOF | 6135 _ACEOF |
5260 if ac_fn_c_try_link "$LINENO"; then : | 6136 rm -f conftest.$ac_objext conftest$ac_exeext |
6137 if { (ac_try="$ac_link" | |
6138 case "(($ac_try" in | |
6139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
6140 *) ac_try_echo=$ac_try;; | |
6141 esac | |
6142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
6143 (eval "$ac_link") 2>conftest.er1 | |
6144 ac_status=$? | |
6145 grep -v '^ *+' conftest.er1 >conftest.err | |
6146 rm -f conftest.er1 | |
6147 cat conftest.err >&5 | |
6148 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
6149 (exit $ac_status); } && { | |
6150 test -z "$ac_c_werror_flag" || | |
6151 test ! -s conftest.err | |
6152 } && test -s conftest$ac_exeext && | |
6153 $as_test_x conftest$ac_exeext; then | |
5261 echo "*** The test program compiled, but did not run. This usually means" | 6154 echo "*** The test program compiled, but did not run. This usually means" |
5262 echo "*** that the run-time linker is not finding GTK or finding the wrong" | 6155 echo "*** that the run-time linker is not finding GTK or finding the wrong" |
5263 echo "*** version of GTK. If it is not finding GTK, you'll need to set your" | 6156 echo "*** version of GTK. If it is not finding GTK, you'll need to set your" |
5264 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" | 6157 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" |
5265 echo "*** to the installed location Also, make sure you have run ldconfig if that" | 6158 echo "*** to the installed location Also, make sure you have run ldconfig if that" |
5266 echo "*** is required on your system" | 6159 echo "*** is required on your system" |
5267 echo "***" | 6160 echo "***" |
5268 echo "*** If you have an old version installed, it is best to remove it, although" | 6161 echo "*** If you have an old version installed, it is best to remove it, although" |
5269 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" | 6162 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" |
5270 else | 6163 else |
5271 echo "*** The test program failed to compile or link. See the file config.log for the" | 6164 echo "$as_me: failed program was:" >&5 |
6165 sed 's/^/| /' conftest.$ac_ext >&5 | |
6166 | |
6167 echo "*** The test program failed to compile or link. See the file config.log for the" | |
5272 echo "*** exact error that occured. This usually means GTK was incorrectly installed" | 6168 echo "*** exact error that occured. This usually means GTK was incorrectly installed" |
5273 echo "*** or that you have moved GTK since it was installed. In the latter case, you" | 6169 echo "*** or that you have moved GTK since it was installed. In the latter case, you" |
5274 echo "*** may want to edit the gtk-config script: $GTK_CONFIG" | 6170 echo "*** may want to edit the gtk-config script: $GTK_CONFIG" |
5275 fi | 6171 fi |
5276 rm -f core conftest.err conftest.$ac_objext \ | 6172 |
5277 conftest$ac_exeext conftest.$ac_ext | 6173 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
6174 conftest$ac_exeext conftest.$ac_ext | |
5278 CFLAGS="$ac_save_CFLAGS" | 6175 CFLAGS="$ac_save_CFLAGS" |
5279 LIBS="$ac_save_LIBS" | 6176 LIBS="$ac_save_LIBS" |
5280 fi | 6177 fi |
5281 fi | 6178 fi |
5282 GTK_CFLAGS="" | 6179 GTK_CFLAGS="" |
5283 GTK_LIBS="" | 6180 GTK_LIBS="" |
5284 as_fn_error $? "as_fn_error $? \"Cannot find GTK: Is gtk-config in path?\" \"$LINENO\" 5" "$LINENO" 5 | 6181 { { echo "$as_me:$LINENO: error: { { echo \"$as_me:$LINENO: error: Cannot find GTK: Is gtk-config in path?\" >&5 |
6182 echo \"$as_me: error: Cannot find GTK: Is gtk-config in path?\" >&2;} | |
6183 { (exit 1); exit 1; }; }" >&5 | |
6184 echo "$as_me: error: { { echo \"$as_me:$LINENO: error: Cannot find GTK: Is gtk-config in path?\" >&5 | |
6185 echo \"$as_me: error: Cannot find GTK: Is gtk-config in path?\" >&2;} | |
6186 { (exit 1); exit 1; }; }" >&2;} | |
6187 { (exit 1); exit 1; }; } | |
5285 fi | 6188 fi |
5286 | 6189 |
5287 | 6190 |
5288 rm -f conf.gtktest | 6191 rm -f conf.gtktest |
5289 | 6192 |
5290 | 6193 |
5291 # Check whether --with-imlib-prefix was given. | 6194 # Check whether --with-imlib-prefix was given. |
5292 if test "${with_imlib_prefix+set}" = set; then : | 6195 if test "${with_imlib_prefix+set}" = set; then |
5293 withval=$with_imlib_prefix; imlib_prefix="$withval" | 6196 withval=$with_imlib_prefix; imlib_prefix="$withval" |
5294 else | 6197 else |
5295 imlib_prefix="" | 6198 imlib_prefix="" |
5296 fi | 6199 fi |
5297 | 6200 |
5298 | 6201 |
5299 # Check whether --with-imlib-exec-prefix was given. | 6202 # Check whether --with-imlib-exec-prefix was given. |
5300 if test "${with_imlib_exec_prefix+set}" = set; then : | 6203 if test "${with_imlib_exec_prefix+set}" = set; then |
5301 withval=$with_imlib_exec_prefix; imlib_exec_prefix="$withval" | 6204 withval=$with_imlib_exec_prefix; imlib_exec_prefix="$withval" |
5302 else | 6205 else |
5303 imlib_exec_prefix="" | 6206 imlib_exec_prefix="" |
5304 fi | 6207 fi |
5305 | 6208 |
5306 # Check whether --enable-imlibtest was given. | 6209 # Check whether --enable-imlibtest was given. |
5307 if test "${enable_imlibtest+set}" = set; then : | 6210 if test "${enable_imlibtest+set}" = set; then |
5308 enableval=$enable_imlibtest; | 6211 enableval=$enable_imlibtest; |
5309 else | 6212 else |
5310 enable_imlibtest=yes | 6213 enable_imlibtest=yes |
5311 fi | 6214 fi |
5312 | 6215 |
5324 fi | 6227 fi |
5325 fi | 6228 fi |
5326 | 6229 |
5327 # Extract the first word of "imlib-config", so it can be a program name with args. | 6230 # Extract the first word of "imlib-config", so it can be a program name with args. |
5328 set dummy imlib-config; ac_word=$2 | 6231 set dummy imlib-config; ac_word=$2 |
5329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 6232 { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5330 $as_echo_n "checking for $ac_word... " >&6; } | 6233 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
5331 if ${ac_cv_path_IMLIB_CONFIG+:} false; then : | 6234 if test "${ac_cv_path_IMLIB_CONFIG+set}" = set; then |
5332 $as_echo_n "(cached) " >&6 | 6235 echo $ECHO_N "(cached) $ECHO_C" >&6 |
5333 else | 6236 else |
5334 case $IMLIB_CONFIG in | 6237 case $IMLIB_CONFIG in |
5335 [\\/]* | ?:[\\/]*) | 6238 [\\/]* | ?:[\\/]*) |
5336 ac_cv_path_IMLIB_CONFIG="$IMLIB_CONFIG" # Let the user override the test with a path. | 6239 ac_cv_path_IMLIB_CONFIG="$IMLIB_CONFIG" # Let the user override the test with a path. |
5337 ;; | 6240 ;; |
5339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 6242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
5340 for as_dir in $PATH | 6243 for as_dir in $PATH |
5341 do | 6244 do |
5342 IFS=$as_save_IFS | 6245 IFS=$as_save_IFS |
5343 test -z "$as_dir" && as_dir=. | 6246 test -z "$as_dir" && as_dir=. |
5344 for ac_exec_ext in '' $ac_executable_extensions; do | 6247 for ac_exec_ext in '' $ac_executable_extensions; do |
5345 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 6248 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
5346 ac_cv_path_IMLIB_CONFIG="$as_dir/$ac_word$ac_exec_ext" | 6249 ac_cv_path_IMLIB_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
5347 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 6250 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5348 break 2 | 6251 break 2 |
5349 fi | 6252 fi |
5350 done | 6253 done |
5351 done | 6254 done |
5352 IFS=$as_save_IFS | 6255 IFS=$as_save_IFS |
5353 | 6256 |
5354 test -z "$ac_cv_path_IMLIB_CONFIG" && ac_cv_path_IMLIB_CONFIG="no" | 6257 test -z "$ac_cv_path_IMLIB_CONFIG" && ac_cv_path_IMLIB_CONFIG="no" |
5355 ;; | 6258 ;; |
5356 esac | 6259 esac |
5357 fi | 6260 fi |
5358 IMLIB_CONFIG=$ac_cv_path_IMLIB_CONFIG | 6261 IMLIB_CONFIG=$ac_cv_path_IMLIB_CONFIG |
5359 if test -n "$IMLIB_CONFIG"; then | 6262 if test -n "$IMLIB_CONFIG"; then |
5360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IMLIB_CONFIG" >&5 | 6263 { echo "$as_me:$LINENO: result: $IMLIB_CONFIG" >&5 |
5361 $as_echo "$IMLIB_CONFIG" >&6; } | 6264 echo "${ECHO_T}$IMLIB_CONFIG" >&6; } |
5362 else | 6265 else |
5363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 6266 { echo "$as_me:$LINENO: result: no" >&5 |
5364 $as_echo "no" >&6; } | 6267 echo "${ECHO_T}no" >&6; } |
5365 fi | 6268 fi |
5366 | 6269 |
5367 | 6270 |
5368 min_imlib_version=1.9.4 | 6271 min_imlib_version=1.9.4 |
5369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IMLIB - version >= $min_imlib_version" >&5 | 6272 { echo "$as_me:$LINENO: checking for IMLIB - version >= $min_imlib_version" >&5 |
5370 $as_echo_n "checking for IMLIB - version >= $min_imlib_version... " >&6; } | 6273 echo $ECHO_N "checking for IMLIB - version >= $min_imlib_version... $ECHO_C" >&6; } |
5371 no_imlib="" | 6274 no_imlib="" |
5372 if test "$IMLIB_CONFIG" = "no" ; then | 6275 if test "$IMLIB_CONFIG" = "no" ; then |
5373 no_imlib=yes | 6276 no_imlib=yes |
5374 else | 6277 else |
5375 GDK_IMLIB_CFLAGS=`$IMLIB_CONFIG $imlibconf_args --cflags-gdk` | 6278 GDK_IMLIB_CFLAGS=`$IMLIB_CONFIG $imlibconf_args --cflags-gdk` |
5385 ac_save_CFLAGS="$CFLAGS" | 6288 ac_save_CFLAGS="$CFLAGS" |
5386 ac_save_LIBS="$LIBS" | 6289 ac_save_LIBS="$LIBS" |
5387 CFLAGS="$CFLAGS $GDK_IMLIB_CFLAGS" | 6290 CFLAGS="$CFLAGS $GDK_IMLIB_CFLAGS" |
5388 LIBS="$LIBS $GDK_IMLIB_LIBS" | 6291 LIBS="$LIBS $GDK_IMLIB_LIBS" |
5389 rm -f conf.imlibtest | 6292 rm -f conf.imlibtest |
5390 if test "$cross_compiling" = yes; then : | 6293 if test "$cross_compiling" = yes; then |
5391 echo $ac_n "cross compiling; assumed OK... $ac_c" | 6294 echo $ac_n "cross compiling; assumed OK... $ac_c" |
5392 else | 6295 else |
5393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 6296 cat >conftest.$ac_ext <<_ACEOF |
6297 /* confdefs.h. */ | |
6298 _ACEOF | |
6299 cat confdefs.h >>conftest.$ac_ext | |
6300 cat >>conftest.$ac_ext <<_ACEOF | |
5394 /* end confdefs.h. */ | 6301 /* end confdefs.h. */ |
5395 | 6302 |
5396 #include <stdio.h> | 6303 #include <stdio.h> |
5397 #include <stdlib.h> | 6304 #include <stdlib.h> |
5398 #include <gdk_imlib.h> | 6305 #include <gdk_imlib.h> |
5430 } | 6337 } |
5431 } | 6338 } |
5432 | 6339 |
5433 | 6340 |
5434 _ACEOF | 6341 _ACEOF |
5435 if ac_fn_c_try_run "$LINENO"; then : | 6342 rm -f conftest$ac_exeext |
5436 | 6343 if { (ac_try="$ac_link" |
5437 else | 6344 case "(($ac_try" in |
5438 no_imlib=yes | 6345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
5439 fi | 6346 *) ac_try_echo=$ac_try;; |
5440 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | 6347 esac |
5441 conftest.$ac_objext conftest.beam conftest.$ac_ext | 6348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
5442 fi | 6349 (eval "$ac_link") 2>&5 |
6350 ac_status=$? | |
6351 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
6352 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | |
6353 { (case "(($ac_try" in | |
6354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
6355 *) ac_try_echo=$ac_try;; | |
6356 esac | |
6357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
6358 (eval "$ac_try") 2>&5 | |
6359 ac_status=$? | |
6360 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
6361 (exit $ac_status); }; }; then | |
6362 : | |
6363 else | |
6364 echo "$as_me: program exited with status $ac_status" >&5 | |
6365 echo "$as_me: failed program was:" >&5 | |
6366 sed 's/^/| /' conftest.$ac_ext >&5 | |
6367 | |
6368 ( exit $ac_status ) | |
6369 no_imlib=yes | |
6370 fi | |
6371 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | |
6372 fi | |
6373 | |
5443 | 6374 |
5444 CFLAGS="$ac_save_CFLAGS" | 6375 CFLAGS="$ac_save_CFLAGS" |
5445 LIBS="$ac_save_LIBS" | 6376 LIBS="$ac_save_LIBS" |
5446 fi | 6377 fi |
5447 fi | 6378 fi |
5448 if test "x$no_imlib" = x ; then | 6379 if test "x$no_imlib" = x ; then |
5449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 6380 { echo "$as_me:$LINENO: result: yes" >&5 |
5450 $as_echo "yes" >&6; } | 6381 echo "${ECHO_T}yes" >&6; } |
5451 $as_echo "#define USE_IMLIB 1" >>confdefs.h | 6382 cat >>confdefs.h <<\_ACEOF |
6383 #define USE_IMLIB 1 | |
6384 _ACEOF | |
5452 | 6385 |
5453 else | 6386 else |
5454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 6387 { echo "$as_me:$LINENO: result: no" >&5 |
5455 $as_echo "no" >&6; } | 6388 echo "${ECHO_T}no" >&6; } |
5456 if test "$IMLIB_CONFIG" = "no" ; then | 6389 if test "$IMLIB_CONFIG" = "no" ; then |
5457 echo "*** The imlib-config script installed by IMLIB could not be found" | 6390 echo "*** The imlib-config script installed by IMLIB could not be found" |
5458 echo "*** If IMLIB was installed in PREFIX, make sure PREFIX/bin is in" | 6391 echo "*** If IMLIB was installed in PREFIX, make sure PREFIX/bin is in" |
5459 echo "*** your path, or set the IMLIB_CONFIG environment variable to the" | 6392 echo "*** your path, or set the IMLIB_CONFIG environment variable to the" |
5460 echo "*** full path to imlib-config." | 6393 echo "*** full path to imlib-config." |
5463 : | 6396 : |
5464 else | 6397 else |
5465 echo "*** Could not run IMLIB test program, checking why..." | 6398 echo "*** Could not run IMLIB test program, checking why..." |
5466 CFLAGS="$CFLAGS $GDK_IMLIB_CFLAGS" | 6399 CFLAGS="$CFLAGS $GDK_IMLIB_CFLAGS" |
5467 LIBS="$LIBS $GDK_IMLIB_LIBS" | 6400 LIBS="$LIBS $GDK_IMLIB_LIBS" |
5468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 6401 cat >conftest.$ac_ext <<_ACEOF |
6402 /* confdefs.h. */ | |
6403 _ACEOF | |
6404 cat confdefs.h >>conftest.$ac_ext | |
6405 cat >>conftest.$ac_ext <<_ACEOF | |
5469 /* end confdefs.h. */ | 6406 /* end confdefs.h. */ |
5470 | 6407 |
5471 #include <stdio.h> | 6408 #include <stdio.h> |
5472 #include <gdk_imlib.h> | 6409 #include <gdk_imlib.h> |
5473 | 6410 |
5477 return 0; | 6414 return 0; |
5478 ; | 6415 ; |
5479 return 0; | 6416 return 0; |
5480 } | 6417 } |
5481 _ACEOF | 6418 _ACEOF |
5482 if ac_fn_c_try_link "$LINENO"; then : | 6419 rm -f conftest.$ac_objext conftest$ac_exeext |
6420 if { (ac_try="$ac_link" | |
6421 case "(($ac_try" in | |
6422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
6423 *) ac_try_echo=$ac_try;; | |
6424 esac | |
6425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
6426 (eval "$ac_link") 2>conftest.er1 | |
6427 ac_status=$? | |
6428 grep -v '^ *+' conftest.er1 >conftest.err | |
6429 rm -f conftest.er1 | |
6430 cat conftest.err >&5 | |
6431 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
6432 (exit $ac_status); } && { | |
6433 test -z "$ac_c_werror_flag" || | |
6434 test ! -s conftest.err | |
6435 } && test -s conftest$ac_exeext && | |
6436 $as_test_x conftest$ac_exeext; then | |
5483 echo "*** The test program compiled, but did not run. This usually means" | 6437 echo "*** The test program compiled, but did not run. This usually means" |
5484 echo "*** that the run-time linker is not finding IMLIB or finding the wrong" | 6438 echo "*** that the run-time linker is not finding IMLIB or finding the wrong" |
5485 echo "*** version of IMLIB. If it is not finding IMLIB, you'll need to set your" | 6439 echo "*** version of IMLIB. If it is not finding IMLIB, you'll need to set your" |
5486 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" | 6440 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" |
5487 echo "*** to the installed location Also, make sure you have run ldconfig if that" | 6441 echo "*** to the installed location Also, make sure you have run ldconfig if that" |
5488 echo "*** is required on your system" | 6442 echo "*** is required on your system" |
5489 echo "***" | 6443 echo "***" |
5490 echo "*** If you have an old version installed, it is best to remove it, although" | 6444 echo "*** If you have an old version installed, it is best to remove it, although" |
5491 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" | 6445 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" |
5492 else | 6446 else |
5493 echo "*** The test program failed to compile or link. See the file config.log for the" | 6447 echo "$as_me: failed program was:" >&5 |
6448 sed 's/^/| /' conftest.$ac_ext >&5 | |
6449 | |
6450 echo "*** The test program failed to compile or link. See the file config.log for the" | |
5494 echo "*** exact error that occured. This usually means IMLIB was incorrectly installed" | 6451 echo "*** exact error that occured. This usually means IMLIB was incorrectly installed" |
5495 echo "*** or that you have moved IMLIB since it was installed. In the latter case, you" | 6452 echo "*** or that you have moved IMLIB since it was installed. In the latter case, you" |
5496 echo "*** may want to edit the imlib-config script: $IMLIB_CONFIG" | 6453 echo "*** may want to edit the imlib-config script: $IMLIB_CONFIG" |
5497 fi | 6454 fi |
5498 rm -f core conftest.err conftest.$ac_objext \ | 6455 |
5499 conftest$ac_exeext conftest.$ac_ext | 6456 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
6457 conftest$ac_exeext conftest.$ac_ext | |
5500 CFLAGS="$ac_save_CFLAGS" | 6458 CFLAGS="$ac_save_CFLAGS" |
5501 LIBS="$ac_save_LIBS" | 6459 LIBS="$ac_save_LIBS" |
5502 fi | 6460 fi |
5503 fi | 6461 fi |
5504 GDK_IMLIB_CFLAGS="" | 6462 GDK_IMLIB_CFLAGS="" |
5505 GDK_IMLIB_LIBS="" | 6463 GDK_IMLIB_LIBS="" |
5506 as_fn_error $? "IMLIB not found or too old. Dynamic Windows cannot build without it." "$LINENO" 5 | 6464 { { echo "$as_me:$LINENO: error: IMLIB not found or too old. Dynamic Windows cannot build without it." >&5 |
6465 echo "$as_me: error: IMLIB not found or too old. Dynamic Windows cannot build without it." >&2;} | |
6466 { (exit 1); exit 1; }; } | |
5507 fi | 6467 fi |
5508 | 6468 |
5509 | 6469 |
5510 rm -f conf.gdkimlibtest | 6470 rm -f conf.gdkimlibtest |
5511 | 6471 |
5514 GTK_LIBS=`$PKG_CFG --libs $GTK_PACKAGES` | 6474 GTK_LIBS=`$PKG_CFG --libs $GTK_PACKAGES` |
5515 fi | 6475 fi |
5516 fi | 6476 fi |
5517 | 6477 |
5518 if test $check_pthreads = "yes"; then | 6478 if test $check_pthreads = "yes"; then |
5519 ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default" | 6479 if test "${ac_cv_header_pthread_h+set}" = set; then |
5520 if test "x$ac_cv_header_pthread_h" = xyes; then : | 6480 { echo "$as_me:$LINENO: checking for pthread.h" >&5 |
5521 | 6481 echo $ECHO_N "checking for pthread.h... $ECHO_C" >&6; } |
5522 else | 6482 if test "${ac_cv_header_pthread_h+set}" = set; then |
5523 as_fn_error $? "pthread header not found. Dynamic Windows cannot build without it." "$LINENO" 5 | 6483 echo $ECHO_N "(cached) $ECHO_C" >&6 |
5524 fi | 6484 fi |
5525 | 6485 { echo "$as_me:$LINENO: result: $ac_cv_header_pthread_h" >&5 |
5526 | 6486 echo "${ECHO_T}$ac_cv_header_pthread_h" >&6; } |
5527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_attr_init in -lpthread" >&5 | 6487 else |
5528 $as_echo_n "checking for pthread_attr_init in -lpthread... " >&6; } | 6488 # Is the header compilable? |
5529 if ${ac_cv_lib_pthread_pthread_attr_init+:} false; then : | 6489 { echo "$as_me:$LINENO: checking pthread.h usability" >&5 |
5530 $as_echo_n "(cached) " >&6 | 6490 echo $ECHO_N "checking pthread.h usability... $ECHO_C" >&6; } |
6491 cat >conftest.$ac_ext <<_ACEOF | |
6492 /* confdefs.h. */ | |
6493 _ACEOF | |
6494 cat confdefs.h >>conftest.$ac_ext | |
6495 cat >>conftest.$ac_ext <<_ACEOF | |
6496 /* end confdefs.h. */ | |
6497 $ac_includes_default | |
6498 #include <pthread.h> | |
6499 _ACEOF | |
6500 rm -f conftest.$ac_objext | |
6501 if { (ac_try="$ac_compile" | |
6502 case "(($ac_try" in | |
6503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
6504 *) ac_try_echo=$ac_try;; | |
6505 esac | |
6506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
6507 (eval "$ac_compile") 2>conftest.er1 | |
6508 ac_status=$? | |
6509 grep -v '^ *+' conftest.er1 >conftest.err | |
6510 rm -f conftest.er1 | |
6511 cat conftest.err >&5 | |
6512 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
6513 (exit $ac_status); } && { | |
6514 test -z "$ac_c_werror_flag" || | |
6515 test ! -s conftest.err | |
6516 } && test -s conftest.$ac_objext; then | |
6517 ac_header_compiler=yes | |
6518 else | |
6519 echo "$as_me: failed program was:" >&5 | |
6520 sed 's/^/| /' conftest.$ac_ext >&5 | |
6521 | |
6522 ac_header_compiler=no | |
6523 fi | |
6524 | |
6525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
6526 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
6527 echo "${ECHO_T}$ac_header_compiler" >&6; } | |
6528 | |
6529 # Is the header present? | |
6530 { echo "$as_me:$LINENO: checking pthread.h presence" >&5 | |
6531 echo $ECHO_N "checking pthread.h presence... $ECHO_C" >&6; } | |
6532 cat >conftest.$ac_ext <<_ACEOF | |
6533 /* confdefs.h. */ | |
6534 _ACEOF | |
6535 cat confdefs.h >>conftest.$ac_ext | |
6536 cat >>conftest.$ac_ext <<_ACEOF | |
6537 /* end confdefs.h. */ | |
6538 #include <pthread.h> | |
6539 _ACEOF | |
6540 if { (ac_try="$ac_cpp conftest.$ac_ext" | |
6541 case "(($ac_try" in | |
6542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
6543 *) ac_try_echo=$ac_try;; | |
6544 esac | |
6545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
6546 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
6547 ac_status=$? | |
6548 grep -v '^ *+' conftest.er1 >conftest.err | |
6549 rm -f conftest.er1 | |
6550 cat conftest.err >&5 | |
6551 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
6552 (exit $ac_status); } >/dev/null && { | |
6553 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
6554 test ! -s conftest.err | |
6555 }; then | |
6556 ac_header_preproc=yes | |
6557 else | |
6558 echo "$as_me: failed program was:" >&5 | |
6559 sed 's/^/| /' conftest.$ac_ext >&5 | |
6560 | |
6561 ac_header_preproc=no | |
6562 fi | |
6563 | |
6564 rm -f conftest.err conftest.$ac_ext | |
6565 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
6566 echo "${ECHO_T}$ac_header_preproc" >&6; } | |
6567 | |
6568 # So? What about this header? | |
6569 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | |
6570 yes:no: ) | |
6571 { echo "$as_me:$LINENO: WARNING: pthread.h: accepted by the compiler, rejected by the preprocessor!" >&5 | |
6572 echo "$as_me: WARNING: pthread.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
6573 { echo "$as_me:$LINENO: WARNING: pthread.h: proceeding with the compiler's result" >&5 | |
6574 echo "$as_me: WARNING: pthread.h: proceeding with the compiler's result" >&2;} | |
6575 ac_header_preproc=yes | |
6576 ;; | |
6577 no:yes:* ) | |
6578 { echo "$as_me:$LINENO: WARNING: pthread.h: present but cannot be compiled" >&5 | |
6579 echo "$as_me: WARNING: pthread.h: present but cannot be compiled" >&2;} | |
6580 { echo "$as_me:$LINENO: WARNING: pthread.h: check for missing prerequisite headers?" >&5 | |
6581 echo "$as_me: WARNING: pthread.h: check for missing prerequisite headers?" >&2;} | |
6582 { echo "$as_me:$LINENO: WARNING: pthread.h: see the Autoconf documentation" >&5 | |
6583 echo "$as_me: WARNING: pthread.h: see the Autoconf documentation" >&2;} | |
6584 { echo "$as_me:$LINENO: WARNING: pthread.h: section \"Present But Cannot Be Compiled\"" >&5 | |
6585 echo "$as_me: WARNING: pthread.h: section \"Present But Cannot Be Compiled\"" >&2;} | |
6586 { echo "$as_me:$LINENO: WARNING: pthread.h: proceeding with the preprocessor's result" >&5 | |
6587 echo "$as_me: WARNING: pthread.h: proceeding with the preprocessor's result" >&2;} | |
6588 { echo "$as_me:$LINENO: WARNING: pthread.h: in the future, the compiler will take precedence" >&5 | |
6589 echo "$as_me: WARNING: pthread.h: in the future, the compiler will take precedence" >&2;} | |
6590 | |
6591 ;; | |
6592 esac | |
6593 { echo "$as_me:$LINENO: checking for pthread.h" >&5 | |
6594 echo $ECHO_N "checking for pthread.h... $ECHO_C" >&6; } | |
6595 if test "${ac_cv_header_pthread_h+set}" = set; then | |
6596 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
6597 else | |
6598 ac_cv_header_pthread_h=$ac_header_preproc | |
6599 fi | |
6600 { echo "$as_me:$LINENO: result: $ac_cv_header_pthread_h" >&5 | |
6601 echo "${ECHO_T}$ac_cv_header_pthread_h" >&6; } | |
6602 | |
6603 fi | |
6604 if test $ac_cv_header_pthread_h = yes; then | |
6605 : | |
6606 else | |
6607 { { echo "$as_me:$LINENO: error: pthread header not found. Dynamic Windows cannot build without it." >&5 | |
6608 echo "$as_me: error: pthread header not found. Dynamic Windows cannot build without it." >&2;} | |
6609 { (exit 1); exit 1; }; } | |
6610 fi | |
6611 | |
6612 | |
6613 { echo "$as_me:$LINENO: checking for pthread_attr_init in -lpthread" >&5 | |
6614 echo $ECHO_N "checking for pthread_attr_init in -lpthread... $ECHO_C" >&6; } | |
6615 if test "${ac_cv_lib_pthread_pthread_attr_init+set}" = set; then | |
6616 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
5531 else | 6617 else |
5532 ac_check_lib_save_LIBS=$LIBS | 6618 ac_check_lib_save_LIBS=$LIBS |
5533 LIBS="-lpthread $LIBS" | 6619 LIBS="-lpthread $LIBS" |
5534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 6620 cat >conftest.$ac_ext <<_ACEOF |
6621 /* confdefs.h. */ | |
6622 _ACEOF | |
6623 cat confdefs.h >>conftest.$ac_ext | |
6624 cat >>conftest.$ac_ext <<_ACEOF | |
5535 /* end confdefs.h. */ | 6625 /* end confdefs.h. */ |
5536 | 6626 |
5537 /* Override any GCC internal prototype to avoid an error. | 6627 /* Override any GCC internal prototype to avoid an error. |
5538 Use char because int might match the return type of a GCC | 6628 Use char because int might match the return type of a GCC |
5539 builtin and then its argument prototype would still apply. */ | 6629 builtin and then its argument prototype would still apply. */ |
5547 return pthread_attr_init (); | 6637 return pthread_attr_init (); |
5548 ; | 6638 ; |
5549 return 0; | 6639 return 0; |
5550 } | 6640 } |
5551 _ACEOF | 6641 _ACEOF |
5552 if ac_fn_c_try_link "$LINENO"; then : | 6642 rm -f conftest.$ac_objext conftest$ac_exeext |
6643 if { (ac_try="$ac_link" | |
6644 case "(($ac_try" in | |
6645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
6646 *) ac_try_echo=$ac_try;; | |
6647 esac | |
6648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
6649 (eval "$ac_link") 2>conftest.er1 | |
6650 ac_status=$? | |
6651 grep -v '^ *+' conftest.er1 >conftest.err | |
6652 rm -f conftest.er1 | |
6653 cat conftest.err >&5 | |
6654 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
6655 (exit $ac_status); } && { | |
6656 test -z "$ac_c_werror_flag" || | |
6657 test ! -s conftest.err | |
6658 } && test -s conftest$ac_exeext && | |
6659 $as_test_x conftest$ac_exeext; then | |
5553 ac_cv_lib_pthread_pthread_attr_init=yes | 6660 ac_cv_lib_pthread_pthread_attr_init=yes |
5554 else | 6661 else |
5555 ac_cv_lib_pthread_pthread_attr_init=no | 6662 echo "$as_me: failed program was:" >&5 |
5556 fi | 6663 sed 's/^/| /' conftest.$ac_ext >&5 |
5557 rm -f core conftest.err conftest.$ac_objext \ | 6664 |
5558 conftest$ac_exeext conftest.$ac_ext | 6665 ac_cv_lib_pthread_pthread_attr_init=no |
6666 fi | |
6667 | |
6668 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
6669 conftest$ac_exeext conftest.$ac_ext | |
5559 LIBS=$ac_check_lib_save_LIBS | 6670 LIBS=$ac_check_lib_save_LIBS |
5560 fi | 6671 fi |
5561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_attr_init" >&5 | 6672 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_attr_init" >&5 |
5562 $as_echo "$ac_cv_lib_pthread_pthread_attr_init" >&6; } | 6673 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_attr_init" >&6; } |
5563 if test "x$ac_cv_lib_pthread_pthread_attr_init" = xyes; then : | 6674 if test $ac_cv_lib_pthread_pthread_attr_init = yes; then |
5564 PTHREAD_LIBS="-lpthread" | 6675 PTHREAD_LIBS="-lpthread" |
5565 else | 6676 else |
5566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_attr_init in -lpthreads" >&5 | 6677 { echo "$as_me:$LINENO: checking for pthread_attr_init in -lpthreads" >&5 |
5567 $as_echo_n "checking for pthread_attr_init in -lpthreads... " >&6; } | 6678 echo $ECHO_N "checking for pthread_attr_init in -lpthreads... $ECHO_C" >&6; } |
5568 if ${ac_cv_lib_pthreads_pthread_attr_init+:} false; then : | 6679 if test "${ac_cv_lib_pthreads_pthread_attr_init+set}" = set; then |
5569 $as_echo_n "(cached) " >&6 | 6680 echo $ECHO_N "(cached) $ECHO_C" >&6 |
5570 else | 6681 else |
5571 ac_check_lib_save_LIBS=$LIBS | 6682 ac_check_lib_save_LIBS=$LIBS |
5572 LIBS="-lpthreads $LIBS" | 6683 LIBS="-lpthreads $LIBS" |
5573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 6684 cat >conftest.$ac_ext <<_ACEOF |
6685 /* confdefs.h. */ | |
6686 _ACEOF | |
6687 cat confdefs.h >>conftest.$ac_ext | |
6688 cat >>conftest.$ac_ext <<_ACEOF | |
5574 /* end confdefs.h. */ | 6689 /* end confdefs.h. */ |
5575 | 6690 |
5576 /* Override any GCC internal prototype to avoid an error. | 6691 /* Override any GCC internal prototype to avoid an error. |
5577 Use char because int might match the return type of a GCC | 6692 Use char because int might match the return type of a GCC |
5578 builtin and then its argument prototype would still apply. */ | 6693 builtin and then its argument prototype would still apply. */ |
5586 return pthread_attr_init (); | 6701 return pthread_attr_init (); |
5587 ; | 6702 ; |
5588 return 0; | 6703 return 0; |
5589 } | 6704 } |
5590 _ACEOF | 6705 _ACEOF |
5591 if ac_fn_c_try_link "$LINENO"; then : | 6706 rm -f conftest.$ac_objext conftest$ac_exeext |
6707 if { (ac_try="$ac_link" | |
6708 case "(($ac_try" in | |
6709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
6710 *) ac_try_echo=$ac_try;; | |
6711 esac | |
6712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
6713 (eval "$ac_link") 2>conftest.er1 | |
6714 ac_status=$? | |
6715 grep -v '^ *+' conftest.er1 >conftest.err | |
6716 rm -f conftest.er1 | |
6717 cat conftest.err >&5 | |
6718 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
6719 (exit $ac_status); } && { | |
6720 test -z "$ac_c_werror_flag" || | |
6721 test ! -s conftest.err | |
6722 } && test -s conftest$ac_exeext && | |
6723 $as_test_x conftest$ac_exeext; then | |
5592 ac_cv_lib_pthreads_pthread_attr_init=yes | 6724 ac_cv_lib_pthreads_pthread_attr_init=yes |
5593 else | 6725 else |
5594 ac_cv_lib_pthreads_pthread_attr_init=no | 6726 echo "$as_me: failed program was:" >&5 |
5595 fi | 6727 sed 's/^/| /' conftest.$ac_ext >&5 |
5596 rm -f core conftest.err conftest.$ac_objext \ | 6728 |
5597 conftest$ac_exeext conftest.$ac_ext | 6729 ac_cv_lib_pthreads_pthread_attr_init=no |
6730 fi | |
6731 | |
6732 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
6733 conftest$ac_exeext conftest.$ac_ext | |
5598 LIBS=$ac_check_lib_save_LIBS | 6734 LIBS=$ac_check_lib_save_LIBS |
5599 fi | 6735 fi |
5600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthreads_pthread_attr_init" >&5 | 6736 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthreads_pthread_attr_init" >&5 |
5601 $as_echo "$ac_cv_lib_pthreads_pthread_attr_init" >&6; } | 6737 echo "${ECHO_T}$ac_cv_lib_pthreads_pthread_attr_init" >&6; } |
5602 if test "x$ac_cv_lib_pthreads_pthread_attr_init" = xyes; then : | 6738 if test $ac_cv_lib_pthreads_pthread_attr_init = yes; then |
5603 PTHREAD_LIBS="-lpthreads" | 6739 PTHREAD_LIBS="-lpthreads" |
5604 else | 6740 else |
5605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_attr_init in -lc_r" >&5 | 6741 { echo "$as_me:$LINENO: checking for pthread_attr_init in -lc_r" >&5 |
5606 $as_echo_n "checking for pthread_attr_init in -lc_r... " >&6; } | 6742 echo $ECHO_N "checking for pthread_attr_init in -lc_r... $ECHO_C" >&6; } |
5607 if ${ac_cv_lib_c_r_pthread_attr_init+:} false; then : | 6743 if test "${ac_cv_lib_c_r_pthread_attr_init+set}" = set; then |
5608 $as_echo_n "(cached) " >&6 | 6744 echo $ECHO_N "(cached) $ECHO_C" >&6 |
5609 else | 6745 else |
5610 ac_check_lib_save_LIBS=$LIBS | 6746 ac_check_lib_save_LIBS=$LIBS |
5611 LIBS="-lc_r $LIBS" | 6747 LIBS="-lc_r $LIBS" |
5612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 6748 cat >conftest.$ac_ext <<_ACEOF |
6749 /* confdefs.h. */ | |
6750 _ACEOF | |
6751 cat confdefs.h >>conftest.$ac_ext | |
6752 cat >>conftest.$ac_ext <<_ACEOF | |
5613 /* end confdefs.h. */ | 6753 /* end confdefs.h. */ |
5614 | 6754 |
5615 /* Override any GCC internal prototype to avoid an error. | 6755 /* Override any GCC internal prototype to avoid an error. |
5616 Use char because int might match the return type of a GCC | 6756 Use char because int might match the return type of a GCC |
5617 builtin and then its argument prototype would still apply. */ | 6757 builtin and then its argument prototype would still apply. */ |
5625 return pthread_attr_init (); | 6765 return pthread_attr_init (); |
5626 ; | 6766 ; |
5627 return 0; | 6767 return 0; |
5628 } | 6768 } |
5629 _ACEOF | 6769 _ACEOF |
5630 if ac_fn_c_try_link "$LINENO"; then : | 6770 rm -f conftest.$ac_objext conftest$ac_exeext |
6771 if { (ac_try="$ac_link" | |
6772 case "(($ac_try" in | |
6773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
6774 *) ac_try_echo=$ac_try;; | |
6775 esac | |
6776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
6777 (eval "$ac_link") 2>conftest.er1 | |
6778 ac_status=$? | |
6779 grep -v '^ *+' conftest.er1 >conftest.err | |
6780 rm -f conftest.er1 | |
6781 cat conftest.err >&5 | |
6782 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
6783 (exit $ac_status); } && { | |
6784 test -z "$ac_c_werror_flag" || | |
6785 test ! -s conftest.err | |
6786 } && test -s conftest$ac_exeext && | |
6787 $as_test_x conftest$ac_exeext; then | |
5631 ac_cv_lib_c_r_pthread_attr_init=yes | 6788 ac_cv_lib_c_r_pthread_attr_init=yes |
5632 else | 6789 else |
5633 ac_cv_lib_c_r_pthread_attr_init=no | 6790 echo "$as_me: failed program was:" >&5 |
5634 fi | 6791 sed 's/^/| /' conftest.$ac_ext >&5 |
5635 rm -f core conftest.err conftest.$ac_objext \ | 6792 |
5636 conftest$ac_exeext conftest.$ac_ext | 6793 ac_cv_lib_c_r_pthread_attr_init=no |
6794 fi | |
6795 | |
6796 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
6797 conftest$ac_exeext conftest.$ac_ext | |
5637 LIBS=$ac_check_lib_save_LIBS | 6798 LIBS=$ac_check_lib_save_LIBS |
5638 fi | 6799 fi |
5639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_r_pthread_attr_init" >&5 | 6800 { echo "$as_me:$LINENO: result: $ac_cv_lib_c_r_pthread_attr_init" >&5 |
5640 $as_echo "$ac_cv_lib_c_r_pthread_attr_init" >&6; } | 6801 echo "${ECHO_T}$ac_cv_lib_c_r_pthread_attr_init" >&6; } |
5641 if test "x$ac_cv_lib_c_r_pthread_attr_init" = xyes; then : | 6802 if test $ac_cv_lib_c_r_pthread_attr_init = yes; then |
5642 PTHREAD_LIBS="-lc_r" | 6803 PTHREAD_LIBS="-lc_r" |
5643 else | 6804 else |
5644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_attr_init in -lc" >&5 | 6805 { echo "$as_me:$LINENO: checking for pthread_attr_init in -lc" >&5 |
5645 $as_echo_n "checking for pthread_attr_init in -lc... " >&6; } | 6806 echo $ECHO_N "checking for pthread_attr_init in -lc... $ECHO_C" >&6; } |
5646 if ${ac_cv_lib_c_pthread_attr_init+:} false; then : | 6807 if test "${ac_cv_lib_c_pthread_attr_init+set}" = set; then |
5647 $as_echo_n "(cached) " >&6 | 6808 echo $ECHO_N "(cached) $ECHO_C" >&6 |
5648 else | 6809 else |
5649 ac_check_lib_save_LIBS=$LIBS | 6810 ac_check_lib_save_LIBS=$LIBS |
5650 LIBS="-lc $LIBS" | 6811 LIBS="-lc $LIBS" |
5651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 6812 cat >conftest.$ac_ext <<_ACEOF |
6813 /* confdefs.h. */ | |
6814 _ACEOF | |
6815 cat confdefs.h >>conftest.$ac_ext | |
6816 cat >>conftest.$ac_ext <<_ACEOF | |
5652 /* end confdefs.h. */ | 6817 /* end confdefs.h. */ |
5653 | 6818 |
5654 /* Override any GCC internal prototype to avoid an error. | 6819 /* Override any GCC internal prototype to avoid an error. |
5655 Use char because int might match the return type of a GCC | 6820 Use char because int might match the return type of a GCC |
5656 builtin and then its argument prototype would still apply. */ | 6821 builtin and then its argument prototype would still apply. */ |
5664 return pthread_attr_init (); | 6829 return pthread_attr_init (); |
5665 ; | 6830 ; |
5666 return 0; | 6831 return 0; |
5667 } | 6832 } |
5668 _ACEOF | 6833 _ACEOF |
5669 if ac_fn_c_try_link "$LINENO"; then : | 6834 rm -f conftest.$ac_objext conftest$ac_exeext |
6835 if { (ac_try="$ac_link" | |
6836 case "(($ac_try" in | |
6837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
6838 *) ac_try_echo=$ac_try;; | |
6839 esac | |
6840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
6841 (eval "$ac_link") 2>conftest.er1 | |
6842 ac_status=$? | |
6843 grep -v '^ *+' conftest.er1 >conftest.err | |
6844 rm -f conftest.er1 | |
6845 cat conftest.err >&5 | |
6846 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
6847 (exit $ac_status); } && { | |
6848 test -z "$ac_c_werror_flag" || | |
6849 test ! -s conftest.err | |
6850 } && test -s conftest$ac_exeext && | |
6851 $as_test_x conftest$ac_exeext; then | |
5670 ac_cv_lib_c_pthread_attr_init=yes | 6852 ac_cv_lib_c_pthread_attr_init=yes |
5671 else | 6853 else |
5672 ac_cv_lib_c_pthread_attr_init=no | 6854 echo "$as_me: failed program was:" >&5 |
5673 fi | 6855 sed 's/^/| /' conftest.$ac_ext >&5 |
5674 rm -f core conftest.err conftest.$ac_objext \ | 6856 |
5675 conftest$ac_exeext conftest.$ac_ext | 6857 ac_cv_lib_c_pthread_attr_init=no |
6858 fi | |
6859 | |
6860 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
6861 conftest$ac_exeext conftest.$ac_ext | |
5676 LIBS=$ac_check_lib_save_LIBS | 6862 LIBS=$ac_check_lib_save_LIBS |
5677 fi | 6863 fi |
5678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_pthread_attr_init" >&5 | 6864 { echo "$as_me:$LINENO: result: $ac_cv_lib_c_pthread_attr_init" >&5 |
5679 $as_echo "$ac_cv_lib_c_pthread_attr_init" >&6; } | 6865 echo "${ECHO_T}$ac_cv_lib_c_pthread_attr_init" >&6; } |
5680 if test "x$ac_cv_lib_c_pthread_attr_init" = xyes; then : | 6866 if test $ac_cv_lib_c_pthread_attr_init = yes; then |
5681 PTHREAD_LIBS="-lc" | 6867 PTHREAD_LIBS="-lc" |
5682 else | 6868 else |
5683 as_fn_error $? "pthread library not found. dwindows cannot build without it." "$LINENO" 5 | 6869 { { echo "$as_me:$LINENO: error: pthread library not found. dwindows cannot build without it." >&5 |
6870 echo "$as_me: error: pthread library not found. dwindows cannot build without it." >&2;} | |
6871 { (exit 1); exit 1; }; } | |
5684 | 6872 |
5685 fi | 6873 fi |
5686 | 6874 |
5687 | 6875 |
5688 fi | 6876 fi |
5701 if test x"$MOZEMBED_CFLAGS" != x; then | 6889 if test x"$MOZEMBED_CFLAGS" != x; then |
5702 SAVE_LIBS="$LIBS" | 6890 SAVE_LIBS="$LIBS" |
5703 LIBS="$RPATH $LIBS $GTK_LIBS $PTHREAD_LIBS $GDK_IMLIB_LIBS $MOZEMBED_LIBS" | 6891 LIBS="$RPATH $LIBS $GTK_LIBS $PTHREAD_LIBS $GDK_IMLIB_LIBS $MOZEMBED_LIBS" |
5704 BROWSER_OBJECT="browser.o" | 6892 BROWSER_OBJECT="browser.o" |
5705 if test $with_gtkmozembed = yes; then | 6893 if test $with_gtkmozembed = yes; then |
5706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk_moz_embed_new in -lgtkembedmoz" >&5 | 6894 { echo "$as_me:$LINENO: checking for gtk_moz_embed_new in -lgtkembedmoz" >&5 |
5707 $as_echo_n "checking for gtk_moz_embed_new in -lgtkembedmoz... " >&6; } | 6895 echo $ECHO_N "checking for gtk_moz_embed_new in -lgtkembedmoz... $ECHO_C" >&6; } |
5708 if ${ac_cv_lib_gtkembedmoz_gtk_moz_embed_new+:} false; then : | 6896 if test "${ac_cv_lib_gtkembedmoz_gtk_moz_embed_new+set}" = set; then |
5709 $as_echo_n "(cached) " >&6 | 6897 echo $ECHO_N "(cached) $ECHO_C" >&6 |
5710 else | 6898 else |
5711 ac_check_lib_save_LIBS=$LIBS | 6899 ac_check_lib_save_LIBS=$LIBS |
5712 LIBS="-lgtkembedmoz $LIBS" | 6900 LIBS="-lgtkembedmoz $LIBS" |
5713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 6901 cat >conftest.$ac_ext <<_ACEOF |
6902 /* confdefs.h. */ | |
6903 _ACEOF | |
6904 cat confdefs.h >>conftest.$ac_ext | |
6905 cat >>conftest.$ac_ext <<_ACEOF | |
5714 /* end confdefs.h. */ | 6906 /* end confdefs.h. */ |
5715 | 6907 |
5716 /* Override any GCC internal prototype to avoid an error. | 6908 /* Override any GCC internal prototype to avoid an error. |
5717 Use char because int might match the return type of a GCC | 6909 Use char because int might match the return type of a GCC |
5718 builtin and then its argument prototype would still apply. */ | 6910 builtin and then its argument prototype would still apply. */ |
5726 return gtk_moz_embed_new (); | 6918 return gtk_moz_embed_new (); |
5727 ; | 6919 ; |
5728 return 0; | 6920 return 0; |
5729 } | 6921 } |
5730 _ACEOF | 6922 _ACEOF |
5731 if ac_fn_c_try_link "$LINENO"; then : | 6923 rm -f conftest.$ac_objext conftest$ac_exeext |
6924 if { (ac_try="$ac_link" | |
6925 case "(($ac_try" in | |
6926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
6927 *) ac_try_echo=$ac_try;; | |
6928 esac | |
6929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
6930 (eval "$ac_link") 2>conftest.er1 | |
6931 ac_status=$? | |
6932 grep -v '^ *+' conftest.er1 >conftest.err | |
6933 rm -f conftest.er1 | |
6934 cat conftest.err >&5 | |
6935 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
6936 (exit $ac_status); } && { | |
6937 test -z "$ac_c_werror_flag" || | |
6938 test ! -s conftest.err | |
6939 } && test -s conftest$ac_exeext && | |
6940 $as_test_x conftest$ac_exeext; then | |
5732 ac_cv_lib_gtkembedmoz_gtk_moz_embed_new=yes | 6941 ac_cv_lib_gtkembedmoz_gtk_moz_embed_new=yes |
5733 else | 6942 else |
5734 ac_cv_lib_gtkembedmoz_gtk_moz_embed_new=no | 6943 echo "$as_me: failed program was:" >&5 |
5735 fi | 6944 sed 's/^/| /' conftest.$ac_ext >&5 |
5736 rm -f core conftest.err conftest.$ac_objext \ | 6945 |
5737 conftest$ac_exeext conftest.$ac_ext | 6946 ac_cv_lib_gtkembedmoz_gtk_moz_embed_new=no |
6947 fi | |
6948 | |
6949 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
6950 conftest$ac_exeext conftest.$ac_ext | |
5738 LIBS=$ac_check_lib_save_LIBS | 6951 LIBS=$ac_check_lib_save_LIBS |
5739 fi | 6952 fi |
5740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gtkembedmoz_gtk_moz_embed_new" >&5 | 6953 { echo "$as_me:$LINENO: result: $ac_cv_lib_gtkembedmoz_gtk_moz_embed_new" >&5 |
5741 $as_echo "$ac_cv_lib_gtkembedmoz_gtk_moz_embed_new" >&6; } | 6954 echo "${ECHO_T}$ac_cv_lib_gtkembedmoz_gtk_moz_embed_new" >&6; } |
5742 if test "x$ac_cv_lib_gtkembedmoz_gtk_moz_embed_new" = xyes; then : | 6955 if test $ac_cv_lib_gtkembedmoz_gtk_moz_embed_new = yes; then |
5743 $as_echo "#define USE_GTKMOZEMBED 1" >>confdefs.h | 6956 cat >>confdefs.h <<\_ACEOF |
6957 #define USE_GTKMOZEMBED 1 | |
6958 _ACEOF | |
5744 | 6959 |
5745 else | 6960 else |
5746 BROWSER_OBJECT="" | 6961 BROWSER_OBJECT="" |
5747 fi | 6962 fi |
5748 | 6963 |
5749 elif test $with_gtkhtml = yes; then | 6964 elif test $with_gtkhtml = yes; then |
5750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for html_document_new in -lgtkhtml-2" >&5 | 6965 { echo "$as_me:$LINENO: checking for html_document_new in -lgtkhtml-2" >&5 |
5751 $as_echo_n "checking for html_document_new in -lgtkhtml-2... " >&6; } | 6966 echo $ECHO_N "checking for html_document_new in -lgtkhtml-2... $ECHO_C" >&6; } |
5752 if ${ac_cv_lib_gtkhtml_2_html_document_new+:} false; then : | 6967 if test "${ac_cv_lib_gtkhtml_2_html_document_new+set}" = set; then |
5753 $as_echo_n "(cached) " >&6 | 6968 echo $ECHO_N "(cached) $ECHO_C" >&6 |
5754 else | 6969 else |
5755 ac_check_lib_save_LIBS=$LIBS | 6970 ac_check_lib_save_LIBS=$LIBS |
5756 LIBS="-lgtkhtml-2 $LIBS" | 6971 LIBS="-lgtkhtml-2 $LIBS" |
5757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 6972 cat >conftest.$ac_ext <<_ACEOF |
6973 /* confdefs.h. */ | |
6974 _ACEOF | |
6975 cat confdefs.h >>conftest.$ac_ext | |
6976 cat >>conftest.$ac_ext <<_ACEOF | |
5758 /* end confdefs.h. */ | 6977 /* end confdefs.h. */ |
5759 | 6978 |
5760 /* Override any GCC internal prototype to avoid an error. | 6979 /* Override any GCC internal prototype to avoid an error. |
5761 Use char because int might match the return type of a GCC | 6980 Use char because int might match the return type of a GCC |
5762 builtin and then its argument prototype would still apply. */ | 6981 builtin and then its argument prototype would still apply. */ |
5770 return html_document_new (); | 6989 return html_document_new (); |
5771 ; | 6990 ; |
5772 return 0; | 6991 return 0; |
5773 } | 6992 } |
5774 _ACEOF | 6993 _ACEOF |
5775 if ac_fn_c_try_link "$LINENO"; then : | 6994 rm -f conftest.$ac_objext conftest$ac_exeext |
6995 if { (ac_try="$ac_link" | |
6996 case "(($ac_try" in | |
6997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
6998 *) ac_try_echo=$ac_try;; | |
6999 esac | |
7000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
7001 (eval "$ac_link") 2>conftest.er1 | |
7002 ac_status=$? | |
7003 grep -v '^ *+' conftest.er1 >conftest.err | |
7004 rm -f conftest.er1 | |
7005 cat conftest.err >&5 | |
7006 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
7007 (exit $ac_status); } && { | |
7008 test -z "$ac_c_werror_flag" || | |
7009 test ! -s conftest.err | |
7010 } && test -s conftest$ac_exeext && | |
7011 $as_test_x conftest$ac_exeext; then | |
5776 ac_cv_lib_gtkhtml_2_html_document_new=yes | 7012 ac_cv_lib_gtkhtml_2_html_document_new=yes |
5777 else | 7013 else |
5778 ac_cv_lib_gtkhtml_2_html_document_new=no | 7014 echo "$as_me: failed program was:" >&5 |
5779 fi | 7015 sed 's/^/| /' conftest.$ac_ext >&5 |
5780 rm -f core conftest.err conftest.$ac_objext \ | 7016 |
5781 conftest$ac_exeext conftest.$ac_ext | 7017 ac_cv_lib_gtkhtml_2_html_document_new=no |
7018 fi | |
7019 | |
7020 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
7021 conftest$ac_exeext conftest.$ac_ext | |
5782 LIBS=$ac_check_lib_save_LIBS | 7022 LIBS=$ac_check_lib_save_LIBS |
5783 fi | 7023 fi |
5784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gtkhtml_2_html_document_new" >&5 | 7024 { echo "$as_me:$LINENO: result: $ac_cv_lib_gtkhtml_2_html_document_new" >&5 |
5785 $as_echo "$ac_cv_lib_gtkhtml_2_html_document_new" >&6; } | 7025 echo "${ECHO_T}$ac_cv_lib_gtkhtml_2_html_document_new" >&6; } |
5786 if test "x$ac_cv_lib_gtkhtml_2_html_document_new" = xyes; then : | 7026 if test $ac_cv_lib_gtkhtml_2_html_document_new = yes; then |
5787 $as_echo "#define USE_LIBGTKHTML2 1" >>confdefs.h | 7027 cat >>confdefs.h <<\_ACEOF |
7028 #define USE_LIBGTKHTML2 1 | |
7029 _ACEOF | |
5788 | 7030 |
5789 else | 7031 else |
5790 BROWSER_OBJECT="" | 7032 BROWSER_OBJECT="" |
5791 fi | 7033 fi |
5792 | 7034 |
5793 else | 7035 else |
5794 as_ac_Lib=`$as_echo "ac_cv_lib_$WEBKIT_LIB''_webkit_web_view_new" | $as_tr_sh` | 7036 as_ac_Lib=`echo "ac_cv_lib_$WEBKIT_LIB''_webkit_web_view_new" | $as_tr_sh` |
5795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for webkit_web_view_new in -l$WEBKIT_LIB" >&5 | 7037 { echo "$as_me:$LINENO: checking for webkit_web_view_new in -l$WEBKIT_LIB" >&5 |
5796 $as_echo_n "checking for webkit_web_view_new in -l$WEBKIT_LIB... " >&6; } | 7038 echo $ECHO_N "checking for webkit_web_view_new in -l$WEBKIT_LIB... $ECHO_C" >&6; } |
5797 if eval \${$as_ac_Lib+:} false; then : | 7039 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then |
5798 $as_echo_n "(cached) " >&6 | 7040 echo $ECHO_N "(cached) $ECHO_C" >&6 |
5799 else | 7041 else |
5800 ac_check_lib_save_LIBS=$LIBS | 7042 ac_check_lib_save_LIBS=$LIBS |
5801 LIBS="-l$WEBKIT_LIB $LIBS" | 7043 LIBS="-l$WEBKIT_LIB $LIBS" |
5802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 7044 cat >conftest.$ac_ext <<_ACEOF |
7045 /* confdefs.h. */ | |
7046 _ACEOF | |
7047 cat confdefs.h >>conftest.$ac_ext | |
7048 cat >>conftest.$ac_ext <<_ACEOF | |
5803 /* end confdefs.h. */ | 7049 /* end confdefs.h. */ |
5804 | 7050 |
5805 /* Override any GCC internal prototype to avoid an error. | 7051 /* Override any GCC internal prototype to avoid an error. |
5806 Use char because int might match the return type of a GCC | 7052 Use char because int might match the return type of a GCC |
5807 builtin and then its argument prototype would still apply. */ | 7053 builtin and then its argument prototype would still apply. */ |
5815 return webkit_web_view_new (); | 7061 return webkit_web_view_new (); |
5816 ; | 7062 ; |
5817 return 0; | 7063 return 0; |
5818 } | 7064 } |
5819 _ACEOF | 7065 _ACEOF |
5820 if ac_fn_c_try_link "$LINENO"; then : | 7066 rm -f conftest.$ac_objext conftest$ac_exeext |
7067 if { (ac_try="$ac_link" | |
7068 case "(($ac_try" in | |
7069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
7070 *) ac_try_echo=$ac_try;; | |
7071 esac | |
7072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
7073 (eval "$ac_link") 2>conftest.er1 | |
7074 ac_status=$? | |
7075 grep -v '^ *+' conftest.er1 >conftest.err | |
7076 rm -f conftest.er1 | |
7077 cat conftest.err >&5 | |
7078 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
7079 (exit $ac_status); } && { | |
7080 test -z "$ac_c_werror_flag" || | |
7081 test ! -s conftest.err | |
7082 } && test -s conftest$ac_exeext && | |
7083 $as_test_x conftest$ac_exeext; then | |
5821 eval "$as_ac_Lib=yes" | 7084 eval "$as_ac_Lib=yes" |
5822 else | 7085 else |
5823 eval "$as_ac_Lib=no" | 7086 echo "$as_me: failed program was:" >&5 |
5824 fi | 7087 sed 's/^/| /' conftest.$ac_ext >&5 |
5825 rm -f core conftest.err conftest.$ac_objext \ | 7088 |
5826 conftest$ac_exeext conftest.$ac_ext | 7089 eval "$as_ac_Lib=no" |
7090 fi | |
7091 | |
7092 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
7093 conftest$ac_exeext conftest.$ac_ext | |
5827 LIBS=$ac_check_lib_save_LIBS | 7094 LIBS=$ac_check_lib_save_LIBS |
5828 fi | 7095 fi |
5829 eval ac_res=\$$as_ac_Lib | 7096 ac_res=`eval echo '${'$as_ac_Lib'}'` |
5830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | 7097 { echo "$as_me:$LINENO: result: $ac_res" >&5 |
5831 $as_echo "$ac_res" >&6; } | 7098 echo "${ECHO_T}$ac_res" >&6; } |
5832 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : | 7099 if test `eval echo '${'$as_ac_Lib'}'` = yes; then |
5833 $as_echo "#define USE_WEBKIT 1" >>confdefs.h | 7100 cat >>confdefs.h <<\_ACEOF |
7101 #define USE_WEBKIT 1 | |
7102 _ACEOF | |
5834 | 7103 |
5835 else | 7104 else |
5836 BROWSER_OBJECT="" | 7105 BROWSER_OBJECT="" |
5837 fi | 7106 fi |
5838 | 7107 |
5904 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do | 7173 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do |
5905 eval ac_val=\$$ac_var | 7174 eval ac_val=\$$ac_var |
5906 case $ac_val in #( | 7175 case $ac_val in #( |
5907 *${as_nl}*) | 7176 *${as_nl}*) |
5908 case $ac_var in #( | 7177 case $ac_var in #( |
5909 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 | 7178 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 |
5910 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; | 7179 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; |
5911 esac | 7180 esac |
5912 case $ac_var in #( | 7181 case $ac_var in #( |
5913 _ | IFS | as_nl) ;; #( | 7182 _ | IFS | as_nl) ;; #( |
5914 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( | 7183 *) $as_unset $ac_var ;; |
5915 *) { eval $ac_var=; unset $ac_var;} ;; | |
5916 esac ;; | 7184 esac ;; |
5917 esac | 7185 esac |
5918 done | 7186 done |
5919 | 7187 |
5920 (set) 2>&1 | | 7188 (set) 2>&1 | |
5921 case $as_nl`(ac_space=' '; set) 2>&1` in #( | 7189 case $as_nl`(ac_space=' '; set) 2>&1` in #( |
5922 *${as_nl}ac_space=\ *) | 7190 *${as_nl}ac_space=\ *) |
5923 # `set' does not quote correctly, so add quotes: double-quote | 7191 # `set' does not quote correctly, so add quotes (double-quote |
5924 # substitution turns \\\\ into \\, and sed turns \\ into \. | 7192 # substitution turns \\\\ into \\, and sed turns \\ into \). |
5925 sed -n \ | 7193 sed -n \ |
5926 "s/'/'\\\\''/g; | 7194 "s/'/'\\\\''/g; |
5927 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" | 7195 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
5928 ;; #( | 7196 ;; #( |
5929 *) | 7197 *) |
5941 t end | 7209 t end |
5942 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ | 7210 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
5943 :end' >>confcache | 7211 :end' >>confcache |
5944 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else | 7212 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
5945 if test -w "$cache_file"; then | 7213 if test -w "$cache_file"; then |
5946 if test "x$cache_file" != "x/dev/null"; then | 7214 test "x$cache_file" != "x/dev/null" && |
5947 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 | 7215 { echo "$as_me:$LINENO: updating cache $cache_file" >&5 |
5948 $as_echo "$as_me: updating cache $cache_file" >&6;} | 7216 echo "$as_me: updating cache $cache_file" >&6;} |
5949 if test ! -f "$cache_file" || test -h "$cache_file"; then | 7217 cat confcache >$cache_file |
5950 cat confcache >"$cache_file" | |
5951 else | |
5952 case $cache_file in #( | |
5953 */* | ?:*) | |
5954 mv -f confcache "$cache_file"$$ && | |
5955 mv -f "$cache_file"$$ "$cache_file" ;; #( | |
5956 *) | |
5957 mv -f confcache "$cache_file" ;; | |
5958 esac | |
5959 fi | |
5960 fi | |
5961 else | 7218 else |
5962 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 | 7219 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 |
5963 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} | 7220 echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
5964 fi | 7221 fi |
5965 fi | 7222 fi |
5966 rm -f confcache | 7223 rm -f confcache |
5967 | 7224 |
5968 test "x$prefix" = xNONE && prefix=$ac_default_prefix | 7225 test "x$prefix" = xNONE && prefix=$ac_default_prefix |
5971 | 7228 |
5972 DEFS=-DHAVE_CONFIG_H | 7229 DEFS=-DHAVE_CONFIG_H |
5973 | 7230 |
5974 ac_libobjs= | 7231 ac_libobjs= |
5975 ac_ltlibobjs= | 7232 ac_ltlibobjs= |
5976 U= | |
5977 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue | 7233 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
5978 # 1. Remove the extension, and $U if already installed. | 7234 # 1. Remove the extension, and $U if already installed. |
5979 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' | 7235 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
5980 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` | 7236 ac_i=`echo "$ac_i" | sed "$ac_script"` |
5981 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR | 7237 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
5982 # will be set to the directory where LIBOBJS objects are built. | 7238 # will be set to the directory where LIBOBJS objects are built. |
5983 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" | 7239 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" |
5984 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' | 7240 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' |
5985 done | 7241 done |
5986 LIBOBJS=$ac_libobjs | 7242 LIBOBJS=$ac_libobjs |
5987 | 7243 |
5988 LTLIBOBJS=$ac_ltlibobjs | 7244 LTLIBOBJS=$ac_ltlibobjs |
5989 | 7245 |
5990 | 7246 |
5991 | 7247 |
5992 : "${CONFIG_STATUS=./config.status}" | 7248 : ${CONFIG_STATUS=./config.status} |
5993 ac_write_fail=0 | |
5994 ac_clean_files_save=$ac_clean_files | 7249 ac_clean_files_save=$ac_clean_files |
5995 ac_clean_files="$ac_clean_files $CONFIG_STATUS" | 7250 ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
5996 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 | 7251 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 |
5997 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} | 7252 echo "$as_me: creating $CONFIG_STATUS" >&6;} |
5998 as_write_fail=0 | 7253 cat >$CONFIG_STATUS <<_ACEOF |
5999 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 | |
6000 #! $SHELL | 7254 #! $SHELL |
6001 # Generated by $as_me. | 7255 # Generated by $as_me. |
6002 # Run this file to recreate the current configuration. | 7256 # Run this file to recreate the current configuration. |
6003 # Compiler output produced by configure, useful for debugging | 7257 # Compiler output produced by configure, useful for debugging |
6004 # configure, is in config.log if it exists. | 7258 # configure, is in config.log if it exists. |
6005 | 7259 |
6006 debug=false | 7260 debug=false |
6007 ac_cs_recheck=false | 7261 ac_cs_recheck=false |
6008 ac_cs_silent=false | 7262 ac_cs_silent=false |
6009 | |
6010 SHELL=\${CONFIG_SHELL-$SHELL} | 7263 SHELL=\${CONFIG_SHELL-$SHELL} |
6011 export SHELL | 7264 _ACEOF |
6012 _ASEOF | 7265 |
6013 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 | 7266 cat >>$CONFIG_STATUS <<\_ACEOF |
6014 ## -------------------- ## | 7267 ## --------------------- ## |
6015 ## M4sh Initialization. ## | 7268 ## M4sh Initialization. ## |
6016 ## -------------------- ## | 7269 ## --------------------- ## |
6017 | 7270 |
6018 # Be more Bourne compatible | 7271 # Be more Bourne compatible |
6019 DUALCASE=1; export DUALCASE # for MKS sh | 7272 DUALCASE=1; export DUALCASE # for MKS sh |
6020 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : | 7273 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
6021 emulate sh | 7274 emulate sh |
6022 NULLCMD=: | 7275 NULLCMD=: |
6023 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which | 7276 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
6024 # is contrary to our usage. Disable this feature. | 7277 # is contrary to our usage. Disable this feature. |
6025 alias -g '${1+"$@"}'='"$@"' | 7278 alias -g '${1+"$@"}'='"$@"' |
6026 setopt NO_GLOB_SUBST | 7279 setopt NO_GLOB_SUBST |
6027 else | 7280 else |
6028 case `(set -o) 2>/dev/null` in #( | 7281 case `(set -o) 2>/dev/null` in |
6029 *posix*) : | 7282 *posix*) set -o posix ;; |
6030 set -o posix ;; #( | 7283 esac |
6031 *) : | 7284 |
6032 ;; | 7285 fi |
6033 esac | 7286 |
6034 fi | 7287 |
6035 | 7288 |
6036 | 7289 |
6037 as_nl=' | 7290 # PATH needs CR |
6038 ' | 7291 # Avoid depending upon Character Ranges. |
6039 export as_nl | 7292 as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
6040 # Printing a long string crashes Solaris 7 /usr/bin/printf. | 7293 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
6041 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' | 7294 as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
6042 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo | 7295 as_cr_digits='0123456789' |
6043 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo | 7296 as_cr_alnum=$as_cr_Letters$as_cr_digits |
6044 # Prefer a ksh shell builtin over an external printf program on Solaris, | |
6045 # but without wasting forks for bash or zsh. | |
6046 if test -z "$BASH_VERSION$ZSH_VERSION" \ | |
6047 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then | |
6048 as_echo='print -r --' | |
6049 as_echo_n='print -rn --' | |
6050 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then | |
6051 as_echo='printf %s\n' | |
6052 as_echo_n='printf %s' | |
6053 else | |
6054 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then | |
6055 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' | |
6056 as_echo_n='/usr/ucb/echo -n' | |
6057 else | |
6058 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' | |
6059 as_echo_n_body='eval | |
6060 arg=$1; | |
6061 case $arg in #( | |
6062 *"$as_nl"*) | |
6063 expr "X$arg" : "X\\(.*\\)$as_nl"; | |
6064 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; | |
6065 esac; | |
6066 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" | |
6067 ' | |
6068 export as_echo_n_body | |
6069 as_echo_n='sh -c $as_echo_n_body as_echo' | |
6070 fi | |
6071 export as_echo_body | |
6072 as_echo='sh -c $as_echo_body as_echo' | |
6073 fi | |
6074 | 7297 |
6075 # The user is always right. | 7298 # The user is always right. |
6076 if test "${PATH_SEPARATOR+set}" != set; then | 7299 if test "${PATH_SEPARATOR+set}" != set; then |
6077 PATH_SEPARATOR=: | 7300 echo "#! /bin/sh" >conf$$.sh |
6078 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { | 7301 echo "exit 0" >>conf$$.sh |
6079 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || | 7302 chmod +x conf$$.sh |
6080 PATH_SEPARATOR=';' | 7303 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
6081 } | 7304 PATH_SEPARATOR=';' |
7305 else | |
7306 PATH_SEPARATOR=: | |
7307 fi | |
7308 rm -f conf$$.sh | |
7309 fi | |
7310 | |
7311 # Support unset when possible. | |
7312 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then | |
7313 as_unset=unset | |
7314 else | |
7315 as_unset=false | |
6082 fi | 7316 fi |
6083 | 7317 |
6084 | 7318 |
6085 # IFS | 7319 # IFS |
6086 # We need space, tab and new line, in precisely that order. Quoting is | 7320 # We need space, tab and new line, in precisely that order. Quoting is |
6087 # there to prevent editors from complaining about space-tab. | 7321 # there to prevent editors from complaining about space-tab. |
6088 # (If _AS_PATH_WALK were called with IFS unset, it would disable word | 7322 # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
6089 # splitting by setting IFS to empty value.) | 7323 # splitting by setting IFS to empty value.) |
7324 as_nl=' | |
7325 ' | |
6090 IFS=" "" $as_nl" | 7326 IFS=" "" $as_nl" |
6091 | 7327 |
6092 # Find who we are. Look in the path if we contain no directory separator. | 7328 # Find who we are. Look in the path if we contain no directory separator. |
6093 as_myself= | 7329 case $0 in |
6094 case $0 in #(( | |
6095 *[\\/]* ) as_myself=$0 ;; | 7330 *[\\/]* ) as_myself=$0 ;; |
6096 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 7331 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
6097 for as_dir in $PATH | 7332 for as_dir in $PATH |
6098 do | 7333 do |
6099 IFS=$as_save_IFS | 7334 IFS=$as_save_IFS |
6100 test -z "$as_dir" && as_dir=. | 7335 test -z "$as_dir" && as_dir=. |
6101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | 7336 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
6102 done | 7337 done |
6103 IFS=$as_save_IFS | 7338 IFS=$as_save_IFS |
6104 | 7339 |
6105 ;; | 7340 ;; |
6106 esac | 7341 esac |
6107 # We did not find ourselves, most probably we were run as `sh COMMAND' | 7342 # We did not find ourselves, most probably we were run as `sh COMMAND' |
6108 # in which case we are not to be found in the path. | 7343 # in which case we are not to be found in the path. |
6109 if test "x$as_myself" = x; then | 7344 if test "x$as_myself" = x; then |
6110 as_myself=$0 | 7345 as_myself=$0 |
6111 fi | 7346 fi |
6112 if test ! -f "$as_myself"; then | 7347 if test ! -f "$as_myself"; then |
6113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 | 7348 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
6114 exit 1 | 7349 { (exit 1); exit 1; } |
6115 fi | 7350 fi |
6116 | 7351 |
6117 # Unset variables that we do not need and which cause bugs (e.g. in | 7352 # Work around bugs in pre-3.0 UWIN ksh. |
6118 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" | 7353 for as_var in ENV MAIL MAILPATH |
6119 # suppresses any "Segmentation fault" message there. '((' could | 7354 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
6120 # trigger a bug in pdksh 5.2.14. | |
6121 for as_var in BASH_ENV ENV MAIL MAILPATH | |
6122 do eval test x\${$as_var+set} = xset \ | |
6123 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : | |
6124 done | 7355 done |
6125 PS1='$ ' | 7356 PS1='$ ' |
6126 PS2='> ' | 7357 PS2='> ' |
6127 PS4='+ ' | 7358 PS4='+ ' |
6128 | 7359 |
6129 # NLS nuisances. | 7360 # NLS nuisances. |
6130 LC_ALL=C | 7361 for as_var in \ |
6131 export LC_ALL | 7362 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ |
6132 LANGUAGE=C | 7363 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
6133 export LANGUAGE | 7364 LC_TELEPHONE LC_TIME |
6134 | 7365 do |
6135 # CDPATH. | 7366 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
6136 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH | 7367 eval $as_var=C; export $as_var |
6137 | 7368 else |
6138 | 7369 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
6139 # as_fn_error STATUS ERROR [LINENO LOG_FD] | |
6140 # ---------------------------------------- | |
6141 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are | |
6142 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the | |
6143 # script with STATUS, using 1 if that was 0. | |
6144 as_fn_error () | |
6145 { | |
6146 as_status=$1; test $as_status -eq 0 && as_status=1 | |
6147 if test "$4"; then | |
6148 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
6149 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 | |
6150 fi | 7370 fi |
6151 $as_echo "$as_me: error: $2" >&2 | 7371 done |
6152 as_fn_exit $as_status | 7372 |
6153 } # as_fn_error | 7373 # Required to use basename. |
6154 | |
6155 | |
6156 # as_fn_set_status STATUS | |
6157 # ----------------------- | |
6158 # Set $? to STATUS, without forking. | |
6159 as_fn_set_status () | |
6160 { | |
6161 return $1 | |
6162 } # as_fn_set_status | |
6163 | |
6164 # as_fn_exit STATUS | |
6165 # ----------------- | |
6166 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. | |
6167 as_fn_exit () | |
6168 { | |
6169 set +e | |
6170 as_fn_set_status $1 | |
6171 exit $1 | |
6172 } # as_fn_exit | |
6173 | |
6174 # as_fn_unset VAR | |
6175 # --------------- | |
6176 # Portably unset VAR. | |
6177 as_fn_unset () | |
6178 { | |
6179 { eval $1=; unset $1;} | |
6180 } | |
6181 as_unset=as_fn_unset | |
6182 # as_fn_append VAR VALUE | |
6183 # ---------------------- | |
6184 # Append the text in VALUE to the end of the definition contained in VAR. Take | |
6185 # advantage of any shell optimizations that allow amortized linear growth over | |
6186 # repeated appends, instead of the typical quadratic growth present in naive | |
6187 # implementations. | |
6188 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : | |
6189 eval 'as_fn_append () | |
6190 { | |
6191 eval $1+=\$2 | |
6192 }' | |
6193 else | |
6194 as_fn_append () | |
6195 { | |
6196 eval $1=\$$1\$2 | |
6197 } | |
6198 fi # as_fn_append | |
6199 | |
6200 # as_fn_arith ARG... | |
6201 # ------------------ | |
6202 # Perform arithmetic evaluation on the ARGs, and store the result in the | |
6203 # global $as_val. Take advantage of shells that can avoid forks. The arguments | |
6204 # must be portable across $(()) and expr. | |
6205 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : | |
6206 eval 'as_fn_arith () | |
6207 { | |
6208 as_val=$(( $* )) | |
6209 }' | |
6210 else | |
6211 as_fn_arith () | |
6212 { | |
6213 as_val=`expr "$@" || test $? -eq 1` | |
6214 } | |
6215 fi # as_fn_arith | |
6216 | |
6217 | |
6218 if expr a : '\(a\)' >/dev/null 2>&1 && | 7374 if expr a : '\(a\)' >/dev/null 2>&1 && |
6219 test "X`expr 00001 : '.*\(...\)'`" = X001; then | 7375 test "X`expr 00001 : '.*\(...\)'`" = X001; then |
6220 as_expr=expr | 7376 as_expr=expr |
6221 else | 7377 else |
6222 as_expr=false | 7378 as_expr=false |
6226 as_basename=basename | 7382 as_basename=basename |
6227 else | 7383 else |
6228 as_basename=false | 7384 as_basename=false |
6229 fi | 7385 fi |
6230 | 7386 |
6231 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then | 7387 |
6232 as_dirname=dirname | 7388 # Name of the executable. |
6233 else | |
6234 as_dirname=false | |
6235 fi | |
6236 | |
6237 as_me=`$as_basename -- "$0" || | 7389 as_me=`$as_basename -- "$0" || |
6238 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | 7390 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
6239 X"$0" : 'X\(//\)$' \| \ | 7391 X"$0" : 'X\(//\)$' \| \ |
6240 X"$0" : 'X\(/\)' \| . 2>/dev/null || | 7392 X"$0" : 'X\(/\)' \| . 2>/dev/null || |
6241 $as_echo X/"$0" | | 7393 echo X/"$0" | |
6242 sed '/^.*\/\([^/][^/]*\)\/*$/{ | 7394 sed '/^.*\/\([^/][^/]*\)\/*$/{ |
6243 s//\1/ | 7395 s//\1/ |
6244 q | 7396 q |
6245 } | 7397 } |
6246 /^X\/\(\/\/\)$/{ | 7398 /^X\/\(\/\/\)$/{ |
6251 s//\1/ | 7403 s//\1/ |
6252 q | 7404 q |
6253 } | 7405 } |
6254 s/.*/./; q'` | 7406 s/.*/./; q'` |
6255 | 7407 |
6256 # Avoid depending upon Character Ranges. | 7408 # CDPATH. |
6257 as_cr_letters='abcdefghijklmnopqrstuvwxyz' | 7409 $as_unset CDPATH |
6258 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | 7410 |
6259 as_cr_Letters=$as_cr_letters$as_cr_LETTERS | 7411 |
6260 as_cr_digits='0123456789' | 7412 |
6261 as_cr_alnum=$as_cr_Letters$as_cr_digits | 7413 as_lineno_1=$LINENO |
7414 as_lineno_2=$LINENO | |
7415 test "x$as_lineno_1" != "x$as_lineno_2" && | |
7416 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { | |
7417 | |
7418 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO | |
7419 # uniformly replaced by the line number. The first 'sed' inserts a | |
7420 # line-number line after each line using $LINENO; the second 'sed' | |
7421 # does the real work. The second script uses 'N' to pair each | |
7422 # line-number line with the line containing $LINENO, and appends | |
7423 # trailing '-' during substitution so that $LINENO is not a special | |
7424 # case at line end. | |
7425 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the | |
7426 # scripts with optimization help from Paolo Bonzini. Blame Lee | |
7427 # E. McMahon (1931-1989) for sed's syntax. :-) | |
7428 sed -n ' | |
7429 p | |
7430 /[$]LINENO/= | |
7431 ' <$as_myself | | |
7432 sed ' | |
7433 s/[$]LINENO.*/&-/ | |
7434 t lineno | |
7435 b | |
7436 :lineno | |
7437 N | |
7438 :loop | |
7439 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ | |
7440 t loop | |
7441 s/-\n.*// | |
7442 ' >$as_me.lineno && | |
7443 chmod +x "$as_me.lineno" || | |
7444 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 | |
7445 { (exit 1); exit 1; }; } | |
7446 | |
7447 # Don't try to exec as it changes $[0], causing all sort of problems | |
7448 # (the dirname of $[0] is not the place where we might find the | |
7449 # original and so on. Autoconf is especially sensitive to this). | |
7450 . "./$as_me.lineno" | |
7451 # Exit status is that of the last command. | |
7452 exit | |
7453 } | |
7454 | |
7455 | |
7456 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then | |
7457 as_dirname=dirname | |
7458 else | |
7459 as_dirname=false | |
7460 fi | |
6262 | 7461 |
6263 ECHO_C= ECHO_N= ECHO_T= | 7462 ECHO_C= ECHO_N= ECHO_T= |
6264 case `echo -n x` in #((((( | 7463 case `echo -n x` in |
6265 -n*) | 7464 -n*) |
6266 case `echo 'xy\c'` in | 7465 case `echo 'x\c'` in |
6267 *c*) ECHO_T=' ';; # ECHO_T is single tab character. | 7466 *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
6268 xy) ECHO_C='\c';; | 7467 *) ECHO_C='\c';; |
6269 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null | |
6270 ECHO_T=' ';; | |
6271 esac;; | 7468 esac;; |
6272 *) | 7469 *) |
6273 ECHO_N='-n';; | 7470 ECHO_N='-n';; |
6274 esac | 7471 esac |
6275 | 7472 |
7473 if expr a : '\(a\)' >/dev/null 2>&1 && | |
7474 test "X`expr 00001 : '.*\(...\)'`" = X001; then | |
7475 as_expr=expr | |
7476 else | |
7477 as_expr=false | |
7478 fi | |
7479 | |
6276 rm -f conf$$ conf$$.exe conf$$.file | 7480 rm -f conf$$ conf$$.exe conf$$.file |
6277 if test -d conf$$.dir; then | 7481 if test -d conf$$.dir; then |
6278 rm -f conf$$.dir/conf$$.file | 7482 rm -f conf$$.dir/conf$$.file |
6279 else | 7483 else |
6280 rm -f conf$$.dir | 7484 rm -f conf$$.dir |
6281 mkdir conf$$.dir 2>/dev/null | 7485 mkdir conf$$.dir |
6282 fi | 7486 fi |
6283 if (echo >conf$$.file) 2>/dev/null; then | 7487 echo >conf$$.file |
6284 if ln -s conf$$.file conf$$ 2>/dev/null; then | 7488 if ln -s conf$$.file conf$$ 2>/dev/null; then |
6285 as_ln_s='ln -s' | 7489 as_ln_s='ln -s' |
6286 # ... but there are two gotchas: | 7490 # ... but there are two gotchas: |
6287 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. | 7491 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
6288 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. | 7492 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
6289 # In both cases, we have to default to `cp -p'. | 7493 # In both cases, we have to default to `cp -p'. |
6290 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || | 7494 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
6291 as_ln_s='cp -p' | |
6292 elif ln conf$$.file conf$$ 2>/dev/null; then | |
6293 as_ln_s=ln | |
6294 else | |
6295 as_ln_s='cp -p' | 7495 as_ln_s='cp -p' |
6296 fi | 7496 elif ln conf$$.file conf$$ 2>/dev/null; then |
7497 as_ln_s=ln | |
6297 else | 7498 else |
6298 as_ln_s='cp -p' | 7499 as_ln_s='cp -p' |
6299 fi | 7500 fi |
6300 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file | 7501 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
6301 rmdir conf$$.dir 2>/dev/null | 7502 rmdir conf$$.dir 2>/dev/null |
6302 | 7503 |
6303 | 7504 if mkdir -p . 2>/dev/null; then |
6304 # as_fn_mkdir_p | 7505 as_mkdir_p=: |
6305 # ------------- | 7506 else |
6306 # Create "$as_dir" as a directory, including parents if necessary. | 7507 test -d ./-p && rmdir ./-p |
6307 as_fn_mkdir_p () | 7508 as_mkdir_p=false |
7509 fi | |
7510 | |
7511 if test -x / >/dev/null 2>&1; then | |
7512 as_test_x='test -x' | |
7513 else | |
7514 if ls -dL / >/dev/null 2>&1; then | |
7515 as_ls_L_option=L | |
7516 else | |
7517 as_ls_L_option= | |
7518 fi | |
7519 as_test_x=' | |
7520 eval sh -c '\'' | |
7521 if test -d "$1"; then | |
7522 test -d "$1/."; | |
7523 else | |
7524 case $1 in | |
7525 -*)set "./$1";; | |
7526 esac; | |
7527 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in | |
7528 ???[sx]*):;;*)false;;esac;fi | |
7529 '\'' sh | |
7530 ' | |
7531 fi | |
7532 as_executable_p=$as_test_x | |
7533 | |
7534 # Sed expression to map a string onto a valid CPP name. | |
7535 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" | |
7536 | |
7537 # Sed expression to map a string onto a valid variable name. | |
7538 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | |
7539 | |
7540 | |
7541 exec 6>&1 | |
7542 | |
7543 # Save the log message, to keep $[0] and so on meaningful, and to | |
7544 # report actual input values of CONFIG_FILES etc. instead of their | |
7545 # values after options handling. | |
7546 ac_log=" | |
7547 This file was extended by $as_me, which was | |
7548 generated by GNU Autoconf 2.61. Invocation command line was | |
7549 | |
7550 CONFIG_FILES = $CONFIG_FILES | |
7551 CONFIG_HEADERS = $CONFIG_HEADERS | |
7552 CONFIG_LINKS = $CONFIG_LINKS | |
7553 CONFIG_COMMANDS = $CONFIG_COMMANDS | |
7554 $ $0 $@ | |
7555 | |
7556 on `(hostname || uname -n) 2>/dev/null | sed 1q` | |
7557 " | |
7558 | |
7559 _ACEOF | |
7560 | |
7561 cat >>$CONFIG_STATUS <<_ACEOF | |
7562 # Files that config.status was made for. | |
7563 config_files="$ac_config_files" | |
7564 config_headers="$ac_config_headers" | |
7565 | |
7566 _ACEOF | |
7567 | |
7568 cat >>$CONFIG_STATUS <<\_ACEOF | |
7569 ac_cs_usage="\ | |
7570 \`$as_me' instantiates files from templates according to the | |
7571 current configuration. | |
7572 | |
7573 Usage: $0 [OPTIONS] [FILE]... | |
7574 | |
7575 -h, --help print this help, then exit | |
7576 -V, --version print version number and configuration settings, then exit | |
7577 -q, --quiet do not print progress messages | |
7578 -d, --debug don't remove temporary files | |
7579 --recheck update $as_me by reconfiguring in the same conditions | |
7580 --file=FILE[:TEMPLATE] | |
7581 instantiate the configuration file FILE | |
7582 --header=FILE[:TEMPLATE] | |
7583 instantiate the configuration header FILE | |
7584 | |
7585 Configuration files: | |
7586 $config_files | |
7587 | |
7588 Configuration headers: | |
7589 $config_headers | |
7590 | |
7591 Report bugs to <bug-autoconf@gnu.org>." | |
7592 | |
7593 _ACEOF | |
7594 cat >>$CONFIG_STATUS <<_ACEOF | |
7595 ac_cs_version="\\ | |
7596 config.status | |
7597 configured by $0, generated by GNU Autoconf 2.61, | |
7598 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" | |
7599 | |
7600 Copyright (C) 2006 Free Software Foundation, Inc. | |
7601 This config.status script is free software; the Free Software Foundation | |
7602 gives unlimited permission to copy, distribute and modify it." | |
7603 | |
7604 ac_pwd='$ac_pwd' | |
7605 srcdir='$srcdir' | |
7606 INSTALL='$INSTALL' | |
7607 _ACEOF | |
7608 | |
7609 cat >>$CONFIG_STATUS <<\_ACEOF | |
7610 # If no file are specified by the user, then we need to provide default | |
7611 # value. By we need to know if files were specified by the user. | |
7612 ac_need_defaults=: | |
7613 while test $# != 0 | |
7614 do | |
7615 case $1 in | |
7616 --*=*) | |
7617 ac_option=`expr "X$1" : 'X\([^=]*\)='` | |
7618 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` | |
7619 ac_shift=: | |
7620 ;; | |
7621 *) | |
7622 ac_option=$1 | |
7623 ac_optarg=$2 | |
7624 ac_shift=shift | |
7625 ;; | |
7626 esac | |
7627 | |
7628 case $ac_option in | |
7629 # Handling of the options. | |
7630 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) | |
7631 ac_cs_recheck=: ;; | |
7632 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) | |
7633 echo "$ac_cs_version"; exit ;; | |
7634 --debug | --debu | --deb | --de | --d | -d ) | |
7635 debug=: ;; | |
7636 --file | --fil | --fi | --f ) | |
7637 $ac_shift | |
7638 CONFIG_FILES="$CONFIG_FILES $ac_optarg" | |
7639 ac_need_defaults=false;; | |
7640 --header | --heade | --head | --hea ) | |
7641 $ac_shift | |
7642 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" | |
7643 ac_need_defaults=false;; | |
7644 --he | --h) | |
7645 # Conflict between --help and --header | |
7646 { echo "$as_me: error: ambiguous option: $1 | |
7647 Try \`$0 --help' for more information." >&2 | |
7648 { (exit 1); exit 1; }; };; | |
7649 --help | --hel | -h ) | |
7650 echo "$ac_cs_usage"; exit ;; | |
7651 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | |
7652 | -silent | --silent | --silen | --sile | --sil | --si | --s) | |
7653 ac_cs_silent=: ;; | |
7654 | |
7655 # This is an error. | |
7656 -*) { echo "$as_me: error: unrecognized option: $1 | |
7657 Try \`$0 --help' for more information." >&2 | |
7658 { (exit 1); exit 1; }; } ;; | |
7659 | |
7660 *) ac_config_targets="$ac_config_targets $1" | |
7661 ac_need_defaults=false ;; | |
7662 | |
7663 esac | |
7664 shift | |
7665 done | |
7666 | |
7667 ac_configure_extra_args= | |
7668 | |
7669 if $ac_cs_silent; then | |
7670 exec 6>/dev/null | |
7671 ac_configure_extra_args="$ac_configure_extra_args --silent" | |
7672 fi | |
7673 | |
7674 _ACEOF | |
7675 cat >>$CONFIG_STATUS <<_ACEOF | |
7676 if \$ac_cs_recheck; then | |
7677 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 | |
7678 CONFIG_SHELL=$SHELL | |
7679 export CONFIG_SHELL | |
7680 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion | |
7681 fi | |
7682 | |
7683 _ACEOF | |
7684 cat >>$CONFIG_STATUS <<\_ACEOF | |
7685 exec 5>>config.log | |
6308 { | 7686 { |
6309 | 7687 echo |
7688 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX | |
7689 ## Running $as_me. ## | |
7690 _ASBOX | |
7691 echo "$ac_log" | |
7692 } >&5 | |
7693 | |
7694 _ACEOF | |
7695 cat >>$CONFIG_STATUS <<_ACEOF | |
7696 _ACEOF | |
7697 | |
7698 cat >>$CONFIG_STATUS <<\_ACEOF | |
7699 | |
7700 # Handling of arguments. | |
7701 for ac_config_target in $ac_config_targets | |
7702 do | |
7703 case $ac_config_target in | |
7704 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; | |
7705 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; | |
7706 "dwindows-config") CONFIG_FILES="$CONFIG_FILES dwindows-config" ;; | |
7707 | |
7708 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 | |
7709 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} | |
7710 { (exit 1); exit 1; }; };; | |
7711 esac | |
7712 done | |
7713 | |
7714 | |
7715 # If the user did not use the arguments to specify the items to instantiate, | |
7716 # then the envvar interface is used. Set only those that are not. | |
7717 # We use the long form for the default assignment because of an extremely | |
7718 # bizarre bug on SunOS 4.1.3. | |
7719 if $ac_need_defaults; then | |
7720 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files | |
7721 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers | |
7722 fi | |
7723 | |
7724 # Have a temporary directory for convenience. Make it in the build tree | |
7725 # simply because there is no reason against having it here, and in addition, | |
7726 # creating and moving files from /tmp can sometimes cause problems. | |
7727 # Hook for its removal unless debugging. | |
7728 # Note that there is a small window in which the directory will not be cleaned: | |
7729 # after its creation but before its name has been assigned to `$tmp'. | |
7730 $debug || | |
7731 { | |
7732 tmp= | |
7733 trap 'exit_status=$? | |
7734 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status | |
7735 ' 0 | |
7736 trap '{ (exit 1); exit 1; }' 1 2 13 15 | |
7737 } | |
7738 # Create a (secure) tmp directory for tmp files. | |
7739 | |
7740 { | |
7741 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && | |
7742 test -n "$tmp" && test -d "$tmp" | |
7743 } || | |
7744 { | |
7745 tmp=./conf$$-$RANDOM | |
7746 (umask 077 && mkdir "$tmp") | |
7747 } || | |
7748 { | |
7749 echo "$me: cannot create a temporary directory in ." >&2 | |
7750 { (exit 1); exit 1; } | |
7751 } | |
7752 | |
7753 # | |
7754 # Set up the sed scripts for CONFIG_FILES section. | |
7755 # | |
7756 | |
7757 # No need to generate the scripts if there are no CONFIG_FILES. | |
7758 # This happens for instance when ./config.status config.h | |
7759 if test -n "$CONFIG_FILES"; then | |
7760 | |
7761 _ACEOF | |
7762 | |
7763 | |
7764 | |
7765 ac_delim='%!_!# ' | |
7766 for ac_last_try in false false false false false :; do | |
7767 cat >conf$$subs.sed <<_ACEOF | |
7768 SHELL!$SHELL$ac_delim | |
7769 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim | |
7770 PACKAGE_NAME!$PACKAGE_NAME$ac_delim | |
7771 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim | |
7772 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim | |
7773 PACKAGE_STRING!$PACKAGE_STRING$ac_delim | |
7774 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim | |
7775 exec_prefix!$exec_prefix$ac_delim | |
7776 prefix!$prefix$ac_delim | |
7777 program_transform_name!$program_transform_name$ac_delim | |
7778 bindir!$bindir$ac_delim | |
7779 sbindir!$sbindir$ac_delim | |
7780 libexecdir!$libexecdir$ac_delim | |
7781 datarootdir!$datarootdir$ac_delim | |
7782 datadir!$datadir$ac_delim | |
7783 sysconfdir!$sysconfdir$ac_delim | |
7784 sharedstatedir!$sharedstatedir$ac_delim | |
7785 localstatedir!$localstatedir$ac_delim | |
7786 includedir!$includedir$ac_delim | |
7787 oldincludedir!$oldincludedir$ac_delim | |
7788 docdir!$docdir$ac_delim | |
7789 infodir!$infodir$ac_delim | |
7790 htmldir!$htmldir$ac_delim | |
7791 dvidir!$dvidir$ac_delim | |
7792 pdfdir!$pdfdir$ac_delim | |
7793 psdir!$psdir$ac_delim | |
7794 libdir!$libdir$ac_delim | |
7795 localedir!$localedir$ac_delim | |
7796 mandir!$mandir$ac_delim | |
7797 DEFS!$DEFS$ac_delim | |
7798 ECHO_C!$ECHO_C$ac_delim | |
7799 ECHO_N!$ECHO_N$ac_delim | |
7800 ECHO_T!$ECHO_T$ac_delim | |
7801 LIBS!$LIBS$ac_delim | |
7802 build_alias!$build_alias$ac_delim | |
7803 host_alias!$host_alias$ac_delim | |
7804 target_alias!$target_alias$ac_delim | |
7805 TARGET!$TARGET$ac_delim | |
7806 TARGET2!$TARGET2$ac_delim | |
7807 CC!$CC$ac_delim | |
7808 CFLAGS!$CFLAGS$ac_delim | |
7809 LDFLAGS!$LDFLAGS$ac_delim | |
7810 CPPFLAGS!$CPPFLAGS$ac_delim | |
7811 ac_ct_CC!$ac_ct_CC$ac_delim | |
7812 EXEEXT!$EXEEXT$ac_delim | |
7813 OBJEXT!$OBJEXT$ac_delim | |
7814 CXX!$CXX$ac_delim | |
7815 CXXFLAGS!$CXXFLAGS$ac_delim | |
7816 ac_ct_CXX!$ac_ct_CXX$ac_delim | |
7817 MAKE!$MAKE$ac_delim | |
7818 SVNVERSION!$SVNVERSION$ac_delim | |
7819 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim | |
7820 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim | |
7821 INSTALL_DATA!$INSTALL_DATA$ac_delim | |
7822 build!$build$ac_delim | |
7823 build_cpu!$build_cpu$ac_delim | |
7824 build_vendor!$build_vendor$ac_delim | |
7825 build_os!$build_os$ac_delim | |
7826 host!$host$ac_delim | |
7827 host_cpu!$host_cpu$ac_delim | |
7828 host_vendor!$host_vendor$ac_delim | |
7829 host_os!$host_os$ac_delim | |
7830 target!$target$ac_delim | |
7831 target_cpu!$target_cpu$ac_delim | |
7832 target_vendor!$target_vendor$ac_delim | |
7833 target_os!$target_os$ac_delim | |
7834 CPP!$CPP$ac_delim | |
7835 GREP!$GREP$ac_delim | |
7836 EGREP!$EGREP$ac_delim | |
7837 PKG_CFG!$PKG_CFG$ac_delim | |
7838 GLIB_CONFIG!$GLIB_CONFIG$ac_delim | |
7839 GLIB_CFLAGS!$GLIB_CFLAGS$ac_delim | |
7840 GLIB_LIBS!$GLIB_LIBS$ac_delim | |
7841 GTK_CONFIG!$GTK_CONFIG$ac_delim | |
7842 GTK_CFLAGS!$GTK_CFLAGS$ac_delim | |
7843 GTK_LIBS!$GTK_LIBS$ac_delim | |
7844 IMLIB_CONFIG!$IMLIB_CONFIG$ac_delim | |
7845 GDK_IMLIB_CFLAGS!$GDK_IMLIB_CFLAGS$ac_delim | |
7846 GDK_IMLIB_LIBS!$GDK_IMLIB_LIBS$ac_delim | |
7847 SYSCONF_LINK_TARGET_SHARED!$SYSCONF_LINK_TARGET_SHARED$ac_delim | |
7848 SYSCONF_LINK_TARGET_SHARED2!$SYSCONF_LINK_TARGET_SHARED2$ac_delim | |
7849 SYSCONF_LINK_TARGET_STATIC!$SYSCONF_LINK_TARGET_STATIC$ac_delim | |
7850 INCLUDES!$INCLUDES$ac_delim | |
7851 PLATCCFLAGS!$PLATCCFLAGS$ac_delim | |
7852 ARFLAGS!$ARFLAGS$ac_delim | |
7853 RM!$RM$ac_delim | |
7854 LN!$LN$ac_delim | |
7855 CP!$CP$ac_delim | |
7856 MV!$MV$ac_delim | |
7857 MKDIR!$MKDIR$ac_delim | |
7858 SHAREDFLAG!$SHAREDFLAG$ac_delim | |
7859 SOSUFFIX!$SOSUFFIX$ac_delim | |
7860 LIBSUFFIX!$LIBSUFFIX$ac_delim | |
7861 LIBPREFIX!$LIBPREFIX$ac_delim | |
7862 SONAME!$SONAME$ac_delim | |
7863 TARGETS!$TARGETS$ac_delim | |
7864 DW_SRC!$DW_SRC$ac_delim | |
7865 _ACEOF | |
7866 | |
7867 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then | |
7868 break | |
7869 elif $ac_last_try; then | |
7870 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 | |
7871 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} | |
7872 { (exit 1); exit 1; }; } | |
7873 else | |
7874 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " | |
7875 fi | |
7876 done | |
7877 | |
7878 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` | |
7879 if test -n "$ac_eof"; then | |
7880 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` | |
7881 ac_eof=`expr $ac_eof + 1` | |
7882 fi | |
7883 | |
7884 cat >>$CONFIG_STATUS <<_ACEOF | |
7885 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof | |
7886 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b | |
7887 _ACEOF | |
7888 sed ' | |
7889 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g | |
7890 s/^/s,@/; s/!/@,|#_!!_#|/ | |
7891 :n | |
7892 t n | |
7893 s/'"$ac_delim"'$/,g/; t | |
7894 s/$/\\/; p | |
7895 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n | |
7896 ' >>$CONFIG_STATUS <conf$$subs.sed | |
7897 rm -f conf$$subs.sed | |
7898 cat >>$CONFIG_STATUS <<_ACEOF | |
7899 CEOF$ac_eof | |
7900 _ACEOF | |
7901 | |
7902 | |
7903 ac_delim='%!_!# ' | |
7904 for ac_last_try in false false false false false :; do | |
7905 cat >conf$$subs.sed <<_ACEOF | |
7906 DW_DIR!$DW_DIR$ac_delim | |
7907 DW_DEFINE!$DW_DEFINE$ac_delim | |
7908 BROWSER_OBJECT!$BROWSER_OBJECT$ac_delim | |
7909 COMPAT_OBJECT!$COMPAT_OBJECT$ac_delim | |
7910 INSTALL_COMPAT!$INSTALL_COMPAT$ac_delim | |
7911 ARCH!$ARCH$ac_delim | |
7912 LIBOBJS!$LIBOBJS$ac_delim | |
7913 LTLIBOBJS!$LTLIBOBJS$ac_delim | |
7914 _ACEOF | |
7915 | |
7916 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 8; then | |
7917 break | |
7918 elif $ac_last_try; then | |
7919 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 | |
7920 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} | |
7921 { (exit 1); exit 1; }; } | |
7922 else | |
7923 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " | |
7924 fi | |
7925 done | |
7926 | |
7927 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` | |
7928 if test -n "$ac_eof"; then | |
7929 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` | |
7930 ac_eof=`expr $ac_eof + 1` | |
7931 fi | |
7932 | |
7933 cat >>$CONFIG_STATUS <<_ACEOF | |
7934 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof | |
7935 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end | |
7936 _ACEOF | |
7937 sed ' | |
7938 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g | |
7939 s/^/s,@/; s/!/@,|#_!!_#|/ | |
7940 :n | |
7941 t n | |
7942 s/'"$ac_delim"'$/,g/; t | |
7943 s/$/\\/; p | |
7944 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n | |
7945 ' >>$CONFIG_STATUS <conf$$subs.sed | |
7946 rm -f conf$$subs.sed | |
7947 cat >>$CONFIG_STATUS <<_ACEOF | |
7948 :end | |
7949 s/|#_!!_#|//g | |
7950 CEOF$ac_eof | |
7951 _ACEOF | |
7952 | |
7953 | |
7954 # VPATH may cause trouble with some makes, so we remove $(srcdir), | |
7955 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and | |
7956 # trailing colons and then remove the whole line if VPATH becomes empty | |
7957 # (actually we leave an empty line to preserve line numbers). | |
7958 if test "x$srcdir" = x.; then | |
7959 ac_vpsub='/^[ ]*VPATH[ ]*=/{ | |
7960 s/:*\$(srcdir):*/:/ | |
7961 s/:*\${srcdir}:*/:/ | |
7962 s/:*@srcdir@:*/:/ | |
7963 s/^\([^=]*=[ ]*\):*/\1/ | |
7964 s/:*$// | |
7965 s/^[^=]*=[ ]*$// | |
7966 }' | |
7967 fi | |
7968 | |
7969 cat >>$CONFIG_STATUS <<\_ACEOF | |
7970 fi # test -n "$CONFIG_FILES" | |
7971 | |
7972 | |
7973 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS | |
7974 do | |
7975 case $ac_tag in | |
7976 :[FHLC]) ac_mode=$ac_tag; continue;; | |
7977 esac | |
7978 case $ac_mode$ac_tag in | |
7979 :[FHL]*:*);; | |
7980 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 | |
7981 echo "$as_me: error: Invalid tag $ac_tag." >&2;} | |
7982 { (exit 1); exit 1; }; };; | |
7983 :[FH]-) ac_tag=-:-;; | |
7984 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; | |
7985 esac | |
7986 ac_save_IFS=$IFS | |
7987 IFS=: | |
7988 set x $ac_tag | |
7989 IFS=$ac_save_IFS | |
7990 shift | |
7991 ac_file=$1 | |
7992 shift | |
7993 | |
7994 case $ac_mode in | |
7995 :L) ac_source=$1;; | |
7996 :[FH]) | |
7997 ac_file_inputs= | |
7998 for ac_f | |
7999 do | |
8000 case $ac_f in | |
8001 -) ac_f="$tmp/stdin";; | |
8002 *) # Look for the file first in the build tree, then in the source tree | |
8003 # (if the path is not absolute). The absolute path cannot be DOS-style, | |
8004 # because $ac_f cannot contain `:'. | |
8005 test -f "$ac_f" || | |
8006 case $ac_f in | |
8007 [\\/$]*) false;; | |
8008 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; | |
8009 esac || | |
8010 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 | |
8011 echo "$as_me: error: cannot find input file: $ac_f" >&2;} | |
8012 { (exit 1); exit 1; }; };; | |
8013 esac | |
8014 ac_file_inputs="$ac_file_inputs $ac_f" | |
8015 done | |
8016 | |
8017 # Let's still pretend it is `configure' which instantiates (i.e., don't | |
8018 # use $as_me), people would be surprised to read: | |
8019 # /* config.h. Generated by config.status. */ | |
8020 configure_input="Generated from "`IFS=: | |
8021 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." | |
8022 if test x"$ac_file" != x-; then | |
8023 configure_input="$ac_file. $configure_input" | |
8024 { echo "$as_me:$LINENO: creating $ac_file" >&5 | |
8025 echo "$as_me: creating $ac_file" >&6;} | |
8026 fi | |
8027 | |
8028 case $ac_tag in | |
8029 *:-:* | *:-) cat >"$tmp/stdin";; | |
8030 esac | |
8031 ;; | |
8032 esac | |
8033 | |
8034 ac_dir=`$as_dirname -- "$ac_file" || | |
8035 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
8036 X"$ac_file" : 'X\(//\)[^/]' \| \ | |
8037 X"$ac_file" : 'X\(//\)$' \| \ | |
8038 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || | |
8039 echo X"$ac_file" | | |
8040 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
8041 s//\1/ | |
8042 q | |
8043 } | |
8044 /^X\(\/\/\)[^/].*/{ | |
8045 s//\1/ | |
8046 q | |
8047 } | |
8048 /^X\(\/\/\)$/{ | |
8049 s//\1/ | |
8050 q | |
8051 } | |
8052 /^X\(\/\).*/{ | |
8053 s//\1/ | |
8054 q | |
8055 } | |
8056 s/.*/./; q'` | |
8057 { as_dir="$ac_dir" | |
6310 case $as_dir in #( | 8058 case $as_dir in #( |
6311 -*) as_dir=./$as_dir;; | 8059 -*) as_dir=./$as_dir;; |
6312 esac | 8060 esac |
6313 test -d "$as_dir" || eval $as_mkdir_p || { | 8061 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { |
6314 as_dirs= | 8062 as_dirs= |
6315 while :; do | 8063 while :; do |
6316 case $as_dir in #( | 8064 case $as_dir in #( |
6317 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( | 8065 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( |
6318 *) as_qdir=$as_dir;; | 8066 *) as_qdir=$as_dir;; |
6319 esac | 8067 esac |
6320 as_dirs="'$as_qdir' $as_dirs" | 8068 as_dirs="'$as_qdir' $as_dirs" |
6321 as_dir=`$as_dirname -- "$as_dir" || | 8069 as_dir=`$as_dirname -- "$as_dir" || |
6322 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 8070 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
6323 X"$as_dir" : 'X\(//\)[^/]' \| \ | 8071 X"$as_dir" : 'X\(//\)[^/]' \| \ |
6324 X"$as_dir" : 'X\(//\)$' \| \ | 8072 X"$as_dir" : 'X\(//\)$' \| \ |
6325 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || | 8073 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
6326 $as_echo X"$as_dir" | | 8074 echo X"$as_dir" | |
6327 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | 8075 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
6328 s//\1/ | 8076 s//\1/ |
6329 q | 8077 q |
6330 } | 8078 } |
6331 /^X\(\/\/\)[^/].*/{ | 8079 /^X\(\/\/\)[^/].*/{ |
6342 } | 8090 } |
6343 s/.*/./; q'` | 8091 s/.*/./; q'` |
6344 test -d "$as_dir" && break | 8092 test -d "$as_dir" && break |
6345 done | 8093 done |
6346 test -z "$as_dirs" || eval "mkdir $as_dirs" | 8094 test -z "$as_dirs" || eval "mkdir $as_dirs" |
6347 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" | 8095 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 |
6348 | 8096 echo "$as_me: error: cannot create directory $as_dir" >&2;} |
6349 | 8097 { (exit 1); exit 1; }; }; } |
6350 } # as_fn_mkdir_p | |
6351 if mkdir -p . 2>/dev/null; then | |
6352 as_mkdir_p='mkdir -p "$as_dir"' | |
6353 else | |
6354 test -d ./-p && rmdir ./-p | |
6355 as_mkdir_p=false | |
6356 fi | |
6357 | |
6358 if test -x / >/dev/null 2>&1; then | |
6359 as_test_x='test -x' | |
6360 else | |
6361 if ls -dL / >/dev/null 2>&1; then | |
6362 as_ls_L_option=L | |
6363 else | |
6364 as_ls_L_option= | |
6365 fi | |
6366 as_test_x=' | |
6367 eval sh -c '\'' | |
6368 if test -d "$1"; then | |
6369 test -d "$1/."; | |
6370 else | |
6371 case $1 in #( | |
6372 -*)set "./$1";; | |
6373 esac; | |
6374 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( | |
6375 ???[sx]*):;;*)false;;esac;fi | |
6376 '\'' sh | |
6377 ' | |
6378 fi | |
6379 as_executable_p=$as_test_x | |
6380 | |
6381 # Sed expression to map a string onto a valid CPP name. | |
6382 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" | |
6383 | |
6384 # Sed expression to map a string onto a valid variable name. | |
6385 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | |
6386 | |
6387 | |
6388 exec 6>&1 | |
6389 ## ----------------------------------- ## | |
6390 ## Main body of $CONFIG_STATUS script. ## | |
6391 ## ----------------------------------- ## | |
6392 _ASEOF | |
6393 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 | |
6394 | |
6395 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
6396 # Save the log message, to keep $0 and so on meaningful, and to | |
6397 # report actual input values of CONFIG_FILES etc. instead of their | |
6398 # values after options handling. | |
6399 ac_log=" | |
6400 This file was extended by $as_me, which was | |
6401 generated by GNU Autoconf 2.68. Invocation command line was | |
6402 | |
6403 CONFIG_FILES = $CONFIG_FILES | |
6404 CONFIG_HEADERS = $CONFIG_HEADERS | |
6405 CONFIG_LINKS = $CONFIG_LINKS | |
6406 CONFIG_COMMANDS = $CONFIG_COMMANDS | |
6407 $ $0 $@ | |
6408 | |
6409 on `(hostname || uname -n) 2>/dev/null | sed 1q` | |
6410 " | |
6411 | |
6412 _ACEOF | |
6413 | |
6414 case $ac_config_files in *" | |
6415 "*) set x $ac_config_files; shift; ac_config_files=$*;; | |
6416 esac | |
6417 | |
6418 case $ac_config_headers in *" | |
6419 "*) set x $ac_config_headers; shift; ac_config_headers=$*;; | |
6420 esac | |
6421 | |
6422 | |
6423 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
6424 # Files that config.status was made for. | |
6425 config_files="$ac_config_files" | |
6426 config_headers="$ac_config_headers" | |
6427 | |
6428 _ACEOF | |
6429 | |
6430 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
6431 ac_cs_usage="\ | |
6432 \`$as_me' instantiates files and other configuration actions | |
6433 from templates according to the current configuration. Unless the files | |
6434 and actions are specified as TAGs, all are instantiated by default. | |
6435 | |
6436 Usage: $0 [OPTION]... [TAG]... | |
6437 | |
6438 -h, --help print this help, then exit | |
6439 -V, --version print version number and configuration settings, then exit | |
6440 --config print configuration, then exit | |
6441 -q, --quiet, --silent | |
6442 do not print progress messages | |
6443 -d, --debug don't remove temporary files | |
6444 --recheck update $as_me by reconfiguring in the same conditions | |
6445 --file=FILE[:TEMPLATE] | |
6446 instantiate the configuration file FILE | |
6447 --header=FILE[:TEMPLATE] | |
6448 instantiate the configuration header FILE | |
6449 | |
6450 Configuration files: | |
6451 $config_files | |
6452 | |
6453 Configuration headers: | |
6454 $config_headers | |
6455 | |
6456 Report bugs to the package provider." | |
6457 | |
6458 _ACEOF | |
6459 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
6460 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" | |
6461 ac_cs_version="\\ | |
6462 config.status | |
6463 configured by $0, generated by GNU Autoconf 2.68, | |
6464 with options \\"\$ac_cs_config\\" | |
6465 | |
6466 Copyright (C) 2010 Free Software Foundation, Inc. | |
6467 This config.status script is free software; the Free Software Foundation | |
6468 gives unlimited permission to copy, distribute and modify it." | |
6469 | |
6470 ac_pwd='$ac_pwd' | |
6471 srcdir='$srcdir' | |
6472 INSTALL='$INSTALL' | |
6473 test -n "\$AWK" || AWK=awk | |
6474 _ACEOF | |
6475 | |
6476 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
6477 # The default lists apply if the user does not specify any file. | |
6478 ac_need_defaults=: | |
6479 while test $# != 0 | |
6480 do | |
6481 case $1 in | |
6482 --*=?*) | |
6483 ac_option=`expr "X$1" : 'X\([^=]*\)='` | |
6484 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` | |
6485 ac_shift=: | |
6486 ;; | |
6487 --*=) | |
6488 ac_option=`expr "X$1" : 'X\([^=]*\)='` | |
6489 ac_optarg= | |
6490 ac_shift=: | |
6491 ;; | |
6492 *) | |
6493 ac_option=$1 | |
6494 ac_optarg=$2 | |
6495 ac_shift=shift | |
6496 ;; | |
6497 esac | |
6498 | |
6499 case $ac_option in | |
6500 # Handling of the options. | |
6501 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) | |
6502 ac_cs_recheck=: ;; | |
6503 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) | |
6504 $as_echo "$ac_cs_version"; exit ;; | |
6505 --config | --confi | --conf | --con | --co | --c ) | |
6506 $as_echo "$ac_cs_config"; exit ;; | |
6507 --debug | --debu | --deb | --de | --d | -d ) | |
6508 debug=: ;; | |
6509 --file | --fil | --fi | --f ) | |
6510 $ac_shift | |
6511 case $ac_optarg in | |
6512 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; | |
6513 '') as_fn_error $? "missing file argument" ;; | |
6514 esac | |
6515 as_fn_append CONFIG_FILES " '$ac_optarg'" | |
6516 ac_need_defaults=false;; | |
6517 --header | --heade | --head | --hea ) | |
6518 $ac_shift | |
6519 case $ac_optarg in | |
6520 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; | |
6521 esac | |
6522 as_fn_append CONFIG_HEADERS " '$ac_optarg'" | |
6523 ac_need_defaults=false;; | |
6524 --he | --h) | |
6525 # Conflict between --help and --header | |
6526 as_fn_error $? "ambiguous option: \`$1' | |
6527 Try \`$0 --help' for more information.";; | |
6528 --help | --hel | -h ) | |
6529 $as_echo "$ac_cs_usage"; exit ;; | |
6530 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | |
6531 | -silent | --silent | --silen | --sile | --sil | --si | --s) | |
6532 ac_cs_silent=: ;; | |
6533 | |
6534 # This is an error. | |
6535 -*) as_fn_error $? "unrecognized option: \`$1' | |
6536 Try \`$0 --help' for more information." ;; | |
6537 | |
6538 *) as_fn_append ac_config_targets " $1" | |
6539 ac_need_defaults=false ;; | |
6540 | |
6541 esac | |
6542 shift | |
6543 done | |
6544 | |
6545 ac_configure_extra_args= | |
6546 | |
6547 if $ac_cs_silent; then | |
6548 exec 6>/dev/null | |
6549 ac_configure_extra_args="$ac_configure_extra_args --silent" | |
6550 fi | |
6551 | |
6552 _ACEOF | |
6553 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
6554 if \$ac_cs_recheck; then | |
6555 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion | |
6556 shift | |
6557 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 | |
6558 CONFIG_SHELL='$SHELL' | |
6559 export CONFIG_SHELL | |
6560 exec "\$@" | |
6561 fi | |
6562 | |
6563 _ACEOF | |
6564 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
6565 exec 5>>config.log | |
6566 { | |
6567 echo | |
6568 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX | |
6569 ## Running $as_me. ## | |
6570 _ASBOX | |
6571 $as_echo "$ac_log" | |
6572 } >&5 | |
6573 | |
6574 _ACEOF | |
6575 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
6576 _ACEOF | |
6577 | |
6578 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
6579 | |
6580 # Handling of arguments. | |
6581 for ac_config_target in $ac_config_targets | |
6582 do | |
6583 case $ac_config_target in | |
6584 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; | |
6585 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; | |
6586 "dwindows-config") CONFIG_FILES="$CONFIG_FILES dwindows-config" ;; | |
6587 | |
6588 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; | |
6589 esac | |
6590 done | |
6591 | |
6592 | |
6593 # If the user did not use the arguments to specify the items to instantiate, | |
6594 # then the envvar interface is used. Set only those that are not. | |
6595 # We use the long form for the default assignment because of an extremely | |
6596 # bizarre bug on SunOS 4.1.3. | |
6597 if $ac_need_defaults; then | |
6598 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files | |
6599 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers | |
6600 fi | |
6601 | |
6602 # Have a temporary directory for convenience. Make it in the build tree | |
6603 # simply because there is no reason against having it here, and in addition, | |
6604 # creating and moving files from /tmp can sometimes cause problems. | |
6605 # Hook for its removal unless debugging. | |
6606 # Note that there is a small window in which the directory will not be cleaned: | |
6607 # after its creation but before its name has been assigned to `$tmp'. | |
6608 $debug || | |
6609 { | |
6610 tmp= ac_tmp= | |
6611 trap 'exit_status=$? | |
6612 : "${ac_tmp:=$tmp}" | |
6613 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status | |
6614 ' 0 | |
6615 trap 'as_fn_exit 1' 1 2 13 15 | |
6616 } | |
6617 # Create a (secure) tmp directory for tmp files. | |
6618 | |
6619 { | |
6620 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && | |
6621 test -d "$tmp" | |
6622 } || | |
6623 { | |
6624 tmp=./conf$$-$RANDOM | |
6625 (umask 077 && mkdir "$tmp") | |
6626 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 | |
6627 ac_tmp=$tmp | |
6628 | |
6629 # Set up the scripts for CONFIG_FILES section. | |
6630 # No need to generate them if there are no CONFIG_FILES. | |
6631 # This happens for instance with `./config.status config.h'. | |
6632 if test -n "$CONFIG_FILES"; then | |
6633 | |
6634 | |
6635 ac_cr=`echo X | tr X '\015'` | |
6636 # On cygwin, bash can eat \r inside `` if the user requested igncr. | |
6637 # But we know of no other shell where ac_cr would be empty at this | |
6638 # point, so we can use a bashism as a fallback. | |
6639 if test "x$ac_cr" = x; then | |
6640 eval ac_cr=\$\'\\r\' | |
6641 fi | |
6642 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` | |
6643 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then | |
6644 ac_cs_awk_cr='\\r' | |
6645 else | |
6646 ac_cs_awk_cr=$ac_cr | |
6647 fi | |
6648 | |
6649 echo 'BEGIN {' >"$ac_tmp/subs1.awk" && | |
6650 _ACEOF | |
6651 | |
6652 | |
6653 { | |
6654 echo "cat >conf$$subs.awk <<_ACEOF" && | |
6655 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && | |
6656 echo "_ACEOF" | |
6657 } >conf$$subs.sh || | |
6658 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 | |
6659 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` | |
6660 ac_delim='%!_!# ' | |
6661 for ac_last_try in false false false false false :; do | |
6662 . ./conf$$subs.sh || | |
6663 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 | |
6664 | |
6665 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` | |
6666 if test $ac_delim_n = $ac_delim_num; then | |
6667 break | |
6668 elif $ac_last_try; then | |
6669 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 | |
6670 else | |
6671 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " | |
6672 fi | |
6673 done | |
6674 rm -f conf$$subs.sh | |
6675 | |
6676 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
6677 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && | |
6678 _ACEOF | |
6679 sed -n ' | |
6680 h | |
6681 s/^/S["/; s/!.*/"]=/ | |
6682 p | |
6683 g | |
6684 s/^[^!]*!// | |
6685 :repl | |
6686 t repl | |
6687 s/'"$ac_delim"'$// | |
6688 t delim | |
6689 :nl | |
6690 h | |
6691 s/\(.\{148\}\)..*/\1/ | |
6692 t more1 | |
6693 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ | |
6694 p | |
6695 n | |
6696 b repl | |
6697 :more1 | |
6698 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ | |
6699 p | |
6700 g | |
6701 s/.\{148\}// | |
6702 t nl | |
6703 :delim | |
6704 h | |
6705 s/\(.\{148\}\)..*/\1/ | |
6706 t more2 | |
6707 s/["\\]/\\&/g; s/^/"/; s/$/"/ | |
6708 p | |
6709 b | |
6710 :more2 | |
6711 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ | |
6712 p | |
6713 g | |
6714 s/.\{148\}// | |
6715 t delim | |
6716 ' <conf$$subs.awk | sed ' | |
6717 /^[^""]/{ | |
6718 N | |
6719 s/\n// | |
6720 } | |
6721 ' >>$CONFIG_STATUS || ac_write_fail=1 | |
6722 rm -f conf$$subs.awk | |
6723 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
6724 _ACAWK | |
6725 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && | |
6726 for (key in S) S_is_set[key] = 1 | |
6727 FS = "" | |
6728 | |
6729 } | |
6730 { | |
6731 line = $ 0 | |
6732 nfields = split(line, field, "@") | |
6733 substed = 0 | |
6734 len = length(field[1]) | |
6735 for (i = 2; i < nfields; i++) { | |
6736 key = field[i] | |
6737 keylen = length(key) | |
6738 if (S_is_set[key]) { | |
6739 value = S[key] | |
6740 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) | |
6741 len += length(value) + length(field[++i]) | |
6742 substed = 1 | |
6743 } else | |
6744 len += 1 + keylen | |
6745 } | |
6746 | |
6747 print line | |
6748 } | |
6749 | |
6750 _ACAWK | |
6751 _ACEOF | |
6752 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
6753 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then | |
6754 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" | |
6755 else | |
6756 cat | |
6757 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ | |
6758 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 | |
6759 _ACEOF | |
6760 | |
6761 # VPATH may cause trouble with some makes, so we remove sole $(srcdir), | |
6762 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and | |
6763 # trailing colons and then remove the whole line if VPATH becomes empty | |
6764 # (actually we leave an empty line to preserve line numbers). | |
6765 if test "x$srcdir" = x.; then | |
6766 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ | |
6767 h | |
6768 s/// | |
6769 s/^/:/ | |
6770 s/[ ]*$/:/ | |
6771 s/:\$(srcdir):/:/g | |
6772 s/:\${srcdir}:/:/g | |
6773 s/:@srcdir@:/:/g | |
6774 s/^:*// | |
6775 s/:*$// | |
6776 x | |
6777 s/\(=[ ]*\).*/\1/ | |
6778 G | |
6779 s/\n// | |
6780 s/^[^=]*=[ ]*$// | |
6781 }' | |
6782 fi | |
6783 | |
6784 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
6785 fi # test -n "$CONFIG_FILES" | |
6786 | |
6787 # Set up the scripts for CONFIG_HEADERS section. | |
6788 # No need to generate them if there are no CONFIG_HEADERS. | |
6789 # This happens for instance with `./config.status Makefile'. | |
6790 if test -n "$CONFIG_HEADERS"; then | |
6791 cat >"$ac_tmp/defines.awk" <<\_ACAWK || | |
6792 BEGIN { | |
6793 _ACEOF | |
6794 | |
6795 # Transform confdefs.h into an awk script `defines.awk', embedded as | |
6796 # here-document in config.status, that substitutes the proper values into | |
6797 # config.h.in to produce config.h. | |
6798 | |
6799 # Create a delimiter string that does not exist in confdefs.h, to ease | |
6800 # handling of long lines. | |
6801 ac_delim='%!_!# ' | |
6802 for ac_last_try in false false :; do | |
6803 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` | |
6804 if test -z "$ac_tt"; then | |
6805 break | |
6806 elif $ac_last_try; then | |
6807 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 | |
6808 else | |
6809 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " | |
6810 fi | |
6811 done | |
6812 | |
6813 # For the awk script, D is an array of macro values keyed by name, | |
6814 # likewise P contains macro parameters if any. Preserve backslash | |
6815 # newline sequences. | |
6816 | |
6817 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* | |
6818 sed -n ' | |
6819 s/.\{148\}/&'"$ac_delim"'/g | |
6820 t rset | |
6821 :rset | |
6822 s/^[ ]*#[ ]*define[ ][ ]*/ / | |
6823 t def | |
6824 d | |
6825 :def | |
6826 s/\\$// | |
6827 t bsnl | |
6828 s/["\\]/\\&/g | |
6829 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ | |
6830 D["\1"]=" \3"/p | |
6831 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p | |
6832 d | |
6833 :bsnl | |
6834 s/["\\]/\\&/g | |
6835 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ | |
6836 D["\1"]=" \3\\\\\\n"\\/p | |
6837 t cont | |
6838 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p | |
6839 t cont | |
6840 d | |
6841 :cont | |
6842 n | |
6843 s/.\{148\}/&'"$ac_delim"'/g | |
6844 t clear | |
6845 :clear | |
6846 s/\\$// | |
6847 t bsnlc | |
6848 s/["\\]/\\&/g; s/^/"/; s/$/"/p | |
6849 d | |
6850 :bsnlc | |
6851 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p | |
6852 b cont | |
6853 ' <confdefs.h | sed ' | |
6854 s/'"$ac_delim"'/"\\\ | |
6855 "/g' >>$CONFIG_STATUS || ac_write_fail=1 | |
6856 | |
6857 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
6858 for (key in D) D_is_set[key] = 1 | |
6859 FS = "" | |
6860 } | |
6861 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { | |
6862 line = \$ 0 | |
6863 split(line, arg, " ") | |
6864 if (arg[1] == "#") { | |
6865 defundef = arg[2] | |
6866 mac1 = arg[3] | |
6867 } else { | |
6868 defundef = substr(arg[1], 2) | |
6869 mac1 = arg[2] | |
6870 } | |
6871 split(mac1, mac2, "(") #) | |
6872 macro = mac2[1] | |
6873 prefix = substr(line, 1, index(line, defundef) - 1) | |
6874 if (D_is_set[macro]) { | |
6875 # Preserve the white space surrounding the "#". | |
6876 print prefix "define", macro P[macro] D[macro] | |
6877 next | |
6878 } else { | |
6879 # Replace #undef with comments. This is necessary, for example, | |
6880 # in the case of _POSIX_SOURCE, which is predefined and required | |
6881 # on some systems where configure will not decide to define it. | |
6882 if (defundef == "undef") { | |
6883 print "/*", prefix defundef, macro, "*/" | |
6884 next | |
6885 } | |
6886 } | |
6887 } | |
6888 { print } | |
6889 _ACAWK | |
6890 _ACEOF | |
6891 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
6892 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 | |
6893 fi # test -n "$CONFIG_HEADERS" | |
6894 | |
6895 | |
6896 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS " | |
6897 shift | |
6898 for ac_tag | |
6899 do | |
6900 case $ac_tag in | |
6901 :[FHLC]) ac_mode=$ac_tag; continue;; | |
6902 esac | |
6903 case $ac_mode$ac_tag in | |
6904 :[FHL]*:*);; | |
6905 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; | |
6906 :[FH]-) ac_tag=-:-;; | |
6907 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; | |
6908 esac | |
6909 ac_save_IFS=$IFS | |
6910 IFS=: | |
6911 set x $ac_tag | |
6912 IFS=$ac_save_IFS | |
6913 shift | |
6914 ac_file=$1 | |
6915 shift | |
6916 | |
6917 case $ac_mode in | |
6918 :L) ac_source=$1;; | |
6919 :[FH]) | |
6920 ac_file_inputs= | |
6921 for ac_f | |
6922 do | |
6923 case $ac_f in | |
6924 -) ac_f="$ac_tmp/stdin";; | |
6925 *) # Look for the file first in the build tree, then in the source tree | |
6926 # (if the path is not absolute). The absolute path cannot be DOS-style, | |
6927 # because $ac_f cannot contain `:'. | |
6928 test -f "$ac_f" || | |
6929 case $ac_f in | |
6930 [\\/$]*) false;; | |
6931 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; | |
6932 esac || | |
6933 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; | |
6934 esac | |
6935 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac | |
6936 as_fn_append ac_file_inputs " '$ac_f'" | |
6937 done | |
6938 | |
6939 # Let's still pretend it is `configure' which instantiates (i.e., don't | |
6940 # use $as_me), people would be surprised to read: | |
6941 # /* config.h. Generated by config.status. */ | |
6942 configure_input='Generated from '` | |
6943 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' | |
6944 `' by configure.' | |
6945 if test x"$ac_file" != x-; then | |
6946 configure_input="$ac_file. $configure_input" | |
6947 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 | |
6948 $as_echo "$as_me: creating $ac_file" >&6;} | |
6949 fi | |
6950 # Neutralize special characters interpreted by sed in replacement strings. | |
6951 case $configure_input in #( | |
6952 *\&* | *\|* | *\\* ) | |
6953 ac_sed_conf_input=`$as_echo "$configure_input" | | |
6954 sed 's/[\\\\&|]/\\\\&/g'`;; #( | |
6955 *) ac_sed_conf_input=$configure_input;; | |
6956 esac | |
6957 | |
6958 case $ac_tag in | |
6959 *:-:* | *:-) cat >"$ac_tmp/stdin" \ | |
6960 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; | |
6961 esac | |
6962 ;; | |
6963 esac | |
6964 | |
6965 ac_dir=`$as_dirname -- "$ac_file" || | |
6966 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
6967 X"$ac_file" : 'X\(//\)[^/]' \| \ | |
6968 X"$ac_file" : 'X\(//\)$' \| \ | |
6969 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || | |
6970 $as_echo X"$ac_file" | | |
6971 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
6972 s//\1/ | |
6973 q | |
6974 } | |
6975 /^X\(\/\/\)[^/].*/{ | |
6976 s//\1/ | |
6977 q | |
6978 } | |
6979 /^X\(\/\/\)$/{ | |
6980 s//\1/ | |
6981 q | |
6982 } | |
6983 /^X\(\/\).*/{ | |
6984 s//\1/ | |
6985 q | |
6986 } | |
6987 s/.*/./; q'` | |
6988 as_dir="$ac_dir"; as_fn_mkdir_p | |
6989 ac_builddir=. | 8098 ac_builddir=. |
6990 | 8099 |
6991 case "$ac_dir" in | 8100 case "$ac_dir" in |
6992 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; | 8101 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
6993 *) | 8102 *) |
6994 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` | 8103 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
6995 # A ".." for each directory in $ac_dir_suffix. | 8104 # A ".." for each directory in $ac_dir_suffix. |
6996 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` | 8105 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` |
6997 case $ac_top_builddir_sub in | 8106 case $ac_top_builddir_sub in |
6998 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; | 8107 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
6999 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; | 8108 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
7000 esac ;; | 8109 esac ;; |
7001 esac | 8110 esac |
7035 | 8144 |
7036 | 8145 |
7037 # Neutralize VPATH when `$srcdir' = `.'. | 8146 # Neutralize VPATH when `$srcdir' = `.'. |
7038 # Shell code in configure.ac might set extrasub. | 8147 # Shell code in configure.ac might set extrasub. |
7039 # FIXME: do we really want to maintain this feature? | 8148 # FIXME: do we really want to maintain this feature? |
7040 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | 8149 cat >>$CONFIG_STATUS <<_ACEOF |
7041 ac_sed_extra="$ac_vpsub | 8150 sed "$ac_vpsub |
7042 $extrasub | 8151 $extrasub |
7043 _ACEOF | 8152 _ACEOF |
7044 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | 8153 cat >>$CONFIG_STATUS <<\_ACEOF |
7045 :t | 8154 :t |
7046 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b | 8155 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
7047 s|@configure_input@|$ac_sed_conf_input|;t t | 8156 s&@configure_input@&$configure_input&;t t |
7048 s&@top_builddir@&$ac_top_builddir_sub&;t t | 8157 s&@top_builddir@&$ac_top_builddir_sub&;t t |
7049 s&@top_build_prefix@&$ac_top_build_prefix&;t t | |
7050 s&@srcdir@&$ac_srcdir&;t t | 8158 s&@srcdir@&$ac_srcdir&;t t |
7051 s&@abs_srcdir@&$ac_abs_srcdir&;t t | 8159 s&@abs_srcdir@&$ac_abs_srcdir&;t t |
7052 s&@top_srcdir@&$ac_top_srcdir&;t t | 8160 s&@top_srcdir@&$ac_top_srcdir&;t t |
7053 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t | 8161 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t |
7054 s&@builddir@&$ac_builddir&;t t | 8162 s&@builddir@&$ac_builddir&;t t |
7055 s&@abs_builddir@&$ac_abs_builddir&;t t | 8163 s&@abs_builddir@&$ac_abs_builddir&;t t |
7056 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t | 8164 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
7057 s&@INSTALL@&$ac_INSTALL&;t t | 8165 s&@INSTALL@&$ac_INSTALL&;t t |
7058 " | 8166 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out |
7059 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ | 8167 |
7060 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 | 8168 |
7061 | 8169 rm -f "$tmp/stdin" |
7062 | |
7063 rm -f "$ac_tmp/stdin" | |
7064 case $ac_file in | 8170 case $ac_file in |
7065 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; | 8171 -) cat "$tmp/out"; rm -f "$tmp/out";; |
7066 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; | 8172 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; |
7067 esac \ | 8173 esac |
7068 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 | |
7069 ;; | 8174 ;; |
7070 :H) | 8175 :H) |
7071 # | 8176 # |
7072 # CONFIG_HEADER | 8177 # CONFIG_HEADER |
7073 # | 8178 # |
8179 _ACEOF | |
8180 | |
8181 # Transform confdefs.h into a sed script `conftest.defines', that | |
8182 # substitutes the proper values into config.h.in to produce config.h. | |
8183 rm -f conftest.defines conftest.tail | |
8184 # First, append a space to every undef/define line, to ease matching. | |
8185 echo 's/$/ /' >conftest.defines | |
8186 # Then, protect against being on the right side of a sed subst, or in | |
8187 # an unquoted here document, in config.status. If some macros were | |
8188 # called several times there might be several #defines for the same | |
8189 # symbol, which is useless. But do not sort them, since the last | |
8190 # AC_DEFINE must be honored. | |
8191 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* | |
8192 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where | |
8193 # NAME is the cpp macro being defined, VALUE is the value it is being given. | |
8194 # PARAMS is the parameter list in the macro definition--in most cases, it's | |
8195 # just an empty string. | |
8196 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*' | |
8197 ac_dB='\\)[ (].*,\\1define\\2' | |
8198 ac_dC=' ' | |
8199 ac_dD=' ,' | |
8200 | |
8201 uniq confdefs.h | | |
8202 sed -n ' | |
8203 t rset | |
8204 :rset | |
8205 s/^[ ]*#[ ]*define[ ][ ]*// | |
8206 t ok | |
8207 d | |
8208 :ok | |
8209 s/[\\&,]/\\&/g | |
8210 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p | |
8211 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p | |
8212 ' >>conftest.defines | |
8213 | |
8214 # Remove the space that was appended to ease matching. | |
8215 # Then replace #undef with comments. This is necessary, for | |
8216 # example, in the case of _POSIX_SOURCE, which is predefined and required | |
8217 # on some systems where configure will not decide to define it. | |
8218 # (The regexp can be short, since the line contains either #define or #undef.) | |
8219 echo 's/ $// | |
8220 s,^[ #]*u.*,/* & */,' >>conftest.defines | |
8221 | |
8222 # Break up conftest.defines: | |
8223 ac_max_sed_lines=50 | |
8224 | |
8225 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1" | |
8226 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2" | |
8227 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1" | |
8228 # et cetera. | |
8229 ac_in='$ac_file_inputs' | |
8230 ac_out='"$tmp/out1"' | |
8231 ac_nxt='"$tmp/out2"' | |
8232 | |
8233 while : | |
8234 do | |
8235 # Write a here document: | |
8236 cat >>$CONFIG_STATUS <<_ACEOF | |
8237 # First, check the format of the line: | |
8238 cat >"\$tmp/defines.sed" <<\\CEOF | |
8239 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*/b def | |
8240 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def | |
8241 b | |
8242 :def | |
8243 _ACEOF | |
8244 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS | |
8245 echo 'CEOF | |
8246 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS | |
8247 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in | |
8248 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail | |
8249 grep . conftest.tail >/dev/null || break | |
8250 rm -f conftest.defines | |
8251 mv conftest.tail conftest.defines | |
8252 done | |
8253 rm -f conftest.defines conftest.tail | |
8254 | |
8255 echo "ac_result=$ac_in" >>$CONFIG_STATUS | |
8256 cat >>$CONFIG_STATUS <<\_ACEOF | |
7074 if test x"$ac_file" != x-; then | 8257 if test x"$ac_file" != x-; then |
7075 { | 8258 echo "/* $configure_input */" >"$tmp/config.h" |
7076 $as_echo "/* $configure_input */" \ | 8259 cat "$ac_result" >>"$tmp/config.h" |
7077 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" | 8260 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then |
7078 } >"$ac_tmp/config.h" \ | 8261 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 |
7079 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 | 8262 echo "$as_me: $ac_file is unchanged" >&6;} |
7080 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then | |
7081 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 | |
7082 $as_echo "$as_me: $ac_file is unchanged" >&6;} | |
7083 else | 8263 else |
7084 rm -f "$ac_file" | 8264 rm -f $ac_file |
7085 mv "$ac_tmp/config.h" "$ac_file" \ | 8265 mv "$tmp/config.h" $ac_file |
7086 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 | |
7087 fi | 8266 fi |
7088 else | 8267 else |
7089 $as_echo "/* $configure_input */" \ | 8268 echo "/* $configure_input */" |
7090 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ | 8269 cat "$ac_result" |
7091 || as_fn_error $? "could not create -" "$LINENO" 5 | |
7092 fi | 8270 fi |
8271 rm -f "$tmp/out12" | |
7093 ;; | 8272 ;; |
7094 | 8273 |
7095 | 8274 |
7096 esac | 8275 esac |
7097 | 8276 |
7098 done # for ac_tag | 8277 done # for ac_tag |
7099 | 8278 |
7100 | 8279 |
7101 as_fn_exit 0 | 8280 { (exit 0); exit 0; } |
7102 _ACEOF | 8281 _ACEOF |
8282 chmod +x $CONFIG_STATUS | |
7103 ac_clean_files=$ac_clean_files_save | 8283 ac_clean_files=$ac_clean_files_save |
7104 | |
7105 test $ac_write_fail = 0 || | |
7106 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 | |
7107 | 8284 |
7108 | 8285 |
7109 # configure is writing to config.log, and then calls config.status. | 8286 # configure is writing to config.log, and then calls config.status. |
7110 # config.status does its own redirection, appending to config.log. | 8287 # config.status does its own redirection, appending to config.log. |
7111 # Unfortunately, on DOS this fails, as config.log is still kept open | 8288 # Unfortunately, on DOS this fails, as config.log is still kept open |
7122 exec 5>/dev/null | 8299 exec 5>/dev/null |
7123 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false | 8300 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
7124 exec 5>>config.log | 8301 exec 5>>config.log |
7125 # Use ||, not &&, to avoid exiting from the if with $? = 1, which | 8302 # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
7126 # would make configure fail if this is the last instruction. | 8303 # would make configure fail if this is the last instruction. |
7127 $ac_cs_success || as_fn_exit 1 | 8304 $ac_cs_success || { (exit 1); exit 1; } |
7128 fi | 8305 fi |
7129 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then | 8306 |
7130 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 | |
7131 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} | |
7132 fi | |
7133 |