Mercurial > dwindows
comparison configure @ 1596:ae90d440b2a4
Updated the configure script with a newer autoconf.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Thu, 23 Feb 2012 14:55:33 +0000 |
parents | 080b764e8982 |
children | 2675e0edcc1d |
comparison
equal
deleted
inserted
replaced
1595:080b764e8982 | 1596:ae90d440b2a4 |
---|---|
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.61. | 3 # Generated by GNU Autoconf 2.68. |
4 # | |
4 # | 5 # |
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, | 6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. | 7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software |
8 # Foundation, Inc. | |
9 # | |
10 # | |
7 # This configure script is free software; the Free Software Foundation | 11 # This configure script is free software; the Free Software Foundation |
8 # gives unlimited permission to copy, distribute and modify it. | 12 # gives unlimited permission to copy, distribute and modify it. |
9 ## --------------------- ## | 13 ## -------------------- ## |
10 ## M4sh Initialization. ## | 14 ## M4sh Initialization. ## |
11 ## --------------------- ## | 15 ## -------------------- ## |
12 | 16 |
13 # Be more Bourne compatible | 17 # Be more Bourne compatible |
14 DUALCASE=1; export DUALCASE # for MKS sh | 18 DUALCASE=1; export DUALCASE # for MKS sh |
15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | 19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : |
16 emulate sh | 20 emulate sh |
17 NULLCMD=: | 21 NULLCMD=: |
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which | 22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
19 # is contrary to our usage. Disable this feature. | 23 # is contrary to our usage. Disable this feature. |
20 alias -g '${1+"$@"}'='"$@"' | 24 alias -g '${1+"$@"}'='"$@"' |
21 setopt NO_GLOB_SUBST | 25 setopt NO_GLOB_SUBST |
22 else | 26 else |
23 case `(set -o) 2>/dev/null` in | 27 case `(set -o) 2>/dev/null` in #( |
24 *posix*) set -o posix ;; | 28 *posix*) : |
29 set -o posix ;; #( | |
30 *) : | |
31 ;; | |
25 esac | 32 esac |
26 | 33 fi |
27 fi | 34 |
28 | 35 |
29 | 36 as_nl=' |
30 | 37 ' |
31 | 38 export as_nl |
32 # PATH needs CR | 39 # Printing a long string crashes Solaris 7 /usr/bin/printf. |
33 # Avoid depending upon Character Ranges. | 40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
34 as_cr_letters='abcdefghijklmnopqrstuvwxyz' | 41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
35 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | 42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
36 as_cr_Letters=$as_cr_letters$as_cr_LETTERS | 43 # Prefer a ksh shell builtin over an external printf program on Solaris, |
37 as_cr_digits='0123456789' | 44 # but without wasting forks for bash or zsh. |
38 as_cr_alnum=$as_cr_Letters$as_cr_digits | 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 | |
39 | 73 |
40 # The user is always right. | 74 # The user is always right. |
41 if test "${PATH_SEPARATOR+set}" != set; then | 75 if test "${PATH_SEPARATOR+set}" != set; then |
42 echo "#! /bin/sh" >conf$$.sh | 76 PATH_SEPARATOR=: |
43 echo "exit 0" >>conf$$.sh | 77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
44 chmod +x conf$$.sh | 78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
45 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then | 79 PATH_SEPARATOR=';' |
46 PATH_SEPARATOR=';' | 80 } |
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 | |
58 fi | 81 fi |
59 | 82 |
60 | 83 |
61 # IFS | 84 # IFS |
62 # We need space, tab and new line, in precisely that order. Quoting is | 85 # We need space, tab and new line, in precisely that order. Quoting is |
63 # there to prevent editors from complaining about space-tab. | 86 # there to prevent editors from complaining about space-tab. |
64 # (If _AS_PATH_WALK were called with IFS unset, it would disable word | 87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
65 # splitting by setting IFS to empty value.) | 88 # splitting by setting IFS to empty value.) |
66 as_nl=' | |
67 ' | |
68 IFS=" "" $as_nl" | 89 IFS=" "" $as_nl" |
69 | 90 |
70 # Find who we are. Look in the path if we contain no directory separator. | 91 # Find who we are. Look in the path if we contain no directory separator. |
71 case $0 in | 92 as_myself= |
93 case $0 in #(( | |
72 *[\\/]* ) as_myself=$0 ;; | 94 *[\\/]* ) as_myself=$0 ;; |
73 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
74 for as_dir in $PATH | 96 for as_dir in $PATH |
75 do | 97 do |
76 IFS=$as_save_IFS | 98 IFS=$as_save_IFS |
77 test -z "$as_dir" && as_dir=. | 99 test -z "$as_dir" && as_dir=. |
78 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | 100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
79 done | 101 done |
80 IFS=$as_save_IFS | 102 IFS=$as_save_IFS |
81 | 103 |
82 ;; | 104 ;; |
83 esac | 105 esac |
84 # We did not find ourselves, most probably we were run as `sh COMMAND' | 106 # We did not find ourselves, most probably we were run as `sh COMMAND' |
85 # in which case we are not to be found in the path. | 107 # in which case we are not to be found in the path. |
86 if test "x$as_myself" = x; then | 108 if test "x$as_myself" = x; then |
87 as_myself=$0 | 109 as_myself=$0 |
88 fi | 110 fi |
89 if test ! -f "$as_myself"; then | 111 if test ! -f "$as_myself"; then |
90 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 | 112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
91 { (exit 1); exit 1; } | 113 exit 1 |
92 fi | 114 fi |
93 | 115 |
94 # Work around bugs in pre-3.0 UWIN ksh. | 116 # Unset variables that we do not need and which cause bugs (e.g. in |
95 for as_var in ENV MAIL MAILPATH | 117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" |
96 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var | 118 # suppresses any "Segmentation fault" message there. '((' could |
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 || : | |
97 done | 123 done |
98 PS1='$ ' | 124 PS1='$ ' |
99 PS2='> ' | 125 PS2='> ' |
100 PS4='+ ' | 126 PS4='+ ' |
101 | 127 |
102 # NLS nuisances. | 128 # NLS nuisances. |
103 for as_var in \ | 129 LC_ALL=C |
104 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ | 130 export LC_ALL |
105 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ | 131 LANGUAGE=C |
106 LC_TELEPHONE LC_TIME | 132 export LANGUAGE |
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 | |
107 do | 187 do |
108 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then | 188 IFS=$as_save_IFS |
109 eval $as_var=C; export $as_var | 189 test -z "$as_dir" && as_dir=. |
190 as_found=: | |
191 case $as_dir in #( | |
192 /*) | |
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 | |
207 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && | |
208 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : | |
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." | |
110 else | 238 else |
111 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var | 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." | |
112 fi | 243 fi |
113 done | 244 exit 1 |
114 | 245 fi |
115 # Required to use basename. | 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 | |
116 if expr a : '\(a\)' >/dev/null 2>&1 && | 383 if expr a : '\(a\)' >/dev/null 2>&1 && |
117 test "X`expr 00001 : '.*\(...\)'`" = X001; then | 384 test "X`expr 00001 : '.*\(...\)'`" = X001; then |
118 as_expr=expr | 385 as_expr=expr |
119 else | 386 else |
120 as_expr=false | 387 as_expr=false |
124 as_basename=basename | 391 as_basename=basename |
125 else | 392 else |
126 as_basename=false | 393 as_basename=false |
127 fi | 394 fi |
128 | 395 |
129 | 396 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
130 # Name of the executable. | 397 as_dirname=dirname |
398 else | |
399 as_dirname=false | |
400 fi | |
401 | |
131 as_me=`$as_basename -- "$0" || | 402 as_me=`$as_basename -- "$0" || |
132 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | 403 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
133 X"$0" : 'X\(//\)$' \| \ | 404 X"$0" : 'X\(//\)$' \| \ |
134 X"$0" : 'X\(/\)' \| . 2>/dev/null || | 405 X"$0" : 'X\(/\)' \| . 2>/dev/null || |
135 echo X/"$0" | | 406 $as_echo X/"$0" | |
136 sed '/^.*\/\([^/][^/]*\)\/*$/{ | 407 sed '/^.*\/\([^/][^/]*\)\/*$/{ |
137 s//\1/ | 408 s//\1/ |
138 q | 409 q |
139 } | 410 } |
140 /^X\/\(\/\/\)$/{ | 411 /^X\/\(\/\/\)$/{ |
145 s//\1/ | 416 s//\1/ |
146 q | 417 q |
147 } | 418 } |
148 s/.*/./; q'` | 419 s/.*/./; q'` |
149 | 420 |
150 # CDPATH. | 421 # Avoid depending upon Character Ranges. |
151 $as_unset CDPATH | 422 as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
152 | 423 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
153 | 424 as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
154 if test "x$CONFIG_SHELL" = x; then | 425 as_cr_digits='0123456789' |
155 if (eval ":") 2>/dev/null; then | 426 as_cr_alnum=$as_cr_Letters$as_cr_digits |
156 as_have_required=yes | 427 |
157 else | 428 |
158 as_have_required=no | 429 as_lineno_1=$LINENO as_lineno_1a=$LINENO |
159 fi | 430 as_lineno_2=$LINENO as_lineno_2a=$LINENO |
160 | 431 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && |
161 if test $as_have_required = yes && (eval ": | 432 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { |
162 (as_func_return () { | 433 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) |
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. :-) | |
438 sed -n ' | 434 sed -n ' |
439 p | 435 p |
440 /[$]LINENO/= | 436 /[$]LINENO/= |
441 ' <$as_myself | | 437 ' <$as_myself | |
442 sed ' | 438 sed ' |
449 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ | 445 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
450 t loop | 446 t loop |
451 s/-\n.*// | 447 s/-\n.*// |
452 ' >$as_me.lineno && | 448 ' >$as_me.lineno && |
453 chmod +x "$as_me.lineno" || | 449 chmod +x "$as_me.lineno" || |
454 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 | 450 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } |
455 { (exit 1); exit 1; }; } | |
456 | 451 |
457 # Don't try to exec as it changes $[0], causing all sort of problems | 452 # Don't try to exec as it changes $[0], causing all sort of problems |
458 # (the dirname of $[0] is not the place where we might find the | 453 # (the dirname of $[0] is not the place where we might find the |
459 # original and so on. Autoconf is especially sensitive to this). | 454 # original and so on. Autoconf is especially sensitive to this). |
460 . "./$as_me.lineno" | 455 . "./$as_me.lineno" |
461 # Exit status is that of the last command. | 456 # Exit status is that of the last command. |
462 exit | 457 exit |
463 } | 458 } |
464 | 459 |
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 | |
472 ECHO_C= ECHO_N= ECHO_T= | 460 ECHO_C= ECHO_N= ECHO_T= |
473 case `echo -n x` in | 461 case `echo -n x` in #((((( |
474 -n*) | 462 -n*) |
475 case `echo 'x\c'` in | 463 case `echo 'xy\c'` in |
476 *c*) ECHO_T=' ';; # ECHO_T is single tab character. | 464 *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
477 *) ECHO_C='\c';; | 465 xy) ECHO_C='\c';; |
466 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null | |
467 ECHO_T=' ';; | |
478 esac;; | 468 esac;; |
479 *) | 469 *) |
480 ECHO_N='-n';; | 470 ECHO_N='-n';; |
481 esac | 471 esac |
482 | 472 |
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 | |
490 rm -f conf$$ conf$$.exe conf$$.file | 473 rm -f conf$$ conf$$.exe conf$$.file |
491 if test -d conf$$.dir; then | 474 if test -d conf$$.dir; then |
492 rm -f conf$$.dir/conf$$.file | 475 rm -f conf$$.dir/conf$$.file |
493 else | 476 else |
494 rm -f conf$$.dir | 477 rm -f conf$$.dir |
495 mkdir conf$$.dir | 478 mkdir conf$$.dir 2>/dev/null |
496 fi | 479 fi |
497 echo >conf$$.file | 480 if (echo >conf$$.file) 2>/dev/null; then |
498 if ln -s conf$$.file conf$$ 2>/dev/null; then | 481 if ln -s conf$$.file conf$$ 2>/dev/null; then |
499 as_ln_s='ln -s' | 482 as_ln_s='ln -s' |
500 # ... but there are two gotchas: | 483 # ... but there are two gotchas: |
501 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. | 484 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
502 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. | 485 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
503 # In both cases, we have to default to `cp -p'. | 486 # In both cases, we have to default to `cp -p'. |
504 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || | 487 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 | |
505 as_ln_s='cp -p' | 492 as_ln_s='cp -p' |
506 elif ln conf$$.file conf$$ 2>/dev/null; then | 493 fi |
507 as_ln_s=ln | |
508 else | 494 else |
509 as_ln_s='cp -p' | 495 as_ln_s='cp -p' |
510 fi | 496 fi |
511 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file | 497 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
512 rmdir conf$$.dir 2>/dev/null | 498 rmdir conf$$.dir 2>/dev/null |
513 | 499 |
514 if mkdir -p . 2>/dev/null; then | 500 if mkdir -p . 2>/dev/null; then |
515 as_mkdir_p=: | 501 as_mkdir_p='mkdir -p "$as_dir"' |
516 else | 502 else |
517 test -d ./-p && rmdir ./-p | 503 test -d ./-p && rmdir ./-p |
518 as_mkdir_p=false | 504 as_mkdir_p=false |
519 fi | 505 fi |
520 | 506 |
527 as_ls_L_option= | 513 as_ls_L_option= |
528 fi | 514 fi |
529 as_test_x=' | 515 as_test_x=' |
530 eval sh -c '\'' | 516 eval sh -c '\'' |
531 if test -d "$1"; then | 517 if test -d "$1"; then |
532 test -d "$1/."; | 518 test -d "$1/."; |
533 else | 519 else |
534 case $1 in | 520 case $1 in #( |
535 -*)set "./$1";; | 521 -*)set "./$1";; |
536 esac; | 522 esac; |
537 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in | 523 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( |
538 ???[sx]*):;;*)false;;esac;fi | 524 ???[sx]*):;;*)false;;esac;fi |
539 '\'' sh | 525 '\'' sh |
540 ' | 526 ' |
541 fi | 527 fi |
542 as_executable_p=$as_test_x | 528 as_executable_p=$as_test_x |
546 | 532 |
547 # Sed expression to map a string onto a valid variable name. | 533 # Sed expression to map a string onto a valid variable name. |
548 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | 534 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
549 | 535 |
550 | 536 |
551 | 537 test -n "$DJDIR" || exec 7<&0 </dev/null |
552 exec 7<&0 </dev/null 6>&1 | 538 exec 6>&1 |
553 | 539 |
554 # Name of the host. | 540 # Name of the host. |
555 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, | 541 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, |
556 # so uname gets run too. | 542 # so uname gets run too. |
557 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` | 543 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
558 | 544 |
559 # | 545 # |
560 # Initializations. | 546 # Initializations. |
565 LIBOBJS= | 551 LIBOBJS= |
566 cross_compiling=no | 552 cross_compiling=no |
567 subdirs= | 553 subdirs= |
568 MFLAGS= | 554 MFLAGS= |
569 MAKEFLAGS= | 555 MAKEFLAGS= |
570 SHELL=${CONFIG_SHELL-/bin/sh} | |
571 | 556 |
572 # Identity of this package. | 557 # Identity of this package. |
573 PACKAGE_NAME= | 558 PACKAGE_NAME= |
574 PACKAGE_TARNAME= | 559 PACKAGE_TARNAME= |
575 PACKAGE_VERSION= | 560 PACKAGE_VERSION= |
576 PACKAGE_STRING= | 561 PACKAGE_STRING= |
577 PACKAGE_BUGREPORT= | 562 PACKAGE_BUGREPORT= |
563 PACKAGE_URL= | |
578 | 564 |
579 ac_unique_file="winmain.c" | 565 ac_unique_file="winmain.c" |
580 # Factoring default headers for most tests. | 566 # Factoring default headers for most tests. |
581 ac_includes_default="\ | 567 ac_includes_default="\ |
582 #include <stdio.h> | 568 #include <stdio.h> |
611 #endif | 597 #endif |
612 #ifdef HAVE_UNISTD_H | 598 #ifdef HAVE_UNISTD_H |
613 # include <unistd.h> | 599 # include <unistd.h> |
614 #endif" | 600 #endif" |
615 | 601 |
616 ac_subst_vars='SHELL | 602 ac_subst_vars='LTLIBOBJS |
603 LIBOBJS | |
604 ARCH | |
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 | |
617 PATH_SEPARATOR | 706 PATH_SEPARATOR |
618 PACKAGE_NAME | 707 SHELL' |
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 | |
719 LIBOBJS | |
720 LTLIBOBJS' | |
721 ac_subst_files='' | 708 ac_subst_files='' |
709 ac_user_opts=' | |
710 enable_option_checking | |
711 with_dwcompat | |
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 ' | |
722 ac_precious_vars='build_alias | 728 ac_precious_vars='build_alias |
723 host_alias | 729 host_alias |
724 target_alias | 730 target_alias |
725 CC | 731 CC |
726 CFLAGS | 732 CFLAGS |
734 | 740 |
735 | 741 |
736 # Initialize some variables set by options. | 742 # Initialize some variables set by options. |
737 ac_init_help= | 743 ac_init_help= |
738 ac_init_version=false | 744 ac_init_version=false |
745 ac_unrecognized_opts= | |
746 ac_unrecognized_sep= | |
739 # The variables have the same names as the options, with | 747 # The variables have the same names as the options, with |
740 # dashes changed to underlines. | 748 # dashes changed to underlines. |
741 cache_file=/dev/null | 749 cache_file=/dev/null |
742 exec_prefix=NONE | 750 exec_prefix=NONE |
743 no_create= | 751 no_create= |
789 ac_prev= | 797 ac_prev= |
790 continue | 798 continue |
791 fi | 799 fi |
792 | 800 |
793 case $ac_option in | 801 case $ac_option in |
794 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; | 802 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
795 *) ac_optarg=yes ;; | 803 *=) ac_optarg= ;; |
804 *) ac_optarg=yes ;; | |
796 esac | 805 esac |
797 | 806 |
798 # Accept the important Cygnus configure options, so we can diagnose typos. | 807 # Accept the important Cygnus configure options, so we can diagnose typos. |
799 | 808 |
800 case $ac_dashdash$ac_option in | 809 case $ac_dashdash$ac_option in |
832 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ | 841 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ |
833 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) | 842 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) |
834 datarootdir=$ac_optarg ;; | 843 datarootdir=$ac_optarg ;; |
835 | 844 |
836 -disable-* | --disable-*) | 845 -disable-* | --disable-*) |
837 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` | 846 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
838 # Reject names that are not valid shell variable names. | 847 # Reject names that are not valid shell variable names. |
839 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && | 848 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
840 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 | 849 as_fn_error $? "invalid feature name: $ac_useropt" |
841 { (exit 1); exit 1; }; } | 850 ac_useropt_orig=$ac_useropt |
842 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` | 851 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
843 eval enable_$ac_feature=no ;; | 852 case $ac_user_opts in |
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 ;; | |
844 | 860 |
845 -docdir | --docdir | --docdi | --doc | --do) | 861 -docdir | --docdir | --docdi | --doc | --do) |
846 ac_prev=docdir ;; | 862 ac_prev=docdir ;; |
847 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) | 863 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) |
848 docdir=$ac_optarg ;; | 864 docdir=$ac_optarg ;; |
851 ac_prev=dvidir ;; | 867 ac_prev=dvidir ;; |
852 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) | 868 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) |
853 dvidir=$ac_optarg ;; | 869 dvidir=$ac_optarg ;; |
854 | 870 |
855 -enable-* | --enable-*) | 871 -enable-* | --enable-*) |
856 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` | 872 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
857 # Reject names that are not valid shell variable names. | 873 # Reject names that are not valid shell variable names. |
858 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && | 874 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
859 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 | 875 as_fn_error $? "invalid feature name: $ac_useropt" |
860 { (exit 1); exit 1; }; } | 876 ac_useropt_orig=$ac_useropt |
861 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` | 877 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
862 eval enable_$ac_feature=\$ac_optarg ;; | 878 case $ac_user_opts in |
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 ;; | |
863 | 886 |
864 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | 887 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
865 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | 888 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
866 | --exec | --exe | --ex) | 889 | --exec | --exe | --ex) |
867 ac_prev=exec_prefix ;; | 890 ac_prev=exec_prefix ;; |
1048 | 1071 |
1049 -version | --version | --versio | --versi | --vers | -V) | 1072 -version | --version | --versio | --versi | --vers | -V) |
1050 ac_init_version=: ;; | 1073 ac_init_version=: ;; |
1051 | 1074 |
1052 -with-* | --with-*) | 1075 -with-* | --with-*) |
1053 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` | 1076 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
1054 # Reject names that are not valid shell variable names. | 1077 # Reject names that are not valid shell variable names. |
1055 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && | 1078 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1056 { echo "$as_me: error: invalid package name: $ac_package" >&2 | 1079 as_fn_error $? "invalid package name: $ac_useropt" |
1057 { (exit 1); exit 1; }; } | 1080 ac_useropt_orig=$ac_useropt |
1058 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` | 1081 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
1059 eval with_$ac_package=\$ac_optarg ;; | 1082 case $ac_user_opts in |
1083 *" | |
1084 "with_$ac_useropt" | |
1085 "*) ;; | |
1086 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" | |
1087 ac_unrecognized_sep=', ';; | |
1088 esac | |
1089 eval with_$ac_useropt=\$ac_optarg ;; | |
1060 | 1090 |
1061 -without-* | --without-*) | 1091 -without-* | --without-*) |
1062 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` | 1092 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
1063 # Reject names that are not valid shell variable names. | 1093 # Reject names that are not valid shell variable names. |
1064 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && | 1094 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1065 { echo "$as_me: error: invalid package name: $ac_package" >&2 | 1095 as_fn_error $? "invalid package name: $ac_useropt" |
1066 { (exit 1); exit 1; }; } | 1096 ac_useropt_orig=$ac_useropt |
1067 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` | 1097 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
1068 eval with_$ac_package=no ;; | 1098 case $ac_user_opts in |
1099 *" | |
1100 "with_$ac_useropt" | |
1101 "*) ;; | |
1102 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" | |
1103 ac_unrecognized_sep=', ';; | |
1104 esac | |
1105 eval with_$ac_useropt=no ;; | |
1069 | 1106 |
1070 --x) | 1107 --x) |
1071 # Obsolete; use --with-x. | 1108 # Obsolete; use --with-x. |
1072 with_x=yes ;; | 1109 with_x=yes ;; |
1073 | 1110 |
1083 ac_prev=x_libraries ;; | 1120 ac_prev=x_libraries ;; |
1084 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | 1121 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
1085 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) | 1122 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
1086 x_libraries=$ac_optarg ;; | 1123 x_libraries=$ac_optarg ;; |
1087 | 1124 |
1088 -*) { echo "$as_me: error: unrecognized option: $ac_option | 1125 -*) as_fn_error $? "unrecognized option: \`$ac_option' |
1089 Try \`$0 --help' for more information." >&2 | 1126 Try \`$0 --help' for more information" |
1090 { (exit 1); exit 1; }; } | |
1091 ;; | 1127 ;; |
1092 | 1128 |
1093 *=*) | 1129 *=*) |
1094 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` | 1130 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
1095 # Reject names that are not valid shell variable names. | 1131 # Reject names that are not valid shell variable names. |
1096 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && | 1132 case $ac_envvar in #( |
1097 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 | 1133 '' | [0-9]* | *[!_$as_cr_alnum]* ) |
1098 { (exit 1); exit 1; }; } | 1134 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; |
1135 esac | |
1099 eval $ac_envvar=\$ac_optarg | 1136 eval $ac_envvar=\$ac_optarg |
1100 export $ac_envvar ;; | 1137 export $ac_envvar ;; |
1101 | 1138 |
1102 *) | 1139 *) |
1103 # FIXME: should be removed in autoconf 3.0. | 1140 # FIXME: should be removed in autoconf 3.0. |
1104 echo "$as_me: WARNING: you should use --build, --host, --target" >&2 | 1141 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
1105 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && | 1142 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
1106 echo "$as_me: WARNING: invalid host type: $ac_option" >&2 | 1143 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
1107 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} | 1144 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" |
1108 ;; | 1145 ;; |
1109 | 1146 |
1110 esac | 1147 esac |
1111 done | 1148 done |
1112 | 1149 |
1113 if test -n "$ac_prev"; then | 1150 if test -n "$ac_prev"; then |
1114 ac_option=--`echo $ac_prev | sed 's/_/-/g'` | 1151 ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
1115 { echo "$as_me: error: missing argument to $ac_option" >&2 | 1152 as_fn_error $? "missing argument to $ac_option" |
1116 { (exit 1); exit 1; }; } | 1153 fi |
1117 fi | 1154 |
1118 | 1155 if test -n "$ac_unrecognized_opts"; then |
1119 # Be sure to have absolute directory names. | 1156 case $enable_option_checking in |
1157 no) ;; | |
1158 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; | |
1159 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; | |
1160 esac | |
1161 fi | |
1162 | |
1163 # Check all directory arguments for consistency. | |
1120 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ | 1164 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
1121 datadir sysconfdir sharedstatedir localstatedir includedir \ | 1165 datadir sysconfdir sharedstatedir localstatedir includedir \ |
1122 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ | 1166 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
1123 libdir localedir mandir | 1167 libdir localedir mandir |
1124 do | 1168 do |
1125 eval ac_val=\$$ac_var | 1169 eval ac_val=\$$ac_var |
1170 # Remove trailing slashes. | |
1171 case $ac_val in | |
1172 */ ) | |
1173 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` | |
1174 eval $ac_var=\$ac_val;; | |
1175 esac | |
1176 # Be sure to have absolute directory names. | |
1126 case $ac_val in | 1177 case $ac_val in |
1127 [\\/$]* | ?:[\\/]* ) continue;; | 1178 [\\/$]* | ?:[\\/]* ) continue;; |
1128 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; | 1179 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
1129 esac | 1180 esac |
1130 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 | 1181 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" |
1131 { (exit 1); exit 1; }; } | |
1132 done | 1182 done |
1133 | 1183 |
1134 # There might be people who depend on the old broken behavior: `$host' | 1184 # There might be people who depend on the old broken behavior: `$host' |
1135 # used to hold the argument of --host etc. | 1185 # used to hold the argument of --host etc. |
1136 # FIXME: To remove some day. | 1186 # FIXME: To remove some day. |
1140 | 1190 |
1141 # FIXME: To remove some day. | 1191 # FIXME: To remove some day. |
1142 if test "x$host_alias" != x; then | 1192 if test "x$host_alias" != x; then |
1143 if test "x$build_alias" = x; then | 1193 if test "x$build_alias" = x; then |
1144 cross_compiling=maybe | 1194 cross_compiling=maybe |
1145 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. | 1195 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. |
1146 If a cross compiler is detected then cross compile mode will be used." >&2 | 1196 If a cross compiler is detected then cross compile mode will be used" >&2 |
1147 elif test "x$build_alias" != "x$host_alias"; then | 1197 elif test "x$build_alias" != "x$host_alias"; then |
1148 cross_compiling=yes | 1198 cross_compiling=yes |
1149 fi | 1199 fi |
1150 fi | 1200 fi |
1151 | 1201 |
1156 | 1206 |
1157 | 1207 |
1158 ac_pwd=`pwd` && test -n "$ac_pwd" && | 1208 ac_pwd=`pwd` && test -n "$ac_pwd" && |
1159 ac_ls_di=`ls -di .` && | 1209 ac_ls_di=`ls -di .` && |
1160 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || | 1210 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
1161 { echo "$as_me: error: Working directory cannot be determined" >&2 | 1211 as_fn_error $? "working directory cannot be determined" |
1162 { (exit 1); exit 1; }; } | |
1163 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || | 1212 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
1164 { echo "$as_me: error: pwd does not report name of working directory" >&2 | 1213 as_fn_error $? "pwd does not report name of working directory" |
1165 { (exit 1); exit 1; }; } | |
1166 | 1214 |
1167 | 1215 |
1168 # Find the source files, if location was not specified. | 1216 # Find the source files, if location was not specified. |
1169 if test -z "$srcdir"; then | 1217 if test -z "$srcdir"; then |
1170 ac_srcdir_defaulted=yes | 1218 ac_srcdir_defaulted=yes |
1171 # Try the directory containing this script, then the parent directory. | 1219 # Try the directory containing this script, then the parent directory. |
1172 ac_confdir=`$as_dirname -- "$0" || | 1220 ac_confdir=`$as_dirname -- "$as_myself" || |
1173 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 1221 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
1174 X"$0" : 'X\(//\)[^/]' \| \ | 1222 X"$as_myself" : 'X\(//\)[^/]' \| \ |
1175 X"$0" : 'X\(//\)$' \| \ | 1223 X"$as_myself" : 'X\(//\)$' \| \ |
1176 X"$0" : 'X\(/\)' \| . 2>/dev/null || | 1224 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || |
1177 echo X"$0" | | 1225 $as_echo X"$as_myself" | |
1178 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | 1226 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
1179 s//\1/ | 1227 s//\1/ |
1180 q | 1228 q |
1181 } | 1229 } |
1182 /^X\(\/\/\)[^/].*/{ | 1230 /^X\(\/\/\)[^/].*/{ |
1199 else | 1247 else |
1200 ac_srcdir_defaulted=no | 1248 ac_srcdir_defaulted=no |
1201 fi | 1249 fi |
1202 if test ! -r "$srcdir/$ac_unique_file"; then | 1250 if test ! -r "$srcdir/$ac_unique_file"; then |
1203 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." | 1251 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
1204 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 | 1252 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" |
1205 { (exit 1); exit 1; }; } | |
1206 fi | 1253 fi |
1207 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" | 1254 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
1208 ac_abs_confdir=`( | 1255 ac_abs_confdir=`( |
1209 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 | 1256 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" |
1210 { (exit 1); exit 1; }; } | |
1211 pwd)` | 1257 pwd)` |
1212 # When building in place, set srcdir=. | 1258 # When building in place, set srcdir=. |
1213 if test "$ac_abs_confdir" = "$ac_pwd"; then | 1259 if test "$ac_abs_confdir" = "$ac_pwd"; then |
1214 srcdir=. | 1260 srcdir=. |
1215 fi | 1261 fi |
1245 Configuration: | 1291 Configuration: |
1246 -h, --help display this help and exit | 1292 -h, --help display this help and exit |
1247 --help=short display options specific to this package | 1293 --help=short display options specific to this package |
1248 --help=recursive display the short help of all the included packages | 1294 --help=recursive display the short help of all the included packages |
1249 -V, --version display version information and exit | 1295 -V, --version display version information and exit |
1250 -q, --quiet, --silent do not print \`checking...' messages | 1296 -q, --quiet, --silent do not print \`checking ...' messages |
1251 --cache-file=FILE cache test results in FILE [disabled] | 1297 --cache-file=FILE cache test results in FILE [disabled] |
1252 -C, --config-cache alias for \`--cache-file=config.cache' | 1298 -C, --config-cache alias for \`--cache-file=config.cache' |
1253 -n, --no-create do not create output files | 1299 -n, --no-create do not create output files |
1254 --srcdir=DIR find the sources in DIR [configure dir or \`..'] | 1300 --srcdir=DIR find the sources in DIR [configure dir or \`..'] |
1255 | 1301 |
1256 Installation directories: | 1302 Installation directories: |
1257 --prefix=PREFIX install architecture-independent files in PREFIX | 1303 --prefix=PREFIX install architecture-independent files in PREFIX |
1258 [$ac_default_prefix] | 1304 [$ac_default_prefix] |
1259 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX | 1305 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
1260 [PREFIX] | 1306 [PREFIX] |
1261 | 1307 |
1262 By default, \`make install' will install all the files in | 1308 By default, \`make install' will install all the files in |
1263 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify | 1309 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
1264 an installation prefix other than \`$ac_default_prefix' using \`--prefix', | 1310 an installation prefix other than \`$ac_default_prefix' using \`--prefix', |
1265 for instance \`--prefix=\$HOME'. | 1311 for instance \`--prefix=\$HOME'. |
1266 | 1312 |
1267 For better control, use the options below. | 1313 For better control, use the options below. |
1268 | 1314 |
1269 Fine tuning of the installation directories: | 1315 Fine tuning of the installation directories: |
1270 --bindir=DIR user executables [EPREFIX/bin] | 1316 --bindir=DIR user executables [EPREFIX/bin] |
1271 --sbindir=DIR system admin executables [EPREFIX/sbin] | 1317 --sbindir=DIR system admin executables [EPREFIX/sbin] |
1272 --libexecdir=DIR program executables [EPREFIX/libexec] | 1318 --libexecdir=DIR program executables [EPREFIX/libexec] |
1273 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] | 1319 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
1274 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] | 1320 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
1275 --localstatedir=DIR modifiable single-machine data [PREFIX/var] | 1321 --localstatedir=DIR modifiable single-machine data [PREFIX/var] |
1276 --libdir=DIR object code libraries [EPREFIX/lib] | 1322 --libdir=DIR object code libraries [EPREFIX/lib] |
1277 --includedir=DIR C header files [PREFIX/include] | 1323 --includedir=DIR C header files [PREFIX/include] |
1278 --oldincludedir=DIR C header files for non-gcc [/usr/include] | 1324 --oldincludedir=DIR C header files for non-gcc [/usr/include] |
1279 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] | 1325 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
1280 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] | 1326 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
1281 --infodir=DIR info documentation [DATAROOTDIR/info] | 1327 --infodir=DIR info documentation [DATAROOTDIR/info] |
1282 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] | 1328 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] |
1283 --mandir=DIR man documentation [DATAROOTDIR/man] | 1329 --mandir=DIR man documentation [DATAROOTDIR/man] |
1284 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] | 1330 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] |
1285 --htmldir=DIR html documentation [DOCDIR] | 1331 --htmldir=DIR html documentation [DOCDIR] |
1286 --dvidir=DIR dvi documentation [DOCDIR] | 1332 --dvidir=DIR dvi documentation [DOCDIR] |
1287 --pdfdir=DIR pdf documentation [DOCDIR] | 1333 --pdfdir=DIR pdf documentation [DOCDIR] |
1288 --psdir=DIR ps documentation [DOCDIR] | 1334 --psdir=DIR ps documentation [DOCDIR] |
1289 _ACEOF | 1335 _ACEOF |
1290 | 1336 |
1291 cat <<\_ACEOF | 1337 cat <<\_ACEOF |
1292 | 1338 |
1293 System types: | 1339 System types: |
1300 if test -n "$ac_init_help"; then | 1346 if test -n "$ac_init_help"; then |
1301 | 1347 |
1302 cat <<\_ACEOF | 1348 cat <<\_ACEOF |
1303 | 1349 |
1304 Optional Features: | 1350 Optional Features: |
1351 --disable-option-checking ignore unrecognized --enable/--with options | |
1305 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) | 1352 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
1306 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] | 1353 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
1307 --disable-glibtest Do not try to compile and run a test GLIB program | 1354 --disable-glibtest Do not try to compile and run a test GLIB program |
1308 --disable-gtktest Do not try to compile and run a test GTK program | 1355 --disable-gtktest Do not try to compile and run a test GTK program |
1309 --disable-imlibtest Do not try to compile and run a test IMLIB program | 1356 --disable-imlibtest Do not try to compile and run a test IMLIB program |
1329 CC C compiler command | 1376 CC C compiler command |
1330 CFLAGS C compiler flags | 1377 CFLAGS C compiler flags |
1331 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a | 1378 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
1332 nonstandard directory <lib dir> | 1379 nonstandard directory <lib dir> |
1333 LIBS libraries to pass to the linker, e.g. -l<library> | 1380 LIBS libraries to pass to the linker, e.g. -l<library> |
1334 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if | 1381 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if |
1335 you have headers in a nonstandard directory <include dir> | 1382 you have headers in a nonstandard directory <include dir> |
1336 CXX C++ compiler command | 1383 CXX C++ compiler command |
1337 CXXFLAGS C++ compiler flags | 1384 CXXFLAGS C++ compiler flags |
1338 CPP C preprocessor | 1385 CPP C preprocessor |
1339 | 1386 |
1340 Use these variables to override the choices made by `configure' or to help | 1387 Use these variables to override the choices made by `configure' or to help |
1341 it to find libraries and programs with nonstandard names/locations. | 1388 it to find libraries and programs with nonstandard names/locations. |
1342 | 1389 |
1390 Report bugs to the package provider. | |
1343 _ACEOF | 1391 _ACEOF |
1344 ac_status=$? | 1392 ac_status=$? |
1345 fi | 1393 fi |
1346 | 1394 |
1347 if test "$ac_init_help" = "recursive"; then | 1395 if test "$ac_init_help" = "recursive"; then |
1348 # If there are subdirs, report their specific --help. | 1396 # If there are subdirs, report their specific --help. |
1349 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue | 1397 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
1350 test -d "$ac_dir" || continue | 1398 test -d "$ac_dir" || |
1399 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || | |
1400 continue | |
1351 ac_builddir=. | 1401 ac_builddir=. |
1352 | 1402 |
1353 case "$ac_dir" in | 1403 case "$ac_dir" in |
1354 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; | 1404 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
1355 *) | 1405 *) |
1356 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` | 1406 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
1357 # A ".." for each directory in $ac_dir_suffix. | 1407 # A ".." for each directory in $ac_dir_suffix. |
1358 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` | 1408 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
1359 case $ac_top_builddir_sub in | 1409 case $ac_top_builddir_sub in |
1360 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; | 1410 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
1361 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; | 1411 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
1362 esac ;; | 1412 esac ;; |
1363 esac | 1413 esac |
1389 $SHELL "$ac_srcdir/configure.gnu" --help=recursive | 1439 $SHELL "$ac_srcdir/configure.gnu" --help=recursive |
1390 elif test -f "$ac_srcdir/configure"; then | 1440 elif test -f "$ac_srcdir/configure"; then |
1391 echo && | 1441 echo && |
1392 $SHELL "$ac_srcdir/configure" --help=recursive | 1442 $SHELL "$ac_srcdir/configure" --help=recursive |
1393 else | 1443 else |
1394 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 | 1444 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
1395 fi || ac_status=$? | 1445 fi || ac_status=$? |
1396 cd "$ac_pwd" || { ac_status=$?; break; } | 1446 cd "$ac_pwd" || { ac_status=$?; break; } |
1397 done | 1447 done |
1398 fi | 1448 fi |
1399 | 1449 |
1400 test -n "$ac_init_help" && exit $ac_status | 1450 test -n "$ac_init_help" && exit $ac_status |
1401 if $ac_init_version; then | 1451 if $ac_init_version; then |
1402 cat <<\_ACEOF | 1452 cat <<\_ACEOF |
1403 configure | 1453 configure |
1404 generated by GNU Autoconf 2.61 | 1454 generated by GNU Autoconf 2.68 |
1405 | 1455 |
1406 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, | 1456 Copyright (C) 2010 Free Software Foundation, Inc. |
1407 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. | |
1408 This configure script is free software; the Free Software Foundation | 1457 This configure script is free software; the Free Software Foundation |
1409 gives unlimited permission to copy, distribute and modify it. | 1458 gives unlimited permission to copy, distribute and modify it. |
1410 _ACEOF | 1459 _ACEOF |
1411 exit | 1460 exit |
1412 fi | 1461 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 | |
1413 cat >config.log <<_ACEOF | 1852 cat >config.log <<_ACEOF |
1414 This file contains any messages produced by compilers while | 1853 This file contains any messages produced by compilers while |
1415 running configure, to aid debugging if configure makes a mistake. | 1854 running configure, to aid debugging if configure makes a mistake. |
1416 | 1855 |
1417 It was created by $as_me, which was | 1856 It was created by $as_me, which was |
1418 generated by GNU Autoconf 2.61. Invocation command line was | 1857 generated by GNU Autoconf 2.68. Invocation command line was |
1419 | 1858 |
1420 $ $0 $@ | 1859 $ $0 $@ |
1421 | 1860 |
1422 _ACEOF | 1861 _ACEOF |
1423 exec 5>>config.log | 1862 exec 5>>config.log |
1449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 1888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1450 for as_dir in $PATH | 1889 for as_dir in $PATH |
1451 do | 1890 do |
1452 IFS=$as_save_IFS | 1891 IFS=$as_save_IFS |
1453 test -z "$as_dir" && as_dir=. | 1892 test -z "$as_dir" && as_dir=. |
1454 echo "PATH: $as_dir" | 1893 $as_echo "PATH: $as_dir" |
1455 done | 1894 done |
1456 IFS=$as_save_IFS | 1895 IFS=$as_save_IFS |
1457 | 1896 |
1458 } >&5 | 1897 } >&5 |
1459 | 1898 |
1460 cat >&5 <<_ACEOF | 1899 cat >&5 <<_ACEOF |
1484 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; | 1923 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
1485 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | 1924 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
1486 | -silent | --silent | --silen | --sile | --sil) | 1925 | -silent | --silent | --silen | --sile | --sil) |
1487 continue ;; | 1926 continue ;; |
1488 *\'*) | 1927 *\'*) |
1489 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; | 1928 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
1490 esac | 1929 esac |
1491 case $ac_pass in | 1930 case $ac_pass in |
1492 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; | 1931 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; |
1493 2) | 1932 2) |
1494 ac_configure_args1="$ac_configure_args1 '$ac_arg'" | 1933 as_fn_append ac_configure_args1 " '$ac_arg'" |
1495 if test $ac_must_keep_next = true; then | 1934 if test $ac_must_keep_next = true; then |
1496 ac_must_keep_next=false # Got value, back to normal. | 1935 ac_must_keep_next=false # Got value, back to normal. |
1497 else | 1936 else |
1498 case $ac_arg in | 1937 case $ac_arg in |
1499 *=* | --config-cache | -C | -disable-* | --disable-* \ | 1938 *=* | --config-cache | -C | -disable-* | --disable-* \ |
1505 esac | 1944 esac |
1506 ;; | 1945 ;; |
1507 -* ) ac_must_keep_next=true ;; | 1946 -* ) ac_must_keep_next=true ;; |
1508 esac | 1947 esac |
1509 fi | 1948 fi |
1510 ac_configure_args="$ac_configure_args '$ac_arg'" | 1949 as_fn_append ac_configure_args " '$ac_arg'" |
1511 ;; | 1950 ;; |
1512 esac | 1951 esac |
1513 done | 1952 done |
1514 done | 1953 done |
1515 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } | 1954 { ac_configure_args0=; unset ac_configure_args0;} |
1516 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } | 1955 { ac_configure_args1=; unset ac_configure_args1;} |
1517 | 1956 |
1518 # When interrupted or exit'd, cleanup temporary files, and complete | 1957 # When interrupted or exit'd, cleanup temporary files, and complete |
1519 # config.log. We remove comments because anyway the quotes in there | 1958 # config.log. We remove comments because anyway the quotes in there |
1520 # would cause problems or look ugly. | 1959 # would cause problems or look ugly. |
1521 # WARNING: Use '\'' to represent an apostrophe within the trap. | 1960 # WARNING: Use '\'' to represent an apostrophe within the trap. |
1523 trap 'exit_status=$? | 1962 trap 'exit_status=$? |
1524 # Save into config.log some information that might help in debugging. | 1963 # Save into config.log some information that might help in debugging. |
1525 { | 1964 { |
1526 echo | 1965 echo |
1527 | 1966 |
1528 cat <<\_ASBOX | 1967 $as_echo "## ---------------- ## |
1529 ## ---------------- ## | |
1530 ## Cache variables. ## | 1968 ## Cache variables. ## |
1531 ## ---------------- ## | 1969 ## ---------------- ##" |
1532 _ASBOX | |
1533 echo | 1970 echo |
1534 # The following way of writing the cache mishandles newlines in values, | 1971 # The following way of writing the cache mishandles newlines in values, |
1535 ( | 1972 ( |
1536 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do | 1973 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do |
1537 eval ac_val=\$$ac_var | 1974 eval ac_val=\$$ac_var |
1538 case $ac_val in #( | 1975 case $ac_val in #( |
1539 *${as_nl}*) | 1976 *${as_nl}*) |
1540 case $ac_var in #( | 1977 case $ac_var in #( |
1541 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 | 1978 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
1542 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; | 1979 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
1543 esac | 1980 esac |
1544 case $ac_var in #( | 1981 case $ac_var in #( |
1545 _ | IFS | as_nl) ;; #( | 1982 _ | IFS | as_nl) ;; #( |
1546 *) $as_unset $ac_var ;; | 1983 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
1984 *) { eval $ac_var=; unset $ac_var;} ;; | |
1547 esac ;; | 1985 esac ;; |
1548 esac | 1986 esac |
1549 done | 1987 done |
1550 (set) 2>&1 | | 1988 (set) 2>&1 | |
1551 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( | 1989 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( |
1560 esac | | 1998 esac | |
1561 sort | 1999 sort |
1562 ) | 2000 ) |
1563 echo | 2001 echo |
1564 | 2002 |
1565 cat <<\_ASBOX | 2003 $as_echo "## ----------------- ## |
1566 ## ----------------- ## | |
1567 ## Output variables. ## | 2004 ## Output variables. ## |
1568 ## ----------------- ## | 2005 ## ----------------- ##" |
1569 _ASBOX | |
1570 echo | 2006 echo |
1571 for ac_var in $ac_subst_vars | 2007 for ac_var in $ac_subst_vars |
1572 do | 2008 do |
1573 eval ac_val=\$$ac_var | 2009 eval ac_val=\$$ac_var |
1574 case $ac_val in | 2010 case $ac_val in |
1575 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; | 2011 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
1576 esac | 2012 esac |
1577 echo "$ac_var='\''$ac_val'\''" | 2013 $as_echo "$ac_var='\''$ac_val'\''" |
1578 done | sort | 2014 done | sort |
1579 echo | 2015 echo |
1580 | 2016 |
1581 if test -n "$ac_subst_files"; then | 2017 if test -n "$ac_subst_files"; then |
1582 cat <<\_ASBOX | 2018 $as_echo "## ------------------- ## |
1583 ## ------------------- ## | |
1584 ## File substitutions. ## | 2019 ## File substitutions. ## |
1585 ## ------------------- ## | 2020 ## ------------------- ##" |
1586 _ASBOX | |
1587 echo | 2021 echo |
1588 for ac_var in $ac_subst_files | 2022 for ac_var in $ac_subst_files |
1589 do | 2023 do |
1590 eval ac_val=\$$ac_var | 2024 eval ac_val=\$$ac_var |
1591 case $ac_val in | 2025 case $ac_val in |
1592 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; | 2026 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
1593 esac | 2027 esac |
1594 echo "$ac_var='\''$ac_val'\''" | 2028 $as_echo "$ac_var='\''$ac_val'\''" |
1595 done | sort | 2029 done | sort |
1596 echo | 2030 echo |
1597 fi | 2031 fi |
1598 | 2032 |
1599 if test -s confdefs.h; then | 2033 if test -s confdefs.h; then |
1600 cat <<\_ASBOX | 2034 $as_echo "## ----------- ## |
1601 ## ----------- ## | |
1602 ## confdefs.h. ## | 2035 ## confdefs.h. ## |
1603 ## ----------- ## | 2036 ## ----------- ##" |
1604 _ASBOX | |
1605 echo | 2037 echo |
1606 cat confdefs.h | 2038 cat confdefs.h |
1607 echo | 2039 echo |
1608 fi | 2040 fi |
1609 test "$ac_signal" != 0 && | 2041 test "$ac_signal" != 0 && |
1610 echo "$as_me: caught signal $ac_signal" | 2042 $as_echo "$as_me: caught signal $ac_signal" |
1611 echo "$as_me: exit $exit_status" | 2043 $as_echo "$as_me: exit $exit_status" |
1612 } >&5 | 2044 } >&5 |
1613 rm -f core *.core core.conftest.* && | 2045 rm -f core *.core core.conftest.* && |
1614 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && | 2046 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && |
1615 exit $exit_status | 2047 exit $exit_status |
1616 ' 0 | 2048 ' 0 |
1617 for ac_signal in 1 2 13 15; do | 2049 for ac_signal in 1 2 13 15; do |
1618 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal | 2050 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal |
1619 done | 2051 done |
1620 ac_signal=0 | 2052 ac_signal=0 |
1621 | 2053 |
1622 # confdefs.h avoids OS command line length limits that DEFS can exceed. | 2054 # confdefs.h avoids OS command line length limits that DEFS can exceed. |
1623 rm -f -r conftest* confdefs.h | 2055 rm -f -r conftest* confdefs.h |
1624 | 2056 |
2057 $as_echo "/* confdefs.h */" > confdefs.h | |
2058 | |
1625 # Predefined preprocessor variables. | 2059 # Predefined preprocessor variables. |
1626 | 2060 |
1627 cat >>confdefs.h <<_ACEOF | 2061 cat >>confdefs.h <<_ACEOF |
1628 #define PACKAGE_NAME "$PACKAGE_NAME" | 2062 #define PACKAGE_NAME "$PACKAGE_NAME" |
1629 _ACEOF | 2063 _ACEOF |
1630 | 2064 |
1631 | |
1632 cat >>confdefs.h <<_ACEOF | 2065 cat >>confdefs.h <<_ACEOF |
1633 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" | 2066 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
1634 _ACEOF | 2067 _ACEOF |
1635 | 2068 |
1636 | |
1637 cat >>confdefs.h <<_ACEOF | 2069 cat >>confdefs.h <<_ACEOF |
1638 #define PACKAGE_VERSION "$PACKAGE_VERSION" | 2070 #define PACKAGE_VERSION "$PACKAGE_VERSION" |
1639 _ACEOF | 2071 _ACEOF |
1640 | 2072 |
1641 | |
1642 cat >>confdefs.h <<_ACEOF | 2073 cat >>confdefs.h <<_ACEOF |
1643 #define PACKAGE_STRING "$PACKAGE_STRING" | 2074 #define PACKAGE_STRING "$PACKAGE_STRING" |
1644 _ACEOF | 2075 _ACEOF |
1645 | 2076 |
1646 | |
1647 cat >>confdefs.h <<_ACEOF | 2077 cat >>confdefs.h <<_ACEOF |
1648 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" | 2078 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
1649 _ACEOF | 2079 _ACEOF |
1650 | 2080 |
2081 cat >>confdefs.h <<_ACEOF | |
2082 #define PACKAGE_URL "$PACKAGE_URL" | |
2083 _ACEOF | |
2084 | |
1651 | 2085 |
1652 # Let the site file select an alternate cache file if it wants to. | 2086 # Let the site file select an alternate cache file if it wants to. |
1653 # Prefer explicitly selected file to automatically selected ones. | 2087 # Prefer an explicitly selected file to automatically selected ones. |
2088 ac_site_file1=NONE | |
2089 ac_site_file2=NONE | |
1654 if test -n "$CONFIG_SITE"; then | 2090 if test -n "$CONFIG_SITE"; then |
1655 set x "$CONFIG_SITE" | 2091 # We do not want a PATH search for 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 | |
1656 elif test "x$prefix" != xNONE; then | 2097 elif test "x$prefix" != xNONE; then |
1657 set x "$prefix/share/config.site" "$prefix/etc/config.site" | 2098 ac_site_file1=$prefix/share/config.site |
1658 else | 2099 ac_site_file2=$prefix/etc/config.site |
1659 set x "$ac_default_prefix/share/config.site" \ | 2100 else |
1660 "$ac_default_prefix/etc/config.site" | 2101 ac_site_file1=$ac_default_prefix/share/config.site |
1661 fi | 2102 ac_site_file2=$ac_default_prefix/etc/config.site |
1662 shift | 2103 fi |
1663 for ac_site_file | 2104 for ac_site_file in "$ac_site_file1" "$ac_site_file2" |
1664 do | 2105 do |
1665 if test -r "$ac_site_file"; then | 2106 test "x$ac_site_file" = xNONE && continue |
1666 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 | 2107 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then |
1667 echo "$as_me: loading site script $ac_site_file" >&6;} | 2108 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 |
2109 $as_echo "$as_me: loading site script $ac_site_file" >&6;} | |
1668 sed 's/^/| /' "$ac_site_file" >&5 | 2110 sed 's/^/| /' "$ac_site_file" >&5 |
1669 . "$ac_site_file" | 2111 . "$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; } | |
1670 fi | 2116 fi |
1671 done | 2117 done |
1672 | 2118 |
1673 if test -r "$cache_file"; then | 2119 if test -r "$cache_file"; then |
1674 # Some versions of bash will fail to source /dev/null (special | 2120 # Some versions of bash will fail to source /dev/null (special files |
1675 # files actually), so we avoid doing that. | 2121 # actually), so we avoid doing that. DJGPP emulates it as a regular file. |
1676 if test -f "$cache_file"; then | 2122 if test /dev/null != "$cache_file" && test -f "$cache_file"; then |
1677 { echo "$as_me:$LINENO: loading cache $cache_file" >&5 | 2123 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 |
1678 echo "$as_me: loading cache $cache_file" >&6;} | 2124 $as_echo "$as_me: loading cache $cache_file" >&6;} |
1679 case $cache_file in | 2125 case $cache_file in |
1680 [\\/]* | ?:[\\/]* ) . "$cache_file";; | 2126 [\\/]* | ?:[\\/]* ) . "$cache_file";; |
1681 *) . "./$cache_file";; | 2127 *) . "./$cache_file";; |
1682 esac | 2128 esac |
1683 fi | 2129 fi |
1684 else | 2130 else |
1685 { echo "$as_me:$LINENO: creating cache $cache_file" >&5 | 2131 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 |
1686 echo "$as_me: creating cache $cache_file" >&6;} | 2132 $as_echo "$as_me: creating cache $cache_file" >&6;} |
1687 >$cache_file | 2133 >$cache_file |
1688 fi | 2134 fi |
1689 | 2135 |
1690 # Check that the precious variables saved in the cache have kept the same | 2136 # Check that the precious variables saved in the cache have kept the same |
1691 # value. | 2137 # value. |
1695 eval ac_new_set=\$ac_env_${ac_var}_set | 2141 eval ac_new_set=\$ac_env_${ac_var}_set |
1696 eval ac_old_val=\$ac_cv_env_${ac_var}_value | 2142 eval ac_old_val=\$ac_cv_env_${ac_var}_value |
1697 eval ac_new_val=\$ac_env_${ac_var}_value | 2143 eval ac_new_val=\$ac_env_${ac_var}_value |
1698 case $ac_old_set,$ac_new_set in | 2144 case $ac_old_set,$ac_new_set in |
1699 set,) | 2145 set,) |
1700 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 | 2146 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
1701 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} | 2147 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
1702 ac_cache_corrupted=: ;; | 2148 ac_cache_corrupted=: ;; |
1703 ,set) | 2149 ,set) |
1704 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 | 2150 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 |
1705 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} | 2151 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
1706 ac_cache_corrupted=: ;; | 2152 ac_cache_corrupted=: ;; |
1707 ,);; | 2153 ,);; |
1708 *) | 2154 *) |
1709 if test "x$ac_old_val" != "x$ac_new_val"; then | 2155 if test "x$ac_old_val" != "x$ac_new_val"; then |
1710 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 | 2156 # differences in whitespace do not lead to failure. |
1711 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} | 2157 ac_old_val_w=`echo x $ac_old_val` |
1712 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 | 2158 ac_new_val_w=`echo x $ac_new_val` |
1713 echo "$as_me: former value: $ac_old_val" >&2;} | 2159 if test "$ac_old_val_w" != "$ac_new_val_w"; then |
1714 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 | 2160 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 |
1715 echo "$as_me: current value: $ac_new_val" >&2;} | 2161 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
1716 ac_cache_corrupted=: | 2162 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;} | |
1717 fi;; | 2172 fi;; |
1718 esac | 2173 esac |
1719 # Pass precious variables to config.status. | 2174 # Pass precious variables to config.status. |
1720 if test "$ac_new_set" = set; then | 2175 if test "$ac_new_set" = set; then |
1721 case $ac_new_val in | 2176 case $ac_new_val in |
1722 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; | 2177 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
1723 *) ac_arg=$ac_var=$ac_new_val ;; | 2178 *) ac_arg=$ac_var=$ac_new_val ;; |
1724 esac | 2179 esac |
1725 case " $ac_configure_args " in | 2180 case " $ac_configure_args " in |
1726 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. | 2181 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
1727 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; | 2182 *) as_fn_append ac_configure_args " '$ac_arg'" ;; |
1728 esac | 2183 esac |
1729 fi | 2184 fi |
1730 done | 2185 done |
1731 if $ac_cache_corrupted; then | 2186 if $ac_cache_corrupted; then |
1732 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 | 2187 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
1733 echo "$as_me: error: changes in the environment can compromise the build" >&2;} | 2188 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
1734 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 | 2189 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 |
1735 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} | 2190 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
1736 { (exit 1); exit 1; }; } | 2191 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 |
1737 fi | 2192 fi |
1738 | 2193 ## -------------------- ## |
1739 | 2194 ## Main body of script. ## |
1740 | 2195 ## -------------------- ## |
1741 | |
1742 | |
1743 | |
1744 | |
1745 | |
1746 | |
1747 | |
1748 | |
1749 | |
1750 | |
1751 | |
1752 | |
1753 | |
1754 | 2196 |
1755 ac_ext=c | 2197 ac_ext=c |
1756 ac_cpp='$CPP $CPPFLAGS' | 2198 ac_cpp='$CPP $CPPFLAGS' |
1757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 2199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
1758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 2200 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' | 2227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
1786 ac_compiler_gnu=$ac_cv_c_compiler_gnu | 2228 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
1787 if test -n "$ac_tool_prefix"; then | 2229 if test -n "$ac_tool_prefix"; then |
1788 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. | 2230 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
1789 set dummy ${ac_tool_prefix}gcc; ac_word=$2 | 2231 set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
1790 { echo "$as_me:$LINENO: checking for $ac_word" >&5 | 2232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1791 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 2233 $as_echo_n "checking for $ac_word... " >&6; } |
1792 if test "${ac_cv_prog_CC+set}" = set; then | 2234 if ${ac_cv_prog_CC+:} false; then : |
1793 echo $ECHO_N "(cached) $ECHO_C" >&6 | 2235 $as_echo_n "(cached) " >&6 |
1794 else | 2236 else |
1795 if test -n "$CC"; then | 2237 if test -n "$CC"; then |
1796 ac_cv_prog_CC="$CC" # Let the user override the test. | 2238 ac_cv_prog_CC="$CC" # Let the user override the test. |
1797 else | 2239 else |
1798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 2240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1799 for as_dir in $PATH | 2241 for as_dir in $PATH |
1800 do | 2242 do |
1801 IFS=$as_save_IFS | 2243 IFS=$as_save_IFS |
1802 test -z "$as_dir" && as_dir=. | 2244 test -z "$as_dir" && as_dir=. |
1803 for ac_exec_ext in '' $ac_executable_extensions; do | 2245 for ac_exec_ext in '' $ac_executable_extensions; do |
1804 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 2246 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
1805 ac_cv_prog_CC="${ac_tool_prefix}gcc" | 2247 ac_cv_prog_CC="${ac_tool_prefix}gcc" |
1806 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 2248 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1807 break 2 | 2249 break 2 |
1808 fi | 2250 fi |
1809 done | 2251 done |
1810 done | 2252 done |
1811 IFS=$as_save_IFS | 2253 IFS=$as_save_IFS |
1812 | 2254 |
1813 fi | 2255 fi |
1814 fi | 2256 fi |
1815 CC=$ac_cv_prog_CC | 2257 CC=$ac_cv_prog_CC |
1816 if test -n "$CC"; then | 2258 if test -n "$CC"; then |
1817 { echo "$as_me:$LINENO: result: $CC" >&5 | 2259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
1818 echo "${ECHO_T}$CC" >&6; } | 2260 $as_echo "$CC" >&6; } |
1819 else | 2261 else |
1820 { echo "$as_me:$LINENO: result: no" >&5 | 2262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
1821 echo "${ECHO_T}no" >&6; } | 2263 $as_echo "no" >&6; } |
1822 fi | 2264 fi |
1823 | 2265 |
1824 | 2266 |
1825 fi | 2267 fi |
1826 if test -z "$ac_cv_prog_CC"; then | 2268 if test -z "$ac_cv_prog_CC"; then |
1827 ac_ct_CC=$CC | 2269 ac_ct_CC=$CC |
1828 # Extract the first word of "gcc", so it can be a program name with args. | 2270 # Extract the first word of "gcc", so it can be a program name with args. |
1829 set dummy gcc; ac_word=$2 | 2271 set dummy gcc; ac_word=$2 |
1830 { echo "$as_me:$LINENO: checking for $ac_word" >&5 | 2272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1831 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 2273 $as_echo_n "checking for $ac_word... " >&6; } |
1832 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | 2274 if ${ac_cv_prog_ac_ct_CC+:} false; then : |
1833 echo $ECHO_N "(cached) $ECHO_C" >&6 | 2275 $as_echo_n "(cached) " >&6 |
1834 else | 2276 else |
1835 if test -n "$ac_ct_CC"; then | 2277 if test -n "$ac_ct_CC"; then |
1836 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | 2278 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
1837 else | 2279 else |
1838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 2280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1839 for as_dir in $PATH | 2281 for as_dir in $PATH |
1840 do | 2282 do |
1841 IFS=$as_save_IFS | 2283 IFS=$as_save_IFS |
1842 test -z "$as_dir" && as_dir=. | 2284 test -z "$as_dir" && as_dir=. |
1843 for ac_exec_ext in '' $ac_executable_extensions; do | 2285 for ac_exec_ext in '' $ac_executable_extensions; do |
1844 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 2286 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
1845 ac_cv_prog_ac_ct_CC="gcc" | 2287 ac_cv_prog_ac_ct_CC="gcc" |
1846 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 2288 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1847 break 2 | 2289 break 2 |
1848 fi | 2290 fi |
1849 done | 2291 done |
1850 done | 2292 done |
1851 IFS=$as_save_IFS | 2293 IFS=$as_save_IFS |
1852 | 2294 |
1853 fi | 2295 fi |
1854 fi | 2296 fi |
1855 ac_ct_CC=$ac_cv_prog_ac_ct_CC | 2297 ac_ct_CC=$ac_cv_prog_ac_ct_CC |
1856 if test -n "$ac_ct_CC"; then | 2298 if test -n "$ac_ct_CC"; then |
1857 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | 2299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
1858 echo "${ECHO_T}$ac_ct_CC" >&6; } | 2300 $as_echo "$ac_ct_CC" >&6; } |
1859 else | 2301 else |
1860 { echo "$as_me:$LINENO: result: no" >&5 | 2302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
1861 echo "${ECHO_T}no" >&6; } | 2303 $as_echo "no" >&6; } |
1862 fi | 2304 fi |
1863 | 2305 |
1864 if test "x$ac_ct_CC" = x; then | 2306 if test "x$ac_ct_CC" = x; then |
1865 CC="" | 2307 CC="" |
1866 else | 2308 else |
1867 case $cross_compiling:$ac_tool_warned in | 2309 case $cross_compiling:$ac_tool_warned in |
1868 yes:) | 2310 yes:) |
1869 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools | 2311 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
1870 whose name does not start with the host triplet. If you think this | 2312 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
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;} | |
1875 ac_tool_warned=yes ;; | 2313 ac_tool_warned=yes ;; |
1876 esac | 2314 esac |
1877 CC=$ac_ct_CC | 2315 CC=$ac_ct_CC |
1878 fi | 2316 fi |
1879 else | 2317 else |
1882 | 2320 |
1883 if test -z "$CC"; then | 2321 if test -z "$CC"; then |
1884 if test -n "$ac_tool_prefix"; then | 2322 if test -n "$ac_tool_prefix"; then |
1885 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. | 2323 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
1886 set dummy ${ac_tool_prefix}cc; ac_word=$2 | 2324 set dummy ${ac_tool_prefix}cc; ac_word=$2 |
1887 { echo "$as_me:$LINENO: checking for $ac_word" >&5 | 2325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1888 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 2326 $as_echo_n "checking for $ac_word... " >&6; } |
1889 if test "${ac_cv_prog_CC+set}" = set; then | 2327 if ${ac_cv_prog_CC+:} false; then : |
1890 echo $ECHO_N "(cached) $ECHO_C" >&6 | 2328 $as_echo_n "(cached) " >&6 |
1891 else | 2329 else |
1892 if test -n "$CC"; then | 2330 if test -n "$CC"; then |
1893 ac_cv_prog_CC="$CC" # Let the user override the test. | 2331 ac_cv_prog_CC="$CC" # Let the user override the test. |
1894 else | 2332 else |
1895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 2333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1896 for as_dir in $PATH | 2334 for as_dir in $PATH |
1897 do | 2335 do |
1898 IFS=$as_save_IFS | 2336 IFS=$as_save_IFS |
1899 test -z "$as_dir" && as_dir=. | 2337 test -z "$as_dir" && as_dir=. |
1900 for ac_exec_ext in '' $ac_executable_extensions; do | 2338 for ac_exec_ext in '' $ac_executable_extensions; do |
1901 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 2339 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
1902 ac_cv_prog_CC="${ac_tool_prefix}cc" | 2340 ac_cv_prog_CC="${ac_tool_prefix}cc" |
1903 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 2341 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1904 break 2 | 2342 break 2 |
1905 fi | 2343 fi |
1906 done | 2344 done |
1907 done | 2345 done |
1908 IFS=$as_save_IFS | 2346 IFS=$as_save_IFS |
1909 | 2347 |
1910 fi | 2348 fi |
1911 fi | 2349 fi |
1912 CC=$ac_cv_prog_CC | 2350 CC=$ac_cv_prog_CC |
1913 if test -n "$CC"; then | 2351 if test -n "$CC"; then |
1914 { echo "$as_me:$LINENO: result: $CC" >&5 | 2352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
1915 echo "${ECHO_T}$CC" >&6; } | 2353 $as_echo "$CC" >&6; } |
1916 else | 2354 else |
1917 { echo "$as_me:$LINENO: result: no" >&5 | 2355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
1918 echo "${ECHO_T}no" >&6; } | 2356 $as_echo "no" >&6; } |
1919 fi | 2357 fi |
1920 | 2358 |
1921 | 2359 |
1922 fi | 2360 fi |
1923 fi | 2361 fi |
1924 if test -z "$CC"; then | 2362 if test -z "$CC"; then |
1925 # Extract the first word of "cc", so it can be a program name with args. | 2363 # Extract the first word of "cc", so it can be a program name with args. |
1926 set dummy cc; ac_word=$2 | 2364 set dummy cc; ac_word=$2 |
1927 { echo "$as_me:$LINENO: checking for $ac_word" >&5 | 2365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1928 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 2366 $as_echo_n "checking for $ac_word... " >&6; } |
1929 if test "${ac_cv_prog_CC+set}" = set; then | 2367 if ${ac_cv_prog_CC+:} false; then : |
1930 echo $ECHO_N "(cached) $ECHO_C" >&6 | 2368 $as_echo_n "(cached) " >&6 |
1931 else | 2369 else |
1932 if test -n "$CC"; then | 2370 if test -n "$CC"; then |
1933 ac_cv_prog_CC="$CC" # Let the user override the test. | 2371 ac_cv_prog_CC="$CC" # Let the user override the test. |
1934 else | 2372 else |
1935 ac_prog_rejected=no | 2373 ac_prog_rejected=no |
1936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 2374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1937 for as_dir in $PATH | 2375 for as_dir in $PATH |
1938 do | 2376 do |
1939 IFS=$as_save_IFS | 2377 IFS=$as_save_IFS |
1940 test -z "$as_dir" && as_dir=. | 2378 test -z "$as_dir" && as_dir=. |
1941 for ac_exec_ext in '' $ac_executable_extensions; do | 2379 for ac_exec_ext in '' $ac_executable_extensions; do |
1942 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 2380 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
1943 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then | 2381 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
1944 ac_prog_rejected=yes | 2382 ac_prog_rejected=yes |
1945 continue | 2383 continue |
1946 fi | 2384 fi |
1947 ac_cv_prog_CC="cc" | 2385 ac_cv_prog_CC="cc" |
1948 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 2386 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1949 break 2 | 2387 break 2 |
1950 fi | 2388 fi |
1951 done | 2389 done |
1952 done | 2390 done |
1953 IFS=$as_save_IFS | 2391 IFS=$as_save_IFS |
1954 | 2392 |
1955 if test $ac_prog_rejected = yes; then | 2393 if test $ac_prog_rejected = yes; then |
1956 # We found a bogon in the path, so make sure we never use it. | 2394 # We found a bogon in the path, so make sure we never use it. |
1957 set dummy $ac_cv_prog_CC | 2395 set dummy $ac_cv_prog_CC |
1966 fi | 2404 fi |
1967 fi | 2405 fi |
1968 fi | 2406 fi |
1969 CC=$ac_cv_prog_CC | 2407 CC=$ac_cv_prog_CC |
1970 if test -n "$CC"; then | 2408 if test -n "$CC"; then |
1971 { echo "$as_me:$LINENO: result: $CC" >&5 | 2409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
1972 echo "${ECHO_T}$CC" >&6; } | 2410 $as_echo "$CC" >&6; } |
1973 else | 2411 else |
1974 { echo "$as_me:$LINENO: result: no" >&5 | 2412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
1975 echo "${ECHO_T}no" >&6; } | 2413 $as_echo "no" >&6; } |
1976 fi | 2414 fi |
1977 | 2415 |
1978 | 2416 |
1979 fi | 2417 fi |
1980 if test -z "$CC"; then | 2418 if test -z "$CC"; then |
1981 if test -n "$ac_tool_prefix"; then | 2419 if test -n "$ac_tool_prefix"; then |
1982 for ac_prog in cl.exe | 2420 for ac_prog in cl.exe |
1983 do | 2421 do |
1984 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | 2422 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
1985 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | 2423 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
1986 { echo "$as_me:$LINENO: checking for $ac_word" >&5 | 2424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1987 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 2425 $as_echo_n "checking for $ac_word... " >&6; } |
1988 if test "${ac_cv_prog_CC+set}" = set; then | 2426 if ${ac_cv_prog_CC+:} false; then : |
1989 echo $ECHO_N "(cached) $ECHO_C" >&6 | 2427 $as_echo_n "(cached) " >&6 |
1990 else | 2428 else |
1991 if test -n "$CC"; then | 2429 if test -n "$CC"; then |
1992 ac_cv_prog_CC="$CC" # Let the user override the test. | 2430 ac_cv_prog_CC="$CC" # Let the user override the test. |
1993 else | 2431 else |
1994 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 2432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1995 for as_dir in $PATH | 2433 for as_dir in $PATH |
1996 do | 2434 do |
1997 IFS=$as_save_IFS | 2435 IFS=$as_save_IFS |
1998 test -z "$as_dir" && as_dir=. | 2436 test -z "$as_dir" && as_dir=. |
1999 for ac_exec_ext in '' $ac_executable_extensions; do | 2437 for ac_exec_ext in '' $ac_executable_extensions; do |
2000 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 2438 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2001 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" | 2439 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
2002 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 2440 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2003 break 2 | 2441 break 2 |
2004 fi | 2442 fi |
2005 done | 2443 done |
2006 done | 2444 done |
2007 IFS=$as_save_IFS | 2445 IFS=$as_save_IFS |
2008 | 2446 |
2009 fi | 2447 fi |
2010 fi | 2448 fi |
2011 CC=$ac_cv_prog_CC | 2449 CC=$ac_cv_prog_CC |
2012 if test -n "$CC"; then | 2450 if test -n "$CC"; then |
2013 { echo "$as_me:$LINENO: result: $CC" >&5 | 2451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
2014 echo "${ECHO_T}$CC" >&6; } | 2452 $as_echo "$CC" >&6; } |
2015 else | 2453 else |
2016 { echo "$as_me:$LINENO: result: no" >&5 | 2454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
2017 echo "${ECHO_T}no" >&6; } | 2455 $as_echo "no" >&6; } |
2018 fi | 2456 fi |
2019 | 2457 |
2020 | 2458 |
2021 test -n "$CC" && break | 2459 test -n "$CC" && break |
2022 done | 2460 done |
2025 ac_ct_CC=$CC | 2463 ac_ct_CC=$CC |
2026 for ac_prog in cl.exe | 2464 for ac_prog in cl.exe |
2027 do | 2465 do |
2028 # Extract the first word of "$ac_prog", so it can be a program name with args. | 2466 # Extract the first word of "$ac_prog", so it can be a program name with args. |
2029 set dummy $ac_prog; ac_word=$2 | 2467 set dummy $ac_prog; ac_word=$2 |
2030 { echo "$as_me:$LINENO: checking for $ac_word" >&5 | 2468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2031 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 2469 $as_echo_n "checking for $ac_word... " >&6; } |
2032 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | 2470 if ${ac_cv_prog_ac_ct_CC+:} false; then : |
2033 echo $ECHO_N "(cached) $ECHO_C" >&6 | 2471 $as_echo_n "(cached) " >&6 |
2034 else | 2472 else |
2035 if test -n "$ac_ct_CC"; then | 2473 if test -n "$ac_ct_CC"; then |
2036 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | 2474 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
2037 else | 2475 else |
2038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 2476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2039 for as_dir in $PATH | 2477 for as_dir in $PATH |
2040 do | 2478 do |
2041 IFS=$as_save_IFS | 2479 IFS=$as_save_IFS |
2042 test -z "$as_dir" && as_dir=. | 2480 test -z "$as_dir" && as_dir=. |
2043 for ac_exec_ext in '' $ac_executable_extensions; do | 2481 for ac_exec_ext in '' $ac_executable_extensions; do |
2044 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 2482 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2045 ac_cv_prog_ac_ct_CC="$ac_prog" | 2483 ac_cv_prog_ac_ct_CC="$ac_prog" |
2046 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 2484 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2047 break 2 | 2485 break 2 |
2048 fi | 2486 fi |
2049 done | 2487 done |
2050 done | 2488 done |
2051 IFS=$as_save_IFS | 2489 IFS=$as_save_IFS |
2052 | 2490 |
2053 fi | 2491 fi |
2054 fi | 2492 fi |
2055 ac_ct_CC=$ac_cv_prog_ac_ct_CC | 2493 ac_ct_CC=$ac_cv_prog_ac_ct_CC |
2056 if test -n "$ac_ct_CC"; then | 2494 if test -n "$ac_ct_CC"; then |
2057 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | 2495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
2058 echo "${ECHO_T}$ac_ct_CC" >&6; } | 2496 $as_echo "$ac_ct_CC" >&6; } |
2059 else | 2497 else |
2060 { echo "$as_me:$LINENO: result: no" >&5 | 2498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
2061 echo "${ECHO_T}no" >&6; } | 2499 $as_echo "no" >&6; } |
2062 fi | 2500 fi |
2063 | 2501 |
2064 | 2502 |
2065 test -n "$ac_ct_CC" && break | 2503 test -n "$ac_ct_CC" && break |
2066 done | 2504 done |
2068 if test "x$ac_ct_CC" = x; then | 2506 if test "x$ac_ct_CC" = x; then |
2069 CC="" | 2507 CC="" |
2070 else | 2508 else |
2071 case $cross_compiling:$ac_tool_warned in | 2509 case $cross_compiling:$ac_tool_warned in |
2072 yes:) | 2510 yes:) |
2073 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools | 2511 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
2074 whose name does not start with the host triplet. If you think this | 2512 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
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;} | |
2079 ac_tool_warned=yes ;; | 2513 ac_tool_warned=yes ;; |
2080 esac | 2514 esac |
2081 CC=$ac_ct_CC | 2515 CC=$ac_ct_CC |
2082 fi | 2516 fi |
2083 fi | 2517 fi |
2084 | 2518 |
2085 fi | 2519 fi |
2086 | 2520 |
2087 | 2521 |
2088 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH | 2522 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2089 See \`config.log' for more details." >&5 | 2523 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2090 echo "$as_me: error: no acceptable C compiler found in \$PATH | 2524 as_fn_error $? "no acceptable C compiler found in \$PATH |
2091 See \`config.log' for more details." >&2;} | 2525 See \`config.log' for more details" "$LINENO" 5; } |
2092 { (exit 1); exit 1; }; } | |
2093 | 2526 |
2094 # Provide some information about the compiler. | 2527 # Provide some information about the compiler. |
2095 echo "$as_me:$LINENO: checking for C compiler version" >&5 | 2528 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
2096 ac_compiler=`set X $ac_compile; echo $2` | 2529 set X $ac_compile |
2097 { (ac_try="$ac_compiler --version >&5" | 2530 ac_compiler=$2 |
2531 for ac_option in --version -v -V -qversion; do | |
2532 { { ac_try="$ac_compiler $ac_option >&5" | |
2098 case "(($ac_try" in | 2533 case "(($ac_try" in |
2099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 2534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2100 *) ac_try_echo=$ac_try;; | 2535 *) ac_try_echo=$ac_try;; |
2101 esac | 2536 esac |
2102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 2537 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
2103 (eval "$ac_compiler --version >&5") 2>&5 | 2538 $as_echo "$ac_try_echo"; } >&5 |
2539 (eval "$ac_compiler $ac_option >&5") 2>conftest.err | |
2104 ac_status=$? | 2540 ac_status=$? |
2105 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 2541 if test -s conftest.err; then |
2106 (exit $ac_status); } | 2542 sed '10a\ |
2107 { (ac_try="$ac_compiler -v >&5" | 2543 ... rest of stderr output deleted ... |
2544 10q' conftest.err >conftest.er1 | |
2545 cat conftest.er1 >&5 | |
2546 fi | |
2547 rm -f conftest.er1 conftest.err | |
2548 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
2549 test $ac_status = 0; } | |
2550 done | |
2551 | |
2552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
2553 /* end confdefs.h. */ | |
2554 | |
2555 int | |
2556 main () | |
2557 { | |
2558 | |
2559 ; | |
2560 return 0; | |
2561 } | |
2562 _ACEOF | |
2563 ac_clean_files_save=$ac_clean_files | |
2564 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" | |
2565 # Try to create an executable without -o first, disregard a.out. | |
2566 # It will help us diagnose broken compilers, and finding out an intuition | |
2567 # of exeext. | |
2568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 | |
2569 $as_echo_n "checking whether the C compiler works... " >&6; } | |
2570 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` | |
2571 | |
2572 # The possible output files: | |
2573 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" | |
2574 | |
2575 ac_rmfiles= | |
2576 for ac_file in $ac_files | |
2577 do | |
2578 case $ac_file in | |
2579 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; | |
2580 * ) ac_rmfiles="$ac_rmfiles $ac_file";; | |
2581 esac | |
2582 done | |
2583 rm -f $ac_rmfiles | |
2584 | |
2585 if { { ac_try="$ac_link_default" | |
2108 case "(($ac_try" in | 2586 case "(($ac_try" in |
2109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 2587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2110 *) ac_try_echo=$ac_try;; | 2588 *) ac_try_echo=$ac_try;; |
2111 esac | 2589 esac |
2112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 2590 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
2113 (eval "$ac_compiler -v >&5") 2>&5 | 2591 $as_echo "$ac_try_echo"; } >&5 |
2114 ac_status=$? | |
2115 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
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 | |
2133 /* end confdefs.h. */ | |
2134 | |
2135 int | |
2136 main () | |
2137 { | |
2138 | |
2139 ; | |
2140 return 0; | |
2141 } | |
2142 _ACEOF | |
2143 ac_clean_files_save=$ac_clean_files | |
2144 ac_clean_files="$ac_clean_files a.out a.exe b.out" | |
2145 # Try to create an executable without -o first, disregard a.out. | |
2146 # It will help us diagnose broken compilers, and finding out an intuition | |
2147 # of exeext. | |
2148 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 | |
2149 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } | |
2150 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` | |
2151 # | |
2152 # List of possible output files, starting from the most likely. | |
2153 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*) | |
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. | |
2160 ac_rmfiles= | |
2161 for ac_file in $ac_files | |
2162 do | |
2163 case $ac_file in | |
2164 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; | |
2165 * ) ac_rmfiles="$ac_rmfiles $ac_file";; | |
2166 esac | |
2167 done | |
2168 rm -f $ac_rmfiles | |
2169 | |
2170 if { (ac_try="$ac_link_default" | |
2171 case "(($ac_try" in | |
2172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
2173 *) ac_try_echo=$ac_try;; | |
2174 esac | |
2175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
2176 (eval "$ac_link_default") 2>&5 | 2592 (eval "$ac_link_default") 2>&5 |
2177 ac_status=$? | 2593 ac_status=$? |
2178 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 2594 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
2179 (exit $ac_status); }; then | 2595 test $ac_status = 0; }; then : |
2180 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. | 2596 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. |
2181 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' | 2597 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' |
2182 # in a Makefile. We should not override ac_cv_exeext if it was cached, | 2598 # in a Makefile. We should not override ac_cv_exeext if it was cached, |
2183 # so that the user can short-circuit this test for compilers unknown to | 2599 # so that the user can short-circuit this test for compilers unknown to |
2184 # Autoconf. | 2600 # Autoconf. |
2185 for ac_file in $ac_files '' | 2601 for ac_file in $ac_files '' |
2186 do | 2602 do |
2187 test -f "$ac_file" || continue | 2603 test -f "$ac_file" || continue |
2188 case $ac_file in | 2604 case $ac_file in |
2189 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) | 2605 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) |
2190 ;; | 2606 ;; |
2191 [ab].out ) | 2607 [ab].out ) |
2192 # We found the default executable, but exeext='' is most | 2608 # We found the default executable, but exeext='' is most |
2193 # certainly right. | 2609 # certainly right. |
2194 break;; | 2610 break;; |
2195 *.* ) | 2611 *.* ) |
2196 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; | 2612 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; |
2197 then :; else | 2613 then :; else |
2198 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | 2614 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
2199 fi | 2615 fi |
2200 # We set ac_cv_exeext here because the later test for it is not | 2616 # We set ac_cv_exeext here because the later test for it is not |
2201 # safe: cross compilers may not add the suffix if given an `-o' | 2617 # safe: cross compilers may not add the suffix if given an `-o' |
2210 test "$ac_cv_exeext" = no && ac_cv_exeext= | 2626 test "$ac_cv_exeext" = no && ac_cv_exeext= |
2211 | 2627 |
2212 else | 2628 else |
2213 ac_file='' | 2629 ac_file='' |
2214 fi | 2630 fi |
2215 | 2631 if test -z "$ac_file"; then : |
2216 { echo "$as_me:$LINENO: result: $ac_file" >&5 | 2632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
2217 echo "${ECHO_T}$ac_file" >&6; } | 2633 $as_echo "no" >&6; } |
2218 if test -z "$ac_file"; then | 2634 $as_echo "$as_me: failed program was:" >&5 |
2219 echo "$as_me: failed program was:" >&5 | |
2220 sed 's/^/| /' conftest.$ac_ext >&5 | 2635 sed 's/^/| /' conftest.$ac_ext >&5 |
2221 | 2636 |
2222 { { echo "$as_me:$LINENO: error: C compiler cannot create executables | 2637 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2223 See \`config.log' for more details." >&5 | 2638 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2224 echo "$as_me: error: C compiler cannot create executables | 2639 as_fn_error 77 "C compiler cannot create executables |
2225 See \`config.log' for more details." >&2;} | 2640 See \`config.log' for more details" "$LINENO" 5; } |
2226 { (exit 77); exit 77; }; } | 2641 else |
2227 fi | 2642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
2228 | 2643 $as_echo "yes" >&6; } |
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; } | |
2229 ac_exeext=$ac_cv_exeext | 2649 ac_exeext=$ac_cv_exeext |
2230 | 2650 |
2231 # Check that the compiler produces executables we can run. If not, either | 2651 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out |
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 | |
2267 ac_clean_files=$ac_clean_files_save | 2652 ac_clean_files=$ac_clean_files_save |
2268 # Check that the compiler produces executables we can run. If not, either | 2653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 |
2269 # the compiler is broken, or we cross compile. | 2654 $as_echo_n "checking for suffix of executables... " >&6; } |
2270 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 | 2655 if { { ac_try="$ac_link" |
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" | |
2278 case "(($ac_try" in | 2656 case "(($ac_try" in |
2279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 2657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2280 *) ac_try_echo=$ac_try;; | 2658 *) ac_try_echo=$ac_try;; |
2281 esac | 2659 esac |
2282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 2660 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
2661 $as_echo "$ac_try_echo"; } >&5 | |
2283 (eval "$ac_link") 2>&5 | 2662 (eval "$ac_link") 2>&5 |
2284 ac_status=$? | 2663 ac_status=$? |
2285 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 2664 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
2286 (exit $ac_status); }; then | 2665 test $ac_status = 0; }; then : |
2287 # If both `conftest.exe' and `conftest' are `present' (well, observable) | 2666 # If both `conftest.exe' and `conftest' are `present' (well, observable) |
2288 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will | 2667 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
2289 # work properly (i.e., refer to `conftest.exe'), while it won't with | 2668 # work properly (i.e., refer to `conftest.exe'), while it won't with |
2290 # `rm'. | 2669 # `rm'. |
2291 for ac_file in conftest.exe conftest conftest.*; do | 2670 for ac_file in conftest.exe conftest conftest.*; do |
2292 test -f "$ac_file" || continue | 2671 test -f "$ac_file" || continue |
2293 case $ac_file in | 2672 case $ac_file in |
2294 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; | 2673 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
2295 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | 2674 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
2296 break;; | 2675 break;; |
2297 * ) break;; | 2676 * ) break;; |
2298 esac | 2677 esac |
2299 done | 2678 done |
2300 else | 2679 else |
2301 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link | 2680 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2302 See \`config.log' for more details." >&5 | 2681 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2303 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link | 2682 as_fn_error $? "cannot compute suffix of executables: cannot compile and link |
2304 See \`config.log' for more details." >&2;} | 2683 See \`config.log' for more details" "$LINENO" 5; } |
2305 { (exit 1); exit 1; }; } | 2684 fi |
2306 fi | 2685 rm -f conftest conftest$ac_cv_exeext |
2307 | 2686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
2308 rm -f conftest$ac_cv_exeext | 2687 $as_echo "$ac_cv_exeext" >&6; } |
2309 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 | |
2310 echo "${ECHO_T}$ac_cv_exeext" >&6; } | |
2311 | 2688 |
2312 rm -f conftest.$ac_ext | 2689 rm -f conftest.$ac_ext |
2313 EXEEXT=$ac_cv_exeext | 2690 EXEEXT=$ac_cv_exeext |
2314 ac_exeext=$EXEEXT | 2691 ac_exeext=$EXEEXT |
2315 { echo "$as_me:$LINENO: checking for suffix of object files" >&5 | 2692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
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 | |
2325 /* end confdefs.h. */ | 2693 /* end confdefs.h. */ |
2326 | 2694 #include <stdio.h> |
2327 int | 2695 int |
2328 main () | 2696 main () |
2329 { | 2697 { |
2698 FILE *f = fopen ("conftest.out", "w"); | |
2699 return ferror (f) || fclose (f) != 0; | |
2330 | 2700 |
2331 ; | 2701 ; |
2332 return 0; | 2702 return 0; |
2333 } | 2703 } |
2334 _ACEOF | 2704 _ACEOF |
2335 rm -f conftest.o conftest.obj | 2705 ac_clean_files="$ac_clean_files conftest.out" |
2336 if { (ac_try="$ac_compile" | 2706 # Check that the compiler produces executables we can run. If not, either |
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" | |
2337 case "(($ac_try" in | 2712 case "(($ac_try" in |
2338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 2713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2339 *) ac_try_echo=$ac_try;; | 2714 *) ac_try_echo=$ac_try;; |
2340 esac | 2715 esac |
2341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 2716 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
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 | |
2342 (eval "$ac_compile") 2>&5 | 2775 (eval "$ac_compile") 2>&5 |
2343 ac_status=$? | 2776 ac_status=$? |
2344 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 2777 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
2345 (exit $ac_status); }; then | 2778 test $ac_status = 0; }; then : |
2346 for ac_file in conftest.o conftest.obj conftest.*; do | 2779 for ac_file in conftest.o conftest.obj conftest.*; do |
2347 test -f "$ac_file" || continue; | 2780 test -f "$ac_file" || continue; |
2348 case $ac_file in | 2781 case $ac_file in |
2349 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; | 2782 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; |
2350 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` | 2783 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
2351 break;; | 2784 break;; |
2352 esac | 2785 esac |
2353 done | 2786 done |
2354 else | 2787 else |
2355 echo "$as_me: failed program was:" >&5 | 2788 $as_echo "$as_me: failed program was:" >&5 |
2356 sed 's/^/| /' conftest.$ac_ext >&5 | 2789 sed 's/^/| /' conftest.$ac_ext >&5 |
2357 | 2790 |
2358 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile | 2791 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2359 See \`config.log' for more details." >&5 | 2792 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2360 echo "$as_me: error: cannot compute suffix of object files: cannot compile | 2793 as_fn_error $? "cannot compute suffix of object files: cannot compile |
2361 See \`config.log' for more details." >&2;} | 2794 See \`config.log' for more details" "$LINENO" 5; } |
2362 { (exit 1); exit 1; }; } | 2795 fi |
2363 fi | |
2364 | |
2365 rm -f conftest.$ac_cv_objext conftest.$ac_ext | 2796 rm -f conftest.$ac_cv_objext conftest.$ac_ext |
2366 fi | 2797 fi |
2367 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 | 2798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 |
2368 echo "${ECHO_T}$ac_cv_objext" >&6; } | 2799 $as_echo "$ac_cv_objext" >&6; } |
2369 OBJEXT=$ac_cv_objext | 2800 OBJEXT=$ac_cv_objext |
2370 ac_objext=$OBJEXT | 2801 ac_objext=$OBJEXT |
2371 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 | 2802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 |
2372 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } | 2803 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
2373 if test "${ac_cv_c_compiler_gnu+set}" = set; then | 2804 if ${ac_cv_c_compiler_gnu+:} false; then : |
2374 echo $ECHO_N "(cached) $ECHO_C" >&6 | 2805 $as_echo_n "(cached) " >&6 |
2375 else | 2806 else |
2376 cat >conftest.$ac_ext <<_ACEOF | 2807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2377 /* confdefs.h. */ | |
2378 _ACEOF | |
2379 cat confdefs.h >>conftest.$ac_ext | |
2380 cat >>conftest.$ac_ext <<_ACEOF | |
2381 /* end confdefs.h. */ | 2808 /* end confdefs.h. */ |
2382 | 2809 |
2383 int | 2810 int |
2384 main () | 2811 main () |
2385 { | 2812 { |
2389 | 2816 |
2390 ; | 2817 ; |
2391 return 0; | 2818 return 0; |
2392 } | 2819 } |
2393 _ACEOF | 2820 _ACEOF |
2394 rm -f conftest.$ac_objext | 2821 if ac_fn_c_try_compile "$LINENO"; then : |
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 | |
2411 ac_compiler_gnu=yes | 2822 ac_compiler_gnu=yes |
2412 else | 2823 else |
2413 echo "$as_me: failed program was:" >&5 | 2824 ac_compiler_gnu=no |
2414 sed 's/^/| /' conftest.$ac_ext >&5 | 2825 fi |
2415 | |
2416 ac_compiler_gnu=no | |
2417 fi | |
2418 | |
2419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 2826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2420 ac_cv_c_compiler_gnu=$ac_compiler_gnu | 2827 ac_cv_c_compiler_gnu=$ac_compiler_gnu |
2421 | 2828 |
2422 fi | 2829 fi |
2423 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 | 2830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 |
2424 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } | 2831 $as_echo "$ac_cv_c_compiler_gnu" >&6; } |
2425 GCC=`test $ac_compiler_gnu = yes && echo yes` | 2832 if test $ac_compiler_gnu = yes; then |
2833 GCC=yes | |
2834 else | |
2835 GCC= | |
2836 fi | |
2426 ac_test_CFLAGS=${CFLAGS+set} | 2837 ac_test_CFLAGS=${CFLAGS+set} |
2427 ac_save_CFLAGS=$CFLAGS | 2838 ac_save_CFLAGS=$CFLAGS |
2428 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 | 2839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
2429 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } | 2840 $as_echo_n "checking whether $CC accepts -g... " >&6; } |
2430 if test "${ac_cv_prog_cc_g+set}" = set; then | 2841 if ${ac_cv_prog_cc_g+:} false; then : |
2431 echo $ECHO_N "(cached) $ECHO_C" >&6 | 2842 $as_echo_n "(cached) " >&6 |
2432 else | 2843 else |
2433 ac_save_c_werror_flag=$ac_c_werror_flag | 2844 ac_save_c_werror_flag=$ac_c_werror_flag |
2434 ac_c_werror_flag=yes | 2845 ac_c_werror_flag=yes |
2435 ac_cv_prog_cc_g=no | 2846 ac_cv_prog_cc_g=no |
2436 CFLAGS="-g" | 2847 CFLAGS="-g" |
2437 cat >conftest.$ac_ext <<_ACEOF | 2848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2438 /* confdefs.h. */ | |
2439 _ACEOF | |
2440 cat confdefs.h >>conftest.$ac_ext | |
2441 cat >>conftest.$ac_ext <<_ACEOF | |
2442 /* end confdefs.h. */ | 2849 /* end confdefs.h. */ |
2443 | 2850 |
2444 int | 2851 int |
2445 main () | 2852 main () |
2446 { | 2853 { |
2447 | 2854 |
2448 ; | 2855 ; |
2449 return 0; | 2856 return 0; |
2450 } | 2857 } |
2451 _ACEOF | 2858 _ACEOF |
2452 rm -f conftest.$ac_objext | 2859 if ac_fn_c_try_compile "$LINENO"; then : |
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 | |
2469 ac_cv_prog_cc_g=yes | 2860 ac_cv_prog_cc_g=yes |
2470 else | 2861 else |
2471 echo "$as_me: failed program was:" >&5 | 2862 CFLAGS="" |
2472 sed 's/^/| /' conftest.$ac_ext >&5 | 2863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
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 | |
2480 /* end confdefs.h. */ | 2864 /* end confdefs.h. */ |
2481 | 2865 |
2482 int | 2866 int |
2483 main () | 2867 main () |
2484 { | 2868 { |
2485 | 2869 |
2486 ; | 2870 ; |
2487 return 0; | 2871 return 0; |
2488 } | 2872 } |
2489 _ACEOF | 2873 _ACEOF |
2490 rm -f conftest.$ac_objext | 2874 if ac_fn_c_try_compile "$LINENO"; then : |
2491 if { (ac_try="$ac_compile" | 2875 |
2492 case "(($ac_try" in | 2876 else |
2493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 2877 ac_c_werror_flag=$ac_save_c_werror_flag |
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 | |
2513 CFLAGS="-g" | 2878 CFLAGS="-g" |
2514 cat >conftest.$ac_ext <<_ACEOF | 2879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2515 /* confdefs.h. */ | |
2516 _ACEOF | |
2517 cat confdefs.h >>conftest.$ac_ext | |
2518 cat >>conftest.$ac_ext <<_ACEOF | |
2519 /* end confdefs.h. */ | 2880 /* end confdefs.h. */ |
2520 | 2881 |
2521 int | 2882 int |
2522 main () | 2883 main () |
2523 { | 2884 { |
2524 | 2885 |
2525 ; | 2886 ; |
2526 return 0; | 2887 return 0; |
2527 } | 2888 } |
2528 _ACEOF | 2889 _ACEOF |
2529 rm -f conftest.$ac_objext | 2890 if ac_fn_c_try_compile "$LINENO"; then : |
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 | |
2546 ac_cv_prog_cc_g=yes | 2891 ac_cv_prog_cc_g=yes |
2547 else | 2892 fi |
2548 echo "$as_me: failed program was:" >&5 | |
2549 sed 's/^/| /' conftest.$ac_ext >&5 | |
2550 | |
2551 | |
2552 fi | |
2553 | |
2554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 2893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2555 fi | 2894 fi |
2556 | |
2557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 2895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2558 fi | 2896 fi |
2559 | |
2560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 2897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2561 ac_c_werror_flag=$ac_save_c_werror_flag | 2898 ac_c_werror_flag=$ac_save_c_werror_flag |
2562 fi | 2899 fi |
2563 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 | 2900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 |
2564 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } | 2901 $as_echo "$ac_cv_prog_cc_g" >&6; } |
2565 if test "$ac_test_CFLAGS" = set; then | 2902 if test "$ac_test_CFLAGS" = set; then |
2566 CFLAGS=$ac_save_CFLAGS | 2903 CFLAGS=$ac_save_CFLAGS |
2567 elif test $ac_cv_prog_cc_g = yes; then | 2904 elif test $ac_cv_prog_cc_g = yes; then |
2568 if test "$GCC" = yes; then | 2905 if test "$GCC" = yes; then |
2569 CFLAGS="-g -O2" | 2906 CFLAGS="-g -O2" |
2575 CFLAGS="-O2" | 2912 CFLAGS="-O2" |
2576 else | 2913 else |
2577 CFLAGS= | 2914 CFLAGS= |
2578 fi | 2915 fi |
2579 fi | 2916 fi |
2580 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 | 2917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 |
2581 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } | 2918 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
2582 if test "${ac_cv_prog_cc_c89+set}" = set; then | 2919 if ${ac_cv_prog_cc_c89+:} false; then : |
2583 echo $ECHO_N "(cached) $ECHO_C" >&6 | 2920 $as_echo_n "(cached) " >&6 |
2584 else | 2921 else |
2585 ac_cv_prog_cc_c89=no | 2922 ac_cv_prog_cc_c89=no |
2586 ac_save_CC=$CC | 2923 ac_save_CC=$CC |
2587 cat >conftest.$ac_ext <<_ACEOF | 2924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2588 /* confdefs.h. */ | |
2589 _ACEOF | |
2590 cat confdefs.h >>conftest.$ac_ext | |
2591 cat >>conftest.$ac_ext <<_ACEOF | |
2592 /* end confdefs.h. */ | 2925 /* end confdefs.h. */ |
2593 #include <stdarg.h> | 2926 #include <stdarg.h> |
2594 #include <stdio.h> | 2927 #include <stdio.h> |
2595 #include <sys/types.h> | 2928 #include <sys/types.h> |
2596 #include <sys/stat.h> | 2929 #include <sys/stat.h> |
2643 _ACEOF | 2976 _ACEOF |
2644 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ | 2977 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ |
2645 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" | 2978 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
2646 do | 2979 do |
2647 CC="$ac_save_CC $ac_arg" | 2980 CC="$ac_save_CC $ac_arg" |
2648 rm -f conftest.$ac_objext | 2981 if ac_fn_c_try_compile "$LINENO"; then : |
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 | |
2665 ac_cv_prog_cc_c89=$ac_arg | 2982 ac_cv_prog_cc_c89=$ac_arg |
2666 else | 2983 fi |
2667 echo "$as_me: failed program was:" >&5 | |
2668 sed 's/^/| /' conftest.$ac_ext >&5 | |
2669 | |
2670 | |
2671 fi | |
2672 | |
2673 rm -f core conftest.err conftest.$ac_objext | 2984 rm -f core conftest.err conftest.$ac_objext |
2674 test "x$ac_cv_prog_cc_c89" != "xno" && break | 2985 test "x$ac_cv_prog_cc_c89" != "xno" && break |
2675 done | 2986 done |
2676 rm -f conftest.$ac_ext | 2987 rm -f conftest.$ac_ext |
2677 CC=$ac_save_CC | 2988 CC=$ac_save_CC |
2678 | 2989 |
2679 fi | 2990 fi |
2680 # AC_CACHE_VAL | 2991 # AC_CACHE_VAL |
2681 case "x$ac_cv_prog_cc_c89" in | 2992 case "x$ac_cv_prog_cc_c89" in |
2682 x) | 2993 x) |
2683 { echo "$as_me:$LINENO: result: none needed" >&5 | 2994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
2684 echo "${ECHO_T}none needed" >&6; } ;; | 2995 $as_echo "none needed" >&6; } ;; |
2685 xno) | 2996 xno) |
2686 { echo "$as_me:$LINENO: result: unsupported" >&5 | 2997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
2687 echo "${ECHO_T}unsupported" >&6; } ;; | 2998 $as_echo "unsupported" >&6; } ;; |
2688 *) | 2999 *) |
2689 CC="$CC $ac_cv_prog_cc_c89" | 3000 CC="$CC $ac_cv_prog_cc_c89" |
2690 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 | 3001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 |
2691 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; | 3002 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; |
2692 esac | 3003 esac |
2693 | 3004 if test "x$ac_cv_prog_cc_c89" != xno; then : |
3005 | |
3006 fi | |
2694 | 3007 |
2695 ac_ext=c | 3008 ac_ext=c |
2696 ac_cpp='$CPP $CPPFLAGS' | 3009 ac_cpp='$CPP $CPPFLAGS' |
2697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 3010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
2698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 3011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
2710 if test -n "$ac_tool_prefix"; then | 3023 if test -n "$ac_tool_prefix"; then |
2711 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC | 3024 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC |
2712 do | 3025 do |
2713 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | 3026 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
2714 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | 3027 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
2715 { echo "$as_me:$LINENO: checking for $ac_word" >&5 | 3028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2716 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 3029 $as_echo_n "checking for $ac_word... " >&6; } |
2717 if test "${ac_cv_prog_CXX+set}" = set; then | 3030 if ${ac_cv_prog_CXX+:} false; then : |
2718 echo $ECHO_N "(cached) $ECHO_C" >&6 | 3031 $as_echo_n "(cached) " >&6 |
2719 else | 3032 else |
2720 if test -n "$CXX"; then | 3033 if test -n "$CXX"; then |
2721 ac_cv_prog_CXX="$CXX" # Let the user override the test. | 3034 ac_cv_prog_CXX="$CXX" # Let the user override the test. |
2722 else | 3035 else |
2723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 3036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2724 for as_dir in $PATH | 3037 for as_dir in $PATH |
2725 do | 3038 do |
2726 IFS=$as_save_IFS | 3039 IFS=$as_save_IFS |
2727 test -z "$as_dir" && as_dir=. | 3040 test -z "$as_dir" && as_dir=. |
2728 for ac_exec_ext in '' $ac_executable_extensions; do | 3041 for ac_exec_ext in '' $ac_executable_extensions; do |
2729 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 3042 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2730 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" | 3043 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" |
2731 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 3044 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2732 break 2 | 3045 break 2 |
2733 fi | 3046 fi |
2734 done | 3047 done |
2735 done | 3048 done |
2736 IFS=$as_save_IFS | 3049 IFS=$as_save_IFS |
2737 | 3050 |
2738 fi | 3051 fi |
2739 fi | 3052 fi |
2740 CXX=$ac_cv_prog_CXX | 3053 CXX=$ac_cv_prog_CXX |
2741 if test -n "$CXX"; then | 3054 if test -n "$CXX"; then |
2742 { echo "$as_me:$LINENO: result: $CXX" >&5 | 3055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 |
2743 echo "${ECHO_T}$CXX" >&6; } | 3056 $as_echo "$CXX" >&6; } |
2744 else | 3057 else |
2745 { echo "$as_me:$LINENO: result: no" >&5 | 3058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
2746 echo "${ECHO_T}no" >&6; } | 3059 $as_echo "no" >&6; } |
2747 fi | 3060 fi |
2748 | 3061 |
2749 | 3062 |
2750 test -n "$CXX" && break | 3063 test -n "$CXX" && break |
2751 done | 3064 done |
2754 ac_ct_CXX=$CXX | 3067 ac_ct_CXX=$CXX |
2755 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC | 3068 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC |
2756 do | 3069 do |
2757 # Extract the first word of "$ac_prog", so it can be a program name with args. | 3070 # Extract the first word of "$ac_prog", so it can be a program name with args. |
2758 set dummy $ac_prog; ac_word=$2 | 3071 set dummy $ac_prog; ac_word=$2 |
2759 { echo "$as_me:$LINENO: checking for $ac_word" >&5 | 3072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2760 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 3073 $as_echo_n "checking for $ac_word... " >&6; } |
2761 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then | 3074 if ${ac_cv_prog_ac_ct_CXX+:} false; then : |
2762 echo $ECHO_N "(cached) $ECHO_C" >&6 | 3075 $as_echo_n "(cached) " >&6 |
2763 else | 3076 else |
2764 if test -n "$ac_ct_CXX"; then | 3077 if test -n "$ac_ct_CXX"; then |
2765 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. | 3078 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. |
2766 else | 3079 else |
2767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 3080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2768 for as_dir in $PATH | 3081 for as_dir in $PATH |
2769 do | 3082 do |
2770 IFS=$as_save_IFS | 3083 IFS=$as_save_IFS |
2771 test -z "$as_dir" && as_dir=. | 3084 test -z "$as_dir" && as_dir=. |
2772 for ac_exec_ext in '' $ac_executable_extensions; do | 3085 for ac_exec_ext in '' $ac_executable_extensions; do |
2773 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 3086 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2774 ac_cv_prog_ac_ct_CXX="$ac_prog" | 3087 ac_cv_prog_ac_ct_CXX="$ac_prog" |
2775 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 3088 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2776 break 2 | 3089 break 2 |
2777 fi | 3090 fi |
2778 done | 3091 done |
2779 done | 3092 done |
2780 IFS=$as_save_IFS | 3093 IFS=$as_save_IFS |
2781 | 3094 |
2782 fi | 3095 fi |
2783 fi | 3096 fi |
2784 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX | 3097 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX |
2785 if test -n "$ac_ct_CXX"; then | 3098 if test -n "$ac_ct_CXX"; then |
2786 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 | 3099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 |
2787 echo "${ECHO_T}$ac_ct_CXX" >&6; } | 3100 $as_echo "$ac_ct_CXX" >&6; } |
2788 else | 3101 else |
2789 { echo "$as_me:$LINENO: result: no" >&5 | 3102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
2790 echo "${ECHO_T}no" >&6; } | 3103 $as_echo "no" >&6; } |
2791 fi | 3104 fi |
2792 | 3105 |
2793 | 3106 |
2794 test -n "$ac_ct_CXX" && break | 3107 test -n "$ac_ct_CXX" && break |
2795 done | 3108 done |
2797 if test "x$ac_ct_CXX" = x; then | 3110 if test "x$ac_ct_CXX" = x; then |
2798 CXX="g++" | 3111 CXX="g++" |
2799 else | 3112 else |
2800 case $cross_compiling:$ac_tool_warned in | 3113 case $cross_compiling:$ac_tool_warned in |
2801 yes:) | 3114 yes:) |
2802 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools | 3115 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
2803 whose name does not start with the host triplet. If you think this | 3116 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
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;} | |
2808 ac_tool_warned=yes ;; | 3117 ac_tool_warned=yes ;; |
2809 esac | 3118 esac |
2810 CXX=$ac_ct_CXX | 3119 CXX=$ac_ct_CXX |
2811 fi | 3120 fi |
2812 fi | 3121 fi |
2813 | 3122 |
2814 fi | 3123 fi |
2815 fi | 3124 fi |
2816 # Provide some information about the compiler. | 3125 # Provide some information about the compiler. |
2817 echo "$as_me:$LINENO: checking for C++ compiler version" >&5 | 3126 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 |
2818 ac_compiler=`set X $ac_compile; echo $2` | 3127 set X $ac_compile |
2819 { (ac_try="$ac_compiler --version >&5" | 3128 ac_compiler=$2 |
3129 for ac_option in --version -v -V -qversion; do | |
3130 { { ac_try="$ac_compiler $ac_option >&5" | |
2820 case "(($ac_try" in | 3131 case "(($ac_try" in |
2821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 3132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2822 *) ac_try_echo=$ac_try;; | 3133 *) ac_try_echo=$ac_try;; |
2823 esac | 3134 esac |
2824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 3135 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
2825 (eval "$ac_compiler --version >&5") 2>&5 | 3136 $as_echo "$ac_try_echo"; } >&5 |
3137 (eval "$ac_compiler $ac_option >&5") 2>conftest.err | |
2826 ac_status=$? | 3138 ac_status=$? |
2827 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3139 if test -s conftest.err; then |
2828 (exit $ac_status); } | 3140 sed '10a\ |
2829 { (ac_try="$ac_compiler -v >&5" | 3141 ... rest of stderr output deleted ... |
2830 case "(($ac_try" in | 3142 10q' conftest.err >conftest.er1 |
2831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 3143 cat conftest.er1 >&5 |
2832 *) ac_try_echo=$ac_try;; | 3144 fi |
2833 esac | 3145 rm -f conftest.er1 conftest.err |
2834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 3146 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
2835 (eval "$ac_compiler -v >&5") 2>&5 | 3147 test $ac_status = 0; } |
2836 ac_status=$? | 3148 done |
2837 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3149 |
2838 (exit $ac_status); } | 3150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 |
2839 { (ac_try="$ac_compiler -V >&5" | 3151 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } |
2840 case "(($ac_try" in | 3152 if ${ac_cv_cxx_compiler_gnu+:} false; then : |
2841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 3153 $as_echo_n "(cached) " >&6 |
2842 *) ac_try_echo=$ac_try;; | 3154 else |
2843 esac | 3155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
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 | |
2860 /* end confdefs.h. */ | 3156 /* end confdefs.h. */ |
2861 | 3157 |
2862 int | 3158 int |
2863 main () | 3159 main () |
2864 { | 3160 { |
2868 | 3164 |
2869 ; | 3165 ; |
2870 return 0; | 3166 return 0; |
2871 } | 3167 } |
2872 _ACEOF | 3168 _ACEOF |
2873 rm -f conftest.$ac_objext | 3169 if ac_fn_cxx_try_compile "$LINENO"; then : |
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 | |
2890 ac_compiler_gnu=yes | 3170 ac_compiler_gnu=yes |
2891 else | 3171 else |
2892 echo "$as_me: failed program was:" >&5 | 3172 ac_compiler_gnu=no |
2893 sed 's/^/| /' conftest.$ac_ext >&5 | 3173 fi |
2894 | |
2895 ac_compiler_gnu=no | |
2896 fi | |
2897 | |
2898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 3174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2899 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu | 3175 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu |
2900 | 3176 |
2901 fi | 3177 fi |
2902 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 | 3178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 |
2903 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; } | 3179 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } |
2904 GXX=`test $ac_compiler_gnu = yes && echo yes` | 3180 if test $ac_compiler_gnu = yes; then |
3181 GXX=yes | |
3182 else | |
3183 GXX= | |
3184 fi | |
2905 ac_test_CXXFLAGS=${CXXFLAGS+set} | 3185 ac_test_CXXFLAGS=${CXXFLAGS+set} |
2906 ac_save_CXXFLAGS=$CXXFLAGS | 3186 ac_save_CXXFLAGS=$CXXFLAGS |
2907 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 | 3187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 |
2908 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; } | 3188 $as_echo_n "checking whether $CXX accepts -g... " >&6; } |
2909 if test "${ac_cv_prog_cxx_g+set}" = set; then | 3189 if ${ac_cv_prog_cxx_g+:} false; then : |
2910 echo $ECHO_N "(cached) $ECHO_C" >&6 | 3190 $as_echo_n "(cached) " >&6 |
2911 else | 3191 else |
2912 ac_save_cxx_werror_flag=$ac_cxx_werror_flag | 3192 ac_save_cxx_werror_flag=$ac_cxx_werror_flag |
2913 ac_cxx_werror_flag=yes | 3193 ac_cxx_werror_flag=yes |
2914 ac_cv_prog_cxx_g=no | 3194 ac_cv_prog_cxx_g=no |
2915 CXXFLAGS="-g" | 3195 CXXFLAGS="-g" |
2916 cat >conftest.$ac_ext <<_ACEOF | 3196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2917 /* confdefs.h. */ | |
2918 _ACEOF | |
2919 cat confdefs.h >>conftest.$ac_ext | |
2920 cat >>conftest.$ac_ext <<_ACEOF | |
2921 /* end confdefs.h. */ | 3197 /* end confdefs.h. */ |
2922 | 3198 |
2923 int | 3199 int |
2924 main () | 3200 main () |
2925 { | 3201 { |
2926 | 3202 |
2927 ; | 3203 ; |
2928 return 0; | 3204 return 0; |
2929 } | 3205 } |
2930 _ACEOF | 3206 _ACEOF |
2931 rm -f conftest.$ac_objext | 3207 if ac_fn_cxx_try_compile "$LINENO"; then : |
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 | |
2948 ac_cv_prog_cxx_g=yes | 3208 ac_cv_prog_cxx_g=yes |
2949 else | 3209 else |
2950 echo "$as_me: failed program was:" >&5 | 3210 CXXFLAGS="" |
2951 sed 's/^/| /' conftest.$ac_ext >&5 | 3211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
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 | |
2959 /* end confdefs.h. */ | 3212 /* end confdefs.h. */ |
2960 | 3213 |
2961 int | 3214 int |
2962 main () | 3215 main () |
2963 { | 3216 { |
2964 | 3217 |
2965 ; | 3218 ; |
2966 return 0; | 3219 return 0; |
2967 } | 3220 } |
2968 _ACEOF | 3221 _ACEOF |
2969 rm -f conftest.$ac_objext | 3222 if ac_fn_cxx_try_compile "$LINENO"; then : |
2970 if { (ac_try="$ac_compile" | 3223 |
2971 case "(($ac_try" in | 3224 else |
2972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 3225 ac_cxx_werror_flag=$ac_save_cxx_werror_flag |
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 | |
2992 CXXFLAGS="-g" | 3226 CXXFLAGS="-g" |
2993 cat >conftest.$ac_ext <<_ACEOF | 3227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2994 /* confdefs.h. */ | |
2995 _ACEOF | |
2996 cat confdefs.h >>conftest.$ac_ext | |
2997 cat >>conftest.$ac_ext <<_ACEOF | |
2998 /* end confdefs.h. */ | 3228 /* end confdefs.h. */ |
2999 | 3229 |
3000 int | 3230 int |
3001 main () | 3231 main () |
3002 { | 3232 { |
3003 | 3233 |
3004 ; | 3234 ; |
3005 return 0; | 3235 return 0; |
3006 } | 3236 } |
3007 _ACEOF | 3237 _ACEOF |
3008 rm -f conftest.$ac_objext | 3238 if ac_fn_cxx_try_compile "$LINENO"; then : |
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 | |
3025 ac_cv_prog_cxx_g=yes | 3239 ac_cv_prog_cxx_g=yes |
3026 else | 3240 fi |
3027 echo "$as_me: failed program was:" >&5 | |
3028 sed 's/^/| /' conftest.$ac_ext >&5 | |
3029 | |
3030 | |
3031 fi | |
3032 | |
3033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 3241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3034 fi | 3242 fi |
3035 | |
3036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 3243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3037 fi | 3244 fi |
3038 | |
3039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 3245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3040 ac_cxx_werror_flag=$ac_save_cxx_werror_flag | 3246 ac_cxx_werror_flag=$ac_save_cxx_werror_flag |
3041 fi | 3247 fi |
3042 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 | 3248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 |
3043 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; } | 3249 $as_echo "$ac_cv_prog_cxx_g" >&6; } |
3044 if test "$ac_test_CXXFLAGS" = set; then | 3250 if test "$ac_test_CXXFLAGS" = set; then |
3045 CXXFLAGS=$ac_save_CXXFLAGS | 3251 CXXFLAGS=$ac_save_CXXFLAGS |
3046 elif test $ac_cv_prog_cxx_g = yes; then | 3252 elif test $ac_cv_prog_cxx_g = yes; then |
3047 if test "$GXX" = yes; then | 3253 if test "$GXX" = yes; then |
3048 CXXFLAGS="-g -O2" | 3254 CXXFLAGS="-g -O2" |
3063 ac_compiler_gnu=$ac_cv_c_compiler_gnu | 3269 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3064 | 3270 |
3065 | 3271 |
3066 # Extract the first word of "gmake", so it can be a program name with args. | 3272 # Extract the first word of "gmake", so it can be a program name with args. |
3067 set dummy gmake; ac_word=$2 | 3273 set dummy gmake; ac_word=$2 |
3068 { echo "$as_me:$LINENO: checking for $ac_word" >&5 | 3274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3069 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 3275 $as_echo_n "checking for $ac_word... " >&6; } |
3070 if test "${ac_cv_prog_MAKE+set}" = set; then | 3276 if ${ac_cv_prog_MAKE+:} false; then : |
3071 echo $ECHO_N "(cached) $ECHO_C" >&6 | 3277 $as_echo_n "(cached) " >&6 |
3072 else | 3278 else |
3073 if test -n "$MAKE"; then | 3279 if test -n "$MAKE"; then |
3074 ac_cv_prog_MAKE="$MAKE" # Let the user override the test. | 3280 ac_cv_prog_MAKE="$MAKE" # Let the user override the test. |
3075 else | 3281 else |
3076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 3282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3077 for as_dir in $PATH | 3283 for as_dir in $PATH |
3078 do | 3284 do |
3079 IFS=$as_save_IFS | 3285 IFS=$as_save_IFS |
3080 test -z "$as_dir" && as_dir=. | 3286 test -z "$as_dir" && as_dir=. |
3081 for ac_exec_ext in '' $ac_executable_extensions; do | 3287 for ac_exec_ext in '' $ac_executable_extensions; do |
3082 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 3288 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3083 ac_cv_prog_MAKE="gmake" | 3289 ac_cv_prog_MAKE="gmake" |
3084 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 3290 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3085 break 2 | 3291 break 2 |
3086 fi | 3292 fi |
3087 done | 3293 done |
3088 done | 3294 done |
3089 IFS=$as_save_IFS | 3295 IFS=$as_save_IFS |
3090 | 3296 |
3091 fi | 3297 fi |
3092 fi | 3298 fi |
3093 MAKE=$ac_cv_prog_MAKE | 3299 MAKE=$ac_cv_prog_MAKE |
3094 if test -n "$MAKE"; then | 3300 if test -n "$MAKE"; then |
3095 { echo "$as_me:$LINENO: result: $MAKE" >&5 | 3301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKE" >&5 |
3096 echo "${ECHO_T}$MAKE" >&6; } | 3302 $as_echo "$MAKE" >&6; } |
3097 else | 3303 else |
3098 { echo "$as_me:$LINENO: result: no" >&5 | 3304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3099 echo "${ECHO_T}no" >&6; } | 3305 $as_echo "no" >&6; } |
3100 fi | 3306 fi |
3101 | 3307 |
3102 | 3308 |
3103 if test x"$MAKE" = x; then | 3309 if test x"$MAKE" = x; then |
3104 # Extract the first word of "make", so it can be a program name with args. | 3310 # Extract the first word of "make", so it can be a program name with args. |
3105 set dummy make; ac_word=$2 | 3311 set dummy make; ac_word=$2 |
3106 { echo "$as_me:$LINENO: checking for $ac_word" >&5 | 3312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3107 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 3313 $as_echo_n "checking for $ac_word... " >&6; } |
3108 if test "${ac_cv_prog_MAKE+set}" = set; then | 3314 if ${ac_cv_prog_MAKE+:} false; then : |
3109 echo $ECHO_N "(cached) $ECHO_C" >&6 | 3315 $as_echo_n "(cached) " >&6 |
3110 else | 3316 else |
3111 if test -n "$MAKE"; then | 3317 if test -n "$MAKE"; then |
3112 ac_cv_prog_MAKE="$MAKE" # Let the user override the test. | 3318 ac_cv_prog_MAKE="$MAKE" # Let the user override the test. |
3113 else | 3319 else |
3114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 3320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3115 for as_dir in $PATH | 3321 for as_dir in $PATH |
3116 do | 3322 do |
3117 IFS=$as_save_IFS | 3323 IFS=$as_save_IFS |
3118 test -z "$as_dir" && as_dir=. | 3324 test -z "$as_dir" && as_dir=. |
3119 for ac_exec_ext in '' $ac_executable_extensions; do | 3325 for ac_exec_ext in '' $ac_executable_extensions; do |
3120 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 3326 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3121 ac_cv_prog_MAKE="make" | 3327 ac_cv_prog_MAKE="make" |
3122 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 3328 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3123 break 2 | 3329 break 2 |
3124 fi | 3330 fi |
3125 done | 3331 done |
3126 done | 3332 done |
3127 IFS=$as_save_IFS | 3333 IFS=$as_save_IFS |
3128 | 3334 |
3129 fi | 3335 fi |
3130 fi | 3336 fi |
3131 MAKE=$ac_cv_prog_MAKE | 3337 MAKE=$ac_cv_prog_MAKE |
3132 if test -n "$MAKE"; then | 3338 if test -n "$MAKE"; then |
3133 { echo "$as_me:$LINENO: result: $MAKE" >&5 | 3339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKE" >&5 |
3134 echo "${ECHO_T}$MAKE" >&6; } | 3340 $as_echo "$MAKE" >&6; } |
3135 else | 3341 else |
3136 { echo "$as_me:$LINENO: result: no" >&5 | 3342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3137 echo "${ECHO_T}no" >&6; } | 3343 $as_echo "no" >&6; } |
3138 fi | 3344 fi |
3139 | 3345 |
3140 | 3346 |
3141 fi | 3347 fi |
3142 if test -d .svn; then | 3348 if test -d .svn; then |
3143 # Extract the first word of "svnversion", so it can be a program name with args. | 3349 # Extract the first word of "svnversion", so it can be a program name with args. |
3144 set dummy svnversion; ac_word=$2 | 3350 set dummy svnversion; ac_word=$2 |
3145 { echo "$as_me:$LINENO: checking for $ac_word" >&5 | 3351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3146 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 3352 $as_echo_n "checking for $ac_word... " >&6; } |
3147 if test "${ac_cv_prog_SVNVERSION+set}" = set; then | 3353 if ${ac_cv_prog_SVNVERSION+:} false; then : |
3148 echo $ECHO_N "(cached) $ECHO_C" >&6 | 3354 $as_echo_n "(cached) " >&6 |
3149 else | 3355 else |
3150 if test -n "$SVNVERSION"; then | 3356 if test -n "$SVNVERSION"; then |
3151 ac_cv_prog_SVNVERSION="$SVNVERSION" # Let the user override the test. | 3357 ac_cv_prog_SVNVERSION="$SVNVERSION" # Let the user override the test. |
3152 else | 3358 else |
3153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 3359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3154 for as_dir in $PATH | 3360 for as_dir in $PATH |
3155 do | 3361 do |
3156 IFS=$as_save_IFS | 3362 IFS=$as_save_IFS |
3157 test -z "$as_dir" && as_dir=. | 3363 test -z "$as_dir" && as_dir=. |
3158 for ac_exec_ext in '' $ac_executable_extensions; do | 3364 for ac_exec_ext in '' $ac_executable_extensions; do |
3159 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 3365 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3160 ac_cv_prog_SVNVERSION="svnversion" | 3366 ac_cv_prog_SVNVERSION="svnversion" |
3161 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 3367 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3162 break 2 | 3368 break 2 |
3163 fi | 3369 fi |
3164 done | 3370 done |
3165 done | 3371 done |
3166 IFS=$as_save_IFS | 3372 IFS=$as_save_IFS |
3167 | 3373 |
3168 fi | 3374 fi |
3169 fi | 3375 fi |
3170 SVNVERSION=$ac_cv_prog_SVNVERSION | 3376 SVNVERSION=$ac_cv_prog_SVNVERSION |
3171 if test -n "$SVNVERSION"; then | 3377 if test -n "$SVNVERSION"; then |
3172 { echo "$as_me:$LINENO: result: $SVNVERSION" >&5 | 3378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SVNVERSION" >&5 |
3173 echo "${ECHO_T}$SVNVERSION" >&6; } | 3379 $as_echo "$SVNVERSION" >&6; } |
3174 else | 3380 else |
3175 { echo "$as_me:$LINENO: result: no" >&5 | 3381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3176 echo "${ECHO_T}no" >&6; } | 3382 $as_echo "no" >&6; } |
3177 fi | 3383 fi |
3178 | 3384 |
3179 | 3385 |
3180 fi | 3386 fi |
3181 if test x"$SVNVERSION" = x; then | 3387 if test x"$SVNVERSION" = x; then |
3199 ac_install_sh="$ac_aux_dir/shtool install -c" | 3405 ac_install_sh="$ac_aux_dir/shtool install -c" |
3200 break | 3406 break |
3201 fi | 3407 fi |
3202 done | 3408 done |
3203 if test -z "$ac_aux_dir"; then | 3409 if test -z "$ac_aux_dir"; then |
3204 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 | 3410 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 |
3205 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} | |
3206 { (exit 1); exit 1; }; } | |
3207 fi | 3411 fi |
3208 | 3412 |
3209 # These three variables are undocumented and unsupported, | 3413 # These three variables are undocumented and unsupported, |
3210 # and are intended to be withdrawn in a future Autoconf release. | 3414 # and are intended to be withdrawn in a future Autoconf release. |
3211 # They can cause serious problems if a builder's source tree is in a directory | 3415 # They can cause serious problems if a builder's source tree is in a directory |
3226 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | 3430 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
3227 # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 3431 # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
3228 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 3432 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
3229 # OS/2's system install, which has a completely different semantic | 3433 # OS/2's system install, which has a completely different semantic |
3230 # ./install, which can be erroneously created by make from ./install.sh. | 3434 # ./install, which can be erroneously created by make from ./install.sh. |
3231 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 | 3435 # Reject install programs that cannot install multiple files. |
3232 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } | 3436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 |
3437 $as_echo_n "checking for a BSD-compatible install... " >&6; } | |
3233 if test -z "$INSTALL"; then | 3438 if test -z "$INSTALL"; then |
3234 if test "${ac_cv_path_install+set}" = set; then | 3439 if ${ac_cv_path_install+:} false; then : |
3235 echo $ECHO_N "(cached) $ECHO_C" >&6 | 3440 $as_echo_n "(cached) " >&6 |
3236 else | 3441 else |
3237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 3442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3238 for as_dir in $PATH | 3443 for as_dir in $PATH |
3239 do | 3444 do |
3240 IFS=$as_save_IFS | 3445 IFS=$as_save_IFS |
3241 test -z "$as_dir" && as_dir=. | 3446 test -z "$as_dir" && as_dir=. |
3242 # Account for people who put trailing slashes in PATH elements. | 3447 # Account for people who put trailing slashes in PATH elements. |
3243 case $as_dir/ in | 3448 case $as_dir/ in #(( |
3244 ./ | .// | /cC/* | \ | 3449 ./ | .// | /[cC]/* | \ |
3245 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ | 3450 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
3246 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ | 3451 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ |
3247 /usr/ucb/* ) ;; | 3452 /usr/ucb/* ) ;; |
3248 *) | 3453 *) |
3249 # OSF1 and SCO ODT 3.0 have their own names for install. | 3454 # OSF1 and SCO ODT 3.0 have their own names for install. |
3250 # Don't use installbsd from OSF since it installs stuff as root | 3455 # Don't use installbsd from OSF since it installs stuff as root |
3251 # by default. | 3456 # by default. |
3259 elif test $ac_prog = install && | 3464 elif test $ac_prog = install && |
3260 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | 3465 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
3261 # program-specific install script used by HP pwplus--don't use. | 3466 # program-specific install script used by HP pwplus--don't use. |
3262 : | 3467 : |
3263 else | 3468 else |
3264 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" | 3469 rm -rf conftest.one conftest.two conftest.dir |
3265 break 3 | 3470 echo one > conftest.one |
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 | |
3266 fi | 3481 fi |
3267 fi | 3482 fi |
3268 done | 3483 done |
3269 done | 3484 done |
3270 ;; | 3485 ;; |
3271 esac | 3486 esac |
3272 done | 3487 |
3488 done | |
3273 IFS=$as_save_IFS | 3489 IFS=$as_save_IFS |
3274 | 3490 |
3491 rm -rf conftest.one conftest.two conftest.dir | |
3275 | 3492 |
3276 fi | 3493 fi |
3277 if test "${ac_cv_path_install+set}" = set; then | 3494 if test "${ac_cv_path_install+set}" = set; then |
3278 INSTALL=$ac_cv_path_install | 3495 INSTALL=$ac_cv_path_install |
3279 else | 3496 else |
3282 # break other packages using the cache if that directory is | 3499 # break other packages using the cache if that directory is |
3283 # removed, or if the value is a relative name. | 3500 # removed, or if the value is a relative name. |
3284 INSTALL=$ac_install_sh | 3501 INSTALL=$ac_install_sh |
3285 fi | 3502 fi |
3286 fi | 3503 fi |
3287 { echo "$as_me:$LINENO: result: $INSTALL" >&5 | 3504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 |
3288 echo "${ECHO_T}$INSTALL" >&6; } | 3505 $as_echo "$INSTALL" >&6; } |
3289 | 3506 |
3290 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. | 3507 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
3291 # It thinks the first close brace ends the variable substitution. | 3508 # It thinks the first close brace ends the variable substitution. |
3292 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' | 3509 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
3293 | 3510 |
3298 | 3515 |
3299 | 3516 |
3300 | 3517 |
3301 # Make sure we can run config.sub. | 3518 # Make sure we can run config.sub. |
3302 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || | 3519 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || |
3303 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 | 3520 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 |
3304 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} | 3521 |
3305 { (exit 1); exit 1; }; } | 3522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 |
3306 | 3523 $as_echo_n "checking build system type... " >&6; } |
3307 { echo "$as_me:$LINENO: checking build system type" >&5 | 3524 if ${ac_cv_build+:} false; then : |
3308 echo $ECHO_N "checking build system type... $ECHO_C" >&6; } | 3525 $as_echo_n "(cached) " >&6 |
3309 if test "${ac_cv_build+set}" = set; then | |
3310 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
3311 else | 3526 else |
3312 ac_build_alias=$build_alias | 3527 ac_build_alias=$build_alias |
3313 test "x$ac_build_alias" = x && | 3528 test "x$ac_build_alias" = x && |
3314 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` | 3529 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` |
3315 test "x$ac_build_alias" = x && | 3530 test "x$ac_build_alias" = x && |
3316 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 | 3531 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 |
3317 echo "$as_me: error: cannot guess build type; you must specify one" >&2;} | |
3318 { (exit 1); exit 1; }; } | |
3319 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || | 3532 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || |
3320 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 | 3533 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 |
3321 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} | 3534 |
3322 { (exit 1); exit 1; }; } | 3535 fi |
3323 | 3536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 |
3324 fi | 3537 $as_echo "$ac_cv_build" >&6; } |
3325 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5 | |
3326 echo "${ECHO_T}$ac_cv_build" >&6; } | |
3327 case $ac_cv_build in | 3538 case $ac_cv_build in |
3328 *-*-*) ;; | 3539 *-*-*) ;; |
3329 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 | 3540 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; |
3330 echo "$as_me: error: invalid value of canonical build" >&2;} | |
3331 { (exit 1); exit 1; }; };; | |
3332 esac | 3541 esac |
3333 build=$ac_cv_build | 3542 build=$ac_cv_build |
3334 ac_save_IFS=$IFS; IFS='-' | 3543 ac_save_IFS=$IFS; IFS='-' |
3335 set x $ac_cv_build | 3544 set x $ac_cv_build |
3336 shift | 3545 shift |
3342 build_os=$* | 3551 build_os=$* |
3343 IFS=$ac_save_IFS | 3552 IFS=$ac_save_IFS |
3344 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac | 3553 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac |
3345 | 3554 |
3346 | 3555 |
3347 { echo "$as_me:$LINENO: checking host system type" >&5 | 3556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 |
3348 echo $ECHO_N "checking host system type... $ECHO_C" >&6; } | 3557 $as_echo_n "checking host system type... " >&6; } |
3349 if test "${ac_cv_host+set}" = set; then | 3558 if ${ac_cv_host+:} false; then : |
3350 echo $ECHO_N "(cached) $ECHO_C" >&6 | 3559 $as_echo_n "(cached) " >&6 |
3351 else | 3560 else |
3352 if test "x$host_alias" = x; then | 3561 if test "x$host_alias" = x; then |
3353 ac_cv_host=$ac_cv_build | 3562 ac_cv_host=$ac_cv_build |
3354 else | 3563 else |
3355 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || | 3564 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || |
3356 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 | 3565 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 |
3357 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} | 3566 fi |
3358 { (exit 1); exit 1; }; } | 3567 |
3359 fi | 3568 fi |
3360 | 3569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 |
3361 fi | 3570 $as_echo "$ac_cv_host" >&6; } |
3362 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5 | |
3363 echo "${ECHO_T}$ac_cv_host" >&6; } | |
3364 case $ac_cv_host in | 3571 case $ac_cv_host in |
3365 *-*-*) ;; | 3572 *-*-*) ;; |
3366 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 | 3573 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; |
3367 echo "$as_me: error: invalid value of canonical host" >&2;} | |
3368 { (exit 1); exit 1; }; };; | |
3369 esac | 3574 esac |
3370 host=$ac_cv_host | 3575 host=$ac_cv_host |
3371 ac_save_IFS=$IFS; IFS='-' | 3576 ac_save_IFS=$IFS; IFS='-' |
3372 set x $ac_cv_host | 3577 set x $ac_cv_host |
3373 shift | 3578 shift |
3379 host_os=$* | 3584 host_os=$* |
3380 IFS=$ac_save_IFS | 3585 IFS=$ac_save_IFS |
3381 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac | 3586 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac |
3382 | 3587 |
3383 | 3588 |
3384 { echo "$as_me:$LINENO: checking target system type" >&5 | 3589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 |
3385 echo $ECHO_N "checking target system type... $ECHO_C" >&6; } | 3590 $as_echo_n "checking target system type... " >&6; } |
3386 if test "${ac_cv_target+set}" = set; then | 3591 if ${ac_cv_target+:} false; then : |
3387 echo $ECHO_N "(cached) $ECHO_C" >&6 | 3592 $as_echo_n "(cached) " >&6 |
3388 else | 3593 else |
3389 if test "x$target_alias" = x; then | 3594 if test "x$target_alias" = x; then |
3390 ac_cv_target=$ac_cv_host | 3595 ac_cv_target=$ac_cv_host |
3391 else | 3596 else |
3392 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || | 3597 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || |
3393 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5 | 3598 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 |
3394 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;} | 3599 fi |
3395 { (exit 1); exit 1; }; } | 3600 |
3396 fi | 3601 fi |
3397 | 3602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 |
3398 fi | 3603 $as_echo "$ac_cv_target" >&6; } |
3399 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5 | |
3400 echo "${ECHO_T}$ac_cv_target" >&6; } | |
3401 case $ac_cv_target in | 3604 case $ac_cv_target in |
3402 *-*-*) ;; | 3605 *-*-*) ;; |
3403 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5 | 3606 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;; |
3404 echo "$as_me: error: invalid value of canonical target" >&2;} | |
3405 { (exit 1); exit 1; }; };; | |
3406 esac | 3607 esac |
3407 target=$ac_cv_target | 3608 target=$ac_cv_target |
3408 ac_save_IFS=$IFS; IFS='-' | 3609 ac_save_IFS=$IFS; IFS='-' |
3409 set x $ac_cv_target | 3610 set x $ac_cv_target |
3410 shift | 3611 shift |
3424 test "$program_prefix$program_suffix$program_transform_name" = \ | 3625 test "$program_prefix$program_suffix$program_transform_name" = \ |
3425 NONENONEs,x,x, && | 3626 NONENONEs,x,x, && |
3426 program_prefix=${target_alias}- | 3627 program_prefix=${target_alias}- |
3427 | 3628 |
3428 | 3629 |
3630 | |
3429 # Check whether --with-dwcompat was given. | 3631 # Check whether --with-dwcompat was given. |
3430 if test "${with_dwcompat+set}" = set; then | 3632 if test "${with_dwcompat+set}" = set; then : |
3431 withval=$with_dwcompat; with_dwcompat=$withval | 3633 withval=$with_dwcompat; with_dwcompat=$withval |
3432 else | 3634 else |
3433 with_dwcompat=no | 3635 with_dwcompat=no |
3434 fi | 3636 fi |
3435 | 3637 |
3436 | 3638 |
3437 | 3639 |
3438 # Check whether --with-gtk3 was given. | 3640 # Check whether --with-gtk3 was given. |
3439 if test "${with_gtk3+set}" = set; then | 3641 if test "${with_gtk3+set}" = set; then : |
3440 withval=$with_gtk3; with_gtk3=$withval | 3642 withval=$with_gtk3; with_gtk3=$withval |
3441 else | 3643 else |
3442 with_gtk3=no | 3644 with_gtk3=no |
3443 fi | 3645 fi |
3444 | 3646 |
3455 SYSCONF_LINK_TARGET_SHARED="lib$TARGET.$SOSUFFIX.\$(DW_MAJOR_VERSION).\$(DW_MINOR_VERSION)" | 3657 SYSCONF_LINK_TARGET_SHARED="lib$TARGET.$SOSUFFIX.\$(DW_MAJOR_VERSION).\$(DW_MINOR_VERSION)" |
3456 SYSCONF_LINK_TARGET_STATIC="lib$TARGET.a" | 3658 SYSCONF_LINK_TARGET_STATIC="lib$TARGET.a" |
3457 | 3659 |
3458 | 3660 |
3459 # Check whether --with-gtk was given. | 3661 # Check whether --with-gtk was given. |
3460 if test "${with_gtk+set}" = set; then | 3662 if test "${with_gtk+set}" = set; then : |
3461 withval=$with_gtk; with_gtk=$withval | 3663 withval=$with_gtk; with_gtk=$withval |
3462 else | 3664 else |
3463 with_gtk=no | 3665 with_gtk=no |
3464 fi | 3666 fi |
3465 | 3667 |
3466 | 3668 |
3467 | 3669 |
3468 # Check whether --with-gtkframework was given. | 3670 # Check whether --with-gtkframework was given. |
3469 if test "${with_gtkframework+set}" = set; then | 3671 if test "${with_gtkframework+set}" = set; then : |
3470 withval=$with_gtkframework; with_gtkframework=$withval | 3672 withval=$with_gtkframework; with_gtkframework=$withval |
3471 else | 3673 else |
3472 with_gtkframework=no | 3674 with_gtkframework=no |
3473 fi | 3675 fi |
3474 | 3676 |
3475 | 3677 |
3476 | 3678 |
3477 # Check whether --with-gtkhtml was given. | 3679 # Check whether --with-gtkhtml was given. |
3478 if test "${with_gtkhtml+set}" = set; then | 3680 if test "${with_gtkhtml+set}" = set; then : |
3479 withval=$with_gtkhtml; with_gtkhtml=$withval | 3681 withval=$with_gtkhtml; with_gtkhtml=$withval |
3480 else | 3682 else |
3481 with_gtkhtml=no | 3683 with_gtkhtml=no |
3482 fi | 3684 fi |
3483 | 3685 |
3484 | 3686 |
3485 | 3687 |
3486 # Check whether --with-gtkmozembed was given. | 3688 # Check whether --with-gtkmozembed was given. |
3487 if test "${with_gtkmozembed+set}" = set; then | 3689 if test "${with_gtkmozembed+set}" = set; then : |
3488 withval=$with_gtkmozembed; with_gtkmozembed=$withval | 3690 withval=$with_gtkmozembed; with_gtkmozembed=$withval |
3489 else | 3691 else |
3490 with_gtkmozembed=no | 3692 with_gtkmozembed=no |
3491 fi | 3693 fi |
3492 | 3694 |
3493 | 3695 |
3494 | 3696 |
3495 # Check whether --with-arch was given. | 3697 # Check whether --with-arch was given. |
3496 if test "${with_arch+set}" = set; then | 3698 if test "${with_arch+set}" = set; then : |
3497 withval=$with_arch; with_arch=$withval | 3699 withval=$with_arch; with_arch=$withval |
3498 else | 3700 else |
3499 with_arch=no | 3701 with_arch=no |
3500 fi | 3702 fi |
3501 | 3703 |
3504 ac_ext=c | 3706 ac_ext=c |
3505 ac_cpp='$CPP $CPPFLAGS' | 3707 ac_cpp='$CPP $CPPFLAGS' |
3506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 3708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 3709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3508 ac_compiler_gnu=$ac_cv_c_compiler_gnu | 3710 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3509 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 | 3711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 |
3510 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; } | 3712 $as_echo_n "checking how to run the C preprocessor... " >&6; } |
3511 # On Suns, sometimes $CPP names a directory. | 3713 # On Suns, sometimes $CPP names a directory. |
3512 if test -n "$CPP" && test -d "$CPP"; then | 3714 if test -n "$CPP" && test -d "$CPP"; then |
3513 CPP= | 3715 CPP= |
3514 fi | 3716 fi |
3515 if test -z "$CPP"; then | 3717 if test -z "$CPP"; then |
3516 if test "${ac_cv_prog_CPP+set}" = set; then | 3718 if ${ac_cv_prog_CPP+:} false; then : |
3517 echo $ECHO_N "(cached) $ECHO_C" >&6 | 3719 $as_echo_n "(cached) " >&6 |
3518 else | 3720 else |
3519 # Double quotes because CPP needs to be expanded | 3721 # Double quotes because CPP needs to be expanded |
3520 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" | 3722 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
3521 do | 3723 do |
3522 ac_preproc_ok=false | 3724 ac_preproc_ok=false |
3526 # with a fresh cross-compiler works. | 3728 # with a fresh cross-compiler works. |
3527 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 3729 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
3528 # <limits.h> exists even on freestanding compilers. | 3730 # <limits.h> exists even on freestanding compilers. |
3529 # On the NeXT, cc -E runs the code through the compiler's parser, | 3731 # On the NeXT, cc -E runs the code through the compiler's parser, |
3530 # not just through cpp. "Syntax error" is here to catch this case. | 3732 # not just through cpp. "Syntax error" is here to catch this case. |
3531 cat >conftest.$ac_ext <<_ACEOF | 3733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3532 /* confdefs.h. */ | |
3533 _ACEOF | |
3534 cat confdefs.h >>conftest.$ac_ext | |
3535 cat >>conftest.$ac_ext <<_ACEOF | |
3536 /* end confdefs.h. */ | 3734 /* end confdefs.h. */ |
3537 #ifdef __STDC__ | 3735 #ifdef __STDC__ |
3538 # include <limits.h> | 3736 # include <limits.h> |
3539 #else | 3737 #else |
3540 # include <assert.h> | 3738 # include <assert.h> |
3541 #endif | 3739 #endif |
3542 Syntax error | 3740 Syntax error |
3543 _ACEOF | 3741 _ACEOF |
3544 if { (ac_try="$ac_cpp conftest.$ac_ext" | 3742 if ac_fn_c_try_cpp "$LINENO"; then : |
3545 case "(($ac_try" in | 3743 |
3546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 3744 else |
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 | |
3565 # Broken: fails on valid input. | 3745 # Broken: fails on valid input. |
3566 continue | 3746 continue |
3567 fi | 3747 fi |
3568 | 3748 rm -f conftest.err conftest.i conftest.$ac_ext |
3569 rm -f conftest.err conftest.$ac_ext | |
3570 | 3749 |
3571 # OK, works on sane cases. Now check whether nonexistent headers | 3750 # OK, works on sane cases. Now check whether nonexistent headers |
3572 # can be detected and how. | 3751 # can be detected and how. |
3573 cat >conftest.$ac_ext <<_ACEOF | 3752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3574 /* confdefs.h. */ | |
3575 _ACEOF | |
3576 cat confdefs.h >>conftest.$ac_ext | |
3577 cat >>conftest.$ac_ext <<_ACEOF | |
3578 /* end confdefs.h. */ | 3753 /* end confdefs.h. */ |
3579 #include <ac_nonexistent.h> | 3754 #include <ac_nonexistent.h> |
3580 _ACEOF | 3755 _ACEOF |
3581 if { (ac_try="$ac_cpp conftest.$ac_ext" | 3756 if ac_fn_c_try_cpp "$LINENO"; then : |
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 | |
3597 # Broken: success on invalid input. | 3757 # Broken: success on invalid input. |
3598 continue | 3758 continue |
3599 else | 3759 else |
3600 echo "$as_me: failed program was:" >&5 | |
3601 sed 's/^/| /' conftest.$ac_ext >&5 | |
3602 | |
3603 # Passes both tests. | 3760 # Passes both tests. |
3604 ac_preproc_ok=: | 3761 ac_preproc_ok=: |
3605 break | 3762 break |
3606 fi | 3763 fi |
3607 | 3764 rm -f conftest.err conftest.i conftest.$ac_ext |
3608 rm -f conftest.err conftest.$ac_ext | |
3609 | 3765 |
3610 done | 3766 done |
3611 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 3767 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
3612 rm -f conftest.err conftest.$ac_ext | 3768 rm -f conftest.i conftest.err conftest.$ac_ext |
3613 if $ac_preproc_ok; then | 3769 if $ac_preproc_ok; then : |
3614 break | 3770 break |
3615 fi | 3771 fi |
3616 | 3772 |
3617 done | 3773 done |
3618 ac_cv_prog_CPP=$CPP | 3774 ac_cv_prog_CPP=$CPP |
3620 fi | 3776 fi |
3621 CPP=$ac_cv_prog_CPP | 3777 CPP=$ac_cv_prog_CPP |
3622 else | 3778 else |
3623 ac_cv_prog_CPP=$CPP | 3779 ac_cv_prog_CPP=$CPP |
3624 fi | 3780 fi |
3625 { echo "$as_me:$LINENO: result: $CPP" >&5 | 3781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 |
3626 echo "${ECHO_T}$CPP" >&6; } | 3782 $as_echo "$CPP" >&6; } |
3627 ac_preproc_ok=false | 3783 ac_preproc_ok=false |
3628 for ac_c_preproc_warn_flag in '' yes | 3784 for ac_c_preproc_warn_flag in '' yes |
3629 do | 3785 do |
3630 # Use a header file that comes with gcc, so configuring glibc | 3786 # Use a header file that comes with gcc, so configuring glibc |
3631 # with a fresh cross-compiler works. | 3787 # with a fresh cross-compiler works. |
3632 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 3788 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
3633 # <limits.h> exists even on freestanding compilers. | 3789 # <limits.h> exists even on freestanding compilers. |
3634 # On the NeXT, cc -E runs the code through the compiler's parser, | 3790 # On the NeXT, cc -E runs the code through the compiler's parser, |
3635 # not just through cpp. "Syntax error" is here to catch this case. | 3791 # not just through cpp. "Syntax error" is here to catch this case. |
3636 cat >conftest.$ac_ext <<_ACEOF | 3792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3637 /* confdefs.h. */ | |
3638 _ACEOF | |
3639 cat confdefs.h >>conftest.$ac_ext | |
3640 cat >>conftest.$ac_ext <<_ACEOF | |
3641 /* end confdefs.h. */ | 3793 /* end confdefs.h. */ |
3642 #ifdef __STDC__ | 3794 #ifdef __STDC__ |
3643 # include <limits.h> | 3795 # include <limits.h> |
3644 #else | 3796 #else |
3645 # include <assert.h> | 3797 # include <assert.h> |
3646 #endif | 3798 #endif |
3647 Syntax error | 3799 Syntax error |
3648 _ACEOF | 3800 _ACEOF |
3649 if { (ac_try="$ac_cpp conftest.$ac_ext" | 3801 if ac_fn_c_try_cpp "$LINENO"; then : |
3650 case "(($ac_try" in | 3802 |
3651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 3803 else |
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 | |
3670 # Broken: fails on valid input. | 3804 # Broken: fails on valid input. |
3671 continue | 3805 continue |
3672 fi | 3806 fi |
3673 | 3807 rm -f conftest.err conftest.i conftest.$ac_ext |
3674 rm -f conftest.err conftest.$ac_ext | |
3675 | 3808 |
3676 # OK, works on sane cases. Now check whether nonexistent headers | 3809 # OK, works on sane cases. Now check whether nonexistent headers |
3677 # can be detected and how. | 3810 # can be detected and how. |
3678 cat >conftest.$ac_ext <<_ACEOF | 3811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3679 /* confdefs.h. */ | |
3680 _ACEOF | |
3681 cat confdefs.h >>conftest.$ac_ext | |
3682 cat >>conftest.$ac_ext <<_ACEOF | |
3683 /* end confdefs.h. */ | 3812 /* end confdefs.h. */ |
3684 #include <ac_nonexistent.h> | 3813 #include <ac_nonexistent.h> |
3685 _ACEOF | 3814 _ACEOF |
3686 if { (ac_try="$ac_cpp conftest.$ac_ext" | 3815 if ac_fn_c_try_cpp "$LINENO"; then : |
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 | |
3702 # Broken: success on invalid input. | 3816 # Broken: success on invalid input. |
3703 continue | 3817 continue |
3704 else | 3818 else |
3705 echo "$as_me: failed program was:" >&5 | |
3706 sed 's/^/| /' conftest.$ac_ext >&5 | |
3707 | |
3708 # Passes both tests. | 3819 # Passes both tests. |
3709 ac_preproc_ok=: | 3820 ac_preproc_ok=: |
3710 break | 3821 break |
3711 fi | 3822 fi |
3712 | 3823 rm -f conftest.err conftest.i conftest.$ac_ext |
3713 rm -f conftest.err conftest.$ac_ext | |
3714 | 3824 |
3715 done | 3825 done |
3716 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 3826 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
3717 rm -f conftest.err conftest.$ac_ext | 3827 rm -f conftest.i conftest.err conftest.$ac_ext |
3718 if $ac_preproc_ok; then | 3828 if $ac_preproc_ok; then : |
3719 : | 3829 |
3720 else | 3830 else |
3721 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check | 3831 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3722 See \`config.log' for more details." >&5 | 3832 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3723 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check | 3833 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check |
3724 See \`config.log' for more details." >&2;} | 3834 See \`config.log' for more details" "$LINENO" 5; } |
3725 { (exit 1); exit 1; }; } | |
3726 fi | 3835 fi |
3727 | 3836 |
3728 ac_ext=c | 3837 ac_ext=c |
3729 ac_cpp='$CPP $CPPFLAGS' | 3838 ac_cpp='$CPP $CPPFLAGS' |
3730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 3839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 3840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3732 ac_compiler_gnu=$ac_cv_c_compiler_gnu | 3841 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3733 | 3842 |
3734 | 3843 |
3735 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 | 3844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 |
3736 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } | 3845 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } |
3737 if test "${ac_cv_path_GREP+set}" = set; then | 3846 if ${ac_cv_path_GREP+:} false; then : |
3738 echo $ECHO_N "(cached) $ECHO_C" >&6 | 3847 $as_echo_n "(cached) " >&6 |
3739 else | 3848 else |
3740 # Extract the first word of "grep ggrep" to use in msg output | 3849 if test -z "$GREP"; then |
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 | |
3746 ac_path_GREP_found=false | 3850 ac_path_GREP_found=false |
3747 # Loop through the user's path and test for each of PROGNAME-LIST | 3851 # Loop through the user's path and test for each of PROGNAME-LIST |
3748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 3852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3749 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | 3853 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
3750 do | 3854 do |
3751 IFS=$as_save_IFS | 3855 IFS=$as_save_IFS |
3752 test -z "$as_dir" && as_dir=. | 3856 test -z "$as_dir" && as_dir=. |
3753 for ac_prog in grep ggrep; do | 3857 for ac_prog in grep ggrep; do |
3754 for ac_exec_ext in '' $ac_executable_extensions; do | 3858 for ac_exec_ext in '' $ac_executable_extensions; do |
3755 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" | 3859 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
3756 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue | 3860 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue |
3757 # Check for GNU ac_path_GREP and select it if it is found. | 3861 # Check for GNU ac_path_GREP and select it if it is found. |
3758 # Check for GNU $ac_path_GREP | 3862 # Check for GNU $ac_path_GREP |
3759 case `"$ac_path_GREP" --version 2>&1` in | 3863 case `"$ac_path_GREP" --version 2>&1` in |
3760 *GNU*) | 3864 *GNU*) |
3761 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; | 3865 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; |
3762 *) | 3866 *) |
3763 ac_count=0 | 3867 ac_count=0 |
3764 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" | 3868 $as_echo_n 0123456789 >"conftest.in" |
3765 while : | 3869 while : |
3766 do | 3870 do |
3767 cat "conftest.in" "conftest.in" >"conftest.tmp" | 3871 cat "conftest.in" "conftest.in" >"conftest.tmp" |
3768 mv "conftest.tmp" "conftest.in" | 3872 mv "conftest.tmp" "conftest.in" |
3769 cp "conftest.in" "conftest.nl" | 3873 cp "conftest.in" "conftest.nl" |
3770 echo 'GREP' >> "conftest.nl" | 3874 $as_echo 'GREP' >> "conftest.nl" |
3771 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break | 3875 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
3772 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break | 3876 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
3773 ac_count=`expr $ac_count + 1` | 3877 as_fn_arith $ac_count + 1 && ac_count=$as_val |
3774 if test $ac_count -gt ${ac_path_GREP_max-0}; then | 3878 if test $ac_count -gt ${ac_path_GREP_max-0}; then |
3775 # Best one so far, save it but keep looking for a better one | 3879 # Best one so far, save it but keep looking for a better one |
3776 ac_cv_path_GREP="$ac_path_GREP" | 3880 ac_cv_path_GREP="$ac_path_GREP" |
3777 ac_path_GREP_max=$ac_count | 3881 ac_path_GREP_max=$ac_count |
3778 fi | 3882 fi |
3780 test $ac_count -gt 10 && break | 3884 test $ac_count -gt 10 && break |
3781 done | 3885 done |
3782 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; | 3886 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
3783 esac | 3887 esac |
3784 | 3888 |
3785 | 3889 $ac_path_GREP_found && break 3 |
3786 $ac_path_GREP_found && break 3 | 3890 done |
3787 done | 3891 done |
3788 done | 3892 done |
3789 | |
3790 done | |
3791 IFS=$as_save_IFS | 3893 IFS=$as_save_IFS |
3792 | 3894 if test -z "$ac_cv_path_GREP"; then |
3793 | 3895 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
3794 fi | 3896 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 | |
3803 else | 3897 else |
3804 ac_cv_path_GREP=$GREP | 3898 ac_cv_path_GREP=$GREP |
3805 fi | 3899 fi |
3806 | 3900 |
3807 | 3901 fi |
3808 fi | 3902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 |
3809 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 | 3903 $as_echo "$ac_cv_path_GREP" >&6; } |
3810 echo "${ECHO_T}$ac_cv_path_GREP" >&6; } | |
3811 GREP="$ac_cv_path_GREP" | 3904 GREP="$ac_cv_path_GREP" |
3812 | 3905 |
3813 | 3906 |
3814 { echo "$as_me:$LINENO: checking for egrep" >&5 | 3907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 |
3815 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; } | 3908 $as_echo_n "checking for egrep... " >&6; } |
3816 if test "${ac_cv_path_EGREP+set}" = set; then | 3909 if ${ac_cv_path_EGREP+:} false; then : |
3817 echo $ECHO_N "(cached) $ECHO_C" >&6 | 3910 $as_echo_n "(cached) " >&6 |
3818 else | 3911 else |
3819 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 | 3912 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
3820 then ac_cv_path_EGREP="$GREP -E" | 3913 then ac_cv_path_EGREP="$GREP -E" |
3821 else | 3914 else |
3822 # Extract the first word of "egrep" to use in msg output | 3915 if test -z "$EGREP"; then |
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 | |
3828 ac_path_EGREP_found=false | 3916 ac_path_EGREP_found=false |
3829 # Loop through the user's path and test for each of PROGNAME-LIST | 3917 # Loop through the user's path and test for each of PROGNAME-LIST |
3830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 3918 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3831 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | 3919 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
3832 do | 3920 do |
3833 IFS=$as_save_IFS | 3921 IFS=$as_save_IFS |
3834 test -z "$as_dir" && as_dir=. | 3922 test -z "$as_dir" && as_dir=. |
3835 for ac_prog in egrep; do | 3923 for ac_prog in egrep; do |
3836 for ac_exec_ext in '' $ac_executable_extensions; do | 3924 for ac_exec_ext in '' $ac_executable_extensions; do |
3837 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" | 3925 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
3838 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue | 3926 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue |
3839 # Check for GNU ac_path_EGREP and select it if it is found. | 3927 # Check for GNU ac_path_EGREP and select it if it is found. |
3840 # Check for GNU $ac_path_EGREP | 3928 # Check for GNU $ac_path_EGREP |
3841 case `"$ac_path_EGREP" --version 2>&1` in | 3929 case `"$ac_path_EGREP" --version 2>&1` in |
3842 *GNU*) | 3930 *GNU*) |
3843 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; | 3931 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; |
3844 *) | 3932 *) |
3845 ac_count=0 | 3933 ac_count=0 |
3846 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" | 3934 $as_echo_n 0123456789 >"conftest.in" |
3847 while : | 3935 while : |
3848 do | 3936 do |
3849 cat "conftest.in" "conftest.in" >"conftest.tmp" | 3937 cat "conftest.in" "conftest.in" >"conftest.tmp" |
3850 mv "conftest.tmp" "conftest.in" | 3938 mv "conftest.tmp" "conftest.in" |
3851 cp "conftest.in" "conftest.nl" | 3939 cp "conftest.in" "conftest.nl" |
3852 echo 'EGREP' >> "conftest.nl" | 3940 $as_echo 'EGREP' >> "conftest.nl" |
3853 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break | 3941 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
3854 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break | 3942 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
3855 ac_count=`expr $ac_count + 1` | 3943 as_fn_arith $ac_count + 1 && ac_count=$as_val |
3856 if test $ac_count -gt ${ac_path_EGREP_max-0}; then | 3944 if test $ac_count -gt ${ac_path_EGREP_max-0}; then |
3857 # Best one so far, save it but keep looking for a better one | 3945 # Best one so far, save it but keep looking for a better one |
3858 ac_cv_path_EGREP="$ac_path_EGREP" | 3946 ac_cv_path_EGREP="$ac_path_EGREP" |
3859 ac_path_EGREP_max=$ac_count | 3947 ac_path_EGREP_max=$ac_count |
3860 fi | 3948 fi |
3862 test $ac_count -gt 10 && break | 3950 test $ac_count -gt 10 && break |
3863 done | 3951 done |
3864 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; | 3952 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
3865 esac | 3953 esac |
3866 | 3954 |
3867 | 3955 $ac_path_EGREP_found && break 3 |
3868 $ac_path_EGREP_found && break 3 | 3956 done |
3869 done | 3957 done |
3870 done | 3958 done |
3871 | |
3872 done | |
3873 IFS=$as_save_IFS | 3959 IFS=$as_save_IFS |
3874 | 3960 if test -z "$ac_cv_path_EGREP"; then |
3875 | 3961 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
3876 fi | 3962 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 | |
3885 else | 3963 else |
3886 ac_cv_path_EGREP=$EGREP | 3964 ac_cv_path_EGREP=$EGREP |
3887 fi | 3965 fi |
3888 | 3966 |
3889 | |
3890 fi | 3967 fi |
3891 fi | 3968 fi |
3892 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 | 3969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 |
3893 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; } | 3970 $as_echo "$ac_cv_path_EGREP" >&6; } |
3894 EGREP="$ac_cv_path_EGREP" | 3971 EGREP="$ac_cv_path_EGREP" |
3895 | 3972 |
3896 | 3973 |
3897 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 | 3974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 |
3898 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } | 3975 $as_echo_n "checking for ANSI C header files... " >&6; } |
3899 if test "${ac_cv_header_stdc+set}" = set; then | 3976 if ${ac_cv_header_stdc+:} false; then : |
3900 echo $ECHO_N "(cached) $ECHO_C" >&6 | 3977 $as_echo_n "(cached) " >&6 |
3901 else | 3978 else |
3902 cat >conftest.$ac_ext <<_ACEOF | 3979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3903 /* confdefs.h. */ | |
3904 _ACEOF | |
3905 cat confdefs.h >>conftest.$ac_ext | |
3906 cat >>conftest.$ac_ext <<_ACEOF | |
3907 /* end confdefs.h. */ | 3980 /* end confdefs.h. */ |
3908 #include <stdlib.h> | 3981 #include <stdlib.h> |
3909 #include <stdarg.h> | 3982 #include <stdarg.h> |
3910 #include <string.h> | 3983 #include <string.h> |
3911 #include <float.h> | 3984 #include <float.h> |
3916 | 3989 |
3917 ; | 3990 ; |
3918 return 0; | 3991 return 0; |
3919 } | 3992 } |
3920 _ACEOF | 3993 _ACEOF |
3921 rm -f conftest.$ac_objext | 3994 if ac_fn_c_try_compile "$LINENO"; then : |
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 | |
3938 ac_cv_header_stdc=yes | 3995 ac_cv_header_stdc=yes |
3939 else | 3996 else |
3940 echo "$as_me: failed program was:" >&5 | 3997 ac_cv_header_stdc=no |
3941 sed 's/^/| /' conftest.$ac_ext >&5 | 3998 fi |
3942 | |
3943 ac_cv_header_stdc=no | |
3944 fi | |
3945 | |
3946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 3999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3947 | 4000 |
3948 if test $ac_cv_header_stdc = yes; then | 4001 if test $ac_cv_header_stdc = yes; then |
3949 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 4002 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
3950 cat >conftest.$ac_ext <<_ACEOF | 4003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3951 /* confdefs.h. */ | |
3952 _ACEOF | |
3953 cat confdefs.h >>conftest.$ac_ext | |
3954 cat >>conftest.$ac_ext <<_ACEOF | |
3955 /* end confdefs.h. */ | 4004 /* end confdefs.h. */ |
3956 #include <string.h> | 4005 #include <string.h> |
3957 | 4006 |
3958 _ACEOF | 4007 _ACEOF |
3959 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 4008 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3960 $EGREP "memchr" >/dev/null 2>&1; then | 4009 $EGREP "memchr" >/dev/null 2>&1; then : |
3961 : | 4010 |
3962 else | 4011 else |
3963 ac_cv_header_stdc=no | 4012 ac_cv_header_stdc=no |
3964 fi | 4013 fi |
3965 rm -f -r conftest* | 4014 rm -f conftest* |
3966 | 4015 |
3967 fi | 4016 fi |
3968 | 4017 |
3969 if test $ac_cv_header_stdc = yes; then | 4018 if test $ac_cv_header_stdc = yes; then |
3970 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 4019 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
3971 cat >conftest.$ac_ext <<_ACEOF | 4020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3972 /* confdefs.h. */ | |
3973 _ACEOF | |
3974 cat confdefs.h >>conftest.$ac_ext | |
3975 cat >>conftest.$ac_ext <<_ACEOF | |
3976 /* end confdefs.h. */ | 4021 /* end confdefs.h. */ |
3977 #include <stdlib.h> | 4022 #include <stdlib.h> |
3978 | 4023 |
3979 _ACEOF | 4024 _ACEOF |
3980 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 4025 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3981 $EGREP "free" >/dev/null 2>&1; then | 4026 $EGREP "free" >/dev/null 2>&1; then : |
3982 : | 4027 |
3983 else | 4028 else |
3984 ac_cv_header_stdc=no | 4029 ac_cv_header_stdc=no |
3985 fi | 4030 fi |
3986 rm -f -r conftest* | 4031 rm -f conftest* |
3987 | 4032 |
3988 fi | 4033 fi |
3989 | 4034 |
3990 if test $ac_cv_header_stdc = yes; then | 4035 if test $ac_cv_header_stdc = yes; then |
3991 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 4036 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
3992 if test "$cross_compiling" = yes; then | 4037 if test "$cross_compiling" = yes; then : |
3993 : | 4038 : |
3994 else | 4039 else |
3995 cat >conftest.$ac_ext <<_ACEOF | 4040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3996 /* confdefs.h. */ | |
3997 _ACEOF | |
3998 cat confdefs.h >>conftest.$ac_ext | |
3999 cat >>conftest.$ac_ext <<_ACEOF | |
4000 /* end confdefs.h. */ | 4041 /* end confdefs.h. */ |
4001 #include <ctype.h> | 4042 #include <ctype.h> |
4002 #include <stdlib.h> | 4043 #include <stdlib.h> |
4003 #if ((' ' & 0x0FF) == 0x020) | 4044 #if ((' ' & 0x0FF) == 0x020) |
4004 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 4045 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
4021 || toupper (i) != TOUPPER (i)) | 4062 || toupper (i) != TOUPPER (i)) |
4022 return 2; | 4063 return 2; |
4023 return 0; | 4064 return 0; |
4024 } | 4065 } |
4025 _ACEOF | 4066 _ACEOF |
4026 rm -f conftest$ac_exeext | 4067 if ac_fn_c_try_run "$LINENO"; then : |
4027 if { (ac_try="$ac_link" | 4068 |
4028 case "(($ac_try" in | 4069 else |
4029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 4070 ac_cv_header_stdc=no |
4030 *) ac_try_echo=$ac_try;; | 4071 fi |
4031 esac | 4072 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
4032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 4073 conftest.$ac_objext conftest.beam conftest.$ac_ext |
4033 (eval "$ac_link") 2>&5 | 4074 fi |
4034 ac_status=$? | 4075 |
4035 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4076 fi |
4036 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 4077 fi |
4037 { (case "(($ac_try" in | 4078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 |
4038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 4079 $as_echo "$ac_cv_header_stdc" >&6; } |
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; } | |
4063 if test $ac_cv_header_stdc = yes; then | 4080 if test $ac_cv_header_stdc = yes; then |
4064 | 4081 |
4065 cat >>confdefs.h <<\_ACEOF | 4082 $as_echo "#define STDC_HEADERS 1" >>confdefs.h |
4066 #define STDC_HEADERS 1 | 4083 |
4067 _ACEOF | 4084 fi |
4068 | |
4069 fi | |
4070 | |
4071 | |
4072 | |
4073 | |
4074 | |
4075 | 4085 |
4076 ac_header_dirent=no | 4086 ac_header_dirent=no |
4077 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do | 4087 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do |
4078 as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` | 4088 as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` |
4079 { echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5 | 4089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5 |
4080 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; } | 4090 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; } |
4081 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 4091 if eval \${$as_ac_Header+:} false; then : |
4082 echo $ECHO_N "(cached) $ECHO_C" >&6 | 4092 $as_echo_n "(cached) " >&6 |
4083 else | 4093 else |
4084 cat >conftest.$ac_ext <<_ACEOF | 4094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4085 /* confdefs.h. */ | |
4086 _ACEOF | |
4087 cat confdefs.h >>conftest.$ac_ext | |
4088 cat >>conftest.$ac_ext <<_ACEOF | |
4089 /* end confdefs.h. */ | 4095 /* end confdefs.h. */ |
4090 #include <sys/types.h> | 4096 #include <sys/types.h> |
4091 #include <$ac_hdr> | 4097 #include <$ac_hdr> |
4092 | 4098 |
4093 int | 4099 int |
4097 return 0; | 4103 return 0; |
4098 ; | 4104 ; |
4099 return 0; | 4105 return 0; |
4100 } | 4106 } |
4101 _ACEOF | 4107 _ACEOF |
4102 rm -f conftest.$ac_objext | 4108 if ac_fn_c_try_compile "$LINENO"; then : |
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 | |
4119 eval "$as_ac_Header=yes" | 4109 eval "$as_ac_Header=yes" |
4120 else | 4110 else |
4121 echo "$as_me: failed program was:" >&5 | 4111 eval "$as_ac_Header=no" |
4122 sed 's/^/| /' conftest.$ac_ext >&5 | 4112 fi |
4123 | |
4124 eval "$as_ac_Header=no" | |
4125 fi | |
4126 | |
4127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 4113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
4128 fi | 4114 fi |
4129 ac_res=`eval echo '${'$as_ac_Header'}'` | 4115 eval ac_res=\$$as_ac_Header |
4130 { echo "$as_me:$LINENO: result: $ac_res" >&5 | 4116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
4131 echo "${ECHO_T}$ac_res" >&6; } | 4117 $as_echo "$ac_res" >&6; } |
4132 if test `eval echo '${'$as_ac_Header'}'` = yes; then | 4118 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
4133 cat >>confdefs.h <<_ACEOF | 4119 cat >>confdefs.h <<_ACEOF |
4134 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1 | 4120 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1 |
4135 _ACEOF | 4121 _ACEOF |
4136 | 4122 |
4137 ac_header_dirent=$ac_hdr; break | 4123 ac_header_dirent=$ac_hdr; break |
4138 fi | 4124 fi |
4139 | 4125 |
4140 done | 4126 done |
4141 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. | 4127 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. |
4142 if test $ac_header_dirent = dirent.h; then | 4128 if test $ac_header_dirent = dirent.h; then |
4143 { echo "$as_me:$LINENO: checking for library containing opendir" >&5 | 4129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5 |
4144 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; } | 4130 $as_echo_n "checking for library containing opendir... " >&6; } |
4145 if test "${ac_cv_search_opendir+set}" = set; then | 4131 if ${ac_cv_search_opendir+:} false; then : |
4146 echo $ECHO_N "(cached) $ECHO_C" >&6 | 4132 $as_echo_n "(cached) " >&6 |
4147 else | 4133 else |
4148 ac_func_search_save_LIBS=$LIBS | 4134 ac_func_search_save_LIBS=$LIBS |
4149 cat >conftest.$ac_ext <<_ACEOF | 4135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4150 /* confdefs.h. */ | |
4151 _ACEOF | |
4152 cat confdefs.h >>conftest.$ac_ext | |
4153 cat >>conftest.$ac_ext <<_ACEOF | |
4154 /* end confdefs.h. */ | 4136 /* end confdefs.h. */ |
4155 | 4137 |
4156 /* Override any GCC internal prototype to avoid an error. | 4138 /* Override any GCC internal prototype to avoid an error. |
4157 Use char because int might match the return type of a GCC | 4139 Use char because int might match the return type of a GCC |
4158 builtin and then its argument prototype would still apply. */ | 4140 builtin and then its argument prototype would still apply. */ |
4173 ac_res="none required" | 4155 ac_res="none required" |
4174 else | 4156 else |
4175 ac_res=-l$ac_lib | 4157 ac_res=-l$ac_lib |
4176 LIBS="-l$ac_lib $ac_func_search_save_LIBS" | 4158 LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
4177 fi | 4159 fi |
4178 rm -f conftest.$ac_objext conftest$ac_exeext | 4160 if ac_fn_c_try_link "$LINENO"; then : |
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 | |
4196 ac_cv_search_opendir=$ac_res | 4161 ac_cv_search_opendir=$ac_res |
4197 else | 4162 fi |
4198 echo "$as_me: failed program was:" >&5 | 4163 rm -f core conftest.err conftest.$ac_objext \ |
4199 sed 's/^/| /' conftest.$ac_ext >&5 | 4164 conftest$ac_exeext |
4200 | 4165 if ${ac_cv_search_opendir+:} false; then : |
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 | |
4207 break | 4166 break |
4208 fi | 4167 fi |
4209 done | 4168 done |
4210 if test "${ac_cv_search_opendir+set}" = set; then | 4169 if ${ac_cv_search_opendir+:} false; then : |
4211 : | 4170 |
4212 else | 4171 else |
4213 ac_cv_search_opendir=no | 4172 ac_cv_search_opendir=no |
4214 fi | 4173 fi |
4215 rm conftest.$ac_ext | 4174 rm conftest.$ac_ext |
4216 LIBS=$ac_func_search_save_LIBS | 4175 LIBS=$ac_func_search_save_LIBS |
4217 fi | 4176 fi |
4218 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 | 4177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5 |
4219 echo "${ECHO_T}$ac_cv_search_opendir" >&6; } | 4178 $as_echo "$ac_cv_search_opendir" >&6; } |
4220 ac_res=$ac_cv_search_opendir | 4179 ac_res=$ac_cv_search_opendir |
4221 if test "$ac_res" != no; then | 4180 if test "$ac_res" != no; then : |
4222 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" | 4181 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
4223 | 4182 |
4224 fi | 4183 fi |
4225 | 4184 |
4226 else | 4185 else |
4227 { echo "$as_me:$LINENO: checking for library containing opendir" >&5 | 4186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5 |
4228 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; } | 4187 $as_echo_n "checking for library containing opendir... " >&6; } |
4229 if test "${ac_cv_search_opendir+set}" = set; then | 4188 if ${ac_cv_search_opendir+:} false; then : |
4230 echo $ECHO_N "(cached) $ECHO_C" >&6 | 4189 $as_echo_n "(cached) " >&6 |
4231 else | 4190 else |
4232 ac_func_search_save_LIBS=$LIBS | 4191 ac_func_search_save_LIBS=$LIBS |
4233 cat >conftest.$ac_ext <<_ACEOF | 4192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4234 /* confdefs.h. */ | |
4235 _ACEOF | |
4236 cat confdefs.h >>conftest.$ac_ext | |
4237 cat >>conftest.$ac_ext <<_ACEOF | |
4238 /* end confdefs.h. */ | 4193 /* end confdefs.h. */ |
4239 | 4194 |
4240 /* Override any GCC internal prototype to avoid an error. | 4195 /* Override any GCC internal prototype to avoid an error. |
4241 Use char because int might match the return type of a GCC | 4196 Use char because int might match the return type of a GCC |
4242 builtin and then its argument prototype would still apply. */ | 4197 builtin and then its argument prototype would still apply. */ |
4257 ac_res="none required" | 4212 ac_res="none required" |
4258 else | 4213 else |
4259 ac_res=-l$ac_lib | 4214 ac_res=-l$ac_lib |
4260 LIBS="-l$ac_lib $ac_func_search_save_LIBS" | 4215 LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
4261 fi | 4216 fi |
4262 rm -f conftest.$ac_objext conftest$ac_exeext | 4217 if ac_fn_c_try_link "$LINENO"; then : |
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 | |
4280 ac_cv_search_opendir=$ac_res | 4218 ac_cv_search_opendir=$ac_res |
4281 else | 4219 fi |
4282 echo "$as_me: failed program was:" >&5 | 4220 rm -f core conftest.err conftest.$ac_objext \ |
4283 sed 's/^/| /' conftest.$ac_ext >&5 | 4221 conftest$ac_exeext |
4284 | 4222 if ${ac_cv_search_opendir+:} false; then : |
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 | |
4291 break | 4223 break |
4292 fi | 4224 fi |
4293 done | 4225 done |
4294 if test "${ac_cv_search_opendir+set}" = set; then | 4226 if ${ac_cv_search_opendir+:} false; then : |
4295 : | 4227 |
4296 else | 4228 else |
4297 ac_cv_search_opendir=no | 4229 ac_cv_search_opendir=no |
4298 fi | 4230 fi |
4299 rm conftest.$ac_ext | 4231 rm conftest.$ac_ext |
4300 LIBS=$ac_func_search_save_LIBS | 4232 LIBS=$ac_func_search_save_LIBS |
4301 fi | 4233 fi |
4302 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 | 4234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5 |
4303 echo "${ECHO_T}$ac_cv_search_opendir" >&6; } | 4235 $as_echo "$ac_cv_search_opendir" >&6; } |
4304 ac_res=$ac_cv_search_opendir | 4236 ac_res=$ac_cv_search_opendir |
4305 if test "$ac_res" != no; then | 4237 if test "$ac_res" != no; then : |
4306 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" | 4238 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
4307 | 4239 |
4308 fi | 4240 fi |
4309 | 4241 |
4310 fi | 4242 fi |
4311 | 4243 |
4312 # On IRIX 5.3, sys/types and inttypes.h are conflicting. | 4244 # On IRIX 5.3, sys/types and inttypes.h are conflicting. |
4313 | |
4314 | |
4315 | |
4316 | |
4317 | |
4318 | |
4319 | |
4320 | |
4321 | |
4322 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ | 4245 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
4323 inttypes.h stdint.h unistd.h | 4246 inttypes.h stdint.h unistd.h |
4324 do | 4247 do : |
4325 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 4248 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
4326 { echo "$as_me:$LINENO: checking for $ac_header" >&5 | 4249 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default |
4327 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | 4250 " |
4328 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 4251 if eval test \"x\$"$as_ac_Header"\" = x"yes"; 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 | |
4372 cat >>confdefs.h <<_ACEOF | 4252 cat >>confdefs.h <<_ACEOF |
4373 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 4253 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
4374 _ACEOF | 4254 _ACEOF |
4375 | 4255 |
4376 fi | 4256 fi |
4377 | 4257 |
4378 done | 4258 done |
4379 | 4259 |
4380 | 4260 |
4381 | |
4382 for ac_header in unistd.h | 4261 for ac_header in unistd.h |
4383 do | 4262 do : |
4384 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 4263 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default" |
4385 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 4264 if test "x$ac_cv_header_unistd_h" = xyes; 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 | |
4513 cat >>confdefs.h <<_ACEOF | 4265 cat >>confdefs.h <<_ACEOF |
4514 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 4266 #define HAVE_UNISTD_H 1 |
4515 _ACEOF | 4267 _ACEOF |
4516 | 4268 |
4517 fi | 4269 fi |
4518 | 4270 |
4519 done | 4271 done |
4520 | 4272 |
4521 | |
4522 for ac_header in sys/stat.h | 4273 for ac_header in sys/stat.h |
4523 do | 4274 do : |
4524 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 4275 ac_fn_c_check_header_mongrel "$LINENO" "sys/stat.h" "ac_cv_header_sys_stat_h" "$ac_includes_default" |
4525 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 4276 if test "x$ac_cv_header_sys_stat_h" = xyes; 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 | |
4653 cat >>confdefs.h <<_ACEOF | 4277 cat >>confdefs.h <<_ACEOF |
4654 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 4278 #define HAVE_SYS_STAT_H 1 |
4655 _ACEOF | 4279 _ACEOF |
4656 | 4280 |
4657 fi | 4281 fi |
4658 | 4282 |
4659 done | 4283 done |
4660 | 4284 |
4661 | 4285 |
4662 | |
4663 for ac_func in pipe | 4286 for ac_func in pipe |
4664 do | 4287 do : |
4665 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 4288 ac_fn_c_check_func "$LINENO" "pipe" "ac_cv_func_pipe" |
4666 { echo "$as_me:$LINENO: checking for $ac_func" >&5 | 4289 if test "x$ac_cv_func_pipe" = xyes; then : |
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 | |
4749 cat >>confdefs.h <<_ACEOF | 4290 cat >>confdefs.h <<_ACEOF |
4750 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | |
4751 _ACEOF | |
4752 | |
4753 cat >>confdefs.h <<\_ACEOF | |
4754 #define HAVE_PIPE 1 | 4291 #define HAVE_PIPE 1 |
4755 _ACEOF | 4292 _ACEOF |
4756 | 4293 |
4294 $as_echo "#define HAVE_PIPE 1" >>confdefs.h | |
4295 | |
4757 fi | 4296 fi |
4758 done | 4297 done |
4759 | 4298 |
4760 | |
4761 for ac_func in vsnprintf | 4299 for ac_func in vsnprintf |
4762 do | 4300 do : |
4763 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 4301 ac_fn_c_check_func "$LINENO" "vsnprintf" "ac_cv_func_vsnprintf" |
4764 { echo "$as_me:$LINENO: checking for $ac_func" >&5 | 4302 if test "x$ac_cv_func_vsnprintf" = xyes; then : |
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 | |
4847 cat >>confdefs.h <<_ACEOF | 4303 cat >>confdefs.h <<_ACEOF |
4848 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | |
4849 _ACEOF | |
4850 | |
4851 cat >>confdefs.h <<\_ACEOF | |
4852 #define HAVE_VSNPRINTF 1 | 4304 #define HAVE_VSNPRINTF 1 |
4853 _ACEOF | 4305 _ACEOF |
4854 | 4306 |
4307 $as_echo "#define HAVE_VSNPRINTF 1" >>confdefs.h | |
4308 | |
4855 fi | 4309 fi |
4856 done | 4310 done |
4857 | 4311 |
4858 | 4312 |
4859 | |
4860 for ac_func in connect | 4313 for ac_func in connect |
4861 do | 4314 do : |
4862 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 4315 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect" |
4863 { echo "$as_me:$LINENO: checking for $ac_func" >&5 | 4316 if test "x$ac_cv_func_connect" = xyes; then : |
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 | |
4946 cat >>confdefs.h <<_ACEOF | 4317 cat >>confdefs.h <<_ACEOF |
4947 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 4318 #define HAVE_CONNECT 1 |
4948 _ACEOF | 4319 _ACEOF |
4949 | 4320 |
4950 fi | 4321 fi |
4951 done | 4322 done |
4952 | 4323 |
4953 if test x"$ac_cv_func_connect" = x"no"; then | 4324 if test x"$ac_cv_func_connect" = x"no"; then |
4954 if test -z "$libsocket"; then | 4325 if test -z "$libsocket"; then |
4955 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5 | 4326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5 |
4956 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; } | 4327 $as_echo_n "checking for socket in -lsocket... " >&6; } |
4957 if test "${ac_cv_lib_socket_socket+set}" = set; then | 4328 if ${ac_cv_lib_socket_socket+:} false; then : |
4958 echo $ECHO_N "(cached) $ECHO_C" >&6 | 4329 $as_echo_n "(cached) " >&6 |
4959 else | 4330 else |
4960 ac_check_lib_save_LIBS=$LIBS | 4331 ac_check_lib_save_LIBS=$LIBS |
4961 LIBS="-lsocket $LIBS" | 4332 LIBS="-lsocket $LIBS" |
4962 cat >conftest.$ac_ext <<_ACEOF | 4333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4963 /* confdefs.h. */ | |
4964 _ACEOF | |
4965 cat confdefs.h >>conftest.$ac_ext | |
4966 cat >>conftest.$ac_ext <<_ACEOF | |
4967 /* end confdefs.h. */ | 4334 /* end confdefs.h. */ |
4968 | 4335 |
4969 /* Override any GCC internal prototype to avoid an error. | 4336 /* Override any GCC internal prototype to avoid an error. |
4970 Use char because int might match the return type of a GCC | 4337 Use char because int might match the return type of a GCC |
4971 builtin and then its argument prototype would still apply. */ | 4338 builtin and then its argument prototype would still apply. */ |
4979 return socket (); | 4346 return socket (); |
4980 ; | 4347 ; |
4981 return 0; | 4348 return 0; |
4982 } | 4349 } |
4983 _ACEOF | 4350 _ACEOF |
4984 rm -f conftest.$ac_objext conftest$ac_exeext | 4351 if ac_fn_c_try_link "$LINENO"; then : |
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 | |
5002 ac_cv_lib_socket_socket=yes | 4352 ac_cv_lib_socket_socket=yes |
5003 else | 4353 else |
5004 echo "$as_me: failed program was:" >&5 | 4354 ac_cv_lib_socket_socket=no |
5005 sed 's/^/| /' conftest.$ac_ext >&5 | 4355 fi |
5006 | 4356 rm -f core conftest.err conftest.$ac_objext \ |
5007 ac_cv_lib_socket_socket=no | 4357 conftest$ac_exeext conftest.$ac_ext |
5008 fi | |
5009 | |
5010 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
5011 conftest$ac_exeext conftest.$ac_ext | |
5012 LIBS=$ac_check_lib_save_LIBS | 4358 LIBS=$ac_check_lib_save_LIBS |
5013 fi | 4359 fi |
5014 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5 | 4360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5 |
5015 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; } | 4361 $as_echo "$ac_cv_lib_socket_socket" >&6; } |
5016 if test $ac_cv_lib_socket_socket = yes; then | 4362 if test "x$ac_cv_lib_socket_socket" = xyes; then : |
5017 LIBS="$LIBS -lsocket" | 4363 LIBS="$LIBS -lsocket" |
5018 fi | 4364 fi |
5019 | 4365 |
5020 fi | 4366 fi |
5021 | 4367 |
5022 if test -z "$libinet"; then | 4368 if test -z "$libinet"; then |
5023 { echo "$as_me:$LINENO: checking for socket in -linet" >&5 | 4369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -linet" >&5 |
5024 echo $ECHO_N "checking for socket in -linet... $ECHO_C" >&6; } | 4370 $as_echo_n "checking for socket in -linet... " >&6; } |
5025 if test "${ac_cv_lib_inet_socket+set}" = set; then | 4371 if ${ac_cv_lib_inet_socket+:} false; then : |
5026 echo $ECHO_N "(cached) $ECHO_C" >&6 | 4372 $as_echo_n "(cached) " >&6 |
5027 else | 4373 else |
5028 ac_check_lib_save_LIBS=$LIBS | 4374 ac_check_lib_save_LIBS=$LIBS |
5029 LIBS="-linet $LIBS" | 4375 LIBS="-linet $LIBS" |
5030 cat >conftest.$ac_ext <<_ACEOF | 4376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5031 /* confdefs.h. */ | |
5032 _ACEOF | |
5033 cat confdefs.h >>conftest.$ac_ext | |
5034 cat >>conftest.$ac_ext <<_ACEOF | |
5035 /* end confdefs.h. */ | 4377 /* end confdefs.h. */ |
5036 | 4378 |
5037 /* Override any GCC internal prototype to avoid an error. | 4379 /* Override any GCC internal prototype to avoid an error. |
5038 Use char because int might match the return type of a GCC | 4380 Use char because int might match the return type of a GCC |
5039 builtin and then its argument prototype would still apply. */ | 4381 builtin and then its argument prototype would still apply. */ |
5047 return socket (); | 4389 return socket (); |
5048 ; | 4390 ; |
5049 return 0; | 4391 return 0; |
5050 } | 4392 } |
5051 _ACEOF | 4393 _ACEOF |
5052 rm -f conftest.$ac_objext conftest$ac_exeext | 4394 if ac_fn_c_try_link "$LINENO"; then : |
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 | |
5070 ac_cv_lib_inet_socket=yes | 4395 ac_cv_lib_inet_socket=yes |
5071 else | 4396 else |
5072 echo "$as_me: failed program was:" >&5 | 4397 ac_cv_lib_inet_socket=no |
5073 sed 's/^/| /' conftest.$ac_ext >&5 | 4398 fi |
5074 | 4399 rm -f core conftest.err conftest.$ac_objext \ |
5075 ac_cv_lib_inet_socket=no | 4400 conftest$ac_exeext conftest.$ac_ext |
5076 fi | |
5077 | |
5078 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
5079 conftest$ac_exeext conftest.$ac_ext | |
5080 LIBS=$ac_check_lib_save_LIBS | 4401 LIBS=$ac_check_lib_save_LIBS |
5081 fi | 4402 fi |
5082 { echo "$as_me:$LINENO: result: $ac_cv_lib_inet_socket" >&5 | 4403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inet_socket" >&5 |
5083 echo "${ECHO_T}$ac_cv_lib_inet_socket" >&6; } | 4404 $as_echo "$ac_cv_lib_inet_socket" >&6; } |
5084 if test $ac_cv_lib_inet_socket = yes; then | 4405 if test "x$ac_cv_lib_inet_socket" = xyes; then : |
5085 libnsl=1; LIBS="$LIBS -linet -lnsl_s" | 4406 libnsl=1; LIBS="$LIBS -linet -lnsl_s" |
5086 fi | 4407 fi |
5087 | 4408 |
5088 fi | 4409 fi |
5089 | 4410 |
5090 if test -z "$libnsl"; then | 4411 if test -z "$libnsl"; then |
5091 { echo "$as_me:$LINENO: checking for gethostname in -lnsl" >&5 | 4412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostname in -lnsl" >&5 |
5092 echo $ECHO_N "checking for gethostname in -lnsl... $ECHO_C" >&6; } | 4413 $as_echo_n "checking for gethostname in -lnsl... " >&6; } |
5093 if test "${ac_cv_lib_nsl_gethostname+set}" = set; then | 4414 if ${ac_cv_lib_nsl_gethostname+:} false; then : |
5094 echo $ECHO_N "(cached) $ECHO_C" >&6 | 4415 $as_echo_n "(cached) " >&6 |
5095 else | 4416 else |
5096 ac_check_lib_save_LIBS=$LIBS | 4417 ac_check_lib_save_LIBS=$LIBS |
5097 LIBS="-lnsl $LIBS" | 4418 LIBS="-lnsl $LIBS" |
5098 cat >conftest.$ac_ext <<_ACEOF | 4419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5099 /* confdefs.h. */ | |
5100 _ACEOF | |
5101 cat confdefs.h >>conftest.$ac_ext | |
5102 cat >>conftest.$ac_ext <<_ACEOF | |
5103 /* end confdefs.h. */ | 4420 /* end confdefs.h. */ |
5104 | 4421 |
5105 /* Override any GCC internal prototype to avoid an error. | 4422 /* Override any GCC internal prototype to avoid an error. |
5106 Use char because int might match the return type of a GCC | 4423 Use char because int might match the return type of a GCC |
5107 builtin and then its argument prototype would still apply. */ | 4424 builtin and then its argument prototype would still apply. */ |
5115 return gethostname (); | 4432 return gethostname (); |
5116 ; | 4433 ; |
5117 return 0; | 4434 return 0; |
5118 } | 4435 } |
5119 _ACEOF | 4436 _ACEOF |
5120 rm -f conftest.$ac_objext conftest$ac_exeext | 4437 if ac_fn_c_try_link "$LINENO"; then : |
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 | |
5138 ac_cv_lib_nsl_gethostname=yes | 4438 ac_cv_lib_nsl_gethostname=yes |
5139 else | 4439 else |
5140 echo "$as_me: failed program was:" >&5 | 4440 ac_cv_lib_nsl_gethostname=no |
5141 sed 's/^/| /' conftest.$ac_ext >&5 | 4441 fi |
5142 | 4442 rm -f core conftest.err conftest.$ac_objext \ |
5143 ac_cv_lib_nsl_gethostname=no | 4443 conftest$ac_exeext conftest.$ac_ext |
5144 fi | |
5145 | |
5146 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
5147 conftest$ac_exeext conftest.$ac_ext | |
5148 LIBS=$ac_check_lib_save_LIBS | 4444 LIBS=$ac_check_lib_save_LIBS |
5149 fi | 4445 fi |
5150 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostname" >&5 | 4446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostname" >&5 |
5151 echo "${ECHO_T}$ac_cv_lib_nsl_gethostname" >&6; } | 4447 $as_echo "$ac_cv_lib_nsl_gethostname" >&6; } |
5152 if test $ac_cv_lib_nsl_gethostname = yes; then | 4448 if test "x$ac_cv_lib_nsl_gethostname" = xyes; then : |
5153 LIBS="$LIBS -lnsl" | 4449 LIBS="$LIBS -lnsl" |
5154 fi | 4450 fi |
5155 | 4451 |
5156 fi | 4452 fi |
5157 fi | 4453 fi |
5158 | 4454 |
5159 { echo "$as_me:$LINENO: checking for getpwnam in -lsun" >&5 | 4455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getpwnam in -lsun" >&5 |
5160 echo $ECHO_N "checking for getpwnam in -lsun... $ECHO_C" >&6; } | 4456 $as_echo_n "checking for getpwnam in -lsun... " >&6; } |
5161 if test "${ac_cv_lib_sun_getpwnam+set}" = set; then | 4457 if ${ac_cv_lib_sun_getpwnam+:} false; then : |
5162 echo $ECHO_N "(cached) $ECHO_C" >&6 | 4458 $as_echo_n "(cached) " >&6 |
5163 else | 4459 else |
5164 ac_check_lib_save_LIBS=$LIBS | 4460 ac_check_lib_save_LIBS=$LIBS |
5165 LIBS="-lsun $LIBS" | 4461 LIBS="-lsun $LIBS" |
5166 cat >conftest.$ac_ext <<_ACEOF | 4462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5167 /* confdefs.h. */ | |
5168 _ACEOF | |
5169 cat confdefs.h >>conftest.$ac_ext | |
5170 cat >>conftest.$ac_ext <<_ACEOF | |
5171 /* end confdefs.h. */ | 4463 /* end confdefs.h. */ |
5172 | 4464 |
5173 /* Override any GCC internal prototype to avoid an error. | 4465 /* Override any GCC internal prototype to avoid an error. |
5174 Use char because int might match the return type of a GCC | 4466 Use char because int might match the return type of a GCC |
5175 builtin and then its argument prototype would still apply. */ | 4467 builtin and then its argument prototype would still apply. */ |
5183 return getpwnam (); | 4475 return getpwnam (); |
5184 ; | 4476 ; |
5185 return 0; | 4477 return 0; |
5186 } | 4478 } |
5187 _ACEOF | 4479 _ACEOF |
5188 rm -f conftest.$ac_objext conftest$ac_exeext | 4480 if ac_fn_c_try_link "$LINENO"; then : |
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 | |
5206 ac_cv_lib_sun_getpwnam=yes | 4481 ac_cv_lib_sun_getpwnam=yes |
5207 else | 4482 else |
5208 echo "$as_me: failed program was:" >&5 | 4483 ac_cv_lib_sun_getpwnam=no |
5209 sed 's/^/| /' conftest.$ac_ext >&5 | 4484 fi |
5210 | 4485 rm -f core conftest.err conftest.$ac_objext \ |
5211 ac_cv_lib_sun_getpwnam=no | 4486 conftest$ac_exeext conftest.$ac_ext |
5212 fi | |
5213 | |
5214 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
5215 conftest$ac_exeext conftest.$ac_ext | |
5216 LIBS=$ac_check_lib_save_LIBS | 4487 LIBS=$ac_check_lib_save_LIBS |
5217 fi | 4488 fi |
5218 { echo "$as_me:$LINENO: result: $ac_cv_lib_sun_getpwnam" >&5 | 4489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sun_getpwnam" >&5 |
5219 echo "${ECHO_T}$ac_cv_lib_sun_getpwnam" >&6; } | 4490 $as_echo "$ac_cv_lib_sun_getpwnam" >&6; } |
5220 if test $ac_cv_lib_sun_getpwnam = yes; then | 4491 if test "x$ac_cv_lib_sun_getpwnam" = xyes; then : |
5221 LIBS="$LIBS -lsun" | 4492 LIBS="$LIBS -lsun" |
5222 fi | 4493 fi |
5223 | 4494 |
5224 { echo "$as_me:$LINENO: checking for inet_addr in -ldgc" >&5 | 4495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -ldgc" >&5 |
5225 echo $ECHO_N "checking for inet_addr in -ldgc... $ECHO_C" >&6; } | 4496 $as_echo_n "checking for inet_addr in -ldgc... " >&6; } |
5226 if test "${ac_cv_lib_dgc_inet_addr+set}" = set; then | 4497 if ${ac_cv_lib_dgc_inet_addr+:} false; then : |
5227 echo $ECHO_N "(cached) $ECHO_C" >&6 | 4498 $as_echo_n "(cached) " >&6 |
5228 else | 4499 else |
5229 ac_check_lib_save_LIBS=$LIBS | 4500 ac_check_lib_save_LIBS=$LIBS |
5230 LIBS="-ldgc $LIBS" | 4501 LIBS="-ldgc $LIBS" |
5231 cat >conftest.$ac_ext <<_ACEOF | 4502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5232 /* confdefs.h. */ | |
5233 _ACEOF | |
5234 cat confdefs.h >>conftest.$ac_ext | |
5235 cat >>conftest.$ac_ext <<_ACEOF | |
5236 /* end confdefs.h. */ | 4503 /* end confdefs.h. */ |
5237 | 4504 |
5238 /* Override any GCC internal prototype to avoid an error. | 4505 /* Override any GCC internal prototype to avoid an error. |
5239 Use char because int might match the return type of a GCC | 4506 Use char because int might match the return type of a GCC |
5240 builtin and then its argument prototype would still apply. */ | 4507 builtin and then its argument prototype would still apply. */ |
5248 return inet_addr (); | 4515 return inet_addr (); |
5249 ; | 4516 ; |
5250 return 0; | 4517 return 0; |
5251 } | 4518 } |
5252 _ACEOF | 4519 _ACEOF |
5253 rm -f conftest.$ac_objext conftest$ac_exeext | 4520 if ac_fn_c_try_link "$LINENO"; then : |
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 | |
5271 ac_cv_lib_dgc_inet_addr=yes | 4521 ac_cv_lib_dgc_inet_addr=yes |
5272 else | 4522 else |
5273 echo "$as_me: failed program was:" >&5 | 4523 ac_cv_lib_dgc_inet_addr=no |
5274 sed 's/^/| /' conftest.$ac_ext >&5 | 4524 fi |
5275 | 4525 rm -f core conftest.err conftest.$ac_objext \ |
5276 ac_cv_lib_dgc_inet_addr=no | 4526 conftest$ac_exeext conftest.$ac_ext |
5277 fi | |
5278 | |
5279 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
5280 conftest$ac_exeext conftest.$ac_ext | |
5281 LIBS=$ac_check_lib_save_LIBS | 4527 LIBS=$ac_check_lib_save_LIBS |
5282 fi | 4528 fi |
5283 { echo "$as_me:$LINENO: result: $ac_cv_lib_dgc_inet_addr" >&5 | 4529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dgc_inet_addr" >&5 |
5284 echo "${ECHO_T}$ac_cv_lib_dgc_inet_addr" >&6; } | 4530 $as_echo "$ac_cv_lib_dgc_inet_addr" >&6; } |
5285 if test $ac_cv_lib_dgc_inet_addr = yes; then | 4531 if test "x$ac_cv_lib_dgc_inet_addr" = xyes; then : |
5286 LIBS="$LIBS -ldgc" | 4532 LIBS="$LIBS -ldgc" |
5287 fi | 4533 fi |
5288 | 4534 |
5289 { echo "$as_me:$LINENO: checking for gethostbyname in -lresolv" >&5 | 4535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lresolv" >&5 |
5290 echo $ECHO_N "checking for gethostbyname in -lresolv... $ECHO_C" >&6; } | 4536 $as_echo_n "checking for gethostbyname in -lresolv... " >&6; } |
5291 if test "${ac_cv_lib_resolv_gethostbyname+set}" = set; then | 4537 if ${ac_cv_lib_resolv_gethostbyname+:} false; then : |
5292 echo $ECHO_N "(cached) $ECHO_C" >&6 | 4538 $as_echo_n "(cached) " >&6 |
5293 else | 4539 else |
5294 ac_check_lib_save_LIBS=$LIBS | 4540 ac_check_lib_save_LIBS=$LIBS |
5295 LIBS="-lresolv $LIBS" | 4541 LIBS="-lresolv $LIBS" |
5296 cat >conftest.$ac_ext <<_ACEOF | 4542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5297 /* confdefs.h. */ | |
5298 _ACEOF | |
5299 cat confdefs.h >>conftest.$ac_ext | |
5300 cat >>conftest.$ac_ext <<_ACEOF | |
5301 /* end confdefs.h. */ | 4543 /* end confdefs.h. */ |
5302 | 4544 |
5303 /* Override any GCC internal prototype to avoid an error. | 4545 /* Override any GCC internal prototype to avoid an error. |
5304 Use char because int might match the return type of a GCC | 4546 Use char because int might match the return type of a GCC |
5305 builtin and then its argument prototype would still apply. */ | 4547 builtin and then its argument prototype would still apply. */ |
5313 return gethostbyname (); | 4555 return gethostbyname (); |
5314 ; | 4556 ; |
5315 return 0; | 4557 return 0; |
5316 } | 4558 } |
5317 _ACEOF | 4559 _ACEOF |
5318 rm -f conftest.$ac_objext conftest$ac_exeext | 4560 if ac_fn_c_try_link "$LINENO"; then : |
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 | |
5336 ac_cv_lib_resolv_gethostbyname=yes | 4561 ac_cv_lib_resolv_gethostbyname=yes |
5337 else | 4562 else |
5338 echo "$as_me: failed program was:" >&5 | 4563 ac_cv_lib_resolv_gethostbyname=no |
5339 sed 's/^/| /' conftest.$ac_ext >&5 | 4564 fi |
5340 | 4565 rm -f core conftest.err conftest.$ac_objext \ |
5341 ac_cv_lib_resolv_gethostbyname=no | 4566 conftest$ac_exeext conftest.$ac_ext |
5342 fi | |
5343 | |
5344 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
5345 conftest$ac_exeext conftest.$ac_ext | |
5346 LIBS=$ac_check_lib_save_LIBS | 4567 LIBS=$ac_check_lib_save_LIBS |
5347 fi | 4568 fi |
5348 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_gethostbyname" >&5 | 4569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_gethostbyname" >&5 |
5349 echo "${ECHO_T}$ac_cv_lib_resolv_gethostbyname" >&6; } | 4570 $as_echo "$ac_cv_lib_resolv_gethostbyname" >&6; } |
5350 if test $ac_cv_lib_resolv_gethostbyname = yes; then | 4571 if test "x$ac_cv_lib_resolv_gethostbyname" = xyes; then : |
5351 LIBS="$LIBS -lresolv" | 4572 LIBS="$LIBS -lresolv" |
5352 fi | 4573 fi |
5353 | 4574 |
5354 | 4575 |
5355 build_gtk="yes" | 4576 build_gtk="yes" |
5362 | 4583 |
5363 case "$target" in | 4584 case "$target" in |
5364 *cygwin*) | 4585 *cygwin*) |
5365 ;; | 4586 ;; |
5366 *mingw32) | 4587 *mingw32) |
5367 cat >>confdefs.h <<\_ACEOF | 4588 $as_echo "#define DW_USE_GTK 1" >>confdefs.h |
5368 #define DW_USE_GTK 1 | |
5369 _ACEOF | |
5370 | 4589 |
5371 ;; | 4590 ;; |
5372 *linux*) | 4591 *linux*) |
5373 SONAME="-Wl,-soname,lib$TARGET.so.\$(DW_MAJOR_VERSION)" | 4592 SONAME="-Wl,-soname,lib$TARGET.so.\$(DW_MAJOR_VERSION)" |
5374 ;; | 4593 ;; |
5433 esac | 4652 esac |
5434 | 4653 |
5435 if test $build_gtk = "yes"; then | 4654 if test $build_gtk = "yes"; then |
5436 # Extract the first word of "pkg-config", so it can be a program name with args. | 4655 # Extract the first word of "pkg-config", so it can be a program name with args. |
5437 set dummy pkg-config; ac_word=$2 | 4656 set dummy pkg-config; ac_word=$2 |
5438 { echo "$as_me:$LINENO: checking for $ac_word" >&5 | 4657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
5439 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 4658 $as_echo_n "checking for $ac_word... " >&6; } |
5440 if test "${ac_cv_prog_PKG_CFG+set}" = set; then | 4659 if ${ac_cv_prog_PKG_CFG+:} false; then : |
5441 echo $ECHO_N "(cached) $ECHO_C" >&6 | 4660 $as_echo_n "(cached) " >&6 |
5442 else | 4661 else |
5443 if test -n "$PKG_CFG"; then | 4662 if test -n "$PKG_CFG"; then |
5444 ac_cv_prog_PKG_CFG="$PKG_CFG" # Let the user override the test. | 4663 ac_cv_prog_PKG_CFG="$PKG_CFG" # Let the user override the test. |
5445 else | 4664 else |
5446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 4665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
5447 for as_dir in $PATH | 4666 for as_dir in $PATH |
5448 do | 4667 do |
5449 IFS=$as_save_IFS | 4668 IFS=$as_save_IFS |
5450 test -z "$as_dir" && as_dir=. | 4669 test -z "$as_dir" && as_dir=. |
5451 for ac_exec_ext in '' $ac_executable_extensions; do | 4670 for ac_exec_ext in '' $ac_executable_extensions; do |
5452 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 4671 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
5453 ac_cv_prog_PKG_CFG="pkg-config" | 4672 ac_cv_prog_PKG_CFG="pkg-config" |
5454 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 4673 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5455 break 2 | 4674 break 2 |
5456 fi | 4675 fi |
5457 done | 4676 done |
5458 done | 4677 done |
5459 IFS=$as_save_IFS | 4678 IFS=$as_save_IFS |
5460 | 4679 |
5461 fi | 4680 fi |
5462 fi | 4681 fi |
5463 PKG_CFG=$ac_cv_prog_PKG_CFG | 4682 PKG_CFG=$ac_cv_prog_PKG_CFG |
5464 if test -n "$PKG_CFG"; then | 4683 if test -n "$PKG_CFG"; then |
5465 { echo "$as_me:$LINENO: result: $PKG_CFG" >&5 | 4684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CFG" >&5 |
5466 echo "${ECHO_T}$PKG_CFG" >&6; } | 4685 $as_echo "$PKG_CFG" >&6; } |
5467 else | 4686 else |
5468 { echo "$as_me:$LINENO: result: no" >&5 | 4687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
5469 echo "${ECHO_T}no" >&6; } | 4688 $as_echo "no" >&6; } |
5470 fi | 4689 fi |
5471 | 4690 |
5472 | 4691 |
5473 if test x"$PKG_CFG" != x; then | 4692 if test x"$PKG_CFG" != x; then |
5474 GTK_LIBS="" | 4693 GTK_LIBS="" |
5510 WEBKIT_PKG="WebKitGtk" | 4729 WEBKIT_PKG="WebKitGtk" |
5511 MOZEMBED_LIBS=`$PKG_CFG --silence-errors --libs $WEBKIT_PKG` | 4730 MOZEMBED_LIBS=`$PKG_CFG --silence-errors --libs $WEBKIT_PKG` |
5512 MOZEMBED_CFLAGS=`$PKG_CFG --silence-errors --cflags $WEBKIT_PKG` | 4731 MOZEMBED_CFLAGS=`$PKG_CFG --silence-errors --cflags $WEBKIT_PKG` |
5513 RPATH=`$PKG_CFG --silence-errors --libs-only-L $WEBKIT_PKG | cut -b 3-` | 4732 RPATH=`$PKG_CFG --silence-errors --libs-only-L $WEBKIT_PKG | cut -b 3-` |
5514 else | 4733 else |
5515 cat >>confdefs.h <<\_ACEOF | 4734 $as_echo "#define USE_WEBKIT10 1" >>confdefs.h |
5516 #define USE_WEBKIT10 1 | |
5517 _ACEOF | |
5518 | 4735 |
5519 WEBKIT_LIB=$WEBKIT_PKG | 4736 WEBKIT_LIB=$WEBKIT_PKG |
5520 MOZEMBED_LIBS=`$PKG_CFG --silence-errors --libs $WEBKIT_PKG` | 4737 MOZEMBED_LIBS=`$PKG_CFG --silence-errors --libs $WEBKIT_PKG` |
5521 RESULT=`echo $MOZEMBED_LIBS | grep lwebkitgtk-1.0` | 4738 RESULT=`echo $MOZEMBED_LIBS | grep lwebkitgtk-1.0` |
5522 if test x"$RESULT" != x; then | 4739 if test x"$RESULT" != x; then |
5523 WEBKIT_LIB=webkitgtk-1.0 | 4740 WEBKIT_LIB=webkitgtk-1.0 |
5524 fi | 4741 fi |
5525 fi | 4742 fi |
5526 else | 4743 else |
5527 cat >>confdefs.h <<\_ACEOF | 4744 $as_echo "#define USE_WEBKIT11 1" >>confdefs.h |
5528 #define USE_WEBKIT11 1 | |
5529 _ACEOF | |
5530 | 4745 |
5531 WEBKIT_LIB=$WEBKIT_PKG | 4746 WEBKIT_LIB=$WEBKIT_PKG |
5532 fi | 4747 fi |
5533 cat >>confdefs.h <<_ACEOF | 4748 cat >>confdefs.h <<_ACEOF |
5534 #define WEBKIT_LIB "$WEBKIT_LIB" | 4749 #define WEBKIT_LIB "$WEBKIT_LIB" |
5541 fi | 4756 fi |
5542 | 4757 |
5543 if test x"$GTK_LIBS" = x; then | 4758 if test x"$GTK_LIBS" = x; then |
5544 | 4759 |
5545 # Check whether --with-glib-prefix was given. | 4760 # Check whether --with-glib-prefix was given. |
5546 if test "${with_glib_prefix+set}" = set; then | 4761 if test "${with_glib_prefix+set}" = set; then : |
5547 withval=$with_glib_prefix; glib_config_prefix="$withval" | 4762 withval=$with_glib_prefix; glib_config_prefix="$withval" |
5548 else | 4763 else |
5549 glib_config_prefix="" | 4764 glib_config_prefix="" |
5550 fi | 4765 fi |
5551 | 4766 |
5552 | 4767 |
5553 # Check whether --with-glib-exec-prefix was given. | 4768 # Check whether --with-glib-exec-prefix was given. |
5554 if test "${with_glib_exec_prefix+set}" = set; then | 4769 if test "${with_glib_exec_prefix+set}" = set; then : |
5555 withval=$with_glib_exec_prefix; glib_config_exec_prefix="$withval" | 4770 withval=$with_glib_exec_prefix; glib_config_exec_prefix="$withval" |
5556 else | 4771 else |
5557 glib_config_exec_prefix="" | 4772 glib_config_exec_prefix="" |
5558 fi | 4773 fi |
5559 | 4774 |
5560 # Check whether --enable-glibtest was given. | 4775 # Check whether --enable-glibtest was given. |
5561 if test "${enable_glibtest+set}" = set; then | 4776 if test "${enable_glibtest+set}" = set; then : |
5562 enableval=$enable_glibtest; | 4777 enableval=$enable_glibtest; |
5563 else | 4778 else |
5564 enable_glibtest=yes | 4779 enable_glibtest=yes |
5565 fi | 4780 fi |
5566 | 4781 |
5590 esac | 4805 esac |
5591 done | 4806 done |
5592 | 4807 |
5593 # Extract the first word of "glib-config", so it can be a program name with args. | 4808 # Extract the first word of "glib-config", so it can be a program name with args. |
5594 set dummy glib-config; ac_word=$2 | 4809 set dummy glib-config; ac_word=$2 |
5595 { echo "$as_me:$LINENO: checking for $ac_word" >&5 | 4810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
5596 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 4811 $as_echo_n "checking for $ac_word... " >&6; } |
5597 if test "${ac_cv_path_GLIB_CONFIG+set}" = set; then | 4812 if ${ac_cv_path_GLIB_CONFIG+:} false; then : |
5598 echo $ECHO_N "(cached) $ECHO_C" >&6 | 4813 $as_echo_n "(cached) " >&6 |
5599 else | 4814 else |
5600 case $GLIB_CONFIG in | 4815 case $GLIB_CONFIG in |
5601 [\\/]* | ?:[\\/]*) | 4816 [\\/]* | ?:[\\/]*) |
5602 ac_cv_path_GLIB_CONFIG="$GLIB_CONFIG" # Let the user override the test with a path. | 4817 ac_cv_path_GLIB_CONFIG="$GLIB_CONFIG" # Let the user override the test with a path. |
5603 ;; | 4818 ;; |
5605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 4820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
5606 for as_dir in $PATH | 4821 for as_dir in $PATH |
5607 do | 4822 do |
5608 IFS=$as_save_IFS | 4823 IFS=$as_save_IFS |
5609 test -z "$as_dir" && as_dir=. | 4824 test -z "$as_dir" && as_dir=. |
5610 for ac_exec_ext in '' $ac_executable_extensions; do | 4825 for ac_exec_ext in '' $ac_executable_extensions; do |
5611 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 4826 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
5612 ac_cv_path_GLIB_CONFIG="$as_dir/$ac_word$ac_exec_ext" | 4827 ac_cv_path_GLIB_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
5613 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 4828 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5614 break 2 | 4829 break 2 |
5615 fi | 4830 fi |
5616 done | 4831 done |
5617 done | 4832 done |
5618 IFS=$as_save_IFS | 4833 IFS=$as_save_IFS |
5619 | 4834 |
5620 test -z "$ac_cv_path_GLIB_CONFIG" && ac_cv_path_GLIB_CONFIG="no" | 4835 test -z "$ac_cv_path_GLIB_CONFIG" && ac_cv_path_GLIB_CONFIG="no" |
5621 ;; | 4836 ;; |
5622 esac | 4837 esac |
5623 fi | 4838 fi |
5624 GLIB_CONFIG=$ac_cv_path_GLIB_CONFIG | 4839 GLIB_CONFIG=$ac_cv_path_GLIB_CONFIG |
5625 if test -n "$GLIB_CONFIG"; then | 4840 if test -n "$GLIB_CONFIG"; then |
5626 { echo "$as_me:$LINENO: result: $GLIB_CONFIG" >&5 | 4841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_CONFIG" >&5 |
5627 echo "${ECHO_T}$GLIB_CONFIG" >&6; } | 4842 $as_echo "$GLIB_CONFIG" >&6; } |
5628 else | 4843 else |
5629 { echo "$as_me:$LINENO: result: no" >&5 | 4844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
5630 echo "${ECHO_T}no" >&6; } | 4845 $as_echo "no" >&6; } |
5631 fi | 4846 fi |
5632 | 4847 |
5633 | 4848 |
5634 min_glib_version=1.2.0 | 4849 min_glib_version=1.2.0 |
5635 { echo "$as_me:$LINENO: checking for GLIB - version >= $min_glib_version" >&5 | 4850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB - version >= $min_glib_version" >&5 |
5636 echo $ECHO_N "checking for GLIB - version >= $min_glib_version... $ECHO_C" >&6; } | 4851 $as_echo_n "checking for GLIB - version >= $min_glib_version... " >&6; } |
5637 no_glib="" | 4852 no_glib="" |
5638 if test "$GLIB_CONFIG" = "no" ; then | 4853 if test "$GLIB_CONFIG" = "no" ; then |
5639 no_glib=yes | 4854 no_glib=yes |
5640 else | 4855 else |
5641 GLIB_CFLAGS=`$GLIB_CONFIG $glib_config_args --cflags` | 4856 GLIB_CFLAGS=`$GLIB_CONFIG $glib_config_args --cflags` |
5650 ac_save_CFLAGS="$CFLAGS" | 4865 ac_save_CFLAGS="$CFLAGS" |
5651 ac_save_LIBS="$LIBS" | 4866 ac_save_LIBS="$LIBS" |
5652 CFLAGS="$CFLAGS $GLIB_CFLAGS" | 4867 CFLAGS="$CFLAGS $GLIB_CFLAGS" |
5653 LIBS="$GLIB_LIBS $LIBS" | 4868 LIBS="$GLIB_LIBS $LIBS" |
5654 rm -f conf.glibtest | 4869 rm -f conf.glibtest |
5655 if test "$cross_compiling" = yes; then | 4870 if test "$cross_compiling" = yes; then : |
5656 echo $ac_n "cross compiling; assumed OK... $ac_c" | 4871 echo $ac_n "cross compiling; assumed OK... $ac_c" |
5657 else | 4872 else |
5658 cat >conftest.$ac_ext <<_ACEOF | 4873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5659 /* confdefs.h. */ | |
5660 _ACEOF | |
5661 cat confdefs.h >>conftest.$ac_ext | |
5662 cat >>conftest.$ac_ext <<_ACEOF | |
5663 /* end confdefs.h. */ | 4874 /* end confdefs.h. */ |
5664 | 4875 |
5665 #include <glib.h> | 4876 #include <glib.h> |
5666 #include <stdio.h> | 4877 #include <stdio.h> |
5667 #include <stdlib.h> | 4878 #include <stdlib.h> |
5733 } | 4944 } |
5734 return 1; | 4945 return 1; |
5735 } | 4946 } |
5736 | 4947 |
5737 _ACEOF | 4948 _ACEOF |
5738 rm -f conftest$ac_exeext | 4949 if ac_fn_c_try_run "$LINENO"; then : |
5739 if { (ac_try="$ac_link" | 4950 |
5740 case "(($ac_try" in | 4951 else |
5741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 4952 no_glib=yes |
5742 *) ac_try_echo=$ac_try;; | 4953 fi |
5743 esac | 4954 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
5744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 4955 conftest.$ac_objext conftest.beam conftest.$ac_ext |
5745 (eval "$ac_link") 2>&5 | 4956 fi |
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 | |
5770 | 4957 |
5771 CFLAGS="$ac_save_CFLAGS" | 4958 CFLAGS="$ac_save_CFLAGS" |
5772 LIBS="$ac_save_LIBS" | 4959 LIBS="$ac_save_LIBS" |
5773 fi | 4960 fi |
5774 fi | 4961 fi |
5775 if test "x$no_glib" = x ; then | 4962 if test "x$no_glib" = x ; then |
5776 { echo "$as_me:$LINENO: result: yes" >&5 | 4963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
5777 echo "${ECHO_T}yes" >&6; } | 4964 $as_echo "yes" >&6; } |
5778 : | 4965 : |
5779 else | 4966 else |
5780 { echo "$as_me:$LINENO: result: no" >&5 | 4967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
5781 echo "${ECHO_T}no" >&6; } | 4968 $as_echo "no" >&6; } |
5782 if test "$GLIB_CONFIG" = "no" ; then | 4969 if test "$GLIB_CONFIG" = "no" ; then |
5783 echo "*** The glib-config script installed by GLIB could not be found" | 4970 echo "*** The glib-config script installed by GLIB could not be found" |
5784 echo "*** If GLIB was installed in PREFIX, make sure PREFIX/bin is in" | 4971 echo "*** If GLIB was installed in PREFIX, make sure PREFIX/bin is in" |
5785 echo "*** your path, or set the GLIB_CONFIG environment variable to the" | 4972 echo "*** your path, or set the GLIB_CONFIG environment variable to the" |
5786 echo "*** full path to glib-config." | 4973 echo "*** full path to glib-config." |
5789 : | 4976 : |
5790 else | 4977 else |
5791 echo "*** Could not run GLIB test program, checking why..." | 4978 echo "*** Could not run GLIB test program, checking why..." |
5792 CFLAGS="$CFLAGS $GLIB_CFLAGS" | 4979 CFLAGS="$CFLAGS $GLIB_CFLAGS" |
5793 LIBS="$LIBS $GLIB_LIBS" | 4980 LIBS="$LIBS $GLIB_LIBS" |
5794 cat >conftest.$ac_ext <<_ACEOF | 4981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5795 /* confdefs.h. */ | |
5796 _ACEOF | |
5797 cat confdefs.h >>conftest.$ac_ext | |
5798 cat >>conftest.$ac_ext <<_ACEOF | |
5799 /* end confdefs.h. */ | 4982 /* end confdefs.h. */ |
5800 | 4983 |
5801 #include <glib.h> | 4984 #include <glib.h> |
5802 #include <stdio.h> | 4985 #include <stdio.h> |
5803 | 4986 |
5807 return ((glib_major_version) || (glib_minor_version) || (glib_micro_version)); | 4990 return ((glib_major_version) || (glib_minor_version) || (glib_micro_version)); |
5808 ; | 4991 ; |
5809 return 0; | 4992 return 0; |
5810 } | 4993 } |
5811 _ACEOF | 4994 _ACEOF |
5812 rm -f conftest.$ac_objext conftest$ac_exeext | 4995 if ac_fn_c_try_link "$LINENO"; then : |
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 | |
5830 echo "*** The test program compiled, but did not run. This usually means" | 4996 echo "*** The test program compiled, but did not run. This usually means" |
5831 echo "*** that the run-time linker is not finding GLIB or finding the wrong" | 4997 echo "*** that the run-time linker is not finding GLIB or finding the wrong" |
5832 echo "*** version of GLIB. If it is not finding GLIB, you'll need to set your" | 4998 echo "*** version of GLIB. If it is not finding GLIB, you'll need to set your" |
5833 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" | 4999 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" |
5834 echo "*** to the installed location Also, make sure you have run ldconfig if that" | 5000 echo "*** to the installed location Also, make sure you have run ldconfig if that" |
5835 echo "*** is required on your system" | 5001 echo "*** is required on your system" |
5836 echo "***" | 5002 echo "***" |
5837 echo "*** If you have an old version installed, it is best to remove it, although" | 5003 echo "*** If you have an old version installed, it is best to remove it, although" |
5838 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" | 5004 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" |
5839 else | 5005 else |
5840 echo "$as_me: failed program was:" >&5 | 5006 echo "*** The test program failed to compile or link. See the file config.log for the" |
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" | |
5844 echo "*** exact error that occured. This usually means GLIB was incorrectly installed" | 5007 echo "*** exact error that occured. This usually means GLIB was incorrectly installed" |
5845 echo "*** or that you have moved GLIB since it was installed. In the latter case, you" | 5008 echo "*** or that you have moved GLIB since it was installed. In the latter case, you" |
5846 echo "*** may want to edit the glib-config script: $GLIB_CONFIG" | 5009 echo "*** may want to edit the glib-config script: $GLIB_CONFIG" |
5847 fi | 5010 fi |
5848 | 5011 rm -f core conftest.err conftest.$ac_objext \ |
5849 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 5012 conftest$ac_exeext conftest.$ac_ext |
5850 conftest$ac_exeext conftest.$ac_ext | |
5851 CFLAGS="$ac_save_CFLAGS" | 5013 CFLAGS="$ac_save_CFLAGS" |
5852 LIBS="$ac_save_LIBS" | 5014 LIBS="$ac_save_LIBS" |
5853 fi | 5015 fi |
5854 fi | 5016 fi |
5855 GLIB_CFLAGS="" | 5017 GLIB_CFLAGS="" |
5856 GLIB_LIBS="" | 5018 GLIB_LIBS="" |
5857 { { echo "$as_me:$LINENO: error: { { echo \"$as_me:$LINENO: error: Cannot find GLIB: Is glib-config in path?\" >&5 | 5019 as_fn_error $? "as_fn_error $? \"Cannot find GLIB: Is glib-config in path?\" \"$LINENO\" 5" "$LINENO" 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; }; } | |
5864 fi | 5020 fi |
5865 | 5021 |
5866 | 5022 |
5867 rm -f conf.glibtest | 5023 rm -f conf.glibtest |
5868 | 5024 |
5869 | 5025 |
5870 # Check whether --with-gtk-prefix was given. | 5026 # Check whether --with-gtk-prefix was given. |
5871 if test "${with_gtk_prefix+set}" = set; then | 5027 if test "${with_gtk_prefix+set}" = set; then : |
5872 withval=$with_gtk_prefix; gtk_config_prefix="$withval" | 5028 withval=$with_gtk_prefix; gtk_config_prefix="$withval" |
5873 else | 5029 else |
5874 gtk_config_prefix="" | 5030 gtk_config_prefix="" |
5875 fi | 5031 fi |
5876 | 5032 |
5877 | 5033 |
5878 # Check whether --with-gtk-exec-prefix was given. | 5034 # Check whether --with-gtk-exec-prefix was given. |
5879 if test "${with_gtk_exec_prefix+set}" = set; then | 5035 if test "${with_gtk_exec_prefix+set}" = set; then : |
5880 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval" | 5036 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval" |
5881 else | 5037 else |
5882 gtk_config_exec_prefix="" | 5038 gtk_config_exec_prefix="" |
5883 fi | 5039 fi |
5884 | 5040 |
5885 # Check whether --enable-gtktest was given. | 5041 # Check whether --enable-gtktest was given. |
5886 if test "${enable_gtktest+set}" = set; then | 5042 if test "${enable_gtktest+set}" = set; then : |
5887 enableval=$enable_gtktest; | 5043 enableval=$enable_gtktest; |
5888 else | 5044 else |
5889 enable_gtktest=yes | 5045 enable_gtktest=yes |
5890 fi | 5046 fi |
5891 | 5047 |
5912 fi | 5068 fi |
5913 fi | 5069 fi |
5914 | 5070 |
5915 # Extract the first word of "gtk-config", so it can be a program name with args. | 5071 # Extract the first word of "gtk-config", so it can be a program name with args. |
5916 set dummy gtk-config; ac_word=$2 | 5072 set dummy gtk-config; ac_word=$2 |
5917 { echo "$as_me:$LINENO: checking for $ac_word" >&5 | 5073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
5918 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 5074 $as_echo_n "checking for $ac_word... " >&6; } |
5919 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then | 5075 if ${ac_cv_path_GTK_CONFIG+:} false; then : |
5920 echo $ECHO_N "(cached) $ECHO_C" >&6 | 5076 $as_echo_n "(cached) " >&6 |
5921 else | 5077 else |
5922 case $GTK_CONFIG in | 5078 case $GTK_CONFIG in |
5923 [\\/]* | ?:[\\/]*) | 5079 [\\/]* | ?:[\\/]*) |
5924 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path. | 5080 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path. |
5925 ;; | 5081 ;; |
5927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 5083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
5928 for as_dir in $PATH | 5084 for as_dir in $PATH |
5929 do | 5085 do |
5930 IFS=$as_save_IFS | 5086 IFS=$as_save_IFS |
5931 test -z "$as_dir" && as_dir=. | 5087 test -z "$as_dir" && as_dir=. |
5932 for ac_exec_ext in '' $ac_executable_extensions; do | 5088 for ac_exec_ext in '' $ac_executable_extensions; do |
5933 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 5089 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
5934 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext" | 5090 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
5935 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 5091 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5936 break 2 | 5092 break 2 |
5937 fi | 5093 fi |
5938 done | 5094 done |
5939 done | 5095 done |
5940 IFS=$as_save_IFS | 5096 IFS=$as_save_IFS |
5941 | 5097 |
5942 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no" | 5098 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no" |
5943 ;; | 5099 ;; |
5944 esac | 5100 esac |
5945 fi | 5101 fi |
5946 GTK_CONFIG=$ac_cv_path_GTK_CONFIG | 5102 GTK_CONFIG=$ac_cv_path_GTK_CONFIG |
5947 if test -n "$GTK_CONFIG"; then | 5103 if test -n "$GTK_CONFIG"; then |
5948 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5 | 5104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CONFIG" >&5 |
5949 echo "${ECHO_T}$GTK_CONFIG" >&6; } | 5105 $as_echo "$GTK_CONFIG" >&6; } |
5950 else | 5106 else |
5951 { echo "$as_me:$LINENO: result: no" >&5 | 5107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
5952 echo "${ECHO_T}no" >&6; } | 5108 $as_echo "no" >&6; } |
5953 fi | 5109 fi |
5954 | 5110 |
5955 | 5111 |
5956 min_gtk_version=1.2.0 | 5112 min_gtk_version=1.2.0 |
5957 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5 | 5113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK - version >= $min_gtk_version" >&5 |
5958 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; } | 5114 $as_echo_n "checking for GTK - version >= $min_gtk_version... " >&6; } |
5959 no_gtk="" | 5115 no_gtk="" |
5960 if test "$GTK_CONFIG" = "no" ; then | 5116 if test "$GTK_CONFIG" = "no" ; then |
5961 no_gtk=yes | 5117 no_gtk=yes |
5962 else | 5118 else |
5963 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags` | 5119 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags` |
5972 ac_save_CFLAGS="$CFLAGS" | 5128 ac_save_CFLAGS="$CFLAGS" |
5973 ac_save_LIBS="$LIBS" | 5129 ac_save_LIBS="$LIBS" |
5974 CFLAGS="$CFLAGS $GTK_CFLAGS" | 5130 CFLAGS="$CFLAGS $GTK_CFLAGS" |
5975 LIBS="$GTK_LIBS $LIBS" | 5131 LIBS="$GTK_LIBS $LIBS" |
5976 rm -f conf.gtktest | 5132 rm -f conf.gtktest |
5977 if test "$cross_compiling" = yes; then | 5133 if test "$cross_compiling" = yes; then : |
5978 echo $ac_n "cross compiling; assumed OK... $ac_c" | 5134 echo $ac_n "cross compiling; assumed OK... $ac_c" |
5979 else | 5135 else |
5980 cat >conftest.$ac_ext <<_ACEOF | 5136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5981 /* confdefs.h. */ | |
5982 _ACEOF | |
5983 cat confdefs.h >>conftest.$ac_ext | |
5984 cat >>conftest.$ac_ext <<_ACEOF | |
5985 /* end confdefs.h. */ | 5137 /* end confdefs.h. */ |
5986 | 5138 |
5987 #include <gtk/gtk.h> | 5139 #include <gtk/gtk.h> |
5988 #include <stdio.h> | 5140 #include <stdio.h> |
5989 #include <stdlib.h> | 5141 #include <stdlib.h> |
6057 } | 5209 } |
6058 return 1; | 5210 return 1; |
6059 } | 5211 } |
6060 | 5212 |
6061 _ACEOF | 5213 _ACEOF |
6062 rm -f conftest$ac_exeext | 5214 if ac_fn_c_try_run "$LINENO"; then : |
6063 if { (ac_try="$ac_link" | 5215 |
6064 case "(($ac_try" in | 5216 else |
6065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 5217 no_gtk=yes |
6066 *) ac_try_echo=$ac_try;; | 5218 fi |
6067 esac | 5219 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
6068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 5220 conftest.$ac_objext conftest.beam conftest.$ac_ext |
6069 (eval "$ac_link") 2>&5 | 5221 fi |
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 | |
6094 | 5222 |
6095 CFLAGS="$ac_save_CFLAGS" | 5223 CFLAGS="$ac_save_CFLAGS" |
6096 LIBS="$ac_save_LIBS" | 5224 LIBS="$ac_save_LIBS" |
6097 fi | 5225 fi |
6098 fi | 5226 fi |
6099 if test "x$no_gtk" = x ; then | 5227 if test "x$no_gtk" = x ; then |
6100 { echo "$as_me:$LINENO: result: yes" >&5 | 5228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
6101 echo "${ECHO_T}yes" >&6; } | 5229 $as_echo "yes" >&6; } |
6102 : | 5230 : |
6103 else | 5231 else |
6104 { echo "$as_me:$LINENO: result: no" >&5 | 5232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6105 echo "${ECHO_T}no" >&6; } | 5233 $as_echo "no" >&6; } |
6106 if test "$GTK_CONFIG" = "no" ; then | 5234 if test "$GTK_CONFIG" = "no" ; then |
6107 echo "*** The gtk-config script installed by GTK could not be found" | 5235 echo "*** The gtk-config script installed by GTK could not be found" |
6108 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in" | 5236 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in" |
6109 echo "*** your path, or set the GTK_CONFIG environment variable to the" | 5237 echo "*** your path, or set the GTK_CONFIG environment variable to the" |
6110 echo "*** full path to gtk-config." | 5238 echo "*** full path to gtk-config." |
6113 : | 5241 : |
6114 else | 5242 else |
6115 echo "*** Could not run GTK test program, checking why..." | 5243 echo "*** Could not run GTK test program, checking why..." |
6116 CFLAGS="$CFLAGS $GTK_CFLAGS" | 5244 CFLAGS="$CFLAGS $GTK_CFLAGS" |
6117 LIBS="$LIBS $GTK_LIBS" | 5245 LIBS="$LIBS $GTK_LIBS" |
6118 cat >conftest.$ac_ext <<_ACEOF | 5246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6119 /* confdefs.h. */ | |
6120 _ACEOF | |
6121 cat confdefs.h >>conftest.$ac_ext | |
6122 cat >>conftest.$ac_ext <<_ACEOF | |
6123 /* end confdefs.h. */ | 5247 /* end confdefs.h. */ |
6124 | 5248 |
6125 #include <gtk/gtk.h> | 5249 #include <gtk/gtk.h> |
6126 #include <stdio.h> | 5250 #include <stdio.h> |
6127 | 5251 |
6131 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version)); | 5255 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version)); |
6132 ; | 5256 ; |
6133 return 0; | 5257 return 0; |
6134 } | 5258 } |
6135 _ACEOF | 5259 _ACEOF |
6136 rm -f conftest.$ac_objext conftest$ac_exeext | 5260 if ac_fn_c_try_link "$LINENO"; then : |
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 | |
6154 echo "*** The test program compiled, but did not run. This usually means" | 5261 echo "*** The test program compiled, but did not run. This usually means" |
6155 echo "*** that the run-time linker is not finding GTK or finding the wrong" | 5262 echo "*** that the run-time linker is not finding GTK or finding the wrong" |
6156 echo "*** version of GTK. If it is not finding GTK, you'll need to set your" | 5263 echo "*** version of GTK. If it is not finding GTK, you'll need to set your" |
6157 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" | 5264 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" |
6158 echo "*** to the installed location Also, make sure you have run ldconfig if that" | 5265 echo "*** to the installed location Also, make sure you have run ldconfig if that" |
6159 echo "*** is required on your system" | 5266 echo "*** is required on your system" |
6160 echo "***" | 5267 echo "***" |
6161 echo "*** If you have an old version installed, it is best to remove it, although" | 5268 echo "*** If you have an old version installed, it is best to remove it, although" |
6162 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" | 5269 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" |
6163 else | 5270 else |
6164 echo "$as_me: failed program was:" >&5 | 5271 echo "*** The test program failed to compile or link. See the file config.log for the" |
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" | |
6168 echo "*** exact error that occured. This usually means GTK was incorrectly installed" | 5272 echo "*** exact error that occured. This usually means GTK was incorrectly installed" |
6169 echo "*** or that you have moved GTK since it was installed. In the latter case, you" | 5273 echo "*** or that you have moved GTK since it was installed. In the latter case, you" |
6170 echo "*** may want to edit the gtk-config script: $GTK_CONFIG" | 5274 echo "*** may want to edit the gtk-config script: $GTK_CONFIG" |
6171 fi | 5275 fi |
6172 | 5276 rm -f core conftest.err conftest.$ac_objext \ |
6173 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 5277 conftest$ac_exeext conftest.$ac_ext |
6174 conftest$ac_exeext conftest.$ac_ext | |
6175 CFLAGS="$ac_save_CFLAGS" | 5278 CFLAGS="$ac_save_CFLAGS" |
6176 LIBS="$ac_save_LIBS" | 5279 LIBS="$ac_save_LIBS" |
6177 fi | 5280 fi |
6178 fi | 5281 fi |
6179 GTK_CFLAGS="" | 5282 GTK_CFLAGS="" |
6180 GTK_LIBS="" | 5283 GTK_LIBS="" |
6181 { { echo "$as_me:$LINENO: error: { { echo \"$as_me:$LINENO: error: Cannot find GTK: Is gtk-config in path?\" >&5 | 5284 as_fn_error $? "as_fn_error $? \"Cannot find GTK: Is gtk-config in path?\" \"$LINENO\" 5" "$LINENO" 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; }; } | |
6188 fi | 5285 fi |
6189 | 5286 |
6190 | 5287 |
6191 rm -f conf.gtktest | 5288 rm -f conf.gtktest |
6192 | 5289 |
6193 | 5290 |
6194 # Check whether --with-imlib-prefix was given. | 5291 # Check whether --with-imlib-prefix was given. |
6195 if test "${with_imlib_prefix+set}" = set; then | 5292 if test "${with_imlib_prefix+set}" = set; then : |
6196 withval=$with_imlib_prefix; imlib_prefix="$withval" | 5293 withval=$with_imlib_prefix; imlib_prefix="$withval" |
6197 else | 5294 else |
6198 imlib_prefix="" | 5295 imlib_prefix="" |
6199 fi | 5296 fi |
6200 | 5297 |
6201 | 5298 |
6202 # Check whether --with-imlib-exec-prefix was given. | 5299 # Check whether --with-imlib-exec-prefix was given. |
6203 if test "${with_imlib_exec_prefix+set}" = set; then | 5300 if test "${with_imlib_exec_prefix+set}" = set; then : |
6204 withval=$with_imlib_exec_prefix; imlib_exec_prefix="$withval" | 5301 withval=$with_imlib_exec_prefix; imlib_exec_prefix="$withval" |
6205 else | 5302 else |
6206 imlib_exec_prefix="" | 5303 imlib_exec_prefix="" |
6207 fi | 5304 fi |
6208 | 5305 |
6209 # Check whether --enable-imlibtest was given. | 5306 # Check whether --enable-imlibtest was given. |
6210 if test "${enable_imlibtest+set}" = set; then | 5307 if test "${enable_imlibtest+set}" = set; then : |
6211 enableval=$enable_imlibtest; | 5308 enableval=$enable_imlibtest; |
6212 else | 5309 else |
6213 enable_imlibtest=yes | 5310 enable_imlibtest=yes |
6214 fi | 5311 fi |
6215 | 5312 |
6227 fi | 5324 fi |
6228 fi | 5325 fi |
6229 | 5326 |
6230 # Extract the first word of "imlib-config", so it can be a program name with args. | 5327 # Extract the first word of "imlib-config", so it can be a program name with args. |
6231 set dummy imlib-config; ac_word=$2 | 5328 set dummy imlib-config; ac_word=$2 |
6232 { echo "$as_me:$LINENO: checking for $ac_word" >&5 | 5329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
6233 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 5330 $as_echo_n "checking for $ac_word... " >&6; } |
6234 if test "${ac_cv_path_IMLIB_CONFIG+set}" = set; then | 5331 if ${ac_cv_path_IMLIB_CONFIG+:} false; then : |
6235 echo $ECHO_N "(cached) $ECHO_C" >&6 | 5332 $as_echo_n "(cached) " >&6 |
6236 else | 5333 else |
6237 case $IMLIB_CONFIG in | 5334 case $IMLIB_CONFIG in |
6238 [\\/]* | ?:[\\/]*) | 5335 [\\/]* | ?:[\\/]*) |
6239 ac_cv_path_IMLIB_CONFIG="$IMLIB_CONFIG" # Let the user override the test with a path. | 5336 ac_cv_path_IMLIB_CONFIG="$IMLIB_CONFIG" # Let the user override the test with a path. |
6240 ;; | 5337 ;; |
6242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 5339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
6243 for as_dir in $PATH | 5340 for as_dir in $PATH |
6244 do | 5341 do |
6245 IFS=$as_save_IFS | 5342 IFS=$as_save_IFS |
6246 test -z "$as_dir" && as_dir=. | 5343 test -z "$as_dir" && as_dir=. |
6247 for ac_exec_ext in '' $ac_executable_extensions; do | 5344 for ac_exec_ext in '' $ac_executable_extensions; do |
6248 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 5345 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
6249 ac_cv_path_IMLIB_CONFIG="$as_dir/$ac_word$ac_exec_ext" | 5346 ac_cv_path_IMLIB_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
6250 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 5347 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6251 break 2 | 5348 break 2 |
6252 fi | 5349 fi |
6253 done | 5350 done |
6254 done | 5351 done |
6255 IFS=$as_save_IFS | 5352 IFS=$as_save_IFS |
6256 | 5353 |
6257 test -z "$ac_cv_path_IMLIB_CONFIG" && ac_cv_path_IMLIB_CONFIG="no" | 5354 test -z "$ac_cv_path_IMLIB_CONFIG" && ac_cv_path_IMLIB_CONFIG="no" |
6258 ;; | 5355 ;; |
6259 esac | 5356 esac |
6260 fi | 5357 fi |
6261 IMLIB_CONFIG=$ac_cv_path_IMLIB_CONFIG | 5358 IMLIB_CONFIG=$ac_cv_path_IMLIB_CONFIG |
6262 if test -n "$IMLIB_CONFIG"; then | 5359 if test -n "$IMLIB_CONFIG"; then |
6263 { echo "$as_me:$LINENO: result: $IMLIB_CONFIG" >&5 | 5360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IMLIB_CONFIG" >&5 |
6264 echo "${ECHO_T}$IMLIB_CONFIG" >&6; } | 5361 $as_echo "$IMLIB_CONFIG" >&6; } |
6265 else | 5362 else |
6266 { echo "$as_me:$LINENO: result: no" >&5 | 5363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6267 echo "${ECHO_T}no" >&6; } | 5364 $as_echo "no" >&6; } |
6268 fi | 5365 fi |
6269 | 5366 |
6270 | 5367 |
6271 min_imlib_version=1.9.4 | 5368 min_imlib_version=1.9.4 |
6272 { echo "$as_me:$LINENO: checking for IMLIB - version >= $min_imlib_version" >&5 | 5369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IMLIB - version >= $min_imlib_version" >&5 |
6273 echo $ECHO_N "checking for IMLIB - version >= $min_imlib_version... $ECHO_C" >&6; } | 5370 $as_echo_n "checking for IMLIB - version >= $min_imlib_version... " >&6; } |
6274 no_imlib="" | 5371 no_imlib="" |
6275 if test "$IMLIB_CONFIG" = "no" ; then | 5372 if test "$IMLIB_CONFIG" = "no" ; then |
6276 no_imlib=yes | 5373 no_imlib=yes |
6277 else | 5374 else |
6278 GDK_IMLIB_CFLAGS=`$IMLIB_CONFIG $imlibconf_args --cflags-gdk` | 5375 GDK_IMLIB_CFLAGS=`$IMLIB_CONFIG $imlibconf_args --cflags-gdk` |
6288 ac_save_CFLAGS="$CFLAGS" | 5385 ac_save_CFLAGS="$CFLAGS" |
6289 ac_save_LIBS="$LIBS" | 5386 ac_save_LIBS="$LIBS" |
6290 CFLAGS="$CFLAGS $GDK_IMLIB_CFLAGS" | 5387 CFLAGS="$CFLAGS $GDK_IMLIB_CFLAGS" |
6291 LIBS="$LIBS $GDK_IMLIB_LIBS" | 5388 LIBS="$LIBS $GDK_IMLIB_LIBS" |
6292 rm -f conf.imlibtest | 5389 rm -f conf.imlibtest |
6293 if test "$cross_compiling" = yes; then | 5390 if test "$cross_compiling" = yes; then : |
6294 echo $ac_n "cross compiling; assumed OK... $ac_c" | 5391 echo $ac_n "cross compiling; assumed OK... $ac_c" |
6295 else | 5392 else |
6296 cat >conftest.$ac_ext <<_ACEOF | 5393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6297 /* confdefs.h. */ | |
6298 _ACEOF | |
6299 cat confdefs.h >>conftest.$ac_ext | |
6300 cat >>conftest.$ac_ext <<_ACEOF | |
6301 /* end confdefs.h. */ | 5394 /* end confdefs.h. */ |
6302 | 5395 |
6303 #include <stdio.h> | 5396 #include <stdio.h> |
6304 #include <stdlib.h> | 5397 #include <stdlib.h> |
6305 #include <gdk_imlib.h> | 5398 #include <gdk_imlib.h> |
6337 } | 5430 } |
6338 } | 5431 } |
6339 | 5432 |
6340 | 5433 |
6341 _ACEOF | 5434 _ACEOF |
6342 rm -f conftest$ac_exeext | 5435 if ac_fn_c_try_run "$LINENO"; then : |
6343 if { (ac_try="$ac_link" | 5436 |
6344 case "(($ac_try" in | 5437 else |
6345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 5438 no_imlib=yes |
6346 *) ac_try_echo=$ac_try;; | 5439 fi |
6347 esac | 5440 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
6348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 5441 conftest.$ac_objext conftest.beam conftest.$ac_ext |
6349 (eval "$ac_link") 2>&5 | 5442 fi |
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 | |
6374 | 5443 |
6375 CFLAGS="$ac_save_CFLAGS" | 5444 CFLAGS="$ac_save_CFLAGS" |
6376 LIBS="$ac_save_LIBS" | 5445 LIBS="$ac_save_LIBS" |
6377 fi | 5446 fi |
6378 fi | 5447 fi |
6379 if test "x$no_imlib" = x ; then | 5448 if test "x$no_imlib" = x ; then |
6380 { echo "$as_me:$LINENO: result: yes" >&5 | 5449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
6381 echo "${ECHO_T}yes" >&6; } | 5450 $as_echo "yes" >&6; } |
6382 cat >>confdefs.h <<\_ACEOF | 5451 $as_echo "#define USE_IMLIB 1" >>confdefs.h |
6383 #define USE_IMLIB 1 | |
6384 _ACEOF | |
6385 | 5452 |
6386 else | 5453 else |
6387 { echo "$as_me:$LINENO: result: no" >&5 | 5454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6388 echo "${ECHO_T}no" >&6; } | 5455 $as_echo "no" >&6; } |
6389 if test "$IMLIB_CONFIG" = "no" ; then | 5456 if test "$IMLIB_CONFIG" = "no" ; then |
6390 echo "*** The imlib-config script installed by IMLIB could not be found" | 5457 echo "*** The imlib-config script installed by IMLIB could not be found" |
6391 echo "*** If IMLIB was installed in PREFIX, make sure PREFIX/bin is in" | 5458 echo "*** If IMLIB was installed in PREFIX, make sure PREFIX/bin is in" |
6392 echo "*** your path, or set the IMLIB_CONFIG environment variable to the" | 5459 echo "*** your path, or set the IMLIB_CONFIG environment variable to the" |
6393 echo "*** full path to imlib-config." | 5460 echo "*** full path to imlib-config." |
6396 : | 5463 : |
6397 else | 5464 else |
6398 echo "*** Could not run IMLIB test program, checking why..." | 5465 echo "*** Could not run IMLIB test program, checking why..." |
6399 CFLAGS="$CFLAGS $GDK_IMLIB_CFLAGS" | 5466 CFLAGS="$CFLAGS $GDK_IMLIB_CFLAGS" |
6400 LIBS="$LIBS $GDK_IMLIB_LIBS" | 5467 LIBS="$LIBS $GDK_IMLIB_LIBS" |
6401 cat >conftest.$ac_ext <<_ACEOF | 5468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6402 /* confdefs.h. */ | |
6403 _ACEOF | |
6404 cat confdefs.h >>conftest.$ac_ext | |
6405 cat >>conftest.$ac_ext <<_ACEOF | |
6406 /* end confdefs.h. */ | 5469 /* end confdefs.h. */ |
6407 | 5470 |
6408 #include <stdio.h> | 5471 #include <stdio.h> |
6409 #include <gdk_imlib.h> | 5472 #include <gdk_imlib.h> |
6410 | 5473 |
6414 return 0; | 5477 return 0; |
6415 ; | 5478 ; |
6416 return 0; | 5479 return 0; |
6417 } | 5480 } |
6418 _ACEOF | 5481 _ACEOF |
6419 rm -f conftest.$ac_objext conftest$ac_exeext | 5482 if ac_fn_c_try_link "$LINENO"; then : |
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 | |
6437 echo "*** The test program compiled, but did not run. This usually means" | 5483 echo "*** The test program compiled, but did not run. This usually means" |
6438 echo "*** that the run-time linker is not finding IMLIB or finding the wrong" | 5484 echo "*** that the run-time linker is not finding IMLIB or finding the wrong" |
6439 echo "*** version of IMLIB. If it is not finding IMLIB, you'll need to set your" | 5485 echo "*** version of IMLIB. If it is not finding IMLIB, you'll need to set your" |
6440 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" | 5486 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" |
6441 echo "*** to the installed location Also, make sure you have run ldconfig if that" | 5487 echo "*** to the installed location Also, make sure you have run ldconfig if that" |
6442 echo "*** is required on your system" | 5488 echo "*** is required on your system" |
6443 echo "***" | 5489 echo "***" |
6444 echo "*** If you have an old version installed, it is best to remove it, although" | 5490 echo "*** If you have an old version installed, it is best to remove it, although" |
6445 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" | 5491 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" |
6446 else | 5492 else |
6447 echo "$as_me: failed program was:" >&5 | 5493 echo "*** The test program failed to compile or link. See the file config.log for the" |
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" | |
6451 echo "*** exact error that occured. This usually means IMLIB was incorrectly installed" | 5494 echo "*** exact error that occured. This usually means IMLIB was incorrectly installed" |
6452 echo "*** or that you have moved IMLIB since it was installed. In the latter case, you" | 5495 echo "*** or that you have moved IMLIB since it was installed. In the latter case, you" |
6453 echo "*** may want to edit the imlib-config script: $IMLIB_CONFIG" | 5496 echo "*** may want to edit the imlib-config script: $IMLIB_CONFIG" |
6454 fi | 5497 fi |
6455 | 5498 rm -f core conftest.err conftest.$ac_objext \ |
6456 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 5499 conftest$ac_exeext conftest.$ac_ext |
6457 conftest$ac_exeext conftest.$ac_ext | |
6458 CFLAGS="$ac_save_CFLAGS" | 5500 CFLAGS="$ac_save_CFLAGS" |
6459 LIBS="$ac_save_LIBS" | 5501 LIBS="$ac_save_LIBS" |
6460 fi | 5502 fi |
6461 fi | 5503 fi |
6462 GDK_IMLIB_CFLAGS="" | 5504 GDK_IMLIB_CFLAGS="" |
6463 GDK_IMLIB_LIBS="" | 5505 GDK_IMLIB_LIBS="" |
6464 { { echo "$as_me:$LINENO: error: IMLIB not found or too old. Dynamic Windows cannot build without it." >&5 | 5506 as_fn_error $? "IMLIB not found or too old. Dynamic Windows cannot build without it." "$LINENO" 5 |
6465 echo "$as_me: error: IMLIB not found or too old. Dynamic Windows cannot build without it." >&2;} | |
6466 { (exit 1); exit 1; }; } | |
6467 fi | 5507 fi |
6468 | 5508 |
6469 | 5509 |
6470 rm -f conf.gdkimlibtest | 5510 rm -f conf.gdkimlibtest |
6471 | 5511 |
6474 GTK_LIBS=`$PKG_CFG --libs $GTK_PACKAGES` | 5514 GTK_LIBS=`$PKG_CFG --libs $GTK_PACKAGES` |
6475 fi | 5515 fi |
6476 fi | 5516 fi |
6477 | 5517 |
6478 if test $check_pthreads = "yes"; then | 5518 if test $check_pthreads = "yes"; then |
6479 if test "${ac_cv_header_pthread_h+set}" = set; then | 5519 ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default" |
6480 { echo "$as_me:$LINENO: checking for pthread.h" >&5 | 5520 if test "x$ac_cv_header_pthread_h" = xyes; then : |
6481 echo $ECHO_N "checking for pthread.h... $ECHO_C" >&6; } | 5521 |
6482 if test "${ac_cv_header_pthread_h+set}" = set; then | 5522 else |
6483 echo $ECHO_N "(cached) $ECHO_C" >&6 | 5523 as_fn_error $? "pthread header not found. Dynamic Windows cannot build without it." "$LINENO" 5 |
6484 fi | 5524 fi |
6485 { echo "$as_me:$LINENO: result: $ac_cv_header_pthread_h" >&5 | 5525 |
6486 echo "${ECHO_T}$ac_cv_header_pthread_h" >&6; } | 5526 |
6487 else | 5527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_attr_init in -lpthread" >&5 |
6488 # Is the header compilable? | 5528 $as_echo_n "checking for pthread_attr_init in -lpthread... " >&6; } |
6489 { echo "$as_me:$LINENO: checking pthread.h usability" >&5 | 5529 if ${ac_cv_lib_pthread_pthread_attr_init+:} false; then : |
6490 echo $ECHO_N "checking pthread.h usability... $ECHO_C" >&6; } | 5530 $as_echo_n "(cached) " >&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 | |
6617 else | 5531 else |
6618 ac_check_lib_save_LIBS=$LIBS | 5532 ac_check_lib_save_LIBS=$LIBS |
6619 LIBS="-lpthread $LIBS" | 5533 LIBS="-lpthread $LIBS" |
6620 cat >conftest.$ac_ext <<_ACEOF | 5534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6621 /* confdefs.h. */ | |
6622 _ACEOF | |
6623 cat confdefs.h >>conftest.$ac_ext | |
6624 cat >>conftest.$ac_ext <<_ACEOF | |
6625 /* end confdefs.h. */ | 5535 /* end confdefs.h. */ |
6626 | 5536 |
6627 /* Override any GCC internal prototype to avoid an error. | 5537 /* Override any GCC internal prototype to avoid an error. |
6628 Use char because int might match the return type of a GCC | 5538 Use char because int might match the return type of a GCC |
6629 builtin and then its argument prototype would still apply. */ | 5539 builtin and then its argument prototype would still apply. */ |
6637 return pthread_attr_init (); | 5547 return pthread_attr_init (); |
6638 ; | 5548 ; |
6639 return 0; | 5549 return 0; |
6640 } | 5550 } |
6641 _ACEOF | 5551 _ACEOF |
6642 rm -f conftest.$ac_objext conftest$ac_exeext | 5552 if ac_fn_c_try_link "$LINENO"; then : |
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 | |
6660 ac_cv_lib_pthread_pthread_attr_init=yes | 5553 ac_cv_lib_pthread_pthread_attr_init=yes |
6661 else | 5554 else |
6662 echo "$as_me: failed program was:" >&5 | 5555 ac_cv_lib_pthread_pthread_attr_init=no |
6663 sed 's/^/| /' conftest.$ac_ext >&5 | 5556 fi |
6664 | 5557 rm -f core conftest.err conftest.$ac_objext \ |
6665 ac_cv_lib_pthread_pthread_attr_init=no | 5558 conftest$ac_exeext conftest.$ac_ext |
6666 fi | |
6667 | |
6668 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
6669 conftest$ac_exeext conftest.$ac_ext | |
6670 LIBS=$ac_check_lib_save_LIBS | 5559 LIBS=$ac_check_lib_save_LIBS |
6671 fi | 5560 fi |
6672 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_attr_init" >&5 | 5561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_attr_init" >&5 |
6673 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_attr_init" >&6; } | 5562 $as_echo "$ac_cv_lib_pthread_pthread_attr_init" >&6; } |
6674 if test $ac_cv_lib_pthread_pthread_attr_init = yes; then | 5563 if test "x$ac_cv_lib_pthread_pthread_attr_init" = xyes; then : |
6675 PTHREAD_LIBS="-lpthread" | 5564 PTHREAD_LIBS="-lpthread" |
6676 else | 5565 else |
6677 { echo "$as_me:$LINENO: checking for pthread_attr_init in -lpthreads" >&5 | 5566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_attr_init in -lpthreads" >&5 |
6678 echo $ECHO_N "checking for pthread_attr_init in -lpthreads... $ECHO_C" >&6; } | 5567 $as_echo_n "checking for pthread_attr_init in -lpthreads... " >&6; } |
6679 if test "${ac_cv_lib_pthreads_pthread_attr_init+set}" = set; then | 5568 if ${ac_cv_lib_pthreads_pthread_attr_init+:} false; then : |
6680 echo $ECHO_N "(cached) $ECHO_C" >&6 | 5569 $as_echo_n "(cached) " >&6 |
6681 else | 5570 else |
6682 ac_check_lib_save_LIBS=$LIBS | 5571 ac_check_lib_save_LIBS=$LIBS |
6683 LIBS="-lpthreads $LIBS" | 5572 LIBS="-lpthreads $LIBS" |
6684 cat >conftest.$ac_ext <<_ACEOF | 5573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6685 /* confdefs.h. */ | |
6686 _ACEOF | |
6687 cat confdefs.h >>conftest.$ac_ext | |
6688 cat >>conftest.$ac_ext <<_ACEOF | |
6689 /* end confdefs.h. */ | 5574 /* end confdefs.h. */ |
6690 | 5575 |
6691 /* Override any GCC internal prototype to avoid an error. | 5576 /* Override any GCC internal prototype to avoid an error. |
6692 Use char because int might match the return type of a GCC | 5577 Use char because int might match the return type of a GCC |
6693 builtin and then its argument prototype would still apply. */ | 5578 builtin and then its argument prototype would still apply. */ |
6701 return pthread_attr_init (); | 5586 return pthread_attr_init (); |
6702 ; | 5587 ; |
6703 return 0; | 5588 return 0; |
6704 } | 5589 } |
6705 _ACEOF | 5590 _ACEOF |
6706 rm -f conftest.$ac_objext conftest$ac_exeext | 5591 if ac_fn_c_try_link "$LINENO"; then : |
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 | |
6724 ac_cv_lib_pthreads_pthread_attr_init=yes | 5592 ac_cv_lib_pthreads_pthread_attr_init=yes |
6725 else | 5593 else |
6726 echo "$as_me: failed program was:" >&5 | 5594 ac_cv_lib_pthreads_pthread_attr_init=no |
6727 sed 's/^/| /' conftest.$ac_ext >&5 | 5595 fi |
6728 | 5596 rm -f core conftest.err conftest.$ac_objext \ |
6729 ac_cv_lib_pthreads_pthread_attr_init=no | 5597 conftest$ac_exeext conftest.$ac_ext |
6730 fi | |
6731 | |
6732 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
6733 conftest$ac_exeext conftest.$ac_ext | |
6734 LIBS=$ac_check_lib_save_LIBS | 5598 LIBS=$ac_check_lib_save_LIBS |
6735 fi | 5599 fi |
6736 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthreads_pthread_attr_init" >&5 | 5600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthreads_pthread_attr_init" >&5 |
6737 echo "${ECHO_T}$ac_cv_lib_pthreads_pthread_attr_init" >&6; } | 5601 $as_echo "$ac_cv_lib_pthreads_pthread_attr_init" >&6; } |
6738 if test $ac_cv_lib_pthreads_pthread_attr_init = yes; then | 5602 if test "x$ac_cv_lib_pthreads_pthread_attr_init" = xyes; then : |
6739 PTHREAD_LIBS="-lpthreads" | 5603 PTHREAD_LIBS="-lpthreads" |
6740 else | 5604 else |
6741 { echo "$as_me:$LINENO: checking for pthread_attr_init in -lc_r" >&5 | 5605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_attr_init in -lc_r" >&5 |
6742 echo $ECHO_N "checking for pthread_attr_init in -lc_r... $ECHO_C" >&6; } | 5606 $as_echo_n "checking for pthread_attr_init in -lc_r... " >&6; } |
6743 if test "${ac_cv_lib_c_r_pthread_attr_init+set}" = set; then | 5607 if ${ac_cv_lib_c_r_pthread_attr_init+:} false; then : |
6744 echo $ECHO_N "(cached) $ECHO_C" >&6 | 5608 $as_echo_n "(cached) " >&6 |
6745 else | 5609 else |
6746 ac_check_lib_save_LIBS=$LIBS | 5610 ac_check_lib_save_LIBS=$LIBS |
6747 LIBS="-lc_r $LIBS" | 5611 LIBS="-lc_r $LIBS" |
6748 cat >conftest.$ac_ext <<_ACEOF | 5612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6749 /* confdefs.h. */ | |
6750 _ACEOF | |
6751 cat confdefs.h >>conftest.$ac_ext | |
6752 cat >>conftest.$ac_ext <<_ACEOF | |
6753 /* end confdefs.h. */ | 5613 /* end confdefs.h. */ |
6754 | 5614 |
6755 /* Override any GCC internal prototype to avoid an error. | 5615 /* Override any GCC internal prototype to avoid an error. |
6756 Use char because int might match the return type of a GCC | 5616 Use char because int might match the return type of a GCC |
6757 builtin and then its argument prototype would still apply. */ | 5617 builtin and then its argument prototype would still apply. */ |
6765 return pthread_attr_init (); | 5625 return pthread_attr_init (); |
6766 ; | 5626 ; |
6767 return 0; | 5627 return 0; |
6768 } | 5628 } |
6769 _ACEOF | 5629 _ACEOF |
6770 rm -f conftest.$ac_objext conftest$ac_exeext | 5630 if ac_fn_c_try_link "$LINENO"; then : |
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 | |
6788 ac_cv_lib_c_r_pthread_attr_init=yes | 5631 ac_cv_lib_c_r_pthread_attr_init=yes |
6789 else | 5632 else |
6790 echo "$as_me: failed program was:" >&5 | 5633 ac_cv_lib_c_r_pthread_attr_init=no |
6791 sed 's/^/| /' conftest.$ac_ext >&5 | 5634 fi |
6792 | 5635 rm -f core conftest.err conftest.$ac_objext \ |
6793 ac_cv_lib_c_r_pthread_attr_init=no | 5636 conftest$ac_exeext conftest.$ac_ext |
6794 fi | |
6795 | |
6796 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
6797 conftest$ac_exeext conftest.$ac_ext | |
6798 LIBS=$ac_check_lib_save_LIBS | 5637 LIBS=$ac_check_lib_save_LIBS |
6799 fi | 5638 fi |
6800 { echo "$as_me:$LINENO: result: $ac_cv_lib_c_r_pthread_attr_init" >&5 | 5639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_r_pthread_attr_init" >&5 |
6801 echo "${ECHO_T}$ac_cv_lib_c_r_pthread_attr_init" >&6; } | 5640 $as_echo "$ac_cv_lib_c_r_pthread_attr_init" >&6; } |
6802 if test $ac_cv_lib_c_r_pthread_attr_init = yes; then | 5641 if test "x$ac_cv_lib_c_r_pthread_attr_init" = xyes; then : |
6803 PTHREAD_LIBS="-lc_r" | 5642 PTHREAD_LIBS="-lc_r" |
6804 else | 5643 else |
6805 { echo "$as_me:$LINENO: checking for pthread_attr_init in -lc" >&5 | 5644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_attr_init in -lc" >&5 |
6806 echo $ECHO_N "checking for pthread_attr_init in -lc... $ECHO_C" >&6; } | 5645 $as_echo_n "checking for pthread_attr_init in -lc... " >&6; } |
6807 if test "${ac_cv_lib_c_pthread_attr_init+set}" = set; then | 5646 if ${ac_cv_lib_c_pthread_attr_init+:} false; then : |
6808 echo $ECHO_N "(cached) $ECHO_C" >&6 | 5647 $as_echo_n "(cached) " >&6 |
6809 else | 5648 else |
6810 ac_check_lib_save_LIBS=$LIBS | 5649 ac_check_lib_save_LIBS=$LIBS |
6811 LIBS="-lc $LIBS" | 5650 LIBS="-lc $LIBS" |
6812 cat >conftest.$ac_ext <<_ACEOF | 5651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6813 /* confdefs.h. */ | |
6814 _ACEOF | |
6815 cat confdefs.h >>conftest.$ac_ext | |
6816 cat >>conftest.$ac_ext <<_ACEOF | |
6817 /* end confdefs.h. */ | 5652 /* end confdefs.h. */ |
6818 | 5653 |
6819 /* Override any GCC internal prototype to avoid an error. | 5654 /* Override any GCC internal prototype to avoid an error. |
6820 Use char because int might match the return type of a GCC | 5655 Use char because int might match the return type of a GCC |
6821 builtin and then its argument prototype would still apply. */ | 5656 builtin and then its argument prototype would still apply. */ |
6829 return pthread_attr_init (); | 5664 return pthread_attr_init (); |
6830 ; | 5665 ; |
6831 return 0; | 5666 return 0; |
6832 } | 5667 } |
6833 _ACEOF | 5668 _ACEOF |
6834 rm -f conftest.$ac_objext conftest$ac_exeext | 5669 if ac_fn_c_try_link "$LINENO"; then : |
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 | |
6852 ac_cv_lib_c_pthread_attr_init=yes | 5670 ac_cv_lib_c_pthread_attr_init=yes |
6853 else | 5671 else |
6854 echo "$as_me: failed program was:" >&5 | 5672 ac_cv_lib_c_pthread_attr_init=no |
6855 sed 's/^/| /' conftest.$ac_ext >&5 | 5673 fi |
6856 | 5674 rm -f core conftest.err conftest.$ac_objext \ |
6857 ac_cv_lib_c_pthread_attr_init=no | 5675 conftest$ac_exeext conftest.$ac_ext |
6858 fi | |
6859 | |
6860 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
6861 conftest$ac_exeext conftest.$ac_ext | |
6862 LIBS=$ac_check_lib_save_LIBS | 5676 LIBS=$ac_check_lib_save_LIBS |
6863 fi | 5677 fi |
6864 { echo "$as_me:$LINENO: result: $ac_cv_lib_c_pthread_attr_init" >&5 | 5678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_pthread_attr_init" >&5 |
6865 echo "${ECHO_T}$ac_cv_lib_c_pthread_attr_init" >&6; } | 5679 $as_echo "$ac_cv_lib_c_pthread_attr_init" >&6; } |
6866 if test $ac_cv_lib_c_pthread_attr_init = yes; then | 5680 if test "x$ac_cv_lib_c_pthread_attr_init" = xyes; then : |
6867 PTHREAD_LIBS="-lc" | 5681 PTHREAD_LIBS="-lc" |
6868 else | 5682 else |
6869 { { echo "$as_me:$LINENO: error: pthread library not found. dwindows cannot build without it." >&5 | 5683 as_fn_error $? "pthread library not found. dwindows cannot build without it." "$LINENO" 5 |
6870 echo "$as_me: error: pthread library not found. dwindows cannot build without it." >&2;} | |
6871 { (exit 1); exit 1; }; } | |
6872 | 5684 |
6873 fi | 5685 fi |
6874 | 5686 |
6875 | 5687 |
6876 fi | 5688 fi |
6889 if test x"$MOZEMBED_CFLAGS" != x; then | 5701 if test x"$MOZEMBED_CFLAGS" != x; then |
6890 SAVE_LIBS="$LIBS" | 5702 SAVE_LIBS="$LIBS" |
6891 LIBS="$RPATH $LIBS $GTK_LIBS $PTHREAD_LIBS $GDK_IMLIB_LIBS $MOZEMBED_LIBS" | 5703 LIBS="$RPATH $LIBS $GTK_LIBS $PTHREAD_LIBS $GDK_IMLIB_LIBS $MOZEMBED_LIBS" |
6892 BROWSER_OBJECT="browser.o" | 5704 BROWSER_OBJECT="browser.o" |
6893 if test $with_gtkmozembed = yes; then | 5705 if test $with_gtkmozembed = yes; then |
6894 { echo "$as_me:$LINENO: checking for gtk_moz_embed_new in -lgtkembedmoz" >&5 | 5706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk_moz_embed_new in -lgtkembedmoz" >&5 |
6895 echo $ECHO_N "checking for gtk_moz_embed_new in -lgtkembedmoz... $ECHO_C" >&6; } | 5707 $as_echo_n "checking for gtk_moz_embed_new in -lgtkembedmoz... " >&6; } |
6896 if test "${ac_cv_lib_gtkembedmoz_gtk_moz_embed_new+set}" = set; then | 5708 if ${ac_cv_lib_gtkembedmoz_gtk_moz_embed_new+:} false; then : |
6897 echo $ECHO_N "(cached) $ECHO_C" >&6 | 5709 $as_echo_n "(cached) " >&6 |
6898 else | 5710 else |
6899 ac_check_lib_save_LIBS=$LIBS | 5711 ac_check_lib_save_LIBS=$LIBS |
6900 LIBS="-lgtkembedmoz $LIBS" | 5712 LIBS="-lgtkembedmoz $LIBS" |
6901 cat >conftest.$ac_ext <<_ACEOF | 5713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6902 /* confdefs.h. */ | |
6903 _ACEOF | |
6904 cat confdefs.h >>conftest.$ac_ext | |
6905 cat >>conftest.$ac_ext <<_ACEOF | |
6906 /* end confdefs.h. */ | 5714 /* end confdefs.h. */ |
6907 | 5715 |
6908 /* Override any GCC internal prototype to avoid an error. | 5716 /* Override any GCC internal prototype to avoid an error. |
6909 Use char because int might match the return type of a GCC | 5717 Use char because int might match the return type of a GCC |
6910 builtin and then its argument prototype would still apply. */ | 5718 builtin and then its argument prototype would still apply. */ |
6918 return gtk_moz_embed_new (); | 5726 return gtk_moz_embed_new (); |
6919 ; | 5727 ; |
6920 return 0; | 5728 return 0; |
6921 } | 5729 } |
6922 _ACEOF | 5730 _ACEOF |
6923 rm -f conftest.$ac_objext conftest$ac_exeext | 5731 if ac_fn_c_try_link "$LINENO"; then : |
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 | |
6941 ac_cv_lib_gtkembedmoz_gtk_moz_embed_new=yes | 5732 ac_cv_lib_gtkembedmoz_gtk_moz_embed_new=yes |
6942 else | 5733 else |
6943 echo "$as_me: failed program was:" >&5 | 5734 ac_cv_lib_gtkembedmoz_gtk_moz_embed_new=no |
6944 sed 's/^/| /' conftest.$ac_ext >&5 | 5735 fi |
6945 | 5736 rm -f core conftest.err conftest.$ac_objext \ |
6946 ac_cv_lib_gtkembedmoz_gtk_moz_embed_new=no | 5737 conftest$ac_exeext conftest.$ac_ext |
6947 fi | |
6948 | |
6949 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
6950 conftest$ac_exeext conftest.$ac_ext | |
6951 LIBS=$ac_check_lib_save_LIBS | 5738 LIBS=$ac_check_lib_save_LIBS |
6952 fi | 5739 fi |
6953 { echo "$as_me:$LINENO: result: $ac_cv_lib_gtkembedmoz_gtk_moz_embed_new" >&5 | 5740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gtkembedmoz_gtk_moz_embed_new" >&5 |
6954 echo "${ECHO_T}$ac_cv_lib_gtkembedmoz_gtk_moz_embed_new" >&6; } | 5741 $as_echo "$ac_cv_lib_gtkembedmoz_gtk_moz_embed_new" >&6; } |
6955 if test $ac_cv_lib_gtkembedmoz_gtk_moz_embed_new = yes; then | 5742 if test "x$ac_cv_lib_gtkembedmoz_gtk_moz_embed_new" = xyes; then : |
6956 cat >>confdefs.h <<\_ACEOF | 5743 $as_echo "#define USE_GTKMOZEMBED 1" >>confdefs.h |
6957 #define USE_GTKMOZEMBED 1 | |
6958 _ACEOF | |
6959 | 5744 |
6960 else | 5745 else |
6961 BROWSER_OBJECT="" | 5746 BROWSER_OBJECT="" |
6962 fi | 5747 fi |
6963 | 5748 |
6964 elif test $with_gtkhtml = yes; then | 5749 elif test $with_gtkhtml = yes; then |
6965 { echo "$as_me:$LINENO: checking for html_document_new in -lgtkhtml-2" >&5 | 5750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for html_document_new in -lgtkhtml-2" >&5 |
6966 echo $ECHO_N "checking for html_document_new in -lgtkhtml-2... $ECHO_C" >&6; } | 5751 $as_echo_n "checking for html_document_new in -lgtkhtml-2... " >&6; } |
6967 if test "${ac_cv_lib_gtkhtml_2_html_document_new+set}" = set; then | 5752 if ${ac_cv_lib_gtkhtml_2_html_document_new+:} false; then : |
6968 echo $ECHO_N "(cached) $ECHO_C" >&6 | 5753 $as_echo_n "(cached) " >&6 |
6969 else | 5754 else |
6970 ac_check_lib_save_LIBS=$LIBS | 5755 ac_check_lib_save_LIBS=$LIBS |
6971 LIBS="-lgtkhtml-2 $LIBS" | 5756 LIBS="-lgtkhtml-2 $LIBS" |
6972 cat >conftest.$ac_ext <<_ACEOF | 5757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6973 /* confdefs.h. */ | |
6974 _ACEOF | |
6975 cat confdefs.h >>conftest.$ac_ext | |
6976 cat >>conftest.$ac_ext <<_ACEOF | |
6977 /* end confdefs.h. */ | 5758 /* end confdefs.h. */ |
6978 | 5759 |
6979 /* Override any GCC internal prototype to avoid an error. | 5760 /* Override any GCC internal prototype to avoid an error. |
6980 Use char because int might match the return type of a GCC | 5761 Use char because int might match the return type of a GCC |
6981 builtin and then its argument prototype would still apply. */ | 5762 builtin and then its argument prototype would still apply. */ |
6989 return html_document_new (); | 5770 return html_document_new (); |
6990 ; | 5771 ; |
6991 return 0; | 5772 return 0; |
6992 } | 5773 } |
6993 _ACEOF | 5774 _ACEOF |
6994 rm -f conftest.$ac_objext conftest$ac_exeext | 5775 if ac_fn_c_try_link "$LINENO"; then : |
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 | |
7012 ac_cv_lib_gtkhtml_2_html_document_new=yes | 5776 ac_cv_lib_gtkhtml_2_html_document_new=yes |
7013 else | 5777 else |
7014 echo "$as_me: failed program was:" >&5 | 5778 ac_cv_lib_gtkhtml_2_html_document_new=no |
7015 sed 's/^/| /' conftest.$ac_ext >&5 | 5779 fi |
7016 | 5780 rm -f core conftest.err conftest.$ac_objext \ |
7017 ac_cv_lib_gtkhtml_2_html_document_new=no | 5781 conftest$ac_exeext conftest.$ac_ext |
7018 fi | |
7019 | |
7020 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
7021 conftest$ac_exeext conftest.$ac_ext | |
7022 LIBS=$ac_check_lib_save_LIBS | 5782 LIBS=$ac_check_lib_save_LIBS |
7023 fi | 5783 fi |
7024 { echo "$as_me:$LINENO: result: $ac_cv_lib_gtkhtml_2_html_document_new" >&5 | 5784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gtkhtml_2_html_document_new" >&5 |
7025 echo "${ECHO_T}$ac_cv_lib_gtkhtml_2_html_document_new" >&6; } | 5785 $as_echo "$ac_cv_lib_gtkhtml_2_html_document_new" >&6; } |
7026 if test $ac_cv_lib_gtkhtml_2_html_document_new = yes; then | 5786 if test "x$ac_cv_lib_gtkhtml_2_html_document_new" = xyes; then : |
7027 cat >>confdefs.h <<\_ACEOF | 5787 $as_echo "#define USE_LIBGTKHTML2 1" >>confdefs.h |
7028 #define USE_LIBGTKHTML2 1 | |
7029 _ACEOF | |
7030 | 5788 |
7031 else | 5789 else |
7032 BROWSER_OBJECT="" | 5790 BROWSER_OBJECT="" |
7033 fi | 5791 fi |
7034 | 5792 |
7035 else | 5793 else |
7036 as_ac_Lib=`echo "ac_cv_lib_$WEBKIT_LIB''_webkit_web_view_new" | $as_tr_sh` | 5794 as_ac_Lib=`$as_echo "ac_cv_lib_$WEBKIT_LIB''_webkit_web_view_new" | $as_tr_sh` |
7037 { echo "$as_me:$LINENO: checking for webkit_web_view_new in -l$WEBKIT_LIB" >&5 | 5795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for webkit_web_view_new in -l$WEBKIT_LIB" >&5 |
7038 echo $ECHO_N "checking for webkit_web_view_new in -l$WEBKIT_LIB... $ECHO_C" >&6; } | 5796 $as_echo_n "checking for webkit_web_view_new in -l$WEBKIT_LIB... " >&6; } |
7039 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then | 5797 if eval \${$as_ac_Lib+:} false; then : |
7040 echo $ECHO_N "(cached) $ECHO_C" >&6 | 5798 $as_echo_n "(cached) " >&6 |
7041 else | 5799 else |
7042 ac_check_lib_save_LIBS=$LIBS | 5800 ac_check_lib_save_LIBS=$LIBS |
7043 LIBS="-l$WEBKIT_LIB $LIBS" | 5801 LIBS="-l$WEBKIT_LIB $LIBS" |
7044 cat >conftest.$ac_ext <<_ACEOF | 5802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7045 /* confdefs.h. */ | |
7046 _ACEOF | |
7047 cat confdefs.h >>conftest.$ac_ext | |
7048 cat >>conftest.$ac_ext <<_ACEOF | |
7049 /* end confdefs.h. */ | 5803 /* end confdefs.h. */ |
7050 | 5804 |
7051 /* Override any GCC internal prototype to avoid an error. | 5805 /* Override any GCC internal prototype to avoid an error. |
7052 Use char because int might match the return type of a GCC | 5806 Use char because int might match the return type of a GCC |
7053 builtin and then its argument prototype would still apply. */ | 5807 builtin and then its argument prototype would still apply. */ |
7061 return webkit_web_view_new (); | 5815 return webkit_web_view_new (); |
7062 ; | 5816 ; |
7063 return 0; | 5817 return 0; |
7064 } | 5818 } |
7065 _ACEOF | 5819 _ACEOF |
7066 rm -f conftest.$ac_objext conftest$ac_exeext | 5820 if ac_fn_c_try_link "$LINENO"; then : |
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 | |
7084 eval "$as_ac_Lib=yes" | 5821 eval "$as_ac_Lib=yes" |
7085 else | 5822 else |
7086 echo "$as_me: failed program was:" >&5 | 5823 eval "$as_ac_Lib=no" |
7087 sed 's/^/| /' conftest.$ac_ext >&5 | 5824 fi |
7088 | 5825 rm -f core conftest.err conftest.$ac_objext \ |
7089 eval "$as_ac_Lib=no" | 5826 conftest$ac_exeext conftest.$ac_ext |
7090 fi | |
7091 | |
7092 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
7093 conftest$ac_exeext conftest.$ac_ext | |
7094 LIBS=$ac_check_lib_save_LIBS | 5827 LIBS=$ac_check_lib_save_LIBS |
7095 fi | 5828 fi |
7096 ac_res=`eval echo '${'$as_ac_Lib'}'` | 5829 eval ac_res=\$$as_ac_Lib |
7097 { echo "$as_me:$LINENO: result: $ac_res" >&5 | 5830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
7098 echo "${ECHO_T}$ac_res" >&6; } | 5831 $as_echo "$ac_res" >&6; } |
7099 if test `eval echo '${'$as_ac_Lib'}'` = yes; then | 5832 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : |
7100 cat >>confdefs.h <<\_ACEOF | 5833 $as_echo "#define USE_WEBKIT 1" >>confdefs.h |
7101 #define USE_WEBKIT 1 | |
7102 _ACEOF | |
7103 | 5834 |
7104 else | 5835 else |
7105 BROWSER_OBJECT="" | 5836 BROWSER_OBJECT="" |
7106 fi | 5837 fi |
7107 | 5838 |
7173 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do | 5904 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do |
7174 eval ac_val=\$$ac_var | 5905 eval ac_val=\$$ac_var |
7175 case $ac_val in #( | 5906 case $ac_val in #( |
7176 *${as_nl}*) | 5907 *${as_nl}*) |
7177 case $ac_var in #( | 5908 case $ac_var in #( |
7178 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 | 5909 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
7179 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; | 5910 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
7180 esac | 5911 esac |
7181 case $ac_var in #( | 5912 case $ac_var in #( |
7182 _ | IFS | as_nl) ;; #( | 5913 _ | IFS | as_nl) ;; #( |
7183 *) $as_unset $ac_var ;; | 5914 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
5915 *) { eval $ac_var=; unset $ac_var;} ;; | |
7184 esac ;; | 5916 esac ;; |
7185 esac | 5917 esac |
7186 done | 5918 done |
7187 | 5919 |
7188 (set) 2>&1 | | 5920 (set) 2>&1 | |
7189 case $as_nl`(ac_space=' '; set) 2>&1` in #( | 5921 case $as_nl`(ac_space=' '; set) 2>&1` in #( |
7190 *${as_nl}ac_space=\ *) | 5922 *${as_nl}ac_space=\ *) |
7191 # `set' does not quote correctly, so add quotes (double-quote | 5923 # `set' does not quote correctly, so add quotes: double-quote |
7192 # substitution turns \\\\ into \\, and sed turns \\ into \). | 5924 # substitution turns \\\\ into \\, and sed turns \\ into \. |
7193 sed -n \ | 5925 sed -n \ |
7194 "s/'/'\\\\''/g; | 5926 "s/'/'\\\\''/g; |
7195 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" | 5927 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
7196 ;; #( | 5928 ;; #( |
7197 *) | 5929 *) |
7209 t end | 5941 t end |
7210 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ | 5942 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
7211 :end' >>confcache | 5943 :end' >>confcache |
7212 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else | 5944 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
7213 if test -w "$cache_file"; then | 5945 if test -w "$cache_file"; then |
7214 test "x$cache_file" != "x/dev/null" && | 5946 if test "x$cache_file" != "x/dev/null"; then |
7215 { echo "$as_me:$LINENO: updating cache $cache_file" >&5 | 5947 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
7216 echo "$as_me: updating cache $cache_file" >&6;} | 5948 $as_echo "$as_me: updating cache $cache_file" >&6;} |
7217 cat confcache >$cache_file | 5949 if test ! -f "$cache_file" || test -h "$cache_file"; then |
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 | |
7218 else | 5961 else |
7219 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 | 5962 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
7220 echo "$as_me: not updating unwritable cache $cache_file" >&6;} | 5963 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
7221 fi | 5964 fi |
7222 fi | 5965 fi |
7223 rm -f confcache | 5966 rm -f confcache |
7224 | 5967 |
7225 test "x$prefix" = xNONE && prefix=$ac_default_prefix | 5968 test "x$prefix" = xNONE && prefix=$ac_default_prefix |
7228 | 5971 |
7229 DEFS=-DHAVE_CONFIG_H | 5972 DEFS=-DHAVE_CONFIG_H |
7230 | 5973 |
7231 ac_libobjs= | 5974 ac_libobjs= |
7232 ac_ltlibobjs= | 5975 ac_ltlibobjs= |
5976 U= | |
7233 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue | 5977 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
7234 # 1. Remove the extension, and $U if already installed. | 5978 # 1. Remove the extension, and $U if already installed. |
7235 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' | 5979 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
7236 ac_i=`echo "$ac_i" | sed "$ac_script"` | 5980 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` |
7237 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR | 5981 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
7238 # will be set to the directory where LIBOBJS objects are built. | 5982 # will be set to the directory where LIBOBJS objects are built. |
7239 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" | 5983 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" |
7240 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' | 5984 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' |
7241 done | 5985 done |
7242 LIBOBJS=$ac_libobjs | 5986 LIBOBJS=$ac_libobjs |
7243 | 5987 |
7244 LTLIBOBJS=$ac_ltlibobjs | 5988 LTLIBOBJS=$ac_ltlibobjs |
7245 | 5989 |
7246 | 5990 |
7247 | 5991 |
7248 : ${CONFIG_STATUS=./config.status} | 5992 : "${CONFIG_STATUS=./config.status}" |
5993 ac_write_fail=0 | |
7249 ac_clean_files_save=$ac_clean_files | 5994 ac_clean_files_save=$ac_clean_files |
7250 ac_clean_files="$ac_clean_files $CONFIG_STATUS" | 5995 ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
7251 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 | 5996 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 |
7252 echo "$as_me: creating $CONFIG_STATUS" >&6;} | 5997 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} |
7253 cat >$CONFIG_STATUS <<_ACEOF | 5998 as_write_fail=0 |
5999 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 | |
7254 #! $SHELL | 6000 #! $SHELL |
7255 # Generated by $as_me. | 6001 # Generated by $as_me. |
7256 # Run this file to recreate the current configuration. | 6002 # Run this file to recreate the current configuration. |
7257 # Compiler output produced by configure, useful for debugging | 6003 # Compiler output produced by configure, useful for debugging |
7258 # configure, is in config.log if it exists. | 6004 # configure, is in config.log if it exists. |
7259 | 6005 |
7260 debug=false | 6006 debug=false |
7261 ac_cs_recheck=false | 6007 ac_cs_recheck=false |
7262 ac_cs_silent=false | 6008 ac_cs_silent=false |
6009 | |
7263 SHELL=\${CONFIG_SHELL-$SHELL} | 6010 SHELL=\${CONFIG_SHELL-$SHELL} |
7264 _ACEOF | 6011 export SHELL |
7265 | 6012 _ASEOF |
7266 cat >>$CONFIG_STATUS <<\_ACEOF | 6013 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 |
7267 ## --------------------- ## | 6014 ## -------------------- ## |
7268 ## M4sh Initialization. ## | 6015 ## M4sh Initialization. ## |
7269 ## --------------------- ## | 6016 ## -------------------- ## |
7270 | 6017 |
7271 # Be more Bourne compatible | 6018 # Be more Bourne compatible |
7272 DUALCASE=1; export DUALCASE # for MKS sh | 6019 DUALCASE=1; export DUALCASE # for MKS sh |
7273 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | 6020 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : |
7274 emulate sh | 6021 emulate sh |
7275 NULLCMD=: | 6022 NULLCMD=: |
7276 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which | 6023 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
7277 # is contrary to our usage. Disable this feature. | 6024 # is contrary to our usage. Disable this feature. |
7278 alias -g '${1+"$@"}'='"$@"' | 6025 alias -g '${1+"$@"}'='"$@"' |
7279 setopt NO_GLOB_SUBST | 6026 setopt NO_GLOB_SUBST |
7280 else | 6027 else |
7281 case `(set -o) 2>/dev/null` in | 6028 case `(set -o) 2>/dev/null` in #( |
7282 *posix*) set -o posix ;; | 6029 *posix*) : |
6030 set -o posix ;; #( | |
6031 *) : | |
6032 ;; | |
7283 esac | 6033 esac |
7284 | 6034 fi |
7285 fi | 6035 |
7286 | 6036 |
7287 | 6037 as_nl=' |
7288 | 6038 ' |
7289 | 6039 export as_nl |
7290 # PATH needs CR | 6040 # Printing a long string crashes Solaris 7 /usr/bin/printf. |
7291 # Avoid depending upon Character Ranges. | 6041 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
7292 as_cr_letters='abcdefghijklmnopqrstuvwxyz' | 6042 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
7293 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | 6043 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
7294 as_cr_Letters=$as_cr_letters$as_cr_LETTERS | 6044 # Prefer a ksh shell builtin over an external printf program on Solaris, |
7295 as_cr_digits='0123456789' | 6045 # but without wasting forks for bash or zsh. |
7296 as_cr_alnum=$as_cr_Letters$as_cr_digits | 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 | |
7297 | 6074 |
7298 # The user is always right. | 6075 # The user is always right. |
7299 if test "${PATH_SEPARATOR+set}" != set; then | 6076 if test "${PATH_SEPARATOR+set}" != set; then |
7300 echo "#! /bin/sh" >conf$$.sh | 6077 PATH_SEPARATOR=: |
7301 echo "exit 0" >>conf$$.sh | 6078 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
7302 chmod +x conf$$.sh | 6079 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
7303 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then | 6080 PATH_SEPARATOR=';' |
7304 PATH_SEPARATOR=';' | 6081 } |
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 | |
7316 fi | 6082 fi |
7317 | 6083 |
7318 | 6084 |
7319 # IFS | 6085 # IFS |
7320 # We need space, tab and new line, in precisely that order. Quoting is | 6086 # We need space, tab and new line, in precisely that order. Quoting is |
7321 # there to prevent editors from complaining about space-tab. | 6087 # there to prevent editors from complaining about space-tab. |
7322 # (If _AS_PATH_WALK were called with IFS unset, it would disable word | 6088 # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
7323 # splitting by setting IFS to empty value.) | 6089 # splitting by setting IFS to empty value.) |
7324 as_nl=' | |
7325 ' | |
7326 IFS=" "" $as_nl" | 6090 IFS=" "" $as_nl" |
7327 | 6091 |
7328 # Find who we are. Look in the path if we contain no directory separator. | 6092 # Find who we are. Look in the path if we contain no directory separator. |
7329 case $0 in | 6093 as_myself= |
6094 case $0 in #(( | |
7330 *[\\/]* ) as_myself=$0 ;; | 6095 *[\\/]* ) as_myself=$0 ;; |
7331 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 6096 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
7332 for as_dir in $PATH | 6097 for as_dir in $PATH |
7333 do | 6098 do |
7334 IFS=$as_save_IFS | 6099 IFS=$as_save_IFS |
7335 test -z "$as_dir" && as_dir=. | 6100 test -z "$as_dir" && as_dir=. |
7336 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | 6101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
7337 done | 6102 done |
7338 IFS=$as_save_IFS | 6103 IFS=$as_save_IFS |
7339 | 6104 |
7340 ;; | 6105 ;; |
7341 esac | 6106 esac |
7342 # We did not find ourselves, most probably we were run as `sh COMMAND' | 6107 # We did not find ourselves, most probably we were run as `sh COMMAND' |
7343 # in which case we are not to be found in the path. | 6108 # in which case we are not to be found in the path. |
7344 if test "x$as_myself" = x; then | 6109 if test "x$as_myself" = x; then |
7345 as_myself=$0 | 6110 as_myself=$0 |
7346 fi | 6111 fi |
7347 if test ! -f "$as_myself"; then | 6112 if test ! -f "$as_myself"; then |
7348 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 | 6113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
7349 { (exit 1); exit 1; } | 6114 exit 1 |
7350 fi | 6115 fi |
7351 | 6116 |
7352 # Work around bugs in pre-3.0 UWIN ksh. | 6117 # Unset variables that we do not need and which cause bugs (e.g. in |
7353 for as_var in ENV MAIL MAILPATH | 6118 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" |
7354 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var | 6119 # suppresses any "Segmentation fault" message there. '((' could |
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 || : | |
7355 done | 6124 done |
7356 PS1='$ ' | 6125 PS1='$ ' |
7357 PS2='> ' | 6126 PS2='> ' |
7358 PS4='+ ' | 6127 PS4='+ ' |
7359 | 6128 |
7360 # NLS nuisances. | 6129 # NLS nuisances. |
7361 for as_var in \ | 6130 LC_ALL=C |
7362 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ | 6131 export LC_ALL |
7363 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ | 6132 LANGUAGE=C |
7364 LC_TELEPHONE LC_TIME | 6133 export LANGUAGE |
7365 do | 6134 |
7366 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then | 6135 # CDPATH. |
7367 eval $as_var=C; export $as_var | 6136 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
7368 else | 6137 |
7369 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var | 6138 |
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 | |
7370 fi | 6150 fi |
7371 done | 6151 $as_echo "$as_me: error: $2" >&2 |
7372 | 6152 as_fn_exit $as_status |
7373 # Required to use basename. | 6153 } # as_fn_error |
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 | |
7374 if expr a : '\(a\)' >/dev/null 2>&1 && | 6218 if expr a : '\(a\)' >/dev/null 2>&1 && |
7375 test "X`expr 00001 : '.*\(...\)'`" = X001; then | 6219 test "X`expr 00001 : '.*\(...\)'`" = X001; then |
7376 as_expr=expr | 6220 as_expr=expr |
7377 else | 6221 else |
7378 as_expr=false | 6222 as_expr=false |
7382 as_basename=basename | 6226 as_basename=basename |
7383 else | 6227 else |
7384 as_basename=false | 6228 as_basename=false |
7385 fi | 6229 fi |
7386 | 6230 |
7387 | 6231 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
7388 # Name of the executable. | 6232 as_dirname=dirname |
6233 else | |
6234 as_dirname=false | |
6235 fi | |
6236 | |
7389 as_me=`$as_basename -- "$0" || | 6237 as_me=`$as_basename -- "$0" || |
7390 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | 6238 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
7391 X"$0" : 'X\(//\)$' \| \ | 6239 X"$0" : 'X\(//\)$' \| \ |
7392 X"$0" : 'X\(/\)' \| . 2>/dev/null || | 6240 X"$0" : 'X\(/\)' \| . 2>/dev/null || |
7393 echo X/"$0" | | 6241 $as_echo X/"$0" | |
7394 sed '/^.*\/\([^/][^/]*\)\/*$/{ | 6242 sed '/^.*\/\([^/][^/]*\)\/*$/{ |
7395 s//\1/ | 6243 s//\1/ |
7396 q | 6244 q |
7397 } | 6245 } |
7398 /^X\/\(\/\/\)$/{ | 6246 /^X\/\(\/\/\)$/{ |
7403 s//\1/ | 6251 s//\1/ |
7404 q | 6252 q |
7405 } | 6253 } |
7406 s/.*/./; q'` | 6254 s/.*/./; q'` |
7407 | 6255 |
7408 # CDPATH. | 6256 # Avoid depending upon Character Ranges. |
7409 $as_unset CDPATH | 6257 as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
7410 | 6258 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
7411 | 6259 as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
7412 | 6260 as_cr_digits='0123456789' |
7413 as_lineno_1=$LINENO | 6261 as_cr_alnum=$as_cr_Letters$as_cr_digits |
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 | |
7461 | 6262 |
7462 ECHO_C= ECHO_N= ECHO_T= | 6263 ECHO_C= ECHO_N= ECHO_T= |
7463 case `echo -n x` in | 6264 case `echo -n x` in #((((( |
7464 -n*) | 6265 -n*) |
7465 case `echo 'x\c'` in | 6266 case `echo 'xy\c'` in |
7466 *c*) ECHO_T=' ';; # ECHO_T is single tab character. | 6267 *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
7467 *) ECHO_C='\c';; | 6268 xy) ECHO_C='\c';; |
6269 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null | |
6270 ECHO_T=' ';; | |
7468 esac;; | 6271 esac;; |
7469 *) | 6272 *) |
7470 ECHO_N='-n';; | 6273 ECHO_N='-n';; |
7471 esac | 6274 esac |
7472 | 6275 |
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 | |
7480 rm -f conf$$ conf$$.exe conf$$.file | 6276 rm -f conf$$ conf$$.exe conf$$.file |
7481 if test -d conf$$.dir; then | 6277 if test -d conf$$.dir; then |
7482 rm -f conf$$.dir/conf$$.file | 6278 rm -f conf$$.dir/conf$$.file |
7483 else | 6279 else |
7484 rm -f conf$$.dir | 6280 rm -f conf$$.dir |
7485 mkdir conf$$.dir | 6281 mkdir conf$$.dir 2>/dev/null |
7486 fi | 6282 fi |
7487 echo >conf$$.file | 6283 if (echo >conf$$.file) 2>/dev/null; then |
7488 if ln -s conf$$.file conf$$ 2>/dev/null; then | 6284 if ln -s conf$$.file conf$$ 2>/dev/null; then |
7489 as_ln_s='ln -s' | 6285 as_ln_s='ln -s' |
7490 # ... but there are two gotchas: | 6286 # ... but there are two gotchas: |
7491 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. | 6287 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
7492 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. | 6288 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
7493 # In both cases, we have to default to `cp -p'. | 6289 # In both cases, we have to default to `cp -p'. |
7494 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || | 6290 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 | |
7495 as_ln_s='cp -p' | 6295 as_ln_s='cp -p' |
7496 elif ln conf$$.file conf$$ 2>/dev/null; then | 6296 fi |
7497 as_ln_s=ln | |
7498 else | 6297 else |
7499 as_ln_s='cp -p' | 6298 as_ln_s='cp -p' |
7500 fi | 6299 fi |
7501 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file | 6300 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
7502 rmdir conf$$.dir 2>/dev/null | 6301 rmdir conf$$.dir 2>/dev/null |
7503 | 6302 |
7504 if mkdir -p . 2>/dev/null; then | 6303 |
7505 as_mkdir_p=: | 6304 # as_fn_mkdir_p |
7506 else | 6305 # ------------- |
7507 test -d ./-p && rmdir ./-p | 6306 # Create "$as_dir" as a directory, including parents if necessary. |
7508 as_mkdir_p=false | 6307 as_fn_mkdir_p () |
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 | |
7686 { | 6308 { |
7687 echo | 6309 |
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" | |
8058 case $as_dir in #( | 6310 case $as_dir in #( |
8059 -*) as_dir=./$as_dir;; | 6311 -*) as_dir=./$as_dir;; |
8060 esac | 6312 esac |
8061 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { | 6313 test -d "$as_dir" || eval $as_mkdir_p || { |
8062 as_dirs= | 6314 as_dirs= |
8063 while :; do | 6315 while :; do |
8064 case $as_dir in #( | 6316 case $as_dir in #( |
8065 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( | 6317 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
8066 *) as_qdir=$as_dir;; | 6318 *) as_qdir=$as_dir;; |
8067 esac | 6319 esac |
8068 as_dirs="'$as_qdir' $as_dirs" | 6320 as_dirs="'$as_qdir' $as_dirs" |
8069 as_dir=`$as_dirname -- "$as_dir" || | 6321 as_dir=`$as_dirname -- "$as_dir" || |
8070 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 6322 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
8071 X"$as_dir" : 'X\(//\)[^/]' \| \ | 6323 X"$as_dir" : 'X\(//\)[^/]' \| \ |
8072 X"$as_dir" : 'X\(//\)$' \| \ | 6324 X"$as_dir" : 'X\(//\)$' \| \ |
8073 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || | 6325 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
8074 echo X"$as_dir" | | 6326 $as_echo X"$as_dir" | |
8075 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | 6327 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
8076 s//\1/ | 6328 s//\1/ |
8077 q | 6329 q |
8078 } | 6330 } |
8079 /^X\(\/\/\)[^/].*/{ | 6331 /^X\(\/\/\)[^/].*/{ |
8090 } | 6342 } |
8091 s/.*/./; q'` | 6343 s/.*/./; q'` |
8092 test -d "$as_dir" && break | 6344 test -d "$as_dir" && break |
8093 done | 6345 done |
8094 test -z "$as_dirs" || eval "mkdir $as_dirs" | 6346 test -z "$as_dirs" || eval "mkdir $as_dirs" |
8095 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 | 6347 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
8096 echo "$as_me: error: cannot create directory $as_dir" >&2;} | 6348 |
8097 { (exit 1); exit 1; }; }; } | 6349 |
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 | |
8098 ac_builddir=. | 6989 ac_builddir=. |
8099 | 6990 |
8100 case "$ac_dir" in | 6991 case "$ac_dir" in |
8101 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; | 6992 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
8102 *) | 6993 *) |
8103 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` | 6994 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
8104 # A ".." for each directory in $ac_dir_suffix. | 6995 # A ".." for each directory in $ac_dir_suffix. |
8105 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` | 6996 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
8106 case $ac_top_builddir_sub in | 6997 case $ac_top_builddir_sub in |
8107 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; | 6998 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
8108 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; | 6999 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
8109 esac ;; | 7000 esac ;; |
8110 esac | 7001 esac |
8144 | 7035 |
8145 | 7036 |
8146 # Neutralize VPATH when `$srcdir' = `.'. | 7037 # Neutralize VPATH when `$srcdir' = `.'. |
8147 # Shell code in configure.ac might set extrasub. | 7038 # Shell code in configure.ac might set extrasub. |
8148 # FIXME: do we really want to maintain this feature? | 7039 # FIXME: do we really want to maintain this feature? |
8149 cat >>$CONFIG_STATUS <<_ACEOF | 7040 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
8150 sed "$ac_vpsub | 7041 ac_sed_extra="$ac_vpsub |
8151 $extrasub | 7042 $extrasub |
8152 _ACEOF | 7043 _ACEOF |
8153 cat >>$CONFIG_STATUS <<\_ACEOF | 7044 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
8154 :t | 7045 :t |
8155 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b | 7046 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
8156 s&@configure_input@&$configure_input&;t t | 7047 s|@configure_input@|$ac_sed_conf_input|;t t |
8157 s&@top_builddir@&$ac_top_builddir_sub&;t t | 7048 s&@top_builddir@&$ac_top_builddir_sub&;t t |
7049 s&@top_build_prefix@&$ac_top_build_prefix&;t t | |
8158 s&@srcdir@&$ac_srcdir&;t t | 7050 s&@srcdir@&$ac_srcdir&;t t |
8159 s&@abs_srcdir@&$ac_abs_srcdir&;t t | 7051 s&@abs_srcdir@&$ac_abs_srcdir&;t t |
8160 s&@top_srcdir@&$ac_top_srcdir&;t t | 7052 s&@top_srcdir@&$ac_top_srcdir&;t t |
8161 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t | 7053 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t |
8162 s&@builddir@&$ac_builddir&;t t | 7054 s&@builddir@&$ac_builddir&;t t |
8163 s&@abs_builddir@&$ac_abs_builddir&;t t | 7055 s&@abs_builddir@&$ac_abs_builddir&;t t |
8164 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t | 7056 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
8165 s&@INSTALL@&$ac_INSTALL&;t t | 7057 s&@INSTALL@&$ac_INSTALL&;t t |
8166 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out | 7058 " |
8167 | 7059 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ |
8168 | 7060 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
8169 rm -f "$tmp/stdin" | 7061 |
7062 | |
7063 rm -f "$ac_tmp/stdin" | |
8170 case $ac_file in | 7064 case $ac_file in |
8171 -) cat "$tmp/out"; rm -f "$tmp/out";; | 7065 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; |
8172 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; | 7066 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; |
8173 esac | 7067 esac \ |
7068 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 | |
8174 ;; | 7069 ;; |
8175 :H) | 7070 :H) |
8176 # | 7071 # |
8177 # CONFIG_HEADER | 7072 # CONFIG_HEADER |
8178 # | 7073 # |
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 | |
8257 if test x"$ac_file" != x-; then | 7074 if test x"$ac_file" != x-; then |
8258 echo "/* $configure_input */" >"$tmp/config.h" | 7075 { |
8259 cat "$ac_result" >>"$tmp/config.h" | 7076 $as_echo "/* $configure_input */" \ |
8260 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then | 7077 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" |
8261 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 | 7078 } >"$ac_tmp/config.h" \ |
8262 echo "$as_me: $ac_file is unchanged" >&6;} | 7079 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
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;} | |
8263 else | 7083 else |
8264 rm -f $ac_file | 7084 rm -f "$ac_file" |
8265 mv "$tmp/config.h" $ac_file | 7085 mv "$ac_tmp/config.h" "$ac_file" \ |
7086 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 | |
8266 fi | 7087 fi |
8267 else | 7088 else |
8268 echo "/* $configure_input */" | 7089 $as_echo "/* $configure_input */" \ |
8269 cat "$ac_result" | 7090 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ |
7091 || as_fn_error $? "could not create -" "$LINENO" 5 | |
8270 fi | 7092 fi |
8271 rm -f "$tmp/out12" | |
8272 ;; | 7093 ;; |
8273 | 7094 |
8274 | 7095 |
8275 esac | 7096 esac |
8276 | 7097 |
8277 done # for ac_tag | 7098 done # for ac_tag |
8278 | 7099 |
8279 | 7100 |
8280 { (exit 0); exit 0; } | 7101 as_fn_exit 0 |
8281 _ACEOF | 7102 _ACEOF |
8282 chmod +x $CONFIG_STATUS | |
8283 ac_clean_files=$ac_clean_files_save | 7103 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 | |
8284 | 7107 |
8285 | 7108 |
8286 # configure is writing to config.log, and then calls config.status. | 7109 # configure is writing to config.log, and then calls config.status. |
8287 # config.status does its own redirection, appending to config.log. | 7110 # config.status does its own redirection, appending to config.log. |
8288 # Unfortunately, on DOS this fails, as config.log is still kept open | 7111 # Unfortunately, on DOS this fails, as config.log is still kept open |
8299 exec 5>/dev/null | 7122 exec 5>/dev/null |
8300 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false | 7123 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
8301 exec 5>>config.log | 7124 exec 5>>config.log |
8302 # Use ||, not &&, to avoid exiting from the if with $? = 1, which | 7125 # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
8303 # would make configure fail if this is the last instruction. | 7126 # would make configure fail if this is the last instruction. |
8304 $ac_cs_success || { (exit 1); exit 1; } | 7127 $ac_cs_success || as_fn_exit 1 |
8305 fi | 7128 fi |
8306 | 7129 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then |
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 |