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 | if (eval "$as_required") 2>/dev/null; then : |
|
|
175 | as_have_required=yes |
|
|
176 | else |
|
|
177 | as_have_required=no |
|
|
178 | fi |
|
|
179 | if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : |
|
|
180 | |
|
|
181 | else |
|
|
182 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
183 | as_found=false |
|
|
184 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
107 | do |
185 | do |
108 | if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
186 | IFS=$as_save_IFS |
109 | eval $as_var=C; export $as_var |
187 | test -z "$as_dir" && as_dir=. |
|
|
188 | as_found=: |
|
|
189 | case $as_dir in #( |
|
|
190 | /*) |
|
|
191 | for as_base in sh bash ksh sh5; do |
|
|
192 | # Try only shells that exist, to save several forks. |
|
|
193 | as_shell=$as_dir/$as_base |
|
|
194 | if { test -f "$as_shell" || test -f "$as_shell.exe"; } && |
|
|
195 | { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : |
|
|
196 | CONFIG_SHELL=$as_shell as_have_required=yes |
|
|
197 | if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : |
|
|
198 | break 2 |
|
|
199 | fi |
|
|
200 | fi |
|
|
201 | done;; |
|
|
202 | esac |
|
|
203 | as_found=false |
|
|
204 | done |
|
|
205 | $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && |
|
|
206 | { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : |
|
|
207 | CONFIG_SHELL=$SHELL as_have_required=yes |
|
|
208 | fi; } |
|
|
209 | IFS=$as_save_IFS |
|
|
210 | |
|
|
211 | |
|
|
212 | if test "x$CONFIG_SHELL" != x; then : |
|
|
213 | # We cannot yet assume a decent shell, so we have to provide a |
|
|
214 | # neutralization value for shells without unset; and this also |
|
|
215 | # works around shells that cannot unset nonexistent variables. |
|
|
216 | BASH_ENV=/dev/null |
|
|
217 | ENV=/dev/null |
|
|
218 | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
|
|
219 | export CONFIG_SHELL |
|
|
220 | exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} |
|
|
221 | fi |
|
|
222 | |
|
|
223 | if test x$as_have_required = xno; then : |
|
|
224 | $as_echo "$0: This script requires a shell more modern than all" |
|
|
225 | $as_echo "$0: the shells that I found on your system." |
|
|
226 | if test x${ZSH_VERSION+set} = xset ; then |
|
|
227 | $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" |
|
|
228 | $as_echo "$0: be upgraded to zsh 4.3.4 or later." |
110 | else |
229 | else |
111 | ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
230 | $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, |
|
|
231 | $0: including any error possibly output before this |
|
|
232 | $0: message. Then install a modern shell, or manually run |
|
|
233 | $0: the script under such a shell if you do have one." |
112 | fi |
234 | fi |
113 | done |
235 | exit 1 |
|
|
236 | fi |
|
|
237 | fi |
|
|
238 | fi |
|
|
239 | SHELL=${CONFIG_SHELL-/bin/sh} |
|
|
240 | export SHELL |
|
|
241 | # Unset more variables known to interfere with behavior of common tools. |
|
|
242 | CLICOLOR_FORCE= GREP_OPTIONS= |
|
|
243 | unset CLICOLOR_FORCE GREP_OPTIONS |
114 | |
244 | |
115 | # Required to use basename. |
245 | ## --------------------- ## |
|
|
246 | ## M4sh Shell Functions. ## |
|
|
247 | ## --------------------- ## |
|
|
248 | # as_fn_unset VAR |
|
|
249 | # --------------- |
|
|
250 | # Portably unset VAR. |
|
|
251 | as_fn_unset () |
|
|
252 | { |
|
|
253 | { eval $1=; unset $1;} |
|
|
254 | } |
|
|
255 | as_unset=as_fn_unset |
|
|
256 | |
|
|
257 | # as_fn_set_status STATUS |
|
|
258 | # ----------------------- |
|
|
259 | # Set $? to STATUS, without forking. |
|
|
260 | as_fn_set_status () |
|
|
261 | { |
|
|
262 | return $1 |
|
|
263 | } # as_fn_set_status |
|
|
264 | |
|
|
265 | # as_fn_exit STATUS |
|
|
266 | # ----------------- |
|
|
267 | # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. |
|
|
268 | as_fn_exit () |
|
|
269 | { |
|
|
270 | set +e |
|
|
271 | as_fn_set_status $1 |
|
|
272 | exit $1 |
|
|
273 | } # as_fn_exit |
|
|
274 | |
|
|
275 | # as_fn_mkdir_p |
|
|
276 | # ------------- |
|
|
277 | # Create "$as_dir" as a directory, including parents if necessary. |
|
|
278 | as_fn_mkdir_p () |
|
|
279 | { |
|
|
280 | |
|
|
281 | case $as_dir in #( |
|
|
282 | -*) as_dir=./$as_dir;; |
|
|
283 | esac |
|
|
284 | test -d "$as_dir" || eval $as_mkdir_p || { |
|
|
285 | as_dirs= |
|
|
286 | while :; do |
|
|
287 | case $as_dir in #( |
|
|
288 | *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
|
|
289 | *) as_qdir=$as_dir;; |
|
|
290 | esac |
|
|
291 | as_dirs="'$as_qdir' $as_dirs" |
|
|
292 | as_dir=`$as_dirname -- "$as_dir" || |
|
|
293 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
|
294 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
|
|
295 | X"$as_dir" : 'X\(//\)$' \| \ |
|
|
296 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
|
|
297 | $as_echo X"$as_dir" | |
|
|
298 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|
|
299 | s//\1/ |
|
|
300 | q |
|
|
301 | } |
|
|
302 | /^X\(\/\/\)[^/].*/{ |
|
|
303 | s//\1/ |
|
|
304 | q |
|
|
305 | } |
|
|
306 | /^X\(\/\/\)$/{ |
|
|
307 | s//\1/ |
|
|
308 | q |
|
|
309 | } |
|
|
310 | /^X\(\/\).*/{ |
|
|
311 | s//\1/ |
|
|
312 | q |
|
|
313 | } |
|
|
314 | s/.*/./; q'` |
|
|
315 | test -d "$as_dir" && break |
|
|
316 | done |
|
|
317 | test -z "$as_dirs" || eval "mkdir $as_dirs" |
|
|
318 | } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
|
|
319 | |
|
|
320 | |
|
|
321 | } # as_fn_mkdir_p |
|
|
322 | # as_fn_append VAR VALUE |
|
|
323 | # ---------------------- |
|
|
324 | # Append the text in VALUE to the end of the definition contained in VAR. Take |
|
|
325 | # advantage of any shell optimizations that allow amortized linear growth over |
|
|
326 | # repeated appends, instead of the typical quadratic growth present in naive |
|
|
327 | # implementations. |
|
|
328 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : |
|
|
329 | eval 'as_fn_append () |
|
|
330 | { |
|
|
331 | eval $1+=\$2 |
|
|
332 | }' |
|
|
333 | else |
|
|
334 | as_fn_append () |
|
|
335 | { |
|
|
336 | eval $1=\$$1\$2 |
|
|
337 | } |
|
|
338 | fi # as_fn_append |
|
|
339 | |
|
|
340 | # as_fn_arith ARG... |
|
|
341 | # ------------------ |
|
|
342 | # Perform arithmetic evaluation on the ARGs, and store the result in the |
|
|
343 | # global $as_val. Take advantage of shells that can avoid forks. The arguments |
|
|
344 | # must be portable across $(()) and expr. |
|
|
345 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : |
|
|
346 | eval 'as_fn_arith () |
|
|
347 | { |
|
|
348 | as_val=$(( $* )) |
|
|
349 | }' |
|
|
350 | else |
|
|
351 | as_fn_arith () |
|
|
352 | { |
|
|
353 | as_val=`expr "$@" || test $? -eq 1` |
|
|
354 | } |
|
|
355 | fi # as_fn_arith |
|
|
356 | |
|
|
357 | |
|
|
358 | # as_fn_error STATUS ERROR [LINENO LOG_FD] |
|
|
359 | # ---------------------------------------- |
|
|
360 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
|
|
361 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
|
|
362 | # script with STATUS, using 1 if that was 0. |
|
|
363 | as_fn_error () |
|
|
364 | { |
|
|
365 | as_status=$1; test $as_status -eq 0 && as_status=1 |
|
|
366 | if test "$4"; then |
|
|
367 | as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
|
368 | $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
|
|
369 | fi |
|
|
370 | $as_echo "$as_me: error: $2" >&2 |
|
|
371 | as_fn_exit $as_status |
|
|
372 | } # as_fn_error |
|
|
373 | |
116 | if expr a : '\(a\)' >/dev/null 2>&1 && |
374 | if expr a : '\(a\)' >/dev/null 2>&1 && |
117 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
375 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
118 | as_expr=expr |
376 | as_expr=expr |
119 | else |
377 | else |
120 | as_expr=false |
378 | as_expr=false |
… | |
… | |
124 | as_basename=basename |
382 | as_basename=basename |
125 | else |
383 | else |
126 | as_basename=false |
384 | as_basename=false |
127 | fi |
385 | fi |
128 | |
386 | |
|
|
387 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
|
|
388 | as_dirname=dirname |
|
|
389 | else |
|
|
390 | as_dirname=false |
|
|
391 | fi |
129 | |
392 | |
130 | # Name of the executable. |
|
|
131 | as_me=`$as_basename -- "$0" || |
393 | as_me=`$as_basename -- "$0" || |
132 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
394 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
133 | X"$0" : 'X\(//\)$' \| \ |
395 | X"$0" : 'X\(//\)$' \| \ |
134 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
396 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
135 | echo X/"$0" | |
397 | $as_echo X/"$0" | |
136 | sed '/^.*\/\([^/][^/]*\)\/*$/{ |
398 | sed '/^.*\/\([^/][^/]*\)\/*$/{ |
137 | s//\1/ |
399 | s//\1/ |
138 | q |
400 | q |
139 | } |
401 | } |
140 | /^X\/\(\/\/\)$/{ |
402 | /^X\/\(\/\/\)$/{ |
… | |
… | |
145 | s//\1/ |
407 | s//\1/ |
146 | q |
408 | q |
147 | } |
409 | } |
148 | s/.*/./; q'` |
410 | s/.*/./; q'` |
149 | |
411 | |
150 | # CDPATH. |
412 | # Avoid depending upon Character Ranges. |
151 | $as_unset CDPATH |
413 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
|
|
414 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
|
|
415 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
|
|
416 | as_cr_digits='0123456789' |
|
|
417 | as_cr_alnum=$as_cr_Letters$as_cr_digits |
152 | |
418 | |
153 | |
419 | |
154 | if test "x$CONFIG_SHELL" = x; then |
420 | as_lineno_1=$LINENO as_lineno_1a=$LINENO |
155 | if (eval ":") 2>/dev/null; then |
421 | 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" && |
422 | 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" || { |
423 | 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. :-) |
424 | # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) |
438 | sed -n ' |
425 | sed -n ' |
439 | p |
426 | p |
440 | /[$]LINENO/= |
427 | /[$]LINENO/= |
441 | ' <$as_myself | |
428 | ' <$as_myself | |
442 | sed ' |
429 | sed ' |
… | |
… | |
449 | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
436 | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
450 | t loop |
437 | t loop |
451 | s/-\n.*// |
438 | s/-\n.*// |
452 | ' >$as_me.lineno && |
439 | ' >$as_me.lineno && |
453 | chmod +x "$as_me.lineno" || |
440 | chmod +x "$as_me.lineno" || |
454 | { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
441 | { $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 | |
442 | |
457 | # Don't try to exec as it changes $[0], causing all sort of problems |
443 | # 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 |
444 | # (the dirname of $[0] is not the place where we might find the |
459 | # original and so on. Autoconf is especially sensitive to this). |
445 | # original and so on. Autoconf is especially sensitive to this). |
460 | . "./$as_me.lineno" |
446 | . "./$as_me.lineno" |
461 | # Exit status is that of the last command. |
447 | # Exit status is that of the last command. |
462 | exit |
448 | exit |
463 | } |
449 | } |
464 | |
450 | |
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= |
451 | ECHO_C= ECHO_N= ECHO_T= |
473 | case `echo -n x` in |
452 | case `echo -n x` in #((((( |
474 | -n*) |
453 | -n*) |
475 | case `echo 'x\c'` in |
454 | case `echo 'xy\c'` in |
476 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
455 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
477 | *) ECHO_C='\c';; |
456 | xy) ECHO_C='\c';; |
|
|
457 | *) echo `echo ksh88 bug on AIX 6.1` > /dev/null |
|
|
458 | ECHO_T=' ';; |
478 | esac;; |
459 | esac;; |
479 | *) |
460 | *) |
480 | ECHO_N='-n';; |
461 | ECHO_N='-n';; |
481 | esac |
462 | esac |
482 | |
463 | |
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 |
464 | rm -f conf$$ conf$$.exe conf$$.file |
491 | if test -d conf$$.dir; then |
465 | if test -d conf$$.dir; then |
492 | rm -f conf$$.dir/conf$$.file |
466 | rm -f conf$$.dir/conf$$.file |
493 | else |
467 | else |
494 | rm -f conf$$.dir |
468 | rm -f conf$$.dir |
495 | mkdir conf$$.dir |
469 | mkdir conf$$.dir 2>/dev/null |
496 | fi |
470 | fi |
497 | echo >conf$$.file |
471 | if (echo >conf$$.file) 2>/dev/null; then |
498 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
472 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
499 | as_ln_s='ln -s' |
473 | as_ln_s='ln -s' |
500 | # ... but there are two gotchas: |
474 | # ... but there are two gotchas: |
501 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
475 | # 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. |
476 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
503 | # In both cases, we have to default to `cp -p'. |
477 | # In both cases, we have to default to `cp -p'. |
504 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
478 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
|
|
479 | as_ln_s='cp -p' |
|
|
480 | elif ln conf$$.file conf$$ 2>/dev/null; then |
|
|
481 | as_ln_s=ln |
|
|
482 | else |
505 | as_ln_s='cp -p' |
483 | as_ln_s='cp -p' |
506 | elif ln conf$$.file conf$$ 2>/dev/null; then |
484 | fi |
507 | as_ln_s=ln |
|
|
508 | else |
485 | else |
509 | as_ln_s='cp -p' |
486 | as_ln_s='cp -p' |
510 | fi |
487 | fi |
511 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
488 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
512 | rmdir conf$$.dir 2>/dev/null |
489 | rmdir conf$$.dir 2>/dev/null |
513 | |
490 | |
514 | if mkdir -p . 2>/dev/null; then |
491 | if mkdir -p . 2>/dev/null; then |
515 | as_mkdir_p=: |
492 | as_mkdir_p='mkdir -p "$as_dir"' |
516 | else |
493 | else |
517 | test -d ./-p && rmdir ./-p |
494 | test -d ./-p && rmdir ./-p |
518 | as_mkdir_p=false |
495 | as_mkdir_p=false |
519 | fi |
496 | fi |
520 | |
497 | |
… | |
… | |
527 | as_ls_L_option= |
504 | as_ls_L_option= |
528 | fi |
505 | fi |
529 | as_test_x=' |
506 | as_test_x=' |
530 | eval sh -c '\'' |
507 | eval sh -c '\'' |
531 | if test -d "$1"; then |
508 | if test -d "$1"; then |
532 | test -d "$1/."; |
509 | test -d "$1/."; |
533 | else |
510 | else |
534 | case $1 in |
511 | case $1 in #( |
535 | -*)set "./$1";; |
512 | -*)set "./$1";; |
536 | esac; |
513 | esac; |
537 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in |
514 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( |
538 | ???[sx]*):;;*)false;;esac;fi |
515 | ???[sx]*):;;*)false;;esac;fi |
539 | '\'' sh |
516 | '\'' sh |
540 | ' |
517 | ' |
541 | fi |
518 | fi |
542 | as_executable_p=$as_test_x |
519 | as_executable_p=$as_test_x |
… | |
… | |
546 | |
523 | |
547 | # Sed expression to map a string onto a valid variable name. |
524 | # Sed expression to map a string onto a valid variable name. |
548 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
525 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
549 | |
526 | |
550 | |
527 | |
551 | |
528 | test -n "$DJDIR" || exec 7<&0 </dev/null |
552 | exec 7<&0 </dev/null 6>&1 |
529 | exec 6>&1 |
553 | |
530 | |
554 | # Name of the host. |
531 | # Name of the host. |
555 | # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, |
532 | # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, |
556 | # so uname gets run too. |
533 | # so uname gets run too. |
557 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
534 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
558 | |
535 | |
559 | # |
536 | # |
560 | # Initializations. |
537 | # Initializations. |
… | |
… | |
565 | LIBOBJS= |
542 | LIBOBJS= |
566 | cross_compiling=no |
543 | cross_compiling=no |
567 | subdirs= |
544 | subdirs= |
568 | MFLAGS= |
545 | MFLAGS= |
569 | MAKEFLAGS= |
546 | MAKEFLAGS= |
570 | SHELL=${CONFIG_SHELL-/bin/sh} |
|
|
571 | |
547 | |
572 | # Identity of this package. |
548 | # Identity of this package. |
573 | PACKAGE_NAME= |
549 | PACKAGE_NAME= |
574 | PACKAGE_TARNAME= |
550 | PACKAGE_TARNAME= |
575 | PACKAGE_VERSION= |
551 | PACKAGE_VERSION= |
576 | PACKAGE_STRING= |
552 | PACKAGE_STRING= |
577 | PACKAGE_BUGREPORT= |
553 | PACKAGE_BUGREPORT= |
|
|
554 | PACKAGE_URL= |
578 | |
555 | |
579 | ac_unique_file="libeio/eio.h" |
556 | ac_unique_file="libeio/eio.h" |
580 | ac_subst_vars='SHELL |
557 | ac_subst_vars='LTLIBOBJS |
|
|
558 | LIBOBJS |
|
|
559 | OBJEXT |
|
|
560 | EXEEXT |
|
|
561 | ac_ct_CC |
|
|
562 | CPPFLAGS |
|
|
563 | LDFLAGS |
|
|
564 | CFLAGS |
|
|
565 | CC |
|
|
566 | target_alias |
|
|
567 | host_alias |
|
|
568 | build_alias |
|
|
569 | LIBS |
|
|
570 | ECHO_T |
|
|
571 | ECHO_N |
|
|
572 | ECHO_C |
|
|
573 | DEFS |
|
|
574 | mandir |
|
|
575 | localedir |
|
|
576 | libdir |
|
|
577 | psdir |
|
|
578 | pdfdir |
|
|
579 | dvidir |
|
|
580 | htmldir |
|
|
581 | infodir |
|
|
582 | docdir |
|
|
583 | oldincludedir |
|
|
584 | includedir |
|
|
585 | localstatedir |
|
|
586 | sharedstatedir |
|
|
587 | sysconfdir |
|
|
588 | datadir |
|
|
589 | datarootdir |
|
|
590 | libexecdir |
|
|
591 | sbindir |
|
|
592 | bindir |
|
|
593 | program_transform_name |
|
|
594 | prefix |
|
|
595 | exec_prefix |
|
|
596 | PACKAGE_URL |
|
|
597 | PACKAGE_BUGREPORT |
|
|
598 | PACKAGE_STRING |
|
|
599 | PACKAGE_VERSION |
|
|
600 | PACKAGE_TARNAME |
|
|
601 | PACKAGE_NAME |
581 | PATH_SEPARATOR |
602 | PATH_SEPARATOR |
582 | PACKAGE_NAME |
603 | 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='' |
604 | ac_subst_files='' |
|
|
605 | ac_user_opts=' |
|
|
606 | enable_option_checking |
|
|
607 | ' |
627 | ac_precious_vars='build_alias |
608 | ac_precious_vars='build_alias |
628 | host_alias |
609 | host_alias |
629 | target_alias |
610 | target_alias |
630 | CC |
611 | CC |
631 | CFLAGS |
612 | CFLAGS |
… | |
… | |
635 | |
616 | |
636 | |
617 | |
637 | # Initialize some variables set by options. |
618 | # Initialize some variables set by options. |
638 | ac_init_help= |
619 | ac_init_help= |
639 | ac_init_version=false |
620 | ac_init_version=false |
|
|
621 | ac_unrecognized_opts= |
|
|
622 | ac_unrecognized_sep= |
640 | # The variables have the same names as the options, with |
623 | # The variables have the same names as the options, with |
641 | # dashes changed to underlines. |
624 | # dashes changed to underlines. |
642 | cache_file=/dev/null |
625 | cache_file=/dev/null |
643 | exec_prefix=NONE |
626 | exec_prefix=NONE |
644 | no_create= |
627 | no_create= |
… | |
… | |
690 | ac_prev= |
673 | ac_prev= |
691 | continue |
674 | continue |
692 | fi |
675 | fi |
693 | |
676 | |
694 | case $ac_option in |
677 | case $ac_option in |
695 | *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
678 | *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
|
|
679 | *=) ac_optarg= ;; |
696 | *) ac_optarg=yes ;; |
680 | *) ac_optarg=yes ;; |
697 | esac |
681 | esac |
698 | |
682 | |
699 | # Accept the important Cygnus configure options, so we can diagnose typos. |
683 | # Accept the important Cygnus configure options, so we can diagnose typos. |
700 | |
684 | |
701 | case $ac_dashdash$ac_option in |
685 | case $ac_dashdash$ac_option in |
… | |
… | |
733 | -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ |
717 | -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ |
734 | | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) |
718 | | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) |
735 | datarootdir=$ac_optarg ;; |
719 | datarootdir=$ac_optarg ;; |
736 | |
720 | |
737 | -disable-* | --disable-*) |
721 | -disable-* | --disable-*) |
738 | ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
722 | ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
739 | # Reject names that are not valid shell variable names. |
723 | # Reject names that are not valid shell variable names. |
740 | expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && |
724 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
741 | { echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
725 | as_fn_error $? "invalid feature name: $ac_useropt" |
742 | { (exit 1); exit 1; }; } |
726 | ac_useropt_orig=$ac_useropt |
743 | ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` |
727 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
|
|
728 | case $ac_user_opts in |
|
|
729 | *" |
|
|
730 | "enable_$ac_useropt" |
|
|
731 | "*) ;; |
|
|
732 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" |
|
|
733 | ac_unrecognized_sep=', ';; |
|
|
734 | esac |
744 | eval enable_$ac_feature=no ;; |
735 | eval enable_$ac_useropt=no ;; |
745 | |
736 | |
746 | -docdir | --docdir | --docdi | --doc | --do) |
737 | -docdir | --docdir | --docdi | --doc | --do) |
747 | ac_prev=docdir ;; |
738 | ac_prev=docdir ;; |
748 | -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) |
739 | -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) |
749 | docdir=$ac_optarg ;; |
740 | docdir=$ac_optarg ;; |
… | |
… | |
752 | ac_prev=dvidir ;; |
743 | ac_prev=dvidir ;; |
753 | -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) |
744 | -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) |
754 | dvidir=$ac_optarg ;; |
745 | dvidir=$ac_optarg ;; |
755 | |
746 | |
756 | -enable-* | --enable-*) |
747 | -enable-* | --enable-*) |
757 | ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
748 | ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
758 | # Reject names that are not valid shell variable names. |
749 | # Reject names that are not valid shell variable names. |
759 | expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && |
750 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
760 | { echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
751 | as_fn_error $? "invalid feature name: $ac_useropt" |
761 | { (exit 1); exit 1; }; } |
752 | ac_useropt_orig=$ac_useropt |
762 | ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` |
753 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
|
|
754 | case $ac_user_opts in |
|
|
755 | *" |
|
|
756 | "enable_$ac_useropt" |
|
|
757 | "*) ;; |
|
|
758 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" |
|
|
759 | ac_unrecognized_sep=', ';; |
|
|
760 | esac |
763 | eval enable_$ac_feature=\$ac_optarg ;; |
761 | eval enable_$ac_useropt=\$ac_optarg ;; |
764 | |
762 | |
765 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
763 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
766 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
764 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
767 | | --exec | --exe | --ex) |
765 | | --exec | --exe | --ex) |
768 | ac_prev=exec_prefix ;; |
766 | ac_prev=exec_prefix ;; |
… | |
… | |
949 | |
947 | |
950 | -version | --version | --versio | --versi | --vers | -V) |
948 | -version | --version | --versio | --versi | --vers | -V) |
951 | ac_init_version=: ;; |
949 | ac_init_version=: ;; |
952 | |
950 | |
953 | -with-* | --with-*) |
951 | -with-* | --with-*) |
954 | ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
952 | ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
955 | # Reject names that are not valid shell variable names. |
953 | # Reject names that are not valid shell variable names. |
956 | expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && |
954 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
957 | { echo "$as_me: error: invalid package name: $ac_package" >&2 |
955 | as_fn_error $? "invalid package name: $ac_useropt" |
958 | { (exit 1); exit 1; }; } |
956 | ac_useropt_orig=$ac_useropt |
959 | ac_package=`echo $ac_package | sed 's/[-.]/_/g'` |
957 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
|
|
958 | case $ac_user_opts in |
|
|
959 | *" |
|
|
960 | "with_$ac_useropt" |
|
|
961 | "*) ;; |
|
|
962 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" |
|
|
963 | ac_unrecognized_sep=', ';; |
|
|
964 | esac |
960 | eval with_$ac_package=\$ac_optarg ;; |
965 | eval with_$ac_useropt=\$ac_optarg ;; |
961 | |
966 | |
962 | -without-* | --without-*) |
967 | -without-* | --without-*) |
963 | ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
968 | ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
964 | # Reject names that are not valid shell variable names. |
969 | # Reject names that are not valid shell variable names. |
965 | expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && |
970 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
966 | { echo "$as_me: error: invalid package name: $ac_package" >&2 |
971 | as_fn_error $? "invalid package name: $ac_useropt" |
967 | { (exit 1); exit 1; }; } |
972 | ac_useropt_orig=$ac_useropt |
968 | ac_package=`echo $ac_package | sed 's/[-.]/_/g'` |
973 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
|
|
974 | case $ac_user_opts in |
|
|
975 | *" |
|
|
976 | "with_$ac_useropt" |
|
|
977 | "*) ;; |
|
|
978 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" |
|
|
979 | ac_unrecognized_sep=', ';; |
|
|
980 | esac |
969 | eval with_$ac_package=no ;; |
981 | eval with_$ac_useropt=no ;; |
970 | |
982 | |
971 | --x) |
983 | --x) |
972 | # Obsolete; use --with-x. |
984 | # Obsolete; use --with-x. |
973 | with_x=yes ;; |
985 | with_x=yes ;; |
974 | |
986 | |
… | |
… | |
984 | ac_prev=x_libraries ;; |
996 | ac_prev=x_libraries ;; |
985 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
997 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
986 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
998 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
987 | x_libraries=$ac_optarg ;; |
999 | x_libraries=$ac_optarg ;; |
988 | |
1000 | |
989 | -*) { echo "$as_me: error: unrecognized option: $ac_option |
1001 | -*) as_fn_error $? "unrecognized option: \`$ac_option' |
990 | Try \`$0 --help' for more information." >&2 |
1002 | Try \`$0 --help' for more information" |
991 | { (exit 1); exit 1; }; } |
|
|
992 | ;; |
1003 | ;; |
993 | |
1004 | |
994 | *=*) |
1005 | *=*) |
995 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
1006 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
996 | # Reject names that are not valid shell variable names. |
1007 | # Reject names that are not valid shell variable names. |
997 | expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && |
1008 | case $ac_envvar in #( |
|
|
1009 | '' | [0-9]* | *[!_$as_cr_alnum]* ) |
998 | { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 |
1010 | as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; |
999 | { (exit 1); exit 1; }; } |
1011 | esac |
1000 | eval $ac_envvar=\$ac_optarg |
1012 | eval $ac_envvar=\$ac_optarg |
1001 | export $ac_envvar ;; |
1013 | export $ac_envvar ;; |
1002 | |
1014 | |
1003 | *) |
1015 | *) |
1004 | # FIXME: should be removed in autoconf 3.0. |
1016 | # FIXME: should be removed in autoconf 3.0. |
1005 | echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
1017 | $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
1006 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
1018 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
1007 | echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
1019 | $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
1008 | : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} |
1020 | : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} |
1009 | ;; |
1021 | ;; |
1010 | |
1022 | |
1011 | esac |
1023 | esac |
1012 | done |
1024 | done |
1013 | |
1025 | |
1014 | if test -n "$ac_prev"; then |
1026 | if test -n "$ac_prev"; then |
1015 | ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
1027 | ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
1016 | { echo "$as_me: error: missing argument to $ac_option" >&2 |
1028 | as_fn_error $? "missing argument to $ac_option" |
1017 | { (exit 1); exit 1; }; } |
|
|
1018 | fi |
1029 | fi |
1019 | |
1030 | |
1020 | # Be sure to have absolute directory names. |
1031 | if test -n "$ac_unrecognized_opts"; then |
|
|
1032 | case $enable_option_checking in |
|
|
1033 | no) ;; |
|
|
1034 | fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; |
|
|
1035 | *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; |
|
|
1036 | esac |
|
|
1037 | fi |
|
|
1038 | |
|
|
1039 | # Check all directory arguments for consistency. |
1021 | for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
1040 | for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
1022 | datadir sysconfdir sharedstatedir localstatedir includedir \ |
1041 | datadir sysconfdir sharedstatedir localstatedir includedir \ |
1023 | oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
1042 | oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
1024 | libdir localedir mandir |
1043 | libdir localedir mandir |
1025 | do |
1044 | do |
1026 | eval ac_val=\$$ac_var |
1045 | eval ac_val=\$$ac_var |
|
|
1046 | # Remove trailing slashes. |
|
|
1047 | case $ac_val in |
|
|
1048 | */ ) |
|
|
1049 | ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` |
|
|
1050 | eval $ac_var=\$ac_val;; |
|
|
1051 | esac |
|
|
1052 | # Be sure to have absolute directory names. |
1027 | case $ac_val in |
1053 | case $ac_val in |
1028 | [\\/$]* | ?:[\\/]* ) continue;; |
1054 | [\\/$]* | ?:[\\/]* ) continue;; |
1029 | NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
1055 | NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
1030 | esac |
1056 | esac |
1031 | { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
1057 | as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" |
1032 | { (exit 1); exit 1; }; } |
|
|
1033 | done |
1058 | done |
1034 | |
1059 | |
1035 | # There might be people who depend on the old broken behavior: `$host' |
1060 | # There might be people who depend on the old broken behavior: `$host' |
1036 | # used to hold the argument of --host etc. |
1061 | # used to hold the argument of --host etc. |
1037 | # FIXME: To remove some day. |
1062 | # FIXME: To remove some day. |
… | |
… | |
1041 | |
1066 | |
1042 | # FIXME: To remove some day. |
1067 | # FIXME: To remove some day. |
1043 | if test "x$host_alias" != x; then |
1068 | if test "x$host_alias" != x; then |
1044 | if test "x$build_alias" = x; then |
1069 | if test "x$build_alias" = x; then |
1045 | cross_compiling=maybe |
1070 | cross_compiling=maybe |
1046 | echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. |
1071 | $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 |
1072 | If a cross compiler is detected then cross compile mode will be used" >&2 |
1048 | elif test "x$build_alias" != "x$host_alias"; then |
1073 | elif test "x$build_alias" != "x$host_alias"; then |
1049 | cross_compiling=yes |
1074 | cross_compiling=yes |
1050 | fi |
1075 | fi |
1051 | fi |
1076 | fi |
1052 | |
1077 | |
… | |
… | |
1057 | |
1082 | |
1058 | |
1083 | |
1059 | ac_pwd=`pwd` && test -n "$ac_pwd" && |
1084 | ac_pwd=`pwd` && test -n "$ac_pwd" && |
1060 | ac_ls_di=`ls -di .` && |
1085 | ac_ls_di=`ls -di .` && |
1061 | ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
1086 | ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
1062 | { echo "$as_me: error: Working directory cannot be determined" >&2 |
1087 | as_fn_error $? "working directory cannot be determined" |
1063 | { (exit 1); exit 1; }; } |
|
|
1064 | test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
1088 | test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
1065 | { echo "$as_me: error: pwd does not report name of working directory" >&2 |
1089 | as_fn_error $? "pwd does not report name of working directory" |
1066 | { (exit 1); exit 1; }; } |
|
|
1067 | |
1090 | |
1068 | |
1091 | |
1069 | # Find the source files, if location was not specified. |
1092 | # Find the source files, if location was not specified. |
1070 | if test -z "$srcdir"; then |
1093 | if test -z "$srcdir"; then |
1071 | ac_srcdir_defaulted=yes |
1094 | ac_srcdir_defaulted=yes |
1072 | # Try the directory containing this script, then the parent directory. |
1095 | # Try the directory containing this script, then the parent directory. |
1073 | ac_confdir=`$as_dirname -- "$0" || |
1096 | ac_confdir=`$as_dirname -- "$as_myself" || |
1074 | $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
1097 | $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
1075 | X"$0" : 'X\(//\)[^/]' \| \ |
1098 | X"$as_myself" : 'X\(//\)[^/]' \| \ |
1076 | X"$0" : 'X\(//\)$' \| \ |
1099 | X"$as_myself" : 'X\(//\)$' \| \ |
1077 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
1100 | X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || |
1078 | echo X"$0" | |
1101 | $as_echo X"$as_myself" | |
1079 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
1102 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
1080 | s//\1/ |
1103 | s//\1/ |
1081 | q |
1104 | q |
1082 | } |
1105 | } |
1083 | /^X\(\/\/\)[^/].*/{ |
1106 | /^X\(\/\/\)[^/].*/{ |
… | |
… | |
1100 | else |
1123 | else |
1101 | ac_srcdir_defaulted=no |
1124 | ac_srcdir_defaulted=no |
1102 | fi |
1125 | fi |
1103 | if test ! -r "$srcdir/$ac_unique_file"; then |
1126 | if test ! -r "$srcdir/$ac_unique_file"; then |
1104 | test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
1127 | test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
1105 | { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 |
1128 | as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" |
1106 | { (exit 1); exit 1; }; } |
|
|
1107 | fi |
1129 | fi |
1108 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
1130 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
1109 | ac_abs_confdir=`( |
1131 | ac_abs_confdir=`( |
1110 | cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 |
1132 | cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" |
1111 | { (exit 1); exit 1; }; } |
|
|
1112 | pwd)` |
1133 | pwd)` |
1113 | # When building in place, set srcdir=. |
1134 | # When building in place, set srcdir=. |
1114 | if test "$ac_abs_confdir" = "$ac_pwd"; then |
1135 | if test "$ac_abs_confdir" = "$ac_pwd"; then |
1115 | srcdir=. |
1136 | srcdir=. |
1116 | fi |
1137 | fi |
… | |
… | |
1146 | Configuration: |
1167 | Configuration: |
1147 | -h, --help display this help and exit |
1168 | -h, --help display this help and exit |
1148 | --help=short display options specific to this package |
1169 | --help=short display options specific to this package |
1149 | --help=recursive display the short help of all the included packages |
1170 | --help=recursive display the short help of all the included packages |
1150 | -V, --version display version information and exit |
1171 | -V, --version display version information and exit |
1151 | -q, --quiet, --silent do not print \`checking...' messages |
1172 | -q, --quiet, --silent do not print \`checking ...' messages |
1152 | --cache-file=FILE cache test results in FILE [disabled] |
1173 | --cache-file=FILE cache test results in FILE [disabled] |
1153 | -C, --config-cache alias for \`--cache-file=config.cache' |
1174 | -C, --config-cache alias for \`--cache-file=config.cache' |
1154 | -n, --no-create do not create output files |
1175 | -n, --no-create do not create output files |
1155 | --srcdir=DIR find the sources in DIR [configure dir or \`..'] |
1176 | --srcdir=DIR find the sources in DIR [configure dir or \`..'] |
1156 | |
1177 | |
1157 | Installation directories: |
1178 | Installation directories: |
1158 | --prefix=PREFIX install architecture-independent files in PREFIX |
1179 | --prefix=PREFIX install architecture-independent files in PREFIX |
1159 | [$ac_default_prefix] |
1180 | [$ac_default_prefix] |
1160 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
1181 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
1161 | [PREFIX] |
1182 | [PREFIX] |
1162 | |
1183 | |
1163 | By default, \`make install' will install all the files in |
1184 | By default, \`make install' will install all the files in |
1164 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
1185 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
1165 | an installation prefix other than \`$ac_default_prefix' using \`--prefix', |
1186 | an installation prefix other than \`$ac_default_prefix' using \`--prefix', |
1166 | for instance \`--prefix=\$HOME'. |
1187 | for instance \`--prefix=\$HOME'. |
1167 | |
1188 | |
1168 | For better control, use the options below. |
1189 | For better control, use the options below. |
1169 | |
1190 | |
1170 | Fine tuning of the installation directories: |
1191 | Fine tuning of the installation directories: |
1171 | --bindir=DIR user executables [EPREFIX/bin] |
1192 | --bindir=DIR user executables [EPREFIX/bin] |
1172 | --sbindir=DIR system admin executables [EPREFIX/sbin] |
1193 | --sbindir=DIR system admin executables [EPREFIX/sbin] |
1173 | --libexecdir=DIR program executables [EPREFIX/libexec] |
1194 | --libexecdir=DIR program executables [EPREFIX/libexec] |
1174 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
1195 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
1175 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
1196 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
1176 | --localstatedir=DIR modifiable single-machine data [PREFIX/var] |
1197 | --localstatedir=DIR modifiable single-machine data [PREFIX/var] |
1177 | --libdir=DIR object code libraries [EPREFIX/lib] |
1198 | --libdir=DIR object code libraries [EPREFIX/lib] |
1178 | --includedir=DIR C header files [PREFIX/include] |
1199 | --includedir=DIR C header files [PREFIX/include] |
1179 | --oldincludedir=DIR C header files for non-gcc [/usr/include] |
1200 | --oldincludedir=DIR C header files for non-gcc [/usr/include] |
1180 | --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
1201 | --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
1181 | --datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
1202 | --datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
1182 | --infodir=DIR info documentation [DATAROOTDIR/info] |
1203 | --infodir=DIR info documentation [DATAROOTDIR/info] |
1183 | --localedir=DIR locale-dependent data [DATAROOTDIR/locale] |
1204 | --localedir=DIR locale-dependent data [DATAROOTDIR/locale] |
1184 | --mandir=DIR man documentation [DATAROOTDIR/man] |
1205 | --mandir=DIR man documentation [DATAROOTDIR/man] |
1185 | --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] |
1206 | --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] |
1186 | --htmldir=DIR html documentation [DOCDIR] |
1207 | --htmldir=DIR html documentation [DOCDIR] |
1187 | --dvidir=DIR dvi documentation [DOCDIR] |
1208 | --dvidir=DIR dvi documentation [DOCDIR] |
1188 | --pdfdir=DIR pdf documentation [DOCDIR] |
1209 | --pdfdir=DIR pdf documentation [DOCDIR] |
1189 | --psdir=DIR ps documentation [DOCDIR] |
1210 | --psdir=DIR ps documentation [DOCDIR] |
1190 | _ACEOF |
1211 | _ACEOF |
1191 | |
1212 | |
1192 | cat <<\_ACEOF |
1213 | cat <<\_ACEOF |
1193 | _ACEOF |
1214 | _ACEOF |
1194 | fi |
1215 | fi |
… | |
… | |
1201 | CC C compiler command |
1222 | CC C compiler command |
1202 | CFLAGS C compiler flags |
1223 | CFLAGS C compiler flags |
1203 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
1224 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
1204 | nonstandard directory <lib dir> |
1225 | nonstandard directory <lib dir> |
1205 | LIBS libraries to pass to the linker, e.g. -l<library> |
1226 | 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 |
1227 | CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if |
1207 | you have headers in a nonstandard directory <include dir> |
1228 | you have headers in a nonstandard directory <include dir> |
1208 | |
1229 | |
1209 | Use these variables to override the choices made by `configure' or to help |
1230 | Use these variables to override the choices made by `configure' or to help |
1210 | it to find libraries and programs with nonstandard names/locations. |
1231 | it to find libraries and programs with nonstandard names/locations. |
1211 | |
1232 | |
|
|
1233 | Report bugs to the package provider. |
1212 | _ACEOF |
1234 | _ACEOF |
1213 | ac_status=$? |
1235 | ac_status=$? |
1214 | fi |
1236 | fi |
1215 | |
1237 | |
1216 | if test "$ac_init_help" = "recursive"; then |
1238 | if test "$ac_init_help" = "recursive"; then |
1217 | # If there are subdirs, report their specific --help. |
1239 | # If there are subdirs, report their specific --help. |
1218 | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
1240 | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
1219 | test -d "$ac_dir" || continue |
1241 | test -d "$ac_dir" || |
|
|
1242 | { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || |
|
|
1243 | continue |
1220 | ac_builddir=. |
1244 | ac_builddir=. |
1221 | |
1245 | |
1222 | case "$ac_dir" in |
1246 | case "$ac_dir" in |
1223 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
1247 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
1224 | *) |
1248 | *) |
1225 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
1249 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
1226 | # A ".." for each directory in $ac_dir_suffix. |
1250 | # A ".." for each directory in $ac_dir_suffix. |
1227 | ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` |
1251 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
1228 | case $ac_top_builddir_sub in |
1252 | case $ac_top_builddir_sub in |
1229 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
1253 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
1230 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
1254 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
1231 | esac ;; |
1255 | esac ;; |
1232 | esac |
1256 | esac |
… | |
… | |
1258 | $SHELL "$ac_srcdir/configure.gnu" --help=recursive |
1282 | $SHELL "$ac_srcdir/configure.gnu" --help=recursive |
1259 | elif test -f "$ac_srcdir/configure"; then |
1283 | elif test -f "$ac_srcdir/configure"; then |
1260 | echo && |
1284 | echo && |
1261 | $SHELL "$ac_srcdir/configure" --help=recursive |
1285 | $SHELL "$ac_srcdir/configure" --help=recursive |
1262 | else |
1286 | else |
1263 | echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
1287 | $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
1264 | fi || ac_status=$? |
1288 | fi || ac_status=$? |
1265 | cd "$ac_pwd" || { ac_status=$?; break; } |
1289 | cd "$ac_pwd" || { ac_status=$?; break; } |
1266 | done |
1290 | done |
1267 | fi |
1291 | fi |
1268 | |
1292 | |
1269 | test -n "$ac_init_help" && exit $ac_status |
1293 | test -n "$ac_init_help" && exit $ac_status |
1270 | if $ac_init_version; then |
1294 | if $ac_init_version; then |
1271 | cat <<\_ACEOF |
1295 | cat <<\_ACEOF |
1272 | configure |
1296 | configure |
1273 | generated by GNU Autoconf 2.61 |
1297 | generated by GNU Autoconf 2.67 |
1274 | |
1298 | |
1275 | Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
1299 | 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 |
1300 | This configure script is free software; the Free Software Foundation |
1278 | gives unlimited permission to copy, distribute and modify it. |
1301 | gives unlimited permission to copy, distribute and modify it. |
1279 | _ACEOF |
1302 | _ACEOF |
1280 | exit |
1303 | exit |
1281 | fi |
1304 | fi |
|
|
1305 | |
|
|
1306 | ## ------------------------ ## |
|
|
1307 | ## Autoconf initialization. ## |
|
|
1308 | ## ------------------------ ## |
|
|
1309 | |
|
|
1310 | # ac_fn_c_try_compile LINENO |
|
|
1311 | # -------------------------- |
|
|
1312 | # Try to compile conftest.$ac_ext, and return whether this succeeded. |
|
|
1313 | ac_fn_c_try_compile () |
|
|
1314 | { |
|
|
1315 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
|
1316 | rm -f conftest.$ac_objext |
|
|
1317 | if { { ac_try="$ac_compile" |
|
|
1318 | case "(($ac_try" in |
|
|
1319 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
1320 | *) ac_try_echo=$ac_try;; |
|
|
1321 | esac |
|
|
1322 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
|
1323 | $as_echo "$ac_try_echo"; } >&5 |
|
|
1324 | (eval "$ac_compile") 2>conftest.err |
|
|
1325 | ac_status=$? |
|
|
1326 | if test -s conftest.err; then |
|
|
1327 | grep -v '^ *+' conftest.err >conftest.er1 |
|
|
1328 | cat conftest.er1 >&5 |
|
|
1329 | mv -f conftest.er1 conftest.err |
|
|
1330 | fi |
|
|
1331 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
|
1332 | test $ac_status = 0; } && { |
|
|
1333 | test -z "$ac_c_werror_flag" || |
|
|
1334 | test ! -s conftest.err |
|
|
1335 | } && test -s conftest.$ac_objext; then : |
|
|
1336 | ac_retval=0 |
|
|
1337 | else |
|
|
1338 | $as_echo "$as_me: failed program was:" >&5 |
|
|
1339 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
1340 | |
|
|
1341 | ac_retval=1 |
|
|
1342 | fi |
|
|
1343 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
|
|
1344 | as_fn_set_status $ac_retval |
|
|
1345 | |
|
|
1346 | } # ac_fn_c_try_compile |
|
|
1347 | |
|
|
1348 | # ac_fn_c_try_link LINENO |
|
|
1349 | # ----------------------- |
|
|
1350 | # Try to link conftest.$ac_ext, and return whether this succeeded. |
|
|
1351 | ac_fn_c_try_link () |
|
|
1352 | { |
|
|
1353 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
|
1354 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
1355 | if { { ac_try="$ac_link" |
|
|
1356 | case "(($ac_try" in |
|
|
1357 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
1358 | *) ac_try_echo=$ac_try;; |
|
|
1359 | esac |
|
|
1360 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
|
1361 | $as_echo "$ac_try_echo"; } >&5 |
|
|
1362 | (eval "$ac_link") 2>conftest.err |
|
|
1363 | ac_status=$? |
|
|
1364 | if test -s conftest.err; then |
|
|
1365 | grep -v '^ *+' conftest.err >conftest.er1 |
|
|
1366 | cat conftest.er1 >&5 |
|
|
1367 | mv -f conftest.er1 conftest.err |
|
|
1368 | fi |
|
|
1369 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
|
1370 | test $ac_status = 0; } && { |
|
|
1371 | test -z "$ac_c_werror_flag" || |
|
|
1372 | test ! -s conftest.err |
|
|
1373 | } && test -s conftest$ac_exeext && { |
|
|
1374 | test "$cross_compiling" = yes || |
|
|
1375 | $as_test_x conftest$ac_exeext |
|
|
1376 | }; then : |
|
|
1377 | ac_retval=0 |
|
|
1378 | else |
|
|
1379 | $as_echo "$as_me: failed program was:" >&5 |
|
|
1380 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
1381 | |
|
|
1382 | ac_retval=1 |
|
|
1383 | fi |
|
|
1384 | # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information |
|
|
1385 | # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would |
|
|
1386 | # interfere with the next link command; also delete a directory that is |
|
|
1387 | # left behind by Apple's compiler. We do this before executing the actions. |
|
|
1388 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
|
|
1389 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
|
|
1390 | as_fn_set_status $ac_retval |
|
|
1391 | |
|
|
1392 | } # ac_fn_c_try_link |
1282 | cat >config.log <<_ACEOF |
1393 | cat >config.log <<_ACEOF |
1283 | This file contains any messages produced by compilers while |
1394 | This file contains any messages produced by compilers while |
1284 | running configure, to aid debugging if configure makes a mistake. |
1395 | running configure, to aid debugging if configure makes a mistake. |
1285 | |
1396 | |
1286 | It was created by $as_me, which was |
1397 | It was created by $as_me, which was |
1287 | generated by GNU Autoconf 2.61. Invocation command line was |
1398 | generated by GNU Autoconf 2.67. Invocation command line was |
1288 | |
1399 | |
1289 | $ $0 $@ |
1400 | $ $0 $@ |
1290 | |
1401 | |
1291 | _ACEOF |
1402 | _ACEOF |
1292 | exec 5>>config.log |
1403 | exec 5>>config.log |
… | |
… | |
1318 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1429 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1319 | for as_dir in $PATH |
1430 | for as_dir in $PATH |
1320 | do |
1431 | do |
1321 | IFS=$as_save_IFS |
1432 | IFS=$as_save_IFS |
1322 | test -z "$as_dir" && as_dir=. |
1433 | test -z "$as_dir" && as_dir=. |
1323 | echo "PATH: $as_dir" |
1434 | $as_echo "PATH: $as_dir" |
1324 | done |
1435 | done |
1325 | IFS=$as_save_IFS |
1436 | IFS=$as_save_IFS |
1326 | |
1437 | |
1327 | } >&5 |
1438 | } >&5 |
1328 | |
1439 | |
1329 | cat >&5 <<_ACEOF |
1440 | cat >&5 <<_ACEOF |
… | |
… | |
1353 | -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
1464 | -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
1354 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
1465 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
1355 | | -silent | --silent | --silen | --sile | --sil) |
1466 | | -silent | --silent | --silen | --sile | --sil) |
1356 | continue ;; |
1467 | continue ;; |
1357 | *\'*) |
1468 | *\'*) |
1358 | ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
1469 | ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
1359 | esac |
1470 | esac |
1360 | case $ac_pass in |
1471 | case $ac_pass in |
1361 | 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; |
1472 | 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; |
1362 | 2) |
1473 | 2) |
1363 | ac_configure_args1="$ac_configure_args1 '$ac_arg'" |
1474 | as_fn_append ac_configure_args1 " '$ac_arg'" |
1364 | if test $ac_must_keep_next = true; then |
1475 | if test $ac_must_keep_next = true; then |
1365 | ac_must_keep_next=false # Got value, back to normal. |
1476 | ac_must_keep_next=false # Got value, back to normal. |
1366 | else |
1477 | else |
1367 | case $ac_arg in |
1478 | case $ac_arg in |
1368 | *=* | --config-cache | -C | -disable-* | --disable-* \ |
1479 | *=* | --config-cache | -C | -disable-* | --disable-* \ |
… | |
… | |
1374 | esac |
1485 | esac |
1375 | ;; |
1486 | ;; |
1376 | -* ) ac_must_keep_next=true ;; |
1487 | -* ) ac_must_keep_next=true ;; |
1377 | esac |
1488 | esac |
1378 | fi |
1489 | fi |
1379 | ac_configure_args="$ac_configure_args '$ac_arg'" |
1490 | as_fn_append ac_configure_args " '$ac_arg'" |
1380 | ;; |
1491 | ;; |
1381 | esac |
1492 | esac |
1382 | done |
1493 | done |
1383 | done |
1494 | done |
1384 | $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } |
1495 | { 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; } |
1496 | { ac_configure_args1=; unset ac_configure_args1;} |
1386 | |
1497 | |
1387 | # When interrupted or exit'd, cleanup temporary files, and complete |
1498 | # When interrupted or exit'd, cleanup temporary files, and complete |
1388 | # config.log. We remove comments because anyway the quotes in there |
1499 | # config.log. We remove comments because anyway the quotes in there |
1389 | # would cause problems or look ugly. |
1500 | # would cause problems or look ugly. |
1390 | # WARNING: Use '\'' to represent an apostrophe within the trap. |
1501 | # WARNING: Use '\'' to represent an apostrophe within the trap. |
… | |
… | |
1392 | trap 'exit_status=$? |
1503 | trap 'exit_status=$? |
1393 | # Save into config.log some information that might help in debugging. |
1504 | # Save into config.log some information that might help in debugging. |
1394 | { |
1505 | { |
1395 | echo |
1506 | echo |
1396 | |
1507 | |
1397 | cat <<\_ASBOX |
|
|
1398 | ## ---------------- ## |
1508 | $as_echo "## ---------------- ## |
1399 | ## Cache variables. ## |
1509 | ## Cache variables. ## |
1400 | ## ---------------- ## |
1510 | ## ---------------- ##" |
1401 | _ASBOX |
|
|
1402 | echo |
1511 | echo |
1403 | # The following way of writing the cache mishandles newlines in values, |
1512 | # The following way of writing the cache mishandles newlines in values, |
1404 | ( |
1513 | ( |
1405 | for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do |
1514 | 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 |
1515 | eval ac_val=\$$ac_var |
1407 | case $ac_val in #( |
1516 | case $ac_val in #( |
1408 | *${as_nl}*) |
1517 | *${as_nl}*) |
1409 | case $ac_var in #( |
1518 | case $ac_var in #( |
1410 | *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 |
1519 | *_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;} ;; |
1520 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
1412 | esac |
1521 | esac |
1413 | case $ac_var in #( |
1522 | case $ac_var in #( |
1414 | _ | IFS | as_nl) ;; #( |
1523 | _ | IFS | as_nl) ;; #( |
1415 | *) $as_unset $ac_var ;; |
1524 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
|
|
1525 | *) { eval $ac_var=; unset $ac_var;} ;; |
1416 | esac ;; |
1526 | esac ;; |
1417 | esac |
1527 | esac |
1418 | done |
1528 | done |
1419 | (set) 2>&1 | |
1529 | (set) 2>&1 | |
1420 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( |
1530 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( |
… | |
… | |
1429 | esac | |
1539 | esac | |
1430 | sort |
1540 | sort |
1431 | ) |
1541 | ) |
1432 | echo |
1542 | echo |
1433 | |
1543 | |
1434 | cat <<\_ASBOX |
|
|
1435 | ## ----------------- ## |
1544 | $as_echo "## ----------------- ## |
1436 | ## Output variables. ## |
1545 | ## Output variables. ## |
1437 | ## ----------------- ## |
1546 | ## ----------------- ##" |
1438 | _ASBOX |
|
|
1439 | echo |
1547 | echo |
1440 | for ac_var in $ac_subst_vars |
1548 | for ac_var in $ac_subst_vars |
1441 | do |
1549 | do |
1442 | eval ac_val=\$$ac_var |
1550 | eval ac_val=\$$ac_var |
1443 | case $ac_val in |
1551 | case $ac_val in |
1444 | *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
1552 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
1445 | esac |
1553 | esac |
1446 | echo "$ac_var='\''$ac_val'\''" |
1554 | $as_echo "$ac_var='\''$ac_val'\''" |
1447 | done | sort |
1555 | done | sort |
1448 | echo |
1556 | echo |
1449 | |
1557 | |
1450 | if test -n "$ac_subst_files"; then |
1558 | if test -n "$ac_subst_files"; then |
1451 | cat <<\_ASBOX |
|
|
1452 | ## ------------------- ## |
1559 | $as_echo "## ------------------- ## |
1453 | ## File substitutions. ## |
1560 | ## File substitutions. ## |
1454 | ## ------------------- ## |
1561 | ## ------------------- ##" |
1455 | _ASBOX |
|
|
1456 | echo |
1562 | echo |
1457 | for ac_var in $ac_subst_files |
1563 | for ac_var in $ac_subst_files |
1458 | do |
1564 | do |
1459 | eval ac_val=\$$ac_var |
1565 | eval ac_val=\$$ac_var |
1460 | case $ac_val in |
1566 | case $ac_val in |
1461 | *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
1567 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
1462 | esac |
1568 | esac |
1463 | echo "$ac_var='\''$ac_val'\''" |
1569 | $as_echo "$ac_var='\''$ac_val'\''" |
1464 | done | sort |
1570 | done | sort |
1465 | echo |
1571 | echo |
1466 | fi |
1572 | fi |
1467 | |
1573 | |
1468 | if test -s confdefs.h; then |
1574 | if test -s confdefs.h; then |
1469 | cat <<\_ASBOX |
1575 | $as_echo "## ----------- ## |
1470 | ## ----------- ## |
|
|
1471 | ## confdefs.h. ## |
1576 | ## confdefs.h. ## |
1472 | ## ----------- ## |
1577 | ## ----------- ##" |
1473 | _ASBOX |
|
|
1474 | echo |
1578 | echo |
1475 | cat confdefs.h |
1579 | cat confdefs.h |
1476 | echo |
1580 | echo |
1477 | fi |
1581 | fi |
1478 | test "$ac_signal" != 0 && |
1582 | test "$ac_signal" != 0 && |
1479 | echo "$as_me: caught signal $ac_signal" |
1583 | $as_echo "$as_me: caught signal $ac_signal" |
1480 | echo "$as_me: exit $exit_status" |
1584 | $as_echo "$as_me: exit $exit_status" |
1481 | } >&5 |
1585 | } >&5 |
1482 | rm -f core *.core core.conftest.* && |
1586 | rm -f core *.core core.conftest.* && |
1483 | rm -f -r conftest* confdefs* conf$$* $ac_clean_files && |
1587 | rm -f -r conftest* confdefs* conf$$* $ac_clean_files && |
1484 | exit $exit_status |
1588 | exit $exit_status |
1485 | ' 0 |
1589 | ' 0 |
1486 | for ac_signal in 1 2 13 15; do |
1590 | for ac_signal in 1 2 13 15; do |
1487 | trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal |
1591 | trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal |
1488 | done |
1592 | done |
1489 | ac_signal=0 |
1593 | ac_signal=0 |
1490 | |
1594 | |
1491 | # confdefs.h avoids OS command line length limits that DEFS can exceed. |
1595 | # confdefs.h avoids OS command line length limits that DEFS can exceed. |
1492 | rm -f -r conftest* confdefs.h |
1596 | rm -f -r conftest* confdefs.h |
1493 | |
1597 | |
|
|
1598 | $as_echo "/* confdefs.h */" > confdefs.h |
|
|
1599 | |
1494 | # Predefined preprocessor variables. |
1600 | # Predefined preprocessor variables. |
1495 | |
1601 | |
1496 | cat >>confdefs.h <<_ACEOF |
1602 | cat >>confdefs.h <<_ACEOF |
1497 | #define PACKAGE_NAME "$PACKAGE_NAME" |
1603 | #define PACKAGE_NAME "$PACKAGE_NAME" |
1498 | _ACEOF |
1604 | _ACEOF |
1499 | |
1605 | |
1500 | |
|
|
1501 | cat >>confdefs.h <<_ACEOF |
1606 | cat >>confdefs.h <<_ACEOF |
1502 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
1607 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
1503 | _ACEOF |
1608 | _ACEOF |
1504 | |
1609 | |
1505 | |
|
|
1506 | cat >>confdefs.h <<_ACEOF |
1610 | cat >>confdefs.h <<_ACEOF |
1507 | #define PACKAGE_VERSION "$PACKAGE_VERSION" |
1611 | #define PACKAGE_VERSION "$PACKAGE_VERSION" |
1508 | _ACEOF |
1612 | _ACEOF |
1509 | |
1613 | |
1510 | |
|
|
1511 | cat >>confdefs.h <<_ACEOF |
1614 | cat >>confdefs.h <<_ACEOF |
1512 | #define PACKAGE_STRING "$PACKAGE_STRING" |
1615 | #define PACKAGE_STRING "$PACKAGE_STRING" |
1513 | _ACEOF |
1616 | _ACEOF |
1514 | |
1617 | |
1515 | |
|
|
1516 | cat >>confdefs.h <<_ACEOF |
1618 | cat >>confdefs.h <<_ACEOF |
1517 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
1619 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
1518 | _ACEOF |
1620 | _ACEOF |
1519 | |
1621 | |
|
|
1622 | cat >>confdefs.h <<_ACEOF |
|
|
1623 | #define PACKAGE_URL "$PACKAGE_URL" |
|
|
1624 | _ACEOF |
|
|
1625 | |
1520 | |
1626 | |
1521 | # Let the site file select an alternate cache file if it wants to. |
1627 | # Let the site file select an alternate cache file if it wants to. |
1522 | # Prefer explicitly selected file to automatically selected ones. |
1628 | # Prefer an explicitly selected file to automatically selected ones. |
|
|
1629 | ac_site_file1=NONE |
|
|
1630 | ac_site_file2=NONE |
1523 | if test -n "$CONFIG_SITE"; then |
1631 | if test -n "$CONFIG_SITE"; then |
1524 | set x "$CONFIG_SITE" |
1632 | # We do not want a PATH search for config.site. |
|
|
1633 | case $CONFIG_SITE in #(( |
|
|
1634 | -*) ac_site_file1=./$CONFIG_SITE;; |
|
|
1635 | */*) ac_site_file1=$CONFIG_SITE;; |
|
|
1636 | *) ac_site_file1=./$CONFIG_SITE;; |
|
|
1637 | esac |
1525 | elif test "x$prefix" != xNONE; then |
1638 | elif test "x$prefix" != xNONE; then |
1526 | set x "$prefix/share/config.site" "$prefix/etc/config.site" |
1639 | ac_site_file1=$prefix/share/config.site |
|
|
1640 | ac_site_file2=$prefix/etc/config.site |
1527 | else |
1641 | else |
1528 | set x "$ac_default_prefix/share/config.site" \ |
1642 | ac_site_file1=$ac_default_prefix/share/config.site |
1529 | "$ac_default_prefix/etc/config.site" |
1643 | ac_site_file2=$ac_default_prefix/etc/config.site |
1530 | fi |
1644 | fi |
1531 | shift |
1645 | for ac_site_file in "$ac_site_file1" "$ac_site_file2" |
1532 | for ac_site_file |
|
|
1533 | do |
1646 | do |
1534 | if test -r "$ac_site_file"; then |
1647 | test "x$ac_site_file" = xNONE && continue |
|
|
1648 | 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 |
1649 | { $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;} |
1650 | $as_echo "$as_me: loading site script $ac_site_file" >&6;} |
1537 | sed 's/^/| /' "$ac_site_file" >&5 |
1651 | sed 's/^/| /' "$ac_site_file" >&5 |
1538 | . "$ac_site_file" |
1652 | . "$ac_site_file" \ |
|
|
1653 | || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
|
1654 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
|
1655 | as_fn_error $? "failed to load site script $ac_site_file |
|
|
1656 | See \`config.log' for more details" "$LINENO" 5 ; } |
1539 | fi |
1657 | fi |
1540 | done |
1658 | done |
1541 | |
1659 | |
1542 | if test -r "$cache_file"; then |
1660 | if test -r "$cache_file"; then |
1543 | # Some versions of bash will fail to source /dev/null (special |
1661 | # Some versions of bash will fail to source /dev/null (special files |
1544 | # files actually), so we avoid doing that. |
1662 | # actually), so we avoid doing that. DJGPP emulates it as a regular file. |
1545 | if test -f "$cache_file"; then |
1663 | if test /dev/null != "$cache_file" && test -f "$cache_file"; then |
1546 | { echo "$as_me:$LINENO: loading cache $cache_file" >&5 |
1664 | { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 |
1547 | echo "$as_me: loading cache $cache_file" >&6;} |
1665 | $as_echo "$as_me: loading cache $cache_file" >&6;} |
1548 | case $cache_file in |
1666 | case $cache_file in |
1549 | [\\/]* | ?:[\\/]* ) . "$cache_file";; |
1667 | [\\/]* | ?:[\\/]* ) . "$cache_file";; |
1550 | *) . "./$cache_file";; |
1668 | *) . "./$cache_file";; |
1551 | esac |
1669 | esac |
1552 | fi |
1670 | fi |
1553 | else |
1671 | else |
1554 | { echo "$as_me:$LINENO: creating cache $cache_file" >&5 |
1672 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 |
1555 | echo "$as_me: creating cache $cache_file" >&6;} |
1673 | $as_echo "$as_me: creating cache $cache_file" >&6;} |
1556 | >$cache_file |
1674 | >$cache_file |
1557 | fi |
1675 | fi |
1558 | |
1676 | |
1559 | # Check that the precious variables saved in the cache have kept the same |
1677 | # Check that the precious variables saved in the cache have kept the same |
1560 | # value. |
1678 | # value. |
… | |
… | |
1564 | eval ac_new_set=\$ac_env_${ac_var}_set |
1682 | eval ac_new_set=\$ac_env_${ac_var}_set |
1565 | eval ac_old_val=\$ac_cv_env_${ac_var}_value |
1683 | eval ac_old_val=\$ac_cv_env_${ac_var}_value |
1566 | eval ac_new_val=\$ac_env_${ac_var}_value |
1684 | eval ac_new_val=\$ac_env_${ac_var}_value |
1567 | case $ac_old_set,$ac_new_set in |
1685 | case $ac_old_set,$ac_new_set in |
1568 | set,) |
1686 | set,) |
1569 | { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
1687 | { $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;} |
1688 | $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
1571 | ac_cache_corrupted=: ;; |
1689 | ac_cache_corrupted=: ;; |
1572 | ,set) |
1690 | ,set) |
1573 | { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 |
1691 | { $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;} |
1692 | $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
1575 | ac_cache_corrupted=: ;; |
1693 | ac_cache_corrupted=: ;; |
1576 | ,);; |
1694 | ,);; |
1577 | *) |
1695 | *) |
1578 | if test "x$ac_old_val" != "x$ac_new_val"; then |
1696 | if test "x$ac_old_val" != "x$ac_new_val"; then |
|
|
1697 | # differences in whitespace do not lead to failure. |
|
|
1698 | ac_old_val_w=`echo x $ac_old_val` |
|
|
1699 | ac_new_val_w=`echo x $ac_new_val` |
|
|
1700 | 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 |
1701 | { $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;} |
1702 | $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=: |
1703 | ac_cache_corrupted=: |
|
|
1704 | else |
|
|
1705 | { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 |
|
|
1706 | $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} |
|
|
1707 | eval $ac_var=\$ac_old_val |
|
|
1708 | fi |
|
|
1709 | { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 |
|
|
1710 | $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} |
|
|
1711 | { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 |
|
|
1712 | $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} |
1586 | fi;; |
1713 | fi;; |
1587 | esac |
1714 | esac |
1588 | # Pass precious variables to config.status. |
1715 | # Pass precious variables to config.status. |
1589 | if test "$ac_new_set" = set; then |
1716 | if test "$ac_new_set" = set; then |
1590 | case $ac_new_val in |
1717 | case $ac_new_val in |
1591 | *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
1718 | *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
1592 | *) ac_arg=$ac_var=$ac_new_val ;; |
1719 | *) ac_arg=$ac_var=$ac_new_val ;; |
1593 | esac |
1720 | esac |
1594 | case " $ac_configure_args " in |
1721 | case " $ac_configure_args " in |
1595 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
1722 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
1596 | *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; |
1723 | *) as_fn_append ac_configure_args " '$ac_arg'" ;; |
1597 | esac |
1724 | esac |
1598 | fi |
1725 | fi |
1599 | done |
1726 | done |
1600 | if $ac_cache_corrupted; then |
1727 | if $ac_cache_corrupted; then |
|
|
1728 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
|
1729 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
1601 | { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 |
1730 | { $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;} |
1731 | $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;} |
1732 | as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 |
1605 | { (exit 1); exit 1; }; } |
|
|
1606 | fi |
1733 | fi |
1607 | |
1734 | ## -------------------- ## |
1608 | |
1735 | ## Main body of script. ## |
1609 | |
1736 | ## -------------------- ## |
1610 | |
|
|
1611 | |
|
|
1612 | |
|
|
1613 | |
|
|
1614 | |
|
|
1615 | |
|
|
1616 | |
|
|
1617 | |
|
|
1618 | |
|
|
1619 | |
|
|
1620 | |
|
|
1621 | |
|
|
1622 | |
|
|
1623 | |
1737 | |
1624 | ac_ext=c |
1738 | ac_ext=c |
1625 | ac_cpp='$CPP $CPPFLAGS' |
1739 | ac_cpp='$CPP $CPPFLAGS' |
1626 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
1740 | 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' |
1741 | 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' |
1752 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
1639 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
1753 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
1640 | if test -n "$ac_tool_prefix"; then |
1754 | 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. |
1755 | # 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 |
1756 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
1643 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1757 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1644 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
1758 | $as_echo_n "checking for $ac_word... " >&6; } |
1645 | if test "${ac_cv_prog_CC+set}" = set; then |
1759 | if test "${ac_cv_prog_CC+set}" = set; then : |
1646 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
1760 | $as_echo_n "(cached) " >&6 |
1647 | else |
1761 | else |
1648 | if test -n "$CC"; then |
1762 | if test -n "$CC"; then |
1649 | ac_cv_prog_CC="$CC" # Let the user override the test. |
1763 | ac_cv_prog_CC="$CC" # Let the user override the test. |
1650 | else |
1764 | else |
1651 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1765 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1652 | for as_dir in $PATH |
1766 | for as_dir in $PATH |
1653 | do |
1767 | do |
1654 | IFS=$as_save_IFS |
1768 | IFS=$as_save_IFS |
1655 | test -z "$as_dir" && as_dir=. |
1769 | test -z "$as_dir" && as_dir=. |
1656 | for ac_exec_ext in '' $ac_executable_extensions; do |
1770 | 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 |
1771 | 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" |
1772 | ac_cv_prog_CC="${ac_tool_prefix}gcc" |
1659 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1773 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1660 | break 2 |
1774 | break 2 |
1661 | fi |
1775 | fi |
1662 | done |
1776 | done |
1663 | done |
1777 | done |
1664 | IFS=$as_save_IFS |
1778 | IFS=$as_save_IFS |
1665 | |
1779 | |
1666 | fi |
1780 | fi |
1667 | fi |
1781 | fi |
1668 | CC=$ac_cv_prog_CC |
1782 | CC=$ac_cv_prog_CC |
1669 | if test -n "$CC"; then |
1783 | if test -n "$CC"; then |
1670 | { echo "$as_me:$LINENO: result: $CC" >&5 |
1784 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
1671 | echo "${ECHO_T}$CC" >&6; } |
1785 | $as_echo "$CC" >&6; } |
1672 | else |
1786 | else |
1673 | { echo "$as_me:$LINENO: result: no" >&5 |
1787 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
1674 | echo "${ECHO_T}no" >&6; } |
1788 | $as_echo "no" >&6; } |
1675 | fi |
1789 | fi |
1676 | |
1790 | |
1677 | |
1791 | |
1678 | fi |
1792 | fi |
1679 | if test -z "$ac_cv_prog_CC"; then |
1793 | if test -z "$ac_cv_prog_CC"; then |
1680 | ac_ct_CC=$CC |
1794 | ac_ct_CC=$CC |
1681 | # Extract the first word of "gcc", so it can be a program name with args. |
1795 | # Extract the first word of "gcc", so it can be a program name with args. |
1682 | set dummy gcc; ac_word=$2 |
1796 | set dummy gcc; ac_word=$2 |
1683 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1797 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1684 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
1798 | $as_echo_n "checking for $ac_word... " >&6; } |
1685 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
1799 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : |
1686 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
1800 | $as_echo_n "(cached) " >&6 |
1687 | else |
1801 | else |
1688 | if test -n "$ac_ct_CC"; then |
1802 | if test -n "$ac_ct_CC"; then |
1689 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
1803 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
1690 | else |
1804 | else |
1691 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1805 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1692 | for as_dir in $PATH |
1806 | for as_dir in $PATH |
1693 | do |
1807 | do |
1694 | IFS=$as_save_IFS |
1808 | IFS=$as_save_IFS |
1695 | test -z "$as_dir" && as_dir=. |
1809 | test -z "$as_dir" && as_dir=. |
1696 | for ac_exec_ext in '' $ac_executable_extensions; do |
1810 | 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 |
1811 | 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" |
1812 | ac_cv_prog_ac_ct_CC="gcc" |
1699 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1813 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1700 | break 2 |
1814 | break 2 |
1701 | fi |
1815 | fi |
1702 | done |
1816 | done |
1703 | done |
1817 | done |
1704 | IFS=$as_save_IFS |
1818 | IFS=$as_save_IFS |
1705 | |
1819 | |
1706 | fi |
1820 | fi |
1707 | fi |
1821 | fi |
1708 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
1822 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
1709 | if test -n "$ac_ct_CC"; then |
1823 | if test -n "$ac_ct_CC"; then |
1710 | { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
1824 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
1711 | echo "${ECHO_T}$ac_ct_CC" >&6; } |
1825 | $as_echo "$ac_ct_CC" >&6; } |
1712 | else |
1826 | else |
1713 | { echo "$as_me:$LINENO: result: no" >&5 |
1827 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
1714 | echo "${ECHO_T}no" >&6; } |
1828 | $as_echo "no" >&6; } |
1715 | fi |
1829 | fi |
1716 | |
1830 | |
1717 | if test "x$ac_ct_CC" = x; then |
1831 | if test "x$ac_ct_CC" = x; then |
1718 | CC="" |
1832 | CC="" |
1719 | else |
1833 | else |
1720 | case $cross_compiling:$ac_tool_warned in |
1834 | case $cross_compiling:$ac_tool_warned in |
1721 | yes:) |
1835 | yes:) |
1722 | { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
1836 | { $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 |
1837 | $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 ;; |
1838 | ac_tool_warned=yes ;; |
1729 | esac |
1839 | esac |
1730 | CC=$ac_ct_CC |
1840 | CC=$ac_ct_CC |
1731 | fi |
1841 | fi |
1732 | else |
1842 | else |
… | |
… | |
1735 | |
1845 | |
1736 | if test -z "$CC"; then |
1846 | if test -z "$CC"; then |
1737 | if test -n "$ac_tool_prefix"; then |
1847 | 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. |
1848 | # 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 |
1849 | set dummy ${ac_tool_prefix}cc; ac_word=$2 |
1740 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1850 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1741 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
1851 | $as_echo_n "checking for $ac_word... " >&6; } |
1742 | if test "${ac_cv_prog_CC+set}" = set; then |
1852 | if test "${ac_cv_prog_CC+set}" = set; then : |
1743 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
1853 | $as_echo_n "(cached) " >&6 |
1744 | else |
1854 | else |
1745 | if test -n "$CC"; then |
1855 | if test -n "$CC"; then |
1746 | ac_cv_prog_CC="$CC" # Let the user override the test. |
1856 | ac_cv_prog_CC="$CC" # Let the user override the test. |
1747 | else |
1857 | else |
1748 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1858 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1749 | for as_dir in $PATH |
1859 | for as_dir in $PATH |
1750 | do |
1860 | do |
1751 | IFS=$as_save_IFS |
1861 | IFS=$as_save_IFS |
1752 | test -z "$as_dir" && as_dir=. |
1862 | test -z "$as_dir" && as_dir=. |
1753 | for ac_exec_ext in '' $ac_executable_extensions; do |
1863 | 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 |
1864 | 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" |
1865 | ac_cv_prog_CC="${ac_tool_prefix}cc" |
1756 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1866 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1757 | break 2 |
1867 | break 2 |
1758 | fi |
1868 | fi |
1759 | done |
1869 | done |
1760 | done |
1870 | done |
1761 | IFS=$as_save_IFS |
1871 | IFS=$as_save_IFS |
1762 | |
1872 | |
1763 | fi |
1873 | fi |
1764 | fi |
1874 | fi |
1765 | CC=$ac_cv_prog_CC |
1875 | CC=$ac_cv_prog_CC |
1766 | if test -n "$CC"; then |
1876 | if test -n "$CC"; then |
1767 | { echo "$as_me:$LINENO: result: $CC" >&5 |
1877 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
1768 | echo "${ECHO_T}$CC" >&6; } |
1878 | $as_echo "$CC" >&6; } |
1769 | else |
1879 | else |
1770 | { echo "$as_me:$LINENO: result: no" >&5 |
1880 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
1771 | echo "${ECHO_T}no" >&6; } |
1881 | $as_echo "no" >&6; } |
1772 | fi |
1882 | fi |
1773 | |
1883 | |
1774 | |
1884 | |
1775 | fi |
1885 | fi |
1776 | fi |
1886 | fi |
1777 | if test -z "$CC"; then |
1887 | if test -z "$CC"; then |
1778 | # Extract the first word of "cc", so it can be a program name with args. |
1888 | # Extract the first word of "cc", so it can be a program name with args. |
1779 | set dummy cc; ac_word=$2 |
1889 | set dummy cc; ac_word=$2 |
1780 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1890 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1781 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
1891 | $as_echo_n "checking for $ac_word... " >&6; } |
1782 | if test "${ac_cv_prog_CC+set}" = set; then |
1892 | if test "${ac_cv_prog_CC+set}" = set; then : |
1783 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
1893 | $as_echo_n "(cached) " >&6 |
1784 | else |
1894 | else |
1785 | if test -n "$CC"; then |
1895 | if test -n "$CC"; then |
1786 | ac_cv_prog_CC="$CC" # Let the user override the test. |
1896 | ac_cv_prog_CC="$CC" # Let the user override the test. |
1787 | else |
1897 | else |
1788 | ac_prog_rejected=no |
1898 | ac_prog_rejected=no |
1789 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1899 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1790 | for as_dir in $PATH |
1900 | for as_dir in $PATH |
1791 | do |
1901 | do |
1792 | IFS=$as_save_IFS |
1902 | IFS=$as_save_IFS |
1793 | test -z "$as_dir" && as_dir=. |
1903 | test -z "$as_dir" && as_dir=. |
1794 | for ac_exec_ext in '' $ac_executable_extensions; do |
1904 | 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 |
1905 | 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 |
1906 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
1797 | ac_prog_rejected=yes |
1907 | ac_prog_rejected=yes |
1798 | continue |
1908 | continue |
1799 | fi |
1909 | fi |
1800 | ac_cv_prog_CC="cc" |
1910 | ac_cv_prog_CC="cc" |
1801 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1911 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1802 | break 2 |
1912 | break 2 |
1803 | fi |
1913 | fi |
1804 | done |
1914 | done |
1805 | done |
1915 | done |
1806 | IFS=$as_save_IFS |
1916 | IFS=$as_save_IFS |
1807 | |
1917 | |
1808 | if test $ac_prog_rejected = yes; then |
1918 | if test $ac_prog_rejected = yes; then |
1809 | # We found a bogon in the path, so make sure we never use it. |
1919 | # We found a bogon in the path, so make sure we never use it. |
1810 | set dummy $ac_cv_prog_CC |
1920 | set dummy $ac_cv_prog_CC |
… | |
… | |
1819 | fi |
1929 | fi |
1820 | fi |
1930 | fi |
1821 | fi |
1931 | fi |
1822 | CC=$ac_cv_prog_CC |
1932 | CC=$ac_cv_prog_CC |
1823 | if test -n "$CC"; then |
1933 | if test -n "$CC"; then |
1824 | { echo "$as_me:$LINENO: result: $CC" >&5 |
1934 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
1825 | echo "${ECHO_T}$CC" >&6; } |
1935 | $as_echo "$CC" >&6; } |
1826 | else |
1936 | else |
1827 | { echo "$as_me:$LINENO: result: no" >&5 |
1937 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
1828 | echo "${ECHO_T}no" >&6; } |
1938 | $as_echo "no" >&6; } |
1829 | fi |
1939 | fi |
1830 | |
1940 | |
1831 | |
1941 | |
1832 | fi |
1942 | fi |
1833 | if test -z "$CC"; then |
1943 | if test -z "$CC"; then |
1834 | if test -n "$ac_tool_prefix"; then |
1944 | if test -n "$ac_tool_prefix"; then |
1835 | for ac_prog in cl.exe |
1945 | for ac_prog in cl.exe |
1836 | do |
1946 | do |
1837 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
1947 | # 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 |
1948 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
1839 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1949 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1840 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
1950 | $as_echo_n "checking for $ac_word... " >&6; } |
1841 | if test "${ac_cv_prog_CC+set}" = set; then |
1951 | if test "${ac_cv_prog_CC+set}" = set; then : |
1842 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
1952 | $as_echo_n "(cached) " >&6 |
1843 | else |
1953 | else |
1844 | if test -n "$CC"; then |
1954 | if test -n "$CC"; then |
1845 | ac_cv_prog_CC="$CC" # Let the user override the test. |
1955 | ac_cv_prog_CC="$CC" # Let the user override the test. |
1846 | else |
1956 | else |
1847 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1957 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1848 | for as_dir in $PATH |
1958 | for as_dir in $PATH |
1849 | do |
1959 | do |
1850 | IFS=$as_save_IFS |
1960 | IFS=$as_save_IFS |
1851 | test -z "$as_dir" && as_dir=. |
1961 | test -z "$as_dir" && as_dir=. |
1852 | for ac_exec_ext in '' $ac_executable_extensions; do |
1962 | 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 |
1963 | 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" |
1964 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
1855 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1965 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1856 | break 2 |
1966 | break 2 |
1857 | fi |
1967 | fi |
1858 | done |
1968 | done |
1859 | done |
1969 | done |
1860 | IFS=$as_save_IFS |
1970 | IFS=$as_save_IFS |
1861 | |
1971 | |
1862 | fi |
1972 | fi |
1863 | fi |
1973 | fi |
1864 | CC=$ac_cv_prog_CC |
1974 | CC=$ac_cv_prog_CC |
1865 | if test -n "$CC"; then |
1975 | if test -n "$CC"; then |
1866 | { echo "$as_me:$LINENO: result: $CC" >&5 |
1976 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
1867 | echo "${ECHO_T}$CC" >&6; } |
1977 | $as_echo "$CC" >&6; } |
1868 | else |
1978 | else |
1869 | { echo "$as_me:$LINENO: result: no" >&5 |
1979 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
1870 | echo "${ECHO_T}no" >&6; } |
1980 | $as_echo "no" >&6; } |
1871 | fi |
1981 | fi |
1872 | |
1982 | |
1873 | |
1983 | |
1874 | test -n "$CC" && break |
1984 | test -n "$CC" && break |
1875 | done |
1985 | done |
… | |
… | |
1878 | ac_ct_CC=$CC |
1988 | ac_ct_CC=$CC |
1879 | for ac_prog in cl.exe |
1989 | for ac_prog in cl.exe |
1880 | do |
1990 | do |
1881 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
1991 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
1882 | set dummy $ac_prog; ac_word=$2 |
1992 | set dummy $ac_prog; ac_word=$2 |
1883 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1993 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1884 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
1994 | $as_echo_n "checking for $ac_word... " >&6; } |
1885 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
1995 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : |
1886 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
1996 | $as_echo_n "(cached) " >&6 |
1887 | else |
1997 | else |
1888 | if test -n "$ac_ct_CC"; then |
1998 | if test -n "$ac_ct_CC"; then |
1889 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
1999 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
1890 | else |
2000 | else |
1891 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2001 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1892 | for as_dir in $PATH |
2002 | for as_dir in $PATH |
1893 | do |
2003 | do |
1894 | IFS=$as_save_IFS |
2004 | IFS=$as_save_IFS |
1895 | test -z "$as_dir" && as_dir=. |
2005 | test -z "$as_dir" && as_dir=. |
1896 | for ac_exec_ext in '' $ac_executable_extensions; do |
2006 | 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 |
2007 | 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" |
2008 | ac_cv_prog_ac_ct_CC="$ac_prog" |
1899 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2009 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1900 | break 2 |
2010 | break 2 |
1901 | fi |
2011 | fi |
1902 | done |
2012 | done |
1903 | done |
2013 | done |
1904 | IFS=$as_save_IFS |
2014 | IFS=$as_save_IFS |
1905 | |
2015 | |
1906 | fi |
2016 | fi |
1907 | fi |
2017 | fi |
1908 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
2018 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
1909 | if test -n "$ac_ct_CC"; then |
2019 | if test -n "$ac_ct_CC"; then |
1910 | { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
2020 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
1911 | echo "${ECHO_T}$ac_ct_CC" >&6; } |
2021 | $as_echo "$ac_ct_CC" >&6; } |
1912 | else |
2022 | else |
1913 | { echo "$as_me:$LINENO: result: no" >&5 |
2023 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
1914 | echo "${ECHO_T}no" >&6; } |
2024 | $as_echo "no" >&6; } |
1915 | fi |
2025 | fi |
1916 | |
2026 | |
1917 | |
2027 | |
1918 | test -n "$ac_ct_CC" && break |
2028 | test -n "$ac_ct_CC" && break |
1919 | done |
2029 | done |
… | |
… | |
1921 | if test "x$ac_ct_CC" = x; then |
2031 | if test "x$ac_ct_CC" = x; then |
1922 | CC="" |
2032 | CC="" |
1923 | else |
2033 | else |
1924 | case $cross_compiling:$ac_tool_warned in |
2034 | case $cross_compiling:$ac_tool_warned in |
1925 | yes:) |
2035 | yes:) |
1926 | { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
2036 | { $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 |
2037 | $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 ;; |
2038 | ac_tool_warned=yes ;; |
1933 | esac |
2039 | esac |
1934 | CC=$ac_ct_CC |
2040 | CC=$ac_ct_CC |
1935 | fi |
2041 | fi |
1936 | fi |
2042 | fi |
1937 | |
2043 | |
1938 | fi |
2044 | fi |
1939 | |
2045 | |
1940 | |
2046 | |
1941 | test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH |
2047 | test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
1942 | See \`config.log' for more details." >&5 |
2048 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
1943 | echo "$as_me: error: no acceptable C compiler found in \$PATH |
2049 | as_fn_error $? "no acceptable C compiler found in \$PATH |
1944 | See \`config.log' for more details." >&2;} |
2050 | See \`config.log' for more details" "$LINENO" 5 ; } |
1945 | { (exit 1); exit 1; }; } |
|
|
1946 | |
2051 | |
1947 | # Provide some information about the compiler. |
2052 | # Provide some information about the compiler. |
1948 | echo "$as_me:$LINENO: checking for C compiler version" >&5 |
2053 | $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
1949 | ac_compiler=`set X $ac_compile; echo $2` |
2054 | set X $ac_compile |
|
|
2055 | ac_compiler=$2 |
|
|
2056 | for ac_option in --version -v -V -qversion; do |
1950 | { (ac_try="$ac_compiler --version >&5" |
2057 | { { ac_try="$ac_compiler $ac_option >&5" |
1951 | case "(($ac_try" in |
2058 | case "(($ac_try" in |
1952 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2059 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
1953 | *) ac_try_echo=$ac_try;; |
2060 | *) ac_try_echo=$ac_try;; |
1954 | esac |
2061 | esac |
1955 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
2062 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
1956 | (eval "$ac_compiler --version >&5") 2>&5 |
2063 | $as_echo "$ac_try_echo"; } >&5 |
|
|
2064 | (eval "$ac_compiler $ac_option >&5") 2>conftest.err |
1957 | ac_status=$? |
2065 | ac_status=$? |
|
|
2066 | if test -s conftest.err; then |
|
|
2067 | sed '10a\ |
|
|
2068 | ... rest of stderr output deleted ... |
|
|
2069 | 10q' conftest.err >conftest.er1 |
|
|
2070 | cat conftest.er1 >&5 |
|
|
2071 | fi |
|
|
2072 | rm -f conftest.er1 conftest.err |
1958 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2073 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
1959 | (exit $ac_status); } |
2074 | test $ac_status = 0; } |
1960 | { (ac_try="$ac_compiler -v >&5" |
2075 | done |
|
|
2076 | |
|
|
2077 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
2078 | /* end confdefs.h. */ |
|
|
2079 | |
|
|
2080 | int |
|
|
2081 | main () |
|
|
2082 | { |
|
|
2083 | |
|
|
2084 | ; |
|
|
2085 | return 0; |
|
|
2086 | } |
|
|
2087 | _ACEOF |
|
|
2088 | ac_clean_files_save=$ac_clean_files |
|
|
2089 | ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" |
|
|
2090 | # Try to create an executable without -o first, disregard a.out. |
|
|
2091 | # It will help us diagnose broken compilers, and finding out an intuition |
|
|
2092 | # of exeext. |
|
|
2093 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 |
|
|
2094 | $as_echo_n "checking whether the C compiler works... " >&6; } |
|
|
2095 | ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
|
|
2096 | |
|
|
2097 | # The possible output files: |
|
|
2098 | ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" |
|
|
2099 | |
|
|
2100 | ac_rmfiles= |
|
|
2101 | for ac_file in $ac_files |
|
|
2102 | do |
|
|
2103 | case $ac_file in |
|
|
2104 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
|
|
2105 | * ) ac_rmfiles="$ac_rmfiles $ac_file";; |
|
|
2106 | esac |
|
|
2107 | done |
|
|
2108 | rm -f $ac_rmfiles |
|
|
2109 | |
|
|
2110 | if { { ac_try="$ac_link_default" |
1961 | case "(($ac_try" in |
2111 | case "(($ac_try" in |
1962 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2112 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
1963 | *) ac_try_echo=$ac_try;; |
2113 | *) ac_try_echo=$ac_try;; |
1964 | esac |
2114 | esac |
1965 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
2115 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
1966 | (eval "$ac_compiler -v >&5") 2>&5 |
2116 | $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 |
2117 | (eval "$ac_link_default") 2>&5 |
2030 | ac_status=$? |
2118 | ac_status=$? |
2031 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2119 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
2032 | (exit $ac_status); }; then |
2120 | test $ac_status = 0; }; then : |
2033 | # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. |
2121 | # 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' |
2122 | # 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, |
2123 | # 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 |
2124 | # so that the user can short-circuit this test for compilers unknown to |
2037 | # Autoconf. |
2125 | # Autoconf. |
2038 | for ac_file in $ac_files '' |
2126 | for ac_file in $ac_files '' |
2039 | do |
2127 | do |
2040 | test -f "$ac_file" || continue |
2128 | test -f "$ac_file" || continue |
2041 | case $ac_file in |
2129 | case $ac_file in |
2042 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) |
2130 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) |
2043 | ;; |
2131 | ;; |
2044 | [ab].out ) |
2132 | [ab].out ) |
2045 | # We found the default executable, but exeext='' is most |
2133 | # We found the default executable, but exeext='' is most |
2046 | # certainly right. |
2134 | # certainly right. |
2047 | break;; |
2135 | break;; |
2048 | *.* ) |
2136 | *.* ) |
2049 | if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; |
2137 | if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; |
2050 | then :; else |
2138 | then :; else |
2051 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
2139 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
2052 | fi |
2140 | fi |
2053 | # We set ac_cv_exeext here because the later test for it is not |
2141 | # 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' |
2142 | # safe: cross compilers may not add the suffix if given an `-o' |
… | |
… | |
2063 | test "$ac_cv_exeext" = no && ac_cv_exeext= |
2151 | test "$ac_cv_exeext" = no && ac_cv_exeext= |
2064 | |
2152 | |
2065 | else |
2153 | else |
2066 | ac_file='' |
2154 | ac_file='' |
2067 | fi |
2155 | 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 |
2156 | if test -z "$ac_file"; then : |
|
|
2157 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
2158 | $as_echo "no" >&6; } |
2072 | echo "$as_me: failed program was:" >&5 |
2159 | $as_echo "$as_me: failed program was:" >&5 |
2073 | sed 's/^/| /' conftest.$ac_ext >&5 |
2160 | sed 's/^/| /' conftest.$ac_ext >&5 |
2074 | |
2161 | |
2075 | { { echo "$as_me:$LINENO: error: C compiler cannot create executables |
2162 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2076 | See \`config.log' for more details." >&5 |
2163 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2077 | echo "$as_me: error: C compiler cannot create executables |
2164 | as_fn_error 77 "C compiler cannot create executables |
2078 | See \`config.log' for more details." >&2;} |
2165 | See \`config.log' for more details" "$LINENO" 5 ; } |
2079 | { (exit 77); exit 77; }; } |
2166 | else |
|
|
2167 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
|
2168 | $as_echo "yes" >&6; } |
2080 | fi |
2169 | fi |
2081 | |
2170 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 |
|
|
2171 | $as_echo_n "checking for C compiler default output file name... " >&6; } |
|
|
2172 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 |
|
|
2173 | $as_echo "$ac_file" >&6; } |
2082 | ac_exeext=$ac_cv_exeext |
2174 | ac_exeext=$ac_cv_exeext |
2083 | |
2175 | |
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 |
2176 | rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out |
2120 | ac_clean_files=$ac_clean_files_save |
2177 | 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 |
2178 | { $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; } |
2179 | $as_echo_n "checking for suffix of executables... " >&6; } |
2130 | if { (ac_try="$ac_link" |
2180 | if { { ac_try="$ac_link" |
2131 | case "(($ac_try" in |
2181 | case "(($ac_try" in |
2132 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2182 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2133 | *) ac_try_echo=$ac_try;; |
2183 | *) ac_try_echo=$ac_try;; |
2134 | esac |
2184 | esac |
2135 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
2185 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
|
2186 | $as_echo "$ac_try_echo"; } >&5 |
2136 | (eval "$ac_link") 2>&5 |
2187 | (eval "$ac_link") 2>&5 |
2137 | ac_status=$? |
2188 | ac_status=$? |
2138 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2189 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
2139 | (exit $ac_status); }; then |
2190 | test $ac_status = 0; }; then : |
2140 | # If both `conftest.exe' and `conftest' are `present' (well, observable) |
2191 | # If both `conftest.exe' and `conftest' are `present' (well, observable) |
2141 | # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
2192 | # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
2142 | # work properly (i.e., refer to `conftest.exe'), while it won't with |
2193 | # work properly (i.e., refer to `conftest.exe'), while it won't with |
2143 | # `rm'. |
2194 | # `rm'. |
2144 | for ac_file in conftest.exe conftest conftest.*; do |
2195 | for ac_file in conftest.exe conftest conftest.*; do |
2145 | test -f "$ac_file" || continue |
2196 | test -f "$ac_file" || continue |
2146 | case $ac_file in |
2197 | case $ac_file in |
2147 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; |
2198 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
2148 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
2199 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
2149 | break;; |
2200 | break;; |
2150 | * ) break;; |
2201 | * ) break;; |
2151 | esac |
2202 | esac |
2152 | done |
2203 | done |
2153 | else |
2204 | else |
2154 | { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link |
2205 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2155 | See \`config.log' for more details." >&5 |
2206 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2156 | echo "$as_me: error: cannot compute suffix of executables: cannot compile and link |
2207 | as_fn_error $? "cannot compute suffix of executables: cannot compile and link |
2157 | See \`config.log' for more details." >&2;} |
2208 | See \`config.log' for more details" "$LINENO" 5 ; } |
2158 | { (exit 1); exit 1; }; } |
|
|
2159 | fi |
2209 | fi |
2160 | |
|
|
2161 | rm -f conftest$ac_cv_exeext |
2210 | rm -f conftest conftest$ac_cv_exeext |
2162 | { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 |
2211 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
2163 | echo "${ECHO_T}$ac_cv_exeext" >&6; } |
2212 | $as_echo "$ac_cv_exeext" >&6; } |
2164 | |
2213 | |
2165 | rm -f conftest.$ac_ext |
2214 | rm -f conftest.$ac_ext |
2166 | EXEEXT=$ac_cv_exeext |
2215 | EXEEXT=$ac_cv_exeext |
2167 | ac_exeext=$EXEEXT |
2216 | 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 |
2217 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2177 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
2178 | /* end confdefs.h. */ |
2218 | /* end confdefs.h. */ |
2179 | |
2219 | #include <stdio.h> |
2180 | int |
2220 | int |
2181 | main () |
2221 | main () |
2182 | { |
2222 | { |
|
|
2223 | FILE *f = fopen ("conftest.out", "w"); |
|
|
2224 | return ferror (f) || fclose (f) != 0; |
2183 | |
2225 | |
2184 | ; |
2226 | ; |
2185 | return 0; |
2227 | return 0; |
2186 | } |
2228 | } |
2187 | _ACEOF |
2229 | _ACEOF |
2188 | rm -f conftest.o conftest.obj |
2230 | ac_clean_files="$ac_clean_files conftest.out" |
2189 | if { (ac_try="$ac_compile" |
2231 | # Check that the compiler produces executables we can run. If not, either |
|
|
2232 | # the compiler is broken, or we cross compile. |
|
|
2233 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 |
|
|
2234 | $as_echo_n "checking whether we are cross compiling... " >&6; } |
|
|
2235 | if test "$cross_compiling" != yes; then |
|
|
2236 | { { ac_try="$ac_link" |
2190 | case "(($ac_try" in |
2237 | case "(($ac_try" in |
2191 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2238 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2192 | *) ac_try_echo=$ac_try;; |
2239 | *) ac_try_echo=$ac_try;; |
2193 | esac |
2240 | esac |
2194 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
2241 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
|
2242 | $as_echo "$ac_try_echo"; } >&5 |
|
|
2243 | (eval "$ac_link") 2>&5 |
|
|
2244 | ac_status=$? |
|
|
2245 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
|
2246 | test $ac_status = 0; } |
|
|
2247 | if { ac_try='./conftest$ac_cv_exeext' |
|
|
2248 | { { case "(($ac_try" in |
|
|
2249 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
2250 | *) ac_try_echo=$ac_try;; |
|
|
2251 | esac |
|
|
2252 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
|
2253 | $as_echo "$ac_try_echo"; } >&5 |
|
|
2254 | (eval "$ac_try") 2>&5 |
|
|
2255 | ac_status=$? |
|
|
2256 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
|
2257 | test $ac_status = 0; }; }; then |
|
|
2258 | cross_compiling=no |
|
|
2259 | else |
|
|
2260 | if test "$cross_compiling" = maybe; then |
|
|
2261 | cross_compiling=yes |
|
|
2262 | else |
|
|
2263 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
|
2264 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
|
2265 | as_fn_error $? "cannot run C compiled programs. |
|
|
2266 | If you meant to cross compile, use \`--host'. |
|
|
2267 | See \`config.log' for more details" "$LINENO" 5 ; } |
|
|
2268 | fi |
|
|
2269 | fi |
|
|
2270 | fi |
|
|
2271 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
|
|
2272 | $as_echo "$cross_compiling" >&6; } |
|
|
2273 | |
|
|
2274 | rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out |
|
|
2275 | ac_clean_files=$ac_clean_files_save |
|
|
2276 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 |
|
|
2277 | $as_echo_n "checking for suffix of object files... " >&6; } |
|
|
2278 | if test "${ac_cv_objext+set}" = set; then : |
|
|
2279 | $as_echo_n "(cached) " >&6 |
|
|
2280 | else |
|
|
2281 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
2282 | /* end confdefs.h. */ |
|
|
2283 | |
|
|
2284 | int |
|
|
2285 | main () |
|
|
2286 | { |
|
|
2287 | |
|
|
2288 | ; |
|
|
2289 | return 0; |
|
|
2290 | } |
|
|
2291 | _ACEOF |
|
|
2292 | rm -f conftest.o conftest.obj |
|
|
2293 | if { { ac_try="$ac_compile" |
|
|
2294 | case "(($ac_try" in |
|
|
2295 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
2296 | *) ac_try_echo=$ac_try;; |
|
|
2297 | esac |
|
|
2298 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
|
2299 | $as_echo "$ac_try_echo"; } >&5 |
2195 | (eval "$ac_compile") 2>&5 |
2300 | (eval "$ac_compile") 2>&5 |
2196 | ac_status=$? |
2301 | ac_status=$? |
2197 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2302 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
2198 | (exit $ac_status); }; then |
2303 | test $ac_status = 0; }; then : |
2199 | for ac_file in conftest.o conftest.obj conftest.*; do |
2304 | for ac_file in conftest.o conftest.obj conftest.*; do |
2200 | test -f "$ac_file" || continue; |
2305 | test -f "$ac_file" || continue; |
2201 | case $ac_file in |
2306 | case $ac_file in |
2202 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; |
2307 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; |
2203 | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
2308 | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
2204 | break;; |
2309 | break;; |
2205 | esac |
2310 | esac |
2206 | done |
2311 | done |
2207 | else |
2312 | else |
2208 | echo "$as_me: failed program was:" >&5 |
2313 | $as_echo "$as_me: failed program was:" >&5 |
2209 | sed 's/^/| /' conftest.$ac_ext >&5 |
2314 | sed 's/^/| /' conftest.$ac_ext >&5 |
2210 | |
2315 | |
2211 | { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile |
2316 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2212 | See \`config.log' for more details." >&5 |
2317 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2213 | echo "$as_me: error: cannot compute suffix of object files: cannot compile |
2318 | as_fn_error $? "cannot compute suffix of object files: cannot compile |
2214 | See \`config.log' for more details." >&2;} |
2319 | See \`config.log' for more details" "$LINENO" 5 ; } |
2215 | { (exit 1); exit 1; }; } |
|
|
2216 | fi |
2320 | fi |
2217 | |
|
|
2218 | rm -f conftest.$ac_cv_objext conftest.$ac_ext |
2321 | rm -f conftest.$ac_cv_objext conftest.$ac_ext |
2219 | fi |
2322 | fi |
2220 | { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 |
2323 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 |
2221 | echo "${ECHO_T}$ac_cv_objext" >&6; } |
2324 | $as_echo "$ac_cv_objext" >&6; } |
2222 | OBJEXT=$ac_cv_objext |
2325 | OBJEXT=$ac_cv_objext |
2223 | ac_objext=$OBJEXT |
2326 | ac_objext=$OBJEXT |
2224 | { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 |
2327 | { $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; } |
2328 | $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
2226 | if test "${ac_cv_c_compiler_gnu+set}" = set; then |
2329 | if test "${ac_cv_c_compiler_gnu+set}" = set; then : |
2227 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2330 | $as_echo_n "(cached) " >&6 |
2228 | else |
2331 | else |
2229 | cat >conftest.$ac_ext <<_ACEOF |
|
|
2230 | /* confdefs.h. */ |
|
|
2231 | _ACEOF |
|
|
2232 | cat confdefs.h >>conftest.$ac_ext |
2332 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2233 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
2234 | /* end confdefs.h. */ |
2333 | /* end confdefs.h. */ |
2235 | |
2334 | |
2236 | int |
2335 | int |
2237 | main () |
2336 | main () |
2238 | { |
2337 | { |
… | |
… | |
2242 | |
2341 | |
2243 | ; |
2342 | ; |
2244 | return 0; |
2343 | return 0; |
2245 | } |
2344 | } |
2246 | _ACEOF |
2345 | _ACEOF |
2247 | rm -f conftest.$ac_objext |
2346 | 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 |
2347 | ac_compiler_gnu=yes |
2265 | else |
2348 | else |
2266 | echo "$as_me: failed program was:" >&5 |
|
|
2267 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
2268 | |
|
|
2269 | ac_compiler_gnu=no |
2349 | ac_compiler_gnu=no |
2270 | fi |
2350 | fi |
2271 | |
|
|
2272 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2351 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2273 | ac_cv_c_compiler_gnu=$ac_compiler_gnu |
2352 | ac_cv_c_compiler_gnu=$ac_compiler_gnu |
2274 | |
2353 | |
2275 | fi |
2354 | fi |
2276 | { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
2355 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 |
2277 | echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } |
2356 | $as_echo "$ac_cv_c_compiler_gnu" >&6; } |
2278 | GCC=`test $ac_compiler_gnu = yes && echo yes` |
2357 | if test $ac_compiler_gnu = yes; then |
|
|
2358 | GCC=yes |
|
|
2359 | else |
|
|
2360 | GCC= |
|
|
2361 | fi |
2279 | ac_test_CFLAGS=${CFLAGS+set} |
2362 | ac_test_CFLAGS=${CFLAGS+set} |
2280 | ac_save_CFLAGS=$CFLAGS |
2363 | ac_save_CFLAGS=$CFLAGS |
2281 | { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 |
2364 | { $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; } |
2365 | $as_echo_n "checking whether $CC accepts -g... " >&6; } |
2283 | if test "${ac_cv_prog_cc_g+set}" = set; then |
2366 | if test "${ac_cv_prog_cc_g+set}" = set; then : |
2284 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2367 | $as_echo_n "(cached) " >&6 |
2285 | else |
2368 | else |
2286 | ac_save_c_werror_flag=$ac_c_werror_flag |
2369 | ac_save_c_werror_flag=$ac_c_werror_flag |
2287 | ac_c_werror_flag=yes |
2370 | ac_c_werror_flag=yes |
2288 | ac_cv_prog_cc_g=no |
2371 | ac_cv_prog_cc_g=no |
2289 | CFLAGS="-g" |
2372 | CFLAGS="-g" |
2290 | cat >conftest.$ac_ext <<_ACEOF |
|
|
2291 | /* confdefs.h. */ |
|
|
2292 | _ACEOF |
|
|
2293 | cat confdefs.h >>conftest.$ac_ext |
2373 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2294 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
2295 | /* end confdefs.h. */ |
2374 | /* end confdefs.h. */ |
2296 | |
2375 | |
2297 | int |
2376 | int |
2298 | main () |
2377 | main () |
2299 | { |
2378 | { |
2300 | |
2379 | |
2301 | ; |
2380 | ; |
2302 | return 0; |
2381 | return 0; |
2303 | } |
2382 | } |
2304 | _ACEOF |
2383 | _ACEOF |
2305 | rm -f conftest.$ac_objext |
2384 | 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 |
2385 | ac_cv_prog_cc_g=yes |
2323 | else |
2386 | else |
2324 | echo "$as_me: failed program was:" >&5 |
|
|
2325 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
2326 | |
|
|
2327 | CFLAGS="" |
2387 | CFLAGS="" |
2328 | cat >conftest.$ac_ext <<_ACEOF |
|
|
2329 | /* confdefs.h. */ |
|
|
2330 | _ACEOF |
|
|
2331 | cat confdefs.h >>conftest.$ac_ext |
2388 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2332 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
2333 | /* end confdefs.h. */ |
2389 | /* end confdefs.h. */ |
2334 | |
2390 | |
2335 | int |
2391 | int |
2336 | main () |
2392 | main () |
2337 | { |
2393 | { |
2338 | |
2394 | |
2339 | ; |
2395 | ; |
2340 | return 0; |
2396 | return 0; |
2341 | } |
2397 | } |
2342 | _ACEOF |
2398 | _ACEOF |
2343 | rm -f conftest.$ac_objext |
2399 | 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 | |
2400 | |
|
|
2401 | else |
2365 | ac_c_werror_flag=$ac_save_c_werror_flag |
2402 | ac_c_werror_flag=$ac_save_c_werror_flag |
2366 | CFLAGS="-g" |
2403 | CFLAGS="-g" |
2367 | cat >conftest.$ac_ext <<_ACEOF |
|
|
2368 | /* confdefs.h. */ |
|
|
2369 | _ACEOF |
|
|
2370 | cat confdefs.h >>conftest.$ac_ext |
2404 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2371 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
2372 | /* end confdefs.h. */ |
2405 | /* end confdefs.h. */ |
2373 | |
2406 | |
2374 | int |
2407 | int |
2375 | main () |
2408 | main () |
2376 | { |
2409 | { |
2377 | |
2410 | |
2378 | ; |
2411 | ; |
2379 | return 0; |
2412 | return 0; |
2380 | } |
2413 | } |
2381 | _ACEOF |
2414 | _ACEOF |
2382 | rm -f conftest.$ac_objext |
2415 | 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 |
2416 | 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 |
2417 | fi |
2406 | |
|
|
2407 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2418 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2408 | fi |
2419 | fi |
2409 | |
|
|
2410 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2420 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2411 | fi |
2421 | fi |
2412 | |
|
|
2413 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2422 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2414 | ac_c_werror_flag=$ac_save_c_werror_flag |
2423 | ac_c_werror_flag=$ac_save_c_werror_flag |
2415 | fi |
2424 | fi |
2416 | { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
2425 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 |
2417 | echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } |
2426 | $as_echo "$ac_cv_prog_cc_g" >&6; } |
2418 | if test "$ac_test_CFLAGS" = set; then |
2427 | if test "$ac_test_CFLAGS" = set; then |
2419 | CFLAGS=$ac_save_CFLAGS |
2428 | CFLAGS=$ac_save_CFLAGS |
2420 | elif test $ac_cv_prog_cc_g = yes; then |
2429 | elif test $ac_cv_prog_cc_g = yes; then |
2421 | if test "$GCC" = yes; then |
2430 | if test "$GCC" = yes; then |
2422 | CFLAGS="-g -O2" |
2431 | CFLAGS="-g -O2" |
… | |
… | |
2428 | CFLAGS="-O2" |
2437 | CFLAGS="-O2" |
2429 | else |
2438 | else |
2430 | CFLAGS= |
2439 | CFLAGS= |
2431 | fi |
2440 | fi |
2432 | fi |
2441 | fi |
2433 | { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 |
2442 | { $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; } |
2443 | $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
2435 | if test "${ac_cv_prog_cc_c89+set}" = set; then |
2444 | if test "${ac_cv_prog_cc_c89+set}" = set; then : |
2436 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2445 | $as_echo_n "(cached) " >&6 |
2437 | else |
2446 | else |
2438 | ac_cv_prog_cc_c89=no |
2447 | ac_cv_prog_cc_c89=no |
2439 | ac_save_CC=$CC |
2448 | ac_save_CC=$CC |
2440 | cat >conftest.$ac_ext <<_ACEOF |
|
|
2441 | /* confdefs.h. */ |
|
|
2442 | _ACEOF |
|
|
2443 | cat confdefs.h >>conftest.$ac_ext |
2449 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2444 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
2445 | /* end confdefs.h. */ |
2450 | /* end confdefs.h. */ |
2446 | #include <stdarg.h> |
2451 | #include <stdarg.h> |
2447 | #include <stdio.h> |
2452 | #include <stdio.h> |
2448 | #include <sys/types.h> |
2453 | #include <sys/types.h> |
2449 | #include <sys/stat.h> |
2454 | #include <sys/stat.h> |
… | |
… | |
2496 | _ACEOF |
2501 | _ACEOF |
2497 | for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ |
2502 | for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ |
2498 | -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
2503 | -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
2499 | do |
2504 | do |
2500 | CC="$ac_save_CC $ac_arg" |
2505 | CC="$ac_save_CC $ac_arg" |
2501 | rm -f conftest.$ac_objext |
2506 | 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 |
2507 | 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 |
2508 | fi |
2525 | |
|
|
2526 | rm -f core conftest.err conftest.$ac_objext |
2509 | rm -f core conftest.err conftest.$ac_objext |
2527 | test "x$ac_cv_prog_cc_c89" != "xno" && break |
2510 | test "x$ac_cv_prog_cc_c89" != "xno" && break |
2528 | done |
2511 | done |
2529 | rm -f conftest.$ac_ext |
2512 | rm -f conftest.$ac_ext |
2530 | CC=$ac_save_CC |
2513 | CC=$ac_save_CC |
2531 | |
2514 | |
2532 | fi |
2515 | fi |
2533 | # AC_CACHE_VAL |
2516 | # AC_CACHE_VAL |
2534 | case "x$ac_cv_prog_cc_c89" in |
2517 | case "x$ac_cv_prog_cc_c89" in |
2535 | x) |
2518 | x) |
2536 | { echo "$as_me:$LINENO: result: none needed" >&5 |
2519 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
2537 | echo "${ECHO_T}none needed" >&6; } ;; |
2520 | $as_echo "none needed" >&6; } ;; |
2538 | xno) |
2521 | xno) |
2539 | { echo "$as_me:$LINENO: result: unsupported" >&5 |
2522 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
2540 | echo "${ECHO_T}unsupported" >&6; } ;; |
2523 | $as_echo "unsupported" >&6; } ;; |
2541 | *) |
2524 | *) |
2542 | CC="$CC $ac_cv_prog_cc_c89" |
2525 | CC="$CC $ac_cv_prog_cc_c89" |
2543 | { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 |
2526 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 |
2544 | echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; |
2527 | $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; |
2545 | esac |
2528 | esac |
|
|
2529 | if test "x$ac_cv_prog_cc_c89" != xno; then : |
2546 | |
2530 | |
|
|
2531 | fi |
2547 | |
2532 | |
2548 | ac_ext=c |
2533 | ac_ext=c |
2549 | ac_cpp='$CPP $CPPFLAGS' |
2534 | ac_cpp='$CPP $CPPFLAGS' |
2550 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
2535 | 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' |
2536 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
2552 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
2537 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
2553 | |
2538 | |
2554 | |
2539 | |
2555 | |
2540 | |
2556 | { echo "$as_me:$LINENO: checking for library containing pthread_create" >&5 |
2541 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pthread_create" >&5 |
2557 | echo $ECHO_N "checking for library containing pthread_create... $ECHO_C" >&6; } |
2542 | $as_echo_n "checking for library containing pthread_create... " >&6; } |
2558 | if test "${ac_cv_search_pthread_create+set}" = set; then |
2543 | if test "${ac_cv_search_pthread_create+set}" = set; then : |
2559 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2544 | $as_echo_n "(cached) " >&6 |
2560 | else |
2545 | else |
2561 | ac_func_search_save_LIBS=$LIBS |
2546 | ac_func_search_save_LIBS=$LIBS |
2562 | cat >conftest.$ac_ext <<_ACEOF |
|
|
2563 | /* confdefs.h. */ |
|
|
2564 | _ACEOF |
|
|
2565 | cat confdefs.h >>conftest.$ac_ext |
2547 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2566 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
2567 | /* end confdefs.h. */ |
2548 | /* end confdefs.h. */ |
2568 | |
2549 | |
2569 | /* Override any GCC internal prototype to avoid an error. |
2550 | /* Override any GCC internal prototype to avoid an error. |
2570 | Use char because int might match the return type of a GCC |
2551 | Use char because int might match the return type of a GCC |
2571 | builtin and then its argument prototype would still apply. */ |
2552 | builtin and then its argument prototype would still apply. */ |
… | |
… | |
2586 | ac_res="none required" |
2567 | ac_res="none required" |
2587 | else |
2568 | else |
2588 | ac_res=-l$ac_lib |
2569 | ac_res=-l$ac_lib |
2589 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
2570 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
2590 | fi |
2571 | fi |
2591 | rm -f conftest.$ac_objext conftest$ac_exeext |
2572 | if ac_fn_c_try_link "$LINENO"; then : |
2592 | if { (ac_try="$ac_link" |
|
|
2593 | case "(($ac_try" in |
|
|
2594 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
2595 | *) ac_try_echo=$ac_try;; |
|
|
2596 | esac |
|
|
2597 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
2598 | (eval "$ac_link") 2>conftest.er1 |
|
|
2599 | ac_status=$? |
|
|
2600 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
2601 | rm -f conftest.er1 |
|
|
2602 | cat conftest.err >&5 |
|
|
2603 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
2604 | (exit $ac_status); } && { |
|
|
2605 | test -z "$ac_c_werror_flag" || |
|
|
2606 | test ! -s conftest.err |
|
|
2607 | } && test -s conftest$ac_exeext && |
|
|
2608 | $as_test_x conftest$ac_exeext; then |
|
|
2609 | ac_cv_search_pthread_create=$ac_res |
2573 | ac_cv_search_pthread_create=$ac_res |
2610 | else |
|
|
2611 | echo "$as_me: failed program was:" >&5 |
|
|
2612 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
2613 | |
|
|
2614 | |
|
|
2615 | fi |
2574 | fi |
2616 | |
|
|
2617 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
2575 | rm -f core conftest.err conftest.$ac_objext \ |
2618 | conftest$ac_exeext |
2576 | conftest$ac_exeext |
2619 | if test "${ac_cv_search_pthread_create+set}" = set; then |
2577 | if test "${ac_cv_search_pthread_create+set}" = set; then : |
2620 | break |
2578 | break |
2621 | fi |
2579 | fi |
2622 | done |
2580 | done |
2623 | if test "${ac_cv_search_pthread_create+set}" = set; then |
2581 | if test "${ac_cv_search_pthread_create+set}" = set; then : |
2624 | : |
2582 | |
2625 | else |
2583 | else |
2626 | ac_cv_search_pthread_create=no |
2584 | ac_cv_search_pthread_create=no |
2627 | fi |
2585 | fi |
2628 | rm conftest.$ac_ext |
2586 | rm conftest.$ac_ext |
2629 | LIBS=$ac_func_search_save_LIBS |
2587 | LIBS=$ac_func_search_save_LIBS |
2630 | fi |
2588 | fi |
2631 | { echo "$as_me:$LINENO: result: $ac_cv_search_pthread_create" >&5 |
2589 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pthread_create" >&5 |
2632 | echo "${ECHO_T}$ac_cv_search_pthread_create" >&6; } |
2590 | $as_echo "$ac_cv_search_pthread_create" >&6; } |
2633 | ac_res=$ac_cv_search_pthread_create |
2591 | ac_res=$ac_cv_search_pthread_create |
2634 | if test "$ac_res" != no; then |
2592 | if test "$ac_res" != no; then : |
2635 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
2593 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
2636 | |
2594 | |
2637 | else |
2595 | else |
2638 | { { echo "$as_me:$LINENO: error: pthread functions not found" >&5 |
2596 | as_fn_error $? "pthread functions not found" "$LINENO" 5 |
2639 | echo "$as_me: error: pthread functions not found" >&2;} |
|
|
2640 | { (exit 1); exit 1; }; } |
|
|
2641 | |
2597 | |
2642 | fi |
2598 | fi |
2643 | |
2599 | |
2644 | |
2600 | |
2645 | { echo "$as_me:$LINENO: checking for futimes" >&5 |
2601 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for futimes" >&5 |
2646 | echo $ECHO_N "checking for futimes... $ECHO_C" >&6; } |
2602 | $as_echo_n "checking for futimes... " >&6; } |
2647 | if test "${ac_cv_futimes+set}" = set; then |
2603 | if test "${ac_cv_futimes+set}" = set; then : |
2648 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2604 | $as_echo_n "(cached) " >&6 |
2649 | else |
2605 | else |
2650 | cat >conftest.$ac_ext <<_ACEOF |
2606 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
2607 | /* end confdefs.h. */ |
2651 | |
2608 | |
2652 | #include <sys/types.h> |
2609 | #include <sys/types.h> |
2653 | #include <sys/time.h> |
2610 | #include <sys/time.h> |
2654 | #include <utime.h> |
2611 | #include <utime.h> |
2655 | struct timeval tv[2]; |
2612 | struct timeval tv[2]; |
2656 | int res; |
2613 | int res; |
2657 | int fd; |
2614 | int fd; |
2658 | int main(void) |
2615 | int main (void) |
2659 | { |
2616 | { |
2660 | res = futimes (fd, tv); |
2617 | res = futimes (fd, tv); |
2661 | return 0; |
2618 | return 0; |
2662 | } |
2619 | } |
2663 | |
2620 | |
2664 | _ACEOF |
2621 | _ACEOF |
2665 | rm -f conftest.$ac_objext conftest$ac_exeext |
2622 | if ac_fn_c_try_link "$LINENO"; then : |
2666 | if { (ac_try="$ac_link" |
|
|
2667 | case "(($ac_try" in |
|
|
2668 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
2669 | *) ac_try_echo=$ac_try;; |
|
|
2670 | esac |
|
|
2671 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
2672 | (eval "$ac_link") 2>conftest.er1 |
|
|
2673 | ac_status=$? |
|
|
2674 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
2675 | rm -f conftest.er1 |
|
|
2676 | cat conftest.err >&5 |
|
|
2677 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
2678 | (exit $ac_status); } && { |
|
|
2679 | test -z "$ac_c_werror_flag" || |
|
|
2680 | test ! -s conftest.err |
|
|
2681 | } && test -s conftest$ac_exeext && |
|
|
2682 | $as_test_x conftest$ac_exeext; then |
|
|
2683 | ac_cv_futimes=yes |
2623 | ac_cv_futimes=yes |
2684 | else |
2624 | else |
2685 | echo "$as_me: failed program was:" >&5 |
|
|
2686 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
2687 | |
|
|
2688 | ac_cv_futimes=no |
2625 | ac_cv_futimes=no |
2689 | fi |
2626 | fi |
2690 | |
|
|
2691 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
2627 | rm -f core conftest.err conftest.$ac_objext \ |
2692 | conftest$ac_exeext conftest.$ac_ext |
2628 | conftest$ac_exeext conftest.$ac_ext |
2693 | fi |
2629 | fi |
2694 | { echo "$as_me:$LINENO: result: $ac_cv_futimes" >&5 |
2630 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_futimes" >&5 |
2695 | echo "${ECHO_T}$ac_cv_futimes" >&6; } |
2631 | $as_echo "$ac_cv_futimes" >&6; } |
2696 | test $ac_cv_futimes = yes && |
2632 | test $ac_cv_futimes = yes && |
2697 | cat >>confdefs.h <<\_ACEOF |
2633 | $as_echo "#define HAVE_FUTIMES 1" >>confdefs.h |
2698 | #define HAVE_FUTIMES 1 |
|
|
2699 | _ACEOF |
|
|
2700 | |
2634 | |
2701 | |
2635 | |
2702 | { echo "$as_me:$LINENO: checking for readahead" >&5 |
2636 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readahead" >&5 |
2703 | echo $ECHO_N "checking for readahead... $ECHO_C" >&6; } |
2637 | $as_echo_n "checking for readahead... " >&6; } |
2704 | if test "${ac_cv_readahead+set}" = set; then |
2638 | if test "${ac_cv_readahead+set}" = set; then : |
2705 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2639 | $as_echo_n "(cached) " >&6 |
2706 | else |
2640 | else |
2707 | cat >conftest.$ac_ext <<_ACEOF |
2641 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
2642 | /* end confdefs.h. */ |
2708 | |
2643 | |
2709 | #include <fcntl.h> |
2644 | #include <fcntl.h> |
2710 | int main(void) |
2645 | int main (void) |
2711 | { |
2646 | { |
2712 | int fd = 0; |
2647 | int fd = 0; |
2713 | size_t count = 2; |
2648 | size_t count = 2; |
2714 | ssize_t res; |
2649 | ssize_t res; |
2715 | res = readahead (fd, 0, count); |
2650 | res = readahead (fd, 0, count); |
2716 | return 0; |
2651 | return 0; |
2717 | } |
2652 | } |
2718 | |
2653 | |
2719 | _ACEOF |
2654 | _ACEOF |
2720 | rm -f conftest.$ac_objext conftest$ac_exeext |
2655 | if ac_fn_c_try_link "$LINENO"; then : |
2721 | if { (ac_try="$ac_link" |
|
|
2722 | case "(($ac_try" in |
|
|
2723 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
2724 | *) ac_try_echo=$ac_try;; |
|
|
2725 | esac |
|
|
2726 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
2727 | (eval "$ac_link") 2>conftest.er1 |
|
|
2728 | ac_status=$? |
|
|
2729 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
2730 | rm -f conftest.er1 |
|
|
2731 | cat conftest.err >&5 |
|
|
2732 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
2733 | (exit $ac_status); } && { |
|
|
2734 | test -z "$ac_c_werror_flag" || |
|
|
2735 | test ! -s conftest.err |
|
|
2736 | } && test -s conftest$ac_exeext && |
|
|
2737 | $as_test_x conftest$ac_exeext; then |
|
|
2738 | ac_cv_readahead=yes |
2656 | ac_cv_readahead=yes |
2739 | else |
2657 | else |
2740 | echo "$as_me: failed program was:" >&5 |
|
|
2741 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
2742 | |
|
|
2743 | ac_cv_readahead=no |
2658 | ac_cv_readahead=no |
2744 | fi |
2659 | fi |
2745 | |
|
|
2746 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
2660 | rm -f core conftest.err conftest.$ac_objext \ |
2747 | conftest$ac_exeext conftest.$ac_ext |
2661 | conftest$ac_exeext conftest.$ac_ext |
2748 | fi |
2662 | fi |
2749 | { echo "$as_me:$LINENO: result: $ac_cv_readahead" >&5 |
2663 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_readahead" >&5 |
2750 | echo "${ECHO_T}$ac_cv_readahead" >&6; } |
2664 | $as_echo "$ac_cv_readahead" >&6; } |
2751 | test $ac_cv_readahead = yes && |
2665 | test $ac_cv_readahead = yes && |
2752 | cat >>confdefs.h <<\_ACEOF |
2666 | $as_echo "#define HAVE_READAHEAD 1" >>confdefs.h |
2753 | #define HAVE_READAHEAD 1 |
|
|
2754 | _ACEOF |
|
|
2755 | |
2667 | |
2756 | |
2668 | |
2757 | { echo "$as_me:$LINENO: checking for fdatasync" >&5 |
2669 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fdatasync" >&5 |
2758 | echo $ECHO_N "checking for fdatasync... $ECHO_C" >&6; } |
2670 | $as_echo_n "checking for fdatasync... " >&6; } |
2759 | if test "${ac_cv_fdatasync+set}" = set; then |
2671 | if test "${ac_cv_fdatasync+set}" = set; then : |
2760 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2672 | $as_echo_n "(cached) " >&6 |
2761 | else |
2673 | else |
2762 | cat >conftest.$ac_ext <<_ACEOF |
2674 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
2675 | /* end confdefs.h. */ |
2763 | |
2676 | |
2764 | #include <unistd.h> |
2677 | #include <unistd.h> |
2765 | int main(void) |
2678 | int main (void) |
2766 | { |
2679 | { |
2767 | int fd = 0; |
2680 | int fd = 0; |
2768 | fdatasync (fd); |
2681 | fdatasync (fd); |
2769 | return 0; |
2682 | return 0; |
2770 | } |
2683 | } |
2771 | |
2684 | |
2772 | _ACEOF |
2685 | _ACEOF |
2773 | rm -f conftest.$ac_objext conftest$ac_exeext |
2686 | if ac_fn_c_try_link "$LINENO"; then : |
2774 | if { (ac_try="$ac_link" |
|
|
2775 | case "(($ac_try" in |
|
|
2776 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
2777 | *) ac_try_echo=$ac_try;; |
|
|
2778 | esac |
|
|
2779 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
2780 | (eval "$ac_link") 2>conftest.er1 |
|
|
2781 | ac_status=$? |
|
|
2782 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
2783 | rm -f conftest.er1 |
|
|
2784 | cat conftest.err >&5 |
|
|
2785 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
2786 | (exit $ac_status); } && { |
|
|
2787 | test -z "$ac_c_werror_flag" || |
|
|
2788 | test ! -s conftest.err |
|
|
2789 | } && test -s conftest$ac_exeext && |
|
|
2790 | $as_test_x conftest$ac_exeext; then |
|
|
2791 | ac_cv_fdatasync=yes |
2687 | ac_cv_fdatasync=yes |
2792 | else |
2688 | else |
2793 | echo "$as_me: failed program was:" >&5 |
|
|
2794 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
2795 | |
|
|
2796 | ac_cv_fdatasync=no |
2689 | ac_cv_fdatasync=no |
2797 | fi |
2690 | fi |
2798 | |
|
|
2799 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
2691 | rm -f core conftest.err conftest.$ac_objext \ |
2800 | conftest$ac_exeext conftest.$ac_ext |
2692 | conftest$ac_exeext conftest.$ac_ext |
2801 | fi |
2693 | fi |
2802 | { echo "$as_me:$LINENO: result: $ac_cv_fdatasync" >&5 |
2694 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fdatasync" >&5 |
2803 | echo "${ECHO_T}$ac_cv_fdatasync" >&6; } |
2695 | $as_echo "$ac_cv_fdatasync" >&6; } |
2804 | test $ac_cv_fdatasync = yes && |
2696 | test $ac_cv_fdatasync = yes && |
2805 | cat >>confdefs.h <<\_ACEOF |
2697 | $as_echo "#define HAVE_FDATASYNC 1" >>confdefs.h |
2806 | #define HAVE_FDATASYNC 1 |
|
|
2807 | _ACEOF |
|
|
2808 | |
2698 | |
2809 | |
2699 | |
2810 | { echo "$as_me:$LINENO: checking for pread and pwrite" >&5 |
2700 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pread and pwrite" >&5 |
2811 | echo $ECHO_N "checking for pread and pwrite... $ECHO_C" >&6; } |
2701 | $as_echo_n "checking for pread and pwrite... " >&6; } |
2812 | if test "${ac_cv_preadwrite+set}" = set; then |
2702 | if test "${ac_cv_preadwrite+set}" = set; then : |
2813 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2703 | $as_echo_n "(cached) " >&6 |
2814 | else |
2704 | else |
2815 | cat >conftest.$ac_ext <<_ACEOF |
2705 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
2706 | /* end confdefs.h. */ |
2816 | |
2707 | |
2817 | #include <unistd.h> |
2708 | #include <unistd.h> |
2818 | int main(void) |
2709 | int main (void) |
2819 | { |
2710 | { |
2820 | int fd = 0; |
2711 | int fd = 0; |
2821 | size_t count = 1; |
2712 | size_t count = 1; |
2822 | char buf; |
2713 | char buf; |
2823 | off_t offset = 1; |
2714 | off_t offset = 1; |
… | |
… | |
2826 | res = pwrite (fd, &buf, count, offset); |
2717 | res = pwrite (fd, &buf, count, offset); |
2827 | return 0; |
2718 | return 0; |
2828 | } |
2719 | } |
2829 | |
2720 | |
2830 | _ACEOF |
2721 | _ACEOF |
2831 | rm -f conftest.$ac_objext conftest$ac_exeext |
2722 | if ac_fn_c_try_link "$LINENO"; then : |
2832 | if { (ac_try="$ac_link" |
|
|
2833 | case "(($ac_try" in |
|
|
2834 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
2835 | *) ac_try_echo=$ac_try;; |
|
|
2836 | esac |
|
|
2837 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
2838 | (eval "$ac_link") 2>conftest.er1 |
|
|
2839 | ac_status=$? |
|
|
2840 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
2841 | rm -f conftest.er1 |
|
|
2842 | cat conftest.err >&5 |
|
|
2843 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
2844 | (exit $ac_status); } && { |
|
|
2845 | test -z "$ac_c_werror_flag" || |
|
|
2846 | test ! -s conftest.err |
|
|
2847 | } && test -s conftest$ac_exeext && |
|
|
2848 | $as_test_x conftest$ac_exeext; then |
|
|
2849 | ac_cv_preadwrite=yes |
2723 | ac_cv_preadwrite=yes |
2850 | else |
2724 | else |
2851 | echo "$as_me: failed program was:" >&5 |
|
|
2852 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
2853 | |
|
|
2854 | ac_cv_preadwrite=no |
2725 | ac_cv_preadwrite=no |
2855 | fi |
2726 | fi |
2856 | |
|
|
2857 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
2727 | rm -f core conftest.err conftest.$ac_objext \ |
2858 | conftest$ac_exeext conftest.$ac_ext |
2728 | conftest$ac_exeext conftest.$ac_ext |
2859 | fi |
2729 | fi |
2860 | { echo "$as_me:$LINENO: result: $ac_cv_preadwrite" >&5 |
2730 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_preadwrite" >&5 |
2861 | echo "${ECHO_T}$ac_cv_preadwrite" >&6; } |
2731 | $as_echo "$ac_cv_preadwrite" >&6; } |
2862 | test $ac_cv_preadwrite = yes && |
2732 | test $ac_cv_preadwrite = yes && |
2863 | cat >>confdefs.h <<\_ACEOF |
2733 | $as_echo "#define HAVE_PREADWRITE 1" >>confdefs.h |
2864 | #define HAVE_PREADWRITE 1 |
|
|
2865 | _ACEOF |
|
|
2866 | |
2734 | |
2867 | |
2735 | |
2868 | { echo "$as_me:$LINENO: checking for sendfile" >&5 |
2736 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sendfile" >&5 |
2869 | echo $ECHO_N "checking for sendfile... $ECHO_C" >&6; } |
2737 | $as_echo_n "checking for sendfile... " >&6; } |
2870 | if test "${ac_cv_sendfile+set}" = set; then |
2738 | if test "${ac_cv_sendfile+set}" = set; then : |
2871 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2739 | $as_echo_n "(cached) " >&6 |
2872 | else |
2740 | else |
2873 | cat >conftest.$ac_ext <<_ACEOF |
2741 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
2742 | /* end confdefs.h. */ |
2874 | |
2743 | |
2875 | # include <sys/types.h> |
2744 | # include <sys/types.h> |
2876 | #if __linux |
2745 | #if __linux |
2877 | # include <sys/sendfile.h> |
2746 | # include <sys/sendfile.h> |
2878 | #elif __freebsd |
2747 | #elif __FreeBSD__ || defined __APPLE__ |
2879 | # include <sys/socket.h> |
2748 | # include <sys/socket.h> |
2880 | # include <sys/uio.h> |
2749 | # include <sys/uio.h> |
2881 | #elif __hpux |
2750 | #elif __hpux |
2882 | # include <sys/socket.h> |
2751 | # include <sys/socket.h> |
2883 | #else |
2752 | #else |
2884 | # error unsupported architecture |
2753 | # error unsupported architecture |
2885 | #endif |
2754 | #endif |
2886 | int main(void) |
2755 | int main (void) |
2887 | { |
2756 | { |
2888 | int fd = 0; |
2757 | int fd = 0; |
2889 | off_t offset = 1; |
2758 | off_t offset = 1; |
2890 | size_t count = 2; |
2759 | size_t count = 2; |
2891 | ssize_t res; |
2760 | ssize_t res; |
2892 | #if __linux |
2761 | #if __linux |
2893 | res = sendfile (fd, fd, offset, count); |
2762 | res = sendfile (fd, fd, offset, count); |
2894 | #elif __freebsd |
2763 | #elif __FreeBSD__ |
2895 | res = sendfile (fd, fd, offset, count, 0, &offset, 0); |
2764 | res = sendfile (fd, fd, offset, count, 0, &offset, 0); |
2896 | #elif __hpux |
2765 | #elif __hpux |
2897 | res = sendfile (fd, fd, offset, count, 0, 0); |
2766 | res = sendfile (fd, fd, offset, count, 0, 0); |
2898 | #endif |
2767 | #endif |
2899 | return 0; |
2768 | return 0; |
2900 | } |
2769 | } |
2901 | |
2770 | |
2902 | _ACEOF |
2771 | _ACEOF |
2903 | rm -f conftest.$ac_objext conftest$ac_exeext |
2772 | if ac_fn_c_try_link "$LINENO"; then : |
2904 | if { (ac_try="$ac_link" |
|
|
2905 | case "(($ac_try" in |
|
|
2906 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
2907 | *) ac_try_echo=$ac_try;; |
|
|
2908 | esac |
|
|
2909 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
2910 | (eval "$ac_link") 2>conftest.er1 |
|
|
2911 | ac_status=$? |
|
|
2912 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
2913 | rm -f conftest.er1 |
|
|
2914 | cat conftest.err >&5 |
|
|
2915 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
2916 | (exit $ac_status); } && { |
|
|
2917 | test -z "$ac_c_werror_flag" || |
|
|
2918 | test ! -s conftest.err |
|
|
2919 | } && test -s conftest$ac_exeext && |
|
|
2920 | $as_test_x conftest$ac_exeext; then |
|
|
2921 | ac_cv_sendfile=yes |
2773 | ac_cv_sendfile=yes |
2922 | else |
2774 | else |
2923 | echo "$as_me: failed program was:" >&5 |
|
|
2924 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
2925 | |
|
|
2926 | ac_cv_sendfile=no |
2775 | ac_cv_sendfile=no |
2927 | fi |
2776 | fi |
2928 | |
|
|
2929 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
2777 | rm -f core conftest.err conftest.$ac_objext \ |
2930 | conftest$ac_exeext conftest.$ac_ext |
2778 | conftest$ac_exeext conftest.$ac_ext |
2931 | fi |
2779 | fi |
2932 | { echo "$as_me:$LINENO: result: $ac_cv_sendfile" >&5 |
2780 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sendfile" >&5 |
2933 | echo "${ECHO_T}$ac_cv_sendfile" >&6; } |
2781 | $as_echo "$ac_cv_sendfile" >&6; } |
2934 | test $ac_cv_sendfile = yes && |
2782 | test $ac_cv_sendfile = yes && |
2935 | cat >>confdefs.h <<\_ACEOF |
2783 | $as_echo "#define HAVE_SENDFILE 1" >>confdefs.h |
2936 | #define HAVE_SENDFILE 1 |
|
|
2937 | _ACEOF |
|
|
2938 | |
2784 | |
2939 | |
2785 | |
|
|
2786 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sync_file_range" >&5 |
|
|
2787 | $as_echo_n "checking for sync_file_range... " >&6; } |
|
|
2788 | if test "${ac_cv_sync_file_range+set}" = set; then : |
|
|
2789 | $as_echo_n "(cached) " >&6 |
|
|
2790 | else |
|
|
2791 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
2792 | /* end confdefs.h. */ |
|
|
2793 | |
|
|
2794 | #include <fcntl.h> |
|
|
2795 | int main (void) |
|
|
2796 | { |
|
|
2797 | int fd = 0; |
|
|
2798 | off64_t offset = 1; |
|
|
2799 | off64_t nbytes = 1; |
|
|
2800 | unsigned int flags = SYNC_FILE_RANGE_WAIT_BEFORE|SYNC_FILE_RANGE_WRITE|SYNC_FILE_RANGE_WAIT_AFTER; |
|
|
2801 | ssize_t res; |
|
|
2802 | res = sync_file_range (fd, offset, nbytes, flags); |
|
|
2803 | return 0; |
|
|
2804 | } |
|
|
2805 | |
|
|
2806 | _ACEOF |
|
|
2807 | if ac_fn_c_try_link "$LINENO"; then : |
|
|
2808 | ac_cv_sync_file_range=yes |
|
|
2809 | else |
|
|
2810 | ac_cv_sync_file_range=no |
|
|
2811 | fi |
|
|
2812 | rm -f core conftest.err conftest.$ac_objext \ |
|
|
2813 | conftest$ac_exeext conftest.$ac_ext |
|
|
2814 | fi |
|
|
2815 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sync_file_range" >&5 |
|
|
2816 | $as_echo "$ac_cv_sync_file_range" >&6; } |
|
|
2817 | test $ac_cv_sync_file_range = yes && |
|
|
2818 | $as_echo "#define HAVE_SYNC_FILE_RANGE 1" >>confdefs.h |
|
|
2819 | |
|
|
2820 | |
|
|
2821 | |
|
|
2822 | |
|
|
2823 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for posix_madvise" >&5 |
|
|
2824 | $as_echo_n "checking for posix_madvise... " >&6; } |
|
|
2825 | if test "${ac_cv_posix_madvise+set}" = set; then : |
|
|
2826 | $as_echo_n "(cached) " >&6 |
|
|
2827 | else |
|
|
2828 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
2829 | /* end confdefs.h. */ |
|
|
2830 | |
|
|
2831 | #include <sys/mman.h> |
|
|
2832 | int main (void) |
|
|
2833 | { |
|
|
2834 | int res = posix_madvise ((void *)0, (size_t)0, POSIX_MADV_NORMAL); |
|
|
2835 | int a = POSIX_MADV_SEQUENTIAL; |
|
|
2836 | int b = POSIX_MADV_RANDOM; |
|
|
2837 | int c = POSIX_MADV_WILLNEED; |
|
|
2838 | int d = POSIX_MADV_DONTNEED; |
|
|
2839 | return 0; |
|
|
2840 | } |
|
|
2841 | |
|
|
2842 | _ACEOF |
|
|
2843 | if ac_fn_c_try_link "$LINENO"; then : |
|
|
2844 | ac_cv_posix_madvise=yes |
|
|
2845 | else |
|
|
2846 | ac_cv_posix_madvise=no |
|
|
2847 | fi |
|
|
2848 | rm -f core conftest.err conftest.$ac_objext \ |
|
|
2849 | conftest$ac_exeext conftest.$ac_ext |
|
|
2850 | fi |
|
|
2851 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_posix_madvise" >&5 |
|
|
2852 | $as_echo "$ac_cv_posix_madvise" >&6; } |
|
|
2853 | test $ac_cv_posix_madvise = yes && |
|
|
2854 | $as_echo "#define HAVE_POSIX_MADVISE 1" >>confdefs.h |
|
|
2855 | |
|
|
2856 | |
|
|
2857 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for posix_fadvise" >&5 |
|
|
2858 | $as_echo_n "checking for posix_fadvise... " >&6; } |
|
|
2859 | if test "${ac_cv_posix_fadvise+set}" = set; then : |
|
|
2860 | $as_echo_n "(cached) " >&6 |
|
|
2861 | else |
|
|
2862 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
2863 | /* end confdefs.h. */ |
|
|
2864 | |
|
|
2865 | #define _XOPEN_SOURCE 600 |
|
|
2866 | #include <fcntl.h> |
|
|
2867 | int main (void) |
|
|
2868 | { |
|
|
2869 | int res = posix_fadvise ((int)0, (off_t)0, (off_t)0, POSIX_FADV_NORMAL); |
|
|
2870 | int a = POSIX_FADV_SEQUENTIAL; |
|
|
2871 | int b = POSIX_FADV_NOREUSE; |
|
|
2872 | int c = POSIX_FADV_RANDOM; |
|
|
2873 | int d = POSIX_FADV_WILLNEED; |
|
|
2874 | int e = POSIX_FADV_DONTNEED; |
|
|
2875 | return 0; |
|
|
2876 | } |
|
|
2877 | |
|
|
2878 | _ACEOF |
|
|
2879 | if ac_fn_c_try_link "$LINENO"; then : |
|
|
2880 | ac_cv_posix_fadvise=yes |
|
|
2881 | else |
|
|
2882 | ac_cv_posix_fadvise=no |
|
|
2883 | fi |
|
|
2884 | rm -f core conftest.err conftest.$ac_objext \ |
|
|
2885 | conftest$ac_exeext conftest.$ac_ext |
|
|
2886 | fi |
|
|
2887 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_posix_fadvise" >&5 |
|
|
2888 | $as_echo "$ac_cv_posix_fadvise" >&6; } |
|
|
2889 | test $ac_cv_posix_fadvise = yes && |
|
|
2890 | $as_echo "#define HAVE_POSIX_FADVISE 1" >>confdefs.h |
2940 | |
2891 | |
2941 | |
2892 | |
2942 | cat >confcache <<\_ACEOF |
2893 | cat >confcache <<\_ACEOF |
2943 | # This file is a shell script that caches the results of configure |
2894 | # This file is a shell script that caches the results of configure |
2944 | # tests run on this system so they can be shared between configure |
2895 | # tests run on this system so they can be shared between configure |
… | |
… | |
2964 | for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do |
2915 | for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do |
2965 | eval ac_val=\$$ac_var |
2916 | eval ac_val=\$$ac_var |
2966 | case $ac_val in #( |
2917 | case $ac_val in #( |
2967 | *${as_nl}*) |
2918 | *${as_nl}*) |
2968 | case $ac_var in #( |
2919 | case $ac_var in #( |
2969 | *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 |
2920 | *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
2970 | echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; |
2921 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
2971 | esac |
2922 | esac |
2972 | case $ac_var in #( |
2923 | case $ac_var in #( |
2973 | _ | IFS | as_nl) ;; #( |
2924 | _ | IFS | as_nl) ;; #( |
2974 | *) $as_unset $ac_var ;; |
2925 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
|
|
2926 | *) { eval $ac_var=; unset $ac_var;} ;; |
2975 | esac ;; |
2927 | esac ;; |
2976 | esac |
2928 | esac |
2977 | done |
2929 | done |
2978 | |
2930 | |
2979 | (set) 2>&1 | |
2931 | (set) 2>&1 | |
2980 | case $as_nl`(ac_space=' '; set) 2>&1` in #( |
2932 | case $as_nl`(ac_space=' '; set) 2>&1` in #( |
2981 | *${as_nl}ac_space=\ *) |
2933 | *${as_nl}ac_space=\ *) |
2982 | # `set' does not quote correctly, so add quotes (double-quote |
2934 | # `set' does not quote correctly, so add quotes: double-quote |
2983 | # substitution turns \\\\ into \\, and sed turns \\ into \). |
2935 | # substitution turns \\\\ into \\, and sed turns \\ into \. |
2984 | sed -n \ |
2936 | sed -n \ |
2985 | "s/'/'\\\\''/g; |
2937 | "s/'/'\\\\''/g; |
2986 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
2938 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
2987 | ;; #( |
2939 | ;; #( |
2988 | *) |
2940 | *) |
… | |
… | |
3001 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
2953 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
3002 | :end' >>confcache |
2954 | :end' >>confcache |
3003 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
2955 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
3004 | if test -w "$cache_file"; then |
2956 | if test -w "$cache_file"; then |
3005 | test "x$cache_file" != "x/dev/null" && |
2957 | test "x$cache_file" != "x/dev/null" && |
3006 | { echo "$as_me:$LINENO: updating cache $cache_file" >&5 |
2958 | { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
3007 | echo "$as_me: updating cache $cache_file" >&6;} |
2959 | $as_echo "$as_me: updating cache $cache_file" >&6;} |
3008 | cat confcache >$cache_file |
2960 | cat confcache >$cache_file |
3009 | else |
2961 | else |
3010 | { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 |
2962 | { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
3011 | echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
2963 | $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
3012 | fi |
2964 | fi |
3013 | fi |
2965 | fi |
3014 | rm -f confcache |
2966 | rm -f confcache |
3015 | |
2967 | |
3016 | test "x$prefix" = xNONE && prefix=$ac_default_prefix |
2968 | test "x$prefix" = xNONE && prefix=$ac_default_prefix |
… | |
… | |
3019 | |
2971 | |
3020 | DEFS=-DHAVE_CONFIG_H |
2972 | DEFS=-DHAVE_CONFIG_H |
3021 | |
2973 | |
3022 | ac_libobjs= |
2974 | ac_libobjs= |
3023 | ac_ltlibobjs= |
2975 | ac_ltlibobjs= |
|
|
2976 | U= |
3024 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
2977 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
3025 | # 1. Remove the extension, and $U if already installed. |
2978 | # 1. Remove the extension, and $U if already installed. |
3026 | ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
2979 | ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
3027 | ac_i=`echo "$ac_i" | sed "$ac_script"` |
2980 | ac_i=`$as_echo "$ac_i" | sed "$ac_script"` |
3028 | # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
2981 | # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
3029 | # will be set to the directory where LIBOBJS objects are built. |
2982 | # will be set to the directory where LIBOBJS objects are built. |
3030 | ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" |
2983 | as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" |
3031 | ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' |
2984 | as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' |
3032 | done |
2985 | done |
3033 | LIBOBJS=$ac_libobjs |
2986 | LIBOBJS=$ac_libobjs |
3034 | |
2987 | |
3035 | LTLIBOBJS=$ac_ltlibobjs |
2988 | LTLIBOBJS=$ac_ltlibobjs |
3036 | |
2989 | |
3037 | |
2990 | |
3038 | |
2991 | |
3039 | : ${CONFIG_STATUS=./config.status} |
2992 | : ${CONFIG_STATUS=./config.status} |
|
|
2993 | ac_write_fail=0 |
3040 | ac_clean_files_save=$ac_clean_files |
2994 | ac_clean_files_save=$ac_clean_files |
3041 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
2995 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
3042 | { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 |
2996 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 |
3043 | echo "$as_me: creating $CONFIG_STATUS" >&6;} |
2997 | $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} |
3044 | cat >$CONFIG_STATUS <<_ACEOF |
2998 | as_write_fail=0 |
|
|
2999 | cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 |
3045 | #! $SHELL |
3000 | #! $SHELL |
3046 | # Generated by $as_me. |
3001 | # Generated by $as_me. |
3047 | # Run this file to recreate the current configuration. |
3002 | # Run this file to recreate the current configuration. |
3048 | # Compiler output produced by configure, useful for debugging |
3003 | # Compiler output produced by configure, useful for debugging |
3049 | # configure, is in config.log if it exists. |
3004 | # configure, is in config.log if it exists. |
3050 | |
3005 | |
3051 | debug=false |
3006 | debug=false |
3052 | ac_cs_recheck=false |
3007 | ac_cs_recheck=false |
3053 | ac_cs_silent=false |
3008 | ac_cs_silent=false |
|
|
3009 | |
3054 | SHELL=\${CONFIG_SHELL-$SHELL} |
3010 | SHELL=\${CONFIG_SHELL-$SHELL} |
|
|
3011 | export SHELL |
3055 | _ACEOF |
3012 | _ASEOF |
3056 | |
3013 | cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 |
3057 | cat >>$CONFIG_STATUS <<\_ACEOF |
|
|
3058 | ## --------------------- ## |
3014 | ## -------------------- ## |
3059 | ## M4sh Initialization. ## |
3015 | ## M4sh Initialization. ## |
3060 | ## --------------------- ## |
3016 | ## -------------------- ## |
3061 | |
3017 | |
3062 | # Be more Bourne compatible |
3018 | # Be more Bourne compatible |
3063 | DUALCASE=1; export DUALCASE # for MKS sh |
3019 | DUALCASE=1; export DUALCASE # for MKS sh |
3064 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
3020 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : |
3065 | emulate sh |
3021 | emulate sh |
3066 | NULLCMD=: |
3022 | NULLCMD=: |
3067 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
3023 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
3068 | # is contrary to our usage. Disable this feature. |
3024 | # is contrary to our usage. Disable this feature. |
3069 | alias -g '${1+"$@"}'='"$@"' |
3025 | alias -g '${1+"$@"}'='"$@"' |
3070 | setopt NO_GLOB_SUBST |
3026 | setopt NO_GLOB_SUBST |
3071 | else |
3027 | else |
3072 | case `(set -o) 2>/dev/null` in |
3028 | case `(set -o) 2>/dev/null` in #( |
3073 | *posix*) set -o posix ;; |
3029 | *posix*) : |
|
|
3030 | set -o posix ;; #( |
|
|
3031 | *) : |
|
|
3032 | ;; |
3074 | esac |
3033 | esac |
3075 | |
|
|
3076 | fi |
3034 | fi |
3077 | |
3035 | |
3078 | |
3036 | |
3079 | |
3037 | as_nl=' |
3080 | |
3038 | ' |
3081 | # PATH needs CR |
3039 | export as_nl |
3082 | # Avoid depending upon Character Ranges. |
3040 | # Printing a long string crashes Solaris 7 /usr/bin/printf. |
3083 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
3041 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
3084 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
3042 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
3085 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
3043 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
3086 | as_cr_digits='0123456789' |
3044 | # Prefer a ksh shell builtin over an external printf program on Solaris, |
3087 | as_cr_alnum=$as_cr_Letters$as_cr_digits |
3045 | # but without wasting forks for bash or zsh. |
|
|
3046 | if test -z "$BASH_VERSION$ZSH_VERSION" \ |
|
|
3047 | && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then |
|
|
3048 | as_echo='print -r --' |
|
|
3049 | as_echo_n='print -rn --' |
|
|
3050 | elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
|
|
3051 | as_echo='printf %s\n' |
|
|
3052 | as_echo_n='printf %s' |
|
|
3053 | else |
|
|
3054 | if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then |
|
|
3055 | as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' |
|
|
3056 | as_echo_n='/usr/ucb/echo -n' |
|
|
3057 | else |
|
|
3058 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
|
|
3059 | as_echo_n_body='eval |
|
|
3060 | arg=$1; |
|
|
3061 | case $arg in #( |
|
|
3062 | *"$as_nl"*) |
|
|
3063 | expr "X$arg" : "X\\(.*\\)$as_nl"; |
|
|
3064 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
|
|
3065 | esac; |
|
|
3066 | expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" |
|
|
3067 | ' |
|
|
3068 | export as_echo_n_body |
|
|
3069 | as_echo_n='sh -c $as_echo_n_body as_echo' |
|
|
3070 | fi |
|
|
3071 | export as_echo_body |
|
|
3072 | as_echo='sh -c $as_echo_body as_echo' |
|
|
3073 | fi |
3088 | |
3074 | |
3089 | # The user is always right. |
3075 | # The user is always right. |
3090 | if test "${PATH_SEPARATOR+set}" != set; then |
3076 | if test "${PATH_SEPARATOR+set}" != set; then |
3091 | echo "#! /bin/sh" >conf$$.sh |
3077 | PATH_SEPARATOR=: |
3092 | echo "exit 0" >>conf$$.sh |
3078 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
3093 | chmod +x conf$$.sh |
3079 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
3094 | if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
|
|
3095 | PATH_SEPARATOR=';' |
3080 | PATH_SEPARATOR=';' |
3096 | else |
3081 | } |
3097 | PATH_SEPARATOR=: |
|
|
3098 | fi |
|
|
3099 | rm -f conf$$.sh |
|
|
3100 | fi |
|
|
3101 | |
|
|
3102 | # Support unset when possible. |
|
|
3103 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
|
|
3104 | as_unset=unset |
|
|
3105 | else |
|
|
3106 | as_unset=false |
|
|
3107 | fi |
3082 | fi |
3108 | |
3083 | |
3109 | |
3084 | |
3110 | # IFS |
3085 | # IFS |
3111 | # We need space, tab and new line, in precisely that order. Quoting is |
3086 | # We need space, tab and new line, in precisely that order. Quoting is |
3112 | # there to prevent editors from complaining about space-tab. |
3087 | # there to prevent editors from complaining about space-tab. |
3113 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
3088 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
3114 | # splitting by setting IFS to empty value.) |
3089 | # splitting by setting IFS to empty value.) |
3115 | as_nl=' |
|
|
3116 | ' |
|
|
3117 | IFS=" "" $as_nl" |
3090 | IFS=" "" $as_nl" |
3118 | |
3091 | |
3119 | # Find who we are. Look in the path if we contain no directory separator. |
3092 | # Find who we are. Look in the path if we contain no directory separator. |
3120 | case $0 in |
3093 | case $0 in #(( |
3121 | *[\\/]* ) as_myself=$0 ;; |
3094 | *[\\/]* ) as_myself=$0 ;; |
3122 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3095 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3123 | for as_dir in $PATH |
3096 | for as_dir in $PATH |
3124 | do |
3097 | do |
3125 | IFS=$as_save_IFS |
3098 | IFS=$as_save_IFS |
3126 | test -z "$as_dir" && as_dir=. |
3099 | test -z "$as_dir" && as_dir=. |
3127 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
3100 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
3128 | done |
3101 | done |
3129 | IFS=$as_save_IFS |
3102 | IFS=$as_save_IFS |
3130 | |
3103 | |
3131 | ;; |
3104 | ;; |
3132 | esac |
3105 | esac |
3133 | # We did not find ourselves, most probably we were run as `sh COMMAND' |
3106 | # We did not find ourselves, most probably we were run as `sh COMMAND' |
3134 | # in which case we are not to be found in the path. |
3107 | # in which case we are not to be found in the path. |
3135 | if test "x$as_myself" = x; then |
3108 | if test "x$as_myself" = x; then |
3136 | as_myself=$0 |
3109 | as_myself=$0 |
3137 | fi |
3110 | fi |
3138 | if test ! -f "$as_myself"; then |
3111 | if test ! -f "$as_myself"; then |
3139 | echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
3112 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
3140 | { (exit 1); exit 1; } |
3113 | exit 1 |
3141 | fi |
3114 | fi |
3142 | |
3115 | |
3143 | # Work around bugs in pre-3.0 UWIN ksh. |
3116 | # Unset variables that we do not need and which cause bugs (e.g. in |
|
|
3117 | # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" |
|
|
3118 | # suppresses any "Segmentation fault" message there. '((' could |
|
|
3119 | # trigger a bug in pdksh 5.2.14. |
3144 | for as_var in ENV MAIL MAILPATH |
3120 | for as_var in BASH_ENV ENV MAIL MAILPATH |
|
|
3121 | do eval test x\${$as_var+set} = xset \ |
3145 | do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
3122 | && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : |
3146 | done |
3123 | done |
3147 | PS1='$ ' |
3124 | PS1='$ ' |
3148 | PS2='> ' |
3125 | PS2='> ' |
3149 | PS4='+ ' |
3126 | PS4='+ ' |
3150 | |
3127 | |
3151 | # NLS nuisances. |
3128 | # NLS nuisances. |
3152 | for as_var in \ |
3129 | LC_ALL=C |
3153 | LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ |
3130 | export LC_ALL |
3154 | LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
3131 | LANGUAGE=C |
3155 | LC_TELEPHONE LC_TIME |
3132 | export LANGUAGE |
3156 | do |
3133 | |
3157 | if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
3134 | # CDPATH. |
3158 | eval $as_var=C; export $as_var |
3135 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
3159 | else |
3136 | |
3160 | ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
3137 | |
|
|
3138 | # as_fn_error STATUS ERROR [LINENO LOG_FD] |
|
|
3139 | # ---------------------------------------- |
|
|
3140 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
|
|
3141 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
|
|
3142 | # script with STATUS, using 1 if that was 0. |
|
|
3143 | as_fn_error () |
|
|
3144 | { |
|
|
3145 | as_status=$1; test $as_status -eq 0 && as_status=1 |
|
|
3146 | if test "$4"; then |
|
|
3147 | as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
|
3148 | $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
3161 | fi |
3149 | fi |
3162 | done |
3150 | $as_echo "$as_me: error: $2" >&2 |
|
|
3151 | as_fn_exit $as_status |
|
|
3152 | } # as_fn_error |
3163 | |
3153 | |
3164 | # Required to use basename. |
3154 | |
|
|
3155 | # as_fn_set_status STATUS |
|
|
3156 | # ----------------------- |
|
|
3157 | # Set $? to STATUS, without forking. |
|
|
3158 | as_fn_set_status () |
|
|
3159 | { |
|
|
3160 | return $1 |
|
|
3161 | } # as_fn_set_status |
|
|
3162 | |
|
|
3163 | # as_fn_exit STATUS |
|
|
3164 | # ----------------- |
|
|
3165 | # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. |
|
|
3166 | as_fn_exit () |
|
|
3167 | { |
|
|
3168 | set +e |
|
|
3169 | as_fn_set_status $1 |
|
|
3170 | exit $1 |
|
|
3171 | } # as_fn_exit |
|
|
3172 | |
|
|
3173 | # as_fn_unset VAR |
|
|
3174 | # --------------- |
|
|
3175 | # Portably unset VAR. |
|
|
3176 | as_fn_unset () |
|
|
3177 | { |
|
|
3178 | { eval $1=; unset $1;} |
|
|
3179 | } |
|
|
3180 | as_unset=as_fn_unset |
|
|
3181 | # as_fn_append VAR VALUE |
|
|
3182 | # ---------------------- |
|
|
3183 | # Append the text in VALUE to the end of the definition contained in VAR. Take |
|
|
3184 | # advantage of any shell optimizations that allow amortized linear growth over |
|
|
3185 | # repeated appends, instead of the typical quadratic growth present in naive |
|
|
3186 | # implementations. |
|
|
3187 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : |
|
|
3188 | eval 'as_fn_append () |
|
|
3189 | { |
|
|
3190 | eval $1+=\$2 |
|
|
3191 | }' |
|
|
3192 | else |
|
|
3193 | as_fn_append () |
|
|
3194 | { |
|
|
3195 | eval $1=\$$1\$2 |
|
|
3196 | } |
|
|
3197 | fi # as_fn_append |
|
|
3198 | |
|
|
3199 | # as_fn_arith ARG... |
|
|
3200 | # ------------------ |
|
|
3201 | # Perform arithmetic evaluation on the ARGs, and store the result in the |
|
|
3202 | # global $as_val. Take advantage of shells that can avoid forks. The arguments |
|
|
3203 | # must be portable across $(()) and expr. |
|
|
3204 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : |
|
|
3205 | eval 'as_fn_arith () |
|
|
3206 | { |
|
|
3207 | as_val=$(( $* )) |
|
|
3208 | }' |
|
|
3209 | else |
|
|
3210 | as_fn_arith () |
|
|
3211 | { |
|
|
3212 | as_val=`expr "$@" || test $? -eq 1` |
|
|
3213 | } |
|
|
3214 | fi # as_fn_arith |
|
|
3215 | |
|
|
3216 | |
3165 | if expr a : '\(a\)' >/dev/null 2>&1 && |
3217 | if expr a : '\(a\)' >/dev/null 2>&1 && |
3166 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
3218 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
3167 | as_expr=expr |
3219 | as_expr=expr |
3168 | else |
3220 | else |
3169 | as_expr=false |
3221 | as_expr=false |
… | |
… | |
3173 | as_basename=basename |
3225 | as_basename=basename |
3174 | else |
3226 | else |
3175 | as_basename=false |
3227 | as_basename=false |
3176 | fi |
3228 | fi |
3177 | |
3229 | |
|
|
3230 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
|
|
3231 | as_dirname=dirname |
|
|
3232 | else |
|
|
3233 | as_dirname=false |
|
|
3234 | fi |
3178 | |
3235 | |
3179 | # Name of the executable. |
|
|
3180 | as_me=`$as_basename -- "$0" || |
3236 | as_me=`$as_basename -- "$0" || |
3181 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
3237 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
3182 | X"$0" : 'X\(//\)$' \| \ |
3238 | X"$0" : 'X\(//\)$' \| \ |
3183 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
3239 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
3184 | echo X/"$0" | |
3240 | $as_echo X/"$0" | |
3185 | sed '/^.*\/\([^/][^/]*\)\/*$/{ |
3241 | sed '/^.*\/\([^/][^/]*\)\/*$/{ |
3186 | s//\1/ |
3242 | s//\1/ |
3187 | q |
3243 | q |
3188 | } |
3244 | } |
3189 | /^X\/\(\/\/\)$/{ |
3245 | /^X\/\(\/\/\)$/{ |
… | |
… | |
3194 | s//\1/ |
3250 | s//\1/ |
3195 | q |
3251 | q |
3196 | } |
3252 | } |
3197 | s/.*/./; q'` |
3253 | s/.*/./; q'` |
3198 | |
3254 | |
3199 | # CDPATH. |
3255 | # Avoid depending upon Character Ranges. |
3200 | $as_unset CDPATH |
3256 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
3201 | |
3257 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
3202 | |
3258 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
3203 | |
3259 | as_cr_digits='0123456789' |
3204 | as_lineno_1=$LINENO |
3260 | as_cr_alnum=$as_cr_Letters$as_cr_digits |
3205 | as_lineno_2=$LINENO |
|
|
3206 | test "x$as_lineno_1" != "x$as_lineno_2" && |
|
|
3207 | test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { |
|
|
3208 | |
|
|
3209 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
|
|
3210 | # uniformly replaced by the line number. The first 'sed' inserts a |
|
|
3211 | # line-number line after each line using $LINENO; the second 'sed' |
|
|
3212 | # does the real work. The second script uses 'N' to pair each |
|
|
3213 | # line-number line with the line containing $LINENO, and appends |
|
|
3214 | # trailing '-' during substitution so that $LINENO is not a special |
|
|
3215 | # case at line end. |
|
|
3216 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
|
|
3217 | # scripts with optimization help from Paolo Bonzini. Blame Lee |
|
|
3218 | # E. McMahon (1931-1989) for sed's syntax. :-) |
|
|
3219 | sed -n ' |
|
|
3220 | p |
|
|
3221 | /[$]LINENO/= |
|
|
3222 | ' <$as_myself | |
|
|
3223 | sed ' |
|
|
3224 | s/[$]LINENO.*/&-/ |
|
|
3225 | t lineno |
|
|
3226 | b |
|
|
3227 | :lineno |
|
|
3228 | N |
|
|
3229 | :loop |
|
|
3230 | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
|
|
3231 | t loop |
|
|
3232 | s/-\n.*// |
|
|
3233 | ' >$as_me.lineno && |
|
|
3234 | chmod +x "$as_me.lineno" || |
|
|
3235 | { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
|
|
3236 | { (exit 1); exit 1; }; } |
|
|
3237 | |
|
|
3238 | # Don't try to exec as it changes $[0], causing all sort of problems |
|
|
3239 | # (the dirname of $[0] is not the place where we might find the |
|
|
3240 | # original and so on. Autoconf is especially sensitive to this). |
|
|
3241 | . "./$as_me.lineno" |
|
|
3242 | # Exit status is that of the last command. |
|
|
3243 | exit |
|
|
3244 | } |
|
|
3245 | |
|
|
3246 | |
|
|
3247 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
|
|
3248 | as_dirname=dirname |
|
|
3249 | else |
|
|
3250 | as_dirname=false |
|
|
3251 | fi |
|
|
3252 | |
3261 | |
3253 | ECHO_C= ECHO_N= ECHO_T= |
3262 | ECHO_C= ECHO_N= ECHO_T= |
3254 | case `echo -n x` in |
3263 | case `echo -n x` in #((((( |
3255 | -n*) |
3264 | -n*) |
3256 | case `echo 'x\c'` in |
3265 | case `echo 'xy\c'` in |
3257 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
3266 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
3258 | *) ECHO_C='\c';; |
3267 | xy) ECHO_C='\c';; |
|
|
3268 | *) echo `echo ksh88 bug on AIX 6.1` > /dev/null |
|
|
3269 | ECHO_T=' ';; |
3259 | esac;; |
3270 | esac;; |
3260 | *) |
3271 | *) |
3261 | ECHO_N='-n';; |
3272 | ECHO_N='-n';; |
3262 | esac |
3273 | esac |
3263 | |
3274 | |
3264 | if expr a : '\(a\)' >/dev/null 2>&1 && |
|
|
3265 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
|
|
3266 | as_expr=expr |
|
|
3267 | else |
|
|
3268 | as_expr=false |
|
|
3269 | fi |
|
|
3270 | |
|
|
3271 | rm -f conf$$ conf$$.exe conf$$.file |
3275 | rm -f conf$$ conf$$.exe conf$$.file |
3272 | if test -d conf$$.dir; then |
3276 | if test -d conf$$.dir; then |
3273 | rm -f conf$$.dir/conf$$.file |
3277 | rm -f conf$$.dir/conf$$.file |
3274 | else |
3278 | else |
3275 | rm -f conf$$.dir |
3279 | rm -f conf$$.dir |
3276 | mkdir conf$$.dir |
3280 | mkdir conf$$.dir 2>/dev/null |
3277 | fi |
3281 | fi |
3278 | echo >conf$$.file |
3282 | if (echo >conf$$.file) 2>/dev/null; then |
3279 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
3283 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
3280 | as_ln_s='ln -s' |
3284 | as_ln_s='ln -s' |
3281 | # ... but there are two gotchas: |
3285 | # ... but there are two gotchas: |
3282 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
3286 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
3283 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
3287 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
3284 | # In both cases, we have to default to `cp -p'. |
3288 | # In both cases, we have to default to `cp -p'. |
3285 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
3289 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
|
|
3290 | as_ln_s='cp -p' |
|
|
3291 | elif ln conf$$.file conf$$ 2>/dev/null; then |
|
|
3292 | as_ln_s=ln |
|
|
3293 | else |
3286 | as_ln_s='cp -p' |
3294 | as_ln_s='cp -p' |
3287 | elif ln conf$$.file conf$$ 2>/dev/null; then |
3295 | fi |
3288 | as_ln_s=ln |
|
|
3289 | else |
3296 | else |
3290 | as_ln_s='cp -p' |
3297 | as_ln_s='cp -p' |
3291 | fi |
3298 | fi |
3292 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
3299 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
3293 | rmdir conf$$.dir 2>/dev/null |
3300 | rmdir conf$$.dir 2>/dev/null |
3294 | |
3301 | |
3295 | if mkdir -p . 2>/dev/null; then |
3302 | |
3296 | as_mkdir_p=: |
3303 | # as_fn_mkdir_p |
3297 | else |
3304 | # ------------- |
3298 | test -d ./-p && rmdir ./-p |
3305 | # Create "$as_dir" as a directory, including parents if necessary. |
3299 | as_mkdir_p=false |
3306 | as_fn_mkdir_p () |
3300 | fi |
|
|
3301 | |
|
|
3302 | if test -x / >/dev/null 2>&1; then |
|
|
3303 | as_test_x='test -x' |
|
|
3304 | else |
|
|
3305 | if ls -dL / >/dev/null 2>&1; then |
|
|
3306 | as_ls_L_option=L |
|
|
3307 | else |
|
|
3308 | as_ls_L_option= |
|
|
3309 | fi |
|
|
3310 | as_test_x=' |
|
|
3311 | eval sh -c '\'' |
|
|
3312 | if test -d "$1"; then |
|
|
3313 | test -d "$1/."; |
|
|
3314 | else |
|
|
3315 | case $1 in |
|
|
3316 | -*)set "./$1";; |
|
|
3317 | esac; |
|
|
3318 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in |
|
|
3319 | ???[sx]*):;;*)false;;esac;fi |
|
|
3320 | '\'' sh |
|
|
3321 | ' |
|
|
3322 | fi |
|
|
3323 | as_executable_p=$as_test_x |
|
|
3324 | |
|
|
3325 | # Sed expression to map a string onto a valid CPP name. |
|
|
3326 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
|
|
3327 | |
|
|
3328 | # Sed expression to map a string onto a valid variable name. |
|
|
3329 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
|
|
3330 | |
|
|
3331 | |
|
|
3332 | exec 6>&1 |
|
|
3333 | |
|
|
3334 | # Save the log message, to keep $[0] and so on meaningful, and to |
|
|
3335 | # report actual input values of CONFIG_FILES etc. instead of their |
|
|
3336 | # values after options handling. |
|
|
3337 | ac_log=" |
|
|
3338 | This file was extended by $as_me, which was |
|
|
3339 | generated by GNU Autoconf 2.61. Invocation command line was |
|
|
3340 | |
|
|
3341 | CONFIG_FILES = $CONFIG_FILES |
|
|
3342 | CONFIG_HEADERS = $CONFIG_HEADERS |
|
|
3343 | CONFIG_LINKS = $CONFIG_LINKS |
|
|
3344 | CONFIG_COMMANDS = $CONFIG_COMMANDS |
|
|
3345 | $ $0 $@ |
|
|
3346 | |
|
|
3347 | on `(hostname || uname -n) 2>/dev/null | sed 1q` |
|
|
3348 | " |
|
|
3349 | |
|
|
3350 | _ACEOF |
|
|
3351 | |
|
|
3352 | cat >>$CONFIG_STATUS <<_ACEOF |
|
|
3353 | # Files that config.status was made for. |
|
|
3354 | config_headers="$ac_config_headers" |
|
|
3355 | |
|
|
3356 | _ACEOF |
|
|
3357 | |
|
|
3358 | cat >>$CONFIG_STATUS <<\_ACEOF |
|
|
3359 | ac_cs_usage="\ |
|
|
3360 | \`$as_me' instantiates files from templates according to the |
|
|
3361 | current configuration. |
|
|
3362 | |
|
|
3363 | Usage: $0 [OPTIONS] [FILE]... |
|
|
3364 | |
|
|
3365 | -h, --help print this help, then exit |
|
|
3366 | -V, --version print version number and configuration settings, then exit |
|
|
3367 | -q, --quiet do not print progress messages |
|
|
3368 | -d, --debug don't remove temporary files |
|
|
3369 | --recheck update $as_me by reconfiguring in the same conditions |
|
|
3370 | --header=FILE[:TEMPLATE] |
|
|
3371 | instantiate the configuration header FILE |
|
|
3372 | |
|
|
3373 | Configuration headers: |
|
|
3374 | $config_headers |
|
|
3375 | |
|
|
3376 | Report bugs to <bug-autoconf@gnu.org>." |
|
|
3377 | |
|
|
3378 | _ACEOF |
|
|
3379 | cat >>$CONFIG_STATUS <<_ACEOF |
|
|
3380 | ac_cs_version="\\ |
|
|
3381 | config.status |
|
|
3382 | configured by $0, generated by GNU Autoconf 2.61, |
|
|
3383 | with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" |
|
|
3384 | |
|
|
3385 | Copyright (C) 2006 Free Software Foundation, Inc. |
|
|
3386 | This config.status script is free software; the Free Software Foundation |
|
|
3387 | gives unlimited permission to copy, distribute and modify it." |
|
|
3388 | |
|
|
3389 | ac_pwd='$ac_pwd' |
|
|
3390 | srcdir='$srcdir' |
|
|
3391 | _ACEOF |
|
|
3392 | |
|
|
3393 | cat >>$CONFIG_STATUS <<\_ACEOF |
|
|
3394 | # If no file are specified by the user, then we need to provide default |
|
|
3395 | # value. By we need to know if files were specified by the user. |
|
|
3396 | ac_need_defaults=: |
|
|
3397 | while test $# != 0 |
|
|
3398 | do |
|
|
3399 | case $1 in |
|
|
3400 | --*=*) |
|
|
3401 | ac_option=`expr "X$1" : 'X\([^=]*\)='` |
|
|
3402 | ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` |
|
|
3403 | ac_shift=: |
|
|
3404 | ;; |
|
|
3405 | *) |
|
|
3406 | ac_option=$1 |
|
|
3407 | ac_optarg=$2 |
|
|
3408 | ac_shift=shift |
|
|
3409 | ;; |
|
|
3410 | esac |
|
|
3411 | |
|
|
3412 | case $ac_option in |
|
|
3413 | # Handling of the options. |
|
|
3414 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
|
|
3415 | ac_cs_recheck=: ;; |
|
|
3416 | --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) |
|
|
3417 | echo "$ac_cs_version"; exit ;; |
|
|
3418 | --debug | --debu | --deb | --de | --d | -d ) |
|
|
3419 | debug=: ;; |
|
|
3420 | --header | --heade | --head | --hea ) |
|
|
3421 | $ac_shift |
|
|
3422 | CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" |
|
|
3423 | ac_need_defaults=false;; |
|
|
3424 | --he | --h) |
|
|
3425 | # Conflict between --help and --header |
|
|
3426 | { echo "$as_me: error: ambiguous option: $1 |
|
|
3427 | Try \`$0 --help' for more information." >&2 |
|
|
3428 | { (exit 1); exit 1; }; };; |
|
|
3429 | --help | --hel | -h ) |
|
|
3430 | echo "$ac_cs_usage"; exit ;; |
|
|
3431 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
|
|
3432 | | -silent | --silent | --silen | --sile | --sil | --si | --s) |
|
|
3433 | ac_cs_silent=: ;; |
|
|
3434 | |
|
|
3435 | # This is an error. |
|
|
3436 | -*) { echo "$as_me: error: unrecognized option: $1 |
|
|
3437 | Try \`$0 --help' for more information." >&2 |
|
|
3438 | { (exit 1); exit 1; }; } ;; |
|
|
3439 | |
|
|
3440 | *) ac_config_targets="$ac_config_targets $1" |
|
|
3441 | ac_need_defaults=false ;; |
|
|
3442 | |
|
|
3443 | esac |
|
|
3444 | shift |
|
|
3445 | done |
|
|
3446 | |
|
|
3447 | ac_configure_extra_args= |
|
|
3448 | |
|
|
3449 | if $ac_cs_silent; then |
|
|
3450 | exec 6>/dev/null |
|
|
3451 | ac_configure_extra_args="$ac_configure_extra_args --silent" |
|
|
3452 | fi |
|
|
3453 | |
|
|
3454 | _ACEOF |
|
|
3455 | cat >>$CONFIG_STATUS <<_ACEOF |
|
|
3456 | if \$ac_cs_recheck; then |
|
|
3457 | echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 |
|
|
3458 | CONFIG_SHELL=$SHELL |
|
|
3459 | export CONFIG_SHELL |
|
|
3460 | exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
|
|
3461 | fi |
|
|
3462 | |
|
|
3463 | _ACEOF |
|
|
3464 | cat >>$CONFIG_STATUS <<\_ACEOF |
|
|
3465 | exec 5>>config.log |
|
|
3466 | { |
3307 | { |
3467 | echo |
|
|
3468 | sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX |
|
|
3469 | ## Running $as_me. ## |
|
|
3470 | _ASBOX |
|
|
3471 | echo "$ac_log" |
|
|
3472 | } >&5 |
|
|
3473 | |
3308 | |
3474 | _ACEOF |
|
|
3475 | cat >>$CONFIG_STATUS <<_ACEOF |
|
|
3476 | _ACEOF |
|
|
3477 | |
|
|
3478 | cat >>$CONFIG_STATUS <<\_ACEOF |
|
|
3479 | |
|
|
3480 | # Handling of arguments. |
|
|
3481 | for ac_config_target in $ac_config_targets |
|
|
3482 | do |
|
|
3483 | case $ac_config_target in |
|
|
3484 | "libeio/config.h") CONFIG_HEADERS="$CONFIG_HEADERS libeio/config.h" ;; |
|
|
3485 | |
|
|
3486 | *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
|
|
3487 | echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
|
|
3488 | { (exit 1); exit 1; }; };; |
|
|
3489 | esac |
|
|
3490 | done |
|
|
3491 | |
|
|
3492 | |
|
|
3493 | # If the user did not use the arguments to specify the items to instantiate, |
|
|
3494 | # then the envvar interface is used. Set only those that are not. |
|
|
3495 | # We use the long form for the default assignment because of an extremely |
|
|
3496 | # bizarre bug on SunOS 4.1.3. |
|
|
3497 | if $ac_need_defaults; then |
|
|
3498 | test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers |
|
|
3499 | fi |
|
|
3500 | |
|
|
3501 | # Have a temporary directory for convenience. Make it in the build tree |
|
|
3502 | # simply because there is no reason against having it here, and in addition, |
|
|
3503 | # creating and moving files from /tmp can sometimes cause problems. |
|
|
3504 | # Hook for its removal unless debugging. |
|
|
3505 | # Note that there is a small window in which the directory will not be cleaned: |
|
|
3506 | # after its creation but before its name has been assigned to `$tmp'. |
|
|
3507 | $debug || |
|
|
3508 | { |
|
|
3509 | tmp= |
|
|
3510 | trap 'exit_status=$? |
|
|
3511 | { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status |
|
|
3512 | ' 0 |
|
|
3513 | trap '{ (exit 1); exit 1; }' 1 2 13 15 |
|
|
3514 | } |
|
|
3515 | # Create a (secure) tmp directory for tmp files. |
|
|
3516 | |
|
|
3517 | { |
|
|
3518 | tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
|
|
3519 | test -n "$tmp" && test -d "$tmp" |
|
|
3520 | } || |
|
|
3521 | { |
|
|
3522 | tmp=./conf$$-$RANDOM |
|
|
3523 | (umask 077 && mkdir "$tmp") |
|
|
3524 | } || |
|
|
3525 | { |
|
|
3526 | echo "$me: cannot create a temporary directory in ." >&2 |
|
|
3527 | { (exit 1); exit 1; } |
|
|
3528 | } |
|
|
3529 | |
|
|
3530 | |
|
|
3531 | for ac_tag in :H $CONFIG_HEADERS |
|
|
3532 | do |
|
|
3533 | case $ac_tag in |
|
|
3534 | :[FHLC]) ac_mode=$ac_tag; continue;; |
|
|
3535 | esac |
|
|
3536 | case $ac_mode$ac_tag in |
|
|
3537 | :[FHL]*:*);; |
|
|
3538 | :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 |
|
|
3539 | echo "$as_me: error: Invalid tag $ac_tag." >&2;} |
|
|
3540 | { (exit 1); exit 1; }; };; |
|
|
3541 | :[FH]-) ac_tag=-:-;; |
|
|
3542 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
|
|
3543 | esac |
|
|
3544 | ac_save_IFS=$IFS |
|
|
3545 | IFS=: |
|
|
3546 | set x $ac_tag |
|
|
3547 | IFS=$ac_save_IFS |
|
|
3548 | shift |
|
|
3549 | ac_file=$1 |
|
|
3550 | shift |
|
|
3551 | |
|
|
3552 | case $ac_mode in |
|
|
3553 | :L) ac_source=$1;; |
|
|
3554 | :[FH]) |
|
|
3555 | ac_file_inputs= |
|
|
3556 | for ac_f |
|
|
3557 | do |
|
|
3558 | case $ac_f in |
|
|
3559 | -) ac_f="$tmp/stdin";; |
|
|
3560 | *) # Look for the file first in the build tree, then in the source tree |
|
|
3561 | # (if the path is not absolute). The absolute path cannot be DOS-style, |
|
|
3562 | # because $ac_f cannot contain `:'. |
|
|
3563 | test -f "$ac_f" || |
|
|
3564 | case $ac_f in |
|
|
3565 | [\\/$]*) false;; |
|
|
3566 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
|
|
3567 | esac || |
|
|
3568 | { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 |
|
|
3569 | echo "$as_me: error: cannot find input file: $ac_f" >&2;} |
|
|
3570 | { (exit 1); exit 1; }; };; |
|
|
3571 | esac |
|
|
3572 | ac_file_inputs="$ac_file_inputs $ac_f" |
|
|
3573 | done |
|
|
3574 | |
|
|
3575 | # Let's still pretend it is `configure' which instantiates (i.e., don't |
|
|
3576 | # use $as_me), people would be surprised to read: |
|
|
3577 | # /* config.h. Generated by config.status. */ |
|
|
3578 | configure_input="Generated from "`IFS=: |
|
|
3579 | echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." |
|
|
3580 | if test x"$ac_file" != x-; then |
|
|
3581 | configure_input="$ac_file. $configure_input" |
|
|
3582 | { echo "$as_me:$LINENO: creating $ac_file" >&5 |
|
|
3583 | echo "$as_me: creating $ac_file" >&6;} |
|
|
3584 | fi |
|
|
3585 | |
|
|
3586 | case $ac_tag in |
|
|
3587 | *:-:* | *:-) cat >"$tmp/stdin";; |
|
|
3588 | esac |
|
|
3589 | ;; |
|
|
3590 | esac |
|
|
3591 | |
|
|
3592 | ac_dir=`$as_dirname -- "$ac_file" || |
|
|
3593 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
|
3594 | X"$ac_file" : 'X\(//\)[^/]' \| \ |
|
|
3595 | X"$ac_file" : 'X\(//\)$' \| \ |
|
|
3596 | X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || |
|
|
3597 | echo X"$ac_file" | |
|
|
3598 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|
|
3599 | s//\1/ |
|
|
3600 | q |
|
|
3601 | } |
|
|
3602 | /^X\(\/\/\)[^/].*/{ |
|
|
3603 | s//\1/ |
|
|
3604 | q |
|
|
3605 | } |
|
|
3606 | /^X\(\/\/\)$/{ |
|
|
3607 | s//\1/ |
|
|
3608 | q |
|
|
3609 | } |
|
|
3610 | /^X\(\/\).*/{ |
|
|
3611 | s//\1/ |
|
|
3612 | q |
|
|
3613 | } |
|
|
3614 | s/.*/./; q'` |
|
|
3615 | { as_dir="$ac_dir" |
|
|
3616 | case $as_dir in #( |
3309 | case $as_dir in #( |
3617 | -*) as_dir=./$as_dir;; |
3310 | -*) as_dir=./$as_dir;; |
3618 | esac |
3311 | esac |
3619 | test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { |
3312 | test -d "$as_dir" || eval $as_mkdir_p || { |
3620 | as_dirs= |
3313 | as_dirs= |
3621 | while :; do |
3314 | while :; do |
3622 | case $as_dir in #( |
3315 | case $as_dir in #( |
3623 | *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( |
3316 | *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
3624 | *) as_qdir=$as_dir;; |
3317 | *) as_qdir=$as_dir;; |
3625 | esac |
3318 | esac |
3626 | as_dirs="'$as_qdir' $as_dirs" |
3319 | as_dirs="'$as_qdir' $as_dirs" |
3627 | as_dir=`$as_dirname -- "$as_dir" || |
3320 | as_dir=`$as_dirname -- "$as_dir" || |
3628 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
3321 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
3629 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
3322 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
3630 | X"$as_dir" : 'X\(//\)$' \| \ |
3323 | X"$as_dir" : 'X\(//\)$' \| \ |
3631 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
3324 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
3632 | echo X"$as_dir" | |
3325 | $as_echo X"$as_dir" | |
3633 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
3326 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
3634 | s//\1/ |
3327 | s//\1/ |
3635 | q |
3328 | q |
3636 | } |
3329 | } |
3637 | /^X\(\/\/\)[^/].*/{ |
3330 | /^X\(\/\/\)[^/].*/{ |
… | |
… | |
3648 | } |
3341 | } |
3649 | s/.*/./; q'` |
3342 | s/.*/./; q'` |
3650 | test -d "$as_dir" && break |
3343 | test -d "$as_dir" && break |
3651 | done |
3344 | done |
3652 | test -z "$as_dirs" || eval "mkdir $as_dirs" |
3345 | test -z "$as_dirs" || eval "mkdir $as_dirs" |
3653 | } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 |
3346 | } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
3654 | echo "$as_me: error: cannot create directory $as_dir" >&2;} |
3347 | |
3655 | { (exit 1); exit 1; }; }; } |
3348 | |
|
|
3349 | } # as_fn_mkdir_p |
|
|
3350 | if mkdir -p . 2>/dev/null; then |
|
|
3351 | as_mkdir_p='mkdir -p "$as_dir"' |
|
|
3352 | else |
|
|
3353 | test -d ./-p && rmdir ./-p |
|
|
3354 | as_mkdir_p=false |
|
|
3355 | fi |
|
|
3356 | |
|
|
3357 | if test -x / >/dev/null 2>&1; then |
|
|
3358 | as_test_x='test -x' |
|
|
3359 | else |
|
|
3360 | if ls -dL / >/dev/null 2>&1; then |
|
|
3361 | as_ls_L_option=L |
|
|
3362 | else |
|
|
3363 | as_ls_L_option= |
|
|
3364 | fi |
|
|
3365 | as_test_x=' |
|
|
3366 | eval sh -c '\'' |
|
|
3367 | if test -d "$1"; then |
|
|
3368 | test -d "$1/."; |
|
|
3369 | else |
|
|
3370 | case $1 in #( |
|
|
3371 | -*)set "./$1";; |
|
|
3372 | esac; |
|
|
3373 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( |
|
|
3374 | ???[sx]*):;;*)false;;esac;fi |
|
|
3375 | '\'' sh |
|
|
3376 | ' |
|
|
3377 | fi |
|
|
3378 | as_executable_p=$as_test_x |
|
|
3379 | |
|
|
3380 | # Sed expression to map a string onto a valid CPP name. |
|
|
3381 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
|
|
3382 | |
|
|
3383 | # Sed expression to map a string onto a valid variable name. |
|
|
3384 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
|
|
3385 | |
|
|
3386 | |
|
|
3387 | exec 6>&1 |
|
|
3388 | ## ----------------------------------- ## |
|
|
3389 | ## Main body of $CONFIG_STATUS script. ## |
|
|
3390 | ## ----------------------------------- ## |
|
|
3391 | _ASEOF |
|
|
3392 | test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 |
|
|
3393 | |
|
|
3394 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
|
3395 | # Save the log message, to keep $0 and so on meaningful, and to |
|
|
3396 | # report actual input values of CONFIG_FILES etc. instead of their |
|
|
3397 | # values after options handling. |
|
|
3398 | ac_log=" |
|
|
3399 | This file was extended by $as_me, which was |
|
|
3400 | generated by GNU Autoconf 2.67. Invocation command line was |
|
|
3401 | |
|
|
3402 | CONFIG_FILES = $CONFIG_FILES |
|
|
3403 | CONFIG_HEADERS = $CONFIG_HEADERS |
|
|
3404 | CONFIG_LINKS = $CONFIG_LINKS |
|
|
3405 | CONFIG_COMMANDS = $CONFIG_COMMANDS |
|
|
3406 | $ $0 $@ |
|
|
3407 | |
|
|
3408 | on `(hostname || uname -n) 2>/dev/null | sed 1q` |
|
|
3409 | " |
|
|
3410 | |
|
|
3411 | _ACEOF |
|
|
3412 | |
|
|
3413 | |
|
|
3414 | case $ac_config_headers in *" |
|
|
3415 | "*) set x $ac_config_headers; shift; ac_config_headers=$*;; |
|
|
3416 | esac |
|
|
3417 | |
|
|
3418 | |
|
|
3419 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
|
3420 | # Files that config.status was made for. |
|
|
3421 | config_headers="$ac_config_headers" |
|
|
3422 | |
|
|
3423 | _ACEOF |
|
|
3424 | |
|
|
3425 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
|
3426 | ac_cs_usage="\ |
|
|
3427 | \`$as_me' instantiates files and other configuration actions |
|
|
3428 | from templates according to the current configuration. Unless the files |
|
|
3429 | and actions are specified as TAGs, all are instantiated by default. |
|
|
3430 | |
|
|
3431 | Usage: $0 [OPTION]... [TAG]... |
|
|
3432 | |
|
|
3433 | -h, --help print this help, then exit |
|
|
3434 | -V, --version print version number and configuration settings, then exit |
|
|
3435 | --config print configuration, then exit |
|
|
3436 | -q, --quiet, --silent |
|
|
3437 | do not print progress messages |
|
|
3438 | -d, --debug don't remove temporary files |
|
|
3439 | --recheck update $as_me by reconfiguring in the same conditions |
|
|
3440 | --header=FILE[:TEMPLATE] |
|
|
3441 | instantiate the configuration header FILE |
|
|
3442 | |
|
|
3443 | Configuration headers: |
|
|
3444 | $config_headers |
|
|
3445 | |
|
|
3446 | Report bugs to the package provider." |
|
|
3447 | |
|
|
3448 | _ACEOF |
|
|
3449 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
|
3450 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
|
|
3451 | ac_cs_version="\\ |
|
|
3452 | config.status |
|
|
3453 | configured by $0, generated by GNU Autoconf 2.67, |
|
|
3454 | with options \\"\$ac_cs_config\\" |
|
|
3455 | |
|
|
3456 | Copyright (C) 2010 Free Software Foundation, Inc. |
|
|
3457 | This config.status script is free software; the Free Software Foundation |
|
|
3458 | gives unlimited permission to copy, distribute and modify it." |
|
|
3459 | |
|
|
3460 | ac_pwd='$ac_pwd' |
|
|
3461 | srcdir='$srcdir' |
|
|
3462 | test -n "\$AWK" || AWK=awk |
|
|
3463 | _ACEOF |
|
|
3464 | |
|
|
3465 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
|
3466 | # The default lists apply if the user does not specify any file. |
|
|
3467 | ac_need_defaults=: |
|
|
3468 | while test $# != 0 |
|
|
3469 | do |
|
|
3470 | case $1 in |
|
|
3471 | --*=?*) |
|
|
3472 | ac_option=`expr "X$1" : 'X\([^=]*\)='` |
|
|
3473 | ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` |
|
|
3474 | ac_shift=: |
|
|
3475 | ;; |
|
|
3476 | --*=) |
|
|
3477 | ac_option=`expr "X$1" : 'X\([^=]*\)='` |
|
|
3478 | ac_optarg= |
|
|
3479 | ac_shift=: |
|
|
3480 | ;; |
|
|
3481 | *) |
|
|
3482 | ac_option=$1 |
|
|
3483 | ac_optarg=$2 |
|
|
3484 | ac_shift=shift |
|
|
3485 | ;; |
|
|
3486 | esac |
|
|
3487 | |
|
|
3488 | case $ac_option in |
|
|
3489 | # Handling of the options. |
|
|
3490 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
|
|
3491 | ac_cs_recheck=: ;; |
|
|
3492 | --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) |
|
|
3493 | $as_echo "$ac_cs_version"; exit ;; |
|
|
3494 | --config | --confi | --conf | --con | --co | --c ) |
|
|
3495 | $as_echo "$ac_cs_config"; exit ;; |
|
|
3496 | --debug | --debu | --deb | --de | --d | -d ) |
|
|
3497 | debug=: ;; |
|
|
3498 | --header | --heade | --head | --hea ) |
|
|
3499 | $ac_shift |
|
|
3500 | case $ac_optarg in |
|
|
3501 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
|
|
3502 | esac |
|
|
3503 | as_fn_append CONFIG_HEADERS " '$ac_optarg'" |
|
|
3504 | ac_need_defaults=false;; |
|
|
3505 | --he | --h) |
|
|
3506 | # Conflict between --help and --header |
|
|
3507 | as_fn_error $? "ambiguous option: \`$1' |
|
|
3508 | Try \`$0 --help' for more information.";; |
|
|
3509 | --help | --hel | -h ) |
|
|
3510 | $as_echo "$ac_cs_usage"; exit ;; |
|
|
3511 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
|
|
3512 | | -silent | --silent | --silen | --sile | --sil | --si | --s) |
|
|
3513 | ac_cs_silent=: ;; |
|
|
3514 | |
|
|
3515 | # This is an error. |
|
|
3516 | -*) as_fn_error $? "unrecognized option: \`$1' |
|
|
3517 | Try \`$0 --help' for more information." ;; |
|
|
3518 | |
|
|
3519 | *) as_fn_append ac_config_targets " $1" |
|
|
3520 | ac_need_defaults=false ;; |
|
|
3521 | |
|
|
3522 | esac |
|
|
3523 | shift |
|
|
3524 | done |
|
|
3525 | |
|
|
3526 | ac_configure_extra_args= |
|
|
3527 | |
|
|
3528 | if $ac_cs_silent; then |
|
|
3529 | exec 6>/dev/null |
|
|
3530 | ac_configure_extra_args="$ac_configure_extra_args --silent" |
|
|
3531 | fi |
|
|
3532 | |
|
|
3533 | _ACEOF |
|
|
3534 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
|
3535 | if \$ac_cs_recheck; then |
|
|
3536 | set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
|
|
3537 | shift |
|
|
3538 | \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 |
|
|
3539 | CONFIG_SHELL='$SHELL' |
|
|
3540 | export CONFIG_SHELL |
|
|
3541 | exec "\$@" |
|
|
3542 | fi |
|
|
3543 | |
|
|
3544 | _ACEOF |
|
|
3545 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
|
3546 | exec 5>>config.log |
|
|
3547 | { |
|
|
3548 | echo |
|
|
3549 | sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX |
|
|
3550 | ## Running $as_me. ## |
|
|
3551 | _ASBOX |
|
|
3552 | $as_echo "$ac_log" |
|
|
3553 | } >&5 |
|
|
3554 | |
|
|
3555 | _ACEOF |
|
|
3556 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
|
3557 | _ACEOF |
|
|
3558 | |
|
|
3559 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
|
3560 | |
|
|
3561 | # Handling of arguments. |
|
|
3562 | for ac_config_target in $ac_config_targets |
|
|
3563 | do |
|
|
3564 | case $ac_config_target in |
|
|
3565 | "libeio/config.h") CONFIG_HEADERS="$CONFIG_HEADERS libeio/config.h" ;; |
|
|
3566 | |
|
|
3567 | *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;; |
|
|
3568 | esac |
|
|
3569 | done |
|
|
3570 | |
|
|
3571 | |
|
|
3572 | # If the user did not use the arguments to specify the items to instantiate, |
|
|
3573 | # then the envvar interface is used. Set only those that are not. |
|
|
3574 | # We use the long form for the default assignment because of an extremely |
|
|
3575 | # bizarre bug on SunOS 4.1.3. |
|
|
3576 | if $ac_need_defaults; then |
|
|
3577 | test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers |
|
|
3578 | fi |
|
|
3579 | |
|
|
3580 | # Have a temporary directory for convenience. Make it in the build tree |
|
|
3581 | # simply because there is no reason against having it here, and in addition, |
|
|
3582 | # creating and moving files from /tmp can sometimes cause problems. |
|
|
3583 | # Hook for its removal unless debugging. |
|
|
3584 | # Note that there is a small window in which the directory will not be cleaned: |
|
|
3585 | # after its creation but before its name has been assigned to `$tmp'. |
|
|
3586 | $debug || |
|
|
3587 | { |
|
|
3588 | tmp= |
|
|
3589 | trap 'exit_status=$? |
|
|
3590 | { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status |
|
|
3591 | ' 0 |
|
|
3592 | trap 'as_fn_exit 1' 1 2 13 15 |
|
|
3593 | } |
|
|
3594 | # Create a (secure) tmp directory for tmp files. |
|
|
3595 | |
|
|
3596 | { |
|
|
3597 | tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
|
|
3598 | test -n "$tmp" && test -d "$tmp" |
|
|
3599 | } || |
|
|
3600 | { |
|
|
3601 | tmp=./conf$$-$RANDOM |
|
|
3602 | (umask 077 && mkdir "$tmp") |
|
|
3603 | } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 |
|
|
3604 | |
|
|
3605 | # Set up the scripts for CONFIG_HEADERS section. |
|
|
3606 | # No need to generate them if there are no CONFIG_HEADERS. |
|
|
3607 | # This happens for instance with `./config.status Makefile'. |
|
|
3608 | if test -n "$CONFIG_HEADERS"; then |
|
|
3609 | cat >"$tmp/defines.awk" <<\_ACAWK || |
|
|
3610 | BEGIN { |
|
|
3611 | _ACEOF |
|
|
3612 | |
|
|
3613 | # Transform confdefs.h into an awk script `defines.awk', embedded as |
|
|
3614 | # here-document in config.status, that substitutes the proper values into |
|
|
3615 | # config.h.in to produce config.h. |
|
|
3616 | |
|
|
3617 | # Create a delimiter string that does not exist in confdefs.h, to ease |
|
|
3618 | # handling of long lines. |
|
|
3619 | ac_delim='%!_!# ' |
|
|
3620 | for ac_last_try in false false :; do |
|
|
3621 | ac_t=`sed -n "/$ac_delim/p" confdefs.h` |
|
|
3622 | if test -z "$ac_t"; then |
|
|
3623 | break |
|
|
3624 | elif $ac_last_try; then |
|
|
3625 | as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 |
|
|
3626 | else |
|
|
3627 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
|
|
3628 | fi |
|
|
3629 | done |
|
|
3630 | |
|
|
3631 | # For the awk script, D is an array of macro values keyed by name, |
|
|
3632 | # likewise P contains macro parameters if any. Preserve backslash |
|
|
3633 | # newline sequences. |
|
|
3634 | |
|
|
3635 | ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* |
|
|
3636 | sed -n ' |
|
|
3637 | s/.\{148\}/&'"$ac_delim"'/g |
|
|
3638 | t rset |
|
|
3639 | :rset |
|
|
3640 | s/^[ ]*#[ ]*define[ ][ ]*/ / |
|
|
3641 | t def |
|
|
3642 | d |
|
|
3643 | :def |
|
|
3644 | s/\\$// |
|
|
3645 | t bsnl |
|
|
3646 | s/["\\]/\\&/g |
|
|
3647 | s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ |
|
|
3648 | D["\1"]=" \3"/p |
|
|
3649 | s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p |
|
|
3650 | d |
|
|
3651 | :bsnl |
|
|
3652 | s/["\\]/\\&/g |
|
|
3653 | s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ |
|
|
3654 | D["\1"]=" \3\\\\\\n"\\/p |
|
|
3655 | t cont |
|
|
3656 | s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p |
|
|
3657 | t cont |
|
|
3658 | d |
|
|
3659 | :cont |
|
|
3660 | n |
|
|
3661 | s/.\{148\}/&'"$ac_delim"'/g |
|
|
3662 | t clear |
|
|
3663 | :clear |
|
|
3664 | s/\\$// |
|
|
3665 | t bsnlc |
|
|
3666 | s/["\\]/\\&/g; s/^/"/; s/$/"/p |
|
|
3667 | d |
|
|
3668 | :bsnlc |
|
|
3669 | s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p |
|
|
3670 | b cont |
|
|
3671 | ' <confdefs.h | sed ' |
|
|
3672 | s/'"$ac_delim"'/"\\\ |
|
|
3673 | "/g' >>$CONFIG_STATUS || ac_write_fail=1 |
|
|
3674 | |
|
|
3675 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
|
3676 | for (key in D) D_is_set[key] = 1 |
|
|
3677 | FS = "" |
|
|
3678 | } |
|
|
3679 | /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { |
|
|
3680 | line = \$ 0 |
|
|
3681 | split(line, arg, " ") |
|
|
3682 | if (arg[1] == "#") { |
|
|
3683 | defundef = arg[2] |
|
|
3684 | mac1 = arg[3] |
|
|
3685 | } else { |
|
|
3686 | defundef = substr(arg[1], 2) |
|
|
3687 | mac1 = arg[2] |
|
|
3688 | } |
|
|
3689 | split(mac1, mac2, "(") #) |
|
|
3690 | macro = mac2[1] |
|
|
3691 | prefix = substr(line, 1, index(line, defundef) - 1) |
|
|
3692 | if (D_is_set[macro]) { |
|
|
3693 | # Preserve the white space surrounding the "#". |
|
|
3694 | print prefix "define", macro P[macro] D[macro] |
|
|
3695 | next |
|
|
3696 | } else { |
|
|
3697 | # Replace #undef with comments. This is necessary, for example, |
|
|
3698 | # in the case of _POSIX_SOURCE, which is predefined and required |
|
|
3699 | # on some systems where configure will not decide to define it. |
|
|
3700 | if (defundef == "undef") { |
|
|
3701 | print "/*", prefix defundef, macro, "*/" |
|
|
3702 | next |
|
|
3703 | } |
|
|
3704 | } |
|
|
3705 | } |
|
|
3706 | { print } |
|
|
3707 | _ACAWK |
|
|
3708 | _ACEOF |
|
|
3709 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
|
3710 | as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 |
|
|
3711 | fi # test -n "$CONFIG_HEADERS" |
|
|
3712 | |
|
|
3713 | |
|
|
3714 | eval set X " :H $CONFIG_HEADERS " |
|
|
3715 | shift |
|
|
3716 | for ac_tag |
|
|
3717 | do |
|
|
3718 | case $ac_tag in |
|
|
3719 | :[FHLC]) ac_mode=$ac_tag; continue;; |
|
|
3720 | esac |
|
|
3721 | case $ac_mode$ac_tag in |
|
|
3722 | :[FHL]*:*);; |
|
|
3723 | :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;; |
|
|
3724 | :[FH]-) ac_tag=-:-;; |
|
|
3725 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
|
|
3726 | esac |
|
|
3727 | ac_save_IFS=$IFS |
|
|
3728 | IFS=: |
|
|
3729 | set x $ac_tag |
|
|
3730 | IFS=$ac_save_IFS |
|
|
3731 | shift |
|
|
3732 | ac_file=$1 |
|
|
3733 | shift |
|
|
3734 | |
|
|
3735 | case $ac_mode in |
|
|
3736 | :L) ac_source=$1;; |
|
|
3737 | :[FH]) |
|
|
3738 | ac_file_inputs= |
|
|
3739 | for ac_f |
|
|
3740 | do |
|
|
3741 | case $ac_f in |
|
|
3742 | -) ac_f="$tmp/stdin";; |
|
|
3743 | *) # Look for the file first in the build tree, then in the source tree |
|
|
3744 | # (if the path is not absolute). The absolute path cannot be DOS-style, |
|
|
3745 | # because $ac_f cannot contain `:'. |
|
|
3746 | test -f "$ac_f" || |
|
|
3747 | case $ac_f in |
|
|
3748 | [\\/$]*) false;; |
|
|
3749 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
|
|
3750 | esac || |
|
|
3751 | as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;; |
|
|
3752 | esac |
|
|
3753 | case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
|
|
3754 | as_fn_append ac_file_inputs " '$ac_f'" |
|
|
3755 | done |
|
|
3756 | |
|
|
3757 | # Let's still pretend it is `configure' which instantiates (i.e., don't |
|
|
3758 | # use $as_me), people would be surprised to read: |
|
|
3759 | # /* config.h. Generated by config.status. */ |
|
|
3760 | configure_input='Generated from '` |
|
|
3761 | $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' |
|
|
3762 | `' by configure.' |
|
|
3763 | if test x"$ac_file" != x-; then |
|
|
3764 | configure_input="$ac_file. $configure_input" |
|
|
3765 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 |
|
|
3766 | $as_echo "$as_me: creating $ac_file" >&6;} |
|
|
3767 | fi |
|
|
3768 | # Neutralize special characters interpreted by sed in replacement strings. |
|
|
3769 | case $configure_input in #( |
|
|
3770 | *\&* | *\|* | *\\* ) |
|
|
3771 | ac_sed_conf_input=`$as_echo "$configure_input" | |
|
|
3772 | sed 's/[\\\\&|]/\\\\&/g'`;; #( |
|
|
3773 | *) ac_sed_conf_input=$configure_input;; |
|
|
3774 | esac |
|
|
3775 | |
|
|
3776 | case $ac_tag in |
|
|
3777 | *:-:* | *:-) cat >"$tmp/stdin" \ |
|
|
3778 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; |
|
|
3779 | esac |
|
|
3780 | ;; |
|
|
3781 | esac |
|
|
3782 | |
|
|
3783 | ac_dir=`$as_dirname -- "$ac_file" || |
|
|
3784 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
|
3785 | X"$ac_file" : 'X\(//\)[^/]' \| \ |
|
|
3786 | X"$ac_file" : 'X\(//\)$' \| \ |
|
|
3787 | X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || |
|
|
3788 | $as_echo X"$ac_file" | |
|
|
3789 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|
|
3790 | s//\1/ |
|
|
3791 | q |
|
|
3792 | } |
|
|
3793 | /^X\(\/\/\)[^/].*/{ |
|
|
3794 | s//\1/ |
|
|
3795 | q |
|
|
3796 | } |
|
|
3797 | /^X\(\/\/\)$/{ |
|
|
3798 | s//\1/ |
|
|
3799 | q |
|
|
3800 | } |
|
|
3801 | /^X\(\/\).*/{ |
|
|
3802 | s//\1/ |
|
|
3803 | q |
|
|
3804 | } |
|
|
3805 | s/.*/./; q'` |
|
|
3806 | as_dir="$ac_dir"; as_fn_mkdir_p |
3656 | ac_builddir=. |
3807 | ac_builddir=. |
3657 | |
3808 | |
3658 | case "$ac_dir" in |
3809 | case "$ac_dir" in |
3659 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
3810 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
3660 | *) |
3811 | *) |
3661 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
3812 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
3662 | # A ".." for each directory in $ac_dir_suffix. |
3813 | # A ".." for each directory in $ac_dir_suffix. |
3663 | ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` |
3814 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
3664 | case $ac_top_builddir_sub in |
3815 | case $ac_top_builddir_sub in |
3665 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
3816 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
3666 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
3817 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
3667 | esac ;; |
3818 | esac ;; |
3668 | esac |
3819 | esac |
… | |
… | |
3692 | |
3843 | |
3693 | :H) |
3844 | :H) |
3694 | # |
3845 | # |
3695 | # CONFIG_HEADER |
3846 | # CONFIG_HEADER |
3696 | # |
3847 | # |
3697 | _ACEOF |
|
|
3698 | |
|
|
3699 | # Transform confdefs.h into a sed script `conftest.defines', that |
|
|
3700 | # substitutes the proper values into config.h.in to produce config.h. |
|
|
3701 | rm -f conftest.defines conftest.tail |
|
|
3702 | # First, append a space to every undef/define line, to ease matching. |
|
|
3703 | echo 's/$/ /' >conftest.defines |
|
|
3704 | # Then, protect against being on the right side of a sed subst, or in |
|
|
3705 | # an unquoted here document, in config.status. If some macros were |
|
|
3706 | # called several times there might be several #defines for the same |
|
|
3707 | # symbol, which is useless. But do not sort them, since the last |
|
|
3708 | # AC_DEFINE must be honored. |
|
|
3709 | ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* |
|
|
3710 | # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where |
|
|
3711 | # NAME is the cpp macro being defined, VALUE is the value it is being given. |
|
|
3712 | # PARAMS is the parameter list in the macro definition--in most cases, it's |
|
|
3713 | # just an empty string. |
|
|
3714 | ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*' |
|
|
3715 | ac_dB='\\)[ (].*,\\1define\\2' |
|
|
3716 | ac_dC=' ' |
|
|
3717 | ac_dD=' ,' |
|
|
3718 | |
|
|
3719 | uniq confdefs.h | |
|
|
3720 | sed -n ' |
|
|
3721 | t rset |
|
|
3722 | :rset |
|
|
3723 | s/^[ ]*#[ ]*define[ ][ ]*// |
|
|
3724 | t ok |
|
|
3725 | d |
|
|
3726 | :ok |
|
|
3727 | s/[\\&,]/\\&/g |
|
|
3728 | s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p |
|
|
3729 | s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p |
|
|
3730 | ' >>conftest.defines |
|
|
3731 | |
|
|
3732 | # Remove the space that was appended to ease matching. |
|
|
3733 | # Then replace #undef with comments. This is necessary, for |
|
|
3734 | # example, in the case of _POSIX_SOURCE, which is predefined and required |
|
|
3735 | # on some systems where configure will not decide to define it. |
|
|
3736 | # (The regexp can be short, since the line contains either #define or #undef.) |
|
|
3737 | echo 's/ $// |
|
|
3738 | s,^[ #]*u.*,/* & */,' >>conftest.defines |
|
|
3739 | |
|
|
3740 | # Break up conftest.defines: |
|
|
3741 | ac_max_sed_lines=50 |
|
|
3742 | |
|
|
3743 | # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1" |
|
|
3744 | # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2" |
|
|
3745 | # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1" |
|
|
3746 | # et cetera. |
|
|
3747 | ac_in='$ac_file_inputs' |
|
|
3748 | ac_out='"$tmp/out1"' |
|
|
3749 | ac_nxt='"$tmp/out2"' |
|
|
3750 | |
|
|
3751 | while : |
|
|
3752 | do |
|
|
3753 | # Write a here document: |
|
|
3754 | cat >>$CONFIG_STATUS <<_ACEOF |
|
|
3755 | # First, check the format of the line: |
|
|
3756 | cat >"\$tmp/defines.sed" <<\\CEOF |
|
|
3757 | /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def |
|
|
3758 | /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def |
|
|
3759 | b |
|
|
3760 | :def |
|
|
3761 | _ACEOF |
|
|
3762 | sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS |
|
|
3763 | echo 'CEOF |
|
|
3764 | sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS |
|
|
3765 | ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in |
|
|
3766 | sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail |
|
|
3767 | grep . conftest.tail >/dev/null || break |
|
|
3768 | rm -f conftest.defines |
|
|
3769 | mv conftest.tail conftest.defines |
|
|
3770 | done |
|
|
3771 | rm -f conftest.defines conftest.tail |
|
|
3772 | |
|
|
3773 | echo "ac_result=$ac_in" >>$CONFIG_STATUS |
|
|
3774 | cat >>$CONFIG_STATUS <<\_ACEOF |
|
|
3775 | if test x"$ac_file" != x-; then |
3848 | if test x"$ac_file" != x-; then |
|
|
3849 | { |
3776 | echo "/* $configure_input */" >"$tmp/config.h" |
3850 | $as_echo "/* $configure_input */" \ |
3777 | cat "$ac_result" >>"$tmp/config.h" |
3851 | && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" |
|
|
3852 | } >"$tmp/config.h" \ |
|
|
3853 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
3778 | if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then |
3854 | if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then |
3779 | { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 |
3855 | { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 |
3780 | echo "$as_me: $ac_file is unchanged" >&6;} |
3856 | $as_echo "$as_me: $ac_file is unchanged" >&6;} |
3781 | else |
3857 | else |
3782 | rm -f $ac_file |
3858 | rm -f "$ac_file" |
3783 | mv "$tmp/config.h" $ac_file |
3859 | mv "$tmp/config.h" "$ac_file" \ |
|
|
3860 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
3784 | fi |
3861 | fi |
3785 | else |
3862 | else |
3786 | echo "/* $configure_input */" |
3863 | $as_echo "/* $configure_input */" \ |
3787 | cat "$ac_result" |
3864 | && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ |
|
|
3865 | || as_fn_error $? "could not create -" "$LINENO" 5 |
3788 | fi |
3866 | fi |
3789 | rm -f "$tmp/out12" |
|
|
3790 | ;; |
3867 | ;; |
3791 | |
3868 | |
3792 | |
3869 | |
3793 | esac |
3870 | esac |
3794 | |
3871 | |
3795 | done # for ac_tag |
3872 | done # for ac_tag |
3796 | |
3873 | |
3797 | |
3874 | |
3798 | { (exit 0); exit 0; } |
3875 | as_fn_exit 0 |
3799 | _ACEOF |
3876 | _ACEOF |
3800 | chmod +x $CONFIG_STATUS |
|
|
3801 | ac_clean_files=$ac_clean_files_save |
3877 | ac_clean_files=$ac_clean_files_save |
|
|
3878 | |
|
|
3879 | test $ac_write_fail = 0 || |
|
|
3880 | as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 |
3802 | |
3881 | |
3803 | |
3882 | |
3804 | # configure is writing to config.log, and then calls config.status. |
3883 | # configure is writing to config.log, and then calls config.status. |
3805 | # config.status does its own redirection, appending to config.log. |
3884 | # config.status does its own redirection, appending to config.log. |
3806 | # Unfortunately, on DOS this fails, as config.log is still kept open |
3885 | # Unfortunately, on DOS this fails, as config.log is still kept open |
… | |
… | |
3817 | exec 5>/dev/null |
3896 | exec 5>/dev/null |
3818 | $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
3897 | $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
3819 | exec 5>>config.log |
3898 | exec 5>>config.log |
3820 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
3899 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
3821 | # would make configure fail if this is the last instruction. |
3900 | # would make configure fail if this is the last instruction. |
3822 | $ac_cs_success || { (exit 1); exit 1; } |
3901 | $ac_cs_success || as_fn_exit 1 |
3823 | fi |
3902 | fi |
|
|
3903 | if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then |
|
|
3904 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 |
|
|
3905 | $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} |
|
|
3906 | fi |
3824 | |
3907 | |