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.69. |
3 | # Generated by GNU Autoconf 2.71. |
4 | # |
4 | # |
5 | # |
5 | # |
6 | # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. |
6 | # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation, |
|
|
7 | # Inc. |
7 | # |
8 | # |
8 | # |
9 | # |
9 | # This configure script is free software; the Free Software Foundation |
10 | # This configure script is free software; the Free Software Foundation |
10 | # gives unlimited permission to copy, distribute and modify it. |
11 | # gives unlimited permission to copy, distribute and modify it. |
11 | ## -------------------- ## |
12 | ## -------------------- ## |
12 | ## M4sh Initialization. ## |
13 | ## M4sh Initialization. ## |
13 | ## -------------------- ## |
14 | ## -------------------- ## |
14 | |
15 | |
15 | # Be more Bourne compatible |
16 | # Be more Bourne compatible |
16 | DUALCASE=1; export DUALCASE # for MKS sh |
17 | DUALCASE=1; export DUALCASE # for MKS sh |
|
|
18 | as_nop=: |
17 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : |
19 | if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 |
|
|
20 | then : |
18 | emulate sh |
21 | emulate sh |
19 | NULLCMD=: |
22 | NULLCMD=: |
20 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
23 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
21 | # is contrary to our usage. Disable this feature. |
24 | # is contrary to our usage. Disable this feature. |
22 | alias -g '${1+"$@"}'='"$@"' |
25 | alias -g '${1+"$@"}'='"$@"' |
23 | setopt NO_GLOB_SUBST |
26 | setopt NO_GLOB_SUBST |
24 | else |
27 | else $as_nop |
25 | case `(set -o) 2>/dev/null` in #( |
28 | case `(set -o) 2>/dev/null` in #( |
26 | *posix*) : |
29 | *posix*) : |
27 | set -o posix ;; #( |
30 | set -o posix ;; #( |
28 | *) : |
31 | *) : |
29 | ;; |
32 | ;; |
30 | esac |
33 | esac |
31 | fi |
34 | fi |
32 | |
35 | |
33 | |
36 | |
|
|
37 | |
|
|
38 | # Reset variables that may have inherited troublesome values from |
|
|
39 | # the environment. |
|
|
40 | |
|
|
41 | # IFS needs to be set, to space, tab, and newline, in precisely that order. |
|
|
42 | # (If _AS_PATH_WALK were called with IFS unset, it would have the |
|
|
43 | # side effect of setting IFS to empty, thus disabling word splitting.) |
|
|
44 | # Quoting is to prevent editors from complaining about space-tab. |
34 | as_nl=' |
45 | as_nl=' |
35 | ' |
46 | ' |
36 | export as_nl |
47 | export as_nl |
37 | # Printing a long string crashes Solaris 7 /usr/bin/printf. |
48 | IFS=" "" $as_nl" |
38 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
49 | |
39 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
50 | PS1='$ ' |
40 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
51 | PS2='> ' |
41 | # Prefer a ksh shell builtin over an external printf program on Solaris, |
52 | PS4='+ ' |
42 | # but without wasting forks for bash or zsh. |
53 | |
43 | if test -z "$BASH_VERSION$ZSH_VERSION" \ |
54 | # Ensure predictable behavior from utilities with locale-dependent output. |
44 | && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then |
55 | LC_ALL=C |
45 | as_echo='print -r --' |
56 | export LC_ALL |
46 | as_echo_n='print -rn --' |
57 | LANGUAGE=C |
47 | elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
58 | export LANGUAGE |
48 | as_echo='printf %s\n' |
59 | |
49 | as_echo_n='printf %s' |
60 | # We cannot yet rely on "unset" to work, but we need these variables |
50 | else |
61 | # to be unset--not just set to an empty or harmless value--now, to |
51 | if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then |
62 | # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct |
52 | as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' |
63 | # also avoids known problems related to "unset" and subshell syntax |
53 | as_echo_n='/usr/ucb/echo -n' |
64 | # in other old shells (e.g. bash 2.01 and pdksh 5.2.14). |
54 | else |
65 | for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH |
55 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
66 | do eval test \${$as_var+y} \ |
56 | as_echo_n_body='eval |
67 | && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : |
57 | arg=$1; |
68 | done |
58 | case $arg in #( |
69 | |
59 | *"$as_nl"*) |
70 | # Ensure that fds 0, 1, and 2 are open. |
60 | expr "X$arg" : "X\\(.*\\)$as_nl"; |
71 | if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi |
61 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
72 | if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi |
62 | esac; |
73 | if (exec 3>&2) ; then :; else exec 2>/dev/null; fi |
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 |
|
|
71 | |
74 | |
72 | # The user is always right. |
75 | # The user is always right. |
73 | if test "${PATH_SEPARATOR+set}" != set; then |
76 | if ${PATH_SEPARATOR+false} :; then |
74 | PATH_SEPARATOR=: |
77 | PATH_SEPARATOR=: |
75 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
78 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
76 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
79 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
77 | PATH_SEPARATOR=';' |
80 | PATH_SEPARATOR=';' |
78 | } |
81 | } |
79 | fi |
82 | fi |
80 | |
83 | |
81 | |
|
|
82 | # IFS |
|
|
83 | # We need space, tab and new line, in precisely that order. Quoting is |
|
|
84 | # there to prevent editors from complaining about space-tab. |
|
|
85 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
|
|
86 | # splitting by setting IFS to empty value.) |
|
|
87 | IFS=" "" $as_nl" |
|
|
88 | |
84 | |
89 | # Find who we are. Look in the path if we contain no directory separator. |
85 | # Find who we are. Look in the path if we contain no directory separator. |
90 | as_myself= |
86 | as_myself= |
91 | case $0 in #(( |
87 | case $0 in #(( |
92 | *[\\/]* ) as_myself=$0 ;; |
88 | *[\\/]* ) as_myself=$0 ;; |
93 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
89 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
94 | for as_dir in $PATH |
90 | for as_dir in $PATH |
95 | do |
91 | do |
96 | IFS=$as_save_IFS |
92 | IFS=$as_save_IFS |
97 | test -z "$as_dir" && as_dir=. |
93 | case $as_dir in #((( |
|
|
94 | '') as_dir=./ ;; |
|
|
95 | */) ;; |
|
|
96 | *) as_dir=$as_dir/ ;; |
|
|
97 | esac |
98 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
98 | test -r "$as_dir$0" && as_myself=$as_dir$0 && break |
99 | done |
99 | done |
100 | IFS=$as_save_IFS |
100 | IFS=$as_save_IFS |
101 | |
101 | |
102 | ;; |
102 | ;; |
103 | esac |
103 | esac |
… | |
… | |
105 | # 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. |
106 | if test "x$as_myself" = x; then |
106 | if test "x$as_myself" = x; then |
107 | as_myself=$0 |
107 | as_myself=$0 |
108 | fi |
108 | fi |
109 | if test ! -f "$as_myself"; then |
109 | if test ! -f "$as_myself"; then |
110 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
110 | printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
111 | exit 1 |
111 | exit 1 |
112 | fi |
112 | fi |
113 | |
113 | |
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. |
|
|
118 | for as_var in BASH_ENV ENV MAIL MAILPATH |
|
|
119 | do eval test x\${$as_var+set} = xset \ |
|
|
120 | && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : |
|
|
121 | done |
|
|
122 | PS1='$ ' |
|
|
123 | PS2='> ' |
|
|
124 | PS4='+ ' |
|
|
125 | |
|
|
126 | # NLS nuisances. |
|
|
127 | LC_ALL=C |
|
|
128 | export LC_ALL |
|
|
129 | LANGUAGE=C |
|
|
130 | export LANGUAGE |
|
|
131 | |
|
|
132 | # CDPATH. |
|
|
133 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
|
|
134 | |
114 | |
135 | # Use a proper internal environment variable to ensure we don't fall |
115 | # Use a proper internal environment variable to ensure we don't fall |
136 | # into an infinite loop, continuously re-executing ourselves. |
116 | # into an infinite loop, continuously re-executing ourselves. |
137 | if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then |
117 | if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then |
138 | _as_can_reexec=no; export _as_can_reexec; |
118 | _as_can_reexec=no; export _as_can_reexec; |
… | |
… | |
150 | * ) as_opts= ;; |
130 | * ) as_opts= ;; |
151 | esac |
131 | esac |
152 | exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} |
132 | exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} |
153 | # Admittedly, this is quite paranoid, since all the known shells bail |
133 | # Admittedly, this is quite paranoid, since all the known shells bail |
154 | # out after a failed `exec'. |
134 | # out after a failed `exec'. |
155 | $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 |
135 | printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2 |
156 | as_fn_exit 255 |
136 | exit 255 |
157 | fi |
137 | fi |
158 | # We don't want this to propagate to other subprocesses. |
138 | # We don't want this to propagate to other subprocesses. |
159 | { _as_can_reexec=; unset _as_can_reexec;} |
139 | { _as_can_reexec=; unset _as_can_reexec;} |
160 | if test "x$CONFIG_SHELL" = x; then |
140 | if test "x$CONFIG_SHELL" = x; then |
161 | as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : |
141 | as_bourne_compatible="as_nop=: |
|
|
142 | if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 |
|
|
143 | then : |
162 | emulate sh |
144 | emulate sh |
163 | NULLCMD=: |
145 | NULLCMD=: |
164 | # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which |
146 | # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which |
165 | # is contrary to our usage. Disable this feature. |
147 | # is contrary to our usage. Disable this feature. |
166 | alias -g '\${1+\"\$@\"}'='\"\$@\"' |
148 | alias -g '\${1+\"\$@\"}'='\"\$@\"' |
167 | setopt NO_GLOB_SUBST |
149 | setopt NO_GLOB_SUBST |
168 | else |
150 | else \$as_nop |
169 | case \`(set -o) 2>/dev/null\` in #( |
151 | case \`(set -o) 2>/dev/null\` in #( |
170 | *posix*) : |
152 | *posix*) : |
171 | set -o posix ;; #( |
153 | set -o posix ;; #( |
172 | *) : |
154 | *) : |
173 | ;; |
155 | ;; |
… | |
… | |
183 | exitcode=0 |
165 | exitcode=0 |
184 | as_fn_success || { exitcode=1; echo as_fn_success failed.; } |
166 | as_fn_success || { exitcode=1; echo as_fn_success failed.; } |
185 | as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } |
167 | as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } |
186 | as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } |
168 | 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.; } |
169 | 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 : |
170 | if ( set x; as_fn_ret_success y && test x = \"\$1\" ) |
|
|
171 | then : |
189 | |
172 | |
190 | else |
173 | else \$as_nop |
191 | exitcode=1; echo positional parameters were not saved. |
174 | exitcode=1; echo positional parameters were not saved. |
192 | fi |
175 | fi |
193 | test x\$exitcode = x0 || exit 1 |
176 | test x\$exitcode = x0 || exit 1 |
|
|
177 | blah=\$(echo \$(echo blah)) |
|
|
178 | test x\"\$blah\" = xblah || exit 1 |
194 | test -x / || exit 1" |
179 | test -x / || exit 1" |
195 | as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO |
180 | 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 |
181 | 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'\" && |
182 | 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 |
183 | test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 |
199 | test \$(( 1 + 1 )) = 2 || exit 1" |
184 | test \$(( 1 + 1 )) = 2 || exit 1" |
200 | if (eval "$as_required") 2>/dev/null; then : |
185 | if (eval "$as_required") 2>/dev/null |
|
|
186 | then : |
201 | as_have_required=yes |
187 | as_have_required=yes |
202 | else |
188 | else $as_nop |
203 | as_have_required=no |
189 | as_have_required=no |
204 | fi |
190 | fi |
205 | if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : |
191 | if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null |
|
|
192 | then : |
206 | |
193 | |
207 | else |
194 | else $as_nop |
208 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
195 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
209 | as_found=false |
196 | as_found=false |
210 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
197 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
211 | do |
198 | do |
212 | IFS=$as_save_IFS |
199 | IFS=$as_save_IFS |
213 | test -z "$as_dir" && as_dir=. |
200 | case $as_dir in #((( |
|
|
201 | '') as_dir=./ ;; |
|
|
202 | */) ;; |
|
|
203 | *) as_dir=$as_dir/ ;; |
|
|
204 | esac |
214 | as_found=: |
205 | as_found=: |
215 | case $as_dir in #( |
206 | case $as_dir in #( |
216 | /*) |
207 | /*) |
217 | for as_base in sh bash ksh sh5; do |
208 | for as_base in sh bash ksh sh5; do |
218 | # Try only shells that exist, to save several forks. |
209 | # Try only shells that exist, to save several forks. |
219 | as_shell=$as_dir/$as_base |
210 | as_shell=$as_dir$as_base |
220 | if { test -f "$as_shell" || test -f "$as_shell.exe"; } && |
211 | 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 : |
212 | as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null |
|
|
213 | then : |
222 | CONFIG_SHELL=$as_shell as_have_required=yes |
214 | 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 : |
215 | if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null |
|
|
216 | then : |
224 | break 2 |
217 | break 2 |
225 | fi |
218 | fi |
226 | fi |
219 | fi |
227 | done;; |
220 | done;; |
228 | esac |
221 | esac |
229 | as_found=false |
222 | as_found=false |
230 | done |
223 | done |
|
|
224 | IFS=$as_save_IFS |
|
|
225 | if $as_found |
|
|
226 | then : |
|
|
227 | |
|
|
228 | else $as_nop |
231 | $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && |
229 | if { test -f "$SHELL" || test -f "$SHELL.exe"; } && |
232 | { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : |
230 | as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null |
|
|
231 | then : |
233 | CONFIG_SHELL=$SHELL as_have_required=yes |
232 | CONFIG_SHELL=$SHELL as_have_required=yes |
234 | fi; } |
233 | fi |
235 | IFS=$as_save_IFS |
234 | fi |
236 | |
235 | |
237 | |
236 | |
238 | if test "x$CONFIG_SHELL" != x; then : |
237 | if test "x$CONFIG_SHELL" != x |
|
|
238 | then : |
239 | export CONFIG_SHELL |
239 | export CONFIG_SHELL |
240 | # We cannot yet assume a decent shell, so we have to provide a |
240 | # We cannot yet assume a decent shell, so we have to provide a |
241 | # neutralization value for shells without unset; and this also |
241 | # neutralization value for shells without unset; and this also |
242 | # works around shells that cannot unset nonexistent variables. |
242 | # works around shells that cannot unset nonexistent variables. |
243 | # Preserve -v and -x to the replacement shell. |
243 | # Preserve -v and -x to the replacement shell. |
… | |
… | |
251 | * ) as_opts= ;; |
251 | * ) as_opts= ;; |
252 | esac |
252 | esac |
253 | exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} |
253 | exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} |
254 | # Admittedly, this is quite paranoid, since all the known shells bail |
254 | # Admittedly, this is quite paranoid, since all the known shells bail |
255 | # out after a failed `exec'. |
255 | # out after a failed `exec'. |
256 | $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 |
256 | printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2 |
257 | exit 255 |
257 | exit 255 |
258 | fi |
258 | fi |
259 | |
259 | |
260 | if test x$as_have_required = xno; then : |
260 | if test x$as_have_required = xno |
|
|
261 | then : |
261 | $as_echo "$0: This script requires a shell more modern than all" |
262 | printf "%s\n" "$0: This script requires a shell more modern than all" |
262 | $as_echo "$0: the shells that I found on your system." |
263 | printf "%s\n" "$0: the shells that I found on your system." |
263 | if test x${ZSH_VERSION+set} = xset ; then |
264 | if test ${ZSH_VERSION+y} ; then |
264 | $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" |
265 | printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should" |
265 | $as_echo "$0: be upgraded to zsh 4.3.4 or later." |
266 | printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later." |
266 | else |
267 | else |
267 | $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, |
268 | printf "%s\n" "$0: Please tell bug-autoconf@gnu.org about your system, |
268 | $0: including any error possibly output before this |
269 | $0: including any error possibly output before this |
269 | $0: message. Then install a modern shell, or manually run |
270 | $0: message. Then install a modern shell, or manually run |
270 | $0: the script under such a shell if you do have one." |
271 | $0: the script under such a shell if you do have one." |
271 | fi |
272 | fi |
272 | exit 1 |
273 | exit 1 |
… | |
… | |
289 | { |
290 | { |
290 | { eval $1=; unset $1;} |
291 | { eval $1=; unset $1;} |
291 | } |
292 | } |
292 | as_unset=as_fn_unset |
293 | as_unset=as_fn_unset |
293 | |
294 | |
|
|
295 | |
294 | # as_fn_set_status STATUS |
296 | # as_fn_set_status STATUS |
295 | # ----------------------- |
297 | # ----------------------- |
296 | # Set $? to STATUS, without forking. |
298 | # Set $? to STATUS, without forking. |
297 | as_fn_set_status () |
299 | as_fn_set_status () |
298 | { |
300 | { |
… | |
… | |
306 | { |
308 | { |
307 | set +e |
309 | set +e |
308 | as_fn_set_status $1 |
310 | as_fn_set_status $1 |
309 | exit $1 |
311 | exit $1 |
310 | } # as_fn_exit |
312 | } # as_fn_exit |
|
|
313 | # as_fn_nop |
|
|
314 | # --------- |
|
|
315 | # Do nothing but, unlike ":", preserve the value of $?. |
|
|
316 | as_fn_nop () |
|
|
317 | { |
|
|
318 | return $? |
|
|
319 | } |
|
|
320 | as_nop=as_fn_nop |
311 | |
321 | |
312 | # as_fn_mkdir_p |
322 | # as_fn_mkdir_p |
313 | # ------------- |
323 | # ------------- |
314 | # Create "$as_dir" as a directory, including parents if necessary. |
324 | # Create "$as_dir" as a directory, including parents if necessary. |
315 | as_fn_mkdir_p () |
325 | as_fn_mkdir_p () |
… | |
… | |
320 | esac |
330 | esac |
321 | test -d "$as_dir" || eval $as_mkdir_p || { |
331 | test -d "$as_dir" || eval $as_mkdir_p || { |
322 | as_dirs= |
332 | as_dirs= |
323 | while :; do |
333 | while :; do |
324 | case $as_dir in #( |
334 | case $as_dir in #( |
325 | *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
335 | *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
326 | *) as_qdir=$as_dir;; |
336 | *) as_qdir=$as_dir;; |
327 | esac |
337 | esac |
328 | as_dirs="'$as_qdir' $as_dirs" |
338 | as_dirs="'$as_qdir' $as_dirs" |
329 | as_dir=`$as_dirname -- "$as_dir" || |
339 | as_dir=`$as_dirname -- "$as_dir" || |
330 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
340 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
331 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
341 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
332 | X"$as_dir" : 'X\(//\)$' \| \ |
342 | X"$as_dir" : 'X\(//\)$' \| \ |
333 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
343 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
334 | $as_echo X"$as_dir" | |
344 | printf "%s\n" X"$as_dir" | |
335 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
345 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
336 | s//\1/ |
346 | s//\1/ |
337 | q |
347 | q |
338 | } |
348 | } |
339 | /^X\(\/\/\)[^/].*/{ |
349 | /^X\(\/\/\)[^/].*/{ |
… | |
… | |
368 | # ---------------------- |
378 | # ---------------------- |
369 | # Append the text in VALUE to the end of the definition contained in VAR. Take |
379 | # 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 |
380 | # advantage of any shell optimizations that allow amortized linear growth over |
371 | # repeated appends, instead of the typical quadratic growth present in naive |
381 | # repeated appends, instead of the typical quadratic growth present in naive |
372 | # implementations. |
382 | # implementations. |
373 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : |
383 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null |
|
|
384 | then : |
374 | eval 'as_fn_append () |
385 | eval 'as_fn_append () |
375 | { |
386 | { |
376 | eval $1+=\$2 |
387 | eval $1+=\$2 |
377 | }' |
388 | }' |
378 | else |
389 | else $as_nop |
379 | as_fn_append () |
390 | as_fn_append () |
380 | { |
391 | { |
381 | eval $1=\$$1\$2 |
392 | eval $1=\$$1\$2 |
382 | } |
393 | } |
383 | fi # as_fn_append |
394 | fi # as_fn_append |
… | |
… | |
385 | # as_fn_arith ARG... |
396 | # as_fn_arith ARG... |
386 | # ------------------ |
397 | # ------------------ |
387 | # Perform arithmetic evaluation on the ARGs, and store the result in the |
398 | # 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 |
399 | # global $as_val. Take advantage of shells that can avoid forks. The arguments |
389 | # must be portable across $(()) and expr. |
400 | # must be portable across $(()) and expr. |
390 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : |
401 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null |
|
|
402 | then : |
391 | eval 'as_fn_arith () |
403 | eval 'as_fn_arith () |
392 | { |
404 | { |
393 | as_val=$(( $* )) |
405 | as_val=$(( $* )) |
394 | }' |
406 | }' |
395 | else |
407 | else $as_nop |
396 | as_fn_arith () |
408 | as_fn_arith () |
397 | { |
409 | { |
398 | as_val=`expr "$@" || test $? -eq 1` |
410 | as_val=`expr "$@" || test $? -eq 1` |
399 | } |
411 | } |
400 | fi # as_fn_arith |
412 | fi # as_fn_arith |
401 | |
413 | |
|
|
414 | # as_fn_nop |
|
|
415 | # --------- |
|
|
416 | # Do nothing but, unlike ":", preserve the value of $?. |
|
|
417 | as_fn_nop () |
|
|
418 | { |
|
|
419 | return $? |
|
|
420 | } |
|
|
421 | as_nop=as_fn_nop |
402 | |
422 | |
403 | # as_fn_error STATUS ERROR [LINENO LOG_FD] |
423 | # as_fn_error STATUS ERROR [LINENO LOG_FD] |
404 | # ---------------------------------------- |
424 | # ---------------------------------------- |
405 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
425 | # 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 |
426 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
… | |
… | |
408 | as_fn_error () |
428 | as_fn_error () |
409 | { |
429 | { |
410 | as_status=$1; test $as_status -eq 0 && as_status=1 |
430 | as_status=$1; test $as_status -eq 0 && as_status=1 |
411 | if test "$4"; then |
431 | if test "$4"; then |
412 | as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
432 | 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 |
433 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
414 | fi |
434 | fi |
415 | $as_echo "$as_me: error: $2" >&2 |
435 | printf "%s\n" "$as_me: error: $2" >&2 |
416 | as_fn_exit $as_status |
436 | as_fn_exit $as_status |
417 | } # as_fn_error |
437 | } # as_fn_error |
418 | |
438 | |
419 | if expr a : '\(a\)' >/dev/null 2>&1 && |
439 | if expr a : '\(a\)' >/dev/null 2>&1 && |
420 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
440 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
… | |
… | |
437 | |
457 | |
438 | as_me=`$as_basename -- "$0" || |
458 | as_me=`$as_basename -- "$0" || |
439 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
459 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
440 | X"$0" : 'X\(//\)$' \| \ |
460 | X"$0" : 'X\(//\)$' \| \ |
441 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
461 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
442 | $as_echo X/"$0" | |
462 | printf "%s\n" X/"$0" | |
443 | sed '/^.*\/\([^/][^/]*\)\/*$/{ |
463 | sed '/^.*\/\([^/][^/]*\)\/*$/{ |
444 | s//\1/ |
464 | s//\1/ |
445 | q |
465 | q |
446 | } |
466 | } |
447 | /^X\/\(\/\/\)$/{ |
467 | /^X\/\(\/\/\)$/{ |
… | |
… | |
481 | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
501 | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
482 | t loop |
502 | t loop |
483 | s/-\n.*// |
503 | s/-\n.*// |
484 | ' >$as_me.lineno && |
504 | ' >$as_me.lineno && |
485 | chmod +x "$as_me.lineno" || |
505 | chmod +x "$as_me.lineno" || |
486 | { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } |
506 | { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } |
487 | |
507 | |
488 | # If we had to re-execute with $CONFIG_SHELL, we're ensured to have |
508 | # 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 |
509 | # 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. |
510 | # in an infinite loop. This has already happened in practice. |
491 | _as_can_reexec=no; export _as_can_reexec |
511 | _as_can_reexec=no; export _as_can_reexec |
… | |
… | |
495 | . "./$as_me.lineno" |
515 | . "./$as_me.lineno" |
496 | # Exit status is that of the last command. |
516 | # Exit status is that of the last command. |
497 | exit |
517 | exit |
498 | } |
518 | } |
499 | |
519 | |
|
|
520 | |
|
|
521 | # Determine whether it's possible to make 'echo' print without a newline. |
|
|
522 | # These variables are no longer used directly by Autoconf, but are AC_SUBSTed |
|
|
523 | # for compatibility with existing Makefiles. |
500 | ECHO_C= ECHO_N= ECHO_T= |
524 | ECHO_C= ECHO_N= ECHO_T= |
501 | case `echo -n x` in #((((( |
525 | case `echo -n x` in #((((( |
502 | -n*) |
526 | -n*) |
503 | case `echo 'xy\c'` in |
527 | case `echo 'xy\c'` in |
504 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
528 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
… | |
… | |
507 | ECHO_T=' ';; |
531 | ECHO_T=' ';; |
508 | esac;; |
532 | esac;; |
509 | *) |
533 | *) |
510 | ECHO_N='-n';; |
534 | ECHO_N='-n';; |
511 | esac |
535 | esac |
|
|
536 | |
|
|
537 | # For backward compatibility with old third-party macros, we provide |
|
|
538 | # the shell variables $as_echo and $as_echo_n. New code should use |
|
|
539 | # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively. |
|
|
540 | as_echo='printf %s\n' |
|
|
541 | as_echo_n='printf %s' |
|
|
542 | |
512 | |
543 | |
513 | rm -f conf$$ conf$$.exe conf$$.file |
544 | rm -f conf$$ conf$$.exe conf$$.file |
514 | if test -d conf$$.dir; then |
545 | if test -d conf$$.dir; then |
515 | rm -f conf$$.dir/conf$$.file |
546 | rm -f conf$$.dir/conf$$.file |
516 | else |
547 | else |
… | |
… | |
573 | subdirs= |
604 | subdirs= |
574 | MFLAGS= |
605 | MFLAGS= |
575 | MAKEFLAGS= |
606 | MAKEFLAGS= |
576 | |
607 | |
577 | # Identity of this package. |
608 | # Identity of this package. |
578 | PACKAGE_NAME= |
609 | PACKAGE_NAME='' |
579 | PACKAGE_TARNAME= |
610 | PACKAGE_TARNAME='' |
580 | PACKAGE_VERSION= |
611 | PACKAGE_VERSION='' |
581 | PACKAGE_STRING= |
612 | PACKAGE_STRING='' |
582 | PACKAGE_BUGREPORT= |
613 | PACKAGE_BUGREPORT='' |
583 | PACKAGE_URL= |
614 | PACKAGE_URL='' |
584 | |
615 | |
585 | ac_unique_file="uulib.c" |
616 | ac_unique_file="uulib.c" |
586 | # Factoring default headers for most tests. |
617 | # Factoring default headers for most tests. |
587 | ac_includes_default="\ |
618 | ac_includes_default="\ |
|
|
619 | #include <stddef.h> |
|
|
620 | #ifdef HAVE_STDIO_H |
588 | #include <stdio.h> |
621 | # include <stdio.h> |
589 | #ifdef HAVE_SYS_TYPES_H |
|
|
590 | # include <sys/types.h> |
|
|
591 | #endif |
622 | #endif |
592 | #ifdef HAVE_SYS_STAT_H |
623 | #ifdef HAVE_STDLIB_H |
593 | # include <sys/stat.h> |
|
|
594 | #endif |
|
|
595 | #ifdef STDC_HEADERS |
|
|
596 | # include <stdlib.h> |
624 | # include <stdlib.h> |
597 | # include <stddef.h> |
|
|
598 | #else |
|
|
599 | # ifdef HAVE_STDLIB_H |
|
|
600 | # include <stdlib.h> |
|
|
601 | # endif |
|
|
602 | #endif |
625 | #endif |
603 | #ifdef HAVE_STRING_H |
626 | #ifdef HAVE_STRING_H |
604 | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H |
|
|
605 | # include <memory.h> |
|
|
606 | # endif |
|
|
607 | # include <string.h> |
627 | # include <string.h> |
608 | #endif |
|
|
609 | #ifdef HAVE_STRINGS_H |
|
|
610 | # include <strings.h> |
|
|
611 | #endif |
628 | #endif |
612 | #ifdef HAVE_INTTYPES_H |
629 | #ifdef HAVE_INTTYPES_H |
613 | # include <inttypes.h> |
630 | # include <inttypes.h> |
614 | #endif |
631 | #endif |
615 | #ifdef HAVE_STDINT_H |
632 | #ifdef HAVE_STDINT_H |
616 | # include <stdint.h> |
633 | # include <stdint.h> |
617 | #endif |
634 | #endif |
|
|
635 | #ifdef HAVE_STRINGS_H |
|
|
636 | # include <strings.h> |
|
|
637 | #endif |
|
|
638 | #ifdef HAVE_SYS_TYPES_H |
|
|
639 | # include <sys/types.h> |
|
|
640 | #endif |
|
|
641 | #ifdef HAVE_SYS_STAT_H |
|
|
642 | # include <sys/stat.h> |
|
|
643 | #endif |
618 | #ifdef HAVE_UNISTD_H |
644 | #ifdef HAVE_UNISTD_H |
619 | # include <unistd.h> |
645 | # include <unistd.h> |
620 | #endif" |
646 | #endif" |
621 | |
647 | |
|
|
648 | ac_header_c_list= |
622 | ac_subst_vars='LTLIBOBJS |
649 | ac_subst_vars='LTLIBOBJS |
623 | LIBOBJS |
650 | LIBOBJS |
624 | PATCH |
651 | PATCH |
625 | VERSION |
652 | VERSION |
626 | EGREP |
653 | EGREP |
… | |
… | |
755 | *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
782 | *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
756 | *=) ac_optarg= ;; |
783 | *=) ac_optarg= ;; |
757 | *) ac_optarg=yes ;; |
784 | *) ac_optarg=yes ;; |
758 | esac |
785 | esac |
759 | |
786 | |
760 | # Accept the important Cygnus configure options, so we can diagnose typos. |
|
|
761 | |
|
|
762 | case $ac_dashdash$ac_option in |
787 | case $ac_dashdash$ac_option in |
763 | --) |
788 | --) |
764 | ac_dashdash=yes ;; |
789 | ac_dashdash=yes ;; |
765 | |
790 | |
766 | -bindir | --bindir | --bindi | --bind | --bin | --bi) |
791 | -bindir | --bindir | --bindi | --bind | --bin | --bi) |
… | |
… | |
797 | |
822 | |
798 | -disable-* | --disable-*) |
823 | -disable-* | --disable-*) |
799 | ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
824 | ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
800 | # Reject names that are not valid shell variable names. |
825 | # Reject names that are not valid shell variable names. |
801 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
826 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
802 | as_fn_error $? "invalid feature name: $ac_useropt" |
827 | as_fn_error $? "invalid feature name: \`$ac_useropt'" |
803 | ac_useropt_orig=$ac_useropt |
828 | ac_useropt_orig=$ac_useropt |
804 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
829 | ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` |
805 | case $ac_user_opts in |
830 | case $ac_user_opts in |
806 | *" |
831 | *" |
807 | "enable_$ac_useropt" |
832 | "enable_$ac_useropt" |
808 | "*) ;; |
833 | "*) ;; |
809 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" |
834 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" |
… | |
… | |
823 | |
848 | |
824 | -enable-* | --enable-*) |
849 | -enable-* | --enable-*) |
825 | ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
850 | ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
826 | # Reject names that are not valid shell variable names. |
851 | # Reject names that are not valid shell variable names. |
827 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
852 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
828 | as_fn_error $? "invalid feature name: $ac_useropt" |
853 | as_fn_error $? "invalid feature name: \`$ac_useropt'" |
829 | ac_useropt_orig=$ac_useropt |
854 | ac_useropt_orig=$ac_useropt |
830 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
855 | ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` |
831 | case $ac_user_opts in |
856 | case $ac_user_opts in |
832 | *" |
857 | *" |
833 | "enable_$ac_useropt" |
858 | "enable_$ac_useropt" |
834 | "*) ;; |
859 | "*) ;; |
835 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" |
860 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" |
… | |
… | |
1036 | |
1061 | |
1037 | -with-* | --with-*) |
1062 | -with-* | --with-*) |
1038 | ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
1063 | ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
1039 | # Reject names that are not valid shell variable names. |
1064 | # Reject names that are not valid shell variable names. |
1040 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1065 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1041 | as_fn_error $? "invalid package name: $ac_useropt" |
1066 | as_fn_error $? "invalid package name: \`$ac_useropt'" |
1042 | ac_useropt_orig=$ac_useropt |
1067 | ac_useropt_orig=$ac_useropt |
1043 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
1068 | ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` |
1044 | case $ac_user_opts in |
1069 | case $ac_user_opts in |
1045 | *" |
1070 | *" |
1046 | "with_$ac_useropt" |
1071 | "with_$ac_useropt" |
1047 | "*) ;; |
1072 | "*) ;; |
1048 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" |
1073 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" |
… | |
… | |
1052 | |
1077 | |
1053 | -without-* | --without-*) |
1078 | -without-* | --without-*) |
1054 | ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
1079 | ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
1055 | # Reject names that are not valid shell variable names. |
1080 | # Reject names that are not valid shell variable names. |
1056 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1081 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1057 | as_fn_error $? "invalid package name: $ac_useropt" |
1082 | as_fn_error $? "invalid package name: \`$ac_useropt'" |
1058 | ac_useropt_orig=$ac_useropt |
1083 | ac_useropt_orig=$ac_useropt |
1059 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
1084 | ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` |
1060 | case $ac_user_opts in |
1085 | case $ac_user_opts in |
1061 | *" |
1086 | *" |
1062 | "with_$ac_useropt" |
1087 | "with_$ac_useropt" |
1063 | "*) ;; |
1088 | "*) ;; |
1064 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" |
1089 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" |
… | |
… | |
1098 | eval $ac_envvar=\$ac_optarg |
1123 | eval $ac_envvar=\$ac_optarg |
1099 | export $ac_envvar ;; |
1124 | export $ac_envvar ;; |
1100 | |
1125 | |
1101 | *) |
1126 | *) |
1102 | # FIXME: should be removed in autoconf 3.0. |
1127 | # FIXME: should be removed in autoconf 3.0. |
1103 | $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
1128 | printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2 |
1104 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
1129 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
1105 | $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
1130 | printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2 |
1106 | : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" |
1131 | : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" |
1107 | ;; |
1132 | ;; |
1108 | |
1133 | |
1109 | esac |
1134 | esac |
1110 | done |
1135 | done |
… | |
… | |
1116 | |
1141 | |
1117 | if test -n "$ac_unrecognized_opts"; then |
1142 | if test -n "$ac_unrecognized_opts"; then |
1118 | case $enable_option_checking in |
1143 | case $enable_option_checking in |
1119 | no) ;; |
1144 | no) ;; |
1120 | fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; |
1145 | fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; |
1121 | *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; |
1146 | *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; |
1122 | esac |
1147 | esac |
1123 | fi |
1148 | fi |
1124 | |
1149 | |
1125 | # Check all directory arguments for consistency. |
1150 | # Check all directory arguments for consistency. |
1126 | for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
1151 | for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
… | |
… | |
1180 | ac_confdir=`$as_dirname -- "$as_myself" || |
1205 | ac_confdir=`$as_dirname -- "$as_myself" || |
1181 | $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
1206 | $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
1182 | X"$as_myself" : 'X\(//\)[^/]' \| \ |
1207 | X"$as_myself" : 'X\(//\)[^/]' \| \ |
1183 | X"$as_myself" : 'X\(//\)$' \| \ |
1208 | X"$as_myself" : 'X\(//\)$' \| \ |
1184 | X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || |
1209 | X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || |
1185 | $as_echo X"$as_myself" | |
1210 | printf "%s\n" X"$as_myself" | |
1186 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
1211 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
1187 | s//\1/ |
1212 | s//\1/ |
1188 | q |
1213 | q |
1189 | } |
1214 | } |
1190 | /^X\(\/\/\)[^/].*/{ |
1215 | /^X\(\/\/\)[^/].*/{ |
… | |
… | |
1335 | ac_builddir=. |
1360 | ac_builddir=. |
1336 | |
1361 | |
1337 | case "$ac_dir" in |
1362 | case "$ac_dir" in |
1338 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
1363 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
1339 | *) |
1364 | *) |
1340 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
1365 | ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'` |
1341 | # A ".." for each directory in $ac_dir_suffix. |
1366 | # A ".." for each directory in $ac_dir_suffix. |
1342 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
1367 | ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
1343 | case $ac_top_builddir_sub in |
1368 | case $ac_top_builddir_sub in |
1344 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
1369 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
1345 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
1370 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
1346 | esac ;; |
1371 | esac ;; |
1347 | esac |
1372 | esac |
… | |
… | |
1365 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
1390 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
1366 | esac |
1391 | esac |
1367 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
1392 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
1368 | |
1393 | |
1369 | cd "$ac_dir" || { ac_status=$?; continue; } |
1394 | cd "$ac_dir" || { ac_status=$?; continue; } |
1370 | # Check for guested configure. |
1395 | # Check for configure.gnu first; this name is used for a wrapper for |
|
|
1396 | # Metaconfig's "Configure" on case-insensitive file systems. |
1371 | if test -f "$ac_srcdir/configure.gnu"; then |
1397 | if test -f "$ac_srcdir/configure.gnu"; then |
1372 | echo && |
1398 | echo && |
1373 | $SHELL "$ac_srcdir/configure.gnu" --help=recursive |
1399 | $SHELL "$ac_srcdir/configure.gnu" --help=recursive |
1374 | elif test -f "$ac_srcdir/configure"; then |
1400 | elif test -f "$ac_srcdir/configure"; then |
1375 | echo && |
1401 | echo && |
1376 | $SHELL "$ac_srcdir/configure" --help=recursive |
1402 | $SHELL "$ac_srcdir/configure" --help=recursive |
1377 | else |
1403 | else |
1378 | $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
1404 | printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
1379 | fi || ac_status=$? |
1405 | fi || ac_status=$? |
1380 | cd "$ac_pwd" || { ac_status=$?; break; } |
1406 | cd "$ac_pwd" || { ac_status=$?; break; } |
1381 | done |
1407 | done |
1382 | fi |
1408 | fi |
1383 | |
1409 | |
1384 | test -n "$ac_init_help" && exit $ac_status |
1410 | test -n "$ac_init_help" && exit $ac_status |
1385 | if $ac_init_version; then |
1411 | if $ac_init_version; then |
1386 | cat <<\_ACEOF |
1412 | cat <<\_ACEOF |
1387 | configure |
1413 | configure |
1388 | generated by GNU Autoconf 2.69 |
1414 | generated by GNU Autoconf 2.71 |
1389 | |
1415 | |
1390 | Copyright (C) 2012 Free Software Foundation, Inc. |
1416 | Copyright (C) 2021 Free Software Foundation, Inc. |
1391 | This configure script is free software; the Free Software Foundation |
1417 | This configure script is free software; the Free Software Foundation |
1392 | gives unlimited permission to copy, distribute and modify it. |
1418 | gives unlimited permission to copy, distribute and modify it. |
1393 | _ACEOF |
1419 | _ACEOF |
1394 | exit |
1420 | exit |
1395 | fi |
1421 | fi |
… | |
… | |
1402 | # -------------------------- |
1428 | # -------------------------- |
1403 | # Try to compile conftest.$ac_ext, and return whether this succeeded. |
1429 | # Try to compile conftest.$ac_ext, and return whether this succeeded. |
1404 | ac_fn_c_try_compile () |
1430 | ac_fn_c_try_compile () |
1405 | { |
1431 | { |
1406 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1432 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1407 | rm -f conftest.$ac_objext |
1433 | rm -f conftest.$ac_objext conftest.beam |
1408 | if { { ac_try="$ac_compile" |
1434 | if { { ac_try="$ac_compile" |
1409 | case "(($ac_try" in |
1435 | case "(($ac_try" in |
1410 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
1436 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
1411 | *) ac_try_echo=$ac_try;; |
1437 | *) ac_try_echo=$ac_try;; |
1412 | esac |
1438 | esac |
1413 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
1439 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
1414 | $as_echo "$ac_try_echo"; } >&5 |
1440 | printf "%s\n" "$ac_try_echo"; } >&5 |
1415 | (eval "$ac_compile") 2>conftest.err |
1441 | (eval "$ac_compile") 2>conftest.err |
1416 | ac_status=$? |
1442 | ac_status=$? |
1417 | if test -s conftest.err; then |
1443 | if test -s conftest.err; then |
1418 | grep -v '^ *+' conftest.err >conftest.er1 |
1444 | grep -v '^ *+' conftest.err >conftest.er1 |
1419 | cat conftest.er1 >&5 |
1445 | cat conftest.er1 >&5 |
1420 | mv -f conftest.er1 conftest.err |
1446 | mv -f conftest.er1 conftest.err |
1421 | fi |
1447 | fi |
1422 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
1448 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
1423 | test $ac_status = 0; } && { |
1449 | test $ac_status = 0; } && { |
1424 | test -z "$ac_c_werror_flag" || |
1450 | test -z "$ac_c_werror_flag" || |
1425 | test ! -s conftest.err |
1451 | test ! -s conftest.err |
1426 | } && test -s conftest.$ac_objext; then : |
1452 | } && test -s conftest.$ac_objext |
|
|
1453 | then : |
1427 | ac_retval=0 |
1454 | ac_retval=0 |
1428 | else |
1455 | else $as_nop |
1429 | $as_echo "$as_me: failed program was:" >&5 |
1456 | printf "%s\n" "$as_me: failed program was:" >&5 |
1430 | sed 's/^/| /' conftest.$ac_ext >&5 |
1457 | sed 's/^/| /' conftest.$ac_ext >&5 |
1431 | |
1458 | |
1432 | ac_retval=1 |
1459 | ac_retval=1 |
1433 | fi |
1460 | fi |
1434 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1461 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
… | |
… | |
1446 | case "(($ac_try" in |
1473 | case "(($ac_try" in |
1447 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
1474 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
1448 | *) ac_try_echo=$ac_try;; |
1475 | *) ac_try_echo=$ac_try;; |
1449 | esac |
1476 | esac |
1450 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
1477 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
1451 | $as_echo "$ac_try_echo"; } >&5 |
1478 | printf "%s\n" "$ac_try_echo"; } >&5 |
1452 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err |
1479 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err |
1453 | ac_status=$? |
1480 | ac_status=$? |
1454 | if test -s conftest.err; then |
1481 | if test -s conftest.err; then |
1455 | grep -v '^ *+' conftest.err >conftest.er1 |
1482 | grep -v '^ *+' conftest.err >conftest.er1 |
1456 | cat conftest.er1 >&5 |
1483 | cat conftest.er1 >&5 |
1457 | mv -f conftest.er1 conftest.err |
1484 | mv -f conftest.er1 conftest.err |
1458 | fi |
1485 | fi |
1459 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
1486 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
1460 | test $ac_status = 0; } > conftest.i && { |
1487 | test $ac_status = 0; } > conftest.i && { |
1461 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
1488 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
1462 | test ! -s conftest.err |
1489 | test ! -s conftest.err |
1463 | }; then : |
1490 | } |
|
|
1491 | then : |
1464 | ac_retval=0 |
1492 | ac_retval=0 |
1465 | else |
1493 | else $as_nop |
1466 | $as_echo "$as_me: failed program was:" >&5 |
1494 | printf "%s\n" "$as_me: failed program was:" >&5 |
1467 | sed 's/^/| /' conftest.$ac_ext >&5 |
1495 | sed 's/^/| /' conftest.$ac_ext >&5 |
1468 | |
1496 | |
1469 | ac_retval=1 |
1497 | ac_retval=1 |
1470 | fi |
1498 | fi |
1471 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1499 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1472 | as_fn_set_status $ac_retval |
1500 | as_fn_set_status $ac_retval |
1473 | |
1501 | |
1474 | } # ac_fn_c_try_cpp |
1502 | } # ac_fn_c_try_cpp |
1475 | |
1503 | |
1476 | # ac_fn_c_try_run LINENO |
1504 | # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES |
1477 | # ---------------------- |
1505 | # ------------------------------------------------------- |
1478 | # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes |
1506 | # Tests whether HEADER exists and can be compiled using the include files in |
1479 | # that executables *can* be run. |
1507 | # INCLUDES, setting the cache variable VAR accordingly. |
1480 | ac_fn_c_try_run () |
1508 | ac_fn_c_check_header_compile () |
1481 | { |
1509 | { |
1482 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1510 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1483 | if { { ac_try="$ac_link" |
1511 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1484 | case "(($ac_try" in |
1512 | printf %s "checking for $2... " >&6; } |
1485 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
1513 | if eval test \${$3+y} |
1486 | *) ac_try_echo=$ac_try;; |
1514 | then : |
1487 | esac |
1515 | printf %s "(cached) " >&6 |
1488 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
1516 | else $as_nop |
1489 | $as_echo "$ac_try_echo"; } >&5 |
1517 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1490 | (eval "$ac_link") 2>&5 |
1518 | /* end confdefs.h. */ |
1491 | ac_status=$? |
1519 | $4 |
1492 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
1520 | #include <$2> |
1493 | test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' |
1521 | _ACEOF |
1494 | { { case "(($ac_try" in |
1522 | if ac_fn_c_try_compile "$LINENO" |
1495 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
1523 | then : |
1496 | *) ac_try_echo=$ac_try;; |
1524 | eval "$3=yes" |
1497 | esac |
1525 | else $as_nop |
1498 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
1526 | eval "$3=no" |
1499 | $as_echo "$ac_try_echo"; } >&5 |
|
|
1500 | (eval "$ac_try") 2>&5 |
|
|
1501 | ac_status=$? |
|
|
1502 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
|
1503 | test $ac_status = 0; }; }; then : |
|
|
1504 | ac_retval=0 |
|
|
1505 | else |
|
|
1506 | $as_echo "$as_me: program exited with status $ac_status" >&5 |
|
|
1507 | $as_echo "$as_me: failed program was:" >&5 |
|
|
1508 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
1509 | |
|
|
1510 | ac_retval=$ac_status |
|
|
1511 | fi |
1527 | fi |
1512 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
1528 | rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
|
|
1529 | fi |
|
|
1530 | eval ac_res=\$$3 |
|
|
1531 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
|
|
1532 | printf "%s\n" "$ac_res" >&6; } |
1513 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1533 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1514 | as_fn_set_status $ac_retval |
|
|
1515 | |
1534 | |
1516 | } # ac_fn_c_try_run |
1535 | } # ac_fn_c_check_header_compile |
1517 | |
1536 | |
1518 | # ac_fn_c_check_type LINENO TYPE VAR INCLUDES |
1537 | # ac_fn_c_check_type LINENO TYPE VAR INCLUDES |
1519 | # ------------------------------------------- |
1538 | # ------------------------------------------- |
1520 | # Tests whether TYPE exists after having included INCLUDES, setting cache |
1539 | # Tests whether TYPE exists after having included INCLUDES, setting cache |
1521 | # variable VAR accordingly. |
1540 | # variable VAR accordingly. |
1522 | ac_fn_c_check_type () |
1541 | ac_fn_c_check_type () |
1523 | { |
1542 | { |
1524 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1543 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1525 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1544 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1526 | $as_echo_n "checking for $2... " >&6; } |
1545 | printf %s "checking for $2... " >&6; } |
1527 | if eval \${$3+:} false; then : |
1546 | if eval test \${$3+y} |
1528 | $as_echo_n "(cached) " >&6 |
1547 | then : |
1529 | else |
1548 | printf %s "(cached) " >&6 |
|
|
1549 | else $as_nop |
1530 | eval "$3=no" |
1550 | eval "$3=no" |
1531 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1551 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1532 | /* end confdefs.h. */ |
1552 | /* end confdefs.h. */ |
1533 | $4 |
1553 | $4 |
1534 | int |
1554 | int |
1535 | main () |
1555 | main (void) |
1536 | { |
1556 | { |
1537 | if (sizeof ($2)) |
1557 | if (sizeof ($2)) |
1538 | return 0; |
1558 | return 0; |
1539 | ; |
1559 | ; |
1540 | return 0; |
1560 | return 0; |
1541 | } |
1561 | } |
1542 | _ACEOF |
1562 | _ACEOF |
1543 | if ac_fn_c_try_compile "$LINENO"; then : |
1563 | if ac_fn_c_try_compile "$LINENO" |
|
|
1564 | then : |
1544 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1565 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1545 | /* end confdefs.h. */ |
1566 | /* end confdefs.h. */ |
1546 | $4 |
1567 | $4 |
1547 | int |
1568 | int |
1548 | main () |
1569 | main (void) |
1549 | { |
1570 | { |
1550 | if (sizeof (($2))) |
1571 | if (sizeof (($2))) |
1551 | return 0; |
1572 | return 0; |
1552 | ; |
1573 | ; |
1553 | return 0; |
1574 | return 0; |
1554 | } |
1575 | } |
1555 | _ACEOF |
1576 | _ACEOF |
1556 | if ac_fn_c_try_compile "$LINENO"; then : |
1577 | if ac_fn_c_try_compile "$LINENO" |
|
|
1578 | then : |
1557 | |
1579 | |
1558 | else |
1580 | else $as_nop |
1559 | eval "$3=yes" |
1581 | eval "$3=yes" |
1560 | fi |
1582 | fi |
1561 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
1583 | rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
1562 | fi |
1584 | fi |
1563 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
1585 | rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
1564 | fi |
1586 | fi |
1565 | eval ac_res=\$$3 |
1587 | eval ac_res=\$$3 |
1566 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1588 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1567 | $as_echo "$ac_res" >&6; } |
1589 | printf "%s\n" "$ac_res" >&6; } |
1568 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1590 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1569 | |
1591 | |
1570 | } # ac_fn_c_check_type |
1592 | } # ac_fn_c_check_type |
1571 | |
|
|
1572 | # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES |
|
|
1573 | # ------------------------------------------------------- |
|
|
1574 | # Tests whether HEADER exists and can be compiled using the include files in |
|
|
1575 | # INCLUDES, setting the cache variable VAR accordingly. |
|
|
1576 | ac_fn_c_check_header_compile () |
|
|
1577 | { |
|
|
1578 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
|
1579 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
|
|
1580 | $as_echo_n "checking for $2... " >&6; } |
|
|
1581 | if eval \${$3+:} false; then : |
|
|
1582 | $as_echo_n "(cached) " >&6 |
|
|
1583 | else |
|
|
1584 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
1585 | /* end confdefs.h. */ |
|
|
1586 | $4 |
|
|
1587 | #include <$2> |
|
|
1588 | _ACEOF |
|
|
1589 | if ac_fn_c_try_compile "$LINENO"; then : |
|
|
1590 | eval "$3=yes" |
|
|
1591 | else |
|
|
1592 | eval "$3=no" |
|
|
1593 | fi |
|
|
1594 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
1595 | fi |
|
|
1596 | eval ac_res=\$$3 |
|
|
1597 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
|
|
1598 | $as_echo "$ac_res" >&6; } |
|
|
1599 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
|
|
1600 | |
|
|
1601 | } # ac_fn_c_check_header_compile |
|
|
1602 | |
|
|
1603 | # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES |
|
|
1604 | # ------------------------------------------------------- |
|
|
1605 | # Tests whether HEADER exists, giving a warning if it cannot be compiled using |
|
|
1606 | # the include files in INCLUDES and setting the cache variable VAR |
|
|
1607 | # accordingly. |
|
|
1608 | ac_fn_c_check_header_mongrel () |
|
|
1609 | { |
|
|
1610 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
|
1611 | if eval \${$3+:} false; then : |
|
|
1612 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
|
|
1613 | $as_echo_n "checking for $2... " >&6; } |
|
|
1614 | if eval \${$3+:} false; then : |
|
|
1615 | $as_echo_n "(cached) " >&6 |
|
|
1616 | fi |
|
|
1617 | eval ac_res=\$$3 |
|
|
1618 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
|
|
1619 | $as_echo "$ac_res" >&6; } |
|
|
1620 | else |
|
|
1621 | # Is the header compilable? |
|
|
1622 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 |
|
|
1623 | $as_echo_n "checking $2 usability... " >&6; } |
|
|
1624 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
1625 | /* end confdefs.h. */ |
|
|
1626 | $4 |
|
|
1627 | #include <$2> |
|
|
1628 | _ACEOF |
|
|
1629 | if ac_fn_c_try_compile "$LINENO"; then : |
|
|
1630 | ac_header_compiler=yes |
|
|
1631 | else |
|
|
1632 | ac_header_compiler=no |
|
|
1633 | fi |
|
|
1634 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
1635 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 |
|
|
1636 | $as_echo "$ac_header_compiler" >&6; } |
|
|
1637 | |
|
|
1638 | # Is the header present? |
|
|
1639 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 |
|
|
1640 | $as_echo_n "checking $2 presence... " >&6; } |
|
|
1641 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
1642 | /* end confdefs.h. */ |
|
|
1643 | #include <$2> |
|
|
1644 | _ACEOF |
|
|
1645 | if ac_fn_c_try_cpp "$LINENO"; then : |
|
|
1646 | ac_header_preproc=yes |
|
|
1647 | else |
|
|
1648 | ac_header_preproc=no |
|
|
1649 | fi |
|
|
1650 | rm -f conftest.err conftest.i conftest.$ac_ext |
|
|
1651 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 |
|
|
1652 | $as_echo "$ac_header_preproc" >&6; } |
|
|
1653 | |
|
|
1654 | # So? What about this header? |
|
|
1655 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( |
|
|
1656 | yes:no: ) |
|
|
1657 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 |
|
|
1658 | $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} |
|
|
1659 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
|
|
1660 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
|
|
1661 | ;; |
|
|
1662 | no:yes:* ) |
|
|
1663 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 |
|
|
1664 | $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} |
|
|
1665 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 |
|
|
1666 | $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} |
|
|
1667 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 |
|
|
1668 | $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} |
|
|
1669 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 |
|
|
1670 | $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} |
|
|
1671 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
|
|
1672 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
|
|
1673 | ;; |
|
|
1674 | esac |
|
|
1675 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
|
|
1676 | $as_echo_n "checking for $2... " >&6; } |
|
|
1677 | if eval \${$3+:} false; then : |
|
|
1678 | $as_echo_n "(cached) " >&6 |
|
|
1679 | else |
|
|
1680 | eval "$3=\$ac_header_compiler" |
|
|
1681 | fi |
|
|
1682 | eval ac_res=\$$3 |
|
|
1683 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
|
|
1684 | $as_echo "$ac_res" >&6; } |
|
|
1685 | fi |
|
|
1686 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
|
|
1687 | |
|
|
1688 | } # ac_fn_c_check_header_mongrel |
|
|
1689 | |
1593 | |
1690 | # ac_fn_c_try_link LINENO |
1594 | # ac_fn_c_try_link LINENO |
1691 | # ----------------------- |
1595 | # ----------------------- |
1692 | # Try to link conftest.$ac_ext, and return whether this succeeded. |
1596 | # Try to link conftest.$ac_ext, and return whether this succeeded. |
1693 | ac_fn_c_try_link () |
1597 | ac_fn_c_try_link () |
1694 | { |
1598 | { |
1695 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1599 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1696 | rm -f conftest.$ac_objext conftest$ac_exeext |
1600 | rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext |
1697 | if { { ac_try="$ac_link" |
1601 | if { { ac_try="$ac_link" |
1698 | case "(($ac_try" in |
1602 | case "(($ac_try" in |
1699 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
1603 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
1700 | *) ac_try_echo=$ac_try;; |
1604 | *) ac_try_echo=$ac_try;; |
1701 | esac |
1605 | esac |
1702 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
1606 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
1703 | $as_echo "$ac_try_echo"; } >&5 |
1607 | printf "%s\n" "$ac_try_echo"; } >&5 |
1704 | (eval "$ac_link") 2>conftest.err |
1608 | (eval "$ac_link") 2>conftest.err |
1705 | ac_status=$? |
1609 | ac_status=$? |
1706 | if test -s conftest.err; then |
1610 | if test -s conftest.err; then |
1707 | grep -v '^ *+' conftest.err >conftest.er1 |
1611 | grep -v '^ *+' conftest.err >conftest.er1 |
1708 | cat conftest.er1 >&5 |
1612 | cat conftest.er1 >&5 |
1709 | mv -f conftest.er1 conftest.err |
1613 | mv -f conftest.er1 conftest.err |
1710 | fi |
1614 | fi |
1711 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
1615 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
1712 | test $ac_status = 0; } && { |
1616 | test $ac_status = 0; } && { |
1713 | test -z "$ac_c_werror_flag" || |
1617 | test -z "$ac_c_werror_flag" || |
1714 | test ! -s conftest.err |
1618 | test ! -s conftest.err |
1715 | } && test -s conftest$ac_exeext && { |
1619 | } && test -s conftest$ac_exeext && { |
1716 | test "$cross_compiling" = yes || |
1620 | test "$cross_compiling" = yes || |
1717 | test -x conftest$ac_exeext |
1621 | test -x conftest$ac_exeext |
1718 | }; then : |
1622 | } |
|
|
1623 | then : |
1719 | ac_retval=0 |
1624 | ac_retval=0 |
1720 | else |
1625 | else $as_nop |
1721 | $as_echo "$as_me: failed program was:" >&5 |
1626 | printf "%s\n" "$as_me: failed program was:" >&5 |
1722 | sed 's/^/| /' conftest.$ac_ext >&5 |
1627 | sed 's/^/| /' conftest.$ac_ext >&5 |
1723 | |
1628 | |
1724 | ac_retval=1 |
1629 | ac_retval=1 |
1725 | fi |
1630 | fi |
1726 | # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information |
1631 | # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information |
… | |
… | |
1737 | # ---------------------------------- |
1642 | # ---------------------------------- |
1738 | # Tests whether FUNC exists, setting the cache variable VAR accordingly |
1643 | # Tests whether FUNC exists, setting the cache variable VAR accordingly |
1739 | ac_fn_c_check_func () |
1644 | ac_fn_c_check_func () |
1740 | { |
1645 | { |
1741 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1646 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1742 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1647 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1743 | $as_echo_n "checking for $2... " >&6; } |
1648 | printf %s "checking for $2... " >&6; } |
1744 | if eval \${$3+:} false; then : |
1649 | if eval test \${$3+y} |
1745 | $as_echo_n "(cached) " >&6 |
1650 | then : |
1746 | else |
1651 | printf %s "(cached) " >&6 |
|
|
1652 | else $as_nop |
1747 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1653 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1748 | /* end confdefs.h. */ |
1654 | /* end confdefs.h. */ |
1749 | /* Define $2 to an innocuous variant, in case <limits.h> declares $2. |
1655 | /* Define $2 to an innocuous variant, in case <limits.h> declares $2. |
1750 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
1656 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
1751 | #define $2 innocuous_$2 |
1657 | #define $2 innocuous_$2 |
1752 | |
1658 | |
1753 | /* System header to define __stub macros and hopefully few prototypes, |
1659 | /* System header to define __stub macros and hopefully few prototypes, |
1754 | which can conflict with char $2 (); below. |
1660 | which can conflict with char $2 (); below. */ |
1755 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
1756 | <limits.h> exists even on freestanding compilers. */ |
|
|
1757 | |
1661 | |
1758 | #ifdef __STDC__ |
|
|
1759 | # include <limits.h> |
1662 | #include <limits.h> |
1760 | #else |
|
|
1761 | # include <assert.h> |
|
|
1762 | #endif |
|
|
1763 | |
|
|
1764 | #undef $2 |
1663 | #undef $2 |
1765 | |
1664 | |
1766 | /* Override any GCC internal prototype to avoid an error. |
1665 | /* Override any GCC internal prototype to avoid an error. |
1767 | Use char because int might match the return type of a GCC |
1666 | Use char because int might match the return type of a GCC |
1768 | builtin and then its argument prototype would still apply. */ |
1667 | builtin and then its argument prototype would still apply. */ |
… | |
… | |
1776 | #if defined __stub_$2 || defined __stub___$2 |
1675 | #if defined __stub_$2 || defined __stub___$2 |
1777 | choke me |
1676 | choke me |
1778 | #endif |
1677 | #endif |
1779 | |
1678 | |
1780 | int |
1679 | int |
1781 | main () |
1680 | main (void) |
1782 | { |
1681 | { |
1783 | return $2 (); |
1682 | return $2 (); |
1784 | ; |
1683 | ; |
1785 | return 0; |
1684 | return 0; |
1786 | } |
1685 | } |
1787 | _ACEOF |
1686 | _ACEOF |
1788 | if ac_fn_c_try_link "$LINENO"; then : |
1687 | if ac_fn_c_try_link "$LINENO" |
|
|
1688 | then : |
1789 | eval "$3=yes" |
1689 | eval "$3=yes" |
1790 | else |
1690 | else $as_nop |
1791 | eval "$3=no" |
1691 | eval "$3=no" |
1792 | fi |
1692 | fi |
1793 | rm -f core conftest.err conftest.$ac_objext \ |
1693 | rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
1794 | conftest$ac_exeext conftest.$ac_ext |
1694 | conftest$ac_exeext conftest.$ac_ext |
1795 | fi |
1695 | fi |
1796 | eval ac_res=\$$3 |
1696 | eval ac_res=\$$3 |
1797 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1697 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1798 | $as_echo "$ac_res" >&6; } |
1698 | printf "%s\n" "$ac_res" >&6; } |
1799 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1699 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1800 | |
1700 | |
1801 | } # ac_fn_c_check_func |
1701 | } # ac_fn_c_check_func |
|
|
1702 | ac_configure_args_raw= |
|
|
1703 | for ac_arg |
|
|
1704 | do |
|
|
1705 | case $ac_arg in |
|
|
1706 | *\'*) |
|
|
1707 | ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
|
|
1708 | esac |
|
|
1709 | as_fn_append ac_configure_args_raw " '$ac_arg'" |
|
|
1710 | done |
|
|
1711 | |
|
|
1712 | case $ac_configure_args_raw in |
|
|
1713 | *$as_nl*) |
|
|
1714 | ac_safe_unquote= ;; |
|
|
1715 | *) |
|
|
1716 | ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab. |
|
|
1717 | ac_unsafe_a="$ac_unsafe_z#~" |
|
|
1718 | ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g" |
|
|
1719 | ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;; |
|
|
1720 | esac |
|
|
1721 | |
1802 | cat >config.log <<_ACEOF |
1722 | cat >config.log <<_ACEOF |
1803 | This file contains any messages produced by compilers while |
1723 | This file contains any messages produced by compilers while |
1804 | running configure, to aid debugging if configure makes a mistake. |
1724 | running configure, to aid debugging if configure makes a mistake. |
1805 | |
1725 | |
1806 | It was created by $as_me, which was |
1726 | It was created by $as_me, which was |
1807 | generated by GNU Autoconf 2.69. Invocation command line was |
1727 | generated by GNU Autoconf 2.71. Invocation command line was |
1808 | |
1728 | |
1809 | $ $0 $@ |
1729 | $ $0$ac_configure_args_raw |
1810 | |
1730 | |
1811 | _ACEOF |
1731 | _ACEOF |
1812 | exec 5>>config.log |
1732 | exec 5>>config.log |
1813 | { |
1733 | { |
1814 | cat <<_ASUNAME |
1734 | cat <<_ASUNAME |
… | |
… | |
1837 | |
1757 | |
1838 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1758 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1839 | for as_dir in $PATH |
1759 | for as_dir in $PATH |
1840 | do |
1760 | do |
1841 | IFS=$as_save_IFS |
1761 | IFS=$as_save_IFS |
1842 | test -z "$as_dir" && as_dir=. |
1762 | case $as_dir in #((( |
1843 | $as_echo "PATH: $as_dir" |
1763 | '') as_dir=./ ;; |
|
|
1764 | */) ;; |
|
|
1765 | *) as_dir=$as_dir/ ;; |
|
|
1766 | esac |
|
|
1767 | printf "%s\n" "PATH: $as_dir" |
1844 | done |
1768 | done |
1845 | IFS=$as_save_IFS |
1769 | IFS=$as_save_IFS |
1846 | |
1770 | |
1847 | } >&5 |
1771 | } >&5 |
1848 | |
1772 | |
… | |
… | |
1873 | -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
1797 | -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
1874 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
1798 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
1875 | | -silent | --silent | --silen | --sile | --sil) |
1799 | | -silent | --silent | --silen | --sile | --sil) |
1876 | continue ;; |
1800 | continue ;; |
1877 | *\'*) |
1801 | *\'*) |
1878 | ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
1802 | ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
1879 | esac |
1803 | esac |
1880 | case $ac_pass in |
1804 | case $ac_pass in |
1881 | 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; |
1805 | 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; |
1882 | 2) |
1806 | 2) |
1883 | as_fn_append ac_configure_args1 " '$ac_arg'" |
1807 | as_fn_append ac_configure_args1 " '$ac_arg'" |
… | |
… | |
1908 | # config.log. We remove comments because anyway the quotes in there |
1832 | # config.log. We remove comments because anyway the quotes in there |
1909 | # would cause problems or look ugly. |
1833 | # would cause problems or look ugly. |
1910 | # WARNING: Use '\'' to represent an apostrophe within the trap. |
1834 | # WARNING: Use '\'' to represent an apostrophe within the trap. |
1911 | # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. |
1835 | # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. |
1912 | trap 'exit_status=$? |
1836 | trap 'exit_status=$? |
|
|
1837 | # Sanitize IFS. |
|
|
1838 | IFS=" "" $as_nl" |
1913 | # Save into config.log some information that might help in debugging. |
1839 | # Save into config.log some information that might help in debugging. |
1914 | { |
1840 | { |
1915 | echo |
1841 | echo |
1916 | |
1842 | |
1917 | $as_echo "## ---------------- ## |
1843 | printf "%s\n" "## ---------------- ## |
1918 | ## Cache variables. ## |
1844 | ## Cache variables. ## |
1919 | ## ---------------- ##" |
1845 | ## ---------------- ##" |
1920 | echo |
1846 | echo |
1921 | # The following way of writing the cache mishandles newlines in values, |
1847 | # The following way of writing the cache mishandles newlines in values, |
1922 | ( |
1848 | ( |
1923 | for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do |
1849 | for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do |
1924 | eval ac_val=\$$ac_var |
1850 | eval ac_val=\$$ac_var |
1925 | case $ac_val in #( |
1851 | case $ac_val in #( |
1926 | *${as_nl}*) |
1852 | *${as_nl}*) |
1927 | case $ac_var in #( |
1853 | case $ac_var in #( |
1928 | *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
1854 | *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
1929 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
1855 | printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
1930 | esac |
1856 | esac |
1931 | case $ac_var in #( |
1857 | case $ac_var in #( |
1932 | _ | IFS | as_nl) ;; #( |
1858 | _ | IFS | as_nl) ;; #( |
1933 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
1859 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
1934 | *) { eval $ac_var=; unset $ac_var;} ;; |
1860 | *) { eval $ac_var=; unset $ac_var;} ;; |
… | |
… | |
1948 | esac | |
1874 | esac | |
1949 | sort |
1875 | sort |
1950 | ) |
1876 | ) |
1951 | echo |
1877 | echo |
1952 | |
1878 | |
1953 | $as_echo "## ----------------- ## |
1879 | printf "%s\n" "## ----------------- ## |
1954 | ## Output variables. ## |
1880 | ## Output variables. ## |
1955 | ## ----------------- ##" |
1881 | ## ----------------- ##" |
1956 | echo |
1882 | echo |
1957 | for ac_var in $ac_subst_vars |
1883 | for ac_var in $ac_subst_vars |
1958 | do |
1884 | do |
1959 | eval ac_val=\$$ac_var |
1885 | eval ac_val=\$$ac_var |
1960 | case $ac_val in |
1886 | case $ac_val in |
1961 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
1887 | *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
1962 | esac |
1888 | esac |
1963 | $as_echo "$ac_var='\''$ac_val'\''" |
1889 | printf "%s\n" "$ac_var='\''$ac_val'\''" |
1964 | done | sort |
1890 | done | sort |
1965 | echo |
1891 | echo |
1966 | |
1892 | |
1967 | if test -n "$ac_subst_files"; then |
1893 | if test -n "$ac_subst_files"; then |
1968 | $as_echo "## ------------------- ## |
1894 | printf "%s\n" "## ------------------- ## |
1969 | ## File substitutions. ## |
1895 | ## File substitutions. ## |
1970 | ## ------------------- ##" |
1896 | ## ------------------- ##" |
1971 | echo |
1897 | echo |
1972 | for ac_var in $ac_subst_files |
1898 | for ac_var in $ac_subst_files |
1973 | do |
1899 | do |
1974 | eval ac_val=\$$ac_var |
1900 | eval ac_val=\$$ac_var |
1975 | case $ac_val in |
1901 | case $ac_val in |
1976 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
1902 | *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
1977 | esac |
1903 | esac |
1978 | $as_echo "$ac_var='\''$ac_val'\''" |
1904 | printf "%s\n" "$ac_var='\''$ac_val'\''" |
1979 | done | sort |
1905 | done | sort |
1980 | echo |
1906 | echo |
1981 | fi |
1907 | fi |
1982 | |
1908 | |
1983 | if test -s confdefs.h; then |
1909 | if test -s confdefs.h; then |
1984 | $as_echo "## ----------- ## |
1910 | printf "%s\n" "## ----------- ## |
1985 | ## confdefs.h. ## |
1911 | ## confdefs.h. ## |
1986 | ## ----------- ##" |
1912 | ## ----------- ##" |
1987 | echo |
1913 | echo |
1988 | cat confdefs.h |
1914 | cat confdefs.h |
1989 | echo |
1915 | echo |
1990 | fi |
1916 | fi |
1991 | test "$ac_signal" != 0 && |
1917 | test "$ac_signal" != 0 && |
1992 | $as_echo "$as_me: caught signal $ac_signal" |
1918 | printf "%s\n" "$as_me: caught signal $ac_signal" |
1993 | $as_echo "$as_me: exit $exit_status" |
1919 | printf "%s\n" "$as_me: exit $exit_status" |
1994 | } >&5 |
1920 | } >&5 |
1995 | rm -f core *.core core.conftest.* && |
1921 | rm -f core *.core core.conftest.* && |
1996 | rm -f -r conftest* confdefs* conf$$* $ac_clean_files && |
1922 | rm -f -r conftest* confdefs* conf$$* $ac_clean_files && |
1997 | exit $exit_status |
1923 | exit $exit_status |
1998 | ' 0 |
1924 | ' 0 |
… | |
… | |
2002 | ac_signal=0 |
1928 | ac_signal=0 |
2003 | |
1929 | |
2004 | # confdefs.h avoids OS command line length limits that DEFS can exceed. |
1930 | # confdefs.h avoids OS command line length limits that DEFS can exceed. |
2005 | rm -f -r conftest* confdefs.h |
1931 | rm -f -r conftest* confdefs.h |
2006 | |
1932 | |
2007 | $as_echo "/* confdefs.h */" > confdefs.h |
1933 | printf "%s\n" "/* confdefs.h */" > confdefs.h |
2008 | |
1934 | |
2009 | # Predefined preprocessor variables. |
1935 | # Predefined preprocessor variables. |
2010 | |
1936 | |
2011 | cat >>confdefs.h <<_ACEOF |
1937 | printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h |
2012 | #define PACKAGE_NAME "$PACKAGE_NAME" |
|
|
2013 | _ACEOF |
|
|
2014 | |
1938 | |
2015 | cat >>confdefs.h <<_ACEOF |
1939 | printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h |
2016 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
|
|
2017 | _ACEOF |
|
|
2018 | |
1940 | |
2019 | cat >>confdefs.h <<_ACEOF |
1941 | printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h |
2020 | #define PACKAGE_VERSION "$PACKAGE_VERSION" |
|
|
2021 | _ACEOF |
|
|
2022 | |
1942 | |
2023 | cat >>confdefs.h <<_ACEOF |
1943 | printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h |
2024 | #define PACKAGE_STRING "$PACKAGE_STRING" |
|
|
2025 | _ACEOF |
|
|
2026 | |
1944 | |
2027 | cat >>confdefs.h <<_ACEOF |
1945 | printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h |
2028 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
|
|
2029 | _ACEOF |
|
|
2030 | |
1946 | |
2031 | cat >>confdefs.h <<_ACEOF |
1947 | printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h |
2032 | #define PACKAGE_URL "$PACKAGE_URL" |
|
|
2033 | _ACEOF |
|
|
2034 | |
1948 | |
2035 | |
1949 | |
2036 | # Let the site file select an alternate cache file if it wants to. |
1950 | # Let the site file select an alternate cache file if it wants to. |
2037 | # Prefer an explicitly selected file to automatically selected ones. |
1951 | # Prefer an explicitly selected file to automatically selected ones. |
2038 | ac_site_file1=NONE |
|
|
2039 | ac_site_file2=NONE |
|
|
2040 | if test -n "$CONFIG_SITE"; then |
1952 | if test -n "$CONFIG_SITE"; then |
2041 | # We do not want a PATH search for config.site. |
|
|
2042 | case $CONFIG_SITE in #(( |
|
|
2043 | -*) ac_site_file1=./$CONFIG_SITE;; |
|
|
2044 | */*) ac_site_file1=$CONFIG_SITE;; |
1953 | ac_site_files="$CONFIG_SITE" |
2045 | *) ac_site_file1=./$CONFIG_SITE;; |
|
|
2046 | esac |
|
|
2047 | elif test "x$prefix" != xNONE; then |
1954 | elif test "x$prefix" != xNONE; then |
2048 | ac_site_file1=$prefix/share/config.site |
1955 | ac_site_files="$prefix/share/config.site $prefix/etc/config.site" |
2049 | ac_site_file2=$prefix/etc/config.site |
|
|
2050 | else |
1956 | else |
2051 | ac_site_file1=$ac_default_prefix/share/config.site |
1957 | ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" |
2052 | ac_site_file2=$ac_default_prefix/etc/config.site |
|
|
2053 | fi |
1958 | fi |
|
|
1959 | |
2054 | for ac_site_file in "$ac_site_file1" "$ac_site_file2" |
1960 | for ac_site_file in $ac_site_files |
2055 | do |
1961 | do |
2056 | test "x$ac_site_file" = xNONE && continue |
1962 | case $ac_site_file in #( |
|
|
1963 | */*) : |
|
|
1964 | ;; #( |
|
|
1965 | *) : |
|
|
1966 | ac_site_file=./$ac_site_file ;; |
|
|
1967 | esac |
2057 | if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then |
1968 | if test -f "$ac_site_file" && test -r "$ac_site_file"; then |
2058 | { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 |
1969 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 |
2059 | $as_echo "$as_me: loading site script $ac_site_file" >&6;} |
1970 | printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;} |
2060 | sed 's/^/| /' "$ac_site_file" >&5 |
1971 | sed 's/^/| /' "$ac_site_file" >&5 |
2061 | . "$ac_site_file" \ |
1972 | . "$ac_site_file" \ |
2062 | || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
1973 | || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2063 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
1974 | printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
2064 | as_fn_error $? "failed to load site script $ac_site_file |
1975 | as_fn_error $? "failed to load site script $ac_site_file |
2065 | See \`config.log' for more details" "$LINENO" 5; } |
1976 | See \`config.log' for more details" "$LINENO" 5; } |
2066 | fi |
1977 | fi |
2067 | done |
1978 | done |
2068 | |
1979 | |
2069 | if test -r "$cache_file"; then |
1980 | if test -r "$cache_file"; then |
2070 | # Some versions of bash will fail to source /dev/null (special files |
1981 | # Some versions of bash will fail to source /dev/null (special files |
2071 | # actually), so we avoid doing that. DJGPP emulates it as a regular file. |
1982 | # actually), so we avoid doing that. DJGPP emulates it as a regular file. |
2072 | if test /dev/null != "$cache_file" && test -f "$cache_file"; then |
1983 | if test /dev/null != "$cache_file" && test -f "$cache_file"; then |
2073 | { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 |
1984 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 |
2074 | $as_echo "$as_me: loading cache $cache_file" >&6;} |
1985 | printf "%s\n" "$as_me: loading cache $cache_file" >&6;} |
2075 | case $cache_file in |
1986 | case $cache_file in |
2076 | [\\/]* | ?:[\\/]* ) . "$cache_file";; |
1987 | [\\/]* | ?:[\\/]* ) . "$cache_file";; |
2077 | *) . "./$cache_file";; |
1988 | *) . "./$cache_file";; |
2078 | esac |
1989 | esac |
2079 | fi |
1990 | fi |
2080 | else |
1991 | else |
2081 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 |
1992 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 |
2082 | $as_echo "$as_me: creating cache $cache_file" >&6;} |
1993 | printf "%s\n" "$as_me: creating cache $cache_file" >&6;} |
2083 | >$cache_file |
1994 | >$cache_file |
2084 | fi |
1995 | fi |
2085 | |
1996 | |
|
|
1997 | # Test code for whether the C compiler supports C89 (global declarations) |
|
|
1998 | ac_c_conftest_c89_globals=' |
|
|
1999 | /* Does the compiler advertise C89 conformance? |
|
|
2000 | Do not test the value of __STDC__, because some compilers set it to 0 |
|
|
2001 | while being otherwise adequately conformant. */ |
|
|
2002 | #if !defined __STDC__ |
|
|
2003 | # error "Compiler does not advertise C89 conformance" |
|
|
2004 | #endif |
|
|
2005 | |
|
|
2006 | #include <stddef.h> |
|
|
2007 | #include <stdarg.h> |
|
|
2008 | struct stat; |
|
|
2009 | /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */ |
|
|
2010 | struct buf { int x; }; |
|
|
2011 | struct buf * (*rcsopen) (struct buf *, struct stat *, int); |
|
|
2012 | static char *e (p, i) |
|
|
2013 | char **p; |
|
|
2014 | int i; |
|
|
2015 | { |
|
|
2016 | return p[i]; |
|
|
2017 | } |
|
|
2018 | static char *f (char * (*g) (char **, int), char **p, ...) |
|
|
2019 | { |
|
|
2020 | char *s; |
|
|
2021 | va_list v; |
|
|
2022 | va_start (v,p); |
|
|
2023 | s = g (p, va_arg (v,int)); |
|
|
2024 | va_end (v); |
|
|
2025 | return s; |
|
|
2026 | } |
|
|
2027 | |
|
|
2028 | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
|
|
2029 | function prototypes and stuff, but not \xHH hex character constants. |
|
|
2030 | These do not provoke an error unfortunately, instead are silently treated |
|
|
2031 | as an "x". The following induces an error, until -std is added to get |
|
|
2032 | proper ANSI mode. Curiously \x00 != x always comes out true, for an |
|
|
2033 | array size at least. It is necessary to write \x00 == 0 to get something |
|
|
2034 | that is true only with -std. */ |
|
|
2035 | int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1]; |
|
|
2036 | |
|
|
2037 | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters |
|
|
2038 | inside strings and character constants. */ |
|
|
2039 | #define FOO(x) '\''x'\'' |
|
|
2040 | int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1]; |
|
|
2041 | |
|
|
2042 | int test (int i, double x); |
|
|
2043 | struct s1 {int (*f) (int a);}; |
|
|
2044 | struct s2 {int (*f) (double a);}; |
|
|
2045 | int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int), |
|
|
2046 | int, int);' |
|
|
2047 | |
|
|
2048 | # Test code for whether the C compiler supports C89 (body of main). |
|
|
2049 | ac_c_conftest_c89_main=' |
|
|
2050 | ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]); |
|
|
2051 | ' |
|
|
2052 | |
|
|
2053 | # Test code for whether the C compiler supports C99 (global declarations) |
|
|
2054 | ac_c_conftest_c99_globals=' |
|
|
2055 | // Does the compiler advertise C99 conformance? |
|
|
2056 | #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L |
|
|
2057 | # error "Compiler does not advertise C99 conformance" |
|
|
2058 | #endif |
|
|
2059 | |
|
|
2060 | #include <stdbool.h> |
|
|
2061 | extern int puts (const char *); |
|
|
2062 | extern int printf (const char *, ...); |
|
|
2063 | extern int dprintf (int, const char *, ...); |
|
|
2064 | extern void *malloc (size_t); |
|
|
2065 | |
|
|
2066 | // Check varargs macros. These examples are taken from C99 6.10.3.5. |
|
|
2067 | // dprintf is used instead of fprintf to avoid needing to declare |
|
|
2068 | // FILE and stderr. |
|
|
2069 | #define debug(...) dprintf (2, __VA_ARGS__) |
|
|
2070 | #define showlist(...) puts (#__VA_ARGS__) |
|
|
2071 | #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) |
|
|
2072 | static void |
|
|
2073 | test_varargs_macros (void) |
|
|
2074 | { |
|
|
2075 | int x = 1234; |
|
|
2076 | int y = 5678; |
|
|
2077 | debug ("Flag"); |
|
|
2078 | debug ("X = %d\n", x); |
|
|
2079 | showlist (The first, second, and third items.); |
|
|
2080 | report (x>y, "x is %d but y is %d", x, y); |
|
|
2081 | } |
|
|
2082 | |
|
|
2083 | // Check long long types. |
|
|
2084 | #define BIG64 18446744073709551615ull |
|
|
2085 | #define BIG32 4294967295ul |
|
|
2086 | #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) |
|
|
2087 | #if !BIG_OK |
|
|
2088 | #error "your preprocessor is broken" |
|
|
2089 | #endif |
|
|
2090 | #if BIG_OK |
|
|
2091 | #else |
|
|
2092 | #error "your preprocessor is broken" |
|
|
2093 | #endif |
|
|
2094 | static long long int bignum = -9223372036854775807LL; |
|
|
2095 | static unsigned long long int ubignum = BIG64; |
|
|
2096 | |
|
|
2097 | struct incomplete_array |
|
|
2098 | { |
|
|
2099 | int datasize; |
|
|
2100 | double data[]; |
|
|
2101 | }; |
|
|
2102 | |
|
|
2103 | struct named_init { |
|
|
2104 | int number; |
|
|
2105 | const wchar_t *name; |
|
|
2106 | double average; |
|
|
2107 | }; |
|
|
2108 | |
|
|
2109 | typedef const char *ccp; |
|
|
2110 | |
|
|
2111 | static inline int |
|
|
2112 | test_restrict (ccp restrict text) |
|
|
2113 | { |
|
|
2114 | // See if C++-style comments work. |
|
|
2115 | // Iterate through items via the restricted pointer. |
|
|
2116 | // Also check for declarations in for loops. |
|
|
2117 | for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i) |
|
|
2118 | continue; |
|
|
2119 | return 0; |
|
|
2120 | } |
|
|
2121 | |
|
|
2122 | // Check varargs and va_copy. |
|
|
2123 | static bool |
|
|
2124 | test_varargs (const char *format, ...) |
|
|
2125 | { |
|
|
2126 | va_list args; |
|
|
2127 | va_start (args, format); |
|
|
2128 | va_list args_copy; |
|
|
2129 | va_copy (args_copy, args); |
|
|
2130 | |
|
|
2131 | const char *str = ""; |
|
|
2132 | int number = 0; |
|
|
2133 | float fnumber = 0; |
|
|
2134 | |
|
|
2135 | while (*format) |
|
|
2136 | { |
|
|
2137 | switch (*format++) |
|
|
2138 | { |
|
|
2139 | case '\''s'\'': // string |
|
|
2140 | str = va_arg (args_copy, const char *); |
|
|
2141 | break; |
|
|
2142 | case '\''d'\'': // int |
|
|
2143 | number = va_arg (args_copy, int); |
|
|
2144 | break; |
|
|
2145 | case '\''f'\'': // float |
|
|
2146 | fnumber = va_arg (args_copy, double); |
|
|
2147 | break; |
|
|
2148 | default: |
|
|
2149 | break; |
|
|
2150 | } |
|
|
2151 | } |
|
|
2152 | va_end (args_copy); |
|
|
2153 | va_end (args); |
|
|
2154 | |
|
|
2155 | return *str && number && fnumber; |
|
|
2156 | } |
|
|
2157 | ' |
|
|
2158 | |
|
|
2159 | # Test code for whether the C compiler supports C99 (body of main). |
|
|
2160 | ac_c_conftest_c99_main=' |
|
|
2161 | // Check bool. |
|
|
2162 | _Bool success = false; |
|
|
2163 | success |= (argc != 0); |
|
|
2164 | |
|
|
2165 | // Check restrict. |
|
|
2166 | if (test_restrict ("String literal") == 0) |
|
|
2167 | success = true; |
|
|
2168 | char *restrict newvar = "Another string"; |
|
|
2169 | |
|
|
2170 | // Check varargs. |
|
|
2171 | success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234); |
|
|
2172 | test_varargs_macros (); |
|
|
2173 | |
|
|
2174 | // Check flexible array members. |
|
|
2175 | struct incomplete_array *ia = |
|
|
2176 | malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); |
|
|
2177 | ia->datasize = 10; |
|
|
2178 | for (int i = 0; i < ia->datasize; ++i) |
|
|
2179 | ia->data[i] = i * 1.234; |
|
|
2180 | |
|
|
2181 | // Check named initializers. |
|
|
2182 | struct named_init ni = { |
|
|
2183 | .number = 34, |
|
|
2184 | .name = L"Test wide string", |
|
|
2185 | .average = 543.34343, |
|
|
2186 | }; |
|
|
2187 | |
|
|
2188 | ni.number = 58; |
|
|
2189 | |
|
|
2190 | int dynamic_array[ni.number]; |
|
|
2191 | dynamic_array[0] = argv[0][0]; |
|
|
2192 | dynamic_array[ni.number - 1] = 543; |
|
|
2193 | |
|
|
2194 | // work around unused variable warnings |
|
|
2195 | ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\'' |
|
|
2196 | || dynamic_array[ni.number - 1] != 543); |
|
|
2197 | ' |
|
|
2198 | |
|
|
2199 | # Test code for whether the C compiler supports C11 (global declarations) |
|
|
2200 | ac_c_conftest_c11_globals=' |
|
|
2201 | // Does the compiler advertise C11 conformance? |
|
|
2202 | #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L |
|
|
2203 | # error "Compiler does not advertise C11 conformance" |
|
|
2204 | #endif |
|
|
2205 | |
|
|
2206 | // Check _Alignas. |
|
|
2207 | char _Alignas (double) aligned_as_double; |
|
|
2208 | char _Alignas (0) no_special_alignment; |
|
|
2209 | extern char aligned_as_int; |
|
|
2210 | char _Alignas (0) _Alignas (int) aligned_as_int; |
|
|
2211 | |
|
|
2212 | // Check _Alignof. |
|
|
2213 | enum |
|
|
2214 | { |
|
|
2215 | int_alignment = _Alignof (int), |
|
|
2216 | int_array_alignment = _Alignof (int[100]), |
|
|
2217 | char_alignment = _Alignof (char) |
|
|
2218 | }; |
|
|
2219 | _Static_assert (0 < -_Alignof (int), "_Alignof is signed"); |
|
|
2220 | |
|
|
2221 | // Check _Noreturn. |
|
|
2222 | int _Noreturn does_not_return (void) { for (;;) continue; } |
|
|
2223 | |
|
|
2224 | // Check _Static_assert. |
|
|
2225 | struct test_static_assert |
|
|
2226 | { |
|
|
2227 | int x; |
|
|
2228 | _Static_assert (sizeof (int) <= sizeof (long int), |
|
|
2229 | "_Static_assert does not work in struct"); |
|
|
2230 | long int y; |
|
|
2231 | }; |
|
|
2232 | |
|
|
2233 | // Check UTF-8 literals. |
|
|
2234 | #define u8 syntax error! |
|
|
2235 | char const utf8_literal[] = u8"happens to be ASCII" "another string"; |
|
|
2236 | |
|
|
2237 | // Check duplicate typedefs. |
|
|
2238 | typedef long *long_ptr; |
|
|
2239 | typedef long int *long_ptr; |
|
|
2240 | typedef long_ptr long_ptr; |
|
|
2241 | |
|
|
2242 | // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1. |
|
|
2243 | struct anonymous |
|
|
2244 | { |
|
|
2245 | union { |
|
|
2246 | struct { int i; int j; }; |
|
|
2247 | struct { int k; long int l; } w; |
|
|
2248 | }; |
|
|
2249 | int m; |
|
|
2250 | } v1; |
|
|
2251 | ' |
|
|
2252 | |
|
|
2253 | # Test code for whether the C compiler supports C11 (body of main). |
|
|
2254 | ac_c_conftest_c11_main=' |
|
|
2255 | _Static_assert ((offsetof (struct anonymous, i) |
|
|
2256 | == offsetof (struct anonymous, w.k)), |
|
|
2257 | "Anonymous union alignment botch"); |
|
|
2258 | v1.i = 2; |
|
|
2259 | v1.w.k = 5; |
|
|
2260 | ok |= v1.i != 5; |
|
|
2261 | ' |
|
|
2262 | |
|
|
2263 | # Test code for whether the C compiler supports C11 (complete). |
|
|
2264 | ac_c_conftest_c11_program="${ac_c_conftest_c89_globals} |
|
|
2265 | ${ac_c_conftest_c99_globals} |
|
|
2266 | ${ac_c_conftest_c11_globals} |
|
|
2267 | |
|
|
2268 | int |
|
|
2269 | main (int argc, char **argv) |
|
|
2270 | { |
|
|
2271 | int ok = 0; |
|
|
2272 | ${ac_c_conftest_c89_main} |
|
|
2273 | ${ac_c_conftest_c99_main} |
|
|
2274 | ${ac_c_conftest_c11_main} |
|
|
2275 | return ok; |
|
|
2276 | } |
|
|
2277 | " |
|
|
2278 | |
|
|
2279 | # Test code for whether the C compiler supports C99 (complete). |
|
|
2280 | ac_c_conftest_c99_program="${ac_c_conftest_c89_globals} |
|
|
2281 | ${ac_c_conftest_c99_globals} |
|
|
2282 | |
|
|
2283 | int |
|
|
2284 | main (int argc, char **argv) |
|
|
2285 | { |
|
|
2286 | int ok = 0; |
|
|
2287 | ${ac_c_conftest_c89_main} |
|
|
2288 | ${ac_c_conftest_c99_main} |
|
|
2289 | return ok; |
|
|
2290 | } |
|
|
2291 | " |
|
|
2292 | |
|
|
2293 | # Test code for whether the C compiler supports C89 (complete). |
|
|
2294 | ac_c_conftest_c89_program="${ac_c_conftest_c89_globals} |
|
|
2295 | |
|
|
2296 | int |
|
|
2297 | main (int argc, char **argv) |
|
|
2298 | { |
|
|
2299 | int ok = 0; |
|
|
2300 | ${ac_c_conftest_c89_main} |
|
|
2301 | return ok; |
|
|
2302 | } |
|
|
2303 | " |
|
|
2304 | |
|
|
2305 | as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H" |
|
|
2306 | as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H" |
|
|
2307 | as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H" |
|
|
2308 | as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H" |
|
|
2309 | as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H" |
|
|
2310 | as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H" |
|
|
2311 | as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H" |
|
|
2312 | as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H" |
|
|
2313 | as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H" |
|
|
2314 | as_fn_append ac_header_c_list " sys/time.h sys_time_h HAVE_SYS_TIME_H" |
2086 | # Check that the precious variables saved in the cache have kept the same |
2315 | # Check that the precious variables saved in the cache have kept the same |
2087 | # value. |
2316 | # value. |
2088 | ac_cache_corrupted=false |
2317 | ac_cache_corrupted=false |
2089 | for ac_var in $ac_precious_vars; do |
2318 | for ac_var in $ac_precious_vars; do |
2090 | eval ac_old_set=\$ac_cv_env_${ac_var}_set |
2319 | eval ac_old_set=\$ac_cv_env_${ac_var}_set |
2091 | eval ac_new_set=\$ac_env_${ac_var}_set |
2320 | eval ac_new_set=\$ac_env_${ac_var}_set |
2092 | eval ac_old_val=\$ac_cv_env_${ac_var}_value |
2321 | eval ac_old_val=\$ac_cv_env_${ac_var}_value |
2093 | eval ac_new_val=\$ac_env_${ac_var}_value |
2322 | eval ac_new_val=\$ac_env_${ac_var}_value |
2094 | case $ac_old_set,$ac_new_set in |
2323 | case $ac_old_set,$ac_new_set in |
2095 | set,) |
2324 | set,) |
2096 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
2325 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
2097 | $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
2326 | printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
2098 | ac_cache_corrupted=: ;; |
2327 | ac_cache_corrupted=: ;; |
2099 | ,set) |
2328 | ,set) |
2100 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 |
2329 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 |
2101 | $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
2330 | printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
2102 | ac_cache_corrupted=: ;; |
2331 | ac_cache_corrupted=: ;; |
2103 | ,);; |
2332 | ,);; |
2104 | *) |
2333 | *) |
2105 | if test "x$ac_old_val" != "x$ac_new_val"; then |
2334 | if test "x$ac_old_val" != "x$ac_new_val"; then |
2106 | # differences in whitespace do not lead to failure. |
2335 | # differences in whitespace do not lead to failure. |
2107 | ac_old_val_w=`echo x $ac_old_val` |
2336 | ac_old_val_w=`echo x $ac_old_val` |
2108 | ac_new_val_w=`echo x $ac_new_val` |
2337 | ac_new_val_w=`echo x $ac_new_val` |
2109 | if test "$ac_old_val_w" != "$ac_new_val_w"; then |
2338 | if test "$ac_old_val_w" != "$ac_new_val_w"; then |
2110 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 |
2339 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 |
2111 | $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
2340 | printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
2112 | ac_cache_corrupted=: |
2341 | ac_cache_corrupted=: |
2113 | else |
2342 | else |
2114 | { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 |
2343 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 |
2115 | $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} |
2344 | printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} |
2116 | eval $ac_var=\$ac_old_val |
2345 | eval $ac_var=\$ac_old_val |
2117 | fi |
2346 | fi |
2118 | { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 |
2347 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 |
2119 | $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} |
2348 | printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;} |
2120 | { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 |
2349 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 |
2121 | $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} |
2350 | printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;} |
2122 | fi;; |
2351 | fi;; |
2123 | esac |
2352 | esac |
2124 | # Pass precious variables to config.status. |
2353 | # Pass precious variables to config.status. |
2125 | if test "$ac_new_set" = set; then |
2354 | if test "$ac_new_set" = set; then |
2126 | case $ac_new_val in |
2355 | case $ac_new_val in |
2127 | *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
2356 | *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
2128 | *) ac_arg=$ac_var=$ac_new_val ;; |
2357 | *) ac_arg=$ac_var=$ac_new_val ;; |
2129 | esac |
2358 | esac |
2130 | case " $ac_configure_args " in |
2359 | case " $ac_configure_args " in |
2131 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
2360 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
2132 | *) as_fn_append ac_configure_args " '$ac_arg'" ;; |
2361 | *) as_fn_append ac_configure_args " '$ac_arg'" ;; |
2133 | esac |
2362 | esac |
2134 | fi |
2363 | fi |
2135 | done |
2364 | done |
2136 | if $ac_cache_corrupted; then |
2365 | if $ac_cache_corrupted; then |
2137 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2366 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2138 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2367 | printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
2139 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 |
2368 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 |
2140 | $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
2369 | printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;} |
2141 | as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 |
2370 | as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file' |
|
|
2371 | and start over" "$LINENO" 5 |
2142 | fi |
2372 | fi |
2143 | ## -------------------- ## |
2373 | ## -------------------- ## |
2144 | ## Main body of script. ## |
2374 | ## Main body of script. ## |
2145 | ## -------------------- ## |
2375 | ## -------------------- ## |
2146 | |
2376 | |
… | |
… | |
2161 | VERSION=0.5 |
2391 | VERSION=0.5 |
2162 | PATCH=20 |
2392 | PATCH=20 |
2163 | |
2393 | |
2164 | |
2394 | |
2165 | # Check whether --with-cc was given. |
2395 | # Check whether --with-cc was given. |
2166 | if test "${with_cc+set}" = set; then : |
2396 | if test ${with_cc+y} |
|
|
2397 | then : |
2167 | withval=$with_cc; CC=$with_cc |
2398 | withval=$with_cc; CC=$with_cc |
2168 | fi |
2399 | fi |
2169 | |
2400 | |
2170 | |
2401 | |
2171 | # Check whether --with-cflags was given. |
2402 | # Check whether --with-cflags was given. |
2172 | if test "${with_cflags+set}" = set; then : |
2403 | if test ${with_cflags+y} |
|
|
2404 | then : |
2173 | withval=$with_cflags; CFLAGS=$with_cflags |
2405 | withval=$with_cflags; CFLAGS=$with_cflags |
2174 | fi |
2406 | fi |
|
|
2407 | |
|
|
2408 | |
|
|
2409 | |
|
|
2410 | |
|
|
2411 | |
|
|
2412 | |
|
|
2413 | |
|
|
2414 | |
|
|
2415 | |
2175 | |
2416 | |
2176 | |
2417 | |
2177 | ac_ext=c |
2418 | ac_ext=c |
2178 | ac_cpp='$CPP $CPPFLAGS' |
2419 | ac_cpp='$CPP $CPPFLAGS' |
2179 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
2420 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
2180 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
2421 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
2181 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
2422 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
2182 | if test -n "$ac_tool_prefix"; then |
2423 | if test -n "$ac_tool_prefix"; then |
2183 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
2424 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
2184 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
2425 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
2185 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2426 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2186 | $as_echo_n "checking for $ac_word... " >&6; } |
2427 | printf %s "checking for $ac_word... " >&6; } |
2187 | if ${ac_cv_prog_CC+:} false; then : |
2428 | if test ${ac_cv_prog_CC+y} |
2188 | $as_echo_n "(cached) " >&6 |
2429 | then : |
2189 | else |
2430 | printf %s "(cached) " >&6 |
|
|
2431 | else $as_nop |
2190 | if test -n "$CC"; then |
2432 | if test -n "$CC"; then |
2191 | ac_cv_prog_CC="$CC" # Let the user override the test. |
2433 | ac_cv_prog_CC="$CC" # Let the user override the test. |
2192 | else |
2434 | else |
2193 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2435 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2194 | for as_dir in $PATH |
2436 | for as_dir in $PATH |
2195 | do |
2437 | do |
2196 | IFS=$as_save_IFS |
2438 | IFS=$as_save_IFS |
2197 | test -z "$as_dir" && as_dir=. |
2439 | case $as_dir in #((( |
|
|
2440 | '') as_dir=./ ;; |
|
|
2441 | */) ;; |
|
|
2442 | *) as_dir=$as_dir/ ;; |
|
|
2443 | esac |
2198 | for ac_exec_ext in '' $ac_executable_extensions; do |
2444 | for ac_exec_ext in '' $ac_executable_extensions; do |
2199 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2445 | if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
2200 | ac_cv_prog_CC="${ac_tool_prefix}gcc" |
2446 | ac_cv_prog_CC="${ac_tool_prefix}gcc" |
2201 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2447 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
2202 | break 2 |
2448 | break 2 |
2203 | fi |
2449 | fi |
2204 | done |
2450 | done |
2205 | done |
2451 | done |
2206 | IFS=$as_save_IFS |
2452 | IFS=$as_save_IFS |
2207 | |
2453 | |
2208 | fi |
2454 | fi |
2209 | fi |
2455 | fi |
2210 | CC=$ac_cv_prog_CC |
2456 | CC=$ac_cv_prog_CC |
2211 | if test -n "$CC"; then |
2457 | if test -n "$CC"; then |
2212 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
2458 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
2213 | $as_echo "$CC" >&6; } |
2459 | printf "%s\n" "$CC" >&6; } |
2214 | else |
2460 | else |
2215 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
2461 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
2216 | $as_echo "no" >&6; } |
2462 | printf "%s\n" "no" >&6; } |
2217 | fi |
2463 | fi |
2218 | |
2464 | |
2219 | |
2465 | |
2220 | fi |
2466 | fi |
2221 | if test -z "$ac_cv_prog_CC"; then |
2467 | if test -z "$ac_cv_prog_CC"; then |
2222 | ac_ct_CC=$CC |
2468 | ac_ct_CC=$CC |
2223 | # Extract the first word of "gcc", so it can be a program name with args. |
2469 | # Extract the first word of "gcc", so it can be a program name with args. |
2224 | set dummy gcc; ac_word=$2 |
2470 | set dummy gcc; ac_word=$2 |
2225 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2471 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2226 | $as_echo_n "checking for $ac_word... " >&6; } |
2472 | printf %s "checking for $ac_word... " >&6; } |
2227 | if ${ac_cv_prog_ac_ct_CC+:} false; then : |
2473 | if test ${ac_cv_prog_ac_ct_CC+y} |
2228 | $as_echo_n "(cached) " >&6 |
2474 | then : |
2229 | else |
2475 | printf %s "(cached) " >&6 |
|
|
2476 | else $as_nop |
2230 | if test -n "$ac_ct_CC"; then |
2477 | if test -n "$ac_ct_CC"; then |
2231 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
2478 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
2232 | else |
2479 | else |
2233 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2480 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2234 | for as_dir in $PATH |
2481 | for as_dir in $PATH |
2235 | do |
2482 | do |
2236 | IFS=$as_save_IFS |
2483 | IFS=$as_save_IFS |
2237 | test -z "$as_dir" && as_dir=. |
2484 | case $as_dir in #((( |
|
|
2485 | '') as_dir=./ ;; |
|
|
2486 | */) ;; |
|
|
2487 | *) as_dir=$as_dir/ ;; |
|
|
2488 | esac |
2238 | for ac_exec_ext in '' $ac_executable_extensions; do |
2489 | for ac_exec_ext in '' $ac_executable_extensions; do |
2239 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2490 | if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
2240 | ac_cv_prog_ac_ct_CC="gcc" |
2491 | ac_cv_prog_ac_ct_CC="gcc" |
2241 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2492 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
2242 | break 2 |
2493 | break 2 |
2243 | fi |
2494 | fi |
2244 | done |
2495 | done |
2245 | done |
2496 | done |
2246 | IFS=$as_save_IFS |
2497 | IFS=$as_save_IFS |
2247 | |
2498 | |
2248 | fi |
2499 | fi |
2249 | fi |
2500 | fi |
2250 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
2501 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
2251 | if test -n "$ac_ct_CC"; then |
2502 | if test -n "$ac_ct_CC"; then |
2252 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
2503 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
2253 | $as_echo "$ac_ct_CC" >&6; } |
2504 | printf "%s\n" "$ac_ct_CC" >&6; } |
2254 | else |
2505 | else |
2255 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
2506 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
2256 | $as_echo "no" >&6; } |
2507 | printf "%s\n" "no" >&6; } |
2257 | fi |
2508 | fi |
2258 | |
2509 | |
2259 | if test "x$ac_ct_CC" = x; then |
2510 | if test "x$ac_ct_CC" = x; then |
2260 | CC="" |
2511 | CC="" |
2261 | else |
2512 | else |
2262 | case $cross_compiling:$ac_tool_warned in |
2513 | case $cross_compiling:$ac_tool_warned in |
2263 | yes:) |
2514 | yes:) |
2264 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
2515 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
2265 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
2516 | printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
2266 | ac_tool_warned=yes ;; |
2517 | ac_tool_warned=yes ;; |
2267 | esac |
2518 | esac |
2268 | CC=$ac_ct_CC |
2519 | CC=$ac_ct_CC |
2269 | fi |
2520 | fi |
2270 | else |
2521 | else |
… | |
… | |
2273 | |
2524 | |
2274 | if test -z "$CC"; then |
2525 | if test -z "$CC"; then |
2275 | if test -n "$ac_tool_prefix"; then |
2526 | if test -n "$ac_tool_prefix"; then |
2276 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
2527 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
2277 | set dummy ${ac_tool_prefix}cc; ac_word=$2 |
2528 | set dummy ${ac_tool_prefix}cc; ac_word=$2 |
2278 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2529 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2279 | $as_echo_n "checking for $ac_word... " >&6; } |
2530 | printf %s "checking for $ac_word... " >&6; } |
2280 | if ${ac_cv_prog_CC+:} false; then : |
2531 | if test ${ac_cv_prog_CC+y} |
2281 | $as_echo_n "(cached) " >&6 |
2532 | then : |
2282 | else |
2533 | printf %s "(cached) " >&6 |
|
|
2534 | else $as_nop |
2283 | if test -n "$CC"; then |
2535 | if test -n "$CC"; then |
2284 | ac_cv_prog_CC="$CC" # Let the user override the test. |
2536 | ac_cv_prog_CC="$CC" # Let the user override the test. |
2285 | else |
2537 | else |
2286 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2538 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2287 | for as_dir in $PATH |
2539 | for as_dir in $PATH |
2288 | do |
2540 | do |
2289 | IFS=$as_save_IFS |
2541 | IFS=$as_save_IFS |
2290 | test -z "$as_dir" && as_dir=. |
2542 | case $as_dir in #((( |
|
|
2543 | '') as_dir=./ ;; |
|
|
2544 | */) ;; |
|
|
2545 | *) as_dir=$as_dir/ ;; |
|
|
2546 | esac |
2291 | for ac_exec_ext in '' $ac_executable_extensions; do |
2547 | for ac_exec_ext in '' $ac_executable_extensions; do |
2292 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2548 | if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
2293 | ac_cv_prog_CC="${ac_tool_prefix}cc" |
2549 | ac_cv_prog_CC="${ac_tool_prefix}cc" |
2294 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2550 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
2295 | break 2 |
2551 | break 2 |
2296 | fi |
2552 | fi |
2297 | done |
2553 | done |
2298 | done |
2554 | done |
2299 | IFS=$as_save_IFS |
2555 | IFS=$as_save_IFS |
2300 | |
2556 | |
2301 | fi |
2557 | fi |
2302 | fi |
2558 | fi |
2303 | CC=$ac_cv_prog_CC |
2559 | CC=$ac_cv_prog_CC |
2304 | if test -n "$CC"; then |
2560 | if test -n "$CC"; then |
2305 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
2561 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
2306 | $as_echo "$CC" >&6; } |
2562 | printf "%s\n" "$CC" >&6; } |
2307 | else |
2563 | else |
2308 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
2564 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
2309 | $as_echo "no" >&6; } |
2565 | printf "%s\n" "no" >&6; } |
2310 | fi |
2566 | fi |
2311 | |
2567 | |
2312 | |
2568 | |
2313 | fi |
2569 | fi |
2314 | fi |
2570 | fi |
2315 | if test -z "$CC"; then |
2571 | if test -z "$CC"; then |
2316 | # Extract the first word of "cc", so it can be a program name with args. |
2572 | # Extract the first word of "cc", so it can be a program name with args. |
2317 | set dummy cc; ac_word=$2 |
2573 | set dummy cc; ac_word=$2 |
2318 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2574 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2319 | $as_echo_n "checking for $ac_word... " >&6; } |
2575 | printf %s "checking for $ac_word... " >&6; } |
2320 | if ${ac_cv_prog_CC+:} false; then : |
2576 | if test ${ac_cv_prog_CC+y} |
2321 | $as_echo_n "(cached) " >&6 |
2577 | then : |
2322 | else |
2578 | printf %s "(cached) " >&6 |
|
|
2579 | else $as_nop |
2323 | if test -n "$CC"; then |
2580 | if test -n "$CC"; then |
2324 | ac_cv_prog_CC="$CC" # Let the user override the test. |
2581 | ac_cv_prog_CC="$CC" # Let the user override the test. |
2325 | else |
2582 | else |
2326 | ac_prog_rejected=no |
2583 | ac_prog_rejected=no |
2327 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2584 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2328 | for as_dir in $PATH |
2585 | for as_dir in $PATH |
2329 | do |
2586 | do |
2330 | IFS=$as_save_IFS |
2587 | IFS=$as_save_IFS |
2331 | test -z "$as_dir" && as_dir=. |
2588 | case $as_dir in #((( |
|
|
2589 | '') as_dir=./ ;; |
|
|
2590 | */) ;; |
|
|
2591 | *) as_dir=$as_dir/ ;; |
|
|
2592 | esac |
2332 | for ac_exec_ext in '' $ac_executable_extensions; do |
2593 | for ac_exec_ext in '' $ac_executable_extensions; do |
2333 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2594 | if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
2334 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
2595 | if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
2335 | ac_prog_rejected=yes |
2596 | ac_prog_rejected=yes |
2336 | continue |
2597 | continue |
2337 | fi |
2598 | fi |
2338 | ac_cv_prog_CC="cc" |
2599 | ac_cv_prog_CC="cc" |
2339 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2600 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
2340 | break 2 |
2601 | break 2 |
2341 | fi |
2602 | fi |
2342 | done |
2603 | done |
2343 | done |
2604 | done |
2344 | IFS=$as_save_IFS |
2605 | IFS=$as_save_IFS |
… | |
… | |
2350 | if test $# != 0; then |
2611 | if test $# != 0; then |
2351 | # We chose a different compiler from the bogus one. |
2612 | # We chose a different compiler from the bogus one. |
2352 | # However, it has the same basename, so the bogon will be chosen |
2613 | # However, it has the same basename, so the bogon will be chosen |
2353 | # first if we set CC to just the basename; use the full file name. |
2614 | # first if we set CC to just the basename; use the full file name. |
2354 | shift |
2615 | shift |
2355 | ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
2616 | ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@" |
2356 | fi |
2617 | fi |
2357 | fi |
2618 | fi |
2358 | fi |
2619 | fi |
2359 | fi |
2620 | fi |
2360 | CC=$ac_cv_prog_CC |
2621 | CC=$ac_cv_prog_CC |
2361 | if test -n "$CC"; then |
2622 | if test -n "$CC"; then |
2362 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
2623 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
2363 | $as_echo "$CC" >&6; } |
2624 | printf "%s\n" "$CC" >&6; } |
2364 | else |
2625 | else |
2365 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
2626 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
2366 | $as_echo "no" >&6; } |
2627 | printf "%s\n" "no" >&6; } |
2367 | fi |
2628 | fi |
2368 | |
2629 | |
2369 | |
2630 | |
2370 | fi |
2631 | fi |
2371 | if test -z "$CC"; then |
2632 | if test -z "$CC"; then |
2372 | if test -n "$ac_tool_prefix"; then |
2633 | if test -n "$ac_tool_prefix"; then |
2373 | for ac_prog in cl.exe |
2634 | for ac_prog in cl.exe |
2374 | do |
2635 | do |
2375 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
2636 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
2376 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
2637 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
2377 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2638 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2378 | $as_echo_n "checking for $ac_word... " >&6; } |
2639 | printf %s "checking for $ac_word... " >&6; } |
2379 | if ${ac_cv_prog_CC+:} false; then : |
2640 | if test ${ac_cv_prog_CC+y} |
2380 | $as_echo_n "(cached) " >&6 |
2641 | then : |
2381 | else |
2642 | printf %s "(cached) " >&6 |
|
|
2643 | else $as_nop |
2382 | if test -n "$CC"; then |
2644 | if test -n "$CC"; then |
2383 | ac_cv_prog_CC="$CC" # Let the user override the test. |
2645 | ac_cv_prog_CC="$CC" # Let the user override the test. |
2384 | else |
2646 | else |
2385 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2647 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2386 | for as_dir in $PATH |
2648 | for as_dir in $PATH |
2387 | do |
2649 | do |
2388 | IFS=$as_save_IFS |
2650 | IFS=$as_save_IFS |
2389 | test -z "$as_dir" && as_dir=. |
2651 | case $as_dir in #((( |
|
|
2652 | '') as_dir=./ ;; |
|
|
2653 | */) ;; |
|
|
2654 | *) as_dir=$as_dir/ ;; |
|
|
2655 | esac |
2390 | for ac_exec_ext in '' $ac_executable_extensions; do |
2656 | for ac_exec_ext in '' $ac_executable_extensions; do |
2391 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2657 | if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
2392 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
2658 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
2393 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2659 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
2394 | break 2 |
2660 | break 2 |
2395 | fi |
2661 | fi |
2396 | done |
2662 | done |
2397 | done |
2663 | done |
2398 | IFS=$as_save_IFS |
2664 | IFS=$as_save_IFS |
2399 | |
2665 | |
2400 | fi |
2666 | fi |
2401 | fi |
2667 | fi |
2402 | CC=$ac_cv_prog_CC |
2668 | CC=$ac_cv_prog_CC |
2403 | if test -n "$CC"; then |
2669 | if test -n "$CC"; then |
2404 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
2670 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
2405 | $as_echo "$CC" >&6; } |
2671 | printf "%s\n" "$CC" >&6; } |
2406 | else |
2672 | else |
2407 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
2673 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
2408 | $as_echo "no" >&6; } |
2674 | printf "%s\n" "no" >&6; } |
2409 | fi |
2675 | fi |
2410 | |
2676 | |
2411 | |
2677 | |
2412 | test -n "$CC" && break |
2678 | test -n "$CC" && break |
2413 | done |
2679 | done |
… | |
… | |
2416 | ac_ct_CC=$CC |
2682 | ac_ct_CC=$CC |
2417 | for ac_prog in cl.exe |
2683 | for ac_prog in cl.exe |
2418 | do |
2684 | do |
2419 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
2685 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
2420 | set dummy $ac_prog; ac_word=$2 |
2686 | set dummy $ac_prog; ac_word=$2 |
2421 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2687 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2422 | $as_echo_n "checking for $ac_word... " >&6; } |
2688 | printf %s "checking for $ac_word... " >&6; } |
2423 | if ${ac_cv_prog_ac_ct_CC+:} false; then : |
2689 | if test ${ac_cv_prog_ac_ct_CC+y} |
2424 | $as_echo_n "(cached) " >&6 |
2690 | then : |
2425 | else |
2691 | printf %s "(cached) " >&6 |
|
|
2692 | else $as_nop |
2426 | if test -n "$ac_ct_CC"; then |
2693 | if test -n "$ac_ct_CC"; then |
2427 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
2694 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
2428 | else |
2695 | else |
2429 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2696 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2430 | for as_dir in $PATH |
2697 | for as_dir in $PATH |
2431 | do |
2698 | do |
2432 | IFS=$as_save_IFS |
2699 | IFS=$as_save_IFS |
2433 | test -z "$as_dir" && as_dir=. |
2700 | case $as_dir in #((( |
|
|
2701 | '') as_dir=./ ;; |
|
|
2702 | */) ;; |
|
|
2703 | *) as_dir=$as_dir/ ;; |
|
|
2704 | esac |
2434 | for ac_exec_ext in '' $ac_executable_extensions; do |
2705 | for ac_exec_ext in '' $ac_executable_extensions; do |
2435 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2706 | if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
2436 | ac_cv_prog_ac_ct_CC="$ac_prog" |
2707 | ac_cv_prog_ac_ct_CC="$ac_prog" |
2437 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2708 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
2438 | break 2 |
2709 | break 2 |
2439 | fi |
2710 | fi |
2440 | done |
2711 | done |
2441 | done |
2712 | done |
2442 | IFS=$as_save_IFS |
2713 | IFS=$as_save_IFS |
2443 | |
2714 | |
2444 | fi |
2715 | fi |
2445 | fi |
2716 | fi |
2446 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
2717 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
2447 | if test -n "$ac_ct_CC"; then |
2718 | if test -n "$ac_ct_CC"; then |
2448 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
2719 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
2449 | $as_echo "$ac_ct_CC" >&6; } |
2720 | printf "%s\n" "$ac_ct_CC" >&6; } |
2450 | else |
2721 | else |
2451 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
2722 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
2452 | $as_echo "no" >&6; } |
2723 | printf "%s\n" "no" >&6; } |
2453 | fi |
2724 | fi |
2454 | |
2725 | |
2455 | |
2726 | |
2456 | test -n "$ac_ct_CC" && break |
2727 | test -n "$ac_ct_CC" && break |
2457 | done |
2728 | done |
… | |
… | |
2459 | if test "x$ac_ct_CC" = x; then |
2730 | if test "x$ac_ct_CC" = x; then |
2460 | CC="" |
2731 | CC="" |
2461 | else |
2732 | else |
2462 | case $cross_compiling:$ac_tool_warned in |
2733 | case $cross_compiling:$ac_tool_warned in |
2463 | yes:) |
2734 | yes:) |
2464 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
2735 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
2465 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
2736 | printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
2466 | ac_tool_warned=yes ;; |
2737 | ac_tool_warned=yes ;; |
2467 | esac |
2738 | esac |
2468 | CC=$ac_ct_CC |
2739 | CC=$ac_ct_CC |
2469 | fi |
2740 | fi |
2470 | fi |
2741 | fi |
2471 | |
2742 | |
2472 | fi |
2743 | fi |
|
|
2744 | if test -z "$CC"; then |
|
|
2745 | if test -n "$ac_tool_prefix"; then |
|
|
2746 | # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args. |
|
|
2747 | set dummy ${ac_tool_prefix}clang; ac_word=$2 |
|
|
2748 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
|
2749 | printf %s "checking for $ac_word... " >&6; } |
|
|
2750 | if test ${ac_cv_prog_CC+y} |
|
|
2751 | then : |
|
|
2752 | printf %s "(cached) " >&6 |
|
|
2753 | else $as_nop |
|
|
2754 | if test -n "$CC"; then |
|
|
2755 | ac_cv_prog_CC="$CC" # Let the user override the test. |
|
|
2756 | else |
|
|
2757 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
2758 | for as_dir in $PATH |
|
|
2759 | do |
|
|
2760 | IFS=$as_save_IFS |
|
|
2761 | case $as_dir in #((( |
|
|
2762 | '') as_dir=./ ;; |
|
|
2763 | */) ;; |
|
|
2764 | *) as_dir=$as_dir/ ;; |
|
|
2765 | esac |
|
|
2766 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
2767 | if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
|
|
2768 | ac_cv_prog_CC="${ac_tool_prefix}clang" |
|
|
2769 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
|
|
2770 | break 2 |
|
|
2771 | fi |
|
|
2772 | done |
|
|
2773 | done |
|
|
2774 | IFS=$as_save_IFS |
2473 | |
2775 | |
|
|
2776 | fi |
|
|
2777 | fi |
|
|
2778 | CC=$ac_cv_prog_CC |
|
|
2779 | if test -n "$CC"; then |
|
|
2780 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
|
|
2781 | printf "%s\n" "$CC" >&6; } |
|
|
2782 | else |
|
|
2783 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
2784 | printf "%s\n" "no" >&6; } |
|
|
2785 | fi |
2474 | |
2786 | |
|
|
2787 | |
|
|
2788 | fi |
|
|
2789 | if test -z "$ac_cv_prog_CC"; then |
|
|
2790 | ac_ct_CC=$CC |
|
|
2791 | # Extract the first word of "clang", so it can be a program name with args. |
|
|
2792 | set dummy clang; ac_word=$2 |
|
|
2793 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
|
2794 | printf %s "checking for $ac_word... " >&6; } |
|
|
2795 | if test ${ac_cv_prog_ac_ct_CC+y} |
|
|
2796 | then : |
|
|
2797 | printf %s "(cached) " >&6 |
|
|
2798 | else $as_nop |
|
|
2799 | if test -n "$ac_ct_CC"; then |
|
|
2800 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
|
|
2801 | else |
|
|
2802 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
2803 | for as_dir in $PATH |
|
|
2804 | do |
|
|
2805 | IFS=$as_save_IFS |
|
|
2806 | case $as_dir in #((( |
|
|
2807 | '') as_dir=./ ;; |
|
|
2808 | */) ;; |
|
|
2809 | *) as_dir=$as_dir/ ;; |
|
|
2810 | esac |
|
|
2811 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
2812 | if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
|
|
2813 | ac_cv_prog_ac_ct_CC="clang" |
|
|
2814 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
|
|
2815 | break 2 |
|
|
2816 | fi |
|
|
2817 | done |
|
|
2818 | done |
|
|
2819 | IFS=$as_save_IFS |
|
|
2820 | |
|
|
2821 | fi |
|
|
2822 | fi |
|
|
2823 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
|
|
2824 | if test -n "$ac_ct_CC"; then |
|
|
2825 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
|
|
2826 | printf "%s\n" "$ac_ct_CC" >&6; } |
|
|
2827 | else |
|
|
2828 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
2829 | printf "%s\n" "no" >&6; } |
|
|
2830 | fi |
|
|
2831 | |
|
|
2832 | if test "x$ac_ct_CC" = x; then |
|
|
2833 | CC="" |
|
|
2834 | else |
|
|
2835 | case $cross_compiling:$ac_tool_warned in |
|
|
2836 | yes:) |
|
|
2837 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
|
2838 | printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
|
2839 | ac_tool_warned=yes ;; |
|
|
2840 | esac |
|
|
2841 | CC=$ac_ct_CC |
|
|
2842 | fi |
|
|
2843 | else |
|
|
2844 | CC="$ac_cv_prog_CC" |
|
|
2845 | fi |
|
|
2846 | |
|
|
2847 | fi |
|
|
2848 | |
|
|
2849 | |
2475 | test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2850 | test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2476 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2851 | printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
2477 | as_fn_error $? "no acceptable C compiler found in \$PATH |
2852 | as_fn_error $? "no acceptable C compiler found in \$PATH |
2478 | See \`config.log' for more details" "$LINENO" 5; } |
2853 | See \`config.log' for more details" "$LINENO" 5; } |
2479 | |
2854 | |
2480 | # Provide some information about the compiler. |
2855 | # Provide some information about the compiler. |
2481 | $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
2856 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
2482 | set X $ac_compile |
2857 | set X $ac_compile |
2483 | ac_compiler=$2 |
2858 | ac_compiler=$2 |
2484 | for ac_option in --version -v -V -qversion; do |
2859 | for ac_option in --version -v -V -qversion -version; do |
2485 | { { ac_try="$ac_compiler $ac_option >&5" |
2860 | { { ac_try="$ac_compiler $ac_option >&5" |
2486 | case "(($ac_try" in |
2861 | case "(($ac_try" in |
2487 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2862 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2488 | *) ac_try_echo=$ac_try;; |
2863 | *) ac_try_echo=$ac_try;; |
2489 | esac |
2864 | esac |
2490 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
2865 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
2491 | $as_echo "$ac_try_echo"; } >&5 |
2866 | printf "%s\n" "$ac_try_echo"; } >&5 |
2492 | (eval "$ac_compiler $ac_option >&5") 2>conftest.err |
2867 | (eval "$ac_compiler $ac_option >&5") 2>conftest.err |
2493 | ac_status=$? |
2868 | ac_status=$? |
2494 | if test -s conftest.err; then |
2869 | if test -s conftest.err; then |
2495 | sed '10a\ |
2870 | sed '10a\ |
2496 | ... rest of stderr output deleted ... |
2871 | ... rest of stderr output deleted ... |
2497 | 10q' conftest.err >conftest.er1 |
2872 | 10q' conftest.err >conftest.er1 |
2498 | cat conftest.er1 >&5 |
2873 | cat conftest.er1 >&5 |
2499 | fi |
2874 | fi |
2500 | rm -f conftest.er1 conftest.err |
2875 | rm -f conftest.er1 conftest.err |
2501 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
2876 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
2502 | test $ac_status = 0; } |
2877 | test $ac_status = 0; } |
2503 | done |
2878 | done |
2504 | |
2879 | |
2505 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2880 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2506 | /* end confdefs.h. */ |
2881 | /* end confdefs.h. */ |
2507 | |
2882 | |
2508 | int |
2883 | int |
2509 | main () |
2884 | main (void) |
2510 | { |
2885 | { |
2511 | |
2886 | |
2512 | ; |
2887 | ; |
2513 | return 0; |
2888 | return 0; |
2514 | } |
2889 | } |
… | |
… | |
2516 | ac_clean_files_save=$ac_clean_files |
2891 | ac_clean_files_save=$ac_clean_files |
2517 | ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" |
2892 | ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" |
2518 | # Try to create an executable without -o first, disregard a.out. |
2893 | # Try to create an executable without -o first, disregard a.out. |
2519 | # It will help us diagnose broken compilers, and finding out an intuition |
2894 | # It will help us diagnose broken compilers, and finding out an intuition |
2520 | # of exeext. |
2895 | # of exeext. |
2521 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 |
2896 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 |
2522 | $as_echo_n "checking whether the C compiler works... " >&6; } |
2897 | printf %s "checking whether the C compiler works... " >&6; } |
2523 | ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
2898 | ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
2524 | |
2899 | |
2525 | # The possible output files: |
2900 | # The possible output files: |
2526 | ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" |
2901 | ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" |
2527 | |
2902 | |
2528 | ac_rmfiles= |
2903 | ac_rmfiles= |
… | |
… | |
2539 | case "(($ac_try" in |
2914 | case "(($ac_try" in |
2540 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2915 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2541 | *) ac_try_echo=$ac_try;; |
2916 | *) ac_try_echo=$ac_try;; |
2542 | esac |
2917 | esac |
2543 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
2918 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
2544 | $as_echo "$ac_try_echo"; } >&5 |
2919 | printf "%s\n" "$ac_try_echo"; } >&5 |
2545 | (eval "$ac_link_default") 2>&5 |
2920 | (eval "$ac_link_default") 2>&5 |
2546 | ac_status=$? |
2921 | ac_status=$? |
2547 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
2922 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
2548 | test $ac_status = 0; }; then : |
2923 | test $ac_status = 0; } |
|
|
2924 | then : |
2549 | # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. |
2925 | # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. |
2550 | # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' |
2926 | # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' |
2551 | # in a Makefile. We should not override ac_cv_exeext if it was cached, |
2927 | # in a Makefile. We should not override ac_cv_exeext if it was cached, |
2552 | # so that the user can short-circuit this test for compilers unknown to |
2928 | # so that the user can short-circuit this test for compilers unknown to |
2553 | # Autoconf. |
2929 | # Autoconf. |
… | |
… | |
2560 | [ab].out ) |
2936 | [ab].out ) |
2561 | # We found the default executable, but exeext='' is most |
2937 | # We found the default executable, but exeext='' is most |
2562 | # certainly right. |
2938 | # certainly right. |
2563 | break;; |
2939 | break;; |
2564 | *.* ) |
2940 | *.* ) |
2565 | if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; |
2941 | if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no; |
2566 | then :; else |
2942 | then :; else |
2567 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
2943 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
2568 | fi |
2944 | fi |
2569 | # We set ac_cv_exeext here because the later test for it is not |
2945 | # We set ac_cv_exeext here because the later test for it is not |
2570 | # safe: cross compilers may not add the suffix if given an `-o' |
2946 | # safe: cross compilers may not add the suffix if given an `-o' |
… | |
… | |
2576 | break;; |
2952 | break;; |
2577 | esac |
2953 | esac |
2578 | done |
2954 | done |
2579 | test "$ac_cv_exeext" = no && ac_cv_exeext= |
2955 | test "$ac_cv_exeext" = no && ac_cv_exeext= |
2580 | |
2956 | |
2581 | else |
2957 | else $as_nop |
2582 | ac_file='' |
2958 | ac_file='' |
2583 | fi |
2959 | fi |
2584 | if test -z "$ac_file"; then : |
2960 | if test -z "$ac_file" |
|
|
2961 | then : |
2585 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
2962 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
2586 | $as_echo "no" >&6; } |
2963 | printf "%s\n" "no" >&6; } |
2587 | $as_echo "$as_me: failed program was:" >&5 |
2964 | printf "%s\n" "$as_me: failed program was:" >&5 |
2588 | sed 's/^/| /' conftest.$ac_ext >&5 |
2965 | sed 's/^/| /' conftest.$ac_ext >&5 |
2589 | |
2966 | |
2590 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2967 | { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2591 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2968 | printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
2592 | as_fn_error 77 "C compiler cannot create executables |
2969 | as_fn_error 77 "C compiler cannot create executables |
2593 | See \`config.log' for more details" "$LINENO" 5; } |
2970 | See \`config.log' for more details" "$LINENO" 5; } |
2594 | else |
2971 | else $as_nop |
2595 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
2972 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
2596 | $as_echo "yes" >&6; } |
2973 | printf "%s\n" "yes" >&6; } |
2597 | fi |
2974 | fi |
2598 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 |
2975 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 |
2599 | $as_echo_n "checking for C compiler default output file name... " >&6; } |
2976 | printf %s "checking for C compiler default output file name... " >&6; } |
2600 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 |
2977 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 |
2601 | $as_echo "$ac_file" >&6; } |
2978 | printf "%s\n" "$ac_file" >&6; } |
2602 | ac_exeext=$ac_cv_exeext |
2979 | ac_exeext=$ac_cv_exeext |
2603 | |
2980 | |
2604 | rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out |
2981 | rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out |
2605 | ac_clean_files=$ac_clean_files_save |
2982 | ac_clean_files=$ac_clean_files_save |
2606 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 |
2983 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 |
2607 | $as_echo_n "checking for suffix of executables... " >&6; } |
2984 | printf %s "checking for suffix of executables... " >&6; } |
2608 | if { { ac_try="$ac_link" |
2985 | if { { ac_try="$ac_link" |
2609 | case "(($ac_try" in |
2986 | case "(($ac_try" in |
2610 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2987 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2611 | *) ac_try_echo=$ac_try;; |
2988 | *) ac_try_echo=$ac_try;; |
2612 | esac |
2989 | esac |
2613 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
2990 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
2614 | $as_echo "$ac_try_echo"; } >&5 |
2991 | printf "%s\n" "$ac_try_echo"; } >&5 |
2615 | (eval "$ac_link") 2>&5 |
2992 | (eval "$ac_link") 2>&5 |
2616 | ac_status=$? |
2993 | ac_status=$? |
2617 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
2994 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
2618 | test $ac_status = 0; }; then : |
2995 | test $ac_status = 0; } |
|
|
2996 | then : |
2619 | # If both `conftest.exe' and `conftest' are `present' (well, observable) |
2997 | # If both `conftest.exe' and `conftest' are `present' (well, observable) |
2620 | # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
2998 | # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
2621 | # work properly (i.e., refer to `conftest.exe'), while it won't with |
2999 | # work properly (i.e., refer to `conftest.exe'), while it won't with |
2622 | # `rm'. |
3000 | # `rm'. |
2623 | for ac_file in conftest.exe conftest conftest.*; do |
3001 | for ac_file in conftest.exe conftest conftest.*; do |
… | |
… | |
2627 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
3005 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
2628 | break;; |
3006 | break;; |
2629 | * ) break;; |
3007 | * ) break;; |
2630 | esac |
3008 | esac |
2631 | done |
3009 | done |
2632 | else |
3010 | else $as_nop |
2633 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3011 | { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2634 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3012 | printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
2635 | as_fn_error $? "cannot compute suffix of executables: cannot compile and link |
3013 | as_fn_error $? "cannot compute suffix of executables: cannot compile and link |
2636 | See \`config.log' for more details" "$LINENO" 5; } |
3014 | See \`config.log' for more details" "$LINENO" 5; } |
2637 | fi |
3015 | fi |
2638 | rm -f conftest conftest$ac_cv_exeext |
3016 | rm -f conftest conftest$ac_cv_exeext |
2639 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
3017 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
2640 | $as_echo "$ac_cv_exeext" >&6; } |
3018 | printf "%s\n" "$ac_cv_exeext" >&6; } |
2641 | |
3019 | |
2642 | rm -f conftest.$ac_ext |
3020 | rm -f conftest.$ac_ext |
2643 | EXEEXT=$ac_cv_exeext |
3021 | EXEEXT=$ac_cv_exeext |
2644 | ac_exeext=$EXEEXT |
3022 | ac_exeext=$EXEEXT |
2645 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3023 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2646 | /* end confdefs.h. */ |
3024 | /* end confdefs.h. */ |
2647 | #include <stdio.h> |
3025 | #include <stdio.h> |
2648 | int |
3026 | int |
2649 | main () |
3027 | main (void) |
2650 | { |
3028 | { |
2651 | FILE *f = fopen ("conftest.out", "w"); |
3029 | FILE *f = fopen ("conftest.out", "w"); |
2652 | return ferror (f) || fclose (f) != 0; |
3030 | return ferror (f) || fclose (f) != 0; |
2653 | |
3031 | |
2654 | ; |
3032 | ; |
… | |
… | |
2656 | } |
3034 | } |
2657 | _ACEOF |
3035 | _ACEOF |
2658 | ac_clean_files="$ac_clean_files conftest.out" |
3036 | ac_clean_files="$ac_clean_files conftest.out" |
2659 | # Check that the compiler produces executables we can run. If not, either |
3037 | # Check that the compiler produces executables we can run. If not, either |
2660 | # the compiler is broken, or we cross compile. |
3038 | # the compiler is broken, or we cross compile. |
2661 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 |
3039 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 |
2662 | $as_echo_n "checking whether we are cross compiling... " >&6; } |
3040 | printf %s "checking whether we are cross compiling... " >&6; } |
2663 | if test "$cross_compiling" != yes; then |
3041 | if test "$cross_compiling" != yes; then |
2664 | { { ac_try="$ac_link" |
3042 | { { ac_try="$ac_link" |
2665 | case "(($ac_try" in |
3043 | case "(($ac_try" in |
2666 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3044 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2667 | *) ac_try_echo=$ac_try;; |
3045 | *) ac_try_echo=$ac_try;; |
2668 | esac |
3046 | esac |
2669 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
3047 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
2670 | $as_echo "$ac_try_echo"; } >&5 |
3048 | printf "%s\n" "$ac_try_echo"; } >&5 |
2671 | (eval "$ac_link") 2>&5 |
3049 | (eval "$ac_link") 2>&5 |
2672 | ac_status=$? |
3050 | ac_status=$? |
2673 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
3051 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
2674 | test $ac_status = 0; } |
3052 | test $ac_status = 0; } |
2675 | if { ac_try='./conftest$ac_cv_exeext' |
3053 | if { ac_try='./conftest$ac_cv_exeext' |
2676 | { { case "(($ac_try" in |
3054 | { { case "(($ac_try" in |
2677 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3055 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2678 | *) ac_try_echo=$ac_try;; |
3056 | *) ac_try_echo=$ac_try;; |
2679 | esac |
3057 | esac |
2680 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
3058 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
2681 | $as_echo "$ac_try_echo"; } >&5 |
3059 | printf "%s\n" "$ac_try_echo"; } >&5 |
2682 | (eval "$ac_try") 2>&5 |
3060 | (eval "$ac_try") 2>&5 |
2683 | ac_status=$? |
3061 | ac_status=$? |
2684 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
3062 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
2685 | test $ac_status = 0; }; }; then |
3063 | test $ac_status = 0; }; }; then |
2686 | cross_compiling=no |
3064 | cross_compiling=no |
2687 | else |
3065 | else |
2688 | if test "$cross_compiling" = maybe; then |
3066 | if test "$cross_compiling" = maybe; then |
2689 | cross_compiling=yes |
3067 | cross_compiling=yes |
2690 | else |
3068 | else |
2691 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3069 | { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2692 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3070 | printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
2693 | as_fn_error $? "cannot run C compiled programs. |
3071 | as_fn_error 77 "cannot run C compiled programs. |
2694 | If you meant to cross compile, use \`--host'. |
3072 | If you meant to cross compile, use \`--host'. |
2695 | See \`config.log' for more details" "$LINENO" 5; } |
3073 | See \`config.log' for more details" "$LINENO" 5; } |
2696 | fi |
3074 | fi |
2697 | fi |
3075 | fi |
2698 | fi |
3076 | fi |
2699 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
3077 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
2700 | $as_echo "$cross_compiling" >&6; } |
3078 | printf "%s\n" "$cross_compiling" >&6; } |
2701 | |
3079 | |
2702 | rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out |
3080 | rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out |
2703 | ac_clean_files=$ac_clean_files_save |
3081 | ac_clean_files=$ac_clean_files_save |
2704 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 |
3082 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 |
2705 | $as_echo_n "checking for suffix of object files... " >&6; } |
3083 | printf %s "checking for suffix of object files... " >&6; } |
2706 | if ${ac_cv_objext+:} false; then : |
3084 | if test ${ac_cv_objext+y} |
2707 | $as_echo_n "(cached) " >&6 |
3085 | then : |
2708 | else |
3086 | printf %s "(cached) " >&6 |
|
|
3087 | else $as_nop |
2709 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3088 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2710 | /* end confdefs.h. */ |
3089 | /* end confdefs.h. */ |
2711 | |
3090 | |
2712 | int |
3091 | int |
2713 | main () |
3092 | main (void) |
2714 | { |
3093 | { |
2715 | |
3094 | |
2716 | ; |
3095 | ; |
2717 | return 0; |
3096 | return 0; |
2718 | } |
3097 | } |
… | |
… | |
2722 | case "(($ac_try" in |
3101 | case "(($ac_try" in |
2723 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3102 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2724 | *) ac_try_echo=$ac_try;; |
3103 | *) ac_try_echo=$ac_try;; |
2725 | esac |
3104 | esac |
2726 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
3105 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
2727 | $as_echo "$ac_try_echo"; } >&5 |
3106 | printf "%s\n" "$ac_try_echo"; } >&5 |
2728 | (eval "$ac_compile") 2>&5 |
3107 | (eval "$ac_compile") 2>&5 |
2729 | ac_status=$? |
3108 | ac_status=$? |
2730 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
3109 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
2731 | test $ac_status = 0; }; then : |
3110 | test $ac_status = 0; } |
|
|
3111 | then : |
2732 | for ac_file in conftest.o conftest.obj conftest.*; do |
3112 | for ac_file in conftest.o conftest.obj conftest.*; do |
2733 | test -f "$ac_file" || continue; |
3113 | test -f "$ac_file" || continue; |
2734 | case $ac_file in |
3114 | case $ac_file in |
2735 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; |
3115 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; |
2736 | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
3116 | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
2737 | break;; |
3117 | break;; |
2738 | esac |
3118 | esac |
2739 | done |
3119 | done |
2740 | else |
3120 | else $as_nop |
2741 | $as_echo "$as_me: failed program was:" >&5 |
3121 | printf "%s\n" "$as_me: failed program was:" >&5 |
2742 | sed 's/^/| /' conftest.$ac_ext >&5 |
3122 | sed 's/^/| /' conftest.$ac_ext >&5 |
2743 | |
3123 | |
2744 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3124 | { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2745 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3125 | printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
2746 | as_fn_error $? "cannot compute suffix of object files: cannot compile |
3126 | as_fn_error $? "cannot compute suffix of object files: cannot compile |
2747 | See \`config.log' for more details" "$LINENO" 5; } |
3127 | See \`config.log' for more details" "$LINENO" 5; } |
2748 | fi |
3128 | fi |
2749 | rm -f conftest.$ac_cv_objext conftest.$ac_ext |
3129 | rm -f conftest.$ac_cv_objext conftest.$ac_ext |
2750 | fi |
3130 | fi |
2751 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 |
3131 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 |
2752 | $as_echo "$ac_cv_objext" >&6; } |
3132 | printf "%s\n" "$ac_cv_objext" >&6; } |
2753 | OBJEXT=$ac_cv_objext |
3133 | OBJEXT=$ac_cv_objext |
2754 | ac_objext=$OBJEXT |
3134 | ac_objext=$OBJEXT |
2755 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 |
3135 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5 |
2756 | $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
3136 | printf %s "checking whether the compiler supports GNU C... " >&6; } |
2757 | if ${ac_cv_c_compiler_gnu+:} false; then : |
3137 | if test ${ac_cv_c_compiler_gnu+y} |
2758 | $as_echo_n "(cached) " >&6 |
3138 | then : |
2759 | else |
3139 | printf %s "(cached) " >&6 |
|
|
3140 | else $as_nop |
2760 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3141 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2761 | /* end confdefs.h. */ |
3142 | /* end confdefs.h. */ |
2762 | |
3143 | |
2763 | int |
3144 | int |
2764 | main () |
3145 | main (void) |
2765 | { |
3146 | { |
2766 | #ifndef __GNUC__ |
3147 | #ifndef __GNUC__ |
2767 | choke me |
3148 | choke me |
2768 | #endif |
3149 | #endif |
2769 | |
3150 | |
2770 | ; |
3151 | ; |
2771 | return 0; |
3152 | return 0; |
2772 | } |
3153 | } |
2773 | _ACEOF |
3154 | _ACEOF |
2774 | if ac_fn_c_try_compile "$LINENO"; then : |
3155 | if ac_fn_c_try_compile "$LINENO" |
|
|
3156 | then : |
2775 | ac_compiler_gnu=yes |
3157 | ac_compiler_gnu=yes |
2776 | else |
3158 | else $as_nop |
2777 | ac_compiler_gnu=no |
3159 | ac_compiler_gnu=no |
2778 | fi |
3160 | fi |
2779 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3161 | rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
2780 | ac_cv_c_compiler_gnu=$ac_compiler_gnu |
3162 | ac_cv_c_compiler_gnu=$ac_compiler_gnu |
2781 | |
3163 | |
2782 | fi |
3164 | fi |
2783 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 |
3165 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 |
2784 | $as_echo "$ac_cv_c_compiler_gnu" >&6; } |
3166 | printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; } |
|
|
3167 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
3168 | |
2785 | if test $ac_compiler_gnu = yes; then |
3169 | if test $ac_compiler_gnu = yes; then |
2786 | GCC=yes |
3170 | GCC=yes |
2787 | else |
3171 | else |
2788 | GCC= |
3172 | GCC= |
2789 | fi |
3173 | fi |
2790 | ac_test_CFLAGS=${CFLAGS+set} |
3174 | ac_test_CFLAGS=${CFLAGS+y} |
2791 | ac_save_CFLAGS=$CFLAGS |
3175 | ac_save_CFLAGS=$CFLAGS |
2792 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
3176 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
2793 | $as_echo_n "checking whether $CC accepts -g... " >&6; } |
3177 | printf %s "checking whether $CC accepts -g... " >&6; } |
2794 | if ${ac_cv_prog_cc_g+:} false; then : |
3178 | if test ${ac_cv_prog_cc_g+y} |
2795 | $as_echo_n "(cached) " >&6 |
3179 | then : |
2796 | else |
3180 | printf %s "(cached) " >&6 |
|
|
3181 | else $as_nop |
2797 | ac_save_c_werror_flag=$ac_c_werror_flag |
3182 | ac_save_c_werror_flag=$ac_c_werror_flag |
2798 | ac_c_werror_flag=yes |
3183 | ac_c_werror_flag=yes |
2799 | ac_cv_prog_cc_g=no |
3184 | ac_cv_prog_cc_g=no |
2800 | CFLAGS="-g" |
3185 | CFLAGS="-g" |
2801 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3186 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2802 | /* end confdefs.h. */ |
3187 | /* end confdefs.h. */ |
2803 | |
3188 | |
2804 | int |
3189 | int |
2805 | main () |
3190 | main (void) |
2806 | { |
3191 | { |
2807 | |
3192 | |
2808 | ; |
3193 | ; |
2809 | return 0; |
3194 | return 0; |
2810 | } |
3195 | } |
2811 | _ACEOF |
3196 | _ACEOF |
2812 | if ac_fn_c_try_compile "$LINENO"; then : |
3197 | if ac_fn_c_try_compile "$LINENO" |
|
|
3198 | then : |
2813 | ac_cv_prog_cc_g=yes |
3199 | ac_cv_prog_cc_g=yes |
2814 | else |
3200 | else $as_nop |
2815 | CFLAGS="" |
3201 | CFLAGS="" |
2816 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3202 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2817 | /* end confdefs.h. */ |
3203 | /* end confdefs.h. */ |
2818 | |
3204 | |
2819 | int |
3205 | int |
2820 | main () |
3206 | main (void) |
2821 | { |
3207 | { |
2822 | |
3208 | |
2823 | ; |
3209 | ; |
2824 | return 0; |
3210 | return 0; |
2825 | } |
3211 | } |
2826 | _ACEOF |
3212 | _ACEOF |
2827 | if ac_fn_c_try_compile "$LINENO"; then : |
3213 | if ac_fn_c_try_compile "$LINENO" |
|
|
3214 | then : |
2828 | |
3215 | |
2829 | else |
3216 | else $as_nop |
2830 | ac_c_werror_flag=$ac_save_c_werror_flag |
3217 | ac_c_werror_flag=$ac_save_c_werror_flag |
2831 | CFLAGS="-g" |
3218 | CFLAGS="-g" |
2832 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3219 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2833 | /* end confdefs.h. */ |
3220 | /* end confdefs.h. */ |
2834 | |
3221 | |
2835 | int |
3222 | int |
2836 | main () |
3223 | main (void) |
2837 | { |
3224 | { |
2838 | |
3225 | |
2839 | ; |
3226 | ; |
2840 | return 0; |
3227 | return 0; |
2841 | } |
3228 | } |
2842 | _ACEOF |
3229 | _ACEOF |
2843 | if ac_fn_c_try_compile "$LINENO"; then : |
3230 | if ac_fn_c_try_compile "$LINENO" |
|
|
3231 | then : |
2844 | ac_cv_prog_cc_g=yes |
3232 | ac_cv_prog_cc_g=yes |
2845 | fi |
3233 | fi |
2846 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3234 | rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
2847 | fi |
3235 | fi |
2848 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3236 | rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
2849 | fi |
3237 | fi |
2850 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3238 | rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
2851 | ac_c_werror_flag=$ac_save_c_werror_flag |
3239 | ac_c_werror_flag=$ac_save_c_werror_flag |
2852 | fi |
3240 | fi |
2853 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 |
3241 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 |
2854 | $as_echo "$ac_cv_prog_cc_g" >&6; } |
3242 | printf "%s\n" "$ac_cv_prog_cc_g" >&6; } |
2855 | if test "$ac_test_CFLAGS" = set; then |
3243 | if test $ac_test_CFLAGS; then |
2856 | CFLAGS=$ac_save_CFLAGS |
3244 | CFLAGS=$ac_save_CFLAGS |
2857 | elif test $ac_cv_prog_cc_g = yes; then |
3245 | elif test $ac_cv_prog_cc_g = yes; then |
2858 | if test "$GCC" = yes; then |
3246 | if test "$GCC" = yes; then |
2859 | CFLAGS="-g -O2" |
3247 | CFLAGS="-g -O2" |
2860 | else |
3248 | else |
… | |
… | |
2865 | CFLAGS="-O2" |
3253 | CFLAGS="-O2" |
2866 | else |
3254 | else |
2867 | CFLAGS= |
3255 | CFLAGS= |
2868 | fi |
3256 | fi |
2869 | fi |
3257 | fi |
|
|
3258 | ac_prog_cc_stdc=no |
|
|
3259 | if test x$ac_prog_cc_stdc = xno |
|
|
3260 | then : |
|
|
3261 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5 |
|
|
3262 | printf %s "checking for $CC option to enable C11 features... " >&6; } |
|
|
3263 | if test ${ac_cv_prog_cc_c11+y} |
|
|
3264 | then : |
|
|
3265 | printf %s "(cached) " >&6 |
|
|
3266 | else $as_nop |
|
|
3267 | ac_cv_prog_cc_c11=no |
|
|
3268 | ac_save_CC=$CC |
|
|
3269 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
3270 | /* end confdefs.h. */ |
|
|
3271 | $ac_c_conftest_c11_program |
|
|
3272 | _ACEOF |
|
|
3273 | for ac_arg in '' -std=gnu11 |
|
|
3274 | do |
|
|
3275 | CC="$ac_save_CC $ac_arg" |
|
|
3276 | if ac_fn_c_try_compile "$LINENO" |
|
|
3277 | then : |
|
|
3278 | ac_cv_prog_cc_c11=$ac_arg |
|
|
3279 | fi |
|
|
3280 | rm -f core conftest.err conftest.$ac_objext conftest.beam |
|
|
3281 | test "x$ac_cv_prog_cc_c11" != "xno" && break |
|
|
3282 | done |
|
|
3283 | rm -f conftest.$ac_ext |
|
|
3284 | CC=$ac_save_CC |
|
|
3285 | fi |
|
|
3286 | |
|
|
3287 | if test "x$ac_cv_prog_cc_c11" = xno |
|
|
3288 | then : |
|
|
3289 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
|
|
3290 | printf "%s\n" "unsupported" >&6; } |
|
|
3291 | else $as_nop |
|
|
3292 | if test "x$ac_cv_prog_cc_c11" = x |
|
|
3293 | then : |
|
|
3294 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
|
|
3295 | printf "%s\n" "none needed" >&6; } |
|
|
3296 | else $as_nop |
|
|
3297 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5 |
|
|
3298 | printf "%s\n" "$ac_cv_prog_cc_c11" >&6; } |
|
|
3299 | CC="$CC $ac_cv_prog_cc_c11" |
|
|
3300 | fi |
|
|
3301 | ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11 |
|
|
3302 | ac_prog_cc_stdc=c11 |
|
|
3303 | fi |
|
|
3304 | fi |
|
|
3305 | if test x$ac_prog_cc_stdc = xno |
|
|
3306 | then : |
|
|
3307 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5 |
|
|
3308 | printf %s "checking for $CC option to enable C99 features... " >&6; } |
|
|
3309 | if test ${ac_cv_prog_cc_c99+y} |
|
|
3310 | then : |
|
|
3311 | printf %s "(cached) " >&6 |
|
|
3312 | else $as_nop |
|
|
3313 | ac_cv_prog_cc_c99=no |
|
|
3314 | ac_save_CC=$CC |
|
|
3315 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
3316 | /* end confdefs.h. */ |
|
|
3317 | $ac_c_conftest_c99_program |
|
|
3318 | _ACEOF |
|
|
3319 | for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99= |
|
|
3320 | do |
|
|
3321 | CC="$ac_save_CC $ac_arg" |
|
|
3322 | if ac_fn_c_try_compile "$LINENO" |
|
|
3323 | then : |
|
|
3324 | ac_cv_prog_cc_c99=$ac_arg |
|
|
3325 | fi |
|
|
3326 | rm -f core conftest.err conftest.$ac_objext conftest.beam |
|
|
3327 | test "x$ac_cv_prog_cc_c99" != "xno" && break |
|
|
3328 | done |
|
|
3329 | rm -f conftest.$ac_ext |
|
|
3330 | CC=$ac_save_CC |
|
|
3331 | fi |
|
|
3332 | |
|
|
3333 | if test "x$ac_cv_prog_cc_c99" = xno |
|
|
3334 | then : |
|
|
3335 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
|
|
3336 | printf "%s\n" "unsupported" >&6; } |
|
|
3337 | else $as_nop |
|
|
3338 | if test "x$ac_cv_prog_cc_c99" = x |
|
|
3339 | then : |
|
|
3340 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
|
|
3341 | printf "%s\n" "none needed" >&6; } |
|
|
3342 | else $as_nop |
|
|
3343 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 |
|
|
3344 | printf "%s\n" "$ac_cv_prog_cc_c99" >&6; } |
|
|
3345 | CC="$CC $ac_cv_prog_cc_c99" |
|
|
3346 | fi |
|
|
3347 | ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99 |
|
|
3348 | ac_prog_cc_stdc=c99 |
|
|
3349 | fi |
|
|
3350 | fi |
|
|
3351 | if test x$ac_prog_cc_stdc = xno |
|
|
3352 | then : |
2870 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 |
3353 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5 |
2871 | $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
3354 | printf %s "checking for $CC option to enable C89 features... " >&6; } |
2872 | if ${ac_cv_prog_cc_c89+:} false; then : |
3355 | if test ${ac_cv_prog_cc_c89+y} |
2873 | $as_echo_n "(cached) " >&6 |
3356 | then : |
2874 | else |
3357 | printf %s "(cached) " >&6 |
|
|
3358 | else $as_nop |
2875 | ac_cv_prog_cc_c89=no |
3359 | ac_cv_prog_cc_c89=no |
2876 | ac_save_CC=$CC |
3360 | ac_save_CC=$CC |
2877 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3361 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2878 | /* end confdefs.h. */ |
3362 | /* end confdefs.h. */ |
2879 | #include <stdarg.h> |
3363 | $ac_c_conftest_c89_program |
2880 | #include <stdio.h> |
|
|
2881 | struct stat; |
|
|
2882 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
|
|
2883 | struct buf { int x; }; |
|
|
2884 | FILE * (*rcsopen) (struct buf *, struct stat *, int); |
|
|
2885 | static char *e (p, i) |
|
|
2886 | char **p; |
|
|
2887 | int i; |
|
|
2888 | { |
|
|
2889 | return p[i]; |
|
|
2890 | } |
|
|
2891 | static char *f (char * (*g) (char **, int), char **p, ...) |
|
|
2892 | { |
|
|
2893 | char *s; |
|
|
2894 | va_list v; |
|
|
2895 | va_start (v,p); |
|
|
2896 | s = g (p, va_arg (v,int)); |
|
|
2897 | va_end (v); |
|
|
2898 | return s; |
|
|
2899 | } |
|
|
2900 | |
|
|
2901 | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
|
|
2902 | function prototypes and stuff, but not '\xHH' hex character constants. |
|
|
2903 | These don't provoke an error unfortunately, instead are silently treated |
|
|
2904 | as 'x'. The following induces an error, until -std is added to get |
|
|
2905 | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
|
|
2906 | array size at least. It's necessary to write '\x00'==0 to get something |
|
|
2907 | that's true only with -std. */ |
|
|
2908 | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
|
|
2909 | |
|
|
2910 | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters |
|
|
2911 | inside strings and character constants. */ |
|
|
2912 | #define FOO(x) 'x' |
|
|
2913 | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; |
|
|
2914 | |
|
|
2915 | int test (int i, double x); |
|
|
2916 | struct s1 {int (*f) (int a);}; |
|
|
2917 | struct s2 {int (*f) (double a);}; |
|
|
2918 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
|
|
2919 | int argc; |
|
|
2920 | char **argv; |
|
|
2921 | int |
|
|
2922 | main () |
|
|
2923 | { |
|
|
2924 | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
|
|
2925 | ; |
|
|
2926 | return 0; |
|
|
2927 | } |
|
|
2928 | _ACEOF |
3364 | _ACEOF |
2929 | for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ |
3365 | for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
2930 | -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
|
|
2931 | do |
3366 | do |
2932 | CC="$ac_save_CC $ac_arg" |
3367 | CC="$ac_save_CC $ac_arg" |
2933 | if ac_fn_c_try_compile "$LINENO"; then : |
3368 | if ac_fn_c_try_compile "$LINENO" |
|
|
3369 | then : |
2934 | ac_cv_prog_cc_c89=$ac_arg |
3370 | ac_cv_prog_cc_c89=$ac_arg |
2935 | fi |
3371 | fi |
2936 | rm -f core conftest.err conftest.$ac_objext |
3372 | rm -f core conftest.err conftest.$ac_objext conftest.beam |
2937 | test "x$ac_cv_prog_cc_c89" != "xno" && break |
3373 | test "x$ac_cv_prog_cc_c89" != "xno" && break |
2938 | done |
3374 | done |
2939 | rm -f conftest.$ac_ext |
3375 | rm -f conftest.$ac_ext |
2940 | CC=$ac_save_CC |
3376 | CC=$ac_save_CC |
2941 | |
|
|
2942 | fi |
3377 | fi |
2943 | # AC_CACHE_VAL |
3378 | |
2944 | case "x$ac_cv_prog_cc_c89" in |
3379 | if test "x$ac_cv_prog_cc_c89" = xno |
2945 | x) |
3380 | then : |
2946 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
|
|
2947 | $as_echo "none needed" >&6; } ;; |
|
|
2948 | xno) |
|
|
2949 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
3381 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
2950 | $as_echo "unsupported" >&6; } ;; |
3382 | printf "%s\n" "unsupported" >&6; } |
2951 | *) |
3383 | else $as_nop |
|
|
3384 | if test "x$ac_cv_prog_cc_c89" = x |
|
|
3385 | then : |
|
|
3386 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
|
|
3387 | printf "%s\n" "none needed" >&6; } |
|
|
3388 | else $as_nop |
|
|
3389 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 |
|
|
3390 | printf "%s\n" "$ac_cv_prog_cc_c89" >&6; } |
2952 | CC="$CC $ac_cv_prog_cc_c89" |
3391 | CC="$CC $ac_cv_prog_cc_c89" |
2953 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 |
3392 | fi |
2954 | $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; |
3393 | ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89 |
2955 | esac |
3394 | ac_prog_cc_stdc=c89 |
2956 | if test "x$ac_cv_prog_cc_c89" != xno; then : |
3395 | fi |
2957 | |
|
|
2958 | fi |
3396 | fi |
2959 | |
3397 | |
2960 | ac_ext=c |
3398 | ac_ext=c |
2961 | ac_cpp='$CPP $CPPFLAGS' |
3399 | ac_cpp='$CPP $CPPFLAGS' |
2962 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3400 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
… | |
… | |
2966 | ac_ext=c |
3404 | ac_ext=c |
2967 | ac_cpp='$CPP $CPPFLAGS' |
3405 | ac_cpp='$CPP $CPPFLAGS' |
2968 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3406 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
2969 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3407 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
2970 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3408 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
2971 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 |
3409 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 |
2972 | $as_echo_n "checking how to run the C preprocessor... " >&6; } |
3410 | printf %s "checking how to run the C preprocessor... " >&6; } |
2973 | # On Suns, sometimes $CPP names a directory. |
3411 | # On Suns, sometimes $CPP names a directory. |
2974 | if test -n "$CPP" && test -d "$CPP"; then |
3412 | if test -n "$CPP" && test -d "$CPP"; then |
2975 | CPP= |
3413 | CPP= |
2976 | fi |
3414 | fi |
2977 | if test -z "$CPP"; then |
3415 | if test -z "$CPP"; then |
2978 | if ${ac_cv_prog_CPP+:} false; then : |
3416 | if test ${ac_cv_prog_CPP+y} |
2979 | $as_echo_n "(cached) " >&6 |
3417 | then : |
2980 | else |
3418 | printf %s "(cached) " >&6 |
|
|
3419 | else $as_nop |
2981 | # Double quotes because CPP needs to be expanded |
3420 | # Double quotes because $CC needs to be expanded |
2982 | for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
3421 | for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp |
2983 | do |
3422 | do |
2984 | ac_preproc_ok=false |
3423 | ac_preproc_ok=false |
2985 | for ac_c_preproc_warn_flag in '' yes |
3424 | for ac_c_preproc_warn_flag in '' yes |
2986 | do |
3425 | do |
2987 | # Use a header file that comes with gcc, so configuring glibc |
3426 | # Use a header file that comes with gcc, so configuring glibc |
2988 | # with a fresh cross-compiler works. |
3427 | # with a fresh cross-compiler works. |
2989 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
2990 | # <limits.h> exists even on freestanding compilers. |
|
|
2991 | # On the NeXT, cc -E runs the code through the compiler's parser, |
3428 | # On the NeXT, cc -E runs the code through the compiler's parser, |
2992 | # not just through cpp. "Syntax error" is here to catch this case. |
3429 | # not just through cpp. "Syntax error" is here to catch this case. |
2993 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3430 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2994 | /* end confdefs.h. */ |
3431 | /* end confdefs.h. */ |
2995 | #ifdef __STDC__ |
|
|
2996 | # include <limits.h> |
3432 | #include <limits.h> |
2997 | #else |
|
|
2998 | # include <assert.h> |
|
|
2999 | #endif |
|
|
3000 | Syntax error |
3433 | Syntax error |
3001 | _ACEOF |
3434 | _ACEOF |
3002 | if ac_fn_c_try_cpp "$LINENO"; then : |
3435 | if ac_fn_c_try_cpp "$LINENO" |
|
|
3436 | then : |
3003 | |
3437 | |
3004 | else |
3438 | else $as_nop |
3005 | # Broken: fails on valid input. |
3439 | # Broken: fails on valid input. |
3006 | continue |
3440 | continue |
3007 | fi |
3441 | fi |
3008 | rm -f conftest.err conftest.i conftest.$ac_ext |
3442 | rm -f conftest.err conftest.i conftest.$ac_ext |
3009 | |
3443 | |
… | |
… | |
3011 | # can be detected and how. |
3445 | # can be detected and how. |
3012 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3446 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3013 | /* end confdefs.h. */ |
3447 | /* end confdefs.h. */ |
3014 | #include <ac_nonexistent.h> |
3448 | #include <ac_nonexistent.h> |
3015 | _ACEOF |
3449 | _ACEOF |
3016 | if ac_fn_c_try_cpp "$LINENO"; then : |
3450 | if ac_fn_c_try_cpp "$LINENO" |
|
|
3451 | then : |
3017 | # Broken: success on invalid input. |
3452 | # Broken: success on invalid input. |
3018 | continue |
3453 | continue |
3019 | else |
3454 | else $as_nop |
3020 | # Passes both tests. |
3455 | # Passes both tests. |
3021 | ac_preproc_ok=: |
3456 | ac_preproc_ok=: |
3022 | break |
3457 | break |
3023 | fi |
3458 | fi |
3024 | rm -f conftest.err conftest.i conftest.$ac_ext |
3459 | rm -f conftest.err conftest.i conftest.$ac_ext |
3025 | |
3460 | |
3026 | done |
3461 | done |
3027 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
3462 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
3028 | rm -f conftest.i conftest.err conftest.$ac_ext |
3463 | rm -f conftest.i conftest.err conftest.$ac_ext |
3029 | if $ac_preproc_ok; then : |
3464 | if $ac_preproc_ok |
|
|
3465 | then : |
3030 | break |
3466 | break |
3031 | fi |
3467 | fi |
3032 | |
3468 | |
3033 | done |
3469 | done |
3034 | ac_cv_prog_CPP=$CPP |
3470 | ac_cv_prog_CPP=$CPP |
… | |
… | |
3036 | fi |
3472 | fi |
3037 | CPP=$ac_cv_prog_CPP |
3473 | CPP=$ac_cv_prog_CPP |
3038 | else |
3474 | else |
3039 | ac_cv_prog_CPP=$CPP |
3475 | ac_cv_prog_CPP=$CPP |
3040 | fi |
3476 | fi |
3041 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 |
3477 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 |
3042 | $as_echo "$CPP" >&6; } |
3478 | printf "%s\n" "$CPP" >&6; } |
3043 | ac_preproc_ok=false |
3479 | ac_preproc_ok=false |
3044 | for ac_c_preproc_warn_flag in '' yes |
3480 | for ac_c_preproc_warn_flag in '' yes |
3045 | do |
3481 | do |
3046 | # Use a header file that comes with gcc, so configuring glibc |
3482 | # Use a header file that comes with gcc, so configuring glibc |
3047 | # with a fresh cross-compiler works. |
3483 | # with a fresh cross-compiler works. |
3048 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
3049 | # <limits.h> exists even on freestanding compilers. |
|
|
3050 | # On the NeXT, cc -E runs the code through the compiler's parser, |
3484 | # On the NeXT, cc -E runs the code through the compiler's parser, |
3051 | # not just through cpp. "Syntax error" is here to catch this case. |
3485 | # not just through cpp. "Syntax error" is here to catch this case. |
3052 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3486 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3053 | /* end confdefs.h. */ |
3487 | /* end confdefs.h. */ |
3054 | #ifdef __STDC__ |
|
|
3055 | # include <limits.h> |
3488 | #include <limits.h> |
3056 | #else |
|
|
3057 | # include <assert.h> |
|
|
3058 | #endif |
|
|
3059 | Syntax error |
3489 | Syntax error |
3060 | _ACEOF |
3490 | _ACEOF |
3061 | if ac_fn_c_try_cpp "$LINENO"; then : |
3491 | if ac_fn_c_try_cpp "$LINENO" |
|
|
3492 | then : |
3062 | |
3493 | |
3063 | else |
3494 | else $as_nop |
3064 | # Broken: fails on valid input. |
3495 | # Broken: fails on valid input. |
3065 | continue |
3496 | continue |
3066 | fi |
3497 | fi |
3067 | rm -f conftest.err conftest.i conftest.$ac_ext |
3498 | rm -f conftest.err conftest.i conftest.$ac_ext |
3068 | |
3499 | |
… | |
… | |
3070 | # can be detected and how. |
3501 | # can be detected and how. |
3071 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3502 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3072 | /* end confdefs.h. */ |
3503 | /* end confdefs.h. */ |
3073 | #include <ac_nonexistent.h> |
3504 | #include <ac_nonexistent.h> |
3074 | _ACEOF |
3505 | _ACEOF |
3075 | if ac_fn_c_try_cpp "$LINENO"; then : |
3506 | if ac_fn_c_try_cpp "$LINENO" |
|
|
3507 | then : |
3076 | # Broken: success on invalid input. |
3508 | # Broken: success on invalid input. |
3077 | continue |
3509 | continue |
3078 | else |
3510 | else $as_nop |
3079 | # Passes both tests. |
3511 | # Passes both tests. |
3080 | ac_preproc_ok=: |
3512 | ac_preproc_ok=: |
3081 | break |
3513 | break |
3082 | fi |
3514 | fi |
3083 | rm -f conftest.err conftest.i conftest.$ac_ext |
3515 | rm -f conftest.err conftest.i conftest.$ac_ext |
3084 | |
3516 | |
3085 | done |
3517 | done |
3086 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
3518 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
3087 | rm -f conftest.i conftest.err conftest.$ac_ext |
3519 | rm -f conftest.i conftest.err conftest.$ac_ext |
3088 | if $ac_preproc_ok; then : |
3520 | if $ac_preproc_ok |
|
|
3521 | then : |
3089 | |
3522 | |
3090 | else |
3523 | else $as_nop |
3091 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3524 | { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3092 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3525 | printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
3093 | as_fn_error $? "C preprocessor \"$CPP\" fails sanity check |
3526 | as_fn_error $? "C preprocessor \"$CPP\" fails sanity check |
3094 | See \`config.log' for more details" "$LINENO" 5; } |
3527 | See \`config.log' for more details" "$LINENO" 5; } |
3095 | fi |
3528 | fi |
3096 | |
3529 | |
3097 | ac_ext=c |
3530 | ac_ext=c |
3098 | ac_cpp='$CPP $CPPFLAGS' |
3531 | ac_cpp='$CPP $CPPFLAGS' |
3099 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3532 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3100 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3533 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3101 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3534 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3102 | |
3535 | |
3103 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
3536 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
3104 | $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
3537 | printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
3105 | set x ${MAKE-make} |
3538 | set x ${MAKE-make} |
3106 | ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
3539 | ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
3107 | if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : |
3540 | if eval test \${ac_cv_prog_make_${ac_make}_set+y} |
3108 | $as_echo_n "(cached) " >&6 |
3541 | then : |
3109 | else |
3542 | printf %s "(cached) " >&6 |
|
|
3543 | else $as_nop |
3110 | cat >conftest.make <<\_ACEOF |
3544 | cat >conftest.make <<\_ACEOF |
3111 | SHELL = /bin/sh |
3545 | SHELL = /bin/sh |
3112 | all: |
3546 | all: |
3113 | @echo '@@@%%%=$(MAKE)=@@@%%%' |
3547 | @echo '@@@%%%=$(MAKE)=@@@%%%' |
3114 | _ACEOF |
3548 | _ACEOF |
… | |
… | |
3120 | eval ac_cv_prog_make_${ac_make}_set=no;; |
3554 | eval ac_cv_prog_make_${ac_make}_set=no;; |
3121 | esac |
3555 | esac |
3122 | rm -f conftest.make |
3556 | rm -f conftest.make |
3123 | fi |
3557 | fi |
3124 | if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then |
3558 | if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then |
3125 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
3559 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
3126 | $as_echo "yes" >&6; } |
3560 | printf "%s\n" "yes" >&6; } |
3127 | SET_MAKE= |
3561 | SET_MAKE= |
3128 | else |
3562 | else |
3129 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3563 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3130 | $as_echo "no" >&6; } |
3564 | printf "%s\n" "no" >&6; } |
3131 | SET_MAKE="MAKE=${MAKE-make}" |
3565 | SET_MAKE="MAKE=${MAKE-make}" |
3132 | fi |
3566 | fi |
3133 | |
3567 | |
3134 | if test -n "$ac_tool_prefix"; then |
3568 | if test -n "$ac_tool_prefix"; then |
3135 | # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. |
3569 | # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. |
3136 | set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
3570 | set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
3137 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3571 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3138 | $as_echo_n "checking for $ac_word... " >&6; } |
3572 | printf %s "checking for $ac_word... " >&6; } |
3139 | if ${ac_cv_prog_RANLIB+:} false; then : |
3573 | if test ${ac_cv_prog_RANLIB+y} |
3140 | $as_echo_n "(cached) " >&6 |
3574 | then : |
3141 | else |
3575 | printf %s "(cached) " >&6 |
|
|
3576 | else $as_nop |
3142 | if test -n "$RANLIB"; then |
3577 | if test -n "$RANLIB"; then |
3143 | ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
3578 | ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
3144 | else |
3579 | else |
3145 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3580 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3146 | for as_dir in $PATH |
3581 | for as_dir in $PATH |
3147 | do |
3582 | do |
3148 | IFS=$as_save_IFS |
3583 | IFS=$as_save_IFS |
3149 | test -z "$as_dir" && as_dir=. |
3584 | case $as_dir in #((( |
|
|
3585 | '') as_dir=./ ;; |
|
|
3586 | */) ;; |
|
|
3587 | *) as_dir=$as_dir/ ;; |
|
|
3588 | esac |
3150 | for ac_exec_ext in '' $ac_executable_extensions; do |
3589 | for ac_exec_ext in '' $ac_executable_extensions; do |
3151 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3590 | if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
3152 | ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
3591 | ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
3153 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3592 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
3154 | break 2 |
3593 | break 2 |
3155 | fi |
3594 | fi |
3156 | done |
3595 | done |
3157 | done |
3596 | done |
3158 | IFS=$as_save_IFS |
3597 | IFS=$as_save_IFS |
3159 | |
3598 | |
3160 | fi |
3599 | fi |
3161 | fi |
3600 | fi |
3162 | RANLIB=$ac_cv_prog_RANLIB |
3601 | RANLIB=$ac_cv_prog_RANLIB |
3163 | if test -n "$RANLIB"; then |
3602 | if test -n "$RANLIB"; then |
3164 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 |
3603 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 |
3165 | $as_echo "$RANLIB" >&6; } |
3604 | printf "%s\n" "$RANLIB" >&6; } |
3166 | else |
3605 | else |
3167 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3606 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3168 | $as_echo "no" >&6; } |
3607 | printf "%s\n" "no" >&6; } |
3169 | fi |
3608 | fi |
3170 | |
3609 | |
3171 | |
3610 | |
3172 | fi |
3611 | fi |
3173 | if test -z "$ac_cv_prog_RANLIB"; then |
3612 | if test -z "$ac_cv_prog_RANLIB"; then |
3174 | ac_ct_RANLIB=$RANLIB |
3613 | ac_ct_RANLIB=$RANLIB |
3175 | # Extract the first word of "ranlib", so it can be a program name with args. |
3614 | # Extract the first word of "ranlib", so it can be a program name with args. |
3176 | set dummy ranlib; ac_word=$2 |
3615 | set dummy ranlib; ac_word=$2 |
3177 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3616 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3178 | $as_echo_n "checking for $ac_word... " >&6; } |
3617 | printf %s "checking for $ac_word... " >&6; } |
3179 | if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : |
3618 | if test ${ac_cv_prog_ac_ct_RANLIB+y} |
3180 | $as_echo_n "(cached) " >&6 |
3619 | then : |
3181 | else |
3620 | printf %s "(cached) " >&6 |
|
|
3621 | else $as_nop |
3182 | if test -n "$ac_ct_RANLIB"; then |
3622 | if test -n "$ac_ct_RANLIB"; then |
3183 | ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. |
3623 | ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. |
3184 | else |
3624 | else |
3185 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3625 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3186 | for as_dir in $PATH |
3626 | for as_dir in $PATH |
3187 | do |
3627 | do |
3188 | IFS=$as_save_IFS |
3628 | IFS=$as_save_IFS |
3189 | test -z "$as_dir" && as_dir=. |
3629 | case $as_dir in #((( |
|
|
3630 | '') as_dir=./ ;; |
|
|
3631 | */) ;; |
|
|
3632 | *) as_dir=$as_dir/ ;; |
|
|
3633 | esac |
3190 | for ac_exec_ext in '' $ac_executable_extensions; do |
3634 | for ac_exec_ext in '' $ac_executable_extensions; do |
3191 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3635 | if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
3192 | ac_cv_prog_ac_ct_RANLIB="ranlib" |
3636 | ac_cv_prog_ac_ct_RANLIB="ranlib" |
3193 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3637 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
3194 | break 2 |
3638 | break 2 |
3195 | fi |
3639 | fi |
3196 | done |
3640 | done |
3197 | done |
3641 | done |
3198 | IFS=$as_save_IFS |
3642 | IFS=$as_save_IFS |
3199 | |
3643 | |
3200 | fi |
3644 | fi |
3201 | fi |
3645 | fi |
3202 | ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB |
3646 | ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB |
3203 | if test -n "$ac_ct_RANLIB"; then |
3647 | if test -n "$ac_ct_RANLIB"; then |
3204 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 |
3648 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 |
3205 | $as_echo "$ac_ct_RANLIB" >&6; } |
3649 | printf "%s\n" "$ac_ct_RANLIB" >&6; } |
3206 | else |
3650 | else |
3207 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3651 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3208 | $as_echo "no" >&6; } |
3652 | printf "%s\n" "no" >&6; } |
3209 | fi |
3653 | fi |
3210 | |
3654 | |
3211 | if test "x$ac_ct_RANLIB" = x; then |
3655 | if test "x$ac_ct_RANLIB" = x; then |
3212 | RANLIB=":" |
3656 | RANLIB=":" |
3213 | else |
3657 | else |
3214 | case $cross_compiling:$ac_tool_warned in |
3658 | case $cross_compiling:$ac_tool_warned in |
3215 | yes:) |
3659 | yes:) |
3216 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
3660 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
3217 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
3661 | printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
3218 | ac_tool_warned=yes ;; |
3662 | ac_tool_warned=yes ;; |
3219 | esac |
3663 | esac |
3220 | RANLIB=$ac_ct_RANLIB |
3664 | RANLIB=$ac_ct_RANLIB |
3221 | fi |
3665 | fi |
3222 | else |
3666 | else |
… | |
… | |
3227 | # |
3671 | # |
3228 | # Checks for header files and library functions |
3672 | # Checks for header files and library functions |
3229 | # |
3673 | # |
3230 | |
3674 | |
3231 | |
3675 | |
|
|
3676 | ac_header= ac_cache= |
|
|
3677 | for ac_item in $ac_header_c_list |
|
|
3678 | do |
|
|
3679 | if test $ac_cache; then |
|
|
3680 | ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default" |
|
|
3681 | if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then |
|
|
3682 | printf "%s\n" "#define $ac_item 1" >> confdefs.h |
|
|
3683 | fi |
|
|
3684 | ac_header= ac_cache= |
|
|
3685 | elif test $ac_header; then |
|
|
3686 | ac_cache=$ac_item |
|
|
3687 | else |
|
|
3688 | ac_header=$ac_item |
|
|
3689 | fi |
|
|
3690 | done |
3232 | |
3691 | |
|
|
3692 | |
|
|
3693 | |
|
|
3694 | |
|
|
3695 | |
|
|
3696 | |
|
|
3697 | |
|
|
3698 | |
|
|
3699 | if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes |
|
|
3700 | then : |
|
|
3701 | |
|
|
3702 | printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h |
|
|
3703 | |
|
|
3704 | fi |
3233 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 |
3705 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 |
3234 | $as_echo_n "checking for grep that handles long lines and -e... " >&6; } |
3706 | printf %s "checking for grep that handles long lines and -e... " >&6; } |
3235 | if ${ac_cv_path_GREP+:} false; then : |
3707 | if test ${ac_cv_path_GREP+y} |
3236 | $as_echo_n "(cached) " >&6 |
3708 | then : |
3237 | else |
3709 | printf %s "(cached) " >&6 |
|
|
3710 | else $as_nop |
3238 | if test -z "$GREP"; then |
3711 | if test -z "$GREP"; then |
3239 | ac_path_GREP_found=false |
3712 | ac_path_GREP_found=false |
3240 | # Loop through the user's path and test for each of PROGNAME-LIST |
3713 | # Loop through the user's path and test for each of PROGNAME-LIST |
3241 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3714 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3242 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
3715 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
3243 | do |
3716 | do |
3244 | IFS=$as_save_IFS |
3717 | IFS=$as_save_IFS |
3245 | test -z "$as_dir" && as_dir=. |
3718 | case $as_dir in #((( |
|
|
3719 | '') as_dir=./ ;; |
|
|
3720 | */) ;; |
|
|
3721 | *) as_dir=$as_dir/ ;; |
|
|
3722 | esac |
3246 | for ac_prog in grep ggrep; do |
3723 | for ac_prog in grep ggrep |
|
|
3724 | do |
3247 | for ac_exec_ext in '' $ac_executable_extensions; do |
3725 | for ac_exec_ext in '' $ac_executable_extensions; do |
3248 | ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
3726 | ac_path_GREP="$as_dir$ac_prog$ac_exec_ext" |
3249 | as_fn_executable_p "$ac_path_GREP" || continue |
3727 | as_fn_executable_p "$ac_path_GREP" || continue |
3250 | # Check for GNU ac_path_GREP and select it if it is found. |
3728 | # Check for GNU ac_path_GREP and select it if it is found. |
3251 | # Check for GNU $ac_path_GREP |
3729 | # Check for GNU $ac_path_GREP |
3252 | case `"$ac_path_GREP" --version 2>&1` in |
3730 | case `"$ac_path_GREP" --version 2>&1` in |
3253 | *GNU*) |
3731 | *GNU*) |
3254 | ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; |
3732 | ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; |
3255 | *) |
3733 | *) |
3256 | ac_count=0 |
3734 | ac_count=0 |
3257 | $as_echo_n 0123456789 >"conftest.in" |
3735 | printf %s 0123456789 >"conftest.in" |
3258 | while : |
3736 | while : |
3259 | do |
3737 | do |
3260 | cat "conftest.in" "conftest.in" >"conftest.tmp" |
3738 | cat "conftest.in" "conftest.in" >"conftest.tmp" |
3261 | mv "conftest.tmp" "conftest.in" |
3739 | mv "conftest.tmp" "conftest.in" |
3262 | cp "conftest.in" "conftest.nl" |
3740 | cp "conftest.in" "conftest.nl" |
3263 | $as_echo 'GREP' >> "conftest.nl" |
3741 | printf "%s\n" 'GREP' >> "conftest.nl" |
3264 | "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
3742 | "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
3265 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
3743 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
3266 | as_fn_arith $ac_count + 1 && ac_count=$as_val |
3744 | as_fn_arith $ac_count + 1 && ac_count=$as_val |
3267 | if test $ac_count -gt ${ac_path_GREP_max-0}; then |
3745 | if test $ac_count -gt ${ac_path_GREP_max-0}; then |
3268 | # Best one so far, save it but keep looking for a better one |
3746 | # Best one so far, save it but keep looking for a better one |
… | |
… | |
3286 | else |
3764 | else |
3287 | ac_cv_path_GREP=$GREP |
3765 | ac_cv_path_GREP=$GREP |
3288 | fi |
3766 | fi |
3289 | |
3767 | |
3290 | fi |
3768 | fi |
3291 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 |
3769 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 |
3292 | $as_echo "$ac_cv_path_GREP" >&6; } |
3770 | printf "%s\n" "$ac_cv_path_GREP" >&6; } |
3293 | GREP="$ac_cv_path_GREP" |
3771 | GREP="$ac_cv_path_GREP" |
3294 | |
3772 | |
3295 | |
3773 | |
|
|
3774 | # Autoupdate added the next two lines to ensure that your configure |
|
|
3775 | # script's behavior did not change. They are probably safe to remove. |
|
|
3776 | |
3296 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 |
3777 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 |
3297 | $as_echo_n "checking for egrep... " >&6; } |
3778 | printf %s "checking for egrep... " >&6; } |
3298 | if ${ac_cv_path_EGREP+:} false; then : |
3779 | if test ${ac_cv_path_EGREP+y} |
3299 | $as_echo_n "(cached) " >&6 |
3780 | then : |
3300 | else |
3781 | printf %s "(cached) " >&6 |
|
|
3782 | else $as_nop |
3301 | if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
3783 | if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
3302 | then ac_cv_path_EGREP="$GREP -E" |
3784 | then ac_cv_path_EGREP="$GREP -E" |
3303 | else |
3785 | else |
3304 | if test -z "$EGREP"; then |
3786 | if test -z "$EGREP"; then |
3305 | ac_path_EGREP_found=false |
3787 | ac_path_EGREP_found=false |
3306 | # Loop through the user's path and test for each of PROGNAME-LIST |
3788 | # Loop through the user's path and test for each of PROGNAME-LIST |
3307 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3789 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3308 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
3790 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
3309 | do |
3791 | do |
3310 | IFS=$as_save_IFS |
3792 | IFS=$as_save_IFS |
3311 | test -z "$as_dir" && as_dir=. |
3793 | case $as_dir in #((( |
|
|
3794 | '') as_dir=./ ;; |
|
|
3795 | */) ;; |
|
|
3796 | *) as_dir=$as_dir/ ;; |
|
|
3797 | esac |
3312 | for ac_prog in egrep; do |
3798 | for ac_prog in egrep |
|
|
3799 | do |
3313 | for ac_exec_ext in '' $ac_executable_extensions; do |
3800 | for ac_exec_ext in '' $ac_executable_extensions; do |
3314 | ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
3801 | ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext" |
3315 | as_fn_executable_p "$ac_path_EGREP" || continue |
3802 | as_fn_executable_p "$ac_path_EGREP" || continue |
3316 | # Check for GNU ac_path_EGREP and select it if it is found. |
3803 | # Check for GNU ac_path_EGREP and select it if it is found. |
3317 | # Check for GNU $ac_path_EGREP |
3804 | # Check for GNU $ac_path_EGREP |
3318 | case `"$ac_path_EGREP" --version 2>&1` in |
3805 | case `"$ac_path_EGREP" --version 2>&1` in |
3319 | *GNU*) |
3806 | *GNU*) |
3320 | ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; |
3807 | ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; |
3321 | *) |
3808 | *) |
3322 | ac_count=0 |
3809 | ac_count=0 |
3323 | $as_echo_n 0123456789 >"conftest.in" |
3810 | printf %s 0123456789 >"conftest.in" |
3324 | while : |
3811 | while : |
3325 | do |
3812 | do |
3326 | cat "conftest.in" "conftest.in" >"conftest.tmp" |
3813 | cat "conftest.in" "conftest.in" >"conftest.tmp" |
3327 | mv "conftest.tmp" "conftest.in" |
3814 | mv "conftest.tmp" "conftest.in" |
3328 | cp "conftest.in" "conftest.nl" |
3815 | cp "conftest.in" "conftest.nl" |
3329 | $as_echo 'EGREP' >> "conftest.nl" |
3816 | printf "%s\n" 'EGREP' >> "conftest.nl" |
3330 | "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
3817 | "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
3331 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
3818 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
3332 | as_fn_arith $ac_count + 1 && ac_count=$as_val |
3819 | as_fn_arith $ac_count + 1 && ac_count=$as_val |
3333 | if test $ac_count -gt ${ac_path_EGREP_max-0}; then |
3820 | if test $ac_count -gt ${ac_path_EGREP_max-0}; then |
3334 | # Best one so far, save it but keep looking for a better one |
3821 | # Best one so far, save it but keep looking for a better one |
… | |
… | |
3353 | ac_cv_path_EGREP=$EGREP |
3840 | ac_cv_path_EGREP=$EGREP |
3354 | fi |
3841 | fi |
3355 | |
3842 | |
3356 | fi |
3843 | fi |
3357 | fi |
3844 | fi |
3358 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 |
3845 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 |
3359 | $as_echo "$ac_cv_path_EGREP" >&6; } |
3846 | printf "%s\n" "$ac_cv_path_EGREP" >&6; } |
3360 | EGREP="$ac_cv_path_EGREP" |
3847 | EGREP="$ac_cv_path_EGREP" |
3361 | |
3848 | |
3362 | |
3849 | |
3363 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 |
|
|
3364 | $as_echo_n "checking for ANSI C header files... " >&6; } |
|
|
3365 | if ${ac_cv_header_stdc+:} false; then : |
|
|
3366 | $as_echo_n "(cached) " >&6 |
|
|
3367 | else |
|
|
3368 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
3369 | /* end confdefs.h. */ |
|
|
3370 | #include <stdlib.h> |
|
|
3371 | #include <stdarg.h> |
|
|
3372 | #include <string.h> |
|
|
3373 | #include <float.h> |
|
|
3374 | |
|
|
3375 | int |
|
|
3376 | main () |
|
|
3377 | { |
|
|
3378 | |
|
|
3379 | ; |
|
|
3380 | return 0; |
|
|
3381 | } |
|
|
3382 | _ACEOF |
|
|
3383 | if ac_fn_c_try_compile "$LINENO"; then : |
|
|
3384 | ac_cv_header_stdc=yes |
|
|
3385 | else |
|
|
3386 | ac_cv_header_stdc=no |
|
|
3387 | fi |
|
|
3388 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
3389 | |
|
|
3390 | if test $ac_cv_header_stdc = yes; then |
|
|
3391 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
|
|
3392 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
3393 | /* end confdefs.h. */ |
|
|
3394 | #include <string.h> |
|
|
3395 | |
|
|
3396 | _ACEOF |
|
|
3397 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
|
|
3398 | $EGREP "memchr" >/dev/null 2>&1; then : |
|
|
3399 | |
|
|
3400 | else |
|
|
3401 | ac_cv_header_stdc=no |
|
|
3402 | fi |
|
|
3403 | rm -f conftest* |
|
|
3404 | |
|
|
3405 | fi |
|
|
3406 | |
|
|
3407 | if test $ac_cv_header_stdc = yes; then |
|
|
3408 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
|
|
3409 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
3410 | /* end confdefs.h. */ |
|
|
3411 | #include <stdlib.h> |
|
|
3412 | |
|
|
3413 | _ACEOF |
|
|
3414 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
|
|
3415 | $EGREP "free" >/dev/null 2>&1; then : |
|
|
3416 | |
|
|
3417 | else |
|
|
3418 | ac_cv_header_stdc=no |
|
|
3419 | fi |
|
|
3420 | rm -f conftest* |
|
|
3421 | |
|
|
3422 | fi |
|
|
3423 | |
|
|
3424 | if test $ac_cv_header_stdc = yes; then |
|
|
3425 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
|
|
3426 | if test "$cross_compiling" = yes; then : |
|
|
3427 | : |
|
|
3428 | else |
|
|
3429 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
3430 | /* end confdefs.h. */ |
|
|
3431 | #include <ctype.h> |
|
|
3432 | #include <stdlib.h> |
|
|
3433 | #if ((' ' & 0x0FF) == 0x020) |
|
|
3434 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
|
|
3435 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
|
|
3436 | #else |
|
|
3437 | # define ISLOWER(c) \ |
|
|
3438 | (('a' <= (c) && (c) <= 'i') \ |
|
|
3439 | || ('j' <= (c) && (c) <= 'r') \ |
|
|
3440 | || ('s' <= (c) && (c) <= 'z')) |
|
|
3441 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
|
|
3442 | #endif |
|
|
3443 | |
|
|
3444 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
|
|
3445 | int |
|
|
3446 | main () |
|
|
3447 | { |
|
|
3448 | int i; |
|
|
3449 | for (i = 0; i < 256; i++) |
|
|
3450 | if (XOR (islower (i), ISLOWER (i)) |
|
|
3451 | || toupper (i) != TOUPPER (i)) |
|
|
3452 | return 2; |
|
|
3453 | return 0; |
|
|
3454 | } |
|
|
3455 | _ACEOF |
|
|
3456 | if ac_fn_c_try_run "$LINENO"; then : |
|
|
3457 | |
|
|
3458 | else |
|
|
3459 | ac_cv_header_stdc=no |
|
|
3460 | fi |
|
|
3461 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
|
|
3462 | conftest.$ac_objext conftest.beam conftest.$ac_ext |
|
|
3463 | fi |
|
|
3464 | |
|
|
3465 | fi |
|
|
3466 | fi |
|
|
3467 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 |
|
|
3468 | $as_echo "$ac_cv_header_stdc" >&6; } |
|
|
3469 | if test $ac_cv_header_stdc = yes; then |
|
|
3470 | |
|
|
3471 | $as_echo "#define STDC_HEADERS 1" >>confdefs.h |
|
|
3472 | |
|
|
3473 | fi |
|
|
3474 | |
|
|
3475 | # On IRIX 5.3, sys/types and inttypes.h are conflicting. |
|
|
3476 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
|
|
3477 | inttypes.h stdint.h unistd.h |
|
|
3478 | do : |
|
|
3479 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
|
3480 | ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default |
|
|
3481 | " |
|
|
3482 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
|
|
3483 | cat >>confdefs.h <<_ACEOF |
|
|
3484 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
|
|
3485 | _ACEOF |
|
|
3486 | |
|
|
3487 | fi |
|
|
3488 | |
|
|
3489 | done |
|
|
3490 | |
|
|
3491 | |
3850 | |
3492 | ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" |
3851 | ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" |
3493 | if test "x$ac_cv_type_size_t" = xyes; then : |
3852 | if test "x$ac_cv_type_size_t" = xyes |
|
|
3853 | then : |
3494 | |
3854 | |
3495 | else |
3855 | else $as_nop |
3496 | |
3856 | |
3497 | cat >>confdefs.h <<_ACEOF |
3857 | printf "%s\n" "#define size_t unsigned int" >>confdefs.h |
3498 | #define size_t unsigned int |
|
|
3499 | _ACEOF |
|
|
3500 | |
3858 | |
3501 | fi |
3859 | fi |
3502 | |
3860 | |
3503 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5 |
|
|
3504 | $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; } |
|
|
3505 | if ${ac_cv_header_time+:} false; then : |
|
|
3506 | $as_echo_n "(cached) " >&6 |
|
|
3507 | else |
|
|
3508 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
3509 | /* end confdefs.h. */ |
|
|
3510 | #include <sys/types.h> |
|
|
3511 | #include <sys/time.h> |
|
|
3512 | #include <time.h> |
|
|
3513 | |
3861 | |
3514 | int |
3862 | |
3515 | main () |
3863 | # Obsolete code to be removed. |
3516 | { |
|
|
3517 | if ((struct tm *) 0) |
|
|
3518 | return 0; |
|
|
3519 | ; |
|
|
3520 | return 0; |
|
|
3521 | } |
|
|
3522 | _ACEOF |
|
|
3523 | if ac_fn_c_try_compile "$LINENO"; then : |
|
|
3524 | ac_cv_header_time=yes |
|
|
3525 | else |
|
|
3526 | ac_cv_header_time=no |
|
|
3527 | fi |
|
|
3528 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
3529 | fi |
|
|
3530 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5 |
|
|
3531 | $as_echo "$ac_cv_header_time" >&6; } |
|
|
3532 | if test $ac_cv_header_time = yes; then |
3864 | if test $ac_cv_header_sys_time_h = yes; then |
3533 | |
3865 | |
3534 | $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h |
3866 | printf "%s\n" "#define TIME_WITH_SYS_TIME 1" >>confdefs.h |
3535 | |
3867 | |
3536 | fi |
3868 | fi |
|
|
3869 | # End of obsolete code. |
3537 | |
3870 | |
3538 | for ac_header in fcntl.h unistd.h memory.h malloc.h errno.h |
3871 | ac_fn_c_check_header_compile "$LINENO" "fcntl.h" "ac_cv_header_fcntl_h" "$ac_includes_default" |
3539 | do : |
3872 | if test "x$ac_cv_header_fcntl_h" = xyes |
3540 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
3873 | then : |
|
|
3874 | printf "%s\n" "#define HAVE_FCNTL_H 1" >>confdefs.h |
|
|
3875 | |
|
|
3876 | fi |
|
|
3877 | ac_fn_c_check_header_compile "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default" |
|
|
3878 | if test "x$ac_cv_header_unistd_h" = xyes |
|
|
3879 | then : |
|
|
3880 | printf "%s\n" "#define HAVE_UNISTD_H 1" >>confdefs.h |
|
|
3881 | |
|
|
3882 | fi |
|
|
3883 | |
3541 | ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
3884 | ac_fn_c_check_header_compile "$LINENO" "io.h" "ac_cv_header_io_h" "$ac_includes_default" |
3542 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
3885 | if test "x$ac_cv_header_io_h" = xyes |
3543 | cat >>confdefs.h <<_ACEOF |
3886 | then : |
3544 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
3887 | printf "%s\n" "#define HAVE_IO_H 1" >>confdefs.h |
3545 | _ACEOF |
|
|
3546 | |
3888 | |
3547 | fi |
3889 | fi |
|
|
3890 | ac_fn_c_check_header_compile "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default" |
|
|
3891 | if test "x$ac_cv_header_sys_time_h" = xyes |
|
|
3892 | then : |
|
|
3893 | printf "%s\n" "#define HAVE_SYS_TIME_H 1" >>confdefs.h |
3548 | |
3894 | |
3549 | done |
|
|
3550 | |
|
|
3551 | for ac_header in io.h sys/time.h |
|
|
3552 | do : |
|
|
3553 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
|
3554 | ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
|
|
3555 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
|
|
3556 | cat >>confdefs.h <<_ACEOF |
|
|
3557 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
|
|
3558 | _ACEOF |
|
|
3559 | |
|
|
3560 | fi |
3895 | fi |
3561 | |
|
|
3562 | done |
|
|
3563 | |
3896 | |
3564 | |
3897 | |
3565 | CFLAGS="$CFLAGS -D_GNU_SOURCE" |
3898 | CFLAGS="$CFLAGS -D_GNU_SOURCE" |
3566 | for ac_func in tempnam gettimeofday flockfile getc_unlocked feof_unlocked ferror_unlocked |
3899 | ac_fn_c_check_func "$LINENO" "tempnam" "ac_cv_func_tempnam" |
3567 | do : |
3900 | if test "x$ac_cv_func_tempnam" = xyes |
3568 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
3901 | then : |
3569 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
3902 | printf "%s\n" "#define HAVE_TEMPNAM 1" >>confdefs.h |
3570 | if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
|
|
3571 | cat >>confdefs.h <<_ACEOF |
|
|
3572 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
|
|
3573 | _ACEOF |
|
|
3574 | |
3903 | |
3575 | fi |
3904 | fi |
3576 | done |
3905 | ac_fn_c_check_func "$LINENO" "gettimeofday" "ac_cv_func_gettimeofday" |
|
|
3906 | if test "x$ac_cv_func_gettimeofday" = xyes |
|
|
3907 | then : |
|
|
3908 | printf "%s\n" "#define HAVE_GETTIMEOFDAY 1" >>confdefs.h |
3577 | |
3909 | |
3578 | |
|
|
3579 | for ac_func in chmod umask mkstemp |
|
|
3580 | do : |
|
|
3581 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
|
|
3582 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
|
|
3583 | if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
|
|
3584 | cat >>confdefs.h <<_ACEOF |
|
|
3585 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
|
|
3586 | _ACEOF |
|
|
3587 | |
|
|
3588 | fi |
3910 | fi |
3589 | done |
3911 | ac_fn_c_check_func "$LINENO" "flockfile" "ac_cv_func_flockfile" |
|
|
3912 | if test "x$ac_cv_func_flockfile" = xyes |
|
|
3913 | then : |
|
|
3914 | printf "%s\n" "#define HAVE_FLOCKFILE 1" >>confdefs.h |
|
|
3915 | |
|
|
3916 | fi |
|
|
3917 | ac_fn_c_check_func "$LINENO" "getc_unlocked" "ac_cv_func_getc_unlocked" |
|
|
3918 | if test "x$ac_cv_func_getc_unlocked" = xyes |
|
|
3919 | then : |
|
|
3920 | printf "%s\n" "#define HAVE_GETC_UNLOCKED 1" >>confdefs.h |
|
|
3921 | |
|
|
3922 | fi |
|
|
3923 | ac_fn_c_check_func "$LINENO" "feof_unlocked" "ac_cv_func_feof_unlocked" |
|
|
3924 | if test "x$ac_cv_func_feof_unlocked" = xyes |
|
|
3925 | then : |
|
|
3926 | printf "%s\n" "#define HAVE_FEOF_UNLOCKED 1" >>confdefs.h |
|
|
3927 | |
|
|
3928 | fi |
|
|
3929 | ac_fn_c_check_func "$LINENO" "ferror_unlocked" "ac_cv_func_ferror_unlocked" |
|
|
3930 | if test "x$ac_cv_func_ferror_unlocked" = xyes |
|
|
3931 | then : |
|
|
3932 | printf "%s\n" "#define HAVE_FERROR_UNLOCKED 1" >>confdefs.h |
|
|
3933 | |
|
|
3934 | fi |
|
|
3935 | |
|
|
3936 | |
|
|
3937 | ac_fn_c_check_func "$LINENO" "chmod" "ac_cv_func_chmod" |
|
|
3938 | if test "x$ac_cv_func_chmod" = xyes |
|
|
3939 | then : |
|
|
3940 | printf "%s\n" "#define HAVE_CHMOD 1" >>confdefs.h |
|
|
3941 | |
|
|
3942 | fi |
|
|
3943 | ac_fn_c_check_func "$LINENO" "umask" "ac_cv_func_umask" |
|
|
3944 | if test "x$ac_cv_func_umask" = xyes |
|
|
3945 | then : |
|
|
3946 | printf "%s\n" "#define HAVE_UMASK 1" >>confdefs.h |
|
|
3947 | |
|
|
3948 | fi |
|
|
3949 | ac_fn_c_check_func "$LINENO" "mkstemp" "ac_cv_func_mkstemp" |
|
|
3950 | if test "x$ac_cv_func_mkstemp" = xyes |
|
|
3951 | then : |
|
|
3952 | printf "%s\n" "#define HAVE_MKSTEMP 1" >>confdefs.h |
|
|
3953 | |
|
|
3954 | fi |
3590 | |
3955 | |
3591 | |
3956 | |
3592 | # |
3957 | # |
3593 | # On some systems (so far, OS2 and WINDOWS), functions that are exported |
3958 | # On some systems (so far, OS2 and WINDOWS), functions that are exported |
3594 | # from a DLL must be declared specifically. |
3959 | # from a DLL must be declared specifically. |
3595 | # |
3960 | # |
3596 | |
3961 | |
3597 | cat >>confdefs.h <<_ACEOF |
3962 | printf "%s\n" "#define UUEXPORT /**/" >>confdefs.h |
3598 | #define UUEXPORT /**/ |
|
|
3599 | _ACEOF |
|
|
3600 | |
3963 | |
3601 | cat >>confdefs.h <<_ACEOF |
3964 | printf "%s\n" "#define TOOLEXPORT /**/" >>confdefs.h |
3602 | #define TOOLEXPORT /**/ |
|
|
3603 | _ACEOF |
|
|
3604 | |
3965 | |
3605 | |
3966 | |
3606 | # |
3967 | # |
3607 | # set version number |
3968 | # set version number |
3608 | # |
3969 | # |
3609 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking version number" >&5 |
3970 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking version number" >&5 |
3610 | $as_echo_n "checking version number... " >&6; } |
3971 | printf %s "checking version number... " >&6; } |
3611 | version_number="$VERSION"pl"$PATCH" |
3972 | version_number="$VERSION"pl"$PATCH" |
3612 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_number" >&5 |
3973 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $version_number" >&5 |
3613 | $as_echo "$version_number" >&6; } |
3974 | printf "%s\n" "$version_number" >&6; } |
3614 | |
3975 | |
3615 | |
3976 | |
3616 | |
3977 | |
3617 | # |
3978 | # |
3618 | # done |
3979 | # done |
… | |
… | |
3645 | for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do |
4006 | for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do |
3646 | eval ac_val=\$$ac_var |
4007 | eval ac_val=\$$ac_var |
3647 | case $ac_val in #( |
4008 | case $ac_val in #( |
3648 | *${as_nl}*) |
4009 | *${as_nl}*) |
3649 | case $ac_var in #( |
4010 | case $ac_var in #( |
3650 | *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
4011 | *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
3651 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
4012 | printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
3652 | esac |
4013 | esac |
3653 | case $ac_var in #( |
4014 | case $ac_var in #( |
3654 | _ | IFS | as_nl) ;; #( |
4015 | _ | IFS | as_nl) ;; #( |
3655 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
4016 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
3656 | *) { eval $ac_var=; unset $ac_var;} ;; |
4017 | *) { eval $ac_var=; unset $ac_var;} ;; |
… | |
… | |
3676 | ) | |
4037 | ) | |
3677 | sed ' |
4038 | sed ' |
3678 | /^ac_cv_env_/b end |
4039 | /^ac_cv_env_/b end |
3679 | t clear |
4040 | t clear |
3680 | :clear |
4041 | :clear |
3681 | s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ |
4042 | s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/ |
3682 | t end |
4043 | t end |
3683 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
4044 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
3684 | :end' >>confcache |
4045 | :end' >>confcache |
3685 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
4046 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
3686 | if test -w "$cache_file"; then |
4047 | if test -w "$cache_file"; then |
3687 | if test "x$cache_file" != "x/dev/null"; then |
4048 | if test "x$cache_file" != "x/dev/null"; then |
3688 | { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
4049 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
3689 | $as_echo "$as_me: updating cache $cache_file" >&6;} |
4050 | printf "%s\n" "$as_me: updating cache $cache_file" >&6;} |
3690 | if test ! -f "$cache_file" || test -h "$cache_file"; then |
4051 | if test ! -f "$cache_file" || test -h "$cache_file"; then |
3691 | cat confcache >"$cache_file" |
4052 | cat confcache >"$cache_file" |
3692 | else |
4053 | else |
3693 | case $cache_file in #( |
4054 | case $cache_file in #( |
3694 | */* | ?:*) |
4055 | */* | ?:*) |
… | |
… | |
3698 | mv -f confcache "$cache_file" ;; |
4059 | mv -f confcache "$cache_file" ;; |
3699 | esac |
4060 | esac |
3700 | fi |
4061 | fi |
3701 | fi |
4062 | fi |
3702 | else |
4063 | else |
3703 | { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
4064 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
3704 | $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
4065 | printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;} |
3705 | fi |
4066 | fi |
3706 | fi |
4067 | fi |
3707 | rm -f confcache |
4068 | rm -f confcache |
3708 | |
4069 | |
3709 | test "x$prefix" = xNONE && prefix=$ac_default_prefix |
4070 | test "x$prefix" = xNONE && prefix=$ac_default_prefix |
… | |
… | |
3716 | ac_ltlibobjs= |
4077 | ac_ltlibobjs= |
3717 | U= |
4078 | U= |
3718 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
4079 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
3719 | # 1. Remove the extension, and $U if already installed. |
4080 | # 1. Remove the extension, and $U if already installed. |
3720 | ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
4081 | ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
3721 | ac_i=`$as_echo "$ac_i" | sed "$ac_script"` |
4082 | ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"` |
3722 | # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
4083 | # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
3723 | # will be set to the directory where LIBOBJS objects are built. |
4084 | # will be set to the directory where LIBOBJS objects are built. |
3724 | as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" |
4085 | as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" |
3725 | as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' |
4086 | as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' |
3726 | done |
4087 | done |
… | |
… | |
3732 | |
4093 | |
3733 | : "${CONFIG_STATUS=./config.status}" |
4094 | : "${CONFIG_STATUS=./config.status}" |
3734 | ac_write_fail=0 |
4095 | ac_write_fail=0 |
3735 | ac_clean_files_save=$ac_clean_files |
4096 | ac_clean_files_save=$ac_clean_files |
3736 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
4097 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
3737 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 |
4098 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 |
3738 | $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} |
4099 | printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;} |
3739 | as_write_fail=0 |
4100 | as_write_fail=0 |
3740 | cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 |
4101 | cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 |
3741 | #! $SHELL |
4102 | #! $SHELL |
3742 | # Generated by $as_me. |
4103 | # Generated by $as_me. |
3743 | # Run this file to recreate the current configuration. |
4104 | # Run this file to recreate the current configuration. |
… | |
… | |
3756 | ## M4sh Initialization. ## |
4117 | ## M4sh Initialization. ## |
3757 | ## -------------------- ## |
4118 | ## -------------------- ## |
3758 | |
4119 | |
3759 | # Be more Bourne compatible |
4120 | # Be more Bourne compatible |
3760 | DUALCASE=1; export DUALCASE # for MKS sh |
4121 | DUALCASE=1; export DUALCASE # for MKS sh |
|
|
4122 | as_nop=: |
3761 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : |
4123 | if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 |
|
|
4124 | then : |
3762 | emulate sh |
4125 | emulate sh |
3763 | NULLCMD=: |
4126 | NULLCMD=: |
3764 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
4127 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
3765 | # is contrary to our usage. Disable this feature. |
4128 | # is contrary to our usage. Disable this feature. |
3766 | alias -g '${1+"$@"}'='"$@"' |
4129 | alias -g '${1+"$@"}'='"$@"' |
3767 | setopt NO_GLOB_SUBST |
4130 | setopt NO_GLOB_SUBST |
3768 | else |
4131 | else $as_nop |
3769 | case `(set -o) 2>/dev/null` in #( |
4132 | case `(set -o) 2>/dev/null` in #( |
3770 | *posix*) : |
4133 | *posix*) : |
3771 | set -o posix ;; #( |
4134 | set -o posix ;; #( |
3772 | *) : |
4135 | *) : |
3773 | ;; |
4136 | ;; |
3774 | esac |
4137 | esac |
3775 | fi |
4138 | fi |
3776 | |
4139 | |
3777 | |
4140 | |
|
|
4141 | |
|
|
4142 | # Reset variables that may have inherited troublesome values from |
|
|
4143 | # the environment. |
|
|
4144 | |
|
|
4145 | # IFS needs to be set, to space, tab, and newline, in precisely that order. |
|
|
4146 | # (If _AS_PATH_WALK were called with IFS unset, it would have the |
|
|
4147 | # side effect of setting IFS to empty, thus disabling word splitting.) |
|
|
4148 | # Quoting is to prevent editors from complaining about space-tab. |
3778 | as_nl=' |
4149 | as_nl=' |
3779 | ' |
4150 | ' |
3780 | export as_nl |
4151 | export as_nl |
3781 | # Printing a long string crashes Solaris 7 /usr/bin/printf. |
4152 | IFS=" "" $as_nl" |
3782 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
4153 | |
3783 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
4154 | PS1='$ ' |
3784 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
4155 | PS2='> ' |
3785 | # Prefer a ksh shell builtin over an external printf program on Solaris, |
4156 | PS4='+ ' |
3786 | # but without wasting forks for bash or zsh. |
4157 | |
3787 | if test -z "$BASH_VERSION$ZSH_VERSION" \ |
4158 | # Ensure predictable behavior from utilities with locale-dependent output. |
3788 | && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then |
4159 | LC_ALL=C |
3789 | as_echo='print -r --' |
4160 | export LC_ALL |
3790 | as_echo_n='print -rn --' |
4161 | LANGUAGE=C |
3791 | elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
4162 | export LANGUAGE |
3792 | as_echo='printf %s\n' |
4163 | |
3793 | as_echo_n='printf %s' |
4164 | # We cannot yet rely on "unset" to work, but we need these variables |
3794 | else |
4165 | # to be unset--not just set to an empty or harmless value--now, to |
3795 | if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then |
4166 | # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct |
3796 | as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' |
4167 | # also avoids known problems related to "unset" and subshell syntax |
3797 | as_echo_n='/usr/ucb/echo -n' |
4168 | # in other old shells (e.g. bash 2.01 and pdksh 5.2.14). |
3798 | else |
4169 | for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH |
3799 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
4170 | do eval test \${$as_var+y} \ |
3800 | as_echo_n_body='eval |
4171 | && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : |
3801 | arg=$1; |
4172 | done |
3802 | case $arg in #( |
4173 | |
3803 | *"$as_nl"*) |
4174 | # Ensure that fds 0, 1, and 2 are open. |
3804 | expr "X$arg" : "X\\(.*\\)$as_nl"; |
4175 | if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi |
3805 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
4176 | if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi |
3806 | esac; |
4177 | if (exec 3>&2) ; then :; else exec 2>/dev/null; fi |
3807 | expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" |
|
|
3808 | ' |
|
|
3809 | export as_echo_n_body |
|
|
3810 | as_echo_n='sh -c $as_echo_n_body as_echo' |
|
|
3811 | fi |
|
|
3812 | export as_echo_body |
|
|
3813 | as_echo='sh -c $as_echo_body as_echo' |
|
|
3814 | fi |
|
|
3815 | |
4178 | |
3816 | # The user is always right. |
4179 | # The user is always right. |
3817 | if test "${PATH_SEPARATOR+set}" != set; then |
4180 | if ${PATH_SEPARATOR+false} :; then |
3818 | PATH_SEPARATOR=: |
4181 | PATH_SEPARATOR=: |
3819 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
4182 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
3820 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
4183 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
3821 | PATH_SEPARATOR=';' |
4184 | PATH_SEPARATOR=';' |
3822 | } |
4185 | } |
3823 | fi |
4186 | fi |
3824 | |
4187 | |
3825 | |
|
|
3826 | # IFS |
|
|
3827 | # We need space, tab and new line, in precisely that order. Quoting is |
|
|
3828 | # there to prevent editors from complaining about space-tab. |
|
|
3829 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
|
|
3830 | # splitting by setting IFS to empty value.) |
|
|
3831 | IFS=" "" $as_nl" |
|
|
3832 | |
4188 | |
3833 | # Find who we are. Look in the path if we contain no directory separator. |
4189 | # Find who we are. Look in the path if we contain no directory separator. |
3834 | as_myself= |
4190 | as_myself= |
3835 | case $0 in #(( |
4191 | case $0 in #(( |
3836 | *[\\/]* ) as_myself=$0 ;; |
4192 | *[\\/]* ) as_myself=$0 ;; |
3837 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4193 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3838 | for as_dir in $PATH |
4194 | for as_dir in $PATH |
3839 | do |
4195 | do |
3840 | IFS=$as_save_IFS |
4196 | IFS=$as_save_IFS |
3841 | test -z "$as_dir" && as_dir=. |
4197 | case $as_dir in #((( |
|
|
4198 | '') as_dir=./ ;; |
|
|
4199 | */) ;; |
|
|
4200 | *) as_dir=$as_dir/ ;; |
|
|
4201 | esac |
3842 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
4202 | test -r "$as_dir$0" && as_myself=$as_dir$0 && break |
3843 | done |
4203 | done |
3844 | IFS=$as_save_IFS |
4204 | IFS=$as_save_IFS |
3845 | |
4205 | |
3846 | ;; |
4206 | ;; |
3847 | esac |
4207 | esac |
… | |
… | |
3849 | # in which case we are not to be found in the path. |
4209 | # in which case we are not to be found in the path. |
3850 | if test "x$as_myself" = x; then |
4210 | if test "x$as_myself" = x; then |
3851 | as_myself=$0 |
4211 | as_myself=$0 |
3852 | fi |
4212 | fi |
3853 | if test ! -f "$as_myself"; then |
4213 | if test ! -f "$as_myself"; then |
3854 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
4214 | printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
3855 | exit 1 |
4215 | exit 1 |
3856 | fi |
4216 | fi |
3857 | |
4217 | |
3858 | # Unset variables that we do not need and which cause bugs (e.g. in |
|
|
3859 | # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" |
|
|
3860 | # suppresses any "Segmentation fault" message there. '((' could |
|
|
3861 | # trigger a bug in pdksh 5.2.14. |
|
|
3862 | for as_var in BASH_ENV ENV MAIL MAILPATH |
|
|
3863 | do eval test x\${$as_var+set} = xset \ |
|
|
3864 | && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : |
|
|
3865 | done |
|
|
3866 | PS1='$ ' |
|
|
3867 | PS2='> ' |
|
|
3868 | PS4='+ ' |
|
|
3869 | |
|
|
3870 | # NLS nuisances. |
|
|
3871 | LC_ALL=C |
|
|
3872 | export LC_ALL |
|
|
3873 | LANGUAGE=C |
|
|
3874 | export LANGUAGE |
|
|
3875 | |
|
|
3876 | # CDPATH. |
|
|
3877 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
|
|
3878 | |
4218 | |
3879 | |
4219 | |
3880 | # as_fn_error STATUS ERROR [LINENO LOG_FD] |
4220 | # as_fn_error STATUS ERROR [LINENO LOG_FD] |
3881 | # ---------------------------------------- |
4221 | # ---------------------------------------- |
3882 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
4222 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
… | |
… | |
3885 | as_fn_error () |
4225 | as_fn_error () |
3886 | { |
4226 | { |
3887 | as_status=$1; test $as_status -eq 0 && as_status=1 |
4227 | as_status=$1; test $as_status -eq 0 && as_status=1 |
3888 | if test "$4"; then |
4228 | if test "$4"; then |
3889 | as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
4229 | as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
3890 | $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
4230 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
3891 | fi |
4231 | fi |
3892 | $as_echo "$as_me: error: $2" >&2 |
4232 | printf "%s\n" "$as_me: error: $2" >&2 |
3893 | as_fn_exit $as_status |
4233 | as_fn_exit $as_status |
3894 | } # as_fn_error |
4234 | } # as_fn_error |
|
|
4235 | |
3895 | |
4236 | |
3896 | |
4237 | |
3897 | # as_fn_set_status STATUS |
4238 | # as_fn_set_status STATUS |
3898 | # ----------------------- |
4239 | # ----------------------- |
3899 | # Set $? to STATUS, without forking. |
4240 | # Set $? to STATUS, without forking. |
… | |
… | |
3918 | as_fn_unset () |
4259 | as_fn_unset () |
3919 | { |
4260 | { |
3920 | { eval $1=; unset $1;} |
4261 | { eval $1=; unset $1;} |
3921 | } |
4262 | } |
3922 | as_unset=as_fn_unset |
4263 | as_unset=as_fn_unset |
|
|
4264 | |
3923 | # as_fn_append VAR VALUE |
4265 | # as_fn_append VAR VALUE |
3924 | # ---------------------- |
4266 | # ---------------------- |
3925 | # Append the text in VALUE to the end of the definition contained in VAR. Take |
4267 | # Append the text in VALUE to the end of the definition contained in VAR. Take |
3926 | # advantage of any shell optimizations that allow amortized linear growth over |
4268 | # advantage of any shell optimizations that allow amortized linear growth over |
3927 | # repeated appends, instead of the typical quadratic growth present in naive |
4269 | # repeated appends, instead of the typical quadratic growth present in naive |
3928 | # implementations. |
4270 | # implementations. |
3929 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : |
4271 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null |
|
|
4272 | then : |
3930 | eval 'as_fn_append () |
4273 | eval 'as_fn_append () |
3931 | { |
4274 | { |
3932 | eval $1+=\$2 |
4275 | eval $1+=\$2 |
3933 | }' |
4276 | }' |
3934 | else |
4277 | else $as_nop |
3935 | as_fn_append () |
4278 | as_fn_append () |
3936 | { |
4279 | { |
3937 | eval $1=\$$1\$2 |
4280 | eval $1=\$$1\$2 |
3938 | } |
4281 | } |
3939 | fi # as_fn_append |
4282 | fi # as_fn_append |
… | |
… | |
3941 | # as_fn_arith ARG... |
4284 | # as_fn_arith ARG... |
3942 | # ------------------ |
4285 | # ------------------ |
3943 | # Perform arithmetic evaluation on the ARGs, and store the result in the |
4286 | # Perform arithmetic evaluation on the ARGs, and store the result in the |
3944 | # global $as_val. Take advantage of shells that can avoid forks. The arguments |
4287 | # global $as_val. Take advantage of shells that can avoid forks. The arguments |
3945 | # must be portable across $(()) and expr. |
4288 | # must be portable across $(()) and expr. |
3946 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : |
4289 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null |
|
|
4290 | then : |
3947 | eval 'as_fn_arith () |
4291 | eval 'as_fn_arith () |
3948 | { |
4292 | { |
3949 | as_val=$(( $* )) |
4293 | as_val=$(( $* )) |
3950 | }' |
4294 | }' |
3951 | else |
4295 | else $as_nop |
3952 | as_fn_arith () |
4296 | as_fn_arith () |
3953 | { |
4297 | { |
3954 | as_val=`expr "$@" || test $? -eq 1` |
4298 | as_val=`expr "$@" || test $? -eq 1` |
3955 | } |
4299 | } |
3956 | fi # as_fn_arith |
4300 | fi # as_fn_arith |
… | |
… | |
3977 | |
4321 | |
3978 | as_me=`$as_basename -- "$0" || |
4322 | as_me=`$as_basename -- "$0" || |
3979 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
4323 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
3980 | X"$0" : 'X\(//\)$' \| \ |
4324 | X"$0" : 'X\(//\)$' \| \ |
3981 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
4325 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
3982 | $as_echo X/"$0" | |
4326 | printf "%s\n" X/"$0" | |
3983 | sed '/^.*\/\([^/][^/]*\)\/*$/{ |
4327 | sed '/^.*\/\([^/][^/]*\)\/*$/{ |
3984 | s//\1/ |
4328 | s//\1/ |
3985 | q |
4329 | q |
3986 | } |
4330 | } |
3987 | /^X\/\(\/\/\)$/{ |
4331 | /^X\/\(\/\/\)$/{ |
… | |
… | |
3999 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
4343 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
4000 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
4344 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
4001 | as_cr_digits='0123456789' |
4345 | as_cr_digits='0123456789' |
4002 | as_cr_alnum=$as_cr_Letters$as_cr_digits |
4346 | as_cr_alnum=$as_cr_Letters$as_cr_digits |
4003 | |
4347 | |
|
|
4348 | |
|
|
4349 | # Determine whether it's possible to make 'echo' print without a newline. |
|
|
4350 | # These variables are no longer used directly by Autoconf, but are AC_SUBSTed |
|
|
4351 | # for compatibility with existing Makefiles. |
4004 | ECHO_C= ECHO_N= ECHO_T= |
4352 | ECHO_C= ECHO_N= ECHO_T= |
4005 | case `echo -n x` in #((((( |
4353 | case `echo -n x` in #((((( |
4006 | -n*) |
4354 | -n*) |
4007 | case `echo 'xy\c'` in |
4355 | case `echo 'xy\c'` in |
4008 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
4356 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
… | |
… | |
4011 | ECHO_T=' ';; |
4359 | ECHO_T=' ';; |
4012 | esac;; |
4360 | esac;; |
4013 | *) |
4361 | *) |
4014 | ECHO_N='-n';; |
4362 | ECHO_N='-n';; |
4015 | esac |
4363 | esac |
|
|
4364 | |
|
|
4365 | # For backward compatibility with old third-party macros, we provide |
|
|
4366 | # the shell variables $as_echo and $as_echo_n. New code should use |
|
|
4367 | # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively. |
|
|
4368 | as_echo='printf %s\n' |
|
|
4369 | as_echo_n='printf %s' |
4016 | |
4370 | |
4017 | rm -f conf$$ conf$$.exe conf$$.file |
4371 | rm -f conf$$ conf$$.exe conf$$.file |
4018 | if test -d conf$$.dir; then |
4372 | if test -d conf$$.dir; then |
4019 | rm -f conf$$.dir/conf$$.file |
4373 | rm -f conf$$.dir/conf$$.file |
4020 | else |
4374 | else |
… | |
… | |
4053 | esac |
4407 | esac |
4054 | test -d "$as_dir" || eval $as_mkdir_p || { |
4408 | test -d "$as_dir" || eval $as_mkdir_p || { |
4055 | as_dirs= |
4409 | as_dirs= |
4056 | while :; do |
4410 | while :; do |
4057 | case $as_dir in #( |
4411 | case $as_dir in #( |
4058 | *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
4412 | *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
4059 | *) as_qdir=$as_dir;; |
4413 | *) as_qdir=$as_dir;; |
4060 | esac |
4414 | esac |
4061 | as_dirs="'$as_qdir' $as_dirs" |
4415 | as_dirs="'$as_qdir' $as_dirs" |
4062 | as_dir=`$as_dirname -- "$as_dir" || |
4416 | as_dir=`$as_dirname -- "$as_dir" || |
4063 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
4417 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
4064 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
4418 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
4065 | X"$as_dir" : 'X\(//\)$' \| \ |
4419 | X"$as_dir" : 'X\(//\)$' \| \ |
4066 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
4420 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
4067 | $as_echo X"$as_dir" | |
4421 | printf "%s\n" X"$as_dir" | |
4068 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
4422 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
4069 | s//\1/ |
4423 | s//\1/ |
4070 | q |
4424 | q |
4071 | } |
4425 | } |
4072 | /^X\(\/\/\)[^/].*/{ |
4426 | /^X\(\/\/\)[^/].*/{ |
… | |
… | |
4125 | # Save the log message, to keep $0 and so on meaningful, and to |
4479 | # Save the log message, to keep $0 and so on meaningful, and to |
4126 | # report actual input values of CONFIG_FILES etc. instead of their |
4480 | # report actual input values of CONFIG_FILES etc. instead of their |
4127 | # values after options handling. |
4481 | # values after options handling. |
4128 | ac_log=" |
4482 | ac_log=" |
4129 | This file was extended by $as_me, which was |
4483 | This file was extended by $as_me, which was |
4130 | generated by GNU Autoconf 2.69. Invocation command line was |
4484 | generated by GNU Autoconf 2.71. Invocation command line was |
4131 | |
4485 | |
4132 | CONFIG_FILES = $CONFIG_FILES |
4486 | CONFIG_FILES = $CONFIG_FILES |
4133 | CONFIG_HEADERS = $CONFIG_HEADERS |
4487 | CONFIG_HEADERS = $CONFIG_HEADERS |
4134 | CONFIG_LINKS = $CONFIG_LINKS |
4488 | CONFIG_LINKS = $CONFIG_LINKS |
4135 | CONFIG_COMMANDS = $CONFIG_COMMANDS |
4489 | CONFIG_COMMANDS = $CONFIG_COMMANDS |
… | |
… | |
4183 | $config_headers |
4537 | $config_headers |
4184 | |
4538 | |
4185 | Report bugs to the package provider." |
4539 | Report bugs to the package provider." |
4186 | |
4540 | |
4187 | _ACEOF |
4541 | _ACEOF |
|
|
4542 | ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"` |
|
|
4543 | ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"` |
4188 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
4544 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
4189 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
4545 | ac_cs_config='$ac_cs_config_escaped' |
4190 | ac_cs_version="\\ |
4546 | ac_cs_version="\\ |
4191 | config.status |
4547 | config.status |
4192 | configured by $0, generated by GNU Autoconf 2.69, |
4548 | configured by $0, generated by GNU Autoconf 2.71, |
4193 | with options \\"\$ac_cs_config\\" |
4549 | with options \\"\$ac_cs_config\\" |
4194 | |
4550 | |
4195 | Copyright (C) 2012 Free Software Foundation, Inc. |
4551 | Copyright (C) 2021 Free Software Foundation, Inc. |
4196 | This config.status script is free software; the Free Software Foundation |
4552 | This config.status script is free software; the Free Software Foundation |
4197 | gives unlimited permission to copy, distribute and modify it." |
4553 | gives unlimited permission to copy, distribute and modify it." |
4198 | |
4554 | |
4199 | ac_pwd='$ac_pwd' |
4555 | ac_pwd='$ac_pwd' |
4200 | srcdir='$srcdir' |
4556 | srcdir='$srcdir' |
… | |
… | |
4227 | case $ac_option in |
4583 | case $ac_option in |
4228 | # Handling of the options. |
4584 | # Handling of the options. |
4229 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
4585 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
4230 | ac_cs_recheck=: ;; |
4586 | ac_cs_recheck=: ;; |
4231 | --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) |
4587 | --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) |
4232 | $as_echo "$ac_cs_version"; exit ;; |
4588 | printf "%s\n" "$ac_cs_version"; exit ;; |
4233 | --config | --confi | --conf | --con | --co | --c ) |
4589 | --config | --confi | --conf | --con | --co | --c ) |
4234 | $as_echo "$ac_cs_config"; exit ;; |
4590 | printf "%s\n" "$ac_cs_config"; exit ;; |
4235 | --debug | --debu | --deb | --de | --d | -d ) |
4591 | --debug | --debu | --deb | --de | --d | -d ) |
4236 | debug=: ;; |
4592 | debug=: ;; |
4237 | --file | --fil | --fi | --f ) |
4593 | --file | --fil | --fi | --f ) |
4238 | $ac_shift |
4594 | $ac_shift |
4239 | case $ac_optarg in |
4595 | case $ac_optarg in |
4240 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
4596 | *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
4241 | '') as_fn_error $? "missing file argument" ;; |
4597 | '') as_fn_error $? "missing file argument" ;; |
4242 | esac |
4598 | esac |
4243 | as_fn_append CONFIG_FILES " '$ac_optarg'" |
4599 | as_fn_append CONFIG_FILES " '$ac_optarg'" |
4244 | ac_need_defaults=false;; |
4600 | ac_need_defaults=false;; |
4245 | --header | --heade | --head | --hea ) |
4601 | --header | --heade | --head | --hea ) |
4246 | $ac_shift |
4602 | $ac_shift |
4247 | case $ac_optarg in |
4603 | case $ac_optarg in |
4248 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
4604 | *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
4249 | esac |
4605 | esac |
4250 | as_fn_append CONFIG_HEADERS " '$ac_optarg'" |
4606 | as_fn_append CONFIG_HEADERS " '$ac_optarg'" |
4251 | ac_need_defaults=false;; |
4607 | ac_need_defaults=false;; |
4252 | --he | --h) |
4608 | --he | --h) |
4253 | # Conflict between --help and --header |
4609 | # Conflict between --help and --header |
4254 | as_fn_error $? "ambiguous option: \`$1' |
4610 | as_fn_error $? "ambiguous option: \`$1' |
4255 | Try \`$0 --help' for more information.";; |
4611 | Try \`$0 --help' for more information.";; |
4256 | --help | --hel | -h ) |
4612 | --help | --hel | -h ) |
4257 | $as_echo "$ac_cs_usage"; exit ;; |
4613 | printf "%s\n" "$ac_cs_usage"; exit ;; |
4258 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
4614 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
4259 | | -silent | --silent | --silen | --sile | --sil | --si | --s) |
4615 | | -silent | --silent | --silen | --sile | --sil | --si | --s) |
4260 | ac_cs_silent=: ;; |
4616 | ac_cs_silent=: ;; |
4261 | |
4617 | |
4262 | # This is an error. |
4618 | # This is an error. |
… | |
… | |
4280 | _ACEOF |
4636 | _ACEOF |
4281 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
4637 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
4282 | if \$ac_cs_recheck; then |
4638 | if \$ac_cs_recheck; then |
4283 | set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
4639 | set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
4284 | shift |
4640 | shift |
4285 | \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 |
4641 | \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6 |
4286 | CONFIG_SHELL='$SHELL' |
4642 | CONFIG_SHELL='$SHELL' |
4287 | export CONFIG_SHELL |
4643 | export CONFIG_SHELL |
4288 | exec "\$@" |
4644 | exec "\$@" |
4289 | fi |
4645 | fi |
4290 | |
4646 | |
… | |
… | |
4294 | { |
4650 | { |
4295 | echo |
4651 | echo |
4296 | sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX |
4652 | sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX |
4297 | ## Running $as_me. ## |
4653 | ## Running $as_me. ## |
4298 | _ASBOX |
4654 | _ASBOX |
4299 | $as_echo "$ac_log" |
4655 | printf "%s\n" "$ac_log" |
4300 | } >&5 |
4656 | } >&5 |
4301 | |
4657 | |
4302 | _ACEOF |
4658 | _ACEOF |
4303 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
4659 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
4304 | _ACEOF |
4660 | _ACEOF |
… | |
… | |
4320 | # If the user did not use the arguments to specify the items to instantiate, |
4676 | # If the user did not use the arguments to specify the items to instantiate, |
4321 | # then the envvar interface is used. Set only those that are not. |
4677 | # then the envvar interface is used. Set only those that are not. |
4322 | # We use the long form for the default assignment because of an extremely |
4678 | # We use the long form for the default assignment because of an extremely |
4323 | # bizarre bug on SunOS 4.1.3. |
4679 | # bizarre bug on SunOS 4.1.3. |
4324 | if $ac_need_defaults; then |
4680 | if $ac_need_defaults; then |
4325 | test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files |
4681 | test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files |
4326 | test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers |
4682 | test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers |
4327 | fi |
4683 | fi |
4328 | |
4684 | |
4329 | # Have a temporary directory for convenience. Make it in the build tree |
4685 | # Have a temporary directory for convenience. Make it in the build tree |
4330 | # simply because there is no reason against having it here, and in addition, |
4686 | # simply because there is no reason against having it here, and in addition, |
4331 | # creating and moving files from /tmp can sometimes cause problems. |
4687 | # creating and moving files from /tmp can sometimes cause problems. |
… | |
… | |
4657 | [\\/$]*) false;; |
5013 | [\\/$]*) false;; |
4658 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
5014 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
4659 | esac || |
5015 | esac || |
4660 | as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; |
5016 | as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; |
4661 | esac |
5017 | esac |
4662 | case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
5018 | case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
4663 | as_fn_append ac_file_inputs " '$ac_f'" |
5019 | as_fn_append ac_file_inputs " '$ac_f'" |
4664 | done |
5020 | done |
4665 | |
5021 | |
4666 | # Let's still pretend it is `configure' which instantiates (i.e., don't |
5022 | # Let's still pretend it is `configure' which instantiates (i.e., don't |
4667 | # use $as_me), people would be surprised to read: |
5023 | # use $as_me), people would be surprised to read: |
4668 | # /* config.h. Generated by config.status. */ |
5024 | # /* config.h. Generated by config.status. */ |
4669 | configure_input='Generated from '` |
5025 | configure_input='Generated from '` |
4670 | $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' |
5026 | printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' |
4671 | `' by configure.' |
5027 | `' by configure.' |
4672 | if test x"$ac_file" != x-; then |
5028 | if test x"$ac_file" != x-; then |
4673 | configure_input="$ac_file. $configure_input" |
5029 | configure_input="$ac_file. $configure_input" |
4674 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 |
5030 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 |
4675 | $as_echo "$as_me: creating $ac_file" >&6;} |
5031 | printf "%s\n" "$as_me: creating $ac_file" >&6;} |
4676 | fi |
5032 | fi |
4677 | # Neutralize special characters interpreted by sed in replacement strings. |
5033 | # Neutralize special characters interpreted by sed in replacement strings. |
4678 | case $configure_input in #( |
5034 | case $configure_input in #( |
4679 | *\&* | *\|* | *\\* ) |
5035 | *\&* | *\|* | *\\* ) |
4680 | ac_sed_conf_input=`$as_echo "$configure_input" | |
5036 | ac_sed_conf_input=`printf "%s\n" "$configure_input" | |
4681 | sed 's/[\\\\&|]/\\\\&/g'`;; #( |
5037 | sed 's/[\\\\&|]/\\\\&/g'`;; #( |
4682 | *) ac_sed_conf_input=$configure_input;; |
5038 | *) ac_sed_conf_input=$configure_input;; |
4683 | esac |
5039 | esac |
4684 | |
5040 | |
4685 | case $ac_tag in |
5041 | case $ac_tag in |
… | |
… | |
4692 | ac_dir=`$as_dirname -- "$ac_file" || |
5048 | ac_dir=`$as_dirname -- "$ac_file" || |
4693 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
5049 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
4694 | X"$ac_file" : 'X\(//\)[^/]' \| \ |
5050 | X"$ac_file" : 'X\(//\)[^/]' \| \ |
4695 | X"$ac_file" : 'X\(//\)$' \| \ |
5051 | X"$ac_file" : 'X\(//\)$' \| \ |
4696 | X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || |
5052 | X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || |
4697 | $as_echo X"$ac_file" | |
5053 | printf "%s\n" X"$ac_file" | |
4698 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
5054 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
4699 | s//\1/ |
5055 | s//\1/ |
4700 | q |
5056 | q |
4701 | } |
5057 | } |
4702 | /^X\(\/\/\)[^/].*/{ |
5058 | /^X\(\/\/\)[^/].*/{ |
… | |
… | |
4716 | ac_builddir=. |
5072 | ac_builddir=. |
4717 | |
5073 | |
4718 | case "$ac_dir" in |
5074 | case "$ac_dir" in |
4719 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
5075 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
4720 | *) |
5076 | *) |
4721 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
5077 | ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'` |
4722 | # A ".." for each directory in $ac_dir_suffix. |
5078 | # A ".." for each directory in $ac_dir_suffix. |
4723 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
5079 | ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
4724 | case $ac_top_builddir_sub in |
5080 | case $ac_top_builddir_sub in |
4725 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
5081 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
4726 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
5082 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
4727 | esac ;; |
5083 | esac ;; |
4728 | esac |
5084 | esac |
… | |
… | |
4771 | /@localedir@/p |
5127 | /@localedir@/p |
4772 | /@mandir@/p' |
5128 | /@mandir@/p' |
4773 | case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in |
5129 | case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in |
4774 | *datarootdir*) ac_datarootdir_seen=yes;; |
5130 | *datarootdir*) ac_datarootdir_seen=yes;; |
4775 | *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) |
5131 | *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) |
4776 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 |
5132 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 |
4777 | $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} |
5133 | printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} |
4778 | _ACEOF |
5134 | _ACEOF |
4779 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
5135 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
4780 | ac_datarootdir_hack=' |
5136 | ac_datarootdir_hack=' |
4781 | s&@datadir@&$datadir&g |
5137 | s&@datadir@&$datadir&g |
4782 | s&@docdir@&$docdir&g |
5138 | s&@docdir@&$docdir&g |
… | |
… | |
4814 | |
5170 | |
4815 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
5171 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
4816 | { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && |
5172 | { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && |
4817 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ |
5173 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ |
4818 | "$ac_tmp/out"`; test -z "$ac_out"; } && |
5174 | "$ac_tmp/out"`; test -z "$ac_out"; } && |
4819 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
5175 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
4820 | which seems to be undefined. Please make sure it is defined" >&5 |
5176 | which seems to be undefined. Please make sure it is defined" >&5 |
4821 | $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
5177 | printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
4822 | which seems to be undefined. Please make sure it is defined" >&2;} |
5178 | which seems to be undefined. Please make sure it is defined" >&2;} |
4823 | |
5179 | |
4824 | rm -f "$ac_tmp/stdin" |
5180 | rm -f "$ac_tmp/stdin" |
4825 | case $ac_file in |
5181 | case $ac_file in |
4826 | -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; |
5182 | -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; |
… | |
… | |
4832 | # |
5188 | # |
4833 | # CONFIG_HEADER |
5189 | # CONFIG_HEADER |
4834 | # |
5190 | # |
4835 | if test x"$ac_file" != x-; then |
5191 | if test x"$ac_file" != x-; then |
4836 | { |
5192 | { |
4837 | $as_echo "/* $configure_input */" \ |
5193 | printf "%s\n" "/* $configure_input */" >&1 \ |
4838 | && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" |
5194 | && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" |
4839 | } >"$ac_tmp/config.h" \ |
5195 | } >"$ac_tmp/config.h" \ |
4840 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
5196 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
4841 | if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then |
5197 | if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then |
4842 | { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 |
5198 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 |
4843 | $as_echo "$as_me: $ac_file is unchanged" >&6;} |
5199 | printf "%s\n" "$as_me: $ac_file is unchanged" >&6;} |
4844 | else |
5200 | else |
4845 | rm -f "$ac_file" |
5201 | rm -f "$ac_file" |
4846 | mv "$ac_tmp/config.h" "$ac_file" \ |
5202 | mv "$ac_tmp/config.h" "$ac_file" \ |
4847 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
5203 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
4848 | fi |
5204 | fi |
4849 | else |
5205 | else |
4850 | $as_echo "/* $configure_input */" \ |
5206 | printf "%s\n" "/* $configure_input */" >&1 \ |
4851 | && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ |
5207 | && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ |
4852 | || as_fn_error $? "could not create -" "$LINENO" 5 |
5208 | || as_fn_error $? "could not create -" "$LINENO" 5 |
4853 | fi |
5209 | fi |
4854 | ;; |
5210 | ;; |
4855 | |
5211 | |
… | |
… | |
4886 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
5242 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
4887 | # would make configure fail if this is the last instruction. |
5243 | # would make configure fail if this is the last instruction. |
4888 | $ac_cs_success || as_fn_exit 1 |
5244 | $ac_cs_success || as_fn_exit 1 |
4889 | fi |
5245 | fi |
4890 | if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then |
5246 | if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then |
4891 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 |
5247 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 |
4892 | $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} |
5248 | printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} |
4893 | fi |
5249 | fi |
4894 | |
5250 | |
4895 | |
5251 | |
|
|
5252 | |