Mercurial > dwindows
comparison configure @ 643:9ab89d89e6b4
Add dw_listview_insert()
Default to using webkit for Gtk+ HTML widget
Add option to build with libgtkhtml2 - incomplete
Initial attempt to use customdraw for Win32 container - not working
Added dw_window_get_font() for Gtk+ - not implemented in other ports yet
Change package name from dw to dwindows for Linux ports - use dwindows-config now
Add debian package build target
author | mhessling@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Sun, 03 Oct 2010 00:34:36 +0000 |
parents | 06be879f5137 |
children | 903a8f7bcb7c |
comparison
equal
deleted
inserted
replaced
642:fda03b13ebda | 643:9ab89d89e6b4 |
---|---|
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.64. |
4 # | 4 # |
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, | 5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. | 6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software |
7 # Foundation, Inc. | |
8 # | |
7 # This configure script is free software; the Free Software Foundation | 9 # This configure script is free software; the Free Software Foundation |
8 # gives unlimited permission to copy, distribute and modify it. | 10 # gives unlimited permission to copy, distribute and modify it. |
9 ## --------------------- ## | 11 ## -------------------- ## |
10 ## M4sh Initialization. ## | 12 ## M4sh Initialization. ## |
11 ## --------------------- ## | 13 ## -------------------- ## |
12 | 14 |
13 # Be more Bourne compatible | 15 # Be more Bourne compatible |
14 DUALCASE=1; export DUALCASE # for MKS sh | 16 DUALCASE=1; export DUALCASE # for MKS sh |
15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | 17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : |
16 emulate sh | 18 emulate sh |
17 NULLCMD=: | 19 NULLCMD=: |
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which | 20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
19 # is contrary to our usage. Disable this feature. | 21 # is contrary to our usage. Disable this feature. |
20 alias -g '${1+"$@"}'='"$@"' | 22 alias -g '${1+"$@"}'='"$@"' |
21 setopt NO_GLOB_SUBST | 23 setopt NO_GLOB_SUBST |
22 else | 24 else |
23 case `(set -o) 2>/dev/null` in | 25 case `(set -o) 2>/dev/null` in #( |
24 *posix*) set -o posix ;; | 26 *posix*) : |
27 set -o posix ;; #( | |
28 *) : | |
29 ;; | |
25 esac | 30 esac |
26 | 31 fi |
27 fi | 32 |
28 | 33 |
29 | 34 as_nl=' |
30 | 35 ' |
31 | 36 export as_nl |
32 # PATH needs CR | 37 # Printing a long string crashes Solaris 7 /usr/bin/printf. |
33 # Avoid depending upon Character Ranges. | 38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
34 as_cr_letters='abcdefghijklmnopqrstuvwxyz' | 39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
35 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | 40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
36 as_cr_Letters=$as_cr_letters$as_cr_LETTERS | 41 # Prefer a ksh shell builtin over an external printf program on Solaris, |
37 as_cr_digits='0123456789' | 42 # but without wasting forks for bash or zsh. |
38 as_cr_alnum=$as_cr_Letters$as_cr_digits | 43 if test -z "$BASH_VERSION$ZSH_VERSION" \ |
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then | |
45 as_echo='print -r --' | |
46 as_echo_n='print -rn --' | |
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then | |
48 as_echo='printf %s\n' | |
49 as_echo_n='printf %s' | |
50 else | |
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then | |
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' | |
53 as_echo_n='/usr/ucb/echo -n' | |
54 else | |
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' | |
56 as_echo_n_body='eval | |
57 arg=$1; | |
58 case $arg in #( | |
59 *"$as_nl"*) | |
60 expr "X$arg" : "X\\(.*\\)$as_nl"; | |
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; | |
62 esac; | |
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" | |
64 ' | |
65 export as_echo_n_body | |
66 as_echo_n='sh -c $as_echo_n_body as_echo' | |
67 fi | |
68 export as_echo_body | |
69 as_echo='sh -c $as_echo_body as_echo' | |
70 fi | |
39 | 71 |
40 # The user is always right. | 72 # The user is always right. |
41 if test "${PATH_SEPARATOR+set}" != set; then | 73 if test "${PATH_SEPARATOR+set}" != set; then |
42 echo "#! /bin/sh" >conf$$.sh | 74 PATH_SEPARATOR=: |
43 echo "exit 0" >>conf$$.sh | 75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
44 chmod +x conf$$.sh | 76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
45 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then | 77 PATH_SEPARATOR=';' |
46 PATH_SEPARATOR=';' | 78 } |
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 | 79 fi |
59 | 80 |
60 | 81 |
61 # IFS | 82 # IFS |
62 # We need space, tab and new line, in precisely that order. Quoting is | 83 # We need space, tab and new line, in precisely that order. Quoting is |
63 # there to prevent editors from complaining about space-tab. | 84 # there to prevent editors from complaining about space-tab. |
64 # (If _AS_PATH_WALK were called with IFS unset, it would disable word | 85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
65 # splitting by setting IFS to empty value.) | 86 # splitting by setting IFS to empty value.) |
66 as_nl=' | |
67 ' | |
68 IFS=" "" $as_nl" | 87 IFS=" "" $as_nl" |
69 | 88 |
70 # Find who we are. Look in the path if we contain no directory separator. | 89 # Find who we are. Look in the path if we contain no directory separator. |
71 case $0 in | 90 case $0 in #(( |
72 *[\\/]* ) as_myself=$0 ;; | 91 *[\\/]* ) as_myself=$0 ;; |
73 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
74 for as_dir in $PATH | 93 for as_dir in $PATH |
75 do | 94 do |
76 IFS=$as_save_IFS | 95 IFS=$as_save_IFS |
77 test -z "$as_dir" && as_dir=. | 96 test -z "$as_dir" && as_dir=. |
78 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | 97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
79 done | 98 done |
80 IFS=$as_save_IFS | 99 IFS=$as_save_IFS |
81 | 100 |
82 ;; | 101 ;; |
83 esac | 102 esac |
84 # We did not find ourselves, most probably we were run as `sh COMMAND' | 103 # 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. | 104 # in which case we are not to be found in the path. |
86 if test "x$as_myself" = x; then | 105 if test "x$as_myself" = x; then |
87 as_myself=$0 | 106 as_myself=$0 |
88 fi | 107 fi |
89 if test ! -f "$as_myself"; then | 108 if test ! -f "$as_myself"; then |
90 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 | 109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
91 { (exit 1); exit 1; } | 110 exit 1 |
92 fi | 111 fi |
93 | 112 |
94 # Work around bugs in pre-3.0 UWIN ksh. | 113 # Unset variables that we do not need and which cause bugs (e.g. in |
95 for as_var in ENV MAIL MAILPATH | 114 # 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 | 115 # suppresses any "Segmentation fault" message there. '((' could |
116 # trigger a bug in pdksh 5.2.14. | |
117 for as_var in BASH_ENV ENV MAIL MAILPATH | |
118 do eval test x\${$as_var+set} = xset \ | |
119 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : | |
97 done | 120 done |
98 PS1='$ ' | 121 PS1='$ ' |
99 PS2='> ' | 122 PS2='> ' |
100 PS4='+ ' | 123 PS4='+ ' |
101 | 124 |
102 # NLS nuisances. | 125 # NLS nuisances. |
103 for as_var in \ | 126 LC_ALL=C |
104 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ | 127 export LC_ALL |
105 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ | 128 LANGUAGE=C |
106 LC_TELEPHONE LC_TIME | 129 export LANGUAGE |
130 | |
131 # CDPATH. | |
132 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH | |
133 | |
134 if test "x$CONFIG_SHELL" = x; then | |
135 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : | |
136 emulate sh | |
137 NULLCMD=: | |
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which | |
139 # is contrary to our usage. Disable this feature. | |
140 alias -g '\${1+\"\$@\"}'='\"\$@\"' | |
141 setopt NO_GLOB_SUBST | |
142 else | |
143 case \`(set -o) 2>/dev/null\` in #( | |
144 *posix*) : | |
145 set -o posix ;; #( | |
146 *) : | |
147 ;; | |
148 esac | |
149 fi | |
150 " | |
151 as_required="as_fn_return () { (exit \$1); } | |
152 as_fn_success () { as_fn_return 0; } | |
153 as_fn_failure () { as_fn_return 1; } | |
154 as_fn_ret_success () { return 0; } | |
155 as_fn_ret_failure () { return 1; } | |
156 | |
157 exitcode=0 | |
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; } | |
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } | |
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } | |
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } | |
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : | |
163 | |
164 else | |
165 exitcode=1; echo positional parameters were not saved. | |
166 fi | |
167 test x\$exitcode = x0 || exit 1" | |
168 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO | |
169 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO | |
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && | |
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 | |
172 test \$(( 1 + 1 )) = 2 || exit 1" | |
173 if (eval "$as_required") 2>/dev/null; then : | |
174 as_have_required=yes | |
175 else | |
176 as_have_required=no | |
177 fi | |
178 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : | |
179 | |
180 else | |
181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
182 as_found=false | |
183 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH | |
107 do | 184 do |
108 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then | 185 IFS=$as_save_IFS |
109 eval $as_var=C; export $as_var | 186 test -z "$as_dir" && as_dir=. |
187 as_found=: | |
188 case $as_dir in #( | |
189 /*) | |
190 for as_base in sh bash ksh sh5; do | |
191 # Try only shells that exist, to save several forks. | |
192 as_shell=$as_dir/$as_base | |
193 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && | |
194 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : | |
195 CONFIG_SHELL=$as_shell as_have_required=yes | |
196 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : | |
197 break 2 | |
198 fi | |
199 fi | |
200 done;; | |
201 esac | |
202 as_found=false | |
203 done | |
204 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && | |
205 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : | |
206 CONFIG_SHELL=$SHELL as_have_required=yes | |
207 fi; } | |
208 IFS=$as_save_IFS | |
209 | |
210 | |
211 if test "x$CONFIG_SHELL" != x; then : | |
212 # We cannot yet assume a decent shell, so we have to provide a | |
213 # neutralization value for shells without unset; and this also | |
214 # works around shells that cannot unset nonexistent variables. | |
215 BASH_ENV=/dev/null | |
216 ENV=/dev/null | |
217 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV | |
218 export CONFIG_SHELL | |
219 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} | |
220 fi | |
221 | |
222 if test x$as_have_required = xno; then : | |
223 $as_echo "$0: This script requires a shell more modern than all" | |
224 $as_echo "$0: the shells that I found on your system." | |
225 if test x${ZSH_VERSION+set} = xset ; then | |
226 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" | |
227 $as_echo "$0: be upgraded to zsh 4.3.4 or later." | |
110 else | 228 else |
111 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var | 229 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, |
230 $0: including any error possibly output before this | |
231 $0: message. Then install a modern shell, or manually run | |
232 $0: the script under such a shell if you do have one." | |
112 fi | 233 fi |
113 done | 234 exit 1 |
114 | 235 fi |
115 # Required to use basename. | 236 fi |
237 fi | |
238 SHELL=${CONFIG_SHELL-/bin/sh} | |
239 export SHELL | |
240 # Unset more variables known to interfere with behavior of common tools. | |
241 CLICOLOR_FORCE= GREP_OPTIONS= | |
242 unset CLICOLOR_FORCE GREP_OPTIONS | |
243 | |
244 ## --------------------- ## | |
245 ## M4sh Shell Functions. ## | |
246 ## --------------------- ## | |
247 # as_fn_unset VAR | |
248 # --------------- | |
249 # Portably unset VAR. | |
250 as_fn_unset () | |
251 { | |
252 { eval $1=; unset $1;} | |
253 } | |
254 as_unset=as_fn_unset | |
255 | |
256 # as_fn_set_status STATUS | |
257 # ----------------------- | |
258 # Set $? to STATUS, without forking. | |
259 as_fn_set_status () | |
260 { | |
261 return $1 | |
262 } # as_fn_set_status | |
263 | |
264 # as_fn_exit STATUS | |
265 # ----------------- | |
266 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. | |
267 as_fn_exit () | |
268 { | |
269 set +e | |
270 as_fn_set_status $1 | |
271 exit $1 | |
272 } # as_fn_exit | |
273 | |
274 # as_fn_mkdir_p | |
275 # ------------- | |
276 # Create "$as_dir" as a directory, including parents if necessary. | |
277 as_fn_mkdir_p () | |
278 { | |
279 | |
280 case $as_dir in #( | |
281 -*) as_dir=./$as_dir;; | |
282 esac | |
283 test -d "$as_dir" || eval $as_mkdir_p || { | |
284 as_dirs= | |
285 while :; do | |
286 case $as_dir in #( | |
287 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( | |
288 *) as_qdir=$as_dir;; | |
289 esac | |
290 as_dirs="'$as_qdir' $as_dirs" | |
291 as_dir=`$as_dirname -- "$as_dir" || | |
292 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
293 X"$as_dir" : 'X\(//\)[^/]' \| \ | |
294 X"$as_dir" : 'X\(//\)$' \| \ | |
295 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || | |
296 $as_echo X"$as_dir" | | |
297 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
298 s//\1/ | |
299 q | |
300 } | |
301 /^X\(\/\/\)[^/].*/{ | |
302 s//\1/ | |
303 q | |
304 } | |
305 /^X\(\/\/\)$/{ | |
306 s//\1/ | |
307 q | |
308 } | |
309 /^X\(\/\).*/{ | |
310 s//\1/ | |
311 q | |
312 } | |
313 s/.*/./; q'` | |
314 test -d "$as_dir" && break | |
315 done | |
316 test -z "$as_dirs" || eval "mkdir $as_dirs" | |
317 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" | |
318 | |
319 | |
320 } # as_fn_mkdir_p | |
321 # as_fn_append VAR VALUE | |
322 # ---------------------- | |
323 # Append the text in VALUE to the end of the definition contained in VAR. Take | |
324 # advantage of any shell optimizations that allow amortized linear growth over | |
325 # repeated appends, instead of the typical quadratic growth present in naive | |
326 # implementations. | |
327 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : | |
328 eval 'as_fn_append () | |
329 { | |
330 eval $1+=\$2 | |
331 }' | |
332 else | |
333 as_fn_append () | |
334 { | |
335 eval $1=\$$1\$2 | |
336 } | |
337 fi # as_fn_append | |
338 | |
339 # as_fn_arith ARG... | |
340 # ------------------ | |
341 # Perform arithmetic evaluation on the ARGs, and store the result in the | |
342 # global $as_val. Take advantage of shells that can avoid forks. The arguments | |
343 # must be portable across $(()) and expr. | |
344 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : | |
345 eval 'as_fn_arith () | |
346 { | |
347 as_val=$(( $* )) | |
348 }' | |
349 else | |
350 as_fn_arith () | |
351 { | |
352 as_val=`expr "$@" || test $? -eq 1` | |
353 } | |
354 fi # as_fn_arith | |
355 | |
356 | |
357 # as_fn_error ERROR [LINENO LOG_FD] | |
358 # --------------------------------- | |
359 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are | |
360 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the | |
361 # script with status $?, using 1 if that was 0. | |
362 as_fn_error () | |
363 { | |
364 as_status=$?; test $as_status -eq 0 && as_status=1 | |
365 if test "$3"; then | |
366 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
367 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 | |
368 fi | |
369 $as_echo "$as_me: error: $1" >&2 | |
370 as_fn_exit $as_status | |
371 } # as_fn_error | |
372 | |
116 if expr a : '\(a\)' >/dev/null 2>&1 && | 373 if expr a : '\(a\)' >/dev/null 2>&1 && |
117 test "X`expr 00001 : '.*\(...\)'`" = X001; then | 374 test "X`expr 00001 : '.*\(...\)'`" = X001; then |
118 as_expr=expr | 375 as_expr=expr |
119 else | 376 else |
120 as_expr=false | 377 as_expr=false |
124 as_basename=basename | 381 as_basename=basename |
125 else | 382 else |
126 as_basename=false | 383 as_basename=false |
127 fi | 384 fi |
128 | 385 |
129 | 386 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
130 # Name of the executable. | 387 as_dirname=dirname |
388 else | |
389 as_dirname=false | |
390 fi | |
391 | |
131 as_me=`$as_basename -- "$0" || | 392 as_me=`$as_basename -- "$0" || |
132 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | 393 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
133 X"$0" : 'X\(//\)$' \| \ | 394 X"$0" : 'X\(//\)$' \| \ |
134 X"$0" : 'X\(/\)' \| . 2>/dev/null || | 395 X"$0" : 'X\(/\)' \| . 2>/dev/null || |
135 echo X/"$0" | | 396 $as_echo X/"$0" | |
136 sed '/^.*\/\([^/][^/]*\)\/*$/{ | 397 sed '/^.*\/\([^/][^/]*\)\/*$/{ |
137 s//\1/ | 398 s//\1/ |
138 q | 399 q |
139 } | 400 } |
140 /^X\/\(\/\/\)$/{ | 401 /^X\/\(\/\/\)$/{ |
145 s//\1/ | 406 s//\1/ |
146 q | 407 q |
147 } | 408 } |
148 s/.*/./; q'` | 409 s/.*/./; q'` |
149 | 410 |
150 # CDPATH. | 411 # Avoid depending upon Character Ranges. |
151 $as_unset CDPATH | 412 as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
152 | 413 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
153 | 414 as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
154 if test "x$CONFIG_SHELL" = x; then | 415 as_cr_digits='0123456789' |
155 if (eval ":") 2>/dev/null; then | 416 as_cr_alnum=$as_cr_Letters$as_cr_digits |
156 as_have_required=yes | 417 |
157 else | 418 |
158 as_have_required=no | 419 as_lineno_1=$LINENO as_lineno_1a=$LINENO |
159 fi | 420 as_lineno_2=$LINENO as_lineno_2a=$LINENO |
160 | 421 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && |
161 if test $as_have_required = yes && (eval ": | 422 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { |
162 (as_func_return () { | 423 # 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 ' | 424 sed -n ' |
439 p | 425 p |
440 /[$]LINENO/= | 426 /[$]LINENO/= |
441 ' <$as_myself | | 427 ' <$as_myself | |
442 sed ' | 428 sed ' |
449 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ | 435 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
450 t loop | 436 t loop |
451 s/-\n.*// | 437 s/-\n.*// |
452 ' >$as_me.lineno && | 438 ' >$as_me.lineno && |
453 chmod +x "$as_me.lineno" || | 439 chmod +x "$as_me.lineno" || |
454 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 | 440 { $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 | 441 |
457 # Don't try to exec as it changes $[0], causing all sort of problems | 442 # 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 | 443 # (the dirname of $[0] is not the place where we might find the |
459 # original and so on. Autoconf is especially sensitive to this). | 444 # original and so on. Autoconf is especially sensitive to this). |
460 . "./$as_me.lineno" | 445 . "./$as_me.lineno" |
461 # Exit status is that of the last command. | 446 # Exit status is that of the last command. |
462 exit | 447 exit |
463 } | 448 } |
464 | 449 |
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= | 450 ECHO_C= ECHO_N= ECHO_T= |
473 case `echo -n x` in | 451 case `echo -n x` in #((((( |
474 -n*) | 452 -n*) |
475 case `echo 'x\c'` in | 453 case `echo 'xy\c'` in |
476 *c*) ECHO_T=' ';; # ECHO_T is single tab character. | 454 *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
477 *) ECHO_C='\c';; | 455 xy) ECHO_C='\c';; |
456 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null | |
457 ECHO_T=' ';; | |
478 esac;; | 458 esac;; |
479 *) | 459 *) |
480 ECHO_N='-n';; | 460 ECHO_N='-n';; |
481 esac | 461 esac |
482 | 462 |
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 | 463 rm -f conf$$ conf$$.exe conf$$.file |
491 if test -d conf$$.dir; then | 464 if test -d conf$$.dir; then |
492 rm -f conf$$.dir/conf$$.file | 465 rm -f conf$$.dir/conf$$.file |
493 else | 466 else |
494 rm -f conf$$.dir | 467 rm -f conf$$.dir |
495 mkdir conf$$.dir | 468 mkdir conf$$.dir 2>/dev/null |
496 fi | 469 fi |
497 echo >conf$$.file | 470 if (echo >conf$$.file) 2>/dev/null; then |
498 if ln -s conf$$.file conf$$ 2>/dev/null; then | 471 if ln -s conf$$.file conf$$ 2>/dev/null; then |
499 as_ln_s='ln -s' | 472 as_ln_s='ln -s' |
500 # ... but there are two gotchas: | 473 # ... but there are two gotchas: |
501 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. | 474 # 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. | 475 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
503 # In both cases, we have to default to `cp -p'. | 476 # In both cases, we have to default to `cp -p'. |
504 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || | 477 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
478 as_ln_s='cp -p' | |
479 elif ln conf$$.file conf$$ 2>/dev/null; then | |
480 as_ln_s=ln | |
481 else | |
505 as_ln_s='cp -p' | 482 as_ln_s='cp -p' |
506 elif ln conf$$.file conf$$ 2>/dev/null; then | 483 fi |
507 as_ln_s=ln | |
508 else | 484 else |
509 as_ln_s='cp -p' | 485 as_ln_s='cp -p' |
510 fi | 486 fi |
511 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file | 487 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
512 rmdir conf$$.dir 2>/dev/null | 488 rmdir conf$$.dir 2>/dev/null |
513 | 489 |
514 if mkdir -p . 2>/dev/null; then | 490 if mkdir -p . 2>/dev/null; then |
515 as_mkdir_p=: | 491 as_mkdir_p='mkdir -p "$as_dir"' |
516 else | 492 else |
517 test -d ./-p && rmdir ./-p | 493 test -d ./-p && rmdir ./-p |
518 as_mkdir_p=false | 494 as_mkdir_p=false |
519 fi | 495 fi |
520 | 496 |
527 as_ls_L_option= | 503 as_ls_L_option= |
528 fi | 504 fi |
529 as_test_x=' | 505 as_test_x=' |
530 eval sh -c '\'' | 506 eval sh -c '\'' |
531 if test -d "$1"; then | 507 if test -d "$1"; then |
532 test -d "$1/."; | 508 test -d "$1/."; |
533 else | 509 else |
534 case $1 in | 510 case $1 in #( |
535 -*)set "./$1";; | 511 -*)set "./$1";; |
536 esac; | 512 esac; |
537 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in | 513 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( |
538 ???[sx]*):;;*)false;;esac;fi | 514 ???[sx]*):;;*)false;;esac;fi |
539 '\'' sh | 515 '\'' sh |
540 ' | 516 ' |
541 fi | 517 fi |
542 as_executable_p=$as_test_x | 518 as_executable_p=$as_test_x |
544 # Sed expression to map a string onto a valid CPP name. | 520 # Sed expression to map a string onto a valid CPP name. |
545 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" | 521 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
546 | 522 |
547 # Sed expression to map a string onto a valid variable name. | 523 # Sed expression to map a string onto a valid variable name. |
548 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | 524 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
549 | |
550 | 525 |
551 | 526 |
552 exec 7<&0 </dev/null 6>&1 | 527 exec 7<&0 </dev/null 6>&1 |
553 | 528 |
554 # Name of the host. | 529 # Name of the host. |
565 LIBOBJS= | 540 LIBOBJS= |
566 cross_compiling=no | 541 cross_compiling=no |
567 subdirs= | 542 subdirs= |
568 MFLAGS= | 543 MFLAGS= |
569 MAKEFLAGS= | 544 MAKEFLAGS= |
570 SHELL=${CONFIG_SHELL-/bin/sh} | |
571 | 545 |
572 # Identity of this package. | 546 # Identity of this package. |
573 PACKAGE_NAME= | 547 PACKAGE_NAME= |
574 PACKAGE_TARNAME= | 548 PACKAGE_TARNAME= |
575 PACKAGE_VERSION= | 549 PACKAGE_VERSION= |
576 PACKAGE_STRING= | 550 PACKAGE_STRING= |
577 PACKAGE_BUGREPORT= | 551 PACKAGE_BUGREPORT= |
552 PACKAGE_URL= | |
578 | 553 |
579 ac_unique_file="winmain.c" | 554 ac_unique_file="winmain.c" |
580 # Factoring default headers for most tests. | 555 # Factoring default headers for most tests. |
581 ac_includes_default="\ | 556 ac_includes_default="\ |
582 #include <stdio.h> | 557 #include <stdio.h> |
611 #endif | 586 #endif |
612 #ifdef HAVE_UNISTD_H | 587 #ifdef HAVE_UNISTD_H |
613 # include <unistd.h> | 588 # include <unistd.h> |
614 #endif" | 589 #endif" |
615 | 590 |
616 ac_subst_vars='SHELL | 591 ac_subst_vars='LTLIBOBJS |
592 LIBOBJS | |
593 ARCH | |
594 INSTALL_COMPAT | |
595 COMPAT_OBJECT | |
596 BROWSER_OBJECT | |
597 DW_DEFINE | |
598 DW_SRC | |
599 SONAME | |
600 SOSUFFIX | |
601 SHAREDFLAG | |
602 MKDIR | |
603 MV | |
604 CP | |
605 LN | |
606 RM | |
607 INCLUDES | |
608 GDK_IMLIB_LIBS | |
609 GDK_IMLIB_CFLAGS | |
610 IMLIB_CONFIG | |
611 GTK_LIBS | |
612 GTK_CFLAGS | |
613 GTK_CONFIG | |
614 GLIB_LIBS | |
615 GLIB_CFLAGS | |
616 GLIB_CONFIG | |
617 PKG_CFG | |
618 EGREP | |
619 GREP | |
620 CPP | |
621 SYSCONF_LINK_TARGET_SHARED2 | |
622 SYSCONF_LINK_TARGET_SHARED | |
623 INSTALL_DATA | |
624 INSTALL_SCRIPT | |
625 INSTALL_PROGRAM | |
626 MAKE | |
627 ac_ct_CXX | |
628 CXXFLAGS | |
629 CXX | |
630 OBJEXT | |
631 EXEEXT | |
632 ac_ct_CC | |
633 CPPFLAGS | |
634 LDFLAGS | |
635 CFLAGS | |
636 CC | |
637 DW_SUB_VERSION | |
638 DW_MINOR_VERSION | |
639 DW_MAJOR_VERSION | |
640 TARGET2 | |
641 TARGET | |
642 target_alias | |
643 host_alias | |
644 build_alias | |
645 LIBS | |
646 ECHO_T | |
647 ECHO_N | |
648 ECHO_C | |
649 DEFS | |
650 mandir | |
651 localedir | |
652 libdir | |
653 psdir | |
654 pdfdir | |
655 dvidir | |
656 htmldir | |
657 infodir | |
658 docdir | |
659 oldincludedir | |
660 includedir | |
661 localstatedir | |
662 sharedstatedir | |
663 sysconfdir | |
664 datadir | |
665 datarootdir | |
666 libexecdir | |
667 sbindir | |
668 bindir | |
669 program_transform_name | |
670 prefix | |
671 exec_prefix | |
672 PACKAGE_URL | |
673 PACKAGE_BUGREPORT | |
674 PACKAGE_STRING | |
675 PACKAGE_VERSION | |
676 PACKAGE_TARNAME | |
677 PACKAGE_NAME | |
617 PATH_SEPARATOR | 678 PATH_SEPARATOR |
618 PACKAGE_NAME | 679 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 DW_MAJOR_VERSION | |
656 DW_MINOR_VERSION | |
657 DW_SUB_VERSION | |
658 CC | |
659 CFLAGS | |
660 LDFLAGS | |
661 CPPFLAGS | |
662 ac_ct_CC | |
663 EXEEXT | |
664 OBJEXT | |
665 CXX | |
666 CXXFLAGS | |
667 ac_ct_CXX | |
668 MAKE | |
669 INSTALL_PROGRAM | |
670 INSTALL_SCRIPT | |
671 INSTALL_DATA | |
672 SYSCONF_LINK_TARGET_SHARED | |
673 SYSCONF_LINK_TARGET_SHARED2 | |
674 CPP | |
675 GREP | |
676 EGREP | |
677 PKG_CFG | |
678 GLIB_CONFIG | |
679 GLIB_CFLAGS | |
680 GLIB_LIBS | |
681 GTK_CONFIG | |
682 GTK_CFLAGS | |
683 GTK_LIBS | |
684 IMLIB_CONFIG | |
685 GDK_IMLIB_CFLAGS | |
686 GDK_IMLIB_LIBS | |
687 INCLUDES | |
688 RM | |
689 LN | |
690 CP | |
691 MV | |
692 MKDIR | |
693 SHAREDFLAG | |
694 SOSUFFIX | |
695 DW_SRC | |
696 DW_DEFINE | |
697 BROWSER_OBJECT | |
698 COMPAT_OBJECT | |
699 INSTALL_COMPAT | |
700 LIBOBJS | |
701 LTLIBOBJS' | |
702 ac_subst_files='' | 680 ac_subst_files='' |
681 ac_user_opts=' | |
682 enable_option_checking | |
683 with_compat | |
684 with_gtk | |
685 with_gtkhtml | |
686 with_gtkmozembed | |
687 with_arch | |
688 with_glib_prefix | |
689 with_glib_exec_prefix | |
690 enable_glibtest | |
691 with_gtk_prefix | |
692 with_gtk_exec_prefix | |
693 enable_gtktest | |
694 with_imlib_prefix | |
695 with_imlib_exec_prefix | |
696 enable_imlibtest | |
697 ' | |
703 ac_precious_vars='build_alias | 698 ac_precious_vars='build_alias |
704 host_alias | 699 host_alias |
705 target_alias | 700 target_alias |
706 CC | 701 CC |
707 CFLAGS | 702 CFLAGS |
715 | 710 |
716 | 711 |
717 # Initialize some variables set by options. | 712 # Initialize some variables set by options. |
718 ac_init_help= | 713 ac_init_help= |
719 ac_init_version=false | 714 ac_init_version=false |
715 ac_unrecognized_opts= | |
716 ac_unrecognized_sep= | |
720 # The variables have the same names as the options, with | 717 # The variables have the same names as the options, with |
721 # dashes changed to underlines. | 718 # dashes changed to underlines. |
722 cache_file=/dev/null | 719 cache_file=/dev/null |
723 exec_prefix=NONE | 720 exec_prefix=NONE |
724 no_create= | 721 no_create= |
813 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ | 810 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ |
814 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) | 811 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) |
815 datarootdir=$ac_optarg ;; | 812 datarootdir=$ac_optarg ;; |
816 | 813 |
817 -disable-* | --disable-*) | 814 -disable-* | --disable-*) |
818 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` | 815 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
819 # Reject names that are not valid shell variable names. | 816 # Reject names that are not valid shell variable names. |
820 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && | 817 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
821 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 | 818 as_fn_error "invalid feature name: $ac_useropt" |
822 { (exit 1); exit 1; }; } | 819 ac_useropt_orig=$ac_useropt |
823 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` | 820 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
824 eval enable_$ac_feature=no ;; | 821 case $ac_user_opts in |
822 *" | |
823 "enable_$ac_useropt" | |
824 "*) ;; | |
825 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" | |
826 ac_unrecognized_sep=', ';; | |
827 esac | |
828 eval enable_$ac_useropt=no ;; | |
825 | 829 |
826 -docdir | --docdir | --docdi | --doc | --do) | 830 -docdir | --docdir | --docdi | --doc | --do) |
827 ac_prev=docdir ;; | 831 ac_prev=docdir ;; |
828 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) | 832 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) |
829 docdir=$ac_optarg ;; | 833 docdir=$ac_optarg ;; |
832 ac_prev=dvidir ;; | 836 ac_prev=dvidir ;; |
833 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) | 837 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) |
834 dvidir=$ac_optarg ;; | 838 dvidir=$ac_optarg ;; |
835 | 839 |
836 -enable-* | --enable-*) | 840 -enable-* | --enable-*) |
837 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` | 841 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
838 # Reject names that are not valid shell variable names. | 842 # Reject names that are not valid shell variable names. |
839 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && | 843 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
840 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 | 844 as_fn_error "invalid feature name: $ac_useropt" |
841 { (exit 1); exit 1; }; } | 845 ac_useropt_orig=$ac_useropt |
842 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` | 846 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
843 eval enable_$ac_feature=\$ac_optarg ;; | 847 case $ac_user_opts in |
848 *" | |
849 "enable_$ac_useropt" | |
850 "*) ;; | |
851 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" | |
852 ac_unrecognized_sep=', ';; | |
853 esac | |
854 eval enable_$ac_useropt=\$ac_optarg ;; | |
844 | 855 |
845 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | 856 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
846 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | 857 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
847 | --exec | --exe | --ex) | 858 | --exec | --exe | --ex) |
848 ac_prev=exec_prefix ;; | 859 ac_prev=exec_prefix ;; |
1029 | 1040 |
1030 -version | --version | --versio | --versi | --vers | -V) | 1041 -version | --version | --versio | --versi | --vers | -V) |
1031 ac_init_version=: ;; | 1042 ac_init_version=: ;; |
1032 | 1043 |
1033 -with-* | --with-*) | 1044 -with-* | --with-*) |
1034 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` | 1045 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
1035 # Reject names that are not valid shell variable names. | 1046 # Reject names that are not valid shell variable names. |
1036 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && | 1047 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1037 { echo "$as_me: error: invalid package name: $ac_package" >&2 | 1048 as_fn_error "invalid package name: $ac_useropt" |
1038 { (exit 1); exit 1; }; } | 1049 ac_useropt_orig=$ac_useropt |
1039 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` | 1050 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
1040 eval with_$ac_package=\$ac_optarg ;; | 1051 case $ac_user_opts in |
1052 *" | |
1053 "with_$ac_useropt" | |
1054 "*) ;; | |
1055 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" | |
1056 ac_unrecognized_sep=', ';; | |
1057 esac | |
1058 eval with_$ac_useropt=\$ac_optarg ;; | |
1041 | 1059 |
1042 -without-* | --without-*) | 1060 -without-* | --without-*) |
1043 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` | 1061 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
1044 # Reject names that are not valid shell variable names. | 1062 # Reject names that are not valid shell variable names. |
1045 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && | 1063 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1046 { echo "$as_me: error: invalid package name: $ac_package" >&2 | 1064 as_fn_error "invalid package name: $ac_useropt" |
1047 { (exit 1); exit 1; }; } | 1065 ac_useropt_orig=$ac_useropt |
1048 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` | 1066 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
1049 eval with_$ac_package=no ;; | 1067 case $ac_user_opts in |
1068 *" | |
1069 "with_$ac_useropt" | |
1070 "*) ;; | |
1071 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" | |
1072 ac_unrecognized_sep=', ';; | |
1073 esac | |
1074 eval with_$ac_useropt=no ;; | |
1050 | 1075 |
1051 --x) | 1076 --x) |
1052 # Obsolete; use --with-x. | 1077 # Obsolete; use --with-x. |
1053 with_x=yes ;; | 1078 with_x=yes ;; |
1054 | 1079 |
1064 ac_prev=x_libraries ;; | 1089 ac_prev=x_libraries ;; |
1065 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | 1090 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
1066 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) | 1091 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
1067 x_libraries=$ac_optarg ;; | 1092 x_libraries=$ac_optarg ;; |
1068 | 1093 |
1069 -*) { echo "$as_me: error: unrecognized option: $ac_option | 1094 -*) as_fn_error "unrecognized option: \`$ac_option' |
1070 Try \`$0 --help' for more information." >&2 | 1095 Try \`$0 --help' for more information." |
1071 { (exit 1); exit 1; }; } | |
1072 ;; | 1096 ;; |
1073 | 1097 |
1074 *=*) | 1098 *=*) |
1075 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` | 1099 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
1076 # Reject names that are not valid shell variable names. | 1100 # Reject names that are not valid shell variable names. |
1077 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && | 1101 case $ac_envvar in #( |
1078 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 | 1102 '' | [0-9]* | *[!_$as_cr_alnum]* ) |
1079 { (exit 1); exit 1; }; } | 1103 as_fn_error "invalid variable name: \`$ac_envvar'" ;; |
1104 esac | |
1080 eval $ac_envvar=\$ac_optarg | 1105 eval $ac_envvar=\$ac_optarg |
1081 export $ac_envvar ;; | 1106 export $ac_envvar ;; |
1082 | 1107 |
1083 *) | 1108 *) |
1084 # FIXME: should be removed in autoconf 3.0. | 1109 # FIXME: should be removed in autoconf 3.0. |
1085 echo "$as_me: WARNING: you should use --build, --host, --target" >&2 | 1110 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
1086 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && | 1111 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
1087 echo "$as_me: WARNING: invalid host type: $ac_option" >&2 | 1112 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
1088 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} | 1113 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} |
1089 ;; | 1114 ;; |
1090 | 1115 |
1091 esac | 1116 esac |
1092 done | 1117 done |
1093 | 1118 |
1094 if test -n "$ac_prev"; then | 1119 if test -n "$ac_prev"; then |
1095 ac_option=--`echo $ac_prev | sed 's/_/-/g'` | 1120 ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
1096 { echo "$as_me: error: missing argument to $ac_option" >&2 | 1121 as_fn_error "missing argument to $ac_option" |
1097 { (exit 1); exit 1; }; } | 1122 fi |
1098 fi | 1123 |
1099 | 1124 if test -n "$ac_unrecognized_opts"; then |
1100 # Be sure to have absolute directory names. | 1125 case $enable_option_checking in |
1126 no) ;; | |
1127 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; | |
1128 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; | |
1129 esac | |
1130 fi | |
1131 | |
1132 # Check all directory arguments for consistency. | |
1101 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ | 1133 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
1102 datadir sysconfdir sharedstatedir localstatedir includedir \ | 1134 datadir sysconfdir sharedstatedir localstatedir includedir \ |
1103 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ | 1135 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
1104 libdir localedir mandir | 1136 libdir localedir mandir |
1105 do | 1137 do |
1106 eval ac_val=\$$ac_var | 1138 eval ac_val=\$$ac_var |
1139 # Remove trailing slashes. | |
1140 case $ac_val in | |
1141 */ ) | |
1142 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` | |
1143 eval $ac_var=\$ac_val;; | |
1144 esac | |
1145 # Be sure to have absolute directory names. | |
1107 case $ac_val in | 1146 case $ac_val in |
1108 [\\/$]* | ?:[\\/]* ) continue;; | 1147 [\\/$]* | ?:[\\/]* ) continue;; |
1109 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; | 1148 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
1110 esac | 1149 esac |
1111 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 | 1150 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" |
1112 { (exit 1); exit 1; }; } | |
1113 done | 1151 done |
1114 | 1152 |
1115 # There might be people who depend on the old broken behavior: `$host' | 1153 # There might be people who depend on the old broken behavior: `$host' |
1116 # used to hold the argument of --host etc. | 1154 # used to hold the argument of --host etc. |
1117 # FIXME: To remove some day. | 1155 # FIXME: To remove some day. |
1121 | 1159 |
1122 # FIXME: To remove some day. | 1160 # FIXME: To remove some day. |
1123 if test "x$host_alias" != x; then | 1161 if test "x$host_alias" != x; then |
1124 if test "x$build_alias" = x; then | 1162 if test "x$build_alias" = x; then |
1125 cross_compiling=maybe | 1163 cross_compiling=maybe |
1126 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. | 1164 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. |
1127 If a cross compiler is detected then cross compile mode will be used." >&2 | 1165 If a cross compiler is detected then cross compile mode will be used." >&2 |
1128 elif test "x$build_alias" != "x$host_alias"; then | 1166 elif test "x$build_alias" != "x$host_alias"; then |
1129 cross_compiling=yes | 1167 cross_compiling=yes |
1130 fi | 1168 fi |
1131 fi | 1169 fi |
1137 | 1175 |
1138 | 1176 |
1139 ac_pwd=`pwd` && test -n "$ac_pwd" && | 1177 ac_pwd=`pwd` && test -n "$ac_pwd" && |
1140 ac_ls_di=`ls -di .` && | 1178 ac_ls_di=`ls -di .` && |
1141 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || | 1179 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
1142 { echo "$as_me: error: Working directory cannot be determined" >&2 | 1180 as_fn_error "working directory cannot be determined" |
1143 { (exit 1); exit 1; }; } | |
1144 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || | 1181 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
1145 { echo "$as_me: error: pwd does not report name of working directory" >&2 | 1182 as_fn_error "pwd does not report name of working directory" |
1146 { (exit 1); exit 1; }; } | |
1147 | 1183 |
1148 | 1184 |
1149 # Find the source files, if location was not specified. | 1185 # Find the source files, if location was not specified. |
1150 if test -z "$srcdir"; then | 1186 if test -z "$srcdir"; then |
1151 ac_srcdir_defaulted=yes | 1187 ac_srcdir_defaulted=yes |
1152 # Try the directory containing this script, then the parent directory. | 1188 # Try the directory containing this script, then the parent directory. |
1153 ac_confdir=`$as_dirname -- "$0" || | 1189 ac_confdir=`$as_dirname -- "$as_myself" || |
1154 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 1190 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
1155 X"$0" : 'X\(//\)[^/]' \| \ | 1191 X"$as_myself" : 'X\(//\)[^/]' \| \ |
1156 X"$0" : 'X\(//\)$' \| \ | 1192 X"$as_myself" : 'X\(//\)$' \| \ |
1157 X"$0" : 'X\(/\)' \| . 2>/dev/null || | 1193 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || |
1158 echo X"$0" | | 1194 $as_echo X"$as_myself" | |
1159 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | 1195 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
1160 s//\1/ | 1196 s//\1/ |
1161 q | 1197 q |
1162 } | 1198 } |
1163 /^X\(\/\/\)[^/].*/{ | 1199 /^X\(\/\/\)[^/].*/{ |
1180 else | 1216 else |
1181 ac_srcdir_defaulted=no | 1217 ac_srcdir_defaulted=no |
1182 fi | 1218 fi |
1183 if test ! -r "$srcdir/$ac_unique_file"; then | 1219 if test ! -r "$srcdir/$ac_unique_file"; then |
1184 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." | 1220 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
1185 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 | 1221 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" |
1186 { (exit 1); exit 1; }; } | |
1187 fi | 1222 fi |
1188 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" | 1223 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
1189 ac_abs_confdir=`( | 1224 ac_abs_confdir=`( |
1190 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 | 1225 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" |
1191 { (exit 1); exit 1; }; } | |
1192 pwd)` | 1226 pwd)` |
1193 # When building in place, set srcdir=. | 1227 # When building in place, set srcdir=. |
1194 if test "$ac_abs_confdir" = "$ac_pwd"; then | 1228 if test "$ac_abs_confdir" = "$ac_pwd"; then |
1195 srcdir=. | 1229 srcdir=. |
1196 fi | 1230 fi |
1234 -n, --no-create do not create output files | 1268 -n, --no-create do not create output files |
1235 --srcdir=DIR find the sources in DIR [configure dir or \`..'] | 1269 --srcdir=DIR find the sources in DIR [configure dir or \`..'] |
1236 | 1270 |
1237 Installation directories: | 1271 Installation directories: |
1238 --prefix=PREFIX install architecture-independent files in PREFIX | 1272 --prefix=PREFIX install architecture-independent files in PREFIX |
1239 [$ac_default_prefix] | 1273 [$ac_default_prefix] |
1240 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX | 1274 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
1241 [PREFIX] | 1275 [PREFIX] |
1242 | 1276 |
1243 By default, \`make install' will install all the files in | 1277 By default, \`make install' will install all the files in |
1244 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify | 1278 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
1245 an installation prefix other than \`$ac_default_prefix' using \`--prefix', | 1279 an installation prefix other than \`$ac_default_prefix' using \`--prefix', |
1246 for instance \`--prefix=\$HOME'. | 1280 for instance \`--prefix=\$HOME'. |
1247 | 1281 |
1248 For better control, use the options below. | 1282 For better control, use the options below. |
1249 | 1283 |
1250 Fine tuning of the installation directories: | 1284 Fine tuning of the installation directories: |
1251 --bindir=DIR user executables [EPREFIX/bin] | 1285 --bindir=DIR user executables [EPREFIX/bin] |
1252 --sbindir=DIR system admin executables [EPREFIX/sbin] | 1286 --sbindir=DIR system admin executables [EPREFIX/sbin] |
1253 --libexecdir=DIR program executables [EPREFIX/libexec] | 1287 --libexecdir=DIR program executables [EPREFIX/libexec] |
1254 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] | 1288 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
1255 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] | 1289 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
1256 --localstatedir=DIR modifiable single-machine data [PREFIX/var] | 1290 --localstatedir=DIR modifiable single-machine data [PREFIX/var] |
1257 --libdir=DIR object code libraries [EPREFIX/lib] | 1291 --libdir=DIR object code libraries [EPREFIX/lib] |
1258 --includedir=DIR C header files [PREFIX/include] | 1292 --includedir=DIR C header files [PREFIX/include] |
1259 --oldincludedir=DIR C header files for non-gcc [/usr/include] | 1293 --oldincludedir=DIR C header files for non-gcc [/usr/include] |
1260 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] | 1294 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
1261 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] | 1295 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
1262 --infodir=DIR info documentation [DATAROOTDIR/info] | 1296 --infodir=DIR info documentation [DATAROOTDIR/info] |
1263 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] | 1297 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] |
1264 --mandir=DIR man documentation [DATAROOTDIR/man] | 1298 --mandir=DIR man documentation [DATAROOTDIR/man] |
1265 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] | 1299 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] |
1266 --htmldir=DIR html documentation [DOCDIR] | 1300 --htmldir=DIR html documentation [DOCDIR] |
1267 --dvidir=DIR dvi documentation [DOCDIR] | 1301 --dvidir=DIR dvi documentation [DOCDIR] |
1268 --pdfdir=DIR pdf documentation [DOCDIR] | 1302 --pdfdir=DIR pdf documentation [DOCDIR] |
1269 --psdir=DIR ps documentation [DOCDIR] | 1303 --psdir=DIR ps documentation [DOCDIR] |
1270 _ACEOF | 1304 _ACEOF |
1271 | 1305 |
1272 cat <<\_ACEOF | 1306 cat <<\_ACEOF |
1273 _ACEOF | 1307 _ACEOF |
1274 fi | 1308 fi |
1276 if test -n "$ac_init_help"; then | 1310 if test -n "$ac_init_help"; then |
1277 | 1311 |
1278 cat <<\_ACEOF | 1312 cat <<\_ACEOF |
1279 | 1313 |
1280 Optional Features: | 1314 Optional Features: |
1315 --disable-option-checking ignore unrecognized --enable/--with options | |
1281 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) | 1316 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
1282 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] | 1317 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
1283 --disable-glibtest Do not try to compile and run a test GLIB program | 1318 --disable-glibtest Do not try to compile and run a test GLIB program |
1284 --disable-gtktest Do not try to compile and run a test GTK program | 1319 --disable-gtktest Do not try to compile and run a test GTK program |
1285 --disable-imlibtest Do not try to compile and run a test IMLIB program | 1320 --disable-imlibtest Do not try to compile and run a test IMLIB program |
1287 Optional Packages: | 1322 Optional Packages: |
1288 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] | 1323 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
1289 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) | 1324 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
1290 --with-compat specify this to build the optional dwcompat library | 1325 --with-compat specify this to build the optional dwcompat library |
1291 --with-gtk specify this to build dwindows with GTK+ (only relevant for OSX) | 1326 --with-gtk specify this to build dwindows with GTK+ (only relevant for OSX) |
1327 --with-gtkhtml specify this to build dwindows with libgtkhtml-2 | |
1328 --with-gtkmozembed specify this to build dwindows with Mozilla gtkmozembed | |
1329 --with-arch specify architecture: one of all, 32bit, 64bit, ppc, ppc64, x86_64, i386 | |
1292 --with-glib-prefix=PFX Prefix where GLIB is installed (optional) | 1330 --with-glib-prefix=PFX Prefix where GLIB is installed (optional) |
1293 --with-glib-exec-prefix=PFX Exec prefix where GLIB is installed (optional) | 1331 --with-glib-exec-prefix=PFX Exec prefix where GLIB is installed (optional) |
1294 --with-gtk-prefix=PFX Prefix where GTK is installed (optional) | 1332 --with-gtk-prefix=PFX Prefix where GTK is installed (optional) |
1295 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional) | 1333 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional) |
1296 --with-imlib-prefix=PFX Prefix where IMLIB is installed (optional) | 1334 --with-imlib-prefix=PFX Prefix where IMLIB is installed (optional) |
1309 CPP C preprocessor | 1347 CPP C preprocessor |
1310 | 1348 |
1311 Use these variables to override the choices made by `configure' or to help | 1349 Use these variables to override the choices made by `configure' or to help |
1312 it to find libraries and programs with nonstandard names/locations. | 1350 it to find libraries and programs with nonstandard names/locations. |
1313 | 1351 |
1352 Report bugs to the package provider. | |
1314 _ACEOF | 1353 _ACEOF |
1315 ac_status=$? | 1354 ac_status=$? |
1316 fi | 1355 fi |
1317 | 1356 |
1318 if test "$ac_init_help" = "recursive"; then | 1357 if test "$ac_init_help" = "recursive"; then |
1319 # If there are subdirs, report their specific --help. | 1358 # If there are subdirs, report their specific --help. |
1320 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue | 1359 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
1321 test -d "$ac_dir" || continue | 1360 test -d "$ac_dir" || |
1361 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || | |
1362 continue | |
1322 ac_builddir=. | 1363 ac_builddir=. |
1323 | 1364 |
1324 case "$ac_dir" in | 1365 case "$ac_dir" in |
1325 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; | 1366 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
1326 *) | 1367 *) |
1327 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` | 1368 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
1328 # A ".." for each directory in $ac_dir_suffix. | 1369 # A ".." for each directory in $ac_dir_suffix. |
1329 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` | 1370 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
1330 case $ac_top_builddir_sub in | 1371 case $ac_top_builddir_sub in |
1331 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; | 1372 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
1332 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; | 1373 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
1333 esac ;; | 1374 esac ;; |
1334 esac | 1375 esac |
1360 $SHELL "$ac_srcdir/configure.gnu" --help=recursive | 1401 $SHELL "$ac_srcdir/configure.gnu" --help=recursive |
1361 elif test -f "$ac_srcdir/configure"; then | 1402 elif test -f "$ac_srcdir/configure"; then |
1362 echo && | 1403 echo && |
1363 $SHELL "$ac_srcdir/configure" --help=recursive | 1404 $SHELL "$ac_srcdir/configure" --help=recursive |
1364 else | 1405 else |
1365 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 | 1406 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
1366 fi || ac_status=$? | 1407 fi || ac_status=$? |
1367 cd "$ac_pwd" || { ac_status=$?; break; } | 1408 cd "$ac_pwd" || { ac_status=$?; break; } |
1368 done | 1409 done |
1369 fi | 1410 fi |
1370 | 1411 |
1371 test -n "$ac_init_help" && exit $ac_status | 1412 test -n "$ac_init_help" && exit $ac_status |
1372 if $ac_init_version; then | 1413 if $ac_init_version; then |
1373 cat <<\_ACEOF | 1414 cat <<\_ACEOF |
1374 configure | 1415 configure |
1375 generated by GNU Autoconf 2.61 | 1416 generated by GNU Autoconf 2.64 |
1376 | 1417 |
1377 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, | 1418 Copyright (C) 2009 Free Software Foundation, Inc. |
1378 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. | |
1379 This configure script is free software; the Free Software Foundation | 1419 This configure script is free software; the Free Software Foundation |
1380 gives unlimited permission to copy, distribute and modify it. | 1420 gives unlimited permission to copy, distribute and modify it. |
1381 _ACEOF | 1421 _ACEOF |
1382 exit | 1422 exit |
1383 fi | 1423 fi |
1424 | |
1425 ## ------------------------ ## | |
1426 ## Autoconf initialization. ## | |
1427 ## ------------------------ ## | |
1428 | |
1429 # ac_fn_c_try_compile LINENO | |
1430 # -------------------------- | |
1431 # Try to compile conftest.$ac_ext, and return whether this succeeded. | |
1432 ac_fn_c_try_compile () | |
1433 { | |
1434 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
1435 rm -f conftest.$ac_objext | |
1436 if { { ac_try="$ac_compile" | |
1437 case "(($ac_try" in | |
1438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
1439 *) ac_try_echo=$ac_try;; | |
1440 esac | |
1441 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
1442 $as_echo "$ac_try_echo"; } >&5 | |
1443 (eval "$ac_compile") 2>conftest.err | |
1444 ac_status=$? | |
1445 if test -s conftest.err; then | |
1446 grep -v '^ *+' conftest.err >conftest.er1 | |
1447 cat conftest.er1 >&5 | |
1448 mv -f conftest.er1 conftest.err | |
1449 fi | |
1450 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
1451 test $ac_status = 0; } && { | |
1452 test -z "$ac_c_werror_flag" || | |
1453 test ! -s conftest.err | |
1454 } && test -s conftest.$ac_objext; then : | |
1455 ac_retval=0 | |
1456 else | |
1457 $as_echo "$as_me: failed program was:" >&5 | |
1458 sed 's/^/| /' conftest.$ac_ext >&5 | |
1459 | |
1460 ac_retval=1 | |
1461 fi | |
1462 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | |
1463 return $ac_retval | |
1464 | |
1465 } # ac_fn_c_try_compile | |
1466 | |
1467 # ac_fn_cxx_try_compile LINENO | |
1468 # ---------------------------- | |
1469 # Try to compile conftest.$ac_ext, and return whether this succeeded. | |
1470 ac_fn_cxx_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_cxx_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; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | |
1501 return $ac_retval | |
1502 | |
1503 } # ac_fn_cxx_try_compile | |
1504 | |
1505 # ac_fn_c_try_cpp LINENO | |
1506 # ---------------------- | |
1507 # Try to preprocess conftest.$ac_ext, and return whether this succeeded. | |
1508 ac_fn_c_try_cpp () | |
1509 { | |
1510 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
1511 if { { ac_try="$ac_cpp conftest.$ac_ext" | |
1512 case "(($ac_try" in | |
1513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
1514 *) ac_try_echo=$ac_try;; | |
1515 esac | |
1516 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
1517 $as_echo "$ac_try_echo"; } >&5 | |
1518 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err | |
1519 ac_status=$? | |
1520 if test -s conftest.err; then | |
1521 grep -v '^ *+' conftest.err >conftest.er1 | |
1522 cat conftest.er1 >&5 | |
1523 mv -f conftest.er1 conftest.err | |
1524 fi | |
1525 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
1526 test $ac_status = 0; } >/dev/null && { | |
1527 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
1528 test ! -s conftest.err | |
1529 }; then : | |
1530 ac_retval=0 | |
1531 else | |
1532 $as_echo "$as_me: failed program was:" >&5 | |
1533 sed 's/^/| /' conftest.$ac_ext >&5 | |
1534 | |
1535 ac_retval=1 | |
1536 fi | |
1537 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | |
1538 return $ac_retval | |
1539 | |
1540 } # ac_fn_c_try_cpp | |
1541 | |
1542 # ac_fn_c_try_run LINENO | |
1543 # ---------------------- | |
1544 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes | |
1545 # that executables *can* be run. | |
1546 ac_fn_c_try_run () | |
1547 { | |
1548 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
1549 if { { ac_try="$ac_link" | |
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_link") 2>&5 | |
1557 ac_status=$? | |
1558 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
1559 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' | |
1560 { { case "(($ac_try" in | |
1561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
1562 *) ac_try_echo=$ac_try;; | |
1563 esac | |
1564 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
1565 $as_echo "$ac_try_echo"; } >&5 | |
1566 (eval "$ac_try") 2>&5 | |
1567 ac_status=$? | |
1568 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
1569 test $ac_status = 0; }; }; then : | |
1570 ac_retval=0 | |
1571 else | |
1572 $as_echo "$as_me: program exited with status $ac_status" >&5 | |
1573 $as_echo "$as_me: failed program was:" >&5 | |
1574 sed 's/^/| /' conftest.$ac_ext >&5 | |
1575 | |
1576 ac_retval=$ac_status | |
1577 fi | |
1578 rm -rf conftest.dSYM conftest_ipa8_conftest.oo | |
1579 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | |
1580 return $ac_retval | |
1581 | |
1582 } # ac_fn_c_try_run | |
1583 | |
1584 # ac_fn_c_try_link LINENO | |
1585 # ----------------------- | |
1586 # Try to link conftest.$ac_ext, and return whether this succeeded. | |
1587 ac_fn_c_try_link () | |
1588 { | |
1589 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
1590 rm -f conftest.$ac_objext conftest$ac_exeext | |
1591 if { { ac_try="$ac_link" | |
1592 case "(($ac_try" in | |
1593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
1594 *) ac_try_echo=$ac_try;; | |
1595 esac | |
1596 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
1597 $as_echo "$ac_try_echo"; } >&5 | |
1598 (eval "$ac_link") 2>conftest.err | |
1599 ac_status=$? | |
1600 if test -s conftest.err; then | |
1601 grep -v '^ *+' conftest.err >conftest.er1 | |
1602 cat conftest.er1 >&5 | |
1603 mv -f conftest.er1 conftest.err | |
1604 fi | |
1605 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
1606 test $ac_status = 0; } && { | |
1607 test -z "$ac_c_werror_flag" || | |
1608 test ! -s conftest.err | |
1609 } && test -s conftest$ac_exeext && { | |
1610 test "$cross_compiling" = yes || | |
1611 $as_test_x conftest$ac_exeext | |
1612 }; then : | |
1613 ac_retval=0 | |
1614 else | |
1615 $as_echo "$as_me: failed program was:" >&5 | |
1616 sed 's/^/| /' conftest.$ac_ext >&5 | |
1617 | |
1618 ac_retval=1 | |
1619 fi | |
1620 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information | |
1621 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would | |
1622 # interfere with the next link command; also delete a directory that is | |
1623 # left behind by Apple's compiler. We do this before executing the actions. | |
1624 rm -rf conftest.dSYM conftest_ipa8_conftest.oo | |
1625 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | |
1626 return $ac_retval | |
1627 | |
1628 } # ac_fn_c_try_link | |
1629 | |
1630 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES | |
1631 # ------------------------------------------------------- | |
1632 # Tests whether HEADER exists, giving a warning if it cannot be compiled using | |
1633 # the include files in INCLUDES and setting the cache variable VAR | |
1634 # accordingly. | |
1635 ac_fn_c_check_header_mongrel () | |
1636 { | |
1637 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
1638 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | |
1639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | |
1640 $as_echo_n "checking for $2... " >&6; } | |
1641 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | |
1642 $as_echo_n "(cached) " >&6 | |
1643 fi | |
1644 eval ac_res=\$$3 | |
1645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |
1646 $as_echo "$ac_res" >&6; } | |
1647 else | |
1648 # Is the header compilable? | |
1649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 | |
1650 $as_echo_n "checking $2 usability... " >&6; } | |
1651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
1652 /* end confdefs.h. */ | |
1653 $4 | |
1654 #include <$2> | |
1655 _ACEOF | |
1656 if ac_fn_c_try_compile "$LINENO"; then : | |
1657 ac_header_compiler=yes | |
1658 else | |
1659 ac_header_compiler=no | |
1660 fi | |
1661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
1662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 | |
1663 $as_echo "$ac_header_compiler" >&6; } | |
1664 | |
1665 # Is the header present? | |
1666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 | |
1667 $as_echo_n "checking $2 presence... " >&6; } | |
1668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
1669 /* end confdefs.h. */ | |
1670 #include <$2> | |
1671 _ACEOF | |
1672 if ac_fn_c_try_cpp "$LINENO"; then : | |
1673 ac_header_preproc=yes | |
1674 else | |
1675 ac_header_preproc=no | |
1676 fi | |
1677 rm -f conftest.err conftest.$ac_ext | |
1678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 | |
1679 $as_echo "$ac_header_preproc" >&6; } | |
1680 | |
1681 # So? What about this header? | |
1682 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( | |
1683 yes:no: ) | |
1684 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 | |
1685 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
1686 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 | |
1687 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} | |
1688 ;; | |
1689 no:yes:* ) | |
1690 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 | |
1691 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} | |
1692 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 | |
1693 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} | |
1694 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 | |
1695 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} | |
1696 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 | |
1697 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} | |
1698 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 | |
1699 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} | |
1700 ;; | |
1701 esac | |
1702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | |
1703 $as_echo_n "checking for $2... " >&6; } | |
1704 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | |
1705 $as_echo_n "(cached) " >&6 | |
1706 else | |
1707 eval "$3=\$ac_header_compiler" | |
1708 fi | |
1709 eval ac_res=\$$3 | |
1710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |
1711 $as_echo "$ac_res" >&6; } | |
1712 fi | |
1713 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | |
1714 | |
1715 } # ac_fn_c_check_header_mongrel | |
1716 | |
1717 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES | |
1718 # ------------------------------------------------------- | |
1719 # Tests whether HEADER exists and can be compiled using the include files in | |
1720 # INCLUDES, setting the cache variable VAR accordingly. | |
1721 ac_fn_c_check_header_compile () | |
1722 { | |
1723 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
1724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | |
1725 $as_echo_n "checking for $2... " >&6; } | |
1726 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | |
1727 $as_echo_n "(cached) " >&6 | |
1728 else | |
1729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
1730 /* end confdefs.h. */ | |
1731 $4 | |
1732 #include <$2> | |
1733 _ACEOF | |
1734 if ac_fn_c_try_compile "$LINENO"; then : | |
1735 eval "$3=yes" | |
1736 else | |
1737 eval "$3=no" | |
1738 fi | |
1739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
1740 fi | |
1741 eval ac_res=\$$3 | |
1742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |
1743 $as_echo "$ac_res" >&6; } | |
1744 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | |
1745 | |
1746 } # ac_fn_c_check_header_compile | |
1747 | |
1748 # ac_fn_c_check_func LINENO FUNC VAR | |
1749 # ---------------------------------- | |
1750 # Tests whether FUNC exists, setting the cache variable VAR accordingly | |
1751 ac_fn_c_check_func () | |
1752 { | |
1753 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
1754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | |
1755 $as_echo_n "checking for $2... " >&6; } | |
1756 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | |
1757 $as_echo_n "(cached) " >&6 | |
1758 else | |
1759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
1760 /* end confdefs.h. */ | |
1761 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. | |
1762 For example, HP-UX 11i <limits.h> declares gettimeofday. */ | |
1763 #define $2 innocuous_$2 | |
1764 | |
1765 /* System header to define __stub macros and hopefully few prototypes, | |
1766 which can conflict with char $2 (); below. | |
1767 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
1768 <limits.h> exists even on freestanding compilers. */ | |
1769 | |
1770 #ifdef __STDC__ | |
1771 # include <limits.h> | |
1772 #else | |
1773 # include <assert.h> | |
1774 #endif | |
1775 | |
1776 #undef $2 | |
1777 | |
1778 /* Override any GCC internal prototype to avoid an error. | |
1779 Use char because int might match the return type of a GCC | |
1780 builtin and then its argument prototype would still apply. */ | |
1781 #ifdef __cplusplus | |
1782 extern "C" | |
1783 #endif | |
1784 char $2 (); | |
1785 /* The GNU C library defines this for functions which it implements | |
1786 to always fail with ENOSYS. Some functions are actually named | |
1787 something starting with __ and the normal name is an alias. */ | |
1788 #if defined __stub_$2 || defined __stub___$2 | |
1789 choke me | |
1790 #endif | |
1791 | |
1792 int | |
1793 main () | |
1794 { | |
1795 return $2 (); | |
1796 ; | |
1797 return 0; | |
1798 } | |
1799 _ACEOF | |
1800 if ac_fn_c_try_link "$LINENO"; then : | |
1801 eval "$3=yes" | |
1802 else | |
1803 eval "$3=no" | |
1804 fi | |
1805 rm -f core conftest.err conftest.$ac_objext \ | |
1806 conftest$ac_exeext conftest.$ac_ext | |
1807 fi | |
1808 eval ac_res=\$$3 | |
1809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |
1810 $as_echo "$ac_res" >&6; } | |
1811 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | |
1812 | |
1813 } # ac_fn_c_check_func | |
1384 cat >config.log <<_ACEOF | 1814 cat >config.log <<_ACEOF |
1385 This file contains any messages produced by compilers while | 1815 This file contains any messages produced by compilers while |
1386 running configure, to aid debugging if configure makes a mistake. | 1816 running configure, to aid debugging if configure makes a mistake. |
1387 | 1817 |
1388 It was created by $as_me, which was | 1818 It was created by $as_me, which was |
1389 generated by GNU Autoconf 2.61. Invocation command line was | 1819 generated by GNU Autoconf 2.64. Invocation command line was |
1390 | 1820 |
1391 $ $0 $@ | 1821 $ $0 $@ |
1392 | 1822 |
1393 _ACEOF | 1823 _ACEOF |
1394 exec 5>>config.log | 1824 exec 5>>config.log |
1420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 1850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1421 for as_dir in $PATH | 1851 for as_dir in $PATH |
1422 do | 1852 do |
1423 IFS=$as_save_IFS | 1853 IFS=$as_save_IFS |
1424 test -z "$as_dir" && as_dir=. | 1854 test -z "$as_dir" && as_dir=. |
1425 echo "PATH: $as_dir" | 1855 $as_echo "PATH: $as_dir" |
1426 done | 1856 done |
1427 IFS=$as_save_IFS | 1857 IFS=$as_save_IFS |
1428 | 1858 |
1429 } >&5 | 1859 } >&5 |
1430 | 1860 |
1431 cat >&5 <<_ACEOF | 1861 cat >&5 <<_ACEOF |
1455 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; | 1885 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
1456 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | 1886 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
1457 | -silent | --silent | --silen | --sile | --sil) | 1887 | -silent | --silent | --silen | --sile | --sil) |
1458 continue ;; | 1888 continue ;; |
1459 *\'*) | 1889 *\'*) |
1460 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; | 1890 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
1461 esac | 1891 esac |
1462 case $ac_pass in | 1892 case $ac_pass in |
1463 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; | 1893 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; |
1464 2) | 1894 2) |
1465 ac_configure_args1="$ac_configure_args1 '$ac_arg'" | 1895 as_fn_append ac_configure_args1 " '$ac_arg'" |
1466 if test $ac_must_keep_next = true; then | 1896 if test $ac_must_keep_next = true; then |
1467 ac_must_keep_next=false # Got value, back to normal. | 1897 ac_must_keep_next=false # Got value, back to normal. |
1468 else | 1898 else |
1469 case $ac_arg in | 1899 case $ac_arg in |
1470 *=* | --config-cache | -C | -disable-* | --disable-* \ | 1900 *=* | --config-cache | -C | -disable-* | --disable-* \ |
1476 esac | 1906 esac |
1477 ;; | 1907 ;; |
1478 -* ) ac_must_keep_next=true ;; | 1908 -* ) ac_must_keep_next=true ;; |
1479 esac | 1909 esac |
1480 fi | 1910 fi |
1481 ac_configure_args="$ac_configure_args '$ac_arg'" | 1911 as_fn_append ac_configure_args " '$ac_arg'" |
1482 ;; | 1912 ;; |
1483 esac | 1913 esac |
1484 done | 1914 done |
1485 done | 1915 done |
1486 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } | 1916 { ac_configure_args0=; unset ac_configure_args0;} |
1487 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } | 1917 { ac_configure_args1=; unset ac_configure_args1;} |
1488 | 1918 |
1489 # When interrupted or exit'd, cleanup temporary files, and complete | 1919 # When interrupted or exit'd, cleanup temporary files, and complete |
1490 # config.log. We remove comments because anyway the quotes in there | 1920 # config.log. We remove comments because anyway the quotes in there |
1491 # would cause problems or look ugly. | 1921 # would cause problems or look ugly. |
1492 # WARNING: Use '\'' to represent an apostrophe within the trap. | 1922 # WARNING: Use '\'' to represent an apostrophe within the trap. |
1507 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do | 1937 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do |
1508 eval ac_val=\$$ac_var | 1938 eval ac_val=\$$ac_var |
1509 case $ac_val in #( | 1939 case $ac_val in #( |
1510 *${as_nl}*) | 1940 *${as_nl}*) |
1511 case $ac_var in #( | 1941 case $ac_var in #( |
1512 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 | 1942 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
1513 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; | 1943 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
1514 esac | 1944 esac |
1515 case $ac_var in #( | 1945 case $ac_var in #( |
1516 _ | IFS | as_nl) ;; #( | 1946 _ | IFS | as_nl) ;; #( |
1517 *) $as_unset $ac_var ;; | 1947 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
1948 *) { eval $ac_var=; unset $ac_var;} ;; | |
1518 esac ;; | 1949 esac ;; |
1519 esac | 1950 esac |
1520 done | 1951 done |
1521 (set) 2>&1 | | 1952 (set) 2>&1 | |
1522 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( | 1953 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( |
1541 echo | 1972 echo |
1542 for ac_var in $ac_subst_vars | 1973 for ac_var in $ac_subst_vars |
1543 do | 1974 do |
1544 eval ac_val=\$$ac_var | 1975 eval ac_val=\$$ac_var |
1545 case $ac_val in | 1976 case $ac_val in |
1546 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; | 1977 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
1547 esac | 1978 esac |
1548 echo "$ac_var='\''$ac_val'\''" | 1979 $as_echo "$ac_var='\''$ac_val'\''" |
1549 done | sort | 1980 done | sort |
1550 echo | 1981 echo |
1551 | 1982 |
1552 if test -n "$ac_subst_files"; then | 1983 if test -n "$ac_subst_files"; then |
1553 cat <<\_ASBOX | 1984 cat <<\_ASBOX |
1558 echo | 1989 echo |
1559 for ac_var in $ac_subst_files | 1990 for ac_var in $ac_subst_files |
1560 do | 1991 do |
1561 eval ac_val=\$$ac_var | 1992 eval ac_val=\$$ac_var |
1562 case $ac_val in | 1993 case $ac_val in |
1563 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; | 1994 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
1564 esac | 1995 esac |
1565 echo "$ac_var='\''$ac_val'\''" | 1996 $as_echo "$ac_var='\''$ac_val'\''" |
1566 done | sort | 1997 done | sort |
1567 echo | 1998 echo |
1568 fi | 1999 fi |
1569 | 2000 |
1570 if test -s confdefs.h; then | 2001 if test -s confdefs.h; then |
1576 echo | 2007 echo |
1577 cat confdefs.h | 2008 cat confdefs.h |
1578 echo | 2009 echo |
1579 fi | 2010 fi |
1580 test "$ac_signal" != 0 && | 2011 test "$ac_signal" != 0 && |
1581 echo "$as_me: caught signal $ac_signal" | 2012 $as_echo "$as_me: caught signal $ac_signal" |
1582 echo "$as_me: exit $exit_status" | 2013 $as_echo "$as_me: exit $exit_status" |
1583 } >&5 | 2014 } >&5 |
1584 rm -f core *.core core.conftest.* && | 2015 rm -f core *.core core.conftest.* && |
1585 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && | 2016 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && |
1586 exit $exit_status | 2017 exit $exit_status |
1587 ' 0 | 2018 ' 0 |
1588 for ac_signal in 1 2 13 15; do | 2019 for ac_signal in 1 2 13 15; do |
1589 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal | 2020 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal |
1590 done | 2021 done |
1591 ac_signal=0 | 2022 ac_signal=0 |
1592 | 2023 |
1593 # confdefs.h avoids OS command line length limits that DEFS can exceed. | 2024 # confdefs.h avoids OS command line length limits that DEFS can exceed. |
1594 rm -f -r conftest* confdefs.h | 2025 rm -f -r conftest* confdefs.h |
1595 | 2026 |
2027 $as_echo "/* confdefs.h */" > confdefs.h | |
2028 | |
1596 # Predefined preprocessor variables. | 2029 # Predefined preprocessor variables. |
1597 | 2030 |
1598 cat >>confdefs.h <<_ACEOF | 2031 cat >>confdefs.h <<_ACEOF |
1599 #define PACKAGE_NAME "$PACKAGE_NAME" | 2032 #define PACKAGE_NAME "$PACKAGE_NAME" |
1600 _ACEOF | 2033 _ACEOF |
1601 | 2034 |
1602 | |
1603 cat >>confdefs.h <<_ACEOF | 2035 cat >>confdefs.h <<_ACEOF |
1604 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" | 2036 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
1605 _ACEOF | 2037 _ACEOF |
1606 | 2038 |
1607 | |
1608 cat >>confdefs.h <<_ACEOF | 2039 cat >>confdefs.h <<_ACEOF |
1609 #define PACKAGE_VERSION "$PACKAGE_VERSION" | 2040 #define PACKAGE_VERSION "$PACKAGE_VERSION" |
1610 _ACEOF | 2041 _ACEOF |
1611 | 2042 |
1612 | |
1613 cat >>confdefs.h <<_ACEOF | 2043 cat >>confdefs.h <<_ACEOF |
1614 #define PACKAGE_STRING "$PACKAGE_STRING" | 2044 #define PACKAGE_STRING "$PACKAGE_STRING" |
1615 _ACEOF | 2045 _ACEOF |
1616 | 2046 |
1617 | |
1618 cat >>confdefs.h <<_ACEOF | 2047 cat >>confdefs.h <<_ACEOF |
1619 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" | 2048 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
1620 _ACEOF | 2049 _ACEOF |
1621 | 2050 |
2051 cat >>confdefs.h <<_ACEOF | |
2052 #define PACKAGE_URL "$PACKAGE_URL" | |
2053 _ACEOF | |
2054 | |
1622 | 2055 |
1623 # Let the site file select an alternate cache file if it wants to. | 2056 # Let the site file select an alternate cache file if it wants to. |
1624 # Prefer explicitly selected file to automatically selected ones. | 2057 # Prefer an explicitly selected file to automatically selected ones. |
2058 ac_site_file1=NONE | |
2059 ac_site_file2=NONE | |
1625 if test -n "$CONFIG_SITE"; then | 2060 if test -n "$CONFIG_SITE"; then |
1626 set x "$CONFIG_SITE" | 2061 ac_site_file1=$CONFIG_SITE |
1627 elif test "x$prefix" != xNONE; then | 2062 elif test "x$prefix" != xNONE; then |
1628 set x "$prefix/share/config.site" "$prefix/etc/config.site" | 2063 ac_site_file1=$prefix/share/config.site |
1629 else | 2064 ac_site_file2=$prefix/etc/config.site |
1630 set x "$ac_default_prefix/share/config.site" \ | 2065 else |
1631 "$ac_default_prefix/etc/config.site" | 2066 ac_site_file1=$ac_default_prefix/share/config.site |
1632 fi | 2067 ac_site_file2=$ac_default_prefix/etc/config.site |
1633 shift | 2068 fi |
1634 for ac_site_file | 2069 for ac_site_file in "$ac_site_file1" "$ac_site_file2" |
1635 do | 2070 do |
2071 test "x$ac_site_file" = xNONE && continue | |
1636 if test -r "$ac_site_file"; then | 2072 if test -r "$ac_site_file"; then |
1637 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 | 2073 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 |
1638 echo "$as_me: loading site script $ac_site_file" >&6;} | 2074 $as_echo "$as_me: loading site script $ac_site_file" >&6;} |
1639 sed 's/^/| /' "$ac_site_file" >&5 | 2075 sed 's/^/| /' "$ac_site_file" >&5 |
1640 . "$ac_site_file" | 2076 . "$ac_site_file" |
1641 fi | 2077 fi |
1642 done | 2078 done |
1643 | 2079 |
1644 if test -r "$cache_file"; then | 2080 if test -r "$cache_file"; then |
1645 # Some versions of bash will fail to source /dev/null (special | 2081 # Some versions of bash will fail to source /dev/null (special |
1646 # files actually), so we avoid doing that. | 2082 # files actually), so we avoid doing that. |
1647 if test -f "$cache_file"; then | 2083 if test -f "$cache_file"; then |
1648 { echo "$as_me:$LINENO: loading cache $cache_file" >&5 | 2084 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 |
1649 echo "$as_me: loading cache $cache_file" >&6;} | 2085 $as_echo "$as_me: loading cache $cache_file" >&6;} |
1650 case $cache_file in | 2086 case $cache_file in |
1651 [\\/]* | ?:[\\/]* ) . "$cache_file";; | 2087 [\\/]* | ?:[\\/]* ) . "$cache_file";; |
1652 *) . "./$cache_file";; | 2088 *) . "./$cache_file";; |
1653 esac | 2089 esac |
1654 fi | 2090 fi |
1655 else | 2091 else |
1656 { echo "$as_me:$LINENO: creating cache $cache_file" >&5 | 2092 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 |
1657 echo "$as_me: creating cache $cache_file" >&6;} | 2093 $as_echo "$as_me: creating cache $cache_file" >&6;} |
1658 >$cache_file | 2094 >$cache_file |
1659 fi | 2095 fi |
1660 | 2096 |
1661 # Check that the precious variables saved in the cache have kept the same | 2097 # Check that the precious variables saved in the cache have kept the same |
1662 # value. | 2098 # value. |
1666 eval ac_new_set=\$ac_env_${ac_var}_set | 2102 eval ac_new_set=\$ac_env_${ac_var}_set |
1667 eval ac_old_val=\$ac_cv_env_${ac_var}_value | 2103 eval ac_old_val=\$ac_cv_env_${ac_var}_value |
1668 eval ac_new_val=\$ac_env_${ac_var}_value | 2104 eval ac_new_val=\$ac_env_${ac_var}_value |
1669 case $ac_old_set,$ac_new_set in | 2105 case $ac_old_set,$ac_new_set in |
1670 set,) | 2106 set,) |
1671 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 | 2107 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
1672 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} | 2108 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
1673 ac_cache_corrupted=: ;; | 2109 ac_cache_corrupted=: ;; |
1674 ,set) | 2110 ,set) |
1675 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 | 2111 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 |
1676 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} | 2112 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
1677 ac_cache_corrupted=: ;; | 2113 ac_cache_corrupted=: ;; |
1678 ,);; | 2114 ,);; |
1679 *) | 2115 *) |
1680 if test "x$ac_old_val" != "x$ac_new_val"; then | 2116 if test "x$ac_old_val" != "x$ac_new_val"; then |
1681 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 | 2117 # differences in whitespace do not lead to failure. |
1682 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} | 2118 ac_old_val_w=`echo x $ac_old_val` |
1683 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 | 2119 ac_new_val_w=`echo x $ac_new_val` |
1684 echo "$as_me: former value: $ac_old_val" >&2;} | 2120 if test "$ac_old_val_w" != "$ac_new_val_w"; then |
1685 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 | 2121 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 |
1686 echo "$as_me: current value: $ac_new_val" >&2;} | 2122 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
1687 ac_cache_corrupted=: | 2123 ac_cache_corrupted=: |
2124 else | |
2125 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 | |
2126 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} | |
2127 eval $ac_var=\$ac_old_val | |
2128 fi | |
2129 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 | |
2130 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} | |
2131 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 | |
2132 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} | |
1688 fi;; | 2133 fi;; |
1689 esac | 2134 esac |
1690 # Pass precious variables to config.status. | 2135 # Pass precious variables to config.status. |
1691 if test "$ac_new_set" = set; then | 2136 if test "$ac_new_set" = set; then |
1692 case $ac_new_val in | 2137 case $ac_new_val in |
1693 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; | 2138 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
1694 *) ac_arg=$ac_var=$ac_new_val ;; | 2139 *) ac_arg=$ac_var=$ac_new_val ;; |
1695 esac | 2140 esac |
1696 case " $ac_configure_args " in | 2141 case " $ac_configure_args " in |
1697 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. | 2142 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
1698 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; | 2143 *) as_fn_append ac_configure_args " '$ac_arg'" ;; |
1699 esac | 2144 esac |
1700 fi | 2145 fi |
1701 done | 2146 done |
1702 if $ac_cache_corrupted; then | 2147 if $ac_cache_corrupted; then |
1703 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 | 2148 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
1704 echo "$as_me: error: changes in the environment can compromise the build" >&2;} | 2149 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
1705 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 | 2150 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 |
1706 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} | 2151 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
1707 { (exit 1); exit 1; }; } | 2152 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 |
1708 fi | 2153 fi |
1709 | 2154 ## -------------------- ## |
1710 | 2155 ## Main body of script. ## |
1711 | 2156 ## -------------------- ## |
1712 | |
1713 | |
1714 | |
1715 | |
1716 | |
1717 | |
1718 | |
1719 | |
1720 | |
1721 | |
1722 | |
1723 | |
1724 | |
1725 | 2157 |
1726 ac_ext=c | 2158 ac_ext=c |
1727 ac_cpp='$CPP $CPPFLAGS' | 2159 ac_cpp='$CPP $CPPFLAGS' |
1728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 2160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
1729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 2161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
1735 | 2167 |
1736 DW_MAJOR_VERSION=1 | 2168 DW_MAJOR_VERSION=1 |
1737 DW_MINOR_VERSION=1 | 2169 DW_MINOR_VERSION=1 |
1738 DW_SUB_VERSION=0 | 2170 DW_SUB_VERSION=0 |
1739 | 2171 |
1740 TARGET="dw" | 2172 TARGET="dwindows" |
1741 TARGET2="dwcompat" | 2173 TARGET2="dwcompat" |
1742 | 2174 |
1743 | 2175 |
1744 | 2176 |
1745 DW_SRC=gtk | 2177 DW_SRC=gtk |
1758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 2190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
1759 ac_compiler_gnu=$ac_cv_c_compiler_gnu | 2191 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
1760 if test -n "$ac_tool_prefix"; then | 2192 if test -n "$ac_tool_prefix"; then |
1761 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. | 2193 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
1762 set dummy ${ac_tool_prefix}gcc; ac_word=$2 | 2194 set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
1763 { echo "$as_me:$LINENO: checking for $ac_word" >&5 | 2195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1764 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 2196 $as_echo_n "checking for $ac_word... " >&6; } |
1765 if test "${ac_cv_prog_CC+set}" = set; then | 2197 if test "${ac_cv_prog_CC+set}" = set; then : |
1766 echo $ECHO_N "(cached) $ECHO_C" >&6 | 2198 $as_echo_n "(cached) " >&6 |
1767 else | 2199 else |
1768 if test -n "$CC"; then | 2200 if test -n "$CC"; then |
1769 ac_cv_prog_CC="$CC" # Let the user override the test. | 2201 ac_cv_prog_CC="$CC" # Let the user override the test. |
1770 else | 2202 else |
1771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 2203 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1772 for as_dir in $PATH | 2204 for as_dir in $PATH |
1773 do | 2205 do |
1774 IFS=$as_save_IFS | 2206 IFS=$as_save_IFS |
1775 test -z "$as_dir" && as_dir=. | 2207 test -z "$as_dir" && as_dir=. |
1776 for ac_exec_ext in '' $ac_executable_extensions; do | 2208 for ac_exec_ext in '' $ac_executable_extensions; do |
1777 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 2209 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
1778 ac_cv_prog_CC="${ac_tool_prefix}gcc" | 2210 ac_cv_prog_CC="${ac_tool_prefix}gcc" |
1779 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 2211 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1780 break 2 | 2212 break 2 |
1781 fi | 2213 fi |
1782 done | 2214 done |
1783 done | 2215 done |
1784 IFS=$as_save_IFS | 2216 IFS=$as_save_IFS |
1785 | 2217 |
1786 fi | 2218 fi |
1787 fi | 2219 fi |
1788 CC=$ac_cv_prog_CC | 2220 CC=$ac_cv_prog_CC |
1789 if test -n "$CC"; then | 2221 if test -n "$CC"; then |
1790 { echo "$as_me:$LINENO: result: $CC" >&5 | 2222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
1791 echo "${ECHO_T}$CC" >&6; } | 2223 $as_echo "$CC" >&6; } |
1792 else | 2224 else |
1793 { echo "$as_me:$LINENO: result: no" >&5 | 2225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
1794 echo "${ECHO_T}no" >&6; } | 2226 $as_echo "no" >&6; } |
1795 fi | 2227 fi |
1796 | 2228 |
1797 | 2229 |
1798 fi | 2230 fi |
1799 if test -z "$ac_cv_prog_CC"; then | 2231 if test -z "$ac_cv_prog_CC"; then |
1800 ac_ct_CC=$CC | 2232 ac_ct_CC=$CC |
1801 # Extract the first word of "gcc", so it can be a program name with args. | 2233 # Extract the first word of "gcc", so it can be a program name with args. |
1802 set dummy gcc; ac_word=$2 | 2234 set dummy gcc; ac_word=$2 |
1803 { echo "$as_me:$LINENO: checking for $ac_word" >&5 | 2235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1804 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 2236 $as_echo_n "checking for $ac_word... " >&6; } |
1805 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | 2237 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : |
1806 echo $ECHO_N "(cached) $ECHO_C" >&6 | 2238 $as_echo_n "(cached) " >&6 |
1807 else | 2239 else |
1808 if test -n "$ac_ct_CC"; then | 2240 if test -n "$ac_ct_CC"; then |
1809 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | 2241 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
1810 else | 2242 else |
1811 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 2243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1812 for as_dir in $PATH | 2244 for as_dir in $PATH |
1813 do | 2245 do |
1814 IFS=$as_save_IFS | 2246 IFS=$as_save_IFS |
1815 test -z "$as_dir" && as_dir=. | 2247 test -z "$as_dir" && as_dir=. |
1816 for ac_exec_ext in '' $ac_executable_extensions; do | 2248 for ac_exec_ext in '' $ac_executable_extensions; do |
1817 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 2249 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
1818 ac_cv_prog_ac_ct_CC="gcc" | 2250 ac_cv_prog_ac_ct_CC="gcc" |
1819 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 2251 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1820 break 2 | 2252 break 2 |
1821 fi | 2253 fi |
1822 done | 2254 done |
1823 done | 2255 done |
1824 IFS=$as_save_IFS | 2256 IFS=$as_save_IFS |
1825 | 2257 |
1826 fi | 2258 fi |
1827 fi | 2259 fi |
1828 ac_ct_CC=$ac_cv_prog_ac_ct_CC | 2260 ac_ct_CC=$ac_cv_prog_ac_ct_CC |
1829 if test -n "$ac_ct_CC"; then | 2261 if test -n "$ac_ct_CC"; then |
1830 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | 2262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
1831 echo "${ECHO_T}$ac_ct_CC" >&6; } | 2263 $as_echo "$ac_ct_CC" >&6; } |
1832 else | 2264 else |
1833 { echo "$as_me:$LINENO: result: no" >&5 | 2265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
1834 echo "${ECHO_T}no" >&6; } | 2266 $as_echo "no" >&6; } |
1835 fi | 2267 fi |
1836 | 2268 |
1837 if test "x$ac_ct_CC" = x; then | 2269 if test "x$ac_ct_CC" = x; then |
1838 CC="" | 2270 CC="" |
1839 else | 2271 else |
1840 case $cross_compiling:$ac_tool_warned in | 2272 case $cross_compiling:$ac_tool_warned in |
1841 yes:) | 2273 yes:) |
1842 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools | 2274 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
1843 whose name does not start with the host triplet. If you think this | 2275 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
1844 configuration is useful to you, please write to autoconf@gnu.org." >&5 | |
1845 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools | |
1846 whose name does not start with the host triplet. If you think this | |
1847 configuration is useful to you, please write to autoconf@gnu.org." >&2;} | |
1848 ac_tool_warned=yes ;; | 2276 ac_tool_warned=yes ;; |
1849 esac | 2277 esac |
1850 CC=$ac_ct_CC | 2278 CC=$ac_ct_CC |
1851 fi | 2279 fi |
1852 else | 2280 else |
1855 | 2283 |
1856 if test -z "$CC"; then | 2284 if test -z "$CC"; then |
1857 if test -n "$ac_tool_prefix"; then | 2285 if test -n "$ac_tool_prefix"; then |
1858 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. | 2286 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
1859 set dummy ${ac_tool_prefix}cc; ac_word=$2 | 2287 set dummy ${ac_tool_prefix}cc; ac_word=$2 |
1860 { echo "$as_me:$LINENO: checking for $ac_word" >&5 | 2288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1861 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 2289 $as_echo_n "checking for $ac_word... " >&6; } |
1862 if test "${ac_cv_prog_CC+set}" = set; then | 2290 if test "${ac_cv_prog_CC+set}" = set; then : |
1863 echo $ECHO_N "(cached) $ECHO_C" >&6 | 2291 $as_echo_n "(cached) " >&6 |
1864 else | 2292 else |
1865 if test -n "$CC"; then | 2293 if test -n "$CC"; then |
1866 ac_cv_prog_CC="$CC" # Let the user override the test. | 2294 ac_cv_prog_CC="$CC" # Let the user override the test. |
1867 else | 2295 else |
1868 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 2296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1869 for as_dir in $PATH | 2297 for as_dir in $PATH |
1870 do | 2298 do |
1871 IFS=$as_save_IFS | 2299 IFS=$as_save_IFS |
1872 test -z "$as_dir" && as_dir=. | 2300 test -z "$as_dir" && as_dir=. |
1873 for ac_exec_ext in '' $ac_executable_extensions; do | 2301 for ac_exec_ext in '' $ac_executable_extensions; do |
1874 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 2302 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
1875 ac_cv_prog_CC="${ac_tool_prefix}cc" | 2303 ac_cv_prog_CC="${ac_tool_prefix}cc" |
1876 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 2304 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1877 break 2 | 2305 break 2 |
1878 fi | 2306 fi |
1879 done | 2307 done |
1880 done | 2308 done |
1881 IFS=$as_save_IFS | 2309 IFS=$as_save_IFS |
1882 | 2310 |
1883 fi | 2311 fi |
1884 fi | 2312 fi |
1885 CC=$ac_cv_prog_CC | 2313 CC=$ac_cv_prog_CC |
1886 if test -n "$CC"; then | 2314 if test -n "$CC"; then |
1887 { echo "$as_me:$LINENO: result: $CC" >&5 | 2315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
1888 echo "${ECHO_T}$CC" >&6; } | 2316 $as_echo "$CC" >&6; } |
1889 else | 2317 else |
1890 { echo "$as_me:$LINENO: result: no" >&5 | 2318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
1891 echo "${ECHO_T}no" >&6; } | 2319 $as_echo "no" >&6; } |
1892 fi | 2320 fi |
1893 | 2321 |
1894 | 2322 |
1895 fi | 2323 fi |
1896 fi | 2324 fi |
1897 if test -z "$CC"; then | 2325 if test -z "$CC"; then |
1898 # Extract the first word of "cc", so it can be a program name with args. | 2326 # Extract the first word of "cc", so it can be a program name with args. |
1899 set dummy cc; ac_word=$2 | 2327 set dummy cc; ac_word=$2 |
1900 { echo "$as_me:$LINENO: checking for $ac_word" >&5 | 2328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1901 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 2329 $as_echo_n "checking for $ac_word... " >&6; } |
1902 if test "${ac_cv_prog_CC+set}" = set; then | 2330 if test "${ac_cv_prog_CC+set}" = set; then : |
1903 echo $ECHO_N "(cached) $ECHO_C" >&6 | 2331 $as_echo_n "(cached) " >&6 |
1904 else | 2332 else |
1905 if test -n "$CC"; then | 2333 if test -n "$CC"; then |
1906 ac_cv_prog_CC="$CC" # Let the user override the test. | 2334 ac_cv_prog_CC="$CC" # Let the user override the test. |
1907 else | 2335 else |
1908 ac_prog_rejected=no | 2336 ac_prog_rejected=no |
1909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 2337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1910 for as_dir in $PATH | 2338 for as_dir in $PATH |
1911 do | 2339 do |
1912 IFS=$as_save_IFS | 2340 IFS=$as_save_IFS |
1913 test -z "$as_dir" && as_dir=. | 2341 test -z "$as_dir" && as_dir=. |
1914 for ac_exec_ext in '' $ac_executable_extensions; do | 2342 for ac_exec_ext in '' $ac_executable_extensions; do |
1915 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 2343 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
1916 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then | 2344 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
1917 ac_prog_rejected=yes | 2345 ac_prog_rejected=yes |
1918 continue | 2346 continue |
1919 fi | 2347 fi |
1920 ac_cv_prog_CC="cc" | 2348 ac_cv_prog_CC="cc" |
1921 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 2349 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1922 break 2 | 2350 break 2 |
1923 fi | 2351 fi |
1924 done | 2352 done |
1925 done | 2353 done |
1926 IFS=$as_save_IFS | 2354 IFS=$as_save_IFS |
1927 | 2355 |
1928 if test $ac_prog_rejected = yes; then | 2356 if test $ac_prog_rejected = yes; then |
1929 # We found a bogon in the path, so make sure we never use it. | 2357 # We found a bogon in the path, so make sure we never use it. |
1930 set dummy $ac_cv_prog_CC | 2358 set dummy $ac_cv_prog_CC |
1939 fi | 2367 fi |
1940 fi | 2368 fi |
1941 fi | 2369 fi |
1942 CC=$ac_cv_prog_CC | 2370 CC=$ac_cv_prog_CC |
1943 if test -n "$CC"; then | 2371 if test -n "$CC"; then |
1944 { echo "$as_me:$LINENO: result: $CC" >&5 | 2372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
1945 echo "${ECHO_T}$CC" >&6; } | 2373 $as_echo "$CC" >&6; } |
1946 else | 2374 else |
1947 { echo "$as_me:$LINENO: result: no" >&5 | 2375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
1948 echo "${ECHO_T}no" >&6; } | 2376 $as_echo "no" >&6; } |
1949 fi | 2377 fi |
1950 | 2378 |
1951 | 2379 |
1952 fi | 2380 fi |
1953 if test -z "$CC"; then | 2381 if test -z "$CC"; then |
1954 if test -n "$ac_tool_prefix"; then | 2382 if test -n "$ac_tool_prefix"; then |
1955 for ac_prog in cl.exe | 2383 for ac_prog in cl.exe |
1956 do | 2384 do |
1957 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | 2385 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
1958 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | 2386 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
1959 { echo "$as_me:$LINENO: checking for $ac_word" >&5 | 2387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1960 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 2388 $as_echo_n "checking for $ac_word... " >&6; } |
1961 if test "${ac_cv_prog_CC+set}" = set; then | 2389 if test "${ac_cv_prog_CC+set}" = set; then : |
1962 echo $ECHO_N "(cached) $ECHO_C" >&6 | 2390 $as_echo_n "(cached) " >&6 |
1963 else | 2391 else |
1964 if test -n "$CC"; then | 2392 if test -n "$CC"; then |
1965 ac_cv_prog_CC="$CC" # Let the user override the test. | 2393 ac_cv_prog_CC="$CC" # Let the user override the test. |
1966 else | 2394 else |
1967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 2395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1968 for as_dir in $PATH | 2396 for as_dir in $PATH |
1969 do | 2397 do |
1970 IFS=$as_save_IFS | 2398 IFS=$as_save_IFS |
1971 test -z "$as_dir" && as_dir=. | 2399 test -z "$as_dir" && as_dir=. |
1972 for ac_exec_ext in '' $ac_executable_extensions; do | 2400 for ac_exec_ext in '' $ac_executable_extensions; do |
1973 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 2401 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
1974 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" | 2402 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
1975 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 2403 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1976 break 2 | 2404 break 2 |
1977 fi | 2405 fi |
1978 done | 2406 done |
1979 done | 2407 done |
1980 IFS=$as_save_IFS | 2408 IFS=$as_save_IFS |
1981 | 2409 |
1982 fi | 2410 fi |
1983 fi | 2411 fi |
1984 CC=$ac_cv_prog_CC | 2412 CC=$ac_cv_prog_CC |
1985 if test -n "$CC"; then | 2413 if test -n "$CC"; then |
1986 { echo "$as_me:$LINENO: result: $CC" >&5 | 2414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
1987 echo "${ECHO_T}$CC" >&6; } | 2415 $as_echo "$CC" >&6; } |
1988 else | 2416 else |
1989 { echo "$as_me:$LINENO: result: no" >&5 | 2417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
1990 echo "${ECHO_T}no" >&6; } | 2418 $as_echo "no" >&6; } |
1991 fi | 2419 fi |
1992 | 2420 |
1993 | 2421 |
1994 test -n "$CC" && break | 2422 test -n "$CC" && break |
1995 done | 2423 done |
1998 ac_ct_CC=$CC | 2426 ac_ct_CC=$CC |
1999 for ac_prog in cl.exe | 2427 for ac_prog in cl.exe |
2000 do | 2428 do |
2001 # Extract the first word of "$ac_prog", so it can be a program name with args. | 2429 # Extract the first word of "$ac_prog", so it can be a program name with args. |
2002 set dummy $ac_prog; ac_word=$2 | 2430 set dummy $ac_prog; ac_word=$2 |
2003 { echo "$as_me:$LINENO: checking for $ac_word" >&5 | 2431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2004 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 2432 $as_echo_n "checking for $ac_word... " >&6; } |
2005 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | 2433 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : |
2006 echo $ECHO_N "(cached) $ECHO_C" >&6 | 2434 $as_echo_n "(cached) " >&6 |
2007 else | 2435 else |
2008 if test -n "$ac_ct_CC"; then | 2436 if test -n "$ac_ct_CC"; then |
2009 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | 2437 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
2010 else | 2438 else |
2011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 2439 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2012 for as_dir in $PATH | 2440 for as_dir in $PATH |
2013 do | 2441 do |
2014 IFS=$as_save_IFS | 2442 IFS=$as_save_IFS |
2015 test -z "$as_dir" && as_dir=. | 2443 test -z "$as_dir" && as_dir=. |
2016 for ac_exec_ext in '' $ac_executable_extensions; do | 2444 for ac_exec_ext in '' $ac_executable_extensions; do |
2017 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 2445 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2018 ac_cv_prog_ac_ct_CC="$ac_prog" | 2446 ac_cv_prog_ac_ct_CC="$ac_prog" |
2019 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 2447 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2020 break 2 | 2448 break 2 |
2021 fi | 2449 fi |
2022 done | 2450 done |
2023 done | 2451 done |
2024 IFS=$as_save_IFS | 2452 IFS=$as_save_IFS |
2025 | 2453 |
2026 fi | 2454 fi |
2027 fi | 2455 fi |
2028 ac_ct_CC=$ac_cv_prog_ac_ct_CC | 2456 ac_ct_CC=$ac_cv_prog_ac_ct_CC |
2029 if test -n "$ac_ct_CC"; then | 2457 if test -n "$ac_ct_CC"; then |
2030 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | 2458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
2031 echo "${ECHO_T}$ac_ct_CC" >&6; } | 2459 $as_echo "$ac_ct_CC" >&6; } |
2032 else | 2460 else |
2033 { echo "$as_me:$LINENO: result: no" >&5 | 2461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
2034 echo "${ECHO_T}no" >&6; } | 2462 $as_echo "no" >&6; } |
2035 fi | 2463 fi |
2036 | 2464 |
2037 | 2465 |
2038 test -n "$ac_ct_CC" && break | 2466 test -n "$ac_ct_CC" && break |
2039 done | 2467 done |
2041 if test "x$ac_ct_CC" = x; then | 2469 if test "x$ac_ct_CC" = x; then |
2042 CC="" | 2470 CC="" |
2043 else | 2471 else |
2044 case $cross_compiling:$ac_tool_warned in | 2472 case $cross_compiling:$ac_tool_warned in |
2045 yes:) | 2473 yes:) |
2046 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools | 2474 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
2047 whose name does not start with the host triplet. If you think this | 2475 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
2048 configuration is useful to you, please write to autoconf@gnu.org." >&5 | |
2049 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools | |
2050 whose name does not start with the host triplet. If you think this | |
2051 configuration is useful to you, please write to autoconf@gnu.org." >&2;} | |
2052 ac_tool_warned=yes ;; | 2476 ac_tool_warned=yes ;; |
2053 esac | 2477 esac |
2054 CC=$ac_ct_CC | 2478 CC=$ac_ct_CC |
2055 fi | 2479 fi |
2056 fi | 2480 fi |
2057 | 2481 |
2058 fi | 2482 fi |
2059 | 2483 |
2060 | 2484 |
2061 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH | 2485 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2062 See \`config.log' for more details." >&5 | 2486 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2063 echo "$as_me: error: no acceptable C compiler found in \$PATH | 2487 as_fn_error "no acceptable C compiler found in \$PATH |
2064 See \`config.log' for more details." >&2;} | 2488 See \`config.log' for more details." "$LINENO" 5; } |
2065 { (exit 1); exit 1; }; } | |
2066 | 2489 |
2067 # Provide some information about the compiler. | 2490 # Provide some information about the compiler. |
2068 echo "$as_me:$LINENO: checking for C compiler version" >&5 | 2491 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
2069 ac_compiler=`set X $ac_compile; echo $2` | 2492 set X $ac_compile |
2070 { (ac_try="$ac_compiler --version >&5" | 2493 ac_compiler=$2 |
2494 for ac_option in --version -v -V -qversion; do | |
2495 { { ac_try="$ac_compiler $ac_option >&5" | |
2071 case "(($ac_try" in | 2496 case "(($ac_try" in |
2072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 2497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2073 *) ac_try_echo=$ac_try;; | 2498 *) ac_try_echo=$ac_try;; |
2074 esac | 2499 esac |
2075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 2500 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
2076 (eval "$ac_compiler --version >&5") 2>&5 | 2501 $as_echo "$ac_try_echo"; } >&5 |
2502 (eval "$ac_compiler $ac_option >&5") 2>conftest.err | |
2077 ac_status=$? | 2503 ac_status=$? |
2078 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 2504 if test -s conftest.err; then |
2079 (exit $ac_status); } | 2505 sed '10a\ |
2080 { (ac_try="$ac_compiler -v >&5" | 2506 ... rest of stderr output deleted ... |
2507 10q' conftest.err >conftest.er1 | |
2508 cat conftest.er1 >&5 | |
2509 rm -f conftest.er1 conftest.err | |
2510 fi | |
2511 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
2512 test $ac_status = 0; } | |
2513 done | |
2514 | |
2515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
2516 /* end confdefs.h. */ | |
2517 #include <stdio.h> | |
2518 int | |
2519 main () | |
2520 { | |
2521 FILE *f = fopen ("conftest.out", "w"); | |
2522 return ferror (f) || fclose (f) != 0; | |
2523 | |
2524 ; | |
2525 return 0; | |
2526 } | |
2527 _ACEOF | |
2528 ac_clean_files_save=$ac_clean_files | |
2529 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out" | |
2530 # Try to create an executable without -o first, disregard a.out. | |
2531 # It will help us diagnose broken compilers, and finding out an intuition | |
2532 # of exeext. | |
2533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 | |
2534 $as_echo_n "checking for C compiler default output file name... " >&6; } | |
2535 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` | |
2536 | |
2537 # The possible output files: | |
2538 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" | |
2539 | |
2540 ac_rmfiles= | |
2541 for ac_file in $ac_files | |
2542 do | |
2543 case $ac_file in | |
2544 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; | |
2545 * ) ac_rmfiles="$ac_rmfiles $ac_file";; | |
2546 esac | |
2547 done | |
2548 rm -f $ac_rmfiles | |
2549 | |
2550 if { { ac_try="$ac_link_default" | |
2081 case "(($ac_try" in | 2551 case "(($ac_try" in |
2082 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 2552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2083 *) ac_try_echo=$ac_try;; | 2553 *) ac_try_echo=$ac_try;; |
2084 esac | 2554 esac |
2085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 2555 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
2086 (eval "$ac_compiler -v >&5") 2>&5 | 2556 $as_echo "$ac_try_echo"; } >&5 |
2087 ac_status=$? | |
2088 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2089 (exit $ac_status); } | |
2090 { (ac_try="$ac_compiler -V >&5" | |
2091 case "(($ac_try" in | |
2092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
2093 *) ac_try_echo=$ac_try;; | |
2094 esac | |
2095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
2096 (eval "$ac_compiler -V >&5") 2>&5 | |
2097 ac_status=$? | |
2098 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2099 (exit $ac_status); } | |
2100 | |
2101 cat >conftest.$ac_ext <<_ACEOF | |
2102 /* confdefs.h. */ | |
2103 _ACEOF | |
2104 cat confdefs.h >>conftest.$ac_ext | |
2105 cat >>conftest.$ac_ext <<_ACEOF | |
2106 /* end confdefs.h. */ | |
2107 | |
2108 int | |
2109 main () | |
2110 { | |
2111 | |
2112 ; | |
2113 return 0; | |
2114 } | |
2115 _ACEOF | |
2116 ac_clean_files_save=$ac_clean_files | |
2117 ac_clean_files="$ac_clean_files a.out a.exe b.out" | |
2118 # Try to create an executable without -o first, disregard a.out. | |
2119 # It will help us diagnose broken compilers, and finding out an intuition | |
2120 # of exeext. | |
2121 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 | |
2122 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } | |
2123 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` | |
2124 # | |
2125 # List of possible output files, starting from the most likely. | |
2126 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*) | |
2127 # only as a last resort. b.out is created by i960 compilers. | |
2128 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' | |
2129 # | |
2130 # The IRIX 6 linker writes into existing files which may not be | |
2131 # executable, retaining their permissions. Remove them first so a | |
2132 # subsequent execution test works. | |
2133 ac_rmfiles= | |
2134 for ac_file in $ac_files | |
2135 do | |
2136 case $ac_file in | |
2137 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; | |
2138 * ) ac_rmfiles="$ac_rmfiles $ac_file";; | |
2139 esac | |
2140 done | |
2141 rm -f $ac_rmfiles | |
2142 | |
2143 if { (ac_try="$ac_link_default" | |
2144 case "(($ac_try" in | |
2145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
2146 *) ac_try_echo=$ac_try;; | |
2147 esac | |
2148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
2149 (eval "$ac_link_default") 2>&5 | 2557 (eval "$ac_link_default") 2>&5 |
2150 ac_status=$? | 2558 ac_status=$? |
2151 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 2559 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
2152 (exit $ac_status); }; then | 2560 test $ac_status = 0; }; then : |
2153 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. | 2561 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. |
2154 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' | 2562 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' |
2155 # in a Makefile. We should not override ac_cv_exeext if it was cached, | 2563 # in a Makefile. We should not override ac_cv_exeext if it was cached, |
2156 # so that the user can short-circuit this test for compilers unknown to | 2564 # so that the user can short-circuit this test for compilers unknown to |
2157 # Autoconf. | 2565 # Autoconf. |
2158 for ac_file in $ac_files '' | 2566 for ac_file in $ac_files '' |
2159 do | 2567 do |
2160 test -f "$ac_file" || continue | 2568 test -f "$ac_file" || continue |
2161 case $ac_file in | 2569 case $ac_file in |
2162 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) | 2570 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) |
2163 ;; | 2571 ;; |
2164 [ab].out ) | 2572 [ab].out ) |
2165 # We found the default executable, but exeext='' is most | 2573 # We found the default executable, but exeext='' is most |
2166 # certainly right. | 2574 # certainly right. |
2167 break;; | 2575 break;; |
2168 *.* ) | 2576 *.* ) |
2169 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; | 2577 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; |
2170 then :; else | 2578 then :; else |
2171 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | 2579 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
2172 fi | 2580 fi |
2173 # We set ac_cv_exeext here because the later test for it is not | 2581 # We set ac_cv_exeext here because the later test for it is not |
2174 # safe: cross compilers may not add the suffix if given an `-o' | 2582 # safe: cross compilers may not add the suffix if given an `-o' |
2183 test "$ac_cv_exeext" = no && ac_cv_exeext= | 2591 test "$ac_cv_exeext" = no && ac_cv_exeext= |
2184 | 2592 |
2185 else | 2593 else |
2186 ac_file='' | 2594 ac_file='' |
2187 fi | 2595 fi |
2188 | 2596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 |
2189 { echo "$as_me:$LINENO: result: $ac_file" >&5 | 2597 $as_echo "$ac_file" >&6; } |
2190 echo "${ECHO_T}$ac_file" >&6; } | 2598 if test -z "$ac_file"; then : |
2191 if test -z "$ac_file"; then | 2599 $as_echo "$as_me: failed program was:" >&5 |
2192 echo "$as_me: failed program was:" >&5 | |
2193 sed 's/^/| /' conftest.$ac_ext >&5 | 2600 sed 's/^/| /' conftest.$ac_ext >&5 |
2194 | 2601 |
2195 { { echo "$as_me:$LINENO: error: C compiler cannot create executables | 2602 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2196 See \`config.log' for more details." >&5 | 2603 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2197 echo "$as_me: error: C compiler cannot create executables | 2604 { as_fn_set_status 77 |
2198 See \`config.log' for more details." >&2;} | 2605 as_fn_error "C compiler cannot create executables |
2199 { (exit 77); exit 77; }; } | 2606 See \`config.log' for more details." "$LINENO" 5; }; } |
2200 fi | 2607 fi |
2201 | |
2202 ac_exeext=$ac_cv_exeext | 2608 ac_exeext=$ac_cv_exeext |
2203 | 2609 |
2204 # Check that the compiler produces executables we can run. If not, either | 2610 # Check that the compiler produces executables we can run. If not, either |
2205 # the compiler is broken, or we cross compile. | 2611 # the compiler is broken, or we cross compile. |
2206 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5 | 2612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 |
2207 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } | 2613 $as_echo_n "checking whether the C compiler works... " >&6; } |
2208 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 | |
2209 # If not cross compiling, check that we can run a simple program. | 2614 # If not cross compiling, check that we can run a simple program. |
2210 if test "$cross_compiling" != yes; then | 2615 if test "$cross_compiling" != yes; then |
2211 if { ac_try='./$ac_file' | 2616 if { ac_try='./$ac_file' |
2212 { (case "(($ac_try" in | 2617 { { case "(($ac_try" in |
2213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 2618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2214 *) ac_try_echo=$ac_try;; | 2619 *) ac_try_echo=$ac_try;; |
2215 esac | 2620 esac |
2216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 2621 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
2622 $as_echo "$ac_try_echo"; } >&5 | |
2217 (eval "$ac_try") 2>&5 | 2623 (eval "$ac_try") 2>&5 |
2218 ac_status=$? | 2624 ac_status=$? |
2219 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 2625 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
2220 (exit $ac_status); }; }; then | 2626 test $ac_status = 0; }; }; then |
2221 cross_compiling=no | 2627 cross_compiling=no |
2222 else | 2628 else |
2223 if test "$cross_compiling" = maybe; then | 2629 if test "$cross_compiling" = maybe; then |
2224 cross_compiling=yes | 2630 cross_compiling=yes |
2225 else | 2631 else |
2226 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. | 2632 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2633 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
2634 as_fn_error "cannot run C compiled programs. | |
2227 If you meant to cross compile, use \`--host'. | 2635 If you meant to cross compile, use \`--host'. |
2228 See \`config.log' for more details." >&5 | 2636 See \`config.log' for more details." "$LINENO" 5; } |
2229 echo "$as_me: error: cannot run C compiled programs. | |
2230 If you meant to cross compile, use \`--host'. | |
2231 See \`config.log' for more details." >&2;} | |
2232 { (exit 1); exit 1; }; } | |
2233 fi | 2637 fi |
2234 fi | 2638 fi |
2235 fi | 2639 fi |
2236 { echo "$as_me:$LINENO: result: yes" >&5 | 2640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
2237 echo "${ECHO_T}yes" >&6; } | 2641 $as_echo "yes" >&6; } |
2238 | 2642 |
2239 rm -f a.out a.exe conftest$ac_cv_exeext b.out | 2643 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out |
2240 ac_clean_files=$ac_clean_files_save | 2644 ac_clean_files=$ac_clean_files_save |
2241 # Check that the compiler produces executables we can run. If not, either | 2645 # Check that the compiler produces executables we can run. If not, either |
2242 # the compiler is broken, or we cross compile. | 2646 # the compiler is broken, or we cross compile. |
2243 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 | 2647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 |
2244 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } | 2648 $as_echo_n "checking whether we are cross compiling... " >&6; } |
2245 { echo "$as_me:$LINENO: result: $cross_compiling" >&5 | 2649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
2246 echo "${ECHO_T}$cross_compiling" >&6; } | 2650 $as_echo "$cross_compiling" >&6; } |
2247 | 2651 |
2248 { echo "$as_me:$LINENO: checking for suffix of executables" >&5 | 2652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 |
2249 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } | 2653 $as_echo_n "checking for suffix of executables... " >&6; } |
2250 if { (ac_try="$ac_link" | 2654 if { { ac_try="$ac_link" |
2251 case "(($ac_try" in | 2655 case "(($ac_try" in |
2252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 2656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2253 *) ac_try_echo=$ac_try;; | 2657 *) ac_try_echo=$ac_try;; |
2254 esac | 2658 esac |
2255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 2659 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
2660 $as_echo "$ac_try_echo"; } >&5 | |
2256 (eval "$ac_link") 2>&5 | 2661 (eval "$ac_link") 2>&5 |
2257 ac_status=$? | 2662 ac_status=$? |
2258 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 2663 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
2259 (exit $ac_status); }; then | 2664 test $ac_status = 0; }; then : |
2260 # If both `conftest.exe' and `conftest' are `present' (well, observable) | 2665 # If both `conftest.exe' and `conftest' are `present' (well, observable) |
2261 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will | 2666 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
2262 # work properly (i.e., refer to `conftest.exe'), while it won't with | 2667 # work properly (i.e., refer to `conftest.exe'), while it won't with |
2263 # `rm'. | 2668 # `rm'. |
2264 for ac_file in conftest.exe conftest conftest.*; do | 2669 for ac_file in conftest.exe conftest conftest.*; do |
2265 test -f "$ac_file" || continue | 2670 test -f "$ac_file" || continue |
2266 case $ac_file in | 2671 case $ac_file in |
2267 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; | 2672 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
2268 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | 2673 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
2269 break;; | 2674 break;; |
2270 * ) break;; | 2675 * ) break;; |
2271 esac | 2676 esac |
2272 done | 2677 done |
2273 else | 2678 else |
2274 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link | 2679 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2275 See \`config.log' for more details." >&5 | 2680 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2276 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link | 2681 as_fn_error "cannot compute suffix of executables: cannot compile and link |
2277 See \`config.log' for more details." >&2;} | 2682 See \`config.log' for more details." "$LINENO" 5; } |
2278 { (exit 1); exit 1; }; } | 2683 fi |
2279 fi | |
2280 | |
2281 rm -f conftest$ac_cv_exeext | 2684 rm -f conftest$ac_cv_exeext |
2282 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 | 2685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
2283 echo "${ECHO_T}$ac_cv_exeext" >&6; } | 2686 $as_echo "$ac_cv_exeext" >&6; } |
2284 | 2687 |
2285 rm -f conftest.$ac_ext | 2688 rm -f conftest.$ac_ext |
2286 EXEEXT=$ac_cv_exeext | 2689 EXEEXT=$ac_cv_exeext |
2287 ac_exeext=$EXEEXT | 2690 ac_exeext=$EXEEXT |
2288 { echo "$as_me:$LINENO: checking for suffix of object files" >&5 | 2691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 |
2289 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } | 2692 $as_echo_n "checking for suffix of object files... " >&6; } |
2290 if test "${ac_cv_objext+set}" = set; then | 2693 if test "${ac_cv_objext+set}" = set; then : |
2291 echo $ECHO_N "(cached) $ECHO_C" >&6 | 2694 $as_echo_n "(cached) " >&6 |
2292 else | 2695 else |
2293 cat >conftest.$ac_ext <<_ACEOF | 2696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2294 /* confdefs.h. */ | |
2295 _ACEOF | |
2296 cat confdefs.h >>conftest.$ac_ext | |
2297 cat >>conftest.$ac_ext <<_ACEOF | |
2298 /* end confdefs.h. */ | 2697 /* end confdefs.h. */ |
2299 | 2698 |
2300 int | 2699 int |
2301 main () | 2700 main () |
2302 { | 2701 { |
2304 ; | 2703 ; |
2305 return 0; | 2704 return 0; |
2306 } | 2705 } |
2307 _ACEOF | 2706 _ACEOF |
2308 rm -f conftest.o conftest.obj | 2707 rm -f conftest.o conftest.obj |
2309 if { (ac_try="$ac_compile" | 2708 if { { ac_try="$ac_compile" |
2310 case "(($ac_try" in | 2709 case "(($ac_try" in |
2311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 2710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2312 *) ac_try_echo=$ac_try;; | 2711 *) ac_try_echo=$ac_try;; |
2313 esac | 2712 esac |
2314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 2713 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
2714 $as_echo "$ac_try_echo"; } >&5 | |
2315 (eval "$ac_compile") 2>&5 | 2715 (eval "$ac_compile") 2>&5 |
2316 ac_status=$? | 2716 ac_status=$? |
2317 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 2717 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
2318 (exit $ac_status); }; then | 2718 test $ac_status = 0; }; then : |
2319 for ac_file in conftest.o conftest.obj conftest.*; do | 2719 for ac_file in conftest.o conftest.obj conftest.*; do |
2320 test -f "$ac_file" || continue; | 2720 test -f "$ac_file" || continue; |
2321 case $ac_file in | 2721 case $ac_file in |
2322 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; | 2722 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; |
2323 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` | 2723 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
2324 break;; | 2724 break;; |
2325 esac | 2725 esac |
2326 done | 2726 done |
2327 else | 2727 else |
2328 echo "$as_me: failed program was:" >&5 | 2728 $as_echo "$as_me: failed program was:" >&5 |
2329 sed 's/^/| /' conftest.$ac_ext >&5 | 2729 sed 's/^/| /' conftest.$ac_ext >&5 |
2330 | 2730 |
2331 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile | 2731 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2332 See \`config.log' for more details." >&5 | 2732 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2333 echo "$as_me: error: cannot compute suffix of object files: cannot compile | 2733 as_fn_error "cannot compute suffix of object files: cannot compile |
2334 See \`config.log' for more details." >&2;} | 2734 See \`config.log' for more details." "$LINENO" 5; } |
2335 { (exit 1); exit 1; }; } | 2735 fi |
2336 fi | |
2337 | |
2338 rm -f conftest.$ac_cv_objext conftest.$ac_ext | 2736 rm -f conftest.$ac_cv_objext conftest.$ac_ext |
2339 fi | 2737 fi |
2340 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 | 2738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 |
2341 echo "${ECHO_T}$ac_cv_objext" >&6; } | 2739 $as_echo "$ac_cv_objext" >&6; } |
2342 OBJEXT=$ac_cv_objext | 2740 OBJEXT=$ac_cv_objext |
2343 ac_objext=$OBJEXT | 2741 ac_objext=$OBJEXT |
2344 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 | 2742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 |
2345 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } | 2743 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
2346 if test "${ac_cv_c_compiler_gnu+set}" = set; then | 2744 if test "${ac_cv_c_compiler_gnu+set}" = set; then : |
2347 echo $ECHO_N "(cached) $ECHO_C" >&6 | 2745 $as_echo_n "(cached) " >&6 |
2348 else | 2746 else |
2349 cat >conftest.$ac_ext <<_ACEOF | 2747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2350 /* confdefs.h. */ | |
2351 _ACEOF | |
2352 cat confdefs.h >>conftest.$ac_ext | |
2353 cat >>conftest.$ac_ext <<_ACEOF | |
2354 /* end confdefs.h. */ | 2748 /* end confdefs.h. */ |
2355 | 2749 |
2356 int | 2750 int |
2357 main () | 2751 main () |
2358 { | 2752 { |
2362 | 2756 |
2363 ; | 2757 ; |
2364 return 0; | 2758 return 0; |
2365 } | 2759 } |
2366 _ACEOF | 2760 _ACEOF |
2367 rm -f conftest.$ac_objext | 2761 if ac_fn_c_try_compile "$LINENO"; then : |
2368 if { (ac_try="$ac_compile" | |
2369 case "(($ac_try" in | |
2370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
2371 *) ac_try_echo=$ac_try;; | |
2372 esac | |
2373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
2374 (eval "$ac_compile") 2>conftest.er1 | |
2375 ac_status=$? | |
2376 grep -v '^ *+' conftest.er1 >conftest.err | |
2377 rm -f conftest.er1 | |
2378 cat conftest.err >&5 | |
2379 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2380 (exit $ac_status); } && { | |
2381 test -z "$ac_c_werror_flag" || | |
2382 test ! -s conftest.err | |
2383 } && test -s conftest.$ac_objext; then | |
2384 ac_compiler_gnu=yes | 2762 ac_compiler_gnu=yes |
2385 else | 2763 else |
2386 echo "$as_me: failed program was:" >&5 | 2764 ac_compiler_gnu=no |
2387 sed 's/^/| /' conftest.$ac_ext >&5 | 2765 fi |
2388 | |
2389 ac_compiler_gnu=no | |
2390 fi | |
2391 | |
2392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 2766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2393 ac_cv_c_compiler_gnu=$ac_compiler_gnu | 2767 ac_cv_c_compiler_gnu=$ac_compiler_gnu |
2394 | 2768 |
2395 fi | 2769 fi |
2396 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 | 2770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 |
2397 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } | 2771 $as_echo "$ac_cv_c_compiler_gnu" >&6; } |
2398 GCC=`test $ac_compiler_gnu = yes && echo yes` | 2772 if test $ac_compiler_gnu = yes; then |
2773 GCC=yes | |
2774 else | |
2775 GCC= | |
2776 fi | |
2399 ac_test_CFLAGS=${CFLAGS+set} | 2777 ac_test_CFLAGS=${CFLAGS+set} |
2400 ac_save_CFLAGS=$CFLAGS | 2778 ac_save_CFLAGS=$CFLAGS |
2401 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 | 2779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
2402 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } | 2780 $as_echo_n "checking whether $CC accepts -g... " >&6; } |
2403 if test "${ac_cv_prog_cc_g+set}" = set; then | 2781 if test "${ac_cv_prog_cc_g+set}" = set; then : |
2404 echo $ECHO_N "(cached) $ECHO_C" >&6 | 2782 $as_echo_n "(cached) " >&6 |
2405 else | 2783 else |
2406 ac_save_c_werror_flag=$ac_c_werror_flag | 2784 ac_save_c_werror_flag=$ac_c_werror_flag |
2407 ac_c_werror_flag=yes | 2785 ac_c_werror_flag=yes |
2408 ac_cv_prog_cc_g=no | 2786 ac_cv_prog_cc_g=no |
2409 CFLAGS="-g" | 2787 CFLAGS="-g" |
2410 cat >conftest.$ac_ext <<_ACEOF | 2788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2411 /* confdefs.h. */ | |
2412 _ACEOF | |
2413 cat confdefs.h >>conftest.$ac_ext | |
2414 cat >>conftest.$ac_ext <<_ACEOF | |
2415 /* end confdefs.h. */ | 2789 /* end confdefs.h. */ |
2416 | 2790 |
2417 int | 2791 int |
2418 main () | 2792 main () |
2419 { | 2793 { |
2420 | 2794 |
2421 ; | 2795 ; |
2422 return 0; | 2796 return 0; |
2423 } | 2797 } |
2424 _ACEOF | 2798 _ACEOF |
2425 rm -f conftest.$ac_objext | 2799 if ac_fn_c_try_compile "$LINENO"; then : |
2426 if { (ac_try="$ac_compile" | |
2427 case "(($ac_try" in | |
2428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
2429 *) ac_try_echo=$ac_try;; | |
2430 esac | |
2431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
2432 (eval "$ac_compile") 2>conftest.er1 | |
2433 ac_status=$? | |
2434 grep -v '^ *+' conftest.er1 >conftest.err | |
2435 rm -f conftest.er1 | |
2436 cat conftest.err >&5 | |
2437 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2438 (exit $ac_status); } && { | |
2439 test -z "$ac_c_werror_flag" || | |
2440 test ! -s conftest.err | |
2441 } && test -s conftest.$ac_objext; then | |
2442 ac_cv_prog_cc_g=yes | 2800 ac_cv_prog_cc_g=yes |
2443 else | 2801 else |
2444 echo "$as_me: failed program was:" >&5 | 2802 CFLAGS="" |
2445 sed 's/^/| /' conftest.$ac_ext >&5 | 2803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2446 | |
2447 CFLAGS="" | |
2448 cat >conftest.$ac_ext <<_ACEOF | |
2449 /* confdefs.h. */ | |
2450 _ACEOF | |
2451 cat confdefs.h >>conftest.$ac_ext | |
2452 cat >>conftest.$ac_ext <<_ACEOF | |
2453 /* end confdefs.h. */ | 2804 /* end confdefs.h. */ |
2454 | 2805 |
2455 int | 2806 int |
2456 main () | 2807 main () |
2457 { | 2808 { |
2458 | 2809 |
2459 ; | 2810 ; |
2460 return 0; | 2811 return 0; |
2461 } | 2812 } |
2462 _ACEOF | 2813 _ACEOF |
2463 rm -f conftest.$ac_objext | 2814 if ac_fn_c_try_compile "$LINENO"; then : |
2464 if { (ac_try="$ac_compile" | 2815 |
2465 case "(($ac_try" in | 2816 else |
2466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 2817 ac_c_werror_flag=$ac_save_c_werror_flag |
2467 *) ac_try_echo=$ac_try;; | |
2468 esac | |
2469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
2470 (eval "$ac_compile") 2>conftest.er1 | |
2471 ac_status=$? | |
2472 grep -v '^ *+' conftest.er1 >conftest.err | |
2473 rm -f conftest.er1 | |
2474 cat conftest.err >&5 | |
2475 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2476 (exit $ac_status); } && { | |
2477 test -z "$ac_c_werror_flag" || | |
2478 test ! -s conftest.err | |
2479 } && test -s conftest.$ac_objext; then | |
2480 : | |
2481 else | |
2482 echo "$as_me: failed program was:" >&5 | |
2483 sed 's/^/| /' conftest.$ac_ext >&5 | |
2484 | |
2485 ac_c_werror_flag=$ac_save_c_werror_flag | |
2486 CFLAGS="-g" | 2818 CFLAGS="-g" |
2487 cat >conftest.$ac_ext <<_ACEOF | 2819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2488 /* confdefs.h. */ | |
2489 _ACEOF | |
2490 cat confdefs.h >>conftest.$ac_ext | |
2491 cat >>conftest.$ac_ext <<_ACEOF | |
2492 /* end confdefs.h. */ | 2820 /* end confdefs.h. */ |
2493 | 2821 |
2494 int | 2822 int |
2495 main () | 2823 main () |
2496 { | 2824 { |
2497 | 2825 |
2498 ; | 2826 ; |
2499 return 0; | 2827 return 0; |
2500 } | 2828 } |
2501 _ACEOF | 2829 _ACEOF |
2502 rm -f conftest.$ac_objext | 2830 if ac_fn_c_try_compile "$LINENO"; then : |
2503 if { (ac_try="$ac_compile" | |
2504 case "(($ac_try" in | |
2505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
2506 *) ac_try_echo=$ac_try;; | |
2507 esac | |
2508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
2509 (eval "$ac_compile") 2>conftest.er1 | |
2510 ac_status=$? | |
2511 grep -v '^ *+' conftest.er1 >conftest.err | |
2512 rm -f conftest.er1 | |
2513 cat conftest.err >&5 | |
2514 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2515 (exit $ac_status); } && { | |
2516 test -z "$ac_c_werror_flag" || | |
2517 test ! -s conftest.err | |
2518 } && test -s conftest.$ac_objext; then | |
2519 ac_cv_prog_cc_g=yes | 2831 ac_cv_prog_cc_g=yes |
2520 else | 2832 fi |
2521 echo "$as_me: failed program was:" >&5 | |
2522 sed 's/^/| /' conftest.$ac_ext >&5 | |
2523 | |
2524 | |
2525 fi | |
2526 | |
2527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 2833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2528 fi | 2834 fi |
2529 | |
2530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 2835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2531 fi | 2836 fi |
2532 | |
2533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 2837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2534 ac_c_werror_flag=$ac_save_c_werror_flag | 2838 ac_c_werror_flag=$ac_save_c_werror_flag |
2535 fi | 2839 fi |
2536 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 | 2840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 |
2537 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } | 2841 $as_echo "$ac_cv_prog_cc_g" >&6; } |
2538 if test "$ac_test_CFLAGS" = set; then | 2842 if test "$ac_test_CFLAGS" = set; then |
2539 CFLAGS=$ac_save_CFLAGS | 2843 CFLAGS=$ac_save_CFLAGS |
2540 elif test $ac_cv_prog_cc_g = yes; then | 2844 elif test $ac_cv_prog_cc_g = yes; then |
2541 if test "$GCC" = yes; then | 2845 if test "$GCC" = yes; then |
2542 CFLAGS="-g -O2" | 2846 CFLAGS="-g -O2" |
2548 CFLAGS="-O2" | 2852 CFLAGS="-O2" |
2549 else | 2853 else |
2550 CFLAGS= | 2854 CFLAGS= |
2551 fi | 2855 fi |
2552 fi | 2856 fi |
2553 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 | 2857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 |
2554 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } | 2858 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
2555 if test "${ac_cv_prog_cc_c89+set}" = set; then | 2859 if test "${ac_cv_prog_cc_c89+set}" = set; then : |
2556 echo $ECHO_N "(cached) $ECHO_C" >&6 | 2860 $as_echo_n "(cached) " >&6 |
2557 else | 2861 else |
2558 ac_cv_prog_cc_c89=no | 2862 ac_cv_prog_cc_c89=no |
2559 ac_save_CC=$CC | 2863 ac_save_CC=$CC |
2560 cat >conftest.$ac_ext <<_ACEOF | 2864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2561 /* confdefs.h. */ | |
2562 _ACEOF | |
2563 cat confdefs.h >>conftest.$ac_ext | |
2564 cat >>conftest.$ac_ext <<_ACEOF | |
2565 /* end confdefs.h. */ | 2865 /* end confdefs.h. */ |
2566 #include <stdarg.h> | 2866 #include <stdarg.h> |
2567 #include <stdio.h> | 2867 #include <stdio.h> |
2568 #include <sys/types.h> | 2868 #include <sys/types.h> |
2569 #include <sys/stat.h> | 2869 #include <sys/stat.h> |
2616 _ACEOF | 2916 _ACEOF |
2617 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ | 2917 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ |
2618 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" | 2918 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
2619 do | 2919 do |
2620 CC="$ac_save_CC $ac_arg" | 2920 CC="$ac_save_CC $ac_arg" |
2621 rm -f conftest.$ac_objext | 2921 if ac_fn_c_try_compile "$LINENO"; then : |
2622 if { (ac_try="$ac_compile" | |
2623 case "(($ac_try" in | |
2624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
2625 *) ac_try_echo=$ac_try;; | |
2626 esac | |
2627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
2628 (eval "$ac_compile") 2>conftest.er1 | |
2629 ac_status=$? | |
2630 grep -v '^ *+' conftest.er1 >conftest.err | |
2631 rm -f conftest.er1 | |
2632 cat conftest.err >&5 | |
2633 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2634 (exit $ac_status); } && { | |
2635 test -z "$ac_c_werror_flag" || | |
2636 test ! -s conftest.err | |
2637 } && test -s conftest.$ac_objext; then | |
2638 ac_cv_prog_cc_c89=$ac_arg | 2922 ac_cv_prog_cc_c89=$ac_arg |
2639 else | 2923 fi |
2640 echo "$as_me: failed program was:" >&5 | |
2641 sed 's/^/| /' conftest.$ac_ext >&5 | |
2642 | |
2643 | |
2644 fi | |
2645 | |
2646 rm -f core conftest.err conftest.$ac_objext | 2924 rm -f core conftest.err conftest.$ac_objext |
2647 test "x$ac_cv_prog_cc_c89" != "xno" && break | 2925 test "x$ac_cv_prog_cc_c89" != "xno" && break |
2648 done | 2926 done |
2649 rm -f conftest.$ac_ext | 2927 rm -f conftest.$ac_ext |
2650 CC=$ac_save_CC | 2928 CC=$ac_save_CC |
2651 | 2929 |
2652 fi | 2930 fi |
2653 # AC_CACHE_VAL | 2931 # AC_CACHE_VAL |
2654 case "x$ac_cv_prog_cc_c89" in | 2932 case "x$ac_cv_prog_cc_c89" in |
2655 x) | 2933 x) |
2656 { echo "$as_me:$LINENO: result: none needed" >&5 | 2934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
2657 echo "${ECHO_T}none needed" >&6; } ;; | 2935 $as_echo "none needed" >&6; } ;; |
2658 xno) | 2936 xno) |
2659 { echo "$as_me:$LINENO: result: unsupported" >&5 | 2937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
2660 echo "${ECHO_T}unsupported" >&6; } ;; | 2938 $as_echo "unsupported" >&6; } ;; |
2661 *) | 2939 *) |
2662 CC="$CC $ac_cv_prog_cc_c89" | 2940 CC="$CC $ac_cv_prog_cc_c89" |
2663 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 | 2941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 |
2664 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; | 2942 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; |
2665 esac | 2943 esac |
2666 | 2944 if test "x$ac_cv_prog_cc_c89" != xno; then : |
2945 | |
2946 fi | |
2667 | 2947 |
2668 ac_ext=c | 2948 ac_ext=c |
2669 ac_cpp='$CPP $CPPFLAGS' | 2949 ac_cpp='$CPP $CPPFLAGS' |
2670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 2950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
2671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 2951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
2683 if test -n "$ac_tool_prefix"; then | 2963 if test -n "$ac_tool_prefix"; then |
2684 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC | 2964 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC |
2685 do | 2965 do |
2686 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | 2966 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
2687 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | 2967 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
2688 { echo "$as_me:$LINENO: checking for $ac_word" >&5 | 2968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2689 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 2969 $as_echo_n "checking for $ac_word... " >&6; } |
2690 if test "${ac_cv_prog_CXX+set}" = set; then | 2970 if test "${ac_cv_prog_CXX+set}" = set; then : |
2691 echo $ECHO_N "(cached) $ECHO_C" >&6 | 2971 $as_echo_n "(cached) " >&6 |
2692 else | 2972 else |
2693 if test -n "$CXX"; then | 2973 if test -n "$CXX"; then |
2694 ac_cv_prog_CXX="$CXX" # Let the user override the test. | 2974 ac_cv_prog_CXX="$CXX" # Let the user override the test. |
2695 else | 2975 else |
2696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 2976 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2697 for as_dir in $PATH | 2977 for as_dir in $PATH |
2698 do | 2978 do |
2699 IFS=$as_save_IFS | 2979 IFS=$as_save_IFS |
2700 test -z "$as_dir" && as_dir=. | 2980 test -z "$as_dir" && as_dir=. |
2701 for ac_exec_ext in '' $ac_executable_extensions; do | 2981 for ac_exec_ext in '' $ac_executable_extensions; do |
2702 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 2982 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2703 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" | 2983 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" |
2704 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 2984 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2705 break 2 | 2985 break 2 |
2706 fi | 2986 fi |
2707 done | 2987 done |
2708 done | 2988 done |
2709 IFS=$as_save_IFS | 2989 IFS=$as_save_IFS |
2710 | 2990 |
2711 fi | 2991 fi |
2712 fi | 2992 fi |
2713 CXX=$ac_cv_prog_CXX | 2993 CXX=$ac_cv_prog_CXX |
2714 if test -n "$CXX"; then | 2994 if test -n "$CXX"; then |
2715 { echo "$as_me:$LINENO: result: $CXX" >&5 | 2995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 |
2716 echo "${ECHO_T}$CXX" >&6; } | 2996 $as_echo "$CXX" >&6; } |
2717 else | 2997 else |
2718 { echo "$as_me:$LINENO: result: no" >&5 | 2998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
2719 echo "${ECHO_T}no" >&6; } | 2999 $as_echo "no" >&6; } |
2720 fi | 3000 fi |
2721 | 3001 |
2722 | 3002 |
2723 test -n "$CXX" && break | 3003 test -n "$CXX" && break |
2724 done | 3004 done |
2727 ac_ct_CXX=$CXX | 3007 ac_ct_CXX=$CXX |
2728 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC | 3008 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC |
2729 do | 3009 do |
2730 # Extract the first word of "$ac_prog", so it can be a program name with args. | 3010 # Extract the first word of "$ac_prog", so it can be a program name with args. |
2731 set dummy $ac_prog; ac_word=$2 | 3011 set dummy $ac_prog; ac_word=$2 |
2732 { echo "$as_me:$LINENO: checking for $ac_word" >&5 | 3012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2733 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 3013 $as_echo_n "checking for $ac_word... " >&6; } |
2734 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then | 3014 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then : |
2735 echo $ECHO_N "(cached) $ECHO_C" >&6 | 3015 $as_echo_n "(cached) " >&6 |
2736 else | 3016 else |
2737 if test -n "$ac_ct_CXX"; then | 3017 if test -n "$ac_ct_CXX"; then |
2738 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. | 3018 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. |
2739 else | 3019 else |
2740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 3020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2741 for as_dir in $PATH | 3021 for as_dir in $PATH |
2742 do | 3022 do |
2743 IFS=$as_save_IFS | 3023 IFS=$as_save_IFS |
2744 test -z "$as_dir" && as_dir=. | 3024 test -z "$as_dir" && as_dir=. |
2745 for ac_exec_ext in '' $ac_executable_extensions; do | 3025 for ac_exec_ext in '' $ac_executable_extensions; do |
2746 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 3026 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2747 ac_cv_prog_ac_ct_CXX="$ac_prog" | 3027 ac_cv_prog_ac_ct_CXX="$ac_prog" |
2748 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 3028 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2749 break 2 | 3029 break 2 |
2750 fi | 3030 fi |
2751 done | 3031 done |
2752 done | 3032 done |
2753 IFS=$as_save_IFS | 3033 IFS=$as_save_IFS |
2754 | 3034 |
2755 fi | 3035 fi |
2756 fi | 3036 fi |
2757 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX | 3037 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX |
2758 if test -n "$ac_ct_CXX"; then | 3038 if test -n "$ac_ct_CXX"; then |
2759 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 | 3039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 |
2760 echo "${ECHO_T}$ac_ct_CXX" >&6; } | 3040 $as_echo "$ac_ct_CXX" >&6; } |
2761 else | 3041 else |
2762 { echo "$as_me:$LINENO: result: no" >&5 | 3042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
2763 echo "${ECHO_T}no" >&6; } | 3043 $as_echo "no" >&6; } |
2764 fi | 3044 fi |
2765 | 3045 |
2766 | 3046 |
2767 test -n "$ac_ct_CXX" && break | 3047 test -n "$ac_ct_CXX" && break |
2768 done | 3048 done |
2770 if test "x$ac_ct_CXX" = x; then | 3050 if test "x$ac_ct_CXX" = x; then |
2771 CXX="g++" | 3051 CXX="g++" |
2772 else | 3052 else |
2773 case $cross_compiling:$ac_tool_warned in | 3053 case $cross_compiling:$ac_tool_warned in |
2774 yes:) | 3054 yes:) |
2775 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools | 3055 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
2776 whose name does not start with the host triplet. If you think this | 3056 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
2777 configuration is useful to you, please write to autoconf@gnu.org." >&5 | |
2778 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools | |
2779 whose name does not start with the host triplet. If you think this | |
2780 configuration is useful to you, please write to autoconf@gnu.org." >&2;} | |
2781 ac_tool_warned=yes ;; | 3057 ac_tool_warned=yes ;; |
2782 esac | 3058 esac |
2783 CXX=$ac_ct_CXX | 3059 CXX=$ac_ct_CXX |
2784 fi | 3060 fi |
2785 fi | 3061 fi |
2786 | 3062 |
2787 fi | 3063 fi |
2788 fi | 3064 fi |
2789 # Provide some information about the compiler. | 3065 # Provide some information about the compiler. |
2790 echo "$as_me:$LINENO: checking for C++ compiler version" >&5 | 3066 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 |
2791 ac_compiler=`set X $ac_compile; echo $2` | 3067 set X $ac_compile |
2792 { (ac_try="$ac_compiler --version >&5" | 3068 ac_compiler=$2 |
3069 for ac_option in --version -v -V -qversion; do | |
3070 { { ac_try="$ac_compiler $ac_option >&5" | |
2793 case "(($ac_try" in | 3071 case "(($ac_try" in |
2794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 3072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2795 *) ac_try_echo=$ac_try;; | 3073 *) ac_try_echo=$ac_try;; |
2796 esac | 3074 esac |
2797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 3075 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
2798 (eval "$ac_compiler --version >&5") 2>&5 | 3076 $as_echo "$ac_try_echo"; } >&5 |
3077 (eval "$ac_compiler $ac_option >&5") 2>conftest.err | |
2799 ac_status=$? | 3078 ac_status=$? |
2800 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3079 if test -s conftest.err; then |
2801 (exit $ac_status); } | 3080 sed '10a\ |
2802 { (ac_try="$ac_compiler -v >&5" | 3081 ... rest of stderr output deleted ... |
2803 case "(($ac_try" in | 3082 10q' conftest.err >conftest.er1 |
2804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 3083 cat conftest.er1 >&5 |
2805 *) ac_try_echo=$ac_try;; | 3084 rm -f conftest.er1 conftest.err |
2806 esac | 3085 fi |
2807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 3086 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
2808 (eval "$ac_compiler -v >&5") 2>&5 | 3087 test $ac_status = 0; } |
2809 ac_status=$? | 3088 done |
2810 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3089 |
2811 (exit $ac_status); } | 3090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 |
2812 { (ac_try="$ac_compiler -V >&5" | 3091 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } |
2813 case "(($ac_try" in | 3092 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then : |
2814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 3093 $as_echo_n "(cached) " >&6 |
2815 *) ac_try_echo=$ac_try;; | 3094 else |
2816 esac | 3095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
2818 (eval "$ac_compiler -V >&5") 2>&5 | |
2819 ac_status=$? | |
2820 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2821 (exit $ac_status); } | |
2822 | |
2823 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 | |
2824 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; } | |
2825 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then | |
2826 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
2827 else | |
2828 cat >conftest.$ac_ext <<_ACEOF | |
2829 /* confdefs.h. */ | |
2830 _ACEOF | |
2831 cat confdefs.h >>conftest.$ac_ext | |
2832 cat >>conftest.$ac_ext <<_ACEOF | |
2833 /* end confdefs.h. */ | 3096 /* end confdefs.h. */ |
2834 | 3097 |
2835 int | 3098 int |
2836 main () | 3099 main () |
2837 { | 3100 { |
2841 | 3104 |
2842 ; | 3105 ; |
2843 return 0; | 3106 return 0; |
2844 } | 3107 } |
2845 _ACEOF | 3108 _ACEOF |
2846 rm -f conftest.$ac_objext | 3109 if ac_fn_cxx_try_compile "$LINENO"; then : |
2847 if { (ac_try="$ac_compile" | |
2848 case "(($ac_try" in | |
2849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
2850 *) ac_try_echo=$ac_try;; | |
2851 esac | |
2852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
2853 (eval "$ac_compile") 2>conftest.er1 | |
2854 ac_status=$? | |
2855 grep -v '^ *+' conftest.er1 >conftest.err | |
2856 rm -f conftest.er1 | |
2857 cat conftest.err >&5 | |
2858 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2859 (exit $ac_status); } && { | |
2860 test -z "$ac_cxx_werror_flag" || | |
2861 test ! -s conftest.err | |
2862 } && test -s conftest.$ac_objext; then | |
2863 ac_compiler_gnu=yes | 3110 ac_compiler_gnu=yes |
2864 else | 3111 else |
2865 echo "$as_me: failed program was:" >&5 | 3112 ac_compiler_gnu=no |
2866 sed 's/^/| /' conftest.$ac_ext >&5 | 3113 fi |
2867 | |
2868 ac_compiler_gnu=no | |
2869 fi | |
2870 | |
2871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 3114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2872 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu | 3115 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu |
2873 | 3116 |
2874 fi | 3117 fi |
2875 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 | 3118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 |
2876 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; } | 3119 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } |
2877 GXX=`test $ac_compiler_gnu = yes && echo yes` | 3120 if test $ac_compiler_gnu = yes; then |
3121 GXX=yes | |
3122 else | |
3123 GXX= | |
3124 fi | |
2878 ac_test_CXXFLAGS=${CXXFLAGS+set} | 3125 ac_test_CXXFLAGS=${CXXFLAGS+set} |
2879 ac_save_CXXFLAGS=$CXXFLAGS | 3126 ac_save_CXXFLAGS=$CXXFLAGS |
2880 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 | 3127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 |
2881 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; } | 3128 $as_echo_n "checking whether $CXX accepts -g... " >&6; } |
2882 if test "${ac_cv_prog_cxx_g+set}" = set; then | 3129 if test "${ac_cv_prog_cxx_g+set}" = set; then : |
2883 echo $ECHO_N "(cached) $ECHO_C" >&6 | 3130 $as_echo_n "(cached) " >&6 |
2884 else | 3131 else |
2885 ac_save_cxx_werror_flag=$ac_cxx_werror_flag | 3132 ac_save_cxx_werror_flag=$ac_cxx_werror_flag |
2886 ac_cxx_werror_flag=yes | 3133 ac_cxx_werror_flag=yes |
2887 ac_cv_prog_cxx_g=no | 3134 ac_cv_prog_cxx_g=no |
2888 CXXFLAGS="-g" | 3135 CXXFLAGS="-g" |
2889 cat >conftest.$ac_ext <<_ACEOF | 3136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2890 /* confdefs.h. */ | |
2891 _ACEOF | |
2892 cat confdefs.h >>conftest.$ac_ext | |
2893 cat >>conftest.$ac_ext <<_ACEOF | |
2894 /* end confdefs.h. */ | 3137 /* end confdefs.h. */ |
2895 | 3138 |
2896 int | 3139 int |
2897 main () | 3140 main () |
2898 { | 3141 { |
2899 | 3142 |
2900 ; | 3143 ; |
2901 return 0; | 3144 return 0; |
2902 } | 3145 } |
2903 _ACEOF | 3146 _ACEOF |
2904 rm -f conftest.$ac_objext | 3147 if ac_fn_cxx_try_compile "$LINENO"; then : |
2905 if { (ac_try="$ac_compile" | |
2906 case "(($ac_try" in | |
2907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
2908 *) ac_try_echo=$ac_try;; | |
2909 esac | |
2910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
2911 (eval "$ac_compile") 2>conftest.er1 | |
2912 ac_status=$? | |
2913 grep -v '^ *+' conftest.er1 >conftest.err | |
2914 rm -f conftest.er1 | |
2915 cat conftest.err >&5 | |
2916 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2917 (exit $ac_status); } && { | |
2918 test -z "$ac_cxx_werror_flag" || | |
2919 test ! -s conftest.err | |
2920 } && test -s conftest.$ac_objext; then | |
2921 ac_cv_prog_cxx_g=yes | 3148 ac_cv_prog_cxx_g=yes |
2922 else | 3149 else |
2923 echo "$as_me: failed program was:" >&5 | 3150 CXXFLAGS="" |
2924 sed 's/^/| /' conftest.$ac_ext >&5 | 3151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2925 | |
2926 CXXFLAGS="" | |
2927 cat >conftest.$ac_ext <<_ACEOF | |
2928 /* confdefs.h. */ | |
2929 _ACEOF | |
2930 cat confdefs.h >>conftest.$ac_ext | |
2931 cat >>conftest.$ac_ext <<_ACEOF | |
2932 /* end confdefs.h. */ | 3152 /* end confdefs.h. */ |
2933 | 3153 |
2934 int | 3154 int |
2935 main () | 3155 main () |
2936 { | 3156 { |
2937 | 3157 |
2938 ; | 3158 ; |
2939 return 0; | 3159 return 0; |
2940 } | 3160 } |
2941 _ACEOF | 3161 _ACEOF |
2942 rm -f conftest.$ac_objext | 3162 if ac_fn_cxx_try_compile "$LINENO"; then : |
2943 if { (ac_try="$ac_compile" | 3163 |
2944 case "(($ac_try" in | 3164 else |
2945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 3165 ac_cxx_werror_flag=$ac_save_cxx_werror_flag |
2946 *) ac_try_echo=$ac_try;; | |
2947 esac | |
2948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
2949 (eval "$ac_compile") 2>conftest.er1 | |
2950 ac_status=$? | |
2951 grep -v '^ *+' conftest.er1 >conftest.err | |
2952 rm -f conftest.er1 | |
2953 cat conftest.err >&5 | |
2954 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2955 (exit $ac_status); } && { | |
2956 test -z "$ac_cxx_werror_flag" || | |
2957 test ! -s conftest.err | |
2958 } && test -s conftest.$ac_objext; then | |
2959 : | |
2960 else | |
2961 echo "$as_me: failed program was:" >&5 | |
2962 sed 's/^/| /' conftest.$ac_ext >&5 | |
2963 | |
2964 ac_cxx_werror_flag=$ac_save_cxx_werror_flag | |
2965 CXXFLAGS="-g" | 3166 CXXFLAGS="-g" |
2966 cat >conftest.$ac_ext <<_ACEOF | 3167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2967 /* confdefs.h. */ | |
2968 _ACEOF | |
2969 cat confdefs.h >>conftest.$ac_ext | |
2970 cat >>conftest.$ac_ext <<_ACEOF | |
2971 /* end confdefs.h. */ | 3168 /* end confdefs.h. */ |
2972 | 3169 |
2973 int | 3170 int |
2974 main () | 3171 main () |
2975 { | 3172 { |
2976 | 3173 |
2977 ; | 3174 ; |
2978 return 0; | 3175 return 0; |
2979 } | 3176 } |
2980 _ACEOF | 3177 _ACEOF |
2981 rm -f conftest.$ac_objext | 3178 if ac_fn_cxx_try_compile "$LINENO"; then : |
2982 if { (ac_try="$ac_compile" | |
2983 case "(($ac_try" in | |
2984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
2985 *) ac_try_echo=$ac_try;; | |
2986 esac | |
2987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
2988 (eval "$ac_compile") 2>conftest.er1 | |
2989 ac_status=$? | |
2990 grep -v '^ *+' conftest.er1 >conftest.err | |
2991 rm -f conftest.er1 | |
2992 cat conftest.err >&5 | |
2993 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
2994 (exit $ac_status); } && { | |
2995 test -z "$ac_cxx_werror_flag" || | |
2996 test ! -s conftest.err | |
2997 } && test -s conftest.$ac_objext; then | |
2998 ac_cv_prog_cxx_g=yes | 3179 ac_cv_prog_cxx_g=yes |
2999 else | 3180 fi |
3000 echo "$as_me: failed program was:" >&5 | |
3001 sed 's/^/| /' conftest.$ac_ext >&5 | |
3002 | |
3003 | |
3004 fi | |
3005 | |
3006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 3181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3007 fi | 3182 fi |
3008 | |
3009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 3183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3010 fi | 3184 fi |
3011 | |
3012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 3185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3013 ac_cxx_werror_flag=$ac_save_cxx_werror_flag | 3186 ac_cxx_werror_flag=$ac_save_cxx_werror_flag |
3014 fi | 3187 fi |
3015 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 | 3188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 |
3016 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; } | 3189 $as_echo "$ac_cv_prog_cxx_g" >&6; } |
3017 if test "$ac_test_CXXFLAGS" = set; then | 3190 if test "$ac_test_CXXFLAGS" = set; then |
3018 CXXFLAGS=$ac_save_CXXFLAGS | 3191 CXXFLAGS=$ac_save_CXXFLAGS |
3019 elif test $ac_cv_prog_cxx_g = yes; then | 3192 elif test $ac_cv_prog_cxx_g = yes; then |
3020 if test "$GXX" = yes; then | 3193 if test "$GXX" = yes; then |
3021 CXXFLAGS="-g -O2" | 3194 CXXFLAGS="-g -O2" |
3036 ac_compiler_gnu=$ac_cv_c_compiler_gnu | 3209 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3037 | 3210 |
3038 | 3211 |
3039 # Extract the first word of "gmake", so it can be a program name with args. | 3212 # Extract the first word of "gmake", so it can be a program name with args. |
3040 set dummy gmake; ac_word=$2 | 3213 set dummy gmake; ac_word=$2 |
3041 { echo "$as_me:$LINENO: checking for $ac_word" >&5 | 3214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3042 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 3215 $as_echo_n "checking for $ac_word... " >&6; } |
3043 if test "${ac_cv_prog_MAKE+set}" = set; then | 3216 if test "${ac_cv_prog_MAKE+set}" = set; then : |
3044 echo $ECHO_N "(cached) $ECHO_C" >&6 | 3217 $as_echo_n "(cached) " >&6 |
3045 else | 3218 else |
3046 if test -n "$MAKE"; then | 3219 if test -n "$MAKE"; then |
3047 ac_cv_prog_MAKE="$MAKE" # Let the user override the test. | 3220 ac_cv_prog_MAKE="$MAKE" # Let the user override the test. |
3048 else | 3221 else |
3049 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 3222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3050 for as_dir in $PATH | 3223 for as_dir in $PATH |
3051 do | 3224 do |
3052 IFS=$as_save_IFS | 3225 IFS=$as_save_IFS |
3053 test -z "$as_dir" && as_dir=. | 3226 test -z "$as_dir" && as_dir=. |
3054 for ac_exec_ext in '' $ac_executable_extensions; do | 3227 for ac_exec_ext in '' $ac_executable_extensions; do |
3055 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 3228 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3056 ac_cv_prog_MAKE="gmake" | 3229 ac_cv_prog_MAKE="gmake" |
3057 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 3230 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3058 break 2 | 3231 break 2 |
3059 fi | 3232 fi |
3060 done | 3233 done |
3061 done | 3234 done |
3062 IFS=$as_save_IFS | 3235 IFS=$as_save_IFS |
3063 | 3236 |
3064 fi | 3237 fi |
3065 fi | 3238 fi |
3066 MAKE=$ac_cv_prog_MAKE | 3239 MAKE=$ac_cv_prog_MAKE |
3067 if test -n "$MAKE"; then | 3240 if test -n "$MAKE"; then |
3068 { echo "$as_me:$LINENO: result: $MAKE" >&5 | 3241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKE" >&5 |
3069 echo "${ECHO_T}$MAKE" >&6; } | 3242 $as_echo "$MAKE" >&6; } |
3070 else | 3243 else |
3071 { echo "$as_me:$LINENO: result: no" >&5 | 3244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3072 echo "${ECHO_T}no" >&6; } | 3245 $as_echo "no" >&6; } |
3073 fi | 3246 fi |
3074 | 3247 |
3075 | 3248 |
3076 if test x"$MAKE" = x; then | 3249 if test x"$MAKE" = x; then |
3077 # Extract the first word of "make", so it can be a program name with args. | 3250 # Extract the first word of "make", so it can be a program name with args. |
3078 set dummy make; ac_word=$2 | 3251 set dummy make; ac_word=$2 |
3079 { echo "$as_me:$LINENO: checking for $ac_word" >&5 | 3252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3080 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 3253 $as_echo_n "checking for $ac_word... " >&6; } |
3081 if test "${ac_cv_prog_MAKE+set}" = set; then | 3254 if test "${ac_cv_prog_MAKE+set}" = set; then : |
3082 echo $ECHO_N "(cached) $ECHO_C" >&6 | 3255 $as_echo_n "(cached) " >&6 |
3083 else | 3256 else |
3084 if test -n "$MAKE"; then | 3257 if test -n "$MAKE"; then |
3085 ac_cv_prog_MAKE="$MAKE" # Let the user override the test. | 3258 ac_cv_prog_MAKE="$MAKE" # Let the user override the test. |
3086 else | 3259 else |
3087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 3260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3088 for as_dir in $PATH | 3261 for as_dir in $PATH |
3089 do | 3262 do |
3090 IFS=$as_save_IFS | 3263 IFS=$as_save_IFS |
3091 test -z "$as_dir" && as_dir=. | 3264 test -z "$as_dir" && as_dir=. |
3092 for ac_exec_ext in '' $ac_executable_extensions; do | 3265 for ac_exec_ext in '' $ac_executable_extensions; do |
3093 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 3266 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3094 ac_cv_prog_MAKE="make" | 3267 ac_cv_prog_MAKE="make" |
3095 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 3268 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3096 break 2 | 3269 break 2 |
3097 fi | 3270 fi |
3098 done | 3271 done |
3099 done | 3272 done |
3100 IFS=$as_save_IFS | 3273 IFS=$as_save_IFS |
3101 | 3274 |
3102 fi | 3275 fi |
3103 fi | 3276 fi |
3104 MAKE=$ac_cv_prog_MAKE | 3277 MAKE=$ac_cv_prog_MAKE |
3105 if test -n "$MAKE"; then | 3278 if test -n "$MAKE"; then |
3106 { echo "$as_me:$LINENO: result: $MAKE" >&5 | 3279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKE" >&5 |
3107 echo "${ECHO_T}$MAKE" >&6; } | 3280 $as_echo "$MAKE" >&6; } |
3108 else | 3281 else |
3109 { echo "$as_me:$LINENO: result: no" >&5 | 3282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3110 echo "${ECHO_T}no" >&6; } | 3283 $as_echo "no" >&6; } |
3111 fi | 3284 fi |
3112 | 3285 |
3113 | 3286 |
3114 fi | 3287 fi |
3115 | 3288 |
3116 ac_aux_dir= | 3289 ac_aux_dir= |
3117 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do | 3290 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
3118 if test -f "$ac_dir/install-sh"; then | 3291 for ac_t in install-sh install.sh shtool; do |
3119 ac_aux_dir=$ac_dir | 3292 if test -f "$ac_dir/$ac_t"; then |
3120 ac_install_sh="$ac_aux_dir/install-sh -c" | 3293 ac_aux_dir=$ac_dir |
3121 break | 3294 ac_install_sh="$ac_aux_dir/$ac_t -c" |
3122 elif test -f "$ac_dir/install.sh"; then | 3295 break 2 |
3123 ac_aux_dir=$ac_dir | 3296 fi |
3124 ac_install_sh="$ac_aux_dir/install.sh -c" | 3297 done |
3125 break | |
3126 elif test -f "$ac_dir/shtool"; then | |
3127 ac_aux_dir=$ac_dir | |
3128 ac_install_sh="$ac_aux_dir/shtool install -c" | |
3129 break | |
3130 fi | |
3131 done | 3298 done |
3132 if test -z "$ac_aux_dir"; then | 3299 if test -z "$ac_aux_dir"; then |
3133 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 | 3300 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 |
3134 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} | |
3135 { (exit 1); exit 1; }; } | |
3136 fi | 3301 fi |
3137 | 3302 |
3138 # These three variables are undocumented and unsupported, | 3303 # These three variables are undocumented and unsupported, |
3139 # and are intended to be withdrawn in a future Autoconf release. | 3304 # and are intended to be withdrawn in a future Autoconf release. |
3140 # They can cause serious problems if a builder's source tree is in a directory | 3305 # They can cause serious problems if a builder's source tree is in a directory |
3155 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | 3320 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
3156 # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 3321 # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
3157 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 3322 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
3158 # OS/2's system install, which has a completely different semantic | 3323 # OS/2's system install, which has a completely different semantic |
3159 # ./install, which can be erroneously created by make from ./install.sh. | 3324 # ./install, which can be erroneously created by make from ./install.sh. |
3160 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 | 3325 # Reject install programs that cannot install multiple files. |
3161 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } | 3326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 |
3327 $as_echo_n "checking for a BSD-compatible install... " >&6; } | |
3162 if test -z "$INSTALL"; then | 3328 if test -z "$INSTALL"; then |
3163 if test "${ac_cv_path_install+set}" = set; then | 3329 if test "${ac_cv_path_install+set}" = set; then : |
3164 echo $ECHO_N "(cached) $ECHO_C" >&6 | 3330 $as_echo_n "(cached) " >&6 |
3165 else | 3331 else |
3166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 3332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3167 for as_dir in $PATH | 3333 for as_dir in $PATH |
3168 do | 3334 do |
3169 IFS=$as_save_IFS | 3335 IFS=$as_save_IFS |
3170 test -z "$as_dir" && as_dir=. | 3336 test -z "$as_dir" && as_dir=. |
3171 # Account for people who put trailing slashes in PATH elements. | 3337 # Account for people who put trailing slashes in PATH elements. |
3172 case $as_dir/ in | 3338 case $as_dir/ in #(( |
3173 ./ | .// | /cC/* | \ | 3339 ./ | .// | /[cC]/* | \ |
3174 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ | 3340 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
3175 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ | 3341 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ |
3176 /usr/ucb/* ) ;; | 3342 /usr/ucb/* ) ;; |
3177 *) | 3343 *) |
3178 # OSF1 and SCO ODT 3.0 have their own names for install. | 3344 # OSF1 and SCO ODT 3.0 have their own names for install. |
3179 # Don't use installbsd from OSF since it installs stuff as root | 3345 # Don't use installbsd from OSF since it installs stuff as root |
3180 # by default. | 3346 # by default. |
3188 elif test $ac_prog = install && | 3354 elif test $ac_prog = install && |
3189 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | 3355 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
3190 # program-specific install script used by HP pwplus--don't use. | 3356 # program-specific install script used by HP pwplus--don't use. |
3191 : | 3357 : |
3192 else | 3358 else |
3193 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" | 3359 rm -rf conftest.one conftest.two conftest.dir |
3194 break 3 | 3360 echo one > conftest.one |
3361 echo two > conftest.two | |
3362 mkdir conftest.dir | |
3363 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && | |
3364 test -s conftest.one && test -s conftest.two && | |
3365 test -s conftest.dir/conftest.one && | |
3366 test -s conftest.dir/conftest.two | |
3367 then | |
3368 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" | |
3369 break 3 | |
3370 fi | |
3195 fi | 3371 fi |
3196 fi | 3372 fi |
3197 done | 3373 done |
3198 done | 3374 done |
3199 ;; | 3375 ;; |
3200 esac | 3376 esac |
3201 done | 3377 |
3378 done | |
3202 IFS=$as_save_IFS | 3379 IFS=$as_save_IFS |
3203 | 3380 |
3381 rm -rf conftest.one conftest.two conftest.dir | |
3204 | 3382 |
3205 fi | 3383 fi |
3206 if test "${ac_cv_path_install+set}" = set; then | 3384 if test "${ac_cv_path_install+set}" = set; then |
3207 INSTALL=$ac_cv_path_install | 3385 INSTALL=$ac_cv_path_install |
3208 else | 3386 else |
3211 # break other packages using the cache if that directory is | 3389 # break other packages using the cache if that directory is |
3212 # removed, or if the value is a relative name. | 3390 # removed, or if the value is a relative name. |
3213 INSTALL=$ac_install_sh | 3391 INSTALL=$ac_install_sh |
3214 fi | 3392 fi |
3215 fi | 3393 fi |
3216 { echo "$as_me:$LINENO: result: $INSTALL" >&5 | 3394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 |
3217 echo "${ECHO_T}$INSTALL" >&6; } | 3395 $as_echo "$INSTALL" >&6; } |
3218 | 3396 |
3219 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. | 3397 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
3220 # It thinks the first close brace ends the variable substitution. | 3398 # It thinks the first close brace ends the variable substitution. |
3221 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' | 3399 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
3222 | 3400 |
3228 | 3406 |
3229 | 3407 |
3230 with_compat=no | 3408 with_compat=no |
3231 | 3409 |
3232 # Check whether --with-compat was given. | 3410 # Check whether --with-compat was given. |
3233 if test "${with_compat+set}" = set; then | 3411 if test "${with_compat+set}" = set; then : |
3234 withval=$with_compat; with_compat=$withval | 3412 withval=$with_compat; with_compat=$withval |
3235 else | 3413 else |
3236 with_compat=no | 3414 with_compat=no |
3237 fi | 3415 fi |
3238 | 3416 |
3249 | 3427 |
3250 | 3428 |
3251 | 3429 |
3252 | 3430 |
3253 # Check whether --with-gtk was given. | 3431 # Check whether --with-gtk was given. |
3254 if test "${with_gtk+set}" = set; then | 3432 if test "${with_gtk+set}" = set; then : |
3255 withval=$with_gtk; with_gtk=$withval | 3433 withval=$with_gtk; with_gtk=$withval |
3256 else | 3434 else |
3257 with_gtk=no | 3435 with_gtk=no |
3436 fi | |
3437 | |
3438 | |
3439 | |
3440 # Check whether --with-gtkhtml was given. | |
3441 if test "${with_gtkhtml+set}" = set; then : | |
3442 withval=$with_gtkhtml; with_gtkhtml=$withval | |
3443 else | |
3444 with_gtkhtml=no | |
3445 fi | |
3446 | |
3447 | |
3448 | |
3449 # Check whether --with-gtkmozembed was given. | |
3450 if test "${with_gtkmozembed+set}" = set; then : | |
3451 withval=$with_gtkmozembed; with_gtkmozembed=$withval | |
3452 else | |
3453 with_gtkmozembed=no | |
3454 fi | |
3455 | |
3456 | |
3457 | |
3458 # Check whether --with-arch was given. | |
3459 if test "${with_arch+set}" = set; then : | |
3460 withval=$with_arch; with_arch=$withval | |
3461 else | |
3462 with_arch=no | |
3258 fi | 3463 fi |
3259 | 3464 |
3260 | 3465 |
3261 | 3466 |
3262 ac_ext=c | 3467 ac_ext=c |
3263 ac_cpp='$CPP $CPPFLAGS' | 3468 ac_cpp='$CPP $CPPFLAGS' |
3264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 3469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 3470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3266 ac_compiler_gnu=$ac_cv_c_compiler_gnu | 3471 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3267 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 | 3472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 |
3268 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; } | 3473 $as_echo_n "checking how to run the C preprocessor... " >&6; } |
3269 # On Suns, sometimes $CPP names a directory. | 3474 # On Suns, sometimes $CPP names a directory. |
3270 if test -n "$CPP" && test -d "$CPP"; then | 3475 if test -n "$CPP" && test -d "$CPP"; then |
3271 CPP= | 3476 CPP= |
3272 fi | 3477 fi |
3273 if test -z "$CPP"; then | 3478 if test -z "$CPP"; then |
3274 if test "${ac_cv_prog_CPP+set}" = set; then | 3479 if test "${ac_cv_prog_CPP+set}" = set; then : |
3275 echo $ECHO_N "(cached) $ECHO_C" >&6 | 3480 $as_echo_n "(cached) " >&6 |
3276 else | 3481 else |
3277 # Double quotes because CPP needs to be expanded | 3482 # Double quotes because CPP needs to be expanded |
3278 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" | 3483 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
3279 do | 3484 do |
3280 ac_preproc_ok=false | 3485 ac_preproc_ok=false |
3284 # with a fresh cross-compiler works. | 3489 # with a fresh cross-compiler works. |
3285 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 3490 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
3286 # <limits.h> exists even on freestanding compilers. | 3491 # <limits.h> exists even on freestanding compilers. |
3287 # On the NeXT, cc -E runs the code through the compiler's parser, | 3492 # On the NeXT, cc -E runs the code through the compiler's parser, |
3288 # not just through cpp. "Syntax error" is here to catch this case. | 3493 # not just through cpp. "Syntax error" is here to catch this case. |
3289 cat >conftest.$ac_ext <<_ACEOF | 3494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3290 /* confdefs.h. */ | |
3291 _ACEOF | |
3292 cat confdefs.h >>conftest.$ac_ext | |
3293 cat >>conftest.$ac_ext <<_ACEOF | |
3294 /* end confdefs.h. */ | 3495 /* end confdefs.h. */ |
3295 #ifdef __STDC__ | 3496 #ifdef __STDC__ |
3296 # include <limits.h> | 3497 # include <limits.h> |
3297 #else | 3498 #else |
3298 # include <assert.h> | 3499 # include <assert.h> |
3299 #endif | 3500 #endif |
3300 Syntax error | 3501 Syntax error |
3301 _ACEOF | 3502 _ACEOF |
3302 if { (ac_try="$ac_cpp conftest.$ac_ext" | 3503 if ac_fn_c_try_cpp "$LINENO"; then : |
3303 case "(($ac_try" in | 3504 |
3304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 3505 else |
3305 *) ac_try_echo=$ac_try;; | |
3306 esac | |
3307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
3308 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
3309 ac_status=$? | |
3310 grep -v '^ *+' conftest.er1 >conftest.err | |
3311 rm -f conftest.er1 | |
3312 cat conftest.err >&5 | |
3313 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3314 (exit $ac_status); } >/dev/null && { | |
3315 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
3316 test ! -s conftest.err | |
3317 }; then | |
3318 : | |
3319 else | |
3320 echo "$as_me: failed program was:" >&5 | |
3321 sed 's/^/| /' conftest.$ac_ext >&5 | |
3322 | |
3323 # Broken: fails on valid input. | 3506 # Broken: fails on valid input. |
3324 continue | 3507 continue |
3325 fi | 3508 fi |
3326 | |
3327 rm -f conftest.err conftest.$ac_ext | 3509 rm -f conftest.err conftest.$ac_ext |
3328 | 3510 |
3329 # OK, works on sane cases. Now check whether nonexistent headers | 3511 # OK, works on sane cases. Now check whether nonexistent headers |
3330 # can be detected and how. | 3512 # can be detected and how. |
3331 cat >conftest.$ac_ext <<_ACEOF | 3513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3332 /* confdefs.h. */ | |
3333 _ACEOF | |
3334 cat confdefs.h >>conftest.$ac_ext | |
3335 cat >>conftest.$ac_ext <<_ACEOF | |
3336 /* end confdefs.h. */ | 3514 /* end confdefs.h. */ |
3337 #include <ac_nonexistent.h> | 3515 #include <ac_nonexistent.h> |
3338 _ACEOF | 3516 _ACEOF |
3339 if { (ac_try="$ac_cpp conftest.$ac_ext" | 3517 if ac_fn_c_try_cpp "$LINENO"; then : |
3340 case "(($ac_try" in | |
3341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3342 *) ac_try_echo=$ac_try;; | |
3343 esac | |
3344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
3345 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
3346 ac_status=$? | |
3347 grep -v '^ *+' conftest.er1 >conftest.err | |
3348 rm -f conftest.er1 | |
3349 cat conftest.err >&5 | |
3350 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3351 (exit $ac_status); } >/dev/null && { | |
3352 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
3353 test ! -s conftest.err | |
3354 }; then | |
3355 # Broken: success on invalid input. | 3518 # Broken: success on invalid input. |
3356 continue | 3519 continue |
3357 else | 3520 else |
3358 echo "$as_me: failed program was:" >&5 | |
3359 sed 's/^/| /' conftest.$ac_ext >&5 | |
3360 | |
3361 # Passes both tests. | 3521 # Passes both tests. |
3362 ac_preproc_ok=: | 3522 ac_preproc_ok=: |
3363 break | 3523 break |
3364 fi | 3524 fi |
3365 | |
3366 rm -f conftest.err conftest.$ac_ext | 3525 rm -f conftest.err conftest.$ac_ext |
3367 | 3526 |
3368 done | 3527 done |
3369 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 3528 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
3370 rm -f conftest.err conftest.$ac_ext | 3529 rm -f conftest.err conftest.$ac_ext |
3371 if $ac_preproc_ok; then | 3530 if $ac_preproc_ok; then : |
3372 break | 3531 break |
3373 fi | 3532 fi |
3374 | 3533 |
3375 done | 3534 done |
3376 ac_cv_prog_CPP=$CPP | 3535 ac_cv_prog_CPP=$CPP |
3378 fi | 3537 fi |
3379 CPP=$ac_cv_prog_CPP | 3538 CPP=$ac_cv_prog_CPP |
3380 else | 3539 else |
3381 ac_cv_prog_CPP=$CPP | 3540 ac_cv_prog_CPP=$CPP |
3382 fi | 3541 fi |
3383 { echo "$as_me:$LINENO: result: $CPP" >&5 | 3542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 |
3384 echo "${ECHO_T}$CPP" >&6; } | 3543 $as_echo "$CPP" >&6; } |
3385 ac_preproc_ok=false | 3544 ac_preproc_ok=false |
3386 for ac_c_preproc_warn_flag in '' yes | 3545 for ac_c_preproc_warn_flag in '' yes |
3387 do | 3546 do |
3388 # Use a header file that comes with gcc, so configuring glibc | 3547 # Use a header file that comes with gcc, so configuring glibc |
3389 # with a fresh cross-compiler works. | 3548 # with a fresh cross-compiler works. |
3390 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 3549 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
3391 # <limits.h> exists even on freestanding compilers. | 3550 # <limits.h> exists even on freestanding compilers. |
3392 # On the NeXT, cc -E runs the code through the compiler's parser, | 3551 # On the NeXT, cc -E runs the code through the compiler's parser, |
3393 # not just through cpp. "Syntax error" is here to catch this case. | 3552 # not just through cpp. "Syntax error" is here to catch this case. |
3394 cat >conftest.$ac_ext <<_ACEOF | 3553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3395 /* confdefs.h. */ | |
3396 _ACEOF | |
3397 cat confdefs.h >>conftest.$ac_ext | |
3398 cat >>conftest.$ac_ext <<_ACEOF | |
3399 /* end confdefs.h. */ | 3554 /* end confdefs.h. */ |
3400 #ifdef __STDC__ | 3555 #ifdef __STDC__ |
3401 # include <limits.h> | 3556 # include <limits.h> |
3402 #else | 3557 #else |
3403 # include <assert.h> | 3558 # include <assert.h> |
3404 #endif | 3559 #endif |
3405 Syntax error | 3560 Syntax error |
3406 _ACEOF | 3561 _ACEOF |
3407 if { (ac_try="$ac_cpp conftest.$ac_ext" | 3562 if ac_fn_c_try_cpp "$LINENO"; then : |
3408 case "(($ac_try" in | 3563 |
3409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 3564 else |
3410 *) ac_try_echo=$ac_try;; | |
3411 esac | |
3412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
3413 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
3414 ac_status=$? | |
3415 grep -v '^ *+' conftest.er1 >conftest.err | |
3416 rm -f conftest.er1 | |
3417 cat conftest.err >&5 | |
3418 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3419 (exit $ac_status); } >/dev/null && { | |
3420 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
3421 test ! -s conftest.err | |
3422 }; then | |
3423 : | |
3424 else | |
3425 echo "$as_me: failed program was:" >&5 | |
3426 sed 's/^/| /' conftest.$ac_ext >&5 | |
3427 | |
3428 # Broken: fails on valid input. | 3565 # Broken: fails on valid input. |
3429 continue | 3566 continue |
3430 fi | 3567 fi |
3431 | |
3432 rm -f conftest.err conftest.$ac_ext | 3568 rm -f conftest.err conftest.$ac_ext |
3433 | 3569 |
3434 # OK, works on sane cases. Now check whether nonexistent headers | 3570 # OK, works on sane cases. Now check whether nonexistent headers |
3435 # can be detected and how. | 3571 # can be detected and how. |
3436 cat >conftest.$ac_ext <<_ACEOF | 3572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3437 /* confdefs.h. */ | |
3438 _ACEOF | |
3439 cat confdefs.h >>conftest.$ac_ext | |
3440 cat >>conftest.$ac_ext <<_ACEOF | |
3441 /* end confdefs.h. */ | 3573 /* end confdefs.h. */ |
3442 #include <ac_nonexistent.h> | 3574 #include <ac_nonexistent.h> |
3443 _ACEOF | 3575 _ACEOF |
3444 if { (ac_try="$ac_cpp conftest.$ac_ext" | 3576 if ac_fn_c_try_cpp "$LINENO"; then : |
3445 case "(($ac_try" in | |
3446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3447 *) ac_try_echo=$ac_try;; | |
3448 esac | |
3449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
3450 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
3451 ac_status=$? | |
3452 grep -v '^ *+' conftest.er1 >conftest.err | |
3453 rm -f conftest.er1 | |
3454 cat conftest.err >&5 | |
3455 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3456 (exit $ac_status); } >/dev/null && { | |
3457 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
3458 test ! -s conftest.err | |
3459 }; then | |
3460 # Broken: success on invalid input. | 3577 # Broken: success on invalid input. |
3461 continue | 3578 continue |
3462 else | 3579 else |
3463 echo "$as_me: failed program was:" >&5 | |
3464 sed 's/^/| /' conftest.$ac_ext >&5 | |
3465 | |
3466 # Passes both tests. | 3580 # Passes both tests. |
3467 ac_preproc_ok=: | 3581 ac_preproc_ok=: |
3468 break | 3582 break |
3469 fi | 3583 fi |
3470 | |
3471 rm -f conftest.err conftest.$ac_ext | 3584 rm -f conftest.err conftest.$ac_ext |
3472 | 3585 |
3473 done | 3586 done |
3474 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 3587 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
3475 rm -f conftest.err conftest.$ac_ext | 3588 rm -f conftest.err conftest.$ac_ext |
3476 if $ac_preproc_ok; then | 3589 if $ac_preproc_ok; then : |
3477 : | 3590 |
3478 else | 3591 else |
3479 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check | 3592 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3480 See \`config.log' for more details." >&5 | 3593 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3481 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check | 3594 as_fn_error "C preprocessor \"$CPP\" fails sanity check |
3482 See \`config.log' for more details." >&2;} | 3595 See \`config.log' for more details." "$LINENO" 5; } |
3483 { (exit 1); exit 1; }; } | |
3484 fi | 3596 fi |
3485 | 3597 |
3486 ac_ext=c | 3598 ac_ext=c |
3487 ac_cpp='$CPP $CPPFLAGS' | 3599 ac_cpp='$CPP $CPPFLAGS' |
3488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 3600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 3601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3490 ac_compiler_gnu=$ac_cv_c_compiler_gnu | 3602 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3491 | 3603 |
3492 | 3604 |
3493 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 | 3605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 |
3494 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } | 3606 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } |
3495 if test "${ac_cv_path_GREP+set}" = set; then | 3607 if test "${ac_cv_path_GREP+set}" = set; then : |
3496 echo $ECHO_N "(cached) $ECHO_C" >&6 | 3608 $as_echo_n "(cached) " >&6 |
3497 else | 3609 else |
3498 # Extract the first word of "grep ggrep" to use in msg output | 3610 if test -z "$GREP"; then |
3499 if test -z "$GREP"; then | |
3500 set dummy grep ggrep; ac_prog_name=$2 | |
3501 if test "${ac_cv_path_GREP+set}" = set; then | |
3502 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
3503 else | |
3504 ac_path_GREP_found=false | 3611 ac_path_GREP_found=false |
3505 # Loop through the user's path and test for each of PROGNAME-LIST | 3612 # Loop through the user's path and test for each of PROGNAME-LIST |
3506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 3613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3507 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | 3614 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
3508 do | 3615 do |
3509 IFS=$as_save_IFS | 3616 IFS=$as_save_IFS |
3510 test -z "$as_dir" && as_dir=. | 3617 test -z "$as_dir" && as_dir=. |
3511 for ac_prog in grep ggrep; do | 3618 for ac_prog in grep ggrep; do |
3512 for ac_exec_ext in '' $ac_executable_extensions; do | 3619 for ac_exec_ext in '' $ac_executable_extensions; do |
3513 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" | 3620 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
3514 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue | 3621 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue |
3515 # Check for GNU ac_path_GREP and select it if it is found. | 3622 # Check for GNU ac_path_GREP and select it if it is found. |
3516 # Check for GNU $ac_path_GREP | 3623 # Check for GNU $ac_path_GREP |
3517 case `"$ac_path_GREP" --version 2>&1` in | 3624 case `"$ac_path_GREP" --version 2>&1` in |
3518 *GNU*) | 3625 *GNU*) |
3519 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; | 3626 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; |
3520 *) | 3627 *) |
3521 ac_count=0 | 3628 ac_count=0 |
3522 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" | 3629 $as_echo_n 0123456789 >"conftest.in" |
3523 while : | 3630 while : |
3524 do | 3631 do |
3525 cat "conftest.in" "conftest.in" >"conftest.tmp" | 3632 cat "conftest.in" "conftest.in" >"conftest.tmp" |
3526 mv "conftest.tmp" "conftest.in" | 3633 mv "conftest.tmp" "conftest.in" |
3527 cp "conftest.in" "conftest.nl" | 3634 cp "conftest.in" "conftest.nl" |
3528 echo 'GREP' >> "conftest.nl" | 3635 $as_echo 'GREP' >> "conftest.nl" |
3529 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break | 3636 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
3530 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break | 3637 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
3531 ac_count=`expr $ac_count + 1` | 3638 as_fn_arith $ac_count + 1 && ac_count=$as_val |
3532 if test $ac_count -gt ${ac_path_GREP_max-0}; then | 3639 if test $ac_count -gt ${ac_path_GREP_max-0}; then |
3533 # Best one so far, save it but keep looking for a better one | 3640 # Best one so far, save it but keep looking for a better one |
3534 ac_cv_path_GREP="$ac_path_GREP" | 3641 ac_cv_path_GREP="$ac_path_GREP" |
3535 ac_path_GREP_max=$ac_count | 3642 ac_path_GREP_max=$ac_count |
3536 fi | 3643 fi |
3538 test $ac_count -gt 10 && break | 3645 test $ac_count -gt 10 && break |
3539 done | 3646 done |
3540 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; | 3647 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
3541 esac | 3648 esac |
3542 | 3649 |
3543 | 3650 $ac_path_GREP_found && break 3 |
3544 $ac_path_GREP_found && break 3 | 3651 done |
3545 done | 3652 done |
3546 done | 3653 done |
3547 | |
3548 done | |
3549 IFS=$as_save_IFS | 3654 IFS=$as_save_IFS |
3550 | 3655 if test -z "$ac_cv_path_GREP"; then |
3551 | 3656 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
3552 fi | 3657 fi |
3553 | |
3554 GREP="$ac_cv_path_GREP" | |
3555 if test -z "$GREP"; then | |
3556 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 | |
3557 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} | |
3558 { (exit 1); exit 1; }; } | |
3559 fi | |
3560 | |
3561 else | 3658 else |
3562 ac_cv_path_GREP=$GREP | 3659 ac_cv_path_GREP=$GREP |
3563 fi | 3660 fi |
3564 | 3661 |
3565 | 3662 fi |
3566 fi | 3663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 |
3567 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 | 3664 $as_echo "$ac_cv_path_GREP" >&6; } |
3568 echo "${ECHO_T}$ac_cv_path_GREP" >&6; } | |
3569 GREP="$ac_cv_path_GREP" | 3665 GREP="$ac_cv_path_GREP" |
3570 | 3666 |
3571 | 3667 |
3572 { echo "$as_me:$LINENO: checking for egrep" >&5 | 3668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 |
3573 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; } | 3669 $as_echo_n "checking for egrep... " >&6; } |
3574 if test "${ac_cv_path_EGREP+set}" = set; then | 3670 if test "${ac_cv_path_EGREP+set}" = set; then : |
3575 echo $ECHO_N "(cached) $ECHO_C" >&6 | 3671 $as_echo_n "(cached) " >&6 |
3576 else | 3672 else |
3577 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 | 3673 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
3578 then ac_cv_path_EGREP="$GREP -E" | 3674 then ac_cv_path_EGREP="$GREP -E" |
3579 else | 3675 else |
3580 # Extract the first word of "egrep" to use in msg output | 3676 if test -z "$EGREP"; then |
3581 if test -z "$EGREP"; then | |
3582 set dummy egrep; ac_prog_name=$2 | |
3583 if test "${ac_cv_path_EGREP+set}" = set; then | |
3584 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
3585 else | |
3586 ac_path_EGREP_found=false | 3677 ac_path_EGREP_found=false |
3587 # Loop through the user's path and test for each of PROGNAME-LIST | 3678 # Loop through the user's path and test for each of PROGNAME-LIST |
3588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 3679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3589 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | 3680 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
3590 do | 3681 do |
3591 IFS=$as_save_IFS | 3682 IFS=$as_save_IFS |
3592 test -z "$as_dir" && as_dir=. | 3683 test -z "$as_dir" && as_dir=. |
3593 for ac_prog in egrep; do | 3684 for ac_prog in egrep; do |
3594 for ac_exec_ext in '' $ac_executable_extensions; do | 3685 for ac_exec_ext in '' $ac_executable_extensions; do |
3595 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" | 3686 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
3596 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue | 3687 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue |
3597 # Check for GNU ac_path_EGREP and select it if it is found. | 3688 # Check for GNU ac_path_EGREP and select it if it is found. |
3598 # Check for GNU $ac_path_EGREP | 3689 # Check for GNU $ac_path_EGREP |
3599 case `"$ac_path_EGREP" --version 2>&1` in | 3690 case `"$ac_path_EGREP" --version 2>&1` in |
3600 *GNU*) | 3691 *GNU*) |
3601 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; | 3692 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; |
3602 *) | 3693 *) |
3603 ac_count=0 | 3694 ac_count=0 |
3604 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" | 3695 $as_echo_n 0123456789 >"conftest.in" |
3605 while : | 3696 while : |
3606 do | 3697 do |
3607 cat "conftest.in" "conftest.in" >"conftest.tmp" | 3698 cat "conftest.in" "conftest.in" >"conftest.tmp" |
3608 mv "conftest.tmp" "conftest.in" | 3699 mv "conftest.tmp" "conftest.in" |
3609 cp "conftest.in" "conftest.nl" | 3700 cp "conftest.in" "conftest.nl" |
3610 echo 'EGREP' >> "conftest.nl" | 3701 $as_echo 'EGREP' >> "conftest.nl" |
3611 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break | 3702 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
3612 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break | 3703 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
3613 ac_count=`expr $ac_count + 1` | 3704 as_fn_arith $ac_count + 1 && ac_count=$as_val |
3614 if test $ac_count -gt ${ac_path_EGREP_max-0}; then | 3705 if test $ac_count -gt ${ac_path_EGREP_max-0}; then |
3615 # Best one so far, save it but keep looking for a better one | 3706 # Best one so far, save it but keep looking for a better one |
3616 ac_cv_path_EGREP="$ac_path_EGREP" | 3707 ac_cv_path_EGREP="$ac_path_EGREP" |
3617 ac_path_EGREP_max=$ac_count | 3708 ac_path_EGREP_max=$ac_count |
3618 fi | 3709 fi |
3620 test $ac_count -gt 10 && break | 3711 test $ac_count -gt 10 && break |
3621 done | 3712 done |
3622 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; | 3713 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
3623 esac | 3714 esac |
3624 | 3715 |
3625 | 3716 $ac_path_EGREP_found && break 3 |
3626 $ac_path_EGREP_found && break 3 | 3717 done |
3627 done | 3718 done |
3628 done | 3719 done |
3629 | |
3630 done | |
3631 IFS=$as_save_IFS | 3720 IFS=$as_save_IFS |
3632 | 3721 if test -z "$ac_cv_path_EGREP"; then |
3633 | 3722 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
3634 fi | 3723 fi |
3635 | |
3636 EGREP="$ac_cv_path_EGREP" | |
3637 if test -z "$EGREP"; then | |
3638 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 | |
3639 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} | |
3640 { (exit 1); exit 1; }; } | |
3641 fi | |
3642 | |
3643 else | 3724 else |
3644 ac_cv_path_EGREP=$EGREP | 3725 ac_cv_path_EGREP=$EGREP |
3645 fi | 3726 fi |
3646 | 3727 |
3647 | |
3648 fi | 3728 fi |
3649 fi | 3729 fi |
3650 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 | 3730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 |
3651 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; } | 3731 $as_echo "$ac_cv_path_EGREP" >&6; } |
3652 EGREP="$ac_cv_path_EGREP" | 3732 EGREP="$ac_cv_path_EGREP" |
3653 | 3733 |
3654 | 3734 |
3655 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 | 3735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 |
3656 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } | 3736 $as_echo_n "checking for ANSI C header files... " >&6; } |
3657 if test "${ac_cv_header_stdc+set}" = set; then | 3737 if test "${ac_cv_header_stdc+set}" = set; then : |
3658 echo $ECHO_N "(cached) $ECHO_C" >&6 | 3738 $as_echo_n "(cached) " >&6 |
3659 else | 3739 else |
3660 cat >conftest.$ac_ext <<_ACEOF | 3740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3661 /* confdefs.h. */ | |
3662 _ACEOF | |
3663 cat confdefs.h >>conftest.$ac_ext | |
3664 cat >>conftest.$ac_ext <<_ACEOF | |
3665 /* end confdefs.h. */ | 3741 /* end confdefs.h. */ |
3666 #include <stdlib.h> | 3742 #include <stdlib.h> |
3667 #include <stdarg.h> | 3743 #include <stdarg.h> |
3668 #include <string.h> | 3744 #include <string.h> |
3669 #include <float.h> | 3745 #include <float.h> |
3674 | 3750 |
3675 ; | 3751 ; |
3676 return 0; | 3752 return 0; |
3677 } | 3753 } |
3678 _ACEOF | 3754 _ACEOF |
3679 rm -f conftest.$ac_objext | 3755 if ac_fn_c_try_compile "$LINENO"; then : |
3680 if { (ac_try="$ac_compile" | |
3681 case "(($ac_try" in | |
3682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3683 *) ac_try_echo=$ac_try;; | |
3684 esac | |
3685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
3686 (eval "$ac_compile") 2>conftest.er1 | |
3687 ac_status=$? | |
3688 grep -v '^ *+' conftest.er1 >conftest.err | |
3689 rm -f conftest.er1 | |
3690 cat conftest.err >&5 | |
3691 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3692 (exit $ac_status); } && { | |
3693 test -z "$ac_c_werror_flag" || | |
3694 test ! -s conftest.err | |
3695 } && test -s conftest.$ac_objext; then | |
3696 ac_cv_header_stdc=yes | 3756 ac_cv_header_stdc=yes |
3697 else | 3757 else |
3698 echo "$as_me: failed program was:" >&5 | 3758 ac_cv_header_stdc=no |
3699 sed 's/^/| /' conftest.$ac_ext >&5 | 3759 fi |
3700 | |
3701 ac_cv_header_stdc=no | |
3702 fi | |
3703 | |
3704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 3760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3705 | 3761 |
3706 if test $ac_cv_header_stdc = yes; then | 3762 if test $ac_cv_header_stdc = yes; then |
3707 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 3763 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
3708 cat >conftest.$ac_ext <<_ACEOF | 3764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3709 /* confdefs.h. */ | |
3710 _ACEOF | |
3711 cat confdefs.h >>conftest.$ac_ext | |
3712 cat >>conftest.$ac_ext <<_ACEOF | |
3713 /* end confdefs.h. */ | 3765 /* end confdefs.h. */ |
3714 #include <string.h> | 3766 #include <string.h> |
3715 | 3767 |
3716 _ACEOF | 3768 _ACEOF |
3717 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3769 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3718 $EGREP "memchr" >/dev/null 2>&1; then | 3770 $EGREP "memchr" >/dev/null 2>&1; then : |
3719 : | 3771 |
3720 else | 3772 else |
3721 ac_cv_header_stdc=no | 3773 ac_cv_header_stdc=no |
3722 fi | 3774 fi |
3723 rm -f conftest* | 3775 rm -f conftest* |
3724 | 3776 |
3725 fi | 3777 fi |
3726 | 3778 |
3727 if test $ac_cv_header_stdc = yes; then | 3779 if test $ac_cv_header_stdc = yes; then |
3728 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 3780 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
3729 cat >conftest.$ac_ext <<_ACEOF | 3781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3730 /* confdefs.h. */ | |
3731 _ACEOF | |
3732 cat confdefs.h >>conftest.$ac_ext | |
3733 cat >>conftest.$ac_ext <<_ACEOF | |
3734 /* end confdefs.h. */ | 3782 /* end confdefs.h. */ |
3735 #include <stdlib.h> | 3783 #include <stdlib.h> |
3736 | 3784 |
3737 _ACEOF | 3785 _ACEOF |
3738 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3786 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3739 $EGREP "free" >/dev/null 2>&1; then | 3787 $EGREP "free" >/dev/null 2>&1; then : |
3740 : | 3788 |
3741 else | 3789 else |
3742 ac_cv_header_stdc=no | 3790 ac_cv_header_stdc=no |
3743 fi | 3791 fi |
3744 rm -f conftest* | 3792 rm -f conftest* |
3745 | 3793 |
3746 fi | 3794 fi |
3747 | 3795 |
3748 if test $ac_cv_header_stdc = yes; then | 3796 if test $ac_cv_header_stdc = yes; then |
3749 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 3797 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
3750 if test "$cross_compiling" = yes; then | 3798 if test "$cross_compiling" = yes; then : |
3751 : | 3799 : |
3752 else | 3800 else |
3753 cat >conftest.$ac_ext <<_ACEOF | 3801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3754 /* confdefs.h. */ | |
3755 _ACEOF | |
3756 cat confdefs.h >>conftest.$ac_ext | |
3757 cat >>conftest.$ac_ext <<_ACEOF | |
3758 /* end confdefs.h. */ | 3802 /* end confdefs.h. */ |
3759 #include <ctype.h> | 3803 #include <ctype.h> |
3760 #include <stdlib.h> | 3804 #include <stdlib.h> |
3761 #if ((' ' & 0x0FF) == 0x020) | 3805 #if ((' ' & 0x0FF) == 0x020) |
3762 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 3806 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
3779 || toupper (i) != TOUPPER (i)) | 3823 || toupper (i) != TOUPPER (i)) |
3780 return 2; | 3824 return 2; |
3781 return 0; | 3825 return 0; |
3782 } | 3826 } |
3783 _ACEOF | 3827 _ACEOF |
3784 rm -f conftest$ac_exeext | 3828 if ac_fn_c_try_run "$LINENO"; then : |
3785 if { (ac_try="$ac_link" | 3829 |
3786 case "(($ac_try" in | 3830 else |
3787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 3831 ac_cv_header_stdc=no |
3788 *) ac_try_echo=$ac_try;; | 3832 fi |
3789 esac | 3833 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
3790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 3834 conftest.$ac_objext conftest.beam conftest.$ac_ext |
3791 (eval "$ac_link") 2>&5 | 3835 fi |
3792 ac_status=$? | 3836 |
3793 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3837 fi |
3794 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 3838 fi |
3795 { (case "(($ac_try" in | 3839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 |
3796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 3840 $as_echo "$ac_cv_header_stdc" >&6; } |
3797 *) ac_try_echo=$ac_try;; | |
3798 esac | |
3799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
3800 (eval "$ac_try") 2>&5 | |
3801 ac_status=$? | |
3802 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3803 (exit $ac_status); }; }; then | |
3804 : | |
3805 else | |
3806 echo "$as_me: program exited with status $ac_status" >&5 | |
3807 echo "$as_me: failed program was:" >&5 | |
3808 sed 's/^/| /' conftest.$ac_ext >&5 | |
3809 | |
3810 ( exit $ac_status ) | |
3811 ac_cv_header_stdc=no | |
3812 fi | |
3813 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | |
3814 fi | |
3815 | |
3816 | |
3817 fi | |
3818 fi | |
3819 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 | |
3820 echo "${ECHO_T}$ac_cv_header_stdc" >&6; } | |
3821 if test $ac_cv_header_stdc = yes; then | 3841 if test $ac_cv_header_stdc = yes; then |
3822 | 3842 |
3823 cat >>confdefs.h <<\_ACEOF | 3843 $as_echo "#define STDC_HEADERS 1" >>confdefs.h |
3824 #define STDC_HEADERS 1 | 3844 |
3825 _ACEOF | 3845 fi |
3826 | |
3827 fi | |
3828 | |
3829 | |
3830 | |
3831 | |
3832 | |
3833 | 3846 |
3834 ac_header_dirent=no | 3847 ac_header_dirent=no |
3835 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do | 3848 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do |
3836 as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` | 3849 as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` |
3837 { echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5 | 3850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5 |
3838 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; } | 3851 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; } |
3839 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 3852 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then : |
3840 echo $ECHO_N "(cached) $ECHO_C" >&6 | 3853 $as_echo_n "(cached) " >&6 |
3841 else | 3854 else |
3842 cat >conftest.$ac_ext <<_ACEOF | 3855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3843 /* confdefs.h. */ | |
3844 _ACEOF | |
3845 cat confdefs.h >>conftest.$ac_ext | |
3846 cat >>conftest.$ac_ext <<_ACEOF | |
3847 /* end confdefs.h. */ | 3856 /* end confdefs.h. */ |
3848 #include <sys/types.h> | 3857 #include <sys/types.h> |
3849 #include <$ac_hdr> | 3858 #include <$ac_hdr> |
3850 | 3859 |
3851 int | 3860 int |
3855 return 0; | 3864 return 0; |
3856 ; | 3865 ; |
3857 return 0; | 3866 return 0; |
3858 } | 3867 } |
3859 _ACEOF | 3868 _ACEOF |
3860 rm -f conftest.$ac_objext | 3869 if ac_fn_c_try_compile "$LINENO"; then : |
3861 if { (ac_try="$ac_compile" | |
3862 case "(($ac_try" in | |
3863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3864 *) ac_try_echo=$ac_try;; | |
3865 esac | |
3866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
3867 (eval "$ac_compile") 2>conftest.er1 | |
3868 ac_status=$? | |
3869 grep -v '^ *+' conftest.er1 >conftest.err | |
3870 rm -f conftest.er1 | |
3871 cat conftest.err >&5 | |
3872 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3873 (exit $ac_status); } && { | |
3874 test -z "$ac_c_werror_flag" || | |
3875 test ! -s conftest.err | |
3876 } && test -s conftest.$ac_objext; then | |
3877 eval "$as_ac_Header=yes" | 3870 eval "$as_ac_Header=yes" |
3878 else | 3871 else |
3879 echo "$as_me: failed program was:" >&5 | 3872 eval "$as_ac_Header=no" |
3880 sed 's/^/| /' conftest.$ac_ext >&5 | 3873 fi |
3881 | |
3882 eval "$as_ac_Header=no" | |
3883 fi | |
3884 | |
3885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 3874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3886 fi | 3875 fi |
3887 ac_res=`eval echo '${'$as_ac_Header'}'` | 3876 eval ac_res=\$$as_ac_Header |
3888 { echo "$as_me:$LINENO: result: $ac_res" >&5 | 3877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
3889 echo "${ECHO_T}$ac_res" >&6; } | 3878 $as_echo "$ac_res" >&6; } |
3890 if test `eval echo '${'$as_ac_Header'}'` = yes; then | 3879 eval as_val=\$$as_ac_Header |
3880 if test "x$as_val" = x""yes; then : | |
3891 cat >>confdefs.h <<_ACEOF | 3881 cat >>confdefs.h <<_ACEOF |
3892 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1 | 3882 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1 |
3893 _ACEOF | 3883 _ACEOF |
3894 | 3884 |
3895 ac_header_dirent=$ac_hdr; break | 3885 ac_header_dirent=$ac_hdr; break |
3896 fi | 3886 fi |
3897 | 3887 |
3898 done | 3888 done |
3899 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. | 3889 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. |
3900 if test $ac_header_dirent = dirent.h; then | 3890 if test $ac_header_dirent = dirent.h; then |
3901 { echo "$as_me:$LINENO: checking for library containing opendir" >&5 | 3891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5 |
3902 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; } | 3892 $as_echo_n "checking for library containing opendir... " >&6; } |
3903 if test "${ac_cv_search_opendir+set}" = set; then | 3893 if test "${ac_cv_search_opendir+set}" = set; then : |
3904 echo $ECHO_N "(cached) $ECHO_C" >&6 | 3894 $as_echo_n "(cached) " >&6 |
3905 else | 3895 else |
3906 ac_func_search_save_LIBS=$LIBS | 3896 ac_func_search_save_LIBS=$LIBS |
3907 cat >conftest.$ac_ext <<_ACEOF | 3897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3908 /* confdefs.h. */ | |
3909 _ACEOF | |
3910 cat confdefs.h >>conftest.$ac_ext | |
3911 cat >>conftest.$ac_ext <<_ACEOF | |
3912 /* end confdefs.h. */ | 3898 /* end confdefs.h. */ |
3913 | 3899 |
3914 /* Override any GCC internal prototype to avoid an error. | 3900 /* Override any GCC internal prototype to avoid an error. |
3915 Use char because int might match the return type of a GCC | 3901 Use char because int might match the return type of a GCC |
3916 builtin and then its argument prototype would still apply. */ | 3902 builtin and then its argument prototype would still apply. */ |
3931 ac_res="none required" | 3917 ac_res="none required" |
3932 else | 3918 else |
3933 ac_res=-l$ac_lib | 3919 ac_res=-l$ac_lib |
3934 LIBS="-l$ac_lib $ac_func_search_save_LIBS" | 3920 LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
3935 fi | 3921 fi |
3936 rm -f conftest.$ac_objext conftest$ac_exeext | 3922 if ac_fn_c_try_link "$LINENO"; then : |
3937 if { (ac_try="$ac_link" | |
3938 case "(($ac_try" in | |
3939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3940 *) ac_try_echo=$ac_try;; | |
3941 esac | |
3942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
3943 (eval "$ac_link") 2>conftest.er1 | |
3944 ac_status=$? | |
3945 grep -v '^ *+' conftest.er1 >conftest.err | |
3946 rm -f conftest.er1 | |
3947 cat conftest.err >&5 | |
3948 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3949 (exit $ac_status); } && { | |
3950 test -z "$ac_c_werror_flag" || | |
3951 test ! -s conftest.err | |
3952 } && test -s conftest$ac_exeext && | |
3953 $as_test_x conftest$ac_exeext; then | |
3954 ac_cv_search_opendir=$ac_res | 3923 ac_cv_search_opendir=$ac_res |
3955 else | 3924 fi |
3956 echo "$as_me: failed program was:" >&5 | 3925 rm -f core conftest.err conftest.$ac_objext \ |
3957 sed 's/^/| /' conftest.$ac_ext >&5 | 3926 conftest$ac_exeext |
3958 | 3927 if test "${ac_cv_search_opendir+set}" = set; then : |
3959 | |
3960 fi | |
3961 | |
3962 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
3963 conftest$ac_exeext | |
3964 if test "${ac_cv_search_opendir+set}" = set; then | |
3965 break | 3928 break |
3966 fi | 3929 fi |
3967 done | 3930 done |
3968 if test "${ac_cv_search_opendir+set}" = set; then | 3931 if test "${ac_cv_search_opendir+set}" = set; then : |
3969 : | 3932 |
3970 else | 3933 else |
3971 ac_cv_search_opendir=no | 3934 ac_cv_search_opendir=no |
3972 fi | 3935 fi |
3973 rm conftest.$ac_ext | 3936 rm conftest.$ac_ext |
3974 LIBS=$ac_func_search_save_LIBS | 3937 LIBS=$ac_func_search_save_LIBS |
3975 fi | 3938 fi |
3976 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 | 3939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5 |
3977 echo "${ECHO_T}$ac_cv_search_opendir" >&6; } | 3940 $as_echo "$ac_cv_search_opendir" >&6; } |
3978 ac_res=$ac_cv_search_opendir | 3941 ac_res=$ac_cv_search_opendir |
3979 if test "$ac_res" != no; then | 3942 if test "$ac_res" != no; then : |
3980 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" | 3943 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
3981 | 3944 |
3982 fi | 3945 fi |
3983 | 3946 |
3984 else | 3947 else |
3985 { echo "$as_me:$LINENO: checking for library containing opendir" >&5 | 3948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5 |
3986 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; } | 3949 $as_echo_n "checking for library containing opendir... " >&6; } |
3987 if test "${ac_cv_search_opendir+set}" = set; then | 3950 if test "${ac_cv_search_opendir+set}" = set; then : |
3988 echo $ECHO_N "(cached) $ECHO_C" >&6 | 3951 $as_echo_n "(cached) " >&6 |
3989 else | 3952 else |
3990 ac_func_search_save_LIBS=$LIBS | 3953 ac_func_search_save_LIBS=$LIBS |
3991 cat >conftest.$ac_ext <<_ACEOF | 3954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3992 /* confdefs.h. */ | |
3993 _ACEOF | |
3994 cat confdefs.h >>conftest.$ac_ext | |
3995 cat >>conftest.$ac_ext <<_ACEOF | |
3996 /* end confdefs.h. */ | 3955 /* end confdefs.h. */ |
3997 | 3956 |
3998 /* Override any GCC internal prototype to avoid an error. | 3957 /* Override any GCC internal prototype to avoid an error. |
3999 Use char because int might match the return type of a GCC | 3958 Use char because int might match the return type of a GCC |
4000 builtin and then its argument prototype would still apply. */ | 3959 builtin and then its argument prototype would still apply. */ |
4015 ac_res="none required" | 3974 ac_res="none required" |
4016 else | 3975 else |
4017 ac_res=-l$ac_lib | 3976 ac_res=-l$ac_lib |
4018 LIBS="-l$ac_lib $ac_func_search_save_LIBS" | 3977 LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
4019 fi | 3978 fi |
4020 rm -f conftest.$ac_objext conftest$ac_exeext | 3979 if ac_fn_c_try_link "$LINENO"; then : |
4021 if { (ac_try="$ac_link" | |
4022 case "(($ac_try" in | |
4023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4024 *) ac_try_echo=$ac_try;; | |
4025 esac | |
4026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
4027 (eval "$ac_link") 2>conftest.er1 | |
4028 ac_status=$? | |
4029 grep -v '^ *+' conftest.er1 >conftest.err | |
4030 rm -f conftest.er1 | |
4031 cat conftest.err >&5 | |
4032 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4033 (exit $ac_status); } && { | |
4034 test -z "$ac_c_werror_flag" || | |
4035 test ! -s conftest.err | |
4036 } && test -s conftest$ac_exeext && | |
4037 $as_test_x conftest$ac_exeext; then | |
4038 ac_cv_search_opendir=$ac_res | 3980 ac_cv_search_opendir=$ac_res |
4039 else | 3981 fi |
4040 echo "$as_me: failed program was:" >&5 | 3982 rm -f core conftest.err conftest.$ac_objext \ |
4041 sed 's/^/| /' conftest.$ac_ext >&5 | 3983 conftest$ac_exeext |
4042 | 3984 if test "${ac_cv_search_opendir+set}" = set; then : |
4043 | |
4044 fi | |
4045 | |
4046 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
4047 conftest$ac_exeext | |
4048 if test "${ac_cv_search_opendir+set}" = set; then | |
4049 break | 3985 break |
4050 fi | 3986 fi |
4051 done | 3987 done |
4052 if test "${ac_cv_search_opendir+set}" = set; then | 3988 if test "${ac_cv_search_opendir+set}" = set; then : |
4053 : | 3989 |
4054 else | 3990 else |
4055 ac_cv_search_opendir=no | 3991 ac_cv_search_opendir=no |
4056 fi | 3992 fi |
4057 rm conftest.$ac_ext | 3993 rm conftest.$ac_ext |
4058 LIBS=$ac_func_search_save_LIBS | 3994 LIBS=$ac_func_search_save_LIBS |
4059 fi | 3995 fi |
4060 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 | 3996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5 |
4061 echo "${ECHO_T}$ac_cv_search_opendir" >&6; } | 3997 $as_echo "$ac_cv_search_opendir" >&6; } |
4062 ac_res=$ac_cv_search_opendir | 3998 ac_res=$ac_cv_search_opendir |
4063 if test "$ac_res" != no; then | 3999 if test "$ac_res" != no; then : |
4064 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" | 4000 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
4065 | 4001 |
4066 fi | 4002 fi |
4067 | 4003 |
4068 fi | 4004 fi |
4069 | 4005 |
4070 # On IRIX 5.3, sys/types and inttypes.h are conflicting. | 4006 # On IRIX 5.3, sys/types and inttypes.h are conflicting. |
4071 | |
4072 | |
4073 | |
4074 | |
4075 | |
4076 | |
4077 | |
4078 | |
4079 | |
4080 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ | 4007 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
4081 inttypes.h stdint.h unistd.h | 4008 inttypes.h stdint.h unistd.h |
4082 do | 4009 do : |
4083 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 4010 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
4084 { echo "$as_me:$LINENO: checking for $ac_header" >&5 | 4011 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default |
4085 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | 4012 " |
4086 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 4013 eval as_val=\$$as_ac_Header |
4087 echo $ECHO_N "(cached) $ECHO_C" >&6 | 4014 if test "x$as_val" = x""yes; then : |
4088 else | |
4089 cat >conftest.$ac_ext <<_ACEOF | |
4090 /* confdefs.h. */ | |
4091 _ACEOF | |
4092 cat confdefs.h >>conftest.$ac_ext | |
4093 cat >>conftest.$ac_ext <<_ACEOF | |
4094 /* end confdefs.h. */ | |
4095 $ac_includes_default | |
4096 | |
4097 #include <$ac_header> | |
4098 _ACEOF | |
4099 rm -f conftest.$ac_objext | |
4100 if { (ac_try="$ac_compile" | |
4101 case "(($ac_try" in | |
4102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4103 *) ac_try_echo=$ac_try;; | |
4104 esac | |
4105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
4106 (eval "$ac_compile") 2>conftest.er1 | |
4107 ac_status=$? | |
4108 grep -v '^ *+' conftest.er1 >conftest.err | |
4109 rm -f conftest.er1 | |
4110 cat conftest.err >&5 | |
4111 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4112 (exit $ac_status); } && { | |
4113 test -z "$ac_c_werror_flag" || | |
4114 test ! -s conftest.err | |
4115 } && test -s conftest.$ac_objext; then | |
4116 eval "$as_ac_Header=yes" | |
4117 else | |
4118 echo "$as_me: failed program was:" >&5 | |
4119 sed 's/^/| /' conftest.$ac_ext >&5 | |
4120 | |
4121 eval "$as_ac_Header=no" | |
4122 fi | |
4123 | |
4124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
4125 fi | |
4126 ac_res=`eval echo '${'$as_ac_Header'}'` | |
4127 { echo "$as_me:$LINENO: result: $ac_res" >&5 | |
4128 echo "${ECHO_T}$ac_res" >&6; } | |
4129 if test `eval echo '${'$as_ac_Header'}'` = yes; then | |
4130 cat >>confdefs.h <<_ACEOF | 4015 cat >>confdefs.h <<_ACEOF |
4131 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 4016 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
4132 _ACEOF | 4017 _ACEOF |
4133 | 4018 |
4134 fi | 4019 fi |
4135 | 4020 |
4136 done | 4021 done |
4137 | 4022 |
4138 | 4023 |
4139 | |
4140 for ac_header in unistd.h | 4024 for ac_header in unistd.h |
4141 do | 4025 do : |
4142 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 4026 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default" |
4143 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 4027 if test "x$ac_cv_header_unistd_h" = x""yes; then : |
4144 { echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
4145 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | |
4146 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
4147 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
4148 fi | |
4149 ac_res=`eval echo '${'$as_ac_Header'}'` | |
4150 { echo "$as_me:$LINENO: result: $ac_res" >&5 | |
4151 echo "${ECHO_T}$ac_res" >&6; } | |
4152 else | |
4153 # Is the header compilable? | |
4154 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 | |
4155 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } | |
4156 cat >conftest.$ac_ext <<_ACEOF | |
4157 /* confdefs.h. */ | |
4158 _ACEOF | |
4159 cat confdefs.h >>conftest.$ac_ext | |
4160 cat >>conftest.$ac_ext <<_ACEOF | |
4161 /* end confdefs.h. */ | |
4162 $ac_includes_default | |
4163 #include <$ac_header> | |
4164 _ACEOF | |
4165 rm -f conftest.$ac_objext | |
4166 if { (ac_try="$ac_compile" | |
4167 case "(($ac_try" in | |
4168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4169 *) ac_try_echo=$ac_try;; | |
4170 esac | |
4171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
4172 (eval "$ac_compile") 2>conftest.er1 | |
4173 ac_status=$? | |
4174 grep -v '^ *+' conftest.er1 >conftest.err | |
4175 rm -f conftest.er1 | |
4176 cat conftest.err >&5 | |
4177 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4178 (exit $ac_status); } && { | |
4179 test -z "$ac_c_werror_flag" || | |
4180 test ! -s conftest.err | |
4181 } && test -s conftest.$ac_objext; then | |
4182 ac_header_compiler=yes | |
4183 else | |
4184 echo "$as_me: failed program was:" >&5 | |
4185 sed 's/^/| /' conftest.$ac_ext >&5 | |
4186 | |
4187 ac_header_compiler=no | |
4188 fi | |
4189 | |
4190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
4191 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
4192 echo "${ECHO_T}$ac_header_compiler" >&6; } | |
4193 | |
4194 # Is the header present? | |
4195 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 | |
4196 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } | |
4197 cat >conftest.$ac_ext <<_ACEOF | |
4198 /* confdefs.h. */ | |
4199 _ACEOF | |
4200 cat confdefs.h >>conftest.$ac_ext | |
4201 cat >>conftest.$ac_ext <<_ACEOF | |
4202 /* end confdefs.h. */ | |
4203 #include <$ac_header> | |
4204 _ACEOF | |
4205 if { (ac_try="$ac_cpp conftest.$ac_ext" | |
4206 case "(($ac_try" in | |
4207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4208 *) ac_try_echo=$ac_try;; | |
4209 esac | |
4210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
4211 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
4212 ac_status=$? | |
4213 grep -v '^ *+' conftest.er1 >conftest.err | |
4214 rm -f conftest.er1 | |
4215 cat conftest.err >&5 | |
4216 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4217 (exit $ac_status); } >/dev/null && { | |
4218 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
4219 test ! -s conftest.err | |
4220 }; then | |
4221 ac_header_preproc=yes | |
4222 else | |
4223 echo "$as_me: failed program was:" >&5 | |
4224 sed 's/^/| /' conftest.$ac_ext >&5 | |
4225 | |
4226 ac_header_preproc=no | |
4227 fi | |
4228 | |
4229 rm -f conftest.err conftest.$ac_ext | |
4230 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
4231 echo "${ECHO_T}$ac_header_preproc" >&6; } | |
4232 | |
4233 # So? What about this header? | |
4234 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | |
4235 yes:no: ) | |
4236 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | |
4237 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
4238 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | |
4239 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | |
4240 ac_header_preproc=yes | |
4241 ;; | |
4242 no:yes:* ) | |
4243 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | |
4244 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | |
4245 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | |
4246 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | |
4247 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | |
4248 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | |
4249 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | |
4250 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | |
4251 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
4252 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | |
4253 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | |
4254 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | |
4255 | |
4256 ;; | |
4257 esac | |
4258 { echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
4259 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | |
4260 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
4261 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
4262 else | |
4263 eval "$as_ac_Header=\$ac_header_preproc" | |
4264 fi | |
4265 ac_res=`eval echo '${'$as_ac_Header'}'` | |
4266 { echo "$as_me:$LINENO: result: $ac_res" >&5 | |
4267 echo "${ECHO_T}$ac_res" >&6; } | |
4268 | |
4269 fi | |
4270 if test `eval echo '${'$as_ac_Header'}'` = yes; then | |
4271 cat >>confdefs.h <<_ACEOF | 4028 cat >>confdefs.h <<_ACEOF |
4272 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 4029 #define HAVE_UNISTD_H 1 |
4273 _ACEOF | 4030 _ACEOF |
4274 | 4031 |
4275 fi | 4032 fi |
4276 | 4033 |
4277 done | 4034 done |
4278 | 4035 |
4279 | |
4280 for ac_header in sys/stat.h | 4036 for ac_header in sys/stat.h |
4281 do | 4037 do : |
4282 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 4038 ac_fn_c_check_header_mongrel "$LINENO" "sys/stat.h" "ac_cv_header_sys_stat_h" "$ac_includes_default" |
4283 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 4039 if test "x$ac_cv_header_sys_stat_h" = x""yes; then : |
4284 { echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
4285 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | |
4286 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
4287 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
4288 fi | |
4289 ac_res=`eval echo '${'$as_ac_Header'}'` | |
4290 { echo "$as_me:$LINENO: result: $ac_res" >&5 | |
4291 echo "${ECHO_T}$ac_res" >&6; } | |
4292 else | |
4293 # Is the header compilable? | |
4294 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 | |
4295 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } | |
4296 cat >conftest.$ac_ext <<_ACEOF | |
4297 /* confdefs.h. */ | |
4298 _ACEOF | |
4299 cat confdefs.h >>conftest.$ac_ext | |
4300 cat >>conftest.$ac_ext <<_ACEOF | |
4301 /* end confdefs.h. */ | |
4302 $ac_includes_default | |
4303 #include <$ac_header> | |
4304 _ACEOF | |
4305 rm -f conftest.$ac_objext | |
4306 if { (ac_try="$ac_compile" | |
4307 case "(($ac_try" in | |
4308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4309 *) ac_try_echo=$ac_try;; | |
4310 esac | |
4311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
4312 (eval "$ac_compile") 2>conftest.er1 | |
4313 ac_status=$? | |
4314 grep -v '^ *+' conftest.er1 >conftest.err | |
4315 rm -f conftest.er1 | |
4316 cat conftest.err >&5 | |
4317 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4318 (exit $ac_status); } && { | |
4319 test -z "$ac_c_werror_flag" || | |
4320 test ! -s conftest.err | |
4321 } && test -s conftest.$ac_objext; then | |
4322 ac_header_compiler=yes | |
4323 else | |
4324 echo "$as_me: failed program was:" >&5 | |
4325 sed 's/^/| /' conftest.$ac_ext >&5 | |
4326 | |
4327 ac_header_compiler=no | |
4328 fi | |
4329 | |
4330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
4331 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
4332 echo "${ECHO_T}$ac_header_compiler" >&6; } | |
4333 | |
4334 # Is the header present? | |
4335 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 | |
4336 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } | |
4337 cat >conftest.$ac_ext <<_ACEOF | |
4338 /* confdefs.h. */ | |
4339 _ACEOF | |
4340 cat confdefs.h >>conftest.$ac_ext | |
4341 cat >>conftest.$ac_ext <<_ACEOF | |
4342 /* end confdefs.h. */ | |
4343 #include <$ac_header> | |
4344 _ACEOF | |
4345 if { (ac_try="$ac_cpp conftest.$ac_ext" | |
4346 case "(($ac_try" in | |
4347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4348 *) ac_try_echo=$ac_try;; | |
4349 esac | |
4350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
4351 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
4352 ac_status=$? | |
4353 grep -v '^ *+' conftest.er1 >conftest.err | |
4354 rm -f conftest.er1 | |
4355 cat conftest.err >&5 | |
4356 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4357 (exit $ac_status); } >/dev/null && { | |
4358 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
4359 test ! -s conftest.err | |
4360 }; then | |
4361 ac_header_preproc=yes | |
4362 else | |
4363 echo "$as_me: failed program was:" >&5 | |
4364 sed 's/^/| /' conftest.$ac_ext >&5 | |
4365 | |
4366 ac_header_preproc=no | |
4367 fi | |
4368 | |
4369 rm -f conftest.err conftest.$ac_ext | |
4370 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
4371 echo "${ECHO_T}$ac_header_preproc" >&6; } | |
4372 | |
4373 # So? What about this header? | |
4374 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | |
4375 yes:no: ) | |
4376 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | |
4377 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
4378 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | |
4379 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | |
4380 ac_header_preproc=yes | |
4381 ;; | |
4382 no:yes:* ) | |
4383 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | |
4384 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | |
4385 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | |
4386 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | |
4387 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | |
4388 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | |
4389 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | |
4390 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | |
4391 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | |
4392 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | |
4393 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | |
4394 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | |
4395 | |
4396 ;; | |
4397 esac | |
4398 { echo "$as_me:$LINENO: checking for $ac_header" >&5 | |
4399 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | |
4400 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | |
4401 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
4402 else | |
4403 eval "$as_ac_Header=\$ac_header_preproc" | |
4404 fi | |
4405 ac_res=`eval echo '${'$as_ac_Header'}'` | |
4406 { echo "$as_me:$LINENO: result: $ac_res" >&5 | |
4407 echo "${ECHO_T}$ac_res" >&6; } | |
4408 | |
4409 fi | |
4410 if test `eval echo '${'$as_ac_Header'}'` = yes; then | |
4411 cat >>confdefs.h <<_ACEOF | 4040 cat >>confdefs.h <<_ACEOF |
4412 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 4041 #define HAVE_SYS_STAT_H 1 |
4413 _ACEOF | 4042 _ACEOF |
4414 | 4043 |
4415 fi | 4044 fi |
4416 | 4045 |
4417 done | 4046 done |
4418 | 4047 |
4419 | 4048 |
4420 | |
4421 for ac_func in pipe | 4049 for ac_func in pipe |
4422 do | 4050 do : |
4423 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 4051 ac_fn_c_check_func "$LINENO" "pipe" "ac_cv_func_pipe" |
4424 { echo "$as_me:$LINENO: checking for $ac_func" >&5 | 4052 if test "x$ac_cv_func_pipe" = x""yes; then : |
4425 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | |
4426 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | |
4427 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
4428 else | |
4429 cat >conftest.$ac_ext <<_ACEOF | |
4430 /* confdefs.h. */ | |
4431 _ACEOF | |
4432 cat confdefs.h >>conftest.$ac_ext | |
4433 cat >>conftest.$ac_ext <<_ACEOF | |
4434 /* end confdefs.h. */ | |
4435 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | |
4436 For example, HP-UX 11i <limits.h> declares gettimeofday. */ | |
4437 #define $ac_func innocuous_$ac_func | |
4438 | |
4439 /* System header to define __stub macros and hopefully few prototypes, | |
4440 which can conflict with char $ac_func (); below. | |
4441 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
4442 <limits.h> exists even on freestanding compilers. */ | |
4443 | |
4444 #ifdef __STDC__ | |
4445 # include <limits.h> | |
4446 #else | |
4447 # include <assert.h> | |
4448 #endif | |
4449 | |
4450 #undef $ac_func | |
4451 | |
4452 /* Override any GCC internal prototype to avoid an error. | |
4453 Use char because int might match the return type of a GCC | |
4454 builtin and then its argument prototype would still apply. */ | |
4455 #ifdef __cplusplus | |
4456 extern "C" | |
4457 #endif | |
4458 char $ac_func (); | |
4459 /* The GNU C library defines this for functions which it implements | |
4460 to always fail with ENOSYS. Some functions are actually named | |
4461 something starting with __ and the normal name is an alias. */ | |
4462 #if defined __stub_$ac_func || defined __stub___$ac_func | |
4463 choke me | |
4464 #endif | |
4465 | |
4466 int | |
4467 main () | |
4468 { | |
4469 return $ac_func (); | |
4470 ; | |
4471 return 0; | |
4472 } | |
4473 _ACEOF | |
4474 rm -f conftest.$ac_objext conftest$ac_exeext | |
4475 if { (ac_try="$ac_link" | |
4476 case "(($ac_try" in | |
4477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4478 *) ac_try_echo=$ac_try;; | |
4479 esac | |
4480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
4481 (eval "$ac_link") 2>conftest.er1 | |
4482 ac_status=$? | |
4483 grep -v '^ *+' conftest.er1 >conftest.err | |
4484 rm -f conftest.er1 | |
4485 cat conftest.err >&5 | |
4486 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4487 (exit $ac_status); } && { | |
4488 test -z "$ac_c_werror_flag" || | |
4489 test ! -s conftest.err | |
4490 } && test -s conftest$ac_exeext && | |
4491 $as_test_x conftest$ac_exeext; then | |
4492 eval "$as_ac_var=yes" | |
4493 else | |
4494 echo "$as_me: failed program was:" >&5 | |
4495 sed 's/^/| /' conftest.$ac_ext >&5 | |
4496 | |
4497 eval "$as_ac_var=no" | |
4498 fi | |
4499 | |
4500 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
4501 conftest$ac_exeext conftest.$ac_ext | |
4502 fi | |
4503 ac_res=`eval echo '${'$as_ac_var'}'` | |
4504 { echo "$as_me:$LINENO: result: $ac_res" >&5 | |
4505 echo "${ECHO_T}$ac_res" >&6; } | |
4506 if test `eval echo '${'$as_ac_var'}'` = yes; then | |
4507 cat >>confdefs.h <<_ACEOF | 4053 cat >>confdefs.h <<_ACEOF |
4508 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | |
4509 _ACEOF | |
4510 | |
4511 cat >>confdefs.h <<\_ACEOF | |
4512 #define HAVE_PIPE 1 | 4054 #define HAVE_PIPE 1 |
4513 _ACEOF | 4055 _ACEOF |
4514 | 4056 |
4057 $as_echo "#define HAVE_PIPE 1" >>confdefs.h | |
4058 | |
4515 fi | 4059 fi |
4516 done | 4060 done |
4517 | 4061 |
4518 | 4062 |
4519 | |
4520 for ac_func in connect | 4063 for ac_func in connect |
4521 do | 4064 do : |
4522 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 4065 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect" |
4523 { echo "$as_me:$LINENO: checking for $ac_func" >&5 | 4066 if test "x$ac_cv_func_connect" = x""yes; then : |
4524 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | |
4525 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | |
4526 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
4527 else | |
4528 cat >conftest.$ac_ext <<_ACEOF | |
4529 /* confdefs.h. */ | |
4530 _ACEOF | |
4531 cat confdefs.h >>conftest.$ac_ext | |
4532 cat >>conftest.$ac_ext <<_ACEOF | |
4533 /* end confdefs.h. */ | |
4534 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | |
4535 For example, HP-UX 11i <limits.h> declares gettimeofday. */ | |
4536 #define $ac_func innocuous_$ac_func | |
4537 | |
4538 /* System header to define __stub macros and hopefully few prototypes, | |
4539 which can conflict with char $ac_func (); below. | |
4540 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
4541 <limits.h> exists even on freestanding compilers. */ | |
4542 | |
4543 #ifdef __STDC__ | |
4544 # include <limits.h> | |
4545 #else | |
4546 # include <assert.h> | |
4547 #endif | |
4548 | |
4549 #undef $ac_func | |
4550 | |
4551 /* Override any GCC internal prototype to avoid an error. | |
4552 Use char because int might match the return type of a GCC | |
4553 builtin and then its argument prototype would still apply. */ | |
4554 #ifdef __cplusplus | |
4555 extern "C" | |
4556 #endif | |
4557 char $ac_func (); | |
4558 /* The GNU C library defines this for functions which it implements | |
4559 to always fail with ENOSYS. Some functions are actually named | |
4560 something starting with __ and the normal name is an alias. */ | |
4561 #if defined __stub_$ac_func || defined __stub___$ac_func | |
4562 choke me | |
4563 #endif | |
4564 | |
4565 int | |
4566 main () | |
4567 { | |
4568 return $ac_func (); | |
4569 ; | |
4570 return 0; | |
4571 } | |
4572 _ACEOF | |
4573 rm -f conftest.$ac_objext conftest$ac_exeext | |
4574 if { (ac_try="$ac_link" | |
4575 case "(($ac_try" in | |
4576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4577 *) ac_try_echo=$ac_try;; | |
4578 esac | |
4579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
4580 (eval "$ac_link") 2>conftest.er1 | |
4581 ac_status=$? | |
4582 grep -v '^ *+' conftest.er1 >conftest.err | |
4583 rm -f conftest.er1 | |
4584 cat conftest.err >&5 | |
4585 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4586 (exit $ac_status); } && { | |
4587 test -z "$ac_c_werror_flag" || | |
4588 test ! -s conftest.err | |
4589 } && test -s conftest$ac_exeext && | |
4590 $as_test_x conftest$ac_exeext; then | |
4591 eval "$as_ac_var=yes" | |
4592 else | |
4593 echo "$as_me: failed program was:" >&5 | |
4594 sed 's/^/| /' conftest.$ac_ext >&5 | |
4595 | |
4596 eval "$as_ac_var=no" | |
4597 fi | |
4598 | |
4599 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
4600 conftest$ac_exeext conftest.$ac_ext | |
4601 fi | |
4602 ac_res=`eval echo '${'$as_ac_var'}'` | |
4603 { echo "$as_me:$LINENO: result: $ac_res" >&5 | |
4604 echo "${ECHO_T}$ac_res" >&6; } | |
4605 if test `eval echo '${'$as_ac_var'}'` = yes; then | |
4606 cat >>confdefs.h <<_ACEOF | 4067 cat >>confdefs.h <<_ACEOF |
4607 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 4068 #define HAVE_CONNECT 1 |
4608 _ACEOF | 4069 _ACEOF |
4609 | 4070 |
4610 fi | 4071 fi |
4611 done | 4072 done |
4612 | 4073 |
4613 if test x"$ac_cv_func_connect" = x"no"; then | 4074 if test x"$ac_cv_func_connect" = x"no"; then |
4614 if test -z "$libsocket"; then | 4075 if test -z "$libsocket"; then |
4615 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5 | 4076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5 |
4616 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; } | 4077 $as_echo_n "checking for socket in -lsocket... " >&6; } |
4617 if test "${ac_cv_lib_socket_socket+set}" = set; then | 4078 if test "${ac_cv_lib_socket_socket+set}" = set; then : |
4618 echo $ECHO_N "(cached) $ECHO_C" >&6 | 4079 $as_echo_n "(cached) " >&6 |
4619 else | 4080 else |
4620 ac_check_lib_save_LIBS=$LIBS | 4081 ac_check_lib_save_LIBS=$LIBS |
4621 LIBS="-lsocket $LIBS" | 4082 LIBS="-lsocket $LIBS" |
4622 cat >conftest.$ac_ext <<_ACEOF | 4083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4623 /* confdefs.h. */ | |
4624 _ACEOF | |
4625 cat confdefs.h >>conftest.$ac_ext | |
4626 cat >>conftest.$ac_ext <<_ACEOF | |
4627 /* end confdefs.h. */ | 4084 /* end confdefs.h. */ |
4628 | 4085 |
4629 /* Override any GCC internal prototype to avoid an error. | 4086 /* Override any GCC internal prototype to avoid an error. |
4630 Use char because int might match the return type of a GCC | 4087 Use char because int might match the return type of a GCC |
4631 builtin and then its argument prototype would still apply. */ | 4088 builtin and then its argument prototype would still apply. */ |
4639 return socket (); | 4096 return socket (); |
4640 ; | 4097 ; |
4641 return 0; | 4098 return 0; |
4642 } | 4099 } |
4643 _ACEOF | 4100 _ACEOF |
4644 rm -f conftest.$ac_objext conftest$ac_exeext | 4101 if ac_fn_c_try_link "$LINENO"; then : |
4645 if { (ac_try="$ac_link" | |
4646 case "(($ac_try" in | |
4647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4648 *) ac_try_echo=$ac_try;; | |
4649 esac | |
4650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
4651 (eval "$ac_link") 2>conftest.er1 | |
4652 ac_status=$? | |
4653 grep -v '^ *+' conftest.er1 >conftest.err | |
4654 rm -f conftest.er1 | |
4655 cat conftest.err >&5 | |
4656 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4657 (exit $ac_status); } && { | |
4658 test -z "$ac_c_werror_flag" || | |
4659 test ! -s conftest.err | |
4660 } && test -s conftest$ac_exeext && | |
4661 $as_test_x conftest$ac_exeext; then | |
4662 ac_cv_lib_socket_socket=yes | 4102 ac_cv_lib_socket_socket=yes |
4663 else | 4103 else |
4664 echo "$as_me: failed program was:" >&5 | 4104 ac_cv_lib_socket_socket=no |
4665 sed 's/^/| /' conftest.$ac_ext >&5 | 4105 fi |
4666 | 4106 rm -f core conftest.err conftest.$ac_objext \ |
4667 ac_cv_lib_socket_socket=no | 4107 conftest$ac_exeext conftest.$ac_ext |
4668 fi | |
4669 | |
4670 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
4671 conftest$ac_exeext conftest.$ac_ext | |
4672 LIBS=$ac_check_lib_save_LIBS | 4108 LIBS=$ac_check_lib_save_LIBS |
4673 fi | 4109 fi |
4674 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5 | 4110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5 |
4675 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; } | 4111 $as_echo "$ac_cv_lib_socket_socket" >&6; } |
4676 if test $ac_cv_lib_socket_socket = yes; then | 4112 if test "x$ac_cv_lib_socket_socket" = x""yes; then : |
4677 LIBS="$LIBS -lsocket" | 4113 LIBS="$LIBS -lsocket" |
4678 fi | 4114 fi |
4679 | 4115 |
4680 fi | 4116 fi |
4681 | 4117 |
4682 if test -z "$libinet"; then | 4118 if test -z "$libinet"; then |
4683 { echo "$as_me:$LINENO: checking for socket in -linet" >&5 | 4119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -linet" >&5 |
4684 echo $ECHO_N "checking for socket in -linet... $ECHO_C" >&6; } | 4120 $as_echo_n "checking for socket in -linet... " >&6; } |
4685 if test "${ac_cv_lib_inet_socket+set}" = set; then | 4121 if test "${ac_cv_lib_inet_socket+set}" = set; then : |
4686 echo $ECHO_N "(cached) $ECHO_C" >&6 | 4122 $as_echo_n "(cached) " >&6 |
4687 else | 4123 else |
4688 ac_check_lib_save_LIBS=$LIBS | 4124 ac_check_lib_save_LIBS=$LIBS |
4689 LIBS="-linet $LIBS" | 4125 LIBS="-linet $LIBS" |
4690 cat >conftest.$ac_ext <<_ACEOF | 4126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4691 /* confdefs.h. */ | |
4692 _ACEOF | |
4693 cat confdefs.h >>conftest.$ac_ext | |
4694 cat >>conftest.$ac_ext <<_ACEOF | |
4695 /* end confdefs.h. */ | 4127 /* end confdefs.h. */ |
4696 | 4128 |
4697 /* Override any GCC internal prototype to avoid an error. | 4129 /* Override any GCC internal prototype to avoid an error. |
4698 Use char because int might match the return type of a GCC | 4130 Use char because int might match the return type of a GCC |
4699 builtin and then its argument prototype would still apply. */ | 4131 builtin and then its argument prototype would still apply. */ |
4707 return socket (); | 4139 return socket (); |
4708 ; | 4140 ; |
4709 return 0; | 4141 return 0; |
4710 } | 4142 } |
4711 _ACEOF | 4143 _ACEOF |
4712 rm -f conftest.$ac_objext conftest$ac_exeext | 4144 if ac_fn_c_try_link "$LINENO"; then : |
4713 if { (ac_try="$ac_link" | |
4714 case "(($ac_try" in | |
4715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4716 *) ac_try_echo=$ac_try;; | |
4717 esac | |
4718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
4719 (eval "$ac_link") 2>conftest.er1 | |
4720 ac_status=$? | |
4721 grep -v '^ *+' conftest.er1 >conftest.err | |
4722 rm -f conftest.er1 | |
4723 cat conftest.err >&5 | |
4724 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4725 (exit $ac_status); } && { | |
4726 test -z "$ac_c_werror_flag" || | |
4727 test ! -s conftest.err | |
4728 } && test -s conftest$ac_exeext && | |
4729 $as_test_x conftest$ac_exeext; then | |
4730 ac_cv_lib_inet_socket=yes | 4145 ac_cv_lib_inet_socket=yes |
4731 else | 4146 else |
4732 echo "$as_me: failed program was:" >&5 | 4147 ac_cv_lib_inet_socket=no |
4733 sed 's/^/| /' conftest.$ac_ext >&5 | 4148 fi |
4734 | 4149 rm -f core conftest.err conftest.$ac_objext \ |
4735 ac_cv_lib_inet_socket=no | 4150 conftest$ac_exeext conftest.$ac_ext |
4736 fi | |
4737 | |
4738 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
4739 conftest$ac_exeext conftest.$ac_ext | |
4740 LIBS=$ac_check_lib_save_LIBS | 4151 LIBS=$ac_check_lib_save_LIBS |
4741 fi | 4152 fi |
4742 { echo "$as_me:$LINENO: result: $ac_cv_lib_inet_socket" >&5 | 4153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inet_socket" >&5 |
4743 echo "${ECHO_T}$ac_cv_lib_inet_socket" >&6; } | 4154 $as_echo "$ac_cv_lib_inet_socket" >&6; } |
4744 if test $ac_cv_lib_inet_socket = yes; then | 4155 if test "x$ac_cv_lib_inet_socket" = x""yes; then : |
4745 libnsl=1; LIBS="$LIBS -linet -lnsl_s" | 4156 libnsl=1; LIBS="$LIBS -linet -lnsl_s" |
4746 fi | 4157 fi |
4747 | 4158 |
4748 fi | 4159 fi |
4749 | 4160 |
4750 if test -z "$libnsl"; then | 4161 if test -z "$libnsl"; then |
4751 { echo "$as_me:$LINENO: checking for gethostname in -lnsl" >&5 | 4162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostname in -lnsl" >&5 |
4752 echo $ECHO_N "checking for gethostname in -lnsl... $ECHO_C" >&6; } | 4163 $as_echo_n "checking for gethostname in -lnsl... " >&6; } |
4753 if test "${ac_cv_lib_nsl_gethostname+set}" = set; then | 4164 if test "${ac_cv_lib_nsl_gethostname+set}" = set; then : |
4754 echo $ECHO_N "(cached) $ECHO_C" >&6 | 4165 $as_echo_n "(cached) " >&6 |
4755 else | 4166 else |
4756 ac_check_lib_save_LIBS=$LIBS | 4167 ac_check_lib_save_LIBS=$LIBS |
4757 LIBS="-lnsl $LIBS" | 4168 LIBS="-lnsl $LIBS" |
4758 cat >conftest.$ac_ext <<_ACEOF | 4169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4759 /* confdefs.h. */ | |
4760 _ACEOF | |
4761 cat confdefs.h >>conftest.$ac_ext | |
4762 cat >>conftest.$ac_ext <<_ACEOF | |
4763 /* end confdefs.h. */ | 4170 /* end confdefs.h. */ |
4764 | 4171 |
4765 /* Override any GCC internal prototype to avoid an error. | 4172 /* Override any GCC internal prototype to avoid an error. |
4766 Use char because int might match the return type of a GCC | 4173 Use char because int might match the return type of a GCC |
4767 builtin and then its argument prototype would still apply. */ | 4174 builtin and then its argument prototype would still apply. */ |
4775 return gethostname (); | 4182 return gethostname (); |
4776 ; | 4183 ; |
4777 return 0; | 4184 return 0; |
4778 } | 4185 } |
4779 _ACEOF | 4186 _ACEOF |
4780 rm -f conftest.$ac_objext conftest$ac_exeext | 4187 if ac_fn_c_try_link "$LINENO"; then : |
4781 if { (ac_try="$ac_link" | |
4782 case "(($ac_try" in | |
4783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4784 *) ac_try_echo=$ac_try;; | |
4785 esac | |
4786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
4787 (eval "$ac_link") 2>conftest.er1 | |
4788 ac_status=$? | |
4789 grep -v '^ *+' conftest.er1 >conftest.err | |
4790 rm -f conftest.er1 | |
4791 cat conftest.err >&5 | |
4792 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4793 (exit $ac_status); } && { | |
4794 test -z "$ac_c_werror_flag" || | |
4795 test ! -s conftest.err | |
4796 } && test -s conftest$ac_exeext && | |
4797 $as_test_x conftest$ac_exeext; then | |
4798 ac_cv_lib_nsl_gethostname=yes | 4188 ac_cv_lib_nsl_gethostname=yes |
4799 else | 4189 else |
4800 echo "$as_me: failed program was:" >&5 | 4190 ac_cv_lib_nsl_gethostname=no |
4801 sed 's/^/| /' conftest.$ac_ext >&5 | 4191 fi |
4802 | 4192 rm -f core conftest.err conftest.$ac_objext \ |
4803 ac_cv_lib_nsl_gethostname=no | 4193 conftest$ac_exeext conftest.$ac_ext |
4804 fi | |
4805 | |
4806 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
4807 conftest$ac_exeext conftest.$ac_ext | |
4808 LIBS=$ac_check_lib_save_LIBS | 4194 LIBS=$ac_check_lib_save_LIBS |
4809 fi | 4195 fi |
4810 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostname" >&5 | 4196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostname" >&5 |
4811 echo "${ECHO_T}$ac_cv_lib_nsl_gethostname" >&6; } | 4197 $as_echo "$ac_cv_lib_nsl_gethostname" >&6; } |
4812 if test $ac_cv_lib_nsl_gethostname = yes; then | 4198 if test "x$ac_cv_lib_nsl_gethostname" = x""yes; then : |
4813 LIBS="$LIBS -lnsl" | 4199 LIBS="$LIBS -lnsl" |
4814 fi | 4200 fi |
4815 | 4201 |
4816 fi | 4202 fi |
4817 fi | 4203 fi |
4818 | 4204 |
4819 { echo "$as_me:$LINENO: checking for getpwnam in -lsun" >&5 | 4205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getpwnam in -lsun" >&5 |
4820 echo $ECHO_N "checking for getpwnam in -lsun... $ECHO_C" >&6; } | 4206 $as_echo_n "checking for getpwnam in -lsun... " >&6; } |
4821 if test "${ac_cv_lib_sun_getpwnam+set}" = set; then | 4207 if test "${ac_cv_lib_sun_getpwnam+set}" = set; then : |
4822 echo $ECHO_N "(cached) $ECHO_C" >&6 | 4208 $as_echo_n "(cached) " >&6 |
4823 else | 4209 else |
4824 ac_check_lib_save_LIBS=$LIBS | 4210 ac_check_lib_save_LIBS=$LIBS |
4825 LIBS="-lsun $LIBS" | 4211 LIBS="-lsun $LIBS" |
4826 cat >conftest.$ac_ext <<_ACEOF | 4212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4827 /* confdefs.h. */ | |
4828 _ACEOF | |
4829 cat confdefs.h >>conftest.$ac_ext | |
4830 cat >>conftest.$ac_ext <<_ACEOF | |
4831 /* end confdefs.h. */ | 4213 /* end confdefs.h. */ |
4832 | 4214 |
4833 /* Override any GCC internal prototype to avoid an error. | 4215 /* Override any GCC internal prototype to avoid an error. |
4834 Use char because int might match the return type of a GCC | 4216 Use char because int might match the return type of a GCC |
4835 builtin and then its argument prototype would still apply. */ | 4217 builtin and then its argument prototype would still apply. */ |
4843 return getpwnam (); | 4225 return getpwnam (); |
4844 ; | 4226 ; |
4845 return 0; | 4227 return 0; |
4846 } | 4228 } |
4847 _ACEOF | 4229 _ACEOF |
4848 rm -f conftest.$ac_objext conftest$ac_exeext | 4230 if ac_fn_c_try_link "$LINENO"; then : |
4849 if { (ac_try="$ac_link" | |
4850 case "(($ac_try" in | |
4851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4852 *) ac_try_echo=$ac_try;; | |
4853 esac | |
4854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
4855 (eval "$ac_link") 2>conftest.er1 | |
4856 ac_status=$? | |
4857 grep -v '^ *+' conftest.er1 >conftest.err | |
4858 rm -f conftest.er1 | |
4859 cat conftest.err >&5 | |
4860 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4861 (exit $ac_status); } && { | |
4862 test -z "$ac_c_werror_flag" || | |
4863 test ! -s conftest.err | |
4864 } && test -s conftest$ac_exeext && | |
4865 $as_test_x conftest$ac_exeext; then | |
4866 ac_cv_lib_sun_getpwnam=yes | 4231 ac_cv_lib_sun_getpwnam=yes |
4867 else | 4232 else |
4868 echo "$as_me: failed program was:" >&5 | 4233 ac_cv_lib_sun_getpwnam=no |
4869 sed 's/^/| /' conftest.$ac_ext >&5 | 4234 fi |
4870 | 4235 rm -f core conftest.err conftest.$ac_objext \ |
4871 ac_cv_lib_sun_getpwnam=no | 4236 conftest$ac_exeext conftest.$ac_ext |
4872 fi | |
4873 | |
4874 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
4875 conftest$ac_exeext conftest.$ac_ext | |
4876 LIBS=$ac_check_lib_save_LIBS | 4237 LIBS=$ac_check_lib_save_LIBS |
4877 fi | 4238 fi |
4878 { echo "$as_me:$LINENO: result: $ac_cv_lib_sun_getpwnam" >&5 | 4239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sun_getpwnam" >&5 |
4879 echo "${ECHO_T}$ac_cv_lib_sun_getpwnam" >&6; } | 4240 $as_echo "$ac_cv_lib_sun_getpwnam" >&6; } |
4880 if test $ac_cv_lib_sun_getpwnam = yes; then | 4241 if test "x$ac_cv_lib_sun_getpwnam" = x""yes; then : |
4881 LIBS="$LIBS -lsun" | 4242 LIBS="$LIBS -lsun" |
4882 fi | 4243 fi |
4883 | 4244 |
4884 { echo "$as_me:$LINENO: checking for inet_addr in -ldgc" >&5 | 4245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -ldgc" >&5 |
4885 echo $ECHO_N "checking for inet_addr in -ldgc... $ECHO_C" >&6; } | 4246 $as_echo_n "checking for inet_addr in -ldgc... " >&6; } |
4886 if test "${ac_cv_lib_dgc_inet_addr+set}" = set; then | 4247 if test "${ac_cv_lib_dgc_inet_addr+set}" = set; then : |
4887 echo $ECHO_N "(cached) $ECHO_C" >&6 | 4248 $as_echo_n "(cached) " >&6 |
4888 else | 4249 else |
4889 ac_check_lib_save_LIBS=$LIBS | 4250 ac_check_lib_save_LIBS=$LIBS |
4890 LIBS="-ldgc $LIBS" | 4251 LIBS="-ldgc $LIBS" |
4891 cat >conftest.$ac_ext <<_ACEOF | 4252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4892 /* confdefs.h. */ | |
4893 _ACEOF | |
4894 cat confdefs.h >>conftest.$ac_ext | |
4895 cat >>conftest.$ac_ext <<_ACEOF | |
4896 /* end confdefs.h. */ | 4253 /* end confdefs.h. */ |
4897 | 4254 |
4898 /* Override any GCC internal prototype to avoid an error. | 4255 /* Override any GCC internal prototype to avoid an error. |
4899 Use char because int might match the return type of a GCC | 4256 Use char because int might match the return type of a GCC |
4900 builtin and then its argument prototype would still apply. */ | 4257 builtin and then its argument prototype would still apply. */ |
4908 return inet_addr (); | 4265 return inet_addr (); |
4909 ; | 4266 ; |
4910 return 0; | 4267 return 0; |
4911 } | 4268 } |
4912 _ACEOF | 4269 _ACEOF |
4913 rm -f conftest.$ac_objext conftest$ac_exeext | 4270 if ac_fn_c_try_link "$LINENO"; then : |
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 ac_cv_lib_dgc_inet_addr=yes | 4271 ac_cv_lib_dgc_inet_addr=yes |
4932 else | 4272 else |
4933 echo "$as_me: failed program was:" >&5 | 4273 ac_cv_lib_dgc_inet_addr=no |
4934 sed 's/^/| /' conftest.$ac_ext >&5 | 4274 fi |
4935 | 4275 rm -f core conftest.err conftest.$ac_objext \ |
4936 ac_cv_lib_dgc_inet_addr=no | 4276 conftest$ac_exeext conftest.$ac_ext |
4937 fi | |
4938 | |
4939 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
4940 conftest$ac_exeext conftest.$ac_ext | |
4941 LIBS=$ac_check_lib_save_LIBS | 4277 LIBS=$ac_check_lib_save_LIBS |
4942 fi | 4278 fi |
4943 { echo "$as_me:$LINENO: result: $ac_cv_lib_dgc_inet_addr" >&5 | 4279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dgc_inet_addr" >&5 |
4944 echo "${ECHO_T}$ac_cv_lib_dgc_inet_addr" >&6; } | 4280 $as_echo "$ac_cv_lib_dgc_inet_addr" >&6; } |
4945 if test $ac_cv_lib_dgc_inet_addr = yes; then | 4281 if test "x$ac_cv_lib_dgc_inet_addr" = x""yes; then : |
4946 LIBS="$LIBS -ldgc" | 4282 LIBS="$LIBS -ldgc" |
4947 fi | 4283 fi |
4948 | 4284 |
4949 { echo "$as_me:$LINENO: checking for gethostbyname in -lresolv" >&5 | 4285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lresolv" >&5 |
4950 echo $ECHO_N "checking for gethostbyname in -lresolv... $ECHO_C" >&6; } | 4286 $as_echo_n "checking for gethostbyname in -lresolv... " >&6; } |
4951 if test "${ac_cv_lib_resolv_gethostbyname+set}" = set; then | 4287 if test "${ac_cv_lib_resolv_gethostbyname+set}" = set; then : |
4952 echo $ECHO_N "(cached) $ECHO_C" >&6 | 4288 $as_echo_n "(cached) " >&6 |
4953 else | 4289 else |
4954 ac_check_lib_save_LIBS=$LIBS | 4290 ac_check_lib_save_LIBS=$LIBS |
4955 LIBS="-lresolv $LIBS" | 4291 LIBS="-lresolv $LIBS" |
4956 cat >conftest.$ac_ext <<_ACEOF | 4292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4957 /* confdefs.h. */ | |
4958 _ACEOF | |
4959 cat confdefs.h >>conftest.$ac_ext | |
4960 cat >>conftest.$ac_ext <<_ACEOF | |
4961 /* end confdefs.h. */ | 4293 /* end confdefs.h. */ |
4962 | 4294 |
4963 /* Override any GCC internal prototype to avoid an error. | 4295 /* Override any GCC internal prototype to avoid an error. |
4964 Use char because int might match the return type of a GCC | 4296 Use char because int might match the return type of a GCC |
4965 builtin and then its argument prototype would still apply. */ | 4297 builtin and then its argument prototype would still apply. */ |
4973 return gethostbyname (); | 4305 return gethostbyname (); |
4974 ; | 4306 ; |
4975 return 0; | 4307 return 0; |
4976 } | 4308 } |
4977 _ACEOF | 4309 _ACEOF |
4978 rm -f conftest.$ac_objext conftest$ac_exeext | 4310 if ac_fn_c_try_link "$LINENO"; then : |
4979 if { (ac_try="$ac_link" | |
4980 case "(($ac_try" in | |
4981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4982 *) ac_try_echo=$ac_try;; | |
4983 esac | |
4984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
4985 (eval "$ac_link") 2>conftest.er1 | |
4986 ac_status=$? | |
4987 grep -v '^ *+' conftest.er1 >conftest.err | |
4988 rm -f conftest.er1 | |
4989 cat conftest.err >&5 | |
4990 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4991 (exit $ac_status); } && { | |
4992 test -z "$ac_c_werror_flag" || | |
4993 test ! -s conftest.err | |
4994 } && test -s conftest$ac_exeext && | |
4995 $as_test_x conftest$ac_exeext; then | |
4996 ac_cv_lib_resolv_gethostbyname=yes | 4311 ac_cv_lib_resolv_gethostbyname=yes |
4997 else | 4312 else |
4998 echo "$as_me: failed program was:" >&5 | 4313 ac_cv_lib_resolv_gethostbyname=no |
4999 sed 's/^/| /' conftest.$ac_ext >&5 | 4314 fi |
5000 | 4315 rm -f core conftest.err conftest.$ac_objext \ |
5001 ac_cv_lib_resolv_gethostbyname=no | 4316 conftest$ac_exeext conftest.$ac_ext |
5002 fi | |
5003 | |
5004 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
5005 conftest$ac_exeext conftest.$ac_ext | |
5006 LIBS=$ac_check_lib_save_LIBS | 4317 LIBS=$ac_check_lib_save_LIBS |
5007 fi | 4318 fi |
5008 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_gethostbyname" >&5 | 4319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_gethostbyname" >&5 |
5009 echo "${ECHO_T}$ac_cv_lib_resolv_gethostbyname" >&6; } | 4320 $as_echo "$ac_cv_lib_resolv_gethostbyname" >&6; } |
5010 if test $ac_cv_lib_resolv_gethostbyname = yes; then | 4321 if test "x$ac_cv_lib_resolv_gethostbyname" = x""yes; then : |
5011 LIBS="$LIBS -lresolv" | 4322 LIBS="$LIBS -lresolv" |
5012 fi | 4323 fi |
5013 | 4324 |
5014 | 4325 |
4326 SONAME="" | |
5015 OPSYSTEM=`uname -s` | 4327 OPSYSTEM=`uname -s` |
5016 case "OPSYSTEM" in | 4328 case "$OPSYSTEM" in |
5017 MINGW32*) | 4329 MINGW32*) |
5018 cat >>confdefs.h <<\_ACEOF | 4330 $as_echo "#define DW_USE_GTK 1" >>confdefs.h |
5019 #define DW_USE_GTK 1 | 4331 |
5020 _ACEOF | 4332 ;; |
5021 | 4333 *Linux*) |
4334 SONAME="-Wl,-soname,lib$TARGET.so.$DW_MAJOR_VERSION" | |
5022 ;; | 4335 ;; |
5023 esac | 4336 esac |
5024 | 4337 |
5025 if test $OPSYSTEM = "Darwin"; then | 4338 if test $OPSYSTEM = "Darwin"; then |
5026 ARCH="-arch ppc -arch ppc64 -arch x86_64 -arch i386" | 4339 case "$with_arch" in |
5027 SHAREDFLAG="-dynamiclib -flat_namespace -undefined suppress $ARCH" | 4340 no) |
4341 ARCH="" | |
4342 ;; | |
4343 all) | |
4344 ARCH="-arch ppc -arch ppc64 -arch x86_64 -arch i386" | |
4345 ;; | |
4346 32bit) | |
4347 ARCH="-arch ppc -arch i386" | |
4348 ;; | |
4349 64bit) | |
4350 ARCH="-arch ppc84 -arch x86_64" | |
4351 ;; | |
4352 *) | |
4353 ARCH="-arch $with_arch" | |
4354 ;; | |
4355 esac | |
4356 SHAREDFLAG="-dynamiclib -flat_namespace -undefined suppress" | |
5028 SOSUFFIX=dylib | 4357 SOSUFFIX=dylib |
5029 if test $with_gtk = yes; then | 4358 if test $with_gtk = yes; then |
5030 DW_SRC=gtk | 4359 DW_SRC=gtk |
5031 LIBS="$LIBS -framework Gtk -framework Glib -framework Cairo" | 4360 LIBS="$LIBS -framework Gtk -framework Glib -framework Cairo" |
5032 GTK_CFLAGS="-I/Library/Frameworks/Gtk.framework/Headers -I/Library/Frameworks/Glib.framework/Headers -I/Library/Frameworks/Cairo.framework/Headers $ARCH" | 4361 GTK_CFLAGS="-I/Library/Frameworks/Gtk.framework/Headers -I/Library/Frameworks/Glib.framework/Headers -I/Library/Frameworks/Cairo.framework/Headers" |
5033 else | 4362 else |
5034 DW_SRC=mac | 4363 DW_SRC=mac |
5035 DW_DEFINE=__MAC__ | 4364 DW_DEFINE=__MAC__ |
5036 LIBS="$LIBS -framework Carbon" | 4365 LIBS="$LIBS -framework Carbon" |
5037 fi | 4366 fi |
5038 else | 4367 else |
5039 # Extract the first word of "pkg-config", so it can be a program name with args. | 4368 # Extract the first word of "pkg-config", so it can be a program name with args. |
5040 set dummy pkg-config; ac_word=$2 | 4369 set dummy pkg-config; ac_word=$2 |
5041 { echo "$as_me:$LINENO: checking for $ac_word" >&5 | 4370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
5042 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 4371 $as_echo_n "checking for $ac_word... " >&6; } |
5043 if test "${ac_cv_prog_PKG_CFG+set}" = set; then | 4372 if test "${ac_cv_prog_PKG_CFG+set}" = set; then : |
5044 echo $ECHO_N "(cached) $ECHO_C" >&6 | 4373 $as_echo_n "(cached) " >&6 |
5045 else | 4374 else |
5046 if test -n "$PKG_CFG"; then | 4375 if test -n "$PKG_CFG"; then |
5047 ac_cv_prog_PKG_CFG="$PKG_CFG" # Let the user override the test. | 4376 ac_cv_prog_PKG_CFG="$PKG_CFG" # Let the user override the test. |
5048 else | 4377 else |
5049 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 4378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
5050 for as_dir in $PATH | 4379 for as_dir in $PATH |
5051 do | 4380 do |
5052 IFS=$as_save_IFS | 4381 IFS=$as_save_IFS |
5053 test -z "$as_dir" && as_dir=. | 4382 test -z "$as_dir" && as_dir=. |
5054 for ac_exec_ext in '' $ac_executable_extensions; do | 4383 for ac_exec_ext in '' $ac_executable_extensions; do |
5055 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 4384 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
5056 ac_cv_prog_PKG_CFG="pkg-config" | 4385 ac_cv_prog_PKG_CFG="pkg-config" |
5057 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 4386 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5058 break 2 | 4387 break 2 |
5059 fi | 4388 fi |
5060 done | 4389 done |
5061 done | 4390 done |
5062 IFS=$as_save_IFS | 4391 IFS=$as_save_IFS |
5063 | 4392 |
5064 fi | 4393 fi |
5065 fi | 4394 fi |
5066 PKG_CFG=$ac_cv_prog_PKG_CFG | 4395 PKG_CFG=$ac_cv_prog_PKG_CFG |
5067 if test -n "$PKG_CFG"; then | 4396 if test -n "$PKG_CFG"; then |
5068 { echo "$as_me:$LINENO: result: $PKG_CFG" >&5 | 4397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CFG" >&5 |
5069 echo "${ECHO_T}$PKG_CFG" >&6; } | 4398 $as_echo "$PKG_CFG" >&6; } |
5070 else | 4399 else |
5071 { echo "$as_me:$LINENO: result: no" >&5 | 4400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
5072 echo "${ECHO_T}no" >&6; } | 4401 $as_echo "no" >&6; } |
5073 fi | 4402 fi |
5074 | 4403 |
5075 | 4404 |
5076 if test x"$PKG_CFG" != x; then | 4405 if test x"$PKG_CFG" != x; then |
5077 GTK_LIBS=`$PKG_CFG --silence-errors --libs gtk+-2.0 gthread-2.0` | 4406 GTK_LIBS=`$PKG_CFG --silence-errors --libs gtk+-2.0 gthread-2.0` |
5078 MOZEMBED_LIBS=`$PKG_CFG --silence-errors --libs firefox-gtkmozembed` | 4407 if test $with_gtkmozembed = yes; then |
5079 MOZEMBED_CFLAGS=`$PKG_CFG --silence-errors --cflags firefox-gtkmozembed` | 4408 MOZEMBED_LIBS=`$PKG_CFG --silence-errors --libs firefox-gtkmozembed` |
5080 RPATH=`$PKG_CFG --silence-errors --libs-only-L firefox-gtkmozembed | cut -b 3-` | 4409 MOZEMBED_CFLAGS=`$PKG_CFG --silence-errors --cflags firefox-gtkmozembed` |
5081 if test x"$MOZEMBED_LIBS" = x; then | 4410 RPATH=`$PKG_CFG --silence-errors --libs-only-L firefox-gtkmozembed | cut -b 3-` |
5082 MOZEMBED_LIBS=`$PKG_CFG --silence-errors --libs mozilla-gtkmozembed` | 4411 if test x"$MOZEMBED_LIBS" = x; then |
5083 MOZEMBED_CFLAGS=`$PKG_CFG --silence-errors --cflags mozilla-gtkmozembed` | 4412 MOZEMBED_LIBS=`$PKG_CFG --silence-errors --libs mozilla-gtkmozembed` |
5084 RPATH=`$PKG_CFG --silence-errors --libs-only-L mozilla-gtkmozembed | cut -b 3-` | 4413 MOZEMBED_CFLAGS=`$PKG_CFG --silence-errors --cflags mozilla-gtkmozembed` |
4414 RPATH=`$PKG_CFG --silence-errors --libs-only-L mozilla-gtkmozembed | cut -b 3-` | |
4415 fi | |
4416 elif test $with_gtkhtml = yes; then | |
4417 MOZEMBED_LIBS=`$PKG_CFG --silence-errors --libs libgtkhtml-2.0` | |
4418 MOZEMBED_CFLAGS=`$PKG_CFG --silence-errors --cflags libgtkhtml-2.0` | |
4419 RPATH=`$PKG_CFG --silence-errors --libs-only-L libgtkhtml-2.0 | cut -b 3-` | |
4420 else | |
4421 WEBKIT_LIB="webkit-1.1" | |
4422 MOZEMBED_CFLAGS=`$PKG_CFG --silence-errors --cflags $WEBKIT_LIB` | |
4423 RPATH=`$PKG_CFG --silence-errors --libs-only-L $WEBKIT_LIB | cut -b 3-` | |
4424 if test x"$MOZEMBED_CFLAGS" = x; then | |
4425 WEBKIT_LIB="webkit-1.0" | |
4426 MOZEMBED_CFLAGS=`$PKG_CFG --silence-errors --cflags $WEBKIT_LIB` | |
4427 RPATH=`$PKG_CFG --silence-errors --libs-only-L $WEBKIT_LIB | cut -b 3-` | |
4428 if test x"$MOZEMBED_CFLAGS" = x; then | |
4429 WEBKIT_LIB="WebKitGtk" | |
4430 # MOZEMBED_LIBS=`$PKG_CFG --silence-errors --libs $WEBKIT_LIB` | |
4431 MOZEMBED_CFLAGS=`$PKG_CFG --silence-errors --cflags $WEBKIT_LIB` | |
4432 RPATH=`$PKG_CFG --silence-errors --libs-only-L $WEBKIT_LIB | cut -b 3-` | |
4433 else | |
4434 $as_echo "#define USE_WEBKIT10 1" >>confdefs.h | |
4435 | |
4436 fi | |
4437 else | |
4438 $as_echo "#define USE_WEBKIT11 1" >>confdefs.h | |
4439 | |
4440 fi | |
4441 cat >>confdefs.h <<_ACEOF | |
4442 #define WEBKIT_LIB "$WEBKIT_LIB" | |
4443 _ACEOF | |
4444 | |
5085 fi | 4445 fi |
5086 if test x"$RPATH" != x; then | 4446 if test x"$RPATH" != x; then |
5087 RPATH="-Wl,-R$RPATH" | 4447 RPATH="-Wl,-R$RPATH" |
5088 fi | 4448 fi |
5089 fi | 4449 fi |
5090 | 4450 |
5091 if test x"$GTK_LIBS" = x; then | 4451 if test x"$GTK_LIBS" = x; then |
5092 | 4452 |
5093 # Check whether --with-glib-prefix was given. | 4453 # Check whether --with-glib-prefix was given. |
5094 if test "${with_glib_prefix+set}" = set; then | 4454 if test "${with_glib_prefix+set}" = set; then : |
5095 withval=$with_glib_prefix; glib_config_prefix="$withval" | 4455 withval=$with_glib_prefix; glib_config_prefix="$withval" |
5096 else | 4456 else |
5097 glib_config_prefix="" | 4457 glib_config_prefix="" |
5098 fi | 4458 fi |
5099 | 4459 |
5100 | 4460 |
5101 # Check whether --with-glib-exec-prefix was given. | 4461 # Check whether --with-glib-exec-prefix was given. |
5102 if test "${with_glib_exec_prefix+set}" = set; then | 4462 if test "${with_glib_exec_prefix+set}" = set; then : |
5103 withval=$with_glib_exec_prefix; glib_config_exec_prefix="$withval" | 4463 withval=$with_glib_exec_prefix; glib_config_exec_prefix="$withval" |
5104 else | 4464 else |
5105 glib_config_exec_prefix="" | 4465 glib_config_exec_prefix="" |
5106 fi | 4466 fi |
5107 | 4467 |
5108 # Check whether --enable-glibtest was given. | 4468 # Check whether --enable-glibtest was given. |
5109 if test "${enable_glibtest+set}" = set; then | 4469 if test "${enable_glibtest+set}" = set; then : |
5110 enableval=$enable_glibtest; | 4470 enableval=$enable_glibtest; |
5111 else | 4471 else |
5112 enable_glibtest=yes | 4472 enable_glibtest=yes |
5113 fi | 4473 fi |
5114 | 4474 |
5138 esac | 4498 esac |
5139 done | 4499 done |
5140 | 4500 |
5141 # Extract the first word of "glib-config", so it can be a program name with args. | 4501 # Extract the first word of "glib-config", so it can be a program name with args. |
5142 set dummy glib-config; ac_word=$2 | 4502 set dummy glib-config; ac_word=$2 |
5143 { echo "$as_me:$LINENO: checking for $ac_word" >&5 | 4503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
5144 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 4504 $as_echo_n "checking for $ac_word... " >&6; } |
5145 if test "${ac_cv_path_GLIB_CONFIG+set}" = set; then | 4505 if test "${ac_cv_path_GLIB_CONFIG+set}" = set; then : |
5146 echo $ECHO_N "(cached) $ECHO_C" >&6 | 4506 $as_echo_n "(cached) " >&6 |
5147 else | 4507 else |
5148 case $GLIB_CONFIG in | 4508 case $GLIB_CONFIG in |
5149 [\\/]* | ?:[\\/]*) | 4509 [\\/]* | ?:[\\/]*) |
5150 ac_cv_path_GLIB_CONFIG="$GLIB_CONFIG" # Let the user override the test with a path. | 4510 ac_cv_path_GLIB_CONFIG="$GLIB_CONFIG" # Let the user override the test with a path. |
5151 ;; | 4511 ;; |
5153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 4513 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
5154 for as_dir in $PATH | 4514 for as_dir in $PATH |
5155 do | 4515 do |
5156 IFS=$as_save_IFS | 4516 IFS=$as_save_IFS |
5157 test -z "$as_dir" && as_dir=. | 4517 test -z "$as_dir" && as_dir=. |
5158 for ac_exec_ext in '' $ac_executable_extensions; do | 4518 for ac_exec_ext in '' $ac_executable_extensions; do |
5159 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 4519 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
5160 ac_cv_path_GLIB_CONFIG="$as_dir/$ac_word$ac_exec_ext" | 4520 ac_cv_path_GLIB_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
5161 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 4521 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5162 break 2 | 4522 break 2 |
5163 fi | 4523 fi |
5164 done | 4524 done |
5165 done | 4525 done |
5166 IFS=$as_save_IFS | 4526 IFS=$as_save_IFS |
5167 | 4527 |
5168 test -z "$ac_cv_path_GLIB_CONFIG" && ac_cv_path_GLIB_CONFIG="no" | 4528 test -z "$ac_cv_path_GLIB_CONFIG" && ac_cv_path_GLIB_CONFIG="no" |
5169 ;; | 4529 ;; |
5170 esac | 4530 esac |
5171 fi | 4531 fi |
5172 GLIB_CONFIG=$ac_cv_path_GLIB_CONFIG | 4532 GLIB_CONFIG=$ac_cv_path_GLIB_CONFIG |
5173 if test -n "$GLIB_CONFIG"; then | 4533 if test -n "$GLIB_CONFIG"; then |
5174 { echo "$as_me:$LINENO: result: $GLIB_CONFIG" >&5 | 4534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_CONFIG" >&5 |
5175 echo "${ECHO_T}$GLIB_CONFIG" >&6; } | 4535 $as_echo "$GLIB_CONFIG" >&6; } |
5176 else | 4536 else |
5177 { echo "$as_me:$LINENO: result: no" >&5 | 4537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
5178 echo "${ECHO_T}no" >&6; } | 4538 $as_echo "no" >&6; } |
5179 fi | 4539 fi |
5180 | 4540 |
5181 | 4541 |
5182 min_glib_version=1.2.0 | 4542 min_glib_version=1.2.0 |
5183 { echo "$as_me:$LINENO: checking for GLIB - version >= $min_glib_version" >&5 | 4543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB - version >= $min_glib_version" >&5 |
5184 echo $ECHO_N "checking for GLIB - version >= $min_glib_version... $ECHO_C" >&6; } | 4544 $as_echo_n "checking for GLIB - version >= $min_glib_version... " >&6; } |
5185 no_glib="" | 4545 no_glib="" |
5186 if test "$GLIB_CONFIG" = "no" ; then | 4546 if test "$GLIB_CONFIG" = "no" ; then |
5187 no_glib=yes | 4547 no_glib=yes |
5188 else | 4548 else |
5189 GLIB_CFLAGS=`$GLIB_CONFIG $glib_config_args --cflags` | 4549 GLIB_CFLAGS=`$GLIB_CONFIG $glib_config_args --cflags` |
5198 ac_save_CFLAGS="$CFLAGS" | 4558 ac_save_CFLAGS="$CFLAGS" |
5199 ac_save_LIBS="$LIBS" | 4559 ac_save_LIBS="$LIBS" |
5200 CFLAGS="$CFLAGS $GLIB_CFLAGS" | 4560 CFLAGS="$CFLAGS $GLIB_CFLAGS" |
5201 LIBS="$GLIB_LIBS $LIBS" | 4561 LIBS="$GLIB_LIBS $LIBS" |
5202 rm -f conf.glibtest | 4562 rm -f conf.glibtest |
5203 if test "$cross_compiling" = yes; then | 4563 if test "$cross_compiling" = yes; then : |
5204 echo $ac_n "cross compiling; assumed OK... $ac_c" | 4564 echo $ac_n "cross compiling; assumed OK... $ac_c" |
5205 else | 4565 else |
5206 cat >conftest.$ac_ext <<_ACEOF | 4566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5207 /* confdefs.h. */ | |
5208 _ACEOF | |
5209 cat confdefs.h >>conftest.$ac_ext | |
5210 cat >>conftest.$ac_ext <<_ACEOF | |
5211 /* end confdefs.h. */ | 4567 /* end confdefs.h. */ |
5212 | 4568 |
5213 #include <glib.h> | 4569 #include <glib.h> |
5214 #include <stdio.h> | 4570 #include <stdio.h> |
5215 #include <stdlib.h> | 4571 #include <stdlib.h> |
5281 } | 4637 } |
5282 return 1; | 4638 return 1; |
5283 } | 4639 } |
5284 | 4640 |
5285 _ACEOF | 4641 _ACEOF |
5286 rm -f conftest$ac_exeext | 4642 if ac_fn_c_try_run "$LINENO"; then : |
5287 if { (ac_try="$ac_link" | 4643 |
5288 case "(($ac_try" in | 4644 else |
5289 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 4645 no_glib=yes |
5290 *) ac_try_echo=$ac_try;; | 4646 fi |
5291 esac | 4647 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
5292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 4648 conftest.$ac_objext conftest.beam conftest.$ac_ext |
5293 (eval "$ac_link") 2>&5 | 4649 fi |
5294 ac_status=$? | |
5295 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
5296 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | |
5297 { (case "(($ac_try" in | |
5298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
5299 *) ac_try_echo=$ac_try;; | |
5300 esac | |
5301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
5302 (eval "$ac_try") 2>&5 | |
5303 ac_status=$? | |
5304 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
5305 (exit $ac_status); }; }; then | |
5306 : | |
5307 else | |
5308 echo "$as_me: program exited with status $ac_status" >&5 | |
5309 echo "$as_me: failed program was:" >&5 | |
5310 sed 's/^/| /' conftest.$ac_ext >&5 | |
5311 | |
5312 ( exit $ac_status ) | |
5313 no_glib=yes | |
5314 fi | |
5315 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | |
5316 fi | |
5317 | |
5318 | 4650 |
5319 CFLAGS="$ac_save_CFLAGS" | 4651 CFLAGS="$ac_save_CFLAGS" |
5320 LIBS="$ac_save_LIBS" | 4652 LIBS="$ac_save_LIBS" |
5321 fi | 4653 fi |
5322 fi | 4654 fi |
5323 if test "x$no_glib" = x ; then | 4655 if test "x$no_glib" = x ; then |
5324 { echo "$as_me:$LINENO: result: yes" >&5 | 4656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
5325 echo "${ECHO_T}yes" >&6; } | 4657 $as_echo "yes" >&6; } |
5326 : | 4658 : |
5327 else | 4659 else |
5328 { echo "$as_me:$LINENO: result: no" >&5 | 4660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
5329 echo "${ECHO_T}no" >&6; } | 4661 $as_echo "no" >&6; } |
5330 if test "$GLIB_CONFIG" = "no" ; then | 4662 if test "$GLIB_CONFIG" = "no" ; then |
5331 echo "*** The glib-config script installed by GLIB could not be found" | 4663 echo "*** The glib-config script installed by GLIB could not be found" |
5332 echo "*** If GLIB was installed in PREFIX, make sure PREFIX/bin is in" | 4664 echo "*** If GLIB was installed in PREFIX, make sure PREFIX/bin is in" |
5333 echo "*** your path, or set the GLIB_CONFIG environment variable to the" | 4665 echo "*** your path, or set the GLIB_CONFIG environment variable to the" |
5334 echo "*** full path to glib-config." | 4666 echo "*** full path to glib-config." |
5337 : | 4669 : |
5338 else | 4670 else |
5339 echo "*** Could not run GLIB test program, checking why..." | 4671 echo "*** Could not run GLIB test program, checking why..." |
5340 CFLAGS="$CFLAGS $GLIB_CFLAGS" | 4672 CFLAGS="$CFLAGS $GLIB_CFLAGS" |
5341 LIBS="$LIBS $GLIB_LIBS" | 4673 LIBS="$LIBS $GLIB_LIBS" |
5342 cat >conftest.$ac_ext <<_ACEOF | 4674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5343 /* confdefs.h. */ | |
5344 _ACEOF | |
5345 cat confdefs.h >>conftest.$ac_ext | |
5346 cat >>conftest.$ac_ext <<_ACEOF | |
5347 /* end confdefs.h. */ | 4675 /* end confdefs.h. */ |
5348 | 4676 |
5349 #include <glib.h> | 4677 #include <glib.h> |
5350 #include <stdio.h> | 4678 #include <stdio.h> |
5351 | 4679 |
5355 return ((glib_major_version) || (glib_minor_version) || (glib_micro_version)); | 4683 return ((glib_major_version) || (glib_minor_version) || (glib_micro_version)); |
5356 ; | 4684 ; |
5357 return 0; | 4685 return 0; |
5358 } | 4686 } |
5359 _ACEOF | 4687 _ACEOF |
5360 rm -f conftest.$ac_objext conftest$ac_exeext | 4688 if ac_fn_c_try_link "$LINENO"; then : |
5361 if { (ac_try="$ac_link" | |
5362 case "(($ac_try" in | |
5363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
5364 *) ac_try_echo=$ac_try;; | |
5365 esac | |
5366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
5367 (eval "$ac_link") 2>conftest.er1 | |
5368 ac_status=$? | |
5369 grep -v '^ *+' conftest.er1 >conftest.err | |
5370 rm -f conftest.er1 | |
5371 cat conftest.err >&5 | |
5372 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
5373 (exit $ac_status); } && { | |
5374 test -z "$ac_c_werror_flag" || | |
5375 test ! -s conftest.err | |
5376 } && test -s conftest$ac_exeext && | |
5377 $as_test_x conftest$ac_exeext; then | |
5378 echo "*** The test program compiled, but did not run. This usually means" | 4689 echo "*** The test program compiled, but did not run. This usually means" |
5379 echo "*** that the run-time linker is not finding GLIB or finding the wrong" | 4690 echo "*** that the run-time linker is not finding GLIB or finding the wrong" |
5380 echo "*** version of GLIB. If it is not finding GLIB, you'll need to set your" | 4691 echo "*** version of GLIB. If it is not finding GLIB, you'll need to set your" |
5381 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" | 4692 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" |
5382 echo "*** to the installed location Also, make sure you have run ldconfig if that" | 4693 echo "*** to the installed location Also, make sure you have run ldconfig if that" |
5383 echo "*** is required on your system" | 4694 echo "*** is required on your system" |
5384 echo "***" | 4695 echo "***" |
5385 echo "*** If you have an old version installed, it is best to remove it, although" | 4696 echo "*** If you have an old version installed, it is best to remove it, although" |
5386 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" | 4697 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" |
5387 else | 4698 else |
5388 echo "$as_me: failed program was:" >&5 | 4699 echo "*** The test program failed to compile or link. See the file config.log for the" |
5389 sed 's/^/| /' conftest.$ac_ext >&5 | |
5390 | |
5391 echo "*** The test program failed to compile or link. See the file config.log for the" | |
5392 echo "*** exact error that occured. This usually means GLIB was incorrectly installed" | 4700 echo "*** exact error that occured. This usually means GLIB was incorrectly installed" |
5393 echo "*** or that you have moved GLIB since it was installed. In the latter case, you" | 4701 echo "*** or that you have moved GLIB since it was installed. In the latter case, you" |
5394 echo "*** may want to edit the glib-config script: $GLIB_CONFIG" | 4702 echo "*** may want to edit the glib-config script: $GLIB_CONFIG" |
5395 fi | 4703 fi |
5396 | 4704 rm -f core conftest.err conftest.$ac_objext \ |
5397 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 4705 conftest$ac_exeext conftest.$ac_ext |
5398 conftest$ac_exeext conftest.$ac_ext | |
5399 CFLAGS="$ac_save_CFLAGS" | 4706 CFLAGS="$ac_save_CFLAGS" |
5400 LIBS="$ac_save_LIBS" | 4707 LIBS="$ac_save_LIBS" |
5401 fi | 4708 fi |
5402 fi | 4709 fi |
5403 GLIB_CFLAGS="" | 4710 GLIB_CFLAGS="" |
5404 GLIB_LIBS="" | 4711 GLIB_LIBS="" |
5405 { { echo "$as_me:$LINENO: error: { { echo \"$as_me:$LINENO: error: Cannot find GLIB: Is glib-config in path?\" >&5 | 4712 as_fn_error "as_fn_error \"Cannot find GLIB: Is glib-config in path?\" \"$LINENO\" 5" "$LINENO" 5 |
5406 echo \"$as_me: error: Cannot find GLIB: Is glib-config in path?\" >&2;} | |
5407 { (exit 1); exit 1; }; }" >&5 | |
5408 echo "$as_me: error: { { echo \"$as_me:$LINENO: error: Cannot find GLIB: Is glib-config in path?\" >&5 | |
5409 echo \"$as_me: error: Cannot find GLIB: Is glib-config in path?\" >&2;} | |
5410 { (exit 1); exit 1; }; }" >&2;} | |
5411 { (exit 1); exit 1; }; } | |
5412 fi | 4713 fi |
5413 | 4714 |
5414 | 4715 |
5415 rm -f conf.glibtest | 4716 rm -f conf.glibtest |
5416 | 4717 |
5417 | 4718 |
5418 # Check whether --with-gtk-prefix was given. | 4719 # Check whether --with-gtk-prefix was given. |
5419 if test "${with_gtk_prefix+set}" = set; then | 4720 if test "${with_gtk_prefix+set}" = set; then : |
5420 withval=$with_gtk_prefix; gtk_config_prefix="$withval" | 4721 withval=$with_gtk_prefix; gtk_config_prefix="$withval" |
5421 else | 4722 else |
5422 gtk_config_prefix="" | 4723 gtk_config_prefix="" |
5423 fi | 4724 fi |
5424 | 4725 |
5425 | 4726 |
5426 # Check whether --with-gtk-exec-prefix was given. | 4727 # Check whether --with-gtk-exec-prefix was given. |
5427 if test "${with_gtk_exec_prefix+set}" = set; then | 4728 if test "${with_gtk_exec_prefix+set}" = set; then : |
5428 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval" | 4729 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval" |
5429 else | 4730 else |
5430 gtk_config_exec_prefix="" | 4731 gtk_config_exec_prefix="" |
5431 fi | 4732 fi |
5432 | 4733 |
5433 # Check whether --enable-gtktest was given. | 4734 # Check whether --enable-gtktest was given. |
5434 if test "${enable_gtktest+set}" = set; then | 4735 if test "${enable_gtktest+set}" = set; then : |
5435 enableval=$enable_gtktest; | 4736 enableval=$enable_gtktest; |
5436 else | 4737 else |
5437 enable_gtktest=yes | 4738 enable_gtktest=yes |
5438 fi | 4739 fi |
5439 | 4740 |
5460 fi | 4761 fi |
5461 fi | 4762 fi |
5462 | 4763 |
5463 # Extract the first word of "gtk-config", so it can be a program name with args. | 4764 # Extract the first word of "gtk-config", so it can be a program name with args. |
5464 set dummy gtk-config; ac_word=$2 | 4765 set dummy gtk-config; ac_word=$2 |
5465 { echo "$as_me:$LINENO: checking for $ac_word" >&5 | 4766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
5466 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 4767 $as_echo_n "checking for $ac_word... " >&6; } |
5467 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then | 4768 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then : |
5468 echo $ECHO_N "(cached) $ECHO_C" >&6 | 4769 $as_echo_n "(cached) " >&6 |
5469 else | 4770 else |
5470 case $GTK_CONFIG in | 4771 case $GTK_CONFIG in |
5471 [\\/]* | ?:[\\/]*) | 4772 [\\/]* | ?:[\\/]*) |
5472 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path. | 4773 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path. |
5473 ;; | 4774 ;; |
5475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 4776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
5476 for as_dir in $PATH | 4777 for as_dir in $PATH |
5477 do | 4778 do |
5478 IFS=$as_save_IFS | 4779 IFS=$as_save_IFS |
5479 test -z "$as_dir" && as_dir=. | 4780 test -z "$as_dir" && as_dir=. |
5480 for ac_exec_ext in '' $ac_executable_extensions; do | 4781 for ac_exec_ext in '' $ac_executable_extensions; do |
5481 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 4782 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
5482 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext" | 4783 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
5483 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 4784 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5484 break 2 | 4785 break 2 |
5485 fi | 4786 fi |
5486 done | 4787 done |
5487 done | 4788 done |
5488 IFS=$as_save_IFS | 4789 IFS=$as_save_IFS |
5489 | 4790 |
5490 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no" | 4791 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no" |
5491 ;; | 4792 ;; |
5492 esac | 4793 esac |
5493 fi | 4794 fi |
5494 GTK_CONFIG=$ac_cv_path_GTK_CONFIG | 4795 GTK_CONFIG=$ac_cv_path_GTK_CONFIG |
5495 if test -n "$GTK_CONFIG"; then | 4796 if test -n "$GTK_CONFIG"; then |
5496 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5 | 4797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CONFIG" >&5 |
5497 echo "${ECHO_T}$GTK_CONFIG" >&6; } | 4798 $as_echo "$GTK_CONFIG" >&6; } |
5498 else | 4799 else |
5499 { echo "$as_me:$LINENO: result: no" >&5 | 4800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
5500 echo "${ECHO_T}no" >&6; } | 4801 $as_echo "no" >&6; } |
5501 fi | 4802 fi |
5502 | 4803 |
5503 | 4804 |
5504 min_gtk_version=1.2.0 | 4805 min_gtk_version=1.2.0 |
5505 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5 | 4806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK - version >= $min_gtk_version" >&5 |
5506 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; } | 4807 $as_echo_n "checking for GTK - version >= $min_gtk_version... " >&6; } |
5507 no_gtk="" | 4808 no_gtk="" |
5508 if test "$GTK_CONFIG" = "no" ; then | 4809 if test "$GTK_CONFIG" = "no" ; then |
5509 no_gtk=yes | 4810 no_gtk=yes |
5510 else | 4811 else |
5511 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags` | 4812 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags` |
5520 ac_save_CFLAGS="$CFLAGS" | 4821 ac_save_CFLAGS="$CFLAGS" |
5521 ac_save_LIBS="$LIBS" | 4822 ac_save_LIBS="$LIBS" |
5522 CFLAGS="$CFLAGS $GTK_CFLAGS" | 4823 CFLAGS="$CFLAGS $GTK_CFLAGS" |
5523 LIBS="$GTK_LIBS $LIBS" | 4824 LIBS="$GTK_LIBS $LIBS" |
5524 rm -f conf.gtktest | 4825 rm -f conf.gtktest |
5525 if test "$cross_compiling" = yes; then | 4826 if test "$cross_compiling" = yes; then : |
5526 echo $ac_n "cross compiling; assumed OK... $ac_c" | 4827 echo $ac_n "cross compiling; assumed OK... $ac_c" |
5527 else | 4828 else |
5528 cat >conftest.$ac_ext <<_ACEOF | 4829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5529 /* confdefs.h. */ | |
5530 _ACEOF | |
5531 cat confdefs.h >>conftest.$ac_ext | |
5532 cat >>conftest.$ac_ext <<_ACEOF | |
5533 /* end confdefs.h. */ | 4830 /* end confdefs.h. */ |
5534 | 4831 |
5535 #include <gtk/gtk.h> | 4832 #include <gtk/gtk.h> |
5536 #include <stdio.h> | 4833 #include <stdio.h> |
5537 #include <stdlib.h> | 4834 #include <stdlib.h> |
5605 } | 4902 } |
5606 return 1; | 4903 return 1; |
5607 } | 4904 } |
5608 | 4905 |
5609 _ACEOF | 4906 _ACEOF |
5610 rm -f conftest$ac_exeext | 4907 if ac_fn_c_try_run "$LINENO"; then : |
5611 if { (ac_try="$ac_link" | 4908 |
5612 case "(($ac_try" in | 4909 else |
5613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 4910 no_gtk=yes |
5614 *) ac_try_echo=$ac_try;; | 4911 fi |
5615 esac | 4912 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
5616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 4913 conftest.$ac_objext conftest.beam conftest.$ac_ext |
5617 (eval "$ac_link") 2>&5 | 4914 fi |
5618 ac_status=$? | |
5619 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
5620 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | |
5621 { (case "(($ac_try" in | |
5622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
5623 *) ac_try_echo=$ac_try;; | |
5624 esac | |
5625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
5626 (eval "$ac_try") 2>&5 | |
5627 ac_status=$? | |
5628 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
5629 (exit $ac_status); }; }; then | |
5630 : | |
5631 else | |
5632 echo "$as_me: program exited with status $ac_status" >&5 | |
5633 echo "$as_me: failed program was:" >&5 | |
5634 sed 's/^/| /' conftest.$ac_ext >&5 | |
5635 | |
5636 ( exit $ac_status ) | |
5637 no_gtk=yes | |
5638 fi | |
5639 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | |
5640 fi | |
5641 | |
5642 | 4915 |
5643 CFLAGS="$ac_save_CFLAGS" | 4916 CFLAGS="$ac_save_CFLAGS" |
5644 LIBS="$ac_save_LIBS" | 4917 LIBS="$ac_save_LIBS" |
5645 fi | 4918 fi |
5646 fi | 4919 fi |
5647 if test "x$no_gtk" = x ; then | 4920 if test "x$no_gtk" = x ; then |
5648 { echo "$as_me:$LINENO: result: yes" >&5 | 4921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
5649 echo "${ECHO_T}yes" >&6; } | 4922 $as_echo "yes" >&6; } |
5650 : | 4923 : |
5651 else | 4924 else |
5652 { echo "$as_me:$LINENO: result: no" >&5 | 4925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
5653 echo "${ECHO_T}no" >&6; } | 4926 $as_echo "no" >&6; } |
5654 if test "$GTK_CONFIG" = "no" ; then | 4927 if test "$GTK_CONFIG" = "no" ; then |
5655 echo "*** The gtk-config script installed by GTK could not be found" | 4928 echo "*** The gtk-config script installed by GTK could not be found" |
5656 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in" | 4929 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in" |
5657 echo "*** your path, or set the GTK_CONFIG environment variable to the" | 4930 echo "*** your path, or set the GTK_CONFIG environment variable to the" |
5658 echo "*** full path to gtk-config." | 4931 echo "*** full path to gtk-config." |
5661 : | 4934 : |
5662 else | 4935 else |
5663 echo "*** Could not run GTK test program, checking why..." | 4936 echo "*** Could not run GTK test program, checking why..." |
5664 CFLAGS="$CFLAGS $GTK_CFLAGS" | 4937 CFLAGS="$CFLAGS $GTK_CFLAGS" |
5665 LIBS="$LIBS $GTK_LIBS" | 4938 LIBS="$LIBS $GTK_LIBS" |
5666 cat >conftest.$ac_ext <<_ACEOF | 4939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5667 /* confdefs.h. */ | |
5668 _ACEOF | |
5669 cat confdefs.h >>conftest.$ac_ext | |
5670 cat >>conftest.$ac_ext <<_ACEOF | |
5671 /* end confdefs.h. */ | 4940 /* end confdefs.h. */ |
5672 | 4941 |
5673 #include <gtk/gtk.h> | 4942 #include <gtk/gtk.h> |
5674 #include <stdio.h> | 4943 #include <stdio.h> |
5675 | 4944 |
5679 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version)); | 4948 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version)); |
5680 ; | 4949 ; |
5681 return 0; | 4950 return 0; |
5682 } | 4951 } |
5683 _ACEOF | 4952 _ACEOF |
5684 rm -f conftest.$ac_objext conftest$ac_exeext | 4953 if ac_fn_c_try_link "$LINENO"; then : |
5685 if { (ac_try="$ac_link" | |
5686 case "(($ac_try" in | |
5687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
5688 *) ac_try_echo=$ac_try;; | |
5689 esac | |
5690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
5691 (eval "$ac_link") 2>conftest.er1 | |
5692 ac_status=$? | |
5693 grep -v '^ *+' conftest.er1 >conftest.err | |
5694 rm -f conftest.er1 | |
5695 cat conftest.err >&5 | |
5696 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
5697 (exit $ac_status); } && { | |
5698 test -z "$ac_c_werror_flag" || | |
5699 test ! -s conftest.err | |
5700 } && test -s conftest$ac_exeext && | |
5701 $as_test_x conftest$ac_exeext; then | |
5702 echo "*** The test program compiled, but did not run. This usually means" | 4954 echo "*** The test program compiled, but did not run. This usually means" |
5703 echo "*** that the run-time linker is not finding GTK or finding the wrong" | 4955 echo "*** that the run-time linker is not finding GTK or finding the wrong" |
5704 echo "*** version of GTK. If it is not finding GTK, you'll need to set your" | 4956 echo "*** version of GTK. If it is not finding GTK, you'll need to set your" |
5705 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" | 4957 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" |
5706 echo "*** to the installed location Also, make sure you have run ldconfig if that" | 4958 echo "*** to the installed location Also, make sure you have run ldconfig if that" |
5707 echo "*** is required on your system" | 4959 echo "*** is required on your system" |
5708 echo "***" | 4960 echo "***" |
5709 echo "*** If you have an old version installed, it is best to remove it, although" | 4961 echo "*** If you have an old version installed, it is best to remove it, although" |
5710 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" | 4962 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" |
5711 else | 4963 else |
5712 echo "$as_me: failed program was:" >&5 | 4964 echo "*** The test program failed to compile or link. See the file config.log for the" |
5713 sed 's/^/| /' conftest.$ac_ext >&5 | |
5714 | |
5715 echo "*** The test program failed to compile or link. See the file config.log for the" | |
5716 echo "*** exact error that occured. This usually means GTK was incorrectly installed" | 4965 echo "*** exact error that occured. This usually means GTK was incorrectly installed" |
5717 echo "*** or that you have moved GTK since it was installed. In the latter case, you" | 4966 echo "*** or that you have moved GTK since it was installed. In the latter case, you" |
5718 echo "*** may want to edit the gtk-config script: $GTK_CONFIG" | 4967 echo "*** may want to edit the gtk-config script: $GTK_CONFIG" |
5719 fi | 4968 fi |
5720 | 4969 rm -f core conftest.err conftest.$ac_objext \ |
5721 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 4970 conftest$ac_exeext conftest.$ac_ext |
5722 conftest$ac_exeext conftest.$ac_ext | |
5723 CFLAGS="$ac_save_CFLAGS" | 4971 CFLAGS="$ac_save_CFLAGS" |
5724 LIBS="$ac_save_LIBS" | 4972 LIBS="$ac_save_LIBS" |
5725 fi | 4973 fi |
5726 fi | 4974 fi |
5727 GTK_CFLAGS="" | 4975 GTK_CFLAGS="" |
5728 GTK_LIBS="" | 4976 GTK_LIBS="" |
5729 { { echo "$as_me:$LINENO: error: { { echo \"$as_me:$LINENO: error: Cannot find GTK: Is gtk-config in path?\" >&5 | 4977 as_fn_error "as_fn_error \"Cannot find GTK: Is gtk-config in path?\" \"$LINENO\" 5" "$LINENO" 5 |
5730 echo \"$as_me: error: Cannot find GTK: Is gtk-config in path?\" >&2;} | |
5731 { (exit 1); exit 1; }; }" >&5 | |
5732 echo "$as_me: error: { { echo \"$as_me:$LINENO: error: Cannot find GTK: Is gtk-config in path?\" >&5 | |
5733 echo \"$as_me: error: Cannot find GTK: Is gtk-config in path?\" >&2;} | |
5734 { (exit 1); exit 1; }; }" >&2;} | |
5735 { (exit 1); exit 1; }; } | |
5736 fi | 4978 fi |
5737 | 4979 |
5738 | 4980 |
5739 rm -f conf.gtktest | 4981 rm -f conf.gtktest |
5740 | 4982 |
5741 | 4983 |
5742 # Check whether --with-imlib-prefix was given. | 4984 # Check whether --with-imlib-prefix was given. |
5743 if test "${with_imlib_prefix+set}" = set; then | 4985 if test "${with_imlib_prefix+set}" = set; then : |
5744 withval=$with_imlib_prefix; imlib_prefix="$withval" | 4986 withval=$with_imlib_prefix; imlib_prefix="$withval" |
5745 else | 4987 else |
5746 imlib_prefix="" | 4988 imlib_prefix="" |
5747 fi | 4989 fi |
5748 | 4990 |
5749 | 4991 |
5750 # Check whether --with-imlib-exec-prefix was given. | 4992 # Check whether --with-imlib-exec-prefix was given. |
5751 if test "${with_imlib_exec_prefix+set}" = set; then | 4993 if test "${with_imlib_exec_prefix+set}" = set; then : |
5752 withval=$with_imlib_exec_prefix; imlib_exec_prefix="$withval" | 4994 withval=$with_imlib_exec_prefix; imlib_exec_prefix="$withval" |
5753 else | 4995 else |
5754 imlib_exec_prefix="" | 4996 imlib_exec_prefix="" |
5755 fi | 4997 fi |
5756 | 4998 |
5757 # Check whether --enable-imlibtest was given. | 4999 # Check whether --enable-imlibtest was given. |
5758 if test "${enable_imlibtest+set}" = set; then | 5000 if test "${enable_imlibtest+set}" = set; then : |
5759 enableval=$enable_imlibtest; | 5001 enableval=$enable_imlibtest; |
5760 else | 5002 else |
5761 enable_imlibtest=yes | 5003 enable_imlibtest=yes |
5762 fi | 5004 fi |
5763 | 5005 |
5775 fi | 5017 fi |
5776 fi | 5018 fi |
5777 | 5019 |
5778 # Extract the first word of "imlib-config", so it can be a program name with args. | 5020 # Extract the first word of "imlib-config", so it can be a program name with args. |
5779 set dummy imlib-config; ac_word=$2 | 5021 set dummy imlib-config; ac_word=$2 |
5780 { echo "$as_me:$LINENO: checking for $ac_word" >&5 | 5022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
5781 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 5023 $as_echo_n "checking for $ac_word... " >&6; } |
5782 if test "${ac_cv_path_IMLIB_CONFIG+set}" = set; then | 5024 if test "${ac_cv_path_IMLIB_CONFIG+set}" = set; then : |
5783 echo $ECHO_N "(cached) $ECHO_C" >&6 | 5025 $as_echo_n "(cached) " >&6 |
5784 else | 5026 else |
5785 case $IMLIB_CONFIG in | 5027 case $IMLIB_CONFIG in |
5786 [\\/]* | ?:[\\/]*) | 5028 [\\/]* | ?:[\\/]*) |
5787 ac_cv_path_IMLIB_CONFIG="$IMLIB_CONFIG" # Let the user override the test with a path. | 5029 ac_cv_path_IMLIB_CONFIG="$IMLIB_CONFIG" # Let the user override the test with a path. |
5788 ;; | 5030 ;; |
5790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 5032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
5791 for as_dir in $PATH | 5033 for as_dir in $PATH |
5792 do | 5034 do |
5793 IFS=$as_save_IFS | 5035 IFS=$as_save_IFS |
5794 test -z "$as_dir" && as_dir=. | 5036 test -z "$as_dir" && as_dir=. |
5795 for ac_exec_ext in '' $ac_executable_extensions; do | 5037 for ac_exec_ext in '' $ac_executable_extensions; do |
5796 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 5038 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
5797 ac_cv_path_IMLIB_CONFIG="$as_dir/$ac_word$ac_exec_ext" | 5039 ac_cv_path_IMLIB_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
5798 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 5040 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5799 break 2 | 5041 break 2 |
5800 fi | 5042 fi |
5801 done | 5043 done |
5802 done | 5044 done |
5803 IFS=$as_save_IFS | 5045 IFS=$as_save_IFS |
5804 | 5046 |
5805 test -z "$ac_cv_path_IMLIB_CONFIG" && ac_cv_path_IMLIB_CONFIG="no" | 5047 test -z "$ac_cv_path_IMLIB_CONFIG" && ac_cv_path_IMLIB_CONFIG="no" |
5806 ;; | 5048 ;; |
5807 esac | 5049 esac |
5808 fi | 5050 fi |
5809 IMLIB_CONFIG=$ac_cv_path_IMLIB_CONFIG | 5051 IMLIB_CONFIG=$ac_cv_path_IMLIB_CONFIG |
5810 if test -n "$IMLIB_CONFIG"; then | 5052 if test -n "$IMLIB_CONFIG"; then |
5811 { echo "$as_me:$LINENO: result: $IMLIB_CONFIG" >&5 | 5053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IMLIB_CONFIG" >&5 |
5812 echo "${ECHO_T}$IMLIB_CONFIG" >&6; } | 5054 $as_echo "$IMLIB_CONFIG" >&6; } |
5813 else | 5055 else |
5814 { echo "$as_me:$LINENO: result: no" >&5 | 5056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
5815 echo "${ECHO_T}no" >&6; } | 5057 $as_echo "no" >&6; } |
5816 fi | 5058 fi |
5817 | 5059 |
5818 | 5060 |
5819 min_imlib_version=1.9.4 | 5061 min_imlib_version=1.9.4 |
5820 { echo "$as_me:$LINENO: checking for IMLIB - version >= $min_imlib_version" >&5 | 5062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IMLIB - version >= $min_imlib_version" >&5 |
5821 echo $ECHO_N "checking for IMLIB - version >= $min_imlib_version... $ECHO_C" >&6; } | 5063 $as_echo_n "checking for IMLIB - version >= $min_imlib_version... " >&6; } |
5822 no_imlib="" | 5064 no_imlib="" |
5823 if test "$IMLIB_CONFIG" = "no" ; then | 5065 if test "$IMLIB_CONFIG" = "no" ; then |
5824 no_imlib=yes | 5066 no_imlib=yes |
5825 else | 5067 else |
5826 GDK_IMLIB_CFLAGS=`$IMLIB_CONFIG $imlibconf_args --cflags-gdk` | 5068 GDK_IMLIB_CFLAGS=`$IMLIB_CONFIG $imlibconf_args --cflags-gdk` |
5836 ac_save_CFLAGS="$CFLAGS" | 5078 ac_save_CFLAGS="$CFLAGS" |
5837 ac_save_LIBS="$LIBS" | 5079 ac_save_LIBS="$LIBS" |
5838 CFLAGS="$CFLAGS $GDK_IMLIB_CFLAGS" | 5080 CFLAGS="$CFLAGS $GDK_IMLIB_CFLAGS" |
5839 LIBS="$LIBS $GDK_IMLIB_LIBS" | 5081 LIBS="$LIBS $GDK_IMLIB_LIBS" |
5840 rm -f conf.imlibtest | 5082 rm -f conf.imlibtest |
5841 if test "$cross_compiling" = yes; then | 5083 if test "$cross_compiling" = yes; then : |
5842 echo $ac_n "cross compiling; assumed OK... $ac_c" | 5084 echo $ac_n "cross compiling; assumed OK... $ac_c" |
5843 else | 5085 else |
5844 cat >conftest.$ac_ext <<_ACEOF | 5086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5845 /* confdefs.h. */ | |
5846 _ACEOF | |
5847 cat confdefs.h >>conftest.$ac_ext | |
5848 cat >>conftest.$ac_ext <<_ACEOF | |
5849 /* end confdefs.h. */ | 5087 /* end confdefs.h. */ |
5850 | 5088 |
5851 #include <stdio.h> | 5089 #include <stdio.h> |
5852 #include <stdlib.h> | 5090 #include <stdlib.h> |
5853 #include <gdk_imlib.h> | 5091 #include <gdk_imlib.h> |
5885 } | 5123 } |
5886 } | 5124 } |
5887 | 5125 |
5888 | 5126 |
5889 _ACEOF | 5127 _ACEOF |
5890 rm -f conftest$ac_exeext | 5128 if ac_fn_c_try_run "$LINENO"; then : |
5891 if { (ac_try="$ac_link" | 5129 |
5892 case "(($ac_try" in | 5130 else |
5893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 5131 no_imlib=yes |
5894 *) ac_try_echo=$ac_try;; | 5132 fi |
5895 esac | 5133 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
5896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 5134 conftest.$ac_objext conftest.beam conftest.$ac_ext |
5897 (eval "$ac_link") 2>&5 | 5135 fi |
5898 ac_status=$? | |
5899 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
5900 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | |
5901 { (case "(($ac_try" in | |
5902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
5903 *) ac_try_echo=$ac_try;; | |
5904 esac | |
5905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
5906 (eval "$ac_try") 2>&5 | |
5907 ac_status=$? | |
5908 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
5909 (exit $ac_status); }; }; then | |
5910 : | |
5911 else | |
5912 echo "$as_me: program exited with status $ac_status" >&5 | |
5913 echo "$as_me: failed program was:" >&5 | |
5914 sed 's/^/| /' conftest.$ac_ext >&5 | |
5915 | |
5916 ( exit $ac_status ) | |
5917 no_imlib=yes | |
5918 fi | |
5919 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | |
5920 fi | |
5921 | |
5922 | 5136 |
5923 CFLAGS="$ac_save_CFLAGS" | 5137 CFLAGS="$ac_save_CFLAGS" |
5924 LIBS="$ac_save_LIBS" | 5138 LIBS="$ac_save_LIBS" |
5925 fi | 5139 fi |
5926 fi | 5140 fi |
5927 if test "x$no_imlib" = x ; then | 5141 if test "x$no_imlib" = x ; then |
5928 { echo "$as_me:$LINENO: result: yes" >&5 | 5142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
5929 echo "${ECHO_T}yes" >&6; } | 5143 $as_echo "yes" >&6; } |
5930 cat >>confdefs.h <<\_ACEOF | 5144 $as_echo "#define USE_IMLIB 1" >>confdefs.h |
5931 #define USE_IMLIB 1 | |
5932 _ACEOF | |
5933 | 5145 |
5934 else | 5146 else |
5935 { echo "$as_me:$LINENO: result: no" >&5 | 5147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
5936 echo "${ECHO_T}no" >&6; } | 5148 $as_echo "no" >&6; } |
5937 if test "$IMLIB_CONFIG" = "no" ; then | 5149 if test "$IMLIB_CONFIG" = "no" ; then |
5938 echo "*** The imlib-config script installed by IMLIB could not be found" | 5150 echo "*** The imlib-config script installed by IMLIB could not be found" |
5939 echo "*** If IMLIB was installed in PREFIX, make sure PREFIX/bin is in" | 5151 echo "*** If IMLIB was installed in PREFIX, make sure PREFIX/bin is in" |
5940 echo "*** your path, or set the IMLIB_CONFIG environment variable to the" | 5152 echo "*** your path, or set the IMLIB_CONFIG environment variable to the" |
5941 echo "*** full path to imlib-config." | 5153 echo "*** full path to imlib-config." |
5944 : | 5156 : |
5945 else | 5157 else |
5946 echo "*** Could not run IMLIB test program, checking why..." | 5158 echo "*** Could not run IMLIB test program, checking why..." |
5947 CFLAGS="$CFLAGS $GDK_IMLIB_CFLAGS" | 5159 CFLAGS="$CFLAGS $GDK_IMLIB_CFLAGS" |
5948 LIBS="$LIBS $GDK_IMLIB_LIBS" | 5160 LIBS="$LIBS $GDK_IMLIB_LIBS" |
5949 cat >conftest.$ac_ext <<_ACEOF | 5161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5950 /* confdefs.h. */ | |
5951 _ACEOF | |
5952 cat confdefs.h >>conftest.$ac_ext | |
5953 cat >>conftest.$ac_ext <<_ACEOF | |
5954 /* end confdefs.h. */ | 5162 /* end confdefs.h. */ |
5955 | 5163 |
5956 #include <stdio.h> | 5164 #include <stdio.h> |
5957 #include <gdk_imlib.h> | 5165 #include <gdk_imlib.h> |
5958 | 5166 |
5962 return 0; | 5170 return 0; |
5963 ; | 5171 ; |
5964 return 0; | 5172 return 0; |
5965 } | 5173 } |
5966 _ACEOF | 5174 _ACEOF |
5967 rm -f conftest.$ac_objext conftest$ac_exeext | 5175 if ac_fn_c_try_link "$LINENO"; then : |
5968 if { (ac_try="$ac_link" | |
5969 case "(($ac_try" in | |
5970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
5971 *) ac_try_echo=$ac_try;; | |
5972 esac | |
5973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
5974 (eval "$ac_link") 2>conftest.er1 | |
5975 ac_status=$? | |
5976 grep -v '^ *+' conftest.er1 >conftest.err | |
5977 rm -f conftest.er1 | |
5978 cat conftest.err >&5 | |
5979 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
5980 (exit $ac_status); } && { | |
5981 test -z "$ac_c_werror_flag" || | |
5982 test ! -s conftest.err | |
5983 } && test -s conftest$ac_exeext && | |
5984 $as_test_x conftest$ac_exeext; then | |
5985 echo "*** The test program compiled, but did not run. This usually means" | 5176 echo "*** The test program compiled, but did not run. This usually means" |
5986 echo "*** that the run-time linker is not finding IMLIB or finding the wrong" | 5177 echo "*** that the run-time linker is not finding IMLIB or finding the wrong" |
5987 echo "*** version of IMLIB. If it is not finding IMLIB, you'll need to set your" | 5178 echo "*** version of IMLIB. If it is not finding IMLIB, you'll need to set your" |
5988 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" | 5179 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" |
5989 echo "*** to the installed location Also, make sure you have run ldconfig if that" | 5180 echo "*** to the installed location Also, make sure you have run ldconfig if that" |
5990 echo "*** is required on your system" | 5181 echo "*** is required on your system" |
5991 echo "***" | 5182 echo "***" |
5992 echo "*** If you have an old version installed, it is best to remove it, although" | 5183 echo "*** If you have an old version installed, it is best to remove it, although" |
5993 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" | 5184 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" |
5994 else | 5185 else |
5995 echo "$as_me: failed program was:" >&5 | 5186 echo "*** The test program failed to compile or link. See the file config.log for the" |
5996 sed 's/^/| /' conftest.$ac_ext >&5 | |
5997 | |
5998 echo "*** The test program failed to compile or link. See the file config.log for the" | |
5999 echo "*** exact error that occured. This usually means IMLIB was incorrectly installed" | 5187 echo "*** exact error that occured. This usually means IMLIB was incorrectly installed" |
6000 echo "*** or that you have moved IMLIB since it was installed. In the latter case, you" | 5188 echo "*** or that you have moved IMLIB since it was installed. In the latter case, you" |
6001 echo "*** may want to edit the imlib-config script: $IMLIB_CONFIG" | 5189 echo "*** may want to edit the imlib-config script: $IMLIB_CONFIG" |
6002 fi | 5190 fi |
6003 | 5191 rm -f core conftest.err conftest.$ac_objext \ |
6004 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 5192 conftest$ac_exeext conftest.$ac_ext |
6005 conftest$ac_exeext conftest.$ac_ext | |
6006 CFLAGS="$ac_save_CFLAGS" | 5193 CFLAGS="$ac_save_CFLAGS" |
6007 LIBS="$ac_save_LIBS" | 5194 LIBS="$ac_save_LIBS" |
6008 fi | 5195 fi |
6009 fi | 5196 fi |
6010 GDK_IMLIB_CFLAGS="" | 5197 GDK_IMLIB_CFLAGS="" |
6011 GDK_IMLIB_LIBS="" | 5198 GDK_IMLIB_LIBS="" |
6012 { { echo "$as_me:$LINENO: error: IMLIB not found or too old. Dynamic Windows cannot build without it." >&5 | 5199 as_fn_error "IMLIB not found or too old. Dynamic Windows cannot build without it." "$LINENO" 5 |
6013 echo "$as_me: error: IMLIB not found or too old. Dynamic Windows cannot build without it." >&2;} | |
6014 { (exit 1); exit 1; }; } | |
6015 fi | 5200 fi |
6016 | 5201 |
6017 | 5202 |
6018 rm -f conf.gdkimlibtest | 5203 rm -f conf.gdkimlibtest |
6019 | 5204 |
6021 GTK_CFLAGS=`$PKG_CFG --cflags gtk+-2.0 gthread-2.0` | 5206 GTK_CFLAGS=`$PKG_CFG --cflags gtk+-2.0 gthread-2.0` |
6022 GTK_LIBS=`$PKG_CFG --libs gtk+-2.0 gthread-2.0` | 5207 GTK_LIBS=`$PKG_CFG --libs gtk+-2.0 gthread-2.0` |
6023 fi | 5208 fi |
6024 fi | 5209 fi |
6025 | 5210 |
6026 if test "${ac_cv_header_pthread_h+set}" = set; then | 5211 ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default" |
6027 { echo "$as_me:$LINENO: checking for pthread.h" >&5 | 5212 if test "x$ac_cv_header_pthread_h" = x""yes; then : |
6028 echo $ECHO_N "checking for pthread.h... $ECHO_C" >&6; } | 5213 |
6029 if test "${ac_cv_header_pthread_h+set}" = set; then | 5214 else |
6030 echo $ECHO_N "(cached) $ECHO_C" >&6 | 5215 as_fn_error "pthread header not found. Dynamic Windows cannot build without it." "$LINENO" 5 |
6031 fi | 5216 fi |
6032 { echo "$as_me:$LINENO: result: $ac_cv_header_pthread_h" >&5 | 5217 |
6033 echo "${ECHO_T}$ac_cv_header_pthread_h" >&6; } | 5218 |
6034 else | 5219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_attr_init in -lpthread" >&5 |
6035 # Is the header compilable? | 5220 $as_echo_n "checking for pthread_attr_init in -lpthread... " >&6; } |
6036 { echo "$as_me:$LINENO: checking pthread.h usability" >&5 | 5221 if test "${ac_cv_lib_pthread_pthread_attr_init+set}" = set; then : |
6037 echo $ECHO_N "checking pthread.h usability... $ECHO_C" >&6; } | 5222 $as_echo_n "(cached) " >&6 |
6038 cat >conftest.$ac_ext <<_ACEOF | |
6039 /* confdefs.h. */ | |
6040 _ACEOF | |
6041 cat confdefs.h >>conftest.$ac_ext | |
6042 cat >>conftest.$ac_ext <<_ACEOF | |
6043 /* end confdefs.h. */ | |
6044 $ac_includes_default | |
6045 #include <pthread.h> | |
6046 _ACEOF | |
6047 rm -f conftest.$ac_objext | |
6048 if { (ac_try="$ac_compile" | |
6049 case "(($ac_try" in | |
6050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
6051 *) ac_try_echo=$ac_try;; | |
6052 esac | |
6053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
6054 (eval "$ac_compile") 2>conftest.er1 | |
6055 ac_status=$? | |
6056 grep -v '^ *+' conftest.er1 >conftest.err | |
6057 rm -f conftest.er1 | |
6058 cat conftest.err >&5 | |
6059 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
6060 (exit $ac_status); } && { | |
6061 test -z "$ac_c_werror_flag" || | |
6062 test ! -s conftest.err | |
6063 } && test -s conftest.$ac_objext; then | |
6064 ac_header_compiler=yes | |
6065 else | |
6066 echo "$as_me: failed program was:" >&5 | |
6067 sed 's/^/| /' conftest.$ac_ext >&5 | |
6068 | |
6069 ac_header_compiler=no | |
6070 fi | |
6071 | |
6072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
6073 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |
6074 echo "${ECHO_T}$ac_header_compiler" >&6; } | |
6075 | |
6076 # Is the header present? | |
6077 { echo "$as_me:$LINENO: checking pthread.h presence" >&5 | |
6078 echo $ECHO_N "checking pthread.h presence... $ECHO_C" >&6; } | |
6079 cat >conftest.$ac_ext <<_ACEOF | |
6080 /* confdefs.h. */ | |
6081 _ACEOF | |
6082 cat confdefs.h >>conftest.$ac_ext | |
6083 cat >>conftest.$ac_ext <<_ACEOF | |
6084 /* end confdefs.h. */ | |
6085 #include <pthread.h> | |
6086 _ACEOF | |
6087 if { (ac_try="$ac_cpp conftest.$ac_ext" | |
6088 case "(($ac_try" in | |
6089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
6090 *) ac_try_echo=$ac_try;; | |
6091 esac | |
6092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
6093 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
6094 ac_status=$? | |
6095 grep -v '^ *+' conftest.er1 >conftest.err | |
6096 rm -f conftest.er1 | |
6097 cat conftest.err >&5 | |
6098 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
6099 (exit $ac_status); } >/dev/null && { | |
6100 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
6101 test ! -s conftest.err | |
6102 }; then | |
6103 ac_header_preproc=yes | |
6104 else | |
6105 echo "$as_me: failed program was:" >&5 | |
6106 sed 's/^/| /' conftest.$ac_ext >&5 | |
6107 | |
6108 ac_header_preproc=no | |
6109 fi | |
6110 | |
6111 rm -f conftest.err conftest.$ac_ext | |
6112 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |
6113 echo "${ECHO_T}$ac_header_preproc" >&6; } | |
6114 | |
6115 # So? What about this header? | |
6116 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | |
6117 yes:no: ) | |
6118 { echo "$as_me:$LINENO: WARNING: pthread.h: accepted by the compiler, rejected by the preprocessor!" >&5 | |
6119 echo "$as_me: WARNING: pthread.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | |
6120 { echo "$as_me:$LINENO: WARNING: pthread.h: proceeding with the compiler's result" >&5 | |
6121 echo "$as_me: WARNING: pthread.h: proceeding with the compiler's result" >&2;} | |
6122 ac_header_preproc=yes | |
6123 ;; | |
6124 no:yes:* ) | |
6125 { echo "$as_me:$LINENO: WARNING: pthread.h: present but cannot be compiled" >&5 | |
6126 echo "$as_me: WARNING: pthread.h: present but cannot be compiled" >&2;} | |
6127 { echo "$as_me:$LINENO: WARNING: pthread.h: check for missing prerequisite headers?" >&5 | |
6128 echo "$as_me: WARNING: pthread.h: check for missing prerequisite headers?" >&2;} | |
6129 { echo "$as_me:$LINENO: WARNING: pthread.h: see the Autoconf documentation" >&5 | |
6130 echo "$as_me: WARNING: pthread.h: see the Autoconf documentation" >&2;} | |
6131 { echo "$as_me:$LINENO: WARNING: pthread.h: section \"Present But Cannot Be Compiled\"" >&5 | |
6132 echo "$as_me: WARNING: pthread.h: section \"Present But Cannot Be Compiled\"" >&2;} | |
6133 { echo "$as_me:$LINENO: WARNING: pthread.h: proceeding with the preprocessor's result" >&5 | |
6134 echo "$as_me: WARNING: pthread.h: proceeding with the preprocessor's result" >&2;} | |
6135 { echo "$as_me:$LINENO: WARNING: pthread.h: in the future, the compiler will take precedence" >&5 | |
6136 echo "$as_me: WARNING: pthread.h: in the future, the compiler will take precedence" >&2;} | |
6137 | |
6138 ;; | |
6139 esac | |
6140 { echo "$as_me:$LINENO: checking for pthread.h" >&5 | |
6141 echo $ECHO_N "checking for pthread.h... $ECHO_C" >&6; } | |
6142 if test "${ac_cv_header_pthread_h+set}" = set; then | |
6143 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
6144 else | |
6145 ac_cv_header_pthread_h=$ac_header_preproc | |
6146 fi | |
6147 { echo "$as_me:$LINENO: result: $ac_cv_header_pthread_h" >&5 | |
6148 echo "${ECHO_T}$ac_cv_header_pthread_h" >&6; } | |
6149 | |
6150 fi | |
6151 if test $ac_cv_header_pthread_h = yes; then | |
6152 : | |
6153 else | |
6154 { { echo "$as_me:$LINENO: error: pthread header not found. Dynamic Windows cannot build without it." >&5 | |
6155 echo "$as_me: error: pthread header not found. Dynamic Windows cannot build without it." >&2;} | |
6156 { (exit 1); exit 1; }; } | |
6157 fi | |
6158 | |
6159 | |
6160 { echo "$as_me:$LINENO: checking for pthread_attr_init in -lpthread" >&5 | |
6161 echo $ECHO_N "checking for pthread_attr_init in -lpthread... $ECHO_C" >&6; } | |
6162 if test "${ac_cv_lib_pthread_pthread_attr_init+set}" = set; then | |
6163 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
6164 else | 5223 else |
6165 ac_check_lib_save_LIBS=$LIBS | 5224 ac_check_lib_save_LIBS=$LIBS |
6166 LIBS="-lpthread $LIBS" | 5225 LIBS="-lpthread $LIBS" |
6167 cat >conftest.$ac_ext <<_ACEOF | 5226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6168 /* confdefs.h. */ | |
6169 _ACEOF | |
6170 cat confdefs.h >>conftest.$ac_ext | |
6171 cat >>conftest.$ac_ext <<_ACEOF | |
6172 /* end confdefs.h. */ | 5227 /* end confdefs.h. */ |
6173 | 5228 |
6174 /* Override any GCC internal prototype to avoid an error. | 5229 /* Override any GCC internal prototype to avoid an error. |
6175 Use char because int might match the return type of a GCC | 5230 Use char because int might match the return type of a GCC |
6176 builtin and then its argument prototype would still apply. */ | 5231 builtin and then its argument prototype would still apply. */ |
6184 return pthread_attr_init (); | 5239 return pthread_attr_init (); |
6185 ; | 5240 ; |
6186 return 0; | 5241 return 0; |
6187 } | 5242 } |
6188 _ACEOF | 5243 _ACEOF |
6189 rm -f conftest.$ac_objext conftest$ac_exeext | 5244 if ac_fn_c_try_link "$LINENO"; then : |
6190 if { (ac_try="$ac_link" | |
6191 case "(($ac_try" in | |
6192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
6193 *) ac_try_echo=$ac_try;; | |
6194 esac | |
6195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
6196 (eval "$ac_link") 2>conftest.er1 | |
6197 ac_status=$? | |
6198 grep -v '^ *+' conftest.er1 >conftest.err | |
6199 rm -f conftest.er1 | |
6200 cat conftest.err >&5 | |
6201 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
6202 (exit $ac_status); } && { | |
6203 test -z "$ac_c_werror_flag" || | |
6204 test ! -s conftest.err | |
6205 } && test -s conftest$ac_exeext && | |
6206 $as_test_x conftest$ac_exeext; then | |
6207 ac_cv_lib_pthread_pthread_attr_init=yes | 5245 ac_cv_lib_pthread_pthread_attr_init=yes |
6208 else | 5246 else |
6209 echo "$as_me: failed program was:" >&5 | 5247 ac_cv_lib_pthread_pthread_attr_init=no |
6210 sed 's/^/| /' conftest.$ac_ext >&5 | 5248 fi |
6211 | 5249 rm -f core conftest.err conftest.$ac_objext \ |
6212 ac_cv_lib_pthread_pthread_attr_init=no | 5250 conftest$ac_exeext conftest.$ac_ext |
6213 fi | |
6214 | |
6215 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
6216 conftest$ac_exeext conftest.$ac_ext | |
6217 LIBS=$ac_check_lib_save_LIBS | 5251 LIBS=$ac_check_lib_save_LIBS |
6218 fi | 5252 fi |
6219 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_attr_init" >&5 | 5253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_attr_init" >&5 |
6220 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_attr_init" >&6; } | 5254 $as_echo "$ac_cv_lib_pthread_pthread_attr_init" >&6; } |
6221 if test $ac_cv_lib_pthread_pthread_attr_init = yes; then | 5255 if test "x$ac_cv_lib_pthread_pthread_attr_init" = x""yes; then : |
6222 PTHREAD_LIBS="-lpthread" | 5256 PTHREAD_LIBS="-lpthread" |
6223 else | 5257 else |
6224 { echo "$as_me:$LINENO: checking for pthread_attr_init in -lpthreads" >&5 | 5258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_attr_init in -lpthreads" >&5 |
6225 echo $ECHO_N "checking for pthread_attr_init in -lpthreads... $ECHO_C" >&6; } | 5259 $as_echo_n "checking for pthread_attr_init in -lpthreads... " >&6; } |
6226 if test "${ac_cv_lib_pthreads_pthread_attr_init+set}" = set; then | 5260 if test "${ac_cv_lib_pthreads_pthread_attr_init+set}" = set; then : |
6227 echo $ECHO_N "(cached) $ECHO_C" >&6 | 5261 $as_echo_n "(cached) " >&6 |
6228 else | 5262 else |
6229 ac_check_lib_save_LIBS=$LIBS | 5263 ac_check_lib_save_LIBS=$LIBS |
6230 LIBS="-lpthreads $LIBS" | 5264 LIBS="-lpthreads $LIBS" |
6231 cat >conftest.$ac_ext <<_ACEOF | 5265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6232 /* confdefs.h. */ | |
6233 _ACEOF | |
6234 cat confdefs.h >>conftest.$ac_ext | |
6235 cat >>conftest.$ac_ext <<_ACEOF | |
6236 /* end confdefs.h. */ | 5266 /* end confdefs.h. */ |
6237 | 5267 |
6238 /* Override any GCC internal prototype to avoid an error. | 5268 /* Override any GCC internal prototype to avoid an error. |
6239 Use char because int might match the return type of a GCC | 5269 Use char because int might match the return type of a GCC |
6240 builtin and then its argument prototype would still apply. */ | 5270 builtin and then its argument prototype would still apply. */ |
6248 return pthread_attr_init (); | 5278 return pthread_attr_init (); |
6249 ; | 5279 ; |
6250 return 0; | 5280 return 0; |
6251 } | 5281 } |
6252 _ACEOF | 5282 _ACEOF |
6253 rm -f conftest.$ac_objext conftest$ac_exeext | 5283 if ac_fn_c_try_link "$LINENO"; then : |
6254 if { (ac_try="$ac_link" | |
6255 case "(($ac_try" in | |
6256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
6257 *) ac_try_echo=$ac_try;; | |
6258 esac | |
6259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
6260 (eval "$ac_link") 2>conftest.er1 | |
6261 ac_status=$? | |
6262 grep -v '^ *+' conftest.er1 >conftest.err | |
6263 rm -f conftest.er1 | |
6264 cat conftest.err >&5 | |
6265 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
6266 (exit $ac_status); } && { | |
6267 test -z "$ac_c_werror_flag" || | |
6268 test ! -s conftest.err | |
6269 } && test -s conftest$ac_exeext && | |
6270 $as_test_x conftest$ac_exeext; then | |
6271 ac_cv_lib_pthreads_pthread_attr_init=yes | 5284 ac_cv_lib_pthreads_pthread_attr_init=yes |
6272 else | 5285 else |
6273 echo "$as_me: failed program was:" >&5 | 5286 ac_cv_lib_pthreads_pthread_attr_init=no |
6274 sed 's/^/| /' conftest.$ac_ext >&5 | 5287 fi |
6275 | 5288 rm -f core conftest.err conftest.$ac_objext \ |
6276 ac_cv_lib_pthreads_pthread_attr_init=no | 5289 conftest$ac_exeext conftest.$ac_ext |
6277 fi | |
6278 | |
6279 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
6280 conftest$ac_exeext conftest.$ac_ext | |
6281 LIBS=$ac_check_lib_save_LIBS | 5290 LIBS=$ac_check_lib_save_LIBS |
6282 fi | 5291 fi |
6283 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthreads_pthread_attr_init" >&5 | 5292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthreads_pthread_attr_init" >&5 |
6284 echo "${ECHO_T}$ac_cv_lib_pthreads_pthread_attr_init" >&6; } | 5293 $as_echo "$ac_cv_lib_pthreads_pthread_attr_init" >&6; } |
6285 if test $ac_cv_lib_pthreads_pthread_attr_init = yes; then | 5294 if test "x$ac_cv_lib_pthreads_pthread_attr_init" = x""yes; then : |
6286 PTHREAD_LIBS="-lpthreads" | 5295 PTHREAD_LIBS="-lpthreads" |
6287 else | 5296 else |
6288 { echo "$as_me:$LINENO: checking for pthread_attr_init in -lc_r" >&5 | 5297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_attr_init in -lc_r" >&5 |
6289 echo $ECHO_N "checking for pthread_attr_init in -lc_r... $ECHO_C" >&6; } | 5298 $as_echo_n "checking for pthread_attr_init in -lc_r... " >&6; } |
6290 if test "${ac_cv_lib_c_r_pthread_attr_init+set}" = set; then | 5299 if test "${ac_cv_lib_c_r_pthread_attr_init+set}" = set; then : |
6291 echo $ECHO_N "(cached) $ECHO_C" >&6 | 5300 $as_echo_n "(cached) " >&6 |
6292 else | 5301 else |
6293 ac_check_lib_save_LIBS=$LIBS | 5302 ac_check_lib_save_LIBS=$LIBS |
6294 LIBS="-lc_r $LIBS" | 5303 LIBS="-lc_r $LIBS" |
6295 cat >conftest.$ac_ext <<_ACEOF | 5304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6296 /* confdefs.h. */ | |
6297 _ACEOF | |
6298 cat confdefs.h >>conftest.$ac_ext | |
6299 cat >>conftest.$ac_ext <<_ACEOF | |
6300 /* end confdefs.h. */ | 5305 /* end confdefs.h. */ |
6301 | 5306 |
6302 /* Override any GCC internal prototype to avoid an error. | 5307 /* Override any GCC internal prototype to avoid an error. |
6303 Use char because int might match the return type of a GCC | 5308 Use char because int might match the return type of a GCC |
6304 builtin and then its argument prototype would still apply. */ | 5309 builtin and then its argument prototype would still apply. */ |
6312 return pthread_attr_init (); | 5317 return pthread_attr_init (); |
6313 ; | 5318 ; |
6314 return 0; | 5319 return 0; |
6315 } | 5320 } |
6316 _ACEOF | 5321 _ACEOF |
6317 rm -f conftest.$ac_objext conftest$ac_exeext | 5322 if ac_fn_c_try_link "$LINENO"; then : |
6318 if { (ac_try="$ac_link" | |
6319 case "(($ac_try" in | |
6320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
6321 *) ac_try_echo=$ac_try;; | |
6322 esac | |
6323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
6324 (eval "$ac_link") 2>conftest.er1 | |
6325 ac_status=$? | |
6326 grep -v '^ *+' conftest.er1 >conftest.err | |
6327 rm -f conftest.er1 | |
6328 cat conftest.err >&5 | |
6329 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
6330 (exit $ac_status); } && { | |
6331 test -z "$ac_c_werror_flag" || | |
6332 test ! -s conftest.err | |
6333 } && test -s conftest$ac_exeext && | |
6334 $as_test_x conftest$ac_exeext; then | |
6335 ac_cv_lib_c_r_pthread_attr_init=yes | 5323 ac_cv_lib_c_r_pthread_attr_init=yes |
6336 else | 5324 else |
6337 echo "$as_me: failed program was:" >&5 | 5325 ac_cv_lib_c_r_pthread_attr_init=no |
6338 sed 's/^/| /' conftest.$ac_ext >&5 | 5326 fi |
6339 | 5327 rm -f core conftest.err conftest.$ac_objext \ |
6340 ac_cv_lib_c_r_pthread_attr_init=no | 5328 conftest$ac_exeext conftest.$ac_ext |
6341 fi | |
6342 | |
6343 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
6344 conftest$ac_exeext conftest.$ac_ext | |
6345 LIBS=$ac_check_lib_save_LIBS | 5329 LIBS=$ac_check_lib_save_LIBS |
6346 fi | 5330 fi |
6347 { echo "$as_me:$LINENO: result: $ac_cv_lib_c_r_pthread_attr_init" >&5 | 5331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_r_pthread_attr_init" >&5 |
6348 echo "${ECHO_T}$ac_cv_lib_c_r_pthread_attr_init" >&6; } | 5332 $as_echo "$ac_cv_lib_c_r_pthread_attr_init" >&6; } |
6349 if test $ac_cv_lib_c_r_pthread_attr_init = yes; then | 5333 if test "x$ac_cv_lib_c_r_pthread_attr_init" = x""yes; then : |
6350 PTHREAD_LIBS="-lc_r" | 5334 PTHREAD_LIBS="-lc_r" |
6351 else | 5335 else |
6352 { { echo "$as_me:$LINENO: error: pthread library not found. dwindows cannot build without it. | 5336 as_fn_error "pthread library not found. dwindows cannot build without it. |
6353 " >&5 | 5337 " "$LINENO" 5 |
6354 echo "$as_me: error: pthread library not found. dwindows cannot build without it. | |
6355 " >&2;} | |
6356 { (exit 1); exit 1; }; } | |
6357 | 5338 |
6358 fi | 5339 fi |
6359 | 5340 |
6360 | 5341 |
6361 fi | 5342 fi |
6365 | 5346 |
6366 | 5347 |
6367 CFLAGS="$CFLAGS $GTK_CFLAGS $GDK_IMLIB_FLAGS $MOZEMBED_CFLAGS" | 5348 CFLAGS="$CFLAGS $GTK_CFLAGS $GDK_IMLIB_FLAGS $MOZEMBED_CFLAGS" |
6368 | 5349 |
6369 BROWSER_OBJECT="" | 5350 BROWSER_OBJECT="" |
6370 if test x"$MOZEMBED_LIBS" != x; then | 5351 if test x"$MOZEMBED_CFLAGS" != x; then |
6371 SAVE_LIBS="$LIBS" | 5352 SAVE_LIBS="$LIBS" |
6372 LIBS="$RPATH $LIBS $GTK_LIBS $PTHREAD_LIBS $GDK_IMLIB_LIBS $MOZEMBED_LIBS" | 5353 LIBS="$RPATH $LIBS $GTK_LIBS $PTHREAD_LIBS $GDK_IMLIB_LIBS $MOZEMBED_LIBS" |
6373 BROWSER_OBJECT="browser.o" | 5354 BROWSER_OBJECT="browser.o" |
6374 { echo "$as_me:$LINENO: checking for gtk_moz_embed_new in -lgtkembedmoz" >&5 | 5355 if test $with_gtkmozembed = yes; then |
6375 echo $ECHO_N "checking for gtk_moz_embed_new in -lgtkembedmoz... $ECHO_C" >&6; } | 5356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk_moz_embed_new in -lgtkembedmoz" >&5 |
6376 if test "${ac_cv_lib_gtkembedmoz_gtk_moz_embed_new+set}" = set; then | 5357 $as_echo_n "checking for gtk_moz_embed_new in -lgtkembedmoz... " >&6; } |
6377 echo $ECHO_N "(cached) $ECHO_C" >&6 | 5358 if test "${ac_cv_lib_gtkembedmoz_gtk_moz_embed_new+set}" = set; then : |
5359 $as_echo_n "(cached) " >&6 | |
6378 else | 5360 else |
6379 ac_check_lib_save_LIBS=$LIBS | 5361 ac_check_lib_save_LIBS=$LIBS |
6380 LIBS="-lgtkembedmoz $LIBS" | 5362 LIBS="-lgtkembedmoz $LIBS" |
6381 cat >conftest.$ac_ext <<_ACEOF | 5363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6382 /* confdefs.h. */ | |
6383 _ACEOF | |
6384 cat confdefs.h >>conftest.$ac_ext | |
6385 cat >>conftest.$ac_ext <<_ACEOF | |
6386 /* end confdefs.h. */ | 5364 /* end confdefs.h. */ |
6387 | 5365 |
6388 /* Override any GCC internal prototype to avoid an error. | 5366 /* Override any GCC internal prototype to avoid an error. |
6389 Use char because int might match the return type of a GCC | 5367 Use char because int might match the return type of a GCC |
6390 builtin and then its argument prototype would still apply. */ | 5368 builtin and then its argument prototype would still apply. */ |
6398 return gtk_moz_embed_new (); | 5376 return gtk_moz_embed_new (); |
6399 ; | 5377 ; |
6400 return 0; | 5378 return 0; |
6401 } | 5379 } |
6402 _ACEOF | 5380 _ACEOF |
6403 rm -f conftest.$ac_objext conftest$ac_exeext | 5381 if ac_fn_c_try_link "$LINENO"; then : |
6404 if { (ac_try="$ac_link" | |
6405 case "(($ac_try" in | |
6406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
6407 *) ac_try_echo=$ac_try;; | |
6408 esac | |
6409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
6410 (eval "$ac_link") 2>conftest.er1 | |
6411 ac_status=$? | |
6412 grep -v '^ *+' conftest.er1 >conftest.err | |
6413 rm -f conftest.er1 | |
6414 cat conftest.err >&5 | |
6415 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
6416 (exit $ac_status); } && { | |
6417 test -z "$ac_c_werror_flag" || | |
6418 test ! -s conftest.err | |
6419 } && test -s conftest$ac_exeext && | |
6420 $as_test_x conftest$ac_exeext; then | |
6421 ac_cv_lib_gtkembedmoz_gtk_moz_embed_new=yes | 5382 ac_cv_lib_gtkembedmoz_gtk_moz_embed_new=yes |
6422 else | 5383 else |
6423 echo "$as_me: failed program was:" >&5 | 5384 ac_cv_lib_gtkembedmoz_gtk_moz_embed_new=no |
6424 sed 's/^/| /' conftest.$ac_ext >&5 | 5385 fi |
6425 | 5386 rm -f core conftest.err conftest.$ac_objext \ |
6426 ac_cv_lib_gtkembedmoz_gtk_moz_embed_new=no | 5387 conftest$ac_exeext conftest.$ac_ext |
6427 fi | |
6428 | |
6429 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
6430 conftest$ac_exeext conftest.$ac_ext | |
6431 LIBS=$ac_check_lib_save_LIBS | 5388 LIBS=$ac_check_lib_save_LIBS |
6432 fi | 5389 fi |
6433 { echo "$as_me:$LINENO: result: $ac_cv_lib_gtkembedmoz_gtk_moz_embed_new" >&5 | 5390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gtkembedmoz_gtk_moz_embed_new" >&5 |
6434 echo "${ECHO_T}$ac_cv_lib_gtkembedmoz_gtk_moz_embed_new" >&6; } | 5391 $as_echo "$ac_cv_lib_gtkembedmoz_gtk_moz_embed_new" >&6; } |
6435 if test $ac_cv_lib_gtkembedmoz_gtk_moz_embed_new = yes; then | 5392 if test "x$ac_cv_lib_gtkembedmoz_gtk_moz_embed_new" = x""yes; then : |
6436 cat >>confdefs.h <<\_ACEOF | 5393 $as_echo "#define USE_GTKMOZEMBED 1" >>confdefs.h |
6437 #define USE_GTKMOZEMBED 1 | |
6438 _ACEOF | |
6439 | 5394 |
6440 else | 5395 else |
6441 BROWSER_OBJECT="" | 5396 BROWSER_OBJECT="" |
6442 fi | 5397 fi |
6443 | 5398 |
5399 elif test $with_gtkhtml = yes; then | |
5400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for html_document_new in -lgtkhtml-2" >&5 | |
5401 $as_echo_n "checking for html_document_new in -lgtkhtml-2... " >&6; } | |
5402 if test "${ac_cv_lib_gtkhtml_2_html_document_new+set}" = set; then : | |
5403 $as_echo_n "(cached) " >&6 | |
5404 else | |
5405 ac_check_lib_save_LIBS=$LIBS | |
5406 LIBS="-lgtkhtml-2 $LIBS" | |
5407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
5408 /* end confdefs.h. */ | |
5409 | |
5410 /* Override any GCC internal prototype to avoid an error. | |
5411 Use char because int might match the return type of a GCC | |
5412 builtin and then its argument prototype would still apply. */ | |
5413 #ifdef __cplusplus | |
5414 extern "C" | |
5415 #endif | |
5416 char html_document_new (); | |
5417 int | |
5418 main () | |
5419 { | |
5420 return html_document_new (); | |
5421 ; | |
5422 return 0; | |
5423 } | |
5424 _ACEOF | |
5425 if ac_fn_c_try_link "$LINENO"; then : | |
5426 ac_cv_lib_gtkhtml_2_html_document_new=yes | |
5427 else | |
5428 ac_cv_lib_gtkhtml_2_html_document_new=no | |
5429 fi | |
5430 rm -f core conftest.err conftest.$ac_objext \ | |
5431 conftest$ac_exeext conftest.$ac_ext | |
5432 LIBS=$ac_check_lib_save_LIBS | |
5433 fi | |
5434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gtkhtml_2_html_document_new" >&5 | |
5435 $as_echo "$ac_cv_lib_gtkhtml_2_html_document_new" >&6; } | |
5436 if test "x$ac_cv_lib_gtkhtml_2_html_document_new" = x""yes; then : | |
5437 $as_echo "#define USE_LIBGTKHTML2 1" >>confdefs.h | |
5438 | |
5439 else | |
5440 BROWSER_OBJECT="" | |
5441 fi | |
5442 | |
5443 else | |
5444 as_ac_Lib=`$as_echo "ac_cv_lib_$WEBKIT_LIB''_webkit_web_view_new" | $as_tr_sh` | |
5445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for webkit_web_view_new in -l$WEBKIT_LIB" >&5 | |
5446 $as_echo_n "checking for webkit_web_view_new in -l$WEBKIT_LIB... " >&6; } | |
5447 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then : | |
5448 $as_echo_n "(cached) " >&6 | |
5449 else | |
5450 ac_check_lib_save_LIBS=$LIBS | |
5451 LIBS="-l$WEBKIT_LIB $LIBS" | |
5452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
5453 /* end confdefs.h. */ | |
5454 | |
5455 /* Override any GCC internal prototype to avoid an error. | |
5456 Use char because int might match the return type of a GCC | |
5457 builtin and then its argument prototype would still apply. */ | |
5458 #ifdef __cplusplus | |
5459 extern "C" | |
5460 #endif | |
5461 char webkit_web_view_new (); | |
5462 int | |
5463 main () | |
5464 { | |
5465 return webkit_web_view_new (); | |
5466 ; | |
5467 return 0; | |
5468 } | |
5469 _ACEOF | |
5470 if ac_fn_c_try_link "$LINENO"; then : | |
5471 eval "$as_ac_Lib=yes" | |
5472 else | |
5473 eval "$as_ac_Lib=no" | |
5474 fi | |
5475 rm -f core conftest.err conftest.$ac_objext \ | |
5476 conftest$ac_exeext conftest.$ac_ext | |
5477 LIBS=$ac_check_lib_save_LIBS | |
5478 fi | |
5479 eval ac_res=\$$as_ac_Lib | |
5480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |
5481 $as_echo "$ac_res" >&6; } | |
5482 eval as_val=\$$as_ac_Lib | |
5483 if test "x$as_val" = x""yes; then : | |
5484 $as_echo "#define USE_WEBKIT 1" >>confdefs.h | |
5485 | |
5486 else | |
5487 BROWSER_OBJECT="" | |
5488 fi | |
5489 | |
5490 BROWSER_OBJECT="" | |
5491 fi | |
6444 LIBS="$SAVE_LIBS" | 5492 LIBS="$SAVE_LIBS" |
6445 fi | 5493 fi |
6446 | 5494 |
6447 LIBS="$RPATH $LIBS $GTK_LIBS $PTHREAD_LIBS $GDK_IMLIB_LIBS $MOZEMBED_LIBS" | 5495 LIBS="$RPATH $LIBS $GTK_LIBS $PTHREAD_LIBS $GDK_IMLIB_LIBS $MOZEMBED_LIBS" |
6448 | 5496 |
6466 | 5514 |
6467 | 5515 |
6468 | 5516 |
6469 | 5517 |
6470 | 5518 |
6471 ac_config_files="$ac_config_files Makefile dw-config" | 5519 |
5520 | |
5521 | |
5522 ac_config_files="$ac_config_files Makefile dwindows-config" | |
6472 | 5523 |
6473 cat >confcache <<\_ACEOF | 5524 cat >confcache <<\_ACEOF |
6474 # This file is a shell script that caches the results of configure | 5525 # This file is a shell script that caches the results of configure |
6475 # tests run on this system so they can be shared between configure | 5526 # tests run on this system so they can be shared between configure |
6476 # scripts and configure runs, see configure's option --config-cache. | 5527 # scripts and configure runs, see configure's option --config-cache. |
6495 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do | 5546 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do |
6496 eval ac_val=\$$ac_var | 5547 eval ac_val=\$$ac_var |
6497 case $ac_val in #( | 5548 case $ac_val in #( |
6498 *${as_nl}*) | 5549 *${as_nl}*) |
6499 case $ac_var in #( | 5550 case $ac_var in #( |
6500 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 | 5551 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
6501 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; | 5552 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
6502 esac | 5553 esac |
6503 case $ac_var in #( | 5554 case $ac_var in #( |
6504 _ | IFS | as_nl) ;; #( | 5555 _ | IFS | as_nl) ;; #( |
6505 *) $as_unset $ac_var ;; | 5556 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
5557 *) { eval $ac_var=; unset $ac_var;} ;; | |
6506 esac ;; | 5558 esac ;; |
6507 esac | 5559 esac |
6508 done | 5560 done |
6509 | 5561 |
6510 (set) 2>&1 | | 5562 (set) 2>&1 | |
6511 case $as_nl`(ac_space=' '; set) 2>&1` in #( | 5563 case $as_nl`(ac_space=' '; set) 2>&1` in #( |
6512 *${as_nl}ac_space=\ *) | 5564 *${as_nl}ac_space=\ *) |
6513 # `set' does not quote correctly, so add quotes (double-quote | 5565 # `set' does not quote correctly, so add quotes: double-quote |
6514 # substitution turns \\\\ into \\, and sed turns \\ into \). | 5566 # substitution turns \\\\ into \\, and sed turns \\ into \. |
6515 sed -n \ | 5567 sed -n \ |
6516 "s/'/'\\\\''/g; | 5568 "s/'/'\\\\''/g; |
6517 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" | 5569 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
6518 ;; #( | 5570 ;; #( |
6519 *) | 5571 *) |
6532 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ | 5584 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
6533 :end' >>confcache | 5585 :end' >>confcache |
6534 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else | 5586 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
6535 if test -w "$cache_file"; then | 5587 if test -w "$cache_file"; then |
6536 test "x$cache_file" != "x/dev/null" && | 5588 test "x$cache_file" != "x/dev/null" && |
6537 { echo "$as_me:$LINENO: updating cache $cache_file" >&5 | 5589 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
6538 echo "$as_me: updating cache $cache_file" >&6;} | 5590 $as_echo "$as_me: updating cache $cache_file" >&6;} |
6539 cat confcache >$cache_file | 5591 cat confcache >$cache_file |
6540 else | 5592 else |
6541 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 | 5593 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
6542 echo "$as_me: not updating unwritable cache $cache_file" >&6;} | 5594 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
6543 fi | 5595 fi |
6544 fi | 5596 fi |
6545 rm -f confcache | 5597 rm -f confcache |
6546 | 5598 |
6547 test "x$prefix" = xNONE && prefix=$ac_default_prefix | 5599 test "x$prefix" = xNONE && prefix=$ac_default_prefix |
6553 ac_libobjs= | 5605 ac_libobjs= |
6554 ac_ltlibobjs= | 5606 ac_ltlibobjs= |
6555 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue | 5607 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
6556 # 1. Remove the extension, and $U if already installed. | 5608 # 1. Remove the extension, and $U if already installed. |
6557 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' | 5609 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
6558 ac_i=`echo "$ac_i" | sed "$ac_script"` | 5610 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` |
6559 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR | 5611 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
6560 # will be set to the directory where LIBOBJS objects are built. | 5612 # will be set to the directory where LIBOBJS objects are built. |
6561 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" | 5613 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" |
6562 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' | 5614 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' |
6563 done | 5615 done |
6564 LIBOBJS=$ac_libobjs | 5616 LIBOBJS=$ac_libobjs |
6565 | 5617 |
6566 LTLIBOBJS=$ac_ltlibobjs | 5618 LTLIBOBJS=$ac_ltlibobjs |
6567 | 5619 |
6568 | 5620 |
6569 | 5621 |
6570 : ${CONFIG_STATUS=./config.status} | 5622 : ${CONFIG_STATUS=./config.status} |
5623 ac_write_fail=0 | |
6571 ac_clean_files_save=$ac_clean_files | 5624 ac_clean_files_save=$ac_clean_files |
6572 ac_clean_files="$ac_clean_files $CONFIG_STATUS" | 5625 ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
6573 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 | 5626 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 |
6574 echo "$as_me: creating $CONFIG_STATUS" >&6;} | 5627 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} |
6575 cat >$CONFIG_STATUS <<_ACEOF | 5628 as_write_fail=0 |
5629 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 | |
6576 #! $SHELL | 5630 #! $SHELL |
6577 # Generated by $as_me. | 5631 # Generated by $as_me. |
6578 # Run this file to recreate the current configuration. | 5632 # Run this file to recreate the current configuration. |
6579 # Compiler output produced by configure, useful for debugging | 5633 # Compiler output produced by configure, useful for debugging |
6580 # configure, is in config.log if it exists. | 5634 # configure, is in config.log if it exists. |
6581 | 5635 |
6582 debug=false | 5636 debug=false |
6583 ac_cs_recheck=false | 5637 ac_cs_recheck=false |
6584 ac_cs_silent=false | 5638 ac_cs_silent=false |
5639 | |
6585 SHELL=\${CONFIG_SHELL-$SHELL} | 5640 SHELL=\${CONFIG_SHELL-$SHELL} |
6586 _ACEOF | 5641 export SHELL |
6587 | 5642 _ASEOF |
6588 cat >>$CONFIG_STATUS <<\_ACEOF | 5643 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 |
6589 ## --------------------- ## | 5644 ## -------------------- ## |
6590 ## M4sh Initialization. ## | 5645 ## M4sh Initialization. ## |
6591 ## --------------------- ## | 5646 ## -------------------- ## |
6592 | 5647 |
6593 # Be more Bourne compatible | 5648 # Be more Bourne compatible |
6594 DUALCASE=1; export DUALCASE # for MKS sh | 5649 DUALCASE=1; export DUALCASE # for MKS sh |
6595 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | 5650 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : |
6596 emulate sh | 5651 emulate sh |
6597 NULLCMD=: | 5652 NULLCMD=: |
6598 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which | 5653 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
6599 # is contrary to our usage. Disable this feature. | 5654 # is contrary to our usage. Disable this feature. |
6600 alias -g '${1+"$@"}'='"$@"' | 5655 alias -g '${1+"$@"}'='"$@"' |
6601 setopt NO_GLOB_SUBST | 5656 setopt NO_GLOB_SUBST |
6602 else | 5657 else |
6603 case `(set -o) 2>/dev/null` in | 5658 case `(set -o) 2>/dev/null` in #( |
6604 *posix*) set -o posix ;; | 5659 *posix*) : |
5660 set -o posix ;; #( | |
5661 *) : | |
5662 ;; | |
6605 esac | 5663 esac |
6606 | 5664 fi |
6607 fi | 5665 |
6608 | 5666 |
6609 | 5667 as_nl=' |
6610 | 5668 ' |
6611 | 5669 export as_nl |
6612 # PATH needs CR | 5670 # Printing a long string crashes Solaris 7 /usr/bin/printf. |
6613 # Avoid depending upon Character Ranges. | 5671 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
6614 as_cr_letters='abcdefghijklmnopqrstuvwxyz' | 5672 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
6615 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | 5673 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
6616 as_cr_Letters=$as_cr_letters$as_cr_LETTERS | 5674 # Prefer a ksh shell builtin over an external printf program on Solaris, |
6617 as_cr_digits='0123456789' | 5675 # but without wasting forks for bash or zsh. |
6618 as_cr_alnum=$as_cr_Letters$as_cr_digits | 5676 if test -z "$BASH_VERSION$ZSH_VERSION" \ |
5677 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then | |
5678 as_echo='print -r --' | |
5679 as_echo_n='print -rn --' | |
5680 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then | |
5681 as_echo='printf %s\n' | |
5682 as_echo_n='printf %s' | |
5683 else | |
5684 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then | |
5685 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' | |
5686 as_echo_n='/usr/ucb/echo -n' | |
5687 else | |
5688 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' | |
5689 as_echo_n_body='eval | |
5690 arg=$1; | |
5691 case $arg in #( | |
5692 *"$as_nl"*) | |
5693 expr "X$arg" : "X\\(.*\\)$as_nl"; | |
5694 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; | |
5695 esac; | |
5696 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" | |
5697 ' | |
5698 export as_echo_n_body | |
5699 as_echo_n='sh -c $as_echo_n_body as_echo' | |
5700 fi | |
5701 export as_echo_body | |
5702 as_echo='sh -c $as_echo_body as_echo' | |
5703 fi | |
6619 | 5704 |
6620 # The user is always right. | 5705 # The user is always right. |
6621 if test "${PATH_SEPARATOR+set}" != set; then | 5706 if test "${PATH_SEPARATOR+set}" != set; then |
6622 echo "#! /bin/sh" >conf$$.sh | 5707 PATH_SEPARATOR=: |
6623 echo "exit 0" >>conf$$.sh | 5708 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
6624 chmod +x conf$$.sh | 5709 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
6625 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then | 5710 PATH_SEPARATOR=';' |
6626 PATH_SEPARATOR=';' | 5711 } |
6627 else | |
6628 PATH_SEPARATOR=: | |
6629 fi | |
6630 rm -f conf$$.sh | |
6631 fi | |
6632 | |
6633 # Support unset when possible. | |
6634 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then | |
6635 as_unset=unset | |
6636 else | |
6637 as_unset=false | |
6638 fi | 5712 fi |
6639 | 5713 |
6640 | 5714 |
6641 # IFS | 5715 # IFS |
6642 # We need space, tab and new line, in precisely that order. Quoting is | 5716 # We need space, tab and new line, in precisely that order. Quoting is |
6643 # there to prevent editors from complaining about space-tab. | 5717 # there to prevent editors from complaining about space-tab. |
6644 # (If _AS_PATH_WALK were called with IFS unset, it would disable word | 5718 # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
6645 # splitting by setting IFS to empty value.) | 5719 # splitting by setting IFS to empty value.) |
6646 as_nl=' | |
6647 ' | |
6648 IFS=" "" $as_nl" | 5720 IFS=" "" $as_nl" |
6649 | 5721 |
6650 # Find who we are. Look in the path if we contain no directory separator. | 5722 # Find who we are. Look in the path if we contain no directory separator. |
6651 case $0 in | 5723 case $0 in #(( |
6652 *[\\/]* ) as_myself=$0 ;; | 5724 *[\\/]* ) as_myself=$0 ;; |
6653 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 5725 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
6654 for as_dir in $PATH | 5726 for as_dir in $PATH |
6655 do | 5727 do |
6656 IFS=$as_save_IFS | 5728 IFS=$as_save_IFS |
6657 test -z "$as_dir" && as_dir=. | 5729 test -z "$as_dir" && as_dir=. |
6658 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | 5730 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
6659 done | 5731 done |
6660 IFS=$as_save_IFS | 5732 IFS=$as_save_IFS |
6661 | 5733 |
6662 ;; | 5734 ;; |
6663 esac | 5735 esac |
6664 # We did not find ourselves, most probably we were run as `sh COMMAND' | 5736 # We did not find ourselves, most probably we were run as `sh COMMAND' |
6665 # in which case we are not to be found in the path. | 5737 # in which case we are not to be found in the path. |
6666 if test "x$as_myself" = x; then | 5738 if test "x$as_myself" = x; then |
6667 as_myself=$0 | 5739 as_myself=$0 |
6668 fi | 5740 fi |
6669 if test ! -f "$as_myself"; then | 5741 if test ! -f "$as_myself"; then |
6670 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 | 5742 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
6671 { (exit 1); exit 1; } | 5743 exit 1 |
6672 fi | 5744 fi |
6673 | 5745 |
6674 # Work around bugs in pre-3.0 UWIN ksh. | 5746 # Unset variables that we do not need and which cause bugs (e.g. in |
6675 for as_var in ENV MAIL MAILPATH | 5747 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" |
6676 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var | 5748 # suppresses any "Segmentation fault" message there. '((' could |
5749 # trigger a bug in pdksh 5.2.14. | |
5750 for as_var in BASH_ENV ENV MAIL MAILPATH | |
5751 do eval test x\${$as_var+set} = xset \ | |
5752 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : | |
6677 done | 5753 done |
6678 PS1='$ ' | 5754 PS1='$ ' |
6679 PS2='> ' | 5755 PS2='> ' |
6680 PS4='+ ' | 5756 PS4='+ ' |
6681 | 5757 |
6682 # NLS nuisances. | 5758 # NLS nuisances. |
6683 for as_var in \ | 5759 LC_ALL=C |
6684 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ | 5760 export LC_ALL |
6685 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ | 5761 LANGUAGE=C |
6686 LC_TELEPHONE LC_TIME | 5762 export LANGUAGE |
6687 do | 5763 |
6688 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then | 5764 # CDPATH. |
6689 eval $as_var=C; export $as_var | 5765 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
6690 else | 5766 |
6691 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var | 5767 |
5768 # as_fn_error ERROR [LINENO LOG_FD] | |
5769 # --------------------------------- | |
5770 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are | |
5771 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the | |
5772 # script with status $?, using 1 if that was 0. | |
5773 as_fn_error () | |
5774 { | |
5775 as_status=$?; test $as_status -eq 0 && as_status=1 | |
5776 if test "$3"; then | |
5777 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
5778 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 | |
6692 fi | 5779 fi |
6693 done | 5780 $as_echo "$as_me: error: $1" >&2 |
6694 | 5781 as_fn_exit $as_status |
6695 # Required to use basename. | 5782 } # as_fn_error |
5783 | |
5784 | |
5785 # as_fn_set_status STATUS | |
5786 # ----------------------- | |
5787 # Set $? to STATUS, without forking. | |
5788 as_fn_set_status () | |
5789 { | |
5790 return $1 | |
5791 } # as_fn_set_status | |
5792 | |
5793 # as_fn_exit STATUS | |
5794 # ----------------- | |
5795 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. | |
5796 as_fn_exit () | |
5797 { | |
5798 set +e | |
5799 as_fn_set_status $1 | |
5800 exit $1 | |
5801 } # as_fn_exit | |
5802 | |
5803 # as_fn_unset VAR | |
5804 # --------------- | |
5805 # Portably unset VAR. | |
5806 as_fn_unset () | |
5807 { | |
5808 { eval $1=; unset $1;} | |
5809 } | |
5810 as_unset=as_fn_unset | |
5811 # as_fn_append VAR VALUE | |
5812 # ---------------------- | |
5813 # Append the text in VALUE to the end of the definition contained in VAR. Take | |
5814 # advantage of any shell optimizations that allow amortized linear growth over | |
5815 # repeated appends, instead of the typical quadratic growth present in naive | |
5816 # implementations. | |
5817 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : | |
5818 eval 'as_fn_append () | |
5819 { | |
5820 eval $1+=\$2 | |
5821 }' | |
5822 else | |
5823 as_fn_append () | |
5824 { | |
5825 eval $1=\$$1\$2 | |
5826 } | |
5827 fi # as_fn_append | |
5828 | |
5829 # as_fn_arith ARG... | |
5830 # ------------------ | |
5831 # Perform arithmetic evaluation on the ARGs, and store the result in the | |
5832 # global $as_val. Take advantage of shells that can avoid forks. The arguments | |
5833 # must be portable across $(()) and expr. | |
5834 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : | |
5835 eval 'as_fn_arith () | |
5836 { | |
5837 as_val=$(( $* )) | |
5838 }' | |
5839 else | |
5840 as_fn_arith () | |
5841 { | |
5842 as_val=`expr "$@" || test $? -eq 1` | |
5843 } | |
5844 fi # as_fn_arith | |
5845 | |
5846 | |
6696 if expr a : '\(a\)' >/dev/null 2>&1 && | 5847 if expr a : '\(a\)' >/dev/null 2>&1 && |
6697 test "X`expr 00001 : '.*\(...\)'`" = X001; then | 5848 test "X`expr 00001 : '.*\(...\)'`" = X001; then |
6698 as_expr=expr | 5849 as_expr=expr |
6699 else | 5850 else |
6700 as_expr=false | 5851 as_expr=false |
6704 as_basename=basename | 5855 as_basename=basename |
6705 else | 5856 else |
6706 as_basename=false | 5857 as_basename=false |
6707 fi | 5858 fi |
6708 | 5859 |
6709 | 5860 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
6710 # Name of the executable. | 5861 as_dirname=dirname |
5862 else | |
5863 as_dirname=false | |
5864 fi | |
5865 | |
6711 as_me=`$as_basename -- "$0" || | 5866 as_me=`$as_basename -- "$0" || |
6712 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | 5867 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
6713 X"$0" : 'X\(//\)$' \| \ | 5868 X"$0" : 'X\(//\)$' \| \ |
6714 X"$0" : 'X\(/\)' \| . 2>/dev/null || | 5869 X"$0" : 'X\(/\)' \| . 2>/dev/null || |
6715 echo X/"$0" | | 5870 $as_echo X/"$0" | |
6716 sed '/^.*\/\([^/][^/]*\)\/*$/{ | 5871 sed '/^.*\/\([^/][^/]*\)\/*$/{ |
6717 s//\1/ | 5872 s//\1/ |
6718 q | 5873 q |
6719 } | 5874 } |
6720 /^X\/\(\/\/\)$/{ | 5875 /^X\/\(\/\/\)$/{ |
6725 s//\1/ | 5880 s//\1/ |
6726 q | 5881 q |
6727 } | 5882 } |
6728 s/.*/./; q'` | 5883 s/.*/./; q'` |
6729 | 5884 |
6730 # CDPATH. | 5885 # Avoid depending upon Character Ranges. |
6731 $as_unset CDPATH | 5886 as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
6732 | 5887 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
6733 | 5888 as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
6734 | 5889 as_cr_digits='0123456789' |
6735 as_lineno_1=$LINENO | 5890 as_cr_alnum=$as_cr_Letters$as_cr_digits |
6736 as_lineno_2=$LINENO | |
6737 test "x$as_lineno_1" != "x$as_lineno_2" && | |
6738 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { | |
6739 | |
6740 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO | |
6741 # uniformly replaced by the line number. The first 'sed' inserts a | |
6742 # line-number line after each line using $LINENO; the second 'sed' | |
6743 # does the real work. The second script uses 'N' to pair each | |
6744 # line-number line with the line containing $LINENO, and appends | |
6745 # trailing '-' during substitution so that $LINENO is not a special | |
6746 # case at line end. | |
6747 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the | |
6748 # scripts with optimization help from Paolo Bonzini. Blame Lee | |
6749 # E. McMahon (1931-1989) for sed's syntax. :-) | |
6750 sed -n ' | |
6751 p | |
6752 /[$]LINENO/= | |
6753 ' <$as_myself | | |
6754 sed ' | |
6755 s/[$]LINENO.*/&-/ | |
6756 t lineno | |
6757 b | |
6758 :lineno | |
6759 N | |
6760 :loop | |
6761 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ | |
6762 t loop | |
6763 s/-\n.*// | |
6764 ' >$as_me.lineno && | |
6765 chmod +x "$as_me.lineno" || | |
6766 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 | |
6767 { (exit 1); exit 1; }; } | |
6768 | |
6769 # Don't try to exec as it changes $[0], causing all sort of problems | |
6770 # (the dirname of $[0] is not the place where we might find the | |
6771 # original and so on. Autoconf is especially sensitive to this). | |
6772 . "./$as_me.lineno" | |
6773 # Exit status is that of the last command. | |
6774 exit | |
6775 } | |
6776 | |
6777 | |
6778 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then | |
6779 as_dirname=dirname | |
6780 else | |
6781 as_dirname=false | |
6782 fi | |
6783 | 5891 |
6784 ECHO_C= ECHO_N= ECHO_T= | 5892 ECHO_C= ECHO_N= ECHO_T= |
6785 case `echo -n x` in | 5893 case `echo -n x` in #((((( |
6786 -n*) | 5894 -n*) |
6787 case `echo 'x\c'` in | 5895 case `echo 'xy\c'` in |
6788 *c*) ECHO_T=' ';; # ECHO_T is single tab character. | 5896 *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
6789 *) ECHO_C='\c';; | 5897 xy) ECHO_C='\c';; |
5898 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null | |
5899 ECHO_T=' ';; | |
6790 esac;; | 5900 esac;; |
6791 *) | 5901 *) |
6792 ECHO_N='-n';; | 5902 ECHO_N='-n';; |
6793 esac | 5903 esac |
6794 | 5904 |
6795 if expr a : '\(a\)' >/dev/null 2>&1 && | |
6796 test "X`expr 00001 : '.*\(...\)'`" = X001; then | |
6797 as_expr=expr | |
6798 else | |
6799 as_expr=false | |
6800 fi | |
6801 | |
6802 rm -f conf$$ conf$$.exe conf$$.file | 5905 rm -f conf$$ conf$$.exe conf$$.file |
6803 if test -d conf$$.dir; then | 5906 if test -d conf$$.dir; then |
6804 rm -f conf$$.dir/conf$$.file | 5907 rm -f conf$$.dir/conf$$.file |
6805 else | 5908 else |
6806 rm -f conf$$.dir | 5909 rm -f conf$$.dir |
6807 mkdir conf$$.dir | 5910 mkdir conf$$.dir 2>/dev/null |
6808 fi | 5911 fi |
6809 echo >conf$$.file | 5912 if (echo >conf$$.file) 2>/dev/null; then |
6810 if ln -s conf$$.file conf$$ 2>/dev/null; then | 5913 if ln -s conf$$.file conf$$ 2>/dev/null; then |
6811 as_ln_s='ln -s' | 5914 as_ln_s='ln -s' |
6812 # ... but there are two gotchas: | 5915 # ... but there are two gotchas: |
6813 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. | 5916 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
6814 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. | 5917 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
6815 # In both cases, we have to default to `cp -p'. | 5918 # In both cases, we have to default to `cp -p'. |
6816 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || | 5919 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
5920 as_ln_s='cp -p' | |
5921 elif ln conf$$.file conf$$ 2>/dev/null; then | |
5922 as_ln_s=ln | |
5923 else | |
6817 as_ln_s='cp -p' | 5924 as_ln_s='cp -p' |
6818 elif ln conf$$.file conf$$ 2>/dev/null; then | 5925 fi |
6819 as_ln_s=ln | |
6820 else | 5926 else |
6821 as_ln_s='cp -p' | 5927 as_ln_s='cp -p' |
6822 fi | 5928 fi |
6823 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file | 5929 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
6824 rmdir conf$$.dir 2>/dev/null | 5930 rmdir conf$$.dir 2>/dev/null |
6825 | 5931 |
6826 if mkdir -p . 2>/dev/null; then | 5932 |
6827 as_mkdir_p=: | 5933 # as_fn_mkdir_p |
6828 else | 5934 # ------------- |
6829 test -d ./-p && rmdir ./-p | 5935 # Create "$as_dir" as a directory, including parents if necessary. |
6830 as_mkdir_p=false | 5936 as_fn_mkdir_p () |
6831 fi | |
6832 | |
6833 if test -x / >/dev/null 2>&1; then | |
6834 as_test_x='test -x' | |
6835 else | |
6836 if ls -dL / >/dev/null 2>&1; then | |
6837 as_ls_L_option=L | |
6838 else | |
6839 as_ls_L_option= | |
6840 fi | |
6841 as_test_x=' | |
6842 eval sh -c '\'' | |
6843 if test -d "$1"; then | |
6844 test -d "$1/."; | |
6845 else | |
6846 case $1 in | |
6847 -*)set "./$1";; | |
6848 esac; | |
6849 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in | |
6850 ???[sx]*):;;*)false;;esac;fi | |
6851 '\'' sh | |
6852 ' | |
6853 fi | |
6854 as_executable_p=$as_test_x | |
6855 | |
6856 # Sed expression to map a string onto a valid CPP name. | |
6857 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" | |
6858 | |
6859 # Sed expression to map a string onto a valid variable name. | |
6860 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | |
6861 | |
6862 | |
6863 exec 6>&1 | |
6864 | |
6865 # Save the log message, to keep $[0] and so on meaningful, and to | |
6866 # report actual input values of CONFIG_FILES etc. instead of their | |
6867 # values after options handling. | |
6868 ac_log=" | |
6869 This file was extended by $as_me, which was | |
6870 generated by GNU Autoconf 2.61. Invocation command line was | |
6871 | |
6872 CONFIG_FILES = $CONFIG_FILES | |
6873 CONFIG_HEADERS = $CONFIG_HEADERS | |
6874 CONFIG_LINKS = $CONFIG_LINKS | |
6875 CONFIG_COMMANDS = $CONFIG_COMMANDS | |
6876 $ $0 $@ | |
6877 | |
6878 on `(hostname || uname -n) 2>/dev/null | sed 1q` | |
6879 " | |
6880 | |
6881 _ACEOF | |
6882 | |
6883 cat >>$CONFIG_STATUS <<_ACEOF | |
6884 # Files that config.status was made for. | |
6885 config_files="$ac_config_files" | |
6886 config_headers="$ac_config_headers" | |
6887 | |
6888 _ACEOF | |
6889 | |
6890 cat >>$CONFIG_STATUS <<\_ACEOF | |
6891 ac_cs_usage="\ | |
6892 \`$as_me' instantiates files from templates according to the | |
6893 current configuration. | |
6894 | |
6895 Usage: $0 [OPTIONS] [FILE]... | |
6896 | |
6897 -h, --help print this help, then exit | |
6898 -V, --version print version number and configuration settings, then exit | |
6899 -q, --quiet do not print progress messages | |
6900 -d, --debug don't remove temporary files | |
6901 --recheck update $as_me by reconfiguring in the same conditions | |
6902 --file=FILE[:TEMPLATE] | |
6903 instantiate the configuration file FILE | |
6904 --header=FILE[:TEMPLATE] | |
6905 instantiate the configuration header FILE | |
6906 | |
6907 Configuration files: | |
6908 $config_files | |
6909 | |
6910 Configuration headers: | |
6911 $config_headers | |
6912 | |
6913 Report bugs to <bug-autoconf@gnu.org>." | |
6914 | |
6915 _ACEOF | |
6916 cat >>$CONFIG_STATUS <<_ACEOF | |
6917 ac_cs_version="\\ | |
6918 config.status | |
6919 configured by $0, generated by GNU Autoconf 2.61, | |
6920 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" | |
6921 | |
6922 Copyright (C) 2006 Free Software Foundation, Inc. | |
6923 This config.status script is free software; the Free Software Foundation | |
6924 gives unlimited permission to copy, distribute and modify it." | |
6925 | |
6926 ac_pwd='$ac_pwd' | |
6927 srcdir='$srcdir' | |
6928 INSTALL='$INSTALL' | |
6929 _ACEOF | |
6930 | |
6931 cat >>$CONFIG_STATUS <<\_ACEOF | |
6932 # If no file are specified by the user, then we need to provide default | |
6933 # value. By we need to know if files were specified by the user. | |
6934 ac_need_defaults=: | |
6935 while test $# != 0 | |
6936 do | |
6937 case $1 in | |
6938 --*=*) | |
6939 ac_option=`expr "X$1" : 'X\([^=]*\)='` | |
6940 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` | |
6941 ac_shift=: | |
6942 ;; | |
6943 *) | |
6944 ac_option=$1 | |
6945 ac_optarg=$2 | |
6946 ac_shift=shift | |
6947 ;; | |
6948 esac | |
6949 | |
6950 case $ac_option in | |
6951 # Handling of the options. | |
6952 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) | |
6953 ac_cs_recheck=: ;; | |
6954 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) | |
6955 echo "$ac_cs_version"; exit ;; | |
6956 --debug | --debu | --deb | --de | --d | -d ) | |
6957 debug=: ;; | |
6958 --file | --fil | --fi | --f ) | |
6959 $ac_shift | |
6960 CONFIG_FILES="$CONFIG_FILES $ac_optarg" | |
6961 ac_need_defaults=false;; | |
6962 --header | --heade | --head | --hea ) | |
6963 $ac_shift | |
6964 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" | |
6965 ac_need_defaults=false;; | |
6966 --he | --h) | |
6967 # Conflict between --help and --header | |
6968 { echo "$as_me: error: ambiguous option: $1 | |
6969 Try \`$0 --help' for more information." >&2 | |
6970 { (exit 1); exit 1; }; };; | |
6971 --help | --hel | -h ) | |
6972 echo "$ac_cs_usage"; exit ;; | |
6973 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | |
6974 | -silent | --silent | --silen | --sile | --sil | --si | --s) | |
6975 ac_cs_silent=: ;; | |
6976 | |
6977 # This is an error. | |
6978 -*) { echo "$as_me: error: unrecognized option: $1 | |
6979 Try \`$0 --help' for more information." >&2 | |
6980 { (exit 1); exit 1; }; } ;; | |
6981 | |
6982 *) ac_config_targets="$ac_config_targets $1" | |
6983 ac_need_defaults=false ;; | |
6984 | |
6985 esac | |
6986 shift | |
6987 done | |
6988 | |
6989 ac_configure_extra_args= | |
6990 | |
6991 if $ac_cs_silent; then | |
6992 exec 6>/dev/null | |
6993 ac_configure_extra_args="$ac_configure_extra_args --silent" | |
6994 fi | |
6995 | |
6996 _ACEOF | |
6997 cat >>$CONFIG_STATUS <<_ACEOF | |
6998 if \$ac_cs_recheck; then | |
6999 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 | |
7000 CONFIG_SHELL=$SHELL | |
7001 export CONFIG_SHELL | |
7002 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion | |
7003 fi | |
7004 | |
7005 _ACEOF | |
7006 cat >>$CONFIG_STATUS <<\_ACEOF | |
7007 exec 5>>config.log | |
7008 { | 5937 { |
7009 echo | 5938 |
7010 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX | |
7011 ## Running $as_me. ## | |
7012 _ASBOX | |
7013 echo "$ac_log" | |
7014 } >&5 | |
7015 | |
7016 _ACEOF | |
7017 cat >>$CONFIG_STATUS <<_ACEOF | |
7018 _ACEOF | |
7019 | |
7020 cat >>$CONFIG_STATUS <<\_ACEOF | |
7021 | |
7022 # Handling of arguments. | |
7023 for ac_config_target in $ac_config_targets | |
7024 do | |
7025 case $ac_config_target in | |
7026 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; | |
7027 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; | |
7028 "dw-config") CONFIG_FILES="$CONFIG_FILES dw-config" ;; | |
7029 | |
7030 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 | |
7031 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} | |
7032 { (exit 1); exit 1; }; };; | |
7033 esac | |
7034 done | |
7035 | |
7036 | |
7037 # If the user did not use the arguments to specify the items to instantiate, | |
7038 # then the envvar interface is used. Set only those that are not. | |
7039 # We use the long form for the default assignment because of an extremely | |
7040 # bizarre bug on SunOS 4.1.3. | |
7041 if $ac_need_defaults; then | |
7042 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files | |
7043 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers | |
7044 fi | |
7045 | |
7046 # Have a temporary directory for convenience. Make it in the build tree | |
7047 # simply because there is no reason against having it here, and in addition, | |
7048 # creating and moving files from /tmp can sometimes cause problems. | |
7049 # Hook for its removal unless debugging. | |
7050 # Note that there is a small window in which the directory will not be cleaned: | |
7051 # after its creation but before its name has been assigned to `$tmp'. | |
7052 $debug || | |
7053 { | |
7054 tmp= | |
7055 trap 'exit_status=$? | |
7056 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status | |
7057 ' 0 | |
7058 trap '{ (exit 1); exit 1; }' 1 2 13 15 | |
7059 } | |
7060 # Create a (secure) tmp directory for tmp files. | |
7061 | |
7062 { | |
7063 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && | |
7064 test -n "$tmp" && test -d "$tmp" | |
7065 } || | |
7066 { | |
7067 tmp=./conf$$-$RANDOM | |
7068 (umask 077 && mkdir "$tmp") | |
7069 } || | |
7070 { | |
7071 echo "$me: cannot create a temporary directory in ." >&2 | |
7072 { (exit 1); exit 1; } | |
7073 } | |
7074 | |
7075 # | |
7076 # Set up the sed scripts for CONFIG_FILES section. | |
7077 # | |
7078 | |
7079 # No need to generate the scripts if there are no CONFIG_FILES. | |
7080 # This happens for instance when ./config.status config.h | |
7081 if test -n "$CONFIG_FILES"; then | |
7082 | |
7083 _ACEOF | |
7084 | |
7085 | |
7086 | |
7087 ac_delim='%!_!# ' | |
7088 for ac_last_try in false false false false false :; do | |
7089 cat >conf$$subs.sed <<_ACEOF | |
7090 SHELL!$SHELL$ac_delim | |
7091 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim | |
7092 PACKAGE_NAME!$PACKAGE_NAME$ac_delim | |
7093 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim | |
7094 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim | |
7095 PACKAGE_STRING!$PACKAGE_STRING$ac_delim | |
7096 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim | |
7097 exec_prefix!$exec_prefix$ac_delim | |
7098 prefix!$prefix$ac_delim | |
7099 program_transform_name!$program_transform_name$ac_delim | |
7100 bindir!$bindir$ac_delim | |
7101 sbindir!$sbindir$ac_delim | |
7102 libexecdir!$libexecdir$ac_delim | |
7103 datarootdir!$datarootdir$ac_delim | |
7104 datadir!$datadir$ac_delim | |
7105 sysconfdir!$sysconfdir$ac_delim | |
7106 sharedstatedir!$sharedstatedir$ac_delim | |
7107 localstatedir!$localstatedir$ac_delim | |
7108 includedir!$includedir$ac_delim | |
7109 oldincludedir!$oldincludedir$ac_delim | |
7110 docdir!$docdir$ac_delim | |
7111 infodir!$infodir$ac_delim | |
7112 htmldir!$htmldir$ac_delim | |
7113 dvidir!$dvidir$ac_delim | |
7114 pdfdir!$pdfdir$ac_delim | |
7115 psdir!$psdir$ac_delim | |
7116 libdir!$libdir$ac_delim | |
7117 localedir!$localedir$ac_delim | |
7118 mandir!$mandir$ac_delim | |
7119 DEFS!$DEFS$ac_delim | |
7120 ECHO_C!$ECHO_C$ac_delim | |
7121 ECHO_N!$ECHO_N$ac_delim | |
7122 ECHO_T!$ECHO_T$ac_delim | |
7123 LIBS!$LIBS$ac_delim | |
7124 build_alias!$build_alias$ac_delim | |
7125 host_alias!$host_alias$ac_delim | |
7126 target_alias!$target_alias$ac_delim | |
7127 TARGET!$TARGET$ac_delim | |
7128 TARGET2!$TARGET2$ac_delim | |
7129 DW_MAJOR_VERSION!$DW_MAJOR_VERSION$ac_delim | |
7130 DW_MINOR_VERSION!$DW_MINOR_VERSION$ac_delim | |
7131 DW_SUB_VERSION!$DW_SUB_VERSION$ac_delim | |
7132 CC!$CC$ac_delim | |
7133 CFLAGS!$CFLAGS$ac_delim | |
7134 LDFLAGS!$LDFLAGS$ac_delim | |
7135 CPPFLAGS!$CPPFLAGS$ac_delim | |
7136 ac_ct_CC!$ac_ct_CC$ac_delim | |
7137 EXEEXT!$EXEEXT$ac_delim | |
7138 OBJEXT!$OBJEXT$ac_delim | |
7139 CXX!$CXX$ac_delim | |
7140 CXXFLAGS!$CXXFLAGS$ac_delim | |
7141 ac_ct_CXX!$ac_ct_CXX$ac_delim | |
7142 MAKE!$MAKE$ac_delim | |
7143 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim | |
7144 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim | |
7145 INSTALL_DATA!$INSTALL_DATA$ac_delim | |
7146 SYSCONF_LINK_TARGET_SHARED!$SYSCONF_LINK_TARGET_SHARED$ac_delim | |
7147 SYSCONF_LINK_TARGET_SHARED2!$SYSCONF_LINK_TARGET_SHARED2$ac_delim | |
7148 CPP!$CPP$ac_delim | |
7149 GREP!$GREP$ac_delim | |
7150 EGREP!$EGREP$ac_delim | |
7151 PKG_CFG!$PKG_CFG$ac_delim | |
7152 GLIB_CONFIG!$GLIB_CONFIG$ac_delim | |
7153 GLIB_CFLAGS!$GLIB_CFLAGS$ac_delim | |
7154 GLIB_LIBS!$GLIB_LIBS$ac_delim | |
7155 GTK_CONFIG!$GTK_CONFIG$ac_delim | |
7156 GTK_CFLAGS!$GTK_CFLAGS$ac_delim | |
7157 GTK_LIBS!$GTK_LIBS$ac_delim | |
7158 IMLIB_CONFIG!$IMLIB_CONFIG$ac_delim | |
7159 GDK_IMLIB_CFLAGS!$GDK_IMLIB_CFLAGS$ac_delim | |
7160 GDK_IMLIB_LIBS!$GDK_IMLIB_LIBS$ac_delim | |
7161 INCLUDES!$INCLUDES$ac_delim | |
7162 RM!$RM$ac_delim | |
7163 LN!$LN$ac_delim | |
7164 CP!$CP$ac_delim | |
7165 MV!$MV$ac_delim | |
7166 MKDIR!$MKDIR$ac_delim | |
7167 SHAREDFLAG!$SHAREDFLAG$ac_delim | |
7168 SOSUFFIX!$SOSUFFIX$ac_delim | |
7169 DW_SRC!$DW_SRC$ac_delim | |
7170 DW_DEFINE!$DW_DEFINE$ac_delim | |
7171 BROWSER_OBJECT!$BROWSER_OBJECT$ac_delim | |
7172 COMPAT_OBJECT!$COMPAT_OBJECT$ac_delim | |
7173 INSTALL_COMPAT!$INSTALL_COMPAT$ac_delim | |
7174 LIBOBJS!$LIBOBJS$ac_delim | |
7175 LTLIBOBJS!$LTLIBOBJS$ac_delim | |
7176 _ACEOF | |
7177 | |
7178 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 86; then | |
7179 break | |
7180 elif $ac_last_try; then | |
7181 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 | |
7182 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} | |
7183 { (exit 1); exit 1; }; } | |
7184 else | |
7185 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " | |
7186 fi | |
7187 done | |
7188 | |
7189 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` | |
7190 if test -n "$ac_eof"; then | |
7191 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` | |
7192 ac_eof=`expr $ac_eof + 1` | |
7193 fi | |
7194 | |
7195 cat >>$CONFIG_STATUS <<_ACEOF | |
7196 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof | |
7197 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end | |
7198 _ACEOF | |
7199 sed ' | |
7200 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g | |
7201 s/^/s,@/; s/!/@,|#_!!_#|/ | |
7202 :n | |
7203 t n | |
7204 s/'"$ac_delim"'$/,g/; t | |
7205 s/$/\\/; p | |
7206 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n | |
7207 ' >>$CONFIG_STATUS <conf$$subs.sed | |
7208 rm -f conf$$subs.sed | |
7209 cat >>$CONFIG_STATUS <<_ACEOF | |
7210 :end | |
7211 s/|#_!!_#|//g | |
7212 CEOF$ac_eof | |
7213 _ACEOF | |
7214 | |
7215 | |
7216 # VPATH may cause trouble with some makes, so we remove $(srcdir), | |
7217 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and | |
7218 # trailing colons and then remove the whole line if VPATH becomes empty | |
7219 # (actually we leave an empty line to preserve line numbers). | |
7220 if test "x$srcdir" = x.; then | |
7221 ac_vpsub='/^[ ]*VPATH[ ]*=/{ | |
7222 s/:*\$(srcdir):*/:/ | |
7223 s/:*\${srcdir}:*/:/ | |
7224 s/:*@srcdir@:*/:/ | |
7225 s/^\([^=]*=[ ]*\):*/\1/ | |
7226 s/:*$// | |
7227 s/^[^=]*=[ ]*$// | |
7228 }' | |
7229 fi | |
7230 | |
7231 cat >>$CONFIG_STATUS <<\_ACEOF | |
7232 fi # test -n "$CONFIG_FILES" | |
7233 | |
7234 | |
7235 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS | |
7236 do | |
7237 case $ac_tag in | |
7238 :[FHLC]) ac_mode=$ac_tag; continue;; | |
7239 esac | |
7240 case $ac_mode$ac_tag in | |
7241 :[FHL]*:*);; | |
7242 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 | |
7243 echo "$as_me: error: Invalid tag $ac_tag." >&2;} | |
7244 { (exit 1); exit 1; }; };; | |
7245 :[FH]-) ac_tag=-:-;; | |
7246 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; | |
7247 esac | |
7248 ac_save_IFS=$IFS | |
7249 IFS=: | |
7250 set x $ac_tag | |
7251 IFS=$ac_save_IFS | |
7252 shift | |
7253 ac_file=$1 | |
7254 shift | |
7255 | |
7256 case $ac_mode in | |
7257 :L) ac_source=$1;; | |
7258 :[FH]) | |
7259 ac_file_inputs= | |
7260 for ac_f | |
7261 do | |
7262 case $ac_f in | |
7263 -) ac_f="$tmp/stdin";; | |
7264 *) # Look for the file first in the build tree, then in the source tree | |
7265 # (if the path is not absolute). The absolute path cannot be DOS-style, | |
7266 # because $ac_f cannot contain `:'. | |
7267 test -f "$ac_f" || | |
7268 case $ac_f in | |
7269 [\\/$]*) false;; | |
7270 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; | |
7271 esac || | |
7272 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 | |
7273 echo "$as_me: error: cannot find input file: $ac_f" >&2;} | |
7274 { (exit 1); exit 1; }; };; | |
7275 esac | |
7276 ac_file_inputs="$ac_file_inputs $ac_f" | |
7277 done | |
7278 | |
7279 # Let's still pretend it is `configure' which instantiates (i.e., don't | |
7280 # use $as_me), people would be surprised to read: | |
7281 # /* config.h. Generated by config.status. */ | |
7282 configure_input="Generated from "`IFS=: | |
7283 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." | |
7284 if test x"$ac_file" != x-; then | |
7285 configure_input="$ac_file. $configure_input" | |
7286 { echo "$as_me:$LINENO: creating $ac_file" >&5 | |
7287 echo "$as_me: creating $ac_file" >&6;} | |
7288 fi | |
7289 | |
7290 case $ac_tag in | |
7291 *:-:* | *:-) cat >"$tmp/stdin";; | |
7292 esac | |
7293 ;; | |
7294 esac | |
7295 | |
7296 ac_dir=`$as_dirname -- "$ac_file" || | |
7297 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
7298 X"$ac_file" : 'X\(//\)[^/]' \| \ | |
7299 X"$ac_file" : 'X\(//\)$' \| \ | |
7300 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || | |
7301 echo X"$ac_file" | | |
7302 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
7303 s//\1/ | |
7304 q | |
7305 } | |
7306 /^X\(\/\/\)[^/].*/{ | |
7307 s//\1/ | |
7308 q | |
7309 } | |
7310 /^X\(\/\/\)$/{ | |
7311 s//\1/ | |
7312 q | |
7313 } | |
7314 /^X\(\/\).*/{ | |
7315 s//\1/ | |
7316 q | |
7317 } | |
7318 s/.*/./; q'` | |
7319 { as_dir="$ac_dir" | |
7320 case $as_dir in #( | 5939 case $as_dir in #( |
7321 -*) as_dir=./$as_dir;; | 5940 -*) as_dir=./$as_dir;; |
7322 esac | 5941 esac |
7323 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { | 5942 test -d "$as_dir" || eval $as_mkdir_p || { |
7324 as_dirs= | 5943 as_dirs= |
7325 while :; do | 5944 while :; do |
7326 case $as_dir in #( | 5945 case $as_dir in #( |
7327 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( | 5946 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
7328 *) as_qdir=$as_dir;; | 5947 *) as_qdir=$as_dir;; |
7329 esac | 5948 esac |
7330 as_dirs="'$as_qdir' $as_dirs" | 5949 as_dirs="'$as_qdir' $as_dirs" |
7331 as_dir=`$as_dirname -- "$as_dir" || | 5950 as_dir=`$as_dirname -- "$as_dir" || |
7332 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 5951 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
7333 X"$as_dir" : 'X\(//\)[^/]' \| \ | 5952 X"$as_dir" : 'X\(//\)[^/]' \| \ |
7334 X"$as_dir" : 'X\(//\)$' \| \ | 5953 X"$as_dir" : 'X\(//\)$' \| \ |
7335 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || | 5954 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
7336 echo X"$as_dir" | | 5955 $as_echo X"$as_dir" | |
7337 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | 5956 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
7338 s//\1/ | 5957 s//\1/ |
7339 q | 5958 q |
7340 } | 5959 } |
7341 /^X\(\/\/\)[^/].*/{ | 5960 /^X\(\/\/\)[^/].*/{ |
7352 } | 5971 } |
7353 s/.*/./; q'` | 5972 s/.*/./; q'` |
7354 test -d "$as_dir" && break | 5973 test -d "$as_dir" && break |
7355 done | 5974 done |
7356 test -z "$as_dirs" || eval "mkdir $as_dirs" | 5975 test -z "$as_dirs" || eval "mkdir $as_dirs" |
7357 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 | 5976 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" |
7358 echo "$as_me: error: cannot create directory $as_dir" >&2;} | 5977 |
7359 { (exit 1); exit 1; }; }; } | 5978 |
5979 } # as_fn_mkdir_p | |
5980 if mkdir -p . 2>/dev/null; then | |
5981 as_mkdir_p='mkdir -p "$as_dir"' | |
5982 else | |
5983 test -d ./-p && rmdir ./-p | |
5984 as_mkdir_p=false | |
5985 fi | |
5986 | |
5987 if test -x / >/dev/null 2>&1; then | |
5988 as_test_x='test -x' | |
5989 else | |
5990 if ls -dL / >/dev/null 2>&1; then | |
5991 as_ls_L_option=L | |
5992 else | |
5993 as_ls_L_option= | |
5994 fi | |
5995 as_test_x=' | |
5996 eval sh -c '\'' | |
5997 if test -d "$1"; then | |
5998 test -d "$1/."; | |
5999 else | |
6000 case $1 in #( | |
6001 -*)set "./$1";; | |
6002 esac; | |
6003 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( | |
6004 ???[sx]*):;;*)false;;esac;fi | |
6005 '\'' sh | |
6006 ' | |
6007 fi | |
6008 as_executable_p=$as_test_x | |
6009 | |
6010 # Sed expression to map a string onto a valid CPP name. | |
6011 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" | |
6012 | |
6013 # Sed expression to map a string onto a valid variable name. | |
6014 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | |
6015 | |
6016 | |
6017 exec 6>&1 | |
6018 ## ----------------------------------- ## | |
6019 ## Main body of $CONFIG_STATUS script. ## | |
6020 ## ----------------------------------- ## | |
6021 _ASEOF | |
6022 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 | |
6023 | |
6024 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
6025 # Save the log message, to keep $0 and so on meaningful, and to | |
6026 # report actual input values of CONFIG_FILES etc. instead of their | |
6027 # values after options handling. | |
6028 ac_log=" | |
6029 This file was extended by $as_me, which was | |
6030 generated by GNU Autoconf 2.64. Invocation command line was | |
6031 | |
6032 CONFIG_FILES = $CONFIG_FILES | |
6033 CONFIG_HEADERS = $CONFIG_HEADERS | |
6034 CONFIG_LINKS = $CONFIG_LINKS | |
6035 CONFIG_COMMANDS = $CONFIG_COMMANDS | |
6036 $ $0 $@ | |
6037 | |
6038 on `(hostname || uname -n) 2>/dev/null | sed 1q` | |
6039 " | |
6040 | |
6041 _ACEOF | |
6042 | |
6043 case $ac_config_files in *" | |
6044 "*) set x $ac_config_files; shift; ac_config_files=$*;; | |
6045 esac | |
6046 | |
6047 case $ac_config_headers in *" | |
6048 "*) set x $ac_config_headers; shift; ac_config_headers=$*;; | |
6049 esac | |
6050 | |
6051 | |
6052 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
6053 # Files that config.status was made for. | |
6054 config_files="$ac_config_files" | |
6055 config_headers="$ac_config_headers" | |
6056 | |
6057 _ACEOF | |
6058 | |
6059 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
6060 ac_cs_usage="\ | |
6061 \`$as_me' instantiates files and other configuration actions | |
6062 from templates according to the current configuration. Unless the files | |
6063 and actions are specified as TAGs, all are instantiated by default. | |
6064 | |
6065 Usage: $0 [OPTION]... [TAG]... | |
6066 | |
6067 -h, --help print this help, then exit | |
6068 -V, --version print version number and configuration settings, then exit | |
6069 -q, --quiet, --silent | |
6070 do not print progress messages | |
6071 -d, --debug don't remove temporary files | |
6072 --recheck update $as_me by reconfiguring in the same conditions | |
6073 --file=FILE[:TEMPLATE] | |
6074 instantiate the configuration file FILE | |
6075 --header=FILE[:TEMPLATE] | |
6076 instantiate the configuration header FILE | |
6077 | |
6078 Configuration files: | |
6079 $config_files | |
6080 | |
6081 Configuration headers: | |
6082 $config_headers | |
6083 | |
6084 Report bugs to the package provider." | |
6085 | |
6086 _ACEOF | |
6087 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
6088 ac_cs_version="\\ | |
6089 config.status | |
6090 configured by $0, generated by GNU Autoconf 2.64, | |
6091 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" | |
6092 | |
6093 Copyright (C) 2009 Free Software Foundation, Inc. | |
6094 This config.status script is free software; the Free Software Foundation | |
6095 gives unlimited permission to copy, distribute and modify it." | |
6096 | |
6097 ac_pwd='$ac_pwd' | |
6098 srcdir='$srcdir' | |
6099 INSTALL='$INSTALL' | |
6100 test -n "\$AWK" || AWK=awk | |
6101 _ACEOF | |
6102 | |
6103 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
6104 # The default lists apply if the user does not specify any file. | |
6105 ac_need_defaults=: | |
6106 while test $# != 0 | |
6107 do | |
6108 case $1 in | |
6109 --*=*) | |
6110 ac_option=`expr "X$1" : 'X\([^=]*\)='` | |
6111 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` | |
6112 ac_shift=: | |
6113 ;; | |
6114 *) | |
6115 ac_option=$1 | |
6116 ac_optarg=$2 | |
6117 ac_shift=shift | |
6118 ;; | |
6119 esac | |
6120 | |
6121 case $ac_option in | |
6122 # Handling of the options. | |
6123 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) | |
6124 ac_cs_recheck=: ;; | |
6125 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) | |
6126 $as_echo "$ac_cs_version"; exit ;; | |
6127 --debug | --debu | --deb | --de | --d | -d ) | |
6128 debug=: ;; | |
6129 --file | --fil | --fi | --f ) | |
6130 $ac_shift | |
6131 case $ac_optarg in | |
6132 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; | |
6133 esac | |
6134 as_fn_append CONFIG_FILES " '$ac_optarg'" | |
6135 ac_need_defaults=false;; | |
6136 --header | --heade | --head | --hea ) | |
6137 $ac_shift | |
6138 case $ac_optarg in | |
6139 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; | |
6140 esac | |
6141 as_fn_append CONFIG_HEADERS " '$ac_optarg'" | |
6142 ac_need_defaults=false;; | |
6143 --he | --h) | |
6144 # Conflict between --help and --header | |
6145 as_fn_error "ambiguous option: \`$1' | |
6146 Try \`$0 --help' for more information.";; | |
6147 --help | --hel | -h ) | |
6148 $as_echo "$ac_cs_usage"; exit ;; | |
6149 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | |
6150 | -silent | --silent | --silen | --sile | --sil | --si | --s) | |
6151 ac_cs_silent=: ;; | |
6152 | |
6153 # This is an error. | |
6154 -*) as_fn_error "unrecognized option: \`$1' | |
6155 Try \`$0 --help' for more information." ;; | |
6156 | |
6157 *) as_fn_append ac_config_targets " $1" | |
6158 ac_need_defaults=false ;; | |
6159 | |
6160 esac | |
6161 shift | |
6162 done | |
6163 | |
6164 ac_configure_extra_args= | |
6165 | |
6166 if $ac_cs_silent; then | |
6167 exec 6>/dev/null | |
6168 ac_configure_extra_args="$ac_configure_extra_args --silent" | |
6169 fi | |
6170 | |
6171 _ACEOF | |
6172 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
6173 if \$ac_cs_recheck; then | |
6174 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion | |
6175 shift | |
6176 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 | |
6177 CONFIG_SHELL='$SHELL' | |
6178 export CONFIG_SHELL | |
6179 exec "\$@" | |
6180 fi | |
6181 | |
6182 _ACEOF | |
6183 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
6184 exec 5>>config.log | |
6185 { | |
6186 echo | |
6187 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX | |
6188 ## Running $as_me. ## | |
6189 _ASBOX | |
6190 $as_echo "$ac_log" | |
6191 } >&5 | |
6192 | |
6193 _ACEOF | |
6194 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
6195 _ACEOF | |
6196 | |
6197 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
6198 | |
6199 # Handling of arguments. | |
6200 for ac_config_target in $ac_config_targets | |
6201 do | |
6202 case $ac_config_target in | |
6203 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; | |
6204 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; | |
6205 "dwindows-config") CONFIG_FILES="$CONFIG_FILES dwindows-config" ;; | |
6206 | |
6207 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; | |
6208 esac | |
6209 done | |
6210 | |
6211 | |
6212 # If the user did not use the arguments to specify the items to instantiate, | |
6213 # then the envvar interface is used. Set only those that are not. | |
6214 # We use the long form for the default assignment because of an extremely | |
6215 # bizarre bug on SunOS 4.1.3. | |
6216 if $ac_need_defaults; then | |
6217 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files | |
6218 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers | |
6219 fi | |
6220 | |
6221 # Have a temporary directory for convenience. Make it in the build tree | |
6222 # simply because there is no reason against having it here, and in addition, | |
6223 # creating and moving files from /tmp can sometimes cause problems. | |
6224 # Hook for its removal unless debugging. | |
6225 # Note that there is a small window in which the directory will not be cleaned: | |
6226 # after its creation but before its name has been assigned to `$tmp'. | |
6227 $debug || | |
6228 { | |
6229 tmp= | |
6230 trap 'exit_status=$? | |
6231 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status | |
6232 ' 0 | |
6233 trap 'as_fn_exit 1' 1 2 13 15 | |
6234 } | |
6235 # Create a (secure) tmp directory for tmp files. | |
6236 | |
6237 { | |
6238 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && | |
6239 test -n "$tmp" && test -d "$tmp" | |
6240 } || | |
6241 { | |
6242 tmp=./conf$$-$RANDOM | |
6243 (umask 077 && mkdir "$tmp") | |
6244 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 | |
6245 | |
6246 # Set up the scripts for CONFIG_FILES section. | |
6247 # No need to generate them if there are no CONFIG_FILES. | |
6248 # This happens for instance with `./config.status config.h'. | |
6249 if test -n "$CONFIG_FILES"; then | |
6250 | |
6251 | |
6252 ac_cr=`echo X | tr X '\015'` | |
6253 # On cygwin, bash can eat \r inside `` if the user requested igncr. | |
6254 # But we know of no other shell where ac_cr would be empty at this | |
6255 # point, so we can use a bashism as a fallback. | |
6256 if test "x$ac_cr" = x; then | |
6257 eval ac_cr=\$\'\\r\' | |
6258 fi | |
6259 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` | |
6260 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then | |
6261 ac_cs_awk_cr='\r' | |
6262 else | |
6263 ac_cs_awk_cr=$ac_cr | |
6264 fi | |
6265 | |
6266 echo 'BEGIN {' >"$tmp/subs1.awk" && | |
6267 _ACEOF | |
6268 | |
6269 | |
6270 { | |
6271 echo "cat >conf$$subs.awk <<_ACEOF" && | |
6272 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && | |
6273 echo "_ACEOF" | |
6274 } >conf$$subs.sh || | |
6275 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 | |
6276 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` | |
6277 ac_delim='%!_!# ' | |
6278 for ac_last_try in false false false false false :; do | |
6279 . ./conf$$subs.sh || | |
6280 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 | |
6281 | |
6282 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` | |
6283 if test $ac_delim_n = $ac_delim_num; then | |
6284 break | |
6285 elif $ac_last_try; then | |
6286 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 | |
6287 else | |
6288 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " | |
6289 fi | |
6290 done | |
6291 rm -f conf$$subs.sh | |
6292 | |
6293 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
6294 cat >>"\$tmp/subs1.awk" <<\\_ACAWK && | |
6295 _ACEOF | |
6296 sed -n ' | |
6297 h | |
6298 s/^/S["/; s/!.*/"]=/ | |
6299 p | |
6300 g | |
6301 s/^[^!]*!// | |
6302 :repl | |
6303 t repl | |
6304 s/'"$ac_delim"'$// | |
6305 t delim | |
6306 :nl | |
6307 h | |
6308 s/\(.\{148\}\).*/\1/ | |
6309 t more1 | |
6310 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ | |
6311 p | |
6312 n | |
6313 b repl | |
6314 :more1 | |
6315 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ | |
6316 p | |
6317 g | |
6318 s/.\{148\}// | |
6319 t nl | |
6320 :delim | |
6321 h | |
6322 s/\(.\{148\}\).*/\1/ | |
6323 t more2 | |
6324 s/["\\]/\\&/g; s/^/"/; s/$/"/ | |
6325 p | |
6326 b | |
6327 :more2 | |
6328 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ | |
6329 p | |
6330 g | |
6331 s/.\{148\}// | |
6332 t delim | |
6333 ' <conf$$subs.awk | sed ' | |
6334 /^[^""]/{ | |
6335 N | |
6336 s/\n// | |
6337 } | |
6338 ' >>$CONFIG_STATUS || ac_write_fail=1 | |
6339 rm -f conf$$subs.awk | |
6340 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
6341 _ACAWK | |
6342 cat >>"\$tmp/subs1.awk" <<_ACAWK && | |
6343 for (key in S) S_is_set[key] = 1 | |
6344 FS = "" | |
6345 | |
6346 } | |
6347 { | |
6348 line = $ 0 | |
6349 nfields = split(line, field, "@") | |
6350 substed = 0 | |
6351 len = length(field[1]) | |
6352 for (i = 2; i < nfields; i++) { | |
6353 key = field[i] | |
6354 keylen = length(key) | |
6355 if (S_is_set[key]) { | |
6356 value = S[key] | |
6357 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) | |
6358 len += length(value) + length(field[++i]) | |
6359 substed = 1 | |
6360 } else | |
6361 len += 1 + keylen | |
6362 } | |
6363 | |
6364 print line | |
6365 } | |
6366 | |
6367 _ACAWK | |
6368 _ACEOF | |
6369 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
6370 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then | |
6371 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" | |
6372 else | |
6373 cat | |
6374 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ | |
6375 || as_fn_error "could not setup config files machinery" "$LINENO" 5 | |
6376 _ACEOF | |
6377 | |
6378 # VPATH may cause trouble with some makes, so we remove $(srcdir), | |
6379 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and | |
6380 # trailing colons and then remove the whole line if VPATH becomes empty | |
6381 # (actually we leave an empty line to preserve line numbers). | |
6382 if test "x$srcdir" = x.; then | |
6383 ac_vpsub='/^[ ]*VPATH[ ]*=/{ | |
6384 s/:*\$(srcdir):*/:/ | |
6385 s/:*\${srcdir}:*/:/ | |
6386 s/:*@srcdir@:*/:/ | |
6387 s/^\([^=]*=[ ]*\):*/\1/ | |
6388 s/:*$// | |
6389 s/^[^=]*=[ ]*$// | |
6390 }' | |
6391 fi | |
6392 | |
6393 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
6394 fi # test -n "$CONFIG_FILES" | |
6395 | |
6396 # Set up the scripts for CONFIG_HEADERS section. | |
6397 # No need to generate them if there are no CONFIG_HEADERS. | |
6398 # This happens for instance with `./config.status Makefile'. | |
6399 if test -n "$CONFIG_HEADERS"; then | |
6400 cat >"$tmp/defines.awk" <<\_ACAWK || | |
6401 BEGIN { | |
6402 _ACEOF | |
6403 | |
6404 # Transform confdefs.h into an awk script `defines.awk', embedded as | |
6405 # here-document in config.status, that substitutes the proper values into | |
6406 # config.h.in to produce config.h. | |
6407 | |
6408 # Create a delimiter string that does not exist in confdefs.h, to ease | |
6409 # handling of long lines. | |
6410 ac_delim='%!_!# ' | |
6411 for ac_last_try in false false :; do | |
6412 ac_t=`sed -n "/$ac_delim/p" confdefs.h` | |
6413 if test -z "$ac_t"; then | |
6414 break | |
6415 elif $ac_last_try; then | |
6416 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 | |
6417 else | |
6418 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " | |
6419 fi | |
6420 done | |
6421 | |
6422 # For the awk script, D is an array of macro values keyed by name, | |
6423 # likewise P contains macro parameters if any. Preserve backslash | |
6424 # newline sequences. | |
6425 | |
6426 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* | |
6427 sed -n ' | |
6428 s/.\{148\}/&'"$ac_delim"'/g | |
6429 t rset | |
6430 :rset | |
6431 s/^[ ]*#[ ]*define[ ][ ]*/ / | |
6432 t def | |
6433 d | |
6434 :def | |
6435 s/\\$// | |
6436 t bsnl | |
6437 s/["\\]/\\&/g | |
6438 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ | |
6439 D["\1"]=" \3"/p | |
6440 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p | |
6441 d | |
6442 :bsnl | |
6443 s/["\\]/\\&/g | |
6444 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ | |
6445 D["\1"]=" \3\\\\\\n"\\/p | |
6446 t cont | |
6447 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p | |
6448 t cont | |
6449 d | |
6450 :cont | |
6451 n | |
6452 s/.\{148\}/&'"$ac_delim"'/g | |
6453 t clear | |
6454 :clear | |
6455 s/\\$// | |
6456 t bsnlc | |
6457 s/["\\]/\\&/g; s/^/"/; s/$/"/p | |
6458 d | |
6459 :bsnlc | |
6460 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p | |
6461 b cont | |
6462 ' <confdefs.h | sed ' | |
6463 s/'"$ac_delim"'/"\\\ | |
6464 "/g' >>$CONFIG_STATUS || ac_write_fail=1 | |
6465 | |
6466 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
6467 for (key in D) D_is_set[key] = 1 | |
6468 FS = "" | |
6469 } | |
6470 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { | |
6471 line = \$ 0 | |
6472 split(line, arg, " ") | |
6473 if (arg[1] == "#") { | |
6474 defundef = arg[2] | |
6475 mac1 = arg[3] | |
6476 } else { | |
6477 defundef = substr(arg[1], 2) | |
6478 mac1 = arg[2] | |
6479 } | |
6480 split(mac1, mac2, "(") #) | |
6481 macro = mac2[1] | |
6482 prefix = substr(line, 1, index(line, defundef) - 1) | |
6483 if (D_is_set[macro]) { | |
6484 # Preserve the white space surrounding the "#". | |
6485 print prefix "define", macro P[macro] D[macro] | |
6486 next | |
6487 } else { | |
6488 # Replace #undef with comments. This is necessary, for example, | |
6489 # in the case of _POSIX_SOURCE, which is predefined and required | |
6490 # on some systems where configure will not decide to define it. | |
6491 if (defundef == "undef") { | |
6492 print "/*", prefix defundef, macro, "*/" | |
6493 next | |
6494 } | |
6495 } | |
6496 } | |
6497 { print } | |
6498 _ACAWK | |
6499 _ACEOF | |
6500 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
6501 as_fn_error "could not setup config headers machinery" "$LINENO" 5 | |
6502 fi # test -n "$CONFIG_HEADERS" | |
6503 | |
6504 | |
6505 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS " | |
6506 shift | |
6507 for ac_tag | |
6508 do | |
6509 case $ac_tag in | |
6510 :[FHLC]) ac_mode=$ac_tag; continue;; | |
6511 esac | |
6512 case $ac_mode$ac_tag in | |
6513 :[FHL]*:*);; | |
6514 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; | |
6515 :[FH]-) ac_tag=-:-;; | |
6516 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; | |
6517 esac | |
6518 ac_save_IFS=$IFS | |
6519 IFS=: | |
6520 set x $ac_tag | |
6521 IFS=$ac_save_IFS | |
6522 shift | |
6523 ac_file=$1 | |
6524 shift | |
6525 | |
6526 case $ac_mode in | |
6527 :L) ac_source=$1;; | |
6528 :[FH]) | |
6529 ac_file_inputs= | |
6530 for ac_f | |
6531 do | |
6532 case $ac_f in | |
6533 -) ac_f="$tmp/stdin";; | |
6534 *) # Look for the file first in the build tree, then in the source tree | |
6535 # (if the path is not absolute). The absolute path cannot be DOS-style, | |
6536 # because $ac_f cannot contain `:'. | |
6537 test -f "$ac_f" || | |
6538 case $ac_f in | |
6539 [\\/$]*) false;; | |
6540 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; | |
6541 esac || | |
6542 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; | |
6543 esac | |
6544 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac | |
6545 as_fn_append ac_file_inputs " '$ac_f'" | |
6546 done | |
6547 | |
6548 # Let's still pretend it is `configure' which instantiates (i.e., don't | |
6549 # use $as_me), people would be surprised to read: | |
6550 # /* config.h. Generated by config.status. */ | |
6551 configure_input='Generated from '` | |
6552 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' | |
6553 `' by configure.' | |
6554 if test x"$ac_file" != x-; then | |
6555 configure_input="$ac_file. $configure_input" | |
6556 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 | |
6557 $as_echo "$as_me: creating $ac_file" >&6;} | |
6558 fi | |
6559 # Neutralize special characters interpreted by sed in replacement strings. | |
6560 case $configure_input in #( | |
6561 *\&* | *\|* | *\\* ) | |
6562 ac_sed_conf_input=`$as_echo "$configure_input" | | |
6563 sed 's/[\\\\&|]/\\\\&/g'`;; #( | |
6564 *) ac_sed_conf_input=$configure_input;; | |
6565 esac | |
6566 | |
6567 case $ac_tag in | |
6568 *:-:* | *:-) cat >"$tmp/stdin" \ | |
6569 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; | |
6570 esac | |
6571 ;; | |
6572 esac | |
6573 | |
6574 ac_dir=`$as_dirname -- "$ac_file" || | |
6575 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
6576 X"$ac_file" : 'X\(//\)[^/]' \| \ | |
6577 X"$ac_file" : 'X\(//\)$' \| \ | |
6578 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || | |
6579 $as_echo X"$ac_file" | | |
6580 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
6581 s//\1/ | |
6582 q | |
6583 } | |
6584 /^X\(\/\/\)[^/].*/{ | |
6585 s//\1/ | |
6586 q | |
6587 } | |
6588 /^X\(\/\/\)$/{ | |
6589 s//\1/ | |
6590 q | |
6591 } | |
6592 /^X\(\/\).*/{ | |
6593 s//\1/ | |
6594 q | |
6595 } | |
6596 s/.*/./; q'` | |
6597 as_dir="$ac_dir"; as_fn_mkdir_p | |
7360 ac_builddir=. | 6598 ac_builddir=. |
7361 | 6599 |
7362 case "$ac_dir" in | 6600 case "$ac_dir" in |
7363 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; | 6601 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
7364 *) | 6602 *) |
7365 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` | 6603 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
7366 # A ".." for each directory in $ac_dir_suffix. | 6604 # A ".." for each directory in $ac_dir_suffix. |
7367 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` | 6605 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
7368 case $ac_top_builddir_sub in | 6606 case $ac_top_builddir_sub in |
7369 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; | 6607 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
7370 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; | 6608 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
7371 esac ;; | 6609 esac ;; |
7372 esac | 6610 esac |
7402 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; | 6640 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
7403 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; | 6641 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; |
7404 esac | 6642 esac |
7405 _ACEOF | 6643 _ACEOF |
7406 | 6644 |
7407 cat >>$CONFIG_STATUS <<\_ACEOF | 6645 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
7408 # If the template does not know about datarootdir, expand it. | 6646 # If the template does not know about datarootdir, expand it. |
7409 # FIXME: This hack should be removed a few years after 2.60. | 6647 # FIXME: This hack should be removed a few years after 2.60. |
7410 ac_datarootdir_hack=; ac_datarootdir_seen= | 6648 ac_datarootdir_hack=; ac_datarootdir_seen= |
7411 | 6649 ac_sed_dataroot=' |
7412 case `sed -n '/datarootdir/ { | 6650 /datarootdir/ { |
7413 p | 6651 p |
7414 q | 6652 q |
7415 } | 6653 } |
7416 /@datadir@/p | 6654 /@datadir@/p |
7417 /@docdir@/p | 6655 /@docdir@/p |
7418 /@infodir@/p | 6656 /@infodir@/p |
7419 /@localedir@/p | 6657 /@localedir@/p |
7420 /@mandir@/p | 6658 /@mandir@/p' |
7421 ' $ac_file_inputs` in | 6659 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in |
7422 *datarootdir*) ac_datarootdir_seen=yes;; | 6660 *datarootdir*) ac_datarootdir_seen=yes;; |
7423 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) | 6661 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) |
7424 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 | 6662 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 |
7425 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} | 6663 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} |
7426 _ACEOF | 6664 _ACEOF |
7427 cat >>$CONFIG_STATUS <<_ACEOF | 6665 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
7428 ac_datarootdir_hack=' | 6666 ac_datarootdir_hack=' |
7429 s&@datadir@&$datadir&g | 6667 s&@datadir@&$datadir&g |
7430 s&@docdir@&$docdir&g | 6668 s&@docdir@&$docdir&g |
7431 s&@infodir@&$infodir&g | 6669 s&@infodir@&$infodir&g |
7432 s&@localedir@&$localedir&g | 6670 s&@localedir@&$localedir&g |
7433 s&@mandir@&$mandir&g | 6671 s&@mandir@&$mandir&g |
7434 s&\\\${datarootdir}&$datarootdir&g' ;; | 6672 s&\\\${datarootdir}&$datarootdir&g' ;; |
7435 esac | 6673 esac |
7436 _ACEOF | 6674 _ACEOF |
7437 | 6675 |
7438 # Neutralize VPATH when `$srcdir' = `.'. | 6676 # Neutralize VPATH when `$srcdir' = `.'. |
7439 # Shell code in configure.ac might set extrasub. | 6677 # Shell code in configure.ac might set extrasub. |
7440 # FIXME: do we really want to maintain this feature? | 6678 # FIXME: do we really want to maintain this feature? |
7441 cat >>$CONFIG_STATUS <<_ACEOF | 6679 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
7442 sed "$ac_vpsub | 6680 ac_sed_extra="$ac_vpsub |
7443 $extrasub | 6681 $extrasub |
7444 _ACEOF | 6682 _ACEOF |
7445 cat >>$CONFIG_STATUS <<\_ACEOF | 6683 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
7446 :t | 6684 :t |
7447 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b | 6685 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
7448 s&@configure_input@&$configure_input&;t t | 6686 s|@configure_input@|$ac_sed_conf_input|;t t |
7449 s&@top_builddir@&$ac_top_builddir_sub&;t t | 6687 s&@top_builddir@&$ac_top_builddir_sub&;t t |
6688 s&@top_build_prefix@&$ac_top_build_prefix&;t t | |
7450 s&@srcdir@&$ac_srcdir&;t t | 6689 s&@srcdir@&$ac_srcdir&;t t |
7451 s&@abs_srcdir@&$ac_abs_srcdir&;t t | 6690 s&@abs_srcdir@&$ac_abs_srcdir&;t t |
7452 s&@top_srcdir@&$ac_top_srcdir&;t t | 6691 s&@top_srcdir@&$ac_top_srcdir&;t t |
7453 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t | 6692 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t |
7454 s&@builddir@&$ac_builddir&;t t | 6693 s&@builddir@&$ac_builddir&;t t |
7455 s&@abs_builddir@&$ac_abs_builddir&;t t | 6694 s&@abs_builddir@&$ac_abs_builddir&;t t |
7456 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t | 6695 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
7457 s&@INSTALL@&$ac_INSTALL&;t t | 6696 s&@INSTALL@&$ac_INSTALL&;t t |
7458 $ac_datarootdir_hack | 6697 $ac_datarootdir_hack |
7459 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out | 6698 " |
6699 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ | |
6700 || as_fn_error "could not create $ac_file" "$LINENO" 5 | |
7460 | 6701 |
7461 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && | 6702 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
7462 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && | 6703 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && |
7463 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && | 6704 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && |
7464 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' | 6705 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
7465 which seems to be undefined. Please make sure it is defined." >&5 | 6706 which seems to be undefined. Please make sure it is defined." >&5 |
7466 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' | 6707 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
7467 which seems to be undefined. Please make sure it is defined." >&2;} | 6708 which seems to be undefined. Please make sure it is defined." >&2;} |
7468 | 6709 |
7469 rm -f "$tmp/stdin" | 6710 rm -f "$tmp/stdin" |
7470 case $ac_file in | 6711 case $ac_file in |
7471 -) cat "$tmp/out"; rm -f "$tmp/out";; | 6712 -) cat "$tmp/out" && rm -f "$tmp/out";; |
7472 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; | 6713 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; |
7473 esac | 6714 esac \ |
6715 || as_fn_error "could not create $ac_file" "$LINENO" 5 | |
7474 ;; | 6716 ;; |
7475 :H) | 6717 :H) |
7476 # | 6718 # |
7477 # CONFIG_HEADER | 6719 # CONFIG_HEADER |
7478 # | 6720 # |
7479 _ACEOF | |
7480 | |
7481 # Transform confdefs.h into a sed script `conftest.defines', that | |
7482 # substitutes the proper values into config.h.in to produce config.h. | |
7483 rm -f conftest.defines conftest.tail | |
7484 # First, append a space to every undef/define line, to ease matching. | |
7485 echo 's/$/ /' >conftest.defines | |
7486 # Then, protect against being on the right side of a sed subst, or in | |
7487 # an unquoted here document, in config.status. If some macros were | |
7488 # called several times there might be several #defines for the same | |
7489 # symbol, which is useless. But do not sort them, since the last | |
7490 # AC_DEFINE must be honored. | |
7491 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* | |
7492 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where | |
7493 # NAME is the cpp macro being defined, VALUE is the value it is being given. | |
7494 # PARAMS is the parameter list in the macro definition--in most cases, it's | |
7495 # just an empty string. | |
7496 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*' | |
7497 ac_dB='\\)[ (].*,\\1define\\2' | |
7498 ac_dC=' ' | |
7499 ac_dD=' ,' | |
7500 | |
7501 uniq confdefs.h | | |
7502 sed -n ' | |
7503 t rset | |
7504 :rset | |
7505 s/^[ ]*#[ ]*define[ ][ ]*// | |
7506 t ok | |
7507 d | |
7508 :ok | |
7509 s/[\\&,]/\\&/g | |
7510 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p | |
7511 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p | |
7512 ' >>conftest.defines | |
7513 | |
7514 # Remove the space that was appended to ease matching. | |
7515 # Then replace #undef with comments. This is necessary, for | |
7516 # example, in the case of _POSIX_SOURCE, which is predefined and required | |
7517 # on some systems where configure will not decide to define it. | |
7518 # (The regexp can be short, since the line contains either #define or #undef.) | |
7519 echo 's/ $// | |
7520 s,^[ #]*u.*,/* & */,' >>conftest.defines | |
7521 | |
7522 # Break up conftest.defines: | |
7523 ac_max_sed_lines=50 | |
7524 | |
7525 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1" | |
7526 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2" | |
7527 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1" | |
7528 # et cetera. | |
7529 ac_in='$ac_file_inputs' | |
7530 ac_out='"$tmp/out1"' | |
7531 ac_nxt='"$tmp/out2"' | |
7532 | |
7533 while : | |
7534 do | |
7535 # Write a here document: | |
7536 cat >>$CONFIG_STATUS <<_ACEOF | |
7537 # First, check the format of the line: | |
7538 cat >"\$tmp/defines.sed" <<\\CEOF | |
7539 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def | |
7540 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def | |
7541 b | |
7542 :def | |
7543 _ACEOF | |
7544 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS | |
7545 echo 'CEOF | |
7546 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS | |
7547 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in | |
7548 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail | |
7549 grep . conftest.tail >/dev/null || break | |
7550 rm -f conftest.defines | |
7551 mv conftest.tail conftest.defines | |
7552 done | |
7553 rm -f conftest.defines conftest.tail | |
7554 | |
7555 echo "ac_result=$ac_in" >>$CONFIG_STATUS | |
7556 cat >>$CONFIG_STATUS <<\_ACEOF | |
7557 if test x"$ac_file" != x-; then | 6721 if test x"$ac_file" != x-; then |
7558 echo "/* $configure_input */" >"$tmp/config.h" | 6722 { |
7559 cat "$ac_result" >>"$tmp/config.h" | 6723 $as_echo "/* $configure_input */" \ |
7560 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then | 6724 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" |
7561 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 | 6725 } >"$tmp/config.h" \ |
7562 echo "$as_me: $ac_file is unchanged" >&6;} | 6726 || as_fn_error "could not create $ac_file" "$LINENO" 5 |
6727 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then | |
6728 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 | |
6729 $as_echo "$as_me: $ac_file is unchanged" >&6;} | |
7563 else | 6730 else |
7564 rm -f $ac_file | 6731 rm -f "$ac_file" |
7565 mv "$tmp/config.h" $ac_file | 6732 mv "$tmp/config.h" "$ac_file" \ |
6733 || as_fn_error "could not create $ac_file" "$LINENO" 5 | |
7566 fi | 6734 fi |
7567 else | 6735 else |
7568 echo "/* $configure_input */" | 6736 $as_echo "/* $configure_input */" \ |
7569 cat "$ac_result" | 6737 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ |
6738 || as_fn_error "could not create -" "$LINENO" 5 | |
7570 fi | 6739 fi |
7571 rm -f "$tmp/out12" | |
7572 ;; | 6740 ;; |
7573 | 6741 |
7574 | 6742 |
7575 esac | 6743 esac |
7576 | 6744 |
7577 done # for ac_tag | 6745 done # for ac_tag |
7578 | 6746 |
7579 | 6747 |
7580 { (exit 0); exit 0; } | 6748 as_fn_exit 0 |
7581 _ACEOF | 6749 _ACEOF |
7582 chmod +x $CONFIG_STATUS | |
7583 ac_clean_files=$ac_clean_files_save | 6750 ac_clean_files=$ac_clean_files_save |
6751 | |
6752 test $ac_write_fail = 0 || | |
6753 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 | |
7584 | 6754 |
7585 | 6755 |
7586 # configure is writing to config.log, and then calls config.status. | 6756 # configure is writing to config.log, and then calls config.status. |
7587 # config.status does its own redirection, appending to config.log. | 6757 # config.status does its own redirection, appending to config.log. |
7588 # Unfortunately, on DOS this fails, as config.log is still kept open | 6758 # Unfortunately, on DOS this fails, as config.log is still kept open |
7599 exec 5>/dev/null | 6769 exec 5>/dev/null |
7600 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false | 6770 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
7601 exec 5>>config.log | 6771 exec 5>>config.log |
7602 # Use ||, not &&, to avoid exiting from the if with $? = 1, which | 6772 # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
7603 # would make configure fail if this is the last instruction. | 6773 # would make configure fail if this is the last instruction. |
7604 $ac_cs_success || { (exit 1); exit 1; } | 6774 $ac_cs_success || as_fn_exit $? |
7605 fi | 6775 fi |
7606 | 6776 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then |
6777 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 | |
6778 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} | |
6779 fi | |
6780 |