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