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 for gvpe 3.1. |
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='gvpe' |
579 | PACKAGE_TARNAME= |
610 | PACKAGE_TARNAME='gvpe' |
580 | PACKAGE_VERSION= |
611 | PACKAGE_VERSION='3.1' |
581 | PACKAGE_STRING= |
612 | PACKAGE_STRING='gvpe 3.1' |
582 | PACKAGE_BUGREPORT= |
613 | PACKAGE_BUGREPORT='' |
583 | PACKAGE_URL= |
614 | PACKAGE_URL='' |
584 | |
615 | |
585 | ac_unique_file="src/gvpe.C" |
616 | ac_unique_file="src/gvpe.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 | |
622 | ac_subst_vars='LTLIBOBJS |
648 | ac_header_cxx_list= |
|
|
649 | ac_subst_vars='am__EXEEXT_FALSE |
|
|
650 | am__EXEEXT_TRUE |
|
|
651 | LTLIBOBJS |
623 | LIBOBJS |
652 | LIBOBJS |
624 | INCLUDES |
653 | AM_CPPFLAGS |
625 | ROHC_FALSE |
654 | ROHC_FALSE |
626 | ROHC_TRUE |
655 | ROHC_TRUE |
627 | LDFLAGS_DAEMON |
656 | LDFLAGS_DAEMON |
|
|
657 | LIBCRYPTO_LIBS |
|
|
658 | LIBCRYPTO_CFLAGS |
|
|
659 | PKG_CONFIG_LIBDIR |
|
|
660 | PKG_CONFIG_PATH |
|
|
661 | PKG_CONFIG |
628 | HAVE_TUNTAP |
662 | HAVE_TUNTAP |
629 | LINUX_IF_TUN_H |
663 | LINUX_IF_TUN_H |
630 | ALLOCA |
664 | ALLOCA |
631 | CXXCPP |
|
|
632 | IFSUBTYPE |
665 | IFSUBTYPE |
633 | IFTYPE |
666 | IFTYPE |
634 | RANLIB |
667 | RANLIB |
635 | LN_S |
668 | LN_S |
636 | EGREP |
669 | EGREP |
… | |
… | |
650 | LIBICONV |
683 | LIBICONV |
651 | USE_NLS |
684 | USE_NLS |
652 | am__fastdepCC_FALSE |
685 | am__fastdepCC_FALSE |
653 | am__fastdepCC_TRUE |
686 | am__fastdepCC_TRUE |
654 | CCDEPMODE |
687 | CCDEPMODE |
|
|
688 | am__nodep |
655 | AMDEPBACKSLASH |
689 | AMDEPBACKSLASH |
656 | AMDEP_FALSE |
690 | AMDEP_FALSE |
657 | AMDEP_TRUE |
691 | AMDEP_TRUE |
658 | am__quote |
|
|
659 | am__include |
692 | am__include |
660 | DEPDIR |
693 | DEPDIR |
661 | OBJEXT |
694 | OBJEXT |
662 | EXEEXT |
695 | EXEEXT |
663 | ac_ct_CC |
696 | ac_ct_CC |
… | |
… | |
671 | MSGFMT |
704 | MSGFMT |
672 | MKINSTALLDIRS |
705 | MKINSTALLDIRS |
673 | MAINT |
706 | MAINT |
674 | MAINTAINER_MODE_FALSE |
707 | MAINTAINER_MODE_FALSE |
675 | MAINTAINER_MODE_TRUE |
708 | MAINTAINER_MODE_TRUE |
|
|
709 | AM_BACKSLASH |
|
|
710 | AM_DEFAULT_VERBOSITY |
|
|
711 | AM_DEFAULT_V |
|
|
712 | AM_V |
|
|
713 | am__untar |
|
|
714 | am__tar |
|
|
715 | AMTAR |
676 | am__leading_dot |
716 | am__leading_dot |
677 | SET_MAKE |
717 | SET_MAKE |
678 | AWK |
718 | AWK |
|
|
719 | mkdir_p |
|
|
720 | MKDIR_P |
679 | INSTALL_STRIP_PROGRAM |
721 | INSTALL_STRIP_PROGRAM |
680 | STRIP |
722 | STRIP |
681 | install_sh |
723 | install_sh |
682 | AMTAR |
|
|
683 | MAKEINFO |
724 | MAKEINFO |
684 | AUTOHEADER |
725 | AUTOHEADER |
685 | AUTOMAKE |
726 | AUTOMAKE |
686 | AUTOCONF |
727 | AUTOCONF |
687 | ACLOCAL |
728 | ACLOCAL |
688 | VERSION |
729 | VERSION |
689 | PACKAGE |
730 | PACKAGE |
690 | CYGPATH_W |
731 | CYGPATH_W |
|
|
732 | am__isrc |
691 | INSTALL_DATA |
733 | INSTALL_DATA |
692 | INSTALL_SCRIPT |
734 | INSTALL_SCRIPT |
693 | INSTALL_PROGRAM |
735 | INSTALL_PROGRAM |
694 | target_os |
736 | target_os |
695 | target_vendor |
737 | target_vendor |
… | |
… | |
720 | htmldir |
762 | htmldir |
721 | infodir |
763 | infodir |
722 | docdir |
764 | docdir |
723 | oldincludedir |
765 | oldincludedir |
724 | includedir |
766 | includedir |
|
|
767 | runstatedir |
725 | localstatedir |
768 | localstatedir |
726 | sharedstatedir |
769 | sharedstatedir |
727 | sysconfdir |
770 | sysconfdir |
728 | datadir |
771 | datadir |
729 | datarootdir |
772 | datarootdir |
… | |
… | |
738 | PACKAGE_STRING |
781 | PACKAGE_STRING |
739 | PACKAGE_VERSION |
782 | PACKAGE_VERSION |
740 | PACKAGE_TARNAME |
783 | PACKAGE_TARNAME |
741 | PACKAGE_NAME |
784 | PACKAGE_NAME |
742 | PATH_SEPARATOR |
785 | PATH_SEPARATOR |
743 | SHELL' |
786 | SHELL |
|
|
787 | am__quote' |
744 | ac_subst_files='' |
788 | ac_subst_files='' |
745 | ac_user_opts=' |
789 | ac_user_opts=' |
746 | enable_option_checking |
790 | enable_option_checking |
|
|
791 | enable_silent_rules |
747 | enable_maintainer_mode |
792 | enable_maintainer_mode |
748 | enable_dependency_tracking |
793 | enable_dependency_tracking |
749 | with_gnu_ld |
794 | with_gnu_ld |
750 | enable_rpath |
795 | enable_rpath |
751 | with_libiconv_prefix |
796 | with_libiconv_prefix |
752 | enable_nls |
797 | enable_nls |
753 | with_libintl_prefix |
798 | with_libintl_prefix |
754 | enable_iftype |
799 | enable_iftype |
755 | with_kernel |
800 | with_kernel |
756 | with_openssl_include |
|
|
757 | with_openssl_lib |
|
|
758 | enable_threads |
801 | enable_threads |
759 | enable_static_daemon |
802 | enable_static_daemon |
760 | enable_icmp |
803 | enable_icmp |
761 | enable_tcp |
804 | enable_tcp |
762 | enable_http_proxy |
805 | enable_http_proxy |
… | |
… | |
779 | CPPFLAGS |
822 | CPPFLAGS |
780 | CPP |
823 | CPP |
781 | CXX |
824 | CXX |
782 | CXXFLAGS |
825 | CXXFLAGS |
783 | CCC |
826 | CCC |
784 | CXXCPP' |
827 | PKG_CONFIG |
|
|
828 | PKG_CONFIG_PATH |
|
|
829 | PKG_CONFIG_LIBDIR |
|
|
830 | LIBCRYPTO_CFLAGS |
|
|
831 | LIBCRYPTO_LIBS' |
785 | |
832 | |
786 | |
833 | |
787 | # Initialize some variables set by options. |
834 | # Initialize some variables set by options. |
788 | ac_init_help= |
835 | ac_init_help= |
789 | ac_init_version=false |
836 | ac_init_version=false |
… | |
… | |
818 | datarootdir='${prefix}/share' |
865 | datarootdir='${prefix}/share' |
819 | datadir='${datarootdir}' |
866 | datadir='${datarootdir}' |
820 | sysconfdir='${prefix}/etc' |
867 | sysconfdir='${prefix}/etc' |
821 | sharedstatedir='${prefix}/com' |
868 | sharedstatedir='${prefix}/com' |
822 | localstatedir='${prefix}/var' |
869 | localstatedir='${prefix}/var' |
|
|
870 | runstatedir='${localstatedir}/run' |
823 | includedir='${prefix}/include' |
871 | includedir='${prefix}/include' |
824 | oldincludedir='/usr/include' |
872 | oldincludedir='/usr/include' |
825 | docdir='${datarootdir}/doc/${PACKAGE}' |
873 | docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' |
826 | infodir='${datarootdir}/info' |
874 | infodir='${datarootdir}/info' |
827 | htmldir='${docdir}' |
875 | htmldir='${docdir}' |
828 | dvidir='${docdir}' |
876 | dvidir='${docdir}' |
829 | pdfdir='${docdir}' |
877 | pdfdir='${docdir}' |
830 | psdir='${docdir}' |
878 | psdir='${docdir}' |
… | |
… | |
847 | *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
895 | *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
848 | *=) ac_optarg= ;; |
896 | *=) ac_optarg= ;; |
849 | *) ac_optarg=yes ;; |
897 | *) ac_optarg=yes ;; |
850 | esac |
898 | esac |
851 | |
899 | |
852 | # Accept the important Cygnus configure options, so we can diagnose typos. |
|
|
853 | |
|
|
854 | case $ac_dashdash$ac_option in |
900 | case $ac_dashdash$ac_option in |
855 | --) |
901 | --) |
856 | ac_dashdash=yes ;; |
902 | ac_dashdash=yes ;; |
857 | |
903 | |
858 | -bindir | --bindir | --bindi | --bind | --bin | --bi) |
904 | -bindir | --bindir | --bindi | --bind | --bin | --bi) |
… | |
… | |
889 | |
935 | |
890 | -disable-* | --disable-*) |
936 | -disable-* | --disable-*) |
891 | ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
937 | ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
892 | # Reject names that are not valid shell variable names. |
938 | # Reject names that are not valid shell variable names. |
893 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
939 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
894 | as_fn_error $? "invalid feature name: $ac_useropt" |
940 | as_fn_error $? "invalid feature name: \`$ac_useropt'" |
895 | ac_useropt_orig=$ac_useropt |
941 | ac_useropt_orig=$ac_useropt |
896 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
942 | ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` |
897 | case $ac_user_opts in |
943 | case $ac_user_opts in |
898 | *" |
944 | *" |
899 | "enable_$ac_useropt" |
945 | "enable_$ac_useropt" |
900 | "*) ;; |
946 | "*) ;; |
901 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" |
947 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" |
… | |
… | |
915 | |
961 | |
916 | -enable-* | --enable-*) |
962 | -enable-* | --enable-*) |
917 | ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
963 | ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
918 | # Reject names that are not valid shell variable names. |
964 | # Reject names that are not valid shell variable names. |
919 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
965 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
920 | as_fn_error $? "invalid feature name: $ac_useropt" |
966 | as_fn_error $? "invalid feature name: \`$ac_useropt'" |
921 | ac_useropt_orig=$ac_useropt |
967 | ac_useropt_orig=$ac_useropt |
922 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
968 | ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` |
923 | case $ac_user_opts in |
969 | case $ac_user_opts in |
924 | *" |
970 | *" |
925 | "enable_$ac_useropt" |
971 | "enable_$ac_useropt" |
926 | "*) ;; |
972 | "*) ;; |
927 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" |
973 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" |
… | |
… | |
1070 | |
1116 | |
1071 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
1117 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
1072 | | -silent | --silent | --silen | --sile | --sil) |
1118 | | -silent | --silent | --silen | --sile | --sil) |
1073 | silent=yes ;; |
1119 | silent=yes ;; |
1074 | |
1120 | |
|
|
1121 | -runstatedir | --runstatedir | --runstatedi | --runstated \ |
|
|
1122 | | --runstate | --runstat | --runsta | --runst | --runs \ |
|
|
1123 | | --run | --ru | --r) |
|
|
1124 | ac_prev=runstatedir ;; |
|
|
1125 | -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ |
|
|
1126 | | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ |
|
|
1127 | | --run=* | --ru=* | --r=*) |
|
|
1128 | runstatedir=$ac_optarg ;; |
|
|
1129 | |
1075 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
1130 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
1076 | ac_prev=sbindir ;; |
1131 | ac_prev=sbindir ;; |
1077 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
1132 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
1078 | | --sbi=* | --sb=*) |
1133 | | --sbi=* | --sb=*) |
1079 | sbindir=$ac_optarg ;; |
1134 | sbindir=$ac_optarg ;; |
… | |
… | |
1119 | |
1174 | |
1120 | -with-* | --with-*) |
1175 | -with-* | --with-*) |
1121 | ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
1176 | ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
1122 | # Reject names that are not valid shell variable names. |
1177 | # Reject names that are not valid shell variable names. |
1123 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1178 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1124 | as_fn_error $? "invalid package name: $ac_useropt" |
1179 | as_fn_error $? "invalid package name: \`$ac_useropt'" |
1125 | ac_useropt_orig=$ac_useropt |
1180 | ac_useropt_orig=$ac_useropt |
1126 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
1181 | ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` |
1127 | case $ac_user_opts in |
1182 | case $ac_user_opts in |
1128 | *" |
1183 | *" |
1129 | "with_$ac_useropt" |
1184 | "with_$ac_useropt" |
1130 | "*) ;; |
1185 | "*) ;; |
1131 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" |
1186 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" |
… | |
… | |
1135 | |
1190 | |
1136 | -without-* | --without-*) |
1191 | -without-* | --without-*) |
1137 | ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
1192 | ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
1138 | # Reject names that are not valid shell variable names. |
1193 | # Reject names that are not valid shell variable names. |
1139 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1194 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1140 | as_fn_error $? "invalid package name: $ac_useropt" |
1195 | as_fn_error $? "invalid package name: \`$ac_useropt'" |
1141 | ac_useropt_orig=$ac_useropt |
1196 | ac_useropt_orig=$ac_useropt |
1142 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
1197 | ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` |
1143 | case $ac_user_opts in |
1198 | case $ac_user_opts in |
1144 | *" |
1199 | *" |
1145 | "with_$ac_useropt" |
1200 | "with_$ac_useropt" |
1146 | "*) ;; |
1201 | "*) ;; |
1147 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" |
1202 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" |
… | |
… | |
1181 | eval $ac_envvar=\$ac_optarg |
1236 | eval $ac_envvar=\$ac_optarg |
1182 | export $ac_envvar ;; |
1237 | export $ac_envvar ;; |
1183 | |
1238 | |
1184 | *) |
1239 | *) |
1185 | # FIXME: should be removed in autoconf 3.0. |
1240 | # FIXME: should be removed in autoconf 3.0. |
1186 | $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
1241 | printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2 |
1187 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
1242 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
1188 | $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
1243 | printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2 |
1189 | : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" |
1244 | : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" |
1190 | ;; |
1245 | ;; |
1191 | |
1246 | |
1192 | esac |
1247 | esac |
1193 | done |
1248 | done |
… | |
… | |
1199 | |
1254 | |
1200 | if test -n "$ac_unrecognized_opts"; then |
1255 | if test -n "$ac_unrecognized_opts"; then |
1201 | case $enable_option_checking in |
1256 | case $enable_option_checking in |
1202 | no) ;; |
1257 | no) ;; |
1203 | fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; |
1258 | fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; |
1204 | *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; |
1259 | *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; |
1205 | esac |
1260 | esac |
1206 | fi |
1261 | fi |
1207 | |
1262 | |
1208 | # Check all directory arguments for consistency. |
1263 | # Check all directory arguments for consistency. |
1209 | for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
1264 | for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
1210 | datadir sysconfdir sharedstatedir localstatedir includedir \ |
1265 | datadir sysconfdir sharedstatedir localstatedir includedir \ |
1211 | oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
1266 | oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
1212 | libdir localedir mandir |
1267 | libdir localedir mandir runstatedir |
1213 | do |
1268 | do |
1214 | eval ac_val=\$$ac_var |
1269 | eval ac_val=\$$ac_var |
1215 | # Remove trailing slashes. |
1270 | # Remove trailing slashes. |
1216 | case $ac_val in |
1271 | case $ac_val in |
1217 | */ ) |
1272 | */ ) |
… | |
… | |
1263 | ac_confdir=`$as_dirname -- "$as_myself" || |
1318 | ac_confdir=`$as_dirname -- "$as_myself" || |
1264 | $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
1319 | $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
1265 | X"$as_myself" : 'X\(//\)[^/]' \| \ |
1320 | X"$as_myself" : 'X\(//\)[^/]' \| \ |
1266 | X"$as_myself" : 'X\(//\)$' \| \ |
1321 | X"$as_myself" : 'X\(//\)$' \| \ |
1267 | X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || |
1322 | X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || |
1268 | $as_echo X"$as_myself" | |
1323 | printf "%s\n" X"$as_myself" | |
1269 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
1324 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
1270 | s//\1/ |
1325 | s//\1/ |
1271 | q |
1326 | q |
1272 | } |
1327 | } |
1273 | /^X\(\/\/\)[^/].*/{ |
1328 | /^X\(\/\/\)[^/].*/{ |
… | |
… | |
1320 | # |
1375 | # |
1321 | if test "$ac_init_help" = "long"; then |
1376 | if test "$ac_init_help" = "long"; then |
1322 | # Omit some internal or obsolete options to make the list less imposing. |
1377 | # Omit some internal or obsolete options to make the list less imposing. |
1323 | # This message is too long to be a string in the A/UX 3.1 sh. |
1378 | # This message is too long to be a string in the A/UX 3.1 sh. |
1324 | cat <<_ACEOF |
1379 | cat <<_ACEOF |
1325 | \`configure' configures this package to adapt to many kinds of systems. |
1380 | \`configure' configures gvpe 3.1 to adapt to many kinds of systems. |
1326 | |
1381 | |
1327 | Usage: $0 [OPTION]... [VAR=VALUE]... |
1382 | Usage: $0 [OPTION]... [VAR=VALUE]... |
1328 | |
1383 | |
1329 | To assign environment variables (e.g., CC, CFLAGS...), specify them as |
1384 | To assign environment variables (e.g., CC, CFLAGS...), specify them as |
1330 | VAR=VALUE. See below for descriptions of some of the useful variables. |
1385 | VAR=VALUE. See below for descriptions of some of the useful variables. |
… | |
… | |
1360 | --sbindir=DIR system admin executables [EPREFIX/sbin] |
1415 | --sbindir=DIR system admin executables [EPREFIX/sbin] |
1361 | --libexecdir=DIR program executables [EPREFIX/libexec] |
1416 | --libexecdir=DIR program executables [EPREFIX/libexec] |
1362 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
1417 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
1363 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
1418 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
1364 | --localstatedir=DIR modifiable single-machine data [PREFIX/var] |
1419 | --localstatedir=DIR modifiable single-machine data [PREFIX/var] |
|
|
1420 | --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] |
1365 | --libdir=DIR object code libraries [EPREFIX/lib] |
1421 | --libdir=DIR object code libraries [EPREFIX/lib] |
1366 | --includedir=DIR C header files [PREFIX/include] |
1422 | --includedir=DIR C header files [PREFIX/include] |
1367 | --oldincludedir=DIR C header files for non-gcc [/usr/include] |
1423 | --oldincludedir=DIR C header files for non-gcc [/usr/include] |
1368 | --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
1424 | --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
1369 | --datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
1425 | --datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
1370 | --infodir=DIR info documentation [DATAROOTDIR/info] |
1426 | --infodir=DIR info documentation [DATAROOTDIR/info] |
1371 | --localedir=DIR locale-dependent data [DATAROOTDIR/locale] |
1427 | --localedir=DIR locale-dependent data [DATAROOTDIR/locale] |
1372 | --mandir=DIR man documentation [DATAROOTDIR/man] |
1428 | --mandir=DIR man documentation [DATAROOTDIR/man] |
1373 | --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] |
1429 | --docdir=DIR documentation root [DATAROOTDIR/doc/gvpe] |
1374 | --htmldir=DIR html documentation [DOCDIR] |
1430 | --htmldir=DIR html documentation [DOCDIR] |
1375 | --dvidir=DIR dvi documentation [DOCDIR] |
1431 | --dvidir=DIR dvi documentation [DOCDIR] |
1376 | --pdfdir=DIR pdf documentation [DOCDIR] |
1432 | --pdfdir=DIR pdf documentation [DOCDIR] |
1377 | --psdir=DIR ps documentation [DOCDIR] |
1433 | --psdir=DIR ps documentation [DOCDIR] |
1378 | _ACEOF |
1434 | _ACEOF |
… | |
… | |
1390 | --target=TARGET configure for building compilers for TARGET [HOST] |
1446 | --target=TARGET configure for building compilers for TARGET [HOST] |
1391 | _ACEOF |
1447 | _ACEOF |
1392 | fi |
1448 | fi |
1393 | |
1449 | |
1394 | if test -n "$ac_init_help"; then |
1450 | if test -n "$ac_init_help"; then |
1395 | |
1451 | case $ac_init_help in |
|
|
1452 | short | recursive ) echo "Configuration of gvpe 3.1:";; |
|
|
1453 | esac |
1396 | cat <<\_ACEOF |
1454 | cat <<\_ACEOF |
1397 | |
1455 | |
1398 | Optional Features: |
1456 | Optional Features: |
1399 | --disable-option-checking ignore unrecognized --enable/--with options |
1457 | --disable-option-checking ignore unrecognized --enable/--with options |
1400 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
1458 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
1401 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
1459 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
1402 | --enable-maintainer-mode enable make rules and dependencies not useful |
1460 | --enable-silent-rules less verbose build output (undo: "make V=1") |
|
|
1461 | --disable-silent-rules verbose build output (undo: "make V=0") |
|
|
1462 | --enable-maintainer-mode |
|
|
1463 | enable make rules and dependencies not useful (and |
1403 | (and sometimes confusing) to the casual installer |
1464 | sometimes confusing) to the casual installer |
1404 | --disable-dependency-tracking Speeds up one-time builds |
1465 | --enable-dependency-tracking |
1405 | --enable-dependency-tracking Do not reject slow dependency extractors |
1466 | do not reject slow dependency extractors |
|
|
1467 | --disable-dependency-tracking |
|
|
1468 | speeds up one-time build |
1406 | --disable-rpath do not hardcode runtime library paths |
1469 | --disable-rpath do not hardcode runtime library paths |
1407 | --disable-nls do not use Native Language Support |
1470 | --disable-nls do not use Native Language Support |
1408 | --enable-iftype=TYPE/SUBTYPE |
1471 | --enable-iftype=TYPE/SUBTYPE |
1409 | Use kernel/net device interface TYPE/SUBTYPE. |
1472 | Use kernel/net device interface TYPE/SUBTYPE. |
1410 | Working combinations are (see doc/gvpe.osdep.5.pod): |
1473 | Working combinations are (see doc/gvpe.osdep.5.pod): |
… | |
… | |
1451 | --without-libiconv-prefix don't search for libiconv in includedir and libdir |
1514 | --without-libiconv-prefix don't search for libiconv in includedir and libdir |
1452 | --with-libintl-prefix=DIR search for libintl in DIR/include and DIR/lib |
1515 | --with-libintl-prefix=DIR search for libintl in DIR/include and DIR/lib |
1453 | --without-libintl-prefix don't search for libintl in includedir and libdir |
1516 | --without-libintl-prefix don't search for libintl in includedir and libdir |
1454 | --with-kernel=dir give the directory with kernel sources |
1517 | --with-kernel=dir give the directory with kernel sources |
1455 | (default: /usr/src/linux) |
1518 | (default: /usr/src/linux) |
1456 | --with-openssl-include=DIR OpenSSL headers directory (without trailing /openssl) |
|
|
1457 | --with-openssl-lib=DIR OpenSSL library directory |
|
|
1458 | |
1519 | |
1459 | Some influential environment variables: |
1520 | Some influential environment variables: |
1460 | CC C compiler command |
1521 | CC C compiler command |
1461 | CFLAGS C compiler flags |
1522 | CFLAGS C compiler flags |
1462 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
1523 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
… | |
… | |
1465 | CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if |
1526 | CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if |
1466 | you have headers in a nonstandard directory <include dir> |
1527 | you have headers in a nonstandard directory <include dir> |
1467 | CPP C preprocessor |
1528 | CPP C preprocessor |
1468 | CXX C++ compiler command |
1529 | CXX C++ compiler command |
1469 | CXXFLAGS C++ compiler flags |
1530 | CXXFLAGS C++ compiler flags |
1470 | CXXCPP C++ preprocessor |
1531 | PKG_CONFIG path to pkg-config utility |
|
|
1532 | PKG_CONFIG_PATH |
|
|
1533 | directories to add to pkg-config's search path |
|
|
1534 | PKG_CONFIG_LIBDIR |
|
|
1535 | path overriding pkg-config's built-in search path |
|
|
1536 | LIBCRYPTO_CFLAGS |
|
|
1537 | C compiler flags for LIBCRYPTO, overriding pkg-config |
|
|
1538 | LIBCRYPTO_LIBS |
|
|
1539 | linker flags for LIBCRYPTO, overriding pkg-config |
1471 | |
1540 | |
1472 | Use these variables to override the choices made by `configure' or to help |
1541 | Use these variables to override the choices made by `configure' or to help |
1473 | it to find libraries and programs with nonstandard names/locations. |
1542 | it to find libraries and programs with nonstandard names/locations. |
1474 | |
1543 | |
1475 | Report bugs to the package provider. |
1544 | Report bugs to the package provider. |
… | |
… | |
1486 | ac_builddir=. |
1555 | ac_builddir=. |
1487 | |
1556 | |
1488 | case "$ac_dir" in |
1557 | case "$ac_dir" in |
1489 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
1558 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
1490 | *) |
1559 | *) |
1491 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
1560 | ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'` |
1492 | # A ".." for each directory in $ac_dir_suffix. |
1561 | # A ".." for each directory in $ac_dir_suffix. |
1493 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
1562 | ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
1494 | case $ac_top_builddir_sub in |
1563 | case $ac_top_builddir_sub in |
1495 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
1564 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
1496 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
1565 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
1497 | esac ;; |
1566 | esac ;; |
1498 | esac |
1567 | esac |
… | |
… | |
1516 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
1585 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
1517 | esac |
1586 | esac |
1518 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
1587 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
1519 | |
1588 | |
1520 | cd "$ac_dir" || { ac_status=$?; continue; } |
1589 | cd "$ac_dir" || { ac_status=$?; continue; } |
1521 | # Check for guested configure. |
1590 | # Check for configure.gnu first; this name is used for a wrapper for |
|
|
1591 | # Metaconfig's "Configure" on case-insensitive file systems. |
1522 | if test -f "$ac_srcdir/configure.gnu"; then |
1592 | if test -f "$ac_srcdir/configure.gnu"; then |
1523 | echo && |
1593 | echo && |
1524 | $SHELL "$ac_srcdir/configure.gnu" --help=recursive |
1594 | $SHELL "$ac_srcdir/configure.gnu" --help=recursive |
1525 | elif test -f "$ac_srcdir/configure"; then |
1595 | elif test -f "$ac_srcdir/configure"; then |
1526 | echo && |
1596 | echo && |
1527 | $SHELL "$ac_srcdir/configure" --help=recursive |
1597 | $SHELL "$ac_srcdir/configure" --help=recursive |
1528 | else |
1598 | else |
1529 | $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
1599 | printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
1530 | fi || ac_status=$? |
1600 | fi || ac_status=$? |
1531 | cd "$ac_pwd" || { ac_status=$?; break; } |
1601 | cd "$ac_pwd" || { ac_status=$?; break; } |
1532 | done |
1602 | done |
1533 | fi |
1603 | fi |
1534 | |
1604 | |
1535 | test -n "$ac_init_help" && exit $ac_status |
1605 | test -n "$ac_init_help" && exit $ac_status |
1536 | if $ac_init_version; then |
1606 | if $ac_init_version; then |
1537 | cat <<\_ACEOF |
1607 | cat <<\_ACEOF |
1538 | configure |
1608 | gvpe configure 3.1 |
1539 | generated by GNU Autoconf 2.69 |
1609 | generated by GNU Autoconf 2.71 |
1540 | |
1610 | |
1541 | Copyright (C) 2012 Free Software Foundation, Inc. |
1611 | Copyright (C) 2021 Free Software Foundation, Inc. |
1542 | This configure script is free software; the Free Software Foundation |
1612 | This configure script is free software; the Free Software Foundation |
1543 | gives unlimited permission to copy, distribute and modify it. |
1613 | gives unlimited permission to copy, distribute and modify it. |
1544 | _ACEOF |
1614 | _ACEOF |
1545 | exit |
1615 | exit |
1546 | fi |
1616 | fi |
… | |
… | |
1553 | # -------------------------- |
1623 | # -------------------------- |
1554 | # Try to compile conftest.$ac_ext, and return whether this succeeded. |
1624 | # Try to compile conftest.$ac_ext, and return whether this succeeded. |
1555 | ac_fn_c_try_compile () |
1625 | ac_fn_c_try_compile () |
1556 | { |
1626 | { |
1557 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1627 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1558 | rm -f conftest.$ac_objext |
1628 | rm -f conftest.$ac_objext conftest.beam |
1559 | if { { ac_try="$ac_compile" |
1629 | if { { ac_try="$ac_compile" |
1560 | case "(($ac_try" in |
1630 | case "(($ac_try" in |
1561 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
1631 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
1562 | *) ac_try_echo=$ac_try;; |
1632 | *) ac_try_echo=$ac_try;; |
1563 | esac |
1633 | esac |
1564 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
1634 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
1565 | $as_echo "$ac_try_echo"; } >&5 |
1635 | printf "%s\n" "$ac_try_echo"; } >&5 |
1566 | (eval "$ac_compile") 2>conftest.err |
1636 | (eval "$ac_compile") 2>conftest.err |
1567 | ac_status=$? |
1637 | ac_status=$? |
1568 | if test -s conftest.err; then |
1638 | if test -s conftest.err; then |
1569 | grep -v '^ *+' conftest.err >conftest.er1 |
1639 | grep -v '^ *+' conftest.err >conftest.er1 |
1570 | cat conftest.er1 >&5 |
1640 | cat conftest.er1 >&5 |
1571 | mv -f conftest.er1 conftest.err |
1641 | mv -f conftest.er1 conftest.err |
1572 | fi |
1642 | fi |
1573 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
1643 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
1574 | test $ac_status = 0; } && { |
1644 | test $ac_status = 0; } && { |
1575 | test -z "$ac_c_werror_flag" || |
1645 | test -z "$ac_c_werror_flag" || |
1576 | test ! -s conftest.err |
1646 | test ! -s conftest.err |
1577 | } && test -s conftest.$ac_objext; then : |
1647 | } && test -s conftest.$ac_objext |
|
|
1648 | then : |
1578 | ac_retval=0 |
1649 | ac_retval=0 |
1579 | else |
1650 | else $as_nop |
1580 | $as_echo "$as_me: failed program was:" >&5 |
1651 | printf "%s\n" "$as_me: failed program was:" >&5 |
1581 | sed 's/^/| /' conftest.$ac_ext >&5 |
1652 | sed 's/^/| /' conftest.$ac_ext >&5 |
1582 | |
1653 | |
1583 | ac_retval=1 |
1654 | ac_retval=1 |
1584 | fi |
1655 | fi |
1585 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1656 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
… | |
… | |
1591 | # ----------------------- |
1662 | # ----------------------- |
1592 | # Try to link conftest.$ac_ext, and return whether this succeeded. |
1663 | # Try to link conftest.$ac_ext, and return whether this succeeded. |
1593 | ac_fn_c_try_link () |
1664 | ac_fn_c_try_link () |
1594 | { |
1665 | { |
1595 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1666 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1596 | rm -f conftest.$ac_objext conftest$ac_exeext |
1667 | rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext |
1597 | if { { ac_try="$ac_link" |
1668 | if { { ac_try="$ac_link" |
1598 | case "(($ac_try" in |
1669 | case "(($ac_try" in |
1599 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
1670 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
1600 | *) ac_try_echo=$ac_try;; |
1671 | *) ac_try_echo=$ac_try;; |
1601 | esac |
1672 | esac |
1602 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
1673 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
1603 | $as_echo "$ac_try_echo"; } >&5 |
1674 | printf "%s\n" "$ac_try_echo"; } >&5 |
1604 | (eval "$ac_link") 2>conftest.err |
1675 | (eval "$ac_link") 2>conftest.err |
1605 | ac_status=$? |
1676 | ac_status=$? |
1606 | if test -s conftest.err; then |
1677 | if test -s conftest.err; then |
1607 | grep -v '^ *+' conftest.err >conftest.er1 |
1678 | grep -v '^ *+' conftest.err >conftest.er1 |
1608 | cat conftest.er1 >&5 |
1679 | cat conftest.er1 >&5 |
1609 | mv -f conftest.er1 conftest.err |
1680 | mv -f conftest.er1 conftest.err |
1610 | fi |
1681 | fi |
1611 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
1682 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
1612 | test $ac_status = 0; } && { |
1683 | test $ac_status = 0; } && { |
1613 | test -z "$ac_c_werror_flag" || |
1684 | test -z "$ac_c_werror_flag" || |
1614 | test ! -s conftest.err |
1685 | test ! -s conftest.err |
1615 | } && test -s conftest$ac_exeext && { |
1686 | } && test -s conftest$ac_exeext && { |
1616 | test "$cross_compiling" = yes || |
1687 | test "$cross_compiling" = yes || |
1617 | test -x conftest$ac_exeext |
1688 | test -x conftest$ac_exeext |
1618 | }; then : |
1689 | } |
|
|
1690 | then : |
1619 | ac_retval=0 |
1691 | ac_retval=0 |
1620 | else |
1692 | else $as_nop |
1621 | $as_echo "$as_me: failed program was:" >&5 |
1693 | printf "%s\n" "$as_me: failed program was:" >&5 |
1622 | sed 's/^/| /' conftest.$ac_ext >&5 |
1694 | sed 's/^/| /' conftest.$ac_ext >&5 |
1623 | |
1695 | |
1624 | ac_retval=1 |
1696 | ac_retval=1 |
1625 | fi |
1697 | fi |
1626 | # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information |
1698 | # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information |
… | |
… | |
1643 | case "(($ac_try" in |
1715 | case "(($ac_try" in |
1644 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
1716 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
1645 | *) ac_try_echo=$ac_try;; |
1717 | *) ac_try_echo=$ac_try;; |
1646 | esac |
1718 | esac |
1647 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
1719 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
1648 | $as_echo "$ac_try_echo"; } >&5 |
1720 | printf "%s\n" "$ac_try_echo"; } >&5 |
1649 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err |
1721 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err |
1650 | ac_status=$? |
1722 | ac_status=$? |
1651 | if test -s conftest.err; then |
1723 | if test -s conftest.err; then |
1652 | grep -v '^ *+' conftest.err >conftest.er1 |
1724 | grep -v '^ *+' conftest.err >conftest.er1 |
1653 | cat conftest.er1 >&5 |
1725 | cat conftest.er1 >&5 |
1654 | mv -f conftest.er1 conftest.err |
1726 | mv -f conftest.er1 conftest.err |
1655 | fi |
1727 | fi |
1656 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
1728 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
1657 | test $ac_status = 0; } > conftest.i && { |
1729 | test $ac_status = 0; } > conftest.i && { |
1658 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
1730 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
1659 | test ! -s conftest.err |
1731 | test ! -s conftest.err |
1660 | }; then : |
1732 | } |
|
|
1733 | then : |
1661 | ac_retval=0 |
1734 | ac_retval=0 |
1662 | else |
1735 | else $as_nop |
1663 | $as_echo "$as_me: failed program was:" >&5 |
1736 | printf "%s\n" "$as_me: failed program was:" >&5 |
1664 | sed 's/^/| /' conftest.$ac_ext >&5 |
1737 | sed 's/^/| /' conftest.$ac_ext >&5 |
1665 | |
1738 | |
1666 | ac_retval=1 |
1739 | ac_retval=1 |
1667 | fi |
1740 | fi |
1668 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1741 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
… | |
… | |
1674 | # ---------------------------- |
1747 | # ---------------------------- |
1675 | # Try to compile conftest.$ac_ext, and return whether this succeeded. |
1748 | # Try to compile conftest.$ac_ext, and return whether this succeeded. |
1676 | ac_fn_cxx_try_compile () |
1749 | ac_fn_cxx_try_compile () |
1677 | { |
1750 | { |
1678 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1751 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1679 | rm -f conftest.$ac_objext |
1752 | rm -f conftest.$ac_objext conftest.beam |
1680 | if { { ac_try="$ac_compile" |
1753 | if { { ac_try="$ac_compile" |
1681 | case "(($ac_try" in |
1754 | case "(($ac_try" in |
1682 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
1755 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
1683 | *) ac_try_echo=$ac_try;; |
1756 | *) ac_try_echo=$ac_try;; |
1684 | esac |
1757 | esac |
1685 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
1758 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
1686 | $as_echo "$ac_try_echo"; } >&5 |
1759 | printf "%s\n" "$ac_try_echo"; } >&5 |
1687 | (eval "$ac_compile") 2>conftest.err |
1760 | (eval "$ac_compile") 2>conftest.err |
1688 | ac_status=$? |
1761 | ac_status=$? |
1689 | if test -s conftest.err; then |
1762 | if test -s conftest.err; then |
1690 | grep -v '^ *+' conftest.err >conftest.er1 |
1763 | grep -v '^ *+' conftest.err >conftest.er1 |
1691 | cat conftest.er1 >&5 |
1764 | cat conftest.er1 >&5 |
1692 | mv -f conftest.er1 conftest.err |
1765 | mv -f conftest.er1 conftest.err |
1693 | fi |
1766 | fi |
1694 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
1767 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
1695 | test $ac_status = 0; } && { |
1768 | test $ac_status = 0; } && { |
1696 | test -z "$ac_cxx_werror_flag" || |
1769 | test -z "$ac_cxx_werror_flag" || |
1697 | test ! -s conftest.err |
1770 | test ! -s conftest.err |
1698 | } && test -s conftest.$ac_objext; then : |
1771 | } && test -s conftest.$ac_objext |
|
|
1772 | then : |
1699 | ac_retval=0 |
1773 | ac_retval=0 |
1700 | else |
1774 | else $as_nop |
1701 | $as_echo "$as_me: failed program was:" >&5 |
1775 | printf "%s\n" "$as_me: failed program was:" >&5 |
1702 | sed 's/^/| /' conftest.$ac_ext >&5 |
1776 | sed 's/^/| /' conftest.$ac_ext >&5 |
1703 | |
1777 | |
1704 | ac_retval=1 |
1778 | ac_retval=1 |
1705 | fi |
1779 | fi |
1706 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1780 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1707 | as_fn_set_status $ac_retval |
1781 | as_fn_set_status $ac_retval |
1708 | |
1782 | |
1709 | } # ac_fn_cxx_try_compile |
1783 | } # ac_fn_cxx_try_compile |
1710 | |
|
|
1711 | # ac_fn_cxx_try_cpp LINENO |
|
|
1712 | # ------------------------ |
|
|
1713 | # Try to preprocess conftest.$ac_ext, and return whether this succeeded. |
|
|
1714 | ac_fn_cxx_try_cpp () |
|
|
1715 | { |
|
|
1716 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
|
1717 | if { { ac_try="$ac_cpp conftest.$ac_ext" |
|
|
1718 | case "(($ac_try" in |
|
|
1719 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
1720 | *) ac_try_echo=$ac_try;; |
|
|
1721 | esac |
|
|
1722 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
|
1723 | $as_echo "$ac_try_echo"; } >&5 |
|
|
1724 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err |
|
|
1725 | ac_status=$? |
|
|
1726 | if test -s conftest.err; then |
|
|
1727 | grep -v '^ *+' conftest.err >conftest.er1 |
|
|
1728 | cat conftest.er1 >&5 |
|
|
1729 | mv -f conftest.er1 conftest.err |
|
|
1730 | fi |
|
|
1731 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
|
1732 | test $ac_status = 0; } > conftest.i && { |
|
|
1733 | test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
|
|
1734 | test ! -s conftest.err |
|
|
1735 | }; then : |
|
|
1736 | ac_retval=0 |
|
|
1737 | else |
|
|
1738 | $as_echo "$as_me: failed program was:" >&5 |
|
|
1739 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
1740 | |
|
|
1741 | ac_retval=1 |
|
|
1742 | fi |
|
|
1743 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
|
|
1744 | as_fn_set_status $ac_retval |
|
|
1745 | |
|
|
1746 | } # ac_fn_cxx_try_cpp |
|
|
1747 | |
|
|
1748 | # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES |
|
|
1749 | # --------------------------------------------------------- |
|
|
1750 | # Tests whether HEADER exists, giving a warning if it cannot be compiled using |
|
|
1751 | # the include files in INCLUDES and setting the cache variable VAR |
|
|
1752 | # accordingly. |
|
|
1753 | ac_fn_cxx_check_header_mongrel () |
|
|
1754 | { |
|
|
1755 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
|
1756 | if eval \${$3+:} false; then : |
|
|
1757 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
|
|
1758 | $as_echo_n "checking for $2... " >&6; } |
|
|
1759 | if eval \${$3+:} false; then : |
|
|
1760 | $as_echo_n "(cached) " >&6 |
|
|
1761 | fi |
|
|
1762 | eval ac_res=\$$3 |
|
|
1763 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
|
|
1764 | $as_echo "$ac_res" >&6; } |
|
|
1765 | else |
|
|
1766 | # Is the header compilable? |
|
|
1767 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 |
|
|
1768 | $as_echo_n "checking $2 usability... " >&6; } |
|
|
1769 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
1770 | /* end confdefs.h. */ |
|
|
1771 | $4 |
|
|
1772 | #include <$2> |
|
|
1773 | _ACEOF |
|
|
1774 | if ac_fn_cxx_try_compile "$LINENO"; then : |
|
|
1775 | ac_header_compiler=yes |
|
|
1776 | else |
|
|
1777 | ac_header_compiler=no |
|
|
1778 | fi |
|
|
1779 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
1780 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 |
|
|
1781 | $as_echo "$ac_header_compiler" >&6; } |
|
|
1782 | |
|
|
1783 | # Is the header present? |
|
|
1784 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 |
|
|
1785 | $as_echo_n "checking $2 presence... " >&6; } |
|
|
1786 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
1787 | /* end confdefs.h. */ |
|
|
1788 | #include <$2> |
|
|
1789 | _ACEOF |
|
|
1790 | if ac_fn_cxx_try_cpp "$LINENO"; then : |
|
|
1791 | ac_header_preproc=yes |
|
|
1792 | else |
|
|
1793 | ac_header_preproc=no |
|
|
1794 | fi |
|
|
1795 | rm -f conftest.err conftest.i conftest.$ac_ext |
|
|
1796 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 |
|
|
1797 | $as_echo "$ac_header_preproc" >&6; } |
|
|
1798 | |
|
|
1799 | # So? What about this header? |
|
|
1800 | case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #(( |
|
|
1801 | yes:no: ) |
|
|
1802 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 |
|
|
1803 | $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} |
|
|
1804 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
|
|
1805 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
|
|
1806 | ;; |
|
|
1807 | no:yes:* ) |
|
|
1808 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 |
|
|
1809 | $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} |
|
|
1810 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 |
|
|
1811 | $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} |
|
|
1812 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 |
|
|
1813 | $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} |
|
|
1814 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 |
|
|
1815 | $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} |
|
|
1816 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
|
|
1817 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
|
|
1818 | ;; |
|
|
1819 | esac |
|
|
1820 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
|
|
1821 | $as_echo_n "checking for $2... " >&6; } |
|
|
1822 | if eval \${$3+:} false; then : |
|
|
1823 | $as_echo_n "(cached) " >&6 |
|
|
1824 | else |
|
|
1825 | eval "$3=\$ac_header_compiler" |
|
|
1826 | fi |
|
|
1827 | eval ac_res=\$$3 |
|
|
1828 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
|
|
1829 | $as_echo "$ac_res" >&6; } |
|
|
1830 | fi |
|
|
1831 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
|
|
1832 | |
|
|
1833 | } # ac_fn_cxx_check_header_mongrel |
|
|
1834 | |
|
|
1835 | # ac_fn_cxx_try_run LINENO |
|
|
1836 | # ------------------------ |
|
|
1837 | # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes |
|
|
1838 | # that executables *can* be run. |
|
|
1839 | ac_fn_cxx_try_run () |
|
|
1840 | { |
|
|
1841 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
|
1842 | if { { ac_try="$ac_link" |
|
|
1843 | case "(($ac_try" in |
|
|
1844 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
1845 | *) ac_try_echo=$ac_try;; |
|
|
1846 | esac |
|
|
1847 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
|
1848 | $as_echo "$ac_try_echo"; } >&5 |
|
|
1849 | (eval "$ac_link") 2>&5 |
|
|
1850 | ac_status=$? |
|
|
1851 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
|
1852 | test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' |
|
|
1853 | { { case "(($ac_try" in |
|
|
1854 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
1855 | *) ac_try_echo=$ac_try;; |
|
|
1856 | esac |
|
|
1857 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
|
1858 | $as_echo "$ac_try_echo"; } >&5 |
|
|
1859 | (eval "$ac_try") 2>&5 |
|
|
1860 | ac_status=$? |
|
|
1861 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
|
1862 | test $ac_status = 0; }; }; then : |
|
|
1863 | ac_retval=0 |
|
|
1864 | else |
|
|
1865 | $as_echo "$as_me: program exited with status $ac_status" >&5 |
|
|
1866 | $as_echo "$as_me: failed program was:" >&5 |
|
|
1867 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
1868 | |
|
|
1869 | ac_retval=$ac_status |
|
|
1870 | fi |
|
|
1871 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
|
|
1872 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
|
|
1873 | as_fn_set_status $ac_retval |
|
|
1874 | |
|
|
1875 | } # ac_fn_cxx_try_run |
|
|
1876 | |
1784 | |
1877 | # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES |
1785 | # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES |
1878 | # --------------------------------------------------------- |
1786 | # --------------------------------------------------------- |
1879 | # Tests whether HEADER exists and can be compiled using the include files in |
1787 | # Tests whether HEADER exists and can be compiled using the include files in |
1880 | # INCLUDES, setting the cache variable VAR accordingly. |
1788 | # INCLUDES, setting the cache variable VAR accordingly. |
1881 | ac_fn_cxx_check_header_compile () |
1789 | ac_fn_cxx_check_header_compile () |
1882 | { |
1790 | { |
1883 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1791 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1884 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1792 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1885 | $as_echo_n "checking for $2... " >&6; } |
1793 | printf %s "checking for $2... " >&6; } |
1886 | if eval \${$3+:} false; then : |
1794 | if eval test \${$3+y} |
1887 | $as_echo_n "(cached) " >&6 |
1795 | then : |
1888 | else |
1796 | printf %s "(cached) " >&6 |
|
|
1797 | else $as_nop |
1889 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1798 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1890 | /* end confdefs.h. */ |
1799 | /* end confdefs.h. */ |
1891 | $4 |
1800 | $4 |
1892 | #include <$2> |
1801 | #include <$2> |
1893 | _ACEOF |
1802 | _ACEOF |
1894 | if ac_fn_cxx_try_compile "$LINENO"; then : |
1803 | if ac_fn_cxx_try_compile "$LINENO" |
|
|
1804 | then : |
1895 | eval "$3=yes" |
1805 | eval "$3=yes" |
1896 | else |
1806 | else $as_nop |
1897 | eval "$3=no" |
1807 | eval "$3=no" |
1898 | fi |
1808 | fi |
1899 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
1809 | rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
1900 | fi |
1810 | fi |
1901 | eval ac_res=\$$3 |
1811 | eval ac_res=\$$3 |
1902 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1812 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1903 | $as_echo "$ac_res" >&6; } |
1813 | printf "%s\n" "$ac_res" >&6; } |
1904 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1814 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1905 | |
1815 | |
1906 | } # ac_fn_cxx_check_header_compile |
1816 | } # ac_fn_cxx_check_header_compile |
1907 | |
1817 | |
1908 | # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES |
1818 | # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES |
… | |
… | |
1910 | # Tests whether TYPE exists after having included INCLUDES, setting cache |
1820 | # Tests whether TYPE exists after having included INCLUDES, setting cache |
1911 | # variable VAR accordingly. |
1821 | # variable VAR accordingly. |
1912 | ac_fn_cxx_check_type () |
1822 | ac_fn_cxx_check_type () |
1913 | { |
1823 | { |
1914 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1824 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1915 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1825 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1916 | $as_echo_n "checking for $2... " >&6; } |
1826 | printf %s "checking for $2... " >&6; } |
1917 | if eval \${$3+:} false; then : |
1827 | if eval test \${$3+y} |
1918 | $as_echo_n "(cached) " >&6 |
1828 | then : |
1919 | else |
1829 | printf %s "(cached) " >&6 |
|
|
1830 | else $as_nop |
1920 | eval "$3=no" |
1831 | eval "$3=no" |
1921 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1832 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1922 | /* end confdefs.h. */ |
1833 | /* end confdefs.h. */ |
1923 | $4 |
1834 | $4 |
1924 | int |
1835 | int |
1925 | main () |
1836 | main (void) |
1926 | { |
1837 | { |
1927 | if (sizeof ($2)) |
1838 | if (sizeof ($2)) |
1928 | return 0; |
1839 | return 0; |
1929 | ; |
1840 | ; |
1930 | return 0; |
1841 | return 0; |
1931 | } |
1842 | } |
1932 | _ACEOF |
1843 | _ACEOF |
1933 | if ac_fn_cxx_try_compile "$LINENO"; then : |
1844 | if ac_fn_cxx_try_compile "$LINENO" |
|
|
1845 | then : |
1934 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1846 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1935 | /* end confdefs.h. */ |
1847 | /* end confdefs.h. */ |
1936 | $4 |
1848 | $4 |
1937 | int |
1849 | int |
1938 | main () |
1850 | main (void) |
1939 | { |
1851 | { |
1940 | if (sizeof (($2))) |
1852 | if (sizeof (($2))) |
1941 | return 0; |
1853 | return 0; |
1942 | ; |
1854 | ; |
1943 | return 0; |
1855 | return 0; |
1944 | } |
1856 | } |
1945 | _ACEOF |
1857 | _ACEOF |
1946 | if ac_fn_cxx_try_compile "$LINENO"; then : |
1858 | if ac_fn_cxx_try_compile "$LINENO" |
|
|
1859 | then : |
1947 | |
1860 | |
1948 | else |
1861 | else $as_nop |
1949 | eval "$3=yes" |
1862 | eval "$3=yes" |
1950 | fi |
1863 | fi |
1951 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
1864 | rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
1952 | fi |
1865 | fi |
1953 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
1866 | rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
1954 | fi |
1867 | fi |
1955 | eval ac_res=\$$3 |
1868 | eval ac_res=\$$3 |
1956 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1869 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1957 | $as_echo "$ac_res" >&6; } |
1870 | printf "%s\n" "$ac_res" >&6; } |
1958 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1871 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1959 | |
1872 | |
1960 | } # ac_fn_cxx_check_type |
1873 | } # ac_fn_cxx_check_type |
1961 | |
|
|
1962 | # ac_fn_c_try_run LINENO |
|
|
1963 | # ---------------------- |
|
|
1964 | # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes |
|
|
1965 | # that executables *can* be run. |
|
|
1966 | ac_fn_c_try_run () |
|
|
1967 | { |
|
|
1968 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
|
1969 | if { { ac_try="$ac_link" |
|
|
1970 | case "(($ac_try" in |
|
|
1971 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
1972 | *) ac_try_echo=$ac_try;; |
|
|
1973 | esac |
|
|
1974 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
|
1975 | $as_echo "$ac_try_echo"; } >&5 |
|
|
1976 | (eval "$ac_link") 2>&5 |
|
|
1977 | ac_status=$? |
|
|
1978 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
|
1979 | test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' |
|
|
1980 | { { case "(($ac_try" in |
|
|
1981 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
1982 | *) ac_try_echo=$ac_try;; |
|
|
1983 | esac |
|
|
1984 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
|
1985 | $as_echo "$ac_try_echo"; } >&5 |
|
|
1986 | (eval "$ac_try") 2>&5 |
|
|
1987 | ac_status=$? |
|
|
1988 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
|
1989 | test $ac_status = 0; }; }; then : |
|
|
1990 | ac_retval=0 |
|
|
1991 | else |
|
|
1992 | $as_echo "$as_me: program exited with status $ac_status" >&5 |
|
|
1993 | $as_echo "$as_me: failed program was:" >&5 |
|
|
1994 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
1995 | |
|
|
1996 | ac_retval=$ac_status |
|
|
1997 | fi |
|
|
1998 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
|
|
1999 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
|
|
2000 | as_fn_set_status $ac_retval |
|
|
2001 | |
|
|
2002 | } # ac_fn_c_try_run |
|
|
2003 | |
1874 | |
2004 | # ac_fn_c_check_func LINENO FUNC VAR |
1875 | # ac_fn_c_check_func LINENO FUNC VAR |
2005 | # ---------------------------------- |
1876 | # ---------------------------------- |
2006 | # Tests whether FUNC exists, setting the cache variable VAR accordingly |
1877 | # Tests whether FUNC exists, setting the cache variable VAR accordingly |
2007 | ac_fn_c_check_func () |
1878 | ac_fn_c_check_func () |
2008 | { |
1879 | { |
2009 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1880 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
2010 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1881 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
2011 | $as_echo_n "checking for $2... " >&6; } |
1882 | printf %s "checking for $2... " >&6; } |
2012 | if eval \${$3+:} false; then : |
1883 | if eval test \${$3+y} |
2013 | $as_echo_n "(cached) " >&6 |
1884 | then : |
2014 | else |
1885 | printf %s "(cached) " >&6 |
|
|
1886 | else $as_nop |
2015 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1887 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2016 | /* end confdefs.h. */ |
1888 | /* end confdefs.h. */ |
2017 | /* Define $2 to an innocuous variant, in case <limits.h> declares $2. |
1889 | /* Define $2 to an innocuous variant, in case <limits.h> declares $2. |
2018 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
1890 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
2019 | #define $2 innocuous_$2 |
1891 | #define $2 innocuous_$2 |
2020 | |
1892 | |
2021 | /* System header to define __stub macros and hopefully few prototypes, |
1893 | /* System header to define __stub macros and hopefully few prototypes, |
2022 | which can conflict with char $2 (); below. |
1894 | which can conflict with char $2 (); below. */ |
2023 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
2024 | <limits.h> exists even on freestanding compilers. */ |
|
|
2025 | |
1895 | |
2026 | #ifdef __STDC__ |
|
|
2027 | # include <limits.h> |
1896 | #include <limits.h> |
2028 | #else |
|
|
2029 | # include <assert.h> |
|
|
2030 | #endif |
|
|
2031 | |
|
|
2032 | #undef $2 |
1897 | #undef $2 |
2033 | |
1898 | |
2034 | /* Override any GCC internal prototype to avoid an error. |
1899 | /* Override any GCC internal prototype to avoid an error. |
2035 | Use char because int might match the return type of a GCC |
1900 | Use char because int might match the return type of a GCC |
2036 | builtin and then its argument prototype would still apply. */ |
1901 | builtin and then its argument prototype would still apply. */ |
… | |
… | |
2044 | #if defined __stub_$2 || defined __stub___$2 |
1909 | #if defined __stub_$2 || defined __stub___$2 |
2045 | choke me |
1910 | choke me |
2046 | #endif |
1911 | #endif |
2047 | |
1912 | |
2048 | int |
1913 | int |
2049 | main () |
1914 | main (void) |
2050 | { |
1915 | { |
2051 | return $2 (); |
1916 | return $2 (); |
2052 | ; |
1917 | ; |
2053 | return 0; |
1918 | return 0; |
2054 | } |
1919 | } |
2055 | _ACEOF |
1920 | _ACEOF |
2056 | if ac_fn_c_try_link "$LINENO"; then : |
1921 | if ac_fn_c_try_link "$LINENO" |
|
|
1922 | then : |
2057 | eval "$3=yes" |
1923 | eval "$3=yes" |
2058 | else |
1924 | else $as_nop |
2059 | eval "$3=no" |
1925 | eval "$3=no" |
2060 | fi |
1926 | fi |
2061 | rm -f core conftest.err conftest.$ac_objext \ |
1927 | rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
2062 | conftest$ac_exeext conftest.$ac_ext |
1928 | conftest$ac_exeext conftest.$ac_ext |
2063 | fi |
1929 | fi |
2064 | eval ac_res=\$$3 |
1930 | eval ac_res=\$$3 |
2065 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1931 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
2066 | $as_echo "$ac_res" >&6; } |
1932 | printf "%s\n" "$ac_res" >&6; } |
2067 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1933 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
2068 | |
1934 | |
2069 | } # ac_fn_c_check_func |
1935 | } # ac_fn_c_check_func |
2070 | |
1936 | |
2071 | # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES |
1937 | # ac_fn_c_try_run LINENO |
2072 | # ------------------------------------------------------- |
1938 | # ---------------------- |
2073 | # Tests whether HEADER exists, giving a warning if it cannot be compiled using |
1939 | # Try to run conftest.$ac_ext, and return whether this succeeded. Assumes that |
2074 | # the include files in INCLUDES and setting the cache variable VAR |
1940 | # executables *can* be run. |
2075 | # accordingly. |
1941 | ac_fn_c_try_run () |
2076 | ac_fn_c_check_header_mongrel () |
|
|
2077 | { |
1942 | { |
2078 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1943 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
2079 | if eval \${$3+:} false; then : |
1944 | if { { ac_try="$ac_link" |
|
|
1945 | case "(($ac_try" in |
|
|
1946 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
1947 | *) ac_try_echo=$ac_try;; |
|
|
1948 | esac |
|
|
1949 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
|
1950 | printf "%s\n" "$ac_try_echo"; } >&5 |
|
|
1951 | (eval "$ac_link") 2>&5 |
|
|
1952 | ac_status=$? |
|
|
1953 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
|
1954 | test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' |
|
|
1955 | { { case "(($ac_try" in |
|
|
1956 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
1957 | *) ac_try_echo=$ac_try;; |
|
|
1958 | esac |
|
|
1959 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
|
1960 | printf "%s\n" "$ac_try_echo"; } >&5 |
|
|
1961 | (eval "$ac_try") 2>&5 |
|
|
1962 | ac_status=$? |
|
|
1963 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
|
1964 | test $ac_status = 0; }; } |
|
|
1965 | then : |
|
|
1966 | ac_retval=0 |
|
|
1967 | else $as_nop |
|
|
1968 | printf "%s\n" "$as_me: program exited with status $ac_status" >&5 |
|
|
1969 | printf "%s\n" "$as_me: failed program was:" >&5 |
|
|
1970 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
1971 | |
|
|
1972 | ac_retval=$ac_status |
|
|
1973 | fi |
|
|
1974 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
|
|
1975 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
|
|
1976 | as_fn_set_status $ac_retval |
|
|
1977 | |
|
|
1978 | } # ac_fn_c_try_run |
|
|
1979 | |
|
|
1980 | # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES |
|
|
1981 | # ------------------------------------------------------- |
|
|
1982 | # Tests whether HEADER exists and can be compiled using the include files in |
|
|
1983 | # INCLUDES, setting the cache variable VAR accordingly. |
|
|
1984 | ac_fn_c_check_header_compile () |
|
|
1985 | { |
|
|
1986 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
2080 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1987 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
2081 | $as_echo_n "checking for $2... " >&6; } |
1988 | printf %s "checking for $2... " >&6; } |
2082 | if eval \${$3+:} false; then : |
1989 | if eval test \${$3+y} |
2083 | $as_echo_n "(cached) " >&6 |
1990 | then : |
2084 | fi |
1991 | printf %s "(cached) " >&6 |
2085 | eval ac_res=\$$3 |
1992 | else $as_nop |
2086 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
|
|
2087 | $as_echo "$ac_res" >&6; } |
|
|
2088 | else |
|
|
2089 | # Is the header compilable? |
|
|
2090 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 |
|
|
2091 | $as_echo_n "checking $2 usability... " >&6; } |
|
|
2092 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1993 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2093 | /* end confdefs.h. */ |
1994 | /* end confdefs.h. */ |
2094 | $4 |
1995 | $4 |
2095 | #include <$2> |
1996 | #include <$2> |
2096 | _ACEOF |
1997 | _ACEOF |
2097 | if ac_fn_c_try_compile "$LINENO"; then : |
1998 | if ac_fn_c_try_compile "$LINENO" |
2098 | ac_header_compiler=yes |
1999 | then : |
2099 | else |
2000 | eval "$3=yes" |
2100 | ac_header_compiler=no |
2001 | else $as_nop |
|
|
2002 | eval "$3=no" |
2101 | fi |
2003 | fi |
2102 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2004 | rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
2103 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 |
2005 | fi |
2104 | $as_echo "$ac_header_compiler" >&6; } |
2006 | eval ac_res=\$$3 |
|
|
2007 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
|
|
2008 | printf "%s\n" "$ac_res" >&6; } |
|
|
2009 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
2105 | |
2010 | |
2106 | # Is the header present? |
2011 | } # ac_fn_c_check_header_compile |
2107 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 |
2012 | |
2108 | $as_echo_n "checking $2 presence... " >&6; } |
2013 | # ac_fn_c_check_type LINENO TYPE VAR INCLUDES |
|
|
2014 | # ------------------------------------------- |
|
|
2015 | # Tests whether TYPE exists after having included INCLUDES, setting cache |
|
|
2016 | # variable VAR accordingly. |
|
|
2017 | ac_fn_c_check_type () |
|
|
2018 | { |
|
|
2019 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
|
2020 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
|
|
2021 | printf %s "checking for $2... " >&6; } |
|
|
2022 | if eval test \${$3+y} |
|
|
2023 | then : |
|
|
2024 | printf %s "(cached) " >&6 |
|
|
2025 | else $as_nop |
|
|
2026 | eval "$3=no" |
2109 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2027 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2110 | /* end confdefs.h. */ |
2028 | /* end confdefs.h. */ |
2111 | #include <$2> |
2029 | $4 |
|
|
2030 | int |
|
|
2031 | main (void) |
|
|
2032 | { |
|
|
2033 | if (sizeof ($2)) |
|
|
2034 | return 0; |
|
|
2035 | ; |
|
|
2036 | return 0; |
|
|
2037 | } |
2112 | _ACEOF |
2038 | _ACEOF |
2113 | if ac_fn_c_try_cpp "$LINENO"; then : |
2039 | if ac_fn_c_try_compile "$LINENO" |
2114 | ac_header_preproc=yes |
2040 | then : |
2115 | else |
2041 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2116 | ac_header_preproc=no |
2042 | /* end confdefs.h. */ |
|
|
2043 | $4 |
|
|
2044 | int |
|
|
2045 | main (void) |
|
|
2046 | { |
|
|
2047 | if (sizeof (($2))) |
|
|
2048 | return 0; |
|
|
2049 | ; |
|
|
2050 | return 0; |
|
|
2051 | } |
|
|
2052 | _ACEOF |
|
|
2053 | if ac_fn_c_try_compile "$LINENO" |
|
|
2054 | then : |
|
|
2055 | |
|
|
2056 | else $as_nop |
|
|
2057 | eval "$3=yes" |
2117 | fi |
2058 | fi |
2118 | rm -f conftest.err conftest.i conftest.$ac_ext |
2059 | rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
2119 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 |
2060 | fi |
2120 | $as_echo "$ac_header_preproc" >&6; } |
2061 | rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
2121 | |
|
|
2122 | # So? What about this header? |
|
|
2123 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( |
|
|
2124 | yes:no: ) |
|
|
2125 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 |
|
|
2126 | $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} |
|
|
2127 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
|
|
2128 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
|
|
2129 | ;; |
|
|
2130 | no:yes:* ) |
|
|
2131 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 |
|
|
2132 | $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} |
|
|
2133 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 |
|
|
2134 | $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} |
|
|
2135 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 |
|
|
2136 | $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} |
|
|
2137 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 |
|
|
2138 | $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} |
|
|
2139 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
|
|
2140 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
|
|
2141 | ;; |
|
|
2142 | esac |
|
|
2143 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
|
|
2144 | $as_echo_n "checking for $2... " >&6; } |
|
|
2145 | if eval \${$3+:} false; then : |
|
|
2146 | $as_echo_n "(cached) " >&6 |
|
|
2147 | else |
|
|
2148 | eval "$3=\$ac_header_compiler" |
|
|
2149 | fi |
2062 | fi |
2150 | eval ac_res=\$$3 |
2063 | eval ac_res=\$$3 |
2151 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
2064 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
2152 | $as_echo "$ac_res" >&6; } |
2065 | printf "%s\n" "$ac_res" >&6; } |
2153 | fi |
|
|
2154 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
2066 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
2155 | |
2067 | |
2156 | } # ac_fn_c_check_header_mongrel |
2068 | } # ac_fn_c_check_type |
2157 | |
2069 | |
2158 | # ac_fn_cxx_try_link LINENO |
2070 | # ac_fn_cxx_try_link LINENO |
2159 | # ------------------------- |
2071 | # ------------------------- |
2160 | # Try to link conftest.$ac_ext, and return whether this succeeded. |
2072 | # Try to link conftest.$ac_ext, and return whether this succeeded. |
2161 | ac_fn_cxx_try_link () |
2073 | ac_fn_cxx_try_link () |
2162 | { |
2074 | { |
2163 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
2075 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
2164 | rm -f conftest.$ac_objext conftest$ac_exeext |
2076 | rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext |
2165 | if { { ac_try="$ac_link" |
2077 | if { { ac_try="$ac_link" |
2166 | case "(($ac_try" in |
2078 | case "(($ac_try" in |
2167 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2079 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2168 | *) ac_try_echo=$ac_try;; |
2080 | *) ac_try_echo=$ac_try;; |
2169 | esac |
2081 | esac |
2170 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
2082 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
2171 | $as_echo "$ac_try_echo"; } >&5 |
2083 | printf "%s\n" "$ac_try_echo"; } >&5 |
2172 | (eval "$ac_link") 2>conftest.err |
2084 | (eval "$ac_link") 2>conftest.err |
2173 | ac_status=$? |
2085 | ac_status=$? |
2174 | if test -s conftest.err; then |
2086 | if test -s conftest.err; then |
2175 | grep -v '^ *+' conftest.err >conftest.er1 |
2087 | grep -v '^ *+' conftest.err >conftest.er1 |
2176 | cat conftest.er1 >&5 |
2088 | cat conftest.er1 >&5 |
2177 | mv -f conftest.er1 conftest.err |
2089 | mv -f conftest.er1 conftest.err |
2178 | fi |
2090 | fi |
2179 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
2091 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
2180 | test $ac_status = 0; } && { |
2092 | test $ac_status = 0; } && { |
2181 | test -z "$ac_cxx_werror_flag" || |
2093 | test -z "$ac_cxx_werror_flag" || |
2182 | test ! -s conftest.err |
2094 | test ! -s conftest.err |
2183 | } && test -s conftest$ac_exeext && { |
2095 | } && test -s conftest$ac_exeext && { |
2184 | test "$cross_compiling" = yes || |
2096 | test "$cross_compiling" = yes || |
2185 | test -x conftest$ac_exeext |
2097 | test -x conftest$ac_exeext |
2186 | }; then : |
2098 | } |
|
|
2099 | then : |
2187 | ac_retval=0 |
2100 | ac_retval=0 |
2188 | else |
2101 | else $as_nop |
2189 | $as_echo "$as_me: failed program was:" >&5 |
2102 | printf "%s\n" "$as_me: failed program was:" >&5 |
2190 | sed 's/^/| /' conftest.$ac_ext >&5 |
2103 | sed 's/^/| /' conftest.$ac_ext >&5 |
2191 | |
2104 | |
2192 | ac_retval=1 |
2105 | ac_retval=1 |
2193 | fi |
2106 | fi |
2194 | # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information |
2107 | # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information |
… | |
… | |
2198 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
2111 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
2199 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
2112 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
2200 | as_fn_set_status $ac_retval |
2113 | as_fn_set_status $ac_retval |
2201 | |
2114 | |
2202 | } # ac_fn_cxx_try_link |
2115 | } # ac_fn_cxx_try_link |
|
|
2116 | ac_configure_args_raw= |
|
|
2117 | for ac_arg |
|
|
2118 | do |
|
|
2119 | case $ac_arg in |
|
|
2120 | *\'*) |
|
|
2121 | ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
|
|
2122 | esac |
|
|
2123 | as_fn_append ac_configure_args_raw " '$ac_arg'" |
|
|
2124 | done |
2203 | |
2125 | |
2204 | # ac_fn_cxx_check_func LINENO FUNC VAR |
2126 | case $ac_configure_args_raw in |
2205 | # ------------------------------------ |
2127 | *$as_nl*) |
2206 | # Tests whether FUNC exists, setting the cache variable VAR accordingly |
2128 | ac_safe_unquote= ;; |
2207 | ac_fn_cxx_check_func () |
2129 | *) |
2208 | { |
2130 | ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab. |
2209 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
2131 | ac_unsafe_a="$ac_unsafe_z#~" |
2210 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
2132 | ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g" |
2211 | $as_echo_n "checking for $2... " >&6; } |
2133 | ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;; |
2212 | if eval \${$3+:} false; then : |
2134 | esac |
2213 | $as_echo_n "(cached) " >&6 |
|
|
2214 | else |
|
|
2215 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
2216 | /* end confdefs.h. */ |
|
|
2217 | /* Define $2 to an innocuous variant, in case <limits.h> declares $2. |
|
|
2218 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
|
2219 | #define $2 innocuous_$2 |
|
|
2220 | |
2135 | |
2221 | /* System header to define __stub macros and hopefully few prototypes, |
|
|
2222 | which can conflict with char $2 (); below. |
|
|
2223 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
2224 | <limits.h> exists even on freestanding compilers. */ |
|
|
2225 | |
|
|
2226 | #ifdef __STDC__ |
|
|
2227 | # include <limits.h> |
|
|
2228 | #else |
|
|
2229 | # include <assert.h> |
|
|
2230 | #endif |
|
|
2231 | |
|
|
2232 | #undef $2 |
|
|
2233 | |
|
|
2234 | /* Override any GCC internal prototype to avoid an error. |
|
|
2235 | Use char because int might match the return type of a GCC |
|
|
2236 | builtin and then its argument prototype would still apply. */ |
|
|
2237 | #ifdef __cplusplus |
|
|
2238 | extern "C" |
|
|
2239 | #endif |
|
|
2240 | char $2 (); |
|
|
2241 | /* The GNU C library defines this for functions which it implements |
|
|
2242 | to always fail with ENOSYS. Some functions are actually named |
|
|
2243 | something starting with __ and the normal name is an alias. */ |
|
|
2244 | #if defined __stub_$2 || defined __stub___$2 |
|
|
2245 | choke me |
|
|
2246 | #endif |
|
|
2247 | |
|
|
2248 | int |
|
|
2249 | main () |
|
|
2250 | { |
|
|
2251 | return $2 (); |
|
|
2252 | ; |
|
|
2253 | return 0; |
|
|
2254 | } |
|
|
2255 | _ACEOF |
|
|
2256 | if ac_fn_cxx_try_link "$LINENO"; then : |
|
|
2257 | eval "$3=yes" |
|
|
2258 | else |
|
|
2259 | eval "$3=no" |
|
|
2260 | fi |
|
|
2261 | rm -f core conftest.err conftest.$ac_objext \ |
|
|
2262 | conftest$ac_exeext conftest.$ac_ext |
|
|
2263 | fi |
|
|
2264 | eval ac_res=\$$3 |
|
|
2265 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
|
|
2266 | $as_echo "$ac_res" >&6; } |
|
|
2267 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
|
|
2268 | |
|
|
2269 | } # ac_fn_cxx_check_func |
|
|
2270 | cat >config.log <<_ACEOF |
2136 | cat >config.log <<_ACEOF |
2271 | This file contains any messages produced by compilers while |
2137 | This file contains any messages produced by compilers while |
2272 | running configure, to aid debugging if configure makes a mistake. |
2138 | running configure, to aid debugging if configure makes a mistake. |
2273 | |
2139 | |
2274 | It was created by $as_me, which was |
2140 | It was created by gvpe $as_me 3.1, which was |
2275 | generated by GNU Autoconf 2.69. Invocation command line was |
2141 | generated by GNU Autoconf 2.71. Invocation command line was |
2276 | |
2142 | |
2277 | $ $0 $@ |
2143 | $ $0$ac_configure_args_raw |
2278 | |
2144 | |
2279 | _ACEOF |
2145 | _ACEOF |
2280 | exec 5>>config.log |
2146 | exec 5>>config.log |
2281 | { |
2147 | { |
2282 | cat <<_ASUNAME |
2148 | cat <<_ASUNAME |
… | |
… | |
2305 | |
2171 | |
2306 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2172 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2307 | for as_dir in $PATH |
2173 | for as_dir in $PATH |
2308 | do |
2174 | do |
2309 | IFS=$as_save_IFS |
2175 | IFS=$as_save_IFS |
2310 | test -z "$as_dir" && as_dir=. |
2176 | case $as_dir in #((( |
2311 | $as_echo "PATH: $as_dir" |
2177 | '') as_dir=./ ;; |
|
|
2178 | */) ;; |
|
|
2179 | *) as_dir=$as_dir/ ;; |
|
|
2180 | esac |
|
|
2181 | printf "%s\n" "PATH: $as_dir" |
2312 | done |
2182 | done |
2313 | IFS=$as_save_IFS |
2183 | IFS=$as_save_IFS |
2314 | |
2184 | |
2315 | } >&5 |
2185 | } >&5 |
2316 | |
2186 | |
… | |
… | |
2341 | -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
2211 | -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
2342 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
2212 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
2343 | | -silent | --silent | --silen | --sile | --sil) |
2213 | | -silent | --silent | --silen | --sile | --sil) |
2344 | continue ;; |
2214 | continue ;; |
2345 | *\'*) |
2215 | *\'*) |
2346 | ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
2216 | ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
2347 | esac |
2217 | esac |
2348 | case $ac_pass in |
2218 | case $ac_pass in |
2349 | 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; |
2219 | 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; |
2350 | 2) |
2220 | 2) |
2351 | as_fn_append ac_configure_args1 " '$ac_arg'" |
2221 | as_fn_append ac_configure_args1 " '$ac_arg'" |
… | |
… | |
2376 | # config.log. We remove comments because anyway the quotes in there |
2246 | # config.log. We remove comments because anyway the quotes in there |
2377 | # would cause problems or look ugly. |
2247 | # would cause problems or look ugly. |
2378 | # WARNING: Use '\'' to represent an apostrophe within the trap. |
2248 | # WARNING: Use '\'' to represent an apostrophe within the trap. |
2379 | # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. |
2249 | # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. |
2380 | trap 'exit_status=$? |
2250 | trap 'exit_status=$? |
|
|
2251 | # Sanitize IFS. |
|
|
2252 | IFS=" "" $as_nl" |
2381 | # Save into config.log some information that might help in debugging. |
2253 | # Save into config.log some information that might help in debugging. |
2382 | { |
2254 | { |
2383 | echo |
2255 | echo |
2384 | |
2256 | |
2385 | $as_echo "## ---------------- ## |
2257 | printf "%s\n" "## ---------------- ## |
2386 | ## Cache variables. ## |
2258 | ## Cache variables. ## |
2387 | ## ---------------- ##" |
2259 | ## ---------------- ##" |
2388 | echo |
2260 | echo |
2389 | # The following way of writing the cache mishandles newlines in values, |
2261 | # The following way of writing the cache mishandles newlines in values, |
2390 | ( |
2262 | ( |
2391 | for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do |
2263 | for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do |
2392 | eval ac_val=\$$ac_var |
2264 | eval ac_val=\$$ac_var |
2393 | case $ac_val in #( |
2265 | case $ac_val in #( |
2394 | *${as_nl}*) |
2266 | *${as_nl}*) |
2395 | case $ac_var in #( |
2267 | case $ac_var in #( |
2396 | *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
2268 | *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
2397 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
2269 | printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
2398 | esac |
2270 | esac |
2399 | case $ac_var in #( |
2271 | case $ac_var in #( |
2400 | _ | IFS | as_nl) ;; #( |
2272 | _ | IFS | as_nl) ;; #( |
2401 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
2273 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
2402 | *) { eval $ac_var=; unset $ac_var;} ;; |
2274 | *) { eval $ac_var=; unset $ac_var;} ;; |
… | |
… | |
2416 | esac | |
2288 | esac | |
2417 | sort |
2289 | sort |
2418 | ) |
2290 | ) |
2419 | echo |
2291 | echo |
2420 | |
2292 | |
2421 | $as_echo "## ----------------- ## |
2293 | printf "%s\n" "## ----------------- ## |
2422 | ## Output variables. ## |
2294 | ## Output variables. ## |
2423 | ## ----------------- ##" |
2295 | ## ----------------- ##" |
2424 | echo |
2296 | echo |
2425 | for ac_var in $ac_subst_vars |
2297 | for ac_var in $ac_subst_vars |
2426 | do |
2298 | do |
2427 | eval ac_val=\$$ac_var |
2299 | eval ac_val=\$$ac_var |
2428 | case $ac_val in |
2300 | case $ac_val in |
2429 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
2301 | *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
2430 | esac |
2302 | esac |
2431 | $as_echo "$ac_var='\''$ac_val'\''" |
2303 | printf "%s\n" "$ac_var='\''$ac_val'\''" |
2432 | done | sort |
2304 | done | sort |
2433 | echo |
2305 | echo |
2434 | |
2306 | |
2435 | if test -n "$ac_subst_files"; then |
2307 | if test -n "$ac_subst_files"; then |
2436 | $as_echo "## ------------------- ## |
2308 | printf "%s\n" "## ------------------- ## |
2437 | ## File substitutions. ## |
2309 | ## File substitutions. ## |
2438 | ## ------------------- ##" |
2310 | ## ------------------- ##" |
2439 | echo |
2311 | echo |
2440 | for ac_var in $ac_subst_files |
2312 | for ac_var in $ac_subst_files |
2441 | do |
2313 | do |
2442 | eval ac_val=\$$ac_var |
2314 | eval ac_val=\$$ac_var |
2443 | case $ac_val in |
2315 | case $ac_val in |
2444 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
2316 | *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
2445 | esac |
2317 | esac |
2446 | $as_echo "$ac_var='\''$ac_val'\''" |
2318 | printf "%s\n" "$ac_var='\''$ac_val'\''" |
2447 | done | sort |
2319 | done | sort |
2448 | echo |
2320 | echo |
2449 | fi |
2321 | fi |
2450 | |
2322 | |
2451 | if test -s confdefs.h; then |
2323 | if test -s confdefs.h; then |
2452 | $as_echo "## ----------- ## |
2324 | printf "%s\n" "## ----------- ## |
2453 | ## confdefs.h. ## |
2325 | ## confdefs.h. ## |
2454 | ## ----------- ##" |
2326 | ## ----------- ##" |
2455 | echo |
2327 | echo |
2456 | cat confdefs.h |
2328 | cat confdefs.h |
2457 | echo |
2329 | echo |
2458 | fi |
2330 | fi |
2459 | test "$ac_signal" != 0 && |
2331 | test "$ac_signal" != 0 && |
2460 | $as_echo "$as_me: caught signal $ac_signal" |
2332 | printf "%s\n" "$as_me: caught signal $ac_signal" |
2461 | $as_echo "$as_me: exit $exit_status" |
2333 | printf "%s\n" "$as_me: exit $exit_status" |
2462 | } >&5 |
2334 | } >&5 |
2463 | rm -f core *.core core.conftest.* && |
2335 | rm -f core *.core core.conftest.* && |
2464 | rm -f -r conftest* confdefs* conf$$* $ac_clean_files && |
2336 | rm -f -r conftest* confdefs* conf$$* $ac_clean_files && |
2465 | exit $exit_status |
2337 | exit $exit_status |
2466 | ' 0 |
2338 | ' 0 |
… | |
… | |
2470 | ac_signal=0 |
2342 | ac_signal=0 |
2471 | |
2343 | |
2472 | # confdefs.h avoids OS command line length limits that DEFS can exceed. |
2344 | # confdefs.h avoids OS command line length limits that DEFS can exceed. |
2473 | rm -f -r conftest* confdefs.h |
2345 | rm -f -r conftest* confdefs.h |
2474 | |
2346 | |
2475 | $as_echo "/* confdefs.h */" > confdefs.h |
2347 | printf "%s\n" "/* confdefs.h */" > confdefs.h |
2476 | |
2348 | |
2477 | # Predefined preprocessor variables. |
2349 | # Predefined preprocessor variables. |
2478 | |
2350 | |
2479 | cat >>confdefs.h <<_ACEOF |
2351 | printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h |
2480 | #define PACKAGE_NAME "$PACKAGE_NAME" |
|
|
2481 | _ACEOF |
|
|
2482 | |
2352 | |
2483 | cat >>confdefs.h <<_ACEOF |
2353 | printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h |
2484 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
|
|
2485 | _ACEOF |
|
|
2486 | |
2354 | |
2487 | cat >>confdefs.h <<_ACEOF |
2355 | printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h |
2488 | #define PACKAGE_VERSION "$PACKAGE_VERSION" |
|
|
2489 | _ACEOF |
|
|
2490 | |
2356 | |
2491 | cat >>confdefs.h <<_ACEOF |
2357 | printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h |
2492 | #define PACKAGE_STRING "$PACKAGE_STRING" |
|
|
2493 | _ACEOF |
|
|
2494 | |
2358 | |
2495 | cat >>confdefs.h <<_ACEOF |
2359 | printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h |
2496 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
|
|
2497 | _ACEOF |
|
|
2498 | |
2360 | |
2499 | cat >>confdefs.h <<_ACEOF |
2361 | printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h |
2500 | #define PACKAGE_URL "$PACKAGE_URL" |
|
|
2501 | _ACEOF |
|
|
2502 | |
2362 | |
2503 | |
2363 | |
2504 | # Let the site file select an alternate cache file if it wants to. |
2364 | # Let the site file select an alternate cache file if it wants to. |
2505 | # Prefer an explicitly selected file to automatically selected ones. |
2365 | # Prefer an explicitly selected file to automatically selected ones. |
2506 | ac_site_file1=NONE |
|
|
2507 | ac_site_file2=NONE |
|
|
2508 | if test -n "$CONFIG_SITE"; then |
2366 | if test -n "$CONFIG_SITE"; then |
2509 | # We do not want a PATH search for config.site. |
|
|
2510 | case $CONFIG_SITE in #(( |
|
|
2511 | -*) ac_site_file1=./$CONFIG_SITE;; |
|
|
2512 | */*) ac_site_file1=$CONFIG_SITE;; |
2367 | ac_site_files="$CONFIG_SITE" |
2513 | *) ac_site_file1=./$CONFIG_SITE;; |
|
|
2514 | esac |
|
|
2515 | elif test "x$prefix" != xNONE; then |
2368 | elif test "x$prefix" != xNONE; then |
2516 | ac_site_file1=$prefix/share/config.site |
2369 | ac_site_files="$prefix/share/config.site $prefix/etc/config.site" |
2517 | ac_site_file2=$prefix/etc/config.site |
|
|
2518 | else |
2370 | else |
2519 | ac_site_file1=$ac_default_prefix/share/config.site |
2371 | ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" |
2520 | ac_site_file2=$ac_default_prefix/etc/config.site |
|
|
2521 | fi |
2372 | fi |
|
|
2373 | |
2522 | for ac_site_file in "$ac_site_file1" "$ac_site_file2" |
2374 | for ac_site_file in $ac_site_files |
2523 | do |
2375 | do |
2524 | test "x$ac_site_file" = xNONE && continue |
2376 | case $ac_site_file in #( |
|
|
2377 | */*) : |
|
|
2378 | ;; #( |
|
|
2379 | *) : |
|
|
2380 | ac_site_file=./$ac_site_file ;; |
|
|
2381 | esac |
2525 | if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then |
2382 | if test -f "$ac_site_file" && test -r "$ac_site_file"; then |
2526 | { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 |
2383 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 |
2527 | $as_echo "$as_me: loading site script $ac_site_file" >&6;} |
2384 | printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;} |
2528 | sed 's/^/| /' "$ac_site_file" >&5 |
2385 | sed 's/^/| /' "$ac_site_file" >&5 |
2529 | . "$ac_site_file" \ |
2386 | . "$ac_site_file" \ |
2530 | || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2387 | || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2531 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2388 | printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
2532 | as_fn_error $? "failed to load site script $ac_site_file |
2389 | as_fn_error $? "failed to load site script $ac_site_file |
2533 | See \`config.log' for more details" "$LINENO" 5; } |
2390 | See \`config.log' for more details" "$LINENO" 5; } |
2534 | fi |
2391 | fi |
2535 | done |
2392 | done |
2536 | |
2393 | |
2537 | if test -r "$cache_file"; then |
2394 | if test -r "$cache_file"; then |
2538 | # Some versions of bash will fail to source /dev/null (special files |
2395 | # Some versions of bash will fail to source /dev/null (special files |
2539 | # actually), so we avoid doing that. DJGPP emulates it as a regular file. |
2396 | # actually), so we avoid doing that. DJGPP emulates it as a regular file. |
2540 | if test /dev/null != "$cache_file" && test -f "$cache_file"; then |
2397 | if test /dev/null != "$cache_file" && test -f "$cache_file"; then |
2541 | { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 |
2398 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 |
2542 | $as_echo "$as_me: loading cache $cache_file" >&6;} |
2399 | printf "%s\n" "$as_me: loading cache $cache_file" >&6;} |
2543 | case $cache_file in |
2400 | case $cache_file in |
2544 | [\\/]* | ?:[\\/]* ) . "$cache_file";; |
2401 | [\\/]* | ?:[\\/]* ) . "$cache_file";; |
2545 | *) . "./$cache_file";; |
2402 | *) . "./$cache_file";; |
2546 | esac |
2403 | esac |
2547 | fi |
2404 | fi |
2548 | else |
2405 | else |
2549 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 |
2406 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 |
2550 | $as_echo "$as_me: creating cache $cache_file" >&6;} |
2407 | printf "%s\n" "$as_me: creating cache $cache_file" >&6;} |
2551 | >$cache_file |
2408 | >$cache_file |
|
|
2409 | fi |
|
|
2410 | |
|
|
2411 | # Test code for whether the C compiler supports C89 (global declarations) |
|
|
2412 | ac_c_conftest_c89_globals=' |
|
|
2413 | /* Does the compiler advertise C89 conformance? |
|
|
2414 | Do not test the value of __STDC__, because some compilers set it to 0 |
|
|
2415 | while being otherwise adequately conformant. */ |
|
|
2416 | #if !defined __STDC__ |
|
|
2417 | # error "Compiler does not advertise C89 conformance" |
|
|
2418 | #endif |
|
|
2419 | |
|
|
2420 | #include <stddef.h> |
|
|
2421 | #include <stdarg.h> |
|
|
2422 | struct stat; |
|
|
2423 | /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */ |
|
|
2424 | struct buf { int x; }; |
|
|
2425 | struct buf * (*rcsopen) (struct buf *, struct stat *, int); |
|
|
2426 | static char *e (p, i) |
|
|
2427 | char **p; |
|
|
2428 | int i; |
|
|
2429 | { |
|
|
2430 | return p[i]; |
|
|
2431 | } |
|
|
2432 | static char *f (char * (*g) (char **, int), char **p, ...) |
|
|
2433 | { |
|
|
2434 | char *s; |
|
|
2435 | va_list v; |
|
|
2436 | va_start (v,p); |
|
|
2437 | s = g (p, va_arg (v,int)); |
|
|
2438 | va_end (v); |
|
|
2439 | return s; |
|
|
2440 | } |
|
|
2441 | |
|
|
2442 | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
|
|
2443 | function prototypes and stuff, but not \xHH hex character constants. |
|
|
2444 | These do not provoke an error unfortunately, instead are silently treated |
|
|
2445 | as an "x". The following induces an error, until -std is added to get |
|
|
2446 | proper ANSI mode. Curiously \x00 != x always comes out true, for an |
|
|
2447 | array size at least. It is necessary to write \x00 == 0 to get something |
|
|
2448 | that is true only with -std. */ |
|
|
2449 | int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1]; |
|
|
2450 | |
|
|
2451 | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters |
|
|
2452 | inside strings and character constants. */ |
|
|
2453 | #define FOO(x) '\''x'\'' |
|
|
2454 | int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1]; |
|
|
2455 | |
|
|
2456 | int test (int i, double x); |
|
|
2457 | struct s1 {int (*f) (int a);}; |
|
|
2458 | struct s2 {int (*f) (double a);}; |
|
|
2459 | int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int), |
|
|
2460 | int, int);' |
|
|
2461 | |
|
|
2462 | # Test code for whether the C compiler supports C89 (body of main). |
|
|
2463 | ac_c_conftest_c89_main=' |
|
|
2464 | ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]); |
|
|
2465 | ' |
|
|
2466 | |
|
|
2467 | # Test code for whether the C compiler supports C99 (global declarations) |
|
|
2468 | ac_c_conftest_c99_globals=' |
|
|
2469 | // Does the compiler advertise C99 conformance? |
|
|
2470 | #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L |
|
|
2471 | # error "Compiler does not advertise C99 conformance" |
|
|
2472 | #endif |
|
|
2473 | |
|
|
2474 | #include <stdbool.h> |
|
|
2475 | extern int puts (const char *); |
|
|
2476 | extern int printf (const char *, ...); |
|
|
2477 | extern int dprintf (int, const char *, ...); |
|
|
2478 | extern void *malloc (size_t); |
|
|
2479 | |
|
|
2480 | // Check varargs macros. These examples are taken from C99 6.10.3.5. |
|
|
2481 | // dprintf is used instead of fprintf to avoid needing to declare |
|
|
2482 | // FILE and stderr. |
|
|
2483 | #define debug(...) dprintf (2, __VA_ARGS__) |
|
|
2484 | #define showlist(...) puts (#__VA_ARGS__) |
|
|
2485 | #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) |
|
|
2486 | static void |
|
|
2487 | test_varargs_macros (void) |
|
|
2488 | { |
|
|
2489 | int x = 1234; |
|
|
2490 | int y = 5678; |
|
|
2491 | debug ("Flag"); |
|
|
2492 | debug ("X = %d\n", x); |
|
|
2493 | showlist (The first, second, and third items.); |
|
|
2494 | report (x>y, "x is %d but y is %d", x, y); |
|
|
2495 | } |
|
|
2496 | |
|
|
2497 | // Check long long types. |
|
|
2498 | #define BIG64 18446744073709551615ull |
|
|
2499 | #define BIG32 4294967295ul |
|
|
2500 | #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) |
|
|
2501 | #if !BIG_OK |
|
|
2502 | #error "your preprocessor is broken" |
|
|
2503 | #endif |
|
|
2504 | #if BIG_OK |
|
|
2505 | #else |
|
|
2506 | #error "your preprocessor is broken" |
|
|
2507 | #endif |
|
|
2508 | static long long int bignum = -9223372036854775807LL; |
|
|
2509 | static unsigned long long int ubignum = BIG64; |
|
|
2510 | |
|
|
2511 | struct incomplete_array |
|
|
2512 | { |
|
|
2513 | int datasize; |
|
|
2514 | double data[]; |
|
|
2515 | }; |
|
|
2516 | |
|
|
2517 | struct named_init { |
|
|
2518 | int number; |
|
|
2519 | const wchar_t *name; |
|
|
2520 | double average; |
|
|
2521 | }; |
|
|
2522 | |
|
|
2523 | typedef const char *ccp; |
|
|
2524 | |
|
|
2525 | static inline int |
|
|
2526 | test_restrict (ccp restrict text) |
|
|
2527 | { |
|
|
2528 | // See if C++-style comments work. |
|
|
2529 | // Iterate through items via the restricted pointer. |
|
|
2530 | // Also check for declarations in for loops. |
|
|
2531 | for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i) |
|
|
2532 | continue; |
|
|
2533 | return 0; |
|
|
2534 | } |
|
|
2535 | |
|
|
2536 | // Check varargs and va_copy. |
|
|
2537 | static bool |
|
|
2538 | test_varargs (const char *format, ...) |
|
|
2539 | { |
|
|
2540 | va_list args; |
|
|
2541 | va_start (args, format); |
|
|
2542 | va_list args_copy; |
|
|
2543 | va_copy (args_copy, args); |
|
|
2544 | |
|
|
2545 | const char *str = ""; |
|
|
2546 | int number = 0; |
|
|
2547 | float fnumber = 0; |
|
|
2548 | |
|
|
2549 | while (*format) |
|
|
2550 | { |
|
|
2551 | switch (*format++) |
|
|
2552 | { |
|
|
2553 | case '\''s'\'': // string |
|
|
2554 | str = va_arg (args_copy, const char *); |
|
|
2555 | break; |
|
|
2556 | case '\''d'\'': // int |
|
|
2557 | number = va_arg (args_copy, int); |
|
|
2558 | break; |
|
|
2559 | case '\''f'\'': // float |
|
|
2560 | fnumber = va_arg (args_copy, double); |
|
|
2561 | break; |
|
|
2562 | default: |
|
|
2563 | break; |
|
|
2564 | } |
|
|
2565 | } |
|
|
2566 | va_end (args_copy); |
|
|
2567 | va_end (args); |
|
|
2568 | |
|
|
2569 | return *str && number && fnumber; |
|
|
2570 | } |
|
|
2571 | ' |
|
|
2572 | |
|
|
2573 | # Test code for whether the C compiler supports C99 (body of main). |
|
|
2574 | ac_c_conftest_c99_main=' |
|
|
2575 | // Check bool. |
|
|
2576 | _Bool success = false; |
|
|
2577 | success |= (argc != 0); |
|
|
2578 | |
|
|
2579 | // Check restrict. |
|
|
2580 | if (test_restrict ("String literal") == 0) |
|
|
2581 | success = true; |
|
|
2582 | char *restrict newvar = "Another string"; |
|
|
2583 | |
|
|
2584 | // Check varargs. |
|
|
2585 | success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234); |
|
|
2586 | test_varargs_macros (); |
|
|
2587 | |
|
|
2588 | // Check flexible array members. |
|
|
2589 | struct incomplete_array *ia = |
|
|
2590 | malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); |
|
|
2591 | ia->datasize = 10; |
|
|
2592 | for (int i = 0; i < ia->datasize; ++i) |
|
|
2593 | ia->data[i] = i * 1.234; |
|
|
2594 | |
|
|
2595 | // Check named initializers. |
|
|
2596 | struct named_init ni = { |
|
|
2597 | .number = 34, |
|
|
2598 | .name = L"Test wide string", |
|
|
2599 | .average = 543.34343, |
|
|
2600 | }; |
|
|
2601 | |
|
|
2602 | ni.number = 58; |
|
|
2603 | |
|
|
2604 | int dynamic_array[ni.number]; |
|
|
2605 | dynamic_array[0] = argv[0][0]; |
|
|
2606 | dynamic_array[ni.number - 1] = 543; |
|
|
2607 | |
|
|
2608 | // work around unused variable warnings |
|
|
2609 | ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\'' |
|
|
2610 | || dynamic_array[ni.number - 1] != 543); |
|
|
2611 | ' |
|
|
2612 | |
|
|
2613 | # Test code for whether the C compiler supports C11 (global declarations) |
|
|
2614 | ac_c_conftest_c11_globals=' |
|
|
2615 | // Does the compiler advertise C11 conformance? |
|
|
2616 | #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L |
|
|
2617 | # error "Compiler does not advertise C11 conformance" |
|
|
2618 | #endif |
|
|
2619 | |
|
|
2620 | // Check _Alignas. |
|
|
2621 | char _Alignas (double) aligned_as_double; |
|
|
2622 | char _Alignas (0) no_special_alignment; |
|
|
2623 | extern char aligned_as_int; |
|
|
2624 | char _Alignas (0) _Alignas (int) aligned_as_int; |
|
|
2625 | |
|
|
2626 | // Check _Alignof. |
|
|
2627 | enum |
|
|
2628 | { |
|
|
2629 | int_alignment = _Alignof (int), |
|
|
2630 | int_array_alignment = _Alignof (int[100]), |
|
|
2631 | char_alignment = _Alignof (char) |
|
|
2632 | }; |
|
|
2633 | _Static_assert (0 < -_Alignof (int), "_Alignof is signed"); |
|
|
2634 | |
|
|
2635 | // Check _Noreturn. |
|
|
2636 | int _Noreturn does_not_return (void) { for (;;) continue; } |
|
|
2637 | |
|
|
2638 | // Check _Static_assert. |
|
|
2639 | struct test_static_assert |
|
|
2640 | { |
|
|
2641 | int x; |
|
|
2642 | _Static_assert (sizeof (int) <= sizeof (long int), |
|
|
2643 | "_Static_assert does not work in struct"); |
|
|
2644 | long int y; |
|
|
2645 | }; |
|
|
2646 | |
|
|
2647 | // Check UTF-8 literals. |
|
|
2648 | #define u8 syntax error! |
|
|
2649 | char const utf8_literal[] = u8"happens to be ASCII" "another string"; |
|
|
2650 | |
|
|
2651 | // Check duplicate typedefs. |
|
|
2652 | typedef long *long_ptr; |
|
|
2653 | typedef long int *long_ptr; |
|
|
2654 | typedef long_ptr long_ptr; |
|
|
2655 | |
|
|
2656 | // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1. |
|
|
2657 | struct anonymous |
|
|
2658 | { |
|
|
2659 | union { |
|
|
2660 | struct { int i; int j; }; |
|
|
2661 | struct { int k; long int l; } w; |
|
|
2662 | }; |
|
|
2663 | int m; |
|
|
2664 | } v1; |
|
|
2665 | ' |
|
|
2666 | |
|
|
2667 | # Test code for whether the C compiler supports C11 (body of main). |
|
|
2668 | ac_c_conftest_c11_main=' |
|
|
2669 | _Static_assert ((offsetof (struct anonymous, i) |
|
|
2670 | == offsetof (struct anonymous, w.k)), |
|
|
2671 | "Anonymous union alignment botch"); |
|
|
2672 | v1.i = 2; |
|
|
2673 | v1.w.k = 5; |
|
|
2674 | ok |= v1.i != 5; |
|
|
2675 | ' |
|
|
2676 | |
|
|
2677 | # Test code for whether the C compiler supports C11 (complete). |
|
|
2678 | ac_c_conftest_c11_program="${ac_c_conftest_c89_globals} |
|
|
2679 | ${ac_c_conftest_c99_globals} |
|
|
2680 | ${ac_c_conftest_c11_globals} |
|
|
2681 | |
|
|
2682 | int |
|
|
2683 | main (int argc, char **argv) |
|
|
2684 | { |
|
|
2685 | int ok = 0; |
|
|
2686 | ${ac_c_conftest_c89_main} |
|
|
2687 | ${ac_c_conftest_c99_main} |
|
|
2688 | ${ac_c_conftest_c11_main} |
|
|
2689 | return ok; |
|
|
2690 | } |
|
|
2691 | " |
|
|
2692 | |
|
|
2693 | # Test code for whether the C compiler supports C99 (complete). |
|
|
2694 | ac_c_conftest_c99_program="${ac_c_conftest_c89_globals} |
|
|
2695 | ${ac_c_conftest_c99_globals} |
|
|
2696 | |
|
|
2697 | int |
|
|
2698 | main (int argc, char **argv) |
|
|
2699 | { |
|
|
2700 | int ok = 0; |
|
|
2701 | ${ac_c_conftest_c89_main} |
|
|
2702 | ${ac_c_conftest_c99_main} |
|
|
2703 | return ok; |
|
|
2704 | } |
|
|
2705 | " |
|
|
2706 | |
|
|
2707 | # Test code for whether the C compiler supports C89 (complete). |
|
|
2708 | ac_c_conftest_c89_program="${ac_c_conftest_c89_globals} |
|
|
2709 | |
|
|
2710 | int |
|
|
2711 | main (int argc, char **argv) |
|
|
2712 | { |
|
|
2713 | int ok = 0; |
|
|
2714 | ${ac_c_conftest_c89_main} |
|
|
2715 | return ok; |
|
|
2716 | } |
|
|
2717 | " |
|
|
2718 | |
|
|
2719 | # Test code for whether the C++ compiler supports C++98 (global declarations) |
|
|
2720 | ac_cxx_conftest_cxx98_globals=' |
|
|
2721 | // Does the compiler advertise C++98 conformance? |
|
|
2722 | #if !defined __cplusplus || __cplusplus < 199711L |
|
|
2723 | # error "Compiler does not advertise C++98 conformance" |
|
|
2724 | #endif |
|
|
2725 | |
|
|
2726 | // These inclusions are to reject old compilers that |
|
|
2727 | // lack the unsuffixed header files. |
|
|
2728 | #include <cstdlib> |
|
|
2729 | #include <exception> |
|
|
2730 | |
|
|
2731 | // <cassert> and <cstring> are *not* freestanding headers in C++98. |
|
|
2732 | extern void assert (int); |
|
|
2733 | namespace std { |
|
|
2734 | extern int strcmp (const char *, const char *); |
|
|
2735 | } |
|
|
2736 | |
|
|
2737 | // Namespaces, exceptions, and templates were all added after "C++ 2.0". |
|
|
2738 | using std::exception; |
|
|
2739 | using std::strcmp; |
|
|
2740 | |
|
|
2741 | namespace { |
|
|
2742 | |
|
|
2743 | void test_exception_syntax() |
|
|
2744 | { |
|
|
2745 | try { |
|
|
2746 | throw "test"; |
|
|
2747 | } catch (const char *s) { |
|
|
2748 | // Extra parentheses suppress a warning when building autoconf itself, |
|
|
2749 | // due to lint rules shared with more typical C programs. |
|
|
2750 | assert (!(strcmp) (s, "test")); |
|
|
2751 | } |
|
|
2752 | } |
|
|
2753 | |
|
|
2754 | template <typename T> struct test_template |
|
|
2755 | { |
|
|
2756 | T const val; |
|
|
2757 | explicit test_template(T t) : val(t) {} |
|
|
2758 | template <typename U> T add(U u) { return static_cast<T>(u) + val; } |
|
|
2759 | }; |
|
|
2760 | |
|
|
2761 | } // anonymous namespace |
|
|
2762 | ' |
|
|
2763 | |
|
|
2764 | # Test code for whether the C++ compiler supports C++98 (body of main) |
|
|
2765 | ac_cxx_conftest_cxx98_main=' |
|
|
2766 | assert (argc); |
|
|
2767 | assert (! argv[0]); |
|
|
2768 | { |
|
|
2769 | test_exception_syntax (); |
|
|
2770 | test_template<double> tt (2.0); |
|
|
2771 | assert (tt.add (4) == 6.0); |
|
|
2772 | assert (true && !false); |
|
|
2773 | } |
|
|
2774 | ' |
|
|
2775 | |
|
|
2776 | # Test code for whether the C++ compiler supports C++11 (global declarations) |
|
|
2777 | ac_cxx_conftest_cxx11_globals=' |
|
|
2778 | // Does the compiler advertise C++ 2011 conformance? |
|
|
2779 | #if !defined __cplusplus || __cplusplus < 201103L |
|
|
2780 | # error "Compiler does not advertise C++11 conformance" |
|
|
2781 | #endif |
|
|
2782 | |
|
|
2783 | namespace cxx11test |
|
|
2784 | { |
|
|
2785 | constexpr int get_val() { return 20; } |
|
|
2786 | |
|
|
2787 | struct testinit |
|
|
2788 | { |
|
|
2789 | int i; |
|
|
2790 | double d; |
|
|
2791 | }; |
|
|
2792 | |
|
|
2793 | class delegate |
|
|
2794 | { |
|
|
2795 | public: |
|
|
2796 | delegate(int n) : n(n) {} |
|
|
2797 | delegate(): delegate(2354) {} |
|
|
2798 | |
|
|
2799 | virtual int getval() { return this->n; }; |
|
|
2800 | protected: |
|
|
2801 | int n; |
|
|
2802 | }; |
|
|
2803 | |
|
|
2804 | class overridden : public delegate |
|
|
2805 | { |
|
|
2806 | public: |
|
|
2807 | overridden(int n): delegate(n) {} |
|
|
2808 | virtual int getval() override final { return this->n * 2; } |
|
|
2809 | }; |
|
|
2810 | |
|
|
2811 | class nocopy |
|
|
2812 | { |
|
|
2813 | public: |
|
|
2814 | nocopy(int i): i(i) {} |
|
|
2815 | nocopy() = default; |
|
|
2816 | nocopy(const nocopy&) = delete; |
|
|
2817 | nocopy & operator=(const nocopy&) = delete; |
|
|
2818 | private: |
|
|
2819 | int i; |
|
|
2820 | }; |
|
|
2821 | |
|
|
2822 | // for testing lambda expressions |
|
|
2823 | template <typename Ret, typename Fn> Ret eval(Fn f, Ret v) |
|
|
2824 | { |
|
|
2825 | return f(v); |
|
|
2826 | } |
|
|
2827 | |
|
|
2828 | // for testing variadic templates and trailing return types |
|
|
2829 | template <typename V> auto sum(V first) -> V |
|
|
2830 | { |
|
|
2831 | return first; |
|
|
2832 | } |
|
|
2833 | template <typename V, typename... Args> auto sum(V first, Args... rest) -> V |
|
|
2834 | { |
|
|
2835 | return first + sum(rest...); |
|
|
2836 | } |
|
|
2837 | } |
|
|
2838 | ' |
|
|
2839 | |
|
|
2840 | # Test code for whether the C++ compiler supports C++11 (body of main) |
|
|
2841 | ac_cxx_conftest_cxx11_main=' |
|
|
2842 | { |
|
|
2843 | // Test auto and decltype |
|
|
2844 | auto a1 = 6538; |
|
|
2845 | auto a2 = 48573953.4; |
|
|
2846 | auto a3 = "String literal"; |
|
|
2847 | |
|
|
2848 | int total = 0; |
|
|
2849 | for (auto i = a3; *i; ++i) { total += *i; } |
|
|
2850 | |
|
|
2851 | decltype(a2) a4 = 34895.034; |
|
|
2852 | } |
|
|
2853 | { |
|
|
2854 | // Test constexpr |
|
|
2855 | short sa[cxx11test::get_val()] = { 0 }; |
|
|
2856 | } |
|
|
2857 | { |
|
|
2858 | // Test initializer lists |
|
|
2859 | cxx11test::testinit il = { 4323, 435234.23544 }; |
|
|
2860 | } |
|
|
2861 | { |
|
|
2862 | // Test range-based for |
|
|
2863 | int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3, |
|
|
2864 | 14, 19, 17, 8, 6, 20, 16, 2, 11, 1}; |
|
|
2865 | for (auto &x : array) { x += 23; } |
|
|
2866 | } |
|
|
2867 | { |
|
|
2868 | // Test lambda expressions |
|
|
2869 | using cxx11test::eval; |
|
|
2870 | assert (eval ([](int x) { return x*2; }, 21) == 42); |
|
|
2871 | double d = 2.0; |
|
|
2872 | assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0); |
|
|
2873 | assert (d == 5.0); |
|
|
2874 | assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0); |
|
|
2875 | assert (d == 5.0); |
|
|
2876 | } |
|
|
2877 | { |
|
|
2878 | // Test use of variadic templates |
|
|
2879 | using cxx11test::sum; |
|
|
2880 | auto a = sum(1); |
|
|
2881 | auto b = sum(1, 2); |
|
|
2882 | auto c = sum(1.0, 2.0, 3.0); |
|
|
2883 | } |
|
|
2884 | { |
|
|
2885 | // Test constructor delegation |
|
|
2886 | cxx11test::delegate d1; |
|
|
2887 | cxx11test::delegate d2(); |
|
|
2888 | cxx11test::delegate d3(45); |
|
|
2889 | } |
|
|
2890 | { |
|
|
2891 | // Test override and final |
|
|
2892 | cxx11test::overridden o1(55464); |
|
|
2893 | } |
|
|
2894 | { |
|
|
2895 | // Test nullptr |
|
|
2896 | char *c = nullptr; |
|
|
2897 | } |
|
|
2898 | { |
|
|
2899 | // Test template brackets |
|
|
2900 | test_template<::test_template<int>> v(test_template<int>(12)); |
|
|
2901 | } |
|
|
2902 | { |
|
|
2903 | // Unicode literals |
|
|
2904 | char const *utf8 = u8"UTF-8 string \u2500"; |
|
|
2905 | char16_t const *utf16 = u"UTF-8 string \u2500"; |
|
|
2906 | char32_t const *utf32 = U"UTF-32 string \u2500"; |
|
|
2907 | } |
|
|
2908 | ' |
|
|
2909 | |
|
|
2910 | # Test code for whether the C compiler supports C++11 (complete). |
|
|
2911 | ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals} |
|
|
2912 | ${ac_cxx_conftest_cxx11_globals} |
|
|
2913 | |
|
|
2914 | int |
|
|
2915 | main (int argc, char **argv) |
|
|
2916 | { |
|
|
2917 | int ok = 0; |
|
|
2918 | ${ac_cxx_conftest_cxx98_main} |
|
|
2919 | ${ac_cxx_conftest_cxx11_main} |
|
|
2920 | return ok; |
|
|
2921 | } |
|
|
2922 | " |
|
|
2923 | |
|
|
2924 | # Test code for whether the C compiler supports C++98 (complete). |
|
|
2925 | ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals} |
|
|
2926 | int |
|
|
2927 | main (int argc, char **argv) |
|
|
2928 | { |
|
|
2929 | int ok = 0; |
|
|
2930 | ${ac_cxx_conftest_cxx98_main} |
|
|
2931 | return ok; |
|
|
2932 | } |
|
|
2933 | " |
|
|
2934 | |
|
|
2935 | as_fn_append ac_header_cxx_list " stdio.h stdio_h HAVE_STDIO_H" |
|
|
2936 | as_fn_append ac_header_cxx_list " stdlib.h stdlib_h HAVE_STDLIB_H" |
|
|
2937 | as_fn_append ac_header_cxx_list " string.h string_h HAVE_STRING_H" |
|
|
2938 | as_fn_append ac_header_cxx_list " inttypes.h inttypes_h HAVE_INTTYPES_H" |
|
|
2939 | as_fn_append ac_header_cxx_list " stdint.h stdint_h HAVE_STDINT_H" |
|
|
2940 | as_fn_append ac_header_cxx_list " strings.h strings_h HAVE_STRINGS_H" |
|
|
2941 | as_fn_append ac_header_cxx_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H" |
|
|
2942 | as_fn_append ac_header_cxx_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H" |
|
|
2943 | as_fn_append ac_header_cxx_list " unistd.h unistd_h HAVE_UNISTD_H" |
|
|
2944 | as_fn_append ac_header_cxx_list " sys/time.h sys_time_h HAVE_SYS_TIME_H" |
|
|
2945 | |
|
|
2946 | # Auxiliary files required by this configure script. |
|
|
2947 | ac_aux_files="compile missing install-sh config.guess config.sub" |
|
|
2948 | |
|
|
2949 | # Locations in which to look for auxiliary files. |
|
|
2950 | ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.." |
|
|
2951 | |
|
|
2952 | # Search for a directory containing all of the required auxiliary files, |
|
|
2953 | # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates. |
|
|
2954 | # If we don't find one directory that contains all the files we need, |
|
|
2955 | # we report the set of missing files from the *first* directory in |
|
|
2956 | # $ac_aux_dir_candidates and give up. |
|
|
2957 | ac_missing_aux_files="" |
|
|
2958 | ac_first_candidate=: |
|
|
2959 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5 |
|
|
2960 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
2961 | as_found=false |
|
|
2962 | for as_dir in $ac_aux_dir_candidates |
|
|
2963 | do |
|
|
2964 | IFS=$as_save_IFS |
|
|
2965 | case $as_dir in #((( |
|
|
2966 | '') as_dir=./ ;; |
|
|
2967 | */) ;; |
|
|
2968 | *) as_dir=$as_dir/ ;; |
|
|
2969 | esac |
|
|
2970 | as_found=: |
|
|
2971 | |
|
|
2972 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5 |
|
|
2973 | ac_aux_dir_found=yes |
|
|
2974 | ac_install_sh= |
|
|
2975 | for ac_aux in $ac_aux_files |
|
|
2976 | do |
|
|
2977 | # As a special case, if "install-sh" is required, that requirement |
|
|
2978 | # can be satisfied by any of "install-sh", "install.sh", or "shtool", |
|
|
2979 | # and $ac_install_sh is set appropriately for whichever one is found. |
|
|
2980 | if test x"$ac_aux" = x"install-sh" |
|
|
2981 | then |
|
|
2982 | if test -f "${as_dir}install-sh"; then |
|
|
2983 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5 |
|
|
2984 | ac_install_sh="${as_dir}install-sh -c" |
|
|
2985 | elif test -f "${as_dir}install.sh"; then |
|
|
2986 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5 |
|
|
2987 | ac_install_sh="${as_dir}install.sh -c" |
|
|
2988 | elif test -f "${as_dir}shtool"; then |
|
|
2989 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5 |
|
|
2990 | ac_install_sh="${as_dir}shtool install -c" |
|
|
2991 | else |
|
|
2992 | ac_aux_dir_found=no |
|
|
2993 | if $ac_first_candidate; then |
|
|
2994 | ac_missing_aux_files="${ac_missing_aux_files} install-sh" |
|
|
2995 | else |
|
|
2996 | break |
|
|
2997 | fi |
|
|
2998 | fi |
|
|
2999 | else |
|
|
3000 | if test -f "${as_dir}${ac_aux}"; then |
|
|
3001 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5 |
|
|
3002 | else |
|
|
3003 | ac_aux_dir_found=no |
|
|
3004 | if $ac_first_candidate; then |
|
|
3005 | ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}" |
|
|
3006 | else |
|
|
3007 | break |
|
|
3008 | fi |
|
|
3009 | fi |
|
|
3010 | fi |
|
|
3011 | done |
|
|
3012 | if test "$ac_aux_dir_found" = yes; then |
|
|
3013 | ac_aux_dir="$as_dir" |
|
|
3014 | break |
|
|
3015 | fi |
|
|
3016 | ac_first_candidate=false |
|
|
3017 | |
|
|
3018 | as_found=false |
|
|
3019 | done |
|
|
3020 | IFS=$as_save_IFS |
|
|
3021 | if $as_found |
|
|
3022 | then : |
|
|
3023 | |
|
|
3024 | else $as_nop |
|
|
3025 | as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 |
|
|
3026 | fi |
|
|
3027 | |
|
|
3028 | |
|
|
3029 | # These three variables are undocumented and unsupported, |
|
|
3030 | # and are intended to be withdrawn in a future Autoconf release. |
|
|
3031 | # They can cause serious problems if a builder's source tree is in a directory |
|
|
3032 | # whose full name contains unusual characters. |
|
|
3033 | if test -f "${ac_aux_dir}config.guess"; then |
|
|
3034 | ac_config_guess="$SHELL ${ac_aux_dir}config.guess" |
|
|
3035 | fi |
|
|
3036 | if test -f "${ac_aux_dir}config.sub"; then |
|
|
3037 | ac_config_sub="$SHELL ${ac_aux_dir}config.sub" |
|
|
3038 | fi |
|
|
3039 | if test -f "$ac_aux_dir/configure"; then |
|
|
3040 | ac_configure="$SHELL ${ac_aux_dir}configure" |
2552 | fi |
3041 | fi |
2553 | |
3042 | |
2554 | # Check that the precious variables saved in the cache have kept the same |
3043 | # Check that the precious variables saved in the cache have kept the same |
2555 | # value. |
3044 | # value. |
2556 | ac_cache_corrupted=false |
3045 | ac_cache_corrupted=false |
… | |
… | |
2559 | eval ac_new_set=\$ac_env_${ac_var}_set |
3048 | eval ac_new_set=\$ac_env_${ac_var}_set |
2560 | eval ac_old_val=\$ac_cv_env_${ac_var}_value |
3049 | eval ac_old_val=\$ac_cv_env_${ac_var}_value |
2561 | eval ac_new_val=\$ac_env_${ac_var}_value |
3050 | eval ac_new_val=\$ac_env_${ac_var}_value |
2562 | case $ac_old_set,$ac_new_set in |
3051 | case $ac_old_set,$ac_new_set in |
2563 | set,) |
3052 | set,) |
2564 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
3053 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
2565 | $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
3054 | printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
2566 | ac_cache_corrupted=: ;; |
3055 | ac_cache_corrupted=: ;; |
2567 | ,set) |
3056 | ,set) |
2568 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 |
3057 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 |
2569 | $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
3058 | printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
2570 | ac_cache_corrupted=: ;; |
3059 | ac_cache_corrupted=: ;; |
2571 | ,);; |
3060 | ,);; |
2572 | *) |
3061 | *) |
2573 | if test "x$ac_old_val" != "x$ac_new_val"; then |
3062 | if test "x$ac_old_val" != "x$ac_new_val"; then |
2574 | # differences in whitespace do not lead to failure. |
3063 | # differences in whitespace do not lead to failure. |
2575 | ac_old_val_w=`echo x $ac_old_val` |
3064 | ac_old_val_w=`echo x $ac_old_val` |
2576 | ac_new_val_w=`echo x $ac_new_val` |
3065 | ac_new_val_w=`echo x $ac_new_val` |
2577 | if test "$ac_old_val_w" != "$ac_new_val_w"; then |
3066 | if test "$ac_old_val_w" != "$ac_new_val_w"; then |
2578 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 |
3067 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 |
2579 | $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
3068 | printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
2580 | ac_cache_corrupted=: |
3069 | ac_cache_corrupted=: |
2581 | else |
3070 | else |
2582 | { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 |
3071 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 |
2583 | $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} |
3072 | printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} |
2584 | eval $ac_var=\$ac_old_val |
3073 | eval $ac_var=\$ac_old_val |
2585 | fi |
3074 | fi |
2586 | { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 |
3075 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 |
2587 | $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} |
3076 | printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;} |
2588 | { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 |
3077 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 |
2589 | $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} |
3078 | printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;} |
2590 | fi;; |
3079 | fi;; |
2591 | esac |
3080 | esac |
2592 | # Pass precious variables to config.status. |
3081 | # Pass precious variables to config.status. |
2593 | if test "$ac_new_set" = set; then |
3082 | if test "$ac_new_set" = set; then |
2594 | case $ac_new_val in |
3083 | case $ac_new_val in |
2595 | *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
3084 | *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
2596 | *) ac_arg=$ac_var=$ac_new_val ;; |
3085 | *) ac_arg=$ac_var=$ac_new_val ;; |
2597 | esac |
3086 | esac |
2598 | case " $ac_configure_args " in |
3087 | case " $ac_configure_args " in |
2599 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
3088 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
2600 | *) as_fn_append ac_configure_args " '$ac_arg'" ;; |
3089 | *) as_fn_append ac_configure_args " '$ac_arg'" ;; |
2601 | esac |
3090 | esac |
2602 | fi |
3091 | fi |
2603 | done |
3092 | done |
2604 | if $ac_cache_corrupted; then |
3093 | if $ac_cache_corrupted; then |
2605 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3094 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2606 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3095 | printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
2607 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 |
3096 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 |
2608 | $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
3097 | printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;} |
2609 | as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 |
3098 | as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file' |
|
|
3099 | and start over" "$LINENO" 5 |
2610 | fi |
3100 | fi |
2611 | ## -------------------- ## |
3101 | ## -------------------- ## |
2612 | ## Main body of script. ## |
3102 | ## Main body of script. ## |
2613 | ## -------------------- ## |
3103 | ## -------------------- ## |
2614 | |
3104 | |
… | |
… | |
2618 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3108 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
2619 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3109 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
2620 | |
3110 | |
2621 | |
3111 | |
2622 | |
3112 | |
2623 | ac_aux_dir= |
|
|
2624 | for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
|
|
2625 | if test -f "$ac_dir/install-sh"; then |
|
|
2626 | ac_aux_dir=$ac_dir |
|
|
2627 | ac_install_sh="$ac_aux_dir/install-sh -c" |
|
|
2628 | break |
|
|
2629 | elif test -f "$ac_dir/install.sh"; then |
|
|
2630 | ac_aux_dir=$ac_dir |
|
|
2631 | ac_install_sh="$ac_aux_dir/install.sh -c" |
|
|
2632 | break |
|
|
2633 | elif test -f "$ac_dir/shtool"; then |
|
|
2634 | ac_aux_dir=$ac_dir |
|
|
2635 | ac_install_sh="$ac_aux_dir/shtool install -c" |
|
|
2636 | break |
|
|
2637 | fi |
|
|
2638 | done |
|
|
2639 | if test -z "$ac_aux_dir"; then |
|
|
2640 | as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 |
|
|
2641 | fi |
|
|
2642 | |
3113 | |
2643 | # These three variables are undocumented and unsupported, |
|
|
2644 | # and are intended to be withdrawn in a future Autoconf release. |
|
|
2645 | # They can cause serious problems if a builder's source tree is in a directory |
|
|
2646 | # whose full name contains unusual characters. |
|
|
2647 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. |
|
|
2648 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. |
|
|
2649 | ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. |
|
|
2650 | |
3114 | |
2651 | |
3115 | |
2652 | # Make sure we can run config.sub. |
3116 | # Make sure we can run config.sub. |
2653 | $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || |
3117 | $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 || |
2654 | as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 |
3118 | as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5 |
2655 | |
3119 | |
2656 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 |
3120 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 |
2657 | $as_echo_n "checking build system type... " >&6; } |
3121 | printf %s "checking build system type... " >&6; } |
2658 | if ${ac_cv_build+:} false; then : |
3122 | if test ${ac_cv_build+y} |
2659 | $as_echo_n "(cached) " >&6 |
3123 | then : |
2660 | else |
3124 | printf %s "(cached) " >&6 |
|
|
3125 | else $as_nop |
2661 | ac_build_alias=$build_alias |
3126 | ac_build_alias=$build_alias |
2662 | test "x$ac_build_alias" = x && |
3127 | test "x$ac_build_alias" = x && |
2663 | ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` |
3128 | ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"` |
2664 | test "x$ac_build_alias" = x && |
3129 | test "x$ac_build_alias" = x && |
2665 | as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 |
3130 | as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 |
2666 | ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || |
3131 | ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` || |
2667 | as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 |
3132 | as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5 |
2668 | |
3133 | |
2669 | fi |
3134 | fi |
2670 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 |
3135 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 |
2671 | $as_echo "$ac_cv_build" >&6; } |
3136 | printf "%s\n" "$ac_cv_build" >&6; } |
2672 | case $ac_cv_build in |
3137 | case $ac_cv_build in |
2673 | *-*-*) ;; |
3138 | *-*-*) ;; |
2674 | *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; |
3139 | *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; |
2675 | esac |
3140 | esac |
2676 | build=$ac_cv_build |
3141 | build=$ac_cv_build |
… | |
… | |
2685 | build_os=$* |
3150 | build_os=$* |
2686 | IFS=$ac_save_IFS |
3151 | IFS=$ac_save_IFS |
2687 | case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac |
3152 | case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac |
2688 | |
3153 | |
2689 | |
3154 | |
2690 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 |
3155 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 |
2691 | $as_echo_n "checking host system type... " >&6; } |
3156 | printf %s "checking host system type... " >&6; } |
2692 | if ${ac_cv_host+:} false; then : |
3157 | if test ${ac_cv_host+y} |
2693 | $as_echo_n "(cached) " >&6 |
3158 | then : |
2694 | else |
3159 | printf %s "(cached) " >&6 |
|
|
3160 | else $as_nop |
2695 | if test "x$host_alias" = x; then |
3161 | if test "x$host_alias" = x; then |
2696 | ac_cv_host=$ac_cv_build |
3162 | ac_cv_host=$ac_cv_build |
2697 | else |
3163 | else |
2698 | ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || |
3164 | ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` || |
2699 | as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 |
3165 | as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5 |
2700 | fi |
3166 | fi |
2701 | |
3167 | |
2702 | fi |
3168 | fi |
2703 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 |
3169 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 |
2704 | $as_echo "$ac_cv_host" >&6; } |
3170 | printf "%s\n" "$ac_cv_host" >&6; } |
2705 | case $ac_cv_host in |
3171 | case $ac_cv_host in |
2706 | *-*-*) ;; |
3172 | *-*-*) ;; |
2707 | *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; |
3173 | *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; |
2708 | esac |
3174 | esac |
2709 | host=$ac_cv_host |
3175 | host=$ac_cv_host |
… | |
… | |
2718 | host_os=$* |
3184 | host_os=$* |
2719 | IFS=$ac_save_IFS |
3185 | IFS=$ac_save_IFS |
2720 | case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac |
3186 | case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac |
2721 | |
3187 | |
2722 | |
3188 | |
2723 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 |
3189 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 |
2724 | $as_echo_n "checking target system type... " >&6; } |
3190 | printf %s "checking target system type... " >&6; } |
2725 | if ${ac_cv_target+:} false; then : |
3191 | if test ${ac_cv_target+y} |
2726 | $as_echo_n "(cached) " >&6 |
3192 | then : |
2727 | else |
3193 | printf %s "(cached) " >&6 |
|
|
3194 | else $as_nop |
2728 | if test "x$target_alias" = x; then |
3195 | if test "x$target_alias" = x; then |
2729 | ac_cv_target=$ac_cv_host |
3196 | ac_cv_target=$ac_cv_host |
2730 | else |
3197 | else |
2731 | ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || |
3198 | ac_cv_target=`$SHELL "${ac_aux_dir}config.sub" $target_alias` || |
2732 | as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 |
3199 | as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $target_alias failed" "$LINENO" 5 |
2733 | fi |
3200 | fi |
2734 | |
3201 | |
2735 | fi |
3202 | fi |
2736 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 |
3203 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 |
2737 | $as_echo "$ac_cv_target" >&6; } |
3204 | printf "%s\n" "$ac_cv_target" >&6; } |
2738 | case $ac_cv_target in |
3205 | case $ac_cv_target in |
2739 | *-*-*) ;; |
3206 | *-*-*) ;; |
2740 | *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;; |
3207 | *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;; |
2741 | esac |
3208 | esac |
2742 | target=$ac_cv_target |
3209 | target=$ac_cv_target |
… | |
… | |
2757 | # will get canonicalized. |
3224 | # will get canonicalized. |
2758 | test -n "$target_alias" && |
3225 | test -n "$target_alias" && |
2759 | test "$program_prefix$program_suffix$program_transform_name" = \ |
3226 | test "$program_prefix$program_suffix$program_transform_name" = \ |
2760 | NONENONEs,x,x, && |
3227 | NONENONEs,x,x, && |
2761 | program_prefix=${target_alias}- |
3228 | program_prefix=${target_alias}- |
2762 | am__api_version="1.7" |
3229 | am__api_version='1.16' |
|
|
3230 | |
|
|
3231 | |
2763 | # Find a good install program. We prefer a C program (faster), |
3232 | # Find a good install program. We prefer a C program (faster), |
2764 | # so one script is as good as another. But avoid the broken or |
3233 | # so one script is as good as another. But avoid the broken or |
2765 | # incompatible versions: |
3234 | # incompatible versions: |
2766 | # SysV /etc/install, /usr/sbin/install |
3235 | # SysV /etc/install, /usr/sbin/install |
2767 | # SunOS /usr/etc/install |
3236 | # SunOS /usr/etc/install |
2768 | # IRIX /sbin/install |
3237 | # IRIX /sbin/install |
… | |
… | |
2772 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
3241 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
2773 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
3242 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
2774 | # OS/2's system install, which has a completely different semantic |
3243 | # OS/2's system install, which has a completely different semantic |
2775 | # ./install, which can be erroneously created by make from ./install.sh. |
3244 | # ./install, which can be erroneously created by make from ./install.sh. |
2776 | # Reject install programs that cannot install multiple files. |
3245 | # Reject install programs that cannot install multiple files. |
2777 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 |
3246 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 |
2778 | $as_echo_n "checking for a BSD-compatible install... " >&6; } |
3247 | printf %s "checking for a BSD-compatible install... " >&6; } |
2779 | if test -z "$INSTALL"; then |
3248 | if test -z "$INSTALL"; then |
2780 | if ${ac_cv_path_install+:} false; then : |
3249 | if test ${ac_cv_path_install+y} |
2781 | $as_echo_n "(cached) " >&6 |
3250 | then : |
2782 | else |
3251 | printf %s "(cached) " >&6 |
|
|
3252 | else $as_nop |
2783 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3253 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2784 | for as_dir in $PATH |
3254 | for as_dir in $PATH |
2785 | do |
3255 | do |
2786 | IFS=$as_save_IFS |
3256 | IFS=$as_save_IFS |
2787 | test -z "$as_dir" && as_dir=. |
3257 | case $as_dir in #((( |
|
|
3258 | '') as_dir=./ ;; |
|
|
3259 | */) ;; |
|
|
3260 | *) as_dir=$as_dir/ ;; |
|
|
3261 | esac |
2788 | # Account for people who put trailing slashes in PATH elements. |
3262 | # Account for fact that we put trailing slashes in our PATH walk. |
2789 | case $as_dir/ in #(( |
3263 | case $as_dir in #(( |
2790 | ./ | .// | /[cC]/* | \ |
3264 | ./ | /[cC]/* | \ |
2791 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
3265 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
2792 | ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ |
3266 | ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ |
2793 | /usr/ucb/* ) ;; |
3267 | /usr/ucb/* ) ;; |
2794 | *) |
3268 | *) |
2795 | # OSF1 and SCO ODT 3.0 have their own names for install. |
3269 | # OSF1 and SCO ODT 3.0 have their own names for install. |
2796 | # Don't use installbsd from OSF since it installs stuff as root |
3270 | # Don't use installbsd from OSF since it installs stuff as root |
2797 | # by default. |
3271 | # by default. |
2798 | for ac_prog in ginstall scoinst install; do |
3272 | for ac_prog in ginstall scoinst install; do |
2799 | for ac_exec_ext in '' $ac_executable_extensions; do |
3273 | for ac_exec_ext in '' $ac_executable_extensions; do |
2800 | if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
3274 | if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then |
2801 | if test $ac_prog = install && |
3275 | if test $ac_prog = install && |
2802 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
3276 | grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
2803 | # AIX install. It has an incompatible calling convention. |
3277 | # AIX install. It has an incompatible calling convention. |
2804 | : |
3278 | : |
2805 | elif test $ac_prog = install && |
3279 | elif test $ac_prog = install && |
2806 | grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
3280 | grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
2807 | # program-specific install script used by HP pwplus--don't use. |
3281 | # program-specific install script used by HP pwplus--don't use. |
2808 | : |
3282 | : |
2809 | else |
3283 | else |
2810 | rm -rf conftest.one conftest.two conftest.dir |
3284 | rm -rf conftest.one conftest.two conftest.dir |
2811 | echo one > conftest.one |
3285 | echo one > conftest.one |
2812 | echo two > conftest.two |
3286 | echo two > conftest.two |
2813 | mkdir conftest.dir |
3287 | mkdir conftest.dir |
2814 | if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && |
3288 | if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" && |
2815 | test -s conftest.one && test -s conftest.two && |
3289 | test -s conftest.one && test -s conftest.two && |
2816 | test -s conftest.dir/conftest.one && |
3290 | test -s conftest.dir/conftest.one && |
2817 | test -s conftest.dir/conftest.two |
3291 | test -s conftest.dir/conftest.two |
2818 | then |
3292 | then |
2819 | ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
3293 | ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c" |
2820 | break 3 |
3294 | break 3 |
2821 | fi |
3295 | fi |
2822 | fi |
3296 | fi |
2823 | fi |
3297 | fi |
2824 | done |
3298 | done |
… | |
… | |
2830 | IFS=$as_save_IFS |
3304 | IFS=$as_save_IFS |
2831 | |
3305 | |
2832 | rm -rf conftest.one conftest.two conftest.dir |
3306 | rm -rf conftest.one conftest.two conftest.dir |
2833 | |
3307 | |
2834 | fi |
3308 | fi |
2835 | if test "${ac_cv_path_install+set}" = set; then |
3309 | if test ${ac_cv_path_install+y}; then |
2836 | INSTALL=$ac_cv_path_install |
3310 | INSTALL=$ac_cv_path_install |
2837 | else |
3311 | else |
2838 | # As a last resort, use the slow shell script. Don't cache a |
3312 | # As a last resort, use the slow shell script. Don't cache a |
2839 | # value for INSTALL within a source directory, because that will |
3313 | # value for INSTALL within a source directory, because that will |
2840 | # break other packages using the cache if that directory is |
3314 | # break other packages using the cache if that directory is |
2841 | # removed, or if the value is a relative name. |
3315 | # removed, or if the value is a relative name. |
2842 | INSTALL=$ac_install_sh |
3316 | INSTALL=$ac_install_sh |
2843 | fi |
3317 | fi |
2844 | fi |
3318 | fi |
2845 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 |
3319 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 |
2846 | $as_echo "$INSTALL" >&6; } |
3320 | printf "%s\n" "$INSTALL" >&6; } |
2847 | |
3321 | |
2848 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
3322 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
2849 | # It thinks the first close brace ends the variable substitution. |
3323 | # It thinks the first close brace ends the variable substitution. |
2850 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
3324 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
2851 | |
3325 | |
2852 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
3326 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
2853 | |
3327 | |
2854 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
3328 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
2855 | |
3329 | |
2856 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 |
3330 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 |
2857 | $as_echo_n "checking whether build environment is sane... " >&6; } |
3331 | printf %s "checking whether build environment is sane... " >&6; } |
2858 | # Just in case |
3332 | # Reject unsafe characters in $srcdir or the absolute working directory |
2859 | sleep 1 |
3333 | # name. Accept space and tab only in the latter. |
2860 | echo timestamp > conftest.file |
3334 | am_lf=' |
|
|
3335 | ' |
|
|
3336 | case `pwd` in |
|
|
3337 | *[\\\"\#\$\&\'\`$am_lf]*) |
|
|
3338 | as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; |
|
|
3339 | esac |
|
|
3340 | case $srcdir in |
|
|
3341 | *[\\\"\#\$\&\'\`$am_lf\ \ ]*) |
|
|
3342 | as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; |
|
|
3343 | esac |
|
|
3344 | |
2861 | # Do `set' in a subshell so we don't clobber the current shell's |
3345 | # Do 'set' in a subshell so we don't clobber the current shell's |
2862 | # arguments. Must try -L first in case configure is actually a |
3346 | # arguments. Must try -L first in case configure is actually a |
2863 | # symlink; some systems play weird games with the mod time of symlinks |
3347 | # symlink; some systems play weird games with the mod time of symlinks |
2864 | # (eg FreeBSD returns the mod time of the symlink's containing |
3348 | # (eg FreeBSD returns the mod time of the symlink's containing |
2865 | # directory). |
3349 | # directory). |
2866 | if ( |
3350 | if ( |
|
|
3351 | am_has_slept=no |
|
|
3352 | for am_try in 1 2; do |
|
|
3353 | echo "timestamp, slept: $am_has_slept" > conftest.file |
2867 | set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` |
3354 | set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` |
2868 | if test "$*" = "X"; then |
3355 | if test "$*" = "X"; then |
2869 | # -L didn't work. |
3356 | # -L didn't work. |
2870 | set X `ls -t $srcdir/configure conftest.file` |
3357 | set X `ls -t "$srcdir/configure" conftest.file` |
2871 | fi |
3358 | fi |
2872 | rm -f conftest.file |
|
|
2873 | if test "$*" != "X $srcdir/configure conftest.file" \ |
3359 | if test "$*" != "X $srcdir/configure conftest.file" \ |
2874 | && test "$*" != "X conftest.file $srcdir/configure"; then |
3360 | && test "$*" != "X conftest.file $srcdir/configure"; then |
2875 | |
3361 | |
2876 | # If neither matched, then we have a broken ls. This can happen |
3362 | # If neither matched, then we have a broken ls. This can happen |
2877 | # if, for instance, CONFIG_SHELL is bash and it inherits a |
3363 | # if, for instance, CONFIG_SHELL is bash and it inherits a |
2878 | # broken ls alias from the environment. This has actually |
3364 | # broken ls alias from the environment. This has actually |
2879 | # happened. Such a system could not be considered "sane". |
3365 | # happened. Such a system could not be considered "sane". |
2880 | as_fn_error $? "ls -t appears to fail. Make sure there is not a broken |
3366 | as_fn_error $? "ls -t appears to fail. Make sure there is not a broken |
2881 | alias in your environment" "$LINENO" 5 |
3367 | alias in your environment" "$LINENO" 5 |
2882 | fi |
3368 | fi |
2883 | |
3369 | if test "$2" = conftest.file || test $am_try -eq 2; then |
|
|
3370 | break |
|
|
3371 | fi |
|
|
3372 | # Just in case. |
|
|
3373 | sleep 1 |
|
|
3374 | am_has_slept=yes |
|
|
3375 | done |
2884 | test "$2" = conftest.file |
3376 | test "$2" = conftest.file |
2885 | ) |
3377 | ) |
2886 | then |
3378 | then |
2887 | # Ok. |
3379 | # Ok. |
2888 | : |
3380 | : |
2889 | else |
3381 | else |
2890 | as_fn_error $? "newly created file is older than distributed files! |
3382 | as_fn_error $? "newly created file is older than distributed files! |
2891 | Check your system clock" "$LINENO" 5 |
3383 | Check your system clock" "$LINENO" 5 |
2892 | fi |
3384 | fi |
2893 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
3385 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
2894 | $as_echo "yes" >&6; } |
3386 | printf "%s\n" "yes" >&6; } |
|
|
3387 | # If we didn't sleep, we still need to ensure time stamps of config.status and |
|
|
3388 | # generated files are strictly newer. |
|
|
3389 | am_sleep_pid= |
|
|
3390 | if grep 'slept: no' conftest.file >/dev/null 2>&1; then |
|
|
3391 | ( sleep 1 ) & |
|
|
3392 | am_sleep_pid=$! |
|
|
3393 | fi |
|
|
3394 | |
|
|
3395 | rm -f conftest.file |
|
|
3396 | |
2895 | test "$program_prefix" != NONE && |
3397 | test "$program_prefix" != NONE && |
2896 | program_transform_name="s&^&$program_prefix&;$program_transform_name" |
3398 | program_transform_name="s&^&$program_prefix&;$program_transform_name" |
2897 | # Use a double $ so make ignores it. |
3399 | # Use a double $ so make ignores it. |
2898 | test "$program_suffix" != NONE && |
3400 | test "$program_suffix" != NONE && |
2899 | program_transform_name="s&\$&$program_suffix&;$program_transform_name" |
3401 | program_transform_name="s&\$&$program_suffix&;$program_transform_name" |
2900 | # Double any \ or $. |
3402 | # Double any \ or $. |
2901 | # By default was `s,x,x', remove it if useless. |
3403 | # By default was `s,x,x', remove it if useless. |
2902 | ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' |
3404 | ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' |
2903 | program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` |
3405 | program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"` |
2904 | |
3406 | |
2905 | |
3407 | |
2906 | # expand $ac_aux_dir to an absolute path |
3408 | # Expand $ac_aux_dir to an absolute path. |
2907 | am_aux_dir=`cd $ac_aux_dir && pwd` |
3409 | am_aux_dir=`cd "$ac_aux_dir" && pwd` |
2908 | |
3410 | |
2909 | test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" |
3411 | |
|
|
3412 | if test x"${MISSING+set}" != xset; then |
|
|
3413 | MISSING="\${SHELL} '$am_aux_dir/missing'" |
|
|
3414 | fi |
2910 | # Use eval to expand $SHELL |
3415 | # Use eval to expand $SHELL |
2911 | if eval "$MISSING --run true"; then |
3416 | if eval "$MISSING --is-lightweight"; then |
2912 | am_missing_run="$MISSING --run " |
3417 | am_missing_run="$MISSING " |
2913 | else |
3418 | else |
2914 | am_missing_run= |
3419 | am_missing_run= |
2915 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 |
3420 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 |
2916 | $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} |
3421 | printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;} |
2917 | fi |
3422 | fi |
|
|
3423 | |
|
|
3424 | if test x"${install_sh+set}" != xset; then |
|
|
3425 | case $am_aux_dir in |
|
|
3426 | *\ * | *\ *) |
|
|
3427 | install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; |
|
|
3428 | *) |
|
|
3429 | install_sh="\${SHELL} $am_aux_dir/install-sh" |
|
|
3430 | esac |
|
|
3431 | fi |
|
|
3432 | |
|
|
3433 | # Installed binaries are usually stripped using 'strip' when the user |
|
|
3434 | # run "make install-strip". However 'strip' might not be the right |
|
|
3435 | # tool to use in cross-compilation environments, therefore Automake |
|
|
3436 | # will honor the 'STRIP' environment variable to overrule this program. |
|
|
3437 | if test "$cross_compiling" != no; then |
|
|
3438 | if test -n "$ac_tool_prefix"; then |
|
|
3439 | # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
|
|
3440 | set dummy ${ac_tool_prefix}strip; ac_word=$2 |
|
|
3441 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
|
3442 | printf %s "checking for $ac_word... " >&6; } |
|
|
3443 | if test ${ac_cv_prog_STRIP+y} |
|
|
3444 | then : |
|
|
3445 | printf %s "(cached) " >&6 |
|
|
3446 | else $as_nop |
|
|
3447 | if test -n "$STRIP"; then |
|
|
3448 | ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
|
|
3449 | else |
|
|
3450 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
3451 | for as_dir in $PATH |
|
|
3452 | do |
|
|
3453 | IFS=$as_save_IFS |
|
|
3454 | case $as_dir in #((( |
|
|
3455 | '') as_dir=./ ;; |
|
|
3456 | */) ;; |
|
|
3457 | *) as_dir=$as_dir/ ;; |
|
|
3458 | esac |
|
|
3459 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
3460 | if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
|
|
3461 | ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
|
|
3462 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
|
|
3463 | break 2 |
|
|
3464 | fi |
|
|
3465 | done |
|
|
3466 | done |
|
|
3467 | IFS=$as_save_IFS |
|
|
3468 | |
|
|
3469 | fi |
|
|
3470 | fi |
|
|
3471 | STRIP=$ac_cv_prog_STRIP |
|
|
3472 | if test -n "$STRIP"; then |
|
|
3473 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 |
|
|
3474 | printf "%s\n" "$STRIP" >&6; } |
|
|
3475 | else |
|
|
3476 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
3477 | printf "%s\n" "no" >&6; } |
|
|
3478 | fi |
|
|
3479 | |
|
|
3480 | |
|
|
3481 | fi |
|
|
3482 | if test -z "$ac_cv_prog_STRIP"; then |
|
|
3483 | ac_ct_STRIP=$STRIP |
|
|
3484 | # Extract the first word of "strip", so it can be a program name with args. |
|
|
3485 | set dummy strip; ac_word=$2 |
|
|
3486 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
|
3487 | printf %s "checking for $ac_word... " >&6; } |
|
|
3488 | if test ${ac_cv_prog_ac_ct_STRIP+y} |
|
|
3489 | then : |
|
|
3490 | printf %s "(cached) " >&6 |
|
|
3491 | else $as_nop |
|
|
3492 | if test -n "$ac_ct_STRIP"; then |
|
|
3493 | ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. |
|
|
3494 | else |
|
|
3495 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
3496 | for as_dir in $PATH |
|
|
3497 | do |
|
|
3498 | IFS=$as_save_IFS |
|
|
3499 | case $as_dir in #((( |
|
|
3500 | '') as_dir=./ ;; |
|
|
3501 | */) ;; |
|
|
3502 | *) as_dir=$as_dir/ ;; |
|
|
3503 | esac |
|
|
3504 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
3505 | if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
|
|
3506 | ac_cv_prog_ac_ct_STRIP="strip" |
|
|
3507 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
|
|
3508 | break 2 |
|
|
3509 | fi |
|
|
3510 | done |
|
|
3511 | done |
|
|
3512 | IFS=$as_save_IFS |
|
|
3513 | |
|
|
3514 | fi |
|
|
3515 | fi |
|
|
3516 | ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP |
|
|
3517 | if test -n "$ac_ct_STRIP"; then |
|
|
3518 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 |
|
|
3519 | printf "%s\n" "$ac_ct_STRIP" >&6; } |
|
|
3520 | else |
|
|
3521 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
3522 | printf "%s\n" "no" >&6; } |
|
|
3523 | fi |
|
|
3524 | |
|
|
3525 | if test "x$ac_ct_STRIP" = x; then |
|
|
3526 | STRIP=":" |
|
|
3527 | else |
|
|
3528 | case $cross_compiling:$ac_tool_warned in |
|
|
3529 | yes:) |
|
|
3530 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
|
3531 | printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
|
3532 | ac_tool_warned=yes ;; |
|
|
3533 | esac |
|
|
3534 | STRIP=$ac_ct_STRIP |
|
|
3535 | fi |
|
|
3536 | else |
|
|
3537 | STRIP="$ac_cv_prog_STRIP" |
|
|
3538 | fi |
|
|
3539 | |
|
|
3540 | fi |
|
|
3541 | INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" |
|
|
3542 | |
|
|
3543 | |
|
|
3544 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5 |
|
|
3545 | printf %s "checking for a race-free mkdir -p... " >&6; } |
|
|
3546 | if test -z "$MKDIR_P"; then |
|
|
3547 | if test ${ac_cv_path_mkdir+y} |
|
|
3548 | then : |
|
|
3549 | printf %s "(cached) " >&6 |
|
|
3550 | else $as_nop |
|
|
3551 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
3552 | for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin |
|
|
3553 | do |
|
|
3554 | IFS=$as_save_IFS |
|
|
3555 | case $as_dir in #((( |
|
|
3556 | '') as_dir=./ ;; |
|
|
3557 | */) ;; |
|
|
3558 | *) as_dir=$as_dir/ ;; |
|
|
3559 | esac |
|
|
3560 | for ac_prog in mkdir gmkdir; do |
|
|
3561 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
3562 | as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue |
|
|
3563 | case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #( |
|
|
3564 | 'mkdir ('*'coreutils) '* | \ |
|
|
3565 | 'BusyBox '* | \ |
|
|
3566 | 'mkdir (fileutils) '4.1*) |
|
|
3567 | ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext |
|
|
3568 | break 3;; |
|
|
3569 | esac |
|
|
3570 | done |
|
|
3571 | done |
|
|
3572 | done |
|
|
3573 | IFS=$as_save_IFS |
|
|
3574 | |
|
|
3575 | fi |
|
|
3576 | |
|
|
3577 | test -d ./--version && rmdir ./--version |
|
|
3578 | if test ${ac_cv_path_mkdir+y}; then |
|
|
3579 | MKDIR_P="$ac_cv_path_mkdir -p" |
|
|
3580 | else |
|
|
3581 | # As a last resort, use the slow shell script. Don't cache a |
|
|
3582 | # value for MKDIR_P within a source directory, because that will |
|
|
3583 | # break other packages using the cache if that directory is |
|
|
3584 | # removed, or if the value is a relative name. |
|
|
3585 | MKDIR_P="$ac_install_sh -d" |
|
|
3586 | fi |
|
|
3587 | fi |
|
|
3588 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 |
|
|
3589 | printf "%s\n" "$MKDIR_P" >&6; } |
2918 | |
3590 | |
2919 | for ac_prog in gawk mawk nawk awk |
3591 | for ac_prog in gawk mawk nawk awk |
2920 | do |
3592 | do |
2921 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
3593 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
2922 | set dummy $ac_prog; ac_word=$2 |
3594 | set dummy $ac_prog; ac_word=$2 |
2923 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3595 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2924 | $as_echo_n "checking for $ac_word... " >&6; } |
3596 | printf %s "checking for $ac_word... " >&6; } |
2925 | if ${ac_cv_prog_AWK+:} false; then : |
3597 | if test ${ac_cv_prog_AWK+y} |
2926 | $as_echo_n "(cached) " >&6 |
3598 | then : |
2927 | else |
3599 | printf %s "(cached) " >&6 |
|
|
3600 | else $as_nop |
2928 | if test -n "$AWK"; then |
3601 | if test -n "$AWK"; then |
2929 | ac_cv_prog_AWK="$AWK" # Let the user override the test. |
3602 | ac_cv_prog_AWK="$AWK" # Let the user override the test. |
2930 | else |
3603 | else |
2931 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3604 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2932 | for as_dir in $PATH |
3605 | for as_dir in $PATH |
2933 | do |
3606 | do |
2934 | IFS=$as_save_IFS |
3607 | IFS=$as_save_IFS |
2935 | test -z "$as_dir" && as_dir=. |
3608 | case $as_dir in #((( |
|
|
3609 | '') as_dir=./ ;; |
|
|
3610 | */) ;; |
|
|
3611 | *) as_dir=$as_dir/ ;; |
|
|
3612 | esac |
2936 | for ac_exec_ext in '' $ac_executable_extensions; do |
3613 | for ac_exec_ext in '' $ac_executable_extensions; do |
2937 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3614 | if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
2938 | ac_cv_prog_AWK="$ac_prog" |
3615 | ac_cv_prog_AWK="$ac_prog" |
2939 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3616 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
2940 | break 2 |
3617 | break 2 |
2941 | fi |
3618 | fi |
2942 | done |
3619 | done |
2943 | done |
3620 | done |
2944 | IFS=$as_save_IFS |
3621 | IFS=$as_save_IFS |
2945 | |
3622 | |
2946 | fi |
3623 | fi |
2947 | fi |
3624 | fi |
2948 | AWK=$ac_cv_prog_AWK |
3625 | AWK=$ac_cv_prog_AWK |
2949 | if test -n "$AWK"; then |
3626 | if test -n "$AWK"; then |
2950 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 |
3627 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 |
2951 | $as_echo "$AWK" >&6; } |
3628 | printf "%s\n" "$AWK" >&6; } |
2952 | else |
3629 | else |
2953 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3630 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
2954 | $as_echo "no" >&6; } |
3631 | printf "%s\n" "no" >&6; } |
2955 | fi |
3632 | fi |
2956 | |
3633 | |
2957 | |
3634 | |
2958 | test -n "$AWK" && break |
3635 | test -n "$AWK" && break |
2959 | done |
3636 | done |
2960 | |
3637 | |
2961 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
3638 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
2962 | $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
3639 | printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
2963 | set x ${MAKE-make} |
3640 | set x ${MAKE-make} |
2964 | ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
3641 | ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
2965 | if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : |
3642 | if eval test \${ac_cv_prog_make_${ac_make}_set+y} |
2966 | $as_echo_n "(cached) " >&6 |
3643 | then : |
2967 | else |
3644 | printf %s "(cached) " >&6 |
|
|
3645 | else $as_nop |
2968 | cat >conftest.make <<\_ACEOF |
3646 | cat >conftest.make <<\_ACEOF |
2969 | SHELL = /bin/sh |
3647 | SHELL = /bin/sh |
2970 | all: |
3648 | all: |
2971 | @echo '@@@%%%=$(MAKE)=@@@%%%' |
3649 | @echo '@@@%%%=$(MAKE)=@@@%%%' |
2972 | _ACEOF |
3650 | _ACEOF |
… | |
… | |
2978 | eval ac_cv_prog_make_${ac_make}_set=no;; |
3656 | eval ac_cv_prog_make_${ac_make}_set=no;; |
2979 | esac |
3657 | esac |
2980 | rm -f conftest.make |
3658 | rm -f conftest.make |
2981 | fi |
3659 | fi |
2982 | if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then |
3660 | if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then |
2983 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
3661 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
2984 | $as_echo "yes" >&6; } |
3662 | printf "%s\n" "yes" >&6; } |
2985 | SET_MAKE= |
3663 | SET_MAKE= |
2986 | else |
3664 | else |
2987 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3665 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
2988 | $as_echo "no" >&6; } |
3666 | printf "%s\n" "no" >&6; } |
2989 | SET_MAKE="MAKE=${MAKE-make}" |
3667 | SET_MAKE="MAKE=${MAKE-make}" |
2990 | fi |
3668 | fi |
2991 | |
3669 | |
2992 | rm -rf .tst 2>/dev/null |
3670 | rm -rf .tst 2>/dev/null |
2993 | mkdir .tst 2>/dev/null |
3671 | mkdir .tst 2>/dev/null |
… | |
… | |
2996 | else |
3674 | else |
2997 | am__leading_dot=_ |
3675 | am__leading_dot=_ |
2998 | fi |
3676 | fi |
2999 | rmdir .tst 2>/dev/null |
3677 | rmdir .tst 2>/dev/null |
3000 | |
3678 | |
|
|
3679 | # Check whether --enable-silent-rules was given. |
|
|
3680 | if test ${enable_silent_rules+y} |
|
|
3681 | then : |
|
|
3682 | enableval=$enable_silent_rules; |
|
|
3683 | fi |
|
|
3684 | |
|
|
3685 | case $enable_silent_rules in # ((( |
|
|
3686 | yes) AM_DEFAULT_VERBOSITY=0;; |
|
|
3687 | no) AM_DEFAULT_VERBOSITY=1;; |
|
|
3688 | *) AM_DEFAULT_VERBOSITY=1;; |
|
|
3689 | esac |
|
|
3690 | am_make=${MAKE-make} |
|
|
3691 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 |
|
|
3692 | printf %s "checking whether $am_make supports nested variables... " >&6; } |
|
|
3693 | if test ${am_cv_make_support_nested_variables+y} |
|
|
3694 | then : |
|
|
3695 | printf %s "(cached) " >&6 |
|
|
3696 | else $as_nop |
|
|
3697 | if printf "%s\n" 'TRUE=$(BAR$(V)) |
|
|
3698 | BAR0=false |
|
|
3699 | BAR1=true |
|
|
3700 | V=1 |
|
|
3701 | am__doit: |
|
|
3702 | @$(TRUE) |
|
|
3703 | .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then |
|
|
3704 | am_cv_make_support_nested_variables=yes |
|
|
3705 | else |
|
|
3706 | am_cv_make_support_nested_variables=no |
|
|
3707 | fi |
|
|
3708 | fi |
|
|
3709 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 |
|
|
3710 | printf "%s\n" "$am_cv_make_support_nested_variables" >&6; } |
|
|
3711 | if test $am_cv_make_support_nested_variables = yes; then |
|
|
3712 | AM_V='$(V)' |
|
|
3713 | AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' |
|
|
3714 | else |
|
|
3715 | AM_V=$AM_DEFAULT_VERBOSITY |
|
|
3716 | AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY |
|
|
3717 | fi |
|
|
3718 | AM_BACKSLASH='\' |
|
|
3719 | |
|
|
3720 | if test "`cd $srcdir && pwd`" != "`pwd`"; then |
|
|
3721 | # Use -I$(srcdir) only when $(srcdir) != ., so that make's output |
|
|
3722 | # is not polluted with repeated "-I." |
|
|
3723 | am__isrc=' -I$(srcdir)' |
3001 | # test to see if srcdir already configured |
3724 | # test to see if srcdir already configured |
3002 | if test "`cd $srcdir && pwd`" != "`pwd`" && |
|
|
3003 | test -f $srcdir/config.status; then |
3725 | if test -f $srcdir/config.status; then |
3004 | as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 |
3726 | as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 |
|
|
3727 | fi |
3005 | fi |
3728 | fi |
3006 | |
3729 | |
3007 | # test whether we have cygpath |
3730 | # test whether we have cygpath |
3008 | if test -z "$CYGPATH_W"; then |
3731 | if test -z "$CYGPATH_W"; then |
3009 | if (cygpath --version) >/dev/null 2>/dev/null; then |
3732 | if (cygpath --version) >/dev/null 2>/dev/null; then |
… | |
… | |
3013 | fi |
3736 | fi |
3014 | fi |
3737 | fi |
3015 | |
3738 | |
3016 | |
3739 | |
3017 | # Define the identity of the package. |
3740 | # Define the identity of the package. |
3018 | PACKAGE=gvpe |
3741 | PACKAGE='gvpe' |
3019 | VERSION=2.25 |
3742 | VERSION='3.1' |
3020 | |
3743 | |
3021 | |
3744 | |
3022 | cat >>confdefs.h <<_ACEOF |
3745 | printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h |
3023 | #define PACKAGE "$PACKAGE" |
|
|
3024 | _ACEOF |
|
|
3025 | |
3746 | |
3026 | |
3747 | |
3027 | cat >>confdefs.h <<_ACEOF |
3748 | printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h |
3028 | #define VERSION "$VERSION" |
|
|
3029 | _ACEOF |
|
|
3030 | |
3749 | |
3031 | # Some tools Automake needs. |
3750 | # Some tools Automake needs. |
3032 | |
3751 | |
3033 | ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} |
3752 | ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} |
3034 | |
3753 | |
… | |
… | |
3042 | AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} |
3761 | AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} |
3043 | |
3762 | |
3044 | |
3763 | |
3045 | MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} |
3764 | MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} |
3046 | |
3765 | |
|
|
3766 | # For better backward compatibility. To be removed once Automake 1.9.x |
|
|
3767 | # dies out for good. For more background, see: |
|
|
3768 | # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> |
|
|
3769 | # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> |
|
|
3770 | mkdir_p='$(MKDIR_P)' |
3047 | |
3771 | |
3048 | AMTAR=${AMTAR-"${am_missing_run}tar"} |
3772 | # We need awk for the "check" target (and possibly the TAP driver). The |
|
|
3773 | # system "awk" is bad on some platforms. |
|
|
3774 | # Always define AMTAR for backward compatibility. Yes, it's still used |
|
|
3775 | # in the wild :-( We should find a proper way to deprecate it ... |
|
|
3776 | AMTAR='$${TAR-tar}' |
3049 | |
3777 | |
3050 | install_sh=${install_sh-"$am_aux_dir/install-sh"} |
|
|
3051 | |
3778 | |
3052 | # Installed binaries are usually stripped using `strip' when the user |
3779 | # We'll loop over all known methods to create a tar archive until one works. |
3053 | # run `make install-strip'. However `strip' might not be the right |
3780 | _am_tools='gnutar pax cpio none' |
3054 | # tool to use in cross-compilation environments, therefore Automake |
3781 | |
3055 | # will honor the `STRIP' environment variable to overrule this program. |
3782 | am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' |
3056 | if test "$cross_compiling" != no; then |
3783 | |
3057 | if test -n "$ac_tool_prefix"; then |
3784 | |
3058 | # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
3785 | |
3059 | set dummy ${ac_tool_prefix}strip; ac_word=$2 |
3786 | |
3060 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3787 | |
3061 | $as_echo_n "checking for $ac_word... " >&6; } |
3788 | |
3062 | if ${ac_cv_prog_STRIP+:} false; then : |
3789 | # POSIX will say in a future version that running "rm -f" with no argument |
3063 | $as_echo_n "(cached) " >&6 |
3790 | # is OK; and we want to be able to make that assumption in our Makefile |
|
|
3791 | # recipes. So use an aggressive probe to check that the usage we want is |
|
|
3792 | # actually supported "in the wild" to an acceptable degree. |
|
|
3793 | # See automake bug#10828. |
|
|
3794 | # To make any issue more visible, cause the running configure to be aborted |
|
|
3795 | # by default if the 'rm' program in use doesn't match our expectations; the |
|
|
3796 | # user can still override this though. |
|
|
3797 | if rm -f && rm -fr && rm -rf; then : OK; else |
|
|
3798 | cat >&2 <<'END' |
|
|
3799 | Oops! |
|
|
3800 | |
|
|
3801 | Your 'rm' program seems unable to run without file operands specified |
|
|
3802 | on the command line, even when the '-f' option is present. This is contrary |
|
|
3803 | to the behaviour of most rm programs out there, and not conforming with |
|
|
3804 | the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> |
|
|
3805 | |
|
|
3806 | Please tell bug-automake@gnu.org about your system, including the value |
|
|
3807 | of your $PATH and any error possibly output before this message. This |
|
|
3808 | can help us improve future automake versions. |
|
|
3809 | |
|
|
3810 | END |
|
|
3811 | if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then |
|
|
3812 | echo 'Configuration will proceed anyway, since you have set the' >&2 |
|
|
3813 | echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 |
|
|
3814 | echo >&2 |
3064 | else |
3815 | else |
3065 | if test -n "$STRIP"; then |
3816 | cat >&2 <<'END' |
3066 | ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
3817 | Aborting the configuration process, to ensure you take notice of the issue. |
3067 | else |
3818 | |
3068 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3819 | You can download and install GNU coreutils to get an 'rm' implementation |
3069 | for as_dir in $PATH |
3820 | that behaves properly: <https://www.gnu.org/software/coreutils/>. |
3070 | do |
3821 | |
3071 | IFS=$as_save_IFS |
3822 | If you want to complete the configuration process using your problematic |
3072 | test -z "$as_dir" && as_dir=. |
3823 | 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM |
3073 | for ac_exec_ext in '' $ac_executable_extensions; do |
3824 | to "yes", and re-run configure. |
3074 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3825 | |
3075 | ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
3826 | END |
3076 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3827 | as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 |
3077 | break 2 |
|
|
3078 | fi |
3828 | fi |
3079 | done |
|
|
3080 | done |
|
|
3081 | IFS=$as_save_IFS |
|
|
3082 | |
|
|
3083 | fi |
3829 | fi |
3084 | fi |
|
|
3085 | STRIP=$ac_cv_prog_STRIP |
|
|
3086 | if test -n "$STRIP"; then |
|
|
3087 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 |
|
|
3088 | $as_echo "$STRIP" >&6; } |
|
|
3089 | else |
|
|
3090 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
3091 | $as_echo "no" >&6; } |
|
|
3092 | fi |
|
|
3093 | |
|
|
3094 | |
|
|
3095 | fi |
|
|
3096 | if test -z "$ac_cv_prog_STRIP"; then |
|
|
3097 | ac_ct_STRIP=$STRIP |
|
|
3098 | # Extract the first word of "strip", so it can be a program name with args. |
|
|
3099 | set dummy strip; ac_word=$2 |
|
|
3100 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
|
3101 | $as_echo_n "checking for $ac_word... " >&6; } |
|
|
3102 | if ${ac_cv_prog_ac_ct_STRIP+:} false; then : |
|
|
3103 | $as_echo_n "(cached) " >&6 |
|
|
3104 | else |
|
|
3105 | if test -n "$ac_ct_STRIP"; then |
|
|
3106 | ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. |
|
|
3107 | else |
|
|
3108 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
3109 | for as_dir in $PATH |
|
|
3110 | do |
|
|
3111 | IFS=$as_save_IFS |
|
|
3112 | test -z "$as_dir" && as_dir=. |
|
|
3113 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
3114 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
3115 | ac_cv_prog_ac_ct_STRIP="strip" |
|
|
3116 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
3117 | break 2 |
|
|
3118 | fi |
|
|
3119 | done |
|
|
3120 | done |
|
|
3121 | IFS=$as_save_IFS |
|
|
3122 | |
|
|
3123 | fi |
|
|
3124 | fi |
|
|
3125 | ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP |
|
|
3126 | if test -n "$ac_ct_STRIP"; then |
|
|
3127 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 |
|
|
3128 | $as_echo "$ac_ct_STRIP" >&6; } |
|
|
3129 | else |
|
|
3130 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
3131 | $as_echo "no" >&6; } |
|
|
3132 | fi |
|
|
3133 | |
|
|
3134 | if test "x$ac_ct_STRIP" = x; then |
|
|
3135 | STRIP=":" |
|
|
3136 | else |
|
|
3137 | case $cross_compiling:$ac_tool_warned in |
|
|
3138 | yes:) |
|
|
3139 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
|
3140 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
|
3141 | ac_tool_warned=yes ;; |
|
|
3142 | esac |
|
|
3143 | STRIP=$ac_ct_STRIP |
|
|
3144 | fi |
|
|
3145 | else |
|
|
3146 | STRIP="$ac_cv_prog_STRIP" |
|
|
3147 | fi |
|
|
3148 | |
|
|
3149 | fi |
|
|
3150 | INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" |
|
|
3151 | |
|
|
3152 | # We need awk for the "check" target. The system "awk" is bad on |
|
|
3153 | # some platforms. |
|
|
3154 | |
|
|
3155 | |
|
|
3156 | |
3830 | |
3157 | ac_config_headers="$ac_config_headers config.h" |
3831 | ac_config_headers="$ac_config_headers config.h" |
3158 | |
3832 | |
|
|
3833 | |
3159 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 |
3834 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 |
3160 | $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } |
3835 | printf %s "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } |
3161 | # Check whether --enable-maintainer-mode was given. |
3836 | # Check whether --enable-maintainer-mode was given. |
3162 | if test "${enable_maintainer_mode+set}" = set; then : |
3837 | if test ${enable_maintainer_mode+y} |
|
|
3838 | then : |
3163 | enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval |
3839 | enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval |
3164 | else |
3840 | else $as_nop |
3165 | USE_MAINTAINER_MODE=no |
3841 | USE_MAINTAINER_MODE=no |
3166 | fi |
3842 | fi |
3167 | |
3843 | |
3168 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 |
3844 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 |
3169 | $as_echo "$USE_MAINTAINER_MODE" >&6; } |
3845 | printf "%s\n" "$USE_MAINTAINER_MODE" >&6; } |
3170 | |
|
|
3171 | |
|
|
3172 | if test $USE_MAINTAINER_MODE = yes; then |
3846 | if test $USE_MAINTAINER_MODE = yes; then |
3173 | MAINTAINER_MODE_TRUE= |
3847 | MAINTAINER_MODE_TRUE= |
3174 | MAINTAINER_MODE_FALSE='#' |
3848 | MAINTAINER_MODE_FALSE='#' |
3175 | else |
3849 | else |
3176 | MAINTAINER_MODE_TRUE='#' |
3850 | MAINTAINER_MODE_TRUE='#' |
3177 | MAINTAINER_MODE_FALSE= |
3851 | MAINTAINER_MODE_FALSE= |
… | |
… | |
3198 | |
3872 | |
3199 | |
3873 | |
3200 | |
3874 | |
3201 | # Extract the first word of "msgfmt", so it can be a program name with args. |
3875 | # Extract the first word of "msgfmt", so it can be a program name with args. |
3202 | set dummy msgfmt; ac_word=$2 |
3876 | set dummy msgfmt; ac_word=$2 |
3203 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3877 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3204 | $as_echo_n "checking for $ac_word... " >&6; } |
3878 | printf %s "checking for $ac_word... " >&6; } |
3205 | if ${ac_cv_path_MSGFMT+:} false; then : |
3879 | if test ${ac_cv_path_MSGFMT+y} |
3206 | $as_echo_n "(cached) " >&6 |
3880 | then : |
3207 | else |
3881 | printf %s "(cached) " >&6 |
|
|
3882 | else $as_nop |
3208 | case "$MSGFMT" in |
3883 | case "$MSGFMT" in |
3209 | /*) |
3884 | /*) |
3210 | ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. |
3885 | ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. |
3211 | ;; |
3886 | ;; |
3212 | *) |
3887 | *) |
… | |
… | |
3226 | ;; |
3901 | ;; |
3227 | esac |
3902 | esac |
3228 | fi |
3903 | fi |
3229 | MSGFMT="$ac_cv_path_MSGFMT" |
3904 | MSGFMT="$ac_cv_path_MSGFMT" |
3230 | if test "$MSGFMT" != ":"; then |
3905 | if test "$MSGFMT" != ":"; then |
3231 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 |
3906 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 |
3232 | $as_echo "$MSGFMT" >&6; } |
3907 | printf "%s\n" "$MSGFMT" >&6; } |
3233 | else |
3908 | else |
3234 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3909 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3235 | $as_echo "no" >&6; } |
3910 | printf "%s\n" "no" >&6; } |
3236 | fi |
3911 | fi |
3237 | |
3912 | |
3238 | # Extract the first word of "gmsgfmt", so it can be a program name with args. |
3913 | # Extract the first word of "gmsgfmt", so it can be a program name with args. |
3239 | set dummy gmsgfmt; ac_word=$2 |
3914 | set dummy gmsgfmt; ac_word=$2 |
3240 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3915 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3241 | $as_echo_n "checking for $ac_word... " >&6; } |
3916 | printf %s "checking for $ac_word... " >&6; } |
3242 | if ${ac_cv_path_GMSGFMT+:} false; then : |
3917 | if test ${ac_cv_path_GMSGFMT+y} |
3243 | $as_echo_n "(cached) " >&6 |
3918 | then : |
3244 | else |
3919 | printf %s "(cached) " >&6 |
|
|
3920 | else $as_nop |
3245 | case $GMSGFMT in |
3921 | case $GMSGFMT in |
3246 | [\\/]* | ?:[\\/]*) |
3922 | [\\/]* | ?:[\\/]*) |
3247 | ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. |
3923 | ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. |
3248 | ;; |
3924 | ;; |
3249 | *) |
3925 | *) |
3250 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3926 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3251 | for as_dir in $PATH |
3927 | for as_dir in $PATH |
3252 | do |
3928 | do |
3253 | IFS=$as_save_IFS |
3929 | IFS=$as_save_IFS |
3254 | test -z "$as_dir" && as_dir=. |
3930 | case $as_dir in #((( |
|
|
3931 | '') as_dir=./ ;; |
|
|
3932 | */) ;; |
|
|
3933 | *) as_dir=$as_dir/ ;; |
|
|
3934 | esac |
3255 | for ac_exec_ext in '' $ac_executable_extensions; do |
3935 | for ac_exec_ext in '' $ac_executable_extensions; do |
3256 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3936 | if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
3257 | ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" |
3937 | ac_cv_path_GMSGFMT="$as_dir$ac_word$ac_exec_ext" |
3258 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3938 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
3259 | break 2 |
3939 | break 2 |
3260 | fi |
3940 | fi |
3261 | done |
3941 | done |
3262 | done |
3942 | done |
3263 | IFS=$as_save_IFS |
3943 | IFS=$as_save_IFS |
… | |
… | |
3266 | ;; |
3946 | ;; |
3267 | esac |
3947 | esac |
3268 | fi |
3948 | fi |
3269 | GMSGFMT=$ac_cv_path_GMSGFMT |
3949 | GMSGFMT=$ac_cv_path_GMSGFMT |
3270 | if test -n "$GMSGFMT"; then |
3950 | if test -n "$GMSGFMT"; then |
3271 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 |
3951 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 |
3272 | $as_echo "$GMSGFMT" >&6; } |
3952 | printf "%s\n" "$GMSGFMT" >&6; } |
3273 | else |
3953 | else |
3274 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3954 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3275 | $as_echo "no" >&6; } |
3955 | printf "%s\n" "no" >&6; } |
3276 | fi |
3956 | fi |
3277 | |
3957 | |
3278 | |
3958 | |
3279 | |
3959 | |
3280 | # Extract the first word of "xgettext", so it can be a program name with args. |
3960 | # Extract the first word of "xgettext", so it can be a program name with args. |
3281 | set dummy xgettext; ac_word=$2 |
3961 | set dummy xgettext; ac_word=$2 |
3282 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3962 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3283 | $as_echo_n "checking for $ac_word... " >&6; } |
3963 | printf %s "checking for $ac_word... " >&6; } |
3284 | if ${ac_cv_path_XGETTEXT+:} false; then : |
3964 | if test ${ac_cv_path_XGETTEXT+y} |
3285 | $as_echo_n "(cached) " >&6 |
3965 | then : |
3286 | else |
3966 | printf %s "(cached) " >&6 |
|
|
3967 | else $as_nop |
3287 | case "$XGETTEXT" in |
3968 | case "$XGETTEXT" in |
3288 | /*) |
3969 | /*) |
3289 | ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. |
3970 | ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. |
3290 | ;; |
3971 | ;; |
3291 | *) |
3972 | *) |
… | |
… | |
3305 | ;; |
3986 | ;; |
3306 | esac |
3987 | esac |
3307 | fi |
3988 | fi |
3308 | XGETTEXT="$ac_cv_path_XGETTEXT" |
3989 | XGETTEXT="$ac_cv_path_XGETTEXT" |
3309 | if test "$XGETTEXT" != ":"; then |
3990 | if test "$XGETTEXT" != ":"; then |
3310 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 |
3991 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 |
3311 | $as_echo "$XGETTEXT" >&6; } |
3992 | printf "%s\n" "$XGETTEXT" >&6; } |
3312 | else |
3993 | else |
3313 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3994 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3314 | $as_echo "no" >&6; } |
3995 | printf "%s\n" "no" >&6; } |
3315 | fi |
3996 | fi |
3316 | |
3997 | |
3317 | rm -f messages.po |
3998 | rm -f messages.po |
3318 | |
3999 | |
3319 | # Extract the first word of "msgmerge", so it can be a program name with args. |
4000 | # Extract the first word of "msgmerge", so it can be a program name with args. |
3320 | set dummy msgmerge; ac_word=$2 |
4001 | set dummy msgmerge; ac_word=$2 |
3321 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
4002 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3322 | $as_echo_n "checking for $ac_word... " >&6; } |
4003 | printf %s "checking for $ac_word... " >&6; } |
3323 | if ${ac_cv_path_MSGMERGE+:} false; then : |
4004 | if test ${ac_cv_path_MSGMERGE+y} |
3324 | $as_echo_n "(cached) " >&6 |
4005 | then : |
3325 | else |
4006 | printf %s "(cached) " >&6 |
|
|
4007 | else $as_nop |
3326 | case "$MSGMERGE" in |
4008 | case "$MSGMERGE" in |
3327 | /*) |
4009 | /*) |
3328 | ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. |
4010 | ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. |
3329 | ;; |
4011 | ;; |
3330 | *) |
4012 | *) |
… | |
… | |
3343 | ;; |
4025 | ;; |
3344 | esac |
4026 | esac |
3345 | fi |
4027 | fi |
3346 | MSGMERGE="$ac_cv_path_MSGMERGE" |
4028 | MSGMERGE="$ac_cv_path_MSGMERGE" |
3347 | if test "$MSGMERGE" != ":"; then |
4029 | if test "$MSGMERGE" != ":"; then |
3348 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5 |
4030 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5 |
3349 | $as_echo "$MSGMERGE" >&6; } |
4031 | printf "%s\n" "$MSGMERGE" >&6; } |
3350 | else |
4032 | else |
3351 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
4033 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3352 | $as_echo "no" >&6; } |
4034 | printf "%s\n" "no" >&6; } |
3353 | fi |
4035 | fi |
3354 | |
4036 | |
3355 | |
4037 | |
3356 | if test "$GMSGFMT" != ":"; then |
4038 | if test "$GMSGFMT" != ":"; then |
3357 | if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 && |
4039 | if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 && |
3358 | (if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then |
4040 | (if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then |
3359 | : ; |
4041 | : ; |
3360 | else |
4042 | else |
3361 | GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'` |
4043 | GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'` |
3362 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5 |
4044 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5 |
3363 | $as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; } |
4045 | printf "%s\n" "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; } |
3364 | GMSGFMT=":" |
4046 | GMSGFMT=":" |
3365 | fi |
4047 | fi |
3366 | fi |
4048 | fi |
3367 | |
4049 | |
3368 | if test "$XGETTEXT" != ":"; then |
4050 | if test "$XGETTEXT" != ":"; then |
3369 | if $XGETTEXT --omit-header --copyright-holder= /dev/null >/dev/null 2>&1 && |
4051 | if $XGETTEXT --omit-header --copyright-holder= /dev/null >/dev/null 2>&1 && |
3370 | (if $XGETTEXT --omit-header --copyright-holder= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then |
4052 | (if $XGETTEXT --omit-header --copyright-holder= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then |
3371 | : ; |
4053 | : ; |
3372 | else |
4054 | else |
3373 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5 |
4055 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5 |
3374 | $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; } |
4056 | printf "%s\n" "found xgettext program is not GNU xgettext; ignore it" >&6; } |
3375 | XGETTEXT=":" |
4057 | XGETTEXT=":" |
3376 | fi |
4058 | fi |
3377 | rm -f messages.po |
4059 | rm -f messages.po |
3378 | fi |
4060 | fi |
3379 | |
4061 | |
… | |
… | |
3394 | acl_save_prefix="$prefix" |
4076 | acl_save_prefix="$prefix" |
3395 | prefix="$acl_final_prefix" |
4077 | prefix="$acl_final_prefix" |
3396 | eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" |
4078 | eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" |
3397 | prefix="$acl_save_prefix" |
4079 | prefix="$acl_save_prefix" |
3398 | |
4080 | |
|
|
4081 | |
|
|
4082 | |
|
|
4083 | |
|
|
4084 | |
|
|
4085 | |
|
|
4086 | |
|
|
4087 | |
|
|
4088 | |
|
|
4089 | |
3399 | DEPDIR="${am__leading_dot}deps" |
4090 | DEPDIR="${am__leading_dot}deps" |
3400 | |
4091 | |
3401 | ac_config_commands="$ac_config_commands depfiles" |
4092 | ac_config_commands="$ac_config_commands depfiles" |
3402 | |
4093 | |
3403 | |
4094 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5 |
3404 | am_make=${MAKE-make} |
4095 | printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; } |
3405 | cat > confinc << 'END' |
4096 | cat > confinc.mk << 'END' |
3406 | am__doit: |
4097 | am__doit: |
3407 | @echo done |
4098 | @echo this is the am__doit target >confinc.out |
3408 | .PHONY: am__doit |
4099 | .PHONY: am__doit |
3409 | END |
4100 | END |
3410 | # If we don't find an include directive, just comment out the code. |
|
|
3411 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 |
|
|
3412 | $as_echo_n "checking for style of include used by $am_make... " >&6; } |
|
|
3413 | am__include="#" |
4101 | am__include="#" |
3414 | am__quote= |
4102 | am__quote= |
|
|
4103 | # BSD make does it like this. |
|
|
4104 | echo '.include "confinc.mk" # ignored' > confmf.BSD |
|
|
4105 | # Other make implementations (GNU, Solaris 10, AIX) do it like this. |
|
|
4106 | echo 'include confinc.mk # ignored' > confmf.GNU |
3415 | _am_result=none |
4107 | _am_result=no |
3416 | # First try GNU make style include. |
4108 | for s in GNU BSD; do |
3417 | echo "include confinc" > confmf |
4109 | { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5 |
3418 | # We grep out `Entering directory' and `Leaving directory' |
4110 | (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5 |
3419 | # messages which can occur if `w' ends up in MAKEFLAGS. |
4111 | ac_status=$? |
3420 | # In particular we don't look at `^make:' because GNU make might |
4112 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3421 | # be invoked under some other name (usually "gmake"), in which |
4113 | (exit $ac_status); } |
3422 | # case it prints its new name instead of `make'. |
4114 | case $?:`cat confinc.out 2>/dev/null` in #( |
3423 | if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then |
4115 | '0:this is the am__doit target') : |
3424 | am__include=include |
4116 | case $s in #( |
3425 | am__quote= |
4117 | BSD) : |
3426 | _am_result=GNU |
4118 | am__include='.include' am__quote='"' ;; #( |
3427 | fi |
4119 | *) : |
3428 | # Now try BSD make style include. |
4120 | am__include='include' am__quote='' ;; |
|
|
4121 | esac ;; #( |
|
|
4122 | *) : |
|
|
4123 | ;; |
|
|
4124 | esac |
3429 | if test "$am__include" = "#"; then |
4125 | if test "$am__include" != "#"; then |
3430 | echo '.include "confinc"' > confmf |
4126 | _am_result="yes ($s style)" |
3431 | if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then |
4127 | break |
3432 | am__include=.include |
|
|
3433 | am__quote="\"" |
|
|
3434 | _am_result=BSD |
|
|
3435 | fi |
4128 | fi |
3436 | fi |
4129 | done |
3437 | |
|
|
3438 | |
|
|
3439 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 |
|
|
3440 | $as_echo "$_am_result" >&6; } |
|
|
3441 | rm -f confinc confmf |
4130 | rm -f confinc.* confmf.* |
|
|
4131 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5 |
|
|
4132 | printf "%s\n" "${_am_result}" >&6; } |
3442 | |
4133 | |
3443 | # Check whether --enable-dependency-tracking was given. |
4134 | # Check whether --enable-dependency-tracking was given. |
3444 | if test "${enable_dependency_tracking+set}" = set; then : |
4135 | if test ${enable_dependency_tracking+y} |
|
|
4136 | then : |
3445 | enableval=$enable_dependency_tracking; |
4137 | enableval=$enable_dependency_tracking; |
3446 | fi |
4138 | fi |
3447 | |
4139 | |
3448 | if test "x$enable_dependency_tracking" != xno; then |
4140 | if test "x$enable_dependency_tracking" != xno; then |
3449 | am_depcomp="$ac_aux_dir/depcomp" |
4141 | am_depcomp="$ac_aux_dir/depcomp" |
3450 | AMDEPBACKSLASH='\' |
4142 | AMDEPBACKSLASH='\' |
|
|
4143 | am__nodep='_no' |
3451 | fi |
4144 | fi |
3452 | |
|
|
3453 | |
|
|
3454 | if test "x$enable_dependency_tracking" != xno; then |
4145 | if test "x$enable_dependency_tracking" != xno; then |
3455 | AMDEP_TRUE= |
4146 | AMDEP_TRUE= |
3456 | AMDEP_FALSE='#' |
4147 | AMDEP_FALSE='#' |
3457 | else |
4148 | else |
3458 | AMDEP_TRUE='#' |
4149 | AMDEP_TRUE='#' |
3459 | AMDEP_FALSE= |
4150 | AMDEP_FALSE= |
3460 | fi |
4151 | fi |
3461 | |
|
|
3462 | |
4152 | |
3463 | |
4153 | |
3464 | ac_ext=c |
4154 | ac_ext=c |
3465 | ac_cpp='$CPP $CPPFLAGS' |
4155 | ac_cpp='$CPP $CPPFLAGS' |
3466 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
4156 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3467 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
4157 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3468 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
4158 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3469 | if test -n "$ac_tool_prefix"; then |
4159 | if test -n "$ac_tool_prefix"; then |
3470 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
4160 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
3471 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
4161 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
3472 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
4162 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3473 | $as_echo_n "checking for $ac_word... " >&6; } |
4163 | printf %s "checking for $ac_word... " >&6; } |
3474 | if ${ac_cv_prog_CC+:} false; then : |
4164 | if test ${ac_cv_prog_CC+y} |
3475 | $as_echo_n "(cached) " >&6 |
4165 | then : |
3476 | else |
4166 | printf %s "(cached) " >&6 |
|
|
4167 | else $as_nop |
3477 | if test -n "$CC"; then |
4168 | if test -n "$CC"; then |
3478 | ac_cv_prog_CC="$CC" # Let the user override the test. |
4169 | ac_cv_prog_CC="$CC" # Let the user override the test. |
3479 | else |
4170 | else |
3480 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4171 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3481 | for as_dir in $PATH |
4172 | for as_dir in $PATH |
3482 | do |
4173 | do |
3483 | IFS=$as_save_IFS |
4174 | IFS=$as_save_IFS |
3484 | test -z "$as_dir" && as_dir=. |
4175 | case $as_dir in #((( |
|
|
4176 | '') as_dir=./ ;; |
|
|
4177 | */) ;; |
|
|
4178 | *) as_dir=$as_dir/ ;; |
|
|
4179 | esac |
3485 | for ac_exec_ext in '' $ac_executable_extensions; do |
4180 | for ac_exec_ext in '' $ac_executable_extensions; do |
3486 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
4181 | if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
3487 | ac_cv_prog_CC="${ac_tool_prefix}gcc" |
4182 | ac_cv_prog_CC="${ac_tool_prefix}gcc" |
3488 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4183 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
3489 | break 2 |
4184 | break 2 |
3490 | fi |
4185 | fi |
3491 | done |
4186 | done |
3492 | done |
4187 | done |
3493 | IFS=$as_save_IFS |
4188 | IFS=$as_save_IFS |
3494 | |
4189 | |
3495 | fi |
4190 | fi |
3496 | fi |
4191 | fi |
3497 | CC=$ac_cv_prog_CC |
4192 | CC=$ac_cv_prog_CC |
3498 | if test -n "$CC"; then |
4193 | if test -n "$CC"; then |
3499 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
4194 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
3500 | $as_echo "$CC" >&6; } |
4195 | printf "%s\n" "$CC" >&6; } |
3501 | else |
4196 | else |
3502 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
4197 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3503 | $as_echo "no" >&6; } |
4198 | printf "%s\n" "no" >&6; } |
3504 | fi |
4199 | fi |
3505 | |
4200 | |
3506 | |
4201 | |
3507 | fi |
4202 | fi |
3508 | if test -z "$ac_cv_prog_CC"; then |
4203 | if test -z "$ac_cv_prog_CC"; then |
3509 | ac_ct_CC=$CC |
4204 | ac_ct_CC=$CC |
3510 | # Extract the first word of "gcc", so it can be a program name with args. |
4205 | # Extract the first word of "gcc", so it can be a program name with args. |
3511 | set dummy gcc; ac_word=$2 |
4206 | set dummy gcc; ac_word=$2 |
3512 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
4207 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3513 | $as_echo_n "checking for $ac_word... " >&6; } |
4208 | printf %s "checking for $ac_word... " >&6; } |
3514 | if ${ac_cv_prog_ac_ct_CC+:} false; then : |
4209 | if test ${ac_cv_prog_ac_ct_CC+y} |
3515 | $as_echo_n "(cached) " >&6 |
4210 | then : |
3516 | else |
4211 | printf %s "(cached) " >&6 |
|
|
4212 | else $as_nop |
3517 | if test -n "$ac_ct_CC"; then |
4213 | if test -n "$ac_ct_CC"; then |
3518 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
4214 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
3519 | else |
4215 | else |
3520 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4216 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3521 | for as_dir in $PATH |
4217 | for as_dir in $PATH |
3522 | do |
4218 | do |
3523 | IFS=$as_save_IFS |
4219 | IFS=$as_save_IFS |
3524 | test -z "$as_dir" && as_dir=. |
4220 | case $as_dir in #((( |
|
|
4221 | '') as_dir=./ ;; |
|
|
4222 | */) ;; |
|
|
4223 | *) as_dir=$as_dir/ ;; |
|
|
4224 | esac |
3525 | for ac_exec_ext in '' $ac_executable_extensions; do |
4225 | for ac_exec_ext in '' $ac_executable_extensions; do |
3526 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
4226 | if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
3527 | ac_cv_prog_ac_ct_CC="gcc" |
4227 | ac_cv_prog_ac_ct_CC="gcc" |
3528 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4228 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
3529 | break 2 |
4229 | break 2 |
3530 | fi |
4230 | fi |
3531 | done |
4231 | done |
3532 | done |
4232 | done |
3533 | IFS=$as_save_IFS |
4233 | IFS=$as_save_IFS |
3534 | |
4234 | |
3535 | fi |
4235 | fi |
3536 | fi |
4236 | fi |
3537 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
4237 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
3538 | if test -n "$ac_ct_CC"; then |
4238 | if test -n "$ac_ct_CC"; then |
3539 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
4239 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
3540 | $as_echo "$ac_ct_CC" >&6; } |
4240 | printf "%s\n" "$ac_ct_CC" >&6; } |
3541 | else |
4241 | else |
3542 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
4242 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3543 | $as_echo "no" >&6; } |
4243 | printf "%s\n" "no" >&6; } |
3544 | fi |
4244 | fi |
3545 | |
4245 | |
3546 | if test "x$ac_ct_CC" = x; then |
4246 | if test "x$ac_ct_CC" = x; then |
3547 | CC="" |
4247 | CC="" |
3548 | else |
4248 | else |
3549 | case $cross_compiling:$ac_tool_warned in |
4249 | case $cross_compiling:$ac_tool_warned in |
3550 | yes:) |
4250 | yes:) |
3551 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
4251 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
3552 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
4252 | printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
3553 | ac_tool_warned=yes ;; |
4253 | ac_tool_warned=yes ;; |
3554 | esac |
4254 | esac |
3555 | CC=$ac_ct_CC |
4255 | CC=$ac_ct_CC |
3556 | fi |
4256 | fi |
3557 | else |
4257 | else |
… | |
… | |
3560 | |
4260 | |
3561 | if test -z "$CC"; then |
4261 | if test -z "$CC"; then |
3562 | if test -n "$ac_tool_prefix"; then |
4262 | if test -n "$ac_tool_prefix"; then |
3563 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
4263 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
3564 | set dummy ${ac_tool_prefix}cc; ac_word=$2 |
4264 | set dummy ${ac_tool_prefix}cc; ac_word=$2 |
3565 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
4265 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3566 | $as_echo_n "checking for $ac_word... " >&6; } |
4266 | printf %s "checking for $ac_word... " >&6; } |
3567 | if ${ac_cv_prog_CC+:} false; then : |
4267 | if test ${ac_cv_prog_CC+y} |
3568 | $as_echo_n "(cached) " >&6 |
4268 | then : |
3569 | else |
4269 | printf %s "(cached) " >&6 |
|
|
4270 | else $as_nop |
3570 | if test -n "$CC"; then |
4271 | if test -n "$CC"; then |
3571 | ac_cv_prog_CC="$CC" # Let the user override the test. |
4272 | ac_cv_prog_CC="$CC" # Let the user override the test. |
3572 | else |
4273 | else |
3573 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4274 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3574 | for as_dir in $PATH |
4275 | for as_dir in $PATH |
3575 | do |
4276 | do |
3576 | IFS=$as_save_IFS |
4277 | IFS=$as_save_IFS |
3577 | test -z "$as_dir" && as_dir=. |
4278 | case $as_dir in #((( |
|
|
4279 | '') as_dir=./ ;; |
|
|
4280 | */) ;; |
|
|
4281 | *) as_dir=$as_dir/ ;; |
|
|
4282 | esac |
3578 | for ac_exec_ext in '' $ac_executable_extensions; do |
4283 | for ac_exec_ext in '' $ac_executable_extensions; do |
3579 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
4284 | if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
3580 | ac_cv_prog_CC="${ac_tool_prefix}cc" |
4285 | ac_cv_prog_CC="${ac_tool_prefix}cc" |
3581 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4286 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
3582 | break 2 |
4287 | break 2 |
3583 | fi |
4288 | fi |
3584 | done |
4289 | done |
3585 | done |
4290 | done |
3586 | IFS=$as_save_IFS |
4291 | IFS=$as_save_IFS |
3587 | |
4292 | |
3588 | fi |
4293 | fi |
3589 | fi |
4294 | fi |
3590 | CC=$ac_cv_prog_CC |
4295 | CC=$ac_cv_prog_CC |
3591 | if test -n "$CC"; then |
4296 | if test -n "$CC"; then |
3592 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
4297 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
3593 | $as_echo "$CC" >&6; } |
4298 | printf "%s\n" "$CC" >&6; } |
3594 | else |
4299 | else |
3595 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
4300 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3596 | $as_echo "no" >&6; } |
4301 | printf "%s\n" "no" >&6; } |
3597 | fi |
4302 | fi |
3598 | |
4303 | |
3599 | |
4304 | |
3600 | fi |
4305 | fi |
3601 | fi |
4306 | fi |
3602 | if test -z "$CC"; then |
4307 | if test -z "$CC"; then |
3603 | # Extract the first word of "cc", so it can be a program name with args. |
4308 | # Extract the first word of "cc", so it can be a program name with args. |
3604 | set dummy cc; ac_word=$2 |
4309 | set dummy cc; ac_word=$2 |
3605 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
4310 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3606 | $as_echo_n "checking for $ac_word... " >&6; } |
4311 | printf %s "checking for $ac_word... " >&6; } |
3607 | if ${ac_cv_prog_CC+:} false; then : |
4312 | if test ${ac_cv_prog_CC+y} |
3608 | $as_echo_n "(cached) " >&6 |
4313 | then : |
3609 | else |
4314 | printf %s "(cached) " >&6 |
|
|
4315 | else $as_nop |
3610 | if test -n "$CC"; then |
4316 | if test -n "$CC"; then |
3611 | ac_cv_prog_CC="$CC" # Let the user override the test. |
4317 | ac_cv_prog_CC="$CC" # Let the user override the test. |
3612 | else |
4318 | else |
3613 | ac_prog_rejected=no |
4319 | ac_prog_rejected=no |
3614 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4320 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3615 | for as_dir in $PATH |
4321 | for as_dir in $PATH |
3616 | do |
4322 | do |
3617 | IFS=$as_save_IFS |
4323 | IFS=$as_save_IFS |
3618 | test -z "$as_dir" && as_dir=. |
4324 | case $as_dir in #((( |
|
|
4325 | '') as_dir=./ ;; |
|
|
4326 | */) ;; |
|
|
4327 | *) as_dir=$as_dir/ ;; |
|
|
4328 | esac |
3619 | for ac_exec_ext in '' $ac_executable_extensions; do |
4329 | for ac_exec_ext in '' $ac_executable_extensions; do |
3620 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
4330 | if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
3621 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
4331 | if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
3622 | ac_prog_rejected=yes |
4332 | ac_prog_rejected=yes |
3623 | continue |
4333 | continue |
3624 | fi |
4334 | fi |
3625 | ac_cv_prog_CC="cc" |
4335 | ac_cv_prog_CC="cc" |
3626 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4336 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
3627 | break 2 |
4337 | break 2 |
3628 | fi |
4338 | fi |
3629 | done |
4339 | done |
3630 | done |
4340 | done |
3631 | IFS=$as_save_IFS |
4341 | IFS=$as_save_IFS |
… | |
… | |
3637 | if test $# != 0; then |
4347 | if test $# != 0; then |
3638 | # We chose a different compiler from the bogus one. |
4348 | # We chose a different compiler from the bogus one. |
3639 | # However, it has the same basename, so the bogon will be chosen |
4349 | # However, it has the same basename, so the bogon will be chosen |
3640 | # first if we set CC to just the basename; use the full file name. |
4350 | # first if we set CC to just the basename; use the full file name. |
3641 | shift |
4351 | shift |
3642 | ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
4352 | ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@" |
3643 | fi |
4353 | fi |
3644 | fi |
4354 | fi |
3645 | fi |
4355 | fi |
3646 | fi |
4356 | fi |
3647 | CC=$ac_cv_prog_CC |
4357 | CC=$ac_cv_prog_CC |
3648 | if test -n "$CC"; then |
4358 | if test -n "$CC"; then |
3649 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
4359 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
3650 | $as_echo "$CC" >&6; } |
4360 | printf "%s\n" "$CC" >&6; } |
3651 | else |
4361 | else |
3652 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
4362 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3653 | $as_echo "no" >&6; } |
4363 | printf "%s\n" "no" >&6; } |
3654 | fi |
4364 | fi |
3655 | |
4365 | |
3656 | |
4366 | |
3657 | fi |
4367 | fi |
3658 | if test -z "$CC"; then |
4368 | if test -z "$CC"; then |
3659 | if test -n "$ac_tool_prefix"; then |
4369 | if test -n "$ac_tool_prefix"; then |
3660 | for ac_prog in cl.exe |
4370 | for ac_prog in cl.exe |
3661 | do |
4371 | do |
3662 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
4372 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
3663 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
4373 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
3664 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
4374 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3665 | $as_echo_n "checking for $ac_word... " >&6; } |
4375 | printf %s "checking for $ac_word... " >&6; } |
3666 | if ${ac_cv_prog_CC+:} false; then : |
4376 | if test ${ac_cv_prog_CC+y} |
3667 | $as_echo_n "(cached) " >&6 |
4377 | then : |
3668 | else |
4378 | printf %s "(cached) " >&6 |
|
|
4379 | else $as_nop |
3669 | if test -n "$CC"; then |
4380 | if test -n "$CC"; then |
3670 | ac_cv_prog_CC="$CC" # Let the user override the test. |
4381 | ac_cv_prog_CC="$CC" # Let the user override the test. |
3671 | else |
4382 | else |
3672 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4383 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3673 | for as_dir in $PATH |
4384 | for as_dir in $PATH |
3674 | do |
4385 | do |
3675 | IFS=$as_save_IFS |
4386 | IFS=$as_save_IFS |
3676 | test -z "$as_dir" && as_dir=. |
4387 | case $as_dir in #((( |
|
|
4388 | '') as_dir=./ ;; |
|
|
4389 | */) ;; |
|
|
4390 | *) as_dir=$as_dir/ ;; |
|
|
4391 | esac |
3677 | for ac_exec_ext in '' $ac_executable_extensions; do |
4392 | for ac_exec_ext in '' $ac_executable_extensions; do |
3678 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
4393 | if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
3679 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
4394 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
3680 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4395 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
3681 | break 2 |
4396 | break 2 |
3682 | fi |
4397 | fi |
3683 | done |
4398 | done |
3684 | done |
4399 | done |
3685 | IFS=$as_save_IFS |
4400 | IFS=$as_save_IFS |
3686 | |
4401 | |
3687 | fi |
4402 | fi |
3688 | fi |
4403 | fi |
3689 | CC=$ac_cv_prog_CC |
4404 | CC=$ac_cv_prog_CC |
3690 | if test -n "$CC"; then |
4405 | if test -n "$CC"; then |
3691 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
4406 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
3692 | $as_echo "$CC" >&6; } |
4407 | printf "%s\n" "$CC" >&6; } |
3693 | else |
4408 | else |
3694 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
4409 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3695 | $as_echo "no" >&6; } |
4410 | printf "%s\n" "no" >&6; } |
3696 | fi |
4411 | fi |
3697 | |
4412 | |
3698 | |
4413 | |
3699 | test -n "$CC" && break |
4414 | test -n "$CC" && break |
3700 | done |
4415 | done |
… | |
… | |
3703 | ac_ct_CC=$CC |
4418 | ac_ct_CC=$CC |
3704 | for ac_prog in cl.exe |
4419 | for ac_prog in cl.exe |
3705 | do |
4420 | do |
3706 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
4421 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
3707 | set dummy $ac_prog; ac_word=$2 |
4422 | set dummy $ac_prog; ac_word=$2 |
3708 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
4423 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3709 | $as_echo_n "checking for $ac_word... " >&6; } |
4424 | printf %s "checking for $ac_word... " >&6; } |
3710 | if ${ac_cv_prog_ac_ct_CC+:} false; then : |
4425 | if test ${ac_cv_prog_ac_ct_CC+y} |
3711 | $as_echo_n "(cached) " >&6 |
4426 | then : |
3712 | else |
4427 | printf %s "(cached) " >&6 |
|
|
4428 | else $as_nop |
3713 | if test -n "$ac_ct_CC"; then |
4429 | if test -n "$ac_ct_CC"; then |
3714 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
4430 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
3715 | else |
4431 | else |
3716 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4432 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3717 | for as_dir in $PATH |
4433 | for as_dir in $PATH |
3718 | do |
4434 | do |
3719 | IFS=$as_save_IFS |
4435 | IFS=$as_save_IFS |
3720 | test -z "$as_dir" && as_dir=. |
4436 | case $as_dir in #((( |
|
|
4437 | '') as_dir=./ ;; |
|
|
4438 | */) ;; |
|
|
4439 | *) as_dir=$as_dir/ ;; |
|
|
4440 | esac |
3721 | for ac_exec_ext in '' $ac_executable_extensions; do |
4441 | for ac_exec_ext in '' $ac_executable_extensions; do |
3722 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
4442 | if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
3723 | ac_cv_prog_ac_ct_CC="$ac_prog" |
4443 | ac_cv_prog_ac_ct_CC="$ac_prog" |
3724 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4444 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
3725 | break 2 |
4445 | break 2 |
3726 | fi |
4446 | fi |
3727 | done |
4447 | done |
3728 | done |
4448 | done |
3729 | IFS=$as_save_IFS |
4449 | IFS=$as_save_IFS |
3730 | |
4450 | |
3731 | fi |
4451 | fi |
3732 | fi |
4452 | fi |
3733 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
4453 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
3734 | if test -n "$ac_ct_CC"; then |
4454 | if test -n "$ac_ct_CC"; then |
3735 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
4455 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
3736 | $as_echo "$ac_ct_CC" >&6; } |
4456 | printf "%s\n" "$ac_ct_CC" >&6; } |
3737 | else |
4457 | else |
3738 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
4458 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3739 | $as_echo "no" >&6; } |
4459 | printf "%s\n" "no" >&6; } |
3740 | fi |
4460 | fi |
3741 | |
4461 | |
3742 | |
4462 | |
3743 | test -n "$ac_ct_CC" && break |
4463 | test -n "$ac_ct_CC" && break |
3744 | done |
4464 | done |
… | |
… | |
3746 | if test "x$ac_ct_CC" = x; then |
4466 | if test "x$ac_ct_CC" = x; then |
3747 | CC="" |
4467 | CC="" |
3748 | else |
4468 | else |
3749 | case $cross_compiling:$ac_tool_warned in |
4469 | case $cross_compiling:$ac_tool_warned in |
3750 | yes:) |
4470 | yes:) |
3751 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
4471 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
3752 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
4472 | printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
3753 | ac_tool_warned=yes ;; |
4473 | ac_tool_warned=yes ;; |
3754 | esac |
4474 | esac |
3755 | CC=$ac_ct_CC |
4475 | CC=$ac_ct_CC |
3756 | fi |
4476 | fi |
3757 | fi |
4477 | fi |
3758 | |
4478 | |
3759 | fi |
4479 | fi |
|
|
4480 | if test -z "$CC"; then |
|
|
4481 | if test -n "$ac_tool_prefix"; then |
|
|
4482 | # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args. |
|
|
4483 | set dummy ${ac_tool_prefix}clang; ac_word=$2 |
|
|
4484 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
|
4485 | printf %s "checking for $ac_word... " >&6; } |
|
|
4486 | if test ${ac_cv_prog_CC+y} |
|
|
4487 | then : |
|
|
4488 | printf %s "(cached) " >&6 |
|
|
4489 | else $as_nop |
|
|
4490 | if test -n "$CC"; then |
|
|
4491 | ac_cv_prog_CC="$CC" # Let the user override the test. |
|
|
4492 | else |
|
|
4493 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
4494 | for as_dir in $PATH |
|
|
4495 | do |
|
|
4496 | IFS=$as_save_IFS |
|
|
4497 | case $as_dir in #((( |
|
|
4498 | '') as_dir=./ ;; |
|
|
4499 | */) ;; |
|
|
4500 | *) as_dir=$as_dir/ ;; |
|
|
4501 | esac |
|
|
4502 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
4503 | if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
|
|
4504 | ac_cv_prog_CC="${ac_tool_prefix}clang" |
|
|
4505 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
|
|
4506 | break 2 |
|
|
4507 | fi |
|
|
4508 | done |
|
|
4509 | done |
|
|
4510 | IFS=$as_save_IFS |
3760 | |
4511 | |
|
|
4512 | fi |
|
|
4513 | fi |
|
|
4514 | CC=$ac_cv_prog_CC |
|
|
4515 | if test -n "$CC"; then |
|
|
4516 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
|
|
4517 | printf "%s\n" "$CC" >&6; } |
|
|
4518 | else |
|
|
4519 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
4520 | printf "%s\n" "no" >&6; } |
|
|
4521 | fi |
3761 | |
4522 | |
|
|
4523 | |
|
|
4524 | fi |
|
|
4525 | if test -z "$ac_cv_prog_CC"; then |
|
|
4526 | ac_ct_CC=$CC |
|
|
4527 | # Extract the first word of "clang", so it can be a program name with args. |
|
|
4528 | set dummy clang; ac_word=$2 |
|
|
4529 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
|
4530 | printf %s "checking for $ac_word... " >&6; } |
|
|
4531 | if test ${ac_cv_prog_ac_ct_CC+y} |
|
|
4532 | then : |
|
|
4533 | printf %s "(cached) " >&6 |
|
|
4534 | else $as_nop |
|
|
4535 | if test -n "$ac_ct_CC"; then |
|
|
4536 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
|
|
4537 | else |
|
|
4538 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
4539 | for as_dir in $PATH |
|
|
4540 | do |
|
|
4541 | IFS=$as_save_IFS |
|
|
4542 | case $as_dir in #((( |
|
|
4543 | '') as_dir=./ ;; |
|
|
4544 | */) ;; |
|
|
4545 | *) as_dir=$as_dir/ ;; |
|
|
4546 | esac |
|
|
4547 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
4548 | if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
|
|
4549 | ac_cv_prog_ac_ct_CC="clang" |
|
|
4550 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
|
|
4551 | break 2 |
|
|
4552 | fi |
|
|
4553 | done |
|
|
4554 | done |
|
|
4555 | IFS=$as_save_IFS |
|
|
4556 | |
|
|
4557 | fi |
|
|
4558 | fi |
|
|
4559 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
|
|
4560 | if test -n "$ac_ct_CC"; then |
|
|
4561 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
|
|
4562 | printf "%s\n" "$ac_ct_CC" >&6; } |
|
|
4563 | else |
|
|
4564 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
4565 | printf "%s\n" "no" >&6; } |
|
|
4566 | fi |
|
|
4567 | |
|
|
4568 | if test "x$ac_ct_CC" = x; then |
|
|
4569 | CC="" |
|
|
4570 | else |
|
|
4571 | case $cross_compiling:$ac_tool_warned in |
|
|
4572 | yes:) |
|
|
4573 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
|
4574 | printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
|
4575 | ac_tool_warned=yes ;; |
|
|
4576 | esac |
|
|
4577 | CC=$ac_ct_CC |
|
|
4578 | fi |
|
|
4579 | else |
|
|
4580 | CC="$ac_cv_prog_CC" |
|
|
4581 | fi |
|
|
4582 | |
|
|
4583 | fi |
|
|
4584 | |
|
|
4585 | |
3762 | test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
4586 | test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3763 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
4587 | printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
3764 | as_fn_error $? "no acceptable C compiler found in \$PATH |
4588 | as_fn_error $? "no acceptable C compiler found in \$PATH |
3765 | See \`config.log' for more details" "$LINENO" 5; } |
4589 | See \`config.log' for more details" "$LINENO" 5; } |
3766 | |
4590 | |
3767 | # Provide some information about the compiler. |
4591 | # Provide some information about the compiler. |
3768 | $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
4592 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
3769 | set X $ac_compile |
4593 | set X $ac_compile |
3770 | ac_compiler=$2 |
4594 | ac_compiler=$2 |
3771 | for ac_option in --version -v -V -qversion; do |
4595 | for ac_option in --version -v -V -qversion -version; do |
3772 | { { ac_try="$ac_compiler $ac_option >&5" |
4596 | { { ac_try="$ac_compiler $ac_option >&5" |
3773 | case "(($ac_try" in |
4597 | case "(($ac_try" in |
3774 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
4598 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3775 | *) ac_try_echo=$ac_try;; |
4599 | *) ac_try_echo=$ac_try;; |
3776 | esac |
4600 | esac |
3777 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
4601 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
3778 | $as_echo "$ac_try_echo"; } >&5 |
4602 | printf "%s\n" "$ac_try_echo"; } >&5 |
3779 | (eval "$ac_compiler $ac_option >&5") 2>conftest.err |
4603 | (eval "$ac_compiler $ac_option >&5") 2>conftest.err |
3780 | ac_status=$? |
4604 | ac_status=$? |
3781 | if test -s conftest.err; then |
4605 | if test -s conftest.err; then |
3782 | sed '10a\ |
4606 | sed '10a\ |
3783 | ... rest of stderr output deleted ... |
4607 | ... rest of stderr output deleted ... |
3784 | 10q' conftest.err >conftest.er1 |
4608 | 10q' conftest.err >conftest.er1 |
3785 | cat conftest.er1 >&5 |
4609 | cat conftest.er1 >&5 |
3786 | fi |
4610 | fi |
3787 | rm -f conftest.er1 conftest.err |
4611 | rm -f conftest.er1 conftest.err |
3788 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
4612 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
3789 | test $ac_status = 0; } |
4613 | test $ac_status = 0; } |
3790 | done |
4614 | done |
3791 | |
4615 | |
3792 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4616 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3793 | /* end confdefs.h. */ |
4617 | /* end confdefs.h. */ |
3794 | |
4618 | |
3795 | int |
4619 | int |
3796 | main () |
4620 | main (void) |
3797 | { |
4621 | { |
3798 | |
4622 | |
3799 | ; |
4623 | ; |
3800 | return 0; |
4624 | return 0; |
3801 | } |
4625 | } |
… | |
… | |
3803 | ac_clean_files_save=$ac_clean_files |
4627 | ac_clean_files_save=$ac_clean_files |
3804 | ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" |
4628 | ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" |
3805 | # Try to create an executable without -o first, disregard a.out. |
4629 | # Try to create an executable without -o first, disregard a.out. |
3806 | # It will help us diagnose broken compilers, and finding out an intuition |
4630 | # It will help us diagnose broken compilers, and finding out an intuition |
3807 | # of exeext. |
4631 | # of exeext. |
3808 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 |
4632 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 |
3809 | $as_echo_n "checking whether the C compiler works... " >&6; } |
4633 | printf %s "checking whether the C compiler works... " >&6; } |
3810 | ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
4634 | ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
3811 | |
4635 | |
3812 | # The possible output files: |
4636 | # The possible output files: |
3813 | ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" |
4637 | ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" |
3814 | |
4638 | |
3815 | ac_rmfiles= |
4639 | ac_rmfiles= |
… | |
… | |
3826 | case "(($ac_try" in |
4650 | case "(($ac_try" in |
3827 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
4651 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3828 | *) ac_try_echo=$ac_try;; |
4652 | *) ac_try_echo=$ac_try;; |
3829 | esac |
4653 | esac |
3830 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
4654 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
3831 | $as_echo "$ac_try_echo"; } >&5 |
4655 | printf "%s\n" "$ac_try_echo"; } >&5 |
3832 | (eval "$ac_link_default") 2>&5 |
4656 | (eval "$ac_link_default") 2>&5 |
3833 | ac_status=$? |
4657 | ac_status=$? |
3834 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
4658 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
3835 | test $ac_status = 0; }; then : |
4659 | test $ac_status = 0; } |
|
|
4660 | then : |
3836 | # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. |
4661 | # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. |
3837 | # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' |
4662 | # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' |
3838 | # in a Makefile. We should not override ac_cv_exeext if it was cached, |
4663 | # in a Makefile. We should not override ac_cv_exeext if it was cached, |
3839 | # so that the user can short-circuit this test for compilers unknown to |
4664 | # so that the user can short-circuit this test for compilers unknown to |
3840 | # Autoconf. |
4665 | # Autoconf. |
… | |
… | |
3847 | [ab].out ) |
4672 | [ab].out ) |
3848 | # We found the default executable, but exeext='' is most |
4673 | # We found the default executable, but exeext='' is most |
3849 | # certainly right. |
4674 | # certainly right. |
3850 | break;; |
4675 | break;; |
3851 | *.* ) |
4676 | *.* ) |
3852 | if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; |
4677 | if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no; |
3853 | then :; else |
4678 | then :; else |
3854 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
4679 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
3855 | fi |
4680 | fi |
3856 | # We set ac_cv_exeext here because the later test for it is not |
4681 | # We set ac_cv_exeext here because the later test for it is not |
3857 | # safe: cross compilers may not add the suffix if given an `-o' |
4682 | # safe: cross compilers may not add the suffix if given an `-o' |
… | |
… | |
3863 | break;; |
4688 | break;; |
3864 | esac |
4689 | esac |
3865 | done |
4690 | done |
3866 | test "$ac_cv_exeext" = no && ac_cv_exeext= |
4691 | test "$ac_cv_exeext" = no && ac_cv_exeext= |
3867 | |
4692 | |
3868 | else |
4693 | else $as_nop |
3869 | ac_file='' |
4694 | ac_file='' |
3870 | fi |
4695 | fi |
3871 | if test -z "$ac_file"; then : |
4696 | if test -z "$ac_file" |
|
|
4697 | then : |
3872 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
4698 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3873 | $as_echo "no" >&6; } |
4699 | printf "%s\n" "no" >&6; } |
3874 | $as_echo "$as_me: failed program was:" >&5 |
4700 | printf "%s\n" "$as_me: failed program was:" >&5 |
3875 | sed 's/^/| /' conftest.$ac_ext >&5 |
4701 | sed 's/^/| /' conftest.$ac_ext >&5 |
3876 | |
4702 | |
3877 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
4703 | { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3878 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
4704 | printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
3879 | as_fn_error 77 "C compiler cannot create executables |
4705 | as_fn_error 77 "C compiler cannot create executables |
3880 | See \`config.log' for more details" "$LINENO" 5; } |
4706 | See \`config.log' for more details" "$LINENO" 5; } |
3881 | else |
4707 | else $as_nop |
3882 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
4708 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
3883 | $as_echo "yes" >&6; } |
4709 | printf "%s\n" "yes" >&6; } |
3884 | fi |
4710 | fi |
3885 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 |
4711 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 |
3886 | $as_echo_n "checking for C compiler default output file name... " >&6; } |
4712 | printf %s "checking for C compiler default output file name... " >&6; } |
3887 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 |
4713 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 |
3888 | $as_echo "$ac_file" >&6; } |
4714 | printf "%s\n" "$ac_file" >&6; } |
3889 | ac_exeext=$ac_cv_exeext |
4715 | ac_exeext=$ac_cv_exeext |
3890 | |
4716 | |
3891 | rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out |
4717 | rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out |
3892 | ac_clean_files=$ac_clean_files_save |
4718 | ac_clean_files=$ac_clean_files_save |
3893 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 |
4719 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 |
3894 | $as_echo_n "checking for suffix of executables... " >&6; } |
4720 | printf %s "checking for suffix of executables... " >&6; } |
3895 | if { { ac_try="$ac_link" |
4721 | if { { ac_try="$ac_link" |
3896 | case "(($ac_try" in |
4722 | case "(($ac_try" in |
3897 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
4723 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3898 | *) ac_try_echo=$ac_try;; |
4724 | *) ac_try_echo=$ac_try;; |
3899 | esac |
4725 | esac |
3900 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
4726 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
3901 | $as_echo "$ac_try_echo"; } >&5 |
4727 | printf "%s\n" "$ac_try_echo"; } >&5 |
3902 | (eval "$ac_link") 2>&5 |
4728 | (eval "$ac_link") 2>&5 |
3903 | ac_status=$? |
4729 | ac_status=$? |
3904 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
4730 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
3905 | test $ac_status = 0; }; then : |
4731 | test $ac_status = 0; } |
|
|
4732 | then : |
3906 | # If both `conftest.exe' and `conftest' are `present' (well, observable) |
4733 | # If both `conftest.exe' and `conftest' are `present' (well, observable) |
3907 | # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
4734 | # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
3908 | # work properly (i.e., refer to `conftest.exe'), while it won't with |
4735 | # work properly (i.e., refer to `conftest.exe'), while it won't with |
3909 | # `rm'. |
4736 | # `rm'. |
3910 | for ac_file in conftest.exe conftest conftest.*; do |
4737 | for ac_file in conftest.exe conftest conftest.*; do |
… | |
… | |
3914 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
4741 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
3915 | break;; |
4742 | break;; |
3916 | * ) break;; |
4743 | * ) break;; |
3917 | esac |
4744 | esac |
3918 | done |
4745 | done |
3919 | else |
4746 | else $as_nop |
3920 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
4747 | { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3921 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
4748 | printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
3922 | as_fn_error $? "cannot compute suffix of executables: cannot compile and link |
4749 | as_fn_error $? "cannot compute suffix of executables: cannot compile and link |
3923 | See \`config.log' for more details" "$LINENO" 5; } |
4750 | See \`config.log' for more details" "$LINENO" 5; } |
3924 | fi |
4751 | fi |
3925 | rm -f conftest conftest$ac_cv_exeext |
4752 | rm -f conftest conftest$ac_cv_exeext |
3926 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
4753 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
3927 | $as_echo "$ac_cv_exeext" >&6; } |
4754 | printf "%s\n" "$ac_cv_exeext" >&6; } |
3928 | |
4755 | |
3929 | rm -f conftest.$ac_ext |
4756 | rm -f conftest.$ac_ext |
3930 | EXEEXT=$ac_cv_exeext |
4757 | EXEEXT=$ac_cv_exeext |
3931 | ac_exeext=$EXEEXT |
4758 | ac_exeext=$EXEEXT |
3932 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4759 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3933 | /* end confdefs.h. */ |
4760 | /* end confdefs.h. */ |
3934 | #include <stdio.h> |
4761 | #include <stdio.h> |
3935 | int |
4762 | int |
3936 | main () |
4763 | main (void) |
3937 | { |
4764 | { |
3938 | FILE *f = fopen ("conftest.out", "w"); |
4765 | FILE *f = fopen ("conftest.out", "w"); |
3939 | return ferror (f) || fclose (f) != 0; |
4766 | return ferror (f) || fclose (f) != 0; |
3940 | |
4767 | |
3941 | ; |
4768 | ; |
… | |
… | |
3943 | } |
4770 | } |
3944 | _ACEOF |
4771 | _ACEOF |
3945 | ac_clean_files="$ac_clean_files conftest.out" |
4772 | ac_clean_files="$ac_clean_files conftest.out" |
3946 | # Check that the compiler produces executables we can run. If not, either |
4773 | # Check that the compiler produces executables we can run. If not, either |
3947 | # the compiler is broken, or we cross compile. |
4774 | # the compiler is broken, or we cross compile. |
3948 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 |
4775 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 |
3949 | $as_echo_n "checking whether we are cross compiling... " >&6; } |
4776 | printf %s "checking whether we are cross compiling... " >&6; } |
3950 | if test "$cross_compiling" != yes; then |
4777 | if test "$cross_compiling" != yes; then |
3951 | { { ac_try="$ac_link" |
4778 | { { ac_try="$ac_link" |
3952 | case "(($ac_try" in |
4779 | case "(($ac_try" in |
3953 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
4780 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3954 | *) ac_try_echo=$ac_try;; |
4781 | *) ac_try_echo=$ac_try;; |
3955 | esac |
4782 | esac |
3956 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
4783 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
3957 | $as_echo "$ac_try_echo"; } >&5 |
4784 | printf "%s\n" "$ac_try_echo"; } >&5 |
3958 | (eval "$ac_link") 2>&5 |
4785 | (eval "$ac_link") 2>&5 |
3959 | ac_status=$? |
4786 | ac_status=$? |
3960 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
4787 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
3961 | test $ac_status = 0; } |
4788 | test $ac_status = 0; } |
3962 | if { ac_try='./conftest$ac_cv_exeext' |
4789 | if { ac_try='./conftest$ac_cv_exeext' |
3963 | { { case "(($ac_try" in |
4790 | { { case "(($ac_try" in |
3964 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
4791 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3965 | *) ac_try_echo=$ac_try;; |
4792 | *) ac_try_echo=$ac_try;; |
3966 | esac |
4793 | esac |
3967 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
4794 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
3968 | $as_echo "$ac_try_echo"; } >&5 |
4795 | printf "%s\n" "$ac_try_echo"; } >&5 |
3969 | (eval "$ac_try") 2>&5 |
4796 | (eval "$ac_try") 2>&5 |
3970 | ac_status=$? |
4797 | ac_status=$? |
3971 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
4798 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
3972 | test $ac_status = 0; }; }; then |
4799 | test $ac_status = 0; }; }; then |
3973 | cross_compiling=no |
4800 | cross_compiling=no |
3974 | else |
4801 | else |
3975 | if test "$cross_compiling" = maybe; then |
4802 | if test "$cross_compiling" = maybe; then |
3976 | cross_compiling=yes |
4803 | cross_compiling=yes |
3977 | else |
4804 | else |
3978 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
4805 | { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3979 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
4806 | printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
3980 | as_fn_error $? "cannot run C compiled programs. |
4807 | as_fn_error 77 "cannot run C compiled programs. |
3981 | If you meant to cross compile, use \`--host'. |
4808 | If you meant to cross compile, use \`--host'. |
3982 | See \`config.log' for more details" "$LINENO" 5; } |
4809 | See \`config.log' for more details" "$LINENO" 5; } |
3983 | fi |
4810 | fi |
3984 | fi |
4811 | fi |
3985 | fi |
4812 | fi |
3986 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
4813 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
3987 | $as_echo "$cross_compiling" >&6; } |
4814 | printf "%s\n" "$cross_compiling" >&6; } |
3988 | |
4815 | |
3989 | rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out |
4816 | rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out |
3990 | ac_clean_files=$ac_clean_files_save |
4817 | ac_clean_files=$ac_clean_files_save |
3991 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 |
4818 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 |
3992 | $as_echo_n "checking for suffix of object files... " >&6; } |
4819 | printf %s "checking for suffix of object files... " >&6; } |
3993 | if ${ac_cv_objext+:} false; then : |
4820 | if test ${ac_cv_objext+y} |
3994 | $as_echo_n "(cached) " >&6 |
4821 | then : |
3995 | else |
4822 | printf %s "(cached) " >&6 |
|
|
4823 | else $as_nop |
3996 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4824 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3997 | /* end confdefs.h. */ |
4825 | /* end confdefs.h. */ |
3998 | |
4826 | |
3999 | int |
4827 | int |
4000 | main () |
4828 | main (void) |
4001 | { |
4829 | { |
4002 | |
4830 | |
4003 | ; |
4831 | ; |
4004 | return 0; |
4832 | return 0; |
4005 | } |
4833 | } |
… | |
… | |
4009 | case "(($ac_try" in |
4837 | case "(($ac_try" in |
4010 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
4838 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
4011 | *) ac_try_echo=$ac_try;; |
4839 | *) ac_try_echo=$ac_try;; |
4012 | esac |
4840 | esac |
4013 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
4841 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
4014 | $as_echo "$ac_try_echo"; } >&5 |
4842 | printf "%s\n" "$ac_try_echo"; } >&5 |
4015 | (eval "$ac_compile") 2>&5 |
4843 | (eval "$ac_compile") 2>&5 |
4016 | ac_status=$? |
4844 | ac_status=$? |
4017 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
4845 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
4018 | test $ac_status = 0; }; then : |
4846 | test $ac_status = 0; } |
|
|
4847 | then : |
4019 | for ac_file in conftest.o conftest.obj conftest.*; do |
4848 | for ac_file in conftest.o conftest.obj conftest.*; do |
4020 | test -f "$ac_file" || continue; |
4849 | test -f "$ac_file" || continue; |
4021 | case $ac_file in |
4850 | case $ac_file in |
4022 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; |
4851 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; |
4023 | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
4852 | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
4024 | break;; |
4853 | break;; |
4025 | esac |
4854 | esac |
4026 | done |
4855 | done |
4027 | else |
4856 | else $as_nop |
4028 | $as_echo "$as_me: failed program was:" >&5 |
4857 | printf "%s\n" "$as_me: failed program was:" >&5 |
4029 | sed 's/^/| /' conftest.$ac_ext >&5 |
4858 | sed 's/^/| /' conftest.$ac_ext >&5 |
4030 | |
4859 | |
4031 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
4860 | { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
4032 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
4861 | printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
4033 | as_fn_error $? "cannot compute suffix of object files: cannot compile |
4862 | as_fn_error $? "cannot compute suffix of object files: cannot compile |
4034 | See \`config.log' for more details" "$LINENO" 5; } |
4863 | See \`config.log' for more details" "$LINENO" 5; } |
4035 | fi |
4864 | fi |
4036 | rm -f conftest.$ac_cv_objext conftest.$ac_ext |
4865 | rm -f conftest.$ac_cv_objext conftest.$ac_ext |
4037 | fi |
4866 | fi |
4038 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 |
4867 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 |
4039 | $as_echo "$ac_cv_objext" >&6; } |
4868 | printf "%s\n" "$ac_cv_objext" >&6; } |
4040 | OBJEXT=$ac_cv_objext |
4869 | OBJEXT=$ac_cv_objext |
4041 | ac_objext=$OBJEXT |
4870 | ac_objext=$OBJEXT |
4042 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 |
4871 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5 |
4043 | $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
4872 | printf %s "checking whether the compiler supports GNU C... " >&6; } |
4044 | if ${ac_cv_c_compiler_gnu+:} false; then : |
4873 | if test ${ac_cv_c_compiler_gnu+y} |
4045 | $as_echo_n "(cached) " >&6 |
4874 | then : |
4046 | else |
4875 | printf %s "(cached) " >&6 |
|
|
4876 | else $as_nop |
4047 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4877 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4048 | /* end confdefs.h. */ |
4878 | /* end confdefs.h. */ |
4049 | |
4879 | |
4050 | int |
4880 | int |
4051 | main () |
4881 | main (void) |
4052 | { |
4882 | { |
4053 | #ifndef __GNUC__ |
4883 | #ifndef __GNUC__ |
4054 | choke me |
4884 | choke me |
4055 | #endif |
4885 | #endif |
4056 | |
4886 | |
4057 | ; |
4887 | ; |
4058 | return 0; |
4888 | return 0; |
4059 | } |
4889 | } |
4060 | _ACEOF |
4890 | _ACEOF |
4061 | if ac_fn_c_try_compile "$LINENO"; then : |
4891 | if ac_fn_c_try_compile "$LINENO" |
|
|
4892 | then : |
4062 | ac_compiler_gnu=yes |
4893 | ac_compiler_gnu=yes |
4063 | else |
4894 | else $as_nop |
4064 | ac_compiler_gnu=no |
4895 | ac_compiler_gnu=no |
4065 | fi |
4896 | fi |
4066 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
4897 | rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
4067 | ac_cv_c_compiler_gnu=$ac_compiler_gnu |
4898 | ac_cv_c_compiler_gnu=$ac_compiler_gnu |
4068 | |
4899 | |
4069 | fi |
4900 | fi |
4070 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 |
4901 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 |
4071 | $as_echo "$ac_cv_c_compiler_gnu" >&6; } |
4902 | printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; } |
|
|
4903 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
4904 | |
4072 | if test $ac_compiler_gnu = yes; then |
4905 | if test $ac_compiler_gnu = yes; then |
4073 | GCC=yes |
4906 | GCC=yes |
4074 | else |
4907 | else |
4075 | GCC= |
4908 | GCC= |
4076 | fi |
4909 | fi |
4077 | ac_test_CFLAGS=${CFLAGS+set} |
4910 | ac_test_CFLAGS=${CFLAGS+y} |
4078 | ac_save_CFLAGS=$CFLAGS |
4911 | ac_save_CFLAGS=$CFLAGS |
4079 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
4912 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
4080 | $as_echo_n "checking whether $CC accepts -g... " >&6; } |
4913 | printf %s "checking whether $CC accepts -g... " >&6; } |
4081 | if ${ac_cv_prog_cc_g+:} false; then : |
4914 | if test ${ac_cv_prog_cc_g+y} |
4082 | $as_echo_n "(cached) " >&6 |
4915 | then : |
4083 | else |
4916 | printf %s "(cached) " >&6 |
|
|
4917 | else $as_nop |
4084 | ac_save_c_werror_flag=$ac_c_werror_flag |
4918 | ac_save_c_werror_flag=$ac_c_werror_flag |
4085 | ac_c_werror_flag=yes |
4919 | ac_c_werror_flag=yes |
4086 | ac_cv_prog_cc_g=no |
4920 | ac_cv_prog_cc_g=no |
4087 | CFLAGS="-g" |
4921 | CFLAGS="-g" |
4088 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4922 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4089 | /* end confdefs.h. */ |
4923 | /* end confdefs.h. */ |
4090 | |
4924 | |
4091 | int |
4925 | int |
4092 | main () |
4926 | main (void) |
4093 | { |
4927 | { |
4094 | |
4928 | |
4095 | ; |
4929 | ; |
4096 | return 0; |
4930 | return 0; |
4097 | } |
4931 | } |
4098 | _ACEOF |
4932 | _ACEOF |
4099 | if ac_fn_c_try_compile "$LINENO"; then : |
4933 | if ac_fn_c_try_compile "$LINENO" |
|
|
4934 | then : |
4100 | ac_cv_prog_cc_g=yes |
4935 | ac_cv_prog_cc_g=yes |
4101 | else |
4936 | else $as_nop |
4102 | CFLAGS="" |
4937 | CFLAGS="" |
4103 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4938 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4104 | /* end confdefs.h. */ |
4939 | /* end confdefs.h. */ |
4105 | |
4940 | |
4106 | int |
4941 | int |
4107 | main () |
4942 | main (void) |
4108 | { |
4943 | { |
4109 | |
4944 | |
4110 | ; |
4945 | ; |
4111 | return 0; |
4946 | return 0; |
4112 | } |
4947 | } |
4113 | _ACEOF |
4948 | _ACEOF |
4114 | if ac_fn_c_try_compile "$LINENO"; then : |
4949 | if ac_fn_c_try_compile "$LINENO" |
|
|
4950 | then : |
4115 | |
4951 | |
4116 | else |
4952 | else $as_nop |
4117 | ac_c_werror_flag=$ac_save_c_werror_flag |
4953 | ac_c_werror_flag=$ac_save_c_werror_flag |
4118 | CFLAGS="-g" |
4954 | CFLAGS="-g" |
4119 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4955 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4120 | /* end confdefs.h. */ |
4956 | /* end confdefs.h. */ |
4121 | |
4957 | |
4122 | int |
4958 | int |
4123 | main () |
4959 | main (void) |
4124 | { |
4960 | { |
4125 | |
4961 | |
4126 | ; |
4962 | ; |
4127 | return 0; |
4963 | return 0; |
4128 | } |
4964 | } |
4129 | _ACEOF |
4965 | _ACEOF |
4130 | if ac_fn_c_try_compile "$LINENO"; then : |
4966 | if ac_fn_c_try_compile "$LINENO" |
|
|
4967 | then : |
4131 | ac_cv_prog_cc_g=yes |
4968 | ac_cv_prog_cc_g=yes |
4132 | fi |
4969 | fi |
4133 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
4970 | rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
4134 | fi |
4971 | fi |
4135 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
4972 | rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
4136 | fi |
4973 | fi |
4137 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
4974 | rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
4138 | ac_c_werror_flag=$ac_save_c_werror_flag |
4975 | ac_c_werror_flag=$ac_save_c_werror_flag |
4139 | fi |
4976 | fi |
4140 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 |
4977 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 |
4141 | $as_echo "$ac_cv_prog_cc_g" >&6; } |
4978 | printf "%s\n" "$ac_cv_prog_cc_g" >&6; } |
4142 | if test "$ac_test_CFLAGS" = set; then |
4979 | if test $ac_test_CFLAGS; then |
4143 | CFLAGS=$ac_save_CFLAGS |
4980 | CFLAGS=$ac_save_CFLAGS |
4144 | elif test $ac_cv_prog_cc_g = yes; then |
4981 | elif test $ac_cv_prog_cc_g = yes; then |
4145 | if test "$GCC" = yes; then |
4982 | if test "$GCC" = yes; then |
4146 | CFLAGS="-g -O2" |
4983 | CFLAGS="-g -O2" |
4147 | else |
4984 | else |
… | |
… | |
4152 | CFLAGS="-O2" |
4989 | CFLAGS="-O2" |
4153 | else |
4990 | else |
4154 | CFLAGS= |
4991 | CFLAGS= |
4155 | fi |
4992 | fi |
4156 | fi |
4993 | fi |
|
|
4994 | ac_prog_cc_stdc=no |
|
|
4995 | if test x$ac_prog_cc_stdc = xno |
|
|
4996 | then : |
|
|
4997 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5 |
|
|
4998 | printf %s "checking for $CC option to enable C11 features... " >&6; } |
|
|
4999 | if test ${ac_cv_prog_cc_c11+y} |
|
|
5000 | then : |
|
|
5001 | printf %s "(cached) " >&6 |
|
|
5002 | else $as_nop |
|
|
5003 | ac_cv_prog_cc_c11=no |
|
|
5004 | ac_save_CC=$CC |
|
|
5005 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
5006 | /* end confdefs.h. */ |
|
|
5007 | $ac_c_conftest_c11_program |
|
|
5008 | _ACEOF |
|
|
5009 | for ac_arg in '' -std=gnu11 |
|
|
5010 | do |
|
|
5011 | CC="$ac_save_CC $ac_arg" |
|
|
5012 | if ac_fn_c_try_compile "$LINENO" |
|
|
5013 | then : |
|
|
5014 | ac_cv_prog_cc_c11=$ac_arg |
|
|
5015 | fi |
|
|
5016 | rm -f core conftest.err conftest.$ac_objext conftest.beam |
|
|
5017 | test "x$ac_cv_prog_cc_c11" != "xno" && break |
|
|
5018 | done |
|
|
5019 | rm -f conftest.$ac_ext |
|
|
5020 | CC=$ac_save_CC |
|
|
5021 | fi |
|
|
5022 | |
|
|
5023 | if test "x$ac_cv_prog_cc_c11" = xno |
|
|
5024 | then : |
|
|
5025 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
|
|
5026 | printf "%s\n" "unsupported" >&6; } |
|
|
5027 | else $as_nop |
|
|
5028 | if test "x$ac_cv_prog_cc_c11" = x |
|
|
5029 | then : |
|
|
5030 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
|
|
5031 | printf "%s\n" "none needed" >&6; } |
|
|
5032 | else $as_nop |
|
|
5033 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5 |
|
|
5034 | printf "%s\n" "$ac_cv_prog_cc_c11" >&6; } |
|
|
5035 | CC="$CC $ac_cv_prog_cc_c11" |
|
|
5036 | fi |
|
|
5037 | ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11 |
|
|
5038 | ac_prog_cc_stdc=c11 |
|
|
5039 | fi |
|
|
5040 | fi |
|
|
5041 | if test x$ac_prog_cc_stdc = xno |
|
|
5042 | then : |
|
|
5043 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5 |
|
|
5044 | printf %s "checking for $CC option to enable C99 features... " >&6; } |
|
|
5045 | if test ${ac_cv_prog_cc_c99+y} |
|
|
5046 | then : |
|
|
5047 | printf %s "(cached) " >&6 |
|
|
5048 | else $as_nop |
|
|
5049 | ac_cv_prog_cc_c99=no |
|
|
5050 | ac_save_CC=$CC |
|
|
5051 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
5052 | /* end confdefs.h. */ |
|
|
5053 | $ac_c_conftest_c99_program |
|
|
5054 | _ACEOF |
|
|
5055 | for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99= |
|
|
5056 | do |
|
|
5057 | CC="$ac_save_CC $ac_arg" |
|
|
5058 | if ac_fn_c_try_compile "$LINENO" |
|
|
5059 | then : |
|
|
5060 | ac_cv_prog_cc_c99=$ac_arg |
|
|
5061 | fi |
|
|
5062 | rm -f core conftest.err conftest.$ac_objext conftest.beam |
|
|
5063 | test "x$ac_cv_prog_cc_c99" != "xno" && break |
|
|
5064 | done |
|
|
5065 | rm -f conftest.$ac_ext |
|
|
5066 | CC=$ac_save_CC |
|
|
5067 | fi |
|
|
5068 | |
|
|
5069 | if test "x$ac_cv_prog_cc_c99" = xno |
|
|
5070 | then : |
|
|
5071 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
|
|
5072 | printf "%s\n" "unsupported" >&6; } |
|
|
5073 | else $as_nop |
|
|
5074 | if test "x$ac_cv_prog_cc_c99" = x |
|
|
5075 | then : |
|
|
5076 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
|
|
5077 | printf "%s\n" "none needed" >&6; } |
|
|
5078 | else $as_nop |
|
|
5079 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 |
|
|
5080 | printf "%s\n" "$ac_cv_prog_cc_c99" >&6; } |
|
|
5081 | CC="$CC $ac_cv_prog_cc_c99" |
|
|
5082 | fi |
|
|
5083 | ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99 |
|
|
5084 | ac_prog_cc_stdc=c99 |
|
|
5085 | fi |
|
|
5086 | fi |
|
|
5087 | if test x$ac_prog_cc_stdc = xno |
|
|
5088 | then : |
4157 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 |
5089 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5 |
4158 | $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
5090 | printf %s "checking for $CC option to enable C89 features... " >&6; } |
4159 | if ${ac_cv_prog_cc_c89+:} false; then : |
5091 | if test ${ac_cv_prog_cc_c89+y} |
4160 | $as_echo_n "(cached) " >&6 |
5092 | then : |
4161 | else |
5093 | printf %s "(cached) " >&6 |
|
|
5094 | else $as_nop |
4162 | ac_cv_prog_cc_c89=no |
5095 | ac_cv_prog_cc_c89=no |
4163 | ac_save_CC=$CC |
5096 | ac_save_CC=$CC |
4164 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5097 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4165 | /* end confdefs.h. */ |
5098 | /* end confdefs.h. */ |
4166 | #include <stdarg.h> |
5099 | $ac_c_conftest_c89_program |
4167 | #include <stdio.h> |
|
|
4168 | struct stat; |
|
|
4169 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
|
|
4170 | struct buf { int x; }; |
|
|
4171 | FILE * (*rcsopen) (struct buf *, struct stat *, int); |
|
|
4172 | static char *e (p, i) |
|
|
4173 | char **p; |
|
|
4174 | int i; |
|
|
4175 | { |
|
|
4176 | return p[i]; |
|
|
4177 | } |
|
|
4178 | static char *f (char * (*g) (char **, int), char **p, ...) |
|
|
4179 | { |
|
|
4180 | char *s; |
|
|
4181 | va_list v; |
|
|
4182 | va_start (v,p); |
|
|
4183 | s = g (p, va_arg (v,int)); |
|
|
4184 | va_end (v); |
|
|
4185 | return s; |
|
|
4186 | } |
|
|
4187 | |
|
|
4188 | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
|
|
4189 | function prototypes and stuff, but not '\xHH' hex character constants. |
|
|
4190 | These don't provoke an error unfortunately, instead are silently treated |
|
|
4191 | as 'x'. The following induces an error, until -std is added to get |
|
|
4192 | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
|
|
4193 | array size at least. It's necessary to write '\x00'==0 to get something |
|
|
4194 | that's true only with -std. */ |
|
|
4195 | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
|
|
4196 | |
|
|
4197 | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters |
|
|
4198 | inside strings and character constants. */ |
|
|
4199 | #define FOO(x) 'x' |
|
|
4200 | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; |
|
|
4201 | |
|
|
4202 | int test (int i, double x); |
|
|
4203 | struct s1 {int (*f) (int a);}; |
|
|
4204 | struct s2 {int (*f) (double a);}; |
|
|
4205 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
|
|
4206 | int argc; |
|
|
4207 | char **argv; |
|
|
4208 | int |
|
|
4209 | main () |
|
|
4210 | { |
|
|
4211 | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
|
|
4212 | ; |
|
|
4213 | return 0; |
|
|
4214 | } |
|
|
4215 | _ACEOF |
5100 | _ACEOF |
4216 | for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ |
5101 | for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
4217 | -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
|
|
4218 | do |
5102 | do |
4219 | CC="$ac_save_CC $ac_arg" |
5103 | CC="$ac_save_CC $ac_arg" |
4220 | if ac_fn_c_try_compile "$LINENO"; then : |
5104 | if ac_fn_c_try_compile "$LINENO" |
|
|
5105 | then : |
4221 | ac_cv_prog_cc_c89=$ac_arg |
5106 | ac_cv_prog_cc_c89=$ac_arg |
4222 | fi |
5107 | fi |
4223 | rm -f core conftest.err conftest.$ac_objext |
5108 | rm -f core conftest.err conftest.$ac_objext conftest.beam |
4224 | test "x$ac_cv_prog_cc_c89" != "xno" && break |
5109 | test "x$ac_cv_prog_cc_c89" != "xno" && break |
4225 | done |
5110 | done |
4226 | rm -f conftest.$ac_ext |
5111 | rm -f conftest.$ac_ext |
4227 | CC=$ac_save_CC |
5112 | CC=$ac_save_CC |
4228 | |
|
|
4229 | fi |
5113 | fi |
4230 | # AC_CACHE_VAL |
5114 | |
4231 | case "x$ac_cv_prog_cc_c89" in |
5115 | if test "x$ac_cv_prog_cc_c89" = xno |
4232 | x) |
5116 | then : |
4233 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
|
|
4234 | $as_echo "none needed" >&6; } ;; |
|
|
4235 | xno) |
|
|
4236 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
5117 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
4237 | $as_echo "unsupported" >&6; } ;; |
5118 | printf "%s\n" "unsupported" >&6; } |
4238 | *) |
5119 | else $as_nop |
|
|
5120 | if test "x$ac_cv_prog_cc_c89" = x |
|
|
5121 | then : |
|
|
5122 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
|
|
5123 | printf "%s\n" "none needed" >&6; } |
|
|
5124 | else $as_nop |
|
|
5125 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 |
|
|
5126 | printf "%s\n" "$ac_cv_prog_cc_c89" >&6; } |
4239 | CC="$CC $ac_cv_prog_cc_c89" |
5127 | CC="$CC $ac_cv_prog_cc_c89" |
4240 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 |
5128 | fi |
4241 | $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; |
5129 | ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89 |
4242 | esac |
5130 | ac_prog_cc_stdc=c89 |
4243 | if test "x$ac_cv_prog_cc_c89" != xno; then : |
5131 | fi |
4244 | |
|
|
4245 | fi |
5132 | fi |
4246 | |
5133 | |
4247 | ac_ext=c |
5134 | ac_ext=c |
4248 | ac_cpp='$CPP $CPPFLAGS' |
5135 | ac_cpp='$CPP $CPPFLAGS' |
4249 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
5136 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
4250 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
5137 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
4251 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
5138 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
4252 | |
5139 | |
|
|
5140 | |
|
|
5141 | ac_ext=c |
|
|
5142 | ac_cpp='$CPP $CPPFLAGS' |
|
|
5143 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
5144 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
5145 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
5146 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 |
|
|
5147 | printf %s "checking whether $CC understands -c and -o together... " >&6; } |
|
|
5148 | if test ${am_cv_prog_cc_c_o+y} |
|
|
5149 | then : |
|
|
5150 | printf %s "(cached) " >&6 |
|
|
5151 | else $as_nop |
|
|
5152 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
5153 | /* end confdefs.h. */ |
|
|
5154 | |
|
|
5155 | int |
|
|
5156 | main (void) |
|
|
5157 | { |
|
|
5158 | |
|
|
5159 | ; |
|
|
5160 | return 0; |
|
|
5161 | } |
|
|
5162 | _ACEOF |
|
|
5163 | # Make sure it works both with $CC and with simple cc. |
|
|
5164 | # Following AC_PROG_CC_C_O, we do the test twice because some |
|
|
5165 | # compilers refuse to overwrite an existing .o file with -o, |
|
|
5166 | # though they will create one. |
|
|
5167 | am_cv_prog_cc_c_o=yes |
|
|
5168 | for am_i in 1 2; do |
|
|
5169 | if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 |
|
|
5170 | ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 |
|
|
5171 | ac_status=$? |
|
|
5172 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5173 | (exit $ac_status); } \ |
|
|
5174 | && test -f conftest2.$ac_objext; then |
|
|
5175 | : OK |
|
|
5176 | else |
|
|
5177 | am_cv_prog_cc_c_o=no |
|
|
5178 | break |
|
|
5179 | fi |
|
|
5180 | done |
|
|
5181 | rm -f core conftest* |
|
|
5182 | unset am_i |
|
|
5183 | fi |
|
|
5184 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 |
|
|
5185 | printf "%s\n" "$am_cv_prog_cc_c_o" >&6; } |
|
|
5186 | if test "$am_cv_prog_cc_c_o" != yes; then |
|
|
5187 | # Losing compiler, so override with the script. |
|
|
5188 | # FIXME: It is wrong to rewrite CC. |
|
|
5189 | # But if we don't then we get into trouble of one sort or another. |
|
|
5190 | # A longer-term fix would be to have automake use am__CC in this case, |
|
|
5191 | # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" |
|
|
5192 | CC="$am_aux_dir/compile $CC" |
|
|
5193 | fi |
|
|
5194 | ac_ext=c |
|
|
5195 | ac_cpp='$CPP $CPPFLAGS' |
|
|
5196 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
5197 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
5198 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
5199 | |
|
|
5200 | |
4253 | depcc="$CC" am_compiler_list= |
5201 | depcc="$CC" am_compiler_list= |
4254 | |
5202 | |
4255 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
5203 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
4256 | $as_echo_n "checking dependency style of $depcc... " >&6; } |
5204 | printf %s "checking dependency style of $depcc... " >&6; } |
4257 | if ${am_cv_CC_dependencies_compiler_type+:} false; then : |
5205 | if test ${am_cv_CC_dependencies_compiler_type+y} |
4258 | $as_echo_n "(cached) " >&6 |
5206 | then : |
4259 | else |
5207 | printf %s "(cached) " >&6 |
|
|
5208 | else $as_nop |
4260 | if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
5209 | if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
4261 | # We make a subdir and do the tests there. Otherwise we can end up |
5210 | # We make a subdir and do the tests there. Otherwise we can end up |
4262 | # making bogus files that we don't know about and never remove. For |
5211 | # making bogus files that we don't know about and never remove. For |
4263 | # instance it was reported that on HP-UX the gcc test will end up |
5212 | # instance it was reported that on HP-UX the gcc test will end up |
4264 | # making a dummy file named `D' -- because `-MD' means `put the output |
5213 | # making a dummy file named 'D' -- because '-MD' means "put the output |
4265 | # in D'. |
5214 | # in D". |
|
|
5215 | rm -rf conftest.dir |
4266 | mkdir conftest.dir |
5216 | mkdir conftest.dir |
4267 | # Copy depcomp to subdir because otherwise we won't find it if we're |
5217 | # Copy depcomp to subdir because otherwise we won't find it if we're |
4268 | # using a relative directory. |
5218 | # using a relative directory. |
4269 | cp "$am_depcomp" conftest.dir |
5219 | cp "$am_depcomp" conftest.dir |
4270 | cd conftest.dir |
5220 | cd conftest.dir |
… | |
… | |
4278 | |
5228 | |
4279 | am_cv_CC_dependencies_compiler_type=none |
5229 | am_cv_CC_dependencies_compiler_type=none |
4280 | if test "$am_compiler_list" = ""; then |
5230 | if test "$am_compiler_list" = ""; then |
4281 | am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
5231 | am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
4282 | fi |
5232 | fi |
|
|
5233 | am__universal=false |
|
|
5234 | case " $depcc " in #( |
|
|
5235 | *\ -arch\ *\ -arch\ *) am__universal=true ;; |
|
|
5236 | esac |
|
|
5237 | |
4283 | for depmode in $am_compiler_list; do |
5238 | for depmode in $am_compiler_list; do |
4284 | # Setup a source with many dependencies, because some compilers |
5239 | # Setup a source with many dependencies, because some compilers |
4285 | # like to wrap large dependency lists on column 80 (with \), and |
5240 | # like to wrap large dependency lists on column 80 (with \), and |
4286 | # we should not choose a depcomp mode which is confused by this. |
5241 | # we should not choose a depcomp mode which is confused by this. |
4287 | # |
5242 | # |
… | |
… | |
4289 | # overwrite some of them when testing with obscure command lines. |
5244 | # overwrite some of them when testing with obscure command lines. |
4290 | # This happens at least with the AIX C compiler. |
5245 | # This happens at least with the AIX C compiler. |
4291 | : > sub/conftest.c |
5246 | : > sub/conftest.c |
4292 | for i in 1 2 3 4 5 6; do |
5247 | for i in 1 2 3 4 5 6; do |
4293 | echo '#include "conftst'$i'.h"' >> sub/conftest.c |
5248 | echo '#include "conftst'$i'.h"' >> sub/conftest.c |
4294 | : > sub/conftst$i.h |
5249 | # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with |
|
|
5250 | # Solaris 10 /bin/sh. |
|
|
5251 | echo '/* dummy */' > sub/conftst$i.h |
4295 | done |
5252 | done |
4296 | echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
5253 | echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
4297 | |
5254 | |
|
|
5255 | # We check with '-c' and '-o' for the sake of the "dashmstdout" |
|
|
5256 | # mode. It turns out that the SunPro C++ compiler does not properly |
|
|
5257 | # handle '-M -o', and we need to detect this. Also, some Intel |
|
|
5258 | # versions had trouble with output in subdirs. |
|
|
5259 | am__obj=sub/conftest.${OBJEXT-o} |
|
|
5260 | am__minus_obj="-o $am__obj" |
4298 | case $depmode in |
5261 | case $depmode in |
|
|
5262 | gcc) |
|
|
5263 | # This depmode causes a compiler race in universal mode. |
|
|
5264 | test "$am__universal" = false || continue |
|
|
5265 | ;; |
4299 | nosideeffect) |
5266 | nosideeffect) |
4300 | # after this tag, mechanisms are not by side-effect, so they'll |
5267 | # After this tag, mechanisms are not by side-effect, so they'll |
4301 | # only be used when explicitly requested |
5268 | # only be used when explicitly requested. |
4302 | if test "x$enable_dependency_tracking" = xyes; then |
5269 | if test "x$enable_dependency_tracking" = xyes; then |
4303 | continue |
5270 | continue |
4304 | else |
5271 | else |
4305 | break |
5272 | break |
4306 | fi |
5273 | fi |
4307 | ;; |
5274 | ;; |
|
|
5275 | msvc7 | msvc7msys | msvisualcpp | msvcmsys) |
|
|
5276 | # This compiler won't grok '-c -o', but also, the minuso test has |
|
|
5277 | # not run yet. These depmodes are late enough in the game, and |
|
|
5278 | # so weak that their functioning should not be impacted. |
|
|
5279 | am__obj=conftest.${OBJEXT-o} |
|
|
5280 | am__minus_obj= |
|
|
5281 | ;; |
4308 | none) break ;; |
5282 | none) break ;; |
4309 | esac |
5283 | esac |
4310 | # We check with `-c' and `-o' for the sake of the "dashmstdout" |
|
|
4311 | # mode. It turns out that the SunPro C++ compiler does not properly |
|
|
4312 | # handle `-M -o', and we need to detect this. |
|
|
4313 | if depmode=$depmode \ |
5284 | if depmode=$depmode \ |
4314 | source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ |
5285 | source=sub/conftest.c object=$am__obj \ |
4315 | depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
5286 | depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
4316 | $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ |
5287 | $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ |
4317 | >/dev/null 2>conftest.err && |
5288 | >/dev/null 2>conftest.err && |
|
|
5289 | grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && |
4318 | grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
5290 | grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
4319 | grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && |
5291 | grep $am__obj sub/conftest.Po > /dev/null 2>&1 && |
4320 | ${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
5292 | ${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
4321 | # icc doesn't choke on unknown options, it will just issue warnings |
5293 | # icc doesn't choke on unknown options, it will just issue warnings |
4322 | # (even with -Werror). So we grep stderr for any message |
5294 | # or remarks (even with -Werror). So we grep stderr for any message |
4323 | # that says an option was ignored. |
5295 | # that says an option was ignored or not supported. |
|
|
5296 | # When given -MP, icc 7.0 and 7.1 complain thusly: |
|
|
5297 | # icc: Command line warning: ignoring option '-M'; no argument required |
|
|
5298 | # The diagnosis changed in icc 8.0: |
|
|
5299 | # icc: Command line remark: option '-MP' not supported |
|
|
5300 | if (grep 'ignoring option' conftest.err || |
4324 | if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else |
5301 | grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else |
4325 | am_cv_CC_dependencies_compiler_type=$depmode |
5302 | am_cv_CC_dependencies_compiler_type=$depmode |
4326 | break |
5303 | break |
4327 | fi |
5304 | fi |
4328 | fi |
5305 | fi |
4329 | done |
5306 | done |
… | |
… | |
4333 | else |
5310 | else |
4334 | am_cv_CC_dependencies_compiler_type=none |
5311 | am_cv_CC_dependencies_compiler_type=none |
4335 | fi |
5312 | fi |
4336 | |
5313 | |
4337 | fi |
5314 | fi |
4338 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 |
5315 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 |
4339 | $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } |
5316 | printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; } |
4340 | CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type |
5317 | CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type |
4341 | |
5318 | |
4342 | |
|
|
4343 | |
|
|
4344 | if |
5319 | if |
4345 | test "x$enable_dependency_tracking" != xno \ |
5320 | test "x$enable_dependency_tracking" != xno \ |
4346 | && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then |
5321 | && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then |
4347 | am__fastdepCC_TRUE= |
5322 | am__fastdepCC_TRUE= |
4348 | am__fastdepCC_FALSE='#' |
5323 | am__fastdepCC_FALSE='#' |
4349 | else |
5324 | else |
… | |
… | |
4352 | fi |
5327 | fi |
4353 | |
5328 | |
4354 | |
5329 | |
4355 | |
5330 | |
4356 | # Check whether --with-gnu-ld was given. |
5331 | # Check whether --with-gnu-ld was given. |
4357 | if test "${with_gnu_ld+set}" = set; then : |
5332 | if test ${with_gnu_ld+y} |
|
|
5333 | then : |
4358 | withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes |
5334 | withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes |
4359 | else |
5335 | else $as_nop |
4360 | with_gnu_ld=no |
5336 | with_gnu_ld=no |
4361 | fi |
5337 | fi |
4362 | |
5338 | |
4363 | ac_prog=ld |
5339 | ac_prog=ld |
4364 | if test "$GCC" = yes; then |
5340 | if test "$GCC" = yes; then |
4365 | # Check if gcc -print-prog-name=ld gives a path. |
5341 | # Check if gcc -print-prog-name=ld gives a path. |
4366 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5 |
5342 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5 |
4367 | $as_echo_n "checking for ld used by GCC... " >&6; } |
5343 | printf %s "checking for ld used by GCC... " >&6; } |
4368 | case $host in |
5344 | case $host in |
4369 | *-*-mingw*) |
5345 | *-*-mingw*) |
4370 | # gcc leaves a trailing carriage return which upsets mingw |
5346 | # gcc leaves a trailing carriage return which upsets mingw |
4371 | ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; |
5347 | ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; |
4372 | *) |
5348 | *) |
… | |
… | |
4391 | # If it is relative, then search for the first ld in PATH. |
5367 | # If it is relative, then search for the first ld in PATH. |
4392 | with_gnu_ld=unknown |
5368 | with_gnu_ld=unknown |
4393 | ;; |
5369 | ;; |
4394 | esac |
5370 | esac |
4395 | elif test "$with_gnu_ld" = yes; then |
5371 | elif test "$with_gnu_ld" = yes; then |
4396 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 |
5372 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 |
4397 | $as_echo_n "checking for GNU ld... " >&6; } |
5373 | printf %s "checking for GNU ld... " >&6; } |
4398 | else |
5374 | else |
4399 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 |
5375 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 |
4400 | $as_echo_n "checking for non-GNU ld... " >&6; } |
5376 | printf %s "checking for non-GNU ld... " >&6; } |
4401 | fi |
5377 | fi |
4402 | if ${acl_cv_path_LD+:} false; then : |
5378 | if test ${acl_cv_path_LD+y} |
4403 | $as_echo_n "(cached) " >&6 |
5379 | then : |
4404 | else |
5380 | printf %s "(cached) " >&6 |
|
|
5381 | else $as_nop |
4405 | if test -z "$LD"; then |
5382 | if test -z "$LD"; then |
4406 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" |
5383 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" |
4407 | for ac_dir in $PATH; do |
5384 | for ac_dir in $PATH; do |
4408 | test -z "$ac_dir" && ac_dir=. |
5385 | test -z "$ac_dir" && ac_dir=. |
4409 | if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then |
5386 | if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then |
… | |
… | |
4424 | fi |
5401 | fi |
4425 | fi |
5402 | fi |
4426 | |
5403 | |
4427 | LD="$acl_cv_path_LD" |
5404 | LD="$acl_cv_path_LD" |
4428 | if test -n "$LD"; then |
5405 | if test -n "$LD"; then |
4429 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 |
5406 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 |
4430 | $as_echo "$LD" >&6; } |
5407 | printf "%s\n" "$LD" >&6; } |
4431 | else |
5408 | else |
4432 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
5409 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
4433 | $as_echo "no" >&6; } |
5410 | printf "%s\n" "no" >&6; } |
4434 | fi |
5411 | fi |
4435 | test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 |
5412 | test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 |
4436 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 |
5413 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 |
4437 | $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } |
5414 | printf %s "checking if the linker ($LD) is GNU ld... " >&6; } |
4438 | if ${acl_cv_prog_gnu_ld+:} false; then : |
5415 | if test ${acl_cv_prog_gnu_ld+y} |
4439 | $as_echo_n "(cached) " >&6 |
5416 | then : |
4440 | else |
5417 | printf %s "(cached) " >&6 |
|
|
5418 | else $as_nop |
4441 | # I'd rather use --version here, but apparently some GNU ld's only accept -v. |
5419 | # I'd rather use --version here, but apparently some GNU ld's only accept -v. |
4442 | if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then |
5420 | if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then |
4443 | acl_cv_prog_gnu_ld=yes |
5421 | acl_cv_prog_gnu_ld=yes |
4444 | else |
5422 | else |
4445 | acl_cv_prog_gnu_ld=no |
5423 | acl_cv_prog_gnu_ld=no |
4446 | fi |
5424 | fi |
4447 | fi |
5425 | fi |
4448 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5 |
5426 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5 |
4449 | $as_echo "$acl_cv_prog_gnu_ld" >&6; } |
5427 | printf "%s\n" "$acl_cv_prog_gnu_ld" >&6; } |
4450 | with_gnu_ld=$acl_cv_prog_gnu_ld |
5428 | with_gnu_ld=$acl_cv_prog_gnu_ld |
4451 | |
5429 | |
4452 | |
5430 | |
4453 | |
5431 | |
4454 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5 |
5432 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5 |
4455 | $as_echo_n "checking for shared library run path origin... " >&6; } |
5433 | printf %s "checking for shared library run path origin... " >&6; } |
4456 | if ${acl_cv_rpath+:} false; then : |
5434 | if test ${acl_cv_rpath+y} |
4457 | $as_echo_n "(cached) " >&6 |
5435 | then : |
4458 | else |
5436 | printf %s "(cached) " >&6 |
|
|
5437 | else $as_nop |
4459 | |
5438 | |
4460 | CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ |
5439 | CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ |
4461 | ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh |
5440 | ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh |
4462 | . ./conftest.sh |
5441 | . ./conftest.sh |
4463 | rm -f ./conftest.sh |
5442 | rm -f ./conftest.sh |
4464 | acl_cv_rpath=done |
5443 | acl_cv_rpath=done |
4465 | |
5444 | |
4466 | fi |
5445 | fi |
4467 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5 |
5446 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5 |
4468 | $as_echo "$acl_cv_rpath" >&6; } |
5447 | printf "%s\n" "$acl_cv_rpath" >&6; } |
4469 | wl="$acl_cv_wl" |
5448 | wl="$acl_cv_wl" |
4470 | libext="$acl_cv_libext" |
5449 | libext="$acl_cv_libext" |
4471 | shlibext="$acl_cv_shlibext" |
5450 | shlibext="$acl_cv_shlibext" |
4472 | hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" |
5451 | hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" |
4473 | hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" |
5452 | hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" |
4474 | hardcode_direct="$acl_cv_hardcode_direct" |
5453 | hardcode_direct="$acl_cv_hardcode_direct" |
4475 | hardcode_minus_L="$acl_cv_hardcode_minus_L" |
5454 | hardcode_minus_L="$acl_cv_hardcode_minus_L" |
4476 | sys_lib_search_path_spec="$acl_cv_sys_lib_search_path_spec" |
5455 | sys_lib_search_path_spec="$acl_cv_sys_lib_search_path_spec" |
4477 | sys_lib_dlsearch_path_spec="$acl_cv_sys_lib_dlsearch_path_spec" |
5456 | sys_lib_dlsearch_path_spec="$acl_cv_sys_lib_dlsearch_path_spec" |
4478 | # Check whether --enable-rpath was given. |
5457 | # Check whether --enable-rpath was given. |
4479 | if test "${enable_rpath+set}" = set; then : |
5458 | if test ${enable_rpath+y} |
|
|
5459 | then : |
4480 | enableval=$enable_rpath; : |
5460 | enableval=$enable_rpath; : |
4481 | else |
5461 | else $as_nop |
4482 | enable_rpath=yes |
5462 | enable_rpath=yes |
4483 | fi |
5463 | fi |
4484 | |
5464 | |
4485 | |
5465 | |
4486 | |
5466 | |
… | |
… | |
4502 | exec_prefix="$acl_save_exec_prefix" |
5482 | exec_prefix="$acl_save_exec_prefix" |
4503 | prefix="$acl_save_prefix" |
5483 | prefix="$acl_save_prefix" |
4504 | |
5484 | |
4505 | |
5485 | |
4506 | # Check whether --with-libiconv-prefix was given. |
5486 | # Check whether --with-libiconv-prefix was given. |
4507 | if test "${with_libiconv_prefix+set}" = set; then : |
5487 | if test ${with_libiconv_prefix+y} |
|
|
5488 | then : |
4508 | withval=$with_libiconv_prefix; |
5489 | withval=$with_libiconv_prefix; |
4509 | if test "X$withval" = "Xno"; then |
5490 | if test "X$withval" = "Xno"; then |
4510 | use_additional=no |
5491 | use_additional=no |
4511 | else |
5492 | else |
4512 | if test "X$withval" = "X"; then |
5493 | if test "X$withval" = "X"; then |
… | |
… | |
4880 | |
5861 | |
4881 | |
5862 | |
4882 | |
5863 | |
4883 | |
5864 | |
4884 | |
5865 | |
4885 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 |
5866 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 |
4886 | $as_echo_n "checking whether NLS is requested... " >&6; } |
5867 | printf %s "checking whether NLS is requested... " >&6; } |
4887 | # Check whether --enable-nls was given. |
5868 | # Check whether --enable-nls was given. |
4888 | if test "${enable_nls+set}" = set; then : |
5869 | if test ${enable_nls+y} |
|
|
5870 | then : |
4889 | enableval=$enable_nls; USE_NLS=$enableval |
5871 | enableval=$enable_nls; USE_NLS=$enableval |
4890 | else |
5872 | else $as_nop |
4891 | USE_NLS=yes |
5873 | USE_NLS=yes |
4892 | fi |
5874 | fi |
4893 | |
5875 | |
4894 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 |
5876 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 |
4895 | $as_echo "$USE_NLS" >&6; } |
5877 | printf "%s\n" "$USE_NLS" >&6; } |
4896 | |
5878 | |
4897 | |
5879 | |
4898 | |
5880 | |
4899 | LIBINTL= |
5881 | LIBINTL= |
4900 | LTLIBINTL= |
5882 | LTLIBINTL= |
… | |
… | |
4906 | |
5888 | |
4907 | |
5889 | |
4908 | |
5890 | |
4909 | |
5891 | |
4910 | |
5892 | |
4911 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5 |
5893 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5 |
4912 | $as_echo_n "checking for GNU gettext in libc... " >&6; } |
5894 | printf %s "checking for GNU gettext in libc... " >&6; } |
4913 | if ${gt_cv_func_gnugettext1_libc+:} false; then : |
5895 | if test ${gt_cv_func_gnugettext1_libc+y} |
4914 | $as_echo_n "(cached) " >&6 |
5896 | then : |
4915 | else |
5897 | printf %s "(cached) " >&6 |
|
|
5898 | else $as_nop |
4916 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5899 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4917 | /* end confdefs.h. */ |
5900 | /* end confdefs.h. */ |
4918 | #include <libintl.h> |
5901 | #include <libintl.h> |
4919 | extern int _nl_msg_cat_cntr; |
5902 | extern int _nl_msg_cat_cntr; |
4920 | extern int *_nl_domain_bindings; |
5903 | extern int *_nl_domain_bindings; |
4921 | int |
5904 | int |
4922 | main () |
5905 | main (void) |
4923 | { |
5906 | { |
4924 | bindtextdomain ("", ""); |
5907 | bindtextdomain ("", ""); |
4925 | return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings |
5908 | return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings |
4926 | ; |
5909 | ; |
4927 | return 0; |
5910 | return 0; |
4928 | } |
5911 | } |
4929 | _ACEOF |
5912 | _ACEOF |
4930 | if ac_fn_c_try_link "$LINENO"; then : |
5913 | if ac_fn_c_try_link "$LINENO" |
|
|
5914 | then : |
4931 | gt_cv_func_gnugettext1_libc=yes |
5915 | gt_cv_func_gnugettext1_libc=yes |
4932 | else |
5916 | else $as_nop |
4933 | gt_cv_func_gnugettext1_libc=no |
5917 | gt_cv_func_gnugettext1_libc=no |
4934 | fi |
5918 | fi |
4935 | rm -f core conftest.err conftest.$ac_objext \ |
5919 | rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
4936 | conftest$ac_exeext conftest.$ac_ext |
5920 | conftest$ac_exeext conftest.$ac_ext |
4937 | fi |
5921 | fi |
4938 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_gnugettext1_libc" >&5 |
5922 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_gnugettext1_libc" >&5 |
4939 | $as_echo "$gt_cv_func_gnugettext1_libc" >&6; } |
5923 | printf "%s\n" "$gt_cv_func_gnugettext1_libc" >&6; } |
4940 | |
5924 | |
4941 | if test "$gt_cv_func_gnugettext1_libc" != "yes"; then |
5925 | if test "$gt_cv_func_gnugettext1_libc" != "yes"; then |
4942 | |
5926 | |
4943 | |
5927 | |
4944 | |
5928 | |
… | |
… | |
4967 | CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" |
5951 | CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" |
4968 | fi |
5952 | fi |
4969 | done |
5953 | done |
4970 | |
5954 | |
4971 | |
5955 | |
4972 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5 |
5956 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5 |
4973 | $as_echo_n "checking for iconv... " >&6; } |
5957 | printf %s "checking for iconv... " >&6; } |
4974 | if ${am_cv_func_iconv+:} false; then : |
5958 | if test ${am_cv_func_iconv+y} |
4975 | $as_echo_n "(cached) " >&6 |
5959 | then : |
4976 | else |
5960 | printf %s "(cached) " >&6 |
|
|
5961 | else $as_nop |
4977 | |
5962 | |
4978 | am_cv_func_iconv="no, consider installing GNU libiconv" |
5963 | am_cv_func_iconv="no, consider installing GNU libiconv" |
4979 | am_cv_lib_iconv=no |
5964 | am_cv_lib_iconv=no |
4980 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5965 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4981 | /* end confdefs.h. */ |
5966 | /* end confdefs.h. */ |
4982 | #include <stdlib.h> |
5967 | #include <stdlib.h> |
4983 | #include <iconv.h> |
5968 | #include <iconv.h> |
4984 | int |
5969 | int |
4985 | main () |
5970 | main (void) |
4986 | { |
5971 | { |
4987 | iconv_t cd = iconv_open("",""); |
5972 | iconv_t cd = iconv_open("",""); |
4988 | iconv(cd,NULL,NULL,NULL,NULL); |
5973 | iconv(cd,NULL,NULL,NULL,NULL); |
4989 | iconv_close(cd); |
5974 | iconv_close(cd); |
4990 | ; |
5975 | ; |
4991 | return 0; |
5976 | return 0; |
4992 | } |
5977 | } |
4993 | _ACEOF |
5978 | _ACEOF |
4994 | if ac_fn_c_try_link "$LINENO"; then : |
5979 | if ac_fn_c_try_link "$LINENO" |
|
|
5980 | then : |
4995 | am_cv_func_iconv=yes |
5981 | am_cv_func_iconv=yes |
4996 | fi |
5982 | fi |
4997 | rm -f core conftest.err conftest.$ac_objext \ |
5983 | rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
4998 | conftest$ac_exeext conftest.$ac_ext |
5984 | conftest$ac_exeext conftest.$ac_ext |
4999 | if test "$am_cv_func_iconv" != yes; then |
5985 | if test "$am_cv_func_iconv" != yes; then |
5000 | am_save_LIBS="$LIBS" |
5986 | am_save_LIBS="$LIBS" |
5001 | LIBS="$LIBS $LIBICONV" |
5987 | LIBS="$LIBS $LIBICONV" |
5002 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5988 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5003 | /* end confdefs.h. */ |
5989 | /* end confdefs.h. */ |
5004 | #include <stdlib.h> |
5990 | #include <stdlib.h> |
5005 | #include <iconv.h> |
5991 | #include <iconv.h> |
5006 | int |
5992 | int |
5007 | main () |
5993 | main (void) |
5008 | { |
5994 | { |
5009 | iconv_t cd = iconv_open("",""); |
5995 | iconv_t cd = iconv_open("",""); |
5010 | iconv(cd,NULL,NULL,NULL,NULL); |
5996 | iconv(cd,NULL,NULL,NULL,NULL); |
5011 | iconv_close(cd); |
5997 | iconv_close(cd); |
5012 | ; |
5998 | ; |
5013 | return 0; |
5999 | return 0; |
5014 | } |
6000 | } |
5015 | _ACEOF |
6001 | _ACEOF |
5016 | if ac_fn_c_try_link "$LINENO"; then : |
6002 | if ac_fn_c_try_link "$LINENO" |
|
|
6003 | then : |
5017 | am_cv_lib_iconv=yes |
6004 | am_cv_lib_iconv=yes |
5018 | am_cv_func_iconv=yes |
6005 | am_cv_func_iconv=yes |
5019 | fi |
6006 | fi |
5020 | rm -f core conftest.err conftest.$ac_objext \ |
6007 | rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
5021 | conftest$ac_exeext conftest.$ac_ext |
6008 | conftest$ac_exeext conftest.$ac_ext |
5022 | LIBS="$am_save_LIBS" |
6009 | LIBS="$am_save_LIBS" |
5023 | fi |
6010 | fi |
5024 | |
6011 | |
5025 | fi |
6012 | fi |
5026 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5 |
6013 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5 |
5027 | $as_echo "$am_cv_func_iconv" >&6; } |
6014 | printf "%s\n" "$am_cv_func_iconv" >&6; } |
5028 | if test "$am_cv_func_iconv" = yes; then |
6015 | if test "$am_cv_func_iconv" = yes; then |
5029 | |
6016 | |
5030 | $as_echo "#define HAVE_ICONV 1" >>confdefs.h |
6017 | printf "%s\n" "#define HAVE_ICONV 1" >>confdefs.h |
5031 | |
6018 | |
5032 | fi |
6019 | fi |
5033 | if test "$am_cv_lib_iconv" = yes; then |
6020 | if test "$am_cv_lib_iconv" = yes; then |
5034 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5 |
6021 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5 |
5035 | $as_echo_n "checking how to link with libiconv... " >&6; } |
6022 | printf %s "checking how to link with libiconv... " >&6; } |
5036 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5 |
6023 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5 |
5037 | $as_echo "$LIBICONV" >&6; } |
6024 | printf "%s\n" "$LIBICONV" >&6; } |
5038 | else |
6025 | else |
5039 | CPPFLAGS="$am_save_CPPFLAGS" |
6026 | CPPFLAGS="$am_save_CPPFLAGS" |
5040 | LIBICONV= |
6027 | LIBICONV= |
5041 | LTLIBICONV= |
6028 | LTLIBICONV= |
5042 | fi |
6029 | fi |
… | |
… | |
5059 | exec_prefix="$acl_save_exec_prefix" |
6046 | exec_prefix="$acl_save_exec_prefix" |
5060 | prefix="$acl_save_prefix" |
6047 | prefix="$acl_save_prefix" |
5061 | |
6048 | |
5062 | |
6049 | |
5063 | # Check whether --with-libintl-prefix was given. |
6050 | # Check whether --with-libintl-prefix was given. |
5064 | if test "${with_libintl_prefix+set}" = set; then : |
6051 | if test ${with_libintl_prefix+y} |
|
|
6052 | then : |
5065 | withval=$with_libintl_prefix; |
6053 | withval=$with_libintl_prefix; |
5066 | if test "X$withval" = "Xno"; then |
6054 | if test "X$withval" = "Xno"; then |
5067 | use_additional=no |
6055 | use_additional=no |
5068 | else |
6056 | else |
5069 | if test "X$withval" = "X"; then |
6057 | if test "X$withval" = "X"; then |
… | |
… | |
5420 | for found_dir in $ltrpathdirs; do |
6408 | for found_dir in $ltrpathdirs; do |
5421 | LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir" |
6409 | LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir" |
5422 | done |
6410 | done |
5423 | fi |
6411 | fi |
5424 | |
6412 | |
5425 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5 |
6413 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5 |
5426 | $as_echo_n "checking for GNU gettext in libintl... " >&6; } |
6414 | printf %s "checking for GNU gettext in libintl... " >&6; } |
5427 | if ${gt_cv_func_gnugettext1_libintl+:} false; then : |
6415 | if test ${gt_cv_func_gnugettext1_libintl+y} |
5428 | $as_echo_n "(cached) " >&6 |
6416 | then : |
5429 | else |
6417 | printf %s "(cached) " >&6 |
|
|
6418 | else $as_nop |
5430 | gt_save_CPPFLAGS="$CPPFLAGS" |
6419 | gt_save_CPPFLAGS="$CPPFLAGS" |
5431 | CPPFLAGS="$CPPFLAGS $INCINTL" |
6420 | CPPFLAGS="$CPPFLAGS $INCINTL" |
5432 | gt_save_LIBS="$LIBS" |
6421 | gt_save_LIBS="$LIBS" |
5433 | LIBS="$LIBS $LIBINTL" |
6422 | LIBS="$LIBS $LIBINTL" |
5434 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6423 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
… | |
… | |
5439 | #ifdef __cplusplus |
6428 | #ifdef __cplusplus |
5440 | "C" |
6429 | "C" |
5441 | #endif |
6430 | #endif |
5442 | const char *_nl_expand_alias (); |
6431 | const char *_nl_expand_alias (); |
5443 | int |
6432 | int |
5444 | main () |
6433 | main (void) |
5445 | { |
6434 | { |
5446 | bindtextdomain ("", ""); |
6435 | bindtextdomain ("", ""); |
5447 | return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0) |
6436 | return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0) |
5448 | ; |
6437 | ; |
5449 | return 0; |
6438 | return 0; |
5450 | } |
6439 | } |
5451 | _ACEOF |
6440 | _ACEOF |
5452 | if ac_fn_c_try_link "$LINENO"; then : |
6441 | if ac_fn_c_try_link "$LINENO" |
|
|
6442 | then : |
5453 | gt_cv_func_gnugettext1_libintl=yes |
6443 | gt_cv_func_gnugettext1_libintl=yes |
5454 | else |
6444 | else $as_nop |
5455 | gt_cv_func_gnugettext1_libintl=no |
6445 | gt_cv_func_gnugettext1_libintl=no |
5456 | fi |
6446 | fi |
5457 | rm -f core conftest.err conftest.$ac_objext \ |
6447 | rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
5458 | conftest$ac_exeext conftest.$ac_ext |
6448 | conftest$ac_exeext conftest.$ac_ext |
5459 | if test "$gt_cv_func_gnugettext1_libintl" != yes && test -n "$LIBICONV"; then |
6449 | if test "$gt_cv_func_gnugettext1_libintl" != yes && test -n "$LIBICONV"; then |
5460 | LIBS="$LIBS $LIBICONV" |
6450 | LIBS="$LIBS $LIBICONV" |
5461 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6451 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5462 | /* end confdefs.h. */ |
6452 | /* end confdefs.h. */ |
… | |
… | |
5466 | #ifdef __cplusplus |
6456 | #ifdef __cplusplus |
5467 | "C" |
6457 | "C" |
5468 | #endif |
6458 | #endif |
5469 | const char *_nl_expand_alias (); |
6459 | const char *_nl_expand_alias (); |
5470 | int |
6460 | int |
5471 | main () |
6461 | main (void) |
5472 | { |
6462 | { |
5473 | bindtextdomain ("", ""); |
6463 | bindtextdomain ("", ""); |
5474 | return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0) |
6464 | return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0) |
5475 | ; |
6465 | ; |
5476 | return 0; |
6466 | return 0; |
5477 | } |
6467 | } |
5478 | _ACEOF |
6468 | _ACEOF |
5479 | if ac_fn_c_try_link "$LINENO"; then : |
6469 | if ac_fn_c_try_link "$LINENO" |
|
|
6470 | then : |
5480 | LIBINTL="$LIBINTL $LIBICONV" |
6471 | LIBINTL="$LIBINTL $LIBICONV" |
5481 | LTLIBINTL="$LTLIBINTL $LTLIBICONV" |
6472 | LTLIBINTL="$LTLIBINTL $LTLIBICONV" |
5482 | gt_cv_func_gnugettext1_libintl=yes |
6473 | gt_cv_func_gnugettext1_libintl=yes |
5483 | |
6474 | |
5484 | fi |
6475 | fi |
5485 | rm -f core conftest.err conftest.$ac_objext \ |
6476 | rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
5486 | conftest$ac_exeext conftest.$ac_ext |
6477 | conftest$ac_exeext conftest.$ac_ext |
5487 | fi |
6478 | fi |
5488 | CPPFLAGS="$gt_save_CPPFLAGS" |
6479 | CPPFLAGS="$gt_save_CPPFLAGS" |
5489 | LIBS="$gt_save_LIBS" |
6480 | LIBS="$gt_save_LIBS" |
5490 | fi |
6481 | fi |
5491 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_gnugettext1_libintl" >&5 |
6482 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_gnugettext1_libintl" >&5 |
5492 | $as_echo "$gt_cv_func_gnugettext1_libintl" >&6; } |
6483 | printf "%s\n" "$gt_cv_func_gnugettext1_libintl" >&6; } |
5493 | fi |
6484 | fi |
5494 | |
6485 | |
5495 | if test "$gt_cv_func_gnugettext1_libc" = "yes" \ |
6486 | if test "$gt_cv_func_gnugettext1_libc" = "yes" \ |
5496 | || { test "$gt_cv_func_gnugettext1_libintl" = "yes" \ |
6487 | || { test "$gt_cv_func_gnugettext1_libintl" = "yes" \ |
5497 | && test "$PACKAGE" != gettext; }; then |
6488 | && test "$PACKAGE" != gettext; }; then |
… | |
… | |
5505 | |
6496 | |
5506 | |
6497 | |
5507 | if test "$gt_use_preinstalled_gnugettext" = "yes" \ |
6498 | if test "$gt_use_preinstalled_gnugettext" = "yes" \ |
5508 | || test "$nls_cv_use_gnu_gettext" = "yes"; then |
6499 | || test "$nls_cv_use_gnu_gettext" = "yes"; then |
5509 | |
6500 | |
5510 | $as_echo "#define ENABLE_NLS 1" >>confdefs.h |
6501 | printf "%s\n" "#define ENABLE_NLS 1" >>confdefs.h |
5511 | |
6502 | |
5512 | else |
6503 | else |
5513 | USE_NLS=no |
6504 | USE_NLS=no |
5514 | fi |
6505 | fi |
5515 | fi |
6506 | fi |
5516 | |
6507 | |
5517 | if test "$USE_NLS" = "yes"; then |
6508 | if test "$USE_NLS" = "yes"; then |
5518 | |
6509 | |
5519 | if test "$gt_use_preinstalled_gnugettext" = "yes"; then |
6510 | if test "$gt_use_preinstalled_gnugettext" = "yes"; then |
5520 | if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then |
6511 | if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then |
5521 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5 |
6512 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5 |
5522 | $as_echo_n "checking how to link with libintl... " >&6; } |
6513 | printf %s "checking how to link with libintl... " >&6; } |
5523 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5 |
6514 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5 |
5524 | $as_echo "$LIBINTL" >&6; } |
6515 | printf "%s\n" "$LIBINTL" >&6; } |
5525 | |
6516 | |
5526 | for element in $INCINTL; do |
6517 | for element in $INCINTL; do |
5527 | haveit= |
6518 | haveit= |
5528 | for x in $CPPFLAGS; do |
6519 | for x in $CPPFLAGS; do |
5529 | |
6520 | |
… | |
… | |
5546 | done |
6537 | done |
5547 | |
6538 | |
5548 | fi |
6539 | fi |
5549 | |
6540 | |
5550 | |
6541 | |
5551 | $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h |
6542 | printf "%s\n" "#define HAVE_GETTEXT 1" >>confdefs.h |
5552 | |
6543 | |
5553 | |
6544 | |
5554 | $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h |
6545 | printf "%s\n" "#define HAVE_DCGETTEXT 1" >>confdefs.h |
5555 | |
6546 | |
5556 | fi |
6547 | fi |
5557 | |
6548 | |
5558 | POSUB=po |
6549 | POSUB=po |
5559 | fi |
6550 | fi |
… | |
… | |
5571 | |
6562 | |
5572 | # Enable GNU extensions. |
6563 | # Enable GNU extensions. |
5573 | # Define this here, not in acconfig's @TOP@ section, since definitions |
6564 | # Define this here, not in acconfig's @TOP@ section, since definitions |
5574 | # in the latter don't make it into the configure-time tests. |
6565 | # in the latter don't make it into the configure-time tests. |
5575 | |
6566 | |
5576 | $as_echo "#define _GNU_SOURCE 1" >>confdefs.h |
6567 | printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h |
5577 | |
6568 | |
5578 | |
6569 | |
5579 | # do NOT define POSIX_SOURCE, sicne this clashes with many BSDs |
6570 | # do NOT define POSIX_SOURCE, sicne this clashes with many BSDs |
5580 | |
6571 | |
5581 | ALL_LINGUAS="" |
6572 | ALL_LINGUAS="" |
… | |
… | |
5583 | ac_ext=c |
6574 | ac_ext=c |
5584 | ac_cpp='$CPP $CPPFLAGS' |
6575 | ac_cpp='$CPP $CPPFLAGS' |
5585 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
6576 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
5586 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
6577 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
5587 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
6578 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
5588 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 |
6579 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 |
5589 | $as_echo_n "checking how to run the C preprocessor... " >&6; } |
6580 | printf %s "checking how to run the C preprocessor... " >&6; } |
5590 | # On Suns, sometimes $CPP names a directory. |
6581 | # On Suns, sometimes $CPP names a directory. |
5591 | if test -n "$CPP" && test -d "$CPP"; then |
6582 | if test -n "$CPP" && test -d "$CPP"; then |
5592 | CPP= |
6583 | CPP= |
5593 | fi |
6584 | fi |
5594 | if test -z "$CPP"; then |
6585 | if test -z "$CPP"; then |
5595 | if ${ac_cv_prog_CPP+:} false; then : |
6586 | if test ${ac_cv_prog_CPP+y} |
5596 | $as_echo_n "(cached) " >&6 |
6587 | then : |
5597 | else |
6588 | printf %s "(cached) " >&6 |
|
|
6589 | else $as_nop |
5598 | # Double quotes because CPP needs to be expanded |
6590 | # Double quotes because $CC needs to be expanded |
5599 | for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
6591 | for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp |
5600 | do |
6592 | do |
5601 | ac_preproc_ok=false |
6593 | ac_preproc_ok=false |
5602 | for ac_c_preproc_warn_flag in '' yes |
6594 | for ac_c_preproc_warn_flag in '' yes |
5603 | do |
6595 | do |
5604 | # Use a header file that comes with gcc, so configuring glibc |
6596 | # Use a header file that comes with gcc, so configuring glibc |
5605 | # with a fresh cross-compiler works. |
6597 | # with a fresh cross-compiler works. |
5606 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
5607 | # <limits.h> exists even on freestanding compilers. |
|
|
5608 | # On the NeXT, cc -E runs the code through the compiler's parser, |
6598 | # On the NeXT, cc -E runs the code through the compiler's parser, |
5609 | # not just through cpp. "Syntax error" is here to catch this case. |
6599 | # not just through cpp. "Syntax error" is here to catch this case. |
5610 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6600 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5611 | /* end confdefs.h. */ |
6601 | /* end confdefs.h. */ |
5612 | #ifdef __STDC__ |
|
|
5613 | # include <limits.h> |
6602 | #include <limits.h> |
5614 | #else |
|
|
5615 | # include <assert.h> |
|
|
5616 | #endif |
|
|
5617 | Syntax error |
6603 | Syntax error |
5618 | _ACEOF |
6604 | _ACEOF |
5619 | if ac_fn_c_try_cpp "$LINENO"; then : |
6605 | if ac_fn_c_try_cpp "$LINENO" |
|
|
6606 | then : |
5620 | |
6607 | |
5621 | else |
6608 | else $as_nop |
5622 | # Broken: fails on valid input. |
6609 | # Broken: fails on valid input. |
5623 | continue |
6610 | continue |
5624 | fi |
6611 | fi |
5625 | rm -f conftest.err conftest.i conftest.$ac_ext |
6612 | rm -f conftest.err conftest.i conftest.$ac_ext |
5626 | |
6613 | |
… | |
… | |
5628 | # can be detected and how. |
6615 | # can be detected and how. |
5629 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6616 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5630 | /* end confdefs.h. */ |
6617 | /* end confdefs.h. */ |
5631 | #include <ac_nonexistent.h> |
6618 | #include <ac_nonexistent.h> |
5632 | _ACEOF |
6619 | _ACEOF |
5633 | if ac_fn_c_try_cpp "$LINENO"; then : |
6620 | if ac_fn_c_try_cpp "$LINENO" |
|
|
6621 | then : |
5634 | # Broken: success on invalid input. |
6622 | # Broken: success on invalid input. |
5635 | continue |
6623 | continue |
5636 | else |
6624 | else $as_nop |
5637 | # Passes both tests. |
6625 | # Passes both tests. |
5638 | ac_preproc_ok=: |
6626 | ac_preproc_ok=: |
5639 | break |
6627 | break |
5640 | fi |
6628 | fi |
5641 | rm -f conftest.err conftest.i conftest.$ac_ext |
6629 | rm -f conftest.err conftest.i conftest.$ac_ext |
5642 | |
6630 | |
5643 | done |
6631 | done |
5644 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
6632 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
5645 | rm -f conftest.i conftest.err conftest.$ac_ext |
6633 | rm -f conftest.i conftest.err conftest.$ac_ext |
5646 | if $ac_preproc_ok; then : |
6634 | if $ac_preproc_ok |
|
|
6635 | then : |
5647 | break |
6636 | break |
5648 | fi |
6637 | fi |
5649 | |
6638 | |
5650 | done |
6639 | done |
5651 | ac_cv_prog_CPP=$CPP |
6640 | ac_cv_prog_CPP=$CPP |
… | |
… | |
5653 | fi |
6642 | fi |
5654 | CPP=$ac_cv_prog_CPP |
6643 | CPP=$ac_cv_prog_CPP |
5655 | else |
6644 | else |
5656 | ac_cv_prog_CPP=$CPP |
6645 | ac_cv_prog_CPP=$CPP |
5657 | fi |
6646 | fi |
5658 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 |
6647 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 |
5659 | $as_echo "$CPP" >&6; } |
6648 | printf "%s\n" "$CPP" >&6; } |
5660 | ac_preproc_ok=false |
6649 | ac_preproc_ok=false |
5661 | for ac_c_preproc_warn_flag in '' yes |
6650 | for ac_c_preproc_warn_flag in '' yes |
5662 | do |
6651 | do |
5663 | # Use a header file that comes with gcc, so configuring glibc |
6652 | # Use a header file that comes with gcc, so configuring glibc |
5664 | # with a fresh cross-compiler works. |
6653 | # with a fresh cross-compiler works. |
5665 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
5666 | # <limits.h> exists even on freestanding compilers. |
|
|
5667 | # On the NeXT, cc -E runs the code through the compiler's parser, |
6654 | # On the NeXT, cc -E runs the code through the compiler's parser, |
5668 | # not just through cpp. "Syntax error" is here to catch this case. |
6655 | # not just through cpp. "Syntax error" is here to catch this case. |
5669 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6656 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5670 | /* end confdefs.h. */ |
6657 | /* end confdefs.h. */ |
5671 | #ifdef __STDC__ |
|
|
5672 | # include <limits.h> |
6658 | #include <limits.h> |
5673 | #else |
|
|
5674 | # include <assert.h> |
|
|
5675 | #endif |
|
|
5676 | Syntax error |
6659 | Syntax error |
5677 | _ACEOF |
6660 | _ACEOF |
5678 | if ac_fn_c_try_cpp "$LINENO"; then : |
6661 | if ac_fn_c_try_cpp "$LINENO" |
|
|
6662 | then : |
5679 | |
6663 | |
5680 | else |
6664 | else $as_nop |
5681 | # Broken: fails on valid input. |
6665 | # Broken: fails on valid input. |
5682 | continue |
6666 | continue |
5683 | fi |
6667 | fi |
5684 | rm -f conftest.err conftest.i conftest.$ac_ext |
6668 | rm -f conftest.err conftest.i conftest.$ac_ext |
5685 | |
6669 | |
… | |
… | |
5687 | # can be detected and how. |
6671 | # can be detected and how. |
5688 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6672 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5689 | /* end confdefs.h. */ |
6673 | /* end confdefs.h. */ |
5690 | #include <ac_nonexistent.h> |
6674 | #include <ac_nonexistent.h> |
5691 | _ACEOF |
6675 | _ACEOF |
5692 | if ac_fn_c_try_cpp "$LINENO"; then : |
6676 | if ac_fn_c_try_cpp "$LINENO" |
|
|
6677 | then : |
5693 | # Broken: success on invalid input. |
6678 | # Broken: success on invalid input. |
5694 | continue |
6679 | continue |
5695 | else |
6680 | else $as_nop |
5696 | # Passes both tests. |
6681 | # Passes both tests. |
5697 | ac_preproc_ok=: |
6682 | ac_preproc_ok=: |
5698 | break |
6683 | break |
5699 | fi |
6684 | fi |
5700 | rm -f conftest.err conftest.i conftest.$ac_ext |
6685 | rm -f conftest.err conftest.i conftest.$ac_ext |
5701 | |
6686 | |
5702 | done |
6687 | done |
5703 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
6688 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
5704 | rm -f conftest.i conftest.err conftest.$ac_ext |
6689 | rm -f conftest.i conftest.err conftest.$ac_ext |
5705 | if $ac_preproc_ok; then : |
6690 | if $ac_preproc_ok |
|
|
6691 | then : |
5706 | |
6692 | |
5707 | else |
6693 | else $as_nop |
5708 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
6694 | { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
5709 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
6695 | printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
5710 | as_fn_error $? "C preprocessor \"$CPP\" fails sanity check |
6696 | as_fn_error $? "C preprocessor \"$CPP\" fails sanity check |
5711 | See \`config.log' for more details" "$LINENO" 5; } |
6697 | See \`config.log' for more details" "$LINENO" 5; } |
5712 | fi |
6698 | fi |
5713 | |
6699 | |
5714 | ac_ext=c |
6700 | ac_ext=c |
5715 | ac_cpp='$CPP $CPPFLAGS' |
6701 | ac_cpp='$CPP $CPPFLAGS' |
5716 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
6702 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
5717 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
6703 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
5718 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
6704 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
6705 | |
|
|
6706 | |
|
|
6707 | |
|
|
6708 | |
|
|
6709 | |
|
|
6710 | |
5719 | |
6711 | |
5720 | ac_ext=cpp |
6712 | ac_ext=cpp |
5721 | ac_cpp='$CXXCPP $CPPFLAGS' |
6713 | ac_cpp='$CXXCPP $CPPFLAGS' |
5722 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
6714 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
5723 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
6715 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
… | |
… | |
5725 | if test -z "$CXX"; then |
6717 | if test -z "$CXX"; then |
5726 | if test -n "$CCC"; then |
6718 | if test -n "$CCC"; then |
5727 | CXX=$CCC |
6719 | CXX=$CCC |
5728 | else |
6720 | else |
5729 | if test -n "$ac_tool_prefix"; then |
6721 | if test -n "$ac_tool_prefix"; then |
5730 | for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC |
6722 | for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++ |
5731 | do |
6723 | do |
5732 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
6724 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
5733 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
6725 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
5734 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
6726 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
5735 | $as_echo_n "checking for $ac_word... " >&6; } |
6727 | printf %s "checking for $ac_word... " >&6; } |
5736 | if ${ac_cv_prog_CXX+:} false; then : |
6728 | if test ${ac_cv_prog_CXX+y} |
5737 | $as_echo_n "(cached) " >&6 |
6729 | then : |
5738 | else |
6730 | printf %s "(cached) " >&6 |
|
|
6731 | else $as_nop |
5739 | if test -n "$CXX"; then |
6732 | if test -n "$CXX"; then |
5740 | ac_cv_prog_CXX="$CXX" # Let the user override the test. |
6733 | ac_cv_prog_CXX="$CXX" # Let the user override the test. |
5741 | else |
6734 | else |
5742 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
6735 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
5743 | for as_dir in $PATH |
6736 | for as_dir in $PATH |
5744 | do |
6737 | do |
5745 | IFS=$as_save_IFS |
6738 | IFS=$as_save_IFS |
5746 | test -z "$as_dir" && as_dir=. |
6739 | case $as_dir in #((( |
|
|
6740 | '') as_dir=./ ;; |
|
|
6741 | */) ;; |
|
|
6742 | *) as_dir=$as_dir/ ;; |
|
|
6743 | esac |
5747 | for ac_exec_ext in '' $ac_executable_extensions; do |
6744 | for ac_exec_ext in '' $ac_executable_extensions; do |
5748 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
6745 | if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
5749 | ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" |
6746 | ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" |
5750 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6747 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
5751 | break 2 |
6748 | break 2 |
5752 | fi |
6749 | fi |
5753 | done |
6750 | done |
5754 | done |
6751 | done |
5755 | IFS=$as_save_IFS |
6752 | IFS=$as_save_IFS |
5756 | |
6753 | |
5757 | fi |
6754 | fi |
5758 | fi |
6755 | fi |
5759 | CXX=$ac_cv_prog_CXX |
6756 | CXX=$ac_cv_prog_CXX |
5760 | if test -n "$CXX"; then |
6757 | if test -n "$CXX"; then |
5761 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 |
6758 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 |
5762 | $as_echo "$CXX" >&6; } |
6759 | printf "%s\n" "$CXX" >&6; } |
5763 | else |
6760 | else |
5764 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6761 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
5765 | $as_echo "no" >&6; } |
6762 | printf "%s\n" "no" >&6; } |
5766 | fi |
6763 | fi |
5767 | |
6764 | |
5768 | |
6765 | |
5769 | test -n "$CXX" && break |
6766 | test -n "$CXX" && break |
5770 | done |
6767 | done |
5771 | fi |
6768 | fi |
5772 | if test -z "$CXX"; then |
6769 | if test -z "$CXX"; then |
5773 | ac_ct_CXX=$CXX |
6770 | ac_ct_CXX=$CXX |
5774 | for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC |
6771 | for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++ |
5775 | do |
6772 | do |
5776 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
6773 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
5777 | set dummy $ac_prog; ac_word=$2 |
6774 | set dummy $ac_prog; ac_word=$2 |
5778 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
6775 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
5779 | $as_echo_n "checking for $ac_word... " >&6; } |
6776 | printf %s "checking for $ac_word... " >&6; } |
5780 | if ${ac_cv_prog_ac_ct_CXX+:} false; then : |
6777 | if test ${ac_cv_prog_ac_ct_CXX+y} |
5781 | $as_echo_n "(cached) " >&6 |
6778 | then : |
5782 | else |
6779 | printf %s "(cached) " >&6 |
|
|
6780 | else $as_nop |
5783 | if test -n "$ac_ct_CXX"; then |
6781 | if test -n "$ac_ct_CXX"; then |
5784 | ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. |
6782 | ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. |
5785 | else |
6783 | else |
5786 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
6784 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
5787 | for as_dir in $PATH |
6785 | for as_dir in $PATH |
5788 | do |
6786 | do |
5789 | IFS=$as_save_IFS |
6787 | IFS=$as_save_IFS |
5790 | test -z "$as_dir" && as_dir=. |
6788 | case $as_dir in #((( |
|
|
6789 | '') as_dir=./ ;; |
|
|
6790 | */) ;; |
|
|
6791 | *) as_dir=$as_dir/ ;; |
|
|
6792 | esac |
5791 | for ac_exec_ext in '' $ac_executable_extensions; do |
6793 | for ac_exec_ext in '' $ac_executable_extensions; do |
5792 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
6794 | if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
5793 | ac_cv_prog_ac_ct_CXX="$ac_prog" |
6795 | ac_cv_prog_ac_ct_CXX="$ac_prog" |
5794 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6796 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
5795 | break 2 |
6797 | break 2 |
5796 | fi |
6798 | fi |
5797 | done |
6799 | done |
5798 | done |
6800 | done |
5799 | IFS=$as_save_IFS |
6801 | IFS=$as_save_IFS |
5800 | |
6802 | |
5801 | fi |
6803 | fi |
5802 | fi |
6804 | fi |
5803 | ac_ct_CXX=$ac_cv_prog_ac_ct_CXX |
6805 | ac_ct_CXX=$ac_cv_prog_ac_ct_CXX |
5804 | if test -n "$ac_ct_CXX"; then |
6806 | if test -n "$ac_ct_CXX"; then |
5805 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 |
6807 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 |
5806 | $as_echo "$ac_ct_CXX" >&6; } |
6808 | printf "%s\n" "$ac_ct_CXX" >&6; } |
5807 | else |
6809 | else |
5808 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6810 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
5809 | $as_echo "no" >&6; } |
6811 | printf "%s\n" "no" >&6; } |
5810 | fi |
6812 | fi |
5811 | |
6813 | |
5812 | |
6814 | |
5813 | test -n "$ac_ct_CXX" && break |
6815 | test -n "$ac_ct_CXX" && break |
5814 | done |
6816 | done |
… | |
… | |
5816 | if test "x$ac_ct_CXX" = x; then |
6818 | if test "x$ac_ct_CXX" = x; then |
5817 | CXX="g++" |
6819 | CXX="g++" |
5818 | else |
6820 | else |
5819 | case $cross_compiling:$ac_tool_warned in |
6821 | case $cross_compiling:$ac_tool_warned in |
5820 | yes:) |
6822 | yes:) |
5821 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
6823 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
5822 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
6824 | printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
5823 | ac_tool_warned=yes ;; |
6825 | ac_tool_warned=yes ;; |
5824 | esac |
6826 | esac |
5825 | CXX=$ac_ct_CXX |
6827 | CXX=$ac_ct_CXX |
5826 | fi |
6828 | fi |
5827 | fi |
6829 | fi |
5828 | |
6830 | |
5829 | fi |
6831 | fi |
5830 | fi |
6832 | fi |
5831 | # Provide some information about the compiler. |
6833 | # Provide some information about the compiler. |
5832 | $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 |
6834 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 |
5833 | set X $ac_compile |
6835 | set X $ac_compile |
5834 | ac_compiler=$2 |
6836 | ac_compiler=$2 |
5835 | for ac_option in --version -v -V -qversion; do |
6837 | for ac_option in --version -v -V -qversion; do |
5836 | { { ac_try="$ac_compiler $ac_option >&5" |
6838 | { { ac_try="$ac_compiler $ac_option >&5" |
5837 | case "(($ac_try" in |
6839 | case "(($ac_try" in |
5838 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
6840 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
5839 | *) ac_try_echo=$ac_try;; |
6841 | *) ac_try_echo=$ac_try;; |
5840 | esac |
6842 | esac |
5841 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
6843 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
5842 | $as_echo "$ac_try_echo"; } >&5 |
6844 | printf "%s\n" "$ac_try_echo"; } >&5 |
5843 | (eval "$ac_compiler $ac_option >&5") 2>conftest.err |
6845 | (eval "$ac_compiler $ac_option >&5") 2>conftest.err |
5844 | ac_status=$? |
6846 | ac_status=$? |
5845 | if test -s conftest.err; then |
6847 | if test -s conftest.err; then |
5846 | sed '10a\ |
6848 | sed '10a\ |
5847 | ... rest of stderr output deleted ... |
6849 | ... rest of stderr output deleted ... |
5848 | 10q' conftest.err >conftest.er1 |
6850 | 10q' conftest.err >conftest.er1 |
5849 | cat conftest.er1 >&5 |
6851 | cat conftest.er1 >&5 |
5850 | fi |
6852 | fi |
5851 | rm -f conftest.er1 conftest.err |
6853 | rm -f conftest.er1 conftest.err |
5852 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
6854 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
5853 | test $ac_status = 0; } |
6855 | test $ac_status = 0; } |
5854 | done |
6856 | done |
5855 | |
6857 | |
5856 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 |
6858 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5 |
5857 | $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } |
6859 | printf %s "checking whether the compiler supports GNU C++... " >&6; } |
5858 | if ${ac_cv_cxx_compiler_gnu+:} false; then : |
6860 | if test ${ac_cv_cxx_compiler_gnu+y} |
5859 | $as_echo_n "(cached) " >&6 |
6861 | then : |
5860 | else |
6862 | printf %s "(cached) " >&6 |
|
|
6863 | else $as_nop |
5861 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6864 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5862 | /* end confdefs.h. */ |
6865 | /* end confdefs.h. */ |
5863 | |
6866 | |
5864 | int |
6867 | int |
5865 | main () |
6868 | main (void) |
5866 | { |
6869 | { |
5867 | #ifndef __GNUC__ |
6870 | #ifndef __GNUC__ |
5868 | choke me |
6871 | choke me |
5869 | #endif |
6872 | #endif |
5870 | |
6873 | |
5871 | ; |
6874 | ; |
5872 | return 0; |
6875 | return 0; |
5873 | } |
6876 | } |
5874 | _ACEOF |
6877 | _ACEOF |
5875 | if ac_fn_cxx_try_compile "$LINENO"; then : |
6878 | if ac_fn_cxx_try_compile "$LINENO" |
|
|
6879 | then : |
5876 | ac_compiler_gnu=yes |
6880 | ac_compiler_gnu=yes |
5877 | else |
6881 | else $as_nop |
5878 | ac_compiler_gnu=no |
6882 | ac_compiler_gnu=no |
5879 | fi |
6883 | fi |
5880 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6884 | rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
5881 | ac_cv_cxx_compiler_gnu=$ac_compiler_gnu |
6885 | ac_cv_cxx_compiler_gnu=$ac_compiler_gnu |
5882 | |
6886 | |
5883 | fi |
6887 | fi |
5884 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 |
6888 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 |
5885 | $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } |
6889 | printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; } |
|
|
6890 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
|
6891 | |
5886 | if test $ac_compiler_gnu = yes; then |
6892 | if test $ac_compiler_gnu = yes; then |
5887 | GXX=yes |
6893 | GXX=yes |
5888 | else |
6894 | else |
5889 | GXX= |
6895 | GXX= |
5890 | fi |
6896 | fi |
5891 | ac_test_CXXFLAGS=${CXXFLAGS+set} |
6897 | ac_test_CXXFLAGS=${CXXFLAGS+y} |
5892 | ac_save_CXXFLAGS=$CXXFLAGS |
6898 | ac_save_CXXFLAGS=$CXXFLAGS |
5893 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 |
6899 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 |
5894 | $as_echo_n "checking whether $CXX accepts -g... " >&6; } |
6900 | printf %s "checking whether $CXX accepts -g... " >&6; } |
5895 | if ${ac_cv_prog_cxx_g+:} false; then : |
6901 | if test ${ac_cv_prog_cxx_g+y} |
5896 | $as_echo_n "(cached) " >&6 |
6902 | then : |
5897 | else |
6903 | printf %s "(cached) " >&6 |
|
|
6904 | else $as_nop |
5898 | ac_save_cxx_werror_flag=$ac_cxx_werror_flag |
6905 | ac_save_cxx_werror_flag=$ac_cxx_werror_flag |
5899 | ac_cxx_werror_flag=yes |
6906 | ac_cxx_werror_flag=yes |
5900 | ac_cv_prog_cxx_g=no |
6907 | ac_cv_prog_cxx_g=no |
5901 | CXXFLAGS="-g" |
6908 | CXXFLAGS="-g" |
5902 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6909 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5903 | /* end confdefs.h. */ |
6910 | /* end confdefs.h. */ |
5904 | |
6911 | |
5905 | int |
6912 | int |
5906 | main () |
6913 | main (void) |
5907 | { |
6914 | { |
5908 | |
6915 | |
5909 | ; |
6916 | ; |
5910 | return 0; |
6917 | return 0; |
5911 | } |
6918 | } |
5912 | _ACEOF |
6919 | _ACEOF |
5913 | if ac_fn_cxx_try_compile "$LINENO"; then : |
6920 | if ac_fn_cxx_try_compile "$LINENO" |
|
|
6921 | then : |
5914 | ac_cv_prog_cxx_g=yes |
6922 | ac_cv_prog_cxx_g=yes |
5915 | else |
6923 | else $as_nop |
5916 | CXXFLAGS="" |
6924 | CXXFLAGS="" |
5917 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6925 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5918 | /* end confdefs.h. */ |
6926 | /* end confdefs.h. */ |
5919 | |
6927 | |
5920 | int |
6928 | int |
5921 | main () |
6929 | main (void) |
5922 | { |
6930 | { |
5923 | |
6931 | |
5924 | ; |
6932 | ; |
5925 | return 0; |
6933 | return 0; |
5926 | } |
6934 | } |
5927 | _ACEOF |
6935 | _ACEOF |
5928 | if ac_fn_cxx_try_compile "$LINENO"; then : |
6936 | if ac_fn_cxx_try_compile "$LINENO" |
|
|
6937 | then : |
5929 | |
6938 | |
5930 | else |
6939 | else $as_nop |
5931 | ac_cxx_werror_flag=$ac_save_cxx_werror_flag |
6940 | ac_cxx_werror_flag=$ac_save_cxx_werror_flag |
5932 | CXXFLAGS="-g" |
6941 | CXXFLAGS="-g" |
5933 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6942 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5934 | /* end confdefs.h. */ |
6943 | /* end confdefs.h. */ |
5935 | |
6944 | |
5936 | int |
6945 | int |
5937 | main () |
6946 | main (void) |
5938 | { |
6947 | { |
5939 | |
6948 | |
5940 | ; |
6949 | ; |
5941 | return 0; |
6950 | return 0; |
5942 | } |
6951 | } |
5943 | _ACEOF |
6952 | _ACEOF |
5944 | if ac_fn_cxx_try_compile "$LINENO"; then : |
6953 | if ac_fn_cxx_try_compile "$LINENO" |
|
|
6954 | then : |
5945 | ac_cv_prog_cxx_g=yes |
6955 | ac_cv_prog_cxx_g=yes |
5946 | fi |
6956 | fi |
5947 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6957 | rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
5948 | fi |
6958 | fi |
5949 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6959 | rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
5950 | fi |
6960 | fi |
5951 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6961 | rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
5952 | ac_cxx_werror_flag=$ac_save_cxx_werror_flag |
6962 | ac_cxx_werror_flag=$ac_save_cxx_werror_flag |
5953 | fi |
6963 | fi |
5954 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 |
6964 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 |
5955 | $as_echo "$ac_cv_prog_cxx_g" >&6; } |
6965 | printf "%s\n" "$ac_cv_prog_cxx_g" >&6; } |
5956 | if test "$ac_test_CXXFLAGS" = set; then |
6966 | if test $ac_test_CXXFLAGS; then |
5957 | CXXFLAGS=$ac_save_CXXFLAGS |
6967 | CXXFLAGS=$ac_save_CXXFLAGS |
5958 | elif test $ac_cv_prog_cxx_g = yes; then |
6968 | elif test $ac_cv_prog_cxx_g = yes; then |
5959 | if test "$GXX" = yes; then |
6969 | if test "$GXX" = yes; then |
5960 | CXXFLAGS="-g -O2" |
6970 | CXXFLAGS="-g -O2" |
5961 | else |
6971 | else |
… | |
… | |
5966 | CXXFLAGS="-O2" |
6976 | CXXFLAGS="-O2" |
5967 | else |
6977 | else |
5968 | CXXFLAGS= |
6978 | CXXFLAGS= |
5969 | fi |
6979 | fi |
5970 | fi |
6980 | fi |
|
|
6981 | ac_prog_cxx_stdcxx=no |
|
|
6982 | if test x$ac_prog_cxx_stdcxx = xno |
|
|
6983 | then : |
|
|
6984 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5 |
|
|
6985 | printf %s "checking for $CXX option to enable C++11 features... " >&6; } |
|
|
6986 | if test ${ac_cv_prog_cxx_11+y} |
|
|
6987 | then : |
|
|
6988 | printf %s "(cached) " >&6 |
|
|
6989 | else $as_nop |
|
|
6990 | ac_cv_prog_cxx_11=no |
|
|
6991 | ac_save_CXX=$CXX |
|
|
6992 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
6993 | /* end confdefs.h. */ |
|
|
6994 | $ac_cxx_conftest_cxx11_program |
|
|
6995 | _ACEOF |
|
|
6996 | for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA |
|
|
6997 | do |
|
|
6998 | CXX="$ac_save_CXX $ac_arg" |
|
|
6999 | if ac_fn_cxx_try_compile "$LINENO" |
|
|
7000 | then : |
|
|
7001 | ac_cv_prog_cxx_cxx11=$ac_arg |
|
|
7002 | fi |
|
|
7003 | rm -f core conftest.err conftest.$ac_objext conftest.beam |
|
|
7004 | test "x$ac_cv_prog_cxx_cxx11" != "xno" && break |
|
|
7005 | done |
|
|
7006 | rm -f conftest.$ac_ext |
|
|
7007 | CXX=$ac_save_CXX |
|
|
7008 | fi |
|
|
7009 | |
|
|
7010 | if test "x$ac_cv_prog_cxx_cxx11" = xno |
|
|
7011 | then : |
|
|
7012 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
|
|
7013 | printf "%s\n" "unsupported" >&6; } |
|
|
7014 | else $as_nop |
|
|
7015 | if test "x$ac_cv_prog_cxx_cxx11" = x |
|
|
7016 | then : |
|
|
7017 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
|
|
7018 | printf "%s\n" "none needed" >&6; } |
|
|
7019 | else $as_nop |
|
|
7020 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5 |
|
|
7021 | printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; } |
|
|
7022 | CXX="$CXX $ac_cv_prog_cxx_cxx11" |
|
|
7023 | fi |
|
|
7024 | ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11 |
|
|
7025 | ac_prog_cxx_stdcxx=cxx11 |
|
|
7026 | fi |
|
|
7027 | fi |
|
|
7028 | if test x$ac_prog_cxx_stdcxx = xno |
|
|
7029 | then : |
|
|
7030 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5 |
|
|
7031 | printf %s "checking for $CXX option to enable C++98 features... " >&6; } |
|
|
7032 | if test ${ac_cv_prog_cxx_98+y} |
|
|
7033 | then : |
|
|
7034 | printf %s "(cached) " >&6 |
|
|
7035 | else $as_nop |
|
|
7036 | ac_cv_prog_cxx_98=no |
|
|
7037 | ac_save_CXX=$CXX |
|
|
7038 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
7039 | /* end confdefs.h. */ |
|
|
7040 | $ac_cxx_conftest_cxx98_program |
|
|
7041 | _ACEOF |
|
|
7042 | for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA |
|
|
7043 | do |
|
|
7044 | CXX="$ac_save_CXX $ac_arg" |
|
|
7045 | if ac_fn_cxx_try_compile "$LINENO" |
|
|
7046 | then : |
|
|
7047 | ac_cv_prog_cxx_cxx98=$ac_arg |
|
|
7048 | fi |
|
|
7049 | rm -f core conftest.err conftest.$ac_objext conftest.beam |
|
|
7050 | test "x$ac_cv_prog_cxx_cxx98" != "xno" && break |
|
|
7051 | done |
|
|
7052 | rm -f conftest.$ac_ext |
|
|
7053 | CXX=$ac_save_CXX |
|
|
7054 | fi |
|
|
7055 | |
|
|
7056 | if test "x$ac_cv_prog_cxx_cxx98" = xno |
|
|
7057 | then : |
|
|
7058 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
|
|
7059 | printf "%s\n" "unsupported" >&6; } |
|
|
7060 | else $as_nop |
|
|
7061 | if test "x$ac_cv_prog_cxx_cxx98" = x |
|
|
7062 | then : |
|
|
7063 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
|
|
7064 | printf "%s\n" "none needed" >&6; } |
|
|
7065 | else $as_nop |
|
|
7066 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5 |
|
|
7067 | printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; } |
|
|
7068 | CXX="$CXX $ac_cv_prog_cxx_cxx98" |
|
|
7069 | fi |
|
|
7070 | ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98 |
|
|
7071 | ac_prog_cxx_stdcxx=cxx98 |
|
|
7072 | fi |
|
|
7073 | fi |
|
|
7074 | |
5971 | ac_ext=c |
7075 | ac_ext=c |
5972 | ac_cpp='$CPP $CPPFLAGS' |
7076 | ac_cpp='$CPP $CPPFLAGS' |
5973 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
7077 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
5974 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
7078 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
5975 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
7079 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
5976 | |
7080 | |
5977 | depcc="$CXX" am_compiler_list= |
7081 | depcc="$CXX" am_compiler_list= |
5978 | |
7082 | |
5979 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
7083 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
5980 | $as_echo_n "checking dependency style of $depcc... " >&6; } |
7084 | printf %s "checking dependency style of $depcc... " >&6; } |
5981 | if ${am_cv_CXX_dependencies_compiler_type+:} false; then : |
7085 | if test ${am_cv_CXX_dependencies_compiler_type+y} |
5982 | $as_echo_n "(cached) " >&6 |
7086 | then : |
5983 | else |
7087 | printf %s "(cached) " >&6 |
|
|
7088 | else $as_nop |
5984 | if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
7089 | if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
5985 | # We make a subdir and do the tests there. Otherwise we can end up |
7090 | # We make a subdir and do the tests there. Otherwise we can end up |
5986 | # making bogus files that we don't know about and never remove. For |
7091 | # making bogus files that we don't know about and never remove. For |
5987 | # instance it was reported that on HP-UX the gcc test will end up |
7092 | # instance it was reported that on HP-UX the gcc test will end up |
5988 | # making a dummy file named `D' -- because `-MD' means `put the output |
7093 | # making a dummy file named 'D' -- because '-MD' means "put the output |
5989 | # in D'. |
7094 | # in D". |
|
|
7095 | rm -rf conftest.dir |
5990 | mkdir conftest.dir |
7096 | mkdir conftest.dir |
5991 | # Copy depcomp to subdir because otherwise we won't find it if we're |
7097 | # Copy depcomp to subdir because otherwise we won't find it if we're |
5992 | # using a relative directory. |
7098 | # using a relative directory. |
5993 | cp "$am_depcomp" conftest.dir |
7099 | cp "$am_depcomp" conftest.dir |
5994 | cd conftest.dir |
7100 | cd conftest.dir |
… | |
… | |
6002 | |
7108 | |
6003 | am_cv_CXX_dependencies_compiler_type=none |
7109 | am_cv_CXX_dependencies_compiler_type=none |
6004 | if test "$am_compiler_list" = ""; then |
7110 | if test "$am_compiler_list" = ""; then |
6005 | am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
7111 | am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
6006 | fi |
7112 | fi |
|
|
7113 | am__universal=false |
|
|
7114 | case " $depcc " in #( |
|
|
7115 | *\ -arch\ *\ -arch\ *) am__universal=true ;; |
|
|
7116 | esac |
|
|
7117 | |
6007 | for depmode in $am_compiler_list; do |
7118 | for depmode in $am_compiler_list; do |
6008 | # Setup a source with many dependencies, because some compilers |
7119 | # Setup a source with many dependencies, because some compilers |
6009 | # like to wrap large dependency lists on column 80 (with \), and |
7120 | # like to wrap large dependency lists on column 80 (with \), and |
6010 | # we should not choose a depcomp mode which is confused by this. |
7121 | # we should not choose a depcomp mode which is confused by this. |
6011 | # |
7122 | # |
… | |
… | |
6013 | # overwrite some of them when testing with obscure command lines. |
7124 | # overwrite some of them when testing with obscure command lines. |
6014 | # This happens at least with the AIX C compiler. |
7125 | # This happens at least with the AIX C compiler. |
6015 | : > sub/conftest.c |
7126 | : > sub/conftest.c |
6016 | for i in 1 2 3 4 5 6; do |
7127 | for i in 1 2 3 4 5 6; do |
6017 | echo '#include "conftst'$i'.h"' >> sub/conftest.c |
7128 | echo '#include "conftst'$i'.h"' >> sub/conftest.c |
6018 | : > sub/conftst$i.h |
7129 | # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with |
|
|
7130 | # Solaris 10 /bin/sh. |
|
|
7131 | echo '/* dummy */' > sub/conftst$i.h |
6019 | done |
7132 | done |
6020 | echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
7133 | echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
6021 | |
7134 | |
|
|
7135 | # We check with '-c' and '-o' for the sake of the "dashmstdout" |
|
|
7136 | # mode. It turns out that the SunPro C++ compiler does not properly |
|
|
7137 | # handle '-M -o', and we need to detect this. Also, some Intel |
|
|
7138 | # versions had trouble with output in subdirs. |
|
|
7139 | am__obj=sub/conftest.${OBJEXT-o} |
|
|
7140 | am__minus_obj="-o $am__obj" |
6022 | case $depmode in |
7141 | case $depmode in |
|
|
7142 | gcc) |
|
|
7143 | # This depmode causes a compiler race in universal mode. |
|
|
7144 | test "$am__universal" = false || continue |
|
|
7145 | ;; |
6023 | nosideeffect) |
7146 | nosideeffect) |
6024 | # after this tag, mechanisms are not by side-effect, so they'll |
7147 | # After this tag, mechanisms are not by side-effect, so they'll |
6025 | # only be used when explicitly requested |
7148 | # only be used when explicitly requested. |
6026 | if test "x$enable_dependency_tracking" = xyes; then |
7149 | if test "x$enable_dependency_tracking" = xyes; then |
6027 | continue |
7150 | continue |
6028 | else |
7151 | else |
6029 | break |
7152 | break |
6030 | fi |
7153 | fi |
6031 | ;; |
7154 | ;; |
|
|
7155 | msvc7 | msvc7msys | msvisualcpp | msvcmsys) |
|
|
7156 | # This compiler won't grok '-c -o', but also, the minuso test has |
|
|
7157 | # not run yet. These depmodes are late enough in the game, and |
|
|
7158 | # so weak that their functioning should not be impacted. |
|
|
7159 | am__obj=conftest.${OBJEXT-o} |
|
|
7160 | am__minus_obj= |
|
|
7161 | ;; |
6032 | none) break ;; |
7162 | none) break ;; |
6033 | esac |
7163 | esac |
6034 | # We check with `-c' and `-o' for the sake of the "dashmstdout" |
|
|
6035 | # mode. It turns out that the SunPro C++ compiler does not properly |
|
|
6036 | # handle `-M -o', and we need to detect this. |
|
|
6037 | if depmode=$depmode \ |
7164 | if depmode=$depmode \ |
6038 | source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ |
7165 | source=sub/conftest.c object=$am__obj \ |
6039 | depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
7166 | depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
6040 | $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ |
7167 | $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ |
6041 | >/dev/null 2>conftest.err && |
7168 | >/dev/null 2>conftest.err && |
|
|
7169 | grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && |
6042 | grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
7170 | grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
6043 | grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && |
7171 | grep $am__obj sub/conftest.Po > /dev/null 2>&1 && |
6044 | ${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
7172 | ${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
6045 | # icc doesn't choke on unknown options, it will just issue warnings |
7173 | # icc doesn't choke on unknown options, it will just issue warnings |
6046 | # (even with -Werror). So we grep stderr for any message |
7174 | # or remarks (even with -Werror). So we grep stderr for any message |
6047 | # that says an option was ignored. |
7175 | # that says an option was ignored or not supported. |
|
|
7176 | # When given -MP, icc 7.0 and 7.1 complain thusly: |
|
|
7177 | # icc: Command line warning: ignoring option '-M'; no argument required |
|
|
7178 | # The diagnosis changed in icc 8.0: |
|
|
7179 | # icc: Command line remark: option '-MP' not supported |
|
|
7180 | if (grep 'ignoring option' conftest.err || |
6048 | if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else |
7181 | grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else |
6049 | am_cv_CXX_dependencies_compiler_type=$depmode |
7182 | am_cv_CXX_dependencies_compiler_type=$depmode |
6050 | break |
7183 | break |
6051 | fi |
7184 | fi |
6052 | fi |
7185 | fi |
6053 | done |
7186 | done |
… | |
… | |
6057 | else |
7190 | else |
6058 | am_cv_CXX_dependencies_compiler_type=none |
7191 | am_cv_CXX_dependencies_compiler_type=none |
6059 | fi |
7192 | fi |
6060 | |
7193 | |
6061 | fi |
7194 | fi |
6062 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5 |
7195 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5 |
6063 | $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } |
7196 | printf "%s\n" "$am_cv_CXX_dependencies_compiler_type" >&6; } |
6064 | CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type |
7197 | CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type |
6065 | |
7198 | |
6066 | |
|
|
6067 | |
|
|
6068 | if |
7199 | if |
6069 | test "x$enable_dependency_tracking" != xno \ |
7200 | test "x$enable_dependency_tracking" != xno \ |
6070 | && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then |
7201 | && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then |
6071 | am__fastdepCXX_TRUE= |
7202 | am__fastdepCXX_TRUE= |
6072 | am__fastdepCXX_FALSE='#' |
7203 | am__fastdepCXX_FALSE='#' |
6073 | else |
7204 | else |
… | |
… | |
6075 | am__fastdepCXX_FALSE= |
7206 | am__fastdepCXX_FALSE= |
6076 | fi |
7207 | fi |
6077 | |
7208 | |
6078 | |
7209 | |
6079 | |
7210 | |
6080 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 |
7211 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 |
6081 | $as_echo_n "checking for grep that handles long lines and -e... " >&6; } |
7212 | printf %s "checking for grep that handles long lines and -e... " >&6; } |
6082 | if ${ac_cv_path_GREP+:} false; then : |
7213 | if test ${ac_cv_path_GREP+y} |
6083 | $as_echo_n "(cached) " >&6 |
7214 | then : |
6084 | else |
7215 | printf %s "(cached) " >&6 |
|
|
7216 | else $as_nop |
6085 | if test -z "$GREP"; then |
7217 | if test -z "$GREP"; then |
6086 | ac_path_GREP_found=false |
7218 | ac_path_GREP_found=false |
6087 | # Loop through the user's path and test for each of PROGNAME-LIST |
7219 | # Loop through the user's path and test for each of PROGNAME-LIST |
6088 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
7220 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
6089 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
7221 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
6090 | do |
7222 | do |
6091 | IFS=$as_save_IFS |
7223 | IFS=$as_save_IFS |
6092 | test -z "$as_dir" && as_dir=. |
7224 | case $as_dir in #((( |
|
|
7225 | '') as_dir=./ ;; |
|
|
7226 | */) ;; |
|
|
7227 | *) as_dir=$as_dir/ ;; |
|
|
7228 | esac |
6093 | for ac_prog in grep ggrep; do |
7229 | for ac_prog in grep ggrep |
|
|
7230 | do |
6094 | for ac_exec_ext in '' $ac_executable_extensions; do |
7231 | for ac_exec_ext in '' $ac_executable_extensions; do |
6095 | ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
7232 | ac_path_GREP="$as_dir$ac_prog$ac_exec_ext" |
6096 | as_fn_executable_p "$ac_path_GREP" || continue |
7233 | as_fn_executable_p "$ac_path_GREP" || continue |
6097 | # Check for GNU ac_path_GREP and select it if it is found. |
7234 | # Check for GNU ac_path_GREP and select it if it is found. |
6098 | # Check for GNU $ac_path_GREP |
7235 | # Check for GNU $ac_path_GREP |
6099 | case `"$ac_path_GREP" --version 2>&1` in |
7236 | case `"$ac_path_GREP" --version 2>&1` in |
6100 | *GNU*) |
7237 | *GNU*) |
6101 | ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; |
7238 | ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; |
6102 | *) |
7239 | *) |
6103 | ac_count=0 |
7240 | ac_count=0 |
6104 | $as_echo_n 0123456789 >"conftest.in" |
7241 | printf %s 0123456789 >"conftest.in" |
6105 | while : |
7242 | while : |
6106 | do |
7243 | do |
6107 | cat "conftest.in" "conftest.in" >"conftest.tmp" |
7244 | cat "conftest.in" "conftest.in" >"conftest.tmp" |
6108 | mv "conftest.tmp" "conftest.in" |
7245 | mv "conftest.tmp" "conftest.in" |
6109 | cp "conftest.in" "conftest.nl" |
7246 | cp "conftest.in" "conftest.nl" |
6110 | $as_echo 'GREP' >> "conftest.nl" |
7247 | printf "%s\n" 'GREP' >> "conftest.nl" |
6111 | "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
7248 | "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
6112 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
7249 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
6113 | as_fn_arith $ac_count + 1 && ac_count=$as_val |
7250 | as_fn_arith $ac_count + 1 && ac_count=$as_val |
6114 | if test $ac_count -gt ${ac_path_GREP_max-0}; then |
7251 | if test $ac_count -gt ${ac_path_GREP_max-0}; then |
6115 | # Best one so far, save it but keep looking for a better one |
7252 | # Best one so far, save it but keep looking for a better one |
… | |
… | |
6133 | else |
7270 | else |
6134 | ac_cv_path_GREP=$GREP |
7271 | ac_cv_path_GREP=$GREP |
6135 | fi |
7272 | fi |
6136 | |
7273 | |
6137 | fi |
7274 | fi |
6138 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 |
7275 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 |
6139 | $as_echo "$ac_cv_path_GREP" >&6; } |
7276 | printf "%s\n" "$ac_cv_path_GREP" >&6; } |
6140 | GREP="$ac_cv_path_GREP" |
7277 | GREP="$ac_cv_path_GREP" |
6141 | |
7278 | |
6142 | |
7279 | |
6143 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 |
7280 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 |
6144 | $as_echo_n "checking for egrep... " >&6; } |
7281 | printf %s "checking for egrep... " >&6; } |
6145 | if ${ac_cv_path_EGREP+:} false; then : |
7282 | if test ${ac_cv_path_EGREP+y} |
6146 | $as_echo_n "(cached) " >&6 |
7283 | then : |
6147 | else |
7284 | printf %s "(cached) " >&6 |
|
|
7285 | else $as_nop |
6148 | if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
7286 | if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
6149 | then ac_cv_path_EGREP="$GREP -E" |
7287 | then ac_cv_path_EGREP="$GREP -E" |
6150 | else |
7288 | else |
6151 | if test -z "$EGREP"; then |
7289 | if test -z "$EGREP"; then |
6152 | ac_path_EGREP_found=false |
7290 | ac_path_EGREP_found=false |
6153 | # Loop through the user's path and test for each of PROGNAME-LIST |
7291 | # Loop through the user's path and test for each of PROGNAME-LIST |
6154 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
7292 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
6155 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
7293 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
6156 | do |
7294 | do |
6157 | IFS=$as_save_IFS |
7295 | IFS=$as_save_IFS |
6158 | test -z "$as_dir" && as_dir=. |
7296 | case $as_dir in #((( |
|
|
7297 | '') as_dir=./ ;; |
|
|
7298 | */) ;; |
|
|
7299 | *) as_dir=$as_dir/ ;; |
|
|
7300 | esac |
6159 | for ac_prog in egrep; do |
7301 | for ac_prog in egrep |
|
|
7302 | do |
6160 | for ac_exec_ext in '' $ac_executable_extensions; do |
7303 | for ac_exec_ext in '' $ac_executable_extensions; do |
6161 | ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
7304 | ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext" |
6162 | as_fn_executable_p "$ac_path_EGREP" || continue |
7305 | as_fn_executable_p "$ac_path_EGREP" || continue |
6163 | # Check for GNU ac_path_EGREP and select it if it is found. |
7306 | # Check for GNU ac_path_EGREP and select it if it is found. |
6164 | # Check for GNU $ac_path_EGREP |
7307 | # Check for GNU $ac_path_EGREP |
6165 | case `"$ac_path_EGREP" --version 2>&1` in |
7308 | case `"$ac_path_EGREP" --version 2>&1` in |
6166 | *GNU*) |
7309 | *GNU*) |
6167 | ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; |
7310 | ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; |
6168 | *) |
7311 | *) |
6169 | ac_count=0 |
7312 | ac_count=0 |
6170 | $as_echo_n 0123456789 >"conftest.in" |
7313 | printf %s 0123456789 >"conftest.in" |
6171 | while : |
7314 | while : |
6172 | do |
7315 | do |
6173 | cat "conftest.in" "conftest.in" >"conftest.tmp" |
7316 | cat "conftest.in" "conftest.in" >"conftest.tmp" |
6174 | mv "conftest.tmp" "conftest.in" |
7317 | mv "conftest.tmp" "conftest.in" |
6175 | cp "conftest.in" "conftest.nl" |
7318 | cp "conftest.in" "conftest.nl" |
6176 | $as_echo 'EGREP' >> "conftest.nl" |
7319 | printf "%s\n" 'EGREP' >> "conftest.nl" |
6177 | "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
7320 | "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
6178 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
7321 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
6179 | as_fn_arith $ac_count + 1 && ac_count=$as_val |
7322 | as_fn_arith $ac_count + 1 && ac_count=$as_val |
6180 | if test $ac_count -gt ${ac_path_EGREP_max-0}; then |
7323 | if test $ac_count -gt ${ac_path_EGREP_max-0}; then |
6181 | # Best one so far, save it but keep looking for a better one |
7324 | # Best one so far, save it but keep looking for a better one |
… | |
… | |
6200 | ac_cv_path_EGREP=$EGREP |
7343 | ac_cv_path_EGREP=$EGREP |
6201 | fi |
7344 | fi |
6202 | |
7345 | |
6203 | fi |
7346 | fi |
6204 | fi |
7347 | fi |
6205 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 |
7348 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 |
6206 | $as_echo "$ac_cv_path_EGREP" >&6; } |
7349 | printf "%s\n" "$ac_cv_path_EGREP" >&6; } |
6207 | EGREP="$ac_cv_path_EGREP" |
7350 | EGREP="$ac_cv_path_EGREP" |
6208 | |
7351 | |
6209 | |
7352 | |
6210 | if test $ac_cv_c_compiler_gnu = yes; then |
7353 | if test $ac_cv_c_compiler_gnu = yes; then |
6211 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5 |
7354 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5 |
6212 | $as_echo_n "checking whether $CC needs -traditional... " >&6; } |
7355 | printf %s "checking whether $CC needs -traditional... " >&6; } |
6213 | if ${ac_cv_prog_gcc_traditional+:} false; then : |
7356 | if test ${ac_cv_prog_gcc_traditional+y} |
6214 | $as_echo_n "(cached) " >&6 |
7357 | then : |
6215 | else |
7358 | printf %s "(cached) " >&6 |
|
|
7359 | else $as_nop |
6216 | ac_pattern="Autoconf.*'x'" |
7360 | ac_pattern="Autoconf.*'x'" |
6217 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7361 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6218 | /* end confdefs.h. */ |
7362 | /* end confdefs.h. */ |
6219 | #include <sgtty.h> |
7363 | #include <sgtty.h> |
6220 | Autoconf TIOCGETP |
7364 | Autoconf TIOCGETP |
6221 | _ACEOF |
7365 | _ACEOF |
6222 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
7366 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
6223 | $EGREP "$ac_pattern" >/dev/null 2>&1; then : |
7367 | $EGREP "$ac_pattern" >/dev/null 2>&1 |
|
|
7368 | then : |
6224 | ac_cv_prog_gcc_traditional=yes |
7369 | ac_cv_prog_gcc_traditional=yes |
6225 | else |
7370 | else $as_nop |
6226 | ac_cv_prog_gcc_traditional=no |
7371 | ac_cv_prog_gcc_traditional=no |
6227 | fi |
7372 | fi |
6228 | rm -f conftest* |
7373 | rm -rf conftest* |
6229 | |
7374 | |
6230 | |
7375 | |
6231 | if test $ac_cv_prog_gcc_traditional = no; then |
7376 | if test $ac_cv_prog_gcc_traditional = no; then |
6232 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7377 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6233 | /* end confdefs.h. */ |
7378 | /* end confdefs.h. */ |
6234 | #include <termio.h> |
7379 | #include <termio.h> |
6235 | Autoconf TCGETA |
7380 | Autoconf TCGETA |
6236 | _ACEOF |
7381 | _ACEOF |
6237 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
7382 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
6238 | $EGREP "$ac_pattern" >/dev/null 2>&1; then : |
7383 | $EGREP "$ac_pattern" >/dev/null 2>&1 |
|
|
7384 | then : |
6239 | ac_cv_prog_gcc_traditional=yes |
7385 | ac_cv_prog_gcc_traditional=yes |
6240 | fi |
7386 | fi |
6241 | rm -f conftest* |
7387 | rm -rf conftest* |
6242 | |
7388 | |
6243 | fi |
7389 | fi |
6244 | fi |
7390 | fi |
6245 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5 |
7391 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5 |
6246 | $as_echo "$ac_cv_prog_gcc_traditional" >&6; } |
7392 | printf "%s\n" "$ac_cv_prog_gcc_traditional" >&6; } |
6247 | if test $ac_cv_prog_gcc_traditional = yes; then |
7393 | if test $ac_cv_prog_gcc_traditional = yes; then |
6248 | CC="$CC -traditional" |
7394 | CC="$CC -traditional" |
6249 | fi |
7395 | fi |
6250 | fi |
7396 | fi |
6251 | |
7397 | |
6252 | for ac_prog in gawk mawk nawk awk |
7398 | for ac_prog in gawk mawk nawk awk |
6253 | do |
7399 | do |
6254 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
7400 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
6255 | set dummy $ac_prog; ac_word=$2 |
7401 | set dummy $ac_prog; ac_word=$2 |
6256 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7402 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
6257 | $as_echo_n "checking for $ac_word... " >&6; } |
7403 | printf %s "checking for $ac_word... " >&6; } |
6258 | if ${ac_cv_prog_AWK+:} false; then : |
7404 | if test ${ac_cv_prog_AWK+y} |
6259 | $as_echo_n "(cached) " >&6 |
7405 | then : |
6260 | else |
7406 | printf %s "(cached) " >&6 |
|
|
7407 | else $as_nop |
6261 | if test -n "$AWK"; then |
7408 | if test -n "$AWK"; then |
6262 | ac_cv_prog_AWK="$AWK" # Let the user override the test. |
7409 | ac_cv_prog_AWK="$AWK" # Let the user override the test. |
6263 | else |
7410 | else |
6264 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
7411 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
6265 | for as_dir in $PATH |
7412 | for as_dir in $PATH |
6266 | do |
7413 | do |
6267 | IFS=$as_save_IFS |
7414 | IFS=$as_save_IFS |
6268 | test -z "$as_dir" && as_dir=. |
7415 | case $as_dir in #((( |
|
|
7416 | '') as_dir=./ ;; |
|
|
7417 | */) ;; |
|
|
7418 | *) as_dir=$as_dir/ ;; |
|
|
7419 | esac |
6269 | for ac_exec_ext in '' $ac_executable_extensions; do |
7420 | for ac_exec_ext in '' $ac_executable_extensions; do |
6270 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
7421 | if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
6271 | ac_cv_prog_AWK="$ac_prog" |
7422 | ac_cv_prog_AWK="$ac_prog" |
6272 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7423 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
6273 | break 2 |
7424 | break 2 |
6274 | fi |
7425 | fi |
6275 | done |
7426 | done |
6276 | done |
7427 | done |
6277 | IFS=$as_save_IFS |
7428 | IFS=$as_save_IFS |
6278 | |
7429 | |
6279 | fi |
7430 | fi |
6280 | fi |
7431 | fi |
6281 | AWK=$ac_cv_prog_AWK |
7432 | AWK=$ac_cv_prog_AWK |
6282 | if test -n "$AWK"; then |
7433 | if test -n "$AWK"; then |
6283 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 |
7434 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 |
6284 | $as_echo "$AWK" >&6; } |
7435 | printf "%s\n" "$AWK" >&6; } |
6285 | else |
7436 | else |
6286 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
7437 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6287 | $as_echo "no" >&6; } |
7438 | printf "%s\n" "no" >&6; } |
6288 | fi |
7439 | fi |
6289 | |
7440 | |
6290 | |
7441 | |
6291 | test -n "$AWK" && break |
7442 | test -n "$AWK" && break |
6292 | done |
7443 | done |
6293 | |
7444 | |
6294 | |
7445 | |
6295 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 |
7446 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 |
6296 | $as_echo_n "checking whether ln -s works... " >&6; } |
7447 | printf %s "checking whether ln -s works... " >&6; } |
6297 | LN_S=$as_ln_s |
7448 | LN_S=$as_ln_s |
6298 | if test "$LN_S" = "ln -s"; then |
7449 | if test "$LN_S" = "ln -s"; then |
6299 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
7450 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
6300 | $as_echo "yes" >&6; } |
7451 | printf "%s\n" "yes" >&6; } |
6301 | else |
7452 | else |
6302 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 |
7453 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 |
6303 | $as_echo "no, using $LN_S" >&6; } |
7454 | printf "%s\n" "no, using $LN_S" >&6; } |
6304 | fi |
7455 | fi |
6305 | |
7456 | |
6306 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
7457 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
6307 | $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
7458 | printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
6308 | set x ${MAKE-make} |
7459 | set x ${MAKE-make} |
6309 | ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
7460 | ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
6310 | if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : |
7461 | if eval test \${ac_cv_prog_make_${ac_make}_set+y} |
6311 | $as_echo_n "(cached) " >&6 |
7462 | then : |
6312 | else |
7463 | printf %s "(cached) " >&6 |
|
|
7464 | else $as_nop |
6313 | cat >conftest.make <<\_ACEOF |
7465 | cat >conftest.make <<\_ACEOF |
6314 | SHELL = /bin/sh |
7466 | SHELL = /bin/sh |
6315 | all: |
7467 | all: |
6316 | @echo '@@@%%%=$(MAKE)=@@@%%%' |
7468 | @echo '@@@%%%=$(MAKE)=@@@%%%' |
6317 | _ACEOF |
7469 | _ACEOF |
… | |
… | |
6323 | eval ac_cv_prog_make_${ac_make}_set=no;; |
7475 | eval ac_cv_prog_make_${ac_make}_set=no;; |
6324 | esac |
7476 | esac |
6325 | rm -f conftest.make |
7477 | rm -f conftest.make |
6326 | fi |
7478 | fi |
6327 | if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then |
7479 | if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then |
6328 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
7480 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
6329 | $as_echo "yes" >&6; } |
7481 | printf "%s\n" "yes" >&6; } |
6330 | SET_MAKE= |
7482 | SET_MAKE= |
6331 | else |
7483 | else |
6332 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
7484 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6333 | $as_echo "no" >&6; } |
7485 | printf "%s\n" "no" >&6; } |
6334 | SET_MAKE="MAKE=${MAKE-make}" |
7486 | SET_MAKE="MAKE=${MAKE-make}" |
6335 | fi |
7487 | fi |
6336 | |
7488 | |
6337 | if test -n "$ac_tool_prefix"; then |
7489 | if test -n "$ac_tool_prefix"; then |
6338 | # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. |
7490 | # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. |
6339 | set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
7491 | set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
6340 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7492 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
6341 | $as_echo_n "checking for $ac_word... " >&6; } |
7493 | printf %s "checking for $ac_word... " >&6; } |
6342 | if ${ac_cv_prog_RANLIB+:} false; then : |
7494 | if test ${ac_cv_prog_RANLIB+y} |
6343 | $as_echo_n "(cached) " >&6 |
7495 | then : |
6344 | else |
7496 | printf %s "(cached) " >&6 |
|
|
7497 | else $as_nop |
6345 | if test -n "$RANLIB"; then |
7498 | if test -n "$RANLIB"; then |
6346 | ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
7499 | ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
6347 | else |
7500 | else |
6348 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
7501 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
6349 | for as_dir in $PATH |
7502 | for as_dir in $PATH |
6350 | do |
7503 | do |
6351 | IFS=$as_save_IFS |
7504 | IFS=$as_save_IFS |
6352 | test -z "$as_dir" && as_dir=. |
7505 | case $as_dir in #((( |
|
|
7506 | '') as_dir=./ ;; |
|
|
7507 | */) ;; |
|
|
7508 | *) as_dir=$as_dir/ ;; |
|
|
7509 | esac |
6353 | for ac_exec_ext in '' $ac_executable_extensions; do |
7510 | for ac_exec_ext in '' $ac_executable_extensions; do |
6354 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
7511 | if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
6355 | ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
7512 | ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
6356 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7513 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
6357 | break 2 |
7514 | break 2 |
6358 | fi |
7515 | fi |
6359 | done |
7516 | done |
6360 | done |
7517 | done |
6361 | IFS=$as_save_IFS |
7518 | IFS=$as_save_IFS |
6362 | |
7519 | |
6363 | fi |
7520 | fi |
6364 | fi |
7521 | fi |
6365 | RANLIB=$ac_cv_prog_RANLIB |
7522 | RANLIB=$ac_cv_prog_RANLIB |
6366 | if test -n "$RANLIB"; then |
7523 | if test -n "$RANLIB"; then |
6367 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 |
7524 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 |
6368 | $as_echo "$RANLIB" >&6; } |
7525 | printf "%s\n" "$RANLIB" >&6; } |
6369 | else |
7526 | else |
6370 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
7527 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6371 | $as_echo "no" >&6; } |
7528 | printf "%s\n" "no" >&6; } |
6372 | fi |
7529 | fi |
6373 | |
7530 | |
6374 | |
7531 | |
6375 | fi |
7532 | fi |
6376 | if test -z "$ac_cv_prog_RANLIB"; then |
7533 | if test -z "$ac_cv_prog_RANLIB"; then |
6377 | ac_ct_RANLIB=$RANLIB |
7534 | ac_ct_RANLIB=$RANLIB |
6378 | # Extract the first word of "ranlib", so it can be a program name with args. |
7535 | # Extract the first word of "ranlib", so it can be a program name with args. |
6379 | set dummy ranlib; ac_word=$2 |
7536 | set dummy ranlib; ac_word=$2 |
6380 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7537 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
6381 | $as_echo_n "checking for $ac_word... " >&6; } |
7538 | printf %s "checking for $ac_word... " >&6; } |
6382 | if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : |
7539 | if test ${ac_cv_prog_ac_ct_RANLIB+y} |
6383 | $as_echo_n "(cached) " >&6 |
7540 | then : |
6384 | else |
7541 | printf %s "(cached) " >&6 |
|
|
7542 | else $as_nop |
6385 | if test -n "$ac_ct_RANLIB"; then |
7543 | if test -n "$ac_ct_RANLIB"; then |
6386 | ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. |
7544 | ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. |
6387 | else |
7545 | else |
6388 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
7546 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
6389 | for as_dir in $PATH |
7547 | for as_dir in $PATH |
6390 | do |
7548 | do |
6391 | IFS=$as_save_IFS |
7549 | IFS=$as_save_IFS |
6392 | test -z "$as_dir" && as_dir=. |
7550 | case $as_dir in #((( |
|
|
7551 | '') as_dir=./ ;; |
|
|
7552 | */) ;; |
|
|
7553 | *) as_dir=$as_dir/ ;; |
|
|
7554 | esac |
6393 | for ac_exec_ext in '' $ac_executable_extensions; do |
7555 | for ac_exec_ext in '' $ac_executable_extensions; do |
6394 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
7556 | if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
6395 | ac_cv_prog_ac_ct_RANLIB="ranlib" |
7557 | ac_cv_prog_ac_ct_RANLIB="ranlib" |
6396 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7558 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
6397 | break 2 |
7559 | break 2 |
6398 | fi |
7560 | fi |
6399 | done |
7561 | done |
6400 | done |
7562 | done |
6401 | IFS=$as_save_IFS |
7563 | IFS=$as_save_IFS |
6402 | |
7564 | |
6403 | fi |
7565 | fi |
6404 | fi |
7566 | fi |
6405 | ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB |
7567 | ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB |
6406 | if test -n "$ac_ct_RANLIB"; then |
7568 | if test -n "$ac_ct_RANLIB"; then |
6407 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 |
7569 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 |
6408 | $as_echo "$ac_ct_RANLIB" >&6; } |
7570 | printf "%s\n" "$ac_ct_RANLIB" >&6; } |
6409 | else |
7571 | else |
6410 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
7572 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6411 | $as_echo "no" >&6; } |
7573 | printf "%s\n" "no" >&6; } |
6412 | fi |
7574 | fi |
6413 | |
7575 | |
6414 | if test "x$ac_ct_RANLIB" = x; then |
7576 | if test "x$ac_ct_RANLIB" = x; then |
6415 | RANLIB=":" |
7577 | RANLIB=":" |
6416 | else |
7578 | else |
6417 | case $cross_compiling:$ac_tool_warned in |
7579 | case $cross_compiling:$ac_tool_warned in |
6418 | yes:) |
7580 | yes:) |
6419 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
7581 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
6420 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
7582 | printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
6421 | ac_tool_warned=yes ;; |
7583 | ac_tool_warned=yes ;; |
6422 | esac |
7584 | esac |
6423 | RANLIB=$ac_ct_RANLIB |
7585 | RANLIB=$ac_ct_RANLIB |
6424 | fi |
7586 | fi |
6425 | else |
7587 | else |
6426 | RANLIB="$ac_cv_prog_RANLIB" |
7588 | RANLIB="$ac_cv_prog_RANLIB" |
6427 | fi |
7589 | fi |
6428 | |
7590 | |
6429 | |
7591 | |
6430 | # Check whether --enable-iftype was given. |
7592 | # Check whether --enable-iftype was given. |
6431 | if test "${enable_iftype+set}" = set; then : |
7593 | if test ${enable_iftype+y} |
|
|
7594 | then : |
6432 | enableval=$enable_iftype; |
7595 | enableval=$enable_iftype; |
6433 | IFTYPE=`echo $enableval | sed s%/.*%%` |
7596 | IFTYPE=`echo $enableval | sed s%/.*%%` |
6434 | IFSUBTYPE=`echo $enableval | sed s%.*/%%` |
7597 | IFSUBTYPE=`echo $enableval | sed s%.*/%%` |
6435 | |
7598 | |
6436 | |
7599 | |
6437 | fi |
7600 | fi |
6438 | |
7601 | |
6439 | |
7602 | |
6440 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kernel networking interface type" >&5 |
7603 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for kernel networking interface type" >&5 |
6441 | $as_echo_n "checking for kernel networking interface type... " >&6; } |
7604 | printf %s "checking for kernel networking interface type... " >&6; } |
6442 | |
7605 | |
6443 | if test "x$IFTYPE" = "x"; then |
7606 | if test "x$IFTYPE" = "x"; then |
6444 | case $target_os in |
7607 | case $target_os in |
6445 | *linux*) |
7608 | *linux*) |
6446 | IFTYPE=native |
7609 | IFTYPE=native |
6447 | IFSUBTYPE=linux |
7610 | IFSUBTYPE=linux |
6448 | |
7611 | |
6449 | $as_echo "#define HAVE_LINUX 1" >>confdefs.h |
7612 | printf "%s\n" "#define HAVE_LINUX 1" >>confdefs.h |
6450 | |
7613 | |
6451 | ;; |
7614 | ;; |
6452 | *freebsd*) |
7615 | *freebsd*) |
6453 | IFTYPE=tincd |
7616 | IFTYPE=tincd |
6454 | IFSUBTYPE=freebsd |
7617 | IFSUBTYPE=freebsd |
6455 | |
7618 | |
6456 | $as_echo "#define HAVE_FREEBSD 1" >>confdefs.h |
7619 | printf "%s\n" "#define HAVE_FREEBSD 1" >>confdefs.h |
6457 | |
7620 | |
6458 | ;; |
7621 | ;; |
6459 | *darwin*) |
7622 | *darwin*) |
6460 | IFTYPE=native |
7623 | IFTYPE=native |
6461 | IFSUBTYPE=darwin |
7624 | IFSUBTYPE=darwin |
6462 | |
7625 | |
6463 | $as_echo "#define HAVE_DARWIN 1" >>confdefs.h |
7626 | printf "%s\n" "#define HAVE_DARWIN 1" >>confdefs.h |
6464 | |
7627 | |
6465 | ;; |
7628 | ;; |
6466 | *solaris*) |
7629 | *solaris*) |
6467 | IFTYPE=tincd |
7630 | IFTYPE=tincd |
6468 | IFSUBTYPE=solaris |
7631 | IFSUBTYPE=solaris |
6469 | |
7632 | |
6470 | $as_echo "#define HAVE_SOLARIS 1" >>confdefs.h |
7633 | printf "%s\n" "#define HAVE_SOLARIS 1" >>confdefs.h |
6471 | |
7634 | |
6472 | ;; |
7635 | ;; |
6473 | *openbsd*) |
7636 | *openbsd*) |
6474 | IFTYPE=tincd |
7637 | IFTYPE=tincd |
6475 | IFSUBTYPE=openbsd |
7638 | IFSUBTYPE=openbsd |
6476 | |
7639 | |
6477 | $as_echo "#define HAVE_OPENBSD 1" >>confdefs.h |
7640 | printf "%s\n" "#define HAVE_OPENBSD 1" >>confdefs.h |
6478 | |
7641 | |
6479 | ;; |
7642 | ;; |
6480 | *netbsd*) |
7643 | *netbsd*) |
6481 | IFTYPE=tincd |
7644 | IFTYPE=tincd |
6482 | IFSUBTYPE=netbsd |
7645 | IFSUBTYPE=netbsd |
6483 | |
7646 | |
6484 | $as_echo "#define HAVE_NETBSD 1" >>confdefs.h |
7647 | printf "%s\n" "#define HAVE_NETBSD 1" >>confdefs.h |
6485 | |
7648 | |
6486 | ;; |
7649 | ;; |
6487 | *cygwin*) |
7650 | *cygwin*) |
6488 | IFTYPE=native |
7651 | IFTYPE=native |
6489 | IFSUBTYPE=cygwin |
7652 | IFSUBTYPE=cygwin |
6490 | |
7653 | |
6491 | $as_echo "#define HAVE_CYGWIN 1" >>confdefs.h |
7654 | printf "%s\n" "#define HAVE_CYGWIN 1" >>confdefs.h |
6492 | |
7655 | |
6493 | ;; |
7656 | ;; |
6494 | *) |
7657 | *) |
6495 | as_fn_error $? "\"Unknown operating system.\"" "$LINENO" 5 |
7658 | as_fn_error $? "\"Unknown operating system.\"" "$LINENO" 5 |
6496 | ;; |
7659 | ;; |
6497 | esac |
7660 | esac |
6498 | fi |
7661 | fi |
6499 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IFTYPE/$IFSUBTYPE" >&5 |
7662 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $IFTYPE/$IFSUBTYPE" >&5 |
6500 | $as_echo "$IFTYPE/$IFSUBTYPE" >&6; } |
7663 | printf "%s\n" "$IFTYPE/$IFSUBTYPE" >&6; } |
6501 | IFTYPE=$IFTYPE |
7664 | IFTYPE=$IFTYPE |
6502 | |
7665 | |
6503 | IFSUBTYPE=$IFSUBTYPE |
7666 | IFSUBTYPE=$IFSUBTYPE |
6504 | |
7667 | |
6505 | |
7668 | |
6506 | cat >>confdefs.h <<_ACEOF |
7669 | printf "%s\n" "#define IFTYPE \"$IFTYPE\"" >>confdefs.h |
6507 | #define IFTYPE "$IFTYPE" |
|
|
6508 | _ACEOF |
|
|
6509 | |
7670 | |
6510 | |
7671 | |
6511 | cat >>confdefs.h <<_ACEOF |
7672 | printf "%s\n" "#define IFSUBTYPE \"$IFSUBTYPE\"" >>confdefs.h |
6512 | #define IFSUBTYPE "$IFSUBTYPE" |
|
|
6513 | _ACEOF |
|
|
6514 | |
7673 | |
6515 | |
7674 | |
6516 | cat >confcache <<\_ACEOF |
7675 | cat >confcache <<\_ACEOF |
6517 | # This file is a shell script that caches the results of configure |
7676 | # This file is a shell script that caches the results of configure |
6518 | # tests run on this system so they can be shared between configure |
7677 | # tests run on this system so they can be shared between configure |
… | |
… | |
6538 | for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do |
7697 | for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do |
6539 | eval ac_val=\$$ac_var |
7698 | eval ac_val=\$$ac_var |
6540 | case $ac_val in #( |
7699 | case $ac_val in #( |
6541 | *${as_nl}*) |
7700 | *${as_nl}*) |
6542 | case $ac_var in #( |
7701 | case $ac_var in #( |
6543 | *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
7702 | *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
6544 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
7703 | printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
6545 | esac |
7704 | esac |
6546 | case $ac_var in #( |
7705 | case $ac_var in #( |
6547 | _ | IFS | as_nl) ;; #( |
7706 | _ | IFS | as_nl) ;; #( |
6548 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
7707 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
6549 | *) { eval $ac_var=; unset $ac_var;} ;; |
7708 | *) { eval $ac_var=; unset $ac_var;} ;; |
… | |
… | |
6569 | ) | |
7728 | ) | |
6570 | sed ' |
7729 | sed ' |
6571 | /^ac_cv_env_/b end |
7730 | /^ac_cv_env_/b end |
6572 | t clear |
7731 | t clear |
6573 | :clear |
7732 | :clear |
6574 | s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ |
7733 | s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/ |
6575 | t end |
7734 | t end |
6576 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
7735 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
6577 | :end' >>confcache |
7736 | :end' >>confcache |
6578 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
7737 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
6579 | if test -w "$cache_file"; then |
7738 | if test -w "$cache_file"; then |
6580 | if test "x$cache_file" != "x/dev/null"; then |
7739 | if test "x$cache_file" != "x/dev/null"; then |
6581 | { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
7740 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
6582 | $as_echo "$as_me: updating cache $cache_file" >&6;} |
7741 | printf "%s\n" "$as_me: updating cache $cache_file" >&6;} |
6583 | if test ! -f "$cache_file" || test -h "$cache_file"; then |
7742 | if test ! -f "$cache_file" || test -h "$cache_file"; then |
6584 | cat confcache >"$cache_file" |
7743 | cat confcache >"$cache_file" |
6585 | else |
7744 | else |
6586 | case $cache_file in #( |
7745 | case $cache_file in #( |
6587 | */* | ?:*) |
7746 | */* | ?:*) |
… | |
… | |
6591 | mv -f confcache "$cache_file" ;; |
7750 | mv -f confcache "$cache_file" ;; |
6592 | esac |
7751 | esac |
6593 | fi |
7752 | fi |
6594 | fi |
7753 | fi |
6595 | else |
7754 | else |
6596 | { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
7755 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
6597 | $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
7756 | printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;} |
6598 | fi |
7757 | fi |
6599 | fi |
7758 | fi |
6600 | rm -f confcache |
7759 | rm -f confcache |
6601 | |
7760 | |
6602 | |
7761 | |
… | |
… | |
6605 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
7764 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
6606 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
7765 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
6607 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
7766 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
6608 | |
7767 | |
6609 | |
7768 | |
6610 | ac_ext=cpp |
7769 | ac_header= ac_cache= |
6611 | ac_cpp='$CXXCPP $CPPFLAGS' |
7770 | for ac_item in $ac_header_cxx_list |
6612 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
6613 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
6614 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
|
6615 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 |
|
|
6616 | $as_echo_n "checking how to run the C++ preprocessor... " >&6; } |
|
|
6617 | if test -z "$CXXCPP"; then |
|
|
6618 | if ${ac_cv_prog_CXXCPP+:} false; then : |
|
|
6619 | $as_echo_n "(cached) " >&6 |
|
|
6620 | else |
|
|
6621 | # Double quotes because CXXCPP needs to be expanded |
|
|
6622 | for CXXCPP in "$CXX -E" "/lib/cpp" |
|
|
6623 | do |
|
|
6624 | ac_preproc_ok=false |
|
|
6625 | for ac_cxx_preproc_warn_flag in '' yes |
|
|
6626 | do |
7771 | do |
6627 | # Use a header file that comes with gcc, so configuring glibc |
7772 | if test $ac_cache; then |
6628 | # with a fresh cross-compiler works. |
7773 | ac_fn_cxx_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default" |
6629 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
7774 | if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then |
6630 | # <limits.h> exists even on freestanding compilers. |
7775 | printf "%s\n" "#define $ac_item 1" >> confdefs.h |
6631 | # On the NeXT, cc -E runs the code through the compiler's parser, |
7776 | fi |
6632 | # not just through cpp. "Syntax error" is here to catch this case. |
7777 | ac_header= ac_cache= |
6633 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7778 | elif test $ac_header; then |
6634 | /* end confdefs.h. */ |
7779 | ac_cache=$ac_item |
6635 | #ifdef __STDC__ |
|
|
6636 | # include <limits.h> |
|
|
6637 | #else |
|
|
6638 | # include <assert.h> |
|
|
6639 | #endif |
|
|
6640 | Syntax error |
|
|
6641 | _ACEOF |
|
|
6642 | if ac_fn_cxx_try_cpp "$LINENO"; then : |
|
|
6643 | |
|
|
6644 | else |
7780 | else |
6645 | # Broken: fails on valid input. |
7781 | ac_header=$ac_item |
6646 | continue |
7782 | fi |
6647 | fi |
|
|
6648 | rm -f conftest.err conftest.i conftest.$ac_ext |
|
|
6649 | |
|
|
6650 | # OK, works on sane cases. Now check whether nonexistent headers |
|
|
6651 | # can be detected and how. |
|
|
6652 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
6653 | /* end confdefs.h. */ |
|
|
6654 | #include <ac_nonexistent.h> |
|
|
6655 | _ACEOF |
|
|
6656 | if ac_fn_cxx_try_cpp "$LINENO"; then : |
|
|
6657 | # Broken: success on invalid input. |
|
|
6658 | continue |
|
|
6659 | else |
|
|
6660 | # Passes both tests. |
|
|
6661 | ac_preproc_ok=: |
|
|
6662 | break |
|
|
6663 | fi |
|
|
6664 | rm -f conftest.err conftest.i conftest.$ac_ext |
|
|
6665 | |
|
|
6666 | done |
7783 | done |
6667 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
|
6668 | rm -f conftest.i conftest.err conftest.$ac_ext |
|
|
6669 | if $ac_preproc_ok; then : |
|
|
6670 | break |
|
|
6671 | fi |
|
|
6672 | |
7784 | |
6673 | done |
|
|
6674 | ac_cv_prog_CXXCPP=$CXXCPP |
|
|
6675 | |
7785 | |
6676 | fi |
|
|
6677 | CXXCPP=$ac_cv_prog_CXXCPP |
|
|
6678 | else |
|
|
6679 | ac_cv_prog_CXXCPP=$CXXCPP |
|
|
6680 | fi |
|
|
6681 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5 |
|
|
6682 | $as_echo "$CXXCPP" >&6; } |
|
|
6683 | ac_preproc_ok=false |
|
|
6684 | for ac_cxx_preproc_warn_flag in '' yes |
|
|
6685 | do |
|
|
6686 | # Use a header file that comes with gcc, so configuring glibc |
|
|
6687 | # with a fresh cross-compiler works. |
|
|
6688 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
6689 | # <limits.h> exists even on freestanding compilers. |
|
|
6690 | # On the NeXT, cc -E runs the code through the compiler's parser, |
|
|
6691 | # not just through cpp. "Syntax error" is here to catch this case. |
|
|
6692 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
6693 | /* end confdefs.h. */ |
|
|
6694 | #ifdef __STDC__ |
|
|
6695 | # include <limits.h> |
|
|
6696 | #else |
|
|
6697 | # include <assert.h> |
|
|
6698 | #endif |
|
|
6699 | Syntax error |
|
|
6700 | _ACEOF |
|
|
6701 | if ac_fn_cxx_try_cpp "$LINENO"; then : |
|
|
6702 | |
7786 | |
6703 | else |
|
|
6704 | # Broken: fails on valid input. |
|
|
6705 | continue |
|
|
6706 | fi |
|
|
6707 | rm -f conftest.err conftest.i conftest.$ac_ext |
|
|
6708 | |
7787 | |
6709 | # OK, works on sane cases. Now check whether nonexistent headers |
|
|
6710 | # can be detected and how. |
|
|
6711 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
6712 | /* end confdefs.h. */ |
|
|
6713 | #include <ac_nonexistent.h> |
|
|
6714 | _ACEOF |
|
|
6715 | if ac_fn_cxx_try_cpp "$LINENO"; then : |
|
|
6716 | # Broken: success on invalid input. |
|
|
6717 | continue |
|
|
6718 | else |
|
|
6719 | # Passes both tests. |
|
|
6720 | ac_preproc_ok=: |
|
|
6721 | break |
|
|
6722 | fi |
|
|
6723 | rm -f conftest.err conftest.i conftest.$ac_ext |
|
|
6724 | |
7788 | |
6725 | done |
|
|
6726 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
|
6727 | rm -f conftest.i conftest.err conftest.$ac_ext |
|
|
6728 | if $ac_preproc_ok; then : |
|
|
6729 | |
7789 | |
6730 | else |
|
|
6731 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
|
6732 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
|
6733 | as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check |
|
|
6734 | See \`config.log' for more details" "$LINENO" 5; } |
|
|
6735 | fi |
|
|
6736 | |
7790 | |
6737 | ac_ext=cpp |
|
|
6738 | ac_cpp='$CXXCPP $CPPFLAGS' |
|
|
6739 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
6740 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
6741 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
|
6742 | |
7791 | |
|
|
7792 | if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes |
|
|
7793 | then : |
6743 | |
7794 | |
6744 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 |
|
|
6745 | $as_echo_n "checking for ANSI C header files... " >&6; } |
|
|
6746 | if ${ac_cv_header_stdc+:} false; then : |
|
|
6747 | $as_echo_n "(cached) " >&6 |
|
|
6748 | else |
|
|
6749 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
6750 | /* end confdefs.h. */ |
|
|
6751 | #include <stdlib.h> |
|
|
6752 | #include <stdarg.h> |
|
|
6753 | #include <string.h> |
|
|
6754 | #include <float.h> |
|
|
6755 | |
|
|
6756 | int |
|
|
6757 | main () |
|
|
6758 | { |
|
|
6759 | |
|
|
6760 | ; |
|
|
6761 | return 0; |
|
|
6762 | } |
|
|
6763 | _ACEOF |
|
|
6764 | if ac_fn_cxx_try_compile "$LINENO"; then : |
|
|
6765 | ac_cv_header_stdc=yes |
|
|
6766 | else |
|
|
6767 | ac_cv_header_stdc=no |
|
|
6768 | fi |
|
|
6769 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
6770 | |
|
|
6771 | if test $ac_cv_header_stdc = yes; then |
|
|
6772 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
|
|
6773 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
6774 | /* end confdefs.h. */ |
|
|
6775 | #include <string.h> |
|
|
6776 | |
|
|
6777 | _ACEOF |
|
|
6778 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
|
|
6779 | $EGREP "memchr" >/dev/null 2>&1; then : |
|
|
6780 | |
|
|
6781 | else |
|
|
6782 | ac_cv_header_stdc=no |
|
|
6783 | fi |
|
|
6784 | rm -f conftest* |
|
|
6785 | |
|
|
6786 | fi |
|
|
6787 | |
|
|
6788 | if test $ac_cv_header_stdc = yes; then |
|
|
6789 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
|
|
6790 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
6791 | /* end confdefs.h. */ |
|
|
6792 | #include <stdlib.h> |
|
|
6793 | |
|
|
6794 | _ACEOF |
|
|
6795 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
|
|
6796 | $EGREP "free" >/dev/null 2>&1; then : |
|
|
6797 | |
|
|
6798 | else |
|
|
6799 | ac_cv_header_stdc=no |
|
|
6800 | fi |
|
|
6801 | rm -f conftest* |
|
|
6802 | |
|
|
6803 | fi |
|
|
6804 | |
|
|
6805 | if test $ac_cv_header_stdc = yes; then |
|
|
6806 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
|
|
6807 | if test "$cross_compiling" = yes; then : |
|
|
6808 | : |
|
|
6809 | else |
|
|
6810 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
6811 | /* end confdefs.h. */ |
|
|
6812 | #include <ctype.h> |
|
|
6813 | #include <stdlib.h> |
|
|
6814 | #if ((' ' & 0x0FF) == 0x020) |
|
|
6815 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
|
|
6816 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
|
|
6817 | #else |
|
|
6818 | # define ISLOWER(c) \ |
|
|
6819 | (('a' <= (c) && (c) <= 'i') \ |
|
|
6820 | || ('j' <= (c) && (c) <= 'r') \ |
|
|
6821 | || ('s' <= (c) && (c) <= 'z')) |
|
|
6822 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
|
|
6823 | #endif |
|
|
6824 | |
|
|
6825 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
|
|
6826 | int |
|
|
6827 | main () |
|
|
6828 | { |
|
|
6829 | int i; |
|
|
6830 | for (i = 0; i < 256; i++) |
|
|
6831 | if (XOR (islower (i), ISLOWER (i)) |
|
|
6832 | || toupper (i) != TOUPPER (i)) |
|
|
6833 | return 2; |
|
|
6834 | return 0; |
|
|
6835 | } |
|
|
6836 | _ACEOF |
|
|
6837 | if ac_fn_cxx_try_run "$LINENO"; then : |
|
|
6838 | |
|
|
6839 | else |
|
|
6840 | ac_cv_header_stdc=no |
|
|
6841 | fi |
|
|
6842 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
|
|
6843 | conftest.$ac_objext conftest.beam conftest.$ac_ext |
|
|
6844 | fi |
|
|
6845 | |
|
|
6846 | fi |
|
|
6847 | fi |
|
|
6848 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 |
|
|
6849 | $as_echo "$ac_cv_header_stdc" >&6; } |
|
|
6850 | if test $ac_cv_header_stdc = yes; then |
|
|
6851 | |
|
|
6852 | $as_echo "#define STDC_HEADERS 1" >>confdefs.h |
7795 | printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h |
6853 | |
7796 | |
6854 | fi |
7797 | fi |
|
|
7798 | ac_fn_cxx_check_header_compile "$LINENO" "tr1/unordered_map" "ac_cv_header_tr1_unordered_map" "$ac_includes_default" |
|
|
7799 | if test "x$ac_cv_header_tr1_unordered_map" = xyes |
|
|
7800 | then : |
|
|
7801 | printf "%s\n" "#define HAVE_TR1_UNORDERED_MAP 1" >>confdefs.h |
6855 | |
7802 | |
6856 | # On IRIX 5.3, sys/types and inttypes.h are conflicting. |
7803 | fi |
6857 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
7804 | ac_fn_cxx_check_header_compile "$LINENO" "ext/hash_map" "ac_cv_header_ext_hash_map" "$ac_includes_default" |
6858 | inttypes.h stdint.h unistd.h |
7805 | if test "x$ac_cv_header_ext_hash_map" = xyes |
6859 | do : |
7806 | then : |
6860 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
7807 | printf "%s\n" "#define HAVE_EXT_HASH_MAP 1" >>confdefs.h |
|
|
7808 | |
|
|
7809 | fi |
|
|
7810 | ac_fn_cxx_check_header_compile "$LINENO" "clocale" "ac_cv_header_clocale" "$ac_includes_default" |
|
|
7811 | if test "x$ac_cv_header_clocale" = xyes |
|
|
7812 | then : |
|
|
7813 | printf "%s\n" "#define HAVE_CLOCALE 1" >>confdefs.h |
|
|
7814 | |
|
|
7815 | fi |
|
|
7816 | |
|
|
7817 | |
|
|
7818 | ac_fn_cxx_check_header_compile "$LINENO" "fcntl.h" "ac_cv_header_fcntl_h" "$ac_includes_default" |
|
|
7819 | if test "x$ac_cv_header_fcntl_h" = xyes |
|
|
7820 | then : |
|
|
7821 | printf "%s\n" "#define HAVE_FCNTL_H 1" >>confdefs.h |
|
|
7822 | |
|
|
7823 | fi |
|
|
7824 | ac_fn_cxx_check_header_compile "$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default" |
|
|
7825 | if test "x$ac_cv_header_inttypes_h" = xyes |
|
|
7826 | then : |
|
|
7827 | printf "%s\n" "#define HAVE_INTTYPES_H 1" >>confdefs.h |
|
|
7828 | |
|
|
7829 | fi |
|
|
7830 | ac_fn_cxx_check_header_compile "$LINENO" "limits.h" "ac_cv_header_limits_h" "$ac_includes_default" |
|
|
7831 | if test "x$ac_cv_header_limits_h" = xyes |
|
|
7832 | then : |
|
|
7833 | printf "%s\n" "#define HAVE_LIMITS_H 1" >>confdefs.h |
|
|
7834 | |
|
|
7835 | fi |
6861 | ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default |
7836 | ac_fn_cxx_check_header_compile "$LINENO" "malloc.h" "ac_cv_header_malloc_h" "$ac_includes_default" |
6862 | " |
7837 | if test "x$ac_cv_header_malloc_h" = xyes |
6863 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
7838 | then : |
6864 | cat >>confdefs.h <<_ACEOF |
7839 | printf "%s\n" "#define HAVE_MALLOC_H 1" >>confdefs.h |
6865 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
|
|
6866 | _ACEOF |
|
|
6867 | |
7840 | |
6868 | fi |
7841 | fi |
|
|
7842 | ac_fn_cxx_check_header_compile "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default" |
|
|
7843 | if test "x$ac_cv_header_stdint_h" = xyes |
|
|
7844 | then : |
|
|
7845 | printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h |
6869 | |
7846 | |
6870 | done |
7847 | fi |
|
|
7848 | ac_fn_cxx_check_header_compile "$LINENO" "strings.h" "ac_cv_header_strings_h" "$ac_includes_default" |
|
|
7849 | if test "x$ac_cv_header_strings_h" = xyes |
|
|
7850 | then : |
|
|
7851 | printf "%s\n" "#define HAVE_STRINGS_H 1" >>confdefs.h |
6871 | |
7852 | |
|
|
7853 | fi |
|
|
7854 | ac_fn_cxx_check_header_compile "$LINENO" "syslog.h" "ac_cv_header_syslog_h" "$ac_includes_default" |
|
|
7855 | if test "x$ac_cv_header_syslog_h" = xyes |
|
|
7856 | then : |
|
|
7857 | printf "%s\n" "#define HAVE_SYSLOG_H 1" >>confdefs.h |
6872 | |
7858 | |
6873 | for ac_header in tr1/unordered_map ext/hash_map clocale |
7859 | fi |
6874 | do : |
7860 | ac_fn_cxx_check_header_compile "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default" |
6875 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
7861 | if test "x$ac_cv_header_unistd_h" = xyes |
|
|
7862 | then : |
|
|
7863 | printf "%s\n" "#define HAVE_UNISTD_H 1" >>confdefs.h |
|
|
7864 | |
|
|
7865 | fi |
|
|
7866 | ac_fn_cxx_check_header_compile "$LINENO" "sys/file.h" "ac_cv_header_sys_file_h" "$ac_includes_default" |
|
|
7867 | if test "x$ac_cv_header_sys_file_h" = xyes |
|
|
7868 | then : |
|
|
7869 | printf "%s\n" "#define HAVE_SYS_FILE_H 1" >>confdefs.h |
|
|
7870 | |
|
|
7871 | fi |
|
|
7872 | ac_fn_cxx_check_header_compile "$LINENO" "sys/ioctl.h" "ac_cv_header_sys_ioctl_h" "$ac_includes_default" |
|
|
7873 | if test "x$ac_cv_header_sys_ioctl_h" = xyes |
|
|
7874 | then : |
|
|
7875 | printf "%s\n" "#define HAVE_SYS_IOCTL_H 1" >>confdefs.h |
|
|
7876 | |
|
|
7877 | fi |
|
|
7878 | ac_fn_cxx_check_header_compile "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default" |
|
|
7879 | if test "x$ac_cv_header_sys_param_h" = xyes |
|
|
7880 | then : |
|
|
7881 | printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h |
|
|
7882 | |
|
|
7883 | fi |
|
|
7884 | ac_fn_cxx_check_header_compile "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default" |
|
|
7885 | if test "x$ac_cv_header_sys_time_h" = xyes |
|
|
7886 | then : |
|
|
7887 | printf "%s\n" "#define HAVE_SYS_TIME_H 1" >>confdefs.h |
|
|
7888 | |
|
|
7889 | fi |
|
|
7890 | ac_fn_cxx_check_header_compile "$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default" |
|
|
7891 | if test "x$ac_cv_header_netinet_in_systm_h" = xyes |
|
|
7892 | then : |
|
|
7893 | printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h |
|
|
7894 | |
|
|
7895 | fi |
|
|
7896 | ac_fn_cxx_check_header_compile "$LINENO" "sys/cygwin.h" "ac_cv_header_sys_cygwin_h" "$ac_includes_default" |
|
|
7897 | if test "x$ac_cv_header_sys_cygwin_h" = xyes |
|
|
7898 | then : |
|
|
7899 | printf "%s\n" "#define HAVE_SYS_CYGWIN_H 1" >>confdefs.h |
|
|
7900 | |
|
|
7901 | fi |
6876 | ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
7902 | ac_fn_cxx_check_header_compile "$LINENO" "sys/mman.h" "ac_cv_header_sys_mman_h" "$ac_includes_default" |
6877 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
7903 | if test "x$ac_cv_header_sys_mman_h" = xyes |
6878 | cat >>confdefs.h <<_ACEOF |
7904 | then : |
6879 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
7905 | printf "%s\n" "#define HAVE_SYS_MMAN_H 1" >>confdefs.h |
6880 | _ACEOF |
|
|
6881 | |
7906 | |
6882 | fi |
7907 | fi |
|
|
7908 | ac_fn_cxx_check_header_compile "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default" |
|
|
7909 | if test "x$ac_cv_header_netinet_in_h" = xyes |
|
|
7910 | then : |
|
|
7911 | printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h |
6883 | |
7912 | |
6884 | done |
|
|
6885 | |
|
|
6886 | |
|
|
6887 | for ac_header in fcntl.h inttypes.h limits.h malloc.h stdint.h strings.h syslog.h unistd.h \ |
|
|
6888 | sys/file.h sys/ioctl.h sys/param.h sys/time.h netinet/in_systm.h sys/cygwin.h \ |
|
|
6889 | sys/mman.h netinet/in.h |
|
|
6890 | do : |
|
|
6891 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
|
6892 | ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
|
|
6893 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
|
|
6894 | cat >>confdefs.h <<_ACEOF |
|
|
6895 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
|
|
6896 | _ACEOF |
|
|
6897 | |
|
|
6898 | fi |
7913 | fi |
6899 | |
7914 | |
6900 | done |
|
|
6901 | |
|
|
6902 | for ac_header in arpa/inet.h net/ethernet.h net/if.h netinet/ip.h netinet/tcp.h netinet/in_systm.h |
|
|
6903 | do : |
|
|
6904 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
|
6905 | ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" " |
7915 | ac_fn_cxx_check_header_compile "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" " |
6906 | #include <sys/types.h> |
7916 | #include <sys/types.h> |
6907 | #include <sys/socket.h> |
7917 | #include <sys/socket.h> |
6908 | #ifdef HAVE_NETINET_IN_H |
7918 | #ifdef HAVE_NETINET_IN_H |
6909 | # include <netinet/in.h> |
7919 | # include <netinet/in.h> |
6910 | #endif |
7920 | #endif |
… | |
… | |
6914 | #ifdef HAVE_NETINET_IN_SYSTM_H |
7924 | #ifdef HAVE_NETINET_IN_SYSTM_H |
6915 | # include <netinet/in_systm.h> |
7925 | # include <netinet/in_systm.h> |
6916 | #endif |
7926 | #endif |
6917 | |
7927 | |
6918 | " |
7928 | " |
6919 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
7929 | if test "x$ac_cv_header_arpa_inet_h" = xyes |
6920 | cat >>confdefs.h <<_ACEOF |
7930 | then : |
6921 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
7931 | printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h |
6922 | _ACEOF |
|
|
6923 | |
7932 | |
6924 | fi |
7933 | fi |
|
|
7934 | ac_fn_cxx_check_header_compile "$LINENO" "net/ethernet.h" "ac_cv_header_net_ethernet_h" " |
|
|
7935 | #include <sys/types.h> |
|
|
7936 | #include <sys/socket.h> |
|
|
7937 | #ifdef HAVE_NETINET_IN_H |
|
|
7938 | # include <netinet/in.h> |
|
|
7939 | #endif |
|
|
7940 | #ifdef HAVE_ARPA_INET_H |
|
|
7941 | # include <arpa/inet.h> |
|
|
7942 | #endif |
|
|
7943 | #ifdef HAVE_NETINET_IN_SYSTM_H |
|
|
7944 | # include <netinet/in_systm.h> |
|
|
7945 | #endif |
6925 | |
7946 | |
6926 | done |
7947 | " |
|
|
7948 | if test "x$ac_cv_header_net_ethernet_h" = xyes |
|
|
7949 | then : |
|
|
7950 | printf "%s\n" "#define HAVE_NET_ETHERNET_H 1" >>confdefs.h |
6927 | |
7951 | |
|
|
7952 | fi |
|
|
7953 | ac_fn_cxx_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" " |
|
|
7954 | #include <sys/types.h> |
|
|
7955 | #include <sys/socket.h> |
|
|
7956 | #ifdef HAVE_NETINET_IN_H |
|
|
7957 | # include <netinet/in.h> |
|
|
7958 | #endif |
|
|
7959 | #ifdef HAVE_ARPA_INET_H |
|
|
7960 | # include <arpa/inet.h> |
|
|
7961 | #endif |
|
|
7962 | #ifdef HAVE_NETINET_IN_SYSTM_H |
|
|
7963 | # include <netinet/in_systm.h> |
|
|
7964 | #endif |
6928 | |
7965 | |
|
|
7966 | " |
|
|
7967 | if test "x$ac_cv_header_net_if_h" = xyes |
|
|
7968 | then : |
|
|
7969 | printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h |
|
|
7970 | |
|
|
7971 | fi |
|
|
7972 | ac_fn_cxx_check_header_compile "$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" " |
|
|
7973 | #include <sys/types.h> |
|
|
7974 | #include <sys/socket.h> |
|
|
7975 | #ifdef HAVE_NETINET_IN_H |
|
|
7976 | # include <netinet/in.h> |
|
|
7977 | #endif |
|
|
7978 | #ifdef HAVE_ARPA_INET_H |
|
|
7979 | # include <arpa/inet.h> |
|
|
7980 | #endif |
|
|
7981 | #ifdef HAVE_NETINET_IN_SYSTM_H |
|
|
7982 | # include <netinet/in_systm.h> |
|
|
7983 | #endif |
|
|
7984 | |
|
|
7985 | " |
|
|
7986 | if test "x$ac_cv_header_netinet_ip_h" = xyes |
|
|
7987 | then : |
|
|
7988 | printf "%s\n" "#define HAVE_NETINET_IP_H 1" >>confdefs.h |
|
|
7989 | |
|
|
7990 | fi |
|
|
7991 | ac_fn_cxx_check_header_compile "$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" " |
|
|
7992 | #include <sys/types.h> |
|
|
7993 | #include <sys/socket.h> |
|
|
7994 | #ifdef HAVE_NETINET_IN_H |
|
|
7995 | # include <netinet/in.h> |
|
|
7996 | #endif |
|
|
7997 | #ifdef HAVE_ARPA_INET_H |
|
|
7998 | # include <arpa/inet.h> |
|
|
7999 | #endif |
|
|
8000 | #ifdef HAVE_NETINET_IN_SYSTM_H |
|
|
8001 | # include <netinet/in_systm.h> |
|
|
8002 | #endif |
|
|
8003 | |
|
|
8004 | " |
|
|
8005 | if test "x$ac_cv_header_netinet_tcp_h" = xyes |
|
|
8006 | then : |
|
|
8007 | printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h |
|
|
8008 | |
|
|
8009 | fi |
|
|
8010 | ac_fn_cxx_check_header_compile "$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" " |
|
|
8011 | #include <sys/types.h> |
|
|
8012 | #include <sys/socket.h> |
|
|
8013 | #ifdef HAVE_NETINET_IN_H |
|
|
8014 | # include <netinet/in.h> |
|
|
8015 | #endif |
|
|
8016 | #ifdef HAVE_ARPA_INET_H |
|
|
8017 | # include <arpa/inet.h> |
|
|
8018 | #endif |
|
|
8019 | #ifdef HAVE_NETINET_IN_SYSTM_H |
|
|
8020 | # include <netinet/in_systm.h> |
|
|
8021 | #endif |
|
|
8022 | |
|
|
8023 | " |
|
|
8024 | if test "x$ac_cv_header_netinet_in_systm_h" = xyes |
|
|
8025 | then : |
|
|
8026 | printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h |
|
|
8027 | |
|
|
8028 | fi |
|
|
8029 | |
|
|
8030 | |
6929 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 |
8031 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 |
6930 | $as_echo_n "checking for an ANSI C-conforming const... " >&6; } |
8032 | printf %s "checking for an ANSI C-conforming const... " >&6; } |
6931 | if ${ac_cv_c_const+:} false; then : |
8033 | if test ${ac_cv_c_const+y} |
6932 | $as_echo_n "(cached) " >&6 |
8034 | then : |
6933 | else |
8035 | printf %s "(cached) " >&6 |
|
|
8036 | else $as_nop |
6934 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
8037 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6935 | /* end confdefs.h. */ |
8038 | /* end confdefs.h. */ |
6936 | |
8039 | |
6937 | int |
8040 | int |
6938 | main () |
8041 | main (void) |
6939 | { |
8042 | { |
6940 | |
8043 | |
6941 | #ifndef __cplusplus |
8044 | #ifndef __cplusplus |
6942 | /* Ultrix mips cc rejects this sort of thing. */ |
8045 | /* Ultrix mips cc rejects this sort of thing. */ |
6943 | typedef int charset[2]; |
8046 | typedef int charset[2]; |
… | |
… | |
6946 | char const *const *pcpcc; |
8049 | char const *const *pcpcc; |
6947 | char **ppc; |
8050 | char **ppc; |
6948 | /* NEC SVR4.0.2 mips cc rejects this. */ |
8051 | /* NEC SVR4.0.2 mips cc rejects this. */ |
6949 | struct point {int x, y;}; |
8052 | struct point {int x, y;}; |
6950 | static struct point const zero = {0,0}; |
8053 | static struct point const zero = {0,0}; |
6951 | /* AIX XL C 1.02.0.0 rejects this. |
8054 | /* IBM XL C 1.02.0.0 rejects this. |
6952 | It does not let you subtract one const X* pointer from another in |
8055 | It does not let you subtract one const X* pointer from another in |
6953 | an arm of an if-expression whose if-part is not a constant |
8056 | an arm of an if-expression whose if-part is not a constant |
6954 | expression */ |
8057 | expression */ |
6955 | const char *g = "string"; |
8058 | const char *g = "string"; |
6956 | pcpcc = &g + (g ? g-g : 0); |
8059 | pcpcc = &g + (g ? g-g : 0); |
… | |
… | |
6974 | { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ |
8077 | { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ |
6975 | typedef const int *iptr; |
8078 | typedef const int *iptr; |
6976 | iptr p = 0; |
8079 | iptr p = 0; |
6977 | ++p; |
8080 | ++p; |
6978 | } |
8081 | } |
6979 | { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying |
8082 | { /* IBM XL C 1.02.0.0 rejects this sort of thing, saying |
6980 | "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ |
8083 | "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ |
6981 | struct s { int j; const int *ap[3]; } bx; |
8084 | struct s { int j; const int *ap[3]; } bx; |
6982 | struct s *b = &bx; b->j = 5; |
8085 | struct s *b = &bx; b->j = 5; |
6983 | } |
8086 | } |
6984 | { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ |
8087 | { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ |
… | |
… | |
6990 | |
8093 | |
6991 | ; |
8094 | ; |
6992 | return 0; |
8095 | return 0; |
6993 | } |
8096 | } |
6994 | _ACEOF |
8097 | _ACEOF |
6995 | if ac_fn_cxx_try_compile "$LINENO"; then : |
8098 | if ac_fn_cxx_try_compile "$LINENO" |
|
|
8099 | then : |
6996 | ac_cv_c_const=yes |
8100 | ac_cv_c_const=yes |
6997 | else |
8101 | else $as_nop |
6998 | ac_cv_c_const=no |
8102 | ac_cv_c_const=no |
6999 | fi |
8103 | fi |
7000 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
8104 | rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
7001 | fi |
8105 | fi |
7002 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 |
8106 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 |
7003 | $as_echo "$ac_cv_c_const" >&6; } |
8107 | printf "%s\n" "$ac_cv_c_const" >&6; } |
7004 | if test $ac_cv_c_const = no; then |
8108 | if test $ac_cv_c_const = no; then |
7005 | |
8109 | |
7006 | $as_echo "#define const /**/" >>confdefs.h |
8110 | printf "%s\n" "#define const /**/" >>confdefs.h |
7007 | |
8111 | |
7008 | fi |
8112 | fi |
7009 | |
8113 | |
|
|
8114 | |
7010 | ac_fn_cxx_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default" |
8115 | ac_fn_cxx_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default |
|
|
8116 | " |
7011 | if test "x$ac_cv_type_pid_t" = xyes; then : |
8117 | if test "x$ac_cv_type_pid_t" = xyes |
|
|
8118 | then : |
7012 | |
8119 | |
7013 | else |
8120 | else $as_nop |
7014 | |
8121 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7015 | cat >>confdefs.h <<_ACEOF |
|
|
7016 | #define pid_t int |
|
|
7017 | _ACEOF |
|
|
7018 | |
|
|
7019 | fi |
|
|
7020 | |
|
|
7021 | ac_fn_cxx_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" |
|
|
7022 | if test "x$ac_cv_type_size_t" = xyes; then : |
|
|
7023 | |
|
|
7024 | else |
|
|
7025 | |
|
|
7026 | cat >>confdefs.h <<_ACEOF |
|
|
7027 | #define size_t unsigned int |
|
|
7028 | _ACEOF |
|
|
7029 | |
|
|
7030 | fi |
|
|
7031 | |
|
|
7032 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5 |
|
|
7033 | $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; } |
|
|
7034 | if ${ac_cv_header_time+:} false; then : |
|
|
7035 | $as_echo_n "(cached) " >&6 |
|
|
7036 | else |
|
|
7037 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
7038 | /* end confdefs.h. */ |
8122 | /* end confdefs.h. */ |
7039 | #include <sys/types.h> |
8123 | |
7040 | #include <sys/time.h> |
8124 | #if defined _WIN64 && !defined __CYGWIN__ |
7041 | #include <time.h> |
8125 | LLP64 |
|
|
8126 | #endif |
7042 | |
8127 | |
7043 | int |
8128 | int |
7044 | main () |
8129 | main (void) |
7045 | { |
8130 | { |
7046 | if ((struct tm *) 0) |
8131 | |
7047 | return 0; |
|
|
7048 | ; |
8132 | ; |
7049 | return 0; |
8133 | return 0; |
7050 | } |
8134 | } |
|
|
8135 | |
7051 | _ACEOF |
8136 | _ACEOF |
7052 | if ac_fn_cxx_try_compile "$LINENO"; then : |
8137 | if ac_fn_cxx_try_compile "$LINENO" |
7053 | ac_cv_header_time=yes |
8138 | then : |
7054 | else |
8139 | ac_pid_type='int' |
7055 | ac_cv_header_time=no |
8140 | else $as_nop |
|
|
8141 | ac_pid_type='__int64' |
7056 | fi |
8142 | fi |
7057 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
8143 | rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
7058 | fi |
|
|
7059 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5 |
|
|
7060 | $as_echo "$ac_cv_header_time" >&6; } |
|
|
7061 | if test $ac_cv_header_time = yes; then |
|
|
7062 | |
8144 | |
7063 | $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h |
8145 | printf "%s\n" "#define pid_t $ac_pid_type" >>confdefs.h |
7064 | |
8146 | |
7065 | fi |
|
|
7066 | |
8147 | |
|
|
8148 | fi |
|
|
8149 | |
|
|
8150 | |
|
|
8151 | ac_fn_cxx_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" |
|
|
8152 | if test "x$ac_cv_type_size_t" = xyes |
|
|
8153 | then : |
|
|
8154 | |
|
|
8155 | else $as_nop |
|
|
8156 | |
|
|
8157 | printf "%s\n" "#define size_t unsigned int" >>confdefs.h |
|
|
8158 | |
|
|
8159 | fi |
|
|
8160 | |
|
|
8161 | |
|
|
8162 | |
|
|
8163 | |
7067 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5 |
8164 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5 |
7068 | $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; } |
8165 | printf %s "checking whether struct tm is in sys/time.h or time.h... " >&6; } |
7069 | if ${ac_cv_struct_tm+:} false; then : |
8166 | if test ${ac_cv_struct_tm+y} |
7070 | $as_echo_n "(cached) " >&6 |
8167 | then : |
7071 | else |
8168 | printf %s "(cached) " >&6 |
|
|
8169 | else $as_nop |
7072 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
8170 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7073 | /* end confdefs.h. */ |
8171 | /* end confdefs.h. */ |
7074 | #include <sys/types.h> |
8172 | #include <sys/types.h> |
7075 | #include <time.h> |
8173 | #include <time.h> |
7076 | |
8174 | |
7077 | int |
8175 | int |
7078 | main () |
8176 | main (void) |
7079 | { |
8177 | { |
7080 | struct tm tm; |
8178 | struct tm tm; |
7081 | int *p = &tm.tm_sec; |
8179 | int *p = &tm.tm_sec; |
7082 | return !p; |
8180 | return !p; |
7083 | ; |
8181 | ; |
7084 | return 0; |
8182 | return 0; |
7085 | } |
8183 | } |
7086 | _ACEOF |
8184 | _ACEOF |
7087 | if ac_fn_cxx_try_compile "$LINENO"; then : |
8185 | if ac_fn_cxx_try_compile "$LINENO" |
|
|
8186 | then : |
7088 | ac_cv_struct_tm=time.h |
8187 | ac_cv_struct_tm=time.h |
7089 | else |
8188 | else $as_nop |
7090 | ac_cv_struct_tm=sys/time.h |
8189 | ac_cv_struct_tm=sys/time.h |
7091 | fi |
8190 | fi |
7092 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
8191 | rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
7093 | fi |
8192 | fi |
7094 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5 |
8193 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5 |
7095 | $as_echo "$ac_cv_struct_tm" >&6; } |
8194 | printf "%s\n" "$ac_cv_struct_tm" >&6; } |
7096 | if test $ac_cv_struct_tm = sys/time.h; then |
8195 | if test $ac_cv_struct_tm = sys/time.h; then |
7097 | |
8196 | |
7098 | $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h |
8197 | printf "%s\n" "#define TM_IN_SYS_TIME 1" >>confdefs.h |
7099 | |
8198 | |
7100 | fi |
8199 | fi |
7101 | |
8200 | |
7102 | |
8201 | |
7103 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socklen_t" >&5 |
8202 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for socklen_t" >&5 |
7104 | $as_echo_n "checking for socklen_t... " >&6; } |
8203 | printf %s "checking for socklen_t... " >&6; } |
7105 | if ${ac_cv_type_socklen_t+:} false; then : |
8204 | if test ${ac_cv_type_socklen_t+y} |
7106 | $as_echo_n "(cached) " >&6 |
8205 | then : |
7107 | else |
8206 | printf %s "(cached) " >&6 |
|
|
8207 | else $as_nop |
7108 | |
8208 | |
7109 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
8209 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7110 | /* end confdefs.h. */ |
8210 | /* end confdefs.h. */ |
7111 | #include <sys/types.h> |
8211 | #include <sys/types.h> |
7112 | #include <sys/socket.h> |
8212 | #include <sys/socket.h> |
7113 | int |
8213 | int |
7114 | main () |
8214 | main (void) |
7115 | { |
8215 | { |
7116 | socklen_t len = 42; return len; |
8216 | socklen_t len = 42; return len; |
7117 | ; |
8217 | ; |
7118 | return 0; |
8218 | return 0; |
7119 | } |
8219 | } |
7120 | _ACEOF |
8220 | _ACEOF |
7121 | if ac_fn_cxx_try_compile "$LINENO"; then : |
8221 | if ac_fn_cxx_try_compile "$LINENO" |
|
|
8222 | then : |
7122 | ac_cv_type_socklen_t=yes |
8223 | ac_cv_type_socklen_t=yes |
7123 | else |
8224 | else $as_nop |
7124 | ac_cv_type_socklen_t=no |
8225 | ac_cv_type_socklen_t=no |
7125 | fi |
8226 | fi |
7126 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
8227 | rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
7127 | |
8228 | |
7128 | fi |
8229 | fi |
7129 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_socklen_t" >&5 |
8230 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_socklen_t" >&5 |
7130 | $as_echo "$ac_cv_type_socklen_t" >&6; } |
8231 | printf "%s\n" "$ac_cv_type_socklen_t" >&6; } |
7131 | if test $ac_cv_type_socklen_t = yes; then |
8232 | if test $ac_cv_type_socklen_t = yes; then |
7132 | |
8233 | |
7133 | $as_echo "#define HAVE_SOCKLEN_T 1" >>confdefs.h |
8234 | printf "%s\n" "#define HAVE_SOCKLEN_T 1" >>confdefs.h |
7134 | |
8235 | |
7135 | fi |
8236 | fi |
7136 | |
8237 | |
7137 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct addrinfo" >&5 |
8238 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for struct addrinfo" >&5 |
7138 | $as_echo_n "checking for struct addrinfo... " >&6; } |
8239 | printf %s "checking for struct addrinfo... " >&6; } |
7139 | if ${ac_cv_struct_addrinfo+:} false; then : |
8240 | if test ${ac_cv_struct_addrinfo+y} |
7140 | $as_echo_n "(cached) " >&6 |
8241 | then : |
7141 | else |
8242 | printf %s "(cached) " >&6 |
|
|
8243 | else $as_nop |
7142 | |
8244 | |
7143 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
8245 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7144 | /* end confdefs.h. */ |
8246 | /* end confdefs.h. */ |
7145 | #include <sys/types.h> |
8247 | #include <sys/types.h> |
7146 | #include <sys/socket.h> |
8248 | #include <sys/socket.h> |
7147 | #include <netdb.h> |
8249 | #include <netdb.h> |
7148 | int |
8250 | int |
7149 | main () |
8251 | main (void) |
7150 | { |
8252 | { |
7151 | struct addrinfo ai; ai.ai_family = AF_INET; return ai.ai_family; |
8253 | struct addrinfo ai; ai.ai_family = AF_INET; return ai.ai_family; |
7152 | ; |
8254 | ; |
7153 | return 0; |
8255 | return 0; |
7154 | } |
8256 | } |
7155 | _ACEOF |
8257 | _ACEOF |
7156 | if ac_fn_cxx_try_compile "$LINENO"; then : |
8258 | if ac_fn_cxx_try_compile "$LINENO" |
|
|
8259 | then : |
7157 | ac_cv_struct_addrinfo=yes |
8260 | ac_cv_struct_addrinfo=yes |
7158 | else |
8261 | else $as_nop |
7159 | ac_cv_struct_addrinfo=no |
8262 | ac_cv_struct_addrinfo=no |
7160 | fi |
8263 | fi |
7161 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
8264 | rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
7162 | |
8265 | |
7163 | fi |
8266 | fi |
7164 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_addrinfo" >&5 |
8267 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_addrinfo" >&5 |
7165 | $as_echo "$ac_cv_struct_addrinfo" >&6; } |
8268 | printf "%s\n" "$ac_cv_struct_addrinfo" >&6; } |
7166 | if test $ac_cv_struct_addrinfo = yes; then |
8269 | if test $ac_cv_struct_addrinfo = yes; then |
7167 | |
8270 | |
7168 | $as_echo "#define HAVE_STRUCT_ADDRINFO 1" >>confdefs.h |
8271 | printf "%s\n" "#define HAVE_STRUCT_ADDRINFO 1" >>confdefs.h |
7169 | |
8272 | |
7170 | fi |
8273 | fi |
7171 | |
|
|
7172 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5 |
|
|
7173 | $as_echo_n "checking return type of signal handlers... " >&6; } |
|
|
7174 | if ${ac_cv_type_signal+:} false; then : |
|
|
7175 | $as_echo_n "(cached) " >&6 |
|
|
7176 | else |
|
|
7177 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
7178 | /* end confdefs.h. */ |
|
|
7179 | #include <sys/types.h> |
|
|
7180 | #include <signal.h> |
|
|
7181 | |
|
|
7182 | int |
|
|
7183 | main () |
|
|
7184 | { |
|
|
7185 | return *(signal (0, 0)) (0) == 1; |
|
|
7186 | ; |
|
|
7187 | return 0; |
|
|
7188 | } |
|
|
7189 | _ACEOF |
|
|
7190 | if ac_fn_cxx_try_compile "$LINENO"; then : |
|
|
7191 | ac_cv_type_signal=int |
|
|
7192 | else |
|
|
7193 | ac_cv_type_signal=void |
|
|
7194 | fi |
|
|
7195 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
7196 | fi |
|
|
7197 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5 |
|
|
7198 | $as_echo "$ac_cv_type_signal" >&6; } |
|
|
7199 | |
|
|
7200 | cat >>confdefs.h <<_ACEOF |
|
|
7201 | #define RETSIGTYPE $ac_cv_type_signal |
|
|
7202 | _ACEOF |
|
|
7203 | |
|
|
7204 | |
|
|
7205 | |
8274 | |
7206 | ac_ext=c |
8275 | ac_ext=c |
7207 | ac_cpp='$CPP $CPPFLAGS' |
8276 | ac_cpp='$CPP $CPPFLAGS' |
7208 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
8277 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
7209 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
8278 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
7210 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
8279 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
7211 | |
8280 | |
7212 | |
8281 | |
7213 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 |
8282 | ac_fn_c_check_func "$LINENO" "asprintf" "ac_cv_func_asprintf" |
7214 | $as_echo_n "checking for ANSI C header files... " >&6; } |
8283 | if test "x$ac_cv_func_asprintf" = xyes |
7215 | if ${ac_cv_header_stdc+:} false; then : |
8284 | then : |
7216 | $as_echo_n "(cached) " >&6 |
8285 | printf "%s\n" "#define HAVE_ASPRINTF 1" >>confdefs.h |
7217 | else |
|
|
7218 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
7219 | /* end confdefs.h. */ |
|
|
7220 | #include <stdlib.h> |
|
|
7221 | #include <stdarg.h> |
|
|
7222 | #include <string.h> |
|
|
7223 | #include <float.h> |
|
|
7224 | |
8286 | |
7225 | int |
|
|
7226 | main () |
|
|
7227 | { |
|
|
7228 | |
|
|
7229 | ; |
|
|
7230 | return 0; |
|
|
7231 | } |
|
|
7232 | _ACEOF |
|
|
7233 | if ac_fn_c_try_compile "$LINENO"; then : |
|
|
7234 | ac_cv_header_stdc=yes |
|
|
7235 | else |
|
|
7236 | ac_cv_header_stdc=no |
|
|
7237 | fi |
8287 | fi |
7238 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
8288 | ac_fn_c_check_func "$LINENO" "daemon" "ac_cv_func_daemon" |
|
|
8289 | if test "x$ac_cv_func_daemon" = xyes |
|
|
8290 | then : |
|
|
8291 | printf "%s\n" "#define HAVE_DAEMON 1" >>confdefs.h |
7239 | |
8292 | |
7240 | if test $ac_cv_header_stdc = yes; then |
|
|
7241 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
|
|
7242 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
7243 | /* end confdefs.h. */ |
|
|
7244 | #include <string.h> |
|
|
7245 | |
|
|
7246 | _ACEOF |
|
|
7247 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
|
|
7248 | $EGREP "memchr" >/dev/null 2>&1; then : |
|
|
7249 | |
|
|
7250 | else |
|
|
7251 | ac_cv_header_stdc=no |
|
|
7252 | fi |
8293 | fi |
7253 | rm -f conftest* |
8294 | ac_fn_c_check_func "$LINENO" "get_current_dir_name" "ac_cv_func_get_current_dir_name" |
|
|
8295 | if test "x$ac_cv_func_get_current_dir_name" = xyes |
|
|
8296 | then : |
|
|
8297 | printf "%s\n" "#define HAVE_GET_CURRENT_DIR_NAME 1" >>confdefs.h |
7254 | |
8298 | |
7255 | fi |
8299 | fi |
|
|
8300 | ac_fn_c_check_func "$LINENO" "putenv" "ac_cv_func_putenv" |
|
|
8301 | if test "x$ac_cv_func_putenv" = xyes |
|
|
8302 | then : |
|
|
8303 | printf "%s\n" "#define HAVE_PUTENV 1" >>confdefs.h |
7256 | |
8304 | |
7257 | if test $ac_cv_header_stdc = yes; then |
|
|
7258 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
|
|
7259 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
7260 | /* end confdefs.h. */ |
|
|
7261 | #include <stdlib.h> |
|
|
7262 | |
|
|
7263 | _ACEOF |
|
|
7264 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
|
|
7265 | $EGREP "free" >/dev/null 2>&1; then : |
|
|
7266 | |
|
|
7267 | else |
|
|
7268 | ac_cv_header_stdc=no |
|
|
7269 | fi |
8305 | fi |
7270 | rm -f conftest* |
8306 | ac_fn_c_check_func "$LINENO" "select" "ac_cv_func_select" |
|
|
8307 | if test "x$ac_cv_func_select" = xyes |
|
|
8308 | then : |
|
|
8309 | printf "%s\n" "#define HAVE_SELECT 1" >>confdefs.h |
7271 | |
8310 | |
7272 | fi |
8311 | fi |
|
|
8312 | ac_fn_c_check_func "$LINENO" "strerror" "ac_cv_func_strerror" |
|
|
8313 | if test "x$ac_cv_func_strerror" = xyes |
|
|
8314 | then : |
|
|
8315 | printf "%s\n" "#define HAVE_STRERROR 1" >>confdefs.h |
7273 | |
8316 | |
7274 | if test $ac_cv_header_stdc = yes; then |
|
|
7275 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
|
|
7276 | if test "$cross_compiling" = yes; then : |
|
|
7277 | : |
|
|
7278 | else |
|
|
7279 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
7280 | /* end confdefs.h. */ |
|
|
7281 | #include <ctype.h> |
|
|
7282 | #include <stdlib.h> |
|
|
7283 | #if ((' ' & 0x0FF) == 0x020) |
|
|
7284 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
|
|
7285 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
|
|
7286 | #else |
|
|
7287 | # define ISLOWER(c) \ |
|
|
7288 | (('a' <= (c) && (c) <= 'i') \ |
|
|
7289 | || ('j' <= (c) && (c) <= 'r') \ |
|
|
7290 | || ('s' <= (c) && (c) <= 'z')) |
|
|
7291 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
|
|
7292 | #endif |
|
|
7293 | |
|
|
7294 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
|
|
7295 | int |
|
|
7296 | main () |
|
|
7297 | { |
|
|
7298 | int i; |
|
|
7299 | for (i = 0; i < 256; i++) |
|
|
7300 | if (XOR (islower (i), ISLOWER (i)) |
|
|
7301 | || toupper (i) != TOUPPER (i)) |
|
|
7302 | return 2; |
|
|
7303 | return 0; |
|
|
7304 | } |
|
|
7305 | _ACEOF |
|
|
7306 | if ac_fn_c_try_run "$LINENO"; then : |
|
|
7307 | |
|
|
7308 | else |
|
|
7309 | ac_cv_header_stdc=no |
|
|
7310 | fi |
8317 | fi |
7311 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
8318 | ac_fn_c_check_func "$LINENO" "strsignal" "ac_cv_func_strsignal" |
7312 | conftest.$ac_objext conftest.beam conftest.$ac_ext |
8319 | if test "x$ac_cv_func_strsignal" = xyes |
7313 | fi |
8320 | then : |
|
|
8321 | printf "%s\n" "#define HAVE_STRSIGNAL 1" >>confdefs.h |
7314 | |
8322 | |
7315 | fi |
8323 | fi |
7316 | fi |
8324 | ac_fn_c_check_func "$LINENO" "strtol" "ac_cv_func_strtol" |
7317 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 |
8325 | if test "x$ac_cv_func_strtol" = xyes |
7318 | $as_echo "$ac_cv_header_stdc" >&6; } |
8326 | then : |
7319 | if test $ac_cv_header_stdc = yes; then |
8327 | printf "%s\n" "#define HAVE_STRTOL 1" >>confdefs.h |
7320 | |
8328 | |
7321 | $as_echo "#define STDC_HEADERS 1" >>confdefs.h |
|
|
7322 | |
|
|
7323 | fi |
8329 | fi |
|
|
8330 | ac_fn_c_check_func "$LINENO" "unsetenv" "ac_cv_func_unsetenv" |
|
|
8331 | if test "x$ac_cv_func_unsetenv" = xyes |
|
|
8332 | then : |
|
|
8333 | printf "%s\n" "#define HAVE_UNSETENV 1" >>confdefs.h |
7324 | |
8334 | |
7325 | |
|
|
7326 | for ac_func in asprintf daemon get_current_dir_name putenv select strerror strsignal strtol unsetenv mlockall |
|
|
7327 | do : |
|
|
7328 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
|
|
7329 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
|
|
7330 | if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
|
|
7331 | cat >>confdefs.h <<_ACEOF |
|
|
7332 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
|
|
7333 | _ACEOF |
|
|
7334 | |
|
|
7335 | fi |
8335 | fi |
7336 | done |
8336 | ac_fn_c_check_func "$LINENO" "mlockall" "ac_cv_func_mlockall" |
|
|
8337 | if test "x$ac_cv_func_mlockall" = xyes |
|
|
8338 | then : |
|
|
8339 | printf "%s\n" "#define HAVE_MLOCKALL 1" >>confdefs.h |
|
|
8340 | |
|
|
8341 | fi |
7337 | |
8342 | |
7338 | |
8343 | |
7339 | # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
8344 | # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
7340 | # for constant arguments. Useless! |
8345 | # for constant arguments. Useless! |
7341 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5 |
8346 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5 |
7342 | $as_echo_n "checking for working alloca.h... " >&6; } |
8347 | printf %s "checking for working alloca.h... " >&6; } |
7343 | if ${ac_cv_working_alloca_h+:} false; then : |
8348 | if test ${ac_cv_working_alloca_h+y} |
7344 | $as_echo_n "(cached) " >&6 |
8349 | then : |
7345 | else |
8350 | printf %s "(cached) " >&6 |
|
|
8351 | else $as_nop |
7346 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
8352 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7347 | /* end confdefs.h. */ |
8353 | /* end confdefs.h. */ |
7348 | #include <alloca.h> |
8354 | #include <alloca.h> |
7349 | int |
8355 | int |
7350 | main () |
8356 | main (void) |
7351 | { |
8357 | { |
7352 | char *p = (char *) alloca (2 * sizeof (int)); |
8358 | char *p = (char *) alloca (2 * sizeof (int)); |
7353 | if (p) return 0; |
8359 | if (p) return 0; |
7354 | ; |
8360 | ; |
7355 | return 0; |
8361 | return 0; |
7356 | } |
8362 | } |
7357 | _ACEOF |
8363 | _ACEOF |
7358 | if ac_fn_c_try_link "$LINENO"; then : |
8364 | if ac_fn_c_try_link "$LINENO" |
|
|
8365 | then : |
7359 | ac_cv_working_alloca_h=yes |
8366 | ac_cv_working_alloca_h=yes |
7360 | else |
8367 | else $as_nop |
7361 | ac_cv_working_alloca_h=no |
8368 | ac_cv_working_alloca_h=no |
7362 | fi |
8369 | fi |
7363 | rm -f core conftest.err conftest.$ac_objext \ |
8370 | rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
7364 | conftest$ac_exeext conftest.$ac_ext |
8371 | conftest$ac_exeext conftest.$ac_ext |
7365 | fi |
8372 | fi |
7366 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5 |
8373 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5 |
7367 | $as_echo "$ac_cv_working_alloca_h" >&6; } |
8374 | printf "%s\n" "$ac_cv_working_alloca_h" >&6; } |
7368 | if test $ac_cv_working_alloca_h = yes; then |
8375 | if test $ac_cv_working_alloca_h = yes; then |
7369 | |
8376 | |
7370 | $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h |
8377 | printf "%s\n" "#define HAVE_ALLOCA_H 1" >>confdefs.h |
7371 | |
8378 | |
7372 | fi |
8379 | fi |
7373 | |
8380 | |
7374 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5 |
8381 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5 |
7375 | $as_echo_n "checking for alloca... " >&6; } |
8382 | printf %s "checking for alloca... " >&6; } |
7376 | if ${ac_cv_func_alloca_works+:} false; then : |
8383 | if test ${ac_cv_func_alloca_works+y} |
7377 | $as_echo_n "(cached) " >&6 |
8384 | then : |
|
|
8385 | printf %s "(cached) " >&6 |
|
|
8386 | else $as_nop |
|
|
8387 | if test $ac_cv_working_alloca_h = yes; then |
|
|
8388 | ac_cv_func_alloca_works=yes |
7378 | else |
8389 | else |
7379 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
8390 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7380 | /* end confdefs.h. */ |
8391 | /* end confdefs.h. */ |
|
|
8392 | #include <stdlib.h> |
|
|
8393 | #include <stddef.h> |
|
|
8394 | #ifndef alloca |
7381 | #ifdef __GNUC__ |
8395 | # ifdef __GNUC__ |
7382 | # define alloca __builtin_alloca |
8396 | # define alloca __builtin_alloca |
7383 | #else |
|
|
7384 | # ifdef _MSC_VER |
8397 | # elif defined _MSC_VER |
7385 | # include <malloc.h> |
8398 | # include <malloc.h> |
7386 | # define alloca _alloca |
8399 | # define alloca _alloca |
7387 | # else |
8400 | # else |
7388 | # ifdef HAVE_ALLOCA_H |
8401 | # ifdef __cplusplus |
7389 | # include <alloca.h> |
8402 | extern "C" |
7390 | # else |
8403 | # endif |
7391 | # ifdef _AIX |
|
|
7392 | #pragma alloca |
|
|
7393 | # else |
|
|
7394 | # ifndef alloca /* predefined by HP cc +Olibcalls */ |
|
|
7395 | void *alloca (size_t); |
8404 | void *alloca (size_t); |
7396 | # endif |
|
|
7397 | # endif |
|
|
7398 | # endif |
|
|
7399 | # endif |
8405 | # endif |
7400 | #endif |
8406 | #endif |
7401 | |
8407 | |
7402 | int |
8408 | int |
7403 | main () |
8409 | main (void) |
7404 | { |
8410 | { |
7405 | char *p = (char *) alloca (1); |
8411 | char *p = (char *) alloca (1); |
7406 | if (p) return 0; |
8412 | if (p) return 0; |
7407 | ; |
8413 | ; |
7408 | return 0; |
8414 | return 0; |
7409 | } |
8415 | } |
7410 | _ACEOF |
8416 | _ACEOF |
7411 | if ac_fn_c_try_link "$LINENO"; then : |
8417 | if ac_fn_c_try_link "$LINENO" |
|
|
8418 | then : |
7412 | ac_cv_func_alloca_works=yes |
8419 | ac_cv_func_alloca_works=yes |
7413 | else |
8420 | else $as_nop |
7414 | ac_cv_func_alloca_works=no |
8421 | ac_cv_func_alloca_works=no |
7415 | fi |
8422 | fi |
7416 | rm -f core conftest.err conftest.$ac_objext \ |
8423 | rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
7417 | conftest$ac_exeext conftest.$ac_ext |
8424 | conftest$ac_exeext conftest.$ac_ext |
7418 | fi |
8425 | fi |
7419 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5 |
8426 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5 |
7420 | $as_echo "$ac_cv_func_alloca_works" >&6; } |
8427 | printf "%s\n" "$ac_cv_func_alloca_works" >&6; } |
|
|
8428 | fi |
7421 | |
8429 | |
7422 | if test $ac_cv_func_alloca_works = yes; then |
8430 | if test $ac_cv_func_alloca_works = yes; then |
7423 | |
8431 | |
7424 | $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h |
8432 | printf "%s\n" "#define HAVE_ALLOCA 1" >>confdefs.h |
7425 | |
8433 | |
7426 | else |
8434 | else |
7427 | # The SVR3 libPW and SVR4 libucb both contain incompatible functions |
8435 | # The SVR3 libPW and SVR4 libucb both contain incompatible functions |
7428 | # that cause trouble. Some versions do not even contain alloca or |
8436 | # that cause trouble. Some versions do not even contain alloca or |
7429 | # contain a buggy version. If you still want to use their alloca, |
8437 | # contain a buggy version. If you still want to use their alloca, |
7430 | # use ar to extract alloca.o from them instead of compiling alloca.c. |
8438 | # use ar to extract alloca.o from them instead of compiling alloca.c. |
7431 | |
8439 | |
7432 | ALLOCA=\${LIBOBJDIR}alloca.$ac_objext |
8440 | ALLOCA=\${LIBOBJDIR}alloca.$ac_objext |
7433 | |
8441 | |
7434 | $as_echo "#define C_ALLOCA 1" >>confdefs.h |
8442 | printf "%s\n" "#define C_ALLOCA 1" >>confdefs.h |
7435 | |
8443 | |
7436 | |
8444 | |
7437 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5 |
|
|
7438 | $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; } |
|
|
7439 | if ${ac_cv_os_cray+:} false; then : |
|
|
7440 | $as_echo_n "(cached) " >&6 |
|
|
7441 | else |
|
|
7442 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
7443 | /* end confdefs.h. */ |
|
|
7444 | #if defined CRAY && ! defined CRAY2 |
|
|
7445 | webecray |
|
|
7446 | #else |
|
|
7447 | wenotbecray |
|
|
7448 | #endif |
|
|
7449 | |
|
|
7450 | _ACEOF |
|
|
7451 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
|
|
7452 | $EGREP "webecray" >/dev/null 2>&1; then : |
|
|
7453 | ac_cv_os_cray=yes |
|
|
7454 | else |
|
|
7455 | ac_cv_os_cray=no |
|
|
7456 | fi |
|
|
7457 | rm -f conftest* |
|
|
7458 | |
|
|
7459 | fi |
|
|
7460 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5 |
|
|
7461 | $as_echo "$ac_cv_os_cray" >&6; } |
|
|
7462 | if test $ac_cv_os_cray = yes; then |
|
|
7463 | for ac_func in _getb67 GETB67 getb67; do |
|
|
7464 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
|
|
7465 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
|
|
7466 | if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
|
|
7467 | |
|
|
7468 | cat >>confdefs.h <<_ACEOF |
|
|
7469 | #define CRAY_STACKSEG_END $ac_func |
|
|
7470 | _ACEOF |
|
|
7471 | |
|
|
7472 | break |
|
|
7473 | fi |
|
|
7474 | |
|
|
7475 | done |
|
|
7476 | fi |
|
|
7477 | |
|
|
7478 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5 |
8445 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5 |
7479 | $as_echo_n "checking stack direction for C alloca... " >&6; } |
8446 | printf %s "checking stack direction for C alloca... " >&6; } |
7480 | if ${ac_cv_c_stack_direction+:} false; then : |
8447 | if test ${ac_cv_c_stack_direction+y} |
7481 | $as_echo_n "(cached) " >&6 |
8448 | then : |
7482 | else |
8449 | printf %s "(cached) " >&6 |
|
|
8450 | else $as_nop |
7483 | if test "$cross_compiling" = yes; then : |
8451 | if test "$cross_compiling" = yes |
|
|
8452 | then : |
7484 | ac_cv_c_stack_direction=0 |
8453 | ac_cv_c_stack_direction=0 |
7485 | else |
8454 | else $as_nop |
7486 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
8455 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7487 | /* end confdefs.h. */ |
8456 | /* end confdefs.h. */ |
7488 | $ac_includes_default |
8457 | $ac_includes_default |
7489 | int |
8458 | int |
7490 | find_stack_direction (int *addr, int depth) |
8459 | find_stack_direction (int *addr, int depth) |
… | |
… | |
7501 | main (int argc, char **argv) |
8470 | main (int argc, char **argv) |
7502 | { |
8471 | { |
7503 | return find_stack_direction (0, argc + !argv + 20) < 0; |
8472 | return find_stack_direction (0, argc + !argv + 20) < 0; |
7504 | } |
8473 | } |
7505 | _ACEOF |
8474 | _ACEOF |
7506 | if ac_fn_c_try_run "$LINENO"; then : |
8475 | if ac_fn_c_try_run "$LINENO" |
|
|
8476 | then : |
7507 | ac_cv_c_stack_direction=1 |
8477 | ac_cv_c_stack_direction=1 |
7508 | else |
8478 | else $as_nop |
7509 | ac_cv_c_stack_direction=-1 |
8479 | ac_cv_c_stack_direction=-1 |
7510 | fi |
8480 | fi |
7511 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
8481 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
7512 | conftest.$ac_objext conftest.beam conftest.$ac_ext |
8482 | conftest.$ac_objext conftest.beam conftest.$ac_ext |
7513 | fi |
8483 | fi |
7514 | |
8484 | |
7515 | fi |
8485 | fi |
7516 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5 |
8486 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5 |
7517 | $as_echo "$ac_cv_c_stack_direction" >&6; } |
8487 | printf "%s\n" "$ac_cv_c_stack_direction" >&6; } |
7518 | cat >>confdefs.h <<_ACEOF |
|
|
7519 | #define STACK_DIRECTION $ac_cv_c_stack_direction |
8488 | printf "%s\n" "#define STACK_DIRECTION $ac_cv_c_stack_direction" >>confdefs.h |
7520 | _ACEOF |
|
|
7521 | |
8489 | |
7522 | |
8490 | |
7523 | fi |
8491 | fi |
7524 | |
8492 | |
7525 | |
8493 | |
7526 | |
8494 | |
7527 | ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket" |
8495 | ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket" |
7528 | if test "x$ac_cv_func_socket" = xyes; then : |
8496 | if test "x$ac_cv_func_socket" = xyes |
|
|
8497 | then : |
7529 | |
8498 | |
7530 | else |
8499 | else $as_nop |
7531 | |
8500 | |
7532 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5 |
8501 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5 |
7533 | $as_echo_n "checking for connect in -lsocket... " >&6; } |
8502 | printf %s "checking for connect in -lsocket... " >&6; } |
7534 | if ${ac_cv_lib_socket_connect+:} false; then : |
8503 | if test ${ac_cv_lib_socket_connect+y} |
7535 | $as_echo_n "(cached) " >&6 |
8504 | then : |
7536 | else |
8505 | printf %s "(cached) " >&6 |
|
|
8506 | else $as_nop |
7537 | ac_check_lib_save_LIBS=$LIBS |
8507 | ac_check_lib_save_LIBS=$LIBS |
7538 | LIBS="-lsocket $LIBS" |
8508 | LIBS="-lsocket $LIBS" |
7539 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
8509 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7540 | /* end confdefs.h. */ |
8510 | /* end confdefs.h. */ |
7541 | |
8511 | |
7542 | /* Override any GCC internal prototype to avoid an error. |
8512 | /* Override any GCC internal prototype to avoid an error. |
7543 | Use char because int might match the return type of a GCC |
8513 | Use char because int might match the return type of a GCC |
7544 | builtin and then its argument prototype would still apply. */ |
8514 | builtin and then its argument prototype would still apply. */ |
7545 | #ifdef __cplusplus |
|
|
7546 | extern "C" |
|
|
7547 | #endif |
|
|
7548 | char connect (); |
8515 | char connect (); |
7549 | int |
8516 | int |
7550 | main () |
8517 | main (void) |
7551 | { |
8518 | { |
7552 | return connect (); |
8519 | return connect (); |
7553 | ; |
8520 | ; |
7554 | return 0; |
8521 | return 0; |
7555 | } |
8522 | } |
7556 | _ACEOF |
8523 | _ACEOF |
7557 | if ac_fn_c_try_link "$LINENO"; then : |
8524 | if ac_fn_c_try_link "$LINENO" |
|
|
8525 | then : |
7558 | ac_cv_lib_socket_connect=yes |
8526 | ac_cv_lib_socket_connect=yes |
7559 | else |
8527 | else $as_nop |
7560 | ac_cv_lib_socket_connect=no |
8528 | ac_cv_lib_socket_connect=no |
7561 | fi |
8529 | fi |
7562 | rm -f core conftest.err conftest.$ac_objext \ |
8530 | rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
7563 | conftest$ac_exeext conftest.$ac_ext |
8531 | conftest$ac_exeext conftest.$ac_ext |
7564 | LIBS=$ac_check_lib_save_LIBS |
8532 | LIBS=$ac_check_lib_save_LIBS |
7565 | fi |
8533 | fi |
7566 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5 |
8534 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5 |
7567 | $as_echo "$ac_cv_lib_socket_connect" >&6; } |
8535 | printf "%s\n" "$ac_cv_lib_socket_connect" >&6; } |
7568 | if test "x$ac_cv_lib_socket_connect" = xyes; then : |
8536 | if test "x$ac_cv_lib_socket_connect" = xyes |
7569 | cat >>confdefs.h <<_ACEOF |
8537 | then : |
7570 | #define HAVE_LIBSOCKET 1 |
8538 | printf "%s\n" "#define HAVE_LIBSOCKET 1" >>confdefs.h |
7571 | _ACEOF |
|
|
7572 | |
8539 | |
7573 | LIBS="-lsocket $LIBS" |
8540 | LIBS="-lsocket $LIBS" |
7574 | |
8541 | |
7575 | fi |
8542 | fi |
7576 | |
8543 | |
7577 | |
8544 | |
7578 | fi |
8545 | fi |
7579 | |
8546 | |
7580 | ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname" |
8547 | ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname" |
7581 | if test "x$ac_cv_func_gethostbyname" = xyes; then : |
8548 | if test "x$ac_cv_func_gethostbyname" = xyes |
|
|
8549 | then : |
7582 | |
8550 | |
7583 | else |
8551 | else $as_nop |
7584 | |
8552 | |
7585 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5 |
8553 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5 |
7586 | $as_echo_n "checking for gethostbyname in -lnsl... " >&6; } |
8554 | printf %s "checking for gethostbyname in -lnsl... " >&6; } |
7587 | if ${ac_cv_lib_nsl_gethostbyname+:} false; then : |
8555 | if test ${ac_cv_lib_nsl_gethostbyname+y} |
7588 | $as_echo_n "(cached) " >&6 |
8556 | then : |
7589 | else |
8557 | printf %s "(cached) " >&6 |
|
|
8558 | else $as_nop |
7590 | ac_check_lib_save_LIBS=$LIBS |
8559 | ac_check_lib_save_LIBS=$LIBS |
7591 | LIBS="-lnsl $LIBS" |
8560 | LIBS="-lnsl $LIBS" |
7592 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
8561 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7593 | /* end confdefs.h. */ |
8562 | /* end confdefs.h. */ |
7594 | |
8563 | |
7595 | /* Override any GCC internal prototype to avoid an error. |
8564 | /* Override any GCC internal prototype to avoid an error. |
7596 | Use char because int might match the return type of a GCC |
8565 | Use char because int might match the return type of a GCC |
7597 | builtin and then its argument prototype would still apply. */ |
8566 | builtin and then its argument prototype would still apply. */ |
7598 | #ifdef __cplusplus |
|
|
7599 | extern "C" |
|
|
7600 | #endif |
|
|
7601 | char gethostbyname (); |
8567 | char gethostbyname (); |
7602 | int |
8568 | int |
7603 | main () |
8569 | main (void) |
7604 | { |
8570 | { |
7605 | return gethostbyname (); |
8571 | return gethostbyname (); |
7606 | ; |
8572 | ; |
7607 | return 0; |
8573 | return 0; |
7608 | } |
8574 | } |
7609 | _ACEOF |
8575 | _ACEOF |
7610 | if ac_fn_c_try_link "$LINENO"; then : |
8576 | if ac_fn_c_try_link "$LINENO" |
|
|
8577 | then : |
7611 | ac_cv_lib_nsl_gethostbyname=yes |
8578 | ac_cv_lib_nsl_gethostbyname=yes |
7612 | else |
8579 | else $as_nop |
7613 | ac_cv_lib_nsl_gethostbyname=no |
8580 | ac_cv_lib_nsl_gethostbyname=no |
7614 | fi |
8581 | fi |
7615 | rm -f core conftest.err conftest.$ac_objext \ |
8582 | rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
7616 | conftest$ac_exeext conftest.$ac_ext |
8583 | conftest$ac_exeext conftest.$ac_ext |
7617 | LIBS=$ac_check_lib_save_LIBS |
8584 | LIBS=$ac_check_lib_save_LIBS |
7618 | fi |
8585 | fi |
7619 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5 |
8586 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5 |
7620 | $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; } |
8587 | printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; } |
7621 | if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then : |
8588 | if test "x$ac_cv_lib_nsl_gethostbyname" = xyes |
7622 | cat >>confdefs.h <<_ACEOF |
8589 | then : |
7623 | #define HAVE_LIBNSL 1 |
8590 | printf "%s\n" "#define HAVE_LIBNSL 1" >>confdefs.h |
7624 | _ACEOF |
|
|
7625 | |
8591 | |
7626 | LIBS="-lnsl $LIBS" |
8592 | LIBS="-lnsl $LIBS" |
7627 | |
8593 | |
7628 | fi |
8594 | fi |
7629 | |
8595 | |
7630 | |
8596 | |
7631 | fi |
8597 | fi |
7632 | |
8598 | |
7633 | |
8599 | |
7634 | |
8600 | |
7635 | for ac_header in sys/inotify.h sys/epoll.h sys/event.h port.h poll.h sys/select.h sys/eventfd.h sys/signalfd.h |
8601 | ac_fn_c_check_header_compile "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default" |
7636 | do : |
8602 | if test "x$ac_cv_header_sys_inotify_h" = xyes |
7637 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
8603 | then : |
7638 | ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
8604 | printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h |
7639 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
|
|
7640 | cat >>confdefs.h <<_ACEOF |
|
|
7641 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
|
|
7642 | _ACEOF |
|
|
7643 | |
8605 | |
7644 | fi |
8606 | fi |
|
|
8607 | ac_fn_c_check_header_compile "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default" |
|
|
8608 | if test "x$ac_cv_header_sys_epoll_h" = xyes |
|
|
8609 | then : |
|
|
8610 | printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h |
7645 | |
8611 | |
7646 | done |
|
|
7647 | |
|
|
7648 | |
|
|
7649 | for ac_func in inotify_init epoll_ctl kqueue port_create poll select eventfd signalfd |
|
|
7650 | do : |
|
|
7651 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
|
|
7652 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
|
|
7653 | if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
|
|
7654 | cat >>confdefs.h <<_ACEOF |
|
|
7655 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
|
|
7656 | _ACEOF |
|
|
7657 | |
|
|
7658 | fi |
8612 | fi |
7659 | done |
8613 | ac_fn_c_check_header_compile "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default" |
|
|
8614 | if test "x$ac_cv_header_sys_event_h" = xyes |
|
|
8615 | then : |
|
|
8616 | printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h |
7660 | |
8617 | |
|
|
8618 | fi |
|
|
8619 | ac_fn_c_check_header_compile "$LINENO" "port.h" "ac_cv_header_port_h" "$ac_includes_default" |
|
|
8620 | if test "x$ac_cv_header_port_h" = xyes |
|
|
8621 | then : |
|
|
8622 | printf "%s\n" "#define HAVE_PORT_H 1" >>confdefs.h |
7661 | |
8623 | |
|
|
8624 | fi |
|
|
8625 | ac_fn_c_check_header_compile "$LINENO" "poll.h" "ac_cv_header_poll_h" "$ac_includes_default" |
|
|
8626 | if test "x$ac_cv_header_poll_h" = xyes |
|
|
8627 | then : |
|
|
8628 | printf "%s\n" "#define HAVE_POLL_H 1" >>confdefs.h |
|
|
8629 | |
|
|
8630 | fi |
|
|
8631 | ac_fn_c_check_header_compile "$LINENO" "sys/timerfd.h" "ac_cv_header_sys_timerfd_h" "$ac_includes_default" |
|
|
8632 | if test "x$ac_cv_header_sys_timerfd_h" = xyes |
|
|
8633 | then : |
|
|
8634 | printf "%s\n" "#define HAVE_SYS_TIMERFD_H 1" >>confdefs.h |
|
|
8635 | |
|
|
8636 | fi |
|
|
8637 | |
|
|
8638 | ac_fn_c_check_header_compile "$LINENO" "sys/select.h" "ac_cv_header_sys_select_h" "$ac_includes_default" |
|
|
8639 | if test "x$ac_cv_header_sys_select_h" = xyes |
|
|
8640 | then : |
|
|
8641 | printf "%s\n" "#define HAVE_SYS_SELECT_H 1" >>confdefs.h |
|
|
8642 | |
|
|
8643 | fi |
|
|
8644 | ac_fn_c_check_header_compile "$LINENO" "sys/eventfd.h" "ac_cv_header_sys_eventfd_h" "$ac_includes_default" |
|
|
8645 | if test "x$ac_cv_header_sys_eventfd_h" = xyes |
|
|
8646 | then : |
|
|
8647 | printf "%s\n" "#define HAVE_SYS_EVENTFD_H 1" >>confdefs.h |
|
|
8648 | |
|
|
8649 | fi |
|
|
8650 | ac_fn_c_check_header_compile "$LINENO" "sys/signalfd.h" "ac_cv_header_sys_signalfd_h" "$ac_includes_default" |
|
|
8651 | if test "x$ac_cv_header_sys_signalfd_h" = xyes |
|
|
8652 | then : |
|
|
8653 | printf "%s\n" "#define HAVE_SYS_SIGNALFD_H 1" >>confdefs.h |
|
|
8654 | |
|
|
8655 | fi |
|
|
8656 | ac_fn_c_check_header_compile "$LINENO" "linux/aio_abi.h" "ac_cv_header_linux_aio_abi_h" "$ac_includes_default" |
|
|
8657 | if test "x$ac_cv_header_linux_aio_abi_h" = xyes |
|
|
8658 | then : |
|
|
8659 | printf "%s\n" "#define HAVE_LINUX_AIO_ABI_H 1" >>confdefs.h |
|
|
8660 | |
|
|
8661 | fi |
|
|
8662 | ac_fn_c_check_header_compile "$LINENO" "linux/fs.h" "ac_cv_header_linux_fs_h" "$ac_includes_default" |
|
|
8663 | if test "x$ac_cv_header_linux_fs_h" = xyes |
|
|
8664 | then : |
|
|
8665 | printf "%s\n" "#define HAVE_LINUX_FS_H 1" >>confdefs.h |
|
|
8666 | |
|
|
8667 | fi |
|
|
8668 | |
|
|
8669 | |
|
|
8670 | ac_fn_c_check_func "$LINENO" "inotify_init" "ac_cv_func_inotify_init" |
|
|
8671 | if test "x$ac_cv_func_inotify_init" = xyes |
|
|
8672 | then : |
|
|
8673 | printf "%s\n" "#define HAVE_INOTIFY_INIT 1" >>confdefs.h |
|
|
8674 | |
|
|
8675 | fi |
|
|
8676 | ac_fn_c_check_func "$LINENO" "epoll_ctl" "ac_cv_func_epoll_ctl" |
|
|
8677 | if test "x$ac_cv_func_epoll_ctl" = xyes |
|
|
8678 | then : |
|
|
8679 | printf "%s\n" "#define HAVE_EPOLL_CTL 1" >>confdefs.h |
|
|
8680 | |
|
|
8681 | fi |
|
|
8682 | ac_fn_c_check_func "$LINENO" "kqueue" "ac_cv_func_kqueue" |
|
|
8683 | if test "x$ac_cv_func_kqueue" = xyes |
|
|
8684 | then : |
|
|
8685 | printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h |
|
|
8686 | |
|
|
8687 | fi |
|
|
8688 | ac_fn_c_check_func "$LINENO" "port_create" "ac_cv_func_port_create" |
|
|
8689 | if test "x$ac_cv_func_port_create" = xyes |
|
|
8690 | then : |
|
|
8691 | printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h |
|
|
8692 | |
|
|
8693 | fi |
|
|
8694 | ac_fn_c_check_func "$LINENO" "poll" "ac_cv_func_poll" |
|
|
8695 | if test "x$ac_cv_func_poll" = xyes |
|
|
8696 | then : |
|
|
8697 | printf "%s\n" "#define HAVE_POLL 1" >>confdefs.h |
|
|
8698 | |
|
|
8699 | fi |
|
|
8700 | ac_fn_c_check_func "$LINENO" "select" "ac_cv_func_select" |
|
|
8701 | if test "x$ac_cv_func_select" = xyes |
|
|
8702 | then : |
|
|
8703 | printf "%s\n" "#define HAVE_SELECT 1" >>confdefs.h |
|
|
8704 | |
|
|
8705 | fi |
|
|
8706 | ac_fn_c_check_func "$LINENO" "eventfd" "ac_cv_func_eventfd" |
|
|
8707 | if test "x$ac_cv_func_eventfd" = xyes |
|
|
8708 | then : |
|
|
8709 | printf "%s\n" "#define HAVE_EVENTFD 1" >>confdefs.h |
|
|
8710 | |
|
|
8711 | fi |
|
|
8712 | ac_fn_c_check_func "$LINENO" "signalfd" "ac_cv_func_signalfd" |
|
|
8713 | if test "x$ac_cv_func_signalfd" = xyes |
|
|
8714 | then : |
|
|
8715 | printf "%s\n" "#define HAVE_SIGNALFD 1" >>confdefs.h |
|
|
8716 | |
|
|
8717 | fi |
|
|
8718 | |
|
|
8719 | |
|
|
8720 | |
7662 | for ac_func in clock_gettime |
8721 | for ac_func in clock_gettime |
7663 | do : |
8722 | do : |
7664 | ac_fn_c_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime" |
8723 | ac_fn_c_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime" |
7665 | if test "x$ac_cv_func_clock_gettime" = xyes; then : |
8724 | if test "x$ac_cv_func_clock_gettime" = xyes |
7666 | cat >>confdefs.h <<_ACEOF |
8725 | then : |
7667 | #define HAVE_CLOCK_GETTIME 1 |
8726 | printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h |
7668 | _ACEOF |
|
|
7669 | |
8727 | |
7670 | else |
8728 | else $as_nop |
7671 | |
8729 | |
7672 | if test $(uname) = Linux; then |
8730 | if test $(uname) = Linux; then |
7673 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime syscall" >&5 |
8731 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clock_gettime syscall" >&5 |
7674 | $as_echo_n "checking for clock_gettime syscall... " >&6; } |
8732 | printf %s "checking for clock_gettime syscall... " >&6; } |
7675 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
8733 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7676 | /* end confdefs.h. */ |
8734 | /* end confdefs.h. */ |
7677 | #include <unistd.h> |
8735 | #include <unistd.h> |
7678 | #include <sys/syscall.h> |
8736 | #include <sys/syscall.h> |
7679 | #include <time.h> |
8737 | #include <time.h> |
7680 | int |
8738 | int |
7681 | main () |
8739 | main (void) |
7682 | { |
8740 | { |
7683 | struct timespec ts; int status = syscall (SYS_clock_gettime, CLOCK_REALTIME, &ts) |
8741 | struct timespec ts; int status = syscall (SYS_clock_gettime, CLOCK_REALTIME, &ts) |
7684 | ; |
8742 | ; |
7685 | return 0; |
8743 | return 0; |
7686 | } |
8744 | } |
7687 | _ACEOF |
8745 | _ACEOF |
7688 | if ac_fn_c_try_link "$LINENO"; then : |
8746 | if ac_fn_c_try_link "$LINENO" |
|
|
8747 | then : |
7689 | ac_have_clock_syscall=1 |
8748 | ac_have_clock_syscall=1 |
7690 | |
8749 | |
7691 | $as_echo "#define HAVE_CLOCK_SYSCALL 1" >>confdefs.h |
8750 | printf "%s\n" "#define HAVE_CLOCK_SYSCALL 1" >>confdefs.h |
7692 | |
8751 | |
7693 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
8752 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
7694 | $as_echo "yes" >&6; } |
8753 | printf "%s\n" "yes" >&6; } |
7695 | else |
8754 | else $as_nop |
7696 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
8755 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
7697 | $as_echo "no" >&6; } |
8756 | printf "%s\n" "no" >&6; } |
7698 | fi |
8757 | fi |
7699 | rm -f core conftest.err conftest.$ac_objext \ |
8758 | rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
7700 | conftest$ac_exeext conftest.$ac_ext |
8759 | conftest$ac_exeext conftest.$ac_ext |
7701 | fi |
8760 | fi |
7702 | if test -z "$LIBEV_M4_AVOID_LIBRT" && test -z "$ac_have_clock_syscall"; then |
8761 | if test -z "$LIBEV_M4_AVOID_LIBRT" && test -z "$ac_have_clock_syscall"; then |
7703 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5 |
8762 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5 |
7704 | $as_echo_n "checking for clock_gettime in -lrt... " >&6; } |
8763 | printf %s "checking for clock_gettime in -lrt... " >&6; } |
7705 | if ${ac_cv_lib_rt_clock_gettime+:} false; then : |
8764 | if test ${ac_cv_lib_rt_clock_gettime+y} |
7706 | $as_echo_n "(cached) " >&6 |
8765 | then : |
7707 | else |
8766 | printf %s "(cached) " >&6 |
|
|
8767 | else $as_nop |
7708 | ac_check_lib_save_LIBS=$LIBS |
8768 | ac_check_lib_save_LIBS=$LIBS |
7709 | LIBS="-lrt $LIBS" |
8769 | LIBS="-lrt $LIBS" |
7710 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
8770 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7711 | /* end confdefs.h. */ |
8771 | /* end confdefs.h. */ |
7712 | |
8772 | |
7713 | /* Override any GCC internal prototype to avoid an error. |
8773 | /* Override any GCC internal prototype to avoid an error. |
7714 | Use char because int might match the return type of a GCC |
8774 | Use char because int might match the return type of a GCC |
7715 | builtin and then its argument prototype would still apply. */ |
8775 | builtin and then its argument prototype would still apply. */ |
7716 | #ifdef __cplusplus |
|
|
7717 | extern "C" |
|
|
7718 | #endif |
|
|
7719 | char clock_gettime (); |
8776 | char clock_gettime (); |
7720 | int |
8777 | int |
7721 | main () |
8778 | main (void) |
7722 | { |
8779 | { |
7723 | return clock_gettime (); |
8780 | return clock_gettime (); |
7724 | ; |
8781 | ; |
7725 | return 0; |
8782 | return 0; |
7726 | } |
8783 | } |
7727 | _ACEOF |
8784 | _ACEOF |
7728 | if ac_fn_c_try_link "$LINENO"; then : |
8785 | if ac_fn_c_try_link "$LINENO" |
|
|
8786 | then : |
7729 | ac_cv_lib_rt_clock_gettime=yes |
8787 | ac_cv_lib_rt_clock_gettime=yes |
7730 | else |
8788 | else $as_nop |
7731 | ac_cv_lib_rt_clock_gettime=no |
8789 | ac_cv_lib_rt_clock_gettime=no |
7732 | fi |
8790 | fi |
7733 | rm -f core conftest.err conftest.$ac_objext \ |
8791 | rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
7734 | conftest$ac_exeext conftest.$ac_ext |
8792 | conftest$ac_exeext conftest.$ac_ext |
7735 | LIBS=$ac_check_lib_save_LIBS |
8793 | LIBS=$ac_check_lib_save_LIBS |
7736 | fi |
8794 | fi |
7737 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5 |
8795 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5 |
7738 | $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; } |
8796 | printf "%s\n" "$ac_cv_lib_rt_clock_gettime" >&6; } |
7739 | if test "x$ac_cv_lib_rt_clock_gettime" = xyes; then : |
8797 | if test "x$ac_cv_lib_rt_clock_gettime" = xyes |
7740 | cat >>confdefs.h <<_ACEOF |
8798 | then : |
7741 | #define HAVE_LIBRT 1 |
8799 | printf "%s\n" "#define HAVE_LIBRT 1" >>confdefs.h |
7742 | _ACEOF |
|
|
7743 | |
8800 | |
7744 | LIBS="-lrt $LIBS" |
8801 | LIBS="-lrt $LIBS" |
7745 | |
8802 | |
7746 | fi |
8803 | fi |
7747 | |
8804 | |
7748 | unset ac_cv_func_clock_gettime |
8805 | unset ac_cv_func_clock_gettime |
7749 | for ac_func in clock_gettime |
|
|
7750 | do : |
|
|
7751 | ac_fn_c_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime" |
8806 | ac_fn_c_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime" |
7752 | if test "x$ac_cv_func_clock_gettime" = xyes; then : |
8807 | if test "x$ac_cv_func_clock_gettime" = xyes |
7753 | cat >>confdefs.h <<_ACEOF |
8808 | then : |
7754 | #define HAVE_CLOCK_GETTIME 1 |
8809 | printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h |
7755 | _ACEOF |
|
|
7756 | |
8810 | |
7757 | fi |
8811 | fi |
|
|
8812 | |
|
|
8813 | fi |
|
|
8814 | |
|
|
8815 | fi |
|
|
8816 | |
7758 | done |
8817 | done |
7759 | |
8818 | |
7760 | fi |
|
|
7761 | |
8819 | |
7762 | fi |
|
|
7763 | done |
|
|
7764 | |
|
|
7765 | |
|
|
7766 | for ac_func in nanosleep |
8820 | for ac_func in nanosleep |
7767 | do : |
8821 | do : |
7768 | ac_fn_c_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep" |
8822 | ac_fn_c_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep" |
7769 | if test "x$ac_cv_func_nanosleep" = xyes; then : |
8823 | if test "x$ac_cv_func_nanosleep" = xyes |
7770 | cat >>confdefs.h <<_ACEOF |
8824 | then : |
7771 | #define HAVE_NANOSLEEP 1 |
8825 | printf "%s\n" "#define HAVE_NANOSLEEP 1" >>confdefs.h |
7772 | _ACEOF |
|
|
7773 | |
8826 | |
7774 | else |
8827 | else $as_nop |
7775 | |
8828 | |
7776 | if test -z "$LIBEV_M4_AVOID_LIBRT"; then |
8829 | if test -z "$LIBEV_M4_AVOID_LIBRT"; then |
7777 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep in -lrt" >&5 |
8830 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for nanosleep in -lrt" >&5 |
7778 | $as_echo_n "checking for nanosleep in -lrt... " >&6; } |
8831 | printf %s "checking for nanosleep in -lrt... " >&6; } |
7779 | if ${ac_cv_lib_rt_nanosleep+:} false; then : |
8832 | if test ${ac_cv_lib_rt_nanosleep+y} |
7780 | $as_echo_n "(cached) " >&6 |
8833 | then : |
7781 | else |
8834 | printf %s "(cached) " >&6 |
|
|
8835 | else $as_nop |
7782 | ac_check_lib_save_LIBS=$LIBS |
8836 | ac_check_lib_save_LIBS=$LIBS |
7783 | LIBS="-lrt $LIBS" |
8837 | LIBS="-lrt $LIBS" |
7784 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
8838 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7785 | /* end confdefs.h. */ |
8839 | /* end confdefs.h. */ |
7786 | |
8840 | |
7787 | /* Override any GCC internal prototype to avoid an error. |
8841 | /* Override any GCC internal prototype to avoid an error. |
7788 | Use char because int might match the return type of a GCC |
8842 | Use char because int might match the return type of a GCC |
7789 | builtin and then its argument prototype would still apply. */ |
8843 | builtin and then its argument prototype would still apply. */ |
7790 | #ifdef __cplusplus |
|
|
7791 | extern "C" |
|
|
7792 | #endif |
|
|
7793 | char nanosleep (); |
8844 | char nanosleep (); |
7794 | int |
8845 | int |
7795 | main () |
8846 | main (void) |
7796 | { |
8847 | { |
7797 | return nanosleep (); |
8848 | return nanosleep (); |
7798 | ; |
8849 | ; |
7799 | return 0; |
8850 | return 0; |
7800 | } |
8851 | } |
7801 | _ACEOF |
8852 | _ACEOF |
7802 | if ac_fn_c_try_link "$LINENO"; then : |
8853 | if ac_fn_c_try_link "$LINENO" |
|
|
8854 | then : |
7803 | ac_cv_lib_rt_nanosleep=yes |
8855 | ac_cv_lib_rt_nanosleep=yes |
7804 | else |
8856 | else $as_nop |
7805 | ac_cv_lib_rt_nanosleep=no |
8857 | ac_cv_lib_rt_nanosleep=no |
7806 | fi |
8858 | fi |
7807 | rm -f core conftest.err conftest.$ac_objext \ |
8859 | rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
7808 | conftest$ac_exeext conftest.$ac_ext |
8860 | conftest$ac_exeext conftest.$ac_ext |
7809 | LIBS=$ac_check_lib_save_LIBS |
8861 | LIBS=$ac_check_lib_save_LIBS |
7810 | fi |
8862 | fi |
7811 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_nanosleep" >&5 |
8863 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_nanosleep" >&5 |
7812 | $as_echo "$ac_cv_lib_rt_nanosleep" >&6; } |
8864 | printf "%s\n" "$ac_cv_lib_rt_nanosleep" >&6; } |
7813 | if test "x$ac_cv_lib_rt_nanosleep" = xyes; then : |
8865 | if test "x$ac_cv_lib_rt_nanosleep" = xyes |
7814 | cat >>confdefs.h <<_ACEOF |
8866 | then : |
7815 | #define HAVE_LIBRT 1 |
8867 | printf "%s\n" "#define HAVE_LIBRT 1" >>confdefs.h |
7816 | _ACEOF |
|
|
7817 | |
8868 | |
7818 | LIBS="-lrt $LIBS" |
8869 | LIBS="-lrt $LIBS" |
7819 | |
8870 | |
7820 | fi |
8871 | fi |
7821 | |
8872 | |
7822 | unset ac_cv_func_nanosleep |
8873 | unset ac_cv_func_nanosleep |
7823 | for ac_func in nanosleep |
|
|
7824 | do : |
|
|
7825 | ac_fn_c_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep" |
8874 | ac_fn_c_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep" |
7826 | if test "x$ac_cv_func_nanosleep" = xyes; then : |
8875 | if test "x$ac_cv_func_nanosleep" = xyes |
7827 | cat >>confdefs.h <<_ACEOF |
8876 | then : |
7828 | #define HAVE_NANOSLEEP 1 |
8877 | printf "%s\n" "#define HAVE_NANOSLEEP 1" >>confdefs.h |
7829 | _ACEOF |
|
|
7830 | |
8878 | |
7831 | fi |
8879 | fi |
|
|
8880 | |
|
|
8881 | fi |
|
|
8882 | |
|
|
8883 | fi |
|
|
8884 | |
7832 | done |
8885 | done |
7833 | |
8886 | |
7834 | fi |
8887 | ac_fn_c_check_type "$LINENO" "__kernel_rwf_t" "ac_cv_type___kernel_rwf_t" "#include <linux/fs.h> |
|
|
8888 | " |
|
|
8889 | if test "x$ac_cv_type___kernel_rwf_t" = xyes |
|
|
8890 | then : |
7835 | |
8891 | |
|
|
8892 | |
|
|
8893 | printf "%s\n" "#define HAVE_KERNEL_RWF_T 1" >>confdefs.h |
|
|
8894 | |
|
|
8895 | |
7836 | fi |
8896 | fi |
7837 | done |
|
|
7838 | |
8897 | |
7839 | |
8898 | |
7840 | if test -z "$LIBEV_M4_AVOID_LIBM"; then |
8899 | if test -z "$LIBEV_M4_AVOID_LIBM"; then |
7841 | LIBM=m |
8900 | LIBM=m |
7842 | fi |
8901 | fi |
7843 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing floor" >&5 |
8902 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing floor" >&5 |
7844 | $as_echo_n "checking for library containing floor... " >&6; } |
8903 | printf %s "checking for library containing floor... " >&6; } |
7845 | if ${ac_cv_search_floor+:} false; then : |
8904 | if test ${ac_cv_search_floor+y} |
7846 | $as_echo_n "(cached) " >&6 |
8905 | then : |
7847 | else |
8906 | printf %s "(cached) " >&6 |
|
|
8907 | else $as_nop |
7848 | ac_func_search_save_LIBS=$LIBS |
8908 | ac_func_search_save_LIBS=$LIBS |
7849 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
8909 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7850 | /* end confdefs.h. */ |
8910 | /* end confdefs.h. */ |
7851 | |
8911 | |
7852 | /* Override any GCC internal prototype to avoid an error. |
8912 | /* Override any GCC internal prototype to avoid an error. |
7853 | Use char because int might match the return type of a GCC |
8913 | Use char because int might match the return type of a GCC |
7854 | builtin and then its argument prototype would still apply. */ |
8914 | builtin and then its argument prototype would still apply. */ |
7855 | #ifdef __cplusplus |
|
|
7856 | extern "C" |
|
|
7857 | #endif |
|
|
7858 | char floor (); |
8915 | char floor (); |
7859 | int |
8916 | int |
7860 | main () |
8917 | main (void) |
7861 | { |
8918 | { |
7862 | return floor (); |
8919 | return floor (); |
7863 | ; |
8920 | ; |
7864 | return 0; |
8921 | return 0; |
7865 | } |
8922 | } |
7866 | _ACEOF |
8923 | _ACEOF |
7867 | for ac_lib in '' $LIBM; do |
8924 | for ac_lib in '' $LIBM |
|
|
8925 | do |
7868 | if test -z "$ac_lib"; then |
8926 | if test -z "$ac_lib"; then |
7869 | ac_res="none required" |
8927 | ac_res="none required" |
7870 | else |
8928 | else |
7871 | ac_res=-l$ac_lib |
8929 | ac_res=-l$ac_lib |
7872 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
8930 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
7873 | fi |
8931 | fi |
7874 | if ac_fn_c_try_link "$LINENO"; then : |
8932 | if ac_fn_c_try_link "$LINENO" |
|
|
8933 | then : |
7875 | ac_cv_search_floor=$ac_res |
8934 | ac_cv_search_floor=$ac_res |
7876 | fi |
8935 | fi |
7877 | rm -f core conftest.err conftest.$ac_objext \ |
8936 | rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
7878 | conftest$ac_exeext |
8937 | conftest$ac_exeext |
7879 | if ${ac_cv_search_floor+:} false; then : |
8938 | if test ${ac_cv_search_floor+y} |
|
|
8939 | then : |
7880 | break |
8940 | break |
7881 | fi |
8941 | fi |
7882 | done |
8942 | done |
7883 | if ${ac_cv_search_floor+:} false; then : |
8943 | if test ${ac_cv_search_floor+y} |
|
|
8944 | then : |
7884 | |
8945 | |
7885 | else |
8946 | else $as_nop |
7886 | ac_cv_search_floor=no |
8947 | ac_cv_search_floor=no |
7887 | fi |
8948 | fi |
7888 | rm conftest.$ac_ext |
8949 | rm conftest.$ac_ext |
7889 | LIBS=$ac_func_search_save_LIBS |
8950 | LIBS=$ac_func_search_save_LIBS |
7890 | fi |
8951 | fi |
7891 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_floor" >&5 |
8952 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_floor" >&5 |
7892 | $as_echo "$ac_cv_search_floor" >&6; } |
8953 | printf "%s\n" "$ac_cv_search_floor" >&6; } |
7893 | ac_res=$ac_cv_search_floor |
8954 | ac_res=$ac_cv_search_floor |
7894 | if test "$ac_res" != no; then : |
8955 | if test "$ac_res" != no |
|
|
8956 | then : |
7895 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
8957 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
7896 | |
8958 | |
7897 | $as_echo "#define HAVE_FLOOR 1" >>confdefs.h |
8959 | printf "%s\n" "#define HAVE_FLOOR 1" >>confdefs.h |
7898 | |
8960 | |
7899 | fi |
8961 | fi |
7900 | |
8962 | |
7901 | |
8963 | |
7902 | |
8964 | |
… | |
… | |
7934 | for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do |
8996 | for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do |
7935 | eval ac_val=\$$ac_var |
8997 | eval ac_val=\$$ac_var |
7936 | case $ac_val in #( |
8998 | case $ac_val in #( |
7937 | *${as_nl}*) |
8999 | *${as_nl}*) |
7938 | case $ac_var in #( |
9000 | case $ac_var in #( |
7939 | *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
9001 | *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
7940 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
9002 | printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
7941 | esac |
9003 | esac |
7942 | case $ac_var in #( |
9004 | case $ac_var in #( |
7943 | _ | IFS | as_nl) ;; #( |
9005 | _ | IFS | as_nl) ;; #( |
7944 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
9006 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
7945 | *) { eval $ac_var=; unset $ac_var;} ;; |
9007 | *) { eval $ac_var=; unset $ac_var;} ;; |
… | |
… | |
7965 | ) | |
9027 | ) | |
7966 | sed ' |
9028 | sed ' |
7967 | /^ac_cv_env_/b end |
9029 | /^ac_cv_env_/b end |
7968 | t clear |
9030 | t clear |
7969 | :clear |
9031 | :clear |
7970 | s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ |
9032 | s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/ |
7971 | t end |
9033 | t end |
7972 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
9034 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
7973 | :end' >>confcache |
9035 | :end' >>confcache |
7974 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
9036 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
7975 | if test -w "$cache_file"; then |
9037 | if test -w "$cache_file"; then |
7976 | if test "x$cache_file" != "x/dev/null"; then |
9038 | if test "x$cache_file" != "x/dev/null"; then |
7977 | { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
9039 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
7978 | $as_echo "$as_me: updating cache $cache_file" >&6;} |
9040 | printf "%s\n" "$as_me: updating cache $cache_file" >&6;} |
7979 | if test ! -f "$cache_file" || test -h "$cache_file"; then |
9041 | if test ! -f "$cache_file" || test -h "$cache_file"; then |
7980 | cat confcache >"$cache_file" |
9042 | cat confcache >"$cache_file" |
7981 | else |
9043 | else |
7982 | case $cache_file in #( |
9044 | case $cache_file in #( |
7983 | */* | ?:*) |
9045 | */* | ?:*) |
… | |
… | |
7987 | mv -f confcache "$cache_file" ;; |
9049 | mv -f confcache "$cache_file" ;; |
7988 | esac |
9050 | esac |
7989 | fi |
9051 | fi |
7990 | fi |
9052 | fi |
7991 | else |
9053 | else |
7992 | { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
9054 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
7993 | $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
9055 | printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;} |
7994 | fi |
9056 | fi |
7995 | fi |
9057 | fi |
7996 | rm -f confcache |
9058 | rm -f confcache |
7997 | |
9059 | |
7998 | |
9060 | |
7999 | |
9061 | |
8000 | # Check whether --with-kernel was given. |
9062 | # Check whether --with-kernel was given. |
8001 | if test "${with_kernel+set}" = set; then : |
9063 | if test ${with_kernel+y} |
|
|
9064 | then : |
8002 | withval=$with_kernel; kerneldir="$withval" |
9065 | withval=$with_kernel; kerneldir="$withval" |
8003 | else |
9066 | else $as_nop |
8004 | kerneldir="/usr/src/linux" |
9067 | kerneldir="/usr/src/linux" |
8005 | |
9068 | |
8006 | fi |
9069 | fi |
8007 | |
9070 | |
8008 | |
9071 | |
8009 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for linux/if_tun.h" >&5 |
9072 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for linux/if_tun.h" >&5 |
8010 | $as_echo_n "checking for linux/if_tun.h... " >&6; } |
9073 | printf %s "checking for linux/if_tun.h... " >&6; } |
8011 | if ${tinc_cv_linux_if_tun_h+:} false; then : |
9074 | if test ${tinc_cv_linux_if_tun_h+y} |
8012 | $as_echo_n "(cached) " >&6 |
9075 | then : |
8013 | else |
9076 | printf %s "(cached) " >&6 |
|
|
9077 | else $as_nop |
8014 | |
9078 | |
8015 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
9079 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
8016 | /* end confdefs.h. */ |
9080 | /* end confdefs.h. */ |
8017 | #include "$kerneldir/include/linux/if_tun.h" |
9081 | #include "$kerneldir/include/linux/if_tun.h" |
8018 | int |
9082 | int |
8019 | main () |
9083 | main (void) |
8020 | { |
9084 | { |
8021 | int a = IFF_TAP; |
9085 | int a = IFF_TAP; |
8022 | ; |
9086 | ; |
8023 | return 0; |
9087 | return 0; |
8024 | } |
9088 | } |
8025 | _ACEOF |
9089 | _ACEOF |
8026 | if ac_fn_cxx_try_compile "$LINENO"; then : |
9090 | if ac_fn_cxx_try_compile "$LINENO" |
|
|
9091 | then : |
8027 | if_tun_h="\"$kerneldir/include/linux/if_tun.h\"" |
9092 | if_tun_h="\"$kerneldir/include/linux/if_tun.h\"" |
8028 | else |
9093 | else $as_nop |
8029 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
9094 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
8030 | /* end confdefs.h. */ |
9095 | /* end confdefs.h. */ |
8031 | #include <linux/if_tun.h> |
9096 | #include <linux/if_tun.h> |
8032 | int |
9097 | int |
8033 | main () |
9098 | main (void) |
8034 | { |
9099 | { |
8035 | int a = IFF_TAP; |
9100 | int a = IFF_TAP; |
8036 | ; |
9101 | ; |
8037 | return 0; |
9102 | return 0; |
8038 | } |
9103 | } |
8039 | _ACEOF |
9104 | _ACEOF |
8040 | if ac_fn_cxx_try_compile "$LINENO"; then : |
9105 | if ac_fn_cxx_try_compile "$LINENO" |
|
|
9106 | then : |
8041 | if_tun_h="default" |
9107 | if_tun_h="default" |
8042 | else |
9108 | else $as_nop |
8043 | if_tun_h="no" |
9109 | if_tun_h="no" |
8044 | |
9110 | |
8045 | fi |
9111 | fi |
8046 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
9112 | rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
8047 | |
9113 | |
8048 | fi |
9114 | fi |
8049 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
9115 | rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
8050 | |
9116 | |
8051 | if test $if_tun_h = no; then |
9117 | if test $if_tun_h = no; then |
8052 | tinc_cv_linux_if_tun_h=none |
9118 | tinc_cv_linux_if_tun_h=none |
8053 | else |
9119 | else |
8054 | tinc_cv_linux_if_tun_h="$if_tun_h" |
9120 | tinc_cv_linux_if_tun_h="$if_tun_h" |
8055 | fi |
9121 | fi |
8056 | |
9122 | |
8057 | fi |
9123 | fi |
8058 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tinc_cv_linux_if_tun_h" >&5 |
9124 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $tinc_cv_linux_if_tun_h" >&5 |
8059 | $as_echo "$tinc_cv_linux_if_tun_h" >&6; } |
9125 | printf "%s\n" "$tinc_cv_linux_if_tun_h" >&6; } |
8060 | |
9126 | |
8061 | if test $tinc_cv_linux_if_tun_h != none; then |
9127 | if test $tinc_cv_linux_if_tun_h != none; then |
8062 | |
9128 | |
8063 | $as_echo "#define HAVE_TUNTAP 1" >>confdefs.h |
9129 | printf "%s\n" "#define HAVE_TUNTAP 1" >>confdefs.h |
8064 | |
9130 | |
8065 | if test $tinc_cv_linux_if_tun_h != default; then |
9131 | if test $tinc_cv_linux_if_tun_h != default; then |
8066 | |
9132 | |
8067 | cat >>confdefs.h <<_ACEOF |
|
|
8068 | #define LINUX_IF_TUN_H $tinc_cv_linux_if_tun_h |
9133 | printf "%s\n" "#define LINUX_IF_TUN_H $tinc_cv_linux_if_tun_h" >>confdefs.h |
8069 | _ACEOF |
|
|
8070 | |
9134 | |
8071 | fi |
9135 | fi |
8072 | fi |
9136 | fi |
8073 | |
9137 | |
8074 | |
9138 | |
8075 | |
9139 | |
8076 | |
9140 | |
8077 | |
9141 | |
8078 | tinc_ac_save_CPPFLAGS="$CPPFLAGS" |
|
|
8079 | |
9142 | |
8080 | |
9143 | |
8081 | # Check whether --with-openssl-include was given. |
|
|
8082 | if test "${with_openssl_include+set}" = set; then : |
|
|
8083 | withval=$with_openssl_include; openssl_include="$withval" |
|
|
8084 | CFLAGS="$CFLAGS -I$withval" |
|
|
8085 | CPPFLAGS="$CPPFLAGS -I$withval" |
|
|
8086 | |
9144 | |
8087 | fi |
|
|
8088 | |
9145 | |
8089 | |
9146 | |
8090 | |
9147 | |
8091 | # Check whether --with-openssl-lib was given. |
9148 | if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then |
8092 | if test "${with_openssl_lib+set}" = set; then : |
9149 | if test -n "$ac_tool_prefix"; then |
8093 | withval=$with_openssl_lib; openssl_lib="$withval" |
9150 | # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. |
8094 | LIBS="$LIBS -L$withval" |
9151 | set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 |
|
|
9152 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
|
9153 | printf %s "checking for $ac_word... " >&6; } |
|
|
9154 | if test ${ac_cv_path_PKG_CONFIG+y} |
|
|
9155 | then : |
|
|
9156 | printf %s "(cached) " >&6 |
|
|
9157 | else $as_nop |
|
|
9158 | case $PKG_CONFIG in |
|
|
9159 | [\\/]* | ?:[\\/]*) |
|
|
9160 | ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
|
|
9161 | ;; |
|
|
9162 | *) |
|
|
9163 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
9164 | for as_dir in $PATH |
|
|
9165 | do |
|
|
9166 | IFS=$as_save_IFS |
|
|
9167 | case $as_dir in #((( |
|
|
9168 | '') as_dir=./ ;; |
|
|
9169 | */) ;; |
|
|
9170 | *) as_dir=$as_dir/ ;; |
|
|
9171 | esac |
|
|
9172 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
9173 | if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
|
|
9174 | ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext" |
|
|
9175 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
|
|
9176 | break 2 |
|
|
9177 | fi |
|
|
9178 | done |
|
|
9179 | done |
|
|
9180 | IFS=$as_save_IFS |
8095 | |
9181 | |
|
|
9182 | ;; |
|
|
9183 | esac |
8096 | fi |
9184 | fi |
8097 | |
9185 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
8098 | |
9186 | if test -n "$PKG_CONFIG"; then |
8099 | for ac_header in openssl/evp.h openssl/rsa.h openssl/rand.h openssl/err.h openssl/sha.h openssl/pem.h |
9187 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 |
8100 | do : |
9188 | printf "%s\n" "$PKG_CONFIG" >&6; } |
8101 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
|
8102 | ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
|
|
8103 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
|
|
8104 | cat >>confdefs.h <<_ACEOF |
|
|
8105 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
|
|
8106 | _ACEOF |
|
|
8107 | |
|
|
8108 | else |
9189 | else |
8109 | as_fn_error $? "OpenSSL header files not found." "$LINENO" 5; break |
9190 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
8110 | |
9191 | printf "%s\n" "no" >&6; } |
8111 | fi |
9192 | fi |
8112 | |
9193 | |
|
|
9194 | |
|
|
9195 | fi |
|
|
9196 | if test -z "$ac_cv_path_PKG_CONFIG"; then |
|
|
9197 | ac_pt_PKG_CONFIG=$PKG_CONFIG |
|
|
9198 | # Extract the first word of "pkg-config", so it can be a program name with args. |
|
|
9199 | set dummy pkg-config; ac_word=$2 |
|
|
9200 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
|
9201 | printf %s "checking for $ac_word... " >&6; } |
|
|
9202 | if test ${ac_cv_path_ac_pt_PKG_CONFIG+y} |
|
|
9203 | then : |
|
|
9204 | printf %s "(cached) " >&6 |
|
|
9205 | else $as_nop |
|
|
9206 | case $ac_pt_PKG_CONFIG in |
|
|
9207 | [\\/]* | ?:[\\/]*) |
|
|
9208 | ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. |
|
|
9209 | ;; |
|
|
9210 | *) |
|
|
9211 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
9212 | for as_dir in $PATH |
|
|
9213 | do |
|
|
9214 | IFS=$as_save_IFS |
|
|
9215 | case $as_dir in #((( |
|
|
9216 | '') as_dir=./ ;; |
|
|
9217 | */) ;; |
|
|
9218 | *) as_dir=$as_dir/ ;; |
|
|
9219 | esac |
|
|
9220 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
9221 | if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
|
|
9222 | ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext" |
|
|
9223 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
|
|
9224 | break 2 |
|
|
9225 | fi |
8113 | done |
9226 | done |
|
|
9227 | done |
|
|
9228 | IFS=$as_save_IFS |
8114 | |
9229 | |
8115 | |
9230 | ;; |
8116 | CPPFLAGS="$tinc_ac_save_CPPFLAGS" |
9231 | esac |
8117 | |
9232 | fi |
8118 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SHA1_Init in -lcrypto" >&5 |
9233 | ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG |
8119 | $as_echo_n "checking for SHA1_Init in -lcrypto... " >&6; } |
9234 | if test -n "$ac_pt_PKG_CONFIG"; then |
8120 | if ${ac_cv_lib_crypto_SHA1_Init+:} false; then : |
9235 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 |
8121 | $as_echo_n "(cached) " >&6 |
9236 | printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; } |
8122 | else |
9237 | else |
8123 | ac_check_lib_save_LIBS=$LIBS |
9238 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
8124 | LIBS="-lcrypto $LIBS" |
9239 | printf "%s\n" "no" >&6; } |
8125 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
9240 | fi |
8126 | /* end confdefs.h. */ |
|
|
8127 | |
9241 | |
8128 | /* Override any GCC internal prototype to avoid an error. |
9242 | if test "x$ac_pt_PKG_CONFIG" = x; then |
8129 | Use char because int might match the return type of a GCC |
9243 | PKG_CONFIG="" |
8130 | builtin and then its argument prototype would still apply. */ |
9244 | else |
8131 | #ifdef __cplusplus |
9245 | case $cross_compiling:$ac_tool_warned in |
8132 | extern "C" |
9246 | yes:) |
8133 | #endif |
9247 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
8134 | char SHA1_Init (); |
9248 | printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
8135 | int |
9249 | ac_tool_warned=yes ;; |
8136 | main () |
9250 | esac |
8137 | { |
9251 | PKG_CONFIG=$ac_pt_PKG_CONFIG |
8138 | return SHA1_Init (); |
9252 | fi |
8139 | ; |
|
|
8140 | return 0; |
|
|
8141 | } |
|
|
8142 | _ACEOF |
|
|
8143 | if ac_fn_cxx_try_link "$LINENO"; then : |
|
|
8144 | ac_cv_lib_crypto_SHA1_Init=yes |
|
|
8145 | else |
9253 | else |
8146 | ac_cv_lib_crypto_SHA1_Init=no |
9254 | PKG_CONFIG="$ac_cv_path_PKG_CONFIG" |
|
|
9255 | fi |
|
|
9256 | |
|
|
9257 | fi |
|
|
9258 | if test -n "$PKG_CONFIG"; then |
|
|
9259 | _pkg_min_version=0.9.0 |
|
|
9260 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 |
|
|
9261 | printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; } |
|
|
9262 | if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then |
|
|
9263 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
|
9264 | printf "%s\n" "yes" >&6; } |
|
|
9265 | else |
|
|
9266 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
9267 | printf "%s\n" "no" >&6; } |
|
|
9268 | PKG_CONFIG="" |
8147 | fi |
9269 | fi |
8148 | rm -f core conftest.err conftest.$ac_objext \ |
|
|
8149 | conftest$ac_exeext conftest.$ac_ext |
|
|
8150 | LIBS=$ac_check_lib_save_LIBS |
|
|
8151 | fi |
9270 | fi |
8152 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_SHA1_Init" >&5 |
9271 | |
8153 | $as_echo "$ac_cv_lib_crypto_SHA1_Init" >&6; } |
9272 | pkg_failed=no |
8154 | if test "x$ac_cv_lib_crypto_SHA1_Init" = xyes; then : |
9273 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libcrypto >= 1" >&5 |
8155 | LIBS="$LIBS -lcrypto" |
9274 | printf %s "checking for libcrypto >= 1... " >&6; } |
|
|
9275 | |
|
|
9276 | if test -n "$LIBCRYPTO_CFLAGS"; then |
|
|
9277 | pkg_cv_LIBCRYPTO_CFLAGS="$LIBCRYPTO_CFLAGS" |
|
|
9278 | elif test -n "$PKG_CONFIG"; then |
|
|
9279 | if test -n "$PKG_CONFIG" && \ |
|
|
9280 | { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcrypto >= 1\""; } >&5 |
|
|
9281 | ($PKG_CONFIG --exists --print-errors "libcrypto >= 1") 2>&5 |
|
|
9282 | ac_status=$? |
|
|
9283 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
|
9284 | test $ac_status = 0; }; then |
|
|
9285 | pkg_cv_LIBCRYPTO_CFLAGS=`$PKG_CONFIG --cflags "libcrypto >= 1" 2>/dev/null` |
|
|
9286 | test "x$?" != "x0" && pkg_failed=yes |
8156 | else |
9287 | else |
8157 | as_fn_error $? "OpenSSL libraries not found." "$LINENO" 5 |
9288 | pkg_failed=yes |
8158 | |
|
|
8159 | fi |
9289 | fi |
8160 | |
9290 | else |
8161 | |
9291 | pkg_failed=untried |
8162 | for ac_func in RAND_pseudo_bytes OPENSSL_add_all_algorithms_noconf OpenSSL_add_all_algorithms SSLeay_add_all_algorithms |
|
|
8163 | do : |
|
|
8164 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
|
|
8165 | ac_fn_cxx_check_func "$LINENO" "$ac_func" "$as_ac_var" |
|
|
8166 | if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
|
|
8167 | cat >>confdefs.h <<_ACEOF |
|
|
8168 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
|
|
8169 | _ACEOF |
|
|
8170 | |
|
|
8171 | fi |
9292 | fi |
8172 | done |
9293 | if test -n "$LIBCRYPTO_LIBS"; then |
8173 | |
9294 | pkg_cv_LIBCRYPTO_LIBS="$LIBCRYPTO_LIBS" |
8174 | |
9295 | elif test -n "$PKG_CONFIG"; then |
8175 | ac_fn_cxx_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" |
9296 | if test -n "$PKG_CONFIG" && \ |
8176 | if test "x$ac_cv_func_dlopen" = xyes; then : |
9297 | { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcrypto >= 1\""; } >&5 |
8177 | |
9298 | ($PKG_CONFIG --exists --print-errors "libcrypto >= 1") 2>&5 |
|
|
9299 | ac_status=$? |
|
|
9300 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
|
9301 | test $ac_status = 0; }; then |
|
|
9302 | pkg_cv_LIBCRYPTO_LIBS=`$PKG_CONFIG --libs "libcrypto >= 1" 2>/dev/null` |
|
|
9303 | test "x$?" != "x0" && pkg_failed=yes |
8178 | else |
9304 | else |
8179 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 |
9305 | pkg_failed=yes |
8180 | $as_echo_n "checking for dlopen in -ldl... " >&6; } |
9306 | fi |
8181 | if ${ac_cv_lib_dl_dlopen+:} false; then : |
9307 | else |
8182 | $as_echo_n "(cached) " >&6 |
9308 | pkg_failed=untried |
|
|
9309 | fi |
|
|
9310 | |
|
|
9311 | |
|
|
9312 | |
|
|
9313 | if test $pkg_failed = yes; then |
|
|
9314 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
9315 | printf "%s\n" "no" >&6; } |
|
|
9316 | |
|
|
9317 | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
|
|
9318 | _pkg_short_errors_supported=yes |
8183 | else |
9319 | else |
8184 | ac_check_lib_save_LIBS=$LIBS |
9320 | _pkg_short_errors_supported=no |
8185 | LIBS="-ldl $LIBS" |
9321 | fi |
8186 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
9322 | if test $_pkg_short_errors_supported = yes; then |
8187 | /* end confdefs.h. */ |
9323 | LIBCRYPTO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcrypto >= 1" 2>&1` |
|
|
9324 | else |
|
|
9325 | LIBCRYPTO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcrypto >= 1" 2>&1` |
|
|
9326 | fi |
|
|
9327 | # Put the nasty error message in config.log where it belongs |
|
|
9328 | echo "$LIBCRYPTO_PKG_ERRORS" >&5 |
8188 | |
9329 | |
8189 | /* Override any GCC internal prototype to avoid an error. |
9330 | as_fn_error $? "Package requirements (libcrypto >= 1) were not met: |
8190 | Use char because int might match the return type of a GCC |
9331 | |
8191 | builtin and then its argument prototype would still apply. */ |
9332 | $LIBCRYPTO_PKG_ERRORS |
8192 | #ifdef __cplusplus |
9333 | |
8193 | extern "C" |
9334 | Consider adjusting the PKG_CONFIG_PATH environment variable if you |
8194 | #endif |
9335 | installed software in a non-standard prefix. |
8195 | char dlopen (); |
9336 | |
8196 | int |
9337 | Alternatively, you may set the environment variables LIBCRYPTO_CFLAGS |
8197 | main () |
9338 | and LIBCRYPTO_LIBS to avoid the need to call pkg-config. |
8198 | { |
9339 | See the pkg-config man page for more details." "$LINENO" 5 |
8199 | return dlopen (); |
9340 | elif test $pkg_failed = untried; then |
8200 | ; |
9341 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
8201 | return 0; |
9342 | printf "%s\n" "no" >&6; } |
8202 | } |
9343 | { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
8203 | _ACEOF |
9344 | printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
8204 | if ac_fn_cxx_try_link "$LINENO"; then : |
9345 | as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it |
8205 | ac_cv_lib_dl_dlopen=yes |
9346 | is in your PATH or set the PKG_CONFIG environment variable to the full |
|
|
9347 | path to pkg-config. |
|
|
9348 | |
|
|
9349 | Alternatively, you may set the environment variables LIBCRYPTO_CFLAGS |
|
|
9350 | and LIBCRYPTO_LIBS to avoid the need to call pkg-config. |
|
|
9351 | See the pkg-config man page for more details. |
|
|
9352 | |
|
|
9353 | To get pkg-config, see <http://pkg-config.freedesktop.org/>. |
|
|
9354 | See \`config.log' for more details" "$LINENO" 5; } |
8206 | else |
9355 | else |
8207 | ac_cv_lib_dl_dlopen=no |
9356 | LIBCRYPTO_CFLAGS=$pkg_cv_LIBCRYPTO_CFLAGS |
8208 | fi |
9357 | LIBCRYPTO_LIBS=$pkg_cv_LIBCRYPTO_LIBS |
8209 | rm -f core conftest.err conftest.$ac_objext \ |
9358 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
8210 | conftest$ac_exeext conftest.$ac_ext |
9359 | printf "%s\n" "yes" >&6; } |
8211 | LIBS=$ac_check_lib_save_LIBS |
|
|
8212 | fi |
|
|
8213 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 |
|
|
8214 | $as_echo "$ac_cv_lib_dl_dlopen" >&6; } |
|
|
8215 | if test "x$ac_cv_lib_dl_dlopen" = xyes; then : |
|
|
8216 | LIBS="$LIBS -ldl" |
|
|
8217 | else |
|
|
8218 | as_fn_error $? "OpenSSL depends on libdl." "$LINENO" 5 |
|
|
8219 | |
9360 | |
8220 | fi |
|
|
8221 | |
|
|
8222 | |
|
|
8223 | fi |
|
|
8224 | |
|
|
8225 | |
|
|
8226 | ac_fn_cxx_check_func "$LINENO" "inflate" "ac_cv_func_inflate" |
|
|
8227 | if test "x$ac_cv_func_inflate" = xyes; then : |
|
|
8228 | |
|
|
8229 | else |
|
|
8230 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5 |
|
|
8231 | $as_echo_n "checking for inflate in -lz... " >&6; } |
|
|
8232 | if ${ac_cv_lib_z_inflate+:} false; then : |
|
|
8233 | $as_echo_n "(cached) " >&6 |
|
|
8234 | else |
|
|
8235 | ac_check_lib_save_LIBS=$LIBS |
|
|
8236 | LIBS="-lz $LIBS" |
|
|
8237 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
8238 | /* end confdefs.h. */ |
|
|
8239 | |
|
|
8240 | /* Override any GCC internal prototype to avoid an error. |
|
|
8241 | Use char because int might match the return type of a GCC |
|
|
8242 | builtin and then its argument prototype would still apply. */ |
|
|
8243 | #ifdef __cplusplus |
|
|
8244 | extern "C" |
|
|
8245 | #endif |
|
|
8246 | char inflate (); |
|
|
8247 | int |
|
|
8248 | main () |
|
|
8249 | { |
|
|
8250 | return inflate (); |
|
|
8251 | ; |
|
|
8252 | return 0; |
|
|
8253 | } |
|
|
8254 | _ACEOF |
|
|
8255 | if ac_fn_cxx_try_link "$LINENO"; then : |
|
|
8256 | ac_cv_lib_z_inflate=yes |
|
|
8257 | else |
|
|
8258 | ac_cv_lib_z_inflate=no |
|
|
8259 | fi |
|
|
8260 | rm -f core conftest.err conftest.$ac_objext \ |
|
|
8261 | conftest$ac_exeext conftest.$ac_ext |
|
|
8262 | LIBS=$ac_check_lib_save_LIBS |
|
|
8263 | fi |
|
|
8264 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5 |
|
|
8265 | $as_echo "$ac_cv_lib_z_inflate" >&6; } |
|
|
8266 | if test "x$ac_cv_lib_z_inflate" = xyes; then : |
|
|
8267 | LIBS="$LIBS -lz" |
|
|
8268 | else |
|
|
8269 | as_fn_error $? "OpenSSL depends on libz." "$LINENO" 5 |
|
|
8270 | |
|
|
8271 | fi |
|
|
8272 | |
|
|
8273 | |
|
|
8274 | fi |
|
|
8275 | |
|
|
8276 | |
|
|
8277 | if test "x$openssl_include" != x; then |
|
|
8278 | CXXFLAGS="$CXXFLAGS -I$openssl_include" |
|
|
8279 | fi |
9361 | fi |
8280 | |
9362 | |
8281 | # Check whether --enable-threads was given. |
9363 | # Check whether --enable-threads was given. |
8282 | if test "${enable_threads+set}" = set; then : |
9364 | if test ${enable_threads+y} |
|
|
9365 | then : |
8283 | enableval=$enable_threads; try_threads=$enableval |
9366 | enableval=$enable_threads; try_threads=$enableval |
8284 | else |
9367 | else $as_nop |
8285 | try_threads=yes |
9368 | try_threads=yes |
8286 | |
9369 | |
8287 | fi |
9370 | fi |
8288 | |
9371 | |
8289 | |
9372 | |
8290 | if test "x$try_threads" = xyes; then |
9373 | if test "x$try_threads" = xyes; then |
8291 | ac_fn_cxx_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default" |
9374 | ac_fn_cxx_check_header_compile "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default" |
8292 | if test "x$ac_cv_header_pthread_h" = xyes; then : |
9375 | if test "x$ac_cv_header_pthread_h" = xyes |
|
|
9376 | then : |
8293 | |
9377 | |
8294 | LIBS="$LIBS -lpthread" |
9378 | LIBS="$LIBS -lpthread" |
8295 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
9379 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
8296 | /* end confdefs.h. */ |
9380 | /* end confdefs.h. */ |
8297 | #include <pthread.h> |
9381 | #include <pthread.h> |
8298 | int |
9382 | int |
8299 | main () |
9383 | main (void) |
8300 | { |
9384 | { |
8301 | pthread_t id; pthread_create (&id, 0, 0, 0); |
9385 | pthread_t id; pthread_create (&id, 0, 0, 0); |
8302 | ; |
9386 | ; |
8303 | return 0; |
9387 | return 0; |
8304 | } |
9388 | } |
8305 | _ACEOF |
9389 | _ACEOF |
8306 | if ac_fn_cxx_try_compile "$LINENO"; then : |
9390 | if ac_fn_cxx_try_compile "$LINENO" |
|
|
9391 | then : |
8307 | |
9392 | |
8308 | cat >>confdefs.h <<_ACEOF |
9393 | printf "%s\n" "#define ENABLE_PTHREADS 1" >>confdefs.h |
8309 | #define ENABLE_PTHREADS 1 |
|
|
8310 | _ACEOF |
|
|
8311 | |
9394 | |
8312 | |
9395 | |
8313 | fi |
9396 | fi |
8314 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
9397 | rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext |
8315 | |
9398 | |
8316 | fi |
9399 | fi |
8317 | |
|
|
8318 | |
9400 | |
8319 | fi |
9401 | fi |
8320 | |
9402 | |
8321 | # Check whether --enable-static-daemon was given. |
9403 | # Check whether --enable-static-daemon was given. |
8322 | if test "${enable_static_daemon+set}" = set; then : |
9404 | if test ${enable_static_daemon+y} |
|
|
9405 | then : |
8323 | enableval=$enable_static_daemon; LDFLAGS_DAEMON=-static |
9406 | enableval=$enable_static_daemon; LDFLAGS_DAEMON=-static |
8324 | |
9407 | |
8325 | fi |
9408 | fi |
8326 | |
9409 | |
8327 | |
9410 | |
8328 | |
9411 | |
8329 | |
9412 | |
8330 | |
|
|
8331 | |
|
|
8332 | if test x$rohc = xtrue; then |
9413 | if test x$rohc = xtrue; then |
8333 | ROHC_TRUE= |
9414 | ROHC_TRUE= |
8334 | ROHC_FALSE='#' |
9415 | ROHC_FALSE='#' |
8335 | else |
9416 | else |
8336 | ROHC_TRUE='#' |
9417 | ROHC_TRUE='#' |
8337 | ROHC_FALSE= |
9418 | ROHC_FALSE= |
… | |
… | |
8339 | |
9420 | |
8340 | |
9421 | |
8341 | |
9422 | |
8342 | ICMP=1 |
9423 | ICMP=1 |
8343 | # Check whether --enable-icmp was given. |
9424 | # Check whether --enable-icmp was given. |
8344 | if test "${enable_icmp+set}" = set; then : |
9425 | if test ${enable_icmp+y} |
|
|
9426 | then : |
8345 | enableval=$enable_icmp; if test "x$enableval" = xno; then |
9427 | enableval=$enable_icmp; if test "x$enableval" = xno; then |
8346 | ICMP=0 |
9428 | ICMP=0 |
8347 | fi |
9429 | fi |
8348 | |
9430 | |
8349 | fi |
9431 | fi |
8350 | |
9432 | |
8351 | if test "x$ICMP" = x1; then |
9433 | if test "x$ICMP" = x1; then |
8352 | |
9434 | |
8353 | cat >>confdefs.h <<_ACEOF |
9435 | printf "%s\n" "#define ENABLE_ICMP 1" >>confdefs.h |
8354 | #define ENABLE_ICMP 1 |
|
|
8355 | _ACEOF |
|
|
8356 | |
9436 | |
8357 | fi |
9437 | fi |
8358 | |
9438 | |
8359 | TCP=1 |
9439 | TCP=1 |
8360 | # Check whether --enable-tcp was given. |
9440 | # Check whether --enable-tcp was given. |
8361 | if test "${enable_tcp+set}" = set; then : |
9441 | if test ${enable_tcp+y} |
|
|
9442 | then : |
8362 | enableval=$enable_tcp; if test "x$enableval" = xno; then |
9443 | enableval=$enable_tcp; if test "x$enableval" = xno; then |
8363 | TCP=0 |
9444 | TCP=0 |
8364 | fi |
9445 | fi |
8365 | |
9446 | |
8366 | fi |
9447 | fi |
8367 | |
9448 | |
8368 | if test "x$TCP" = x1; then |
9449 | if test "x$TCP" = x1; then |
8369 | |
9450 | |
8370 | cat >>confdefs.h <<_ACEOF |
9451 | printf "%s\n" "#define ENABLE_TCP 1" >>confdefs.h |
8371 | #define ENABLE_TCP 1 |
|
|
8372 | _ACEOF |
|
|
8373 | |
9452 | |
8374 | fi |
9453 | fi |
8375 | |
9454 | |
8376 | HTTP=1 |
9455 | HTTP=1 |
8377 | # Check whether --enable-http-proxy was given. |
9456 | # Check whether --enable-http-proxy was given. |
8378 | if test "${enable_http_proxy+set}" = set; then : |
9457 | if test ${enable_http_proxy+y} |
|
|
9458 | then : |
8379 | enableval=$enable_http_proxy; if test "x$enableval" = xno; then |
9459 | enableval=$enable_http_proxy; if test "x$enableval" = xno; then |
8380 | HTTP=0 |
9460 | HTTP=0 |
8381 | fi |
9461 | fi |
8382 | |
9462 | |
8383 | fi |
9463 | fi |
8384 | |
9464 | |
8385 | if test "x$HTTP" = x1; then |
9465 | if test "x$HTTP" = x1; then |
8386 | |
9466 | |
8387 | cat >>confdefs.h <<_ACEOF |
9467 | printf "%s\n" "#define ENABLE_HTTP_PROXY 1" >>confdefs.h |
8388 | #define ENABLE_HTTP_PROXY 1 |
|
|
8389 | _ACEOF |
|
|
8390 | |
9468 | |
8391 | fi |
9469 | fi |
8392 | |
9470 | |
8393 | # Check whether --enable-dns was given. |
9471 | # Check whether --enable-dns was given. |
8394 | if test "${enable_dns+set}" = set; then : |
9472 | if test ${enable_dns+y} |
|
|
9473 | then : |
8395 | enableval=$enable_dns; |
9474 | enableval=$enable_dns; |
8396 | ac_fn_cxx_check_header_mongrel "$LINENO" "gmp.h" "ac_cv_header_gmp_h" "$ac_includes_default" |
9475 | ac_fn_cxx_check_header_compile "$LINENO" "gmp.h" "ac_cv_header_gmp_h" "$ac_includes_default" |
8397 | if test "x$ac_cv_header_gmp_h" = xyes; then : |
9476 | if test "x$ac_cv_header_gmp_h" = xyes |
|
|
9477 | then : |
8398 | |
9478 | |
8399 | else |
9479 | else $as_nop |
8400 | as_fn_error $? "gmp.h not found, required for --enable-dns" "$LINENO" 5 |
9480 | as_fn_error $? "gmp.h not found, required for --enable-dns" "$LINENO" 5 |
8401 | fi |
9481 | fi |
8402 | |
9482 | |
8403 | |
|
|
8404 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lgmp" >&5 |
9483 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for main in -lgmp" >&5 |
8405 | $as_echo_n "checking for main in -lgmp... " >&6; } |
9484 | printf %s "checking for main in -lgmp... " >&6; } |
8406 | if ${ac_cv_lib_gmp_main+:} false; then : |
9485 | if test ${ac_cv_lib_gmp_main+y} |
8407 | $as_echo_n "(cached) " >&6 |
9486 | then : |
8408 | else |
9487 | printf %s "(cached) " >&6 |
|
|
9488 | else $as_nop |
8409 | ac_check_lib_save_LIBS=$LIBS |
9489 | ac_check_lib_save_LIBS=$LIBS |
8410 | LIBS="-lgmp $LIBS" |
9490 | LIBS="-lgmp $LIBS" |
8411 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
9491 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
8412 | /* end confdefs.h. */ |
9492 | /* end confdefs.h. */ |
8413 | |
9493 | |
8414 | |
9494 | namespace conftest { |
|
|
9495 | extern "C" int main (); |
|
|
9496 | } |
8415 | int |
9497 | int |
8416 | main () |
9498 | main (void) |
8417 | { |
9499 | { |
8418 | return main (); |
9500 | return conftest::main (); |
8419 | ; |
9501 | ; |
8420 | return 0; |
9502 | return 0; |
8421 | } |
9503 | } |
8422 | _ACEOF |
9504 | _ACEOF |
8423 | if ac_fn_cxx_try_link "$LINENO"; then : |
9505 | if ac_fn_cxx_try_link "$LINENO" |
|
|
9506 | then : |
8424 | ac_cv_lib_gmp_main=yes |
9507 | ac_cv_lib_gmp_main=yes |
8425 | else |
9508 | else $as_nop |
8426 | ac_cv_lib_gmp_main=no |
9509 | ac_cv_lib_gmp_main=no |
8427 | fi |
9510 | fi |
8428 | rm -f core conftest.err conftest.$ac_objext \ |
9511 | rm -f core conftest.err conftest.$ac_objext conftest.beam \ |
8429 | conftest$ac_exeext conftest.$ac_ext |
9512 | conftest$ac_exeext conftest.$ac_ext |
8430 | LIBS=$ac_check_lib_save_LIBS |
9513 | LIBS=$ac_check_lib_save_LIBS |
8431 | fi |
9514 | fi |
8432 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gmp_main" >&5 |
9515 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gmp_main" >&5 |
8433 | $as_echo "$ac_cv_lib_gmp_main" >&6; } |
9516 | printf "%s\n" "$ac_cv_lib_gmp_main" >&6; } |
8434 | if test "x$ac_cv_lib_gmp_main" = xyes; then : |
9517 | if test "x$ac_cv_lib_gmp_main" = xyes |
8435 | cat >>confdefs.h <<_ACEOF |
9518 | then : |
8436 | #define HAVE_LIBGMP 1 |
9519 | printf "%s\n" "#define HAVE_LIBGMP 1" >>confdefs.h |
8437 | _ACEOF |
|
|
8438 | |
9520 | |
8439 | LIBS="-lgmp $LIBS" |
9521 | LIBS="-lgmp $LIBS" |
8440 | |
9522 | |
8441 | else |
9523 | else $as_nop |
8442 | as_fn_error $? "libgmp not found, required for --enable-dns" "$LINENO" 5 |
9524 | as_fn_error $? "libgmp not found, required for --enable-dns" "$LINENO" 5 |
8443 | fi |
9525 | fi |
8444 | |
9526 | |
8445 | |
9527 | |
8446 | |
9528 | |
8447 | cat >>confdefs.h <<_ACEOF |
9529 | printf "%s\n" "#define ENABLE_DNS 1" >>confdefs.h |
8448 | #define ENABLE_DNS 1 |
|
|
8449 | _ACEOF |
|
|
8450 | |
9530 | |
8451 | |
9531 | |
8452 | |
9532 | |
8453 | fi |
9533 | fi |
8454 | |
9534 | |
8455 | |
9535 | |
8456 | RSA=3072 |
9536 | RSA=3072 |
8457 | # Check whether --enable-rsa-length was given. |
9537 | # Check whether --enable-rsa-length was given. |
8458 | if test "${enable_rsa_length+set}" = set; then : |
9538 | if test ${enable_rsa_length+y} |
|
|
9539 | then : |
8459 | enableval=$enable_rsa_length; RSA=$enableval |
9540 | enableval=$enable_rsa_length; RSA=$enableval |
8460 | |
9541 | |
8461 | fi |
9542 | fi |
8462 | |
9543 | |
8463 | |
9544 | |
8464 | cat >>confdefs.h <<_ACEOF |
9545 | printf "%s\n" "#define RSABITS $RSA" >>confdefs.h |
8465 | #define RSABITS $RSA |
|
|
8466 | _ACEOF |
|
|
8467 | |
9546 | |
8468 | |
9547 | |
8469 | HMACSIZE=12 |
9548 | HMACSIZE=12 |
8470 | # Check whether --enable-hmac-length was given. |
9549 | # Check whether --enable-hmac-length was given. |
8471 | if test "${enable_hmac_length+set}" = set; then : |
9550 | if test ${enable_hmac_length+y} |
|
|
9551 | then : |
8472 | enableval=$enable_hmac_length; HMACSIZE=$enableval |
9552 | enableval=$enable_hmac_length; HMACSIZE=$enableval |
8473 | |
9553 | |
8474 | fi |
9554 | fi |
8475 | |
9555 | |
8476 | |
9556 | |
8477 | cat >>confdefs.h <<_ACEOF |
9557 | printf "%s\n" "#define HMACLENGTH $HMACSIZE" >>confdefs.h |
8478 | #define HMACLENGTH $HMACSIZE |
|
|
8479 | _ACEOF |
|
|
8480 | |
9558 | |
8481 | |
9559 | |
8482 | MTU=1500 |
9560 | MTU=1500 |
8483 | # Check whether --enable-max-mtu was given. |
9561 | # Check whether --enable-max-mtu was given. |
8484 | if test "${enable_max_mtu+set}" = set; then : |
9562 | if test ${enable_max_mtu+y} |
|
|
9563 | then : |
8485 | enableval=$enable_max_mtu; MTU=$enableval |
9564 | enableval=$enable_max_mtu; MTU=$enableval |
8486 | |
9565 | |
8487 | fi |
9566 | fi |
8488 | |
9567 | |
8489 | |
9568 | |
8490 | cat >>confdefs.h <<_ACEOF |
9569 | printf "%s\n" "#define MAX_MTU ($MTU + 14)" >>confdefs.h |
8491 | #define MAX_MTU ($MTU + 14) |
|
|
8492 | _ACEOF |
|
|
8493 | |
9570 | |
8494 | |
9571 | |
8495 | COMPRESS=1 |
9572 | COMPRESS=1 |
8496 | # Check whether --enable-compression was given. |
9573 | # Check whether --enable-compression was given. |
8497 | if test "${enable_compression+set}" = set; then : |
9574 | if test ${enable_compression+y} |
|
|
9575 | then : |
8498 | enableval=$enable_compression; if test "x$enableval" = xno; then |
9576 | enableval=$enable_compression; if test "x$enableval" = xno; then |
8499 | COMPRESS=0 |
9577 | COMPRESS=0 |
8500 | fi |
9578 | fi |
8501 | |
9579 | |
8502 | fi |
9580 | fi |
8503 | |
9581 | |
8504 | |
9582 | |
8505 | cat >>confdefs.h <<_ACEOF |
9583 | printf "%s\n" "#define ENABLE_COMPRESSION $COMPRESS" >>confdefs.h |
8506 | #define ENABLE_COMPRESSION $COMPRESS |
|
|
8507 | _ACEOF |
|
|
8508 | |
9584 | |
8509 | |
9585 | |
8510 | CIPHER=aes_128_ctr |
9586 | CIPHER=aes_128_ctr |
8511 | # Check whether --enable-cipher was given. |
9587 | # Check whether --enable-cipher was given. |
8512 | if test "${enable_cipher+set}" = set; then : |
9588 | if test ${enable_cipher+y} |
|
|
9589 | then : |
8513 | enableval=$enable_cipher; #if test "x$enableval" = xbf ; then CIPHER=bf_ctr ; fi |
9590 | enableval=$enable_cipher; #if test "x$enableval" = xbf ; then CIPHER=bf_ctr ; fi |
8514 | if test "x$enableval" = xaes-128 ; then CIPHER=aes_128_ctr ; fi |
9591 | if test "x$enableval" = xaes-128 ; then CIPHER=aes_128_ctr ; fi |
8515 | if test "x$enableval" = xaes-192 ; then CIPHER=aes_192_ctr ; fi |
9592 | if test "x$enableval" = xaes-192 ; then CIPHER=aes_192_ctr ; fi |
8516 | if test "x$enableval" = xaes-256 ; then CIPHER=aes_256_ctr ; fi |
9593 | if test "x$enableval" = xaes-256 ; then CIPHER=aes_256_ctr ; fi |
8517 | #if test "x$enableval" = xcamellia-128; then CIPHER=camellia_128_ctr; fi |
9594 | #if test "x$enableval" = xcamellia-128; then CIPHER=camellia_128_ctr; fi |
8518 | #if test "x$enableval" = xcamellia-256; then CIPHER=camellia_256_ctr; fi |
9595 | #if test "x$enableval" = xcamellia-256; then CIPHER=camellia_256_ctr; fi |
8519 | |
9596 | |
8520 | fi |
9597 | fi |
8521 | |
9598 | |
8522 | |
9599 | |
8523 | cat >>confdefs.h <<_ACEOF |
9600 | printf "%s\n" "#define ENABLE_CIPHER EVP_${CIPHER}" >>confdefs.h |
8524 | #define ENABLE_CIPHER EVP_${CIPHER} |
|
|
8525 | _ACEOF |
|
|
8526 | |
9601 | |
8527 | |
9602 | |
8528 | HMAC=sha1 |
9603 | HMAC=sha1 |
8529 | # Check whether --enable-hmac-digest was given. |
9604 | # Check whether --enable-hmac-digest was given. |
8530 | if test "${enable_hmac_digest+set}" = set; then : |
9605 | if test ${enable_hmac_digest+y} |
|
|
9606 | then : |
8531 | enableval=$enable_hmac_digest; if test "x$enableval" = xwhirlpool; then HMAC=whirlpool; fi |
9607 | enableval=$enable_hmac_digest; if test "x$enableval" = xwhirlpool; then HMAC=whirlpool; fi |
8532 | if test "x$enableval" = xsha512 ; then HMAC=sha512 ; fi |
9608 | if test "x$enableval" = xsha512 ; then HMAC=sha512 ; fi |
8533 | if test "x$enableval" = xsha256 ; then HMAC=sha256 ; fi |
9609 | if test "x$enableval" = xsha256 ; then HMAC=sha256 ; fi |
8534 | if test "x$enableval" = xsha1 ; then HMAC=sha1 ; fi |
9610 | if test "x$enableval" = xsha1 ; then HMAC=sha1 ; fi |
8535 | if test "x$enableval" = xripemd160; then HMAC=ripemd160; fi |
9611 | if test "x$enableval" = xripemd160; then HMAC=ripemd160; fi |
8536 | |
9612 | |
8537 | fi |
9613 | fi |
8538 | |
9614 | |
8539 | |
9615 | |
8540 | cat >>confdefs.h <<_ACEOF |
9616 | printf "%s\n" "#define ENABLE_HMAC EVP_${HMAC}" >>confdefs.h |
8541 | #define ENABLE_HMAC EVP_${HMAC} |
|
|
8542 | _ACEOF |
|
|
8543 | |
9617 | |
8544 | |
9618 | |
8545 | AUTH=sha512 |
9619 | AUTH=sha512 |
8546 | # Check whether --enable-auth-digest was given. |
9620 | # Check whether --enable-auth-digest was given. |
8547 | if test "${enable_auth_digest+set}" = set; then : |
9621 | if test ${enable_auth_digest+y} |
|
|
9622 | then : |
8548 | enableval=$enable_auth_digest; if test "x$enableval" = xwhirlpool; then AUTH=whirlpool; fi |
9623 | enableval=$enable_auth_digest; if test "x$enableval" = xwhirlpool; then AUTH=whirlpool; fi |
8549 | if test "x$enableval" = xsha512 ; then AUTH=sha512 ; fi |
9624 | if test "x$enableval" = xsha512 ; then AUTH=sha512 ; fi |
8550 | if test "x$enableval" = xsha256 ; then AUTH=sha256 ; fi |
9625 | if test "x$enableval" = xsha256 ; then AUTH=sha256 ; fi |
8551 | |
9626 | |
8552 | fi |
9627 | fi |
8553 | |
9628 | |
8554 | |
9629 | |
8555 | cat >>confdefs.h <<_ACEOF |
9630 | printf "%s\n" "#define ENABLE_AUTH EVP_${AUTH}" >>confdefs.h |
8556 | #define ENABLE_AUTH EVP_${AUTH} |
|
|
8557 | _ACEOF |
|
|
8558 | |
9631 | |
8559 | |
9632 | |
8560 | if $CXX -v --help 2>&1 | grep -q fno-rtti; then |
9633 | if $CXX -v --help 2>&1 | grep -q fno-rtti; then |
8561 | CXXFLAGS="$CXXFLAGS -fno-rtti" |
9634 | CXXFLAGS="$CXXFLAGS -fno-rtti" |
8562 | fi |
9635 | fi |
… | |
… | |
8597 | for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do |
9670 | for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do |
8598 | eval ac_val=\$$ac_var |
9671 | eval ac_val=\$$ac_var |
8599 | case $ac_val in #( |
9672 | case $ac_val in #( |
8600 | *${as_nl}*) |
9673 | *${as_nl}*) |
8601 | case $ac_var in #( |
9674 | case $ac_var in #( |
8602 | *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
9675 | *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
8603 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
9676 | printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
8604 | esac |
9677 | esac |
8605 | case $ac_var in #( |
9678 | case $ac_var in #( |
8606 | _ | IFS | as_nl) ;; #( |
9679 | _ | IFS | as_nl) ;; #( |
8607 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
9680 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
8608 | *) { eval $ac_var=; unset $ac_var;} ;; |
9681 | *) { eval $ac_var=; unset $ac_var;} ;; |
… | |
… | |
8628 | ) | |
9701 | ) | |
8629 | sed ' |
9702 | sed ' |
8630 | /^ac_cv_env_/b end |
9703 | /^ac_cv_env_/b end |
8631 | t clear |
9704 | t clear |
8632 | :clear |
9705 | :clear |
8633 | s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ |
9706 | s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/ |
8634 | t end |
9707 | t end |
8635 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
9708 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
8636 | :end' >>confcache |
9709 | :end' >>confcache |
8637 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
9710 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
8638 | if test -w "$cache_file"; then |
9711 | if test -w "$cache_file"; then |
8639 | if test "x$cache_file" != "x/dev/null"; then |
9712 | if test "x$cache_file" != "x/dev/null"; then |
8640 | { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
9713 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
8641 | $as_echo "$as_me: updating cache $cache_file" >&6;} |
9714 | printf "%s\n" "$as_me: updating cache $cache_file" >&6;} |
8642 | if test ! -f "$cache_file" || test -h "$cache_file"; then |
9715 | if test ! -f "$cache_file" || test -h "$cache_file"; then |
8643 | cat confcache >"$cache_file" |
9716 | cat confcache >"$cache_file" |
8644 | else |
9717 | else |
8645 | case $cache_file in #( |
9718 | case $cache_file in #( |
8646 | */* | ?:*) |
9719 | */* | ?:*) |
… | |
… | |
8650 | mv -f confcache "$cache_file" ;; |
9723 | mv -f confcache "$cache_file" ;; |
8651 | esac |
9724 | esac |
8652 | fi |
9725 | fi |
8653 | fi |
9726 | fi |
8654 | else |
9727 | else |
8655 | { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
9728 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
8656 | $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
9729 | printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;} |
8657 | fi |
9730 | fi |
8658 | fi |
9731 | fi |
8659 | rm -f confcache |
9732 | rm -f confcache |
8660 | |
9733 | |
8661 | test "x$prefix" = xNONE && prefix=$ac_default_prefix |
9734 | test "x$prefix" = xNONE && prefix=$ac_default_prefix |
… | |
… | |
8668 | ac_ltlibobjs= |
9741 | ac_ltlibobjs= |
8669 | U= |
9742 | U= |
8670 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
9743 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
8671 | # 1. Remove the extension, and $U if already installed. |
9744 | # 1. Remove the extension, and $U if already installed. |
8672 | ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
9745 | ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
8673 | ac_i=`$as_echo "$ac_i" | sed "$ac_script"` |
9746 | ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"` |
8674 | # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
9747 | # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
8675 | # will be set to the directory where LIBOBJS objects are built. |
9748 | # will be set to the directory where LIBOBJS objects are built. |
8676 | as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" |
9749 | as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" |
8677 | as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' |
9750 | as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' |
8678 | done |
9751 | done |
8679 | LIBOBJS=$ac_libobjs |
9752 | LIBOBJS=$ac_libobjs |
8680 | |
9753 | |
8681 | LTLIBOBJS=$ac_ltlibobjs |
9754 | LTLIBOBJS=$ac_ltlibobjs |
8682 | |
9755 | |
8683 | |
9756 | |
|
|
9757 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 |
|
|
9758 | printf %s "checking that generated files are newer than configure... " >&6; } |
|
|
9759 | if test -n "$am_sleep_pid"; then |
|
|
9760 | # Hide warnings about reused PIDs. |
|
|
9761 | wait $am_sleep_pid 2>/dev/null |
|
|
9762 | fi |
|
|
9763 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5 |
|
|
9764 | printf "%s\n" "done" >&6; } |
|
|
9765 | if test -n "$EXEEXT"; then |
|
|
9766 | am__EXEEXT_TRUE= |
|
|
9767 | am__EXEEXT_FALSE='#' |
|
|
9768 | else |
|
|
9769 | am__EXEEXT_TRUE='#' |
|
|
9770 | am__EXEEXT_FALSE= |
|
|
9771 | fi |
|
|
9772 | |
8684 | if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then |
9773 | if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then |
8685 | as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. |
9774 | as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. |
8686 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
9775 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
8687 | fi |
9776 | fi |
8688 | if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then |
9777 | if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then |
… | |
… | |
8704 | |
9793 | |
8705 | : "${CONFIG_STATUS=./config.status}" |
9794 | : "${CONFIG_STATUS=./config.status}" |
8706 | ac_write_fail=0 |
9795 | ac_write_fail=0 |
8707 | ac_clean_files_save=$ac_clean_files |
9796 | ac_clean_files_save=$ac_clean_files |
8708 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
9797 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
8709 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 |
9798 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 |
8710 | $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} |
9799 | printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;} |
8711 | as_write_fail=0 |
9800 | as_write_fail=0 |
8712 | cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 |
9801 | cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 |
8713 | #! $SHELL |
9802 | #! $SHELL |
8714 | # Generated by $as_me. |
9803 | # Generated by $as_me. |
8715 | # Run this file to recreate the current configuration. |
9804 | # Run this file to recreate the current configuration. |
… | |
… | |
8728 | ## M4sh Initialization. ## |
9817 | ## M4sh Initialization. ## |
8729 | ## -------------------- ## |
9818 | ## -------------------- ## |
8730 | |
9819 | |
8731 | # Be more Bourne compatible |
9820 | # Be more Bourne compatible |
8732 | DUALCASE=1; export DUALCASE # for MKS sh |
9821 | DUALCASE=1; export DUALCASE # for MKS sh |
|
|
9822 | as_nop=: |
8733 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : |
9823 | if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 |
|
|
9824 | then : |
8734 | emulate sh |
9825 | emulate sh |
8735 | NULLCMD=: |
9826 | NULLCMD=: |
8736 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
9827 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
8737 | # is contrary to our usage. Disable this feature. |
9828 | # is contrary to our usage. Disable this feature. |
8738 | alias -g '${1+"$@"}'='"$@"' |
9829 | alias -g '${1+"$@"}'='"$@"' |
8739 | setopt NO_GLOB_SUBST |
9830 | setopt NO_GLOB_SUBST |
8740 | else |
9831 | else $as_nop |
8741 | case `(set -o) 2>/dev/null` in #( |
9832 | case `(set -o) 2>/dev/null` in #( |
8742 | *posix*) : |
9833 | *posix*) : |
8743 | set -o posix ;; #( |
9834 | set -o posix ;; #( |
8744 | *) : |
9835 | *) : |
8745 | ;; |
9836 | ;; |
8746 | esac |
9837 | esac |
8747 | fi |
9838 | fi |
8748 | |
9839 | |
8749 | |
9840 | |
|
|
9841 | |
|
|
9842 | # Reset variables that may have inherited troublesome values from |
|
|
9843 | # the environment. |
|
|
9844 | |
|
|
9845 | # IFS needs to be set, to space, tab, and newline, in precisely that order. |
|
|
9846 | # (If _AS_PATH_WALK were called with IFS unset, it would have the |
|
|
9847 | # side effect of setting IFS to empty, thus disabling word splitting.) |
|
|
9848 | # Quoting is to prevent editors from complaining about space-tab. |
8750 | as_nl=' |
9849 | as_nl=' |
8751 | ' |
9850 | ' |
8752 | export as_nl |
9851 | export as_nl |
8753 | # Printing a long string crashes Solaris 7 /usr/bin/printf. |
9852 | IFS=" "" $as_nl" |
8754 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
9853 | |
8755 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
9854 | PS1='$ ' |
8756 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
9855 | PS2='> ' |
8757 | # Prefer a ksh shell builtin over an external printf program on Solaris, |
9856 | PS4='+ ' |
8758 | # but without wasting forks for bash or zsh. |
9857 | |
8759 | if test -z "$BASH_VERSION$ZSH_VERSION" \ |
9858 | # Ensure predictable behavior from utilities with locale-dependent output. |
8760 | && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then |
9859 | LC_ALL=C |
8761 | as_echo='print -r --' |
9860 | export LC_ALL |
8762 | as_echo_n='print -rn --' |
9861 | LANGUAGE=C |
8763 | elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
9862 | export LANGUAGE |
8764 | as_echo='printf %s\n' |
9863 | |
8765 | as_echo_n='printf %s' |
9864 | # We cannot yet rely on "unset" to work, but we need these variables |
8766 | else |
9865 | # to be unset--not just set to an empty or harmless value--now, to |
8767 | if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then |
9866 | # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct |
8768 | as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' |
9867 | # also avoids known problems related to "unset" and subshell syntax |
8769 | as_echo_n='/usr/ucb/echo -n' |
9868 | # in other old shells (e.g. bash 2.01 and pdksh 5.2.14). |
8770 | else |
9869 | for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH |
8771 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
9870 | do eval test \${$as_var+y} \ |
8772 | as_echo_n_body='eval |
9871 | && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : |
8773 | arg=$1; |
9872 | done |
8774 | case $arg in #( |
9873 | |
8775 | *"$as_nl"*) |
9874 | # Ensure that fds 0, 1, and 2 are open. |
8776 | expr "X$arg" : "X\\(.*\\)$as_nl"; |
9875 | if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi |
8777 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
9876 | if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi |
8778 | esac; |
9877 | if (exec 3>&2) ; then :; else exec 2>/dev/null; fi |
8779 | expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" |
|
|
8780 | ' |
|
|
8781 | export as_echo_n_body |
|
|
8782 | as_echo_n='sh -c $as_echo_n_body as_echo' |
|
|
8783 | fi |
|
|
8784 | export as_echo_body |
|
|
8785 | as_echo='sh -c $as_echo_body as_echo' |
|
|
8786 | fi |
|
|
8787 | |
9878 | |
8788 | # The user is always right. |
9879 | # The user is always right. |
8789 | if test "${PATH_SEPARATOR+set}" != set; then |
9880 | if ${PATH_SEPARATOR+false} :; then |
8790 | PATH_SEPARATOR=: |
9881 | PATH_SEPARATOR=: |
8791 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
9882 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
8792 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
9883 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
8793 | PATH_SEPARATOR=';' |
9884 | PATH_SEPARATOR=';' |
8794 | } |
9885 | } |
8795 | fi |
9886 | fi |
8796 | |
9887 | |
8797 | |
|
|
8798 | # IFS |
|
|
8799 | # We need space, tab and new line, in precisely that order. Quoting is |
|
|
8800 | # there to prevent editors from complaining about space-tab. |
|
|
8801 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
|
|
8802 | # splitting by setting IFS to empty value.) |
|
|
8803 | IFS=" "" $as_nl" |
|
|
8804 | |
9888 | |
8805 | # Find who we are. Look in the path if we contain no directory separator. |
9889 | # Find who we are. Look in the path if we contain no directory separator. |
8806 | as_myself= |
9890 | as_myself= |
8807 | case $0 in #(( |
9891 | case $0 in #(( |
8808 | *[\\/]* ) as_myself=$0 ;; |
9892 | *[\\/]* ) as_myself=$0 ;; |
8809 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
9893 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
8810 | for as_dir in $PATH |
9894 | for as_dir in $PATH |
8811 | do |
9895 | do |
8812 | IFS=$as_save_IFS |
9896 | IFS=$as_save_IFS |
8813 | test -z "$as_dir" && as_dir=. |
9897 | case $as_dir in #((( |
|
|
9898 | '') as_dir=./ ;; |
|
|
9899 | */) ;; |
|
|
9900 | *) as_dir=$as_dir/ ;; |
|
|
9901 | esac |
8814 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
9902 | test -r "$as_dir$0" && as_myself=$as_dir$0 && break |
8815 | done |
9903 | done |
8816 | IFS=$as_save_IFS |
9904 | IFS=$as_save_IFS |
8817 | |
9905 | |
8818 | ;; |
9906 | ;; |
8819 | esac |
9907 | esac |
… | |
… | |
8821 | # in which case we are not to be found in the path. |
9909 | # in which case we are not to be found in the path. |
8822 | if test "x$as_myself" = x; then |
9910 | if test "x$as_myself" = x; then |
8823 | as_myself=$0 |
9911 | as_myself=$0 |
8824 | fi |
9912 | fi |
8825 | if test ! -f "$as_myself"; then |
9913 | if test ! -f "$as_myself"; then |
8826 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
9914 | printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
8827 | exit 1 |
9915 | exit 1 |
8828 | fi |
9916 | fi |
8829 | |
9917 | |
8830 | # Unset variables that we do not need and which cause bugs (e.g. in |
|
|
8831 | # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" |
|
|
8832 | # suppresses any "Segmentation fault" message there. '((' could |
|
|
8833 | # trigger a bug in pdksh 5.2.14. |
|
|
8834 | for as_var in BASH_ENV ENV MAIL MAILPATH |
|
|
8835 | do eval test x\${$as_var+set} = xset \ |
|
|
8836 | && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : |
|
|
8837 | done |
|
|
8838 | PS1='$ ' |
|
|
8839 | PS2='> ' |
|
|
8840 | PS4='+ ' |
|
|
8841 | |
|
|
8842 | # NLS nuisances. |
|
|
8843 | LC_ALL=C |
|
|
8844 | export LC_ALL |
|
|
8845 | LANGUAGE=C |
|
|
8846 | export LANGUAGE |
|
|
8847 | |
|
|
8848 | # CDPATH. |
|
|
8849 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
|
|
8850 | |
9918 | |
8851 | |
9919 | |
8852 | # as_fn_error STATUS ERROR [LINENO LOG_FD] |
9920 | # as_fn_error STATUS ERROR [LINENO LOG_FD] |
8853 | # ---------------------------------------- |
9921 | # ---------------------------------------- |
8854 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
9922 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
… | |
… | |
8857 | as_fn_error () |
9925 | as_fn_error () |
8858 | { |
9926 | { |
8859 | as_status=$1; test $as_status -eq 0 && as_status=1 |
9927 | as_status=$1; test $as_status -eq 0 && as_status=1 |
8860 | if test "$4"; then |
9928 | if test "$4"; then |
8861 | as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
9929 | as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
8862 | $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
9930 | printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
8863 | fi |
9931 | fi |
8864 | $as_echo "$as_me: error: $2" >&2 |
9932 | printf "%s\n" "$as_me: error: $2" >&2 |
8865 | as_fn_exit $as_status |
9933 | as_fn_exit $as_status |
8866 | } # as_fn_error |
9934 | } # as_fn_error |
|
|
9935 | |
8867 | |
9936 | |
8868 | |
9937 | |
8869 | # as_fn_set_status STATUS |
9938 | # as_fn_set_status STATUS |
8870 | # ----------------------- |
9939 | # ----------------------- |
8871 | # Set $? to STATUS, without forking. |
9940 | # Set $? to STATUS, without forking. |
… | |
… | |
8890 | as_fn_unset () |
9959 | as_fn_unset () |
8891 | { |
9960 | { |
8892 | { eval $1=; unset $1;} |
9961 | { eval $1=; unset $1;} |
8893 | } |
9962 | } |
8894 | as_unset=as_fn_unset |
9963 | as_unset=as_fn_unset |
|
|
9964 | |
8895 | # as_fn_append VAR VALUE |
9965 | # as_fn_append VAR VALUE |
8896 | # ---------------------- |
9966 | # ---------------------- |
8897 | # Append the text in VALUE to the end of the definition contained in VAR. Take |
9967 | # Append the text in VALUE to the end of the definition contained in VAR. Take |
8898 | # advantage of any shell optimizations that allow amortized linear growth over |
9968 | # advantage of any shell optimizations that allow amortized linear growth over |
8899 | # repeated appends, instead of the typical quadratic growth present in naive |
9969 | # repeated appends, instead of the typical quadratic growth present in naive |
8900 | # implementations. |
9970 | # implementations. |
8901 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : |
9971 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null |
|
|
9972 | then : |
8902 | eval 'as_fn_append () |
9973 | eval 'as_fn_append () |
8903 | { |
9974 | { |
8904 | eval $1+=\$2 |
9975 | eval $1+=\$2 |
8905 | }' |
9976 | }' |
8906 | else |
9977 | else $as_nop |
8907 | as_fn_append () |
9978 | as_fn_append () |
8908 | { |
9979 | { |
8909 | eval $1=\$$1\$2 |
9980 | eval $1=\$$1\$2 |
8910 | } |
9981 | } |
8911 | fi # as_fn_append |
9982 | fi # as_fn_append |
… | |
… | |
8913 | # as_fn_arith ARG... |
9984 | # as_fn_arith ARG... |
8914 | # ------------------ |
9985 | # ------------------ |
8915 | # Perform arithmetic evaluation on the ARGs, and store the result in the |
9986 | # Perform arithmetic evaluation on the ARGs, and store the result in the |
8916 | # global $as_val. Take advantage of shells that can avoid forks. The arguments |
9987 | # global $as_val. Take advantage of shells that can avoid forks. The arguments |
8917 | # must be portable across $(()) and expr. |
9988 | # must be portable across $(()) and expr. |
8918 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : |
9989 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null |
|
|
9990 | then : |
8919 | eval 'as_fn_arith () |
9991 | eval 'as_fn_arith () |
8920 | { |
9992 | { |
8921 | as_val=$(( $* )) |
9993 | as_val=$(( $* )) |
8922 | }' |
9994 | }' |
8923 | else |
9995 | else $as_nop |
8924 | as_fn_arith () |
9996 | as_fn_arith () |
8925 | { |
9997 | { |
8926 | as_val=`expr "$@" || test $? -eq 1` |
9998 | as_val=`expr "$@" || test $? -eq 1` |
8927 | } |
9999 | } |
8928 | fi # as_fn_arith |
10000 | fi # as_fn_arith |
… | |
… | |
8949 | |
10021 | |
8950 | as_me=`$as_basename -- "$0" || |
10022 | as_me=`$as_basename -- "$0" || |
8951 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
10023 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
8952 | X"$0" : 'X\(//\)$' \| \ |
10024 | X"$0" : 'X\(//\)$' \| \ |
8953 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
10025 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
8954 | $as_echo X/"$0" | |
10026 | printf "%s\n" X/"$0" | |
8955 | sed '/^.*\/\([^/][^/]*\)\/*$/{ |
10027 | sed '/^.*\/\([^/][^/]*\)\/*$/{ |
8956 | s//\1/ |
10028 | s//\1/ |
8957 | q |
10029 | q |
8958 | } |
10030 | } |
8959 | /^X\/\(\/\/\)$/{ |
10031 | /^X\/\(\/\/\)$/{ |
… | |
… | |
8971 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
10043 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
8972 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
10044 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
8973 | as_cr_digits='0123456789' |
10045 | as_cr_digits='0123456789' |
8974 | as_cr_alnum=$as_cr_Letters$as_cr_digits |
10046 | as_cr_alnum=$as_cr_Letters$as_cr_digits |
8975 | |
10047 | |
|
|
10048 | |
|
|
10049 | # Determine whether it's possible to make 'echo' print without a newline. |
|
|
10050 | # These variables are no longer used directly by Autoconf, but are AC_SUBSTed |
|
|
10051 | # for compatibility with existing Makefiles. |
8976 | ECHO_C= ECHO_N= ECHO_T= |
10052 | ECHO_C= ECHO_N= ECHO_T= |
8977 | case `echo -n x` in #((((( |
10053 | case `echo -n x` in #((((( |
8978 | -n*) |
10054 | -n*) |
8979 | case `echo 'xy\c'` in |
10055 | case `echo 'xy\c'` in |
8980 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
10056 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
… | |
… | |
8983 | ECHO_T=' ';; |
10059 | ECHO_T=' ';; |
8984 | esac;; |
10060 | esac;; |
8985 | *) |
10061 | *) |
8986 | ECHO_N='-n';; |
10062 | ECHO_N='-n';; |
8987 | esac |
10063 | esac |
|
|
10064 | |
|
|
10065 | # For backward compatibility with old third-party macros, we provide |
|
|
10066 | # the shell variables $as_echo and $as_echo_n. New code should use |
|
|
10067 | # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively. |
|
|
10068 | as_echo='printf %s\n' |
|
|
10069 | as_echo_n='printf %s' |
8988 | |
10070 | |
8989 | rm -f conf$$ conf$$.exe conf$$.file |
10071 | rm -f conf$$ conf$$.exe conf$$.file |
8990 | if test -d conf$$.dir; then |
10072 | if test -d conf$$.dir; then |
8991 | rm -f conf$$.dir/conf$$.file |
10073 | rm -f conf$$.dir/conf$$.file |
8992 | else |
10074 | else |
… | |
… | |
9025 | esac |
10107 | esac |
9026 | test -d "$as_dir" || eval $as_mkdir_p || { |
10108 | test -d "$as_dir" || eval $as_mkdir_p || { |
9027 | as_dirs= |
10109 | as_dirs= |
9028 | while :; do |
10110 | while :; do |
9029 | case $as_dir in #( |
10111 | case $as_dir in #( |
9030 | *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
10112 | *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
9031 | *) as_qdir=$as_dir;; |
10113 | *) as_qdir=$as_dir;; |
9032 | esac |
10114 | esac |
9033 | as_dirs="'$as_qdir' $as_dirs" |
10115 | as_dirs="'$as_qdir' $as_dirs" |
9034 | as_dir=`$as_dirname -- "$as_dir" || |
10116 | as_dir=`$as_dirname -- "$as_dir" || |
9035 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
10117 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
9036 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
10118 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
9037 | X"$as_dir" : 'X\(//\)$' \| \ |
10119 | X"$as_dir" : 'X\(//\)$' \| \ |
9038 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
10120 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
9039 | $as_echo X"$as_dir" | |
10121 | printf "%s\n" X"$as_dir" | |
9040 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
10122 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
9041 | s//\1/ |
10123 | s//\1/ |
9042 | q |
10124 | q |
9043 | } |
10125 | } |
9044 | /^X\(\/\/\)[^/].*/{ |
10126 | /^X\(\/\/\)[^/].*/{ |
… | |
… | |
9096 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
10178 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
9097 | # Save the log message, to keep $0 and so on meaningful, and to |
10179 | # Save the log message, to keep $0 and so on meaningful, and to |
9098 | # report actual input values of CONFIG_FILES etc. instead of their |
10180 | # report actual input values of CONFIG_FILES etc. instead of their |
9099 | # values after options handling. |
10181 | # values after options handling. |
9100 | ac_log=" |
10182 | ac_log=" |
9101 | This file was extended by $as_me, which was |
10183 | This file was extended by gvpe $as_me 3.1, which was |
9102 | generated by GNU Autoconf 2.69. Invocation command line was |
10184 | generated by GNU Autoconf 2.71. Invocation command line was |
9103 | |
10185 | |
9104 | CONFIG_FILES = $CONFIG_FILES |
10186 | CONFIG_FILES = $CONFIG_FILES |
9105 | CONFIG_HEADERS = $CONFIG_HEADERS |
10187 | CONFIG_HEADERS = $CONFIG_HEADERS |
9106 | CONFIG_LINKS = $CONFIG_LINKS |
10188 | CONFIG_LINKS = $CONFIG_LINKS |
9107 | CONFIG_COMMANDS = $CONFIG_COMMANDS |
10189 | CONFIG_COMMANDS = $CONFIG_COMMANDS |
… | |
… | |
9159 | $config_commands |
10241 | $config_commands |
9160 | |
10242 | |
9161 | Report bugs to the package provider." |
10243 | Report bugs to the package provider." |
9162 | |
10244 | |
9163 | _ACEOF |
10245 | _ACEOF |
|
|
10246 | ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"` |
|
|
10247 | ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"` |
9164 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
10248 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
9165 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
10249 | ac_cs_config='$ac_cs_config_escaped' |
9166 | ac_cs_version="\\ |
10250 | ac_cs_version="\\ |
9167 | config.status |
10251 | gvpe config.status 3.1 |
9168 | configured by $0, generated by GNU Autoconf 2.69, |
10252 | configured by $0, generated by GNU Autoconf 2.71, |
9169 | with options \\"\$ac_cs_config\\" |
10253 | with options \\"\$ac_cs_config\\" |
9170 | |
10254 | |
9171 | Copyright (C) 2012 Free Software Foundation, Inc. |
10255 | Copyright (C) 2021 Free Software Foundation, Inc. |
9172 | This config.status script is free software; the Free Software Foundation |
10256 | This config.status script is free software; the Free Software Foundation |
9173 | gives unlimited permission to copy, distribute and modify it." |
10257 | gives unlimited permission to copy, distribute and modify it." |
9174 | |
10258 | |
9175 | ac_pwd='$ac_pwd' |
10259 | ac_pwd='$ac_pwd' |
9176 | srcdir='$srcdir' |
10260 | srcdir='$srcdir' |
9177 | INSTALL='$INSTALL' |
10261 | INSTALL='$INSTALL' |
|
|
10262 | MKDIR_P='$MKDIR_P' |
9178 | AWK='$AWK' |
10263 | AWK='$AWK' |
9179 | test -n "\$AWK" || AWK=awk |
10264 | test -n "\$AWK" || AWK=awk |
9180 | _ACEOF |
10265 | _ACEOF |
9181 | |
10266 | |
9182 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
10267 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
… | |
… | |
9205 | case $ac_option in |
10290 | case $ac_option in |
9206 | # Handling of the options. |
10291 | # Handling of the options. |
9207 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
10292 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
9208 | ac_cs_recheck=: ;; |
10293 | ac_cs_recheck=: ;; |
9209 | --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) |
10294 | --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) |
9210 | $as_echo "$ac_cs_version"; exit ;; |
10295 | printf "%s\n" "$ac_cs_version"; exit ;; |
9211 | --config | --confi | --conf | --con | --co | --c ) |
10296 | --config | --confi | --conf | --con | --co | --c ) |
9212 | $as_echo "$ac_cs_config"; exit ;; |
10297 | printf "%s\n" "$ac_cs_config"; exit ;; |
9213 | --debug | --debu | --deb | --de | --d | -d ) |
10298 | --debug | --debu | --deb | --de | --d | -d ) |
9214 | debug=: ;; |
10299 | debug=: ;; |
9215 | --file | --fil | --fi | --f ) |
10300 | --file | --fil | --fi | --f ) |
9216 | $ac_shift |
10301 | $ac_shift |
9217 | case $ac_optarg in |
10302 | case $ac_optarg in |
9218 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
10303 | *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
9219 | '') as_fn_error $? "missing file argument" ;; |
10304 | '') as_fn_error $? "missing file argument" ;; |
9220 | esac |
10305 | esac |
9221 | as_fn_append CONFIG_FILES " '$ac_optarg'" |
10306 | as_fn_append CONFIG_FILES " '$ac_optarg'" |
9222 | ac_need_defaults=false;; |
10307 | ac_need_defaults=false;; |
9223 | --header | --heade | --head | --hea ) |
10308 | --header | --heade | --head | --hea ) |
9224 | $ac_shift |
10309 | $ac_shift |
9225 | case $ac_optarg in |
10310 | case $ac_optarg in |
9226 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
10311 | *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
9227 | esac |
10312 | esac |
9228 | as_fn_append CONFIG_HEADERS " '$ac_optarg'" |
10313 | as_fn_append CONFIG_HEADERS " '$ac_optarg'" |
9229 | ac_need_defaults=false;; |
10314 | ac_need_defaults=false;; |
9230 | --he | --h) |
10315 | --he | --h) |
9231 | # Conflict between --help and --header |
10316 | # Conflict between --help and --header |
9232 | as_fn_error $? "ambiguous option: \`$1' |
10317 | as_fn_error $? "ambiguous option: \`$1' |
9233 | Try \`$0 --help' for more information.";; |
10318 | Try \`$0 --help' for more information.";; |
9234 | --help | --hel | -h ) |
10319 | --help | --hel | -h ) |
9235 | $as_echo "$ac_cs_usage"; exit ;; |
10320 | printf "%s\n" "$ac_cs_usage"; exit ;; |
9236 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
10321 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
9237 | | -silent | --silent | --silen | --sile | --sil | --si | --s) |
10322 | | -silent | --silent | --silen | --sile | --sil | --si | --s) |
9238 | ac_cs_silent=: ;; |
10323 | ac_cs_silent=: ;; |
9239 | |
10324 | |
9240 | # This is an error. |
10325 | # This is an error. |
… | |
… | |
9258 | _ACEOF |
10343 | _ACEOF |
9259 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
10344 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
9260 | if \$ac_cs_recheck; then |
10345 | if \$ac_cs_recheck; then |
9261 | set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
10346 | set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
9262 | shift |
10347 | shift |
9263 | \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 |
10348 | \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6 |
9264 | CONFIG_SHELL='$SHELL' |
10349 | CONFIG_SHELL='$SHELL' |
9265 | export CONFIG_SHELL |
10350 | export CONFIG_SHELL |
9266 | exec "\$@" |
10351 | exec "\$@" |
9267 | fi |
10352 | fi |
9268 | |
10353 | |
… | |
… | |
9272 | { |
10357 | { |
9273 | echo |
10358 | echo |
9274 | sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX |
10359 | sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX |
9275 | ## Running $as_me. ## |
10360 | ## Running $as_me. ## |
9276 | _ASBOX |
10361 | _ASBOX |
9277 | $as_echo "$ac_log" |
10362 | printf "%s\n" "$ac_log" |
9278 | } >&5 |
10363 | } >&5 |
9279 | |
10364 | |
9280 | _ACEOF |
10365 | _ACEOF |
9281 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
10366 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
9282 | # |
10367 | # |
… | |
… | |
9287 | # from automake. |
10372 | # from automake. |
9288 | eval 'ALL_LINGUAS''="$ALL_LINGUAS"' |
10373 | eval 'ALL_LINGUAS''="$ALL_LINGUAS"' |
9289 | # Capture the value of LINGUAS because we need it to compute CATALOGS. |
10374 | # Capture the value of LINGUAS because we need it to compute CATALOGS. |
9290 | LINGUAS="${LINGUAS-%UNSET%}" |
10375 | LINGUAS="${LINGUAS-%UNSET%}" |
9291 | |
10376 | |
9292 | AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" |
10377 | AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}" |
9293 | |
10378 | |
9294 | _ACEOF |
10379 | _ACEOF |
9295 | |
10380 | |
9296 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
10381 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
9297 | |
10382 | |
… | |
… | |
9317 | # If the user did not use the arguments to specify the items to instantiate, |
10402 | # If the user did not use the arguments to specify the items to instantiate, |
9318 | # then the envvar interface is used. Set only those that are not. |
10403 | # then the envvar interface is used. Set only those that are not. |
9319 | # We use the long form for the default assignment because of an extremely |
10404 | # We use the long form for the default assignment because of an extremely |
9320 | # bizarre bug on SunOS 4.1.3. |
10405 | # bizarre bug on SunOS 4.1.3. |
9321 | if $ac_need_defaults; then |
10406 | if $ac_need_defaults; then |
9322 | test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files |
10407 | test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files |
9323 | test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers |
10408 | test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers |
9324 | test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands |
10409 | test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands |
9325 | fi |
10410 | fi |
9326 | |
10411 | |
9327 | # Have a temporary directory for convenience. Make it in the build tree |
10412 | # Have a temporary directory for convenience. Make it in the build tree |
9328 | # simply because there is no reason against having it here, and in addition, |
10413 | # simply because there is no reason against having it here, and in addition, |
9329 | # creating and moving files from /tmp can sometimes cause problems. |
10414 | # creating and moving files from /tmp can sometimes cause problems. |
… | |
… | |
9655 | [\\/$]*) false;; |
10740 | [\\/$]*) false;; |
9656 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
10741 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
9657 | esac || |
10742 | esac || |
9658 | as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; |
10743 | as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; |
9659 | esac |
10744 | esac |
9660 | case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
10745 | case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
9661 | as_fn_append ac_file_inputs " '$ac_f'" |
10746 | as_fn_append ac_file_inputs " '$ac_f'" |
9662 | done |
10747 | done |
9663 | |
10748 | |
9664 | # Let's still pretend it is `configure' which instantiates (i.e., don't |
10749 | # Let's still pretend it is `configure' which instantiates (i.e., don't |
9665 | # use $as_me), people would be surprised to read: |
10750 | # use $as_me), people would be surprised to read: |
9666 | # /* config.h. Generated by config.status. */ |
10751 | # /* config.h. Generated by config.status. */ |
9667 | configure_input='Generated from '` |
10752 | configure_input='Generated from '` |
9668 | $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' |
10753 | printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' |
9669 | `' by configure.' |
10754 | `' by configure.' |
9670 | if test x"$ac_file" != x-; then |
10755 | if test x"$ac_file" != x-; then |
9671 | configure_input="$ac_file. $configure_input" |
10756 | configure_input="$ac_file. $configure_input" |
9672 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 |
10757 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 |
9673 | $as_echo "$as_me: creating $ac_file" >&6;} |
10758 | printf "%s\n" "$as_me: creating $ac_file" >&6;} |
9674 | fi |
10759 | fi |
9675 | # Neutralize special characters interpreted by sed in replacement strings. |
10760 | # Neutralize special characters interpreted by sed in replacement strings. |
9676 | case $configure_input in #( |
10761 | case $configure_input in #( |
9677 | *\&* | *\|* | *\\* ) |
10762 | *\&* | *\|* | *\\* ) |
9678 | ac_sed_conf_input=`$as_echo "$configure_input" | |
10763 | ac_sed_conf_input=`printf "%s\n" "$configure_input" | |
9679 | sed 's/[\\\\&|]/\\\\&/g'`;; #( |
10764 | sed 's/[\\\\&|]/\\\\&/g'`;; #( |
9680 | *) ac_sed_conf_input=$configure_input;; |
10765 | *) ac_sed_conf_input=$configure_input;; |
9681 | esac |
10766 | esac |
9682 | |
10767 | |
9683 | case $ac_tag in |
10768 | case $ac_tag in |
… | |
… | |
9690 | ac_dir=`$as_dirname -- "$ac_file" || |
10775 | ac_dir=`$as_dirname -- "$ac_file" || |
9691 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
10776 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
9692 | X"$ac_file" : 'X\(//\)[^/]' \| \ |
10777 | X"$ac_file" : 'X\(//\)[^/]' \| \ |
9693 | X"$ac_file" : 'X\(//\)$' \| \ |
10778 | X"$ac_file" : 'X\(//\)$' \| \ |
9694 | X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || |
10779 | X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || |
9695 | $as_echo X"$ac_file" | |
10780 | printf "%s\n" X"$ac_file" | |
9696 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
10781 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
9697 | s//\1/ |
10782 | s//\1/ |
9698 | q |
10783 | q |
9699 | } |
10784 | } |
9700 | /^X\(\/\/\)[^/].*/{ |
10785 | /^X\(\/\/\)[^/].*/{ |
… | |
… | |
9714 | ac_builddir=. |
10799 | ac_builddir=. |
9715 | |
10800 | |
9716 | case "$ac_dir" in |
10801 | case "$ac_dir" in |
9717 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
10802 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
9718 | *) |
10803 | *) |
9719 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
10804 | ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'` |
9720 | # A ".." for each directory in $ac_dir_suffix. |
10805 | # A ".." for each directory in $ac_dir_suffix. |
9721 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
10806 | ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
9722 | case $ac_top_builddir_sub in |
10807 | case $ac_top_builddir_sub in |
9723 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
10808 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
9724 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
10809 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
9725 | esac ;; |
10810 | esac ;; |
9726 | esac |
10811 | esac |
… | |
… | |
9753 | # |
10838 | # |
9754 | |
10839 | |
9755 | case $INSTALL in |
10840 | case $INSTALL in |
9756 | [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
10841 | [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
9757 | *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; |
10842 | *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; |
|
|
10843 | esac |
|
|
10844 | ac_MKDIR_P=$MKDIR_P |
|
|
10845 | case $MKDIR_P in |
|
|
10846 | [\\/$]* | ?:[\\/]* ) ;; |
|
|
10847 | */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; |
9758 | esac |
10848 | esac |
9759 | _ACEOF |
10849 | _ACEOF |
9760 | |
10850 | |
9761 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
10851 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
9762 | # If the template does not know about datarootdir, expand it. |
10852 | # If the template does not know about datarootdir, expand it. |
… | |
… | |
9773 | /@localedir@/p |
10863 | /@localedir@/p |
9774 | /@mandir@/p' |
10864 | /@mandir@/p' |
9775 | case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in |
10865 | case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in |
9776 | *datarootdir*) ac_datarootdir_seen=yes;; |
10866 | *datarootdir*) ac_datarootdir_seen=yes;; |
9777 | *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) |
10867 | *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) |
9778 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 |
10868 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 |
9779 | $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} |
10869 | printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} |
9780 | _ACEOF |
10870 | _ACEOF |
9781 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
10871 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
9782 | ac_datarootdir_hack=' |
10872 | ac_datarootdir_hack=' |
9783 | s&@datadir@&$datadir&g |
10873 | s&@datadir@&$datadir&g |
9784 | s&@docdir@&$docdir&g |
10874 | s&@docdir@&$docdir&g |
… | |
… | |
9808 | s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t |
10898 | s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t |
9809 | s&@builddir@&$ac_builddir&;t t |
10899 | s&@builddir@&$ac_builddir&;t t |
9810 | s&@abs_builddir@&$ac_abs_builddir&;t t |
10900 | s&@abs_builddir@&$ac_abs_builddir&;t t |
9811 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
10901 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
9812 | s&@INSTALL@&$ac_INSTALL&;t t |
10902 | s&@INSTALL@&$ac_INSTALL&;t t |
|
|
10903 | s&@MKDIR_P@&$ac_MKDIR_P&;t t |
9813 | $ac_datarootdir_hack |
10904 | $ac_datarootdir_hack |
9814 | " |
10905 | " |
9815 | eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ |
10906 | eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ |
9816 | >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
10907 | >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
9817 | |
10908 | |
9818 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
10909 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
9819 | { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && |
10910 | { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && |
9820 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ |
10911 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ |
9821 | "$ac_tmp/out"`; test -z "$ac_out"; } && |
10912 | "$ac_tmp/out"`; test -z "$ac_out"; } && |
9822 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
10913 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
9823 | which seems to be undefined. Please make sure it is defined" >&5 |
10914 | which seems to be undefined. Please make sure it is defined" >&5 |
9824 | $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
10915 | printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
9825 | which seems to be undefined. Please make sure it is defined" >&2;} |
10916 | which seems to be undefined. Please make sure it is defined" >&2;} |
9826 | |
10917 | |
9827 | rm -f "$ac_tmp/stdin" |
10918 | rm -f "$ac_tmp/stdin" |
9828 | case $ac_file in |
10919 | case $ac_file in |
9829 | -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; |
10920 | -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; |
… | |
… | |
9835 | # |
10926 | # |
9836 | # CONFIG_HEADER |
10927 | # CONFIG_HEADER |
9837 | # |
10928 | # |
9838 | if test x"$ac_file" != x-; then |
10929 | if test x"$ac_file" != x-; then |
9839 | { |
10930 | { |
9840 | $as_echo "/* $configure_input */" \ |
10931 | printf "%s\n" "/* $configure_input */" >&1 \ |
9841 | && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" |
10932 | && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" |
9842 | } >"$ac_tmp/config.h" \ |
10933 | } >"$ac_tmp/config.h" \ |
9843 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
10934 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
9844 | if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then |
10935 | if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then |
9845 | { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 |
10936 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 |
9846 | $as_echo "$as_me: $ac_file is unchanged" >&6;} |
10937 | printf "%s\n" "$as_me: $ac_file is unchanged" >&6;} |
9847 | else |
10938 | else |
9848 | rm -f "$ac_file" |
10939 | rm -f "$ac_file" |
9849 | mv "$ac_tmp/config.h" "$ac_file" \ |
10940 | mv "$ac_tmp/config.h" "$ac_file" \ |
9850 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
10941 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
9851 | fi |
10942 | fi |
9852 | else |
10943 | else |
9853 | $as_echo "/* $configure_input */" \ |
10944 | printf "%s\n" "/* $configure_input */" >&1 \ |
9854 | && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ |
10945 | && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ |
9855 | || as_fn_error $? "could not create -" "$LINENO" 5 |
10946 | || as_fn_error $? "could not create -" "$LINENO" 5 |
9856 | fi |
10947 | fi |
9857 | # Compute "$ac_file"'s index in $config_headers. |
10948 | # Compute "$ac_file"'s index in $config_headers. |
|
|
10949 | _am_arg="$ac_file" |
9858 | _am_stamp_count=1 |
10950 | _am_stamp_count=1 |
9859 | for _am_header in $config_headers :; do |
10951 | for _am_header in $config_headers :; do |
9860 | case $_am_header in |
10952 | case $_am_header in |
9861 | "$ac_file" | "$ac_file":* ) |
10953 | $_am_arg | $_am_arg:* ) |
9862 | break ;; |
10954 | break ;; |
9863 | * ) |
10955 | * ) |
9864 | _am_stamp_count=`expr $_am_stamp_count + 1` ;; |
10956 | _am_stamp_count=`expr $_am_stamp_count + 1` ;; |
9865 | esac |
10957 | esac |
9866 | done |
10958 | done |
9867 | echo "timestamp for "$ac_file"" >`$as_dirname -- "$ac_file" || |
10959 | echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || |
9868 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
10960 | $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
9869 | X"$ac_file" : 'X\(//\)[^/]' \| \ |
10961 | X"$_am_arg" : 'X\(//\)[^/]' \| \ |
9870 | X"$ac_file" : 'X\(//\)$' \| \ |
10962 | X"$_am_arg" : 'X\(//\)$' \| \ |
9871 | X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || |
10963 | X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || |
9872 | $as_echo X"$ac_file" | |
10964 | printf "%s\n" X"$_am_arg" | |
9873 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
10965 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
9874 | s//\1/ |
10966 | s//\1/ |
9875 | q |
10967 | q |
9876 | } |
10968 | } |
9877 | /^X\(\/\/\)[^/].*/{ |
10969 | /^X\(\/\/\)[^/].*/{ |
… | |
… | |
9887 | q |
10979 | q |
9888 | } |
10980 | } |
9889 | s/.*/./; q'`/stamp-h$_am_stamp_count |
10981 | s/.*/./; q'`/stamp-h$_am_stamp_count |
9890 | ;; |
10982 | ;; |
9891 | |
10983 | |
9892 | :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 |
10984 | :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 |
9893 | $as_echo "$as_me: executing $ac_file commands" >&6;} |
10985 | printf "%s\n" "$as_me: executing $ac_file commands" >&6;} |
9894 | ;; |
10986 | ;; |
9895 | esac |
10987 | esac |
9896 | |
10988 | |
9897 | |
10989 | |
9898 | case $ac_file$ac_mode in |
10990 | case $ac_file$ac_mode in |
… | |
… | |
9990 | done |
11082 | done |
9991 | fi |
11083 | fi |
9992 | ;; |
11084 | ;; |
9993 | esac |
11085 | esac |
9994 | done ;; |
11086 | done ;; |
9995 | "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do |
11087 | "depfiles":C) test x"$AMDEP_TRUE" != x"" || { |
|
|
11088 | # Older Autoconf quotes --file arguments for eval, but not when files |
|
|
11089 | # are listed without --file. Let's play safe and only enable the eval |
|
|
11090 | # if we detect the quoting. |
|
|
11091 | # TODO: see whether this extra hack can be removed once we start |
|
|
11092 | # requiring Autoconf 2.70 or later. |
|
|
11093 | case $CONFIG_FILES in #( |
|
|
11094 | *\'*) : |
|
|
11095 | eval set x "$CONFIG_FILES" ;; #( |
|
|
11096 | *) : |
|
|
11097 | set x $CONFIG_FILES ;; #( |
|
|
11098 | *) : |
|
|
11099 | ;; |
|
|
11100 | esac |
|
|
11101 | shift |
|
|
11102 | # Used to flag and report bootstrapping failures. |
|
|
11103 | am_rc=0 |
|
|
11104 | for am_mf |
|
|
11105 | do |
9996 | # Strip MF so we end up with the name of the file. |
11106 | # Strip MF so we end up with the name of the file. |
9997 | mf=`echo "$mf" | sed -e 's/:.*$//'` |
11107 | am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'` |
9998 | # Check whether this is an Automake generated Makefile or not. |
11108 | # Check whether this is an Automake generated Makefile which includes |
9999 | # We used to match only the files named `Makefile.in', but |
11109 | # dependency-tracking related rules and includes. |
10000 | # some people rename them; so instead we look at the file content. |
11110 | # Grep'ing the whole file directly is not great: AIX grep has a line |
10001 | # Grep'ing the first line is not enough: some people post-process |
11111 | # limit of 2048, but all sed's we know have understand at least 4000. |
10002 | # each Makefile.in and add a new line on top of each file to say so. |
11112 | sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \ |
10003 | # So let's grep whole file. |
11113 | || continue |
10004 | if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then |
|
|
10005 | dirpart=`$as_dirname -- "$mf" || |
11114 | am_dirpart=`$as_dirname -- "$am_mf" || |
10006 | $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
11115 | $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
10007 | X"$mf" : 'X\(//\)[^/]' \| \ |
11116 | X"$am_mf" : 'X\(//\)[^/]' \| \ |
10008 | X"$mf" : 'X\(//\)$' \| \ |
11117 | X"$am_mf" : 'X\(//\)$' \| \ |
10009 | X"$mf" : 'X\(/\)' \| . 2>/dev/null || |
11118 | X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || |
10010 | $as_echo X"$mf" | |
11119 | printf "%s\n" X"$am_mf" | |
10011 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
11120 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
10012 | s//\1/ |
11121 | s//\1/ |
10013 | q |
11122 | q |
10014 | } |
11123 | } |
10015 | /^X\(\/\/\)[^/].*/{ |
11124 | /^X\(\/\/\)[^/].*/{ |
… | |
… | |
10023 | /^X\(\/\).*/{ |
11132 | /^X\(\/\).*/{ |
10024 | s//\1/ |
11133 | s//\1/ |
10025 | q |
11134 | q |
10026 | } |
11135 | } |
10027 | s/.*/./; q'` |
11136 | s/.*/./; q'` |
10028 | else |
11137 | am_filepart=`$as_basename -- "$am_mf" || |
10029 | continue |
|
|
10030 | fi |
|
|
10031 | grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue |
|
|
10032 | # Extract the definition of DEP_FILES from the Makefile without |
|
|
10033 | # running `make'. |
|
|
10034 | DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"` |
|
|
10035 | test -z "$DEPDIR" && continue |
|
|
10036 | # When using ansi2knr, U may be empty or an underscore; expand it |
|
|
10037 | U=`sed -n -e '/^U = / s///p' < "$mf"` |
|
|
10038 | test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR" |
|
|
10039 | # We invoke sed twice because it is the simplest approach to |
|
|
10040 | # changing $(DEPDIR) to its actual value in the expansion. |
|
|
10041 | for file in `sed -n -e ' |
|
|
10042 | /^DEP_FILES = .*\\\\$/ { |
|
|
10043 | s/^DEP_FILES = // |
|
|
10044 | :loop |
|
|
10045 | s/\\\\$// |
|
|
10046 | p |
|
|
10047 | n |
|
|
10048 | /\\\\$/ b loop |
|
|
10049 | p |
|
|
10050 | } |
|
|
10051 | /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \ |
|
|
10052 | sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do |
|
|
10053 | # Make sure the directory exists. |
|
|
10054 | test -f "$dirpart/$file" && continue |
|
|
10055 | fdir=`$as_dirname -- "$file" || |
|
|
10056 | $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
11138 | $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \ |
10057 | X"$file" : 'X\(//\)[^/]' \| \ |
|
|
10058 | X"$file" : 'X\(//\)$' \| \ |
11139 | X"$am_mf" : 'X\(//\)$' \| \ |
10059 | X"$file" : 'X\(/\)' \| . 2>/dev/null || |
11140 | X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || |
10060 | $as_echo X"$file" | |
11141 | printf "%s\n" X/"$am_mf" | |
10061 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
11142 | sed '/^.*\/\([^/][^/]*\)\/*$/{ |
10062 | s//\1/ |
11143 | s//\1/ |
10063 | q |
11144 | q |
10064 | } |
11145 | } |
10065 | /^X\(\/\/\)[^/].*/{ |
11146 | /^X\/\(\/\/\)$/{ |
10066 | s//\1/ |
11147 | s//\1/ |
10067 | q |
11148 | q |
10068 | } |
11149 | } |
10069 | /^X\(\/\/\)$/{ |
|
|
10070 | s//\1/ |
|
|
10071 | q |
|
|
10072 | } |
|
|
10073 | /^X\(\/\).*/{ |
11150 | /^X\/\(\/\).*/{ |
10074 | s//\1/ |
11151 | s//\1/ |
10075 | q |
11152 | q |
10076 | } |
11153 | } |
10077 | s/.*/./; q'` |
11154 | s/.*/./; q'` |
10078 | as_dir=$dirpart/$fdir; as_fn_mkdir_p |
11155 | { echo "$as_me:$LINENO: cd "$am_dirpart" \ |
10079 | # echo "creating $dirpart/$file" |
11156 | && sed -e '/# am--include-marker/d' "$am_filepart" \ |
10080 | echo '# dummy' > "$dirpart/$file" |
11157 | | $MAKE -f - am--depfiles" >&5 |
|
|
11158 | (cd "$am_dirpart" \ |
|
|
11159 | && sed -e '/# am--include-marker/d' "$am_filepart" \ |
|
|
11160 | | $MAKE -f - am--depfiles) >&5 2>&5 |
|
|
11161 | ac_status=$? |
|
|
11162 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11163 | (exit $ac_status); } || am_rc=$? |
10081 | done |
11164 | done |
10082 | done |
11165 | if test $am_rc -ne 0; then |
|
|
11166 | { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
|
11167 | printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} |
|
|
11168 | as_fn_error $? "Something went wrong bootstrapping makefile fragments |
|
|
11169 | for automatic dependency tracking. If GNU make was not used, consider |
|
|
11170 | re-running the configure script with MAKE=\"gmake\" (or whatever is |
|
|
11171 | necessary). You can also try re-running configure with the |
|
|
11172 | '--disable-dependency-tracking' option to at least be able to build |
|
|
11173 | the package (albeit without support for automatic dependency tracking). |
|
|
11174 | See \`config.log' for more details" "$LINENO" 5; } |
|
|
11175 | fi |
|
|
11176 | { am_dirpart=; unset am_dirpart;} |
|
|
11177 | { am_filepart=; unset am_filepart;} |
|
|
11178 | { am_mf=; unset am_mf;} |
|
|
11179 | { am_rc=; unset am_rc;} |
|
|
11180 | rm -f conftest-deps.mk |
|
|
11181 | } |
10083 | ;; |
11182 | ;; |
10084 | |
11183 | |
10085 | esac |
11184 | esac |
10086 | done # for ac_tag |
11185 | done # for ac_tag |
10087 | |
11186 | |
… | |
… | |
10113 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
11212 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
10114 | # would make configure fail if this is the last instruction. |
11213 | # would make configure fail if this is the last instruction. |
10115 | $ac_cs_success || as_fn_exit 1 |
11214 | $ac_cs_success || as_fn_exit 1 |
10116 | fi |
11215 | fi |
10117 | if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then |
11216 | if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then |
10118 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 |
11217 | { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 |
10119 | $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} |
11218 | printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} |
10120 | fi |
11219 | fi |
10121 | |
11220 | |
10122 | |
11221 | |
10123 | echo |
11222 | echo |
10124 | echo "***" |
11223 | echo "***" |
… | |
… | |
10142 | fi |
11241 | fi |
10143 | |
11242 | |
10144 | echo "***" |
11243 | echo "***" |
10145 | echo |
11244 | echo |
10146 | |
11245 | |
|
|
11246 | if pkg-config --exists 'libcrypto >= 1.1 libcrypto < 2.0'; then |
|
|
11247 | cat <<EOF |
|
|
11248 | [33m |
|
|
11249 | *** |
|
|
11250 | *** WARNING WARNING WARNING WARNING WARNING WARNING WARNING |
|
|
11251 | *** |
|
|
11252 | *** You seem to configure gvpe with OpenSSL 1.1 or newer. |
|
|
11253 | *** While this probably compiles, please note that this is not only |
|
|
11254 | *** unsupported, but also discouraged. |
|
|
11255 | *** |
|
|
11256 | *** It is recommended to use either OpenSSL 1.0, as long as that is still |
|
|
11257 | *** supported, or LibreSSL (https://www.libressl.org/). |
|
|
11258 | *** |
|
|
11259 | *** This is not a political issue - while porting GVPE to the newer |
|
|
11260 | *** OpenSSL 1.1 API, I encountered two incompatible API changes that were |
|
|
11261 | *** not documented, were not caught while compiling but caused security |
|
|
11262 | *** issues. When reported, the reaction of the OpenSSL developers was to |
|
|
11263 | *** update the documentation. |
|
|
11264 | *** |
|
|
11265 | *** As a result, I lost all confidence in the ability and desire of |
|
|
11266 | *** OpenSSL developers to create a safe API, and would highly recommend |
|
|
11267 | *** switching to LibreSSL which explicitly avoids such braking changes. |
|
|
11268 | *** |
|
|
11269 | *** WARNING WARNING WARNING WARNING WARNING WARNING WARNING |
|
|
11270 | *** |
|
|
11271 | *** Again, do not use OpenSSL 1.1 and complain if stuff breaks. |
|
|
11272 | *** You have been warned, but your choice is respected. |
|
|
11273 | *** |
|
|
11274 | [0m |
10147 | |
11275 | |
|
|
11276 | EOF |
|
|
11277 | fi |
|
|
11278 | |
|
|
11279 | |
|
|
11280 | |