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.67. |
|
|
4 | # |
4 | # |
5 | # |
5 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
6 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
6 | # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. |
7 | # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software |
|
|
8 | # Foundation, Inc. |
|
|
9 | # |
|
|
10 | # |
7 | # This configure script is free software; the Free Software Foundation |
11 | # This configure script is free software; the Free Software Foundation |
8 | # gives unlimited permission to copy, distribute and modify it. |
12 | # gives unlimited permission to copy, distribute and modify it. |
9 | ## --------------------- ## |
13 | ## -------------------- ## |
10 | ## M4sh Initialization. ## |
14 | ## M4sh Initialization. ## |
11 | ## --------------------- ## |
15 | ## -------------------- ## |
12 | |
16 | |
13 | # Be more Bourne compatible |
17 | # Be more Bourne compatible |
14 | DUALCASE=1; export DUALCASE # for MKS sh |
18 | DUALCASE=1; export DUALCASE # for MKS sh |
15 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
19 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : |
16 | emulate sh |
20 | emulate sh |
17 | NULLCMD=: |
21 | NULLCMD=: |
18 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
22 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
19 | # is contrary to our usage. Disable this feature. |
23 | # is contrary to our usage. Disable this feature. |
20 | alias -g '${1+"$@"}'='"$@"' |
24 | alias -g '${1+"$@"}'='"$@"' |
21 | setopt NO_GLOB_SUBST |
25 | setopt NO_GLOB_SUBST |
22 | else |
26 | else |
23 | case `(set -o) 2>/dev/null` in |
27 | case `(set -o) 2>/dev/null` in #( |
24 | *posix*) set -o posix ;; |
28 | *posix*) : |
|
|
29 | set -o posix ;; #( |
|
|
30 | *) : |
|
|
31 | ;; |
25 | esac |
32 | esac |
26 | |
|
|
27 | fi |
33 | fi |
28 | |
34 | |
29 | |
35 | |
30 | |
36 | as_nl=' |
31 | |
37 | ' |
32 | # PATH needs CR |
38 | export as_nl |
33 | # Avoid depending upon Character Ranges. |
39 | # Printing a long string crashes Solaris 7 /usr/bin/printf. |
34 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
40 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
35 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
41 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
36 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
42 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
37 | as_cr_digits='0123456789' |
43 | # Prefer a ksh shell builtin over an external printf program on Solaris, |
38 | as_cr_alnum=$as_cr_Letters$as_cr_digits |
44 | # but without wasting forks for bash or zsh. |
|
|
45 | if test -z "$BASH_VERSION$ZSH_VERSION" \ |
|
|
46 | && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then |
|
|
47 | as_echo='print -r --' |
|
|
48 | as_echo_n='print -rn --' |
|
|
49 | elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
|
|
50 | as_echo='printf %s\n' |
|
|
51 | as_echo_n='printf %s' |
|
|
52 | else |
|
|
53 | if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then |
|
|
54 | as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' |
|
|
55 | as_echo_n='/usr/ucb/echo -n' |
|
|
56 | else |
|
|
57 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
|
|
58 | as_echo_n_body='eval |
|
|
59 | arg=$1; |
|
|
60 | case $arg in #( |
|
|
61 | *"$as_nl"*) |
|
|
62 | expr "X$arg" : "X\\(.*\\)$as_nl"; |
|
|
63 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
|
|
64 | esac; |
|
|
65 | expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" |
|
|
66 | ' |
|
|
67 | export as_echo_n_body |
|
|
68 | as_echo_n='sh -c $as_echo_n_body as_echo' |
|
|
69 | fi |
|
|
70 | export as_echo_body |
|
|
71 | as_echo='sh -c $as_echo_body as_echo' |
|
|
72 | fi |
39 | |
73 | |
40 | # The user is always right. |
74 | # The user is always right. |
41 | if test "${PATH_SEPARATOR+set}" != set; then |
75 | if test "${PATH_SEPARATOR+set}" != set; then |
42 | echo "#! /bin/sh" >conf$$.sh |
76 | PATH_SEPARATOR=: |
43 | echo "exit 0" >>conf$$.sh |
77 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
44 | chmod +x conf$$.sh |
78 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
45 | if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
|
|
46 | PATH_SEPARATOR=';' |
79 | PATH_SEPARATOR=';' |
47 | else |
80 | } |
48 | PATH_SEPARATOR=: |
|
|
49 | fi |
|
|
50 | rm -f conf$$.sh |
|
|
51 | fi |
|
|
52 | |
|
|
53 | # Support unset when possible. |
|
|
54 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
|
|
55 | as_unset=unset |
|
|
56 | else |
|
|
57 | as_unset=false |
|
|
58 | fi |
81 | fi |
59 | |
82 | |
60 | |
83 | |
61 | # IFS |
84 | # IFS |
62 | # We need space, tab and new line, in precisely that order. Quoting is |
85 | # We need space, tab and new line, in precisely that order. Quoting is |
63 | # there to prevent editors from complaining about space-tab. |
86 | # there to prevent editors from complaining about space-tab. |
64 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
87 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
65 | # splitting by setting IFS to empty value.) |
88 | # splitting by setting IFS to empty value.) |
66 | as_nl=' |
|
|
67 | ' |
|
|
68 | IFS=" "" $as_nl" |
89 | IFS=" "" $as_nl" |
69 | |
90 | |
70 | # Find who we are. Look in the path if we contain no directory separator. |
91 | # Find who we are. Look in the path if we contain no directory separator. |
71 | case $0 in |
92 | case $0 in #(( |
72 | *[\\/]* ) as_myself=$0 ;; |
93 | *[\\/]* ) as_myself=$0 ;; |
73 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
94 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
74 | for as_dir in $PATH |
95 | for as_dir in $PATH |
75 | do |
96 | do |
76 | IFS=$as_save_IFS |
97 | IFS=$as_save_IFS |
77 | test -z "$as_dir" && as_dir=. |
98 | test -z "$as_dir" && as_dir=. |
78 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
99 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
79 | done |
100 | done |
80 | IFS=$as_save_IFS |
101 | IFS=$as_save_IFS |
81 | |
102 | |
82 | ;; |
103 | ;; |
83 | esac |
104 | esac |
84 | # We did not find ourselves, most probably we were run as `sh COMMAND' |
105 | # 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. |
106 | # in which case we are not to be found in the path. |
86 | if test "x$as_myself" = x; then |
107 | if test "x$as_myself" = x; then |
87 | as_myself=$0 |
108 | as_myself=$0 |
88 | fi |
109 | fi |
89 | if test ! -f "$as_myself"; then |
110 | if test ! -f "$as_myself"; then |
90 | echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
111 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
91 | { (exit 1); exit 1; } |
112 | exit 1 |
92 | fi |
113 | fi |
93 | |
114 | |
94 | # Work around bugs in pre-3.0 UWIN ksh. |
115 | # Unset variables that we do not need and which cause bugs (e.g. in |
|
|
116 | # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" |
|
|
117 | # suppresses any "Segmentation fault" message there. '((' could |
|
|
118 | # trigger a bug in pdksh 5.2.14. |
95 | for as_var in ENV MAIL MAILPATH |
119 | for as_var in BASH_ENV ENV MAIL MAILPATH |
|
|
120 | do eval test x\${$as_var+set} = xset \ |
96 | do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
121 | && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : |
97 | done |
122 | done |
98 | PS1='$ ' |
123 | PS1='$ ' |
99 | PS2='> ' |
124 | PS2='> ' |
100 | PS4='+ ' |
125 | PS4='+ ' |
101 | |
126 | |
102 | # NLS nuisances. |
127 | # NLS nuisances. |
103 | for as_var in \ |
128 | LC_ALL=C |
104 | LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ |
129 | export LC_ALL |
105 | LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
130 | LANGUAGE=C |
106 | LC_TELEPHONE LC_TIME |
131 | export LANGUAGE |
|
|
132 | |
|
|
133 | # CDPATH. |
|
|
134 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
|
|
135 | |
|
|
136 | if test "x$CONFIG_SHELL" = x; then |
|
|
137 | as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : |
|
|
138 | emulate sh |
|
|
139 | NULLCMD=: |
|
|
140 | # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which |
|
|
141 | # is contrary to our usage. Disable this feature. |
|
|
142 | alias -g '\${1+\"\$@\"}'='\"\$@\"' |
|
|
143 | setopt NO_GLOB_SUBST |
|
|
144 | else |
|
|
145 | case \`(set -o) 2>/dev/null\` in #( |
|
|
146 | *posix*) : |
|
|
147 | set -o posix ;; #( |
|
|
148 | *) : |
|
|
149 | ;; |
|
|
150 | esac |
|
|
151 | fi |
|
|
152 | " |
|
|
153 | as_required="as_fn_return () { (exit \$1); } |
|
|
154 | as_fn_success () { as_fn_return 0; } |
|
|
155 | as_fn_failure () { as_fn_return 1; } |
|
|
156 | as_fn_ret_success () { return 0; } |
|
|
157 | as_fn_ret_failure () { return 1; } |
|
|
158 | |
|
|
159 | exitcode=0 |
|
|
160 | as_fn_success || { exitcode=1; echo as_fn_success failed.; } |
|
|
161 | as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } |
|
|
162 | as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } |
|
|
163 | as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } |
|
|
164 | if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : |
|
|
165 | |
|
|
166 | else |
|
|
167 | exitcode=1; echo positional parameters were not saved. |
|
|
168 | fi |
|
|
169 | test x\$exitcode = x0 || exit 1" |
|
|
170 | as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO |
|
|
171 | as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO |
|
|
172 | eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && |
|
|
173 | test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 |
|
|
174 | test \$(( 1 + 1 )) = 2 || exit 1" |
|
|
175 | if (eval "$as_required") 2>/dev/null; then : |
|
|
176 | as_have_required=yes |
|
|
177 | else |
|
|
178 | as_have_required=no |
|
|
179 | fi |
|
|
180 | if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : |
|
|
181 | |
|
|
182 | else |
|
|
183 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
184 | as_found=false |
|
|
185 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
107 | do |
186 | do |
108 | if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
187 | IFS=$as_save_IFS |
109 | eval $as_var=C; export $as_var |
188 | test -z "$as_dir" && as_dir=. |
|
|
189 | as_found=: |
|
|
190 | case $as_dir in #( |
|
|
191 | /*) |
|
|
192 | for as_base in sh bash ksh sh5; do |
|
|
193 | # Try only shells that exist, to save several forks. |
|
|
194 | as_shell=$as_dir/$as_base |
|
|
195 | if { test -f "$as_shell" || test -f "$as_shell.exe"; } && |
|
|
196 | { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : |
|
|
197 | CONFIG_SHELL=$as_shell as_have_required=yes |
|
|
198 | if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : |
|
|
199 | break 2 |
|
|
200 | fi |
|
|
201 | fi |
|
|
202 | done;; |
|
|
203 | esac |
|
|
204 | as_found=false |
|
|
205 | done |
|
|
206 | $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && |
|
|
207 | { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : |
|
|
208 | CONFIG_SHELL=$SHELL as_have_required=yes |
|
|
209 | fi; } |
|
|
210 | IFS=$as_save_IFS |
|
|
211 | |
|
|
212 | |
|
|
213 | if test "x$CONFIG_SHELL" != x; then : |
|
|
214 | # We cannot yet assume a decent shell, so we have to provide a |
|
|
215 | # neutralization value for shells without unset; and this also |
|
|
216 | # works around shells that cannot unset nonexistent variables. |
|
|
217 | BASH_ENV=/dev/null |
|
|
218 | ENV=/dev/null |
|
|
219 | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
|
|
220 | export CONFIG_SHELL |
|
|
221 | exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} |
|
|
222 | fi |
|
|
223 | |
|
|
224 | if test x$as_have_required = xno; then : |
|
|
225 | $as_echo "$0: This script requires a shell more modern than all" |
|
|
226 | $as_echo "$0: the shells that I found on your system." |
|
|
227 | if test x${ZSH_VERSION+set} = xset ; then |
|
|
228 | $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" |
|
|
229 | $as_echo "$0: be upgraded to zsh 4.3.4 or later." |
110 | else |
230 | else |
111 | ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
231 | $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, |
|
|
232 | $0: including any error possibly output before this |
|
|
233 | $0: message. Then install a modern shell, or manually run |
|
|
234 | $0: the script under such a shell if you do have one." |
112 | fi |
235 | fi |
113 | done |
236 | exit 1 |
|
|
237 | fi |
|
|
238 | fi |
|
|
239 | fi |
|
|
240 | SHELL=${CONFIG_SHELL-/bin/sh} |
|
|
241 | export SHELL |
|
|
242 | # Unset more variables known to interfere with behavior of common tools. |
|
|
243 | CLICOLOR_FORCE= GREP_OPTIONS= |
|
|
244 | unset CLICOLOR_FORCE GREP_OPTIONS |
114 | |
245 | |
115 | # Required to use basename. |
246 | ## --------------------- ## |
|
|
247 | ## M4sh Shell Functions. ## |
|
|
248 | ## --------------------- ## |
|
|
249 | # as_fn_unset VAR |
|
|
250 | # --------------- |
|
|
251 | # Portably unset VAR. |
|
|
252 | as_fn_unset () |
|
|
253 | { |
|
|
254 | { eval $1=; unset $1;} |
|
|
255 | } |
|
|
256 | as_unset=as_fn_unset |
|
|
257 | |
|
|
258 | # as_fn_set_status STATUS |
|
|
259 | # ----------------------- |
|
|
260 | # Set $? to STATUS, without forking. |
|
|
261 | as_fn_set_status () |
|
|
262 | { |
|
|
263 | return $1 |
|
|
264 | } # as_fn_set_status |
|
|
265 | |
|
|
266 | # as_fn_exit STATUS |
|
|
267 | # ----------------- |
|
|
268 | # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. |
|
|
269 | as_fn_exit () |
|
|
270 | { |
|
|
271 | set +e |
|
|
272 | as_fn_set_status $1 |
|
|
273 | exit $1 |
|
|
274 | } # as_fn_exit |
|
|
275 | |
|
|
276 | # as_fn_mkdir_p |
|
|
277 | # ------------- |
|
|
278 | # Create "$as_dir" as a directory, including parents if necessary. |
|
|
279 | as_fn_mkdir_p () |
|
|
280 | { |
|
|
281 | |
|
|
282 | case $as_dir in #( |
|
|
283 | -*) as_dir=./$as_dir;; |
|
|
284 | esac |
|
|
285 | test -d "$as_dir" || eval $as_mkdir_p || { |
|
|
286 | as_dirs= |
|
|
287 | while :; do |
|
|
288 | case $as_dir in #( |
|
|
289 | *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
|
|
290 | *) as_qdir=$as_dir;; |
|
|
291 | esac |
|
|
292 | as_dirs="'$as_qdir' $as_dirs" |
|
|
293 | as_dir=`$as_dirname -- "$as_dir" || |
|
|
294 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
|
295 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
|
|
296 | X"$as_dir" : 'X\(//\)$' \| \ |
|
|
297 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
|
|
298 | $as_echo X"$as_dir" | |
|
|
299 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|
|
300 | s//\1/ |
|
|
301 | q |
|
|
302 | } |
|
|
303 | /^X\(\/\/\)[^/].*/{ |
|
|
304 | s//\1/ |
|
|
305 | q |
|
|
306 | } |
|
|
307 | /^X\(\/\/\)$/{ |
|
|
308 | s//\1/ |
|
|
309 | q |
|
|
310 | } |
|
|
311 | /^X\(\/\).*/{ |
|
|
312 | s//\1/ |
|
|
313 | q |
|
|
314 | } |
|
|
315 | s/.*/./; q'` |
|
|
316 | test -d "$as_dir" && break |
|
|
317 | done |
|
|
318 | test -z "$as_dirs" || eval "mkdir $as_dirs" |
|
|
319 | } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
|
|
320 | |
|
|
321 | |
|
|
322 | } # as_fn_mkdir_p |
|
|
323 | # as_fn_append VAR VALUE |
|
|
324 | # ---------------------- |
|
|
325 | # Append the text in VALUE to the end of the definition contained in VAR. Take |
|
|
326 | # advantage of any shell optimizations that allow amortized linear growth over |
|
|
327 | # repeated appends, instead of the typical quadratic growth present in naive |
|
|
328 | # implementations. |
|
|
329 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : |
|
|
330 | eval 'as_fn_append () |
|
|
331 | { |
|
|
332 | eval $1+=\$2 |
|
|
333 | }' |
|
|
334 | else |
|
|
335 | as_fn_append () |
|
|
336 | { |
|
|
337 | eval $1=\$$1\$2 |
|
|
338 | } |
|
|
339 | fi # as_fn_append |
|
|
340 | |
|
|
341 | # as_fn_arith ARG... |
|
|
342 | # ------------------ |
|
|
343 | # Perform arithmetic evaluation on the ARGs, and store the result in the |
|
|
344 | # global $as_val. Take advantage of shells that can avoid forks. The arguments |
|
|
345 | # must be portable across $(()) and expr. |
|
|
346 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : |
|
|
347 | eval 'as_fn_arith () |
|
|
348 | { |
|
|
349 | as_val=$(( $* )) |
|
|
350 | }' |
|
|
351 | else |
|
|
352 | as_fn_arith () |
|
|
353 | { |
|
|
354 | as_val=`expr "$@" || test $? -eq 1` |
|
|
355 | } |
|
|
356 | fi # as_fn_arith |
|
|
357 | |
|
|
358 | |
|
|
359 | # as_fn_error STATUS ERROR [LINENO LOG_FD] |
|
|
360 | # ---------------------------------------- |
|
|
361 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
|
|
362 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
|
|
363 | # script with STATUS, using 1 if that was 0. |
|
|
364 | as_fn_error () |
|
|
365 | { |
|
|
366 | as_status=$1; test $as_status -eq 0 && as_status=1 |
|
|
367 | if test "$4"; then |
|
|
368 | as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
|
369 | $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
|
|
370 | fi |
|
|
371 | $as_echo "$as_me: error: $2" >&2 |
|
|
372 | as_fn_exit $as_status |
|
|
373 | } # as_fn_error |
|
|
374 | |
116 | if expr a : '\(a\)' >/dev/null 2>&1 && |
375 | if expr a : '\(a\)' >/dev/null 2>&1 && |
117 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
376 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
118 | as_expr=expr |
377 | as_expr=expr |
119 | else |
378 | else |
120 | as_expr=false |
379 | as_expr=false |
… | |
… | |
124 | as_basename=basename |
383 | as_basename=basename |
125 | else |
384 | else |
126 | as_basename=false |
385 | as_basename=false |
127 | fi |
386 | fi |
128 | |
387 | |
|
|
388 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
|
|
389 | as_dirname=dirname |
|
|
390 | else |
|
|
391 | as_dirname=false |
|
|
392 | fi |
129 | |
393 | |
130 | # Name of the executable. |
|
|
131 | as_me=`$as_basename -- "$0" || |
394 | as_me=`$as_basename -- "$0" || |
132 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
395 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
133 | X"$0" : 'X\(//\)$' \| \ |
396 | X"$0" : 'X\(//\)$' \| \ |
134 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
397 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
135 | echo X/"$0" | |
398 | $as_echo X/"$0" | |
136 | sed '/^.*\/\([^/][^/]*\)\/*$/{ |
399 | sed '/^.*\/\([^/][^/]*\)\/*$/{ |
137 | s//\1/ |
400 | s//\1/ |
138 | q |
401 | q |
139 | } |
402 | } |
140 | /^X\/\(\/\/\)$/{ |
403 | /^X\/\(\/\/\)$/{ |
… | |
… | |
145 | s//\1/ |
408 | s//\1/ |
146 | q |
409 | q |
147 | } |
410 | } |
148 | s/.*/./; q'` |
411 | s/.*/./; q'` |
149 | |
412 | |
150 | # CDPATH. |
413 | # Avoid depending upon Character Ranges. |
151 | $as_unset CDPATH |
414 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
|
|
415 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
|
|
416 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
|
|
417 | as_cr_digits='0123456789' |
|
|
418 | as_cr_alnum=$as_cr_Letters$as_cr_digits |
152 | |
419 | |
153 | |
420 | |
154 | if test "x$CONFIG_SHELL" = x; then |
421 | as_lineno_1=$LINENO as_lineno_1a=$LINENO |
155 | if (eval ":") 2>/dev/null; then |
422 | as_lineno_2=$LINENO as_lineno_2a=$LINENO |
156 | as_have_required=yes |
|
|
157 | else |
|
|
158 | as_have_required=no |
|
|
159 | fi |
|
|
160 | |
|
|
161 | if test $as_have_required = yes && (eval ": |
|
|
162 | (as_func_return () { |
|
|
163 | (exit \$1) |
|
|
164 | } |
|
|
165 | as_func_success () { |
|
|
166 | as_func_return 0 |
|
|
167 | } |
|
|
168 | as_func_failure () { |
|
|
169 | as_func_return 1 |
|
|
170 | } |
|
|
171 | as_func_ret_success () { |
|
|
172 | return 0 |
|
|
173 | } |
|
|
174 | as_func_ret_failure () { |
|
|
175 | return 1 |
|
|
176 | } |
|
|
177 | |
|
|
178 | exitcode=0 |
|
|
179 | if as_func_success; then |
|
|
180 | : |
|
|
181 | else |
|
|
182 | exitcode=1 |
|
|
183 | echo as_func_success failed. |
|
|
184 | fi |
|
|
185 | |
|
|
186 | if as_func_failure; then |
|
|
187 | exitcode=1 |
|
|
188 | echo as_func_failure succeeded. |
|
|
189 | fi |
|
|
190 | |
|
|
191 | if as_func_ret_success; then |
|
|
192 | : |
|
|
193 | else |
|
|
194 | exitcode=1 |
|
|
195 | echo as_func_ret_success failed. |
|
|
196 | fi |
|
|
197 | |
|
|
198 | if as_func_ret_failure; then |
|
|
199 | exitcode=1 |
|
|
200 | echo as_func_ret_failure succeeded. |
|
|
201 | fi |
|
|
202 | |
|
|
203 | if ( set x; as_func_ret_success y && test x = \"\$1\" ); then |
|
|
204 | : |
|
|
205 | else |
|
|
206 | exitcode=1 |
|
|
207 | echo positional parameters were not saved. |
|
|
208 | fi |
|
|
209 | |
|
|
210 | test \$exitcode = 0) || { (exit 1); exit 1; } |
|
|
211 | |
|
|
212 | ( |
|
|
213 | as_lineno_1=\$LINENO |
|
|
214 | as_lineno_2=\$LINENO |
|
|
215 | test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && |
|
|
216 | test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } |
|
|
217 | ") 2> /dev/null; then |
|
|
218 | : |
|
|
219 | else |
|
|
220 | as_candidate_shells= |
|
|
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" && |
423 | eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && |
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" || { |
424 | test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { |
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. :-) |
425 | # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) |
438 | sed -n ' |
426 | sed -n ' |
439 | p |
427 | p |
440 | /[$]LINENO/= |
428 | /[$]LINENO/= |
441 | ' <$as_myself | |
429 | ' <$as_myself | |
442 | sed ' |
430 | sed ' |
… | |
… | |
449 | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
437 | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
450 | t loop |
438 | t loop |
451 | s/-\n.*// |
439 | s/-\n.*// |
452 | ' >$as_me.lineno && |
440 | ' >$as_me.lineno && |
453 | chmod +x "$as_me.lineno" || |
441 | chmod +x "$as_me.lineno" || |
454 | { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
442 | { $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 | |
443 | |
457 | # Don't try to exec as it changes $[0], causing all sort of problems |
444 | # 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 |
445 | # (the dirname of $[0] is not the place where we might find the |
459 | # original and so on. Autoconf is especially sensitive to this). |
446 | # original and so on. Autoconf is especially sensitive to this). |
460 | . "./$as_me.lineno" |
447 | . "./$as_me.lineno" |
461 | # Exit status is that of the last command. |
448 | # Exit status is that of the last command. |
462 | exit |
449 | exit |
463 | } |
450 | } |
464 | |
451 | |
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= |
452 | ECHO_C= ECHO_N= ECHO_T= |
473 | case `echo -n x` in |
453 | case `echo -n x` in #((((( |
474 | -n*) |
454 | -n*) |
475 | case `echo 'x\c'` in |
455 | case `echo 'xy\c'` in |
476 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
456 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
477 | *) ECHO_C='\c';; |
457 | xy) ECHO_C='\c';; |
|
|
458 | *) echo `echo ksh88 bug on AIX 6.1` > /dev/null |
|
|
459 | ECHO_T=' ';; |
478 | esac;; |
460 | esac;; |
479 | *) |
461 | *) |
480 | ECHO_N='-n';; |
462 | ECHO_N='-n';; |
481 | esac |
463 | esac |
482 | |
464 | |
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 |
465 | rm -f conf$$ conf$$.exe conf$$.file |
491 | if test -d conf$$.dir; then |
466 | if test -d conf$$.dir; then |
492 | rm -f conf$$.dir/conf$$.file |
467 | rm -f conf$$.dir/conf$$.file |
493 | else |
468 | else |
494 | rm -f conf$$.dir |
469 | rm -f conf$$.dir |
495 | mkdir conf$$.dir |
470 | mkdir conf$$.dir 2>/dev/null |
496 | fi |
471 | fi |
497 | echo >conf$$.file |
472 | if (echo >conf$$.file) 2>/dev/null; then |
498 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
473 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
499 | as_ln_s='ln -s' |
474 | as_ln_s='ln -s' |
500 | # ... but there are two gotchas: |
475 | # ... but there are two gotchas: |
501 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
476 | # 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. |
477 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
503 | # In both cases, we have to default to `cp -p'. |
478 | # In both cases, we have to default to `cp -p'. |
504 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
479 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
|
|
480 | as_ln_s='cp -p' |
|
|
481 | elif ln conf$$.file conf$$ 2>/dev/null; then |
|
|
482 | as_ln_s=ln |
|
|
483 | else |
505 | as_ln_s='cp -p' |
484 | as_ln_s='cp -p' |
506 | elif ln conf$$.file conf$$ 2>/dev/null; then |
485 | fi |
507 | as_ln_s=ln |
|
|
508 | else |
486 | else |
509 | as_ln_s='cp -p' |
487 | as_ln_s='cp -p' |
510 | fi |
488 | fi |
511 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
489 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
512 | rmdir conf$$.dir 2>/dev/null |
490 | rmdir conf$$.dir 2>/dev/null |
513 | |
491 | |
514 | if mkdir -p . 2>/dev/null; then |
492 | if mkdir -p . 2>/dev/null; then |
515 | as_mkdir_p=: |
493 | as_mkdir_p='mkdir -p "$as_dir"' |
516 | else |
494 | else |
517 | test -d ./-p && rmdir ./-p |
495 | test -d ./-p && rmdir ./-p |
518 | as_mkdir_p=false |
496 | as_mkdir_p=false |
519 | fi |
497 | fi |
520 | |
498 | |
… | |
… | |
527 | as_ls_L_option= |
505 | as_ls_L_option= |
528 | fi |
506 | fi |
529 | as_test_x=' |
507 | as_test_x=' |
530 | eval sh -c '\'' |
508 | eval sh -c '\'' |
531 | if test -d "$1"; then |
509 | if test -d "$1"; then |
532 | test -d "$1/."; |
510 | test -d "$1/."; |
533 | else |
511 | else |
534 | case $1 in |
512 | case $1 in #( |
535 | -*)set "./$1";; |
513 | -*)set "./$1";; |
536 | esac; |
514 | esac; |
537 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in |
515 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( |
538 | ???[sx]*):;;*)false;;esac;fi |
516 | ???[sx]*):;;*)false;;esac;fi |
539 | '\'' sh |
517 | '\'' sh |
540 | ' |
518 | ' |
541 | fi |
519 | fi |
542 | as_executable_p=$as_test_x |
520 | as_executable_p=$as_test_x |
… | |
… | |
546 | |
524 | |
547 | # Sed expression to map a string onto a valid variable name. |
525 | # Sed expression to map a string onto a valid variable name. |
548 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
526 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
549 | |
527 | |
550 | |
528 | |
551 | |
529 | test -n "$DJDIR" || exec 7<&0 </dev/null |
552 | exec 7<&0 </dev/null 6>&1 |
530 | exec 6>&1 |
553 | |
531 | |
554 | # Name of the host. |
532 | # Name of the host. |
555 | # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, |
533 | # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, |
556 | # so uname gets run too. |
534 | # so uname gets run too. |
557 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
535 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
558 | |
536 | |
559 | # |
537 | # |
560 | # Initializations. |
538 | # Initializations. |
… | |
… | |
565 | LIBOBJS= |
543 | LIBOBJS= |
566 | cross_compiling=no |
544 | cross_compiling=no |
567 | subdirs= |
545 | subdirs= |
568 | MFLAGS= |
546 | MFLAGS= |
569 | MAKEFLAGS= |
547 | MAKEFLAGS= |
570 | SHELL=${CONFIG_SHELL-/bin/sh} |
|
|
571 | |
548 | |
572 | # Identity of this package. |
549 | # Identity of this package. |
573 | PACKAGE_NAME= |
550 | PACKAGE_NAME= |
574 | PACKAGE_TARNAME= |
551 | PACKAGE_TARNAME= |
575 | PACKAGE_VERSION= |
552 | PACKAGE_VERSION= |
576 | PACKAGE_STRING= |
553 | PACKAGE_STRING= |
577 | PACKAGE_BUGREPORT= |
554 | PACKAGE_BUGREPORT= |
|
|
555 | PACKAGE_URL= |
578 | |
556 | |
579 | ac_unique_file="libeio/eio.h" |
557 | ac_unique_file="libeio/eio.h" |
580 | ac_subst_vars='SHELL |
558 | # Factoring default headers for most tests. |
|
|
559 | ac_includes_default="\ |
|
|
560 | #include <stdio.h> |
|
|
561 | #ifdef HAVE_SYS_TYPES_H |
|
|
562 | # include <sys/types.h> |
|
|
563 | #endif |
|
|
564 | #ifdef HAVE_SYS_STAT_H |
|
|
565 | # include <sys/stat.h> |
|
|
566 | #endif |
|
|
567 | #ifdef STDC_HEADERS |
|
|
568 | # include <stdlib.h> |
|
|
569 | # include <stddef.h> |
|
|
570 | #else |
|
|
571 | # ifdef HAVE_STDLIB_H |
|
|
572 | # include <stdlib.h> |
|
|
573 | # endif |
|
|
574 | #endif |
|
|
575 | #ifdef HAVE_STRING_H |
|
|
576 | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H |
|
|
577 | # include <memory.h> |
|
|
578 | # endif |
|
|
579 | # include <string.h> |
|
|
580 | #endif |
|
|
581 | #ifdef HAVE_STRINGS_H |
|
|
582 | # include <strings.h> |
|
|
583 | #endif |
|
|
584 | #ifdef HAVE_INTTYPES_H |
|
|
585 | # include <inttypes.h> |
|
|
586 | #endif |
|
|
587 | #ifdef HAVE_STDINT_H |
|
|
588 | # include <stdint.h> |
|
|
589 | #endif |
|
|
590 | #ifdef HAVE_UNISTD_H |
|
|
591 | # include <unistd.h> |
|
|
592 | #endif" |
|
|
593 | |
|
|
594 | ac_subst_vars='LTLIBOBJS |
|
|
595 | LIBOBJS |
|
|
596 | EGREP |
|
|
597 | GREP |
|
|
598 | CPP |
|
|
599 | OBJEXT |
|
|
600 | EXEEXT |
|
|
601 | ac_ct_CC |
|
|
602 | CPPFLAGS |
|
|
603 | LDFLAGS |
|
|
604 | CFLAGS |
|
|
605 | CC |
|
|
606 | target_alias |
|
|
607 | host_alias |
|
|
608 | build_alias |
|
|
609 | LIBS |
|
|
610 | ECHO_T |
|
|
611 | ECHO_N |
|
|
612 | ECHO_C |
|
|
613 | DEFS |
|
|
614 | mandir |
|
|
615 | localedir |
|
|
616 | libdir |
|
|
617 | psdir |
|
|
618 | pdfdir |
|
|
619 | dvidir |
|
|
620 | htmldir |
|
|
621 | infodir |
|
|
622 | docdir |
|
|
623 | oldincludedir |
|
|
624 | includedir |
|
|
625 | localstatedir |
|
|
626 | sharedstatedir |
|
|
627 | sysconfdir |
|
|
628 | datadir |
|
|
629 | datarootdir |
|
|
630 | libexecdir |
|
|
631 | sbindir |
|
|
632 | bindir |
|
|
633 | program_transform_name |
|
|
634 | prefix |
|
|
635 | exec_prefix |
|
|
636 | PACKAGE_URL |
|
|
637 | PACKAGE_BUGREPORT |
|
|
638 | PACKAGE_STRING |
|
|
639 | PACKAGE_VERSION |
|
|
640 | PACKAGE_TARNAME |
|
|
641 | PACKAGE_NAME |
581 | PATH_SEPARATOR |
642 | PATH_SEPARATOR |
582 | PACKAGE_NAME |
643 | SHELL' |
583 | PACKAGE_TARNAME |
|
|
584 | PACKAGE_VERSION |
|
|
585 | PACKAGE_STRING |
|
|
586 | PACKAGE_BUGREPORT |
|
|
587 | exec_prefix |
|
|
588 | prefix |
|
|
589 | program_transform_name |
|
|
590 | bindir |
|
|
591 | sbindir |
|
|
592 | libexecdir |
|
|
593 | datarootdir |
|
|
594 | datadir |
|
|
595 | sysconfdir |
|
|
596 | sharedstatedir |
|
|
597 | localstatedir |
|
|
598 | includedir |
|
|
599 | oldincludedir |
|
|
600 | docdir |
|
|
601 | infodir |
|
|
602 | htmldir |
|
|
603 | dvidir |
|
|
604 | pdfdir |
|
|
605 | psdir |
|
|
606 | libdir |
|
|
607 | localedir |
|
|
608 | mandir |
|
|
609 | DEFS |
|
|
610 | ECHO_C |
|
|
611 | ECHO_N |
|
|
612 | ECHO_T |
|
|
613 | LIBS |
|
|
614 | build_alias |
|
|
615 | host_alias |
|
|
616 | target_alias |
|
|
617 | CC |
|
|
618 | CFLAGS |
|
|
619 | LDFLAGS |
|
|
620 | CPPFLAGS |
|
|
621 | ac_ct_CC |
|
|
622 | EXEEXT |
|
|
623 | OBJEXT |
|
|
624 | LIBOBJS |
|
|
625 | LTLIBOBJS' |
|
|
626 | ac_subst_files='' |
644 | ac_subst_files='' |
|
|
645 | ac_user_opts=' |
|
|
646 | enable_option_checking |
|
|
647 | ' |
627 | ac_precious_vars='build_alias |
648 | ac_precious_vars='build_alias |
628 | host_alias |
649 | host_alias |
629 | target_alias |
650 | target_alias |
630 | CC |
651 | CC |
631 | CFLAGS |
652 | CFLAGS |
632 | LDFLAGS |
653 | LDFLAGS |
633 | LIBS |
654 | LIBS |
634 | CPPFLAGS' |
655 | CPPFLAGS |
|
|
656 | CPP' |
635 | |
657 | |
636 | |
658 | |
637 | # Initialize some variables set by options. |
659 | # Initialize some variables set by options. |
638 | ac_init_help= |
660 | ac_init_help= |
639 | ac_init_version=false |
661 | ac_init_version=false |
|
|
662 | ac_unrecognized_opts= |
|
|
663 | ac_unrecognized_sep= |
640 | # The variables have the same names as the options, with |
664 | # The variables have the same names as the options, with |
641 | # dashes changed to underlines. |
665 | # dashes changed to underlines. |
642 | cache_file=/dev/null |
666 | cache_file=/dev/null |
643 | exec_prefix=NONE |
667 | exec_prefix=NONE |
644 | no_create= |
668 | no_create= |
… | |
… | |
690 | ac_prev= |
714 | ac_prev= |
691 | continue |
715 | continue |
692 | fi |
716 | fi |
693 | |
717 | |
694 | case $ac_option in |
718 | case $ac_option in |
695 | *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
719 | *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
|
|
720 | *=) ac_optarg= ;; |
696 | *) ac_optarg=yes ;; |
721 | *) ac_optarg=yes ;; |
697 | esac |
722 | esac |
698 | |
723 | |
699 | # Accept the important Cygnus configure options, so we can diagnose typos. |
724 | # Accept the important Cygnus configure options, so we can diagnose typos. |
700 | |
725 | |
701 | case $ac_dashdash$ac_option in |
726 | case $ac_dashdash$ac_option in |
… | |
… | |
733 | -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ |
758 | -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ |
734 | | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) |
759 | | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) |
735 | datarootdir=$ac_optarg ;; |
760 | datarootdir=$ac_optarg ;; |
736 | |
761 | |
737 | -disable-* | --disable-*) |
762 | -disable-* | --disable-*) |
738 | ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
763 | ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
739 | # Reject names that are not valid shell variable names. |
764 | # Reject names that are not valid shell variable names. |
740 | expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && |
765 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
741 | { echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
766 | as_fn_error $? "invalid feature name: $ac_useropt" |
742 | { (exit 1); exit 1; }; } |
767 | ac_useropt_orig=$ac_useropt |
743 | ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` |
768 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
|
|
769 | case $ac_user_opts in |
|
|
770 | *" |
|
|
771 | "enable_$ac_useropt" |
|
|
772 | "*) ;; |
|
|
773 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" |
|
|
774 | ac_unrecognized_sep=', ';; |
|
|
775 | esac |
744 | eval enable_$ac_feature=no ;; |
776 | eval enable_$ac_useropt=no ;; |
745 | |
777 | |
746 | -docdir | --docdir | --docdi | --doc | --do) |
778 | -docdir | --docdir | --docdi | --doc | --do) |
747 | ac_prev=docdir ;; |
779 | ac_prev=docdir ;; |
748 | -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) |
780 | -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) |
749 | docdir=$ac_optarg ;; |
781 | docdir=$ac_optarg ;; |
… | |
… | |
752 | ac_prev=dvidir ;; |
784 | ac_prev=dvidir ;; |
753 | -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) |
785 | -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) |
754 | dvidir=$ac_optarg ;; |
786 | dvidir=$ac_optarg ;; |
755 | |
787 | |
756 | -enable-* | --enable-*) |
788 | -enable-* | --enable-*) |
757 | ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
789 | ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
758 | # Reject names that are not valid shell variable names. |
790 | # Reject names that are not valid shell variable names. |
759 | expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && |
791 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
760 | { echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
792 | as_fn_error $? "invalid feature name: $ac_useropt" |
761 | { (exit 1); exit 1; }; } |
793 | ac_useropt_orig=$ac_useropt |
762 | ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` |
794 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
|
|
795 | case $ac_user_opts in |
|
|
796 | *" |
|
|
797 | "enable_$ac_useropt" |
|
|
798 | "*) ;; |
|
|
799 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" |
|
|
800 | ac_unrecognized_sep=', ';; |
|
|
801 | esac |
763 | eval enable_$ac_feature=\$ac_optarg ;; |
802 | eval enable_$ac_useropt=\$ac_optarg ;; |
764 | |
803 | |
765 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
804 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
766 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
805 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
767 | | --exec | --exe | --ex) |
806 | | --exec | --exe | --ex) |
768 | ac_prev=exec_prefix ;; |
807 | ac_prev=exec_prefix ;; |
… | |
… | |
949 | |
988 | |
950 | -version | --version | --versio | --versi | --vers | -V) |
989 | -version | --version | --versio | --versi | --vers | -V) |
951 | ac_init_version=: ;; |
990 | ac_init_version=: ;; |
952 | |
991 | |
953 | -with-* | --with-*) |
992 | -with-* | --with-*) |
954 | ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
993 | ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
955 | # Reject names that are not valid shell variable names. |
994 | # Reject names that are not valid shell variable names. |
956 | expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && |
995 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
957 | { echo "$as_me: error: invalid package name: $ac_package" >&2 |
996 | as_fn_error $? "invalid package name: $ac_useropt" |
958 | { (exit 1); exit 1; }; } |
997 | ac_useropt_orig=$ac_useropt |
959 | ac_package=`echo $ac_package | sed 's/[-.]/_/g'` |
998 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
|
|
999 | case $ac_user_opts in |
|
|
1000 | *" |
|
|
1001 | "with_$ac_useropt" |
|
|
1002 | "*) ;; |
|
|
1003 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" |
|
|
1004 | ac_unrecognized_sep=', ';; |
|
|
1005 | esac |
960 | eval with_$ac_package=\$ac_optarg ;; |
1006 | eval with_$ac_useropt=\$ac_optarg ;; |
961 | |
1007 | |
962 | -without-* | --without-*) |
1008 | -without-* | --without-*) |
963 | ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
1009 | ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
964 | # Reject names that are not valid shell variable names. |
1010 | # Reject names that are not valid shell variable names. |
965 | expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && |
1011 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
966 | { echo "$as_me: error: invalid package name: $ac_package" >&2 |
1012 | as_fn_error $? "invalid package name: $ac_useropt" |
967 | { (exit 1); exit 1; }; } |
1013 | ac_useropt_orig=$ac_useropt |
968 | ac_package=`echo $ac_package | sed 's/[-.]/_/g'` |
1014 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
|
|
1015 | case $ac_user_opts in |
|
|
1016 | *" |
|
|
1017 | "with_$ac_useropt" |
|
|
1018 | "*) ;; |
|
|
1019 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" |
|
|
1020 | ac_unrecognized_sep=', ';; |
|
|
1021 | esac |
969 | eval with_$ac_package=no ;; |
1022 | eval with_$ac_useropt=no ;; |
970 | |
1023 | |
971 | --x) |
1024 | --x) |
972 | # Obsolete; use --with-x. |
1025 | # Obsolete; use --with-x. |
973 | with_x=yes ;; |
1026 | with_x=yes ;; |
974 | |
1027 | |
… | |
… | |
984 | ac_prev=x_libraries ;; |
1037 | ac_prev=x_libraries ;; |
985 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
1038 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
986 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
1039 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
987 | x_libraries=$ac_optarg ;; |
1040 | x_libraries=$ac_optarg ;; |
988 | |
1041 | |
989 | -*) { echo "$as_me: error: unrecognized option: $ac_option |
1042 | -*) as_fn_error $? "unrecognized option: \`$ac_option' |
990 | Try \`$0 --help' for more information." >&2 |
1043 | Try \`$0 --help' for more information" |
991 | { (exit 1); exit 1; }; } |
|
|
992 | ;; |
1044 | ;; |
993 | |
1045 | |
994 | *=*) |
1046 | *=*) |
995 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
1047 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
996 | # Reject names that are not valid shell variable names. |
1048 | # Reject names that are not valid shell variable names. |
997 | expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && |
1049 | case $ac_envvar in #( |
|
|
1050 | '' | [0-9]* | *[!_$as_cr_alnum]* ) |
998 | { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 |
1051 | as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; |
999 | { (exit 1); exit 1; }; } |
1052 | esac |
1000 | eval $ac_envvar=\$ac_optarg |
1053 | eval $ac_envvar=\$ac_optarg |
1001 | export $ac_envvar ;; |
1054 | export $ac_envvar ;; |
1002 | |
1055 | |
1003 | *) |
1056 | *) |
1004 | # FIXME: should be removed in autoconf 3.0. |
1057 | # FIXME: should be removed in autoconf 3.0. |
1005 | echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
1058 | $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
1006 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
1059 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
1007 | echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
1060 | $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
1008 | : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} |
1061 | : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} |
1009 | ;; |
1062 | ;; |
1010 | |
1063 | |
1011 | esac |
1064 | esac |
1012 | done |
1065 | done |
1013 | |
1066 | |
1014 | if test -n "$ac_prev"; then |
1067 | if test -n "$ac_prev"; then |
1015 | ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
1068 | ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
1016 | { echo "$as_me: error: missing argument to $ac_option" >&2 |
1069 | as_fn_error $? "missing argument to $ac_option" |
1017 | { (exit 1); exit 1; }; } |
|
|
1018 | fi |
1070 | fi |
1019 | |
1071 | |
1020 | # Be sure to have absolute directory names. |
1072 | if test -n "$ac_unrecognized_opts"; then |
|
|
1073 | case $enable_option_checking in |
|
|
1074 | no) ;; |
|
|
1075 | fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; |
|
|
1076 | *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; |
|
|
1077 | esac |
|
|
1078 | fi |
|
|
1079 | |
|
|
1080 | # Check all directory arguments for consistency. |
1021 | for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
1081 | for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
1022 | datadir sysconfdir sharedstatedir localstatedir includedir \ |
1082 | datadir sysconfdir sharedstatedir localstatedir includedir \ |
1023 | oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
1083 | oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
1024 | libdir localedir mandir |
1084 | libdir localedir mandir |
1025 | do |
1085 | do |
1026 | eval ac_val=\$$ac_var |
1086 | eval ac_val=\$$ac_var |
|
|
1087 | # Remove trailing slashes. |
|
|
1088 | case $ac_val in |
|
|
1089 | */ ) |
|
|
1090 | ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` |
|
|
1091 | eval $ac_var=\$ac_val;; |
|
|
1092 | esac |
|
|
1093 | # Be sure to have absolute directory names. |
1027 | case $ac_val in |
1094 | case $ac_val in |
1028 | [\\/$]* | ?:[\\/]* ) continue;; |
1095 | [\\/$]* | ?:[\\/]* ) continue;; |
1029 | NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
1096 | NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
1030 | esac |
1097 | esac |
1031 | { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
1098 | as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" |
1032 | { (exit 1); exit 1; }; } |
|
|
1033 | done |
1099 | done |
1034 | |
1100 | |
1035 | # There might be people who depend on the old broken behavior: `$host' |
1101 | # There might be people who depend on the old broken behavior: `$host' |
1036 | # used to hold the argument of --host etc. |
1102 | # used to hold the argument of --host etc. |
1037 | # FIXME: To remove some day. |
1103 | # FIXME: To remove some day. |
… | |
… | |
1041 | |
1107 | |
1042 | # FIXME: To remove some day. |
1108 | # FIXME: To remove some day. |
1043 | if test "x$host_alias" != x; then |
1109 | if test "x$host_alias" != x; then |
1044 | if test "x$build_alias" = x; then |
1110 | if test "x$build_alias" = x; then |
1045 | cross_compiling=maybe |
1111 | cross_compiling=maybe |
1046 | echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. |
1112 | $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. |
1047 | If a cross compiler is detected then cross compile mode will be used." >&2 |
1113 | If a cross compiler is detected then cross compile mode will be used" >&2 |
1048 | elif test "x$build_alias" != "x$host_alias"; then |
1114 | elif test "x$build_alias" != "x$host_alias"; then |
1049 | cross_compiling=yes |
1115 | cross_compiling=yes |
1050 | fi |
1116 | fi |
1051 | fi |
1117 | fi |
1052 | |
1118 | |
… | |
… | |
1057 | |
1123 | |
1058 | |
1124 | |
1059 | ac_pwd=`pwd` && test -n "$ac_pwd" && |
1125 | ac_pwd=`pwd` && test -n "$ac_pwd" && |
1060 | ac_ls_di=`ls -di .` && |
1126 | ac_ls_di=`ls -di .` && |
1061 | ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
1127 | ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
1062 | { echo "$as_me: error: Working directory cannot be determined" >&2 |
1128 | as_fn_error $? "working directory cannot be determined" |
1063 | { (exit 1); exit 1; }; } |
|
|
1064 | test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
1129 | test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
1065 | { echo "$as_me: error: pwd does not report name of working directory" >&2 |
1130 | as_fn_error $? "pwd does not report name of working directory" |
1066 | { (exit 1); exit 1; }; } |
|
|
1067 | |
1131 | |
1068 | |
1132 | |
1069 | # Find the source files, if location was not specified. |
1133 | # Find the source files, if location was not specified. |
1070 | if test -z "$srcdir"; then |
1134 | if test -z "$srcdir"; then |
1071 | ac_srcdir_defaulted=yes |
1135 | ac_srcdir_defaulted=yes |
1072 | # Try the directory containing this script, then the parent directory. |
1136 | # Try the directory containing this script, then the parent directory. |
1073 | ac_confdir=`$as_dirname -- "$0" || |
1137 | ac_confdir=`$as_dirname -- "$as_myself" || |
1074 | $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
1138 | $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
1075 | X"$0" : 'X\(//\)[^/]' \| \ |
1139 | X"$as_myself" : 'X\(//\)[^/]' \| \ |
1076 | X"$0" : 'X\(//\)$' \| \ |
1140 | X"$as_myself" : 'X\(//\)$' \| \ |
1077 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
1141 | X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || |
1078 | echo X"$0" | |
1142 | $as_echo X"$as_myself" | |
1079 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
1143 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
1080 | s//\1/ |
1144 | s//\1/ |
1081 | q |
1145 | q |
1082 | } |
1146 | } |
1083 | /^X\(\/\/\)[^/].*/{ |
1147 | /^X\(\/\/\)[^/].*/{ |
… | |
… | |
1100 | else |
1164 | else |
1101 | ac_srcdir_defaulted=no |
1165 | ac_srcdir_defaulted=no |
1102 | fi |
1166 | fi |
1103 | if test ! -r "$srcdir/$ac_unique_file"; then |
1167 | if test ! -r "$srcdir/$ac_unique_file"; then |
1104 | test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
1168 | test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
1105 | { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 |
1169 | as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" |
1106 | { (exit 1); exit 1; }; } |
|
|
1107 | fi |
1170 | fi |
1108 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
1171 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
1109 | ac_abs_confdir=`( |
1172 | ac_abs_confdir=`( |
1110 | cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 |
1173 | cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" |
1111 | { (exit 1); exit 1; }; } |
|
|
1112 | pwd)` |
1174 | pwd)` |
1113 | # When building in place, set srcdir=. |
1175 | # When building in place, set srcdir=. |
1114 | if test "$ac_abs_confdir" = "$ac_pwd"; then |
1176 | if test "$ac_abs_confdir" = "$ac_pwd"; then |
1115 | srcdir=. |
1177 | srcdir=. |
1116 | fi |
1178 | fi |
… | |
… | |
1146 | Configuration: |
1208 | Configuration: |
1147 | -h, --help display this help and exit |
1209 | -h, --help display this help and exit |
1148 | --help=short display options specific to this package |
1210 | --help=short display options specific to this package |
1149 | --help=recursive display the short help of all the included packages |
1211 | --help=recursive display the short help of all the included packages |
1150 | -V, --version display version information and exit |
1212 | -V, --version display version information and exit |
1151 | -q, --quiet, --silent do not print \`checking...' messages |
1213 | -q, --quiet, --silent do not print \`checking ...' messages |
1152 | --cache-file=FILE cache test results in FILE [disabled] |
1214 | --cache-file=FILE cache test results in FILE [disabled] |
1153 | -C, --config-cache alias for \`--cache-file=config.cache' |
1215 | -C, --config-cache alias for \`--cache-file=config.cache' |
1154 | -n, --no-create do not create output files |
1216 | -n, --no-create do not create output files |
1155 | --srcdir=DIR find the sources in DIR [configure dir or \`..'] |
1217 | --srcdir=DIR find the sources in DIR [configure dir or \`..'] |
1156 | |
1218 | |
1157 | Installation directories: |
1219 | Installation directories: |
1158 | --prefix=PREFIX install architecture-independent files in PREFIX |
1220 | --prefix=PREFIX install architecture-independent files in PREFIX |
1159 | [$ac_default_prefix] |
1221 | [$ac_default_prefix] |
1160 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
1222 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
1161 | [PREFIX] |
1223 | [PREFIX] |
1162 | |
1224 | |
1163 | By default, \`make install' will install all the files in |
1225 | By default, \`make install' will install all the files in |
1164 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
1226 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
1165 | an installation prefix other than \`$ac_default_prefix' using \`--prefix', |
1227 | an installation prefix other than \`$ac_default_prefix' using \`--prefix', |
1166 | for instance \`--prefix=\$HOME'. |
1228 | for instance \`--prefix=\$HOME'. |
1167 | |
1229 | |
1168 | For better control, use the options below. |
1230 | For better control, use the options below. |
1169 | |
1231 | |
1170 | Fine tuning of the installation directories: |
1232 | Fine tuning of the installation directories: |
1171 | --bindir=DIR user executables [EPREFIX/bin] |
1233 | --bindir=DIR user executables [EPREFIX/bin] |
1172 | --sbindir=DIR system admin executables [EPREFIX/sbin] |
1234 | --sbindir=DIR system admin executables [EPREFIX/sbin] |
1173 | --libexecdir=DIR program executables [EPREFIX/libexec] |
1235 | --libexecdir=DIR program executables [EPREFIX/libexec] |
1174 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
1236 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
1175 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
1237 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
1176 | --localstatedir=DIR modifiable single-machine data [PREFIX/var] |
1238 | --localstatedir=DIR modifiable single-machine data [PREFIX/var] |
1177 | --libdir=DIR object code libraries [EPREFIX/lib] |
1239 | --libdir=DIR object code libraries [EPREFIX/lib] |
1178 | --includedir=DIR C header files [PREFIX/include] |
1240 | --includedir=DIR C header files [PREFIX/include] |
1179 | --oldincludedir=DIR C header files for non-gcc [/usr/include] |
1241 | --oldincludedir=DIR C header files for non-gcc [/usr/include] |
1180 | --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
1242 | --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
1181 | --datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
1243 | --datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
1182 | --infodir=DIR info documentation [DATAROOTDIR/info] |
1244 | --infodir=DIR info documentation [DATAROOTDIR/info] |
1183 | --localedir=DIR locale-dependent data [DATAROOTDIR/locale] |
1245 | --localedir=DIR locale-dependent data [DATAROOTDIR/locale] |
1184 | --mandir=DIR man documentation [DATAROOTDIR/man] |
1246 | --mandir=DIR man documentation [DATAROOTDIR/man] |
1185 | --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] |
1247 | --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] |
1186 | --htmldir=DIR html documentation [DOCDIR] |
1248 | --htmldir=DIR html documentation [DOCDIR] |
1187 | --dvidir=DIR dvi documentation [DOCDIR] |
1249 | --dvidir=DIR dvi documentation [DOCDIR] |
1188 | --pdfdir=DIR pdf documentation [DOCDIR] |
1250 | --pdfdir=DIR pdf documentation [DOCDIR] |
1189 | --psdir=DIR ps documentation [DOCDIR] |
1251 | --psdir=DIR ps documentation [DOCDIR] |
1190 | _ACEOF |
1252 | _ACEOF |
1191 | |
1253 | |
1192 | cat <<\_ACEOF |
1254 | cat <<\_ACEOF |
1193 | _ACEOF |
1255 | _ACEOF |
1194 | fi |
1256 | fi |
… | |
… | |
1201 | CC C compiler command |
1263 | CC C compiler command |
1202 | CFLAGS C compiler flags |
1264 | CFLAGS C compiler flags |
1203 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
1265 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
1204 | nonstandard directory <lib dir> |
1266 | nonstandard directory <lib dir> |
1205 | LIBS libraries to pass to the linker, e.g. -l<library> |
1267 | LIBS libraries to pass to the linker, e.g. -l<library> |
1206 | CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if |
1268 | CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if |
1207 | you have headers in a nonstandard directory <include dir> |
1269 | you have headers in a nonstandard directory <include dir> |
|
|
1270 | CPP C preprocessor |
1208 | |
1271 | |
1209 | Use these variables to override the choices made by `configure' or to help |
1272 | Use these variables to override the choices made by `configure' or to help |
1210 | it to find libraries and programs with nonstandard names/locations. |
1273 | it to find libraries and programs with nonstandard names/locations. |
1211 | |
1274 | |
|
|
1275 | Report bugs to the package provider. |
1212 | _ACEOF |
1276 | _ACEOF |
1213 | ac_status=$? |
1277 | ac_status=$? |
1214 | fi |
1278 | fi |
1215 | |
1279 | |
1216 | if test "$ac_init_help" = "recursive"; then |
1280 | if test "$ac_init_help" = "recursive"; then |
1217 | # If there are subdirs, report their specific --help. |
1281 | # If there are subdirs, report their specific --help. |
1218 | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
1282 | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
1219 | test -d "$ac_dir" || continue |
1283 | test -d "$ac_dir" || |
|
|
1284 | { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || |
|
|
1285 | continue |
1220 | ac_builddir=. |
1286 | ac_builddir=. |
1221 | |
1287 | |
1222 | case "$ac_dir" in |
1288 | case "$ac_dir" in |
1223 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
1289 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
1224 | *) |
1290 | *) |
1225 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
1291 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
1226 | # A ".." for each directory in $ac_dir_suffix. |
1292 | # A ".." for each directory in $ac_dir_suffix. |
1227 | ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` |
1293 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
1228 | case $ac_top_builddir_sub in |
1294 | case $ac_top_builddir_sub in |
1229 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
1295 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
1230 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
1296 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
1231 | esac ;; |
1297 | esac ;; |
1232 | esac |
1298 | esac |
… | |
… | |
1258 | $SHELL "$ac_srcdir/configure.gnu" --help=recursive |
1324 | $SHELL "$ac_srcdir/configure.gnu" --help=recursive |
1259 | elif test -f "$ac_srcdir/configure"; then |
1325 | elif test -f "$ac_srcdir/configure"; then |
1260 | echo && |
1326 | echo && |
1261 | $SHELL "$ac_srcdir/configure" --help=recursive |
1327 | $SHELL "$ac_srcdir/configure" --help=recursive |
1262 | else |
1328 | else |
1263 | echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
1329 | $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
1264 | fi || ac_status=$? |
1330 | fi || ac_status=$? |
1265 | cd "$ac_pwd" || { ac_status=$?; break; } |
1331 | cd "$ac_pwd" || { ac_status=$?; break; } |
1266 | done |
1332 | done |
1267 | fi |
1333 | fi |
1268 | |
1334 | |
1269 | test -n "$ac_init_help" && exit $ac_status |
1335 | test -n "$ac_init_help" && exit $ac_status |
1270 | if $ac_init_version; then |
1336 | if $ac_init_version; then |
1271 | cat <<\_ACEOF |
1337 | cat <<\_ACEOF |
1272 | configure |
1338 | configure |
1273 | generated by GNU Autoconf 2.61 |
1339 | generated by GNU Autoconf 2.67 |
1274 | |
1340 | |
1275 | Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
1341 | Copyright (C) 2010 Free Software Foundation, Inc. |
1276 | 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. |
|
|
1277 | This configure script is free software; the Free Software Foundation |
1342 | This configure script is free software; the Free Software Foundation |
1278 | gives unlimited permission to copy, distribute and modify it. |
1343 | gives unlimited permission to copy, distribute and modify it. |
1279 | _ACEOF |
1344 | _ACEOF |
1280 | exit |
1345 | exit |
1281 | fi |
1346 | fi |
|
|
1347 | |
|
|
1348 | ## ------------------------ ## |
|
|
1349 | ## Autoconf initialization. ## |
|
|
1350 | ## ------------------------ ## |
|
|
1351 | |
|
|
1352 | # ac_fn_c_try_compile LINENO |
|
|
1353 | # -------------------------- |
|
|
1354 | # Try to compile conftest.$ac_ext, and return whether this succeeded. |
|
|
1355 | ac_fn_c_try_compile () |
|
|
1356 | { |
|
|
1357 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
|
1358 | rm -f conftest.$ac_objext |
|
|
1359 | if { { ac_try="$ac_compile" |
|
|
1360 | case "(($ac_try" in |
|
|
1361 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
1362 | *) ac_try_echo=$ac_try;; |
|
|
1363 | esac |
|
|
1364 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
|
1365 | $as_echo "$ac_try_echo"; } >&5 |
|
|
1366 | (eval "$ac_compile") 2>conftest.err |
|
|
1367 | ac_status=$? |
|
|
1368 | if test -s conftest.err; then |
|
|
1369 | grep -v '^ *+' conftest.err >conftest.er1 |
|
|
1370 | cat conftest.er1 >&5 |
|
|
1371 | mv -f conftest.er1 conftest.err |
|
|
1372 | fi |
|
|
1373 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
|
1374 | test $ac_status = 0; } && { |
|
|
1375 | test -z "$ac_c_werror_flag" || |
|
|
1376 | test ! -s conftest.err |
|
|
1377 | } && test -s conftest.$ac_objext; then : |
|
|
1378 | ac_retval=0 |
|
|
1379 | else |
|
|
1380 | $as_echo "$as_me: failed program was:" >&5 |
|
|
1381 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
1382 | |
|
|
1383 | ac_retval=1 |
|
|
1384 | fi |
|
|
1385 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
|
|
1386 | as_fn_set_status $ac_retval |
|
|
1387 | |
|
|
1388 | } # ac_fn_c_try_compile |
|
|
1389 | |
|
|
1390 | # ac_fn_c_try_cpp LINENO |
|
|
1391 | # ---------------------- |
|
|
1392 | # Try to preprocess conftest.$ac_ext, and return whether this succeeded. |
|
|
1393 | ac_fn_c_try_cpp () |
|
|
1394 | { |
|
|
1395 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
|
1396 | if { { ac_try="$ac_cpp conftest.$ac_ext" |
|
|
1397 | case "(($ac_try" in |
|
|
1398 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
1399 | *) ac_try_echo=$ac_try;; |
|
|
1400 | esac |
|
|
1401 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
|
1402 | $as_echo "$ac_try_echo"; } >&5 |
|
|
1403 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err |
|
|
1404 | ac_status=$? |
|
|
1405 | if test -s conftest.err; then |
|
|
1406 | grep -v '^ *+' conftest.err >conftest.er1 |
|
|
1407 | cat conftest.er1 >&5 |
|
|
1408 | mv -f conftest.er1 conftest.err |
|
|
1409 | fi |
|
|
1410 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
|
1411 | test $ac_status = 0; } > conftest.i && { |
|
|
1412 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
|
|
1413 | test ! -s conftest.err |
|
|
1414 | }; then : |
|
|
1415 | ac_retval=0 |
|
|
1416 | else |
|
|
1417 | $as_echo "$as_me: failed program was:" >&5 |
|
|
1418 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
1419 | |
|
|
1420 | ac_retval=1 |
|
|
1421 | fi |
|
|
1422 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
|
|
1423 | as_fn_set_status $ac_retval |
|
|
1424 | |
|
|
1425 | } # ac_fn_c_try_cpp |
|
|
1426 | |
|
|
1427 | # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES |
|
|
1428 | # ------------------------------------------------------- |
|
|
1429 | # Tests whether HEADER exists, giving a warning if it cannot be compiled using |
|
|
1430 | # the include files in INCLUDES and setting the cache variable VAR |
|
|
1431 | # accordingly. |
|
|
1432 | ac_fn_c_check_header_mongrel () |
|
|
1433 | { |
|
|
1434 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
|
1435 | if eval "test \"\${$3+set}\"" = set; then : |
|
|
1436 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
|
|
1437 | $as_echo_n "checking for $2... " >&6; } |
|
|
1438 | if eval "test \"\${$3+set}\"" = set; then : |
|
|
1439 | $as_echo_n "(cached) " >&6 |
|
|
1440 | fi |
|
|
1441 | eval ac_res=\$$3 |
|
|
1442 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
|
|
1443 | $as_echo "$ac_res" >&6; } |
|
|
1444 | else |
|
|
1445 | # Is the header compilable? |
|
|
1446 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 |
|
|
1447 | $as_echo_n "checking $2 usability... " >&6; } |
|
|
1448 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
1449 | /* end confdefs.h. */ |
|
|
1450 | $4 |
|
|
1451 | #include <$2> |
|
|
1452 | _ACEOF |
|
|
1453 | if ac_fn_c_try_compile "$LINENO"; then : |
|
|
1454 | ac_header_compiler=yes |
|
|
1455 | else |
|
|
1456 | ac_header_compiler=no |
|
|
1457 | fi |
|
|
1458 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
1459 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 |
|
|
1460 | $as_echo "$ac_header_compiler" >&6; } |
|
|
1461 | |
|
|
1462 | # Is the header present? |
|
|
1463 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 |
|
|
1464 | $as_echo_n "checking $2 presence... " >&6; } |
|
|
1465 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
1466 | /* end confdefs.h. */ |
|
|
1467 | #include <$2> |
|
|
1468 | _ACEOF |
|
|
1469 | if ac_fn_c_try_cpp "$LINENO"; then : |
|
|
1470 | ac_header_preproc=yes |
|
|
1471 | else |
|
|
1472 | ac_header_preproc=no |
|
|
1473 | fi |
|
|
1474 | rm -f conftest.err conftest.i conftest.$ac_ext |
|
|
1475 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 |
|
|
1476 | $as_echo "$ac_header_preproc" >&6; } |
|
|
1477 | |
|
|
1478 | # So? What about this header? |
|
|
1479 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( |
|
|
1480 | yes:no: ) |
|
|
1481 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 |
|
|
1482 | $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} |
|
|
1483 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
|
|
1484 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
|
|
1485 | ;; |
|
|
1486 | no:yes:* ) |
|
|
1487 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 |
|
|
1488 | $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} |
|
|
1489 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 |
|
|
1490 | $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} |
|
|
1491 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 |
|
|
1492 | $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} |
|
|
1493 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 |
|
|
1494 | $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} |
|
|
1495 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
|
|
1496 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
|
|
1497 | ;; |
|
|
1498 | esac |
|
|
1499 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
|
|
1500 | $as_echo_n "checking for $2... " >&6; } |
|
|
1501 | if eval "test \"\${$3+set}\"" = set; then : |
|
|
1502 | $as_echo_n "(cached) " >&6 |
|
|
1503 | else |
|
|
1504 | eval "$3=\$ac_header_compiler" |
|
|
1505 | fi |
|
|
1506 | eval ac_res=\$$3 |
|
|
1507 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
|
|
1508 | $as_echo "$ac_res" >&6; } |
|
|
1509 | fi |
|
|
1510 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
|
|
1511 | |
|
|
1512 | } # ac_fn_c_check_header_mongrel |
|
|
1513 | |
|
|
1514 | # ac_fn_c_try_run LINENO |
|
|
1515 | # ---------------------- |
|
|
1516 | # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes |
|
|
1517 | # that executables *can* be run. |
|
|
1518 | ac_fn_c_try_run () |
|
|
1519 | { |
|
|
1520 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
|
1521 | if { { ac_try="$ac_link" |
|
|
1522 | case "(($ac_try" in |
|
|
1523 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
1524 | *) ac_try_echo=$ac_try;; |
|
|
1525 | esac |
|
|
1526 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
|
1527 | $as_echo "$ac_try_echo"; } >&5 |
|
|
1528 | (eval "$ac_link") 2>&5 |
|
|
1529 | ac_status=$? |
|
|
1530 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
|
1531 | test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' |
|
|
1532 | { { case "(($ac_try" in |
|
|
1533 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
1534 | *) ac_try_echo=$ac_try;; |
|
|
1535 | esac |
|
|
1536 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
|
1537 | $as_echo "$ac_try_echo"; } >&5 |
|
|
1538 | (eval "$ac_try") 2>&5 |
|
|
1539 | ac_status=$? |
|
|
1540 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
|
1541 | test $ac_status = 0; }; }; then : |
|
|
1542 | ac_retval=0 |
|
|
1543 | else |
|
|
1544 | $as_echo "$as_me: program exited with status $ac_status" >&5 |
|
|
1545 | $as_echo "$as_me: failed program was:" >&5 |
|
|
1546 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
1547 | |
|
|
1548 | ac_retval=$ac_status |
|
|
1549 | fi |
|
|
1550 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
|
|
1551 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
|
|
1552 | as_fn_set_status $ac_retval |
|
|
1553 | |
|
|
1554 | } # ac_fn_c_try_run |
|
|
1555 | |
|
|
1556 | # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES |
|
|
1557 | # ------------------------------------------------------- |
|
|
1558 | # Tests whether HEADER exists and can be compiled using the include files in |
|
|
1559 | # INCLUDES, setting the cache variable VAR accordingly. |
|
|
1560 | ac_fn_c_check_header_compile () |
|
|
1561 | { |
|
|
1562 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
|
1563 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
|
|
1564 | $as_echo_n "checking for $2... " >&6; } |
|
|
1565 | if eval "test \"\${$3+set}\"" = set; then : |
|
|
1566 | $as_echo_n "(cached) " >&6 |
|
|
1567 | else |
|
|
1568 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
1569 | /* end confdefs.h. */ |
|
|
1570 | $4 |
|
|
1571 | #include <$2> |
|
|
1572 | _ACEOF |
|
|
1573 | if ac_fn_c_try_compile "$LINENO"; then : |
|
|
1574 | eval "$3=yes" |
|
|
1575 | else |
|
|
1576 | eval "$3=no" |
|
|
1577 | fi |
|
|
1578 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
1579 | fi |
|
|
1580 | eval ac_res=\$$3 |
|
|
1581 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
|
|
1582 | $as_echo "$ac_res" >&6; } |
|
|
1583 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
|
|
1584 | |
|
|
1585 | } # ac_fn_c_check_header_compile |
|
|
1586 | |
|
|
1587 | # ac_fn_c_try_link LINENO |
|
|
1588 | # ----------------------- |
|
|
1589 | # Try to link conftest.$ac_ext, and return whether this succeeded. |
|
|
1590 | ac_fn_c_try_link () |
|
|
1591 | { |
|
|
1592 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
|
1593 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
1594 | if { { ac_try="$ac_link" |
|
|
1595 | case "(($ac_try" in |
|
|
1596 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
1597 | *) ac_try_echo=$ac_try;; |
|
|
1598 | esac |
|
|
1599 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
|
1600 | $as_echo "$ac_try_echo"; } >&5 |
|
|
1601 | (eval "$ac_link") 2>conftest.err |
|
|
1602 | ac_status=$? |
|
|
1603 | if test -s conftest.err; then |
|
|
1604 | grep -v '^ *+' conftest.err >conftest.er1 |
|
|
1605 | cat conftest.er1 >&5 |
|
|
1606 | mv -f conftest.er1 conftest.err |
|
|
1607 | fi |
|
|
1608 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
|
1609 | test $ac_status = 0; } && { |
|
|
1610 | test -z "$ac_c_werror_flag" || |
|
|
1611 | test ! -s conftest.err |
|
|
1612 | } && test -s conftest$ac_exeext && { |
|
|
1613 | test "$cross_compiling" = yes || |
|
|
1614 | $as_test_x conftest$ac_exeext |
|
|
1615 | }; then : |
|
|
1616 | ac_retval=0 |
|
|
1617 | else |
|
|
1618 | $as_echo "$as_me: failed program was:" >&5 |
|
|
1619 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
1620 | |
|
|
1621 | ac_retval=1 |
|
|
1622 | fi |
|
|
1623 | # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information |
|
|
1624 | # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would |
|
|
1625 | # interfere with the next link command; also delete a directory that is |
|
|
1626 | # left behind by Apple's compiler. We do this before executing the actions. |
|
|
1627 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
|
|
1628 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
|
|
1629 | as_fn_set_status $ac_retval |
|
|
1630 | |
|
|
1631 | } # ac_fn_c_try_link |
1282 | cat >config.log <<_ACEOF |
1632 | cat >config.log <<_ACEOF |
1283 | This file contains any messages produced by compilers while |
1633 | This file contains any messages produced by compilers while |
1284 | running configure, to aid debugging if configure makes a mistake. |
1634 | running configure, to aid debugging if configure makes a mistake. |
1285 | |
1635 | |
1286 | It was created by $as_me, which was |
1636 | It was created by $as_me, which was |
1287 | generated by GNU Autoconf 2.61. Invocation command line was |
1637 | generated by GNU Autoconf 2.67. Invocation command line was |
1288 | |
1638 | |
1289 | $ $0 $@ |
1639 | $ $0 $@ |
1290 | |
1640 | |
1291 | _ACEOF |
1641 | _ACEOF |
1292 | exec 5>>config.log |
1642 | exec 5>>config.log |
… | |
… | |
1318 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1668 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1319 | for as_dir in $PATH |
1669 | for as_dir in $PATH |
1320 | do |
1670 | do |
1321 | IFS=$as_save_IFS |
1671 | IFS=$as_save_IFS |
1322 | test -z "$as_dir" && as_dir=. |
1672 | test -z "$as_dir" && as_dir=. |
1323 | echo "PATH: $as_dir" |
1673 | $as_echo "PATH: $as_dir" |
1324 | done |
1674 | done |
1325 | IFS=$as_save_IFS |
1675 | IFS=$as_save_IFS |
1326 | |
1676 | |
1327 | } >&5 |
1677 | } >&5 |
1328 | |
1678 | |
1329 | cat >&5 <<_ACEOF |
1679 | cat >&5 <<_ACEOF |
… | |
… | |
1353 | -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
1703 | -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
1354 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
1704 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
1355 | | -silent | --silent | --silen | --sile | --sil) |
1705 | | -silent | --silent | --silen | --sile | --sil) |
1356 | continue ;; |
1706 | continue ;; |
1357 | *\'*) |
1707 | *\'*) |
1358 | ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
1708 | ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
1359 | esac |
1709 | esac |
1360 | case $ac_pass in |
1710 | case $ac_pass in |
1361 | 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; |
1711 | 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; |
1362 | 2) |
1712 | 2) |
1363 | ac_configure_args1="$ac_configure_args1 '$ac_arg'" |
1713 | as_fn_append ac_configure_args1 " '$ac_arg'" |
1364 | if test $ac_must_keep_next = true; then |
1714 | if test $ac_must_keep_next = true; then |
1365 | ac_must_keep_next=false # Got value, back to normal. |
1715 | ac_must_keep_next=false # Got value, back to normal. |
1366 | else |
1716 | else |
1367 | case $ac_arg in |
1717 | case $ac_arg in |
1368 | *=* | --config-cache | -C | -disable-* | --disable-* \ |
1718 | *=* | --config-cache | -C | -disable-* | --disable-* \ |
… | |
… | |
1374 | esac |
1724 | esac |
1375 | ;; |
1725 | ;; |
1376 | -* ) ac_must_keep_next=true ;; |
1726 | -* ) ac_must_keep_next=true ;; |
1377 | esac |
1727 | esac |
1378 | fi |
1728 | fi |
1379 | ac_configure_args="$ac_configure_args '$ac_arg'" |
1729 | as_fn_append ac_configure_args " '$ac_arg'" |
1380 | ;; |
1730 | ;; |
1381 | esac |
1731 | esac |
1382 | done |
1732 | done |
1383 | done |
1733 | done |
1384 | $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } |
1734 | { ac_configure_args0=; unset ac_configure_args0;} |
1385 | $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } |
1735 | { ac_configure_args1=; unset ac_configure_args1;} |
1386 | |
1736 | |
1387 | # When interrupted or exit'd, cleanup temporary files, and complete |
1737 | # When interrupted or exit'd, cleanup temporary files, and complete |
1388 | # config.log. We remove comments because anyway the quotes in there |
1738 | # config.log. We remove comments because anyway the quotes in there |
1389 | # would cause problems or look ugly. |
1739 | # would cause problems or look ugly. |
1390 | # WARNING: Use '\'' to represent an apostrophe within the trap. |
1740 | # WARNING: Use '\'' to represent an apostrophe within the trap. |
… | |
… | |
1392 | trap 'exit_status=$? |
1742 | trap 'exit_status=$? |
1393 | # Save into config.log some information that might help in debugging. |
1743 | # Save into config.log some information that might help in debugging. |
1394 | { |
1744 | { |
1395 | echo |
1745 | echo |
1396 | |
1746 | |
1397 | cat <<\_ASBOX |
|
|
1398 | ## ---------------- ## |
1747 | $as_echo "## ---------------- ## |
1399 | ## Cache variables. ## |
1748 | ## Cache variables. ## |
1400 | ## ---------------- ## |
1749 | ## ---------------- ##" |
1401 | _ASBOX |
|
|
1402 | echo |
1750 | echo |
1403 | # The following way of writing the cache mishandles newlines in values, |
1751 | # The following way of writing the cache mishandles newlines in values, |
1404 | ( |
1752 | ( |
1405 | for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do |
1753 | for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do |
1406 | eval ac_val=\$$ac_var |
1754 | eval ac_val=\$$ac_var |
1407 | case $ac_val in #( |
1755 | case $ac_val in #( |
1408 | *${as_nl}*) |
1756 | *${as_nl}*) |
1409 | case $ac_var in #( |
1757 | case $ac_var in #( |
1410 | *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 |
1758 | *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
1411 | echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; |
1759 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
1412 | esac |
1760 | esac |
1413 | case $ac_var in #( |
1761 | case $ac_var in #( |
1414 | _ | IFS | as_nl) ;; #( |
1762 | _ | IFS | as_nl) ;; #( |
1415 | *) $as_unset $ac_var ;; |
1763 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
|
|
1764 | *) { eval $ac_var=; unset $ac_var;} ;; |
1416 | esac ;; |
1765 | esac ;; |
1417 | esac |
1766 | esac |
1418 | done |
1767 | done |
1419 | (set) 2>&1 | |
1768 | (set) 2>&1 | |
1420 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( |
1769 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( |
… | |
… | |
1429 | esac | |
1778 | esac | |
1430 | sort |
1779 | sort |
1431 | ) |
1780 | ) |
1432 | echo |
1781 | echo |
1433 | |
1782 | |
1434 | cat <<\_ASBOX |
|
|
1435 | ## ----------------- ## |
1783 | $as_echo "## ----------------- ## |
1436 | ## Output variables. ## |
1784 | ## Output variables. ## |
1437 | ## ----------------- ## |
1785 | ## ----------------- ##" |
1438 | _ASBOX |
|
|
1439 | echo |
1786 | echo |
1440 | for ac_var in $ac_subst_vars |
1787 | for ac_var in $ac_subst_vars |
1441 | do |
1788 | do |
1442 | eval ac_val=\$$ac_var |
1789 | eval ac_val=\$$ac_var |
1443 | case $ac_val in |
1790 | case $ac_val in |
1444 | *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
1791 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
1445 | esac |
1792 | esac |
1446 | echo "$ac_var='\''$ac_val'\''" |
1793 | $as_echo "$ac_var='\''$ac_val'\''" |
1447 | done | sort |
1794 | done | sort |
1448 | echo |
1795 | echo |
1449 | |
1796 | |
1450 | if test -n "$ac_subst_files"; then |
1797 | if test -n "$ac_subst_files"; then |
1451 | cat <<\_ASBOX |
|
|
1452 | ## ------------------- ## |
1798 | $as_echo "## ------------------- ## |
1453 | ## File substitutions. ## |
1799 | ## File substitutions. ## |
1454 | ## ------------------- ## |
1800 | ## ------------------- ##" |
1455 | _ASBOX |
|
|
1456 | echo |
1801 | echo |
1457 | for ac_var in $ac_subst_files |
1802 | for ac_var in $ac_subst_files |
1458 | do |
1803 | do |
1459 | eval ac_val=\$$ac_var |
1804 | eval ac_val=\$$ac_var |
1460 | case $ac_val in |
1805 | case $ac_val in |
1461 | *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
1806 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
1462 | esac |
1807 | esac |
1463 | echo "$ac_var='\''$ac_val'\''" |
1808 | $as_echo "$ac_var='\''$ac_val'\''" |
1464 | done | sort |
1809 | done | sort |
1465 | echo |
1810 | echo |
1466 | fi |
1811 | fi |
1467 | |
1812 | |
1468 | if test -s confdefs.h; then |
1813 | if test -s confdefs.h; then |
1469 | cat <<\_ASBOX |
1814 | $as_echo "## ----------- ## |
1470 | ## ----------- ## |
|
|
1471 | ## confdefs.h. ## |
1815 | ## confdefs.h. ## |
1472 | ## ----------- ## |
1816 | ## ----------- ##" |
1473 | _ASBOX |
|
|
1474 | echo |
1817 | echo |
1475 | cat confdefs.h |
1818 | cat confdefs.h |
1476 | echo |
1819 | echo |
1477 | fi |
1820 | fi |
1478 | test "$ac_signal" != 0 && |
1821 | test "$ac_signal" != 0 && |
1479 | echo "$as_me: caught signal $ac_signal" |
1822 | $as_echo "$as_me: caught signal $ac_signal" |
1480 | echo "$as_me: exit $exit_status" |
1823 | $as_echo "$as_me: exit $exit_status" |
1481 | } >&5 |
1824 | } >&5 |
1482 | rm -f core *.core core.conftest.* && |
1825 | rm -f core *.core core.conftest.* && |
1483 | rm -f -r conftest* confdefs* conf$$* $ac_clean_files && |
1826 | rm -f -r conftest* confdefs* conf$$* $ac_clean_files && |
1484 | exit $exit_status |
1827 | exit $exit_status |
1485 | ' 0 |
1828 | ' 0 |
1486 | for ac_signal in 1 2 13 15; do |
1829 | for ac_signal in 1 2 13 15; do |
1487 | trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal |
1830 | trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal |
1488 | done |
1831 | done |
1489 | ac_signal=0 |
1832 | ac_signal=0 |
1490 | |
1833 | |
1491 | # confdefs.h avoids OS command line length limits that DEFS can exceed. |
1834 | # confdefs.h avoids OS command line length limits that DEFS can exceed. |
1492 | rm -f -r conftest* confdefs.h |
1835 | rm -f -r conftest* confdefs.h |
1493 | |
1836 | |
|
|
1837 | $as_echo "/* confdefs.h */" > confdefs.h |
|
|
1838 | |
1494 | # Predefined preprocessor variables. |
1839 | # Predefined preprocessor variables. |
1495 | |
1840 | |
1496 | cat >>confdefs.h <<_ACEOF |
1841 | cat >>confdefs.h <<_ACEOF |
1497 | #define PACKAGE_NAME "$PACKAGE_NAME" |
1842 | #define PACKAGE_NAME "$PACKAGE_NAME" |
1498 | _ACEOF |
1843 | _ACEOF |
1499 | |
1844 | |
1500 | |
|
|
1501 | cat >>confdefs.h <<_ACEOF |
1845 | cat >>confdefs.h <<_ACEOF |
1502 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
1846 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
1503 | _ACEOF |
1847 | _ACEOF |
1504 | |
1848 | |
1505 | |
|
|
1506 | cat >>confdefs.h <<_ACEOF |
1849 | cat >>confdefs.h <<_ACEOF |
1507 | #define PACKAGE_VERSION "$PACKAGE_VERSION" |
1850 | #define PACKAGE_VERSION "$PACKAGE_VERSION" |
1508 | _ACEOF |
1851 | _ACEOF |
1509 | |
1852 | |
1510 | |
|
|
1511 | cat >>confdefs.h <<_ACEOF |
1853 | cat >>confdefs.h <<_ACEOF |
1512 | #define PACKAGE_STRING "$PACKAGE_STRING" |
1854 | #define PACKAGE_STRING "$PACKAGE_STRING" |
1513 | _ACEOF |
1855 | _ACEOF |
1514 | |
1856 | |
1515 | |
|
|
1516 | cat >>confdefs.h <<_ACEOF |
1857 | cat >>confdefs.h <<_ACEOF |
1517 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
1858 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
1518 | _ACEOF |
1859 | _ACEOF |
1519 | |
1860 | |
|
|
1861 | cat >>confdefs.h <<_ACEOF |
|
|
1862 | #define PACKAGE_URL "$PACKAGE_URL" |
|
|
1863 | _ACEOF |
|
|
1864 | |
1520 | |
1865 | |
1521 | # Let the site file select an alternate cache file if it wants to. |
1866 | # Let the site file select an alternate cache file if it wants to. |
1522 | # Prefer explicitly selected file to automatically selected ones. |
1867 | # Prefer an explicitly selected file to automatically selected ones. |
|
|
1868 | ac_site_file1=NONE |
|
|
1869 | ac_site_file2=NONE |
1523 | if test -n "$CONFIG_SITE"; then |
1870 | if test -n "$CONFIG_SITE"; then |
1524 | set x "$CONFIG_SITE" |
1871 | # We do not want a PATH search for config.site. |
|
|
1872 | case $CONFIG_SITE in #(( |
|
|
1873 | -*) ac_site_file1=./$CONFIG_SITE;; |
|
|
1874 | */*) ac_site_file1=$CONFIG_SITE;; |
|
|
1875 | *) ac_site_file1=./$CONFIG_SITE;; |
|
|
1876 | esac |
1525 | elif test "x$prefix" != xNONE; then |
1877 | elif test "x$prefix" != xNONE; then |
1526 | set x "$prefix/share/config.site" "$prefix/etc/config.site" |
1878 | ac_site_file1=$prefix/share/config.site |
|
|
1879 | ac_site_file2=$prefix/etc/config.site |
1527 | else |
1880 | else |
1528 | set x "$ac_default_prefix/share/config.site" \ |
1881 | ac_site_file1=$ac_default_prefix/share/config.site |
1529 | "$ac_default_prefix/etc/config.site" |
1882 | ac_site_file2=$ac_default_prefix/etc/config.site |
1530 | fi |
1883 | fi |
1531 | shift |
1884 | for ac_site_file in "$ac_site_file1" "$ac_site_file2" |
1532 | for ac_site_file |
|
|
1533 | do |
1885 | do |
1534 | if test -r "$ac_site_file"; then |
1886 | test "x$ac_site_file" = xNONE && continue |
|
|
1887 | if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then |
1535 | { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 |
1888 | { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 |
1536 | echo "$as_me: loading site script $ac_site_file" >&6;} |
1889 | $as_echo "$as_me: loading site script $ac_site_file" >&6;} |
1537 | sed 's/^/| /' "$ac_site_file" >&5 |
1890 | sed 's/^/| /' "$ac_site_file" >&5 |
1538 | . "$ac_site_file" |
1891 | . "$ac_site_file" \ |
|
|
1892 | || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
|
1893 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
|
1894 | as_fn_error $? "failed to load site script $ac_site_file |
|
|
1895 | See \`config.log' for more details" "$LINENO" 5 ; } |
1539 | fi |
1896 | fi |
1540 | done |
1897 | done |
1541 | |
1898 | |
1542 | if test -r "$cache_file"; then |
1899 | if test -r "$cache_file"; then |
1543 | # Some versions of bash will fail to source /dev/null (special |
1900 | # Some versions of bash will fail to source /dev/null (special files |
1544 | # files actually), so we avoid doing that. |
1901 | # actually), so we avoid doing that. DJGPP emulates it as a regular file. |
1545 | if test -f "$cache_file"; then |
1902 | if test /dev/null != "$cache_file" && test -f "$cache_file"; then |
1546 | { echo "$as_me:$LINENO: loading cache $cache_file" >&5 |
1903 | { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 |
1547 | echo "$as_me: loading cache $cache_file" >&6;} |
1904 | $as_echo "$as_me: loading cache $cache_file" >&6;} |
1548 | case $cache_file in |
1905 | case $cache_file in |
1549 | [\\/]* | ?:[\\/]* ) . "$cache_file";; |
1906 | [\\/]* | ?:[\\/]* ) . "$cache_file";; |
1550 | *) . "./$cache_file";; |
1907 | *) . "./$cache_file";; |
1551 | esac |
1908 | esac |
1552 | fi |
1909 | fi |
1553 | else |
1910 | else |
1554 | { echo "$as_me:$LINENO: creating cache $cache_file" >&5 |
1911 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 |
1555 | echo "$as_me: creating cache $cache_file" >&6;} |
1912 | $as_echo "$as_me: creating cache $cache_file" >&6;} |
1556 | >$cache_file |
1913 | >$cache_file |
1557 | fi |
1914 | fi |
1558 | |
1915 | |
1559 | # Check that the precious variables saved in the cache have kept the same |
1916 | # Check that the precious variables saved in the cache have kept the same |
1560 | # value. |
1917 | # value. |
… | |
… | |
1564 | eval ac_new_set=\$ac_env_${ac_var}_set |
1921 | eval ac_new_set=\$ac_env_${ac_var}_set |
1565 | eval ac_old_val=\$ac_cv_env_${ac_var}_value |
1922 | eval ac_old_val=\$ac_cv_env_${ac_var}_value |
1566 | eval ac_new_val=\$ac_env_${ac_var}_value |
1923 | eval ac_new_val=\$ac_env_${ac_var}_value |
1567 | case $ac_old_set,$ac_new_set in |
1924 | case $ac_old_set,$ac_new_set in |
1568 | set,) |
1925 | set,) |
1569 | { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
1926 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
1570 | echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
1927 | $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
1571 | ac_cache_corrupted=: ;; |
1928 | ac_cache_corrupted=: ;; |
1572 | ,set) |
1929 | ,set) |
1573 | { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 |
1930 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 |
1574 | echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
1931 | $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
1575 | ac_cache_corrupted=: ;; |
1932 | ac_cache_corrupted=: ;; |
1576 | ,);; |
1933 | ,);; |
1577 | *) |
1934 | *) |
1578 | if test "x$ac_old_val" != "x$ac_new_val"; then |
1935 | if test "x$ac_old_val" != "x$ac_new_val"; then |
|
|
1936 | # differences in whitespace do not lead to failure. |
|
|
1937 | ac_old_val_w=`echo x $ac_old_val` |
|
|
1938 | ac_new_val_w=`echo x $ac_new_val` |
|
|
1939 | if test "$ac_old_val_w" != "$ac_new_val_w"; then |
1579 | { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 |
1940 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 |
1580 | echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
1941 | $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
1581 | { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 |
|
|
1582 | echo "$as_me: former value: $ac_old_val" >&2;} |
|
|
1583 | { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 |
|
|
1584 | echo "$as_me: current value: $ac_new_val" >&2;} |
|
|
1585 | ac_cache_corrupted=: |
1942 | ac_cache_corrupted=: |
|
|
1943 | else |
|
|
1944 | { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 |
|
|
1945 | $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} |
|
|
1946 | eval $ac_var=\$ac_old_val |
|
|
1947 | fi |
|
|
1948 | { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 |
|
|
1949 | $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} |
|
|
1950 | { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 |
|
|
1951 | $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} |
1586 | fi;; |
1952 | fi;; |
1587 | esac |
1953 | esac |
1588 | # Pass precious variables to config.status. |
1954 | # Pass precious variables to config.status. |
1589 | if test "$ac_new_set" = set; then |
1955 | if test "$ac_new_set" = set; then |
1590 | case $ac_new_val in |
1956 | case $ac_new_val in |
1591 | *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
1957 | *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
1592 | *) ac_arg=$ac_var=$ac_new_val ;; |
1958 | *) ac_arg=$ac_var=$ac_new_val ;; |
1593 | esac |
1959 | esac |
1594 | case " $ac_configure_args " in |
1960 | case " $ac_configure_args " in |
1595 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
1961 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
1596 | *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; |
1962 | *) as_fn_append ac_configure_args " '$ac_arg'" ;; |
1597 | esac |
1963 | esac |
1598 | fi |
1964 | fi |
1599 | done |
1965 | done |
1600 | if $ac_cache_corrupted; then |
1966 | if $ac_cache_corrupted; then |
|
|
1967 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
|
1968 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
1601 | { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 |
1969 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 |
1602 | echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
1970 | $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
1603 | { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 |
|
|
1604 | echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} |
1971 | as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 |
1605 | { (exit 1); exit 1; }; } |
|
|
1606 | fi |
1972 | fi |
1607 | |
1973 | ## -------------------- ## |
1608 | |
1974 | ## Main body of script. ## |
1609 | |
1975 | ## -------------------- ## |
1610 | |
|
|
1611 | |
|
|
1612 | |
|
|
1613 | |
|
|
1614 | |
|
|
1615 | |
|
|
1616 | |
|
|
1617 | |
|
|
1618 | |
|
|
1619 | |
|
|
1620 | |
|
|
1621 | |
|
|
1622 | |
|
|
1623 | |
1976 | |
1624 | ac_ext=c |
1977 | ac_ext=c |
1625 | ac_cpp='$CPP $CPPFLAGS' |
1978 | ac_cpp='$CPP $CPPFLAGS' |
1626 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
1979 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
1627 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
1980 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
… | |
… | |
1638 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
1991 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
1639 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
1992 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
1640 | if test -n "$ac_tool_prefix"; then |
1993 | if test -n "$ac_tool_prefix"; then |
1641 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
1994 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
1642 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
1995 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
1643 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1996 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1644 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
1997 | $as_echo_n "checking for $ac_word... " >&6; } |
1645 | if test "${ac_cv_prog_CC+set}" = set; then |
1998 | if test "${ac_cv_prog_CC+set}" = set; then : |
1646 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
1999 | $as_echo_n "(cached) " >&6 |
1647 | else |
2000 | else |
1648 | if test -n "$CC"; then |
2001 | if test -n "$CC"; then |
1649 | ac_cv_prog_CC="$CC" # Let the user override the test. |
2002 | ac_cv_prog_CC="$CC" # Let the user override the test. |
1650 | else |
2003 | else |
1651 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2004 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1652 | for as_dir in $PATH |
2005 | for as_dir in $PATH |
1653 | do |
2006 | do |
1654 | IFS=$as_save_IFS |
2007 | IFS=$as_save_IFS |
1655 | test -z "$as_dir" && as_dir=. |
2008 | test -z "$as_dir" && as_dir=. |
1656 | for ac_exec_ext in '' $ac_executable_extensions; do |
2009 | for ac_exec_ext in '' $ac_executable_extensions; do |
1657 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2010 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
1658 | ac_cv_prog_CC="${ac_tool_prefix}gcc" |
2011 | ac_cv_prog_CC="${ac_tool_prefix}gcc" |
1659 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2012 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1660 | break 2 |
2013 | break 2 |
1661 | fi |
2014 | fi |
1662 | done |
2015 | done |
1663 | done |
2016 | done |
1664 | IFS=$as_save_IFS |
2017 | IFS=$as_save_IFS |
1665 | |
2018 | |
1666 | fi |
2019 | fi |
1667 | fi |
2020 | fi |
1668 | CC=$ac_cv_prog_CC |
2021 | CC=$ac_cv_prog_CC |
1669 | if test -n "$CC"; then |
2022 | if test -n "$CC"; then |
1670 | { echo "$as_me:$LINENO: result: $CC" >&5 |
2023 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
1671 | echo "${ECHO_T}$CC" >&6; } |
2024 | $as_echo "$CC" >&6; } |
1672 | else |
2025 | else |
1673 | { echo "$as_me:$LINENO: result: no" >&5 |
2026 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
1674 | echo "${ECHO_T}no" >&6; } |
2027 | $as_echo "no" >&6; } |
1675 | fi |
2028 | fi |
1676 | |
2029 | |
1677 | |
2030 | |
1678 | fi |
2031 | fi |
1679 | if test -z "$ac_cv_prog_CC"; then |
2032 | if test -z "$ac_cv_prog_CC"; then |
1680 | ac_ct_CC=$CC |
2033 | ac_ct_CC=$CC |
1681 | # Extract the first word of "gcc", so it can be a program name with args. |
2034 | # Extract the first word of "gcc", so it can be a program name with args. |
1682 | set dummy gcc; ac_word=$2 |
2035 | set dummy gcc; ac_word=$2 |
1683 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2036 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1684 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
2037 | $as_echo_n "checking for $ac_word... " >&6; } |
1685 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
2038 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : |
1686 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2039 | $as_echo_n "(cached) " >&6 |
1687 | else |
2040 | else |
1688 | if test -n "$ac_ct_CC"; then |
2041 | if test -n "$ac_ct_CC"; then |
1689 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
2042 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
1690 | else |
2043 | else |
1691 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2044 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1692 | for as_dir in $PATH |
2045 | for as_dir in $PATH |
1693 | do |
2046 | do |
1694 | IFS=$as_save_IFS |
2047 | IFS=$as_save_IFS |
1695 | test -z "$as_dir" && as_dir=. |
2048 | test -z "$as_dir" && as_dir=. |
1696 | for ac_exec_ext in '' $ac_executable_extensions; do |
2049 | for ac_exec_ext in '' $ac_executable_extensions; do |
1697 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2050 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
1698 | ac_cv_prog_ac_ct_CC="gcc" |
2051 | ac_cv_prog_ac_ct_CC="gcc" |
1699 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2052 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1700 | break 2 |
2053 | break 2 |
1701 | fi |
2054 | fi |
1702 | done |
2055 | done |
1703 | done |
2056 | done |
1704 | IFS=$as_save_IFS |
2057 | IFS=$as_save_IFS |
1705 | |
2058 | |
1706 | fi |
2059 | fi |
1707 | fi |
2060 | fi |
1708 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
2061 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
1709 | if test -n "$ac_ct_CC"; then |
2062 | if test -n "$ac_ct_CC"; then |
1710 | { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
2063 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
1711 | echo "${ECHO_T}$ac_ct_CC" >&6; } |
2064 | $as_echo "$ac_ct_CC" >&6; } |
1712 | else |
2065 | else |
1713 | { echo "$as_me:$LINENO: result: no" >&5 |
2066 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
1714 | echo "${ECHO_T}no" >&6; } |
2067 | $as_echo "no" >&6; } |
1715 | fi |
2068 | fi |
1716 | |
2069 | |
1717 | if test "x$ac_ct_CC" = x; then |
2070 | if test "x$ac_ct_CC" = x; then |
1718 | CC="" |
2071 | CC="" |
1719 | else |
2072 | else |
1720 | case $cross_compiling:$ac_tool_warned in |
2073 | case $cross_compiling:$ac_tool_warned in |
1721 | yes:) |
2074 | yes:) |
1722 | { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
2075 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
1723 | whose name does not start with the host triplet. If you think this |
2076 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
1724 | configuration is useful to you, please write to autoconf@gnu.org." >&5 |
|
|
1725 | echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools |
|
|
1726 | whose name does not start with the host triplet. If you think this |
|
|
1727 | configuration is useful to you, please write to autoconf@gnu.org." >&2;} |
|
|
1728 | ac_tool_warned=yes ;; |
2077 | ac_tool_warned=yes ;; |
1729 | esac |
2078 | esac |
1730 | CC=$ac_ct_CC |
2079 | CC=$ac_ct_CC |
1731 | fi |
2080 | fi |
1732 | else |
2081 | else |
… | |
… | |
1735 | |
2084 | |
1736 | if test -z "$CC"; then |
2085 | if test -z "$CC"; then |
1737 | if test -n "$ac_tool_prefix"; then |
2086 | if test -n "$ac_tool_prefix"; then |
1738 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
2087 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
1739 | set dummy ${ac_tool_prefix}cc; ac_word=$2 |
2088 | set dummy ${ac_tool_prefix}cc; ac_word=$2 |
1740 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2089 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1741 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
2090 | $as_echo_n "checking for $ac_word... " >&6; } |
1742 | if test "${ac_cv_prog_CC+set}" = set; then |
2091 | if test "${ac_cv_prog_CC+set}" = set; then : |
1743 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2092 | $as_echo_n "(cached) " >&6 |
1744 | else |
2093 | else |
1745 | if test -n "$CC"; then |
2094 | if test -n "$CC"; then |
1746 | ac_cv_prog_CC="$CC" # Let the user override the test. |
2095 | ac_cv_prog_CC="$CC" # Let the user override the test. |
1747 | else |
2096 | else |
1748 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2097 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1749 | for as_dir in $PATH |
2098 | for as_dir in $PATH |
1750 | do |
2099 | do |
1751 | IFS=$as_save_IFS |
2100 | IFS=$as_save_IFS |
1752 | test -z "$as_dir" && as_dir=. |
2101 | test -z "$as_dir" && as_dir=. |
1753 | for ac_exec_ext in '' $ac_executable_extensions; do |
2102 | for ac_exec_ext in '' $ac_executable_extensions; do |
1754 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2103 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
1755 | ac_cv_prog_CC="${ac_tool_prefix}cc" |
2104 | ac_cv_prog_CC="${ac_tool_prefix}cc" |
1756 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2105 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1757 | break 2 |
2106 | break 2 |
1758 | fi |
2107 | fi |
1759 | done |
2108 | done |
1760 | done |
2109 | done |
1761 | IFS=$as_save_IFS |
2110 | IFS=$as_save_IFS |
1762 | |
2111 | |
1763 | fi |
2112 | fi |
1764 | fi |
2113 | fi |
1765 | CC=$ac_cv_prog_CC |
2114 | CC=$ac_cv_prog_CC |
1766 | if test -n "$CC"; then |
2115 | if test -n "$CC"; then |
1767 | { echo "$as_me:$LINENO: result: $CC" >&5 |
2116 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
1768 | echo "${ECHO_T}$CC" >&6; } |
2117 | $as_echo "$CC" >&6; } |
1769 | else |
2118 | else |
1770 | { echo "$as_me:$LINENO: result: no" >&5 |
2119 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
1771 | echo "${ECHO_T}no" >&6; } |
2120 | $as_echo "no" >&6; } |
1772 | fi |
2121 | fi |
1773 | |
2122 | |
1774 | |
2123 | |
1775 | fi |
2124 | fi |
1776 | fi |
2125 | fi |
1777 | if test -z "$CC"; then |
2126 | if test -z "$CC"; then |
1778 | # Extract the first word of "cc", so it can be a program name with args. |
2127 | # Extract the first word of "cc", so it can be a program name with args. |
1779 | set dummy cc; ac_word=$2 |
2128 | set dummy cc; ac_word=$2 |
1780 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2129 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1781 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
2130 | $as_echo_n "checking for $ac_word... " >&6; } |
1782 | if test "${ac_cv_prog_CC+set}" = set; then |
2131 | if test "${ac_cv_prog_CC+set}" = set; then : |
1783 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2132 | $as_echo_n "(cached) " >&6 |
1784 | else |
2133 | else |
1785 | if test -n "$CC"; then |
2134 | if test -n "$CC"; then |
1786 | ac_cv_prog_CC="$CC" # Let the user override the test. |
2135 | ac_cv_prog_CC="$CC" # Let the user override the test. |
1787 | else |
2136 | else |
1788 | ac_prog_rejected=no |
2137 | ac_prog_rejected=no |
1789 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2138 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1790 | for as_dir in $PATH |
2139 | for as_dir in $PATH |
1791 | do |
2140 | do |
1792 | IFS=$as_save_IFS |
2141 | IFS=$as_save_IFS |
1793 | test -z "$as_dir" && as_dir=. |
2142 | test -z "$as_dir" && as_dir=. |
1794 | for ac_exec_ext in '' $ac_executable_extensions; do |
2143 | for ac_exec_ext in '' $ac_executable_extensions; do |
1795 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2144 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
1796 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
2145 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
1797 | ac_prog_rejected=yes |
2146 | ac_prog_rejected=yes |
1798 | continue |
2147 | continue |
1799 | fi |
2148 | fi |
1800 | ac_cv_prog_CC="cc" |
2149 | ac_cv_prog_CC="cc" |
1801 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2150 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1802 | break 2 |
2151 | break 2 |
1803 | fi |
2152 | fi |
1804 | done |
2153 | done |
1805 | done |
2154 | done |
1806 | IFS=$as_save_IFS |
2155 | IFS=$as_save_IFS |
1807 | |
2156 | |
1808 | if test $ac_prog_rejected = yes; then |
2157 | if test $ac_prog_rejected = yes; then |
1809 | # We found a bogon in the path, so make sure we never use it. |
2158 | # We found a bogon in the path, so make sure we never use it. |
1810 | set dummy $ac_cv_prog_CC |
2159 | set dummy $ac_cv_prog_CC |
… | |
… | |
1819 | fi |
2168 | fi |
1820 | fi |
2169 | fi |
1821 | fi |
2170 | fi |
1822 | CC=$ac_cv_prog_CC |
2171 | CC=$ac_cv_prog_CC |
1823 | if test -n "$CC"; then |
2172 | if test -n "$CC"; then |
1824 | { echo "$as_me:$LINENO: result: $CC" >&5 |
2173 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
1825 | echo "${ECHO_T}$CC" >&6; } |
2174 | $as_echo "$CC" >&6; } |
1826 | else |
2175 | else |
1827 | { echo "$as_me:$LINENO: result: no" >&5 |
2176 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
1828 | echo "${ECHO_T}no" >&6; } |
2177 | $as_echo "no" >&6; } |
1829 | fi |
2178 | fi |
1830 | |
2179 | |
1831 | |
2180 | |
1832 | fi |
2181 | fi |
1833 | if test -z "$CC"; then |
2182 | if test -z "$CC"; then |
1834 | if test -n "$ac_tool_prefix"; then |
2183 | if test -n "$ac_tool_prefix"; then |
1835 | for ac_prog in cl.exe |
2184 | for ac_prog in cl.exe |
1836 | do |
2185 | do |
1837 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
2186 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
1838 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
2187 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
1839 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2188 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1840 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
2189 | $as_echo_n "checking for $ac_word... " >&6; } |
1841 | if test "${ac_cv_prog_CC+set}" = set; then |
2190 | if test "${ac_cv_prog_CC+set}" = set; then : |
1842 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2191 | $as_echo_n "(cached) " >&6 |
1843 | else |
2192 | else |
1844 | if test -n "$CC"; then |
2193 | if test -n "$CC"; then |
1845 | ac_cv_prog_CC="$CC" # Let the user override the test. |
2194 | ac_cv_prog_CC="$CC" # Let the user override the test. |
1846 | else |
2195 | else |
1847 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2196 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1848 | for as_dir in $PATH |
2197 | for as_dir in $PATH |
1849 | do |
2198 | do |
1850 | IFS=$as_save_IFS |
2199 | IFS=$as_save_IFS |
1851 | test -z "$as_dir" && as_dir=. |
2200 | test -z "$as_dir" && as_dir=. |
1852 | for ac_exec_ext in '' $ac_executable_extensions; do |
2201 | for ac_exec_ext in '' $ac_executable_extensions; do |
1853 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2202 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
1854 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
2203 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
1855 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2204 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1856 | break 2 |
2205 | break 2 |
1857 | fi |
2206 | fi |
1858 | done |
2207 | done |
1859 | done |
2208 | done |
1860 | IFS=$as_save_IFS |
2209 | IFS=$as_save_IFS |
1861 | |
2210 | |
1862 | fi |
2211 | fi |
1863 | fi |
2212 | fi |
1864 | CC=$ac_cv_prog_CC |
2213 | CC=$ac_cv_prog_CC |
1865 | if test -n "$CC"; then |
2214 | if test -n "$CC"; then |
1866 | { echo "$as_me:$LINENO: result: $CC" >&5 |
2215 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
1867 | echo "${ECHO_T}$CC" >&6; } |
2216 | $as_echo "$CC" >&6; } |
1868 | else |
2217 | else |
1869 | { echo "$as_me:$LINENO: result: no" >&5 |
2218 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
1870 | echo "${ECHO_T}no" >&6; } |
2219 | $as_echo "no" >&6; } |
1871 | fi |
2220 | fi |
1872 | |
2221 | |
1873 | |
2222 | |
1874 | test -n "$CC" && break |
2223 | test -n "$CC" && break |
1875 | done |
2224 | done |
… | |
… | |
1878 | ac_ct_CC=$CC |
2227 | ac_ct_CC=$CC |
1879 | for ac_prog in cl.exe |
2228 | for ac_prog in cl.exe |
1880 | do |
2229 | do |
1881 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
2230 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
1882 | set dummy $ac_prog; ac_word=$2 |
2231 | set dummy $ac_prog; ac_word=$2 |
1883 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2232 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1884 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
2233 | $as_echo_n "checking for $ac_word... " >&6; } |
1885 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
2234 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : |
1886 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2235 | $as_echo_n "(cached) " >&6 |
1887 | else |
2236 | else |
1888 | if test -n "$ac_ct_CC"; then |
2237 | if test -n "$ac_ct_CC"; then |
1889 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
2238 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
1890 | else |
2239 | else |
1891 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2240 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1892 | for as_dir in $PATH |
2241 | for as_dir in $PATH |
1893 | do |
2242 | do |
1894 | IFS=$as_save_IFS |
2243 | IFS=$as_save_IFS |
1895 | test -z "$as_dir" && as_dir=. |
2244 | test -z "$as_dir" && as_dir=. |
1896 | for ac_exec_ext in '' $ac_executable_extensions; do |
2245 | for ac_exec_ext in '' $ac_executable_extensions; do |
1897 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2246 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
1898 | ac_cv_prog_ac_ct_CC="$ac_prog" |
2247 | ac_cv_prog_ac_ct_CC="$ac_prog" |
1899 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2248 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1900 | break 2 |
2249 | break 2 |
1901 | fi |
2250 | fi |
1902 | done |
2251 | done |
1903 | done |
2252 | done |
1904 | IFS=$as_save_IFS |
2253 | IFS=$as_save_IFS |
1905 | |
2254 | |
1906 | fi |
2255 | fi |
1907 | fi |
2256 | fi |
1908 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
2257 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
1909 | if test -n "$ac_ct_CC"; then |
2258 | if test -n "$ac_ct_CC"; then |
1910 | { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
2259 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
1911 | echo "${ECHO_T}$ac_ct_CC" >&6; } |
2260 | $as_echo "$ac_ct_CC" >&6; } |
1912 | else |
2261 | else |
1913 | { echo "$as_me:$LINENO: result: no" >&5 |
2262 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
1914 | echo "${ECHO_T}no" >&6; } |
2263 | $as_echo "no" >&6; } |
1915 | fi |
2264 | fi |
1916 | |
2265 | |
1917 | |
2266 | |
1918 | test -n "$ac_ct_CC" && break |
2267 | test -n "$ac_ct_CC" && break |
1919 | done |
2268 | done |
… | |
… | |
1921 | if test "x$ac_ct_CC" = x; then |
2270 | if test "x$ac_ct_CC" = x; then |
1922 | CC="" |
2271 | CC="" |
1923 | else |
2272 | else |
1924 | case $cross_compiling:$ac_tool_warned in |
2273 | case $cross_compiling:$ac_tool_warned in |
1925 | yes:) |
2274 | yes:) |
1926 | { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
2275 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
1927 | whose name does not start with the host triplet. If you think this |
2276 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
1928 | configuration is useful to you, please write to autoconf@gnu.org." >&5 |
|
|
1929 | echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools |
|
|
1930 | whose name does not start with the host triplet. If you think this |
|
|
1931 | configuration is useful to you, please write to autoconf@gnu.org." >&2;} |
|
|
1932 | ac_tool_warned=yes ;; |
2277 | ac_tool_warned=yes ;; |
1933 | esac |
2278 | esac |
1934 | CC=$ac_ct_CC |
2279 | CC=$ac_ct_CC |
1935 | fi |
2280 | fi |
1936 | fi |
2281 | fi |
1937 | |
2282 | |
1938 | fi |
2283 | fi |
1939 | |
2284 | |
1940 | |
2285 | |
1941 | test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH |
2286 | test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
1942 | See \`config.log' for more details." >&5 |
2287 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
1943 | echo "$as_me: error: no acceptable C compiler found in \$PATH |
2288 | as_fn_error $? "no acceptable C compiler found in \$PATH |
1944 | See \`config.log' for more details." >&2;} |
2289 | See \`config.log' for more details" "$LINENO" 5 ; } |
1945 | { (exit 1); exit 1; }; } |
|
|
1946 | |
2290 | |
1947 | # Provide some information about the compiler. |
2291 | # Provide some information about the compiler. |
1948 | echo "$as_me:$LINENO: checking for C compiler version" >&5 |
2292 | $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
1949 | ac_compiler=`set X $ac_compile; echo $2` |
2293 | set X $ac_compile |
|
|
2294 | ac_compiler=$2 |
|
|
2295 | for ac_option in --version -v -V -qversion; do |
1950 | { (ac_try="$ac_compiler --version >&5" |
2296 | { { ac_try="$ac_compiler $ac_option >&5" |
1951 | case "(($ac_try" in |
2297 | case "(($ac_try" in |
1952 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2298 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
1953 | *) ac_try_echo=$ac_try;; |
2299 | *) ac_try_echo=$ac_try;; |
1954 | esac |
2300 | esac |
1955 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
2301 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
1956 | (eval "$ac_compiler --version >&5") 2>&5 |
2302 | $as_echo "$ac_try_echo"; } >&5 |
|
|
2303 | (eval "$ac_compiler $ac_option >&5") 2>conftest.err |
1957 | ac_status=$? |
2304 | ac_status=$? |
|
|
2305 | if test -s conftest.err; then |
|
|
2306 | sed '10a\ |
|
|
2307 | ... rest of stderr output deleted ... |
|
|
2308 | 10q' conftest.err >conftest.er1 |
|
|
2309 | cat conftest.er1 >&5 |
|
|
2310 | fi |
|
|
2311 | rm -f conftest.er1 conftest.err |
1958 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2312 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
1959 | (exit $ac_status); } |
2313 | test $ac_status = 0; } |
1960 | { (ac_try="$ac_compiler -v >&5" |
2314 | done |
|
|
2315 | |
|
|
2316 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
2317 | /* end confdefs.h. */ |
|
|
2318 | |
|
|
2319 | int |
|
|
2320 | main () |
|
|
2321 | { |
|
|
2322 | |
|
|
2323 | ; |
|
|
2324 | return 0; |
|
|
2325 | } |
|
|
2326 | _ACEOF |
|
|
2327 | ac_clean_files_save=$ac_clean_files |
|
|
2328 | ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" |
|
|
2329 | # Try to create an executable without -o first, disregard a.out. |
|
|
2330 | # It will help us diagnose broken compilers, and finding out an intuition |
|
|
2331 | # of exeext. |
|
|
2332 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 |
|
|
2333 | $as_echo_n "checking whether the C compiler works... " >&6; } |
|
|
2334 | ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
|
|
2335 | |
|
|
2336 | # The possible output files: |
|
|
2337 | ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" |
|
|
2338 | |
|
|
2339 | ac_rmfiles= |
|
|
2340 | for ac_file in $ac_files |
|
|
2341 | do |
|
|
2342 | case $ac_file in |
|
|
2343 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
|
|
2344 | * ) ac_rmfiles="$ac_rmfiles $ac_file";; |
|
|
2345 | esac |
|
|
2346 | done |
|
|
2347 | rm -f $ac_rmfiles |
|
|
2348 | |
|
|
2349 | if { { ac_try="$ac_link_default" |
1961 | case "(($ac_try" in |
2350 | case "(($ac_try" in |
1962 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2351 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
1963 | *) ac_try_echo=$ac_try;; |
2352 | *) ac_try_echo=$ac_try;; |
1964 | esac |
2353 | esac |
1965 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
2354 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
1966 | (eval "$ac_compiler -v >&5") 2>&5 |
2355 | $as_echo "$ac_try_echo"; } >&5 |
1967 | ac_status=$? |
|
|
1968 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
1969 | (exit $ac_status); } |
|
|
1970 | { (ac_try="$ac_compiler -V >&5" |
|
|
1971 | case "(($ac_try" in |
|
|
1972 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
1973 | *) ac_try_echo=$ac_try;; |
|
|
1974 | esac |
|
|
1975 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
1976 | (eval "$ac_compiler -V >&5") 2>&5 |
|
|
1977 | ac_status=$? |
|
|
1978 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
1979 | (exit $ac_status); } |
|
|
1980 | |
|
|
1981 | cat >conftest.$ac_ext <<_ACEOF |
|
|
1982 | /* confdefs.h. */ |
|
|
1983 | _ACEOF |
|
|
1984 | cat confdefs.h >>conftest.$ac_ext |
|
|
1985 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
1986 | /* end confdefs.h. */ |
|
|
1987 | |
|
|
1988 | int |
|
|
1989 | main () |
|
|
1990 | { |
|
|
1991 | |
|
|
1992 | ; |
|
|
1993 | return 0; |
|
|
1994 | } |
|
|
1995 | _ACEOF |
|
|
1996 | ac_clean_files_save=$ac_clean_files |
|
|
1997 | ac_clean_files="$ac_clean_files a.out a.exe b.out" |
|
|
1998 | # Try to create an executable without -o first, disregard a.out. |
|
|
1999 | # It will help us diagnose broken compilers, and finding out an intuition |
|
|
2000 | # of exeext. |
|
|
2001 | { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 |
|
|
2002 | echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } |
|
|
2003 | ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
|
|
2004 | # |
|
|
2005 | # List of possible output files, starting from the most likely. |
|
|
2006 | # The algorithm is not robust to junk in `.', hence go to wildcards (a.*) |
|
|
2007 | # only as a last resort. b.out is created by i960 compilers. |
|
|
2008 | ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' |
|
|
2009 | # |
|
|
2010 | # The IRIX 6 linker writes into existing files which may not be |
|
|
2011 | # executable, retaining their permissions. Remove them first so a |
|
|
2012 | # subsequent execution test works. |
|
|
2013 | ac_rmfiles= |
|
|
2014 | for ac_file in $ac_files |
|
|
2015 | do |
|
|
2016 | case $ac_file in |
|
|
2017 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; |
|
|
2018 | * ) ac_rmfiles="$ac_rmfiles $ac_file";; |
|
|
2019 | esac |
|
|
2020 | done |
|
|
2021 | rm -f $ac_rmfiles |
|
|
2022 | |
|
|
2023 | if { (ac_try="$ac_link_default" |
|
|
2024 | case "(($ac_try" in |
|
|
2025 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
2026 | *) ac_try_echo=$ac_try;; |
|
|
2027 | esac |
|
|
2028 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
2029 | (eval "$ac_link_default") 2>&5 |
2356 | (eval "$ac_link_default") 2>&5 |
2030 | ac_status=$? |
2357 | ac_status=$? |
2031 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2358 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
2032 | (exit $ac_status); }; then |
2359 | test $ac_status = 0; }; then : |
2033 | # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. |
2360 | # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. |
2034 | # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' |
2361 | # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' |
2035 | # in a Makefile. We should not override ac_cv_exeext if it was cached, |
2362 | # in a Makefile. We should not override ac_cv_exeext if it was cached, |
2036 | # so that the user can short-circuit this test for compilers unknown to |
2363 | # so that the user can short-circuit this test for compilers unknown to |
2037 | # Autoconf. |
2364 | # Autoconf. |
2038 | for ac_file in $ac_files '' |
2365 | for ac_file in $ac_files '' |
2039 | do |
2366 | do |
2040 | test -f "$ac_file" || continue |
2367 | test -f "$ac_file" || continue |
2041 | case $ac_file in |
2368 | case $ac_file in |
2042 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) |
2369 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) |
2043 | ;; |
2370 | ;; |
2044 | [ab].out ) |
2371 | [ab].out ) |
2045 | # We found the default executable, but exeext='' is most |
2372 | # We found the default executable, but exeext='' is most |
2046 | # certainly right. |
2373 | # certainly right. |
2047 | break;; |
2374 | break;; |
2048 | *.* ) |
2375 | *.* ) |
2049 | if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; |
2376 | if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; |
2050 | then :; else |
2377 | then :; else |
2051 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
2378 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
2052 | fi |
2379 | fi |
2053 | # We set ac_cv_exeext here because the later test for it is not |
2380 | # We set ac_cv_exeext here because the later test for it is not |
2054 | # safe: cross compilers may not add the suffix if given an `-o' |
2381 | # safe: cross compilers may not add the suffix if given an `-o' |
… | |
… | |
2063 | test "$ac_cv_exeext" = no && ac_cv_exeext= |
2390 | test "$ac_cv_exeext" = no && ac_cv_exeext= |
2064 | |
2391 | |
2065 | else |
2392 | else |
2066 | ac_file='' |
2393 | ac_file='' |
2067 | fi |
2394 | fi |
2068 | |
|
|
2069 | { echo "$as_me:$LINENO: result: $ac_file" >&5 |
|
|
2070 | echo "${ECHO_T}$ac_file" >&6; } |
|
|
2071 | if test -z "$ac_file"; then |
2395 | if test -z "$ac_file"; then : |
|
|
2396 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
2397 | $as_echo "no" >&6; } |
2072 | echo "$as_me: failed program was:" >&5 |
2398 | $as_echo "$as_me: failed program was:" >&5 |
2073 | sed 's/^/| /' conftest.$ac_ext >&5 |
2399 | sed 's/^/| /' conftest.$ac_ext >&5 |
2074 | |
2400 | |
2075 | { { echo "$as_me:$LINENO: error: C compiler cannot create executables |
2401 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2076 | See \`config.log' for more details." >&5 |
2402 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2077 | echo "$as_me: error: C compiler cannot create executables |
2403 | as_fn_error 77 "C compiler cannot create executables |
2078 | See \`config.log' for more details." >&2;} |
2404 | See \`config.log' for more details" "$LINENO" 5 ; } |
2079 | { (exit 77); exit 77; }; } |
2405 | else |
|
|
2406 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
|
2407 | $as_echo "yes" >&6; } |
2080 | fi |
2408 | fi |
2081 | |
2409 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 |
|
|
2410 | $as_echo_n "checking for C compiler default output file name... " >&6; } |
|
|
2411 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 |
|
|
2412 | $as_echo "$ac_file" >&6; } |
2082 | ac_exeext=$ac_cv_exeext |
2413 | ac_exeext=$ac_cv_exeext |
2083 | |
2414 | |
2084 | # Check that the compiler produces executables we can run. If not, either |
|
|
2085 | # the compiler is broken, or we cross compile. |
|
|
2086 | { echo "$as_me:$LINENO: checking whether the C compiler works" >&5 |
|
|
2087 | echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } |
|
|
2088 | # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 |
|
|
2089 | # If not cross compiling, check that we can run a simple program. |
|
|
2090 | if test "$cross_compiling" != yes; then |
|
|
2091 | if { ac_try='./$ac_file' |
|
|
2092 | { (case "(($ac_try" in |
|
|
2093 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
2094 | *) ac_try_echo=$ac_try;; |
|
|
2095 | esac |
|
|
2096 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
2097 | (eval "$ac_try") 2>&5 |
|
|
2098 | ac_status=$? |
|
|
2099 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
2100 | (exit $ac_status); }; }; then |
|
|
2101 | cross_compiling=no |
|
|
2102 | else |
|
|
2103 | if test "$cross_compiling" = maybe; then |
|
|
2104 | cross_compiling=yes |
|
|
2105 | else |
|
|
2106 | { { echo "$as_me:$LINENO: error: cannot run C compiled programs. |
|
|
2107 | If you meant to cross compile, use \`--host'. |
|
|
2108 | See \`config.log' for more details." >&5 |
|
|
2109 | echo "$as_me: error: cannot run C compiled programs. |
|
|
2110 | If you meant to cross compile, use \`--host'. |
|
|
2111 | See \`config.log' for more details." >&2;} |
|
|
2112 | { (exit 1); exit 1; }; } |
|
|
2113 | fi |
|
|
2114 | fi |
|
|
2115 | fi |
|
|
2116 | { echo "$as_me:$LINENO: result: yes" >&5 |
|
|
2117 | echo "${ECHO_T}yes" >&6; } |
|
|
2118 | |
|
|
2119 | rm -f a.out a.exe conftest$ac_cv_exeext b.out |
2415 | rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out |
2120 | ac_clean_files=$ac_clean_files_save |
2416 | ac_clean_files=$ac_clean_files_save |
2121 | # Check that the compiler produces executables we can run. If not, either |
|
|
2122 | # the compiler is broken, or we cross compile. |
|
|
2123 | { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 |
|
|
2124 | echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } |
|
|
2125 | { echo "$as_me:$LINENO: result: $cross_compiling" >&5 |
|
|
2126 | echo "${ECHO_T}$cross_compiling" >&6; } |
|
|
2127 | |
|
|
2128 | { echo "$as_me:$LINENO: checking for suffix of executables" >&5 |
2417 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 |
2129 | echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } |
2418 | $as_echo_n "checking for suffix of executables... " >&6; } |
2130 | if { (ac_try="$ac_link" |
2419 | if { { ac_try="$ac_link" |
2131 | case "(($ac_try" in |
2420 | case "(($ac_try" in |
2132 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2421 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2133 | *) ac_try_echo=$ac_try;; |
2422 | *) ac_try_echo=$ac_try;; |
2134 | esac |
2423 | esac |
2135 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
2424 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
|
2425 | $as_echo "$ac_try_echo"; } >&5 |
2136 | (eval "$ac_link") 2>&5 |
2426 | (eval "$ac_link") 2>&5 |
2137 | ac_status=$? |
2427 | ac_status=$? |
2138 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2428 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
2139 | (exit $ac_status); }; then |
2429 | test $ac_status = 0; }; then : |
2140 | # If both `conftest.exe' and `conftest' are `present' (well, observable) |
2430 | # If both `conftest.exe' and `conftest' are `present' (well, observable) |
2141 | # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
2431 | # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
2142 | # work properly (i.e., refer to `conftest.exe'), while it won't with |
2432 | # work properly (i.e., refer to `conftest.exe'), while it won't with |
2143 | # `rm'. |
2433 | # `rm'. |
2144 | for ac_file in conftest.exe conftest conftest.*; do |
2434 | for ac_file in conftest.exe conftest conftest.*; do |
2145 | test -f "$ac_file" || continue |
2435 | test -f "$ac_file" || continue |
2146 | case $ac_file in |
2436 | case $ac_file in |
2147 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; |
2437 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
2148 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
2438 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
2149 | break;; |
2439 | break;; |
2150 | * ) break;; |
2440 | * ) break;; |
2151 | esac |
2441 | esac |
2152 | done |
2442 | done |
2153 | else |
2443 | else |
2154 | { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link |
2444 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2155 | See \`config.log' for more details." >&5 |
2445 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2156 | echo "$as_me: error: cannot compute suffix of executables: cannot compile and link |
2446 | as_fn_error $? "cannot compute suffix of executables: cannot compile and link |
2157 | See \`config.log' for more details." >&2;} |
2447 | See \`config.log' for more details" "$LINENO" 5 ; } |
2158 | { (exit 1); exit 1; }; } |
|
|
2159 | fi |
2448 | fi |
2160 | |
|
|
2161 | rm -f conftest$ac_cv_exeext |
2449 | rm -f conftest conftest$ac_cv_exeext |
2162 | { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 |
2450 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
2163 | echo "${ECHO_T}$ac_cv_exeext" >&6; } |
2451 | $as_echo "$ac_cv_exeext" >&6; } |
2164 | |
2452 | |
2165 | rm -f conftest.$ac_ext |
2453 | rm -f conftest.$ac_ext |
2166 | EXEEXT=$ac_cv_exeext |
2454 | EXEEXT=$ac_cv_exeext |
2167 | ac_exeext=$EXEEXT |
2455 | ac_exeext=$EXEEXT |
2168 | { echo "$as_me:$LINENO: checking for suffix of object files" >&5 |
|
|
2169 | echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } |
|
|
2170 | if test "${ac_cv_objext+set}" = set; then |
|
|
2171 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
2172 | else |
|
|
2173 | cat >conftest.$ac_ext <<_ACEOF |
|
|
2174 | /* confdefs.h. */ |
|
|
2175 | _ACEOF |
|
|
2176 | cat confdefs.h >>conftest.$ac_ext |
2456 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2177 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
2178 | /* end confdefs.h. */ |
2457 | /* end confdefs.h. */ |
2179 | |
2458 | #include <stdio.h> |
2180 | int |
2459 | int |
2181 | main () |
2460 | main () |
2182 | { |
2461 | { |
|
|
2462 | FILE *f = fopen ("conftest.out", "w"); |
|
|
2463 | return ferror (f) || fclose (f) != 0; |
2183 | |
2464 | |
2184 | ; |
2465 | ; |
2185 | return 0; |
2466 | return 0; |
2186 | } |
2467 | } |
2187 | _ACEOF |
2468 | _ACEOF |
2188 | rm -f conftest.o conftest.obj |
2469 | ac_clean_files="$ac_clean_files conftest.out" |
2189 | if { (ac_try="$ac_compile" |
2470 | # Check that the compiler produces executables we can run. If not, either |
|
|
2471 | # the compiler is broken, or we cross compile. |
|
|
2472 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 |
|
|
2473 | $as_echo_n "checking whether we are cross compiling... " >&6; } |
|
|
2474 | if test "$cross_compiling" != yes; then |
|
|
2475 | { { ac_try="$ac_link" |
2190 | case "(($ac_try" in |
2476 | case "(($ac_try" in |
2191 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2477 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2192 | *) ac_try_echo=$ac_try;; |
2478 | *) ac_try_echo=$ac_try;; |
2193 | esac |
2479 | esac |
2194 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
2480 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
|
2481 | $as_echo "$ac_try_echo"; } >&5 |
|
|
2482 | (eval "$ac_link") 2>&5 |
|
|
2483 | ac_status=$? |
|
|
2484 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
|
2485 | test $ac_status = 0; } |
|
|
2486 | if { ac_try='./conftest$ac_cv_exeext' |
|
|
2487 | { { case "(($ac_try" in |
|
|
2488 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
2489 | *) ac_try_echo=$ac_try;; |
|
|
2490 | esac |
|
|
2491 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
|
2492 | $as_echo "$ac_try_echo"; } >&5 |
|
|
2493 | (eval "$ac_try") 2>&5 |
|
|
2494 | ac_status=$? |
|
|
2495 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
|
2496 | test $ac_status = 0; }; }; then |
|
|
2497 | cross_compiling=no |
|
|
2498 | else |
|
|
2499 | if test "$cross_compiling" = maybe; then |
|
|
2500 | cross_compiling=yes |
|
|
2501 | else |
|
|
2502 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
|
2503 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
|
2504 | as_fn_error $? "cannot run C compiled programs. |
|
|
2505 | If you meant to cross compile, use \`--host'. |
|
|
2506 | See \`config.log' for more details" "$LINENO" 5 ; } |
|
|
2507 | fi |
|
|
2508 | fi |
|
|
2509 | fi |
|
|
2510 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
|
|
2511 | $as_echo "$cross_compiling" >&6; } |
|
|
2512 | |
|
|
2513 | rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out |
|
|
2514 | ac_clean_files=$ac_clean_files_save |
|
|
2515 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 |
|
|
2516 | $as_echo_n "checking for suffix of object files... " >&6; } |
|
|
2517 | if test "${ac_cv_objext+set}" = set; then : |
|
|
2518 | $as_echo_n "(cached) " >&6 |
|
|
2519 | else |
|
|
2520 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
2521 | /* end confdefs.h. */ |
|
|
2522 | |
|
|
2523 | int |
|
|
2524 | main () |
|
|
2525 | { |
|
|
2526 | |
|
|
2527 | ; |
|
|
2528 | return 0; |
|
|
2529 | } |
|
|
2530 | _ACEOF |
|
|
2531 | rm -f conftest.o conftest.obj |
|
|
2532 | if { { ac_try="$ac_compile" |
|
|
2533 | case "(($ac_try" in |
|
|
2534 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
2535 | *) ac_try_echo=$ac_try;; |
|
|
2536 | esac |
|
|
2537 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
|
2538 | $as_echo "$ac_try_echo"; } >&5 |
2195 | (eval "$ac_compile") 2>&5 |
2539 | (eval "$ac_compile") 2>&5 |
2196 | ac_status=$? |
2540 | ac_status=$? |
2197 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2541 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
2198 | (exit $ac_status); }; then |
2542 | test $ac_status = 0; }; then : |
2199 | for ac_file in conftest.o conftest.obj conftest.*; do |
2543 | for ac_file in conftest.o conftest.obj conftest.*; do |
2200 | test -f "$ac_file" || continue; |
2544 | test -f "$ac_file" || continue; |
2201 | case $ac_file in |
2545 | case $ac_file in |
2202 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; |
2546 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; |
2203 | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
2547 | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
2204 | break;; |
2548 | break;; |
2205 | esac |
2549 | esac |
2206 | done |
2550 | done |
2207 | else |
2551 | else |
2208 | echo "$as_me: failed program was:" >&5 |
2552 | $as_echo "$as_me: failed program was:" >&5 |
2209 | sed 's/^/| /' conftest.$ac_ext >&5 |
2553 | sed 's/^/| /' conftest.$ac_ext >&5 |
2210 | |
2554 | |
2211 | { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile |
2555 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2212 | See \`config.log' for more details." >&5 |
2556 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2213 | echo "$as_me: error: cannot compute suffix of object files: cannot compile |
2557 | as_fn_error $? "cannot compute suffix of object files: cannot compile |
2214 | See \`config.log' for more details." >&2;} |
2558 | See \`config.log' for more details" "$LINENO" 5 ; } |
2215 | { (exit 1); exit 1; }; } |
|
|
2216 | fi |
2559 | fi |
2217 | |
|
|
2218 | rm -f conftest.$ac_cv_objext conftest.$ac_ext |
2560 | rm -f conftest.$ac_cv_objext conftest.$ac_ext |
2219 | fi |
2561 | fi |
2220 | { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 |
2562 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 |
2221 | echo "${ECHO_T}$ac_cv_objext" >&6; } |
2563 | $as_echo "$ac_cv_objext" >&6; } |
2222 | OBJEXT=$ac_cv_objext |
2564 | OBJEXT=$ac_cv_objext |
2223 | ac_objext=$OBJEXT |
2565 | ac_objext=$OBJEXT |
2224 | { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 |
2566 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 |
2225 | echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } |
2567 | $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
2226 | if test "${ac_cv_c_compiler_gnu+set}" = set; then |
2568 | if test "${ac_cv_c_compiler_gnu+set}" = set; then : |
2227 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2569 | $as_echo_n "(cached) " >&6 |
2228 | else |
2570 | else |
2229 | cat >conftest.$ac_ext <<_ACEOF |
|
|
2230 | /* confdefs.h. */ |
|
|
2231 | _ACEOF |
|
|
2232 | cat confdefs.h >>conftest.$ac_ext |
2571 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2233 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
2234 | /* end confdefs.h. */ |
2572 | /* end confdefs.h. */ |
2235 | |
2573 | |
2236 | int |
2574 | int |
2237 | main () |
2575 | main () |
2238 | { |
2576 | { |
… | |
… | |
2242 | |
2580 | |
2243 | ; |
2581 | ; |
2244 | return 0; |
2582 | return 0; |
2245 | } |
2583 | } |
2246 | _ACEOF |
2584 | _ACEOF |
2247 | rm -f conftest.$ac_objext |
2585 | if ac_fn_c_try_compile "$LINENO"; then : |
2248 | if { (ac_try="$ac_compile" |
|
|
2249 | case "(($ac_try" in |
|
|
2250 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
2251 | *) ac_try_echo=$ac_try;; |
|
|
2252 | esac |
|
|
2253 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
2254 | (eval "$ac_compile") 2>conftest.er1 |
|
|
2255 | ac_status=$? |
|
|
2256 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
2257 | rm -f conftest.er1 |
|
|
2258 | cat conftest.err >&5 |
|
|
2259 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
2260 | (exit $ac_status); } && { |
|
|
2261 | test -z "$ac_c_werror_flag" || |
|
|
2262 | test ! -s conftest.err |
|
|
2263 | } && test -s conftest.$ac_objext; then |
|
|
2264 | ac_compiler_gnu=yes |
2586 | ac_compiler_gnu=yes |
2265 | else |
2587 | else |
2266 | echo "$as_me: failed program was:" >&5 |
|
|
2267 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
2268 | |
|
|
2269 | ac_compiler_gnu=no |
2588 | ac_compiler_gnu=no |
2270 | fi |
2589 | fi |
2271 | |
|
|
2272 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2590 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2273 | ac_cv_c_compiler_gnu=$ac_compiler_gnu |
2591 | ac_cv_c_compiler_gnu=$ac_compiler_gnu |
2274 | |
2592 | |
2275 | fi |
2593 | fi |
2276 | { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
2594 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 |
2277 | echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } |
2595 | $as_echo "$ac_cv_c_compiler_gnu" >&6; } |
2278 | GCC=`test $ac_compiler_gnu = yes && echo yes` |
2596 | if test $ac_compiler_gnu = yes; then |
|
|
2597 | GCC=yes |
|
|
2598 | else |
|
|
2599 | GCC= |
|
|
2600 | fi |
2279 | ac_test_CFLAGS=${CFLAGS+set} |
2601 | ac_test_CFLAGS=${CFLAGS+set} |
2280 | ac_save_CFLAGS=$CFLAGS |
2602 | ac_save_CFLAGS=$CFLAGS |
2281 | { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 |
2603 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
2282 | echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } |
2604 | $as_echo_n "checking whether $CC accepts -g... " >&6; } |
2283 | if test "${ac_cv_prog_cc_g+set}" = set; then |
2605 | if test "${ac_cv_prog_cc_g+set}" = set; then : |
2284 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2606 | $as_echo_n "(cached) " >&6 |
2285 | else |
2607 | else |
2286 | ac_save_c_werror_flag=$ac_c_werror_flag |
2608 | ac_save_c_werror_flag=$ac_c_werror_flag |
2287 | ac_c_werror_flag=yes |
2609 | ac_c_werror_flag=yes |
2288 | ac_cv_prog_cc_g=no |
2610 | ac_cv_prog_cc_g=no |
2289 | CFLAGS="-g" |
2611 | CFLAGS="-g" |
2290 | cat >conftest.$ac_ext <<_ACEOF |
|
|
2291 | /* confdefs.h. */ |
|
|
2292 | _ACEOF |
|
|
2293 | cat confdefs.h >>conftest.$ac_ext |
2612 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2294 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
2295 | /* end confdefs.h. */ |
2613 | /* end confdefs.h. */ |
2296 | |
2614 | |
2297 | int |
2615 | int |
2298 | main () |
2616 | main () |
2299 | { |
2617 | { |
2300 | |
2618 | |
2301 | ; |
2619 | ; |
2302 | return 0; |
2620 | return 0; |
2303 | } |
2621 | } |
2304 | _ACEOF |
2622 | _ACEOF |
2305 | rm -f conftest.$ac_objext |
2623 | if ac_fn_c_try_compile "$LINENO"; then : |
2306 | if { (ac_try="$ac_compile" |
|
|
2307 | case "(($ac_try" in |
|
|
2308 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
2309 | *) ac_try_echo=$ac_try;; |
|
|
2310 | esac |
|
|
2311 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
2312 | (eval "$ac_compile") 2>conftest.er1 |
|
|
2313 | ac_status=$? |
|
|
2314 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
2315 | rm -f conftest.er1 |
|
|
2316 | cat conftest.err >&5 |
|
|
2317 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
2318 | (exit $ac_status); } && { |
|
|
2319 | test -z "$ac_c_werror_flag" || |
|
|
2320 | test ! -s conftest.err |
|
|
2321 | } && test -s conftest.$ac_objext; then |
|
|
2322 | ac_cv_prog_cc_g=yes |
2624 | ac_cv_prog_cc_g=yes |
2323 | else |
2625 | else |
2324 | echo "$as_me: failed program was:" >&5 |
|
|
2325 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
2326 | |
|
|
2327 | CFLAGS="" |
2626 | CFLAGS="" |
2328 | cat >conftest.$ac_ext <<_ACEOF |
|
|
2329 | /* confdefs.h. */ |
|
|
2330 | _ACEOF |
|
|
2331 | cat confdefs.h >>conftest.$ac_ext |
2627 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2332 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
2333 | /* end confdefs.h. */ |
2628 | /* end confdefs.h. */ |
2334 | |
2629 | |
2335 | int |
2630 | int |
2336 | main () |
2631 | main () |
2337 | { |
2632 | { |
2338 | |
2633 | |
2339 | ; |
2634 | ; |
2340 | return 0; |
2635 | return 0; |
2341 | } |
2636 | } |
2342 | _ACEOF |
2637 | _ACEOF |
2343 | rm -f conftest.$ac_objext |
2638 | if ac_fn_c_try_compile "$LINENO"; then : |
2344 | if { (ac_try="$ac_compile" |
|
|
2345 | case "(($ac_try" in |
|
|
2346 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
2347 | *) ac_try_echo=$ac_try;; |
|
|
2348 | esac |
|
|
2349 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
2350 | (eval "$ac_compile") 2>conftest.er1 |
|
|
2351 | ac_status=$? |
|
|
2352 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
2353 | rm -f conftest.er1 |
|
|
2354 | cat conftest.err >&5 |
|
|
2355 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
2356 | (exit $ac_status); } && { |
|
|
2357 | test -z "$ac_c_werror_flag" || |
|
|
2358 | test ! -s conftest.err |
|
|
2359 | } && test -s conftest.$ac_objext; then |
|
|
2360 | : |
|
|
2361 | else |
|
|
2362 | echo "$as_me: failed program was:" >&5 |
|
|
2363 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
2364 | |
2639 | |
|
|
2640 | else |
2365 | ac_c_werror_flag=$ac_save_c_werror_flag |
2641 | ac_c_werror_flag=$ac_save_c_werror_flag |
2366 | CFLAGS="-g" |
2642 | CFLAGS="-g" |
2367 | cat >conftest.$ac_ext <<_ACEOF |
|
|
2368 | /* confdefs.h. */ |
|
|
2369 | _ACEOF |
|
|
2370 | cat confdefs.h >>conftest.$ac_ext |
2643 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2371 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
2372 | /* end confdefs.h. */ |
2644 | /* end confdefs.h. */ |
2373 | |
2645 | |
2374 | int |
2646 | int |
2375 | main () |
2647 | main () |
2376 | { |
2648 | { |
2377 | |
2649 | |
2378 | ; |
2650 | ; |
2379 | return 0; |
2651 | return 0; |
2380 | } |
2652 | } |
2381 | _ACEOF |
2653 | _ACEOF |
2382 | rm -f conftest.$ac_objext |
2654 | if ac_fn_c_try_compile "$LINENO"; then : |
2383 | if { (ac_try="$ac_compile" |
|
|
2384 | case "(($ac_try" in |
|
|
2385 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
2386 | *) ac_try_echo=$ac_try;; |
|
|
2387 | esac |
|
|
2388 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
2389 | (eval "$ac_compile") 2>conftest.er1 |
|
|
2390 | ac_status=$? |
|
|
2391 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
2392 | rm -f conftest.er1 |
|
|
2393 | cat conftest.err >&5 |
|
|
2394 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
2395 | (exit $ac_status); } && { |
|
|
2396 | test -z "$ac_c_werror_flag" || |
|
|
2397 | test ! -s conftest.err |
|
|
2398 | } && test -s conftest.$ac_objext; then |
|
|
2399 | ac_cv_prog_cc_g=yes |
2655 | ac_cv_prog_cc_g=yes |
2400 | else |
|
|
2401 | echo "$as_me: failed program was:" >&5 |
|
|
2402 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
2403 | |
|
|
2404 | |
|
|
2405 | fi |
2656 | fi |
2406 | |
|
|
2407 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2657 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2408 | fi |
2658 | fi |
2409 | |
|
|
2410 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2659 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2411 | fi |
2660 | fi |
2412 | |
|
|
2413 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2661 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2414 | ac_c_werror_flag=$ac_save_c_werror_flag |
2662 | ac_c_werror_flag=$ac_save_c_werror_flag |
2415 | fi |
2663 | fi |
2416 | { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
2664 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 |
2417 | echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } |
2665 | $as_echo "$ac_cv_prog_cc_g" >&6; } |
2418 | if test "$ac_test_CFLAGS" = set; then |
2666 | if test "$ac_test_CFLAGS" = set; then |
2419 | CFLAGS=$ac_save_CFLAGS |
2667 | CFLAGS=$ac_save_CFLAGS |
2420 | elif test $ac_cv_prog_cc_g = yes; then |
2668 | elif test $ac_cv_prog_cc_g = yes; then |
2421 | if test "$GCC" = yes; then |
2669 | if test "$GCC" = yes; then |
2422 | CFLAGS="-g -O2" |
2670 | CFLAGS="-g -O2" |
… | |
… | |
2428 | CFLAGS="-O2" |
2676 | CFLAGS="-O2" |
2429 | else |
2677 | else |
2430 | CFLAGS= |
2678 | CFLAGS= |
2431 | fi |
2679 | fi |
2432 | fi |
2680 | fi |
2433 | { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 |
2681 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 |
2434 | echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } |
2682 | $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
2435 | if test "${ac_cv_prog_cc_c89+set}" = set; then |
2683 | if test "${ac_cv_prog_cc_c89+set}" = set; then : |
2436 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2684 | $as_echo_n "(cached) " >&6 |
2437 | else |
2685 | else |
2438 | ac_cv_prog_cc_c89=no |
2686 | ac_cv_prog_cc_c89=no |
2439 | ac_save_CC=$CC |
2687 | ac_save_CC=$CC |
2440 | cat >conftest.$ac_ext <<_ACEOF |
|
|
2441 | /* confdefs.h. */ |
|
|
2442 | _ACEOF |
|
|
2443 | cat confdefs.h >>conftest.$ac_ext |
2688 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2444 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
2445 | /* end confdefs.h. */ |
2689 | /* end confdefs.h. */ |
2446 | #include <stdarg.h> |
2690 | #include <stdarg.h> |
2447 | #include <stdio.h> |
2691 | #include <stdio.h> |
2448 | #include <sys/types.h> |
2692 | #include <sys/types.h> |
2449 | #include <sys/stat.h> |
2693 | #include <sys/stat.h> |
… | |
… | |
2496 | _ACEOF |
2740 | _ACEOF |
2497 | for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ |
2741 | for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ |
2498 | -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
2742 | -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
2499 | do |
2743 | do |
2500 | CC="$ac_save_CC $ac_arg" |
2744 | CC="$ac_save_CC $ac_arg" |
2501 | rm -f conftest.$ac_objext |
2745 | if ac_fn_c_try_compile "$LINENO"; then : |
2502 | if { (ac_try="$ac_compile" |
|
|
2503 | case "(($ac_try" in |
|
|
2504 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
2505 | *) ac_try_echo=$ac_try;; |
|
|
2506 | esac |
|
|
2507 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
2508 | (eval "$ac_compile") 2>conftest.er1 |
|
|
2509 | ac_status=$? |
|
|
2510 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
2511 | rm -f conftest.er1 |
|
|
2512 | cat conftest.err >&5 |
|
|
2513 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
2514 | (exit $ac_status); } && { |
|
|
2515 | test -z "$ac_c_werror_flag" || |
|
|
2516 | test ! -s conftest.err |
|
|
2517 | } && test -s conftest.$ac_objext; then |
|
|
2518 | ac_cv_prog_cc_c89=$ac_arg |
2746 | ac_cv_prog_cc_c89=$ac_arg |
2519 | else |
|
|
2520 | echo "$as_me: failed program was:" >&5 |
|
|
2521 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
2522 | |
|
|
2523 | |
|
|
2524 | fi |
2747 | fi |
2525 | |
|
|
2526 | rm -f core conftest.err conftest.$ac_objext |
2748 | rm -f core conftest.err conftest.$ac_objext |
2527 | test "x$ac_cv_prog_cc_c89" != "xno" && break |
2749 | test "x$ac_cv_prog_cc_c89" != "xno" && break |
2528 | done |
2750 | done |
2529 | rm -f conftest.$ac_ext |
2751 | rm -f conftest.$ac_ext |
2530 | CC=$ac_save_CC |
2752 | CC=$ac_save_CC |
2531 | |
2753 | |
2532 | fi |
2754 | fi |
2533 | # AC_CACHE_VAL |
2755 | # AC_CACHE_VAL |
2534 | case "x$ac_cv_prog_cc_c89" in |
2756 | case "x$ac_cv_prog_cc_c89" in |
2535 | x) |
2757 | x) |
2536 | { echo "$as_me:$LINENO: result: none needed" >&5 |
2758 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
2537 | echo "${ECHO_T}none needed" >&6; } ;; |
2759 | $as_echo "none needed" >&6; } ;; |
2538 | xno) |
2760 | xno) |
2539 | { echo "$as_me:$LINENO: result: unsupported" >&5 |
2761 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
2540 | echo "${ECHO_T}unsupported" >&6; } ;; |
2762 | $as_echo "unsupported" >&6; } ;; |
2541 | *) |
2763 | *) |
2542 | CC="$CC $ac_cv_prog_cc_c89" |
2764 | CC="$CC $ac_cv_prog_cc_c89" |
2543 | { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 |
2765 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 |
2544 | echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; |
2766 | $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; |
2545 | esac |
2767 | esac |
|
|
2768 | if test "x$ac_cv_prog_cc_c89" != xno; then : |
2546 | |
2769 | |
|
|
2770 | fi |
2547 | |
2771 | |
2548 | ac_ext=c |
2772 | ac_ext=c |
2549 | ac_cpp='$CPP $CPPFLAGS' |
2773 | ac_cpp='$CPP $CPPFLAGS' |
2550 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
2774 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
2551 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
2775 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
2552 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
2776 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
2553 | |
2777 | |
2554 | |
2778 | |
2555 | |
2779 | |
|
|
2780 | ac_ext=c |
|
|
2781 | ac_cpp='$CPP $CPPFLAGS' |
|
|
2782 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
2783 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
2784 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
2785 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 |
|
|
2786 | $as_echo_n "checking how to run the C preprocessor... " >&6; } |
|
|
2787 | # On Suns, sometimes $CPP names a directory. |
|
|
2788 | if test -n "$CPP" && test -d "$CPP"; then |
|
|
2789 | CPP= |
|
|
2790 | fi |
|
|
2791 | if test -z "$CPP"; then |
|
|
2792 | if test "${ac_cv_prog_CPP+set}" = set; then : |
|
|
2793 | $as_echo_n "(cached) " >&6 |
|
|
2794 | else |
|
|
2795 | # Double quotes because CPP needs to be expanded |
|
|
2796 | for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
|
|
2797 | do |
|
|
2798 | ac_preproc_ok=false |
|
|
2799 | for ac_c_preproc_warn_flag in '' yes |
|
|
2800 | do |
|
|
2801 | # Use a header file that comes with gcc, so configuring glibc |
|
|
2802 | # with a fresh cross-compiler works. |
|
|
2803 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
2804 | # <limits.h> exists even on freestanding compilers. |
|
|
2805 | # On the NeXT, cc -E runs the code through the compiler's parser, |
|
|
2806 | # not just through cpp. "Syntax error" is here to catch this case. |
|
|
2807 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
2808 | /* end confdefs.h. */ |
|
|
2809 | #ifdef __STDC__ |
|
|
2810 | # include <limits.h> |
|
|
2811 | #else |
|
|
2812 | # include <assert.h> |
|
|
2813 | #endif |
|
|
2814 | Syntax error |
|
|
2815 | _ACEOF |
|
|
2816 | if ac_fn_c_try_cpp "$LINENO"; then : |
|
|
2817 | |
|
|
2818 | else |
|
|
2819 | # Broken: fails on valid input. |
|
|
2820 | continue |
|
|
2821 | fi |
|
|
2822 | rm -f conftest.err conftest.i conftest.$ac_ext |
|
|
2823 | |
|
|
2824 | # OK, works on sane cases. Now check whether nonexistent headers |
|
|
2825 | # can be detected and how. |
|
|
2826 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
2827 | /* end confdefs.h. */ |
|
|
2828 | #include <ac_nonexistent.h> |
|
|
2829 | _ACEOF |
|
|
2830 | if ac_fn_c_try_cpp "$LINENO"; then : |
|
|
2831 | # Broken: success on invalid input. |
|
|
2832 | continue |
|
|
2833 | else |
|
|
2834 | # Passes both tests. |
|
|
2835 | ac_preproc_ok=: |
|
|
2836 | break |
|
|
2837 | fi |
|
|
2838 | rm -f conftest.err conftest.i conftest.$ac_ext |
|
|
2839 | |
|
|
2840 | done |
|
|
2841 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
|
2842 | rm -f conftest.i conftest.err conftest.$ac_ext |
|
|
2843 | if $ac_preproc_ok; then : |
|
|
2844 | break |
|
|
2845 | fi |
|
|
2846 | |
|
|
2847 | done |
|
|
2848 | ac_cv_prog_CPP=$CPP |
|
|
2849 | |
|
|
2850 | fi |
|
|
2851 | CPP=$ac_cv_prog_CPP |
|
|
2852 | else |
|
|
2853 | ac_cv_prog_CPP=$CPP |
|
|
2854 | fi |
|
|
2855 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 |
|
|
2856 | $as_echo "$CPP" >&6; } |
|
|
2857 | ac_preproc_ok=false |
|
|
2858 | for ac_c_preproc_warn_flag in '' yes |
|
|
2859 | do |
|
|
2860 | # Use a header file that comes with gcc, so configuring glibc |
|
|
2861 | # with a fresh cross-compiler works. |
|
|
2862 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
2863 | # <limits.h> exists even on freestanding compilers. |
|
|
2864 | # On the NeXT, cc -E runs the code through the compiler's parser, |
|
|
2865 | # not just through cpp. "Syntax error" is here to catch this case. |
|
|
2866 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
2867 | /* end confdefs.h. */ |
|
|
2868 | #ifdef __STDC__ |
|
|
2869 | # include <limits.h> |
|
|
2870 | #else |
|
|
2871 | # include <assert.h> |
|
|
2872 | #endif |
|
|
2873 | Syntax error |
|
|
2874 | _ACEOF |
|
|
2875 | if ac_fn_c_try_cpp "$LINENO"; then : |
|
|
2876 | |
|
|
2877 | else |
|
|
2878 | # Broken: fails on valid input. |
|
|
2879 | continue |
|
|
2880 | fi |
|
|
2881 | rm -f conftest.err conftest.i conftest.$ac_ext |
|
|
2882 | |
|
|
2883 | # OK, works on sane cases. Now check whether nonexistent headers |
|
|
2884 | # can be detected and how. |
|
|
2885 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
2886 | /* end confdefs.h. */ |
|
|
2887 | #include <ac_nonexistent.h> |
|
|
2888 | _ACEOF |
|
|
2889 | if ac_fn_c_try_cpp "$LINENO"; then : |
|
|
2890 | # Broken: success on invalid input. |
|
|
2891 | continue |
|
|
2892 | else |
|
|
2893 | # Passes both tests. |
|
|
2894 | ac_preproc_ok=: |
|
|
2895 | break |
|
|
2896 | fi |
|
|
2897 | rm -f conftest.err conftest.i conftest.$ac_ext |
|
|
2898 | |
|
|
2899 | done |
|
|
2900 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
|
2901 | rm -f conftest.i conftest.err conftest.$ac_ext |
|
|
2902 | if $ac_preproc_ok; then : |
|
|
2903 | |
|
|
2904 | else |
|
|
2905 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
|
2906 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
|
2907 | as_fn_error $? "C preprocessor \"$CPP\" fails sanity check |
|
|
2908 | See \`config.log' for more details" "$LINENO" 5 ; } |
|
|
2909 | fi |
|
|
2910 | |
|
|
2911 | ac_ext=c |
|
|
2912 | ac_cpp='$CPP $CPPFLAGS' |
|
|
2913 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
2914 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
2915 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
2916 | |
|
|
2917 | |
|
|
2918 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 |
|
|
2919 | $as_echo_n "checking for grep that handles long lines and -e... " >&6; } |
|
|
2920 | if test "${ac_cv_path_GREP+set}" = set; then : |
|
|
2921 | $as_echo_n "(cached) " >&6 |
|
|
2922 | else |
|
|
2923 | if test -z "$GREP"; then |
|
|
2924 | ac_path_GREP_found=false |
|
|
2925 | # Loop through the user's path and test for each of PROGNAME-LIST |
|
|
2926 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
2927 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
|
|
2928 | do |
|
|
2929 | IFS=$as_save_IFS |
|
|
2930 | test -z "$as_dir" && as_dir=. |
|
|
2931 | for ac_prog in grep ggrep; do |
|
|
2932 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
2933 | ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
|
|
2934 | { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue |
|
|
2935 | # Check for GNU ac_path_GREP and select it if it is found. |
|
|
2936 | # Check for GNU $ac_path_GREP |
|
|
2937 | case `"$ac_path_GREP" --version 2>&1` in |
|
|
2938 | *GNU*) |
|
|
2939 | ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; |
|
|
2940 | *) |
|
|
2941 | ac_count=0 |
|
|
2942 | $as_echo_n 0123456789 >"conftest.in" |
|
|
2943 | while : |
|
|
2944 | do |
|
|
2945 | cat "conftest.in" "conftest.in" >"conftest.tmp" |
|
|
2946 | mv "conftest.tmp" "conftest.in" |
|
|
2947 | cp "conftest.in" "conftest.nl" |
|
|
2948 | $as_echo 'GREP' >> "conftest.nl" |
|
|
2949 | "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
|
|
2950 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
|
|
2951 | as_fn_arith $ac_count + 1 && ac_count=$as_val |
|
|
2952 | if test $ac_count -gt ${ac_path_GREP_max-0}; then |
|
|
2953 | # Best one so far, save it but keep looking for a better one |
|
|
2954 | ac_cv_path_GREP="$ac_path_GREP" |
|
|
2955 | ac_path_GREP_max=$ac_count |
|
|
2956 | fi |
|
|
2957 | # 10*(2^10) chars as input seems more than enough |
|
|
2958 | test $ac_count -gt 10 && break |
|
|
2959 | done |
|
|
2960 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
|
|
2961 | esac |
|
|
2962 | |
|
|
2963 | $ac_path_GREP_found && break 3 |
|
|
2964 | done |
|
|
2965 | done |
|
|
2966 | done |
|
|
2967 | IFS=$as_save_IFS |
|
|
2968 | if test -z "$ac_cv_path_GREP"; then |
|
|
2969 | as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
|
|
2970 | fi |
|
|
2971 | else |
|
|
2972 | ac_cv_path_GREP=$GREP |
|
|
2973 | fi |
|
|
2974 | |
|
|
2975 | fi |
|
|
2976 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 |
|
|
2977 | $as_echo "$ac_cv_path_GREP" >&6; } |
|
|
2978 | GREP="$ac_cv_path_GREP" |
|
|
2979 | |
|
|
2980 | |
|
|
2981 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 |
|
|
2982 | $as_echo_n "checking for egrep... " >&6; } |
|
|
2983 | if test "${ac_cv_path_EGREP+set}" = set; then : |
|
|
2984 | $as_echo_n "(cached) " >&6 |
|
|
2985 | else |
|
|
2986 | if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
|
|
2987 | then ac_cv_path_EGREP="$GREP -E" |
|
|
2988 | else |
|
|
2989 | if test -z "$EGREP"; then |
|
|
2990 | ac_path_EGREP_found=false |
|
|
2991 | # Loop through the user's path and test for each of PROGNAME-LIST |
|
|
2992 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
2993 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
|
|
2994 | do |
|
|
2995 | IFS=$as_save_IFS |
|
|
2996 | test -z "$as_dir" && as_dir=. |
|
|
2997 | for ac_prog in egrep; do |
|
|
2998 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
2999 | ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
|
|
3000 | { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue |
|
|
3001 | # Check for GNU ac_path_EGREP and select it if it is found. |
|
|
3002 | # Check for GNU $ac_path_EGREP |
|
|
3003 | case `"$ac_path_EGREP" --version 2>&1` in |
|
|
3004 | *GNU*) |
|
|
3005 | ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; |
|
|
3006 | *) |
|
|
3007 | ac_count=0 |
|
|
3008 | $as_echo_n 0123456789 >"conftest.in" |
|
|
3009 | while : |
|
|
3010 | do |
|
|
3011 | cat "conftest.in" "conftest.in" >"conftest.tmp" |
|
|
3012 | mv "conftest.tmp" "conftest.in" |
|
|
3013 | cp "conftest.in" "conftest.nl" |
|
|
3014 | $as_echo 'EGREP' >> "conftest.nl" |
|
|
3015 | "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
|
|
3016 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
|
|
3017 | as_fn_arith $ac_count + 1 && ac_count=$as_val |
|
|
3018 | if test $ac_count -gt ${ac_path_EGREP_max-0}; then |
|
|
3019 | # Best one so far, save it but keep looking for a better one |
|
|
3020 | ac_cv_path_EGREP="$ac_path_EGREP" |
|
|
3021 | ac_path_EGREP_max=$ac_count |
|
|
3022 | fi |
|
|
3023 | # 10*(2^10) chars as input seems more than enough |
|
|
3024 | test $ac_count -gt 10 && break |
|
|
3025 | done |
|
|
3026 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
|
|
3027 | esac |
|
|
3028 | |
|
|
3029 | $ac_path_EGREP_found && break 3 |
|
|
3030 | done |
|
|
3031 | done |
|
|
3032 | done |
|
|
3033 | IFS=$as_save_IFS |
|
|
3034 | if test -z "$ac_cv_path_EGREP"; then |
|
|
3035 | as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
|
|
3036 | fi |
|
|
3037 | else |
|
|
3038 | ac_cv_path_EGREP=$EGREP |
|
|
3039 | fi |
|
|
3040 | |
|
|
3041 | fi |
|
|
3042 | fi |
|
|
3043 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 |
|
|
3044 | $as_echo "$ac_cv_path_EGREP" >&6; } |
|
|
3045 | EGREP="$ac_cv_path_EGREP" |
|
|
3046 | |
|
|
3047 | |
|
|
3048 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 |
|
|
3049 | $as_echo_n "checking for ANSI C header files... " >&6; } |
|
|
3050 | if test "${ac_cv_header_stdc+set}" = set; then : |
|
|
3051 | $as_echo_n "(cached) " >&6 |
|
|
3052 | else |
|
|
3053 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
3054 | /* end confdefs.h. */ |
|
|
3055 | #include <stdlib.h> |
|
|
3056 | #include <stdarg.h> |
|
|
3057 | #include <string.h> |
|
|
3058 | #include <float.h> |
|
|
3059 | |
|
|
3060 | int |
|
|
3061 | main () |
|
|
3062 | { |
|
|
3063 | |
|
|
3064 | ; |
|
|
3065 | return 0; |
|
|
3066 | } |
|
|
3067 | _ACEOF |
|
|
3068 | if ac_fn_c_try_compile "$LINENO"; then : |
|
|
3069 | ac_cv_header_stdc=yes |
|
|
3070 | else |
|
|
3071 | ac_cv_header_stdc=no |
|
|
3072 | fi |
|
|
3073 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
3074 | |
|
|
3075 | if test $ac_cv_header_stdc = yes; then |
|
|
3076 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
|
|
3077 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
3078 | /* end confdefs.h. */ |
|
|
3079 | #include <string.h> |
|
|
3080 | |
|
|
3081 | _ACEOF |
|
|
3082 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
|
|
3083 | $EGREP "memchr" >/dev/null 2>&1; then : |
|
|
3084 | |
|
|
3085 | else |
|
|
3086 | ac_cv_header_stdc=no |
|
|
3087 | fi |
|
|
3088 | rm -f conftest* |
|
|
3089 | |
|
|
3090 | fi |
|
|
3091 | |
|
|
3092 | if test $ac_cv_header_stdc = yes; then |
|
|
3093 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
|
|
3094 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
3095 | /* end confdefs.h. */ |
|
|
3096 | #include <stdlib.h> |
|
|
3097 | |
|
|
3098 | _ACEOF |
|
|
3099 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
|
|
3100 | $EGREP "free" >/dev/null 2>&1; then : |
|
|
3101 | |
|
|
3102 | else |
|
|
3103 | ac_cv_header_stdc=no |
|
|
3104 | fi |
|
|
3105 | rm -f conftest* |
|
|
3106 | |
|
|
3107 | fi |
|
|
3108 | |
|
|
3109 | if test $ac_cv_header_stdc = yes; then |
|
|
3110 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
|
|
3111 | if test "$cross_compiling" = yes; then : |
|
|
3112 | : |
|
|
3113 | else |
|
|
3114 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
3115 | /* end confdefs.h. */ |
|
|
3116 | #include <ctype.h> |
|
|
3117 | #include <stdlib.h> |
|
|
3118 | #if ((' ' & 0x0FF) == 0x020) |
|
|
3119 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
|
|
3120 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
|
|
3121 | #else |
|
|
3122 | # define ISLOWER(c) \ |
|
|
3123 | (('a' <= (c) && (c) <= 'i') \ |
|
|
3124 | || ('j' <= (c) && (c) <= 'r') \ |
|
|
3125 | || ('s' <= (c) && (c) <= 'z')) |
|
|
3126 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
|
|
3127 | #endif |
|
|
3128 | |
|
|
3129 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
|
|
3130 | int |
|
|
3131 | main () |
|
|
3132 | { |
|
|
3133 | int i; |
|
|
3134 | for (i = 0; i < 256; i++) |
|
|
3135 | if (XOR (islower (i), ISLOWER (i)) |
|
|
3136 | || toupper (i) != TOUPPER (i)) |
|
|
3137 | return 2; |
|
|
3138 | return 0; |
|
|
3139 | } |
|
|
3140 | _ACEOF |
|
|
3141 | if ac_fn_c_try_run "$LINENO"; then : |
|
|
3142 | |
|
|
3143 | else |
|
|
3144 | ac_cv_header_stdc=no |
|
|
3145 | fi |
|
|
3146 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
|
|
3147 | conftest.$ac_objext conftest.beam conftest.$ac_ext |
|
|
3148 | fi |
|
|
3149 | |
|
|
3150 | fi |
|
|
3151 | fi |
|
|
3152 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 |
|
|
3153 | $as_echo "$ac_cv_header_stdc" >&6; } |
|
|
3154 | if test $ac_cv_header_stdc = yes; then |
|
|
3155 | |
|
|
3156 | $as_echo "#define STDC_HEADERS 1" >>confdefs.h |
|
|
3157 | |
|
|
3158 | fi |
|
|
3159 | |
|
|
3160 | # On IRIX 5.3, sys/types and inttypes.h are conflicting. |
|
|
3161 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
|
|
3162 | inttypes.h stdint.h unistd.h |
|
|
3163 | do : |
|
|
3164 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
|
3165 | ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default |
|
|
3166 | " |
|
|
3167 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
|
|
3168 | cat >>confdefs.h <<_ACEOF |
|
|
3169 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
|
|
3170 | _ACEOF |
|
|
3171 | |
|
|
3172 | fi |
|
|
3173 | |
|
|
3174 | done |
|
|
3175 | |
|
|
3176 | |
|
|
3177 | for ac_header in stdint.h sys/syscall.h |
|
|
3178 | do : |
|
|
3179 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
|
3180 | ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
|
|
3181 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
|
|
3182 | cat >>confdefs.h <<_ACEOF |
|
|
3183 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
|
|
3184 | _ACEOF |
|
|
3185 | |
|
|
3186 | fi |
|
|
3187 | |
|
|
3188 | done |
|
|
3189 | |
|
|
3190 | |
|
|
3191 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pthread_create" >&5 |
|
|
3192 | $as_echo_n "checking for library containing pthread_create... " >&6; } |
|
|
3193 | if test "${ac_cv_search_pthread_create+set}" = set; then : |
|
|
3194 | $as_echo_n "(cached) " >&6 |
|
|
3195 | else |
|
|
3196 | ac_func_search_save_LIBS=$LIBS |
|
|
3197 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
3198 | /* end confdefs.h. */ |
|
|
3199 | |
|
|
3200 | /* Override any GCC internal prototype to avoid an error. |
|
|
3201 | Use char because int might match the return type of a GCC |
|
|
3202 | builtin and then its argument prototype would still apply. */ |
|
|
3203 | #ifdef __cplusplus |
|
|
3204 | extern "C" |
|
|
3205 | #endif |
|
|
3206 | char pthread_create (); |
|
|
3207 | int |
|
|
3208 | main () |
|
|
3209 | { |
|
|
3210 | return pthread_create (); |
|
|
3211 | ; |
|
|
3212 | return 0; |
|
|
3213 | } |
|
|
3214 | _ACEOF |
|
|
3215 | for ac_lib in '' pthread pthreads pthreadVC2; do |
|
|
3216 | if test -z "$ac_lib"; then |
|
|
3217 | ac_res="none required" |
|
|
3218 | else |
|
|
3219 | ac_res=-l$ac_lib |
|
|
3220 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
|
|
3221 | fi |
|
|
3222 | if ac_fn_c_try_link "$LINENO"; then : |
|
|
3223 | ac_cv_search_pthread_create=$ac_res |
|
|
3224 | fi |
|
|
3225 | rm -f core conftest.err conftest.$ac_objext \ |
|
|
3226 | conftest$ac_exeext |
|
|
3227 | if test "${ac_cv_search_pthread_create+set}" = set; then : |
|
|
3228 | break |
|
|
3229 | fi |
|
|
3230 | done |
|
|
3231 | if test "${ac_cv_search_pthread_create+set}" = set; then : |
|
|
3232 | |
|
|
3233 | else |
|
|
3234 | ac_cv_search_pthread_create=no |
|
|
3235 | fi |
|
|
3236 | rm conftest.$ac_ext |
|
|
3237 | LIBS=$ac_func_search_save_LIBS |
|
|
3238 | fi |
|
|
3239 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pthread_create" >&5 |
|
|
3240 | $as_echo "$ac_cv_search_pthread_create" >&6; } |
|
|
3241 | ac_res=$ac_cv_search_pthread_create |
|
|
3242 | if test "$ac_res" != no; then : |
|
|
3243 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
|
|
3244 | |
|
|
3245 | else |
|
|
3246 | as_fn_error $? "pthread functions not found" "$LINENO" 5 |
|
|
3247 | |
|
|
3248 | fi |
|
|
3249 | |
|
|
3250 | |
|
|
3251 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utimes" >&5 |
|
|
3252 | $as_echo_n "checking for utimes... " >&6; } |
|
|
3253 | if test "${ac_cv_utimes+set}" = set; then : |
|
|
3254 | $as_echo_n "(cached) " >&6 |
|
|
3255 | else |
|
|
3256 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
3257 | /* end confdefs.h. */ |
|
|
3258 | |
|
|
3259 | #include <sys/types.h> |
|
|
3260 | #include <sys/time.h> |
|
|
3261 | #include <utime.h> |
|
|
3262 | struct timeval tv[2]; |
|
|
3263 | int res; |
|
|
3264 | int main (void) |
|
|
3265 | { |
|
|
3266 | res = utimes ("/", tv); |
|
|
3267 | return 0; |
|
|
3268 | } |
|
|
3269 | |
|
|
3270 | _ACEOF |
|
|
3271 | if ac_fn_c_try_link "$LINENO"; then : |
|
|
3272 | ac_cv_utimes=yes |
|
|
3273 | else |
|
|
3274 | ac_cv_utimes=no |
|
|
3275 | fi |
|
|
3276 | rm -f core conftest.err conftest.$ac_objext \ |
|
|
3277 | conftest$ac_exeext conftest.$ac_ext |
|
|
3278 | fi |
|
|
3279 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_utimes" >&5 |
|
|
3280 | $as_echo "$ac_cv_utimes" >&6; } |
|
|
3281 | test $ac_cv_utimes = yes && |
|
|
3282 | $as_echo "#define HAVE_UTIMES 1" >>confdefs.h |
|
|
3283 | |
|
|
3284 | |
2556 | { echo "$as_me:$LINENO: checking for futimes" >&5 |
3285 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for futimes" >&5 |
2557 | echo $ECHO_N "checking for futimes... $ECHO_C" >&6; } |
3286 | $as_echo_n "checking for futimes... " >&6; } |
2558 | if test "${ac_cv_futimes+set}" = set; then |
3287 | if test "${ac_cv_futimes+set}" = set; then : |
2559 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3288 | $as_echo_n "(cached) " >&6 |
2560 | else |
3289 | else |
2561 | cat >conftest.$ac_ext <<_ACEOF |
3290 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
3291 | /* end confdefs.h. */ |
2562 | |
3292 | |
2563 | #include <sys/types.h> |
3293 | #include <sys/types.h> |
2564 | #include <sys/time.h> |
3294 | #include <sys/time.h> |
2565 | #include <utime.h> |
3295 | #include <utime.h> |
2566 | struct timeval tv[2]; |
3296 | struct timeval tv[2]; |
2567 | int res; |
3297 | int res; |
2568 | int fd; |
3298 | int fd; |
2569 | int main(void) |
3299 | int main (void) |
2570 | { |
3300 | { |
2571 | res = futimes (fd, tv); |
3301 | res = futimes (fd, tv); |
2572 | return 0; |
3302 | return 0; |
2573 | } |
3303 | } |
2574 | |
3304 | |
2575 | _ACEOF |
3305 | _ACEOF |
2576 | rm -f conftest.$ac_objext conftest$ac_exeext |
3306 | if ac_fn_c_try_link "$LINENO"; then : |
2577 | if { (ac_try="$ac_link" |
|
|
2578 | case "(($ac_try" in |
|
|
2579 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
2580 | *) ac_try_echo=$ac_try;; |
|
|
2581 | esac |
|
|
2582 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
2583 | (eval "$ac_link") 2>conftest.er1 |
|
|
2584 | ac_status=$? |
|
|
2585 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
2586 | rm -f conftest.er1 |
|
|
2587 | cat conftest.err >&5 |
|
|
2588 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
2589 | (exit $ac_status); } && { |
|
|
2590 | test -z "$ac_c_werror_flag" || |
|
|
2591 | test ! -s conftest.err |
|
|
2592 | } && test -s conftest$ac_exeext && |
|
|
2593 | $as_test_x conftest$ac_exeext; then |
|
|
2594 | ac_cv_futimes=yes |
3307 | ac_cv_futimes=yes |
2595 | else |
3308 | else |
2596 | echo "$as_me: failed program was:" >&5 |
|
|
2597 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
2598 | |
|
|
2599 | ac_cv_futimes=no |
3309 | ac_cv_futimes=no |
2600 | fi |
3310 | fi |
2601 | |
|
|
2602 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
3311 | rm -f core conftest.err conftest.$ac_objext \ |
2603 | conftest$ac_exeext conftest.$ac_ext |
3312 | conftest$ac_exeext conftest.$ac_ext |
2604 | fi |
3313 | fi |
2605 | { echo "$as_me:$LINENO: result: $ac_cv_futimes" >&5 |
3314 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_futimes" >&5 |
2606 | echo "${ECHO_T}$ac_cv_futimes" >&6; } |
3315 | $as_echo "$ac_cv_futimes" >&6; } |
2607 | test $ac_cv_futimes = yes && |
3316 | test $ac_cv_futimes = yes && |
2608 | cat >>confdefs.h <<\_ACEOF |
3317 | $as_echo "#define HAVE_FUTIMES 1" >>confdefs.h |
2609 | #define HAVE_FUTIMES 1 |
|
|
2610 | _ACEOF |
|
|
2611 | |
3318 | |
2612 | |
3319 | |
2613 | { echo "$as_me:$LINENO: checking for readahead" >&5 |
3320 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readahead" >&5 |
2614 | echo $ECHO_N "checking for readahead... $ECHO_C" >&6; } |
3321 | $as_echo_n "checking for readahead... " >&6; } |
2615 | if test "${ac_cv_readahead+set}" = set; then |
3322 | if test "${ac_cv_readahead+set}" = set; then : |
2616 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3323 | $as_echo_n "(cached) " >&6 |
2617 | else |
3324 | else |
2618 | cat >conftest.$ac_ext <<_ACEOF |
3325 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
3326 | /* end confdefs.h. */ |
2619 | |
3327 | |
2620 | #include <fcntl.h> |
3328 | #include <fcntl.h> |
2621 | int main(void) |
3329 | int main (void) |
2622 | { |
3330 | { |
2623 | int fd = 0; |
3331 | int fd = 0; |
2624 | off64_t offset = 1; |
|
|
2625 | size_t count = 2; |
3332 | size_t count = 2; |
2626 | ssize_t res; |
3333 | ssize_t res; |
2627 | res = readahead (fd, offset, count); |
3334 | res = readahead (fd, 0, count); |
2628 | return 0; |
3335 | return 0; |
2629 | } |
3336 | } |
2630 | |
3337 | |
2631 | _ACEOF |
3338 | _ACEOF |
2632 | rm -f conftest.$ac_objext conftest$ac_exeext |
3339 | if ac_fn_c_try_link "$LINENO"; then : |
2633 | if { (ac_try="$ac_link" |
|
|
2634 | case "(($ac_try" in |
|
|
2635 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
2636 | *) ac_try_echo=$ac_try;; |
|
|
2637 | esac |
|
|
2638 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
2639 | (eval "$ac_link") 2>conftest.er1 |
|
|
2640 | ac_status=$? |
|
|
2641 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
2642 | rm -f conftest.er1 |
|
|
2643 | cat conftest.err >&5 |
|
|
2644 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
2645 | (exit $ac_status); } && { |
|
|
2646 | test -z "$ac_c_werror_flag" || |
|
|
2647 | test ! -s conftest.err |
|
|
2648 | } && test -s conftest$ac_exeext && |
|
|
2649 | $as_test_x conftest$ac_exeext; then |
|
|
2650 | ac_cv_readahead=yes |
3340 | ac_cv_readahead=yes |
2651 | else |
3341 | else |
2652 | echo "$as_me: failed program was:" >&5 |
|
|
2653 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
2654 | |
|
|
2655 | ac_cv_readahead=no |
3342 | ac_cv_readahead=no |
2656 | fi |
3343 | fi |
2657 | |
|
|
2658 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
3344 | rm -f core conftest.err conftest.$ac_objext \ |
2659 | conftest$ac_exeext conftest.$ac_ext |
3345 | conftest$ac_exeext conftest.$ac_ext |
2660 | fi |
3346 | fi |
2661 | { echo "$as_me:$LINENO: result: $ac_cv_readahead" >&5 |
3347 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_readahead" >&5 |
2662 | echo "${ECHO_T}$ac_cv_readahead" >&6; } |
3348 | $as_echo "$ac_cv_readahead" >&6; } |
2663 | test $ac_cv_readahead = yes && |
3349 | test $ac_cv_readahead = yes && |
2664 | cat >>confdefs.h <<\_ACEOF |
3350 | $as_echo "#define HAVE_READAHEAD 1" >>confdefs.h |
2665 | #define HAVE_READAHEAD 1 |
|
|
2666 | _ACEOF |
|
|
2667 | |
3351 | |
2668 | |
3352 | |
2669 | { echo "$as_me:$LINENO: checking for fdatasync" >&5 |
3353 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fdatasync" >&5 |
2670 | echo $ECHO_N "checking for fdatasync... $ECHO_C" >&6; } |
3354 | $as_echo_n "checking for fdatasync... " >&6; } |
2671 | if test "${ac_cv_fdatasync+set}" = set; then |
3355 | if test "${ac_cv_fdatasync+set}" = set; then : |
2672 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3356 | $as_echo_n "(cached) " >&6 |
2673 | else |
3357 | else |
2674 | cat >conftest.$ac_ext <<_ACEOF |
3358 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
3359 | /* end confdefs.h. */ |
2675 | |
3360 | |
2676 | #include <unistd.h> |
3361 | #include <unistd.h> |
2677 | int main(void) |
3362 | int main (void) |
2678 | { |
3363 | { |
2679 | int fd = 0; |
3364 | int fd = 0; |
2680 | fdatasync (fd); |
3365 | fdatasync (fd); |
2681 | return 0; |
3366 | return 0; |
2682 | } |
3367 | } |
2683 | |
3368 | |
2684 | _ACEOF |
3369 | _ACEOF |
2685 | rm -f conftest.$ac_objext conftest$ac_exeext |
3370 | if ac_fn_c_try_link "$LINENO"; then : |
2686 | if { (ac_try="$ac_link" |
|
|
2687 | case "(($ac_try" in |
|
|
2688 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
2689 | *) ac_try_echo=$ac_try;; |
|
|
2690 | esac |
|
|
2691 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
2692 | (eval "$ac_link") 2>conftest.er1 |
|
|
2693 | ac_status=$? |
|
|
2694 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
2695 | rm -f conftest.er1 |
|
|
2696 | cat conftest.err >&5 |
|
|
2697 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
2698 | (exit $ac_status); } && { |
|
|
2699 | test -z "$ac_c_werror_flag" || |
|
|
2700 | test ! -s conftest.err |
|
|
2701 | } && test -s conftest$ac_exeext && |
|
|
2702 | $as_test_x conftest$ac_exeext; then |
|
|
2703 | ac_cv_fdatasync=yes |
3371 | ac_cv_fdatasync=yes |
2704 | else |
3372 | else |
2705 | echo "$as_me: failed program was:" >&5 |
|
|
2706 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
2707 | |
|
|
2708 | ac_cv_fdatasync=no |
3373 | ac_cv_fdatasync=no |
2709 | fi |
3374 | fi |
2710 | |
|
|
2711 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
3375 | rm -f core conftest.err conftest.$ac_objext \ |
2712 | conftest$ac_exeext conftest.$ac_ext |
3376 | conftest$ac_exeext conftest.$ac_ext |
2713 | fi |
3377 | fi |
2714 | { echo "$as_me:$LINENO: result: $ac_cv_fdatasync" >&5 |
3378 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fdatasync" >&5 |
2715 | echo "${ECHO_T}$ac_cv_fdatasync" >&6; } |
3379 | $as_echo "$ac_cv_fdatasync" >&6; } |
2716 | test $ac_cv_fdatasync = yes && |
3380 | test $ac_cv_fdatasync = yes && |
2717 | cat >>confdefs.h <<\_ACEOF |
3381 | $as_echo "#define HAVE_FDATASYNC 1" >>confdefs.h |
2718 | #define HAVE_FDATASYNC 1 |
|
|
2719 | _ACEOF |
|
|
2720 | |
3382 | |
2721 | |
3383 | |
2722 | { echo "$as_me:$LINENO: checking for pread and pwrite" >&5 |
3384 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pread and pwrite" >&5 |
2723 | echo $ECHO_N "checking for pread and pwrite... $ECHO_C" >&6; } |
3385 | $as_echo_n "checking for pread and pwrite... " >&6; } |
2724 | if test "${ac_cv_preadwrite+set}" = set; then |
3386 | if test "${ac_cv_preadwrite+set}" = set; then : |
2725 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3387 | $as_echo_n "(cached) " >&6 |
2726 | else |
3388 | else |
2727 | cat >conftest.$ac_ext <<_ACEOF |
3389 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
3390 | /* end confdefs.h. */ |
2728 | |
3391 | |
2729 | #include <unistd.h> |
3392 | #include <unistd.h> |
2730 | int main(void) |
3393 | int main (void) |
2731 | { |
3394 | { |
2732 | int fd = 0; |
3395 | int fd = 0; |
2733 | size_t count = 1; |
3396 | size_t count = 1; |
2734 | char buf; |
3397 | char buf; |
2735 | off_t offset = 1; |
3398 | off_t offset = 1; |
… | |
… | |
2738 | res = pwrite (fd, &buf, count, offset); |
3401 | res = pwrite (fd, &buf, count, offset); |
2739 | return 0; |
3402 | return 0; |
2740 | } |
3403 | } |
2741 | |
3404 | |
2742 | _ACEOF |
3405 | _ACEOF |
2743 | rm -f conftest.$ac_objext conftest$ac_exeext |
3406 | if ac_fn_c_try_link "$LINENO"; then : |
2744 | if { (ac_try="$ac_link" |
|
|
2745 | case "(($ac_try" in |
|
|
2746 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
2747 | *) ac_try_echo=$ac_try;; |
|
|
2748 | esac |
|
|
2749 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
2750 | (eval "$ac_link") 2>conftest.er1 |
|
|
2751 | ac_status=$? |
|
|
2752 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
2753 | rm -f conftest.er1 |
|
|
2754 | cat conftest.err >&5 |
|
|
2755 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
2756 | (exit $ac_status); } && { |
|
|
2757 | test -z "$ac_c_werror_flag" || |
|
|
2758 | test ! -s conftest.err |
|
|
2759 | } && test -s conftest$ac_exeext && |
|
|
2760 | $as_test_x conftest$ac_exeext; then |
|
|
2761 | ac_cv_preadwrite=yes |
3407 | ac_cv_preadwrite=yes |
2762 | else |
3408 | else |
2763 | echo "$as_me: failed program was:" >&5 |
|
|
2764 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
2765 | |
|
|
2766 | ac_cv_preadwrite=no |
3409 | ac_cv_preadwrite=no |
2767 | fi |
3410 | fi |
2768 | |
|
|
2769 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
3411 | rm -f core conftest.err conftest.$ac_objext \ |
2770 | conftest$ac_exeext conftest.$ac_ext |
3412 | conftest$ac_exeext conftest.$ac_ext |
2771 | fi |
3413 | fi |
2772 | { echo "$as_me:$LINENO: result: $ac_cv_preadwrite" >&5 |
3414 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_preadwrite" >&5 |
2773 | echo "${ECHO_T}$ac_cv_preadwrite" >&6; } |
3415 | $as_echo "$ac_cv_preadwrite" >&6; } |
2774 | test $ac_cv_preadwrite = yes && |
3416 | test $ac_cv_preadwrite = yes && |
2775 | cat >>confdefs.h <<\_ACEOF |
3417 | $as_echo "#define HAVE_PREADWRITE 1" >>confdefs.h |
2776 | #define HAVE_PREADWRITE 1 |
|
|
2777 | _ACEOF |
|
|
2778 | |
3418 | |
2779 | |
3419 | |
2780 | { echo "$as_me:$LINENO: checking for readdir_r" >&5 |
|
|
2781 | echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6; } |
|
|
2782 | if test "${ac_cv_readdir_r+set}" = set; then |
|
|
2783 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
2784 | else |
|
|
2785 | cat >conftest.$ac_ext <<_ACEOF |
|
|
2786 | |
|
|
2787 | #include <dirent.h> |
|
|
2788 | int main(void) |
|
|
2789 | { |
|
|
2790 | DIR *dir = 0; |
|
|
2791 | struct dirent ent, *eres; |
|
|
2792 | int res = readdir_r (dir, &ent, &eres); |
|
|
2793 | return 0; |
|
|
2794 | } |
|
|
2795 | |
|
|
2796 | _ACEOF |
|
|
2797 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
2798 | if { (ac_try="$ac_link" |
|
|
2799 | case "(($ac_try" in |
|
|
2800 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
2801 | *) ac_try_echo=$ac_try;; |
|
|
2802 | esac |
|
|
2803 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
2804 | (eval "$ac_link") 2>conftest.er1 |
|
|
2805 | ac_status=$? |
|
|
2806 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
2807 | rm -f conftest.er1 |
|
|
2808 | cat conftest.err >&5 |
|
|
2809 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
2810 | (exit $ac_status); } && { |
|
|
2811 | test -z "$ac_c_werror_flag" || |
|
|
2812 | test ! -s conftest.err |
|
|
2813 | } && test -s conftest$ac_exeext && |
|
|
2814 | $as_test_x conftest$ac_exeext; then |
|
|
2815 | ac_cv_readdir_r=yes |
|
|
2816 | else |
|
|
2817 | echo "$as_me: failed program was:" >&5 |
|
|
2818 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
2819 | |
|
|
2820 | ac_cv_readdir_r=no |
|
|
2821 | fi |
|
|
2822 | |
|
|
2823 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
|
2824 | conftest$ac_exeext conftest.$ac_ext |
|
|
2825 | fi |
|
|
2826 | { echo "$as_me:$LINENO: result: $ac_cv_readdir_r" >&5 |
|
|
2827 | echo "${ECHO_T}$ac_cv_readdir_r" >&6; } |
|
|
2828 | test $ac_cv_readdir_r = yes && |
|
|
2829 | cat >>confdefs.h <<\_ACEOF |
|
|
2830 | #define HAVE_READDIR_R 1 |
|
|
2831 | _ACEOF |
|
|
2832 | |
|
|
2833 | |
|
|
2834 | { echo "$as_me:$LINENO: checking for sendfile" >&5 |
3420 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sendfile" >&5 |
2835 | echo $ECHO_N "checking for sendfile... $ECHO_C" >&6; } |
3421 | $as_echo_n "checking for sendfile... " >&6; } |
2836 | if test "${ac_cv_sendfile+set}" = set; then |
3422 | if test "${ac_cv_sendfile+set}" = set; then : |
2837 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3423 | $as_echo_n "(cached) " >&6 |
2838 | else |
3424 | else |
2839 | cat >conftest.$ac_ext <<_ACEOF |
3425 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
3426 | /* end confdefs.h. */ |
2840 | |
3427 | |
2841 | # include <sys/types.h> |
3428 | # include <sys/types.h> |
2842 | #if __linux |
3429 | #if __linux |
2843 | # include <sys/sendfile.h> |
3430 | # include <sys/sendfile.h> |
2844 | #elif __freebsd |
3431 | #elif __FreeBSD__ || defined __APPLE__ |
2845 | # include <sys/socket.h> |
3432 | # include <sys/socket.h> |
2846 | # include <sys/uio.h> |
3433 | # include <sys/uio.h> |
2847 | #elif __hpux |
3434 | #elif __hpux |
2848 | # include <sys/socket.h> |
3435 | # include <sys/socket.h> |
2849 | #else |
3436 | #else |
2850 | # error unsupported architecture |
3437 | # error unsupported architecture |
2851 | #endif |
3438 | #endif |
2852 | int main(void) |
3439 | int main (void) |
2853 | { |
3440 | { |
2854 | int fd = 0; |
3441 | int fd = 0; |
2855 | off_t offset = 1; |
3442 | off_t offset = 1; |
2856 | size_t count = 2; |
3443 | size_t count = 2; |
2857 | ssize_t res; |
3444 | ssize_t res; |
2858 | #if __linux |
3445 | #if __linux |
2859 | res = sendfile (fd, fd, offset, count); |
3446 | res = sendfile (fd, fd, offset, count); |
2860 | #elif __freebsd |
3447 | #elif __FreeBSD__ |
2861 | res = sendfile (fd, fd, offset, count, 0, &offset, 0); |
3448 | res = sendfile (fd, fd, offset, count, 0, &offset, 0); |
2862 | #elif __hpux |
3449 | #elif __hpux |
2863 | res = sendfile (fd, fd, offset, count, 0, 0); |
3450 | res = sendfile (fd, fd, offset, count, 0, 0); |
2864 | #endif |
3451 | #endif |
2865 | return 0; |
3452 | return 0; |
2866 | } |
3453 | } |
2867 | |
3454 | |
2868 | _ACEOF |
3455 | _ACEOF |
2869 | rm -f conftest.$ac_objext conftest$ac_exeext |
3456 | if ac_fn_c_try_link "$LINENO"; then : |
2870 | if { (ac_try="$ac_link" |
|
|
2871 | case "(($ac_try" in |
|
|
2872 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
2873 | *) ac_try_echo=$ac_try;; |
|
|
2874 | esac |
|
|
2875 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
2876 | (eval "$ac_link") 2>conftest.er1 |
|
|
2877 | ac_status=$? |
|
|
2878 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
2879 | rm -f conftest.er1 |
|
|
2880 | cat conftest.err >&5 |
|
|
2881 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
2882 | (exit $ac_status); } && { |
|
|
2883 | test -z "$ac_c_werror_flag" || |
|
|
2884 | test ! -s conftest.err |
|
|
2885 | } && test -s conftest$ac_exeext && |
|
|
2886 | $as_test_x conftest$ac_exeext; then |
|
|
2887 | ac_cv_sendfile=yes |
3457 | ac_cv_sendfile=yes |
2888 | else |
3458 | else |
2889 | echo "$as_me: failed program was:" >&5 |
|
|
2890 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
2891 | |
|
|
2892 | ac_cv_sendfile=no |
3459 | ac_cv_sendfile=no |
2893 | fi |
3460 | fi |
2894 | |
|
|
2895 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
3461 | rm -f core conftest.err conftest.$ac_objext \ |
2896 | conftest$ac_exeext conftest.$ac_ext |
3462 | conftest$ac_exeext conftest.$ac_ext |
2897 | fi |
3463 | fi |
2898 | { echo "$as_me:$LINENO: result: $ac_cv_sendfile" >&5 |
3464 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sendfile" >&5 |
2899 | echo "${ECHO_T}$ac_cv_sendfile" >&6; } |
3465 | $as_echo "$ac_cv_sendfile" >&6; } |
2900 | test $ac_cv_sendfile = yes && |
3466 | test $ac_cv_sendfile = yes && |
2901 | cat >>confdefs.h <<\_ACEOF |
3467 | $as_echo "#define HAVE_SENDFILE 1" >>confdefs.h |
2902 | #define HAVE_SENDFILE 1 |
3468 | |
|
|
3469 | |
|
|
3470 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sync_file_range" >&5 |
|
|
3471 | $as_echo_n "checking for sync_file_range... " >&6; } |
|
|
3472 | if test "${ac_cv_sync_file_range+set}" = set; then : |
|
|
3473 | $as_echo_n "(cached) " >&6 |
|
|
3474 | else |
|
|
3475 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
3476 | /* end confdefs.h. */ |
|
|
3477 | |
|
|
3478 | #include <fcntl.h> |
|
|
3479 | int main (void) |
|
|
3480 | { |
|
|
3481 | int fd = 0; |
|
|
3482 | off64_t offset = 1; |
|
|
3483 | off64_t nbytes = 1; |
|
|
3484 | unsigned int flags = SYNC_FILE_RANGE_WAIT_BEFORE|SYNC_FILE_RANGE_WRITE|SYNC_FILE_RANGE_WAIT_AFTER; |
|
|
3485 | ssize_t res; |
|
|
3486 | res = sync_file_range (fd, offset, nbytes, flags); |
|
|
3487 | return 0; |
|
|
3488 | } |
|
|
3489 | |
2903 | _ACEOF |
3490 | _ACEOF |
|
|
3491 | if ac_fn_c_try_link "$LINENO"; then : |
|
|
3492 | ac_cv_sync_file_range=yes |
|
|
3493 | else |
|
|
3494 | ac_cv_sync_file_range=no |
|
|
3495 | fi |
|
|
3496 | rm -f core conftest.err conftest.$ac_objext \ |
|
|
3497 | conftest$ac_exeext conftest.$ac_ext |
|
|
3498 | fi |
|
|
3499 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sync_file_range" >&5 |
|
|
3500 | $as_echo "$ac_cv_sync_file_range" >&6; } |
|
|
3501 | test $ac_cv_sync_file_range = yes && |
|
|
3502 | $as_echo "#define HAVE_SYNC_FILE_RANGE 1" >>confdefs.h |
|
|
3503 | |
|
|
3504 | |
|
|
3505 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5 |
|
|
3506 | $as_echo_n "checking for fallocate... " >&6; } |
|
|
3507 | if test "${ac_cv_fallocate+set}" = set; then : |
|
|
3508 | $as_echo_n "(cached) " >&6 |
|
|
3509 | else |
|
|
3510 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
3511 | /* end confdefs.h. */ |
|
|
3512 | |
|
|
3513 | #include <fcntl.h> |
|
|
3514 | int main (void) |
|
|
3515 | { |
|
|
3516 | int fd = 0; |
|
|
3517 | int mode = 0; |
|
|
3518 | off_t offset = 1; |
|
|
3519 | off_t len = 1; |
|
|
3520 | int res; |
|
|
3521 | res = fallocate (fd, mode, offset, len); |
|
|
3522 | return 0; |
|
|
3523 | } |
|
|
3524 | |
|
|
3525 | _ACEOF |
|
|
3526 | if ac_fn_c_try_link "$LINENO"; then : |
|
|
3527 | ac_cv_fallocate=yes |
|
|
3528 | else |
|
|
3529 | ac_cv_fallocate=no |
|
|
3530 | fi |
|
|
3531 | rm -f core conftest.err conftest.$ac_objext \ |
|
|
3532 | conftest$ac_exeext conftest.$ac_ext |
|
|
3533 | fi |
|
|
3534 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fallocate" >&5 |
|
|
3535 | $as_echo "$ac_cv_fallocate" >&6; } |
|
|
3536 | test $ac_cv_fallocate = yes && |
|
|
3537 | $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h |
|
|
3538 | |
|
|
3539 | |
|
|
3540 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys_syncfs" >&5 |
|
|
3541 | $as_echo_n "checking for sys_syncfs... " >&6; } |
|
|
3542 | if test "${ac_cv_sys_syncfs+set}" = set; then : |
|
|
3543 | $as_echo_n "(cached) " >&6 |
|
|
3544 | else |
|
|
3545 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
3546 | /* end confdefs.h. */ |
|
|
3547 | |
|
|
3548 | #include <unistd.h> |
|
|
3549 | #include <sys/syscall.h> |
|
|
3550 | int main (void) |
|
|
3551 | { |
|
|
3552 | int res = syscall (__NR_syncfs, (int)0); |
|
|
3553 | } |
|
|
3554 | |
|
|
3555 | _ACEOF |
|
|
3556 | if ac_fn_c_try_link "$LINENO"; then : |
|
|
3557 | ac_cv_sys_syncfs=yes |
|
|
3558 | else |
|
|
3559 | ac_cv_sys_syncfs=no |
|
|
3560 | fi |
|
|
3561 | rm -f core conftest.err conftest.$ac_objext \ |
|
|
3562 | conftest$ac_exeext conftest.$ac_ext |
|
|
3563 | fi |
|
|
3564 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_syncfs" >&5 |
|
|
3565 | $as_echo "$ac_cv_sys_syncfs" >&6; } |
|
|
3566 | test $ac_cv_sys_syncfs = yes && |
|
|
3567 | $as_echo "#define HAVE_SYS_SYNCFS 1" >>confdefs.h |
|
|
3568 | |
|
|
3569 | |
|
|
3570 | |
|
|
3571 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for posix_madvise" >&5 |
|
|
3572 | $as_echo_n "checking for posix_madvise... " >&6; } |
|
|
3573 | if test "${ac_cv_posix_madvise+set}" = set; then : |
|
|
3574 | $as_echo_n "(cached) " >&6 |
|
|
3575 | else |
|
|
3576 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
3577 | /* end confdefs.h. */ |
|
|
3578 | |
|
|
3579 | #include <sys/mman.h> |
|
|
3580 | int main (void) |
|
|
3581 | { |
|
|
3582 | int res = posix_madvise ((void *)0, (size_t)0, POSIX_MADV_NORMAL); |
|
|
3583 | int a = POSIX_MADV_SEQUENTIAL; |
|
|
3584 | int b = POSIX_MADV_RANDOM; |
|
|
3585 | int c = POSIX_MADV_WILLNEED; |
|
|
3586 | int d = POSIX_MADV_DONTNEED; |
|
|
3587 | return 0; |
|
|
3588 | } |
|
|
3589 | |
|
|
3590 | _ACEOF |
|
|
3591 | if ac_fn_c_try_link "$LINENO"; then : |
|
|
3592 | ac_cv_posix_madvise=yes |
|
|
3593 | else |
|
|
3594 | ac_cv_posix_madvise=no |
|
|
3595 | fi |
|
|
3596 | rm -f core conftest.err conftest.$ac_objext \ |
|
|
3597 | conftest$ac_exeext conftest.$ac_ext |
|
|
3598 | fi |
|
|
3599 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_posix_madvise" >&5 |
|
|
3600 | $as_echo "$ac_cv_posix_madvise" >&6; } |
|
|
3601 | test $ac_cv_posix_madvise = yes && |
|
|
3602 | $as_echo "#define HAVE_POSIX_MADVISE 1" >>confdefs.h |
|
|
3603 | |
|
|
3604 | |
|
|
3605 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for posix_fadvise" >&5 |
|
|
3606 | $as_echo_n "checking for posix_fadvise... " >&6; } |
|
|
3607 | if test "${ac_cv_posix_fadvise+set}" = set; then : |
|
|
3608 | $as_echo_n "(cached) " >&6 |
|
|
3609 | else |
|
|
3610 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
3611 | /* end confdefs.h. */ |
|
|
3612 | |
|
|
3613 | #define _XOPEN_SOURCE 600 |
|
|
3614 | #include <fcntl.h> |
|
|
3615 | int main (void) |
|
|
3616 | { |
|
|
3617 | int res = posix_fadvise ((int)0, (off_t)0, (off_t)0, POSIX_FADV_NORMAL); |
|
|
3618 | int a = POSIX_FADV_SEQUENTIAL; |
|
|
3619 | int b = POSIX_FADV_NOREUSE; |
|
|
3620 | int c = POSIX_FADV_RANDOM; |
|
|
3621 | int d = POSIX_FADV_WILLNEED; |
|
|
3622 | int e = POSIX_FADV_DONTNEED; |
|
|
3623 | return 0; |
|
|
3624 | } |
|
|
3625 | |
|
|
3626 | _ACEOF |
|
|
3627 | if ac_fn_c_try_link "$LINENO"; then : |
|
|
3628 | ac_cv_posix_fadvise=yes |
|
|
3629 | else |
|
|
3630 | ac_cv_posix_fadvise=no |
|
|
3631 | fi |
|
|
3632 | rm -f core conftest.err conftest.$ac_objext \ |
|
|
3633 | conftest$ac_exeext conftest.$ac_ext |
|
|
3634 | fi |
|
|
3635 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_posix_fadvise" >&5 |
|
|
3636 | $as_echo "$ac_cv_posix_fadvise" >&6; } |
|
|
3637 | test $ac_cv_posix_fadvise = yes && |
|
|
3638 | $as_echo "#define HAVE_POSIX_FADVISE 1" >>confdefs.h |
2904 | |
3639 | |
2905 | |
3640 | |
2906 | |
3641 | |
2907 | |
3642 | |
2908 | cat >confcache <<\_ACEOF |
3643 | cat >confcache <<\_ACEOF |
… | |
… | |
2930 | for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do |
3665 | for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do |
2931 | eval ac_val=\$$ac_var |
3666 | eval ac_val=\$$ac_var |
2932 | case $ac_val in #( |
3667 | case $ac_val in #( |
2933 | *${as_nl}*) |
3668 | *${as_nl}*) |
2934 | case $ac_var in #( |
3669 | case $ac_var in #( |
2935 | *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 |
3670 | *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
2936 | echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; |
3671 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
2937 | esac |
3672 | esac |
2938 | case $ac_var in #( |
3673 | case $ac_var in #( |
2939 | _ | IFS | as_nl) ;; #( |
3674 | _ | IFS | as_nl) ;; #( |
2940 | *) $as_unset $ac_var ;; |
3675 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
|
|
3676 | *) { eval $ac_var=; unset $ac_var;} ;; |
2941 | esac ;; |
3677 | esac ;; |
2942 | esac |
3678 | esac |
2943 | done |
3679 | done |
2944 | |
3680 | |
2945 | (set) 2>&1 | |
3681 | (set) 2>&1 | |
2946 | case $as_nl`(ac_space=' '; set) 2>&1` in #( |
3682 | case $as_nl`(ac_space=' '; set) 2>&1` in #( |
2947 | *${as_nl}ac_space=\ *) |
3683 | *${as_nl}ac_space=\ *) |
2948 | # `set' does not quote correctly, so add quotes (double-quote |
3684 | # `set' does not quote correctly, so add quotes: double-quote |
2949 | # substitution turns \\\\ into \\, and sed turns \\ into \). |
3685 | # substitution turns \\\\ into \\, and sed turns \\ into \. |
2950 | sed -n \ |
3686 | sed -n \ |
2951 | "s/'/'\\\\''/g; |
3687 | "s/'/'\\\\''/g; |
2952 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
3688 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
2953 | ;; #( |
3689 | ;; #( |
2954 | *) |
3690 | *) |
… | |
… | |
2967 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
3703 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
2968 | :end' >>confcache |
3704 | :end' >>confcache |
2969 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
3705 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
2970 | if test -w "$cache_file"; then |
3706 | if test -w "$cache_file"; then |
2971 | test "x$cache_file" != "x/dev/null" && |
3707 | test "x$cache_file" != "x/dev/null" && |
2972 | { echo "$as_me:$LINENO: updating cache $cache_file" >&5 |
3708 | { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
2973 | echo "$as_me: updating cache $cache_file" >&6;} |
3709 | $as_echo "$as_me: updating cache $cache_file" >&6;} |
2974 | cat confcache >$cache_file |
3710 | cat confcache >$cache_file |
2975 | else |
3711 | else |
2976 | { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 |
3712 | { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
2977 | echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
3713 | $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
2978 | fi |
3714 | fi |
2979 | fi |
3715 | fi |
2980 | rm -f confcache |
3716 | rm -f confcache |
2981 | |
3717 | |
2982 | test "x$prefix" = xNONE && prefix=$ac_default_prefix |
3718 | test "x$prefix" = xNONE && prefix=$ac_default_prefix |
… | |
… | |
2985 | |
3721 | |
2986 | DEFS=-DHAVE_CONFIG_H |
3722 | DEFS=-DHAVE_CONFIG_H |
2987 | |
3723 | |
2988 | ac_libobjs= |
3724 | ac_libobjs= |
2989 | ac_ltlibobjs= |
3725 | ac_ltlibobjs= |
|
|
3726 | U= |
2990 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
3727 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
2991 | # 1. Remove the extension, and $U if already installed. |
3728 | # 1. Remove the extension, and $U if already installed. |
2992 | ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
3729 | ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
2993 | ac_i=`echo "$ac_i" | sed "$ac_script"` |
3730 | ac_i=`$as_echo "$ac_i" | sed "$ac_script"` |
2994 | # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
3731 | # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
2995 | # will be set to the directory where LIBOBJS objects are built. |
3732 | # will be set to the directory where LIBOBJS objects are built. |
2996 | ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" |
3733 | as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" |
2997 | ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' |
3734 | as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' |
2998 | done |
3735 | done |
2999 | LIBOBJS=$ac_libobjs |
3736 | LIBOBJS=$ac_libobjs |
3000 | |
3737 | |
3001 | LTLIBOBJS=$ac_ltlibobjs |
3738 | LTLIBOBJS=$ac_ltlibobjs |
3002 | |
3739 | |
3003 | |
3740 | |
3004 | |
3741 | |
3005 | : ${CONFIG_STATUS=./config.status} |
3742 | : ${CONFIG_STATUS=./config.status} |
|
|
3743 | ac_write_fail=0 |
3006 | ac_clean_files_save=$ac_clean_files |
3744 | ac_clean_files_save=$ac_clean_files |
3007 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
3745 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
3008 | { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 |
3746 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 |
3009 | echo "$as_me: creating $CONFIG_STATUS" >&6;} |
3747 | $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} |
3010 | cat >$CONFIG_STATUS <<_ACEOF |
3748 | as_write_fail=0 |
|
|
3749 | cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 |
3011 | #! $SHELL |
3750 | #! $SHELL |
3012 | # Generated by $as_me. |
3751 | # Generated by $as_me. |
3013 | # Run this file to recreate the current configuration. |
3752 | # Run this file to recreate the current configuration. |
3014 | # Compiler output produced by configure, useful for debugging |
3753 | # Compiler output produced by configure, useful for debugging |
3015 | # configure, is in config.log if it exists. |
3754 | # configure, is in config.log if it exists. |
3016 | |
3755 | |
3017 | debug=false |
3756 | debug=false |
3018 | ac_cs_recheck=false |
3757 | ac_cs_recheck=false |
3019 | ac_cs_silent=false |
3758 | ac_cs_silent=false |
|
|
3759 | |
3020 | SHELL=\${CONFIG_SHELL-$SHELL} |
3760 | SHELL=\${CONFIG_SHELL-$SHELL} |
|
|
3761 | export SHELL |
3021 | _ACEOF |
3762 | _ASEOF |
3022 | |
3763 | cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 |
3023 | cat >>$CONFIG_STATUS <<\_ACEOF |
|
|
3024 | ## --------------------- ## |
3764 | ## -------------------- ## |
3025 | ## M4sh Initialization. ## |
3765 | ## M4sh Initialization. ## |
3026 | ## --------------------- ## |
3766 | ## -------------------- ## |
3027 | |
3767 | |
3028 | # Be more Bourne compatible |
3768 | # Be more Bourne compatible |
3029 | DUALCASE=1; export DUALCASE # for MKS sh |
3769 | DUALCASE=1; export DUALCASE # for MKS sh |
3030 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
3770 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : |
3031 | emulate sh |
3771 | emulate sh |
3032 | NULLCMD=: |
3772 | NULLCMD=: |
3033 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
3773 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
3034 | # is contrary to our usage. Disable this feature. |
3774 | # is contrary to our usage. Disable this feature. |
3035 | alias -g '${1+"$@"}'='"$@"' |
3775 | alias -g '${1+"$@"}'='"$@"' |
3036 | setopt NO_GLOB_SUBST |
3776 | setopt NO_GLOB_SUBST |
3037 | else |
3777 | else |
3038 | case `(set -o) 2>/dev/null` in |
3778 | case `(set -o) 2>/dev/null` in #( |
3039 | *posix*) set -o posix ;; |
3779 | *posix*) : |
|
|
3780 | set -o posix ;; #( |
|
|
3781 | *) : |
|
|
3782 | ;; |
3040 | esac |
3783 | esac |
3041 | |
|
|
3042 | fi |
3784 | fi |
3043 | |
3785 | |
3044 | |
3786 | |
3045 | |
3787 | as_nl=' |
3046 | |
3788 | ' |
3047 | # PATH needs CR |
3789 | export as_nl |
3048 | # Avoid depending upon Character Ranges. |
3790 | # Printing a long string crashes Solaris 7 /usr/bin/printf. |
3049 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
3791 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
3050 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
3792 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
3051 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
3793 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
3052 | as_cr_digits='0123456789' |
3794 | # Prefer a ksh shell builtin over an external printf program on Solaris, |
3053 | as_cr_alnum=$as_cr_Letters$as_cr_digits |
3795 | # but without wasting forks for bash or zsh. |
|
|
3796 | if test -z "$BASH_VERSION$ZSH_VERSION" \ |
|
|
3797 | && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then |
|
|
3798 | as_echo='print -r --' |
|
|
3799 | as_echo_n='print -rn --' |
|
|
3800 | elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
|
|
3801 | as_echo='printf %s\n' |
|
|
3802 | as_echo_n='printf %s' |
|
|
3803 | else |
|
|
3804 | if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then |
|
|
3805 | as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' |
|
|
3806 | as_echo_n='/usr/ucb/echo -n' |
|
|
3807 | else |
|
|
3808 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
|
|
3809 | as_echo_n_body='eval |
|
|
3810 | arg=$1; |
|
|
3811 | case $arg in #( |
|
|
3812 | *"$as_nl"*) |
|
|
3813 | expr "X$arg" : "X\\(.*\\)$as_nl"; |
|
|
3814 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
|
|
3815 | esac; |
|
|
3816 | expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" |
|
|
3817 | ' |
|
|
3818 | export as_echo_n_body |
|
|
3819 | as_echo_n='sh -c $as_echo_n_body as_echo' |
|
|
3820 | fi |
|
|
3821 | export as_echo_body |
|
|
3822 | as_echo='sh -c $as_echo_body as_echo' |
|
|
3823 | fi |
3054 | |
3824 | |
3055 | # The user is always right. |
3825 | # The user is always right. |
3056 | if test "${PATH_SEPARATOR+set}" != set; then |
3826 | if test "${PATH_SEPARATOR+set}" != set; then |
3057 | echo "#! /bin/sh" >conf$$.sh |
3827 | PATH_SEPARATOR=: |
3058 | echo "exit 0" >>conf$$.sh |
3828 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
3059 | chmod +x conf$$.sh |
3829 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
3060 | if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
|
|
3061 | PATH_SEPARATOR=';' |
3830 | PATH_SEPARATOR=';' |
3062 | else |
3831 | } |
3063 | PATH_SEPARATOR=: |
|
|
3064 | fi |
|
|
3065 | rm -f conf$$.sh |
|
|
3066 | fi |
|
|
3067 | |
|
|
3068 | # Support unset when possible. |
|
|
3069 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
|
|
3070 | as_unset=unset |
|
|
3071 | else |
|
|
3072 | as_unset=false |
|
|
3073 | fi |
3832 | fi |
3074 | |
3833 | |
3075 | |
3834 | |
3076 | # IFS |
3835 | # IFS |
3077 | # We need space, tab and new line, in precisely that order. Quoting is |
3836 | # We need space, tab and new line, in precisely that order. Quoting is |
3078 | # there to prevent editors from complaining about space-tab. |
3837 | # there to prevent editors from complaining about space-tab. |
3079 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
3838 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
3080 | # splitting by setting IFS to empty value.) |
3839 | # splitting by setting IFS to empty value.) |
3081 | as_nl=' |
|
|
3082 | ' |
|
|
3083 | IFS=" "" $as_nl" |
3840 | IFS=" "" $as_nl" |
3084 | |
3841 | |
3085 | # Find who we are. Look in the path if we contain no directory separator. |
3842 | # Find who we are. Look in the path if we contain no directory separator. |
3086 | case $0 in |
3843 | case $0 in #(( |
3087 | *[\\/]* ) as_myself=$0 ;; |
3844 | *[\\/]* ) as_myself=$0 ;; |
3088 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3845 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3089 | for as_dir in $PATH |
3846 | for as_dir in $PATH |
3090 | do |
3847 | do |
3091 | IFS=$as_save_IFS |
3848 | IFS=$as_save_IFS |
3092 | test -z "$as_dir" && as_dir=. |
3849 | test -z "$as_dir" && as_dir=. |
3093 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
3850 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
3094 | done |
3851 | done |
3095 | IFS=$as_save_IFS |
3852 | IFS=$as_save_IFS |
3096 | |
3853 | |
3097 | ;; |
3854 | ;; |
3098 | esac |
3855 | esac |
3099 | # We did not find ourselves, most probably we were run as `sh COMMAND' |
3856 | # We did not find ourselves, most probably we were run as `sh COMMAND' |
3100 | # in which case we are not to be found in the path. |
3857 | # in which case we are not to be found in the path. |
3101 | if test "x$as_myself" = x; then |
3858 | if test "x$as_myself" = x; then |
3102 | as_myself=$0 |
3859 | as_myself=$0 |
3103 | fi |
3860 | fi |
3104 | if test ! -f "$as_myself"; then |
3861 | if test ! -f "$as_myself"; then |
3105 | echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
3862 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
3106 | { (exit 1); exit 1; } |
3863 | exit 1 |
3107 | fi |
3864 | fi |
3108 | |
3865 | |
3109 | # Work around bugs in pre-3.0 UWIN ksh. |
3866 | # Unset variables that we do not need and which cause bugs (e.g. in |
|
|
3867 | # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" |
|
|
3868 | # suppresses any "Segmentation fault" message there. '((' could |
|
|
3869 | # trigger a bug in pdksh 5.2.14. |
3110 | for as_var in ENV MAIL MAILPATH |
3870 | for as_var in BASH_ENV ENV MAIL MAILPATH |
|
|
3871 | do eval test x\${$as_var+set} = xset \ |
3111 | do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
3872 | && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : |
3112 | done |
3873 | done |
3113 | PS1='$ ' |
3874 | PS1='$ ' |
3114 | PS2='> ' |
3875 | PS2='> ' |
3115 | PS4='+ ' |
3876 | PS4='+ ' |
3116 | |
3877 | |
3117 | # NLS nuisances. |
3878 | # NLS nuisances. |
3118 | for as_var in \ |
3879 | LC_ALL=C |
3119 | LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ |
3880 | export LC_ALL |
3120 | LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
3881 | LANGUAGE=C |
3121 | LC_TELEPHONE LC_TIME |
3882 | export LANGUAGE |
3122 | do |
3883 | |
3123 | if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
3884 | # CDPATH. |
3124 | eval $as_var=C; export $as_var |
3885 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
3125 | else |
3886 | |
3126 | ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
3887 | |
|
|
3888 | # as_fn_error STATUS ERROR [LINENO LOG_FD] |
|
|
3889 | # ---------------------------------------- |
|
|
3890 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
|
|
3891 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
|
|
3892 | # script with STATUS, using 1 if that was 0. |
|
|
3893 | as_fn_error () |
|
|
3894 | { |
|
|
3895 | as_status=$1; test $as_status -eq 0 && as_status=1 |
|
|
3896 | if test "$4"; then |
|
|
3897 | as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
|
3898 | $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
3127 | fi |
3899 | fi |
3128 | done |
3900 | $as_echo "$as_me: error: $2" >&2 |
|
|
3901 | as_fn_exit $as_status |
|
|
3902 | } # as_fn_error |
3129 | |
3903 | |
3130 | # Required to use basename. |
3904 | |
|
|
3905 | # as_fn_set_status STATUS |
|
|
3906 | # ----------------------- |
|
|
3907 | # Set $? to STATUS, without forking. |
|
|
3908 | as_fn_set_status () |
|
|
3909 | { |
|
|
3910 | return $1 |
|
|
3911 | } # as_fn_set_status |
|
|
3912 | |
|
|
3913 | # as_fn_exit STATUS |
|
|
3914 | # ----------------- |
|
|
3915 | # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. |
|
|
3916 | as_fn_exit () |
|
|
3917 | { |
|
|
3918 | set +e |
|
|
3919 | as_fn_set_status $1 |
|
|
3920 | exit $1 |
|
|
3921 | } # as_fn_exit |
|
|
3922 | |
|
|
3923 | # as_fn_unset VAR |
|
|
3924 | # --------------- |
|
|
3925 | # Portably unset VAR. |
|
|
3926 | as_fn_unset () |
|
|
3927 | { |
|
|
3928 | { eval $1=; unset $1;} |
|
|
3929 | } |
|
|
3930 | as_unset=as_fn_unset |
|
|
3931 | # as_fn_append VAR VALUE |
|
|
3932 | # ---------------------- |
|
|
3933 | # Append the text in VALUE to the end of the definition contained in VAR. Take |
|
|
3934 | # advantage of any shell optimizations that allow amortized linear growth over |
|
|
3935 | # repeated appends, instead of the typical quadratic growth present in naive |
|
|
3936 | # implementations. |
|
|
3937 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : |
|
|
3938 | eval 'as_fn_append () |
|
|
3939 | { |
|
|
3940 | eval $1+=\$2 |
|
|
3941 | }' |
|
|
3942 | else |
|
|
3943 | as_fn_append () |
|
|
3944 | { |
|
|
3945 | eval $1=\$$1\$2 |
|
|
3946 | } |
|
|
3947 | fi # as_fn_append |
|
|
3948 | |
|
|
3949 | # as_fn_arith ARG... |
|
|
3950 | # ------------------ |
|
|
3951 | # Perform arithmetic evaluation on the ARGs, and store the result in the |
|
|
3952 | # global $as_val. Take advantage of shells that can avoid forks. The arguments |
|
|
3953 | # must be portable across $(()) and expr. |
|
|
3954 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : |
|
|
3955 | eval 'as_fn_arith () |
|
|
3956 | { |
|
|
3957 | as_val=$(( $* )) |
|
|
3958 | }' |
|
|
3959 | else |
|
|
3960 | as_fn_arith () |
|
|
3961 | { |
|
|
3962 | as_val=`expr "$@" || test $? -eq 1` |
|
|
3963 | } |
|
|
3964 | fi # as_fn_arith |
|
|
3965 | |
|
|
3966 | |
3131 | if expr a : '\(a\)' >/dev/null 2>&1 && |
3967 | if expr a : '\(a\)' >/dev/null 2>&1 && |
3132 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
3968 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
3133 | as_expr=expr |
3969 | as_expr=expr |
3134 | else |
3970 | else |
3135 | as_expr=false |
3971 | as_expr=false |
… | |
… | |
3139 | as_basename=basename |
3975 | as_basename=basename |
3140 | else |
3976 | else |
3141 | as_basename=false |
3977 | as_basename=false |
3142 | fi |
3978 | fi |
3143 | |
3979 | |
|
|
3980 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
|
|
3981 | as_dirname=dirname |
|
|
3982 | else |
|
|
3983 | as_dirname=false |
|
|
3984 | fi |
3144 | |
3985 | |
3145 | # Name of the executable. |
|
|
3146 | as_me=`$as_basename -- "$0" || |
3986 | as_me=`$as_basename -- "$0" || |
3147 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
3987 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
3148 | X"$0" : 'X\(//\)$' \| \ |
3988 | X"$0" : 'X\(//\)$' \| \ |
3149 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
3989 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
3150 | echo X/"$0" | |
3990 | $as_echo X/"$0" | |
3151 | sed '/^.*\/\([^/][^/]*\)\/*$/{ |
3991 | sed '/^.*\/\([^/][^/]*\)\/*$/{ |
3152 | s//\1/ |
3992 | s//\1/ |
3153 | q |
3993 | q |
3154 | } |
3994 | } |
3155 | /^X\/\(\/\/\)$/{ |
3995 | /^X\/\(\/\/\)$/{ |
… | |
… | |
3160 | s//\1/ |
4000 | s//\1/ |
3161 | q |
4001 | q |
3162 | } |
4002 | } |
3163 | s/.*/./; q'` |
4003 | s/.*/./; q'` |
3164 | |
4004 | |
3165 | # CDPATH. |
4005 | # Avoid depending upon Character Ranges. |
3166 | $as_unset CDPATH |
4006 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
3167 | |
4007 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
3168 | |
4008 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
3169 | |
4009 | as_cr_digits='0123456789' |
3170 | as_lineno_1=$LINENO |
4010 | as_cr_alnum=$as_cr_Letters$as_cr_digits |
3171 | as_lineno_2=$LINENO |
|
|
3172 | test "x$as_lineno_1" != "x$as_lineno_2" && |
|
|
3173 | test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { |
|
|
3174 | |
|
|
3175 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
|
|
3176 | # uniformly replaced by the line number. The first 'sed' inserts a |
|
|
3177 | # line-number line after each line using $LINENO; the second 'sed' |
|
|
3178 | # does the real work. The second script uses 'N' to pair each |
|
|
3179 | # line-number line with the line containing $LINENO, and appends |
|
|
3180 | # trailing '-' during substitution so that $LINENO is not a special |
|
|
3181 | # case at line end. |
|
|
3182 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
|
|
3183 | # scripts with optimization help from Paolo Bonzini. Blame Lee |
|
|
3184 | # E. McMahon (1931-1989) for sed's syntax. :-) |
|
|
3185 | sed -n ' |
|
|
3186 | p |
|
|
3187 | /[$]LINENO/= |
|
|
3188 | ' <$as_myself | |
|
|
3189 | sed ' |
|
|
3190 | s/[$]LINENO.*/&-/ |
|
|
3191 | t lineno |
|
|
3192 | b |
|
|
3193 | :lineno |
|
|
3194 | N |
|
|
3195 | :loop |
|
|
3196 | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
|
|
3197 | t loop |
|
|
3198 | s/-\n.*// |
|
|
3199 | ' >$as_me.lineno && |
|
|
3200 | chmod +x "$as_me.lineno" || |
|
|
3201 | { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
|
|
3202 | { (exit 1); exit 1; }; } |
|
|
3203 | |
|
|
3204 | # Don't try to exec as it changes $[0], causing all sort of problems |
|
|
3205 | # (the dirname of $[0] is not the place where we might find the |
|
|
3206 | # original and so on. Autoconf is especially sensitive to this). |
|
|
3207 | . "./$as_me.lineno" |
|
|
3208 | # Exit status is that of the last command. |
|
|
3209 | exit |
|
|
3210 | } |
|
|
3211 | |
|
|
3212 | |
|
|
3213 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
|
|
3214 | as_dirname=dirname |
|
|
3215 | else |
|
|
3216 | as_dirname=false |
|
|
3217 | fi |
|
|
3218 | |
4011 | |
3219 | ECHO_C= ECHO_N= ECHO_T= |
4012 | ECHO_C= ECHO_N= ECHO_T= |
3220 | case `echo -n x` in |
4013 | case `echo -n x` in #((((( |
3221 | -n*) |
4014 | -n*) |
3222 | case `echo 'x\c'` in |
4015 | case `echo 'xy\c'` in |
3223 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
4016 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
3224 | *) ECHO_C='\c';; |
4017 | xy) ECHO_C='\c';; |
|
|
4018 | *) echo `echo ksh88 bug on AIX 6.1` > /dev/null |
|
|
4019 | ECHO_T=' ';; |
3225 | esac;; |
4020 | esac;; |
3226 | *) |
4021 | *) |
3227 | ECHO_N='-n';; |
4022 | ECHO_N='-n';; |
3228 | esac |
4023 | esac |
3229 | |
4024 | |
3230 | if expr a : '\(a\)' >/dev/null 2>&1 && |
|
|
3231 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
|
|
3232 | as_expr=expr |
|
|
3233 | else |
|
|
3234 | as_expr=false |
|
|
3235 | fi |
|
|
3236 | |
|
|
3237 | rm -f conf$$ conf$$.exe conf$$.file |
4025 | rm -f conf$$ conf$$.exe conf$$.file |
3238 | if test -d conf$$.dir; then |
4026 | if test -d conf$$.dir; then |
3239 | rm -f conf$$.dir/conf$$.file |
4027 | rm -f conf$$.dir/conf$$.file |
3240 | else |
4028 | else |
3241 | rm -f conf$$.dir |
4029 | rm -f conf$$.dir |
3242 | mkdir conf$$.dir |
4030 | mkdir conf$$.dir 2>/dev/null |
3243 | fi |
4031 | fi |
3244 | echo >conf$$.file |
4032 | if (echo >conf$$.file) 2>/dev/null; then |
3245 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
4033 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
3246 | as_ln_s='ln -s' |
4034 | as_ln_s='ln -s' |
3247 | # ... but there are two gotchas: |
4035 | # ... but there are two gotchas: |
3248 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
4036 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
3249 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
4037 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
3250 | # In both cases, we have to default to `cp -p'. |
4038 | # In both cases, we have to default to `cp -p'. |
3251 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
4039 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
|
|
4040 | as_ln_s='cp -p' |
|
|
4041 | elif ln conf$$.file conf$$ 2>/dev/null; then |
|
|
4042 | as_ln_s=ln |
|
|
4043 | else |
3252 | as_ln_s='cp -p' |
4044 | as_ln_s='cp -p' |
3253 | elif ln conf$$.file conf$$ 2>/dev/null; then |
4045 | fi |
3254 | as_ln_s=ln |
|
|
3255 | else |
4046 | else |
3256 | as_ln_s='cp -p' |
4047 | as_ln_s='cp -p' |
3257 | fi |
4048 | fi |
3258 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
4049 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
3259 | rmdir conf$$.dir 2>/dev/null |
4050 | rmdir conf$$.dir 2>/dev/null |
3260 | |
4051 | |
3261 | if mkdir -p . 2>/dev/null; then |
4052 | |
3262 | as_mkdir_p=: |
4053 | # as_fn_mkdir_p |
3263 | else |
4054 | # ------------- |
3264 | test -d ./-p && rmdir ./-p |
4055 | # Create "$as_dir" as a directory, including parents if necessary. |
3265 | as_mkdir_p=false |
4056 | as_fn_mkdir_p () |
3266 | fi |
|
|
3267 | |
|
|
3268 | if test -x / >/dev/null 2>&1; then |
|
|
3269 | as_test_x='test -x' |
|
|
3270 | else |
|
|
3271 | if ls -dL / >/dev/null 2>&1; then |
|
|
3272 | as_ls_L_option=L |
|
|
3273 | else |
|
|
3274 | as_ls_L_option= |
|
|
3275 | fi |
|
|
3276 | as_test_x=' |
|
|
3277 | eval sh -c '\'' |
|
|
3278 | if test -d "$1"; then |
|
|
3279 | test -d "$1/."; |
|
|
3280 | else |
|
|
3281 | case $1 in |
|
|
3282 | -*)set "./$1";; |
|
|
3283 | esac; |
|
|
3284 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in |
|
|
3285 | ???[sx]*):;;*)false;;esac;fi |
|
|
3286 | '\'' sh |
|
|
3287 | ' |
|
|
3288 | fi |
|
|
3289 | as_executable_p=$as_test_x |
|
|
3290 | |
|
|
3291 | # Sed expression to map a string onto a valid CPP name. |
|
|
3292 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
|
|
3293 | |
|
|
3294 | # Sed expression to map a string onto a valid variable name. |
|
|
3295 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
|
|
3296 | |
|
|
3297 | |
|
|
3298 | exec 6>&1 |
|
|
3299 | |
|
|
3300 | # Save the log message, to keep $[0] and so on meaningful, and to |
|
|
3301 | # report actual input values of CONFIG_FILES etc. instead of their |
|
|
3302 | # values after options handling. |
|
|
3303 | ac_log=" |
|
|
3304 | This file was extended by $as_me, which was |
|
|
3305 | generated by GNU Autoconf 2.61. Invocation command line was |
|
|
3306 | |
|
|
3307 | CONFIG_FILES = $CONFIG_FILES |
|
|
3308 | CONFIG_HEADERS = $CONFIG_HEADERS |
|
|
3309 | CONFIG_LINKS = $CONFIG_LINKS |
|
|
3310 | CONFIG_COMMANDS = $CONFIG_COMMANDS |
|
|
3311 | $ $0 $@ |
|
|
3312 | |
|
|
3313 | on `(hostname || uname -n) 2>/dev/null | sed 1q` |
|
|
3314 | " |
|
|
3315 | |
|
|
3316 | _ACEOF |
|
|
3317 | |
|
|
3318 | cat >>$CONFIG_STATUS <<_ACEOF |
|
|
3319 | # Files that config.status was made for. |
|
|
3320 | config_headers="$ac_config_headers" |
|
|
3321 | |
|
|
3322 | _ACEOF |
|
|
3323 | |
|
|
3324 | cat >>$CONFIG_STATUS <<\_ACEOF |
|
|
3325 | ac_cs_usage="\ |
|
|
3326 | \`$as_me' instantiates files from templates according to the |
|
|
3327 | current configuration. |
|
|
3328 | |
|
|
3329 | Usage: $0 [OPTIONS] [FILE]... |
|
|
3330 | |
|
|
3331 | -h, --help print this help, then exit |
|
|
3332 | -V, --version print version number and configuration settings, then exit |
|
|
3333 | -q, --quiet do not print progress messages |
|
|
3334 | -d, --debug don't remove temporary files |
|
|
3335 | --recheck update $as_me by reconfiguring in the same conditions |
|
|
3336 | --header=FILE[:TEMPLATE] |
|
|
3337 | instantiate the configuration header FILE |
|
|
3338 | |
|
|
3339 | Configuration headers: |
|
|
3340 | $config_headers |
|
|
3341 | |
|
|
3342 | Report bugs to <bug-autoconf@gnu.org>." |
|
|
3343 | |
|
|
3344 | _ACEOF |
|
|
3345 | cat >>$CONFIG_STATUS <<_ACEOF |
|
|
3346 | ac_cs_version="\\ |
|
|
3347 | config.status |
|
|
3348 | configured by $0, generated by GNU Autoconf 2.61, |
|
|
3349 | with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" |
|
|
3350 | |
|
|
3351 | Copyright (C) 2006 Free Software Foundation, Inc. |
|
|
3352 | This config.status script is free software; the Free Software Foundation |
|
|
3353 | gives unlimited permission to copy, distribute and modify it." |
|
|
3354 | |
|
|
3355 | ac_pwd='$ac_pwd' |
|
|
3356 | srcdir='$srcdir' |
|
|
3357 | _ACEOF |
|
|
3358 | |
|
|
3359 | cat >>$CONFIG_STATUS <<\_ACEOF |
|
|
3360 | # If no file are specified by the user, then we need to provide default |
|
|
3361 | # value. By we need to know if files were specified by the user. |
|
|
3362 | ac_need_defaults=: |
|
|
3363 | while test $# != 0 |
|
|
3364 | do |
|
|
3365 | case $1 in |
|
|
3366 | --*=*) |
|
|
3367 | ac_option=`expr "X$1" : 'X\([^=]*\)='` |
|
|
3368 | ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` |
|
|
3369 | ac_shift=: |
|
|
3370 | ;; |
|
|
3371 | *) |
|
|
3372 | ac_option=$1 |
|
|
3373 | ac_optarg=$2 |
|
|
3374 | ac_shift=shift |
|
|
3375 | ;; |
|
|
3376 | esac |
|
|
3377 | |
|
|
3378 | case $ac_option in |
|
|
3379 | # Handling of the options. |
|
|
3380 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
|
|
3381 | ac_cs_recheck=: ;; |
|
|
3382 | --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) |
|
|
3383 | echo "$ac_cs_version"; exit ;; |
|
|
3384 | --debug | --debu | --deb | --de | --d | -d ) |
|
|
3385 | debug=: ;; |
|
|
3386 | --header | --heade | --head | --hea ) |
|
|
3387 | $ac_shift |
|
|
3388 | CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" |
|
|
3389 | ac_need_defaults=false;; |
|
|
3390 | --he | --h) |
|
|
3391 | # Conflict between --help and --header |
|
|
3392 | { echo "$as_me: error: ambiguous option: $1 |
|
|
3393 | Try \`$0 --help' for more information." >&2 |
|
|
3394 | { (exit 1); exit 1; }; };; |
|
|
3395 | --help | --hel | -h ) |
|
|
3396 | echo "$ac_cs_usage"; exit ;; |
|
|
3397 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
|
|
3398 | | -silent | --silent | --silen | --sile | --sil | --si | --s) |
|
|
3399 | ac_cs_silent=: ;; |
|
|
3400 | |
|
|
3401 | # This is an error. |
|
|
3402 | -*) { echo "$as_me: error: unrecognized option: $1 |
|
|
3403 | Try \`$0 --help' for more information." >&2 |
|
|
3404 | { (exit 1); exit 1; }; } ;; |
|
|
3405 | |
|
|
3406 | *) ac_config_targets="$ac_config_targets $1" |
|
|
3407 | ac_need_defaults=false ;; |
|
|
3408 | |
|
|
3409 | esac |
|
|
3410 | shift |
|
|
3411 | done |
|
|
3412 | |
|
|
3413 | ac_configure_extra_args= |
|
|
3414 | |
|
|
3415 | if $ac_cs_silent; then |
|
|
3416 | exec 6>/dev/null |
|
|
3417 | ac_configure_extra_args="$ac_configure_extra_args --silent" |
|
|
3418 | fi |
|
|
3419 | |
|
|
3420 | _ACEOF |
|
|
3421 | cat >>$CONFIG_STATUS <<_ACEOF |
|
|
3422 | if \$ac_cs_recheck; then |
|
|
3423 | echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 |
|
|
3424 | CONFIG_SHELL=$SHELL |
|
|
3425 | export CONFIG_SHELL |
|
|
3426 | exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
|
|
3427 | fi |
|
|
3428 | |
|
|
3429 | _ACEOF |
|
|
3430 | cat >>$CONFIG_STATUS <<\_ACEOF |
|
|
3431 | exec 5>>config.log |
|
|
3432 | { |
4057 | { |
3433 | echo |
|
|
3434 | sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX |
|
|
3435 | ## Running $as_me. ## |
|
|
3436 | _ASBOX |
|
|
3437 | echo "$ac_log" |
|
|
3438 | } >&5 |
|
|
3439 | |
4058 | |
3440 | _ACEOF |
|
|
3441 | cat >>$CONFIG_STATUS <<_ACEOF |
|
|
3442 | _ACEOF |
|
|
3443 | |
|
|
3444 | cat >>$CONFIG_STATUS <<\_ACEOF |
|
|
3445 | |
|
|
3446 | # Handling of arguments. |
|
|
3447 | for ac_config_target in $ac_config_targets |
|
|
3448 | do |
|
|
3449 | case $ac_config_target in |
|
|
3450 | "libeio/config.h") CONFIG_HEADERS="$CONFIG_HEADERS libeio/config.h" ;; |
|
|
3451 | |
|
|
3452 | *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
|
|
3453 | echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
|
|
3454 | { (exit 1); exit 1; }; };; |
|
|
3455 | esac |
|
|
3456 | done |
|
|
3457 | |
|
|
3458 | |
|
|
3459 | # If the user did not use the arguments to specify the items to instantiate, |
|
|
3460 | # then the envvar interface is used. Set only those that are not. |
|
|
3461 | # We use the long form for the default assignment because of an extremely |
|
|
3462 | # bizarre bug on SunOS 4.1.3. |
|
|
3463 | if $ac_need_defaults; then |
|
|
3464 | test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers |
|
|
3465 | fi |
|
|
3466 | |
|
|
3467 | # Have a temporary directory for convenience. Make it in the build tree |
|
|
3468 | # simply because there is no reason against having it here, and in addition, |
|
|
3469 | # creating and moving files from /tmp can sometimes cause problems. |
|
|
3470 | # Hook for its removal unless debugging. |
|
|
3471 | # Note that there is a small window in which the directory will not be cleaned: |
|
|
3472 | # after its creation but before its name has been assigned to `$tmp'. |
|
|
3473 | $debug || |
|
|
3474 | { |
|
|
3475 | tmp= |
|
|
3476 | trap 'exit_status=$? |
|
|
3477 | { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status |
|
|
3478 | ' 0 |
|
|
3479 | trap '{ (exit 1); exit 1; }' 1 2 13 15 |
|
|
3480 | } |
|
|
3481 | # Create a (secure) tmp directory for tmp files. |
|
|
3482 | |
|
|
3483 | { |
|
|
3484 | tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
|
|
3485 | test -n "$tmp" && test -d "$tmp" |
|
|
3486 | } || |
|
|
3487 | { |
|
|
3488 | tmp=./conf$$-$RANDOM |
|
|
3489 | (umask 077 && mkdir "$tmp") |
|
|
3490 | } || |
|
|
3491 | { |
|
|
3492 | echo "$me: cannot create a temporary directory in ." >&2 |
|
|
3493 | { (exit 1); exit 1; } |
|
|
3494 | } |
|
|
3495 | |
|
|
3496 | |
|
|
3497 | for ac_tag in :H $CONFIG_HEADERS |
|
|
3498 | do |
|
|
3499 | case $ac_tag in |
|
|
3500 | :[FHLC]) ac_mode=$ac_tag; continue;; |
|
|
3501 | esac |
|
|
3502 | case $ac_mode$ac_tag in |
|
|
3503 | :[FHL]*:*);; |
|
|
3504 | :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 |
|
|
3505 | echo "$as_me: error: Invalid tag $ac_tag." >&2;} |
|
|
3506 | { (exit 1); exit 1; }; };; |
|
|
3507 | :[FH]-) ac_tag=-:-;; |
|
|
3508 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
|
|
3509 | esac |
|
|
3510 | ac_save_IFS=$IFS |
|
|
3511 | IFS=: |
|
|
3512 | set x $ac_tag |
|
|
3513 | IFS=$ac_save_IFS |
|
|
3514 | shift |
|
|
3515 | ac_file=$1 |
|
|
3516 | shift |
|
|
3517 | |
|
|
3518 | case $ac_mode in |
|
|
3519 | :L) ac_source=$1;; |
|
|
3520 | :[FH]) |
|
|
3521 | ac_file_inputs= |
|
|
3522 | for ac_f |
|
|
3523 | do |
|
|
3524 | case $ac_f in |
|
|
3525 | -) ac_f="$tmp/stdin";; |
|
|
3526 | *) # Look for the file first in the build tree, then in the source tree |
|
|
3527 | # (if the path is not absolute). The absolute path cannot be DOS-style, |
|
|
3528 | # because $ac_f cannot contain `:'. |
|
|
3529 | test -f "$ac_f" || |
|
|
3530 | case $ac_f in |
|
|
3531 | [\\/$]*) false;; |
|
|
3532 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
|
|
3533 | esac || |
|
|
3534 | { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 |
|
|
3535 | echo "$as_me: error: cannot find input file: $ac_f" >&2;} |
|
|
3536 | { (exit 1); exit 1; }; };; |
|
|
3537 | esac |
|
|
3538 | ac_file_inputs="$ac_file_inputs $ac_f" |
|
|
3539 | done |
|
|
3540 | |
|
|
3541 | # Let's still pretend it is `configure' which instantiates (i.e., don't |
|
|
3542 | # use $as_me), people would be surprised to read: |
|
|
3543 | # /* config.h. Generated by config.status. */ |
|
|
3544 | configure_input="Generated from "`IFS=: |
|
|
3545 | echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." |
|
|
3546 | if test x"$ac_file" != x-; then |
|
|
3547 | configure_input="$ac_file. $configure_input" |
|
|
3548 | { echo "$as_me:$LINENO: creating $ac_file" >&5 |
|
|
3549 | echo "$as_me: creating $ac_file" >&6;} |
|
|
3550 | fi |
|
|
3551 | |
|
|
3552 | case $ac_tag in |
|
|
3553 | *:-:* | *:-) cat >"$tmp/stdin";; |
|
|
3554 | esac |
|
|
3555 | ;; |
|
|
3556 | esac |
|
|
3557 | |
|
|
3558 | ac_dir=`$as_dirname -- "$ac_file" || |
|
|
3559 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
|
3560 | X"$ac_file" : 'X\(//\)[^/]' \| \ |
|
|
3561 | X"$ac_file" : 'X\(//\)$' \| \ |
|
|
3562 | X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || |
|
|
3563 | echo X"$ac_file" | |
|
|
3564 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|
|
3565 | s//\1/ |
|
|
3566 | q |
|
|
3567 | } |
|
|
3568 | /^X\(\/\/\)[^/].*/{ |
|
|
3569 | s//\1/ |
|
|
3570 | q |
|
|
3571 | } |
|
|
3572 | /^X\(\/\/\)$/{ |
|
|
3573 | s//\1/ |
|
|
3574 | q |
|
|
3575 | } |
|
|
3576 | /^X\(\/\).*/{ |
|
|
3577 | s//\1/ |
|
|
3578 | q |
|
|
3579 | } |
|
|
3580 | s/.*/./; q'` |
|
|
3581 | { as_dir="$ac_dir" |
|
|
3582 | case $as_dir in #( |
4059 | case $as_dir in #( |
3583 | -*) as_dir=./$as_dir;; |
4060 | -*) as_dir=./$as_dir;; |
3584 | esac |
4061 | esac |
3585 | test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { |
4062 | test -d "$as_dir" || eval $as_mkdir_p || { |
3586 | as_dirs= |
4063 | as_dirs= |
3587 | while :; do |
4064 | while :; do |
3588 | case $as_dir in #( |
4065 | case $as_dir in #( |
3589 | *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( |
4066 | *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
3590 | *) as_qdir=$as_dir;; |
4067 | *) as_qdir=$as_dir;; |
3591 | esac |
4068 | esac |
3592 | as_dirs="'$as_qdir' $as_dirs" |
4069 | as_dirs="'$as_qdir' $as_dirs" |
3593 | as_dir=`$as_dirname -- "$as_dir" || |
4070 | as_dir=`$as_dirname -- "$as_dir" || |
3594 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
4071 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
3595 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
4072 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
3596 | X"$as_dir" : 'X\(//\)$' \| \ |
4073 | X"$as_dir" : 'X\(//\)$' \| \ |
3597 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
4074 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
3598 | echo X"$as_dir" | |
4075 | $as_echo X"$as_dir" | |
3599 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
4076 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
3600 | s//\1/ |
4077 | s//\1/ |
3601 | q |
4078 | q |
3602 | } |
4079 | } |
3603 | /^X\(\/\/\)[^/].*/{ |
4080 | /^X\(\/\/\)[^/].*/{ |
… | |
… | |
3614 | } |
4091 | } |
3615 | s/.*/./; q'` |
4092 | s/.*/./; q'` |
3616 | test -d "$as_dir" && break |
4093 | test -d "$as_dir" && break |
3617 | done |
4094 | done |
3618 | test -z "$as_dirs" || eval "mkdir $as_dirs" |
4095 | test -z "$as_dirs" || eval "mkdir $as_dirs" |
3619 | } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 |
4096 | } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
3620 | echo "$as_me: error: cannot create directory $as_dir" >&2;} |
4097 | |
3621 | { (exit 1); exit 1; }; }; } |
4098 | |
|
|
4099 | } # as_fn_mkdir_p |
|
|
4100 | if mkdir -p . 2>/dev/null; then |
|
|
4101 | as_mkdir_p='mkdir -p "$as_dir"' |
|
|
4102 | else |
|
|
4103 | test -d ./-p && rmdir ./-p |
|
|
4104 | as_mkdir_p=false |
|
|
4105 | fi |
|
|
4106 | |
|
|
4107 | if test -x / >/dev/null 2>&1; then |
|
|
4108 | as_test_x='test -x' |
|
|
4109 | else |
|
|
4110 | if ls -dL / >/dev/null 2>&1; then |
|
|
4111 | as_ls_L_option=L |
|
|
4112 | else |
|
|
4113 | as_ls_L_option= |
|
|
4114 | fi |
|
|
4115 | as_test_x=' |
|
|
4116 | eval sh -c '\'' |
|
|
4117 | if test -d "$1"; then |
|
|
4118 | test -d "$1/."; |
|
|
4119 | else |
|
|
4120 | case $1 in #( |
|
|
4121 | -*)set "./$1";; |
|
|
4122 | esac; |
|
|
4123 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( |
|
|
4124 | ???[sx]*):;;*)false;;esac;fi |
|
|
4125 | '\'' sh |
|
|
4126 | ' |
|
|
4127 | fi |
|
|
4128 | as_executable_p=$as_test_x |
|
|
4129 | |
|
|
4130 | # Sed expression to map a string onto a valid CPP name. |
|
|
4131 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
|
|
4132 | |
|
|
4133 | # Sed expression to map a string onto a valid variable name. |
|
|
4134 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
|
|
4135 | |
|
|
4136 | |
|
|
4137 | exec 6>&1 |
|
|
4138 | ## ----------------------------------- ## |
|
|
4139 | ## Main body of $CONFIG_STATUS script. ## |
|
|
4140 | ## ----------------------------------- ## |
|
|
4141 | _ASEOF |
|
|
4142 | test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 |
|
|
4143 | |
|
|
4144 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
|
4145 | # Save the log message, to keep $0 and so on meaningful, and to |
|
|
4146 | # report actual input values of CONFIG_FILES etc. instead of their |
|
|
4147 | # values after options handling. |
|
|
4148 | ac_log=" |
|
|
4149 | This file was extended by $as_me, which was |
|
|
4150 | generated by GNU Autoconf 2.67. Invocation command line was |
|
|
4151 | |
|
|
4152 | CONFIG_FILES = $CONFIG_FILES |
|
|
4153 | CONFIG_HEADERS = $CONFIG_HEADERS |
|
|
4154 | CONFIG_LINKS = $CONFIG_LINKS |
|
|
4155 | CONFIG_COMMANDS = $CONFIG_COMMANDS |
|
|
4156 | $ $0 $@ |
|
|
4157 | |
|
|
4158 | on `(hostname || uname -n) 2>/dev/null | sed 1q` |
|
|
4159 | " |
|
|
4160 | |
|
|
4161 | _ACEOF |
|
|
4162 | |
|
|
4163 | |
|
|
4164 | case $ac_config_headers in *" |
|
|
4165 | "*) set x $ac_config_headers; shift; ac_config_headers=$*;; |
|
|
4166 | esac |
|
|
4167 | |
|
|
4168 | |
|
|
4169 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
|
4170 | # Files that config.status was made for. |
|
|
4171 | config_headers="$ac_config_headers" |
|
|
4172 | |
|
|
4173 | _ACEOF |
|
|
4174 | |
|
|
4175 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
|
4176 | ac_cs_usage="\ |
|
|
4177 | \`$as_me' instantiates files and other configuration actions |
|
|
4178 | from templates according to the current configuration. Unless the files |
|
|
4179 | and actions are specified as TAGs, all are instantiated by default. |
|
|
4180 | |
|
|
4181 | Usage: $0 [OPTION]... [TAG]... |
|
|
4182 | |
|
|
4183 | -h, --help print this help, then exit |
|
|
4184 | -V, --version print version number and configuration settings, then exit |
|
|
4185 | --config print configuration, then exit |
|
|
4186 | -q, --quiet, --silent |
|
|
4187 | do not print progress messages |
|
|
4188 | -d, --debug don't remove temporary files |
|
|
4189 | --recheck update $as_me by reconfiguring in the same conditions |
|
|
4190 | --header=FILE[:TEMPLATE] |
|
|
4191 | instantiate the configuration header FILE |
|
|
4192 | |
|
|
4193 | Configuration headers: |
|
|
4194 | $config_headers |
|
|
4195 | |
|
|
4196 | Report bugs to the package provider." |
|
|
4197 | |
|
|
4198 | _ACEOF |
|
|
4199 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
|
4200 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
|
|
4201 | ac_cs_version="\\ |
|
|
4202 | config.status |
|
|
4203 | configured by $0, generated by GNU Autoconf 2.67, |
|
|
4204 | with options \\"\$ac_cs_config\\" |
|
|
4205 | |
|
|
4206 | Copyright (C) 2010 Free Software Foundation, Inc. |
|
|
4207 | This config.status script is free software; the Free Software Foundation |
|
|
4208 | gives unlimited permission to copy, distribute and modify it." |
|
|
4209 | |
|
|
4210 | ac_pwd='$ac_pwd' |
|
|
4211 | srcdir='$srcdir' |
|
|
4212 | test -n "\$AWK" || AWK=awk |
|
|
4213 | _ACEOF |
|
|
4214 | |
|
|
4215 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
|
4216 | # The default lists apply if the user does not specify any file. |
|
|
4217 | ac_need_defaults=: |
|
|
4218 | while test $# != 0 |
|
|
4219 | do |
|
|
4220 | case $1 in |
|
|
4221 | --*=?*) |
|
|
4222 | ac_option=`expr "X$1" : 'X\([^=]*\)='` |
|
|
4223 | ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` |
|
|
4224 | ac_shift=: |
|
|
4225 | ;; |
|
|
4226 | --*=) |
|
|
4227 | ac_option=`expr "X$1" : 'X\([^=]*\)='` |
|
|
4228 | ac_optarg= |
|
|
4229 | ac_shift=: |
|
|
4230 | ;; |
|
|
4231 | *) |
|
|
4232 | ac_option=$1 |
|
|
4233 | ac_optarg=$2 |
|
|
4234 | ac_shift=shift |
|
|
4235 | ;; |
|
|
4236 | esac |
|
|
4237 | |
|
|
4238 | case $ac_option in |
|
|
4239 | # Handling of the options. |
|
|
4240 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
|
|
4241 | ac_cs_recheck=: ;; |
|
|
4242 | --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) |
|
|
4243 | $as_echo "$ac_cs_version"; exit ;; |
|
|
4244 | --config | --confi | --conf | --con | --co | --c ) |
|
|
4245 | $as_echo "$ac_cs_config"; exit ;; |
|
|
4246 | --debug | --debu | --deb | --de | --d | -d ) |
|
|
4247 | debug=: ;; |
|
|
4248 | --header | --heade | --head | --hea ) |
|
|
4249 | $ac_shift |
|
|
4250 | case $ac_optarg in |
|
|
4251 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
|
|
4252 | esac |
|
|
4253 | as_fn_append CONFIG_HEADERS " '$ac_optarg'" |
|
|
4254 | ac_need_defaults=false;; |
|
|
4255 | --he | --h) |
|
|
4256 | # Conflict between --help and --header |
|
|
4257 | as_fn_error $? "ambiguous option: \`$1' |
|
|
4258 | Try \`$0 --help' for more information.";; |
|
|
4259 | --help | --hel | -h ) |
|
|
4260 | $as_echo "$ac_cs_usage"; exit ;; |
|
|
4261 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
|
|
4262 | | -silent | --silent | --silen | --sile | --sil | --si | --s) |
|
|
4263 | ac_cs_silent=: ;; |
|
|
4264 | |
|
|
4265 | # This is an error. |
|
|
4266 | -*) as_fn_error $? "unrecognized option: \`$1' |
|
|
4267 | Try \`$0 --help' for more information." ;; |
|
|
4268 | |
|
|
4269 | *) as_fn_append ac_config_targets " $1" |
|
|
4270 | ac_need_defaults=false ;; |
|
|
4271 | |
|
|
4272 | esac |
|
|
4273 | shift |
|
|
4274 | done |
|
|
4275 | |
|
|
4276 | ac_configure_extra_args= |
|
|
4277 | |
|
|
4278 | if $ac_cs_silent; then |
|
|
4279 | exec 6>/dev/null |
|
|
4280 | ac_configure_extra_args="$ac_configure_extra_args --silent" |
|
|
4281 | fi |
|
|
4282 | |
|
|
4283 | _ACEOF |
|
|
4284 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
|
4285 | if \$ac_cs_recheck; then |
|
|
4286 | set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
|
|
4287 | shift |
|
|
4288 | \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 |
|
|
4289 | CONFIG_SHELL='$SHELL' |
|
|
4290 | export CONFIG_SHELL |
|
|
4291 | exec "\$@" |
|
|
4292 | fi |
|
|
4293 | |
|
|
4294 | _ACEOF |
|
|
4295 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
|
4296 | exec 5>>config.log |
|
|
4297 | { |
|
|
4298 | echo |
|
|
4299 | sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX |
|
|
4300 | ## Running $as_me. ## |
|
|
4301 | _ASBOX |
|
|
4302 | $as_echo "$ac_log" |
|
|
4303 | } >&5 |
|
|
4304 | |
|
|
4305 | _ACEOF |
|
|
4306 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
|
4307 | _ACEOF |
|
|
4308 | |
|
|
4309 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
|
4310 | |
|
|
4311 | # Handling of arguments. |
|
|
4312 | for ac_config_target in $ac_config_targets |
|
|
4313 | do |
|
|
4314 | case $ac_config_target in |
|
|
4315 | "libeio/config.h") CONFIG_HEADERS="$CONFIG_HEADERS libeio/config.h" ;; |
|
|
4316 | |
|
|
4317 | *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;; |
|
|
4318 | esac |
|
|
4319 | done |
|
|
4320 | |
|
|
4321 | |
|
|
4322 | # If the user did not use the arguments to specify the items to instantiate, |
|
|
4323 | # then the envvar interface is used. Set only those that are not. |
|
|
4324 | # We use the long form for the default assignment because of an extremely |
|
|
4325 | # bizarre bug on SunOS 4.1.3. |
|
|
4326 | if $ac_need_defaults; then |
|
|
4327 | test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers |
|
|
4328 | fi |
|
|
4329 | |
|
|
4330 | # Have a temporary directory for convenience. Make it in the build tree |
|
|
4331 | # simply because there is no reason against having it here, and in addition, |
|
|
4332 | # creating and moving files from /tmp can sometimes cause problems. |
|
|
4333 | # Hook for its removal unless debugging. |
|
|
4334 | # Note that there is a small window in which the directory will not be cleaned: |
|
|
4335 | # after its creation but before its name has been assigned to `$tmp'. |
|
|
4336 | $debug || |
|
|
4337 | { |
|
|
4338 | tmp= |
|
|
4339 | trap 'exit_status=$? |
|
|
4340 | { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status |
|
|
4341 | ' 0 |
|
|
4342 | trap 'as_fn_exit 1' 1 2 13 15 |
|
|
4343 | } |
|
|
4344 | # Create a (secure) tmp directory for tmp files. |
|
|
4345 | |
|
|
4346 | { |
|
|
4347 | tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
|
|
4348 | test -n "$tmp" && test -d "$tmp" |
|
|
4349 | } || |
|
|
4350 | { |
|
|
4351 | tmp=./conf$$-$RANDOM |
|
|
4352 | (umask 077 && mkdir "$tmp") |
|
|
4353 | } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 |
|
|
4354 | |
|
|
4355 | # Set up the scripts for CONFIG_HEADERS section. |
|
|
4356 | # No need to generate them if there are no CONFIG_HEADERS. |
|
|
4357 | # This happens for instance with `./config.status Makefile'. |
|
|
4358 | if test -n "$CONFIG_HEADERS"; then |
|
|
4359 | cat >"$tmp/defines.awk" <<\_ACAWK || |
|
|
4360 | BEGIN { |
|
|
4361 | _ACEOF |
|
|
4362 | |
|
|
4363 | # Transform confdefs.h into an awk script `defines.awk', embedded as |
|
|
4364 | # here-document in config.status, that substitutes the proper values into |
|
|
4365 | # config.h.in to produce config.h. |
|
|
4366 | |
|
|
4367 | # Create a delimiter string that does not exist in confdefs.h, to ease |
|
|
4368 | # handling of long lines. |
|
|
4369 | ac_delim='%!_!# ' |
|
|
4370 | for ac_last_try in false false :; do |
|
|
4371 | ac_t=`sed -n "/$ac_delim/p" confdefs.h` |
|
|
4372 | if test -z "$ac_t"; then |
|
|
4373 | break |
|
|
4374 | elif $ac_last_try; then |
|
|
4375 | as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 |
|
|
4376 | else |
|
|
4377 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
|
|
4378 | fi |
|
|
4379 | done |
|
|
4380 | |
|
|
4381 | # For the awk script, D is an array of macro values keyed by name, |
|
|
4382 | # likewise P contains macro parameters if any. Preserve backslash |
|
|
4383 | # newline sequences. |
|
|
4384 | |
|
|
4385 | ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* |
|
|
4386 | sed -n ' |
|
|
4387 | s/.\{148\}/&'"$ac_delim"'/g |
|
|
4388 | t rset |
|
|
4389 | :rset |
|
|
4390 | s/^[ ]*#[ ]*define[ ][ ]*/ / |
|
|
4391 | t def |
|
|
4392 | d |
|
|
4393 | :def |
|
|
4394 | s/\\$// |
|
|
4395 | t bsnl |
|
|
4396 | s/["\\]/\\&/g |
|
|
4397 | s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ |
|
|
4398 | D["\1"]=" \3"/p |
|
|
4399 | s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p |
|
|
4400 | d |
|
|
4401 | :bsnl |
|
|
4402 | s/["\\]/\\&/g |
|
|
4403 | s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ |
|
|
4404 | D["\1"]=" \3\\\\\\n"\\/p |
|
|
4405 | t cont |
|
|
4406 | s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p |
|
|
4407 | t cont |
|
|
4408 | d |
|
|
4409 | :cont |
|
|
4410 | n |
|
|
4411 | s/.\{148\}/&'"$ac_delim"'/g |
|
|
4412 | t clear |
|
|
4413 | :clear |
|
|
4414 | s/\\$// |
|
|
4415 | t bsnlc |
|
|
4416 | s/["\\]/\\&/g; s/^/"/; s/$/"/p |
|
|
4417 | d |
|
|
4418 | :bsnlc |
|
|
4419 | s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p |
|
|
4420 | b cont |
|
|
4421 | ' <confdefs.h | sed ' |
|
|
4422 | s/'"$ac_delim"'/"\\\ |
|
|
4423 | "/g' >>$CONFIG_STATUS || ac_write_fail=1 |
|
|
4424 | |
|
|
4425 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
|
4426 | for (key in D) D_is_set[key] = 1 |
|
|
4427 | FS = "" |
|
|
4428 | } |
|
|
4429 | /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { |
|
|
4430 | line = \$ 0 |
|
|
4431 | split(line, arg, " ") |
|
|
4432 | if (arg[1] == "#") { |
|
|
4433 | defundef = arg[2] |
|
|
4434 | mac1 = arg[3] |
|
|
4435 | } else { |
|
|
4436 | defundef = substr(arg[1], 2) |
|
|
4437 | mac1 = arg[2] |
|
|
4438 | } |
|
|
4439 | split(mac1, mac2, "(") #) |
|
|
4440 | macro = mac2[1] |
|
|
4441 | prefix = substr(line, 1, index(line, defundef) - 1) |
|
|
4442 | if (D_is_set[macro]) { |
|
|
4443 | # Preserve the white space surrounding the "#". |
|
|
4444 | print prefix "define", macro P[macro] D[macro] |
|
|
4445 | next |
|
|
4446 | } else { |
|
|
4447 | # Replace #undef with comments. This is necessary, for example, |
|
|
4448 | # in the case of _POSIX_SOURCE, which is predefined and required |
|
|
4449 | # on some systems where configure will not decide to define it. |
|
|
4450 | if (defundef == "undef") { |
|
|
4451 | print "/*", prefix defundef, macro, "*/" |
|
|
4452 | next |
|
|
4453 | } |
|
|
4454 | } |
|
|
4455 | } |
|
|
4456 | { print } |
|
|
4457 | _ACAWK |
|
|
4458 | _ACEOF |
|
|
4459 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
|
4460 | as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 |
|
|
4461 | fi # test -n "$CONFIG_HEADERS" |
|
|
4462 | |
|
|
4463 | |
|
|
4464 | eval set X " :H $CONFIG_HEADERS " |
|
|
4465 | shift |
|
|
4466 | for ac_tag |
|
|
4467 | do |
|
|
4468 | case $ac_tag in |
|
|
4469 | :[FHLC]) ac_mode=$ac_tag; continue;; |
|
|
4470 | esac |
|
|
4471 | case $ac_mode$ac_tag in |
|
|
4472 | :[FHL]*:*);; |
|
|
4473 | :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;; |
|
|
4474 | :[FH]-) ac_tag=-:-;; |
|
|
4475 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
|
|
4476 | esac |
|
|
4477 | ac_save_IFS=$IFS |
|
|
4478 | IFS=: |
|
|
4479 | set x $ac_tag |
|
|
4480 | IFS=$ac_save_IFS |
|
|
4481 | shift |
|
|
4482 | ac_file=$1 |
|
|
4483 | shift |
|
|
4484 | |
|
|
4485 | case $ac_mode in |
|
|
4486 | :L) ac_source=$1;; |
|
|
4487 | :[FH]) |
|
|
4488 | ac_file_inputs= |
|
|
4489 | for ac_f |
|
|
4490 | do |
|
|
4491 | case $ac_f in |
|
|
4492 | -) ac_f="$tmp/stdin";; |
|
|
4493 | *) # Look for the file first in the build tree, then in the source tree |
|
|
4494 | # (if the path is not absolute). The absolute path cannot be DOS-style, |
|
|
4495 | # because $ac_f cannot contain `:'. |
|
|
4496 | test -f "$ac_f" || |
|
|
4497 | case $ac_f in |
|
|
4498 | [\\/$]*) false;; |
|
|
4499 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
|
|
4500 | esac || |
|
|
4501 | as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;; |
|
|
4502 | esac |
|
|
4503 | case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
|
|
4504 | as_fn_append ac_file_inputs " '$ac_f'" |
|
|
4505 | done |
|
|
4506 | |
|
|
4507 | # Let's still pretend it is `configure' which instantiates (i.e., don't |
|
|
4508 | # use $as_me), people would be surprised to read: |
|
|
4509 | # /* config.h. Generated by config.status. */ |
|
|
4510 | configure_input='Generated from '` |
|
|
4511 | $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' |
|
|
4512 | `' by configure.' |
|
|
4513 | if test x"$ac_file" != x-; then |
|
|
4514 | configure_input="$ac_file. $configure_input" |
|
|
4515 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 |
|
|
4516 | $as_echo "$as_me: creating $ac_file" >&6;} |
|
|
4517 | fi |
|
|
4518 | # Neutralize special characters interpreted by sed in replacement strings. |
|
|
4519 | case $configure_input in #( |
|
|
4520 | *\&* | *\|* | *\\* ) |
|
|
4521 | ac_sed_conf_input=`$as_echo "$configure_input" | |
|
|
4522 | sed 's/[\\\\&|]/\\\\&/g'`;; #( |
|
|
4523 | *) ac_sed_conf_input=$configure_input;; |
|
|
4524 | esac |
|
|
4525 | |
|
|
4526 | case $ac_tag in |
|
|
4527 | *:-:* | *:-) cat >"$tmp/stdin" \ |
|
|
4528 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; |
|
|
4529 | esac |
|
|
4530 | ;; |
|
|
4531 | esac |
|
|
4532 | |
|
|
4533 | ac_dir=`$as_dirname -- "$ac_file" || |
|
|
4534 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
|
4535 | X"$ac_file" : 'X\(//\)[^/]' \| \ |
|
|
4536 | X"$ac_file" : 'X\(//\)$' \| \ |
|
|
4537 | X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || |
|
|
4538 | $as_echo X"$ac_file" | |
|
|
4539 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|
|
4540 | s//\1/ |
|
|
4541 | q |
|
|
4542 | } |
|
|
4543 | /^X\(\/\/\)[^/].*/{ |
|
|
4544 | s//\1/ |
|
|
4545 | q |
|
|
4546 | } |
|
|
4547 | /^X\(\/\/\)$/{ |
|
|
4548 | s//\1/ |
|
|
4549 | q |
|
|
4550 | } |
|
|
4551 | /^X\(\/\).*/{ |
|
|
4552 | s//\1/ |
|
|
4553 | q |
|
|
4554 | } |
|
|
4555 | s/.*/./; q'` |
|
|
4556 | as_dir="$ac_dir"; as_fn_mkdir_p |
3622 | ac_builddir=. |
4557 | ac_builddir=. |
3623 | |
4558 | |
3624 | case "$ac_dir" in |
4559 | case "$ac_dir" in |
3625 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
4560 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
3626 | *) |
4561 | *) |
3627 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
4562 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
3628 | # A ".." for each directory in $ac_dir_suffix. |
4563 | # A ".." for each directory in $ac_dir_suffix. |
3629 | ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` |
4564 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
3630 | case $ac_top_builddir_sub in |
4565 | case $ac_top_builddir_sub in |
3631 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
4566 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
3632 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
4567 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
3633 | esac ;; |
4568 | esac ;; |
3634 | esac |
4569 | esac |
… | |
… | |
3658 | |
4593 | |
3659 | :H) |
4594 | :H) |
3660 | # |
4595 | # |
3661 | # CONFIG_HEADER |
4596 | # CONFIG_HEADER |
3662 | # |
4597 | # |
3663 | _ACEOF |
|
|
3664 | |
|
|
3665 | # Transform confdefs.h into a sed script `conftest.defines', that |
|
|
3666 | # substitutes the proper values into config.h.in to produce config.h. |
|
|
3667 | rm -f conftest.defines conftest.tail |
|
|
3668 | # First, append a space to every undef/define line, to ease matching. |
|
|
3669 | echo 's/$/ /' >conftest.defines |
|
|
3670 | # Then, protect against being on the right side of a sed subst, or in |
|
|
3671 | # an unquoted here document, in config.status. If some macros were |
|
|
3672 | # called several times there might be several #defines for the same |
|
|
3673 | # symbol, which is useless. But do not sort them, since the last |
|
|
3674 | # AC_DEFINE must be honored. |
|
|
3675 | ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* |
|
|
3676 | # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where |
|
|
3677 | # NAME is the cpp macro being defined, VALUE is the value it is being given. |
|
|
3678 | # PARAMS is the parameter list in the macro definition--in most cases, it's |
|
|
3679 | # just an empty string. |
|
|
3680 | ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*' |
|
|
3681 | ac_dB='\\)[ (].*,\\1define\\2' |
|
|
3682 | ac_dC=' ' |
|
|
3683 | ac_dD=' ,' |
|
|
3684 | |
|
|
3685 | uniq confdefs.h | |
|
|
3686 | sed -n ' |
|
|
3687 | t rset |
|
|
3688 | :rset |
|
|
3689 | s/^[ ]*#[ ]*define[ ][ ]*// |
|
|
3690 | t ok |
|
|
3691 | d |
|
|
3692 | :ok |
|
|
3693 | s/[\\&,]/\\&/g |
|
|
3694 | s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p |
|
|
3695 | s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p |
|
|
3696 | ' >>conftest.defines |
|
|
3697 | |
|
|
3698 | # Remove the space that was appended to ease matching. |
|
|
3699 | # Then replace #undef with comments. This is necessary, for |
|
|
3700 | # example, in the case of _POSIX_SOURCE, which is predefined and required |
|
|
3701 | # on some systems where configure will not decide to define it. |
|
|
3702 | # (The regexp can be short, since the line contains either #define or #undef.) |
|
|
3703 | echo 's/ $// |
|
|
3704 | s,^[ #]*u.*,/* & */,' >>conftest.defines |
|
|
3705 | |
|
|
3706 | # Break up conftest.defines: |
|
|
3707 | ac_max_sed_lines=50 |
|
|
3708 | |
|
|
3709 | # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1" |
|
|
3710 | # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2" |
|
|
3711 | # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1" |
|
|
3712 | # et cetera. |
|
|
3713 | ac_in='$ac_file_inputs' |
|
|
3714 | ac_out='"$tmp/out1"' |
|
|
3715 | ac_nxt='"$tmp/out2"' |
|
|
3716 | |
|
|
3717 | while : |
|
|
3718 | do |
|
|
3719 | # Write a here document: |
|
|
3720 | cat >>$CONFIG_STATUS <<_ACEOF |
|
|
3721 | # First, check the format of the line: |
|
|
3722 | cat >"\$tmp/defines.sed" <<\\CEOF |
|
|
3723 | /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def |
|
|
3724 | /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def |
|
|
3725 | b |
|
|
3726 | :def |
|
|
3727 | _ACEOF |
|
|
3728 | sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS |
|
|
3729 | echo 'CEOF |
|
|
3730 | sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS |
|
|
3731 | ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in |
|
|
3732 | sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail |
|
|
3733 | grep . conftest.tail >/dev/null || break |
|
|
3734 | rm -f conftest.defines |
|
|
3735 | mv conftest.tail conftest.defines |
|
|
3736 | done |
|
|
3737 | rm -f conftest.defines conftest.tail |
|
|
3738 | |
|
|
3739 | echo "ac_result=$ac_in" >>$CONFIG_STATUS |
|
|
3740 | cat >>$CONFIG_STATUS <<\_ACEOF |
|
|
3741 | if test x"$ac_file" != x-; then |
4598 | if test x"$ac_file" != x-; then |
|
|
4599 | { |
3742 | echo "/* $configure_input */" >"$tmp/config.h" |
4600 | $as_echo "/* $configure_input */" \ |
3743 | cat "$ac_result" >>"$tmp/config.h" |
4601 | && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" |
|
|
4602 | } >"$tmp/config.h" \ |
|
|
4603 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
3744 | if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then |
4604 | if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then |
3745 | { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 |
4605 | { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 |
3746 | echo "$as_me: $ac_file is unchanged" >&6;} |
4606 | $as_echo "$as_me: $ac_file is unchanged" >&6;} |
3747 | else |
4607 | else |
3748 | rm -f $ac_file |
4608 | rm -f "$ac_file" |
3749 | mv "$tmp/config.h" $ac_file |
4609 | mv "$tmp/config.h" "$ac_file" \ |
|
|
4610 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
3750 | fi |
4611 | fi |
3751 | else |
4612 | else |
3752 | echo "/* $configure_input */" |
4613 | $as_echo "/* $configure_input */" \ |
3753 | cat "$ac_result" |
4614 | && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ |
|
|
4615 | || as_fn_error $? "could not create -" "$LINENO" 5 |
3754 | fi |
4616 | fi |
3755 | rm -f "$tmp/out12" |
|
|
3756 | ;; |
4617 | ;; |
3757 | |
4618 | |
3758 | |
4619 | |
3759 | esac |
4620 | esac |
3760 | |
4621 | |
3761 | done # for ac_tag |
4622 | done # for ac_tag |
3762 | |
4623 | |
3763 | |
4624 | |
3764 | { (exit 0); exit 0; } |
4625 | as_fn_exit 0 |
3765 | _ACEOF |
4626 | _ACEOF |
3766 | chmod +x $CONFIG_STATUS |
|
|
3767 | ac_clean_files=$ac_clean_files_save |
4627 | ac_clean_files=$ac_clean_files_save |
|
|
4628 | |
|
|
4629 | test $ac_write_fail = 0 || |
|
|
4630 | as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 |
3768 | |
4631 | |
3769 | |
4632 | |
3770 | # configure is writing to config.log, and then calls config.status. |
4633 | # configure is writing to config.log, and then calls config.status. |
3771 | # config.status does its own redirection, appending to config.log. |
4634 | # config.status does its own redirection, appending to config.log. |
3772 | # Unfortunately, on DOS this fails, as config.log is still kept open |
4635 | # Unfortunately, on DOS this fails, as config.log is still kept open |
… | |
… | |
3783 | exec 5>/dev/null |
4646 | exec 5>/dev/null |
3784 | $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
4647 | $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
3785 | exec 5>>config.log |
4648 | exec 5>>config.log |
3786 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
4649 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
3787 | # would make configure fail if this is the last instruction. |
4650 | # would make configure fail if this is the last instruction. |
3788 | $ac_cs_success || { (exit 1); exit 1; } |
4651 | $ac_cs_success || as_fn_exit 1 |
3789 | fi |
4652 | fi |
|
|
4653 | if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then |
|
|
4654 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 |
|
|
4655 | $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} |
|
|
4656 | fi |
3790 | |
4657 | |