1 | #! /bin/sh |
1 | #! /bin/sh |
2 | # Guess values for system-dependent variables and create Makefiles. |
2 | # Guess values for system-dependent variables and create Makefiles. |
3 | # Generated by GNU Autoconf 2.61. |
3 | # Generated by GNU Autoconf 2.69. |
4 | # |
4 | # |
5 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
5 | # |
6 | # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. |
6 | # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. |
|
|
7 | # |
|
|
8 | # |
7 | # This configure script is free software; the Free Software Foundation |
9 | # This configure script is free software; the Free Software Foundation |
8 | # gives unlimited permission to copy, distribute and modify it. |
10 | # gives unlimited permission to copy, distribute and modify it. |
9 | ## --------------------- ## |
11 | ## -------------------- ## |
10 | ## M4sh Initialization. ## |
12 | ## M4sh Initialization. ## |
11 | ## --------------------- ## |
13 | ## -------------------- ## |
12 | |
14 | |
13 | # Be more Bourne compatible |
15 | # Be more Bourne compatible |
14 | DUALCASE=1; export DUALCASE # for MKS sh |
16 | DUALCASE=1; export DUALCASE # for MKS sh |
15 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
17 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : |
16 | emulate sh |
18 | emulate sh |
17 | NULLCMD=: |
19 | NULLCMD=: |
18 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
20 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
19 | # is contrary to our usage. Disable this feature. |
21 | # is contrary to our usage. Disable this feature. |
20 | alias -g '${1+"$@"}'='"$@"' |
22 | alias -g '${1+"$@"}'='"$@"' |
21 | setopt NO_GLOB_SUBST |
23 | setopt NO_GLOB_SUBST |
22 | else |
24 | else |
23 | case `(set -o) 2>/dev/null` in |
25 | case `(set -o) 2>/dev/null` in #( |
24 | *posix*) set -o posix ;; |
26 | *posix*) : |
|
|
27 | set -o posix ;; #( |
|
|
28 | *) : |
|
|
29 | ;; |
25 | esac |
30 | esac |
26 | |
|
|
27 | fi |
31 | fi |
28 | |
32 | |
29 | |
33 | |
30 | |
34 | as_nl=' |
31 | |
35 | ' |
32 | # PATH needs CR |
36 | export as_nl |
33 | # Avoid depending upon Character Ranges. |
37 | # Printing a long string crashes Solaris 7 /usr/bin/printf. |
34 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
38 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
35 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
39 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
36 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
40 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
37 | as_cr_digits='0123456789' |
41 | # Prefer a ksh shell builtin over an external printf program on Solaris, |
38 | as_cr_alnum=$as_cr_Letters$as_cr_digits |
42 | # but without wasting forks for bash or zsh. |
|
|
43 | if test -z "$BASH_VERSION$ZSH_VERSION" \ |
|
|
44 | && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then |
|
|
45 | as_echo='print -r --' |
|
|
46 | as_echo_n='print -rn --' |
|
|
47 | elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
|
|
48 | as_echo='printf %s\n' |
|
|
49 | as_echo_n='printf %s' |
|
|
50 | else |
|
|
51 | if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then |
|
|
52 | as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' |
|
|
53 | as_echo_n='/usr/ucb/echo -n' |
|
|
54 | else |
|
|
55 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
|
|
56 | as_echo_n_body='eval |
|
|
57 | arg=$1; |
|
|
58 | case $arg in #( |
|
|
59 | *"$as_nl"*) |
|
|
60 | expr "X$arg" : "X\\(.*\\)$as_nl"; |
|
|
61 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
|
|
62 | esac; |
|
|
63 | expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" |
|
|
64 | ' |
|
|
65 | export as_echo_n_body |
|
|
66 | as_echo_n='sh -c $as_echo_n_body as_echo' |
|
|
67 | fi |
|
|
68 | export as_echo_body |
|
|
69 | as_echo='sh -c $as_echo_body as_echo' |
|
|
70 | fi |
39 | |
71 | |
40 | # The user is always right. |
72 | # The user is always right. |
41 | if test "${PATH_SEPARATOR+set}" != set; then |
73 | if test "${PATH_SEPARATOR+set}" != set; then |
42 | echo "#! /bin/sh" >conf$$.sh |
74 | PATH_SEPARATOR=: |
43 | echo "exit 0" >>conf$$.sh |
75 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
44 | chmod +x conf$$.sh |
76 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
45 | if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
|
|
46 | PATH_SEPARATOR=';' |
77 | PATH_SEPARATOR=';' |
47 | else |
78 | } |
48 | PATH_SEPARATOR=: |
|
|
49 | fi |
|
|
50 | rm -f conf$$.sh |
|
|
51 | fi |
|
|
52 | |
|
|
53 | # Support unset when possible. |
|
|
54 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
|
|
55 | as_unset=unset |
|
|
56 | else |
|
|
57 | as_unset=false |
|
|
58 | fi |
79 | fi |
59 | |
80 | |
60 | |
81 | |
61 | # IFS |
82 | # IFS |
62 | # We need space, tab and new line, in precisely that order. Quoting is |
83 | # We need space, tab and new line, in precisely that order. Quoting is |
63 | # there to prevent editors from complaining about space-tab. |
84 | # there to prevent editors from complaining about space-tab. |
64 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
85 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
65 | # splitting by setting IFS to empty value.) |
86 | # splitting by setting IFS to empty value.) |
66 | as_nl=' |
|
|
67 | ' |
|
|
68 | IFS=" "" $as_nl" |
87 | IFS=" "" $as_nl" |
69 | |
88 | |
70 | # Find who we are. Look in the path if we contain no directory separator. |
89 | # Find who we are. Look in the path if we contain no directory separator. |
|
|
90 | as_myself= |
71 | case $0 in |
91 | case $0 in #(( |
72 | *[\\/]* ) as_myself=$0 ;; |
92 | *[\\/]* ) as_myself=$0 ;; |
73 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
93 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
74 | for as_dir in $PATH |
94 | for as_dir in $PATH |
75 | do |
95 | do |
76 | IFS=$as_save_IFS |
96 | IFS=$as_save_IFS |
77 | test -z "$as_dir" && as_dir=. |
97 | test -z "$as_dir" && as_dir=. |
78 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
98 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
79 | done |
99 | done |
80 | IFS=$as_save_IFS |
100 | IFS=$as_save_IFS |
81 | |
101 | |
82 | ;; |
102 | ;; |
83 | esac |
103 | esac |
84 | # We did not find ourselves, most probably we were run as `sh COMMAND' |
104 | # We did not find ourselves, most probably we were run as `sh COMMAND' |
85 | # in which case we are not to be found in the path. |
105 | # in which case we are not to be found in the path. |
86 | if test "x$as_myself" = x; then |
106 | if test "x$as_myself" = x; then |
87 | as_myself=$0 |
107 | as_myself=$0 |
88 | fi |
108 | fi |
89 | if test ! -f "$as_myself"; then |
109 | if test ! -f "$as_myself"; then |
90 | echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
110 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
91 | { (exit 1); exit 1; } |
111 | exit 1 |
92 | fi |
112 | fi |
93 | |
113 | |
94 | # Work around bugs in pre-3.0 UWIN ksh. |
114 | # Unset variables that we do not need and which cause bugs (e.g. in |
|
|
115 | # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" |
|
|
116 | # suppresses any "Segmentation fault" message there. '((' could |
|
|
117 | # trigger a bug in pdksh 5.2.14. |
95 | for as_var in ENV MAIL MAILPATH |
118 | for as_var in BASH_ENV ENV MAIL MAILPATH |
|
|
119 | do eval test x\${$as_var+set} = xset \ |
96 | do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
120 | && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : |
97 | done |
121 | done |
98 | PS1='$ ' |
122 | PS1='$ ' |
99 | PS2='> ' |
123 | PS2='> ' |
100 | PS4='+ ' |
124 | PS4='+ ' |
101 | |
125 | |
102 | # NLS nuisances. |
126 | # NLS nuisances. |
103 | for as_var in \ |
127 | LC_ALL=C |
104 | LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ |
128 | export LC_ALL |
105 | LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
129 | LANGUAGE=C |
106 | LC_TELEPHONE LC_TIME |
130 | export LANGUAGE |
|
|
131 | |
|
|
132 | # CDPATH. |
|
|
133 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
|
|
134 | |
|
|
135 | # Use a proper internal environment variable to ensure we don't fall |
|
|
136 | # into an infinite loop, continuously re-executing ourselves. |
|
|
137 | if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then |
|
|
138 | _as_can_reexec=no; export _as_can_reexec; |
|
|
139 | # We cannot yet assume a decent shell, so we have to provide a |
|
|
140 | # neutralization value for shells without unset; and this also |
|
|
141 | # works around shells that cannot unset nonexistent variables. |
|
|
142 | # Preserve -v and -x to the replacement shell. |
|
|
143 | BASH_ENV=/dev/null |
|
|
144 | ENV=/dev/null |
|
|
145 | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
|
|
146 | case $- in # (((( |
|
|
147 | *v*x* | *x*v* ) as_opts=-vx ;; |
|
|
148 | *v* ) as_opts=-v ;; |
|
|
149 | *x* ) as_opts=-x ;; |
|
|
150 | * ) as_opts= ;; |
|
|
151 | esac |
|
|
152 | exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} |
|
|
153 | # Admittedly, this is quite paranoid, since all the known shells bail |
|
|
154 | # out after a failed `exec'. |
|
|
155 | $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 |
|
|
156 | as_fn_exit 255 |
|
|
157 | fi |
|
|
158 | # We don't want this to propagate to other subprocesses. |
|
|
159 | { _as_can_reexec=; unset _as_can_reexec;} |
|
|
160 | if test "x$CONFIG_SHELL" = x; then |
|
|
161 | as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : |
|
|
162 | emulate sh |
|
|
163 | NULLCMD=: |
|
|
164 | # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which |
|
|
165 | # is contrary to our usage. Disable this feature. |
|
|
166 | alias -g '\${1+\"\$@\"}'='\"\$@\"' |
|
|
167 | setopt NO_GLOB_SUBST |
|
|
168 | else |
|
|
169 | case \`(set -o) 2>/dev/null\` in #( |
|
|
170 | *posix*) : |
|
|
171 | set -o posix ;; #( |
|
|
172 | *) : |
|
|
173 | ;; |
|
|
174 | esac |
|
|
175 | fi |
|
|
176 | " |
|
|
177 | as_required="as_fn_return () { (exit \$1); } |
|
|
178 | as_fn_success () { as_fn_return 0; } |
|
|
179 | as_fn_failure () { as_fn_return 1; } |
|
|
180 | as_fn_ret_success () { return 0; } |
|
|
181 | as_fn_ret_failure () { return 1; } |
|
|
182 | |
|
|
183 | exitcode=0 |
|
|
184 | as_fn_success || { exitcode=1; echo as_fn_success failed.; } |
|
|
185 | as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } |
|
|
186 | as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } |
|
|
187 | as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } |
|
|
188 | if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : |
|
|
189 | |
|
|
190 | else |
|
|
191 | exitcode=1; echo positional parameters were not saved. |
|
|
192 | fi |
|
|
193 | test x\$exitcode = x0 || exit 1 |
|
|
194 | test -x / || exit 1" |
|
|
195 | as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO |
|
|
196 | as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO |
|
|
197 | eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && |
|
|
198 | test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 |
|
|
199 | test \$(( 1 + 1 )) = 2 || exit 1" |
|
|
200 | if (eval "$as_required") 2>/dev/null; then : |
|
|
201 | as_have_required=yes |
|
|
202 | else |
|
|
203 | as_have_required=no |
|
|
204 | fi |
|
|
205 | if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : |
|
|
206 | |
|
|
207 | else |
|
|
208 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
209 | as_found=false |
|
|
210 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
107 | do |
211 | do |
108 | if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
212 | IFS=$as_save_IFS |
109 | eval $as_var=C; export $as_var |
213 | test -z "$as_dir" && as_dir=. |
|
|
214 | as_found=: |
|
|
215 | case $as_dir in #( |
|
|
216 | /*) |
|
|
217 | for as_base in sh bash ksh sh5; do |
|
|
218 | # Try only shells that exist, to save several forks. |
|
|
219 | as_shell=$as_dir/$as_base |
|
|
220 | if { test -f "$as_shell" || test -f "$as_shell.exe"; } && |
|
|
221 | { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : |
|
|
222 | CONFIG_SHELL=$as_shell as_have_required=yes |
|
|
223 | if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : |
|
|
224 | break 2 |
|
|
225 | fi |
|
|
226 | fi |
|
|
227 | done;; |
|
|
228 | esac |
|
|
229 | as_found=false |
|
|
230 | done |
|
|
231 | $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && |
|
|
232 | { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : |
|
|
233 | CONFIG_SHELL=$SHELL as_have_required=yes |
|
|
234 | fi; } |
|
|
235 | IFS=$as_save_IFS |
|
|
236 | |
|
|
237 | |
|
|
238 | if test "x$CONFIG_SHELL" != x; then : |
|
|
239 | export CONFIG_SHELL |
|
|
240 | # We cannot yet assume a decent shell, so we have to provide a |
|
|
241 | # neutralization value for shells without unset; and this also |
|
|
242 | # works around shells that cannot unset nonexistent variables. |
|
|
243 | # Preserve -v and -x to the replacement shell. |
|
|
244 | BASH_ENV=/dev/null |
|
|
245 | ENV=/dev/null |
|
|
246 | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
|
|
247 | case $- in # (((( |
|
|
248 | *v*x* | *x*v* ) as_opts=-vx ;; |
|
|
249 | *v* ) as_opts=-v ;; |
|
|
250 | *x* ) as_opts=-x ;; |
|
|
251 | * ) as_opts= ;; |
|
|
252 | esac |
|
|
253 | exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} |
|
|
254 | # Admittedly, this is quite paranoid, since all the known shells bail |
|
|
255 | # out after a failed `exec'. |
|
|
256 | $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 |
|
|
257 | exit 255 |
|
|
258 | fi |
|
|
259 | |
|
|
260 | if test x$as_have_required = xno; then : |
|
|
261 | $as_echo "$0: This script requires a shell more modern than all" |
|
|
262 | $as_echo "$0: the shells that I found on your system." |
|
|
263 | if test x${ZSH_VERSION+set} = xset ; then |
|
|
264 | $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" |
|
|
265 | $as_echo "$0: be upgraded to zsh 4.3.4 or later." |
110 | else |
266 | else |
111 | ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
267 | $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, |
|
|
268 | $0: including any error possibly output before this |
|
|
269 | $0: message. Then install a modern shell, or manually run |
|
|
270 | $0: the script under such a shell if you do have one." |
112 | fi |
271 | fi |
113 | done |
272 | exit 1 |
|
|
273 | fi |
|
|
274 | fi |
|
|
275 | fi |
|
|
276 | SHELL=${CONFIG_SHELL-/bin/sh} |
|
|
277 | export SHELL |
|
|
278 | # Unset more variables known to interfere with behavior of common tools. |
|
|
279 | CLICOLOR_FORCE= GREP_OPTIONS= |
|
|
280 | unset CLICOLOR_FORCE GREP_OPTIONS |
114 | |
281 | |
115 | # Required to use basename. |
282 | ## --------------------- ## |
|
|
283 | ## M4sh Shell Functions. ## |
|
|
284 | ## --------------------- ## |
|
|
285 | # as_fn_unset VAR |
|
|
286 | # --------------- |
|
|
287 | # Portably unset VAR. |
|
|
288 | as_fn_unset () |
|
|
289 | { |
|
|
290 | { eval $1=; unset $1;} |
|
|
291 | } |
|
|
292 | as_unset=as_fn_unset |
|
|
293 | |
|
|
294 | # as_fn_set_status STATUS |
|
|
295 | # ----------------------- |
|
|
296 | # Set $? to STATUS, without forking. |
|
|
297 | as_fn_set_status () |
|
|
298 | { |
|
|
299 | return $1 |
|
|
300 | } # as_fn_set_status |
|
|
301 | |
|
|
302 | # as_fn_exit STATUS |
|
|
303 | # ----------------- |
|
|
304 | # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. |
|
|
305 | as_fn_exit () |
|
|
306 | { |
|
|
307 | set +e |
|
|
308 | as_fn_set_status $1 |
|
|
309 | exit $1 |
|
|
310 | } # as_fn_exit |
|
|
311 | |
|
|
312 | # as_fn_mkdir_p |
|
|
313 | # ------------- |
|
|
314 | # Create "$as_dir" as a directory, including parents if necessary. |
|
|
315 | as_fn_mkdir_p () |
|
|
316 | { |
|
|
317 | |
|
|
318 | case $as_dir in #( |
|
|
319 | -*) as_dir=./$as_dir;; |
|
|
320 | esac |
|
|
321 | test -d "$as_dir" || eval $as_mkdir_p || { |
|
|
322 | as_dirs= |
|
|
323 | while :; do |
|
|
324 | case $as_dir in #( |
|
|
325 | *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
|
|
326 | *) as_qdir=$as_dir;; |
|
|
327 | esac |
|
|
328 | as_dirs="'$as_qdir' $as_dirs" |
|
|
329 | as_dir=`$as_dirname -- "$as_dir" || |
|
|
330 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
|
331 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
|
|
332 | X"$as_dir" : 'X\(//\)$' \| \ |
|
|
333 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
|
|
334 | $as_echo X"$as_dir" | |
|
|
335 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|
|
336 | s//\1/ |
|
|
337 | q |
|
|
338 | } |
|
|
339 | /^X\(\/\/\)[^/].*/{ |
|
|
340 | s//\1/ |
|
|
341 | q |
|
|
342 | } |
|
|
343 | /^X\(\/\/\)$/{ |
|
|
344 | s//\1/ |
|
|
345 | q |
|
|
346 | } |
|
|
347 | /^X\(\/\).*/{ |
|
|
348 | s//\1/ |
|
|
349 | q |
|
|
350 | } |
|
|
351 | s/.*/./; q'` |
|
|
352 | test -d "$as_dir" && break |
|
|
353 | done |
|
|
354 | test -z "$as_dirs" || eval "mkdir $as_dirs" |
|
|
355 | } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
|
|
356 | |
|
|
357 | |
|
|
358 | } # as_fn_mkdir_p |
|
|
359 | |
|
|
360 | # as_fn_executable_p FILE |
|
|
361 | # ----------------------- |
|
|
362 | # Test if FILE is an executable regular file. |
|
|
363 | as_fn_executable_p () |
|
|
364 | { |
|
|
365 | test -f "$1" && test -x "$1" |
|
|
366 | } # as_fn_executable_p |
|
|
367 | # as_fn_append VAR VALUE |
|
|
368 | # ---------------------- |
|
|
369 | # Append the text in VALUE to the end of the definition contained in VAR. Take |
|
|
370 | # advantage of any shell optimizations that allow amortized linear growth over |
|
|
371 | # repeated appends, instead of the typical quadratic growth present in naive |
|
|
372 | # implementations. |
|
|
373 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : |
|
|
374 | eval 'as_fn_append () |
|
|
375 | { |
|
|
376 | eval $1+=\$2 |
|
|
377 | }' |
|
|
378 | else |
|
|
379 | as_fn_append () |
|
|
380 | { |
|
|
381 | eval $1=\$$1\$2 |
|
|
382 | } |
|
|
383 | fi # as_fn_append |
|
|
384 | |
|
|
385 | # as_fn_arith ARG... |
|
|
386 | # ------------------ |
|
|
387 | # Perform arithmetic evaluation on the ARGs, and store the result in the |
|
|
388 | # global $as_val. Take advantage of shells that can avoid forks. The arguments |
|
|
389 | # must be portable across $(()) and expr. |
|
|
390 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : |
|
|
391 | eval 'as_fn_arith () |
|
|
392 | { |
|
|
393 | as_val=$(( $* )) |
|
|
394 | }' |
|
|
395 | else |
|
|
396 | as_fn_arith () |
|
|
397 | { |
|
|
398 | as_val=`expr "$@" || test $? -eq 1` |
|
|
399 | } |
|
|
400 | fi # as_fn_arith |
|
|
401 | |
|
|
402 | |
|
|
403 | # as_fn_error STATUS ERROR [LINENO LOG_FD] |
|
|
404 | # ---------------------------------------- |
|
|
405 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
|
|
406 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
|
|
407 | # script with STATUS, using 1 if that was 0. |
|
|
408 | as_fn_error () |
|
|
409 | { |
|
|
410 | as_status=$1; test $as_status -eq 0 && as_status=1 |
|
|
411 | if test "$4"; then |
|
|
412 | as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
|
413 | $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
|
|
414 | fi |
|
|
415 | $as_echo "$as_me: error: $2" >&2 |
|
|
416 | as_fn_exit $as_status |
|
|
417 | } # as_fn_error |
|
|
418 | |
116 | if expr a : '\(a\)' >/dev/null 2>&1 && |
419 | if expr a : '\(a\)' >/dev/null 2>&1 && |
117 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
420 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
118 | as_expr=expr |
421 | as_expr=expr |
119 | else |
422 | else |
120 | as_expr=false |
423 | as_expr=false |
… | |
… | |
124 | as_basename=basename |
427 | as_basename=basename |
125 | else |
428 | else |
126 | as_basename=false |
429 | as_basename=false |
127 | fi |
430 | fi |
128 | |
431 | |
|
|
432 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
|
|
433 | as_dirname=dirname |
|
|
434 | else |
|
|
435 | as_dirname=false |
|
|
436 | fi |
129 | |
437 | |
130 | # Name of the executable. |
|
|
131 | as_me=`$as_basename -- "$0" || |
438 | as_me=`$as_basename -- "$0" || |
132 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
439 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
133 | X"$0" : 'X\(//\)$' \| \ |
440 | X"$0" : 'X\(//\)$' \| \ |
134 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
441 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
135 | echo X/"$0" | |
442 | $as_echo X/"$0" | |
136 | sed '/^.*\/\([^/][^/]*\)\/*$/{ |
443 | sed '/^.*\/\([^/][^/]*\)\/*$/{ |
137 | s//\1/ |
444 | s//\1/ |
138 | q |
445 | q |
139 | } |
446 | } |
140 | /^X\/\(\/\/\)$/{ |
447 | /^X\/\(\/\/\)$/{ |
… | |
… | |
145 | s//\1/ |
452 | s//\1/ |
146 | q |
453 | q |
147 | } |
454 | } |
148 | s/.*/./; q'` |
455 | s/.*/./; q'` |
149 | |
456 | |
150 | # CDPATH. |
457 | # Avoid depending upon Character Ranges. |
151 | $as_unset CDPATH |
458 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
|
|
459 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
|
|
460 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
|
|
461 | as_cr_digits='0123456789' |
|
|
462 | as_cr_alnum=$as_cr_Letters$as_cr_digits |
152 | |
463 | |
153 | |
464 | |
154 | if test "x$CONFIG_SHELL" = x; then |
465 | as_lineno_1=$LINENO as_lineno_1a=$LINENO |
155 | if (eval ":") 2>/dev/null; then |
466 | as_lineno_2=$LINENO as_lineno_2a=$LINENO |
156 | as_have_required=yes |
|
|
157 | else |
|
|
158 | as_have_required=no |
|
|
159 | fi |
|
|
160 | |
|
|
161 | if test $as_have_required = yes && (eval ": |
|
|
162 | (as_func_return () { |
|
|
163 | (exit \$1) |
|
|
164 | } |
|
|
165 | as_func_success () { |
|
|
166 | as_func_return 0 |
|
|
167 | } |
|
|
168 | as_func_failure () { |
|
|
169 | as_func_return 1 |
|
|
170 | } |
|
|
171 | as_func_ret_success () { |
|
|
172 | return 0 |
|
|
173 | } |
|
|
174 | as_func_ret_failure () { |
|
|
175 | return 1 |
|
|
176 | } |
|
|
177 | |
|
|
178 | exitcode=0 |
|
|
179 | if as_func_success; then |
|
|
180 | : |
|
|
181 | else |
|
|
182 | exitcode=1 |
|
|
183 | echo as_func_success failed. |
|
|
184 | fi |
|
|
185 | |
|
|
186 | if as_func_failure; then |
|
|
187 | exitcode=1 |
|
|
188 | echo as_func_failure succeeded. |
|
|
189 | fi |
|
|
190 | |
|
|
191 | if as_func_ret_success; then |
|
|
192 | : |
|
|
193 | else |
|
|
194 | exitcode=1 |
|
|
195 | echo as_func_ret_success failed. |
|
|
196 | fi |
|
|
197 | |
|
|
198 | if as_func_ret_failure; then |
|
|
199 | exitcode=1 |
|
|
200 | echo as_func_ret_failure succeeded. |
|
|
201 | fi |
|
|
202 | |
|
|
203 | if ( set x; as_func_ret_success y && test x = \"\$1\" ); then |
|
|
204 | : |
|
|
205 | else |
|
|
206 | exitcode=1 |
|
|
207 | echo positional parameters were not saved. |
|
|
208 | fi |
|
|
209 | |
|
|
210 | test \$exitcode = 0) || { (exit 1); exit 1; } |
|
|
211 | |
|
|
212 | ( |
|
|
213 | as_lineno_1=\$LINENO |
|
|
214 | as_lineno_2=\$LINENO |
|
|
215 | test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && |
|
|
216 | test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } |
|
|
217 | ") 2> /dev/null; then |
|
|
218 | : |
|
|
219 | else |
|
|
220 | as_candidate_shells= |
|
|
221 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
222 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
|
|
223 | do |
|
|
224 | IFS=$as_save_IFS |
|
|
225 | test -z "$as_dir" && as_dir=. |
|
|
226 | case $as_dir in |
|
|
227 | /*) |
|
|
228 | for as_base in sh bash ksh sh5; do |
|
|
229 | as_candidate_shells="$as_candidate_shells $as_dir/$as_base" |
|
|
230 | done;; |
|
|
231 | esac |
|
|
232 | done |
|
|
233 | IFS=$as_save_IFS |
|
|
234 | |
|
|
235 | |
|
|
236 | for as_shell in $as_candidate_shells $SHELL; do |
|
|
237 | # Try only shells that exist, to save several forks. |
|
|
238 | if { test -f "$as_shell" || test -f "$as_shell.exe"; } && |
|
|
239 | { ("$as_shell") 2> /dev/null <<\_ASEOF |
|
|
240 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
|
|
241 | emulate sh |
|
|
242 | NULLCMD=: |
|
|
243 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
|
|
244 | # is contrary to our usage. Disable this feature. |
|
|
245 | alias -g '${1+"$@"}'='"$@"' |
|
|
246 | setopt NO_GLOB_SUBST |
|
|
247 | else |
|
|
248 | case `(set -o) 2>/dev/null` in |
|
|
249 | *posix*) set -o posix ;; |
|
|
250 | esac |
|
|
251 | |
|
|
252 | fi |
|
|
253 | |
|
|
254 | |
|
|
255 | : |
|
|
256 | _ASEOF |
|
|
257 | }; then |
|
|
258 | CONFIG_SHELL=$as_shell |
|
|
259 | as_have_required=yes |
|
|
260 | if { "$as_shell" 2> /dev/null <<\_ASEOF |
|
|
261 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
|
|
262 | emulate sh |
|
|
263 | NULLCMD=: |
|
|
264 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
|
|
265 | # is contrary to our usage. Disable this feature. |
|
|
266 | alias -g '${1+"$@"}'='"$@"' |
|
|
267 | setopt NO_GLOB_SUBST |
|
|
268 | else |
|
|
269 | case `(set -o) 2>/dev/null` in |
|
|
270 | *posix*) set -o posix ;; |
|
|
271 | esac |
|
|
272 | |
|
|
273 | fi |
|
|
274 | |
|
|
275 | |
|
|
276 | : |
|
|
277 | (as_func_return () { |
|
|
278 | (exit $1) |
|
|
279 | } |
|
|
280 | as_func_success () { |
|
|
281 | as_func_return 0 |
|
|
282 | } |
|
|
283 | as_func_failure () { |
|
|
284 | as_func_return 1 |
|
|
285 | } |
|
|
286 | as_func_ret_success () { |
|
|
287 | return 0 |
|
|
288 | } |
|
|
289 | as_func_ret_failure () { |
|
|
290 | return 1 |
|
|
291 | } |
|
|
292 | |
|
|
293 | exitcode=0 |
|
|
294 | if as_func_success; then |
|
|
295 | : |
|
|
296 | else |
|
|
297 | exitcode=1 |
|
|
298 | echo as_func_success failed. |
|
|
299 | fi |
|
|
300 | |
|
|
301 | if as_func_failure; then |
|
|
302 | exitcode=1 |
|
|
303 | echo as_func_failure succeeded. |
|
|
304 | fi |
|
|
305 | |
|
|
306 | if as_func_ret_success; then |
|
|
307 | : |
|
|
308 | else |
|
|
309 | exitcode=1 |
|
|
310 | echo as_func_ret_success failed. |
|
|
311 | fi |
|
|
312 | |
|
|
313 | if as_func_ret_failure; then |
|
|
314 | exitcode=1 |
|
|
315 | echo as_func_ret_failure succeeded. |
|
|
316 | fi |
|
|
317 | |
|
|
318 | if ( set x; as_func_ret_success y && test x = "$1" ); then |
|
|
319 | : |
|
|
320 | else |
|
|
321 | exitcode=1 |
|
|
322 | echo positional parameters were not saved. |
|
|
323 | fi |
|
|
324 | |
|
|
325 | test $exitcode = 0) || { (exit 1); exit 1; } |
|
|
326 | |
|
|
327 | ( |
|
|
328 | as_lineno_1=$LINENO |
|
|
329 | as_lineno_2=$LINENO |
|
|
330 | test "x$as_lineno_1" != "x$as_lineno_2" && |
467 | eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && |
331 | test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } |
|
|
332 | |
|
|
333 | _ASEOF |
|
|
334 | }; then |
|
|
335 | break |
|
|
336 | fi |
|
|
337 | |
|
|
338 | fi |
|
|
339 | |
|
|
340 | done |
|
|
341 | |
|
|
342 | if test "x$CONFIG_SHELL" != x; then |
|
|
343 | for as_var in BASH_ENV ENV |
|
|
344 | do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
|
|
345 | done |
|
|
346 | export CONFIG_SHELL |
|
|
347 | exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} |
|
|
348 | fi |
|
|
349 | |
|
|
350 | |
|
|
351 | if test $as_have_required = no; then |
|
|
352 | echo This script requires a shell more modern than all the |
|
|
353 | echo shells that I found on your system. Please install a |
|
|
354 | echo modern shell, or manually run the script under such a |
|
|
355 | echo shell if you do have one. |
|
|
356 | { (exit 1); exit 1; } |
|
|
357 | fi |
|
|
358 | |
|
|
359 | |
|
|
360 | fi |
|
|
361 | |
|
|
362 | fi |
|
|
363 | |
|
|
364 | |
|
|
365 | |
|
|
366 | (eval "as_func_return () { |
|
|
367 | (exit \$1) |
|
|
368 | } |
|
|
369 | as_func_success () { |
|
|
370 | as_func_return 0 |
|
|
371 | } |
|
|
372 | as_func_failure () { |
|
|
373 | as_func_return 1 |
|
|
374 | } |
|
|
375 | as_func_ret_success () { |
|
|
376 | return 0 |
|
|
377 | } |
|
|
378 | as_func_ret_failure () { |
|
|
379 | return 1 |
|
|
380 | } |
|
|
381 | |
|
|
382 | exitcode=0 |
|
|
383 | if as_func_success; then |
|
|
384 | : |
|
|
385 | else |
|
|
386 | exitcode=1 |
|
|
387 | echo as_func_success failed. |
|
|
388 | fi |
|
|
389 | |
|
|
390 | if as_func_failure; then |
|
|
391 | exitcode=1 |
|
|
392 | echo as_func_failure succeeded. |
|
|
393 | fi |
|
|
394 | |
|
|
395 | if as_func_ret_success; then |
|
|
396 | : |
|
|
397 | else |
|
|
398 | exitcode=1 |
|
|
399 | echo as_func_ret_success failed. |
|
|
400 | fi |
|
|
401 | |
|
|
402 | if as_func_ret_failure; then |
|
|
403 | exitcode=1 |
|
|
404 | echo as_func_ret_failure succeeded. |
|
|
405 | fi |
|
|
406 | |
|
|
407 | if ( set x; as_func_ret_success y && test x = \"\$1\" ); then |
|
|
408 | : |
|
|
409 | else |
|
|
410 | exitcode=1 |
|
|
411 | echo positional parameters were not saved. |
|
|
412 | fi |
|
|
413 | |
|
|
414 | test \$exitcode = 0") || { |
|
|
415 | echo No shell found that supports shell functions. |
|
|
416 | echo Please tell autoconf@gnu.org about your system, |
|
|
417 | echo including any error possibly output before this |
|
|
418 | echo message |
|
|
419 | } |
|
|
420 | |
|
|
421 | |
|
|
422 | |
|
|
423 | as_lineno_1=$LINENO |
|
|
424 | as_lineno_2=$LINENO |
|
|
425 | test "x$as_lineno_1" != "x$as_lineno_2" && |
|
|
426 | test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { |
468 | test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { |
427 | |
|
|
428 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
|
|
429 | # uniformly replaced by the line number. The first 'sed' inserts a |
|
|
430 | # line-number line after each line using $LINENO; the second 'sed' |
|
|
431 | # does the real work. The second script uses 'N' to pair each |
|
|
432 | # line-number line with the line containing $LINENO, and appends |
|
|
433 | # trailing '-' during substitution so that $LINENO is not a special |
|
|
434 | # case at line end. |
|
|
435 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
|
|
436 | # scripts with optimization help from Paolo Bonzini. Blame Lee |
|
|
437 | # E. McMahon (1931-1989) for sed's syntax. :-) |
469 | # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) |
438 | sed -n ' |
470 | sed -n ' |
439 | p |
471 | p |
440 | /[$]LINENO/= |
472 | /[$]LINENO/= |
441 | ' <$as_myself | |
473 | ' <$as_myself | |
442 | sed ' |
474 | sed ' |
… | |
… | |
449 | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
481 | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
450 | t loop |
482 | t loop |
451 | s/-\n.*// |
483 | s/-\n.*// |
452 | ' >$as_me.lineno && |
484 | ' >$as_me.lineno && |
453 | chmod +x "$as_me.lineno" || |
485 | chmod +x "$as_me.lineno" || |
454 | { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
486 | { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } |
455 | { (exit 1); exit 1; }; } |
|
|
456 | |
487 | |
|
|
488 | # If we had to re-execute with $CONFIG_SHELL, we're ensured to have |
|
|
489 | # already done that, so ensure we don't try to do so again and fall |
|
|
490 | # in an infinite loop. This has already happened in practice. |
|
|
491 | _as_can_reexec=no; export _as_can_reexec |
457 | # Don't try to exec as it changes $[0], causing all sort of problems |
492 | # Don't try to exec as it changes $[0], causing all sort of problems |
458 | # (the dirname of $[0] is not the place where we might find the |
493 | # (the dirname of $[0] is not the place where we might find the |
459 | # original and so on. Autoconf is especially sensitive to this). |
494 | # original and so on. Autoconf is especially sensitive to this). |
460 | . "./$as_me.lineno" |
495 | . "./$as_me.lineno" |
461 | # Exit status is that of the last command. |
496 | # Exit status is that of the last command. |
462 | exit |
497 | exit |
463 | } |
498 | } |
464 | |
499 | |
465 | |
|
|
466 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
|
|
467 | as_dirname=dirname |
|
|
468 | else |
|
|
469 | as_dirname=false |
|
|
470 | fi |
|
|
471 | |
|
|
472 | ECHO_C= ECHO_N= ECHO_T= |
500 | ECHO_C= ECHO_N= ECHO_T= |
473 | case `echo -n x` in |
501 | case `echo -n x` in #((((( |
474 | -n*) |
502 | -n*) |
475 | case `echo 'x\c'` in |
503 | case `echo 'xy\c'` in |
476 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
504 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
477 | *) ECHO_C='\c';; |
505 | xy) ECHO_C='\c';; |
|
|
506 | *) echo `echo ksh88 bug on AIX 6.1` > /dev/null |
|
|
507 | ECHO_T=' ';; |
478 | esac;; |
508 | esac;; |
479 | *) |
509 | *) |
480 | ECHO_N='-n';; |
510 | ECHO_N='-n';; |
481 | esac |
511 | esac |
482 | |
512 | |
483 | if expr a : '\(a\)' >/dev/null 2>&1 && |
|
|
484 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
|
|
485 | as_expr=expr |
|
|
486 | else |
|
|
487 | as_expr=false |
|
|
488 | fi |
|
|
489 | |
|
|
490 | rm -f conf$$ conf$$.exe conf$$.file |
513 | rm -f conf$$ conf$$.exe conf$$.file |
491 | if test -d conf$$.dir; then |
514 | if test -d conf$$.dir; then |
492 | rm -f conf$$.dir/conf$$.file |
515 | rm -f conf$$.dir/conf$$.file |
493 | else |
516 | else |
494 | rm -f conf$$.dir |
517 | rm -f conf$$.dir |
495 | mkdir conf$$.dir |
518 | mkdir conf$$.dir 2>/dev/null |
496 | fi |
519 | fi |
497 | echo >conf$$.file |
520 | if (echo >conf$$.file) 2>/dev/null; then |
498 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
521 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
499 | as_ln_s='ln -s' |
522 | as_ln_s='ln -s' |
500 | # ... but there are two gotchas: |
523 | # ... but there are two gotchas: |
501 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
524 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
502 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
525 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
503 | # In both cases, we have to default to `cp -p'. |
526 | # In both cases, we have to default to `cp -pR'. |
504 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
527 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
505 | as_ln_s='cp -p' |
528 | as_ln_s='cp -pR' |
506 | elif ln conf$$.file conf$$ 2>/dev/null; then |
529 | elif ln conf$$.file conf$$ 2>/dev/null; then |
507 | as_ln_s=ln |
530 | as_ln_s=ln |
508 | else |
531 | else |
|
|
532 | as_ln_s='cp -pR' |
|
|
533 | fi |
|
|
534 | else |
509 | as_ln_s='cp -p' |
535 | as_ln_s='cp -pR' |
510 | fi |
536 | fi |
511 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
537 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
512 | rmdir conf$$.dir 2>/dev/null |
538 | rmdir conf$$.dir 2>/dev/null |
513 | |
539 | |
514 | if mkdir -p . 2>/dev/null; then |
540 | if mkdir -p . 2>/dev/null; then |
515 | as_mkdir_p=: |
541 | as_mkdir_p='mkdir -p "$as_dir"' |
516 | else |
542 | else |
517 | test -d ./-p && rmdir ./-p |
543 | test -d ./-p && rmdir ./-p |
518 | as_mkdir_p=false |
544 | as_mkdir_p=false |
519 | fi |
545 | fi |
520 | |
546 | |
521 | if test -x / >/dev/null 2>&1; then |
|
|
522 | as_test_x='test -x' |
547 | as_test_x='test -x' |
523 | else |
548 | as_executable_p=as_fn_executable_p |
524 | if ls -dL / >/dev/null 2>&1; then |
|
|
525 | as_ls_L_option=L |
|
|
526 | else |
|
|
527 | as_ls_L_option= |
|
|
528 | fi |
|
|
529 | as_test_x=' |
|
|
530 | eval sh -c '\'' |
|
|
531 | if test -d "$1"; then |
|
|
532 | test -d "$1/."; |
|
|
533 | else |
|
|
534 | case $1 in |
|
|
535 | -*)set "./$1";; |
|
|
536 | esac; |
|
|
537 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in |
|
|
538 | ???[sx]*):;;*)false;;esac;fi |
|
|
539 | '\'' sh |
|
|
540 | ' |
|
|
541 | fi |
|
|
542 | as_executable_p=$as_test_x |
|
|
543 | |
549 | |
544 | # Sed expression to map a string onto a valid CPP name. |
550 | # Sed expression to map a string onto a valid CPP name. |
545 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
551 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
546 | |
552 | |
547 | # Sed expression to map a string onto a valid variable name. |
553 | # Sed expression to map a string onto a valid variable name. |
548 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
554 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
549 | |
555 | |
550 | |
556 | |
551 | |
557 | test -n "$DJDIR" || exec 7<&0 </dev/null |
552 | exec 7<&0 </dev/null 6>&1 |
558 | exec 6>&1 |
553 | |
559 | |
554 | # Name of the host. |
560 | # Name of the host. |
555 | # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, |
561 | # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, |
556 | # so uname gets run too. |
562 | # so uname gets run too. |
557 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
563 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
558 | |
564 | |
559 | # |
565 | # |
560 | # Initializations. |
566 | # Initializations. |
… | |
… | |
565 | LIBOBJS= |
571 | LIBOBJS= |
566 | cross_compiling=no |
572 | cross_compiling=no |
567 | subdirs= |
573 | subdirs= |
568 | MFLAGS= |
574 | MFLAGS= |
569 | MAKEFLAGS= |
575 | MAKEFLAGS= |
570 | SHELL=${CONFIG_SHELL-/bin/sh} |
|
|
571 | |
576 | |
572 | # Identity of this package. |
577 | # Identity of this package. |
573 | PACKAGE_NAME= |
578 | PACKAGE_NAME= |
574 | PACKAGE_TARNAME= |
579 | PACKAGE_TARNAME= |
575 | PACKAGE_VERSION= |
580 | PACKAGE_VERSION= |
576 | PACKAGE_STRING= |
581 | PACKAGE_STRING= |
577 | PACKAGE_BUGREPORT= |
582 | PACKAGE_BUGREPORT= |
|
|
583 | PACKAGE_URL= |
578 | |
584 | |
579 | ac_unique_file="parser.g" |
585 | ac_unique_file="parser.g" |
580 | # Factoring default headers for most tests. |
586 | # Factoring default headers for most tests. |
581 | ac_includes_default="\ |
587 | ac_includes_default="\ |
582 | #include <stdio.h> |
588 | #include <stdio.h> |
… | |
… | |
611 | #endif |
617 | #endif |
612 | #ifdef HAVE_UNISTD_H |
618 | #ifdef HAVE_UNISTD_H |
613 | # include <unistd.h> |
619 | # include <unistd.h> |
614 | #endif" |
620 | #endif" |
615 | |
621 | |
616 | ac_subst_vars='SHELL |
622 | ac_subst_vars='LTLIBOBJS |
|
|
623 | LIBOBJS |
|
|
624 | HAVE_PCCTS_FALSE |
|
|
625 | HAVE_PCCTS_TRUE |
|
|
626 | DLG |
|
|
627 | ANTLR |
|
|
628 | XMKMF |
|
|
629 | CXXCPP |
|
|
630 | am__fastdepCXX_FALSE |
|
|
631 | am__fastdepCXX_TRUE |
|
|
632 | CXXDEPMODE |
|
|
633 | ac_ct_CXX |
|
|
634 | CXXFLAGS |
|
|
635 | CXX |
|
|
636 | EGREP |
|
|
637 | GREP |
|
|
638 | CPP |
|
|
639 | am__fastdepCC_FALSE |
|
|
640 | am__fastdepCC_TRUE |
|
|
641 | CCDEPMODE |
|
|
642 | AMDEPBACKSLASH |
|
|
643 | AMDEP_FALSE |
|
|
644 | AMDEP_TRUE |
|
|
645 | am__quote |
|
|
646 | am__include |
|
|
647 | DEPDIR |
|
|
648 | OBJEXT |
|
|
649 | EXEEXT |
|
|
650 | ac_ct_CC |
|
|
651 | CPPFLAGS |
|
|
652 | LDFLAGS |
|
|
653 | CFLAGS |
|
|
654 | CC |
|
|
655 | am__untar |
|
|
656 | am__tar |
|
|
657 | AMTAR |
|
|
658 | am__leading_dot |
|
|
659 | SET_MAKE |
|
|
660 | AWK |
|
|
661 | mkdir_p |
|
|
662 | MKDIR_P |
|
|
663 | INSTALL_STRIP_PROGRAM |
|
|
664 | STRIP |
|
|
665 | install_sh |
|
|
666 | MAKEINFO |
|
|
667 | AUTOHEADER |
|
|
668 | AUTOMAKE |
|
|
669 | AUTOCONF |
|
|
670 | ACLOCAL |
|
|
671 | VERSION |
|
|
672 | PACKAGE |
|
|
673 | CYGPATH_W |
|
|
674 | am__isrc |
|
|
675 | INSTALL_DATA |
|
|
676 | INSTALL_SCRIPT |
|
|
677 | INSTALL_PROGRAM |
|
|
678 | target_alias |
|
|
679 | host_alias |
|
|
680 | build_alias |
|
|
681 | LIBS |
|
|
682 | ECHO_T |
|
|
683 | ECHO_N |
|
|
684 | ECHO_C |
|
|
685 | DEFS |
|
|
686 | mandir |
|
|
687 | localedir |
|
|
688 | libdir |
|
|
689 | psdir |
|
|
690 | pdfdir |
|
|
691 | dvidir |
|
|
692 | htmldir |
|
|
693 | infodir |
|
|
694 | docdir |
|
|
695 | oldincludedir |
|
|
696 | includedir |
|
|
697 | runstatedir |
|
|
698 | localstatedir |
|
|
699 | sharedstatedir |
|
|
700 | sysconfdir |
|
|
701 | datadir |
|
|
702 | datarootdir |
|
|
703 | libexecdir |
|
|
704 | sbindir |
|
|
705 | bindir |
|
|
706 | program_transform_name |
|
|
707 | prefix |
|
|
708 | exec_prefix |
|
|
709 | PACKAGE_URL |
|
|
710 | PACKAGE_BUGREPORT |
|
|
711 | PACKAGE_STRING |
|
|
712 | PACKAGE_VERSION |
|
|
713 | PACKAGE_TARNAME |
|
|
714 | PACKAGE_NAME |
617 | PATH_SEPARATOR |
715 | PATH_SEPARATOR |
618 | PACKAGE_NAME |
716 | SHELL' |
619 | PACKAGE_TARNAME |
|
|
620 | PACKAGE_VERSION |
|
|
621 | PACKAGE_STRING |
|
|
622 | PACKAGE_BUGREPORT |
|
|
623 | exec_prefix |
|
|
624 | prefix |
|
|
625 | program_transform_name |
|
|
626 | bindir |
|
|
627 | sbindir |
|
|
628 | libexecdir |
|
|
629 | datarootdir |
|
|
630 | datadir |
|
|
631 | sysconfdir |
|
|
632 | sharedstatedir |
|
|
633 | localstatedir |
|
|
634 | includedir |
|
|
635 | oldincludedir |
|
|
636 | docdir |
|
|
637 | infodir |
|
|
638 | htmldir |
|
|
639 | dvidir |
|
|
640 | pdfdir |
|
|
641 | psdir |
|
|
642 | libdir |
|
|
643 | localedir |
|
|
644 | mandir |
|
|
645 | DEFS |
|
|
646 | ECHO_C |
|
|
647 | ECHO_N |
|
|
648 | ECHO_T |
|
|
649 | LIBS |
|
|
650 | build_alias |
|
|
651 | host_alias |
|
|
652 | target_alias |
|
|
653 | INSTALL_PROGRAM |
|
|
654 | INSTALL_SCRIPT |
|
|
655 | INSTALL_DATA |
|
|
656 | am__isrc |
|
|
657 | CYGPATH_W |
|
|
658 | PACKAGE |
|
|
659 | VERSION |
|
|
660 | ACLOCAL |
|
|
661 | AUTOCONF |
|
|
662 | AUTOMAKE |
|
|
663 | AUTOHEADER |
|
|
664 | MAKEINFO |
|
|
665 | install_sh |
|
|
666 | STRIP |
|
|
667 | INSTALL_STRIP_PROGRAM |
|
|
668 | mkdir_p |
|
|
669 | AWK |
|
|
670 | SET_MAKE |
|
|
671 | am__leading_dot |
|
|
672 | AMTAR |
|
|
673 | am__tar |
|
|
674 | am__untar |
|
|
675 | CC |
|
|
676 | CFLAGS |
|
|
677 | LDFLAGS |
|
|
678 | CPPFLAGS |
|
|
679 | ac_ct_CC |
|
|
680 | EXEEXT |
|
|
681 | OBJEXT |
|
|
682 | DEPDIR |
|
|
683 | am__include |
|
|
684 | am__quote |
|
|
685 | AMDEP_TRUE |
|
|
686 | AMDEP_FALSE |
|
|
687 | AMDEPBACKSLASH |
|
|
688 | CCDEPMODE |
|
|
689 | am__fastdepCC_TRUE |
|
|
690 | am__fastdepCC_FALSE |
|
|
691 | CPP |
|
|
692 | GREP |
|
|
693 | EGREP |
|
|
694 | CXX |
|
|
695 | CXXFLAGS |
|
|
696 | ac_ct_CXX |
|
|
697 | CXXDEPMODE |
|
|
698 | am__fastdepCXX_TRUE |
|
|
699 | am__fastdepCXX_FALSE |
|
|
700 | CXXCPP |
|
|
701 | XMKMF |
|
|
702 | ANTLR |
|
|
703 | DLG |
|
|
704 | HAVE_PCCTS_TRUE |
|
|
705 | HAVE_PCCTS_FALSE |
|
|
706 | LIBOBJS |
|
|
707 | LTLIBOBJS' |
|
|
708 | ac_subst_files='' |
717 | ac_subst_files='' |
|
|
718 | ac_user_opts=' |
|
|
719 | enable_option_checking |
|
|
720 | enable_dependency_tracking |
|
|
721 | with_x |
|
|
722 | ' |
709 | ac_precious_vars='build_alias |
723 | ac_precious_vars='build_alias |
710 | host_alias |
724 | host_alias |
711 | target_alias |
725 | target_alias |
712 | CC |
726 | CC |
713 | CFLAGS |
727 | CFLAGS |
… | |
… | |
723 | |
737 | |
724 | |
738 | |
725 | # Initialize some variables set by options. |
739 | # Initialize some variables set by options. |
726 | ac_init_help= |
740 | ac_init_help= |
727 | ac_init_version=false |
741 | ac_init_version=false |
|
|
742 | ac_unrecognized_opts= |
|
|
743 | ac_unrecognized_sep= |
728 | # The variables have the same names as the options, with |
744 | # The variables have the same names as the options, with |
729 | # dashes changed to underlines. |
745 | # dashes changed to underlines. |
730 | cache_file=/dev/null |
746 | cache_file=/dev/null |
731 | exec_prefix=NONE |
747 | exec_prefix=NONE |
732 | no_create= |
748 | no_create= |
… | |
… | |
754 | datarootdir='${prefix}/share' |
770 | datarootdir='${prefix}/share' |
755 | datadir='${datarootdir}' |
771 | datadir='${datarootdir}' |
756 | sysconfdir='${prefix}/etc' |
772 | sysconfdir='${prefix}/etc' |
757 | sharedstatedir='${prefix}/com' |
773 | sharedstatedir='${prefix}/com' |
758 | localstatedir='${prefix}/var' |
774 | localstatedir='${prefix}/var' |
|
|
775 | runstatedir='${localstatedir}/run' |
759 | includedir='${prefix}/include' |
776 | includedir='${prefix}/include' |
760 | oldincludedir='/usr/include' |
777 | oldincludedir='/usr/include' |
761 | docdir='${datarootdir}/doc/${PACKAGE}' |
778 | docdir='${datarootdir}/doc/${PACKAGE}' |
762 | infodir='${datarootdir}/info' |
779 | infodir='${datarootdir}/info' |
763 | htmldir='${docdir}' |
780 | htmldir='${docdir}' |
… | |
… | |
778 | ac_prev= |
795 | ac_prev= |
779 | continue |
796 | continue |
780 | fi |
797 | fi |
781 | |
798 | |
782 | case $ac_option in |
799 | case $ac_option in |
783 | *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
800 | *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
|
|
801 | *=) ac_optarg= ;; |
784 | *) ac_optarg=yes ;; |
802 | *) ac_optarg=yes ;; |
785 | esac |
803 | esac |
786 | |
804 | |
787 | # Accept the important Cygnus configure options, so we can diagnose typos. |
805 | # Accept the important Cygnus configure options, so we can diagnose typos. |
788 | |
806 | |
789 | case $ac_dashdash$ac_option in |
807 | case $ac_dashdash$ac_option in |
… | |
… | |
821 | -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ |
839 | -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ |
822 | | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) |
840 | | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) |
823 | datarootdir=$ac_optarg ;; |
841 | datarootdir=$ac_optarg ;; |
824 | |
842 | |
825 | -disable-* | --disable-*) |
843 | -disable-* | --disable-*) |
826 | ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
844 | ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
827 | # Reject names that are not valid shell variable names. |
845 | # Reject names that are not valid shell variable names. |
828 | expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && |
846 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
829 | { echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
847 | as_fn_error $? "invalid feature name: $ac_useropt" |
830 | { (exit 1); exit 1; }; } |
848 | ac_useropt_orig=$ac_useropt |
831 | ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` |
849 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
|
|
850 | case $ac_user_opts in |
|
|
851 | *" |
|
|
852 | "enable_$ac_useropt" |
|
|
853 | "*) ;; |
|
|
854 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" |
|
|
855 | ac_unrecognized_sep=', ';; |
|
|
856 | esac |
832 | eval enable_$ac_feature=no ;; |
857 | eval enable_$ac_useropt=no ;; |
833 | |
858 | |
834 | -docdir | --docdir | --docdi | --doc | --do) |
859 | -docdir | --docdir | --docdi | --doc | --do) |
835 | ac_prev=docdir ;; |
860 | ac_prev=docdir ;; |
836 | -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) |
861 | -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) |
837 | docdir=$ac_optarg ;; |
862 | docdir=$ac_optarg ;; |
… | |
… | |
840 | ac_prev=dvidir ;; |
865 | ac_prev=dvidir ;; |
841 | -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) |
866 | -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) |
842 | dvidir=$ac_optarg ;; |
867 | dvidir=$ac_optarg ;; |
843 | |
868 | |
844 | -enable-* | --enable-*) |
869 | -enable-* | --enable-*) |
845 | ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
870 | ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
846 | # Reject names that are not valid shell variable names. |
871 | # Reject names that are not valid shell variable names. |
847 | expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && |
872 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
848 | { echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
873 | as_fn_error $? "invalid feature name: $ac_useropt" |
849 | { (exit 1); exit 1; }; } |
874 | ac_useropt_orig=$ac_useropt |
850 | ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` |
875 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
|
|
876 | case $ac_user_opts in |
|
|
877 | *" |
|
|
878 | "enable_$ac_useropt" |
|
|
879 | "*) ;; |
|
|
880 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" |
|
|
881 | ac_unrecognized_sep=', ';; |
|
|
882 | esac |
851 | eval enable_$ac_feature=\$ac_optarg ;; |
883 | eval enable_$ac_useropt=\$ac_optarg ;; |
852 | |
884 | |
853 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
885 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
854 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
886 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
855 | | --exec | --exe | --ex) |
887 | | --exec | --exe | --ex) |
856 | ac_prev=exec_prefix ;; |
888 | ac_prev=exec_prefix ;; |
… | |
… | |
991 | |
1023 | |
992 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
1024 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
993 | | -silent | --silent | --silen | --sile | --sil) |
1025 | | -silent | --silent | --silen | --sile | --sil) |
994 | silent=yes ;; |
1026 | silent=yes ;; |
995 | |
1027 | |
|
|
1028 | -runstatedir | --runstatedir | --runstatedi | --runstated \ |
|
|
1029 | | --runstate | --runstat | --runsta | --runst | --runs \ |
|
|
1030 | | --run | --ru | --r) |
|
|
1031 | ac_prev=runstatedir ;; |
|
|
1032 | -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ |
|
|
1033 | | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ |
|
|
1034 | | --run=* | --ru=* | --r=*) |
|
|
1035 | runstatedir=$ac_optarg ;; |
|
|
1036 | |
996 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
1037 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
997 | ac_prev=sbindir ;; |
1038 | ac_prev=sbindir ;; |
998 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
1039 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
999 | | --sbi=* | --sb=*) |
1040 | | --sbi=* | --sb=*) |
1000 | sbindir=$ac_optarg ;; |
1041 | sbindir=$ac_optarg ;; |
… | |
… | |
1037 | |
1078 | |
1038 | -version | --version | --versio | --versi | --vers | -V) |
1079 | -version | --version | --versio | --versi | --vers | -V) |
1039 | ac_init_version=: ;; |
1080 | ac_init_version=: ;; |
1040 | |
1081 | |
1041 | -with-* | --with-*) |
1082 | -with-* | --with-*) |
1042 | ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
1083 | ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
1043 | # Reject names that are not valid shell variable names. |
1084 | # Reject names that are not valid shell variable names. |
1044 | expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && |
1085 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1045 | { echo "$as_me: error: invalid package name: $ac_package" >&2 |
1086 | as_fn_error $? "invalid package name: $ac_useropt" |
1046 | { (exit 1); exit 1; }; } |
1087 | ac_useropt_orig=$ac_useropt |
1047 | ac_package=`echo $ac_package | sed 's/[-.]/_/g'` |
1088 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
|
|
1089 | case $ac_user_opts in |
|
|
1090 | *" |
|
|
1091 | "with_$ac_useropt" |
|
|
1092 | "*) ;; |
|
|
1093 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" |
|
|
1094 | ac_unrecognized_sep=', ';; |
|
|
1095 | esac |
1048 | eval with_$ac_package=\$ac_optarg ;; |
1096 | eval with_$ac_useropt=\$ac_optarg ;; |
1049 | |
1097 | |
1050 | -without-* | --without-*) |
1098 | -without-* | --without-*) |
1051 | ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
1099 | ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
1052 | # Reject names that are not valid shell variable names. |
1100 | # Reject names that are not valid shell variable names. |
1053 | expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && |
1101 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1054 | { echo "$as_me: error: invalid package name: $ac_package" >&2 |
1102 | as_fn_error $? "invalid package name: $ac_useropt" |
1055 | { (exit 1); exit 1; }; } |
1103 | ac_useropt_orig=$ac_useropt |
1056 | ac_package=`echo $ac_package | sed 's/[-.]/_/g'` |
1104 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
|
|
1105 | case $ac_user_opts in |
|
|
1106 | *" |
|
|
1107 | "with_$ac_useropt" |
|
|
1108 | "*) ;; |
|
|
1109 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" |
|
|
1110 | ac_unrecognized_sep=', ';; |
|
|
1111 | esac |
1057 | eval with_$ac_package=no ;; |
1112 | eval with_$ac_useropt=no ;; |
1058 | |
1113 | |
1059 | --x) |
1114 | --x) |
1060 | # Obsolete; use --with-x. |
1115 | # Obsolete; use --with-x. |
1061 | with_x=yes ;; |
1116 | with_x=yes ;; |
1062 | |
1117 | |
… | |
… | |
1072 | ac_prev=x_libraries ;; |
1127 | ac_prev=x_libraries ;; |
1073 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
1128 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
1074 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
1129 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
1075 | x_libraries=$ac_optarg ;; |
1130 | x_libraries=$ac_optarg ;; |
1076 | |
1131 | |
1077 | -*) { echo "$as_me: error: unrecognized option: $ac_option |
1132 | -*) as_fn_error $? "unrecognized option: \`$ac_option' |
1078 | Try \`$0 --help' for more information." >&2 |
1133 | Try \`$0 --help' for more information" |
1079 | { (exit 1); exit 1; }; } |
|
|
1080 | ;; |
1134 | ;; |
1081 | |
1135 | |
1082 | *=*) |
1136 | *=*) |
1083 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
1137 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
1084 | # Reject names that are not valid shell variable names. |
1138 | # Reject names that are not valid shell variable names. |
1085 | expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && |
1139 | case $ac_envvar in #( |
|
|
1140 | '' | [0-9]* | *[!_$as_cr_alnum]* ) |
1086 | { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 |
1141 | as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; |
1087 | { (exit 1); exit 1; }; } |
1142 | esac |
1088 | eval $ac_envvar=\$ac_optarg |
1143 | eval $ac_envvar=\$ac_optarg |
1089 | export $ac_envvar ;; |
1144 | export $ac_envvar ;; |
1090 | |
1145 | |
1091 | *) |
1146 | *) |
1092 | # FIXME: should be removed in autoconf 3.0. |
1147 | # FIXME: should be removed in autoconf 3.0. |
1093 | echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
1148 | $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
1094 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
1149 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
1095 | echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
1150 | $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
1096 | : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} |
1151 | : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" |
1097 | ;; |
1152 | ;; |
1098 | |
1153 | |
1099 | esac |
1154 | esac |
1100 | done |
1155 | done |
1101 | |
1156 | |
1102 | if test -n "$ac_prev"; then |
1157 | if test -n "$ac_prev"; then |
1103 | ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
1158 | ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
1104 | { echo "$as_me: error: missing argument to $ac_option" >&2 |
1159 | as_fn_error $? "missing argument to $ac_option" |
1105 | { (exit 1); exit 1; }; } |
|
|
1106 | fi |
1160 | fi |
1107 | |
1161 | |
1108 | # Be sure to have absolute directory names. |
1162 | if test -n "$ac_unrecognized_opts"; then |
|
|
1163 | case $enable_option_checking in |
|
|
1164 | no) ;; |
|
|
1165 | fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; |
|
|
1166 | *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; |
|
|
1167 | esac |
|
|
1168 | fi |
|
|
1169 | |
|
|
1170 | # Check all directory arguments for consistency. |
1109 | for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
1171 | for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
1110 | datadir sysconfdir sharedstatedir localstatedir includedir \ |
1172 | datadir sysconfdir sharedstatedir localstatedir includedir \ |
1111 | oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
1173 | oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
1112 | libdir localedir mandir |
1174 | libdir localedir mandir runstatedir |
1113 | do |
1175 | do |
1114 | eval ac_val=\$$ac_var |
1176 | eval ac_val=\$$ac_var |
|
|
1177 | # Remove trailing slashes. |
|
|
1178 | case $ac_val in |
|
|
1179 | */ ) |
|
|
1180 | ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` |
|
|
1181 | eval $ac_var=\$ac_val;; |
|
|
1182 | esac |
|
|
1183 | # Be sure to have absolute directory names. |
1115 | case $ac_val in |
1184 | case $ac_val in |
1116 | [\\/$]* | ?:[\\/]* ) continue;; |
1185 | [\\/$]* | ?:[\\/]* ) continue;; |
1117 | NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
1186 | NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
1118 | esac |
1187 | esac |
1119 | { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
1188 | as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" |
1120 | { (exit 1); exit 1; }; } |
|
|
1121 | done |
1189 | done |
1122 | |
1190 | |
1123 | # There might be people who depend on the old broken behavior: `$host' |
1191 | # There might be people who depend on the old broken behavior: `$host' |
1124 | # used to hold the argument of --host etc. |
1192 | # used to hold the argument of --host etc. |
1125 | # FIXME: To remove some day. |
1193 | # FIXME: To remove some day. |
… | |
… | |
1129 | |
1197 | |
1130 | # FIXME: To remove some day. |
1198 | # FIXME: To remove some day. |
1131 | if test "x$host_alias" != x; then |
1199 | if test "x$host_alias" != x; then |
1132 | if test "x$build_alias" = x; then |
1200 | if test "x$build_alias" = x; then |
1133 | cross_compiling=maybe |
1201 | cross_compiling=maybe |
1134 | echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. |
|
|
1135 | If a cross compiler is detected then cross compile mode will be used." >&2 |
|
|
1136 | elif test "x$build_alias" != "x$host_alias"; then |
1202 | elif test "x$build_alias" != "x$host_alias"; then |
1137 | cross_compiling=yes |
1203 | cross_compiling=yes |
1138 | fi |
1204 | fi |
1139 | fi |
1205 | fi |
1140 | |
1206 | |
… | |
… | |
1145 | |
1211 | |
1146 | |
1212 | |
1147 | ac_pwd=`pwd` && test -n "$ac_pwd" && |
1213 | ac_pwd=`pwd` && test -n "$ac_pwd" && |
1148 | ac_ls_di=`ls -di .` && |
1214 | ac_ls_di=`ls -di .` && |
1149 | ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
1215 | ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
1150 | { echo "$as_me: error: Working directory cannot be determined" >&2 |
1216 | as_fn_error $? "working directory cannot be determined" |
1151 | { (exit 1); exit 1; }; } |
|
|
1152 | test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
1217 | test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
1153 | { echo "$as_me: error: pwd does not report name of working directory" >&2 |
1218 | as_fn_error $? "pwd does not report name of working directory" |
1154 | { (exit 1); exit 1; }; } |
|
|
1155 | |
1219 | |
1156 | |
1220 | |
1157 | # Find the source files, if location was not specified. |
1221 | # Find the source files, if location was not specified. |
1158 | if test -z "$srcdir"; then |
1222 | if test -z "$srcdir"; then |
1159 | ac_srcdir_defaulted=yes |
1223 | ac_srcdir_defaulted=yes |
1160 | # Try the directory containing this script, then the parent directory. |
1224 | # Try the directory containing this script, then the parent directory. |
1161 | ac_confdir=`$as_dirname -- "$0" || |
1225 | ac_confdir=`$as_dirname -- "$as_myself" || |
1162 | $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
1226 | $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
1163 | X"$0" : 'X\(//\)[^/]' \| \ |
1227 | X"$as_myself" : 'X\(//\)[^/]' \| \ |
1164 | X"$0" : 'X\(//\)$' \| \ |
1228 | X"$as_myself" : 'X\(//\)$' \| \ |
1165 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
1229 | X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || |
1166 | echo X"$0" | |
1230 | $as_echo X"$as_myself" | |
1167 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
1231 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
1168 | s//\1/ |
1232 | s//\1/ |
1169 | q |
1233 | q |
1170 | } |
1234 | } |
1171 | /^X\(\/\/\)[^/].*/{ |
1235 | /^X\(\/\/\)[^/].*/{ |
… | |
… | |
1188 | else |
1252 | else |
1189 | ac_srcdir_defaulted=no |
1253 | ac_srcdir_defaulted=no |
1190 | fi |
1254 | fi |
1191 | if test ! -r "$srcdir/$ac_unique_file"; then |
1255 | if test ! -r "$srcdir/$ac_unique_file"; then |
1192 | test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
1256 | test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
1193 | { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 |
1257 | as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" |
1194 | { (exit 1); exit 1; }; } |
|
|
1195 | fi |
1258 | fi |
1196 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
1259 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
1197 | ac_abs_confdir=`( |
1260 | ac_abs_confdir=`( |
1198 | cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 |
1261 | cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" |
1199 | { (exit 1); exit 1; }; } |
|
|
1200 | pwd)` |
1262 | pwd)` |
1201 | # When building in place, set srcdir=. |
1263 | # When building in place, set srcdir=. |
1202 | if test "$ac_abs_confdir" = "$ac_pwd"; then |
1264 | if test "$ac_abs_confdir" = "$ac_pwd"; then |
1203 | srcdir=. |
1265 | srcdir=. |
1204 | fi |
1266 | fi |
… | |
… | |
1234 | Configuration: |
1296 | Configuration: |
1235 | -h, --help display this help and exit |
1297 | -h, --help display this help and exit |
1236 | --help=short display options specific to this package |
1298 | --help=short display options specific to this package |
1237 | --help=recursive display the short help of all the included packages |
1299 | --help=recursive display the short help of all the included packages |
1238 | -V, --version display version information and exit |
1300 | -V, --version display version information and exit |
1239 | -q, --quiet, --silent do not print \`checking...' messages |
1301 | -q, --quiet, --silent do not print \`checking ...' messages |
1240 | --cache-file=FILE cache test results in FILE [disabled] |
1302 | --cache-file=FILE cache test results in FILE [disabled] |
1241 | -C, --config-cache alias for \`--cache-file=config.cache' |
1303 | -C, --config-cache alias for \`--cache-file=config.cache' |
1242 | -n, --no-create do not create output files |
1304 | -n, --no-create do not create output files |
1243 | --srcdir=DIR find the sources in DIR [configure dir or \`..'] |
1305 | --srcdir=DIR find the sources in DIR [configure dir or \`..'] |
1244 | |
1306 | |
1245 | Installation directories: |
1307 | Installation directories: |
1246 | --prefix=PREFIX install architecture-independent files in PREFIX |
1308 | --prefix=PREFIX install architecture-independent files in PREFIX |
1247 | [$ac_default_prefix] |
1309 | [$ac_default_prefix] |
1248 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
1310 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
1249 | [PREFIX] |
1311 | [PREFIX] |
1250 | |
1312 | |
1251 | By default, \`make install' will install all the files in |
1313 | By default, \`make install' will install all the files in |
1252 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
1314 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
1253 | an installation prefix other than \`$ac_default_prefix' using \`--prefix', |
1315 | an installation prefix other than \`$ac_default_prefix' using \`--prefix', |
1254 | for instance \`--prefix=\$HOME'. |
1316 | for instance \`--prefix=\$HOME'. |
1255 | |
1317 | |
1256 | For better control, use the options below. |
1318 | For better control, use the options below. |
1257 | |
1319 | |
1258 | Fine tuning of the installation directories: |
1320 | Fine tuning of the installation directories: |
1259 | --bindir=DIR user executables [EPREFIX/bin] |
1321 | --bindir=DIR user executables [EPREFIX/bin] |
1260 | --sbindir=DIR system admin executables [EPREFIX/sbin] |
1322 | --sbindir=DIR system admin executables [EPREFIX/sbin] |
1261 | --libexecdir=DIR program executables [EPREFIX/libexec] |
1323 | --libexecdir=DIR program executables [EPREFIX/libexec] |
1262 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
1324 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
1263 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
1325 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
1264 | --localstatedir=DIR modifiable single-machine data [PREFIX/var] |
1326 | --localstatedir=DIR modifiable single-machine data [PREFIX/var] |
|
|
1327 | --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] |
1265 | --libdir=DIR object code libraries [EPREFIX/lib] |
1328 | --libdir=DIR object code libraries [EPREFIX/lib] |
1266 | --includedir=DIR C header files [PREFIX/include] |
1329 | --includedir=DIR C header files [PREFIX/include] |
1267 | --oldincludedir=DIR C header files for non-gcc [/usr/include] |
1330 | --oldincludedir=DIR C header files for non-gcc [/usr/include] |
1268 | --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
1331 | --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
1269 | --datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
1332 | --datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
1270 | --infodir=DIR info documentation [DATAROOTDIR/info] |
1333 | --infodir=DIR info documentation [DATAROOTDIR/info] |
1271 | --localedir=DIR locale-dependent data [DATAROOTDIR/locale] |
1334 | --localedir=DIR locale-dependent data [DATAROOTDIR/locale] |
1272 | --mandir=DIR man documentation [DATAROOTDIR/man] |
1335 | --mandir=DIR man documentation [DATAROOTDIR/man] |
1273 | --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] |
1336 | --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] |
1274 | --htmldir=DIR html documentation [DOCDIR] |
1337 | --htmldir=DIR html documentation [DOCDIR] |
1275 | --dvidir=DIR dvi documentation [DOCDIR] |
1338 | --dvidir=DIR dvi documentation [DOCDIR] |
1276 | --pdfdir=DIR pdf documentation [DOCDIR] |
1339 | --pdfdir=DIR pdf documentation [DOCDIR] |
1277 | --psdir=DIR ps documentation [DOCDIR] |
1340 | --psdir=DIR ps documentation [DOCDIR] |
1278 | _ACEOF |
1341 | _ACEOF |
1279 | |
1342 | |
1280 | cat <<\_ACEOF |
1343 | cat <<\_ACEOF |
1281 | |
1344 | |
1282 | Program names: |
1345 | Program names: |
… | |
… | |
1293 | if test -n "$ac_init_help"; then |
1356 | if test -n "$ac_init_help"; then |
1294 | |
1357 | |
1295 | cat <<\_ACEOF |
1358 | cat <<\_ACEOF |
1296 | |
1359 | |
1297 | Optional Features: |
1360 | Optional Features: |
|
|
1361 | --disable-option-checking ignore unrecognized --enable/--with options |
1298 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
1362 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
1299 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
1363 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
1300 | --disable-dependency-tracking speeds up one-time build |
1364 | --disable-dependency-tracking speeds up one-time build |
1301 | --enable-dependency-tracking do not reject slow dependency extractors |
1365 | --enable-dependency-tracking do not reject slow dependency extractors |
1302 | |
1366 | |
… | |
… | |
1309 | CC C compiler command |
1373 | CC C compiler command |
1310 | CFLAGS C compiler flags |
1374 | CFLAGS C compiler flags |
1311 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
1375 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
1312 | nonstandard directory <lib dir> |
1376 | nonstandard directory <lib dir> |
1313 | LIBS libraries to pass to the linker, e.g. -l<library> |
1377 | LIBS libraries to pass to the linker, e.g. -l<library> |
1314 | CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if |
1378 | CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if |
1315 | you have headers in a nonstandard directory <include dir> |
1379 | you have headers in a nonstandard directory <include dir> |
1316 | CPP C preprocessor |
1380 | CPP C preprocessor |
1317 | CXX C++ compiler command |
1381 | CXX C++ compiler command |
1318 | CXXFLAGS C++ compiler flags |
1382 | CXXFLAGS C++ compiler flags |
1319 | CXXCPP C++ preprocessor |
1383 | CXXCPP C++ preprocessor |
1320 | XMKMF Path to xmkmf, Makefile generator for X Window System |
1384 | XMKMF Path to xmkmf, Makefile generator for X Window System |
1321 | |
1385 | |
1322 | Use these variables to override the choices made by `configure' or to help |
1386 | Use these variables to override the choices made by `configure' or to help |
1323 | it to find libraries and programs with nonstandard names/locations. |
1387 | it to find libraries and programs with nonstandard names/locations. |
1324 | |
1388 | |
|
|
1389 | Report bugs to the package provider. |
1325 | _ACEOF |
1390 | _ACEOF |
1326 | ac_status=$? |
1391 | ac_status=$? |
1327 | fi |
1392 | fi |
1328 | |
1393 | |
1329 | if test "$ac_init_help" = "recursive"; then |
1394 | if test "$ac_init_help" = "recursive"; then |
1330 | # If there are subdirs, report their specific --help. |
1395 | # If there are subdirs, report their specific --help. |
1331 | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
1396 | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
1332 | test -d "$ac_dir" || continue |
1397 | test -d "$ac_dir" || |
|
|
1398 | { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || |
|
|
1399 | continue |
1333 | ac_builddir=. |
1400 | ac_builddir=. |
1334 | |
1401 | |
1335 | case "$ac_dir" in |
1402 | case "$ac_dir" in |
1336 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
1403 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
1337 | *) |
1404 | *) |
1338 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
1405 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
1339 | # A ".." for each directory in $ac_dir_suffix. |
1406 | # A ".." for each directory in $ac_dir_suffix. |
1340 | ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` |
1407 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
1341 | case $ac_top_builddir_sub in |
1408 | case $ac_top_builddir_sub in |
1342 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
1409 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
1343 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
1410 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
1344 | esac ;; |
1411 | esac ;; |
1345 | esac |
1412 | esac |
… | |
… | |
1371 | $SHELL "$ac_srcdir/configure.gnu" --help=recursive |
1438 | $SHELL "$ac_srcdir/configure.gnu" --help=recursive |
1372 | elif test -f "$ac_srcdir/configure"; then |
1439 | elif test -f "$ac_srcdir/configure"; then |
1373 | echo && |
1440 | echo && |
1374 | $SHELL "$ac_srcdir/configure" --help=recursive |
1441 | $SHELL "$ac_srcdir/configure" --help=recursive |
1375 | else |
1442 | else |
1376 | echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
1443 | $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
1377 | fi || ac_status=$? |
1444 | fi || ac_status=$? |
1378 | cd "$ac_pwd" || { ac_status=$?; break; } |
1445 | cd "$ac_pwd" || { ac_status=$?; break; } |
1379 | done |
1446 | done |
1380 | fi |
1447 | fi |
1381 | |
1448 | |
1382 | test -n "$ac_init_help" && exit $ac_status |
1449 | test -n "$ac_init_help" && exit $ac_status |
1383 | if $ac_init_version; then |
1450 | if $ac_init_version; then |
1384 | cat <<\_ACEOF |
1451 | cat <<\_ACEOF |
1385 | configure |
1452 | configure |
1386 | generated by GNU Autoconf 2.61 |
1453 | generated by GNU Autoconf 2.69 |
1387 | |
1454 | |
1388 | Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
1455 | Copyright (C) 2012 Free Software Foundation, Inc. |
1389 | 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. |
|
|
1390 | This configure script is free software; the Free Software Foundation |
1456 | This configure script is free software; the Free Software Foundation |
1391 | gives unlimited permission to copy, distribute and modify it. |
1457 | gives unlimited permission to copy, distribute and modify it. |
1392 | _ACEOF |
1458 | _ACEOF |
1393 | exit |
1459 | exit |
1394 | fi |
1460 | fi |
|
|
1461 | |
|
|
1462 | ## ------------------------ ## |
|
|
1463 | ## Autoconf initialization. ## |
|
|
1464 | ## ------------------------ ## |
|
|
1465 | |
|
|
1466 | # ac_fn_c_try_compile LINENO |
|
|
1467 | # -------------------------- |
|
|
1468 | # Try to compile conftest.$ac_ext, and return whether this succeeded. |
|
|
1469 | ac_fn_c_try_compile () |
|
|
1470 | { |
|
|
1471 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
|
1472 | rm -f conftest.$ac_objext |
|
|
1473 | if { { ac_try="$ac_compile" |
|
|
1474 | case "(($ac_try" in |
|
|
1475 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
1476 | *) ac_try_echo=$ac_try;; |
|
|
1477 | esac |
|
|
1478 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
|
1479 | $as_echo "$ac_try_echo"; } >&5 |
|
|
1480 | (eval "$ac_compile") 2>conftest.err |
|
|
1481 | ac_status=$? |
|
|
1482 | if test -s conftest.err; then |
|
|
1483 | grep -v '^ *+' conftest.err >conftest.er1 |
|
|
1484 | cat conftest.er1 >&5 |
|
|
1485 | mv -f conftest.er1 conftest.err |
|
|
1486 | fi |
|
|
1487 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
|
1488 | test $ac_status = 0; } && { |
|
|
1489 | test -z "$ac_c_werror_flag" || |
|
|
1490 | test ! -s conftest.err |
|
|
1491 | } && test -s conftest.$ac_objext; then : |
|
|
1492 | ac_retval=0 |
|
|
1493 | else |
|
|
1494 | $as_echo "$as_me: failed program was:" >&5 |
|
|
1495 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
1496 | |
|
|
1497 | ac_retval=1 |
|
|
1498 | fi |
|
|
1499 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
|
|
1500 | as_fn_set_status $ac_retval |
|
|
1501 | |
|
|
1502 | } # ac_fn_c_try_compile |
|
|
1503 | |
|
|
1504 | # ac_fn_c_try_cpp LINENO |
|
|
1505 | # ---------------------- |
|
|
1506 | # Try to preprocess conftest.$ac_ext, and return whether this succeeded. |
|
|
1507 | ac_fn_c_try_cpp () |
|
|
1508 | { |
|
|
1509 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
|
1510 | if { { ac_try="$ac_cpp conftest.$ac_ext" |
|
|
1511 | case "(($ac_try" in |
|
|
1512 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
1513 | *) ac_try_echo=$ac_try;; |
|
|
1514 | esac |
|
|
1515 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
|
1516 | $as_echo "$ac_try_echo"; } >&5 |
|
|
1517 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err |
|
|
1518 | ac_status=$? |
|
|
1519 | if test -s conftest.err; then |
|
|
1520 | grep -v '^ *+' conftest.err >conftest.er1 |
|
|
1521 | cat conftest.er1 >&5 |
|
|
1522 | mv -f conftest.er1 conftest.err |
|
|
1523 | fi |
|
|
1524 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
|
1525 | test $ac_status = 0; } > conftest.i && { |
|
|
1526 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
|
|
1527 | test ! -s conftest.err |
|
|
1528 | }; then : |
|
|
1529 | ac_retval=0 |
|
|
1530 | else |
|
|
1531 | $as_echo "$as_me: failed program was:" >&5 |
|
|
1532 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
1533 | |
|
|
1534 | ac_retval=1 |
|
|
1535 | fi |
|
|
1536 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
|
|
1537 | as_fn_set_status $ac_retval |
|
|
1538 | |
|
|
1539 | } # ac_fn_c_try_cpp |
|
|
1540 | |
|
|
1541 | # ac_fn_c_try_run LINENO |
|
|
1542 | # ---------------------- |
|
|
1543 | # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes |
|
|
1544 | # that executables *can* be run. |
|
|
1545 | ac_fn_c_try_run () |
|
|
1546 | { |
|
|
1547 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
|
1548 | if { { ac_try="$ac_link" |
|
|
1549 | case "(($ac_try" in |
|
|
1550 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
1551 | *) ac_try_echo=$ac_try;; |
|
|
1552 | esac |
|
|
1553 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
|
1554 | $as_echo "$ac_try_echo"; } >&5 |
|
|
1555 | (eval "$ac_link") 2>&5 |
|
|
1556 | ac_status=$? |
|
|
1557 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
|
1558 | test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' |
|
|
1559 | { { case "(($ac_try" in |
|
|
1560 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
1561 | *) ac_try_echo=$ac_try;; |
|
|
1562 | esac |
|
|
1563 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
|
1564 | $as_echo "$ac_try_echo"; } >&5 |
|
|
1565 | (eval "$ac_try") 2>&5 |
|
|
1566 | ac_status=$? |
|
|
1567 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
|
1568 | test $ac_status = 0; }; }; then : |
|
|
1569 | ac_retval=0 |
|
|
1570 | else |
|
|
1571 | $as_echo "$as_me: program exited with status $ac_status" >&5 |
|
|
1572 | $as_echo "$as_me: failed program was:" >&5 |
|
|
1573 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
1574 | |
|
|
1575 | ac_retval=$ac_status |
|
|
1576 | fi |
|
|
1577 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
|
|
1578 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
|
|
1579 | as_fn_set_status $ac_retval |
|
|
1580 | |
|
|
1581 | } # ac_fn_c_try_run |
|
|
1582 | |
|
|
1583 | # ac_fn_cxx_try_compile LINENO |
|
|
1584 | # ---------------------------- |
|
|
1585 | # Try to compile conftest.$ac_ext, and return whether this succeeded. |
|
|
1586 | ac_fn_cxx_try_compile () |
|
|
1587 | { |
|
|
1588 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
|
1589 | rm -f conftest.$ac_objext |
|
|
1590 | if { { ac_try="$ac_compile" |
|
|
1591 | case "(($ac_try" in |
|
|
1592 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
1593 | *) ac_try_echo=$ac_try;; |
|
|
1594 | esac |
|
|
1595 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
|
1596 | $as_echo "$ac_try_echo"; } >&5 |
|
|
1597 | (eval "$ac_compile") 2>conftest.err |
|
|
1598 | ac_status=$? |
|
|
1599 | if test -s conftest.err; then |
|
|
1600 | grep -v '^ *+' conftest.err >conftest.er1 |
|
|
1601 | cat conftest.er1 >&5 |
|
|
1602 | mv -f conftest.er1 conftest.err |
|
|
1603 | fi |
|
|
1604 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
|
1605 | test $ac_status = 0; } && { |
|
|
1606 | test -z "$ac_cxx_werror_flag" || |
|
|
1607 | test ! -s conftest.err |
|
|
1608 | } && test -s conftest.$ac_objext; then : |
|
|
1609 | ac_retval=0 |
|
|
1610 | else |
|
|
1611 | $as_echo "$as_me: failed program was:" >&5 |
|
|
1612 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
1613 | |
|
|
1614 | ac_retval=1 |
|
|
1615 | fi |
|
|
1616 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
|
|
1617 | as_fn_set_status $ac_retval |
|
|
1618 | |
|
|
1619 | } # ac_fn_cxx_try_compile |
|
|
1620 | |
|
|
1621 | # ac_fn_cxx_try_cpp LINENO |
|
|
1622 | # ------------------------ |
|
|
1623 | # Try to preprocess conftest.$ac_ext, and return whether this succeeded. |
|
|
1624 | ac_fn_cxx_try_cpp () |
|
|
1625 | { |
|
|
1626 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
|
1627 | if { { ac_try="$ac_cpp conftest.$ac_ext" |
|
|
1628 | case "(($ac_try" in |
|
|
1629 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
1630 | *) ac_try_echo=$ac_try;; |
|
|
1631 | esac |
|
|
1632 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
|
1633 | $as_echo "$ac_try_echo"; } >&5 |
|
|
1634 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err |
|
|
1635 | ac_status=$? |
|
|
1636 | if test -s conftest.err; then |
|
|
1637 | grep -v '^ *+' conftest.err >conftest.er1 |
|
|
1638 | cat conftest.er1 >&5 |
|
|
1639 | mv -f conftest.er1 conftest.err |
|
|
1640 | fi |
|
|
1641 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
|
1642 | test $ac_status = 0; } > conftest.i && { |
|
|
1643 | test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
|
|
1644 | test ! -s conftest.err |
|
|
1645 | }; then : |
|
|
1646 | ac_retval=0 |
|
|
1647 | else |
|
|
1648 | $as_echo "$as_me: failed program was:" >&5 |
|
|
1649 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
1650 | |
|
|
1651 | ac_retval=1 |
|
|
1652 | fi |
|
|
1653 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
|
|
1654 | as_fn_set_status $ac_retval |
|
|
1655 | |
|
|
1656 | } # ac_fn_cxx_try_cpp |
|
|
1657 | |
|
|
1658 | # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES |
|
|
1659 | # --------------------------------------------------------- |
|
|
1660 | # Tests whether HEADER exists, giving a warning if it cannot be compiled using |
|
|
1661 | # the include files in INCLUDES and setting the cache variable VAR |
|
|
1662 | # accordingly. |
|
|
1663 | ac_fn_cxx_check_header_mongrel () |
|
|
1664 | { |
|
|
1665 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
|
1666 | if eval \${$3+:} false; then : |
|
|
1667 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
|
|
1668 | $as_echo_n "checking for $2... " >&6; } |
|
|
1669 | if eval \${$3+:} false; then : |
|
|
1670 | $as_echo_n "(cached) " >&6 |
|
|
1671 | fi |
|
|
1672 | eval ac_res=\$$3 |
|
|
1673 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
|
|
1674 | $as_echo "$ac_res" >&6; } |
|
|
1675 | else |
|
|
1676 | # Is the header compilable? |
|
|
1677 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 |
|
|
1678 | $as_echo_n "checking $2 usability... " >&6; } |
|
|
1679 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
1680 | /* end confdefs.h. */ |
|
|
1681 | $4 |
|
|
1682 | #include <$2> |
|
|
1683 | _ACEOF |
|
|
1684 | if ac_fn_cxx_try_compile "$LINENO"; then : |
|
|
1685 | ac_header_compiler=yes |
|
|
1686 | else |
|
|
1687 | ac_header_compiler=no |
|
|
1688 | fi |
|
|
1689 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
1690 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 |
|
|
1691 | $as_echo "$ac_header_compiler" >&6; } |
|
|
1692 | |
|
|
1693 | # Is the header present? |
|
|
1694 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 |
|
|
1695 | $as_echo_n "checking $2 presence... " >&6; } |
|
|
1696 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
1697 | /* end confdefs.h. */ |
|
|
1698 | #include <$2> |
|
|
1699 | _ACEOF |
|
|
1700 | if ac_fn_cxx_try_cpp "$LINENO"; then : |
|
|
1701 | ac_header_preproc=yes |
|
|
1702 | else |
|
|
1703 | ac_header_preproc=no |
|
|
1704 | fi |
|
|
1705 | rm -f conftest.err conftest.i conftest.$ac_ext |
|
|
1706 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 |
|
|
1707 | $as_echo "$ac_header_preproc" >&6; } |
|
|
1708 | |
|
|
1709 | # So? What about this header? |
|
|
1710 | case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #(( |
|
|
1711 | yes:no: ) |
|
|
1712 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 |
|
|
1713 | $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} |
|
|
1714 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
|
|
1715 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
|
|
1716 | ;; |
|
|
1717 | no:yes:* ) |
|
|
1718 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 |
|
|
1719 | $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} |
|
|
1720 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 |
|
|
1721 | $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} |
|
|
1722 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 |
|
|
1723 | $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} |
|
|
1724 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 |
|
|
1725 | $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} |
|
|
1726 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
|
|
1727 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
|
|
1728 | ;; |
|
|
1729 | esac |
|
|
1730 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
|
|
1731 | $as_echo_n "checking for $2... " >&6; } |
|
|
1732 | if eval \${$3+:} false; then : |
|
|
1733 | $as_echo_n "(cached) " >&6 |
|
|
1734 | else |
|
|
1735 | eval "$3=\$ac_header_compiler" |
|
|
1736 | fi |
|
|
1737 | eval ac_res=\$$3 |
|
|
1738 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
|
|
1739 | $as_echo "$ac_res" >&6; } |
|
|
1740 | fi |
|
|
1741 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
|
|
1742 | |
|
|
1743 | } # ac_fn_cxx_check_header_mongrel |
|
|
1744 | |
|
|
1745 | # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES |
|
|
1746 | # --------------------------------------------------------- |
|
|
1747 | # Tests whether HEADER exists and can be compiled using the include files in |
|
|
1748 | # INCLUDES, setting the cache variable VAR accordingly. |
|
|
1749 | ac_fn_cxx_check_header_compile () |
|
|
1750 | { |
|
|
1751 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
|
1752 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
|
|
1753 | $as_echo_n "checking for $2... " >&6; } |
|
|
1754 | if eval \${$3+:} false; then : |
|
|
1755 | $as_echo_n "(cached) " >&6 |
|
|
1756 | else |
|
|
1757 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
1758 | /* end confdefs.h. */ |
|
|
1759 | $4 |
|
|
1760 | #include <$2> |
|
|
1761 | _ACEOF |
|
|
1762 | if ac_fn_cxx_try_compile "$LINENO"; then : |
|
|
1763 | eval "$3=yes" |
|
|
1764 | else |
|
|
1765 | eval "$3=no" |
|
|
1766 | fi |
|
|
1767 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
1768 | fi |
|
|
1769 | eval ac_res=\$$3 |
|
|
1770 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
|
|
1771 | $as_echo "$ac_res" >&6; } |
|
|
1772 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
|
|
1773 | |
|
|
1774 | } # ac_fn_cxx_check_header_compile |
|
|
1775 | |
|
|
1776 | # ac_fn_cxx_try_link LINENO |
|
|
1777 | # ------------------------- |
|
|
1778 | # Try to link conftest.$ac_ext, and return whether this succeeded. |
|
|
1779 | ac_fn_cxx_try_link () |
|
|
1780 | { |
|
|
1781 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
|
1782 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
1783 | if { { ac_try="$ac_link" |
|
|
1784 | case "(($ac_try" in |
|
|
1785 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
1786 | *) ac_try_echo=$ac_try;; |
|
|
1787 | esac |
|
|
1788 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
|
1789 | $as_echo "$ac_try_echo"; } >&5 |
|
|
1790 | (eval "$ac_link") 2>conftest.err |
|
|
1791 | ac_status=$? |
|
|
1792 | if test -s conftest.err; then |
|
|
1793 | grep -v '^ *+' conftest.err >conftest.er1 |
|
|
1794 | cat conftest.er1 >&5 |
|
|
1795 | mv -f conftest.er1 conftest.err |
|
|
1796 | fi |
|
|
1797 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
|
1798 | test $ac_status = 0; } && { |
|
|
1799 | test -z "$ac_cxx_werror_flag" || |
|
|
1800 | test ! -s conftest.err |
|
|
1801 | } && test -s conftest$ac_exeext && { |
|
|
1802 | test "$cross_compiling" = yes || |
|
|
1803 | test -x conftest$ac_exeext |
|
|
1804 | }; then : |
|
|
1805 | ac_retval=0 |
|
|
1806 | else |
|
|
1807 | $as_echo "$as_me: failed program was:" >&5 |
|
|
1808 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
1809 | |
|
|
1810 | ac_retval=1 |
|
|
1811 | fi |
|
|
1812 | # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information |
|
|
1813 | # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would |
|
|
1814 | # interfere with the next link command; also delete a directory that is |
|
|
1815 | # left behind by Apple's compiler. We do this before executing the actions. |
|
|
1816 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
|
|
1817 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
|
|
1818 | as_fn_set_status $ac_retval |
|
|
1819 | |
|
|
1820 | } # ac_fn_cxx_try_link |
|
|
1821 | |
|
|
1822 | # ac_fn_cxx_check_func LINENO FUNC VAR |
|
|
1823 | # ------------------------------------ |
|
|
1824 | # Tests whether FUNC exists, setting the cache variable VAR accordingly |
|
|
1825 | ac_fn_cxx_check_func () |
|
|
1826 | { |
|
|
1827 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
|
1828 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
|
|
1829 | $as_echo_n "checking for $2... " >&6; } |
|
|
1830 | if eval \${$3+:} false; then : |
|
|
1831 | $as_echo_n "(cached) " >&6 |
|
|
1832 | else |
|
|
1833 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
1834 | /* end confdefs.h. */ |
|
|
1835 | /* Define $2 to an innocuous variant, in case <limits.h> declares $2. |
|
|
1836 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
|
1837 | #define $2 innocuous_$2 |
|
|
1838 | |
|
|
1839 | /* System header to define __stub macros and hopefully few prototypes, |
|
|
1840 | which can conflict with char $2 (); below. |
|
|
1841 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
1842 | <limits.h> exists even on freestanding compilers. */ |
|
|
1843 | |
|
|
1844 | #ifdef __STDC__ |
|
|
1845 | # include <limits.h> |
|
|
1846 | #else |
|
|
1847 | # include <assert.h> |
|
|
1848 | #endif |
|
|
1849 | |
|
|
1850 | #undef $2 |
|
|
1851 | |
|
|
1852 | /* Override any GCC internal prototype to avoid an error. |
|
|
1853 | Use char because int might match the return type of a GCC |
|
|
1854 | builtin and then its argument prototype would still apply. */ |
|
|
1855 | #ifdef __cplusplus |
|
|
1856 | extern "C" |
|
|
1857 | #endif |
|
|
1858 | char $2 (); |
|
|
1859 | /* The GNU C library defines this for functions which it implements |
|
|
1860 | to always fail with ENOSYS. Some functions are actually named |
|
|
1861 | something starting with __ and the normal name is an alias. */ |
|
|
1862 | #if defined __stub_$2 || defined __stub___$2 |
|
|
1863 | choke me |
|
|
1864 | #endif |
|
|
1865 | |
|
|
1866 | int |
|
|
1867 | main () |
|
|
1868 | { |
|
|
1869 | return $2 (); |
|
|
1870 | ; |
|
|
1871 | return 0; |
|
|
1872 | } |
|
|
1873 | _ACEOF |
|
|
1874 | if ac_fn_cxx_try_link "$LINENO"; then : |
|
|
1875 | eval "$3=yes" |
|
|
1876 | else |
|
|
1877 | eval "$3=no" |
|
|
1878 | fi |
|
|
1879 | rm -f core conftest.err conftest.$ac_objext \ |
|
|
1880 | conftest$ac_exeext conftest.$ac_ext |
|
|
1881 | fi |
|
|
1882 | eval ac_res=\$$3 |
|
|
1883 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
|
|
1884 | $as_echo "$ac_res" >&6; } |
|
|
1885 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
|
|
1886 | |
|
|
1887 | } # ac_fn_cxx_check_func |
1395 | cat >config.log <<_ACEOF |
1888 | cat >config.log <<_ACEOF |
1396 | This file contains any messages produced by compilers while |
1889 | This file contains any messages produced by compilers while |
1397 | running configure, to aid debugging if configure makes a mistake. |
1890 | running configure, to aid debugging if configure makes a mistake. |
1398 | |
1891 | |
1399 | It was created by $as_me, which was |
1892 | It was created by $as_me, which was |
1400 | generated by GNU Autoconf 2.61. Invocation command line was |
1893 | generated by GNU Autoconf 2.69. Invocation command line was |
1401 | |
1894 | |
1402 | $ $0 $@ |
1895 | $ $0 $@ |
1403 | |
1896 | |
1404 | _ACEOF |
1897 | _ACEOF |
1405 | exec 5>>config.log |
1898 | exec 5>>config.log |
… | |
… | |
1431 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1924 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1432 | for as_dir in $PATH |
1925 | for as_dir in $PATH |
1433 | do |
1926 | do |
1434 | IFS=$as_save_IFS |
1927 | IFS=$as_save_IFS |
1435 | test -z "$as_dir" && as_dir=. |
1928 | test -z "$as_dir" && as_dir=. |
1436 | echo "PATH: $as_dir" |
1929 | $as_echo "PATH: $as_dir" |
1437 | done |
1930 | done |
1438 | IFS=$as_save_IFS |
1931 | IFS=$as_save_IFS |
1439 | |
1932 | |
1440 | } >&5 |
1933 | } >&5 |
1441 | |
1934 | |
1442 | cat >&5 <<_ACEOF |
1935 | cat >&5 <<_ACEOF |
… | |
… | |
1466 | -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
1959 | -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
1467 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
1960 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
1468 | | -silent | --silent | --silen | --sile | --sil) |
1961 | | -silent | --silent | --silen | --sile | --sil) |
1469 | continue ;; |
1962 | continue ;; |
1470 | *\'*) |
1963 | *\'*) |
1471 | ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
1964 | ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
1472 | esac |
1965 | esac |
1473 | case $ac_pass in |
1966 | case $ac_pass in |
1474 | 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; |
1967 | 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; |
1475 | 2) |
1968 | 2) |
1476 | ac_configure_args1="$ac_configure_args1 '$ac_arg'" |
1969 | as_fn_append ac_configure_args1 " '$ac_arg'" |
1477 | if test $ac_must_keep_next = true; then |
1970 | if test $ac_must_keep_next = true; then |
1478 | ac_must_keep_next=false # Got value, back to normal. |
1971 | ac_must_keep_next=false # Got value, back to normal. |
1479 | else |
1972 | else |
1480 | case $ac_arg in |
1973 | case $ac_arg in |
1481 | *=* | --config-cache | -C | -disable-* | --disable-* \ |
1974 | *=* | --config-cache | -C | -disable-* | --disable-* \ |
… | |
… | |
1487 | esac |
1980 | esac |
1488 | ;; |
1981 | ;; |
1489 | -* ) ac_must_keep_next=true ;; |
1982 | -* ) ac_must_keep_next=true ;; |
1490 | esac |
1983 | esac |
1491 | fi |
1984 | fi |
1492 | ac_configure_args="$ac_configure_args '$ac_arg'" |
1985 | as_fn_append ac_configure_args " '$ac_arg'" |
1493 | ;; |
1986 | ;; |
1494 | esac |
1987 | esac |
1495 | done |
1988 | done |
1496 | done |
1989 | done |
1497 | $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } |
1990 | { ac_configure_args0=; unset ac_configure_args0;} |
1498 | $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } |
1991 | { ac_configure_args1=; unset ac_configure_args1;} |
1499 | |
1992 | |
1500 | # When interrupted or exit'd, cleanup temporary files, and complete |
1993 | # When interrupted or exit'd, cleanup temporary files, and complete |
1501 | # config.log. We remove comments because anyway the quotes in there |
1994 | # config.log. We remove comments because anyway the quotes in there |
1502 | # would cause problems or look ugly. |
1995 | # would cause problems or look ugly. |
1503 | # WARNING: Use '\'' to represent an apostrophe within the trap. |
1996 | # WARNING: Use '\'' to represent an apostrophe within the trap. |
… | |
… | |
1505 | trap 'exit_status=$? |
1998 | trap 'exit_status=$? |
1506 | # Save into config.log some information that might help in debugging. |
1999 | # Save into config.log some information that might help in debugging. |
1507 | { |
2000 | { |
1508 | echo |
2001 | echo |
1509 | |
2002 | |
1510 | cat <<\_ASBOX |
|
|
1511 | ## ---------------- ## |
2003 | $as_echo "## ---------------- ## |
1512 | ## Cache variables. ## |
2004 | ## Cache variables. ## |
1513 | ## ---------------- ## |
2005 | ## ---------------- ##" |
1514 | _ASBOX |
|
|
1515 | echo |
2006 | echo |
1516 | # The following way of writing the cache mishandles newlines in values, |
2007 | # The following way of writing the cache mishandles newlines in values, |
1517 | ( |
2008 | ( |
1518 | for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do |
2009 | for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do |
1519 | eval ac_val=\$$ac_var |
2010 | eval ac_val=\$$ac_var |
1520 | case $ac_val in #( |
2011 | case $ac_val in #( |
1521 | *${as_nl}*) |
2012 | *${as_nl}*) |
1522 | case $ac_var in #( |
2013 | case $ac_var in #( |
1523 | *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 |
2014 | *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
1524 | echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; |
2015 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
1525 | esac |
2016 | esac |
1526 | case $ac_var in #( |
2017 | case $ac_var in #( |
1527 | _ | IFS | as_nl) ;; #( |
2018 | _ | IFS | as_nl) ;; #( |
1528 | *) $as_unset $ac_var ;; |
2019 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
|
|
2020 | *) { eval $ac_var=; unset $ac_var;} ;; |
1529 | esac ;; |
2021 | esac ;; |
1530 | esac |
2022 | esac |
1531 | done |
2023 | done |
1532 | (set) 2>&1 | |
2024 | (set) 2>&1 | |
1533 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( |
2025 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( |
… | |
… | |
1542 | esac | |
2034 | esac | |
1543 | sort |
2035 | sort |
1544 | ) |
2036 | ) |
1545 | echo |
2037 | echo |
1546 | |
2038 | |
1547 | cat <<\_ASBOX |
|
|
1548 | ## ----------------- ## |
2039 | $as_echo "## ----------------- ## |
1549 | ## Output variables. ## |
2040 | ## Output variables. ## |
1550 | ## ----------------- ## |
2041 | ## ----------------- ##" |
1551 | _ASBOX |
|
|
1552 | echo |
2042 | echo |
1553 | for ac_var in $ac_subst_vars |
2043 | for ac_var in $ac_subst_vars |
1554 | do |
2044 | do |
1555 | eval ac_val=\$$ac_var |
2045 | eval ac_val=\$$ac_var |
1556 | case $ac_val in |
2046 | case $ac_val in |
1557 | *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
2047 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
1558 | esac |
2048 | esac |
1559 | echo "$ac_var='\''$ac_val'\''" |
2049 | $as_echo "$ac_var='\''$ac_val'\''" |
1560 | done | sort |
2050 | done | sort |
1561 | echo |
2051 | echo |
1562 | |
2052 | |
1563 | if test -n "$ac_subst_files"; then |
2053 | if test -n "$ac_subst_files"; then |
1564 | cat <<\_ASBOX |
|
|
1565 | ## ------------------- ## |
2054 | $as_echo "## ------------------- ## |
1566 | ## File substitutions. ## |
2055 | ## File substitutions. ## |
1567 | ## ------------------- ## |
2056 | ## ------------------- ##" |
1568 | _ASBOX |
|
|
1569 | echo |
2057 | echo |
1570 | for ac_var in $ac_subst_files |
2058 | for ac_var in $ac_subst_files |
1571 | do |
2059 | do |
1572 | eval ac_val=\$$ac_var |
2060 | eval ac_val=\$$ac_var |
1573 | case $ac_val in |
2061 | case $ac_val in |
1574 | *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
2062 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
1575 | esac |
2063 | esac |
1576 | echo "$ac_var='\''$ac_val'\''" |
2064 | $as_echo "$ac_var='\''$ac_val'\''" |
1577 | done | sort |
2065 | done | sort |
1578 | echo |
2066 | echo |
1579 | fi |
2067 | fi |
1580 | |
2068 | |
1581 | if test -s confdefs.h; then |
2069 | if test -s confdefs.h; then |
1582 | cat <<\_ASBOX |
2070 | $as_echo "## ----------- ## |
1583 | ## ----------- ## |
|
|
1584 | ## confdefs.h. ## |
2071 | ## confdefs.h. ## |
1585 | ## ----------- ## |
2072 | ## ----------- ##" |
1586 | _ASBOX |
|
|
1587 | echo |
2073 | echo |
1588 | cat confdefs.h |
2074 | cat confdefs.h |
1589 | echo |
2075 | echo |
1590 | fi |
2076 | fi |
1591 | test "$ac_signal" != 0 && |
2077 | test "$ac_signal" != 0 && |
1592 | echo "$as_me: caught signal $ac_signal" |
2078 | $as_echo "$as_me: caught signal $ac_signal" |
1593 | echo "$as_me: exit $exit_status" |
2079 | $as_echo "$as_me: exit $exit_status" |
1594 | } >&5 |
2080 | } >&5 |
1595 | rm -f core *.core core.conftest.* && |
2081 | rm -f core *.core core.conftest.* && |
1596 | rm -f -r conftest* confdefs* conf$$* $ac_clean_files && |
2082 | rm -f -r conftest* confdefs* conf$$* $ac_clean_files && |
1597 | exit $exit_status |
2083 | exit $exit_status |
1598 | ' 0 |
2084 | ' 0 |
1599 | for ac_signal in 1 2 13 15; do |
2085 | for ac_signal in 1 2 13 15; do |
1600 | trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal |
2086 | trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal |
1601 | done |
2087 | done |
1602 | ac_signal=0 |
2088 | ac_signal=0 |
1603 | |
2089 | |
1604 | # confdefs.h avoids OS command line length limits that DEFS can exceed. |
2090 | # confdefs.h avoids OS command line length limits that DEFS can exceed. |
1605 | rm -f -r conftest* confdefs.h |
2091 | rm -f -r conftest* confdefs.h |
1606 | |
2092 | |
|
|
2093 | $as_echo "/* confdefs.h */" > confdefs.h |
|
|
2094 | |
1607 | # Predefined preprocessor variables. |
2095 | # Predefined preprocessor variables. |
1608 | |
2096 | |
1609 | cat >>confdefs.h <<_ACEOF |
2097 | cat >>confdefs.h <<_ACEOF |
1610 | #define PACKAGE_NAME "$PACKAGE_NAME" |
2098 | #define PACKAGE_NAME "$PACKAGE_NAME" |
1611 | _ACEOF |
2099 | _ACEOF |
1612 | |
2100 | |
1613 | |
|
|
1614 | cat >>confdefs.h <<_ACEOF |
2101 | cat >>confdefs.h <<_ACEOF |
1615 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
2102 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
1616 | _ACEOF |
2103 | _ACEOF |
1617 | |
2104 | |
1618 | |
|
|
1619 | cat >>confdefs.h <<_ACEOF |
2105 | cat >>confdefs.h <<_ACEOF |
1620 | #define PACKAGE_VERSION "$PACKAGE_VERSION" |
2106 | #define PACKAGE_VERSION "$PACKAGE_VERSION" |
1621 | _ACEOF |
2107 | _ACEOF |
1622 | |
2108 | |
1623 | |
|
|
1624 | cat >>confdefs.h <<_ACEOF |
2109 | cat >>confdefs.h <<_ACEOF |
1625 | #define PACKAGE_STRING "$PACKAGE_STRING" |
2110 | #define PACKAGE_STRING "$PACKAGE_STRING" |
1626 | _ACEOF |
2111 | _ACEOF |
1627 | |
2112 | |
1628 | |
|
|
1629 | cat >>confdefs.h <<_ACEOF |
2113 | cat >>confdefs.h <<_ACEOF |
1630 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
2114 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
1631 | _ACEOF |
2115 | _ACEOF |
1632 | |
2116 | |
|
|
2117 | cat >>confdefs.h <<_ACEOF |
|
|
2118 | #define PACKAGE_URL "$PACKAGE_URL" |
|
|
2119 | _ACEOF |
|
|
2120 | |
1633 | |
2121 | |
1634 | # Let the site file select an alternate cache file if it wants to. |
2122 | # Let the site file select an alternate cache file if it wants to. |
1635 | # Prefer explicitly selected file to automatically selected ones. |
2123 | # Prefer an explicitly selected file to automatically selected ones. |
|
|
2124 | ac_site_file1=NONE |
|
|
2125 | ac_site_file2=NONE |
1636 | if test -n "$CONFIG_SITE"; then |
2126 | if test -n "$CONFIG_SITE"; then |
1637 | set x "$CONFIG_SITE" |
2127 | # We do not want a PATH search for config.site. |
|
|
2128 | case $CONFIG_SITE in #(( |
|
|
2129 | -*) ac_site_file1=./$CONFIG_SITE;; |
|
|
2130 | */*) ac_site_file1=$CONFIG_SITE;; |
|
|
2131 | *) ac_site_file1=./$CONFIG_SITE;; |
|
|
2132 | esac |
1638 | elif test "x$prefix" != xNONE; then |
2133 | elif test "x$prefix" != xNONE; then |
1639 | set x "$prefix/share/config.site" "$prefix/etc/config.site" |
2134 | ac_site_file1=$prefix/share/config.site |
|
|
2135 | ac_site_file2=$prefix/etc/config.site |
1640 | else |
2136 | else |
1641 | set x "$ac_default_prefix/share/config.site" \ |
2137 | ac_site_file1=$ac_default_prefix/share/config.site |
1642 | "$ac_default_prefix/etc/config.site" |
2138 | ac_site_file2=$ac_default_prefix/etc/config.site |
1643 | fi |
2139 | fi |
1644 | shift |
2140 | for ac_site_file in "$ac_site_file1" "$ac_site_file2" |
1645 | for ac_site_file |
|
|
1646 | do |
2141 | do |
1647 | if test -r "$ac_site_file"; then |
2142 | test "x$ac_site_file" = xNONE && continue |
|
|
2143 | if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then |
1648 | { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 |
2144 | { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 |
1649 | echo "$as_me: loading site script $ac_site_file" >&6;} |
2145 | $as_echo "$as_me: loading site script $ac_site_file" >&6;} |
1650 | sed 's/^/| /' "$ac_site_file" >&5 |
2146 | sed 's/^/| /' "$ac_site_file" >&5 |
1651 | . "$ac_site_file" |
2147 | . "$ac_site_file" \ |
|
|
2148 | || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
|
2149 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
|
2150 | as_fn_error $? "failed to load site script $ac_site_file |
|
|
2151 | See \`config.log' for more details" "$LINENO" 5; } |
1652 | fi |
2152 | fi |
1653 | done |
2153 | done |
1654 | |
2154 | |
1655 | if test -r "$cache_file"; then |
2155 | if test -r "$cache_file"; then |
1656 | # Some versions of bash will fail to source /dev/null (special |
2156 | # Some versions of bash will fail to source /dev/null (special files |
1657 | # files actually), so we avoid doing that. |
2157 | # actually), so we avoid doing that. DJGPP emulates it as a regular file. |
1658 | if test -f "$cache_file"; then |
2158 | if test /dev/null != "$cache_file" && test -f "$cache_file"; then |
1659 | { echo "$as_me:$LINENO: loading cache $cache_file" >&5 |
2159 | { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 |
1660 | echo "$as_me: loading cache $cache_file" >&6;} |
2160 | $as_echo "$as_me: loading cache $cache_file" >&6;} |
1661 | case $cache_file in |
2161 | case $cache_file in |
1662 | [\\/]* | ?:[\\/]* ) . "$cache_file";; |
2162 | [\\/]* | ?:[\\/]* ) . "$cache_file";; |
1663 | *) . "./$cache_file";; |
2163 | *) . "./$cache_file";; |
1664 | esac |
2164 | esac |
1665 | fi |
2165 | fi |
1666 | else |
2166 | else |
1667 | { echo "$as_me:$LINENO: creating cache $cache_file" >&5 |
2167 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 |
1668 | echo "$as_me: creating cache $cache_file" >&6;} |
2168 | $as_echo "$as_me: creating cache $cache_file" >&6;} |
1669 | >$cache_file |
2169 | >$cache_file |
1670 | fi |
2170 | fi |
1671 | |
2171 | |
1672 | # Check that the precious variables saved in the cache have kept the same |
2172 | # Check that the precious variables saved in the cache have kept the same |
1673 | # value. |
2173 | # value. |
… | |
… | |
1677 | eval ac_new_set=\$ac_env_${ac_var}_set |
2177 | eval ac_new_set=\$ac_env_${ac_var}_set |
1678 | eval ac_old_val=\$ac_cv_env_${ac_var}_value |
2178 | eval ac_old_val=\$ac_cv_env_${ac_var}_value |
1679 | eval ac_new_val=\$ac_env_${ac_var}_value |
2179 | eval ac_new_val=\$ac_env_${ac_var}_value |
1680 | case $ac_old_set,$ac_new_set in |
2180 | case $ac_old_set,$ac_new_set in |
1681 | set,) |
2181 | set,) |
1682 | { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
2182 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
1683 | echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
2183 | $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
1684 | ac_cache_corrupted=: ;; |
2184 | ac_cache_corrupted=: ;; |
1685 | ,set) |
2185 | ,set) |
1686 | { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 |
2186 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 |
1687 | echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
2187 | $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
1688 | ac_cache_corrupted=: ;; |
2188 | ac_cache_corrupted=: ;; |
1689 | ,);; |
2189 | ,);; |
1690 | *) |
2190 | *) |
1691 | if test "x$ac_old_val" != "x$ac_new_val"; then |
2191 | if test "x$ac_old_val" != "x$ac_new_val"; then |
|
|
2192 | # differences in whitespace do not lead to failure. |
|
|
2193 | ac_old_val_w=`echo x $ac_old_val` |
|
|
2194 | ac_new_val_w=`echo x $ac_new_val` |
|
|
2195 | if test "$ac_old_val_w" != "$ac_new_val_w"; then |
1692 | { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 |
2196 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 |
1693 | echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
2197 | $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
1694 | { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 |
|
|
1695 | echo "$as_me: former value: $ac_old_val" >&2;} |
|
|
1696 | { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 |
|
|
1697 | echo "$as_me: current value: $ac_new_val" >&2;} |
|
|
1698 | ac_cache_corrupted=: |
2198 | ac_cache_corrupted=: |
|
|
2199 | else |
|
|
2200 | { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 |
|
|
2201 | $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} |
|
|
2202 | eval $ac_var=\$ac_old_val |
|
|
2203 | fi |
|
|
2204 | { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 |
|
|
2205 | $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} |
|
|
2206 | { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 |
|
|
2207 | $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} |
1699 | fi;; |
2208 | fi;; |
1700 | esac |
2209 | esac |
1701 | # Pass precious variables to config.status. |
2210 | # Pass precious variables to config.status. |
1702 | if test "$ac_new_set" = set; then |
2211 | if test "$ac_new_set" = set; then |
1703 | case $ac_new_val in |
2212 | case $ac_new_val in |
1704 | *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
2213 | *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
1705 | *) ac_arg=$ac_var=$ac_new_val ;; |
2214 | *) ac_arg=$ac_var=$ac_new_val ;; |
1706 | esac |
2215 | esac |
1707 | case " $ac_configure_args " in |
2216 | case " $ac_configure_args " in |
1708 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
2217 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
1709 | *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; |
2218 | *) as_fn_append ac_configure_args " '$ac_arg'" ;; |
1710 | esac |
2219 | esac |
1711 | fi |
2220 | fi |
1712 | done |
2221 | done |
1713 | if $ac_cache_corrupted; then |
2222 | if $ac_cache_corrupted; then |
|
|
2223 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
|
2224 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
1714 | { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 |
2225 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 |
1715 | echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
2226 | $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
1716 | { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 |
|
|
1717 | echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} |
2227 | as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 |
1718 | { (exit 1); exit 1; }; } |
|
|
1719 | fi |
2228 | fi |
1720 | |
2229 | ## -------------------- ## |
1721 | |
2230 | ## Main body of script. ## |
1722 | |
2231 | ## -------------------- ## |
1723 | |
|
|
1724 | |
|
|
1725 | |
|
|
1726 | |
|
|
1727 | |
|
|
1728 | |
|
|
1729 | |
|
|
1730 | |
|
|
1731 | |
|
|
1732 | |
|
|
1733 | |
|
|
1734 | |
|
|
1735 | |
|
|
1736 | |
2232 | |
1737 | ac_ext=c |
2233 | ac_ext=c |
1738 | ac_cpp='$CPP $CPPFLAGS' |
2234 | ac_cpp='$CPP $CPPFLAGS' |
1739 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
2235 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
1740 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
2236 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
… | |
… | |
1759 | ac_install_sh="$ac_aux_dir/shtool install -c" |
2255 | ac_install_sh="$ac_aux_dir/shtool install -c" |
1760 | break |
2256 | break |
1761 | fi |
2257 | fi |
1762 | done |
2258 | done |
1763 | if test -z "$ac_aux_dir"; then |
2259 | if test -z "$ac_aux_dir"; then |
1764 | { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 |
|
|
1765 | echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} |
2260 | as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 |
1766 | { (exit 1); exit 1; }; } |
|
|
1767 | fi |
2261 | fi |
1768 | |
2262 | |
1769 | # These three variables are undocumented and unsupported, |
2263 | # These three variables are undocumented and unsupported, |
1770 | # and are intended to be withdrawn in a future Autoconf release. |
2264 | # and are intended to be withdrawn in a future Autoconf release. |
1771 | # They can cause serious problems if a builder's source tree is in a directory |
2265 | # They can cause serious problems if a builder's source tree is in a directory |
… | |
… | |
1786 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
2280 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
1787 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
2281 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
1788 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
2282 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
1789 | # OS/2's system install, which has a completely different semantic |
2283 | # OS/2's system install, which has a completely different semantic |
1790 | # ./install, which can be erroneously created by make from ./install.sh. |
2284 | # ./install, which can be erroneously created by make from ./install.sh. |
|
|
2285 | # Reject install programs that cannot install multiple files. |
1791 | { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
2286 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 |
1792 | echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } |
2287 | $as_echo_n "checking for a BSD-compatible install... " >&6; } |
1793 | if test -z "$INSTALL"; then |
2288 | if test -z "$INSTALL"; then |
1794 | if test "${ac_cv_path_install+set}" = set; then |
2289 | if ${ac_cv_path_install+:} false; then : |
1795 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2290 | $as_echo_n "(cached) " >&6 |
1796 | else |
2291 | else |
1797 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2292 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1798 | for as_dir in $PATH |
2293 | for as_dir in $PATH |
1799 | do |
2294 | do |
1800 | IFS=$as_save_IFS |
2295 | IFS=$as_save_IFS |
1801 | test -z "$as_dir" && as_dir=. |
2296 | test -z "$as_dir" && as_dir=. |
1802 | # Account for people who put trailing slashes in PATH elements. |
2297 | # Account for people who put trailing slashes in PATH elements. |
1803 | case $as_dir/ in |
2298 | case $as_dir/ in #(( |
1804 | ./ | .// | /cC/* | \ |
2299 | ./ | .// | /[cC]/* | \ |
1805 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
2300 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
1806 | ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ |
2301 | ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ |
1807 | /usr/ucb/* ) ;; |
2302 | /usr/ucb/* ) ;; |
1808 | *) |
2303 | *) |
1809 | # OSF1 and SCO ODT 3.0 have their own names for install. |
2304 | # OSF1 and SCO ODT 3.0 have their own names for install. |
1810 | # Don't use installbsd from OSF since it installs stuff as root |
2305 | # Don't use installbsd from OSF since it installs stuff as root |
1811 | # by default. |
2306 | # by default. |
1812 | for ac_prog in ginstall scoinst install; do |
2307 | for ac_prog in ginstall scoinst install; do |
1813 | for ac_exec_ext in '' $ac_executable_extensions; do |
2308 | for ac_exec_ext in '' $ac_executable_extensions; do |
1814 | if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then |
2309 | if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
1815 | if test $ac_prog = install && |
2310 | if test $ac_prog = install && |
1816 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
2311 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
1817 | # AIX install. It has an incompatible calling convention. |
2312 | # AIX install. It has an incompatible calling convention. |
1818 | : |
2313 | : |
1819 | elif test $ac_prog = install && |
2314 | elif test $ac_prog = install && |
1820 | grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
2315 | grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
1821 | # program-specific install script used by HP pwplus--don't use. |
2316 | # program-specific install script used by HP pwplus--don't use. |
1822 | : |
2317 | : |
1823 | else |
2318 | else |
|
|
2319 | rm -rf conftest.one conftest.two conftest.dir |
|
|
2320 | echo one > conftest.one |
|
|
2321 | echo two > conftest.two |
|
|
2322 | mkdir conftest.dir |
|
|
2323 | if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && |
|
|
2324 | test -s conftest.one && test -s conftest.two && |
|
|
2325 | test -s conftest.dir/conftest.one && |
|
|
2326 | test -s conftest.dir/conftest.two |
|
|
2327 | then |
1824 | ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
2328 | ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
1825 | break 3 |
2329 | break 3 |
|
|
2330 | fi |
1826 | fi |
2331 | fi |
1827 | fi |
2332 | fi |
1828 | done |
2333 | done |
1829 | done |
2334 | done |
1830 | ;; |
2335 | ;; |
1831 | esac |
2336 | esac |
|
|
2337 | |
1832 | done |
2338 | done |
1833 | IFS=$as_save_IFS |
2339 | IFS=$as_save_IFS |
1834 | |
2340 | |
|
|
2341 | rm -rf conftest.one conftest.two conftest.dir |
1835 | |
2342 | |
1836 | fi |
2343 | fi |
1837 | if test "${ac_cv_path_install+set}" = set; then |
2344 | if test "${ac_cv_path_install+set}" = set; then |
1838 | INSTALL=$ac_cv_path_install |
2345 | INSTALL=$ac_cv_path_install |
1839 | else |
2346 | else |
… | |
… | |
1842 | # break other packages using the cache if that directory is |
2349 | # break other packages using the cache if that directory is |
1843 | # removed, or if the value is a relative name. |
2350 | # removed, or if the value is a relative name. |
1844 | INSTALL=$ac_install_sh |
2351 | INSTALL=$ac_install_sh |
1845 | fi |
2352 | fi |
1846 | fi |
2353 | fi |
1847 | { echo "$as_me:$LINENO: result: $INSTALL" >&5 |
2354 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 |
1848 | echo "${ECHO_T}$INSTALL" >&6; } |
2355 | $as_echo "$INSTALL" >&6; } |
1849 | |
2356 | |
1850 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
2357 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
1851 | # It thinks the first close brace ends the variable substitution. |
2358 | # It thinks the first close brace ends the variable substitution. |
1852 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
2359 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
1853 | |
2360 | |
1854 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
2361 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
1855 | |
2362 | |
1856 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
2363 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
1857 | |
2364 | |
1858 | { echo "$as_me:$LINENO: checking whether build environment is sane" >&5 |
2365 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 |
1859 | echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; } |
2366 | $as_echo_n "checking whether build environment is sane... " >&6; } |
1860 | # Just in case |
2367 | # Just in case |
1861 | sleep 1 |
2368 | sleep 1 |
1862 | echo timestamp > conftest.file |
2369 | echo timestamp > conftest.file |
1863 | # Do `set' in a subshell so we don't clobber the current shell's |
2370 | # Do `set' in a subshell so we don't clobber the current shell's |
1864 | # arguments. Must try -L first in case configure is actually a |
2371 | # arguments. Must try -L first in case configure is actually a |
… | |
… | |
1877 | |
2384 | |
1878 | # If neither matched, then we have a broken ls. This can happen |
2385 | # If neither matched, then we have a broken ls. This can happen |
1879 | # if, for instance, CONFIG_SHELL is bash and it inherits a |
2386 | # if, for instance, CONFIG_SHELL is bash and it inherits a |
1880 | # broken ls alias from the environment. This has actually |
2387 | # broken ls alias from the environment. This has actually |
1881 | # happened. Such a system could not be considered "sane". |
2388 | # happened. Such a system could not be considered "sane". |
1882 | { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken |
|
|
1883 | alias in your environment" >&5 |
|
|
1884 | echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken |
2389 | as_fn_error $? "ls -t appears to fail. Make sure there is not a broken |
1885 | alias in your environment" >&2;} |
2390 | alias in your environment" "$LINENO" 5 |
1886 | { (exit 1); exit 1; }; } |
|
|
1887 | fi |
2391 | fi |
1888 | |
2392 | |
1889 | test "$2" = conftest.file |
2393 | test "$2" = conftest.file |
1890 | ) |
2394 | ) |
1891 | then |
2395 | then |
1892 | # Ok. |
2396 | # Ok. |
1893 | : |
2397 | : |
1894 | else |
2398 | else |
1895 | { { echo "$as_me:$LINENO: error: newly created file is older than distributed files! |
|
|
1896 | Check your system clock" >&5 |
|
|
1897 | echo "$as_me: error: newly created file is older than distributed files! |
2399 | as_fn_error $? "newly created file is older than distributed files! |
1898 | Check your system clock" >&2;} |
2400 | Check your system clock" "$LINENO" 5 |
1899 | { (exit 1); exit 1; }; } |
|
|
1900 | fi |
2401 | fi |
1901 | { echo "$as_me:$LINENO: result: yes" >&5 |
2402 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
1902 | echo "${ECHO_T}yes" >&6; } |
2403 | $as_echo "yes" >&6; } |
1903 | test "$program_prefix" != NONE && |
2404 | test "$program_prefix" != NONE && |
1904 | program_transform_name="s&^&$program_prefix&;$program_transform_name" |
2405 | program_transform_name="s&^&$program_prefix&;$program_transform_name" |
1905 | # Use a double $ so make ignores it. |
2406 | # Use a double $ so make ignores it. |
1906 | test "$program_suffix" != NONE && |
2407 | test "$program_suffix" != NONE && |
1907 | program_transform_name="s&\$&$program_suffix&;$program_transform_name" |
2408 | program_transform_name="s&\$&$program_suffix&;$program_transform_name" |
1908 | # Double any \ or $. echo might interpret backslashes. |
2409 | # Double any \ or $. |
1909 | # By default was `s,x,x', remove it if useless. |
2410 | # By default was `s,x,x', remove it if useless. |
1910 | cat <<\_ACEOF >conftest.sed |
|
|
1911 | s/[\\$]/&&/g;s/;s,x,x,$// |
2411 | ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' |
1912 | _ACEOF |
|
|
1913 | program_transform_name=`echo $program_transform_name | sed -f conftest.sed` |
2412 | program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` |
1914 | rm -f conftest.sed |
|
|
1915 | |
2413 | |
1916 | # expand $ac_aux_dir to an absolute path |
2414 | # expand $ac_aux_dir to an absolute path |
1917 | am_aux_dir=`cd $ac_aux_dir && pwd` |
2415 | am_aux_dir=`cd $ac_aux_dir && pwd` |
1918 | |
2416 | |
1919 | test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" |
2417 | test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" |
1920 | # Use eval to expand $SHELL |
2418 | # Use eval to expand $SHELL |
1921 | if eval "$MISSING --run true"; then |
2419 | if eval "$MISSING --run true"; then |
1922 | am_missing_run="$MISSING --run " |
2420 | am_missing_run="$MISSING --run " |
1923 | else |
2421 | else |
1924 | am_missing_run= |
2422 | am_missing_run= |
1925 | { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 |
2423 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 |
1926 | echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} |
2424 | $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} |
1927 | fi |
2425 | fi |
1928 | |
2426 | |
1929 | { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5 |
2427 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 |
1930 | echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; } |
2428 | $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } |
1931 | if test -z "$MKDIR_P"; then |
2429 | if test -z "$MKDIR_P"; then |
1932 | if test "${ac_cv_path_mkdir+set}" = set; then |
2430 | if ${ac_cv_path_mkdir+:} false; then : |
1933 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2431 | $as_echo_n "(cached) " >&6 |
1934 | else |
2432 | else |
1935 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2433 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1936 | for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin |
2434 | for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin |
1937 | do |
2435 | do |
1938 | IFS=$as_save_IFS |
2436 | IFS=$as_save_IFS |
1939 | test -z "$as_dir" && as_dir=. |
2437 | test -z "$as_dir" && as_dir=. |
1940 | for ac_prog in mkdir gmkdir; do |
2438 | for ac_prog in mkdir gmkdir; do |
1941 | for ac_exec_ext in '' $ac_executable_extensions; do |
2439 | for ac_exec_ext in '' $ac_executable_extensions; do |
1942 | { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue |
2440 | as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue |
1943 | case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( |
2441 | case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( |
1944 | 'mkdir (GNU coreutils) '* | \ |
2442 | 'mkdir (GNU coreutils) '* | \ |
1945 | 'mkdir (coreutils) '* | \ |
2443 | 'mkdir (coreutils) '* | \ |
1946 | 'mkdir (fileutils) '4.1*) |
2444 | 'mkdir (fileutils) '4.1*) |
1947 | ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext |
2445 | ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext |
1948 | break 3;; |
2446 | break 3;; |
1949 | esac |
2447 | esac |
1950 | done |
2448 | done |
1951 | done |
2449 | done |
1952 | done |
2450 | done |
1953 | IFS=$as_save_IFS |
2451 | IFS=$as_save_IFS |
1954 | |
2452 | |
1955 | fi |
2453 | fi |
1956 | |
2454 | |
|
|
2455 | test -d ./--version && rmdir ./--version |
1957 | if test "${ac_cv_path_mkdir+set}" = set; then |
2456 | if test "${ac_cv_path_mkdir+set}" = set; then |
1958 | MKDIR_P="$ac_cv_path_mkdir -p" |
2457 | MKDIR_P="$ac_cv_path_mkdir -p" |
1959 | else |
2458 | else |
1960 | # As a last resort, use the slow shell script. Don't cache a |
2459 | # As a last resort, use the slow shell script. Don't cache a |
1961 | # value for MKDIR_P within a source directory, because that will |
2460 | # value for MKDIR_P within a source directory, because that will |
1962 | # break other packages using the cache if that directory is |
2461 | # break other packages using the cache if that directory is |
1963 | # removed, or if the value is a relative name. |
2462 | # removed, or if the value is a relative name. |
1964 | test -d ./--version && rmdir ./--version |
|
|
1965 | MKDIR_P="$ac_install_sh -d" |
2463 | MKDIR_P="$ac_install_sh -d" |
1966 | fi |
2464 | fi |
1967 | fi |
2465 | fi |
1968 | { echo "$as_me:$LINENO: result: $MKDIR_P" >&5 |
2466 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 |
1969 | echo "${ECHO_T}$MKDIR_P" >&6; } |
2467 | $as_echo "$MKDIR_P" >&6; } |
1970 | |
2468 | |
1971 | mkdir_p="$MKDIR_P" |
2469 | mkdir_p="$MKDIR_P" |
1972 | case $mkdir_p in |
2470 | case $mkdir_p in |
1973 | [\\/$]* | ?:[\\/]*) ;; |
2471 | [\\/$]* | ?:[\\/]*) ;; |
1974 | */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; |
2472 | */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; |
… | |
… | |
1976 | |
2474 | |
1977 | for ac_prog in gawk mawk nawk awk |
2475 | for ac_prog in gawk mawk nawk awk |
1978 | do |
2476 | do |
1979 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
2477 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
1980 | set dummy $ac_prog; ac_word=$2 |
2478 | set dummy $ac_prog; ac_word=$2 |
1981 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2479 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1982 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
2480 | $as_echo_n "checking for $ac_word... " >&6; } |
1983 | if test "${ac_cv_prog_AWK+set}" = set; then |
2481 | if ${ac_cv_prog_AWK+:} false; then : |
1984 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2482 | $as_echo_n "(cached) " >&6 |
1985 | else |
2483 | else |
1986 | if test -n "$AWK"; then |
2484 | if test -n "$AWK"; then |
1987 | ac_cv_prog_AWK="$AWK" # Let the user override the test. |
2485 | ac_cv_prog_AWK="$AWK" # Let the user override the test. |
1988 | else |
2486 | else |
1989 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2487 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1990 | for as_dir in $PATH |
2488 | for as_dir in $PATH |
1991 | do |
2489 | do |
1992 | IFS=$as_save_IFS |
2490 | IFS=$as_save_IFS |
1993 | test -z "$as_dir" && as_dir=. |
2491 | test -z "$as_dir" && as_dir=. |
1994 | for ac_exec_ext in '' $ac_executable_extensions; do |
2492 | for ac_exec_ext in '' $ac_executable_extensions; do |
1995 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2493 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1996 | ac_cv_prog_AWK="$ac_prog" |
2494 | ac_cv_prog_AWK="$ac_prog" |
1997 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2495 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1998 | break 2 |
2496 | break 2 |
1999 | fi |
2497 | fi |
2000 | done |
2498 | done |
2001 | done |
2499 | done |
2002 | IFS=$as_save_IFS |
2500 | IFS=$as_save_IFS |
2003 | |
2501 | |
2004 | fi |
2502 | fi |
2005 | fi |
2503 | fi |
2006 | AWK=$ac_cv_prog_AWK |
2504 | AWK=$ac_cv_prog_AWK |
2007 | if test -n "$AWK"; then |
2505 | if test -n "$AWK"; then |
2008 | { echo "$as_me:$LINENO: result: $AWK" >&5 |
2506 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 |
2009 | echo "${ECHO_T}$AWK" >&6; } |
2507 | $as_echo "$AWK" >&6; } |
2010 | else |
2508 | else |
2011 | { echo "$as_me:$LINENO: result: no" >&5 |
2509 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
2012 | echo "${ECHO_T}no" >&6; } |
2510 | $as_echo "no" >&6; } |
2013 | fi |
2511 | fi |
2014 | |
2512 | |
2015 | |
2513 | |
2016 | test -n "$AWK" && break |
2514 | test -n "$AWK" && break |
2017 | done |
2515 | done |
2018 | |
2516 | |
2019 | { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
2517 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
2020 | echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; } |
2518 | $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
|
|
2519 | set x ${MAKE-make} |
2021 | set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
2520 | ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
2022 | if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then |
2521 | if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : |
2023 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2522 | $as_echo_n "(cached) " >&6 |
2024 | else |
2523 | else |
2025 | cat >conftest.make <<\_ACEOF |
2524 | cat >conftest.make <<\_ACEOF |
2026 | SHELL = /bin/sh |
2525 | SHELL = /bin/sh |
2027 | all: |
2526 | all: |
2028 | @echo '@@@%%%=$(MAKE)=@@@%%%' |
2527 | @echo '@@@%%%=$(MAKE)=@@@%%%' |
2029 | _ACEOF |
2528 | _ACEOF |
2030 | # GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
2529 | # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. |
2031 | case `${MAKE-make} -f conftest.make 2>/dev/null` in |
2530 | case `${MAKE-make} -f conftest.make 2>/dev/null` in |
2032 | *@@@%%%=?*=@@@%%%*) |
2531 | *@@@%%%=?*=@@@%%%*) |
2033 | eval ac_cv_prog_make_${ac_make}_set=yes;; |
2532 | eval ac_cv_prog_make_${ac_make}_set=yes;; |
2034 | *) |
2533 | *) |
2035 | eval ac_cv_prog_make_${ac_make}_set=no;; |
2534 | eval ac_cv_prog_make_${ac_make}_set=no;; |
2036 | esac |
2535 | esac |
2037 | rm -f conftest.make |
2536 | rm -f conftest.make |
2038 | fi |
2537 | fi |
2039 | if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then |
2538 | if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then |
2040 | { echo "$as_me:$LINENO: result: yes" >&5 |
2539 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
2041 | echo "${ECHO_T}yes" >&6; } |
2540 | $as_echo "yes" >&6; } |
2042 | SET_MAKE= |
2541 | SET_MAKE= |
2043 | else |
2542 | else |
2044 | { echo "$as_me:$LINENO: result: no" >&5 |
2543 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
2045 | echo "${ECHO_T}no" >&6; } |
2544 | $as_echo "no" >&6; } |
2046 | SET_MAKE="MAKE=${MAKE-make}" |
2545 | SET_MAKE="MAKE=${MAKE-make}" |
2047 | fi |
2546 | fi |
2048 | |
2547 | |
2049 | rm -rf .tst 2>/dev/null |
2548 | rm -rf .tst 2>/dev/null |
2050 | mkdir .tst 2>/dev/null |
2549 | mkdir .tst 2>/dev/null |
… | |
… | |
2059 | # Use -I$(srcdir) only when $(srcdir) != ., so that make's output |
2558 | # Use -I$(srcdir) only when $(srcdir) != ., so that make's output |
2060 | # is not polluted with repeated "-I." |
2559 | # is not polluted with repeated "-I." |
2061 | am__isrc=' -I$(srcdir)' |
2560 | am__isrc=' -I$(srcdir)' |
2062 | # test to see if srcdir already configured |
2561 | # test to see if srcdir already configured |
2063 | if test -f $srcdir/config.status; then |
2562 | if test -f $srcdir/config.status; then |
2064 | { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 |
|
|
2065 | echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} |
2563 | as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 |
2066 | { (exit 1); exit 1; }; } |
|
|
2067 | fi |
2564 | fi |
2068 | fi |
2565 | fi |
2069 | |
2566 | |
2070 | # test whether we have cygpath |
2567 | # test whether we have cygpath |
2071 | if test -z "$CYGPATH_W"; then |
2568 | if test -z "$CYGPATH_W"; then |
… | |
… | |
2115 | # will honor the `STRIP' environment variable to overrule this program. |
2612 | # will honor the `STRIP' environment variable to overrule this program. |
2116 | if test "$cross_compiling" != no; then |
2613 | if test "$cross_compiling" != no; then |
2117 | if test -n "$ac_tool_prefix"; then |
2614 | if test -n "$ac_tool_prefix"; then |
2118 | # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
2615 | # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
2119 | set dummy ${ac_tool_prefix}strip; ac_word=$2 |
2616 | set dummy ${ac_tool_prefix}strip; ac_word=$2 |
2120 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2617 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2121 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
2618 | $as_echo_n "checking for $ac_word... " >&6; } |
2122 | if test "${ac_cv_prog_STRIP+set}" = set; then |
2619 | if ${ac_cv_prog_STRIP+:} false; then : |
2123 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2620 | $as_echo_n "(cached) " >&6 |
2124 | else |
2621 | else |
2125 | if test -n "$STRIP"; then |
2622 | if test -n "$STRIP"; then |
2126 | ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
2623 | ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
2127 | else |
2624 | else |
2128 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2625 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2129 | for as_dir in $PATH |
2626 | for as_dir in $PATH |
2130 | do |
2627 | do |
2131 | IFS=$as_save_IFS |
2628 | IFS=$as_save_IFS |
2132 | test -z "$as_dir" && as_dir=. |
2629 | test -z "$as_dir" && as_dir=. |
2133 | for ac_exec_ext in '' $ac_executable_extensions; do |
2630 | for ac_exec_ext in '' $ac_executable_extensions; do |
2134 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2631 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2135 | ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
2632 | ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
2136 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2633 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2137 | break 2 |
2634 | break 2 |
2138 | fi |
2635 | fi |
2139 | done |
2636 | done |
2140 | done |
2637 | done |
2141 | IFS=$as_save_IFS |
2638 | IFS=$as_save_IFS |
2142 | |
2639 | |
2143 | fi |
2640 | fi |
2144 | fi |
2641 | fi |
2145 | STRIP=$ac_cv_prog_STRIP |
2642 | STRIP=$ac_cv_prog_STRIP |
2146 | if test -n "$STRIP"; then |
2643 | if test -n "$STRIP"; then |
2147 | { echo "$as_me:$LINENO: result: $STRIP" >&5 |
2644 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 |
2148 | echo "${ECHO_T}$STRIP" >&6; } |
2645 | $as_echo "$STRIP" >&6; } |
2149 | else |
2646 | else |
2150 | { echo "$as_me:$LINENO: result: no" >&5 |
2647 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
2151 | echo "${ECHO_T}no" >&6; } |
2648 | $as_echo "no" >&6; } |
2152 | fi |
2649 | fi |
2153 | |
2650 | |
2154 | |
2651 | |
2155 | fi |
2652 | fi |
2156 | if test -z "$ac_cv_prog_STRIP"; then |
2653 | if test -z "$ac_cv_prog_STRIP"; then |
2157 | ac_ct_STRIP=$STRIP |
2654 | ac_ct_STRIP=$STRIP |
2158 | # Extract the first word of "strip", so it can be a program name with args. |
2655 | # Extract the first word of "strip", so it can be a program name with args. |
2159 | set dummy strip; ac_word=$2 |
2656 | set dummy strip; ac_word=$2 |
2160 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2657 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2161 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
2658 | $as_echo_n "checking for $ac_word... " >&6; } |
2162 | if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then |
2659 | if ${ac_cv_prog_ac_ct_STRIP+:} false; then : |
2163 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2660 | $as_echo_n "(cached) " >&6 |
2164 | else |
2661 | else |
2165 | if test -n "$ac_ct_STRIP"; then |
2662 | if test -n "$ac_ct_STRIP"; then |
2166 | ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. |
2663 | ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. |
2167 | else |
2664 | else |
2168 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2665 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2169 | for as_dir in $PATH |
2666 | for as_dir in $PATH |
2170 | do |
2667 | do |
2171 | IFS=$as_save_IFS |
2668 | IFS=$as_save_IFS |
2172 | test -z "$as_dir" && as_dir=. |
2669 | test -z "$as_dir" && as_dir=. |
2173 | for ac_exec_ext in '' $ac_executable_extensions; do |
2670 | for ac_exec_ext in '' $ac_executable_extensions; do |
2174 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2671 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2175 | ac_cv_prog_ac_ct_STRIP="strip" |
2672 | ac_cv_prog_ac_ct_STRIP="strip" |
2176 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2673 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2177 | break 2 |
2674 | break 2 |
2178 | fi |
2675 | fi |
2179 | done |
2676 | done |
2180 | done |
2677 | done |
2181 | IFS=$as_save_IFS |
2678 | IFS=$as_save_IFS |
2182 | |
2679 | |
2183 | fi |
2680 | fi |
2184 | fi |
2681 | fi |
2185 | ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP |
2682 | ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP |
2186 | if test -n "$ac_ct_STRIP"; then |
2683 | if test -n "$ac_ct_STRIP"; then |
2187 | { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 |
2684 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 |
2188 | echo "${ECHO_T}$ac_ct_STRIP" >&6; } |
2685 | $as_echo "$ac_ct_STRIP" >&6; } |
2189 | else |
2686 | else |
2190 | { echo "$as_me:$LINENO: result: no" >&5 |
2687 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
2191 | echo "${ECHO_T}no" >&6; } |
2688 | $as_echo "no" >&6; } |
2192 | fi |
2689 | fi |
2193 | |
2690 | |
2194 | if test "x$ac_ct_STRIP" = x; then |
2691 | if test "x$ac_ct_STRIP" = x; then |
2195 | STRIP=":" |
2692 | STRIP=":" |
2196 | else |
2693 | else |
2197 | case $cross_compiling:$ac_tool_warned in |
2694 | case $cross_compiling:$ac_tool_warned in |
2198 | yes:) |
2695 | yes:) |
2199 | { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
2696 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
2200 | whose name does not start with the host triplet. If you think this |
2697 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
2201 | configuration is useful to you, please write to autoconf@gnu.org." >&5 |
|
|
2202 | echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools |
|
|
2203 | whose name does not start with the host triplet. If you think this |
|
|
2204 | configuration is useful to you, please write to autoconf@gnu.org." >&2;} |
|
|
2205 | ac_tool_warned=yes ;; |
2698 | ac_tool_warned=yes ;; |
2206 | esac |
2699 | esac |
2207 | STRIP=$ac_ct_STRIP |
2700 | STRIP=$ac_ct_STRIP |
2208 | fi |
2701 | fi |
2209 | else |
2702 | else |
… | |
… | |
2235 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
2728 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
2236 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
2729 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
2237 | if test -n "$ac_tool_prefix"; then |
2730 | if test -n "$ac_tool_prefix"; then |
2238 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
2731 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
2239 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
2732 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
2240 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2733 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2241 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
2734 | $as_echo_n "checking for $ac_word... " >&6; } |
2242 | if test "${ac_cv_prog_CC+set}" = set; then |
2735 | if ${ac_cv_prog_CC+:} false; then : |
2243 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2736 | $as_echo_n "(cached) " >&6 |
2244 | else |
2737 | else |
2245 | if test -n "$CC"; then |
2738 | if test -n "$CC"; then |
2246 | ac_cv_prog_CC="$CC" # Let the user override the test. |
2739 | ac_cv_prog_CC="$CC" # Let the user override the test. |
2247 | else |
2740 | else |
2248 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2741 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2249 | for as_dir in $PATH |
2742 | for as_dir in $PATH |
2250 | do |
2743 | do |
2251 | IFS=$as_save_IFS |
2744 | IFS=$as_save_IFS |
2252 | test -z "$as_dir" && as_dir=. |
2745 | test -z "$as_dir" && as_dir=. |
2253 | for ac_exec_ext in '' $ac_executable_extensions; do |
2746 | for ac_exec_ext in '' $ac_executable_extensions; do |
2254 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2747 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2255 | ac_cv_prog_CC="${ac_tool_prefix}gcc" |
2748 | ac_cv_prog_CC="${ac_tool_prefix}gcc" |
2256 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2749 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2257 | break 2 |
2750 | break 2 |
2258 | fi |
2751 | fi |
2259 | done |
2752 | done |
2260 | done |
2753 | done |
2261 | IFS=$as_save_IFS |
2754 | IFS=$as_save_IFS |
2262 | |
2755 | |
2263 | fi |
2756 | fi |
2264 | fi |
2757 | fi |
2265 | CC=$ac_cv_prog_CC |
2758 | CC=$ac_cv_prog_CC |
2266 | if test -n "$CC"; then |
2759 | if test -n "$CC"; then |
2267 | { echo "$as_me:$LINENO: result: $CC" >&5 |
2760 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
2268 | echo "${ECHO_T}$CC" >&6; } |
2761 | $as_echo "$CC" >&6; } |
2269 | else |
2762 | else |
2270 | { echo "$as_me:$LINENO: result: no" >&5 |
2763 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
2271 | echo "${ECHO_T}no" >&6; } |
2764 | $as_echo "no" >&6; } |
2272 | fi |
2765 | fi |
2273 | |
2766 | |
2274 | |
2767 | |
2275 | fi |
2768 | fi |
2276 | if test -z "$ac_cv_prog_CC"; then |
2769 | if test -z "$ac_cv_prog_CC"; then |
2277 | ac_ct_CC=$CC |
2770 | ac_ct_CC=$CC |
2278 | # Extract the first word of "gcc", so it can be a program name with args. |
2771 | # Extract the first word of "gcc", so it can be a program name with args. |
2279 | set dummy gcc; ac_word=$2 |
2772 | set dummy gcc; ac_word=$2 |
2280 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2773 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2281 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
2774 | $as_echo_n "checking for $ac_word... " >&6; } |
2282 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
2775 | if ${ac_cv_prog_ac_ct_CC+:} false; then : |
2283 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2776 | $as_echo_n "(cached) " >&6 |
2284 | else |
2777 | else |
2285 | if test -n "$ac_ct_CC"; then |
2778 | if test -n "$ac_ct_CC"; then |
2286 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
2779 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
2287 | else |
2780 | else |
2288 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2781 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2289 | for as_dir in $PATH |
2782 | for as_dir in $PATH |
2290 | do |
2783 | do |
2291 | IFS=$as_save_IFS |
2784 | IFS=$as_save_IFS |
2292 | test -z "$as_dir" && as_dir=. |
2785 | test -z "$as_dir" && as_dir=. |
2293 | for ac_exec_ext in '' $ac_executable_extensions; do |
2786 | for ac_exec_ext in '' $ac_executable_extensions; do |
2294 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2787 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2295 | ac_cv_prog_ac_ct_CC="gcc" |
2788 | ac_cv_prog_ac_ct_CC="gcc" |
2296 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2789 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2297 | break 2 |
2790 | break 2 |
2298 | fi |
2791 | fi |
2299 | done |
2792 | done |
2300 | done |
2793 | done |
2301 | IFS=$as_save_IFS |
2794 | IFS=$as_save_IFS |
2302 | |
2795 | |
2303 | fi |
2796 | fi |
2304 | fi |
2797 | fi |
2305 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
2798 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
2306 | if test -n "$ac_ct_CC"; then |
2799 | if test -n "$ac_ct_CC"; then |
2307 | { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
2800 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
2308 | echo "${ECHO_T}$ac_ct_CC" >&6; } |
2801 | $as_echo "$ac_ct_CC" >&6; } |
2309 | else |
2802 | else |
2310 | { echo "$as_me:$LINENO: result: no" >&5 |
2803 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
2311 | echo "${ECHO_T}no" >&6; } |
2804 | $as_echo "no" >&6; } |
2312 | fi |
2805 | fi |
2313 | |
2806 | |
2314 | if test "x$ac_ct_CC" = x; then |
2807 | if test "x$ac_ct_CC" = x; then |
2315 | CC="" |
2808 | CC="" |
2316 | else |
2809 | else |
2317 | case $cross_compiling:$ac_tool_warned in |
2810 | case $cross_compiling:$ac_tool_warned in |
2318 | yes:) |
2811 | yes:) |
2319 | { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
2812 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
2320 | whose name does not start with the host triplet. If you think this |
2813 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
2321 | configuration is useful to you, please write to autoconf@gnu.org." >&5 |
|
|
2322 | echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools |
|
|
2323 | whose name does not start with the host triplet. If you think this |
|
|
2324 | configuration is useful to you, please write to autoconf@gnu.org." >&2;} |
|
|
2325 | ac_tool_warned=yes ;; |
2814 | ac_tool_warned=yes ;; |
2326 | esac |
2815 | esac |
2327 | CC=$ac_ct_CC |
2816 | CC=$ac_ct_CC |
2328 | fi |
2817 | fi |
2329 | else |
2818 | else |
… | |
… | |
2332 | |
2821 | |
2333 | if test -z "$CC"; then |
2822 | if test -z "$CC"; then |
2334 | if test -n "$ac_tool_prefix"; then |
2823 | if test -n "$ac_tool_prefix"; then |
2335 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
2824 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
2336 | set dummy ${ac_tool_prefix}cc; ac_word=$2 |
2825 | set dummy ${ac_tool_prefix}cc; ac_word=$2 |
2337 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2826 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2338 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
2827 | $as_echo_n "checking for $ac_word... " >&6; } |
2339 | if test "${ac_cv_prog_CC+set}" = set; then |
2828 | if ${ac_cv_prog_CC+:} false; then : |
2340 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2829 | $as_echo_n "(cached) " >&6 |
2341 | else |
2830 | else |
2342 | if test -n "$CC"; then |
2831 | if test -n "$CC"; then |
2343 | ac_cv_prog_CC="$CC" # Let the user override the test. |
2832 | ac_cv_prog_CC="$CC" # Let the user override the test. |
2344 | else |
2833 | else |
2345 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2834 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2346 | for as_dir in $PATH |
2835 | for as_dir in $PATH |
2347 | do |
2836 | do |
2348 | IFS=$as_save_IFS |
2837 | IFS=$as_save_IFS |
2349 | test -z "$as_dir" && as_dir=. |
2838 | test -z "$as_dir" && as_dir=. |
2350 | for ac_exec_ext in '' $ac_executable_extensions; do |
2839 | for ac_exec_ext in '' $ac_executable_extensions; do |
2351 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2840 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2352 | ac_cv_prog_CC="${ac_tool_prefix}cc" |
2841 | ac_cv_prog_CC="${ac_tool_prefix}cc" |
2353 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2842 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2354 | break 2 |
2843 | break 2 |
2355 | fi |
2844 | fi |
2356 | done |
2845 | done |
2357 | done |
2846 | done |
2358 | IFS=$as_save_IFS |
2847 | IFS=$as_save_IFS |
2359 | |
2848 | |
2360 | fi |
2849 | fi |
2361 | fi |
2850 | fi |
2362 | CC=$ac_cv_prog_CC |
2851 | CC=$ac_cv_prog_CC |
2363 | if test -n "$CC"; then |
2852 | if test -n "$CC"; then |
2364 | { echo "$as_me:$LINENO: result: $CC" >&5 |
2853 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
2365 | echo "${ECHO_T}$CC" >&6; } |
2854 | $as_echo "$CC" >&6; } |
2366 | else |
2855 | else |
2367 | { echo "$as_me:$LINENO: result: no" >&5 |
2856 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
2368 | echo "${ECHO_T}no" >&6; } |
2857 | $as_echo "no" >&6; } |
2369 | fi |
2858 | fi |
2370 | |
2859 | |
2371 | |
2860 | |
2372 | fi |
2861 | fi |
2373 | fi |
2862 | fi |
2374 | if test -z "$CC"; then |
2863 | if test -z "$CC"; then |
2375 | # Extract the first word of "cc", so it can be a program name with args. |
2864 | # Extract the first word of "cc", so it can be a program name with args. |
2376 | set dummy cc; ac_word=$2 |
2865 | set dummy cc; ac_word=$2 |
2377 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2866 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2378 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
2867 | $as_echo_n "checking for $ac_word... " >&6; } |
2379 | if test "${ac_cv_prog_CC+set}" = set; then |
2868 | if ${ac_cv_prog_CC+:} false; then : |
2380 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2869 | $as_echo_n "(cached) " >&6 |
2381 | else |
2870 | else |
2382 | if test -n "$CC"; then |
2871 | if test -n "$CC"; then |
2383 | ac_cv_prog_CC="$CC" # Let the user override the test. |
2872 | ac_cv_prog_CC="$CC" # Let the user override the test. |
2384 | else |
2873 | else |
2385 | ac_prog_rejected=no |
2874 | ac_prog_rejected=no |
2386 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2875 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2387 | for as_dir in $PATH |
2876 | for as_dir in $PATH |
2388 | do |
2877 | do |
2389 | IFS=$as_save_IFS |
2878 | IFS=$as_save_IFS |
2390 | test -z "$as_dir" && as_dir=. |
2879 | test -z "$as_dir" && as_dir=. |
2391 | for ac_exec_ext in '' $ac_executable_extensions; do |
2880 | for ac_exec_ext in '' $ac_executable_extensions; do |
2392 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2881 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2393 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
2882 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
2394 | ac_prog_rejected=yes |
2883 | ac_prog_rejected=yes |
2395 | continue |
2884 | continue |
2396 | fi |
2885 | fi |
2397 | ac_cv_prog_CC="cc" |
2886 | ac_cv_prog_CC="cc" |
2398 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2887 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2399 | break 2 |
2888 | break 2 |
2400 | fi |
2889 | fi |
2401 | done |
2890 | done |
2402 | done |
2891 | done |
2403 | IFS=$as_save_IFS |
2892 | IFS=$as_save_IFS |
2404 | |
2893 | |
2405 | if test $ac_prog_rejected = yes; then |
2894 | if test $ac_prog_rejected = yes; then |
2406 | # We found a bogon in the path, so make sure we never use it. |
2895 | # We found a bogon in the path, so make sure we never use it. |
2407 | set dummy $ac_cv_prog_CC |
2896 | set dummy $ac_cv_prog_CC |
… | |
… | |
2416 | fi |
2905 | fi |
2417 | fi |
2906 | fi |
2418 | fi |
2907 | fi |
2419 | CC=$ac_cv_prog_CC |
2908 | CC=$ac_cv_prog_CC |
2420 | if test -n "$CC"; then |
2909 | if test -n "$CC"; then |
2421 | { echo "$as_me:$LINENO: result: $CC" >&5 |
2910 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
2422 | echo "${ECHO_T}$CC" >&6; } |
2911 | $as_echo "$CC" >&6; } |
2423 | else |
2912 | else |
2424 | { echo "$as_me:$LINENO: result: no" >&5 |
2913 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
2425 | echo "${ECHO_T}no" >&6; } |
2914 | $as_echo "no" >&6; } |
2426 | fi |
2915 | fi |
2427 | |
2916 | |
2428 | |
2917 | |
2429 | fi |
2918 | fi |
2430 | if test -z "$CC"; then |
2919 | if test -z "$CC"; then |
2431 | if test -n "$ac_tool_prefix"; then |
2920 | if test -n "$ac_tool_prefix"; then |
2432 | for ac_prog in cl.exe |
2921 | for ac_prog in cl.exe |
2433 | do |
2922 | do |
2434 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
2923 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
2435 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
2924 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
2436 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2925 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2437 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
2926 | $as_echo_n "checking for $ac_word... " >&6; } |
2438 | if test "${ac_cv_prog_CC+set}" = set; then |
2927 | if ${ac_cv_prog_CC+:} false; then : |
2439 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2928 | $as_echo_n "(cached) " >&6 |
2440 | else |
2929 | else |
2441 | if test -n "$CC"; then |
2930 | if test -n "$CC"; then |
2442 | ac_cv_prog_CC="$CC" # Let the user override the test. |
2931 | ac_cv_prog_CC="$CC" # Let the user override the test. |
2443 | else |
2932 | else |
2444 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2933 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2445 | for as_dir in $PATH |
2934 | for as_dir in $PATH |
2446 | do |
2935 | do |
2447 | IFS=$as_save_IFS |
2936 | IFS=$as_save_IFS |
2448 | test -z "$as_dir" && as_dir=. |
2937 | test -z "$as_dir" && as_dir=. |
2449 | for ac_exec_ext in '' $ac_executable_extensions; do |
2938 | for ac_exec_ext in '' $ac_executable_extensions; do |
2450 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2939 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2451 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
2940 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
2452 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2941 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2453 | break 2 |
2942 | break 2 |
2454 | fi |
2943 | fi |
2455 | done |
2944 | done |
2456 | done |
2945 | done |
2457 | IFS=$as_save_IFS |
2946 | IFS=$as_save_IFS |
2458 | |
2947 | |
2459 | fi |
2948 | fi |
2460 | fi |
2949 | fi |
2461 | CC=$ac_cv_prog_CC |
2950 | CC=$ac_cv_prog_CC |
2462 | if test -n "$CC"; then |
2951 | if test -n "$CC"; then |
2463 | { echo "$as_me:$LINENO: result: $CC" >&5 |
2952 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
2464 | echo "${ECHO_T}$CC" >&6; } |
2953 | $as_echo "$CC" >&6; } |
2465 | else |
2954 | else |
2466 | { echo "$as_me:$LINENO: result: no" >&5 |
2955 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
2467 | echo "${ECHO_T}no" >&6; } |
2956 | $as_echo "no" >&6; } |
2468 | fi |
2957 | fi |
2469 | |
2958 | |
2470 | |
2959 | |
2471 | test -n "$CC" && break |
2960 | test -n "$CC" && break |
2472 | done |
2961 | done |
… | |
… | |
2475 | ac_ct_CC=$CC |
2964 | ac_ct_CC=$CC |
2476 | for ac_prog in cl.exe |
2965 | for ac_prog in cl.exe |
2477 | do |
2966 | do |
2478 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
2967 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
2479 | set dummy $ac_prog; ac_word=$2 |
2968 | set dummy $ac_prog; ac_word=$2 |
2480 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2969 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2481 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
2970 | $as_echo_n "checking for $ac_word... " >&6; } |
2482 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
2971 | if ${ac_cv_prog_ac_ct_CC+:} false; then : |
2483 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2972 | $as_echo_n "(cached) " >&6 |
2484 | else |
2973 | else |
2485 | if test -n "$ac_ct_CC"; then |
2974 | if test -n "$ac_ct_CC"; then |
2486 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
2975 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
2487 | else |
2976 | else |
2488 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2977 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2489 | for as_dir in $PATH |
2978 | for as_dir in $PATH |
2490 | do |
2979 | do |
2491 | IFS=$as_save_IFS |
2980 | IFS=$as_save_IFS |
2492 | test -z "$as_dir" && as_dir=. |
2981 | test -z "$as_dir" && as_dir=. |
2493 | for ac_exec_ext in '' $ac_executable_extensions; do |
2982 | for ac_exec_ext in '' $ac_executable_extensions; do |
2494 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2983 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2495 | ac_cv_prog_ac_ct_CC="$ac_prog" |
2984 | ac_cv_prog_ac_ct_CC="$ac_prog" |
2496 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2985 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2497 | break 2 |
2986 | break 2 |
2498 | fi |
2987 | fi |
2499 | done |
2988 | done |
2500 | done |
2989 | done |
2501 | IFS=$as_save_IFS |
2990 | IFS=$as_save_IFS |
2502 | |
2991 | |
2503 | fi |
2992 | fi |
2504 | fi |
2993 | fi |
2505 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
2994 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
2506 | if test -n "$ac_ct_CC"; then |
2995 | if test -n "$ac_ct_CC"; then |
2507 | { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
2996 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
2508 | echo "${ECHO_T}$ac_ct_CC" >&6; } |
2997 | $as_echo "$ac_ct_CC" >&6; } |
2509 | else |
2998 | else |
2510 | { echo "$as_me:$LINENO: result: no" >&5 |
2999 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
2511 | echo "${ECHO_T}no" >&6; } |
3000 | $as_echo "no" >&6; } |
2512 | fi |
3001 | fi |
2513 | |
3002 | |
2514 | |
3003 | |
2515 | test -n "$ac_ct_CC" && break |
3004 | test -n "$ac_ct_CC" && break |
2516 | done |
3005 | done |
… | |
… | |
2518 | if test "x$ac_ct_CC" = x; then |
3007 | if test "x$ac_ct_CC" = x; then |
2519 | CC="" |
3008 | CC="" |
2520 | else |
3009 | else |
2521 | case $cross_compiling:$ac_tool_warned in |
3010 | case $cross_compiling:$ac_tool_warned in |
2522 | yes:) |
3011 | yes:) |
2523 | { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
3012 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
2524 | whose name does not start with the host triplet. If you think this |
3013 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
2525 | configuration is useful to you, please write to autoconf@gnu.org." >&5 |
|
|
2526 | echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools |
|
|
2527 | whose name does not start with the host triplet. If you think this |
|
|
2528 | configuration is useful to you, please write to autoconf@gnu.org." >&2;} |
|
|
2529 | ac_tool_warned=yes ;; |
3014 | ac_tool_warned=yes ;; |
2530 | esac |
3015 | esac |
2531 | CC=$ac_ct_CC |
3016 | CC=$ac_ct_CC |
2532 | fi |
3017 | fi |
2533 | fi |
3018 | fi |
2534 | |
3019 | |
2535 | fi |
3020 | fi |
2536 | |
3021 | |
2537 | |
3022 | |
2538 | test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH |
3023 | test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2539 | See \`config.log' for more details." >&5 |
3024 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2540 | echo "$as_me: error: no acceptable C compiler found in \$PATH |
3025 | as_fn_error $? "no acceptable C compiler found in \$PATH |
2541 | See \`config.log' for more details." >&2;} |
3026 | See \`config.log' for more details" "$LINENO" 5; } |
2542 | { (exit 1); exit 1; }; } |
|
|
2543 | |
3027 | |
2544 | # Provide some information about the compiler. |
3028 | # Provide some information about the compiler. |
2545 | echo "$as_me:$LINENO: checking for C compiler version" >&5 |
3029 | $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
2546 | ac_compiler=`set X $ac_compile; echo $2` |
3030 | set X $ac_compile |
|
|
3031 | ac_compiler=$2 |
|
|
3032 | for ac_option in --version -v -V -qversion; do |
2547 | { (ac_try="$ac_compiler --version >&5" |
3033 | { { ac_try="$ac_compiler $ac_option >&5" |
2548 | case "(($ac_try" in |
3034 | case "(($ac_try" in |
2549 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3035 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2550 | *) ac_try_echo=$ac_try;; |
3036 | *) ac_try_echo=$ac_try;; |
2551 | esac |
3037 | esac |
2552 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
3038 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
2553 | (eval "$ac_compiler --version >&5") 2>&5 |
3039 | $as_echo "$ac_try_echo"; } >&5 |
|
|
3040 | (eval "$ac_compiler $ac_option >&5") 2>conftest.err |
2554 | ac_status=$? |
3041 | ac_status=$? |
|
|
3042 | if test -s conftest.err; then |
|
|
3043 | sed '10a\ |
|
|
3044 | ... rest of stderr output deleted ... |
|
|
3045 | 10q' conftest.err >conftest.er1 |
|
|
3046 | cat conftest.er1 >&5 |
|
|
3047 | fi |
|
|
3048 | rm -f conftest.er1 conftest.err |
2555 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3049 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
2556 | (exit $ac_status); } |
3050 | test $ac_status = 0; } |
2557 | { (ac_try="$ac_compiler -v >&5" |
3051 | done |
|
|
3052 | |
|
|
3053 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
3054 | /* end confdefs.h. */ |
|
|
3055 | |
|
|
3056 | int |
|
|
3057 | main () |
|
|
3058 | { |
|
|
3059 | |
|
|
3060 | ; |
|
|
3061 | return 0; |
|
|
3062 | } |
|
|
3063 | _ACEOF |
|
|
3064 | ac_clean_files_save=$ac_clean_files |
|
|
3065 | ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" |
|
|
3066 | # Try to create an executable without -o first, disregard a.out. |
|
|
3067 | # It will help us diagnose broken compilers, and finding out an intuition |
|
|
3068 | # of exeext. |
|
|
3069 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 |
|
|
3070 | $as_echo_n "checking whether the C compiler works... " >&6; } |
|
|
3071 | ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
|
|
3072 | |
|
|
3073 | # The possible output files: |
|
|
3074 | ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" |
|
|
3075 | |
|
|
3076 | ac_rmfiles= |
|
|
3077 | for ac_file in $ac_files |
|
|
3078 | do |
|
|
3079 | case $ac_file in |
|
|
3080 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
|
|
3081 | * ) ac_rmfiles="$ac_rmfiles $ac_file";; |
|
|
3082 | esac |
|
|
3083 | done |
|
|
3084 | rm -f $ac_rmfiles |
|
|
3085 | |
|
|
3086 | if { { ac_try="$ac_link_default" |
2558 | case "(($ac_try" in |
3087 | case "(($ac_try" in |
2559 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3088 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2560 | *) ac_try_echo=$ac_try;; |
3089 | *) ac_try_echo=$ac_try;; |
2561 | esac |
3090 | esac |
2562 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
3091 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
2563 | (eval "$ac_compiler -v >&5") 2>&5 |
3092 | $as_echo "$ac_try_echo"; } >&5 |
2564 | ac_status=$? |
|
|
2565 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
2566 | (exit $ac_status); } |
|
|
2567 | { (ac_try="$ac_compiler -V >&5" |
|
|
2568 | case "(($ac_try" in |
|
|
2569 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
2570 | *) ac_try_echo=$ac_try;; |
|
|
2571 | esac |
|
|
2572 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
2573 | (eval "$ac_compiler -V >&5") 2>&5 |
|
|
2574 | ac_status=$? |
|
|
2575 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
2576 | (exit $ac_status); } |
|
|
2577 | |
|
|
2578 | cat >conftest.$ac_ext <<_ACEOF |
|
|
2579 | /* confdefs.h. */ |
|
|
2580 | _ACEOF |
|
|
2581 | cat confdefs.h >>conftest.$ac_ext |
|
|
2582 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
2583 | /* end confdefs.h. */ |
|
|
2584 | |
|
|
2585 | int |
|
|
2586 | main () |
|
|
2587 | { |
|
|
2588 | |
|
|
2589 | ; |
|
|
2590 | return 0; |
|
|
2591 | } |
|
|
2592 | _ACEOF |
|
|
2593 | ac_clean_files_save=$ac_clean_files |
|
|
2594 | ac_clean_files="$ac_clean_files a.out a.exe b.out" |
|
|
2595 | # Try to create an executable without -o first, disregard a.out. |
|
|
2596 | # It will help us diagnose broken compilers, and finding out an intuition |
|
|
2597 | # of exeext. |
|
|
2598 | { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 |
|
|
2599 | echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } |
|
|
2600 | ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
|
|
2601 | # |
|
|
2602 | # List of possible output files, starting from the most likely. |
|
|
2603 | # The algorithm is not robust to junk in `.', hence go to wildcards (a.*) |
|
|
2604 | # only as a last resort. b.out is created by i960 compilers. |
|
|
2605 | ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' |
|
|
2606 | # |
|
|
2607 | # The IRIX 6 linker writes into existing files which may not be |
|
|
2608 | # executable, retaining their permissions. Remove them first so a |
|
|
2609 | # subsequent execution test works. |
|
|
2610 | ac_rmfiles= |
|
|
2611 | for ac_file in $ac_files |
|
|
2612 | do |
|
|
2613 | case $ac_file in |
|
|
2614 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; |
|
|
2615 | * ) ac_rmfiles="$ac_rmfiles $ac_file";; |
|
|
2616 | esac |
|
|
2617 | done |
|
|
2618 | rm -f $ac_rmfiles |
|
|
2619 | |
|
|
2620 | if { (ac_try="$ac_link_default" |
|
|
2621 | case "(($ac_try" in |
|
|
2622 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
2623 | *) ac_try_echo=$ac_try;; |
|
|
2624 | esac |
|
|
2625 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
2626 | (eval "$ac_link_default") 2>&5 |
3093 | (eval "$ac_link_default") 2>&5 |
2627 | ac_status=$? |
3094 | ac_status=$? |
2628 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3095 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
2629 | (exit $ac_status); }; then |
3096 | test $ac_status = 0; }; then : |
2630 | # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. |
3097 | # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. |
2631 | # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' |
3098 | # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' |
2632 | # in a Makefile. We should not override ac_cv_exeext if it was cached, |
3099 | # in a Makefile. We should not override ac_cv_exeext if it was cached, |
2633 | # so that the user can short-circuit this test for compilers unknown to |
3100 | # so that the user can short-circuit this test for compilers unknown to |
2634 | # Autoconf. |
3101 | # Autoconf. |
2635 | for ac_file in $ac_files '' |
3102 | for ac_file in $ac_files '' |
2636 | do |
3103 | do |
2637 | test -f "$ac_file" || continue |
3104 | test -f "$ac_file" || continue |
2638 | case $ac_file in |
3105 | case $ac_file in |
2639 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) |
3106 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) |
2640 | ;; |
3107 | ;; |
2641 | [ab].out ) |
3108 | [ab].out ) |
2642 | # We found the default executable, but exeext='' is most |
3109 | # We found the default executable, but exeext='' is most |
2643 | # certainly right. |
3110 | # certainly right. |
2644 | break;; |
3111 | break;; |
2645 | *.* ) |
3112 | *.* ) |
2646 | if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; |
3113 | if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; |
2647 | then :; else |
3114 | then :; else |
2648 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
3115 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
2649 | fi |
3116 | fi |
2650 | # We set ac_cv_exeext here because the later test for it is not |
3117 | # We set ac_cv_exeext here because the later test for it is not |
2651 | # safe: cross compilers may not add the suffix if given an `-o' |
3118 | # safe: cross compilers may not add the suffix if given an `-o' |
… | |
… | |
2660 | test "$ac_cv_exeext" = no && ac_cv_exeext= |
3127 | test "$ac_cv_exeext" = no && ac_cv_exeext= |
2661 | |
3128 | |
2662 | else |
3129 | else |
2663 | ac_file='' |
3130 | ac_file='' |
2664 | fi |
3131 | fi |
2665 | |
|
|
2666 | { echo "$as_me:$LINENO: result: $ac_file" >&5 |
|
|
2667 | echo "${ECHO_T}$ac_file" >&6; } |
|
|
2668 | if test -z "$ac_file"; then |
3132 | if test -z "$ac_file"; then : |
|
|
3133 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
|
3134 | $as_echo "no" >&6; } |
2669 | echo "$as_me: failed program was:" >&5 |
3135 | $as_echo "$as_me: failed program was:" >&5 |
2670 | sed 's/^/| /' conftest.$ac_ext >&5 |
3136 | sed 's/^/| /' conftest.$ac_ext >&5 |
2671 | |
3137 | |
2672 | { { echo "$as_me:$LINENO: error: C compiler cannot create executables |
3138 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2673 | See \`config.log' for more details." >&5 |
3139 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2674 | echo "$as_me: error: C compiler cannot create executables |
3140 | as_fn_error 77 "C compiler cannot create executables |
2675 | See \`config.log' for more details." >&2;} |
3141 | See \`config.log' for more details" "$LINENO" 5; } |
2676 | { (exit 77); exit 77; }; } |
3142 | else |
|
|
3143 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
|
3144 | $as_echo "yes" >&6; } |
2677 | fi |
3145 | fi |
2678 | |
3146 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 |
|
|
3147 | $as_echo_n "checking for C compiler default output file name... " >&6; } |
|
|
3148 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 |
|
|
3149 | $as_echo "$ac_file" >&6; } |
2679 | ac_exeext=$ac_cv_exeext |
3150 | ac_exeext=$ac_cv_exeext |
2680 | |
3151 | |
2681 | # Check that the compiler produces executables we can run. If not, either |
|
|
2682 | # the compiler is broken, or we cross compile. |
|
|
2683 | { echo "$as_me:$LINENO: checking whether the C compiler works" >&5 |
|
|
2684 | echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } |
|
|
2685 | # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 |
|
|
2686 | # If not cross compiling, check that we can run a simple program. |
|
|
2687 | if test "$cross_compiling" != yes; then |
|
|
2688 | if { ac_try='./$ac_file' |
|
|
2689 | { (case "(($ac_try" in |
|
|
2690 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
2691 | *) ac_try_echo=$ac_try;; |
|
|
2692 | esac |
|
|
2693 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
2694 | (eval "$ac_try") 2>&5 |
|
|
2695 | ac_status=$? |
|
|
2696 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
2697 | (exit $ac_status); }; }; then |
|
|
2698 | cross_compiling=no |
|
|
2699 | else |
|
|
2700 | if test "$cross_compiling" = maybe; then |
|
|
2701 | cross_compiling=yes |
|
|
2702 | else |
|
|
2703 | { { echo "$as_me:$LINENO: error: cannot run C compiled programs. |
|
|
2704 | If you meant to cross compile, use \`--host'. |
|
|
2705 | See \`config.log' for more details." >&5 |
|
|
2706 | echo "$as_me: error: cannot run C compiled programs. |
|
|
2707 | If you meant to cross compile, use \`--host'. |
|
|
2708 | See \`config.log' for more details." >&2;} |
|
|
2709 | { (exit 1); exit 1; }; } |
|
|
2710 | fi |
|
|
2711 | fi |
|
|
2712 | fi |
|
|
2713 | { echo "$as_me:$LINENO: result: yes" >&5 |
|
|
2714 | echo "${ECHO_T}yes" >&6; } |
|
|
2715 | |
|
|
2716 | rm -f a.out a.exe conftest$ac_cv_exeext b.out |
3152 | rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out |
2717 | ac_clean_files=$ac_clean_files_save |
3153 | ac_clean_files=$ac_clean_files_save |
2718 | # Check that the compiler produces executables we can run. If not, either |
|
|
2719 | # the compiler is broken, or we cross compile. |
|
|
2720 | { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 |
|
|
2721 | echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } |
|
|
2722 | { echo "$as_me:$LINENO: result: $cross_compiling" >&5 |
|
|
2723 | echo "${ECHO_T}$cross_compiling" >&6; } |
|
|
2724 | |
|
|
2725 | { echo "$as_me:$LINENO: checking for suffix of executables" >&5 |
3154 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 |
2726 | echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } |
3155 | $as_echo_n "checking for suffix of executables... " >&6; } |
2727 | if { (ac_try="$ac_link" |
3156 | if { { ac_try="$ac_link" |
2728 | case "(($ac_try" in |
3157 | case "(($ac_try" in |
2729 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3158 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2730 | *) ac_try_echo=$ac_try;; |
3159 | *) ac_try_echo=$ac_try;; |
2731 | esac |
3160 | esac |
2732 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
3161 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
|
3162 | $as_echo "$ac_try_echo"; } >&5 |
2733 | (eval "$ac_link") 2>&5 |
3163 | (eval "$ac_link") 2>&5 |
2734 | ac_status=$? |
3164 | ac_status=$? |
2735 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3165 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
2736 | (exit $ac_status); }; then |
3166 | test $ac_status = 0; }; then : |
2737 | # If both `conftest.exe' and `conftest' are `present' (well, observable) |
3167 | # If both `conftest.exe' and `conftest' are `present' (well, observable) |
2738 | # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
3168 | # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
2739 | # work properly (i.e., refer to `conftest.exe'), while it won't with |
3169 | # work properly (i.e., refer to `conftest.exe'), while it won't with |
2740 | # `rm'. |
3170 | # `rm'. |
2741 | for ac_file in conftest.exe conftest conftest.*; do |
3171 | for ac_file in conftest.exe conftest conftest.*; do |
2742 | test -f "$ac_file" || continue |
3172 | test -f "$ac_file" || continue |
2743 | case $ac_file in |
3173 | case $ac_file in |
2744 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; |
3174 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
2745 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
3175 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
2746 | break;; |
3176 | break;; |
2747 | * ) break;; |
3177 | * ) break;; |
2748 | esac |
3178 | esac |
2749 | done |
3179 | done |
2750 | else |
3180 | else |
2751 | { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link |
3181 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2752 | See \`config.log' for more details." >&5 |
3182 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2753 | echo "$as_me: error: cannot compute suffix of executables: cannot compile and link |
3183 | as_fn_error $? "cannot compute suffix of executables: cannot compile and link |
2754 | See \`config.log' for more details." >&2;} |
3184 | See \`config.log' for more details" "$LINENO" 5; } |
2755 | { (exit 1); exit 1; }; } |
|
|
2756 | fi |
3185 | fi |
2757 | |
|
|
2758 | rm -f conftest$ac_cv_exeext |
3186 | rm -f conftest conftest$ac_cv_exeext |
2759 | { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 |
3187 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
2760 | echo "${ECHO_T}$ac_cv_exeext" >&6; } |
3188 | $as_echo "$ac_cv_exeext" >&6; } |
2761 | |
3189 | |
2762 | rm -f conftest.$ac_ext |
3190 | rm -f conftest.$ac_ext |
2763 | EXEEXT=$ac_cv_exeext |
3191 | EXEEXT=$ac_cv_exeext |
2764 | ac_exeext=$EXEEXT |
3192 | ac_exeext=$EXEEXT |
2765 | { echo "$as_me:$LINENO: checking for suffix of object files" >&5 |
|
|
2766 | echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } |
|
|
2767 | if test "${ac_cv_objext+set}" = set; then |
|
|
2768 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
2769 | else |
|
|
2770 | cat >conftest.$ac_ext <<_ACEOF |
|
|
2771 | /* confdefs.h. */ |
|
|
2772 | _ACEOF |
|
|
2773 | cat confdefs.h >>conftest.$ac_ext |
3193 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2774 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
2775 | /* end confdefs.h. */ |
3194 | /* end confdefs.h. */ |
2776 | |
3195 | #include <stdio.h> |
2777 | int |
3196 | int |
2778 | main () |
3197 | main () |
2779 | { |
3198 | { |
|
|
3199 | FILE *f = fopen ("conftest.out", "w"); |
|
|
3200 | return ferror (f) || fclose (f) != 0; |
2780 | |
3201 | |
2781 | ; |
3202 | ; |
2782 | return 0; |
3203 | return 0; |
2783 | } |
3204 | } |
2784 | _ACEOF |
3205 | _ACEOF |
2785 | rm -f conftest.o conftest.obj |
3206 | ac_clean_files="$ac_clean_files conftest.out" |
2786 | if { (ac_try="$ac_compile" |
3207 | # Check that the compiler produces executables we can run. If not, either |
|
|
3208 | # the compiler is broken, or we cross compile. |
|
|
3209 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 |
|
|
3210 | $as_echo_n "checking whether we are cross compiling... " >&6; } |
|
|
3211 | if test "$cross_compiling" != yes; then |
|
|
3212 | { { ac_try="$ac_link" |
2787 | case "(($ac_try" in |
3213 | case "(($ac_try" in |
2788 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3214 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2789 | *) ac_try_echo=$ac_try;; |
3215 | *) ac_try_echo=$ac_try;; |
2790 | esac |
3216 | esac |
2791 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
3217 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
|
3218 | $as_echo "$ac_try_echo"; } >&5 |
|
|
3219 | (eval "$ac_link") 2>&5 |
|
|
3220 | ac_status=$? |
|
|
3221 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
|
3222 | test $ac_status = 0; } |
|
|
3223 | if { ac_try='./conftest$ac_cv_exeext' |
|
|
3224 | { { case "(($ac_try" in |
|
|
3225 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
3226 | *) ac_try_echo=$ac_try;; |
|
|
3227 | esac |
|
|
3228 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
|
3229 | $as_echo "$ac_try_echo"; } >&5 |
|
|
3230 | (eval "$ac_try") 2>&5 |
|
|
3231 | ac_status=$? |
|
|
3232 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
|
3233 | test $ac_status = 0; }; }; then |
|
|
3234 | cross_compiling=no |
|
|
3235 | else |
|
|
3236 | if test "$cross_compiling" = maybe; then |
|
|
3237 | cross_compiling=yes |
|
|
3238 | else |
|
|
3239 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
|
3240 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
|
3241 | as_fn_error $? "cannot run C compiled programs. |
|
|
3242 | If you meant to cross compile, use \`--host'. |
|
|
3243 | See \`config.log' for more details" "$LINENO" 5; } |
|
|
3244 | fi |
|
|
3245 | fi |
|
|
3246 | fi |
|
|
3247 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
|
|
3248 | $as_echo "$cross_compiling" >&6; } |
|
|
3249 | |
|
|
3250 | rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out |
|
|
3251 | ac_clean_files=$ac_clean_files_save |
|
|
3252 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 |
|
|
3253 | $as_echo_n "checking for suffix of object files... " >&6; } |
|
|
3254 | if ${ac_cv_objext+:} false; then : |
|
|
3255 | $as_echo_n "(cached) " >&6 |
|
|
3256 | else |
|
|
3257 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
3258 | /* end confdefs.h. */ |
|
|
3259 | |
|
|
3260 | int |
|
|
3261 | main () |
|
|
3262 | { |
|
|
3263 | |
|
|
3264 | ; |
|
|
3265 | return 0; |
|
|
3266 | } |
|
|
3267 | _ACEOF |
|
|
3268 | rm -f conftest.o conftest.obj |
|
|
3269 | if { { ac_try="$ac_compile" |
|
|
3270 | case "(($ac_try" in |
|
|
3271 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
3272 | *) ac_try_echo=$ac_try;; |
|
|
3273 | esac |
|
|
3274 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
|
3275 | $as_echo "$ac_try_echo"; } >&5 |
2792 | (eval "$ac_compile") 2>&5 |
3276 | (eval "$ac_compile") 2>&5 |
2793 | ac_status=$? |
3277 | ac_status=$? |
2794 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3278 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
2795 | (exit $ac_status); }; then |
3279 | test $ac_status = 0; }; then : |
2796 | for ac_file in conftest.o conftest.obj conftest.*; do |
3280 | for ac_file in conftest.o conftest.obj conftest.*; do |
2797 | test -f "$ac_file" || continue; |
3281 | test -f "$ac_file" || continue; |
2798 | case $ac_file in |
3282 | case $ac_file in |
2799 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; |
3283 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; |
2800 | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
3284 | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
2801 | break;; |
3285 | break;; |
2802 | esac |
3286 | esac |
2803 | done |
3287 | done |
2804 | else |
3288 | else |
2805 | echo "$as_me: failed program was:" >&5 |
3289 | $as_echo "$as_me: failed program was:" >&5 |
2806 | sed 's/^/| /' conftest.$ac_ext >&5 |
3290 | sed 's/^/| /' conftest.$ac_ext >&5 |
2807 | |
3291 | |
2808 | { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile |
3292 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2809 | See \`config.log' for more details." >&5 |
3293 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2810 | echo "$as_me: error: cannot compute suffix of object files: cannot compile |
3294 | as_fn_error $? "cannot compute suffix of object files: cannot compile |
2811 | See \`config.log' for more details." >&2;} |
3295 | See \`config.log' for more details" "$LINENO" 5; } |
2812 | { (exit 1); exit 1; }; } |
|
|
2813 | fi |
3296 | fi |
2814 | |
|
|
2815 | rm -f conftest.$ac_cv_objext conftest.$ac_ext |
3297 | rm -f conftest.$ac_cv_objext conftest.$ac_ext |
2816 | fi |
3298 | fi |
2817 | { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 |
3299 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 |
2818 | echo "${ECHO_T}$ac_cv_objext" >&6; } |
3300 | $as_echo "$ac_cv_objext" >&6; } |
2819 | OBJEXT=$ac_cv_objext |
3301 | OBJEXT=$ac_cv_objext |
2820 | ac_objext=$OBJEXT |
3302 | ac_objext=$OBJEXT |
2821 | { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 |
3303 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 |
2822 | echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } |
3304 | $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
2823 | if test "${ac_cv_c_compiler_gnu+set}" = set; then |
3305 | if ${ac_cv_c_compiler_gnu+:} false; then : |
2824 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3306 | $as_echo_n "(cached) " >&6 |
2825 | else |
3307 | else |
2826 | cat >conftest.$ac_ext <<_ACEOF |
|
|
2827 | /* confdefs.h. */ |
|
|
2828 | _ACEOF |
|
|
2829 | cat confdefs.h >>conftest.$ac_ext |
3308 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2830 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
2831 | /* end confdefs.h. */ |
3309 | /* end confdefs.h. */ |
2832 | |
3310 | |
2833 | int |
3311 | int |
2834 | main () |
3312 | main () |
2835 | { |
3313 | { |
… | |
… | |
2839 | |
3317 | |
2840 | ; |
3318 | ; |
2841 | return 0; |
3319 | return 0; |
2842 | } |
3320 | } |
2843 | _ACEOF |
3321 | _ACEOF |
2844 | rm -f conftest.$ac_objext |
3322 | if ac_fn_c_try_compile "$LINENO"; then : |
2845 | if { (ac_try="$ac_compile" |
|
|
2846 | case "(($ac_try" in |
|
|
2847 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
2848 | *) ac_try_echo=$ac_try;; |
|
|
2849 | esac |
|
|
2850 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
2851 | (eval "$ac_compile") 2>conftest.er1 |
|
|
2852 | ac_status=$? |
|
|
2853 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
2854 | rm -f conftest.er1 |
|
|
2855 | cat conftest.err >&5 |
|
|
2856 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
2857 | (exit $ac_status); } && { |
|
|
2858 | test -z "$ac_c_werror_flag" || |
|
|
2859 | test ! -s conftest.err |
|
|
2860 | } && test -s conftest.$ac_objext; then |
|
|
2861 | ac_compiler_gnu=yes |
3323 | ac_compiler_gnu=yes |
2862 | else |
3324 | else |
2863 | echo "$as_me: failed program was:" >&5 |
|
|
2864 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
2865 | |
|
|
2866 | ac_compiler_gnu=no |
3325 | ac_compiler_gnu=no |
2867 | fi |
3326 | fi |
2868 | |
|
|
2869 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3327 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2870 | ac_cv_c_compiler_gnu=$ac_compiler_gnu |
3328 | ac_cv_c_compiler_gnu=$ac_compiler_gnu |
2871 | |
3329 | |
2872 | fi |
3330 | fi |
2873 | { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
3331 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 |
2874 | echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } |
3332 | $as_echo "$ac_cv_c_compiler_gnu" >&6; } |
2875 | GCC=`test $ac_compiler_gnu = yes && echo yes` |
3333 | if test $ac_compiler_gnu = yes; then |
|
|
3334 | GCC=yes |
|
|
3335 | else |
|
|
3336 | GCC= |
|
|
3337 | fi |
2876 | ac_test_CFLAGS=${CFLAGS+set} |
3338 | ac_test_CFLAGS=${CFLAGS+set} |
2877 | ac_save_CFLAGS=$CFLAGS |
3339 | ac_save_CFLAGS=$CFLAGS |
2878 | { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 |
3340 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
2879 | echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } |
3341 | $as_echo_n "checking whether $CC accepts -g... " >&6; } |
2880 | if test "${ac_cv_prog_cc_g+set}" = set; then |
3342 | if ${ac_cv_prog_cc_g+:} false; then : |
2881 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3343 | $as_echo_n "(cached) " >&6 |
2882 | else |
3344 | else |
2883 | ac_save_c_werror_flag=$ac_c_werror_flag |
3345 | ac_save_c_werror_flag=$ac_c_werror_flag |
2884 | ac_c_werror_flag=yes |
3346 | ac_c_werror_flag=yes |
2885 | ac_cv_prog_cc_g=no |
3347 | ac_cv_prog_cc_g=no |
2886 | CFLAGS="-g" |
3348 | CFLAGS="-g" |
2887 | cat >conftest.$ac_ext <<_ACEOF |
|
|
2888 | /* confdefs.h. */ |
|
|
2889 | _ACEOF |
|
|
2890 | cat confdefs.h >>conftest.$ac_ext |
3349 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2891 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
2892 | /* end confdefs.h. */ |
3350 | /* end confdefs.h. */ |
2893 | |
3351 | |
2894 | int |
3352 | int |
2895 | main () |
3353 | main () |
2896 | { |
3354 | { |
2897 | |
3355 | |
2898 | ; |
3356 | ; |
2899 | return 0; |
3357 | return 0; |
2900 | } |
3358 | } |
2901 | _ACEOF |
3359 | _ACEOF |
2902 | rm -f conftest.$ac_objext |
3360 | if ac_fn_c_try_compile "$LINENO"; then : |
2903 | if { (ac_try="$ac_compile" |
|
|
2904 | case "(($ac_try" in |
|
|
2905 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
2906 | *) ac_try_echo=$ac_try;; |
|
|
2907 | esac |
|
|
2908 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
2909 | (eval "$ac_compile") 2>conftest.er1 |
|
|
2910 | ac_status=$? |
|
|
2911 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
2912 | rm -f conftest.er1 |
|
|
2913 | cat conftest.err >&5 |
|
|
2914 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
2915 | (exit $ac_status); } && { |
|
|
2916 | test -z "$ac_c_werror_flag" || |
|
|
2917 | test ! -s conftest.err |
|
|
2918 | } && test -s conftest.$ac_objext; then |
|
|
2919 | ac_cv_prog_cc_g=yes |
3361 | ac_cv_prog_cc_g=yes |
2920 | else |
3362 | else |
2921 | echo "$as_me: failed program was:" >&5 |
|
|
2922 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
2923 | |
|
|
2924 | CFLAGS="" |
3363 | CFLAGS="" |
2925 | cat >conftest.$ac_ext <<_ACEOF |
|
|
2926 | /* confdefs.h. */ |
|
|
2927 | _ACEOF |
|
|
2928 | cat confdefs.h >>conftest.$ac_ext |
3364 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2929 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
2930 | /* end confdefs.h. */ |
3365 | /* end confdefs.h. */ |
2931 | |
3366 | |
2932 | int |
3367 | int |
2933 | main () |
3368 | main () |
2934 | { |
3369 | { |
2935 | |
3370 | |
2936 | ; |
3371 | ; |
2937 | return 0; |
3372 | return 0; |
2938 | } |
3373 | } |
2939 | _ACEOF |
3374 | _ACEOF |
2940 | rm -f conftest.$ac_objext |
3375 | if ac_fn_c_try_compile "$LINENO"; then : |
2941 | if { (ac_try="$ac_compile" |
|
|
2942 | case "(($ac_try" in |
|
|
2943 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
2944 | *) ac_try_echo=$ac_try;; |
|
|
2945 | esac |
|
|
2946 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
2947 | (eval "$ac_compile") 2>conftest.er1 |
|
|
2948 | ac_status=$? |
|
|
2949 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
2950 | rm -f conftest.er1 |
|
|
2951 | cat conftest.err >&5 |
|
|
2952 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
2953 | (exit $ac_status); } && { |
|
|
2954 | test -z "$ac_c_werror_flag" || |
|
|
2955 | test ! -s conftest.err |
|
|
2956 | } && test -s conftest.$ac_objext; then |
|
|
2957 | : |
|
|
2958 | else |
|
|
2959 | echo "$as_me: failed program was:" >&5 |
|
|
2960 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
2961 | |
3376 | |
|
|
3377 | else |
2962 | ac_c_werror_flag=$ac_save_c_werror_flag |
3378 | ac_c_werror_flag=$ac_save_c_werror_flag |
2963 | CFLAGS="-g" |
3379 | CFLAGS="-g" |
2964 | cat >conftest.$ac_ext <<_ACEOF |
|
|
2965 | /* confdefs.h. */ |
|
|
2966 | _ACEOF |
|
|
2967 | cat confdefs.h >>conftest.$ac_ext |
3380 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2968 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
2969 | /* end confdefs.h. */ |
3381 | /* end confdefs.h. */ |
2970 | |
3382 | |
2971 | int |
3383 | int |
2972 | main () |
3384 | main () |
2973 | { |
3385 | { |
2974 | |
3386 | |
2975 | ; |
3387 | ; |
2976 | return 0; |
3388 | return 0; |
2977 | } |
3389 | } |
2978 | _ACEOF |
3390 | _ACEOF |
2979 | rm -f conftest.$ac_objext |
3391 | if ac_fn_c_try_compile "$LINENO"; then : |
2980 | if { (ac_try="$ac_compile" |
|
|
2981 | case "(($ac_try" in |
|
|
2982 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
2983 | *) ac_try_echo=$ac_try;; |
|
|
2984 | esac |
|
|
2985 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
2986 | (eval "$ac_compile") 2>conftest.er1 |
|
|
2987 | ac_status=$? |
|
|
2988 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
2989 | rm -f conftest.er1 |
|
|
2990 | cat conftest.err >&5 |
|
|
2991 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
2992 | (exit $ac_status); } && { |
|
|
2993 | test -z "$ac_c_werror_flag" || |
|
|
2994 | test ! -s conftest.err |
|
|
2995 | } && test -s conftest.$ac_objext; then |
|
|
2996 | ac_cv_prog_cc_g=yes |
3392 | ac_cv_prog_cc_g=yes |
2997 | else |
|
|
2998 | echo "$as_me: failed program was:" >&5 |
|
|
2999 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
3000 | |
|
|
3001 | |
|
|
3002 | fi |
3393 | fi |
3003 | |
|
|
3004 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3394 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3005 | fi |
3395 | fi |
3006 | |
|
|
3007 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3396 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3008 | fi |
3397 | fi |
3009 | |
|
|
3010 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3398 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3011 | ac_c_werror_flag=$ac_save_c_werror_flag |
3399 | ac_c_werror_flag=$ac_save_c_werror_flag |
3012 | fi |
3400 | fi |
3013 | { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
3401 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 |
3014 | echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } |
3402 | $as_echo "$ac_cv_prog_cc_g" >&6; } |
3015 | if test "$ac_test_CFLAGS" = set; then |
3403 | if test "$ac_test_CFLAGS" = set; then |
3016 | CFLAGS=$ac_save_CFLAGS |
3404 | CFLAGS=$ac_save_CFLAGS |
3017 | elif test $ac_cv_prog_cc_g = yes; then |
3405 | elif test $ac_cv_prog_cc_g = yes; then |
3018 | if test "$GCC" = yes; then |
3406 | if test "$GCC" = yes; then |
3019 | CFLAGS="-g -O2" |
3407 | CFLAGS="-g -O2" |
… | |
… | |
3025 | CFLAGS="-O2" |
3413 | CFLAGS="-O2" |
3026 | else |
3414 | else |
3027 | CFLAGS= |
3415 | CFLAGS= |
3028 | fi |
3416 | fi |
3029 | fi |
3417 | fi |
3030 | { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 |
3418 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 |
3031 | echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } |
3419 | $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
3032 | if test "${ac_cv_prog_cc_c89+set}" = set; then |
3420 | if ${ac_cv_prog_cc_c89+:} false; then : |
3033 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3421 | $as_echo_n "(cached) " >&6 |
3034 | else |
3422 | else |
3035 | ac_cv_prog_cc_c89=no |
3423 | ac_cv_prog_cc_c89=no |
3036 | ac_save_CC=$CC |
3424 | ac_save_CC=$CC |
3037 | cat >conftest.$ac_ext <<_ACEOF |
|
|
3038 | /* confdefs.h. */ |
|
|
3039 | _ACEOF |
|
|
3040 | cat confdefs.h >>conftest.$ac_ext |
3425 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3041 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
3042 | /* end confdefs.h. */ |
3426 | /* end confdefs.h. */ |
3043 | #include <stdarg.h> |
3427 | #include <stdarg.h> |
3044 | #include <stdio.h> |
3428 | #include <stdio.h> |
3045 | #include <sys/types.h> |
3429 | struct stat; |
3046 | #include <sys/stat.h> |
|
|
3047 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
3430 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
3048 | struct buf { int x; }; |
3431 | struct buf { int x; }; |
3049 | FILE * (*rcsopen) (struct buf *, struct stat *, int); |
3432 | FILE * (*rcsopen) (struct buf *, struct stat *, int); |
3050 | static char *e (p, i) |
3433 | static char *e (p, i) |
3051 | char **p; |
3434 | char **p; |
… | |
… | |
3093 | _ACEOF |
3476 | _ACEOF |
3094 | for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ |
3477 | for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ |
3095 | -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
3478 | -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
3096 | do |
3479 | do |
3097 | CC="$ac_save_CC $ac_arg" |
3480 | CC="$ac_save_CC $ac_arg" |
3098 | rm -f conftest.$ac_objext |
3481 | if ac_fn_c_try_compile "$LINENO"; then : |
3099 | if { (ac_try="$ac_compile" |
|
|
3100 | case "(($ac_try" in |
|
|
3101 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
3102 | *) ac_try_echo=$ac_try;; |
|
|
3103 | esac |
|
|
3104 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
3105 | (eval "$ac_compile") 2>conftest.er1 |
|
|
3106 | ac_status=$? |
|
|
3107 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
3108 | rm -f conftest.er1 |
|
|
3109 | cat conftest.err >&5 |
|
|
3110 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3111 | (exit $ac_status); } && { |
|
|
3112 | test -z "$ac_c_werror_flag" || |
|
|
3113 | test ! -s conftest.err |
|
|
3114 | } && test -s conftest.$ac_objext; then |
|
|
3115 | ac_cv_prog_cc_c89=$ac_arg |
3482 | ac_cv_prog_cc_c89=$ac_arg |
3116 | else |
|
|
3117 | echo "$as_me: failed program was:" >&5 |
|
|
3118 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
3119 | |
|
|
3120 | |
|
|
3121 | fi |
3483 | fi |
3122 | |
|
|
3123 | rm -f core conftest.err conftest.$ac_objext |
3484 | rm -f core conftest.err conftest.$ac_objext |
3124 | test "x$ac_cv_prog_cc_c89" != "xno" && break |
3485 | test "x$ac_cv_prog_cc_c89" != "xno" && break |
3125 | done |
3486 | done |
3126 | rm -f conftest.$ac_ext |
3487 | rm -f conftest.$ac_ext |
3127 | CC=$ac_save_CC |
3488 | CC=$ac_save_CC |
3128 | |
3489 | |
3129 | fi |
3490 | fi |
3130 | # AC_CACHE_VAL |
3491 | # AC_CACHE_VAL |
3131 | case "x$ac_cv_prog_cc_c89" in |
3492 | case "x$ac_cv_prog_cc_c89" in |
3132 | x) |
3493 | x) |
3133 | { echo "$as_me:$LINENO: result: none needed" >&5 |
3494 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
3134 | echo "${ECHO_T}none needed" >&6; } ;; |
3495 | $as_echo "none needed" >&6; } ;; |
3135 | xno) |
3496 | xno) |
3136 | { echo "$as_me:$LINENO: result: unsupported" >&5 |
3497 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
3137 | echo "${ECHO_T}unsupported" >&6; } ;; |
3498 | $as_echo "unsupported" >&6; } ;; |
3138 | *) |
3499 | *) |
3139 | CC="$CC $ac_cv_prog_cc_c89" |
3500 | CC="$CC $ac_cv_prog_cc_c89" |
3140 | { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 |
3501 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 |
3141 | echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; |
3502 | $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; |
3142 | esac |
3503 | esac |
|
|
3504 | if test "x$ac_cv_prog_cc_c89" != xno; then : |
3143 | |
3505 | |
|
|
3506 | fi |
3144 | |
3507 | |
3145 | ac_ext=c |
3508 | ac_ext=c |
3146 | ac_cpp='$CPP $CPPFLAGS' |
3509 | ac_cpp='$CPP $CPPFLAGS' |
3147 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3510 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3148 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3511 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
… | |
… | |
3157 | am__doit: |
3520 | am__doit: |
3158 | @echo done |
3521 | @echo done |
3159 | .PHONY: am__doit |
3522 | .PHONY: am__doit |
3160 | END |
3523 | END |
3161 | # If we don't find an include directive, just comment out the code. |
3524 | # If we don't find an include directive, just comment out the code. |
3162 | { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 |
3525 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 |
3163 | echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; } |
3526 | $as_echo_n "checking for style of include used by $am_make... " >&6; } |
3164 | am__include="#" |
3527 | am__include="#" |
3165 | am__quote= |
3528 | am__quote= |
3166 | _am_result=none |
3529 | _am_result=none |
3167 | # First try GNU make style include. |
3530 | # First try GNU make style include. |
3168 | echo "include confinc" > confmf |
3531 | echo "include confinc" > confmf |
… | |
… | |
3185 | _am_result=BSD |
3548 | _am_result=BSD |
3186 | fi |
3549 | fi |
3187 | fi |
3550 | fi |
3188 | |
3551 | |
3189 | |
3552 | |
3190 | { echo "$as_me:$LINENO: result: $_am_result" >&5 |
3553 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 |
3191 | echo "${ECHO_T}$_am_result" >&6; } |
3554 | $as_echo "$_am_result" >&6; } |
3192 | rm -f confinc confmf |
3555 | rm -f confinc confmf |
3193 | |
3556 | |
3194 | # Check whether --enable-dependency-tracking was given. |
3557 | # Check whether --enable-dependency-tracking was given. |
3195 | if test "${enable_dependency_tracking+set}" = set; then |
3558 | if test "${enable_dependency_tracking+set}" = set; then : |
3196 | enableval=$enable_dependency_tracking; |
3559 | enableval=$enable_dependency_tracking; |
3197 | fi |
3560 | fi |
3198 | |
3561 | |
3199 | if test "x$enable_dependency_tracking" != xno; then |
3562 | if test "x$enable_dependency_tracking" != xno; then |
3200 | am_depcomp="$ac_aux_dir/depcomp" |
3563 | am_depcomp="$ac_aux_dir/depcomp" |
… | |
… | |
3210 | |
3573 | |
3211 | |
3574 | |
3212 | |
3575 | |
3213 | depcc="$CC" am_compiler_list= |
3576 | depcc="$CC" am_compiler_list= |
3214 | |
3577 | |
3215 | { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 |
3578 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
3216 | echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; } |
3579 | $as_echo_n "checking dependency style of $depcc... " >&6; } |
3217 | if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then |
3580 | if ${am_cv_CC_dependencies_compiler_type+:} false; then : |
3218 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3581 | $as_echo_n "(cached) " >&6 |
3219 | else |
3582 | else |
3220 | if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
3583 | if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
3221 | # We make a subdir and do the tests there. Otherwise we can end up |
3584 | # We make a subdir and do the tests there. Otherwise we can end up |
3222 | # making bogus files that we don't know about and never remove. For |
3585 | # making bogus files that we don't know about and never remove. For |
3223 | # instance it was reported that on HP-UX the gcc test will end up |
3586 | # instance it was reported that on HP-UX the gcc test will end up |
… | |
… | |
3301 | else |
3664 | else |
3302 | am_cv_CC_dependencies_compiler_type=none |
3665 | am_cv_CC_dependencies_compiler_type=none |
3303 | fi |
3666 | fi |
3304 | |
3667 | |
3305 | fi |
3668 | fi |
3306 | { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 |
3669 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 |
3307 | echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; } |
3670 | $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } |
3308 | CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type |
3671 | CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type |
3309 | |
3672 | |
3310 | if |
3673 | if |
3311 | test "x$enable_dependency_tracking" != xno \ |
3674 | test "x$enable_dependency_tracking" != xno \ |
3312 | && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then |
3675 | && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then |
… | |
… | |
3323 | ac_ext=c |
3686 | ac_ext=c |
3324 | ac_cpp='$CPP $CPPFLAGS' |
3687 | ac_cpp='$CPP $CPPFLAGS' |
3325 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3688 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3326 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3689 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3327 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3690 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3328 | { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 |
3691 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 |
3329 | echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; } |
3692 | $as_echo_n "checking how to run the C preprocessor... " >&6; } |
3330 | # On Suns, sometimes $CPP names a directory. |
3693 | # On Suns, sometimes $CPP names a directory. |
3331 | if test -n "$CPP" && test -d "$CPP"; then |
3694 | if test -n "$CPP" && test -d "$CPP"; then |
3332 | CPP= |
3695 | CPP= |
3333 | fi |
3696 | fi |
3334 | if test -z "$CPP"; then |
3697 | if test -z "$CPP"; then |
3335 | if test "${ac_cv_prog_CPP+set}" = set; then |
3698 | if ${ac_cv_prog_CPP+:} false; then : |
3336 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3699 | $as_echo_n "(cached) " >&6 |
3337 | else |
3700 | else |
3338 | # Double quotes because CPP needs to be expanded |
3701 | # Double quotes because CPP needs to be expanded |
3339 | for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
3702 | for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
3340 | do |
3703 | do |
3341 | ac_preproc_ok=false |
3704 | ac_preproc_ok=false |
… | |
… | |
3345 | # with a fresh cross-compiler works. |
3708 | # with a fresh cross-compiler works. |
3346 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
3709 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
3347 | # <limits.h> exists even on freestanding compilers. |
3710 | # <limits.h> exists even on freestanding compilers. |
3348 | # On the NeXT, cc -E runs the code through the compiler's parser, |
3711 | # On the NeXT, cc -E runs the code through the compiler's parser, |
3349 | # not just through cpp. "Syntax error" is here to catch this case. |
3712 | # not just through cpp. "Syntax error" is here to catch this case. |
3350 | cat >conftest.$ac_ext <<_ACEOF |
|
|
3351 | /* confdefs.h. */ |
|
|
3352 | _ACEOF |
|
|
3353 | cat confdefs.h >>conftest.$ac_ext |
3713 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3354 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
3355 | /* end confdefs.h. */ |
3714 | /* end confdefs.h. */ |
3356 | #ifdef __STDC__ |
3715 | #ifdef __STDC__ |
3357 | # include <limits.h> |
3716 | # include <limits.h> |
3358 | #else |
3717 | #else |
3359 | # include <assert.h> |
3718 | # include <assert.h> |
3360 | #endif |
3719 | #endif |
3361 | Syntax error |
3720 | Syntax error |
3362 | _ACEOF |
3721 | _ACEOF |
3363 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
3722 | if ac_fn_c_try_cpp "$LINENO"; then : |
3364 | case "(($ac_try" in |
|
|
3365 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
3366 | *) ac_try_echo=$ac_try;; |
|
|
3367 | esac |
|
|
3368 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
3369 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
|
|
3370 | ac_status=$? |
|
|
3371 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
3372 | rm -f conftest.er1 |
|
|
3373 | cat conftest.err >&5 |
|
|
3374 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3375 | (exit $ac_status); } >/dev/null && { |
|
|
3376 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
|
|
3377 | test ! -s conftest.err |
|
|
3378 | }; then |
|
|
3379 | : |
|
|
3380 | else |
|
|
3381 | echo "$as_me: failed program was:" >&5 |
|
|
3382 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
3383 | |
3723 | |
|
|
3724 | else |
3384 | # Broken: fails on valid input. |
3725 | # Broken: fails on valid input. |
3385 | continue |
3726 | continue |
3386 | fi |
3727 | fi |
3387 | |
|
|
3388 | rm -f conftest.err conftest.$ac_ext |
3728 | rm -f conftest.err conftest.i conftest.$ac_ext |
3389 | |
3729 | |
3390 | # OK, works on sane cases. Now check whether nonexistent headers |
3730 | # OK, works on sane cases. Now check whether nonexistent headers |
3391 | # can be detected and how. |
3731 | # can be detected and how. |
3392 | cat >conftest.$ac_ext <<_ACEOF |
|
|
3393 | /* confdefs.h. */ |
|
|
3394 | _ACEOF |
|
|
3395 | cat confdefs.h >>conftest.$ac_ext |
3732 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3396 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
3397 | /* end confdefs.h. */ |
3733 | /* end confdefs.h. */ |
3398 | #include <ac_nonexistent.h> |
3734 | #include <ac_nonexistent.h> |
3399 | _ACEOF |
3735 | _ACEOF |
3400 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
3736 | if ac_fn_c_try_cpp "$LINENO"; then : |
3401 | case "(($ac_try" in |
|
|
3402 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
3403 | *) ac_try_echo=$ac_try;; |
|
|
3404 | esac |
|
|
3405 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
3406 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
|
|
3407 | ac_status=$? |
|
|
3408 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
3409 | rm -f conftest.er1 |
|
|
3410 | cat conftest.err >&5 |
|
|
3411 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3412 | (exit $ac_status); } >/dev/null && { |
|
|
3413 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
|
|
3414 | test ! -s conftest.err |
|
|
3415 | }; then |
|
|
3416 | # Broken: success on invalid input. |
3737 | # Broken: success on invalid input. |
3417 | continue |
3738 | continue |
3418 | else |
3739 | else |
3419 | echo "$as_me: failed program was:" >&5 |
|
|
3420 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
3421 | |
|
|
3422 | # Passes both tests. |
3740 | # Passes both tests. |
3423 | ac_preproc_ok=: |
3741 | ac_preproc_ok=: |
3424 | break |
3742 | break |
3425 | fi |
3743 | fi |
3426 | |
|
|
3427 | rm -f conftest.err conftest.$ac_ext |
3744 | rm -f conftest.err conftest.i conftest.$ac_ext |
3428 | |
3745 | |
3429 | done |
3746 | done |
3430 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
3747 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
3431 | rm -f conftest.err conftest.$ac_ext |
3748 | rm -f conftest.i conftest.err conftest.$ac_ext |
3432 | if $ac_preproc_ok; then |
3749 | if $ac_preproc_ok; then : |
3433 | break |
3750 | break |
3434 | fi |
3751 | fi |
3435 | |
3752 | |
3436 | done |
3753 | done |
3437 | ac_cv_prog_CPP=$CPP |
3754 | ac_cv_prog_CPP=$CPP |
… | |
… | |
3439 | fi |
3756 | fi |
3440 | CPP=$ac_cv_prog_CPP |
3757 | CPP=$ac_cv_prog_CPP |
3441 | else |
3758 | else |
3442 | ac_cv_prog_CPP=$CPP |
3759 | ac_cv_prog_CPP=$CPP |
3443 | fi |
3760 | fi |
3444 | { echo "$as_me:$LINENO: result: $CPP" >&5 |
3761 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 |
3445 | echo "${ECHO_T}$CPP" >&6; } |
3762 | $as_echo "$CPP" >&6; } |
3446 | ac_preproc_ok=false |
3763 | ac_preproc_ok=false |
3447 | for ac_c_preproc_warn_flag in '' yes |
3764 | for ac_c_preproc_warn_flag in '' yes |
3448 | do |
3765 | do |
3449 | # Use a header file that comes with gcc, so configuring glibc |
3766 | # Use a header file that comes with gcc, so configuring glibc |
3450 | # with a fresh cross-compiler works. |
3767 | # with a fresh cross-compiler works. |
3451 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
3768 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
3452 | # <limits.h> exists even on freestanding compilers. |
3769 | # <limits.h> exists even on freestanding compilers. |
3453 | # On the NeXT, cc -E runs the code through the compiler's parser, |
3770 | # On the NeXT, cc -E runs the code through the compiler's parser, |
3454 | # not just through cpp. "Syntax error" is here to catch this case. |
3771 | # not just through cpp. "Syntax error" is here to catch this case. |
3455 | cat >conftest.$ac_ext <<_ACEOF |
|
|
3456 | /* confdefs.h. */ |
|
|
3457 | _ACEOF |
|
|
3458 | cat confdefs.h >>conftest.$ac_ext |
3772 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3459 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
3460 | /* end confdefs.h. */ |
3773 | /* end confdefs.h. */ |
3461 | #ifdef __STDC__ |
3774 | #ifdef __STDC__ |
3462 | # include <limits.h> |
3775 | # include <limits.h> |
3463 | #else |
3776 | #else |
3464 | # include <assert.h> |
3777 | # include <assert.h> |
3465 | #endif |
3778 | #endif |
3466 | Syntax error |
3779 | Syntax error |
3467 | _ACEOF |
3780 | _ACEOF |
3468 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
3781 | if ac_fn_c_try_cpp "$LINENO"; then : |
3469 | case "(($ac_try" in |
|
|
3470 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
3471 | *) ac_try_echo=$ac_try;; |
|
|
3472 | esac |
|
|
3473 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
3474 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
|
|
3475 | ac_status=$? |
|
|
3476 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
3477 | rm -f conftest.er1 |
|
|
3478 | cat conftest.err >&5 |
|
|
3479 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3480 | (exit $ac_status); } >/dev/null && { |
|
|
3481 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
|
|
3482 | test ! -s conftest.err |
|
|
3483 | }; then |
|
|
3484 | : |
|
|
3485 | else |
|
|
3486 | echo "$as_me: failed program was:" >&5 |
|
|
3487 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
3488 | |
3782 | |
|
|
3783 | else |
3489 | # Broken: fails on valid input. |
3784 | # Broken: fails on valid input. |
3490 | continue |
3785 | continue |
3491 | fi |
3786 | fi |
3492 | |
|
|
3493 | rm -f conftest.err conftest.$ac_ext |
3787 | rm -f conftest.err conftest.i conftest.$ac_ext |
3494 | |
3788 | |
3495 | # OK, works on sane cases. Now check whether nonexistent headers |
3789 | # OK, works on sane cases. Now check whether nonexistent headers |
3496 | # can be detected and how. |
3790 | # can be detected and how. |
3497 | cat >conftest.$ac_ext <<_ACEOF |
|
|
3498 | /* confdefs.h. */ |
|
|
3499 | _ACEOF |
|
|
3500 | cat confdefs.h >>conftest.$ac_ext |
3791 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3501 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
3502 | /* end confdefs.h. */ |
3792 | /* end confdefs.h. */ |
3503 | #include <ac_nonexistent.h> |
3793 | #include <ac_nonexistent.h> |
3504 | _ACEOF |
3794 | _ACEOF |
3505 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
3795 | if ac_fn_c_try_cpp "$LINENO"; then : |
3506 | case "(($ac_try" in |
|
|
3507 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
3508 | *) ac_try_echo=$ac_try;; |
|
|
3509 | esac |
|
|
3510 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
3511 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
|
|
3512 | ac_status=$? |
|
|
3513 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
3514 | rm -f conftest.er1 |
|
|
3515 | cat conftest.err >&5 |
|
|
3516 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3517 | (exit $ac_status); } >/dev/null && { |
|
|
3518 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
|
|
3519 | test ! -s conftest.err |
|
|
3520 | }; then |
|
|
3521 | # Broken: success on invalid input. |
3796 | # Broken: success on invalid input. |
3522 | continue |
3797 | continue |
3523 | else |
3798 | else |
3524 | echo "$as_me: failed program was:" >&5 |
|
|
3525 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
3526 | |
|
|
3527 | # Passes both tests. |
3799 | # Passes both tests. |
3528 | ac_preproc_ok=: |
3800 | ac_preproc_ok=: |
3529 | break |
3801 | break |
3530 | fi |
3802 | fi |
3531 | |
|
|
3532 | rm -f conftest.err conftest.$ac_ext |
3803 | rm -f conftest.err conftest.i conftest.$ac_ext |
3533 | |
3804 | |
3534 | done |
3805 | done |
3535 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
3806 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
3536 | rm -f conftest.err conftest.$ac_ext |
3807 | rm -f conftest.i conftest.err conftest.$ac_ext |
3537 | if $ac_preproc_ok; then |
3808 | if $ac_preproc_ok; then : |
3538 | : |
3809 | |
3539 | else |
3810 | else |
3540 | { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check |
3811 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3541 | See \`config.log' for more details." >&5 |
3812 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3542 | echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check |
3813 | as_fn_error $? "C preprocessor \"$CPP\" fails sanity check |
3543 | See \`config.log' for more details." >&2;} |
3814 | See \`config.log' for more details" "$LINENO" 5; } |
3544 | { (exit 1); exit 1; }; } |
|
|
3545 | fi |
3815 | fi |
3546 | |
3816 | |
3547 | ac_ext=c |
3817 | ac_ext=c |
3548 | ac_cpp='$CPP $CPPFLAGS' |
3818 | ac_cpp='$CPP $CPPFLAGS' |
3549 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3819 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3550 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3820 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3551 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3821 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3552 | |
3822 | |
3553 | |
3823 | |
3554 | { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 |
3824 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 |
3555 | echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } |
3825 | $as_echo_n "checking for grep that handles long lines and -e... " >&6; } |
3556 | if test "${ac_cv_path_GREP+set}" = set; then |
3826 | if ${ac_cv_path_GREP+:} false; then : |
3557 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3827 | $as_echo_n "(cached) " >&6 |
3558 | else |
3828 | else |
3559 | # Extract the first word of "grep ggrep" to use in msg output |
|
|
3560 | if test -z "$GREP"; then |
3829 | if test -z "$GREP"; then |
3561 | set dummy grep ggrep; ac_prog_name=$2 |
|
|
3562 | if test "${ac_cv_path_GREP+set}" = set; then |
|
|
3563 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
3564 | else |
|
|
3565 | ac_path_GREP_found=false |
3830 | ac_path_GREP_found=false |
3566 | # Loop through the user's path and test for each of PROGNAME-LIST |
3831 | # Loop through the user's path and test for each of PROGNAME-LIST |
3567 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3832 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3568 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
3833 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
3569 | do |
3834 | do |
3570 | IFS=$as_save_IFS |
3835 | IFS=$as_save_IFS |
3571 | test -z "$as_dir" && as_dir=. |
3836 | test -z "$as_dir" && as_dir=. |
3572 | for ac_prog in grep ggrep; do |
3837 | for ac_prog in grep ggrep; do |
3573 | for ac_exec_ext in '' $ac_executable_extensions; do |
3838 | for ac_exec_ext in '' $ac_executable_extensions; do |
3574 | ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
3839 | ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
3575 | { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue |
3840 | as_fn_executable_p "$ac_path_GREP" || continue |
3576 | # Check for GNU ac_path_GREP and select it if it is found. |
3841 | # Check for GNU ac_path_GREP and select it if it is found. |
3577 | # Check for GNU $ac_path_GREP |
3842 | # Check for GNU $ac_path_GREP |
3578 | case `"$ac_path_GREP" --version 2>&1` in |
3843 | case `"$ac_path_GREP" --version 2>&1` in |
3579 | *GNU*) |
3844 | *GNU*) |
3580 | ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; |
3845 | ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; |
3581 | *) |
3846 | *) |
3582 | ac_count=0 |
3847 | ac_count=0 |
3583 | echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" |
3848 | $as_echo_n 0123456789 >"conftest.in" |
3584 | while : |
3849 | while : |
3585 | do |
3850 | do |
3586 | cat "conftest.in" "conftest.in" >"conftest.tmp" |
3851 | cat "conftest.in" "conftest.in" >"conftest.tmp" |
3587 | mv "conftest.tmp" "conftest.in" |
3852 | mv "conftest.tmp" "conftest.in" |
3588 | cp "conftest.in" "conftest.nl" |
3853 | cp "conftest.in" "conftest.nl" |
3589 | echo 'GREP' >> "conftest.nl" |
3854 | $as_echo 'GREP' >> "conftest.nl" |
3590 | "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
3855 | "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
3591 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
3856 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
3592 | ac_count=`expr $ac_count + 1` |
3857 | as_fn_arith $ac_count + 1 && ac_count=$as_val |
3593 | if test $ac_count -gt ${ac_path_GREP_max-0}; then |
3858 | if test $ac_count -gt ${ac_path_GREP_max-0}; then |
3594 | # Best one so far, save it but keep looking for a better one |
3859 | # Best one so far, save it but keep looking for a better one |
3595 | ac_cv_path_GREP="$ac_path_GREP" |
3860 | ac_cv_path_GREP="$ac_path_GREP" |
3596 | ac_path_GREP_max=$ac_count |
3861 | ac_path_GREP_max=$ac_count |
3597 | fi |
3862 | fi |
… | |
… | |
3599 | test $ac_count -gt 10 && break |
3864 | test $ac_count -gt 10 && break |
3600 | done |
3865 | done |
3601 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
3866 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
3602 | esac |
3867 | esac |
3603 | |
3868 | |
3604 | |
|
|
3605 | $ac_path_GREP_found && break 3 |
3869 | $ac_path_GREP_found && break 3 |
|
|
3870 | done |
3606 | done |
3871 | done |
3607 | done |
3872 | done |
3608 | |
|
|
3609 | done |
|
|
3610 | IFS=$as_save_IFS |
3873 | IFS=$as_save_IFS |
3611 | |
|
|
3612 | |
|
|
3613 | fi |
|
|
3614 | |
|
|
3615 | GREP="$ac_cv_path_GREP" |
|
|
3616 | if test -z "$GREP"; then |
3874 | if test -z "$ac_cv_path_GREP"; then |
3617 | { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 |
3875 | as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
3618 | echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} |
3876 | fi |
3619 | { (exit 1); exit 1; }; } |
|
|
3620 | fi |
|
|
3621 | |
|
|
3622 | else |
3877 | else |
3623 | ac_cv_path_GREP=$GREP |
3878 | ac_cv_path_GREP=$GREP |
3624 | fi |
3879 | fi |
3625 | |
3880 | |
3626 | |
|
|
3627 | fi |
3881 | fi |
3628 | { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 |
3882 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 |
3629 | echo "${ECHO_T}$ac_cv_path_GREP" >&6; } |
3883 | $as_echo "$ac_cv_path_GREP" >&6; } |
3630 | GREP="$ac_cv_path_GREP" |
3884 | GREP="$ac_cv_path_GREP" |
3631 | |
3885 | |
3632 | |
3886 | |
3633 | { echo "$as_me:$LINENO: checking for egrep" >&5 |
3887 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 |
3634 | echo $ECHO_N "checking for egrep... $ECHO_C" >&6; } |
3888 | $as_echo_n "checking for egrep... " >&6; } |
3635 | if test "${ac_cv_path_EGREP+set}" = set; then |
3889 | if ${ac_cv_path_EGREP+:} false; then : |
3636 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3890 | $as_echo_n "(cached) " >&6 |
3637 | else |
3891 | else |
3638 | if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
3892 | if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
3639 | then ac_cv_path_EGREP="$GREP -E" |
3893 | then ac_cv_path_EGREP="$GREP -E" |
3640 | else |
3894 | else |
3641 | # Extract the first word of "egrep" to use in msg output |
|
|
3642 | if test -z "$EGREP"; then |
3895 | if test -z "$EGREP"; then |
3643 | set dummy egrep; ac_prog_name=$2 |
|
|
3644 | if test "${ac_cv_path_EGREP+set}" = set; then |
|
|
3645 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
3646 | else |
|
|
3647 | ac_path_EGREP_found=false |
3896 | ac_path_EGREP_found=false |
3648 | # Loop through the user's path and test for each of PROGNAME-LIST |
3897 | # Loop through the user's path and test for each of PROGNAME-LIST |
3649 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3898 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3650 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
3899 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
3651 | do |
3900 | do |
3652 | IFS=$as_save_IFS |
3901 | IFS=$as_save_IFS |
3653 | test -z "$as_dir" && as_dir=. |
3902 | test -z "$as_dir" && as_dir=. |
3654 | for ac_prog in egrep; do |
3903 | for ac_prog in egrep; do |
3655 | for ac_exec_ext in '' $ac_executable_extensions; do |
3904 | for ac_exec_ext in '' $ac_executable_extensions; do |
3656 | ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
3905 | ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
3657 | { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue |
3906 | as_fn_executable_p "$ac_path_EGREP" || continue |
3658 | # Check for GNU ac_path_EGREP and select it if it is found. |
3907 | # Check for GNU ac_path_EGREP and select it if it is found. |
3659 | # Check for GNU $ac_path_EGREP |
3908 | # Check for GNU $ac_path_EGREP |
3660 | case `"$ac_path_EGREP" --version 2>&1` in |
3909 | case `"$ac_path_EGREP" --version 2>&1` in |
3661 | *GNU*) |
3910 | *GNU*) |
3662 | ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; |
3911 | ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; |
3663 | *) |
3912 | *) |
3664 | ac_count=0 |
3913 | ac_count=0 |
3665 | echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" |
3914 | $as_echo_n 0123456789 >"conftest.in" |
3666 | while : |
3915 | while : |
3667 | do |
3916 | do |
3668 | cat "conftest.in" "conftest.in" >"conftest.tmp" |
3917 | cat "conftest.in" "conftest.in" >"conftest.tmp" |
3669 | mv "conftest.tmp" "conftest.in" |
3918 | mv "conftest.tmp" "conftest.in" |
3670 | cp "conftest.in" "conftest.nl" |
3919 | cp "conftest.in" "conftest.nl" |
3671 | echo 'EGREP' >> "conftest.nl" |
3920 | $as_echo 'EGREP' >> "conftest.nl" |
3672 | "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
3921 | "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
3673 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
3922 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
3674 | ac_count=`expr $ac_count + 1` |
3923 | as_fn_arith $ac_count + 1 && ac_count=$as_val |
3675 | if test $ac_count -gt ${ac_path_EGREP_max-0}; then |
3924 | if test $ac_count -gt ${ac_path_EGREP_max-0}; then |
3676 | # Best one so far, save it but keep looking for a better one |
3925 | # Best one so far, save it but keep looking for a better one |
3677 | ac_cv_path_EGREP="$ac_path_EGREP" |
3926 | ac_cv_path_EGREP="$ac_path_EGREP" |
3678 | ac_path_EGREP_max=$ac_count |
3927 | ac_path_EGREP_max=$ac_count |
3679 | fi |
3928 | fi |
… | |
… | |
3681 | test $ac_count -gt 10 && break |
3930 | test $ac_count -gt 10 && break |
3682 | done |
3931 | done |
3683 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
3932 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
3684 | esac |
3933 | esac |
3685 | |
3934 | |
3686 | |
|
|
3687 | $ac_path_EGREP_found && break 3 |
3935 | $ac_path_EGREP_found && break 3 |
|
|
3936 | done |
3688 | done |
3937 | done |
3689 | done |
3938 | done |
3690 | |
|
|
3691 | done |
|
|
3692 | IFS=$as_save_IFS |
3939 | IFS=$as_save_IFS |
3693 | |
|
|
3694 | |
|
|
3695 | fi |
|
|
3696 | |
|
|
3697 | EGREP="$ac_cv_path_EGREP" |
|
|
3698 | if test -z "$EGREP"; then |
3940 | if test -z "$ac_cv_path_EGREP"; then |
3699 | { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 |
3941 | as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
3700 | echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} |
3942 | fi |
3701 | { (exit 1); exit 1; }; } |
|
|
3702 | fi |
|
|
3703 | |
|
|
3704 | else |
3943 | else |
3705 | ac_cv_path_EGREP=$EGREP |
3944 | ac_cv_path_EGREP=$EGREP |
3706 | fi |
3945 | fi |
3707 | |
3946 | |
3708 | |
|
|
3709 | fi |
3947 | fi |
3710 | fi |
3948 | fi |
3711 | { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 |
3949 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 |
3712 | echo "${ECHO_T}$ac_cv_path_EGREP" >&6; } |
3950 | $as_echo "$ac_cv_path_EGREP" >&6; } |
3713 | EGREP="$ac_cv_path_EGREP" |
3951 | EGREP="$ac_cv_path_EGREP" |
3714 | |
3952 | |
3715 | |
3953 | |
3716 | { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
3954 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 |
3717 | echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } |
3955 | $as_echo_n "checking for ANSI C header files... " >&6; } |
3718 | if test "${ac_cv_header_stdc+set}" = set; then |
3956 | if ${ac_cv_header_stdc+:} false; then : |
3719 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3957 | $as_echo_n "(cached) " >&6 |
3720 | else |
3958 | else |
3721 | cat >conftest.$ac_ext <<_ACEOF |
|
|
3722 | /* confdefs.h. */ |
|
|
3723 | _ACEOF |
|
|
3724 | cat confdefs.h >>conftest.$ac_ext |
3959 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3725 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
3726 | /* end confdefs.h. */ |
3960 | /* end confdefs.h. */ |
3727 | #include <stdlib.h> |
3961 | #include <stdlib.h> |
3728 | #include <stdarg.h> |
3962 | #include <stdarg.h> |
3729 | #include <string.h> |
3963 | #include <string.h> |
3730 | #include <float.h> |
3964 | #include <float.h> |
… | |
… | |
3735 | |
3969 | |
3736 | ; |
3970 | ; |
3737 | return 0; |
3971 | return 0; |
3738 | } |
3972 | } |
3739 | _ACEOF |
3973 | _ACEOF |
3740 | rm -f conftest.$ac_objext |
3974 | if ac_fn_c_try_compile "$LINENO"; then : |
3741 | if { (ac_try="$ac_compile" |
|
|
3742 | case "(($ac_try" in |
|
|
3743 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
3744 | *) ac_try_echo=$ac_try;; |
|
|
3745 | esac |
|
|
3746 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
3747 | (eval "$ac_compile") 2>conftest.er1 |
|
|
3748 | ac_status=$? |
|
|
3749 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
3750 | rm -f conftest.er1 |
|
|
3751 | cat conftest.err >&5 |
|
|
3752 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3753 | (exit $ac_status); } && { |
|
|
3754 | test -z "$ac_c_werror_flag" || |
|
|
3755 | test ! -s conftest.err |
|
|
3756 | } && test -s conftest.$ac_objext; then |
|
|
3757 | ac_cv_header_stdc=yes |
3975 | ac_cv_header_stdc=yes |
3758 | else |
3976 | else |
3759 | echo "$as_me: failed program was:" >&5 |
|
|
3760 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
3761 | |
|
|
3762 | ac_cv_header_stdc=no |
3977 | ac_cv_header_stdc=no |
3763 | fi |
3978 | fi |
3764 | |
|
|
3765 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3979 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3766 | |
3980 | |
3767 | if test $ac_cv_header_stdc = yes; then |
3981 | if test $ac_cv_header_stdc = yes; then |
3768 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
3982 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
3769 | cat >conftest.$ac_ext <<_ACEOF |
|
|
3770 | /* confdefs.h. */ |
|
|
3771 | _ACEOF |
|
|
3772 | cat confdefs.h >>conftest.$ac_ext |
3983 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3773 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
3774 | /* end confdefs.h. */ |
3984 | /* end confdefs.h. */ |
3775 | #include <string.h> |
3985 | #include <string.h> |
3776 | |
3986 | |
3777 | _ACEOF |
3987 | _ACEOF |
3778 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3988 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3779 | $EGREP "memchr" >/dev/null 2>&1; then |
3989 | $EGREP "memchr" >/dev/null 2>&1; then : |
3780 | : |
3990 | |
3781 | else |
3991 | else |
3782 | ac_cv_header_stdc=no |
3992 | ac_cv_header_stdc=no |
3783 | fi |
3993 | fi |
3784 | rm -f conftest* |
3994 | rm -f conftest* |
3785 | |
3995 | |
3786 | fi |
3996 | fi |
3787 | |
3997 | |
3788 | if test $ac_cv_header_stdc = yes; then |
3998 | if test $ac_cv_header_stdc = yes; then |
3789 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
3999 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
3790 | cat >conftest.$ac_ext <<_ACEOF |
|
|
3791 | /* confdefs.h. */ |
|
|
3792 | _ACEOF |
|
|
3793 | cat confdefs.h >>conftest.$ac_ext |
4000 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3794 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
3795 | /* end confdefs.h. */ |
4001 | /* end confdefs.h. */ |
3796 | #include <stdlib.h> |
4002 | #include <stdlib.h> |
3797 | |
4003 | |
3798 | _ACEOF |
4004 | _ACEOF |
3799 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
4005 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3800 | $EGREP "free" >/dev/null 2>&1; then |
4006 | $EGREP "free" >/dev/null 2>&1; then : |
3801 | : |
4007 | |
3802 | else |
4008 | else |
3803 | ac_cv_header_stdc=no |
4009 | ac_cv_header_stdc=no |
3804 | fi |
4010 | fi |
3805 | rm -f conftest* |
4011 | rm -f conftest* |
3806 | |
4012 | |
3807 | fi |
4013 | fi |
3808 | |
4014 | |
3809 | if test $ac_cv_header_stdc = yes; then |
4015 | if test $ac_cv_header_stdc = yes; then |
3810 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
4016 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
3811 | if test "$cross_compiling" = yes; then |
4017 | if test "$cross_compiling" = yes; then : |
3812 | : |
4018 | : |
3813 | else |
4019 | else |
3814 | cat >conftest.$ac_ext <<_ACEOF |
|
|
3815 | /* confdefs.h. */ |
|
|
3816 | _ACEOF |
|
|
3817 | cat confdefs.h >>conftest.$ac_ext |
4020 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3818 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
3819 | /* end confdefs.h. */ |
4021 | /* end confdefs.h. */ |
3820 | #include <ctype.h> |
4022 | #include <ctype.h> |
3821 | #include <stdlib.h> |
4023 | #include <stdlib.h> |
3822 | #if ((' ' & 0x0FF) == 0x020) |
4024 | #if ((' ' & 0x0FF) == 0x020) |
3823 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
4025 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
… | |
… | |
3840 | || toupper (i) != TOUPPER (i)) |
4042 | || toupper (i) != TOUPPER (i)) |
3841 | return 2; |
4043 | return 2; |
3842 | return 0; |
4044 | return 0; |
3843 | } |
4045 | } |
3844 | _ACEOF |
4046 | _ACEOF |
3845 | rm -f conftest$ac_exeext |
4047 | if ac_fn_c_try_run "$LINENO"; then : |
3846 | if { (ac_try="$ac_link" |
|
|
3847 | case "(($ac_try" in |
|
|
3848 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
3849 | *) ac_try_echo=$ac_try;; |
|
|
3850 | esac |
|
|
3851 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
3852 | (eval "$ac_link") 2>&5 |
|
|
3853 | ac_status=$? |
|
|
3854 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3855 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
|
|
3856 | { (case "(($ac_try" in |
|
|
3857 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
3858 | *) ac_try_echo=$ac_try;; |
|
|
3859 | esac |
|
|
3860 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
3861 | (eval "$ac_try") 2>&5 |
|
|
3862 | ac_status=$? |
|
|
3863 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3864 | (exit $ac_status); }; }; then |
|
|
3865 | : |
|
|
3866 | else |
|
|
3867 | echo "$as_me: program exited with status $ac_status" >&5 |
|
|
3868 | echo "$as_me: failed program was:" >&5 |
|
|
3869 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
3870 | |
4048 | |
3871 | ( exit $ac_status ) |
4049 | else |
3872 | ac_cv_header_stdc=no |
4050 | ac_cv_header_stdc=no |
3873 | fi |
4051 | fi |
3874 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
4052 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
|
|
4053 | conftest.$ac_objext conftest.beam conftest.$ac_ext |
3875 | fi |
4054 | fi |
3876 | |
4055 | |
3877 | |
|
|
3878 | fi |
4056 | fi |
3879 | fi |
4057 | fi |
3880 | { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 |
4058 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 |
3881 | echo "${ECHO_T}$ac_cv_header_stdc" >&6; } |
4059 | $as_echo "$ac_cv_header_stdc" >&6; } |
3882 | if test $ac_cv_header_stdc = yes; then |
4060 | if test $ac_cv_header_stdc = yes; then |
3883 | |
4061 | |
3884 | cat >>confdefs.h <<\_ACEOF |
4062 | $as_echo "#define STDC_HEADERS 1" >>confdefs.h |
3885 | #define STDC_HEADERS 1 |
|
|
3886 | _ACEOF |
|
|
3887 | |
4063 | |
3888 | fi |
4064 | fi |
3889 | |
4065 | |
3890 | |
4066 | |
3891 | ac_ext=cpp |
4067 | ac_ext=cpp |
… | |
… | |
3900 | if test -n "$ac_tool_prefix"; then |
4076 | if test -n "$ac_tool_prefix"; then |
3901 | for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC |
4077 | for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC |
3902 | do |
4078 | do |
3903 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
4079 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
3904 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
4080 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
3905 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
4081 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3906 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
4082 | $as_echo_n "checking for $ac_word... " >&6; } |
3907 | if test "${ac_cv_prog_CXX+set}" = set; then |
4083 | if ${ac_cv_prog_CXX+:} false; then : |
3908 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4084 | $as_echo_n "(cached) " >&6 |
3909 | else |
4085 | else |
3910 | if test -n "$CXX"; then |
4086 | if test -n "$CXX"; then |
3911 | ac_cv_prog_CXX="$CXX" # Let the user override the test. |
4087 | ac_cv_prog_CXX="$CXX" # Let the user override the test. |
3912 | else |
4088 | else |
3913 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4089 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3914 | for as_dir in $PATH |
4090 | for as_dir in $PATH |
3915 | do |
4091 | do |
3916 | IFS=$as_save_IFS |
4092 | IFS=$as_save_IFS |
3917 | test -z "$as_dir" && as_dir=. |
4093 | test -z "$as_dir" && as_dir=. |
3918 | for ac_exec_ext in '' $ac_executable_extensions; do |
4094 | for ac_exec_ext in '' $ac_executable_extensions; do |
3919 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
4095 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3920 | ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" |
4096 | ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" |
3921 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4097 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3922 | break 2 |
4098 | break 2 |
3923 | fi |
4099 | fi |
3924 | done |
4100 | done |
3925 | done |
4101 | done |
3926 | IFS=$as_save_IFS |
4102 | IFS=$as_save_IFS |
3927 | |
4103 | |
3928 | fi |
4104 | fi |
3929 | fi |
4105 | fi |
3930 | CXX=$ac_cv_prog_CXX |
4106 | CXX=$ac_cv_prog_CXX |
3931 | if test -n "$CXX"; then |
4107 | if test -n "$CXX"; then |
3932 | { echo "$as_me:$LINENO: result: $CXX" >&5 |
4108 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 |
3933 | echo "${ECHO_T}$CXX" >&6; } |
4109 | $as_echo "$CXX" >&6; } |
3934 | else |
4110 | else |
3935 | { echo "$as_me:$LINENO: result: no" >&5 |
4111 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3936 | echo "${ECHO_T}no" >&6; } |
4112 | $as_echo "no" >&6; } |
3937 | fi |
4113 | fi |
3938 | |
4114 | |
3939 | |
4115 | |
3940 | test -n "$CXX" && break |
4116 | test -n "$CXX" && break |
3941 | done |
4117 | done |
… | |
… | |
3944 | ac_ct_CXX=$CXX |
4120 | ac_ct_CXX=$CXX |
3945 | for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC |
4121 | for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC |
3946 | do |
4122 | do |
3947 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
4123 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
3948 | set dummy $ac_prog; ac_word=$2 |
4124 | set dummy $ac_prog; ac_word=$2 |
3949 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
4125 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3950 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
4126 | $as_echo_n "checking for $ac_word... " >&6; } |
3951 | if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then |
4127 | if ${ac_cv_prog_ac_ct_CXX+:} false; then : |
3952 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4128 | $as_echo_n "(cached) " >&6 |
3953 | else |
4129 | else |
3954 | if test -n "$ac_ct_CXX"; then |
4130 | if test -n "$ac_ct_CXX"; then |
3955 | ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. |
4131 | ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. |
3956 | else |
4132 | else |
3957 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4133 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3958 | for as_dir in $PATH |
4134 | for as_dir in $PATH |
3959 | do |
4135 | do |
3960 | IFS=$as_save_IFS |
4136 | IFS=$as_save_IFS |
3961 | test -z "$as_dir" && as_dir=. |
4137 | test -z "$as_dir" && as_dir=. |
3962 | for ac_exec_ext in '' $ac_executable_extensions; do |
4138 | for ac_exec_ext in '' $ac_executable_extensions; do |
3963 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
4139 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3964 | ac_cv_prog_ac_ct_CXX="$ac_prog" |
4140 | ac_cv_prog_ac_ct_CXX="$ac_prog" |
3965 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4141 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3966 | break 2 |
4142 | break 2 |
3967 | fi |
4143 | fi |
3968 | done |
4144 | done |
3969 | done |
4145 | done |
3970 | IFS=$as_save_IFS |
4146 | IFS=$as_save_IFS |
3971 | |
4147 | |
3972 | fi |
4148 | fi |
3973 | fi |
4149 | fi |
3974 | ac_ct_CXX=$ac_cv_prog_ac_ct_CXX |
4150 | ac_ct_CXX=$ac_cv_prog_ac_ct_CXX |
3975 | if test -n "$ac_ct_CXX"; then |
4151 | if test -n "$ac_ct_CXX"; then |
3976 | { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 |
4152 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 |
3977 | echo "${ECHO_T}$ac_ct_CXX" >&6; } |
4153 | $as_echo "$ac_ct_CXX" >&6; } |
3978 | else |
4154 | else |
3979 | { echo "$as_me:$LINENO: result: no" >&5 |
4155 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3980 | echo "${ECHO_T}no" >&6; } |
4156 | $as_echo "no" >&6; } |
3981 | fi |
4157 | fi |
3982 | |
4158 | |
3983 | |
4159 | |
3984 | test -n "$ac_ct_CXX" && break |
4160 | test -n "$ac_ct_CXX" && break |
3985 | done |
4161 | done |
… | |
… | |
3987 | if test "x$ac_ct_CXX" = x; then |
4163 | if test "x$ac_ct_CXX" = x; then |
3988 | CXX="g++" |
4164 | CXX="g++" |
3989 | else |
4165 | else |
3990 | case $cross_compiling:$ac_tool_warned in |
4166 | case $cross_compiling:$ac_tool_warned in |
3991 | yes:) |
4167 | yes:) |
3992 | { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
4168 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
3993 | whose name does not start with the host triplet. If you think this |
4169 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
3994 | configuration is useful to you, please write to autoconf@gnu.org." >&5 |
|
|
3995 | echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools |
|
|
3996 | whose name does not start with the host triplet. If you think this |
|
|
3997 | configuration is useful to you, please write to autoconf@gnu.org." >&2;} |
|
|
3998 | ac_tool_warned=yes ;; |
4170 | ac_tool_warned=yes ;; |
3999 | esac |
4171 | esac |
4000 | CXX=$ac_ct_CXX |
4172 | CXX=$ac_ct_CXX |
4001 | fi |
4173 | fi |
4002 | fi |
4174 | fi |
4003 | |
4175 | |
4004 | fi |
4176 | fi |
4005 | fi |
4177 | fi |
4006 | # Provide some information about the compiler. |
4178 | # Provide some information about the compiler. |
4007 | echo "$as_me:$LINENO: checking for C++ compiler version" >&5 |
4179 | $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 |
4008 | ac_compiler=`set X $ac_compile; echo $2` |
4180 | set X $ac_compile |
|
|
4181 | ac_compiler=$2 |
|
|
4182 | for ac_option in --version -v -V -qversion; do |
4009 | { (ac_try="$ac_compiler --version >&5" |
4183 | { { ac_try="$ac_compiler $ac_option >&5" |
4010 | case "(($ac_try" in |
4184 | case "(($ac_try" in |
4011 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
4185 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
4012 | *) ac_try_echo=$ac_try;; |
4186 | *) ac_try_echo=$ac_try;; |
4013 | esac |
4187 | esac |
4014 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
4188 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
4015 | (eval "$ac_compiler --version >&5") 2>&5 |
4189 | $as_echo "$ac_try_echo"; } >&5 |
|
|
4190 | (eval "$ac_compiler $ac_option >&5") 2>conftest.err |
4016 | ac_status=$? |
4191 | ac_status=$? |
|
|
4192 | if test -s conftest.err; then |
|
|
4193 | sed '10a\ |
|
|
4194 | ... rest of stderr output deleted ... |
|
|
4195 | 10q' conftest.err >conftest.er1 |
|
|
4196 | cat conftest.er1 >&5 |
|
|
4197 | fi |
|
|
4198 | rm -f conftest.er1 conftest.err |
4017 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4199 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
4018 | (exit $ac_status); } |
4200 | test $ac_status = 0; } |
4019 | { (ac_try="$ac_compiler -v >&5" |
4201 | done |
4020 | case "(($ac_try" in |
|
|
4021 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
4022 | *) ac_try_echo=$ac_try;; |
|
|
4023 | esac |
|
|
4024 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
4025 | (eval "$ac_compiler -v >&5") 2>&5 |
|
|
4026 | ac_status=$? |
|
|
4027 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4028 | (exit $ac_status); } |
|
|
4029 | { (ac_try="$ac_compiler -V >&5" |
|
|
4030 | case "(($ac_try" in |
|
|
4031 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
4032 | *) ac_try_echo=$ac_try;; |
|
|
4033 | esac |
|
|
4034 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
4035 | (eval "$ac_compiler -V >&5") 2>&5 |
|
|
4036 | ac_status=$? |
|
|
4037 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4038 | (exit $ac_status); } |
|
|
4039 | |
4202 | |
4040 | { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 |
4203 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 |
4041 | echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; } |
4204 | $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } |
4042 | if test "${ac_cv_cxx_compiler_gnu+set}" = set; then |
4205 | if ${ac_cv_cxx_compiler_gnu+:} false; then : |
4043 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4206 | $as_echo_n "(cached) " >&6 |
4044 | else |
4207 | else |
4045 | cat >conftest.$ac_ext <<_ACEOF |
|
|
4046 | /* confdefs.h. */ |
|
|
4047 | _ACEOF |
|
|
4048 | cat confdefs.h >>conftest.$ac_ext |
4208 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4049 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
4050 | /* end confdefs.h. */ |
4209 | /* end confdefs.h. */ |
4051 | |
4210 | |
4052 | int |
4211 | int |
4053 | main () |
4212 | main () |
4054 | { |
4213 | { |
… | |
… | |
4058 | |
4217 | |
4059 | ; |
4218 | ; |
4060 | return 0; |
4219 | return 0; |
4061 | } |
4220 | } |
4062 | _ACEOF |
4221 | _ACEOF |
4063 | rm -f conftest.$ac_objext |
4222 | if ac_fn_cxx_try_compile "$LINENO"; then : |
4064 | if { (ac_try="$ac_compile" |
|
|
4065 | case "(($ac_try" in |
|
|
4066 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
4067 | *) ac_try_echo=$ac_try;; |
|
|
4068 | esac |
|
|
4069 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
4070 | (eval "$ac_compile") 2>conftest.er1 |
|
|
4071 | ac_status=$? |
|
|
4072 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
4073 | rm -f conftest.er1 |
|
|
4074 | cat conftest.err >&5 |
|
|
4075 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4076 | (exit $ac_status); } && { |
|
|
4077 | test -z "$ac_cxx_werror_flag" || |
|
|
4078 | test ! -s conftest.err |
|
|
4079 | } && test -s conftest.$ac_objext; then |
|
|
4080 | ac_compiler_gnu=yes |
4223 | ac_compiler_gnu=yes |
4081 | else |
4224 | else |
4082 | echo "$as_me: failed program was:" >&5 |
|
|
4083 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
4084 | |
|
|
4085 | ac_compiler_gnu=no |
4225 | ac_compiler_gnu=no |
4086 | fi |
4226 | fi |
4087 | |
|
|
4088 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
4227 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
4089 | ac_cv_cxx_compiler_gnu=$ac_compiler_gnu |
4228 | ac_cv_cxx_compiler_gnu=$ac_compiler_gnu |
4090 | |
4229 | |
4091 | fi |
4230 | fi |
4092 | { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 |
4231 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 |
4093 | echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; } |
4232 | $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } |
4094 | GXX=`test $ac_compiler_gnu = yes && echo yes` |
4233 | if test $ac_compiler_gnu = yes; then |
|
|
4234 | GXX=yes |
|
|
4235 | else |
|
|
4236 | GXX= |
|
|
4237 | fi |
4095 | ac_test_CXXFLAGS=${CXXFLAGS+set} |
4238 | ac_test_CXXFLAGS=${CXXFLAGS+set} |
4096 | ac_save_CXXFLAGS=$CXXFLAGS |
4239 | ac_save_CXXFLAGS=$CXXFLAGS |
4097 | { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 |
4240 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 |
4098 | echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; } |
4241 | $as_echo_n "checking whether $CXX accepts -g... " >&6; } |
4099 | if test "${ac_cv_prog_cxx_g+set}" = set; then |
4242 | if ${ac_cv_prog_cxx_g+:} false; then : |
4100 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4243 | $as_echo_n "(cached) " >&6 |
4101 | else |
4244 | else |
4102 | ac_save_cxx_werror_flag=$ac_cxx_werror_flag |
4245 | ac_save_cxx_werror_flag=$ac_cxx_werror_flag |
4103 | ac_cxx_werror_flag=yes |
4246 | ac_cxx_werror_flag=yes |
4104 | ac_cv_prog_cxx_g=no |
4247 | ac_cv_prog_cxx_g=no |
4105 | CXXFLAGS="-g" |
4248 | CXXFLAGS="-g" |
4106 | cat >conftest.$ac_ext <<_ACEOF |
|
|
4107 | /* confdefs.h. */ |
|
|
4108 | _ACEOF |
|
|
4109 | cat confdefs.h >>conftest.$ac_ext |
4249 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4110 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
4111 | /* end confdefs.h. */ |
4250 | /* end confdefs.h. */ |
4112 | |
4251 | |
4113 | int |
4252 | int |
4114 | main () |
4253 | main () |
4115 | { |
4254 | { |
4116 | |
4255 | |
4117 | ; |
4256 | ; |
4118 | return 0; |
4257 | return 0; |
4119 | } |
4258 | } |
4120 | _ACEOF |
4259 | _ACEOF |
4121 | rm -f conftest.$ac_objext |
4260 | if ac_fn_cxx_try_compile "$LINENO"; then : |
4122 | if { (ac_try="$ac_compile" |
|
|
4123 | case "(($ac_try" in |
|
|
4124 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
4125 | *) ac_try_echo=$ac_try;; |
|
|
4126 | esac |
|
|
4127 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
4128 | (eval "$ac_compile") 2>conftest.er1 |
|
|
4129 | ac_status=$? |
|
|
4130 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
4131 | rm -f conftest.er1 |
|
|
4132 | cat conftest.err >&5 |
|
|
4133 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4134 | (exit $ac_status); } && { |
|
|
4135 | test -z "$ac_cxx_werror_flag" || |
|
|
4136 | test ! -s conftest.err |
|
|
4137 | } && test -s conftest.$ac_objext; then |
|
|
4138 | ac_cv_prog_cxx_g=yes |
4261 | ac_cv_prog_cxx_g=yes |
4139 | else |
4262 | else |
4140 | echo "$as_me: failed program was:" >&5 |
|
|
4141 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
4142 | |
|
|
4143 | CXXFLAGS="" |
4263 | CXXFLAGS="" |
4144 | cat >conftest.$ac_ext <<_ACEOF |
|
|
4145 | /* confdefs.h. */ |
|
|
4146 | _ACEOF |
|
|
4147 | cat confdefs.h >>conftest.$ac_ext |
4264 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4148 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
4149 | /* end confdefs.h. */ |
4265 | /* end confdefs.h. */ |
4150 | |
4266 | |
4151 | int |
4267 | int |
4152 | main () |
4268 | main () |
4153 | { |
4269 | { |
4154 | |
4270 | |
4155 | ; |
4271 | ; |
4156 | return 0; |
4272 | return 0; |
4157 | } |
4273 | } |
4158 | _ACEOF |
4274 | _ACEOF |
4159 | rm -f conftest.$ac_objext |
4275 | if ac_fn_cxx_try_compile "$LINENO"; then : |
4160 | if { (ac_try="$ac_compile" |
|
|
4161 | case "(($ac_try" in |
|
|
4162 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
4163 | *) ac_try_echo=$ac_try;; |
|
|
4164 | esac |
|
|
4165 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
4166 | (eval "$ac_compile") 2>conftest.er1 |
|
|
4167 | ac_status=$? |
|
|
4168 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
4169 | rm -f conftest.er1 |
|
|
4170 | cat conftest.err >&5 |
|
|
4171 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4172 | (exit $ac_status); } && { |
|
|
4173 | test -z "$ac_cxx_werror_flag" || |
|
|
4174 | test ! -s conftest.err |
|
|
4175 | } && test -s conftest.$ac_objext; then |
|
|
4176 | : |
|
|
4177 | else |
|
|
4178 | echo "$as_me: failed program was:" >&5 |
|
|
4179 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
4180 | |
4276 | |
|
|
4277 | else |
4181 | ac_cxx_werror_flag=$ac_save_cxx_werror_flag |
4278 | ac_cxx_werror_flag=$ac_save_cxx_werror_flag |
4182 | CXXFLAGS="-g" |
4279 | CXXFLAGS="-g" |
4183 | cat >conftest.$ac_ext <<_ACEOF |
|
|
4184 | /* confdefs.h. */ |
|
|
4185 | _ACEOF |
|
|
4186 | cat confdefs.h >>conftest.$ac_ext |
4280 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4187 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
4188 | /* end confdefs.h. */ |
4281 | /* end confdefs.h. */ |
4189 | |
4282 | |
4190 | int |
4283 | int |
4191 | main () |
4284 | main () |
4192 | { |
4285 | { |
4193 | |
4286 | |
4194 | ; |
4287 | ; |
4195 | return 0; |
4288 | return 0; |
4196 | } |
4289 | } |
4197 | _ACEOF |
4290 | _ACEOF |
4198 | rm -f conftest.$ac_objext |
4291 | if ac_fn_cxx_try_compile "$LINENO"; then : |
4199 | if { (ac_try="$ac_compile" |
|
|
4200 | case "(($ac_try" in |
|
|
4201 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
4202 | *) ac_try_echo=$ac_try;; |
|
|
4203 | esac |
|
|
4204 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
4205 | (eval "$ac_compile") 2>conftest.er1 |
|
|
4206 | ac_status=$? |
|
|
4207 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
4208 | rm -f conftest.er1 |
|
|
4209 | cat conftest.err >&5 |
|
|
4210 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4211 | (exit $ac_status); } && { |
|
|
4212 | test -z "$ac_cxx_werror_flag" || |
|
|
4213 | test ! -s conftest.err |
|
|
4214 | } && test -s conftest.$ac_objext; then |
|
|
4215 | ac_cv_prog_cxx_g=yes |
4292 | ac_cv_prog_cxx_g=yes |
4216 | else |
|
|
4217 | echo "$as_me: failed program was:" >&5 |
|
|
4218 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
4219 | |
|
|
4220 | |
|
|
4221 | fi |
4293 | fi |
4222 | |
|
|
4223 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
4294 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
4224 | fi |
4295 | fi |
4225 | |
|
|
4226 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
4296 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
4227 | fi |
4297 | fi |
4228 | |
|
|
4229 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
4298 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
4230 | ac_cxx_werror_flag=$ac_save_cxx_werror_flag |
4299 | ac_cxx_werror_flag=$ac_save_cxx_werror_flag |
4231 | fi |
4300 | fi |
4232 | { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 |
4301 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 |
4233 | echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; } |
4302 | $as_echo "$ac_cv_prog_cxx_g" >&6; } |
4234 | if test "$ac_test_CXXFLAGS" = set; then |
4303 | if test "$ac_test_CXXFLAGS" = set; then |
4235 | CXXFLAGS=$ac_save_CXXFLAGS |
4304 | CXXFLAGS=$ac_save_CXXFLAGS |
4236 | elif test $ac_cv_prog_cxx_g = yes; then |
4305 | elif test $ac_cv_prog_cxx_g = yes; then |
4237 | if test "$GXX" = yes; then |
4306 | if test "$GXX" = yes; then |
4238 | CXXFLAGS="-g -O2" |
4307 | CXXFLAGS="-g -O2" |
… | |
… | |
4252 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
4321 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
4253 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
4322 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
4254 | |
4323 | |
4255 | depcc="$CXX" am_compiler_list= |
4324 | depcc="$CXX" am_compiler_list= |
4256 | |
4325 | |
4257 | { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 |
4326 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
4258 | echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; } |
4327 | $as_echo_n "checking dependency style of $depcc... " >&6; } |
4259 | if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then |
4328 | if ${am_cv_CXX_dependencies_compiler_type+:} false; then : |
4260 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4329 | $as_echo_n "(cached) " >&6 |
4261 | else |
4330 | else |
4262 | if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
4331 | if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
4263 | # We make a subdir and do the tests there. Otherwise we can end up |
4332 | # We make a subdir and do the tests there. Otherwise we can end up |
4264 | # making bogus files that we don't know about and never remove. For |
4333 | # making bogus files that we don't know about and never remove. For |
4265 | # instance it was reported that on HP-UX the gcc test will end up |
4334 | # instance it was reported that on HP-UX the gcc test will end up |
… | |
… | |
4343 | else |
4412 | else |
4344 | am_cv_CXX_dependencies_compiler_type=none |
4413 | am_cv_CXX_dependencies_compiler_type=none |
4345 | fi |
4414 | fi |
4346 | |
4415 | |
4347 | fi |
4416 | fi |
4348 | { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5 |
4417 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5 |
4349 | echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; } |
4418 | $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } |
4350 | CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type |
4419 | CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type |
4351 | |
4420 | |
4352 | if |
4421 | if |
4353 | test "x$enable_dependency_tracking" != xno \ |
4422 | test "x$enable_dependency_tracking" != xno \ |
4354 | && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then |
4423 | && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then |
… | |
… | |
4369 | |
4438 | |
4370 | |
4439 | |
4371 | |
4440 | |
4372 | |
4441 | |
4373 | |
4442 | |
4374 | |
|
|
4375 | # On IRIX 5.3, sys/types and inttypes.h are conflicting. |
|
|
4376 | |
|
|
4377 | |
|
|
4378 | |
|
|
4379 | |
|
|
4380 | |
|
|
4381 | |
|
|
4382 | |
|
|
4383 | |
|
|
4384 | |
|
|
4385 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
|
|
4386 | inttypes.h stdint.h unistd.h |
|
|
4387 | do |
|
|
4388 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
|
4389 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
|
|
4390 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
|
|
4391 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
|
|
4392 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
4393 | else |
|
|
4394 | cat >conftest.$ac_ext <<_ACEOF |
|
|
4395 | /* confdefs.h. */ |
|
|
4396 | _ACEOF |
|
|
4397 | cat confdefs.h >>conftest.$ac_ext |
|
|
4398 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
4399 | /* end confdefs.h. */ |
|
|
4400 | $ac_includes_default |
|
|
4401 | |
|
|
4402 | #include <$ac_header> |
|
|
4403 | _ACEOF |
|
|
4404 | rm -f conftest.$ac_objext |
|
|
4405 | if { (ac_try="$ac_compile" |
|
|
4406 | case "(($ac_try" in |
|
|
4407 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
4408 | *) ac_try_echo=$ac_try;; |
|
|
4409 | esac |
|
|
4410 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
4411 | (eval "$ac_compile") 2>conftest.er1 |
|
|
4412 | ac_status=$? |
|
|
4413 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
4414 | rm -f conftest.er1 |
|
|
4415 | cat conftest.err >&5 |
|
|
4416 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4417 | (exit $ac_status); } && { |
|
|
4418 | test -z "$ac_cxx_werror_flag" || |
|
|
4419 | test ! -s conftest.err |
|
|
4420 | } && test -s conftest.$ac_objext; then |
|
|
4421 | eval "$as_ac_Header=yes" |
|
|
4422 | else |
|
|
4423 | echo "$as_me: failed program was:" >&5 |
|
|
4424 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
4425 | |
|
|
4426 | eval "$as_ac_Header=no" |
|
|
4427 | fi |
|
|
4428 | |
|
|
4429 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
4430 | fi |
|
|
4431 | ac_res=`eval echo '${'$as_ac_Header'}'` |
|
|
4432 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
|
4433 | echo "${ECHO_T}$ac_res" >&6; } |
|
|
4434 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
|
|
4435 | cat >>confdefs.h <<_ACEOF |
|
|
4436 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
|
|
4437 | _ACEOF |
|
|
4438 | |
|
|
4439 | fi |
|
|
4440 | |
|
|
4441 | done |
|
|
4442 | |
|
|
4443 | |
|
|
4444 | ac_ext=cpp |
4443 | ac_ext=cpp |
4445 | ac_cpp='$CXXCPP $CPPFLAGS' |
4444 | ac_cpp='$CXXCPP $CPPFLAGS' |
4446 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
4445 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
4447 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
4446 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
4448 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
4447 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
4449 | { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5 |
4448 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 |
4450 | echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; } |
4449 | $as_echo_n "checking how to run the C++ preprocessor... " >&6; } |
4451 | if test -z "$CXXCPP"; then |
4450 | if test -z "$CXXCPP"; then |
4452 | if test "${ac_cv_prog_CXXCPP+set}" = set; then |
4451 | if ${ac_cv_prog_CXXCPP+:} false; then : |
4453 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4452 | $as_echo_n "(cached) " >&6 |
4454 | else |
4453 | else |
4455 | # Double quotes because CXXCPP needs to be expanded |
4454 | # Double quotes because CXXCPP needs to be expanded |
4456 | for CXXCPP in "$CXX -E" "/lib/cpp" |
4455 | for CXXCPP in "$CXX -E" "/lib/cpp" |
4457 | do |
4456 | do |
4458 | ac_preproc_ok=false |
4457 | ac_preproc_ok=false |
… | |
… | |
4462 | # with a fresh cross-compiler works. |
4461 | # with a fresh cross-compiler works. |
4463 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
4462 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
4464 | # <limits.h> exists even on freestanding compilers. |
4463 | # <limits.h> exists even on freestanding compilers. |
4465 | # On the NeXT, cc -E runs the code through the compiler's parser, |
4464 | # On the NeXT, cc -E runs the code through the compiler's parser, |
4466 | # not just through cpp. "Syntax error" is here to catch this case. |
4465 | # not just through cpp. "Syntax error" is here to catch this case. |
4467 | cat >conftest.$ac_ext <<_ACEOF |
|
|
4468 | /* confdefs.h. */ |
|
|
4469 | _ACEOF |
|
|
4470 | cat confdefs.h >>conftest.$ac_ext |
4466 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4471 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
4472 | /* end confdefs.h. */ |
4467 | /* end confdefs.h. */ |
4473 | #ifdef __STDC__ |
4468 | #ifdef __STDC__ |
4474 | # include <limits.h> |
4469 | # include <limits.h> |
4475 | #else |
4470 | #else |
4476 | # include <assert.h> |
4471 | # include <assert.h> |
4477 | #endif |
4472 | #endif |
4478 | Syntax error |
4473 | Syntax error |
4479 | _ACEOF |
4474 | _ACEOF |
4480 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
4475 | if ac_fn_cxx_try_cpp "$LINENO"; then : |
4481 | case "(($ac_try" in |
|
|
4482 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
4483 | *) ac_try_echo=$ac_try;; |
|
|
4484 | esac |
|
|
4485 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
4486 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
|
|
4487 | ac_status=$? |
|
|
4488 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
4489 | rm -f conftest.er1 |
|
|
4490 | cat conftest.err >&5 |
|
|
4491 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4492 | (exit $ac_status); } >/dev/null && { |
|
|
4493 | test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
|
|
4494 | test ! -s conftest.err |
|
|
4495 | }; then |
|
|
4496 | : |
|
|
4497 | else |
|
|
4498 | echo "$as_me: failed program was:" >&5 |
|
|
4499 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
4500 | |
4476 | |
|
|
4477 | else |
4501 | # Broken: fails on valid input. |
4478 | # Broken: fails on valid input. |
4502 | continue |
4479 | continue |
4503 | fi |
4480 | fi |
4504 | |
|
|
4505 | rm -f conftest.err conftest.$ac_ext |
4481 | rm -f conftest.err conftest.i conftest.$ac_ext |
4506 | |
4482 | |
4507 | # OK, works on sane cases. Now check whether nonexistent headers |
4483 | # OK, works on sane cases. Now check whether nonexistent headers |
4508 | # can be detected and how. |
4484 | # can be detected and how. |
4509 | cat >conftest.$ac_ext <<_ACEOF |
|
|
4510 | /* confdefs.h. */ |
|
|
4511 | _ACEOF |
|
|
4512 | cat confdefs.h >>conftest.$ac_ext |
4485 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4513 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
4514 | /* end confdefs.h. */ |
4486 | /* end confdefs.h. */ |
4515 | #include <ac_nonexistent.h> |
4487 | #include <ac_nonexistent.h> |
4516 | _ACEOF |
4488 | _ACEOF |
4517 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
4489 | if ac_fn_cxx_try_cpp "$LINENO"; then : |
4518 | case "(($ac_try" in |
|
|
4519 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
4520 | *) ac_try_echo=$ac_try;; |
|
|
4521 | esac |
|
|
4522 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
4523 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
|
|
4524 | ac_status=$? |
|
|
4525 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
4526 | rm -f conftest.er1 |
|
|
4527 | cat conftest.err >&5 |
|
|
4528 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4529 | (exit $ac_status); } >/dev/null && { |
|
|
4530 | test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
|
|
4531 | test ! -s conftest.err |
|
|
4532 | }; then |
|
|
4533 | # Broken: success on invalid input. |
4490 | # Broken: success on invalid input. |
4534 | continue |
4491 | continue |
4535 | else |
4492 | else |
4536 | echo "$as_me: failed program was:" >&5 |
|
|
4537 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
4538 | |
|
|
4539 | # Passes both tests. |
4493 | # Passes both tests. |
4540 | ac_preproc_ok=: |
4494 | ac_preproc_ok=: |
4541 | break |
4495 | break |
4542 | fi |
4496 | fi |
4543 | |
|
|
4544 | rm -f conftest.err conftest.$ac_ext |
4497 | rm -f conftest.err conftest.i conftest.$ac_ext |
4545 | |
4498 | |
4546 | done |
4499 | done |
4547 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
4500 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
4548 | rm -f conftest.err conftest.$ac_ext |
4501 | rm -f conftest.i conftest.err conftest.$ac_ext |
4549 | if $ac_preproc_ok; then |
4502 | if $ac_preproc_ok; then : |
4550 | break |
4503 | break |
4551 | fi |
4504 | fi |
4552 | |
4505 | |
4553 | done |
4506 | done |
4554 | ac_cv_prog_CXXCPP=$CXXCPP |
4507 | ac_cv_prog_CXXCPP=$CXXCPP |
… | |
… | |
4556 | fi |
4509 | fi |
4557 | CXXCPP=$ac_cv_prog_CXXCPP |
4510 | CXXCPP=$ac_cv_prog_CXXCPP |
4558 | else |
4511 | else |
4559 | ac_cv_prog_CXXCPP=$CXXCPP |
4512 | ac_cv_prog_CXXCPP=$CXXCPP |
4560 | fi |
4513 | fi |
4561 | { echo "$as_me:$LINENO: result: $CXXCPP" >&5 |
4514 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5 |
4562 | echo "${ECHO_T}$CXXCPP" >&6; } |
4515 | $as_echo "$CXXCPP" >&6; } |
4563 | ac_preproc_ok=false |
4516 | ac_preproc_ok=false |
4564 | for ac_cxx_preproc_warn_flag in '' yes |
4517 | for ac_cxx_preproc_warn_flag in '' yes |
4565 | do |
4518 | do |
4566 | # Use a header file that comes with gcc, so configuring glibc |
4519 | # Use a header file that comes with gcc, so configuring glibc |
4567 | # with a fresh cross-compiler works. |
4520 | # with a fresh cross-compiler works. |
4568 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
4521 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
4569 | # <limits.h> exists even on freestanding compilers. |
4522 | # <limits.h> exists even on freestanding compilers. |
4570 | # On the NeXT, cc -E runs the code through the compiler's parser, |
4523 | # On the NeXT, cc -E runs the code through the compiler's parser, |
4571 | # not just through cpp. "Syntax error" is here to catch this case. |
4524 | # not just through cpp. "Syntax error" is here to catch this case. |
4572 | cat >conftest.$ac_ext <<_ACEOF |
|
|
4573 | /* confdefs.h. */ |
|
|
4574 | _ACEOF |
|
|
4575 | cat confdefs.h >>conftest.$ac_ext |
4525 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4576 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
4577 | /* end confdefs.h. */ |
4526 | /* end confdefs.h. */ |
4578 | #ifdef __STDC__ |
4527 | #ifdef __STDC__ |
4579 | # include <limits.h> |
4528 | # include <limits.h> |
4580 | #else |
4529 | #else |
4581 | # include <assert.h> |
4530 | # include <assert.h> |
4582 | #endif |
4531 | #endif |
4583 | Syntax error |
4532 | Syntax error |
4584 | _ACEOF |
4533 | _ACEOF |
4585 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
4534 | if ac_fn_cxx_try_cpp "$LINENO"; then : |
4586 | case "(($ac_try" in |
|
|
4587 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
4588 | *) ac_try_echo=$ac_try;; |
|
|
4589 | esac |
|
|
4590 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
4591 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
|
|
4592 | ac_status=$? |
|
|
4593 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
4594 | rm -f conftest.er1 |
|
|
4595 | cat conftest.err >&5 |
|
|
4596 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4597 | (exit $ac_status); } >/dev/null && { |
|
|
4598 | test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
|
|
4599 | test ! -s conftest.err |
|
|
4600 | }; then |
|
|
4601 | : |
|
|
4602 | else |
|
|
4603 | echo "$as_me: failed program was:" >&5 |
|
|
4604 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
4605 | |
4535 | |
|
|
4536 | else |
4606 | # Broken: fails on valid input. |
4537 | # Broken: fails on valid input. |
4607 | continue |
4538 | continue |
4608 | fi |
4539 | fi |
4609 | |
|
|
4610 | rm -f conftest.err conftest.$ac_ext |
4540 | rm -f conftest.err conftest.i conftest.$ac_ext |
4611 | |
4541 | |
4612 | # OK, works on sane cases. Now check whether nonexistent headers |
4542 | # OK, works on sane cases. Now check whether nonexistent headers |
4613 | # can be detected and how. |
4543 | # can be detected and how. |
4614 | cat >conftest.$ac_ext <<_ACEOF |
|
|
4615 | /* confdefs.h. */ |
|
|
4616 | _ACEOF |
|
|
4617 | cat confdefs.h >>conftest.$ac_ext |
4544 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4618 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
4619 | /* end confdefs.h. */ |
4545 | /* end confdefs.h. */ |
4620 | #include <ac_nonexistent.h> |
4546 | #include <ac_nonexistent.h> |
4621 | _ACEOF |
4547 | _ACEOF |
4622 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
4548 | if ac_fn_cxx_try_cpp "$LINENO"; then : |
4623 | case "(($ac_try" in |
|
|
4624 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
4625 | *) ac_try_echo=$ac_try;; |
|
|
4626 | esac |
|
|
4627 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
4628 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
|
|
4629 | ac_status=$? |
|
|
4630 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
4631 | rm -f conftest.er1 |
|
|
4632 | cat conftest.err >&5 |
|
|
4633 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4634 | (exit $ac_status); } >/dev/null && { |
|
|
4635 | test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
|
|
4636 | test ! -s conftest.err |
|
|
4637 | }; then |
|
|
4638 | # Broken: success on invalid input. |
4549 | # Broken: success on invalid input. |
4639 | continue |
4550 | continue |
4640 | else |
4551 | else |
4641 | echo "$as_me: failed program was:" >&5 |
|
|
4642 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
4643 | |
|
|
4644 | # Passes both tests. |
4552 | # Passes both tests. |
4645 | ac_preproc_ok=: |
4553 | ac_preproc_ok=: |
4646 | break |
4554 | break |
4647 | fi |
4555 | fi |
4648 | |
|
|
4649 | rm -f conftest.err conftest.$ac_ext |
4556 | rm -f conftest.err conftest.i conftest.$ac_ext |
4650 | |
4557 | |
4651 | done |
4558 | done |
4652 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
4559 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
4653 | rm -f conftest.err conftest.$ac_ext |
4560 | rm -f conftest.i conftest.err conftest.$ac_ext |
4654 | if $ac_preproc_ok; then |
4561 | if $ac_preproc_ok; then : |
4655 | : |
4562 | |
4656 | else |
4563 | else |
4657 | { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check |
4564 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
4658 | See \`config.log' for more details." >&5 |
4565 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
4659 | echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check |
4566 | as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check |
4660 | See \`config.log' for more details." >&2;} |
4567 | See \`config.log' for more details" "$LINENO" 5; } |
4661 | { (exit 1); exit 1; }; } |
|
|
4662 | fi |
4568 | fi |
4663 | |
4569 | |
4664 | ac_ext=cpp |
4570 | ac_ext=cpp |
4665 | ac_cpp='$CXXCPP $CPPFLAGS' |
4571 | ac_cpp='$CXXCPP $CPPFLAGS' |
4666 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
4572 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
4667 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
4573 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
4668 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
4574 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
4669 | |
4575 | |
4670 | |
4576 | |
|
|
4577 | # On IRIX 5.3, sys/types and inttypes.h are conflicting. |
|
|
4578 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
|
|
4579 | inttypes.h stdint.h unistd.h |
|
|
4580 | do : |
|
|
4581 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
|
4582 | ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default |
|
|
4583 | " |
|
|
4584 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
|
|
4585 | cat >>confdefs.h <<_ACEOF |
|
|
4586 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
|
|
4587 | _ACEOF |
|
|
4588 | |
|
|
4589 | fi |
|
|
4590 | |
|
|
4591 | done |
|
|
4592 | |
4671 | |
4593 | |
4672 | for ac_header in GL/gl.h |
4594 | for ac_header in GL/gl.h |
4673 | do |
4595 | do : |
4674 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
4596 | ac_fn_cxx_check_header_mongrel "$LINENO" "GL/gl.h" "ac_cv_header_GL_gl_h" "$ac_includes_default" |
4675 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
4597 | if test "x$ac_cv_header_GL_gl_h" = xyes; then : |
4676 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
|
|
4677 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
|
|
4678 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
|
|
4679 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
4680 | fi |
|
|
4681 | ac_res=`eval echo '${'$as_ac_Header'}'` |
|
|
4682 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
|
4683 | echo "${ECHO_T}$ac_res" >&6; } |
|
|
4684 | else |
|
|
4685 | # Is the header compilable? |
|
|
4686 | { echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
|
|
4687 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
|
|
4688 | cat >conftest.$ac_ext <<_ACEOF |
|
|
4689 | /* confdefs.h. */ |
|
|
4690 | _ACEOF |
|
|
4691 | cat confdefs.h >>conftest.$ac_ext |
|
|
4692 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
4693 | /* end confdefs.h. */ |
|
|
4694 | $ac_includes_default |
|
|
4695 | #include <$ac_header> |
|
|
4696 | _ACEOF |
|
|
4697 | rm -f conftest.$ac_objext |
|
|
4698 | if { (ac_try="$ac_compile" |
|
|
4699 | case "(($ac_try" in |
|
|
4700 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
4701 | *) ac_try_echo=$ac_try;; |
|
|
4702 | esac |
|
|
4703 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
4704 | (eval "$ac_compile") 2>conftest.er1 |
|
|
4705 | ac_status=$? |
|
|
4706 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
4707 | rm -f conftest.er1 |
|
|
4708 | cat conftest.err >&5 |
|
|
4709 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4710 | (exit $ac_status); } && { |
|
|
4711 | test -z "$ac_cxx_werror_flag" || |
|
|
4712 | test ! -s conftest.err |
|
|
4713 | } && test -s conftest.$ac_objext; then |
|
|
4714 | ac_header_compiler=yes |
|
|
4715 | else |
|
|
4716 | echo "$as_me: failed program was:" >&5 |
|
|
4717 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
4718 | |
|
|
4719 | ac_header_compiler=no |
|
|
4720 | fi |
|
|
4721 | |
|
|
4722 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
4723 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
|
|
4724 | echo "${ECHO_T}$ac_header_compiler" >&6; } |
|
|
4725 | |
|
|
4726 | # Is the header present? |
|
|
4727 | { echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
|
|
4728 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
|
|
4729 | cat >conftest.$ac_ext <<_ACEOF |
|
|
4730 | /* confdefs.h. */ |
|
|
4731 | _ACEOF |
|
|
4732 | cat confdefs.h >>conftest.$ac_ext |
|
|
4733 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
4734 | /* end confdefs.h. */ |
|
|
4735 | #include <$ac_header> |
|
|
4736 | _ACEOF |
|
|
4737 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
|
|
4738 | case "(($ac_try" in |
|
|
4739 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
4740 | *) ac_try_echo=$ac_try;; |
|
|
4741 | esac |
|
|
4742 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
4743 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
|
|
4744 | ac_status=$? |
|
|
4745 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
4746 | rm -f conftest.er1 |
|
|
4747 | cat conftest.err >&5 |
|
|
4748 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4749 | (exit $ac_status); } >/dev/null && { |
|
|
4750 | test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
|
|
4751 | test ! -s conftest.err |
|
|
4752 | }; then |
|
|
4753 | ac_header_preproc=yes |
|
|
4754 | else |
|
|
4755 | echo "$as_me: failed program was:" >&5 |
|
|
4756 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
4757 | |
|
|
4758 | ac_header_preproc=no |
|
|
4759 | fi |
|
|
4760 | |
|
|
4761 | rm -f conftest.err conftest.$ac_ext |
|
|
4762 | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
|
|
4763 | echo "${ECHO_T}$ac_header_preproc" >&6; } |
|
|
4764 | |
|
|
4765 | # So? What about this header? |
|
|
4766 | case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
|
|
4767 | yes:no: ) |
|
|
4768 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
|
|
4769 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
|
|
4770 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
|
|
4771 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
|
|
4772 | ac_header_preproc=yes |
|
|
4773 | ;; |
|
|
4774 | no:yes:* ) |
|
|
4775 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
|
|
4776 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
|
|
4777 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
|
|
4778 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
|
|
4779 | { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
|
|
4780 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
|
|
4781 | { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
|
|
4782 | echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
|
|
4783 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
|
|
4784 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
|
|
4785 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
|
|
4786 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
|
|
4787 | |
|
|
4788 | ;; |
|
|
4789 | esac |
|
|
4790 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
|
|
4791 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
|
|
4792 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
|
|
4793 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
4794 | else |
|
|
4795 | eval "$as_ac_Header=\$ac_header_preproc" |
|
|
4796 | fi |
|
|
4797 | ac_res=`eval echo '${'$as_ac_Header'}'` |
|
|
4798 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
|
4799 | echo "${ECHO_T}$ac_res" >&6; } |
|
|
4800 | |
|
|
4801 | fi |
|
|
4802 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
|
|
4803 | cat >>confdefs.h <<_ACEOF |
4598 | cat >>confdefs.h <<_ACEOF |
4804 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
4599 | #define HAVE_GL_GL_H 1 |
4805 | _ACEOF |
4600 | _ACEOF |
4806 | |
4601 | |
4807 | |
|
|
4808 | for ac_header in GL/glu.h |
4602 | for ac_header in GL/glu.h |
4809 | do |
4603 | do : |
4810 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
4604 | ac_fn_cxx_check_header_mongrel "$LINENO" "GL/glu.h" "ac_cv_header_GL_glu_h" "$ac_includes_default" |
4811 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
4605 | if test "x$ac_cv_header_GL_glu_h" = xyes; then : |
4812 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
|
|
4813 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
|
|
4814 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
|
|
4815 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
4816 | fi |
|
|
4817 | ac_res=`eval echo '${'$as_ac_Header'}'` |
|
|
4818 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
|
4819 | echo "${ECHO_T}$ac_res" >&6; } |
|
|
4820 | else |
|
|
4821 | # Is the header compilable? |
|
|
4822 | { echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
|
|
4823 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
|
|
4824 | cat >conftest.$ac_ext <<_ACEOF |
|
|
4825 | /* confdefs.h. */ |
|
|
4826 | _ACEOF |
|
|
4827 | cat confdefs.h >>conftest.$ac_ext |
|
|
4828 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
4829 | /* end confdefs.h. */ |
|
|
4830 | $ac_includes_default |
|
|
4831 | #include <$ac_header> |
|
|
4832 | _ACEOF |
|
|
4833 | rm -f conftest.$ac_objext |
|
|
4834 | if { (ac_try="$ac_compile" |
|
|
4835 | case "(($ac_try" in |
|
|
4836 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
4837 | *) ac_try_echo=$ac_try;; |
|
|
4838 | esac |
|
|
4839 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
4840 | (eval "$ac_compile") 2>conftest.er1 |
|
|
4841 | ac_status=$? |
|
|
4842 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
4843 | rm -f conftest.er1 |
|
|
4844 | cat conftest.err >&5 |
|
|
4845 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4846 | (exit $ac_status); } && { |
|
|
4847 | test -z "$ac_cxx_werror_flag" || |
|
|
4848 | test ! -s conftest.err |
|
|
4849 | } && test -s conftest.$ac_objext; then |
|
|
4850 | ac_header_compiler=yes |
|
|
4851 | else |
|
|
4852 | echo "$as_me: failed program was:" >&5 |
|
|
4853 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
4854 | |
|
|
4855 | ac_header_compiler=no |
|
|
4856 | fi |
|
|
4857 | |
|
|
4858 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
4859 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
|
|
4860 | echo "${ECHO_T}$ac_header_compiler" >&6; } |
|
|
4861 | |
|
|
4862 | # Is the header present? |
|
|
4863 | { echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
|
|
4864 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
|
|
4865 | cat >conftest.$ac_ext <<_ACEOF |
|
|
4866 | /* confdefs.h. */ |
|
|
4867 | _ACEOF |
|
|
4868 | cat confdefs.h >>conftest.$ac_ext |
|
|
4869 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
4870 | /* end confdefs.h. */ |
|
|
4871 | #include <$ac_header> |
|
|
4872 | _ACEOF |
|
|
4873 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
|
|
4874 | case "(($ac_try" in |
|
|
4875 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
4876 | *) ac_try_echo=$ac_try;; |
|
|
4877 | esac |
|
|
4878 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
4879 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
|
|
4880 | ac_status=$? |
|
|
4881 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
4882 | rm -f conftest.er1 |
|
|
4883 | cat conftest.err >&5 |
|
|
4884 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4885 | (exit $ac_status); } >/dev/null && { |
|
|
4886 | test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
|
|
4887 | test ! -s conftest.err |
|
|
4888 | }; then |
|
|
4889 | ac_header_preproc=yes |
|
|
4890 | else |
|
|
4891 | echo "$as_me: failed program was:" >&5 |
|
|
4892 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
4893 | |
|
|
4894 | ac_header_preproc=no |
|
|
4895 | fi |
|
|
4896 | |
|
|
4897 | rm -f conftest.err conftest.$ac_ext |
|
|
4898 | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
|
|
4899 | echo "${ECHO_T}$ac_header_preproc" >&6; } |
|
|
4900 | |
|
|
4901 | # So? What about this header? |
|
|
4902 | case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
|
|
4903 | yes:no: ) |
|
|
4904 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
|
|
4905 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
|
|
4906 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
|
|
4907 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
|
|
4908 | ac_header_preproc=yes |
|
|
4909 | ;; |
|
|
4910 | no:yes:* ) |
|
|
4911 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
|
|
4912 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
|
|
4913 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
|
|
4914 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
|
|
4915 | { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
|
|
4916 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
|
|
4917 | { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
|
|
4918 | echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
|
|
4919 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
|
|
4920 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
|
|
4921 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
|
|
4922 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
|
|
4923 | |
|
|
4924 | ;; |
|
|
4925 | esac |
|
|
4926 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
|
|
4927 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
|
|
4928 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
|
|
4929 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
4930 | else |
|
|
4931 | eval "$as_ac_Header=\$ac_header_preproc" |
|
|
4932 | fi |
|
|
4933 | ac_res=`eval echo '${'$as_ac_Header'}'` |
|
|
4934 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
|
4935 | echo "${ECHO_T}$ac_res" >&6; } |
|
|
4936 | |
|
|
4937 | fi |
|
|
4938 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
|
|
4939 | cat >>confdefs.h <<_ACEOF |
4606 | cat >>confdefs.h <<_ACEOF |
4940 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
4607 | #define HAVE_GL_GLU_H 1 |
4941 | _ACEOF |
4608 | _ACEOF |
4942 | |
4609 | |
4943 | { echo "$as_me:$LINENO: checking for X" >&5 |
4610 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5 |
4944 | echo $ECHO_N "checking for X... $ECHO_C" >&6; } |
4611 | $as_echo_n "checking for X... " >&6; } |
4945 | |
4612 | |
4946 | |
4613 | |
4947 | # Check whether --with-x was given. |
4614 | # Check whether --with-x was given. |
4948 | if test "${with_x+set}" = set; then |
4615 | if test "${with_x+set}" = set; then : |
4949 | withval=$with_x; |
4616 | withval=$with_x; |
4950 | fi |
4617 | fi |
4951 | |
4618 | |
4952 | # $have_x is `yes', `no', `disabled', or empty when we do not yet know. |
4619 | # $have_x is `yes', `no', `disabled', or empty when we do not yet know. |
4953 | if test "x$with_x" = xno; then |
4620 | if test "x$with_x" = xno; then |
4954 | # The user explicitly disabled X. |
4621 | # The user explicitly disabled X. |
4955 | have_x=disabled |
4622 | have_x=disabled |
4956 | else |
4623 | else |
4957 | case $x_includes,$x_libraries in #( |
4624 | case $x_includes,$x_libraries in #( |
4958 | *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5 |
4625 | *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #( |
4959 | echo "$as_me: error: Cannot use X directory names containing '" >&2;} |
|
|
4960 | { (exit 1); exit 1; }; };; #( |
|
|
4961 | *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then |
4626 | *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then : |
4962 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4627 | $as_echo_n "(cached) " >&6 |
4963 | else |
4628 | else |
4964 | # One or both of the vars are not set, and there is no cached value. |
4629 | # One or both of the vars are not set, and there is no cached value. |
4965 | ac_x_includes=no ac_x_libraries=no |
4630 | ac_x_includes=no ac_x_libraries=no |
4966 | rm -f -r conftest.dir |
4631 | rm -f -r conftest.dir |
4967 | if mkdir conftest.dir; then |
4632 | if mkdir conftest.dir; then |
… | |
… | |
4973 | @echo usrlibdir='${USRLIBDIR}' |
4638 | @echo usrlibdir='${USRLIBDIR}' |
4974 | libdir: |
4639 | libdir: |
4975 | @echo libdir='${LIBDIR}' |
4640 | @echo libdir='${LIBDIR}' |
4976 | _ACEOF |
4641 | _ACEOF |
4977 | if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then |
4642 | if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then |
4978 | # GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
4643 | # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. |
4979 | for ac_var in incroot usrlibdir libdir; do |
4644 | for ac_var in incroot usrlibdir libdir; do |
4980 | eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`" |
4645 | eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`" |
4981 | done |
4646 | done |
4982 | # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR. |
4647 | # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR. |
4983 | for ac_extension in a so sl; do |
4648 | for ac_extension in a so sl dylib la dll; do |
4984 | if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" && |
4649 | if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" && |
4985 | test -f "$ac_im_libdir/libX11.$ac_extension"; then |
4650 | test -f "$ac_im_libdir/libX11.$ac_extension"; then |
4986 | ac_im_usrlibdir=$ac_im_libdir; break |
4651 | ac_im_usrlibdir=$ac_im_libdir; break |
4987 | fi |
4652 | fi |
4988 | done |
4653 | done |
… | |
… | |
4992 | case $ac_im_incroot in |
4657 | case $ac_im_incroot in |
4993 | /usr/include) ac_x_includes= ;; |
4658 | /usr/include) ac_x_includes= ;; |
4994 | *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;; |
4659 | *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;; |
4995 | esac |
4660 | esac |
4996 | case $ac_im_usrlibdir in |
4661 | case $ac_im_usrlibdir in |
4997 | /usr/lib | /lib) ;; |
4662 | /usr/lib | /usr/lib64 | /lib | /lib64) ;; |
4998 | *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;; |
4663 | *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;; |
4999 | esac |
4664 | esac |
5000 | fi |
4665 | fi |
5001 | cd .. |
4666 | cd .. |
5002 | rm -f -r conftest.dir |
4667 | rm -f -r conftest.dir |
… | |
… | |
5004 | |
4669 | |
5005 | # Standard set of common directories for X headers. |
4670 | # Standard set of common directories for X headers. |
5006 | # Check X11 before X11Rn because it is often a symlink to the current release. |
4671 | # Check X11 before X11Rn because it is often a symlink to the current release. |
5007 | ac_x_header_dirs=' |
4672 | ac_x_header_dirs=' |
5008 | /usr/X11/include |
4673 | /usr/X11/include |
|
|
4674 | /usr/X11R7/include |
5009 | /usr/X11R6/include |
4675 | /usr/X11R6/include |
5010 | /usr/X11R5/include |
4676 | /usr/X11R5/include |
5011 | /usr/X11R4/include |
4677 | /usr/X11R4/include |
5012 | |
4678 | |
5013 | /usr/include/X11 |
4679 | /usr/include/X11 |
|
|
4680 | /usr/include/X11R7 |
5014 | /usr/include/X11R6 |
4681 | /usr/include/X11R6 |
5015 | /usr/include/X11R5 |
4682 | /usr/include/X11R5 |
5016 | /usr/include/X11R4 |
4683 | /usr/include/X11R4 |
5017 | |
4684 | |
5018 | /usr/local/X11/include |
4685 | /usr/local/X11/include |
|
|
4686 | /usr/local/X11R7/include |
5019 | /usr/local/X11R6/include |
4687 | /usr/local/X11R6/include |
5020 | /usr/local/X11R5/include |
4688 | /usr/local/X11R5/include |
5021 | /usr/local/X11R4/include |
4689 | /usr/local/X11R4/include |
5022 | |
4690 | |
5023 | /usr/local/include/X11 |
4691 | /usr/local/include/X11 |
|
|
4692 | /usr/local/include/X11R7 |
5024 | /usr/local/include/X11R6 |
4693 | /usr/local/include/X11R6 |
5025 | /usr/local/include/X11R5 |
4694 | /usr/local/include/X11R5 |
5026 | /usr/local/include/X11R4 |
4695 | /usr/local/include/X11R4 |
5027 | |
4696 | |
5028 | /usr/X386/include |
4697 | /usr/X386/include |
… | |
… | |
5040 | /usr/openwin/share/include' |
4709 | /usr/openwin/share/include' |
5041 | |
4710 | |
5042 | if test "$ac_x_includes" = no; then |
4711 | if test "$ac_x_includes" = no; then |
5043 | # Guess where to find include files, by looking for Xlib.h. |
4712 | # Guess where to find include files, by looking for Xlib.h. |
5044 | # First, try using that file with no special directory specified. |
4713 | # First, try using that file with no special directory specified. |
5045 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5046 | /* confdefs.h. */ |
|
|
5047 | _ACEOF |
|
|
5048 | cat confdefs.h >>conftest.$ac_ext |
4714 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5049 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5050 | /* end confdefs.h. */ |
4715 | /* end confdefs.h. */ |
5051 | #include <X11/Xlib.h> |
4716 | #include <X11/Xlib.h> |
5052 | _ACEOF |
4717 | _ACEOF |
5053 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
4718 | if ac_fn_cxx_try_cpp "$LINENO"; then : |
5054 | case "(($ac_try" in |
|
|
5055 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5056 | *) ac_try_echo=$ac_try;; |
|
|
5057 | esac |
|
|
5058 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5059 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
|
|
5060 | ac_status=$? |
|
|
5061 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5062 | rm -f conftest.er1 |
|
|
5063 | cat conftest.err >&5 |
|
|
5064 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5065 | (exit $ac_status); } >/dev/null && { |
|
|
5066 | test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
|
|
5067 | test ! -s conftest.err |
|
|
5068 | }; then |
|
|
5069 | # We can compile using X headers with no special include directory. |
4719 | # We can compile using X headers with no special include directory. |
5070 | ac_x_includes= |
4720 | ac_x_includes= |
5071 | else |
4721 | else |
5072 | echo "$as_me: failed program was:" >&5 |
|
|
5073 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5074 | |
|
|
5075 | for ac_dir in $ac_x_header_dirs; do |
4722 | for ac_dir in $ac_x_header_dirs; do |
5076 | if test -r "$ac_dir/X11/Xlib.h"; then |
4723 | if test -r "$ac_dir/X11/Xlib.h"; then |
5077 | ac_x_includes=$ac_dir |
4724 | ac_x_includes=$ac_dir |
5078 | break |
4725 | break |
5079 | fi |
4726 | fi |
5080 | done |
4727 | done |
5081 | fi |
4728 | fi |
5082 | |
|
|
5083 | rm -f conftest.err conftest.$ac_ext |
4729 | rm -f conftest.err conftest.i conftest.$ac_ext |
5084 | fi # $ac_x_includes = no |
4730 | fi # $ac_x_includes = no |
5085 | |
4731 | |
5086 | if test "$ac_x_libraries" = no; then |
4732 | if test "$ac_x_libraries" = no; then |
5087 | # Check for the libraries. |
4733 | # Check for the libraries. |
5088 | # See if we find them without any special options. |
4734 | # See if we find them without any special options. |
5089 | # Don't add to $LIBS permanently. |
4735 | # Don't add to $LIBS permanently. |
5090 | ac_save_LIBS=$LIBS |
4736 | ac_save_LIBS=$LIBS |
5091 | LIBS="-lX11 $LIBS" |
4737 | LIBS="-lX11 $LIBS" |
5092 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5093 | /* confdefs.h. */ |
|
|
5094 | _ACEOF |
|
|
5095 | cat confdefs.h >>conftest.$ac_ext |
4738 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5096 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5097 | /* end confdefs.h. */ |
4739 | /* end confdefs.h. */ |
5098 | #include <X11/Xlib.h> |
4740 | #include <X11/Xlib.h> |
5099 | int |
4741 | int |
5100 | main () |
4742 | main () |
5101 | { |
4743 | { |
5102 | XrmInitialize () |
4744 | XrmInitialize () |
5103 | ; |
4745 | ; |
5104 | return 0; |
4746 | return 0; |
5105 | } |
4747 | } |
5106 | _ACEOF |
4748 | _ACEOF |
5107 | rm -f conftest.$ac_objext conftest$ac_exeext |
4749 | if ac_fn_cxx_try_link "$LINENO"; then : |
5108 | if { (ac_try="$ac_link" |
|
|
5109 | case "(($ac_try" in |
|
|
5110 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5111 | *) ac_try_echo=$ac_try;; |
|
|
5112 | esac |
|
|
5113 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5114 | (eval "$ac_link") 2>conftest.er1 |
|
|
5115 | ac_status=$? |
|
|
5116 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5117 | rm -f conftest.er1 |
|
|
5118 | cat conftest.err >&5 |
|
|
5119 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5120 | (exit $ac_status); } && { |
|
|
5121 | test -z "$ac_cxx_werror_flag" || |
|
|
5122 | test ! -s conftest.err |
|
|
5123 | } && test -s conftest$ac_exeext && |
|
|
5124 | $as_test_x conftest$ac_exeext; then |
|
|
5125 | LIBS=$ac_save_LIBS |
4750 | LIBS=$ac_save_LIBS |
5126 | # We can link X programs with no special library path. |
4751 | # We can link X programs with no special library path. |
5127 | ac_x_libraries= |
4752 | ac_x_libraries= |
5128 | else |
4753 | else |
5129 | echo "$as_me: failed program was:" >&5 |
|
|
5130 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5131 | |
|
|
5132 | LIBS=$ac_save_LIBS |
4754 | LIBS=$ac_save_LIBS |
5133 | for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g` |
4755 | for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g` |
5134 | do |
4756 | do |
5135 | # Don't even attempt the hair of trying to link an X program! |
4757 | # Don't even attempt the hair of trying to link an X program! |
5136 | for ac_extension in a so sl; do |
4758 | for ac_extension in a so sl dylib la dll; do |
5137 | if test -r "$ac_dir/libX11.$ac_extension"; then |
4759 | if test -r "$ac_dir/libX11.$ac_extension"; then |
5138 | ac_x_libraries=$ac_dir |
4760 | ac_x_libraries=$ac_dir |
5139 | break 2 |
4761 | break 2 |
5140 | fi |
4762 | fi |
5141 | done |
4763 | done |
5142 | done |
4764 | done |
5143 | fi |
4765 | fi |
5144 | |
|
|
5145 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
4766 | rm -f core conftest.err conftest.$ac_objext \ |
5146 | conftest$ac_exeext conftest.$ac_ext |
4767 | conftest$ac_exeext conftest.$ac_ext |
5147 | fi # $ac_x_libraries = no |
4768 | fi # $ac_x_libraries = no |
5148 | |
4769 | |
5149 | case $ac_x_includes,$ac_x_libraries in #( |
4770 | case $ac_x_includes,$ac_x_libraries in #( |
5150 | no,* | *,no | *\'*) |
4771 | no,* | *,no | *\'*) |
5151 | # Didn't find X, or a directory has "'" in its name. |
4772 | # Didn't find X, or a directory has "'" in its name. |
… | |
… | |
5162 | esac |
4783 | esac |
5163 | eval "$ac_cv_have_x" |
4784 | eval "$ac_cv_have_x" |
5164 | fi # $with_x != no |
4785 | fi # $with_x != no |
5165 | |
4786 | |
5166 | if test "$have_x" != yes; then |
4787 | if test "$have_x" != yes; then |
5167 | { echo "$as_me:$LINENO: result: $have_x" >&5 |
4788 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5 |
5168 | echo "${ECHO_T}$have_x" >&6; } |
4789 | $as_echo "$have_x" >&6; } |
5169 | no_x=yes |
4790 | no_x=yes |
5170 | else |
4791 | else |
5171 | # If each of the values was on the command line, it overrides each guess. |
4792 | # If each of the values was on the command line, it overrides each guess. |
5172 | test "x$x_includes" = xNONE && x_includes=$ac_x_includes |
4793 | test "x$x_includes" = xNONE && x_includes=$ac_x_includes |
5173 | test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries |
4794 | test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries |
5174 | # Update the cache value to reflect the command line values. |
4795 | # Update the cache value to reflect the command line values. |
5175 | ac_cv_have_x="have_x=yes\ |
4796 | ac_cv_have_x="have_x=yes\ |
5176 | ac_x_includes='$x_includes'\ |
4797 | ac_x_includes='$x_includes'\ |
5177 | ac_x_libraries='$x_libraries'" |
4798 | ac_x_libraries='$x_libraries'" |
5178 | { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5 |
4799 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5 |
5179 | echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; } |
4800 | $as_echo "libraries $x_libraries, headers $x_includes" >&6; } |
5180 | fi |
4801 | fi |
5181 | |
4802 | |
5182 | CPPFLAGS="$CPPFLAGS -I$x_includes" |
4803 | CPPFLAGS="$CPPFLAGS" |
5183 | LIBS="$LIBS -L$x_libraries -lX11" |
4804 | LIBS="$LIBS -lX11" |
5184 | { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5 |
4805 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5 |
5185 | echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; } |
4806 | $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; } |
5186 | if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then |
4807 | if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then : |
5187 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4808 | $as_echo_n "(cached) " >&6 |
5188 | else |
4809 | else |
5189 | ac_check_lib_save_LIBS=$LIBS |
4810 | ac_check_lib_save_LIBS=$LIBS |
5190 | LIBS="-lXext $LIBS" |
4811 | LIBS="-lXext $LIBS" |
5191 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5192 | /* confdefs.h. */ |
|
|
5193 | _ACEOF |
|
|
5194 | cat confdefs.h >>conftest.$ac_ext |
4812 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5195 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5196 | /* end confdefs.h. */ |
4813 | /* end confdefs.h. */ |
5197 | |
4814 | |
5198 | /* Override any GCC internal prototype to avoid an error. |
4815 | /* Override any GCC internal prototype to avoid an error. |
5199 | Use char because int might match the return type of a GCC |
4816 | Use char because int might match the return type of a GCC |
5200 | builtin and then its argument prototype would still apply. */ |
4817 | builtin and then its argument prototype would still apply. */ |
… | |
… | |
5208 | return XShapeQueryExtension (); |
4825 | return XShapeQueryExtension (); |
5209 | ; |
4826 | ; |
5210 | return 0; |
4827 | return 0; |
5211 | } |
4828 | } |
5212 | _ACEOF |
4829 | _ACEOF |
5213 | rm -f conftest.$ac_objext conftest$ac_exeext |
4830 | if ac_fn_cxx_try_link "$LINENO"; then : |
5214 | if { (ac_try="$ac_link" |
|
|
5215 | case "(($ac_try" in |
|
|
5216 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5217 | *) ac_try_echo=$ac_try;; |
|
|
5218 | esac |
|
|
5219 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5220 | (eval "$ac_link") 2>conftest.er1 |
|
|
5221 | ac_status=$? |
|
|
5222 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5223 | rm -f conftest.er1 |
|
|
5224 | cat conftest.err >&5 |
|
|
5225 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5226 | (exit $ac_status); } && { |
|
|
5227 | test -z "$ac_cxx_werror_flag" || |
|
|
5228 | test ! -s conftest.err |
|
|
5229 | } && test -s conftest$ac_exeext && |
|
|
5230 | $as_test_x conftest$ac_exeext; then |
|
|
5231 | ac_cv_lib_Xext_XShapeQueryExtension=yes |
4831 | ac_cv_lib_Xext_XShapeQueryExtension=yes |
5232 | else |
4832 | else |
5233 | echo "$as_me: failed program was:" >&5 |
|
|
5234 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5235 | |
|
|
5236 | ac_cv_lib_Xext_XShapeQueryExtension=no |
4833 | ac_cv_lib_Xext_XShapeQueryExtension=no |
5237 | fi |
4834 | fi |
5238 | |
|
|
5239 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
4835 | rm -f core conftest.err conftest.$ac_objext \ |
5240 | conftest$ac_exeext conftest.$ac_ext |
4836 | conftest$ac_exeext conftest.$ac_ext |
5241 | LIBS=$ac_check_lib_save_LIBS |
4837 | LIBS=$ac_check_lib_save_LIBS |
5242 | fi |
4838 | fi |
5243 | { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5 |
4839 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5 |
5244 | echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; } |
4840 | $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; } |
5245 | if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then |
4841 | if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then : |
5246 | |
4842 | |
5247 | LIBS="$LIBS -lXext" |
4843 | LIBS="$LIBS -lXext" |
5248 | { echo "$as_me:$LINENO: checking for glBegin in -lGL" >&5 |
4844 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glBegin in -lGL" >&5 |
5249 | echo $ECHO_N "checking for glBegin in -lGL... $ECHO_C" >&6; } |
4845 | $as_echo_n "checking for glBegin in -lGL... " >&6; } |
5250 | if test "${ac_cv_lib_GL_glBegin+set}" = set; then |
4846 | if ${ac_cv_lib_GL_glBegin+:} false; then : |
5251 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4847 | $as_echo_n "(cached) " >&6 |
5252 | else |
4848 | else |
5253 | ac_check_lib_save_LIBS=$LIBS |
4849 | ac_check_lib_save_LIBS=$LIBS |
5254 | LIBS="-lGL $LIBS -lpthread $LIBS" |
4850 | LIBS="-lGL $LIBS -lpthread $LIBS" |
5255 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5256 | /* confdefs.h. */ |
|
|
5257 | _ACEOF |
|
|
5258 | cat confdefs.h >>conftest.$ac_ext |
4851 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5259 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5260 | /* end confdefs.h. */ |
4852 | /* end confdefs.h. */ |
5261 | |
4853 | |
5262 | /* Override any GCC internal prototype to avoid an error. |
4854 | /* Override any GCC internal prototype to avoid an error. |
5263 | Use char because int might match the return type of a GCC |
4855 | Use char because int might match the return type of a GCC |
5264 | builtin and then its argument prototype would still apply. */ |
4856 | builtin and then its argument prototype would still apply. */ |
… | |
… | |
5272 | return glBegin (); |
4864 | return glBegin (); |
5273 | ; |
4865 | ; |
5274 | return 0; |
4866 | return 0; |
5275 | } |
4867 | } |
5276 | _ACEOF |
4868 | _ACEOF |
5277 | rm -f conftest.$ac_objext conftest$ac_exeext |
4869 | if ac_fn_cxx_try_link "$LINENO"; then : |
5278 | if { (ac_try="$ac_link" |
|
|
5279 | case "(($ac_try" in |
|
|
5280 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5281 | *) ac_try_echo=$ac_try;; |
|
|
5282 | esac |
|
|
5283 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5284 | (eval "$ac_link") 2>conftest.er1 |
|
|
5285 | ac_status=$? |
|
|
5286 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5287 | rm -f conftest.er1 |
|
|
5288 | cat conftest.err >&5 |
|
|
5289 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5290 | (exit $ac_status); } && { |
|
|
5291 | test -z "$ac_cxx_werror_flag" || |
|
|
5292 | test ! -s conftest.err |
|
|
5293 | } && test -s conftest$ac_exeext && |
|
|
5294 | $as_test_x conftest$ac_exeext; then |
|
|
5295 | ac_cv_lib_GL_glBegin=yes |
4870 | ac_cv_lib_GL_glBegin=yes |
5296 | else |
4871 | else |
5297 | echo "$as_me: failed program was:" >&5 |
|
|
5298 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5299 | |
|
|
5300 | ac_cv_lib_GL_glBegin=no |
4872 | ac_cv_lib_GL_glBegin=no |
5301 | fi |
4873 | fi |
5302 | |
|
|
5303 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
4874 | rm -f core conftest.err conftest.$ac_objext \ |
5304 | conftest$ac_exeext conftest.$ac_ext |
4875 | conftest$ac_exeext conftest.$ac_ext |
5305 | LIBS=$ac_check_lib_save_LIBS |
4876 | LIBS=$ac_check_lib_save_LIBS |
5306 | fi |
4877 | fi |
5307 | { echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glBegin" >&5 |
4878 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_glBegin" >&5 |
5308 | echo "${ECHO_T}$ac_cv_lib_GL_glBegin" >&6; } |
4879 | $as_echo "$ac_cv_lib_GL_glBegin" >&6; } |
5309 | if test $ac_cv_lib_GL_glBegin = yes; then |
4880 | if test "x$ac_cv_lib_GL_glBegin" = xyes; then : |
5310 | |
4881 | |
5311 | { echo "$as_me:$LINENO: checking for gluCylinder in -lGLU" >&5 |
4882 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluCylinder in -lGLU" >&5 |
5312 | echo $ECHO_N "checking for gluCylinder in -lGLU... $ECHO_C" >&6; } |
4883 | $as_echo_n "checking for gluCylinder in -lGLU... " >&6; } |
5313 | if test "${ac_cv_lib_GLU_gluCylinder+set}" = set; then |
4884 | if ${ac_cv_lib_GLU_gluCylinder+:} false; then : |
5314 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4885 | $as_echo_n "(cached) " >&6 |
5315 | else |
4886 | else |
5316 | ac_check_lib_save_LIBS=$LIBS |
4887 | ac_check_lib_save_LIBS=$LIBS |
5317 | LIBS="-lGLU $LIBS -lGL -lpthread $LIBS" |
4888 | LIBS="-lGLU $LIBS -lGL -lpthread $LIBS" |
5318 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5319 | /* confdefs.h. */ |
|
|
5320 | _ACEOF |
|
|
5321 | cat confdefs.h >>conftest.$ac_ext |
4889 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5322 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5323 | /* end confdefs.h. */ |
4890 | /* end confdefs.h. */ |
5324 | |
4891 | |
5325 | /* Override any GCC internal prototype to avoid an error. |
4892 | /* Override any GCC internal prototype to avoid an error. |
5326 | Use char because int might match the return type of a GCC |
4893 | Use char because int might match the return type of a GCC |
5327 | builtin and then its argument prototype would still apply. */ |
4894 | builtin and then its argument prototype would still apply. */ |
… | |
… | |
5335 | return gluCylinder (); |
4902 | return gluCylinder (); |
5336 | ; |
4903 | ; |
5337 | return 0; |
4904 | return 0; |
5338 | } |
4905 | } |
5339 | _ACEOF |
4906 | _ACEOF |
5340 | rm -f conftest.$ac_objext conftest$ac_exeext |
4907 | if ac_fn_cxx_try_link "$LINENO"; then : |
5341 | if { (ac_try="$ac_link" |
|
|
5342 | case "(($ac_try" in |
|
|
5343 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5344 | *) ac_try_echo=$ac_try;; |
|
|
5345 | esac |
|
|
5346 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5347 | (eval "$ac_link") 2>conftest.er1 |
|
|
5348 | ac_status=$? |
|
|
5349 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5350 | rm -f conftest.er1 |
|
|
5351 | cat conftest.err >&5 |
|
|
5352 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5353 | (exit $ac_status); } && { |
|
|
5354 | test -z "$ac_cxx_werror_flag" || |
|
|
5355 | test ! -s conftest.err |
|
|
5356 | } && test -s conftest$ac_exeext && |
|
|
5357 | $as_test_x conftest$ac_exeext; then |
|
|
5358 | ac_cv_lib_GLU_gluCylinder=yes |
4908 | ac_cv_lib_GLU_gluCylinder=yes |
5359 | else |
4909 | else |
5360 | echo "$as_me: failed program was:" >&5 |
|
|
5361 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5362 | |
|
|
5363 | ac_cv_lib_GLU_gluCylinder=no |
4910 | ac_cv_lib_GLU_gluCylinder=no |
5364 | fi |
4911 | fi |
5365 | |
|
|
5366 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
4912 | rm -f core conftest.err conftest.$ac_objext \ |
5367 | conftest$ac_exeext conftest.$ac_ext |
4913 | conftest$ac_exeext conftest.$ac_ext |
5368 | LIBS=$ac_check_lib_save_LIBS |
4914 | LIBS=$ac_check_lib_save_LIBS |
5369 | fi |
4915 | fi |
5370 | { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluCylinder" >&5 |
4916 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluCylinder" >&5 |
5371 | echo "${ECHO_T}$ac_cv_lib_GLU_gluCylinder" >&6; } |
4917 | $as_echo "$ac_cv_lib_GLU_gluCylinder" >&6; } |
5372 | if test $ac_cv_lib_GLU_gluCylinder = yes; then |
4918 | if test "x$ac_cv_lib_GLU_gluCylinder" = xyes; then : |
5373 | |
4919 | |
5374 | LIBS="$LIBS -lGL -lGLU -lpthread" |
4920 | LIBS="$LIBS -lGL -lGLU -lpthread" |
5375 | have_gl=1 |
4921 | have_gl=1 |
5376 | |
4922 | |
5377 | fi |
4923 | fi |
5378 | |
4924 | |
5379 | |
4925 | |
5380 | fi |
4926 | fi |
5381 | |
4927 | |
5382 | { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5 |
4928 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5 |
5383 | echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; } |
4929 | $as_echo_n "checking for pthread_create in -lpthread... " >&6; } |
5384 | if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then |
4930 | if ${ac_cv_lib_pthread_pthread_create+:} false; then : |
5385 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4931 | $as_echo_n "(cached) " >&6 |
5386 | else |
4932 | else |
5387 | ac_check_lib_save_LIBS=$LIBS |
4933 | ac_check_lib_save_LIBS=$LIBS |
5388 | LIBS="-lpthread $LIBS" |
4934 | LIBS="-lpthread $LIBS" |
5389 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5390 | /* confdefs.h. */ |
|
|
5391 | _ACEOF |
|
|
5392 | cat confdefs.h >>conftest.$ac_ext |
4935 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5393 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5394 | /* end confdefs.h. */ |
4936 | /* end confdefs.h. */ |
5395 | |
4937 | |
5396 | /* Override any GCC internal prototype to avoid an error. |
4938 | /* Override any GCC internal prototype to avoid an error. |
5397 | Use char because int might match the return type of a GCC |
4939 | Use char because int might match the return type of a GCC |
5398 | builtin and then its argument prototype would still apply. */ |
4940 | builtin and then its argument prototype would still apply. */ |
… | |
… | |
5406 | return pthread_create (); |
4948 | return pthread_create (); |
5407 | ; |
4949 | ; |
5408 | return 0; |
4950 | return 0; |
5409 | } |
4951 | } |
5410 | _ACEOF |
4952 | _ACEOF |
5411 | rm -f conftest.$ac_objext conftest$ac_exeext |
4953 | if ac_fn_cxx_try_link "$LINENO"; then : |
5412 | if { (ac_try="$ac_link" |
|
|
5413 | case "(($ac_try" in |
|
|
5414 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5415 | *) ac_try_echo=$ac_try;; |
|
|
5416 | esac |
|
|
5417 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5418 | (eval "$ac_link") 2>conftest.er1 |
|
|
5419 | ac_status=$? |
|
|
5420 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5421 | rm -f conftest.er1 |
|
|
5422 | cat conftest.err >&5 |
|
|
5423 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5424 | (exit $ac_status); } && { |
|
|
5425 | test -z "$ac_cxx_werror_flag" || |
|
|
5426 | test ! -s conftest.err |
|
|
5427 | } && test -s conftest$ac_exeext && |
|
|
5428 | $as_test_x conftest$ac_exeext; then |
|
|
5429 | ac_cv_lib_pthread_pthread_create=yes |
4954 | ac_cv_lib_pthread_pthread_create=yes |
5430 | else |
4955 | else |
5431 | echo "$as_me: failed program was:" >&5 |
|
|
5432 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5433 | |
|
|
5434 | ac_cv_lib_pthread_pthread_create=no |
4956 | ac_cv_lib_pthread_pthread_create=no |
5435 | fi |
4957 | fi |
5436 | |
|
|
5437 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
4958 | rm -f core conftest.err conftest.$ac_objext \ |
5438 | conftest$ac_exeext conftest.$ac_ext |
4959 | conftest$ac_exeext conftest.$ac_ext |
5439 | LIBS=$ac_check_lib_save_LIBS |
4960 | LIBS=$ac_check_lib_save_LIBS |
5440 | fi |
4961 | fi |
5441 | { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5 |
4962 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5 |
5442 | echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; } |
4963 | $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; } |
5443 | if test $ac_cv_lib_pthread_pthread_create = yes; then |
4964 | if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then : |
5444 | PTHREAD=-lpthread |
4965 | PTHREAD=-lpthread |
5445 | fi |
4966 | fi |
5446 | |
4967 | |
5447 | if test -z "$have_gl" ; then |
4968 | if test -z "$have_gl" ; then |
5448 | { echo "$as_me:$LINENO: checking for glBegin in -lMesaGL" >&5 |
4969 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glBegin in -lMesaGL" >&5 |
5449 | echo $ECHO_N "checking for glBegin in -lMesaGL... $ECHO_C" >&6; } |
4970 | $as_echo_n "checking for glBegin in -lMesaGL... " >&6; } |
5450 | if test "${ac_cv_lib_MesaGL_glBegin+set}" = set; then |
4971 | if ${ac_cv_lib_MesaGL_glBegin+:} false; then : |
5451 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4972 | $as_echo_n "(cached) " >&6 |
5452 | else |
4973 | else |
5453 | ac_check_lib_save_LIBS=$LIBS |
4974 | ac_check_lib_save_LIBS=$LIBS |
5454 | LIBS="-lMesaGL $PTHREAD $LIBS" |
4975 | LIBS="-lMesaGL $PTHREAD $LIBS" |
5455 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5456 | /* confdefs.h. */ |
|
|
5457 | _ACEOF |
|
|
5458 | cat confdefs.h >>conftest.$ac_ext |
4976 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5459 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5460 | /* end confdefs.h. */ |
4977 | /* end confdefs.h. */ |
5461 | |
4978 | |
5462 | /* Override any GCC internal prototype to avoid an error. |
4979 | /* Override any GCC internal prototype to avoid an error. |
5463 | Use char because int might match the return type of a GCC |
4980 | Use char because int might match the return type of a GCC |
5464 | builtin and then its argument prototype would still apply. */ |
4981 | builtin and then its argument prototype would still apply. */ |
… | |
… | |
5472 | return glBegin (); |
4989 | return glBegin (); |
5473 | ; |
4990 | ; |
5474 | return 0; |
4991 | return 0; |
5475 | } |
4992 | } |
5476 | _ACEOF |
4993 | _ACEOF |
5477 | rm -f conftest.$ac_objext conftest$ac_exeext |
4994 | if ac_fn_cxx_try_link "$LINENO"; then : |
5478 | if { (ac_try="$ac_link" |
|
|
5479 | case "(($ac_try" in |
|
|
5480 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5481 | *) ac_try_echo=$ac_try;; |
|
|
5482 | esac |
|
|
5483 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5484 | (eval "$ac_link") 2>conftest.er1 |
|
|
5485 | ac_status=$? |
|
|
5486 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5487 | rm -f conftest.er1 |
|
|
5488 | cat conftest.err >&5 |
|
|
5489 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5490 | (exit $ac_status); } && { |
|
|
5491 | test -z "$ac_cxx_werror_flag" || |
|
|
5492 | test ! -s conftest.err |
|
|
5493 | } && test -s conftest$ac_exeext && |
|
|
5494 | $as_test_x conftest$ac_exeext; then |
|
|
5495 | ac_cv_lib_MesaGL_glBegin=yes |
4995 | ac_cv_lib_MesaGL_glBegin=yes |
5496 | else |
4996 | else |
5497 | echo "$as_me: failed program was:" >&5 |
|
|
5498 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5499 | |
|
|
5500 | ac_cv_lib_MesaGL_glBegin=no |
4997 | ac_cv_lib_MesaGL_glBegin=no |
5501 | fi |
4998 | fi |
5502 | |
|
|
5503 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
4999 | rm -f core conftest.err conftest.$ac_objext \ |
5504 | conftest$ac_exeext conftest.$ac_ext |
5000 | conftest$ac_exeext conftest.$ac_ext |
5505 | LIBS=$ac_check_lib_save_LIBS |
5001 | LIBS=$ac_check_lib_save_LIBS |
5506 | fi |
5002 | fi |
5507 | { echo "$as_me:$LINENO: result: $ac_cv_lib_MesaGL_glBegin" >&5 |
5003 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_MesaGL_glBegin" >&5 |
5508 | echo "${ECHO_T}$ac_cv_lib_MesaGL_glBegin" >&6; } |
5004 | $as_echo "$ac_cv_lib_MesaGL_glBegin" >&6; } |
5509 | if test $ac_cv_lib_MesaGL_glBegin = yes; then |
5005 | if test "x$ac_cv_lib_MesaGL_glBegin" = xyes; then : |
5510 | |
5006 | |
5511 | { echo "$as_me:$LINENO: checking for gluCylinder in -lMesaGLU" >&5 |
5007 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluCylinder in -lMesaGLU" >&5 |
5512 | echo $ECHO_N "checking for gluCylinder in -lMesaGLU... $ECHO_C" >&6; } |
5008 | $as_echo_n "checking for gluCylinder in -lMesaGLU... " >&6; } |
5513 | if test "${ac_cv_lib_MesaGLU_gluCylinder+set}" = set; then |
5009 | if ${ac_cv_lib_MesaGLU_gluCylinder+:} false; then : |
5514 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5010 | $as_echo_n "(cached) " >&6 |
5515 | else |
5011 | else |
5516 | ac_check_lib_save_LIBS=$LIBS |
5012 | ac_check_lib_save_LIBS=$LIBS |
5517 | LIBS="-lMesaGLU -lMesaGL $PTHREAD $LIBS" |
5013 | LIBS="-lMesaGLU -lMesaGL $PTHREAD $LIBS" |
5518 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5519 | /* confdefs.h. */ |
|
|
5520 | _ACEOF |
|
|
5521 | cat confdefs.h >>conftest.$ac_ext |
5014 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5522 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5523 | /* end confdefs.h. */ |
5015 | /* end confdefs.h. */ |
5524 | |
5016 | |
5525 | /* Override any GCC internal prototype to avoid an error. |
5017 | /* Override any GCC internal prototype to avoid an error. |
5526 | Use char because int might match the return type of a GCC |
5018 | Use char because int might match the return type of a GCC |
5527 | builtin and then its argument prototype would still apply. */ |
5019 | builtin and then its argument prototype would still apply. */ |
… | |
… | |
5535 | return gluCylinder (); |
5027 | return gluCylinder (); |
5536 | ; |
5028 | ; |
5537 | return 0; |
5029 | return 0; |
5538 | } |
5030 | } |
5539 | _ACEOF |
5031 | _ACEOF |
5540 | rm -f conftest.$ac_objext conftest$ac_exeext |
5032 | if ac_fn_cxx_try_link "$LINENO"; then : |
5541 | if { (ac_try="$ac_link" |
|
|
5542 | case "(($ac_try" in |
|
|
5543 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5544 | *) ac_try_echo=$ac_try;; |
|
|
5545 | esac |
|
|
5546 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5547 | (eval "$ac_link") 2>conftest.er1 |
|
|
5548 | ac_status=$? |
|
|
5549 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5550 | rm -f conftest.er1 |
|
|
5551 | cat conftest.err >&5 |
|
|
5552 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5553 | (exit $ac_status); } && { |
|
|
5554 | test -z "$ac_cxx_werror_flag" || |
|
|
5555 | test ! -s conftest.err |
|
|
5556 | } && test -s conftest$ac_exeext && |
|
|
5557 | $as_test_x conftest$ac_exeext; then |
|
|
5558 | ac_cv_lib_MesaGLU_gluCylinder=yes |
5033 | ac_cv_lib_MesaGLU_gluCylinder=yes |
5559 | else |
5034 | else |
5560 | echo "$as_me: failed program was:" >&5 |
|
|
5561 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5562 | |
|
|
5563 | ac_cv_lib_MesaGLU_gluCylinder=no |
5035 | ac_cv_lib_MesaGLU_gluCylinder=no |
5564 | fi |
5036 | fi |
5565 | |
|
|
5566 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
5037 | rm -f core conftest.err conftest.$ac_objext \ |
5567 | conftest$ac_exeext conftest.$ac_ext |
5038 | conftest$ac_exeext conftest.$ac_ext |
5568 | LIBS=$ac_check_lib_save_LIBS |
5039 | LIBS=$ac_check_lib_save_LIBS |
5569 | fi |
5040 | fi |
5570 | { echo "$as_me:$LINENO: result: $ac_cv_lib_MesaGLU_gluCylinder" >&5 |
5041 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_MesaGLU_gluCylinder" >&5 |
5571 | echo "${ECHO_T}$ac_cv_lib_MesaGLU_gluCylinder" >&6; } |
5042 | $as_echo "$ac_cv_lib_MesaGLU_gluCylinder" >&6; } |
5572 | if test $ac_cv_lib_MesaGLU_gluCylinder = yes; then |
5043 | if test "x$ac_cv_lib_MesaGLU_gluCylinder" = xyes; then : |
5573 | |
5044 | |
5574 | LIBS="$LIBS -lMesaGL -lMesaGLU" |
5045 | LIBS="$LIBS -lMesaGL -lMesaGLU" |
5575 | have_gl=1 |
5046 | have_gl=1 |
5576 | if test -n "$PTHREAD" ; then |
5047 | if test -n "$PTHREAD" ; then |
5577 | { echo "$as_me:$LINENO: checking wether mesa requires $PTHREAD" >&5 |
5048 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking wether mesa requires $PTHREAD" >&5 |
5578 | echo $ECHO_N "checking wether mesa requires $PTHREAD... $ECHO_C" >&6; } |
5049 | $as_echo_n "checking wether mesa requires $PTHREAD... " >&6; } |
5579 | cat >conftest.$ac_ext <<_ACEOF |
5050 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5580 | /* confdefs.h. */ |
|
|
5581 | _ACEOF |
|
|
5582 | cat confdefs.h >>conftest.$ac_ext |
|
|
5583 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5584 | /* end confdefs.h. */ |
5051 | /* end confdefs.h. */ |
5585 | |
5052 | |
5586 | int |
5053 | int |
5587 | main () |
5054 | main () |
5588 | { |
5055 | { |
5589 | glBegin() |
5056 | glBegin() |
5590 | ; |
5057 | ; |
5591 | return 0; |
5058 | return 0; |
5592 | } |
5059 | } |
5593 | _ACEOF |
5060 | _ACEOF |
5594 | rm -f conftest.$ac_objext conftest$ac_exeext |
5061 | if ac_fn_cxx_try_link "$LINENO"; then : |
5595 | if { (ac_try="$ac_link" |
|
|
5596 | case "(($ac_try" in |
|
|
5597 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5598 | *) ac_try_echo=$ac_try;; |
|
|
5599 | esac |
|
|
5600 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5601 | (eval "$ac_link") 2>conftest.er1 |
|
|
5602 | ac_status=$? |
|
|
5603 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5604 | rm -f conftest.er1 |
|
|
5605 | cat conftest.err >&5 |
|
|
5606 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5607 | (exit $ac_status); } && { |
|
|
5608 | test -z "$ac_cxx_werror_flag" || |
|
|
5609 | test ! -s conftest.err |
|
|
5610 | } && test -s conftest$ac_exeext && |
|
|
5611 | $as_test_x conftest$ac_exeext; then |
|
|
5612 | { echo "$as_me:$LINENO: result: no" >&5 |
5062 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
5613 | echo "${ECHO_T}no" >&6; } |
5063 | $as_echo "no" >&6; } |
5614 | else |
5064 | else |
5615 | echo "$as_me: failed program was:" >&5 |
|
|
5616 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5617 | |
|
|
5618 | { echo "$as_me:$LINENO: result: yes" >&5 |
5065 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
5619 | echo "${ECHO_T}yes" >&6; } |
5066 | $as_echo "yes" >&6; } |
5620 | LIBS="$LIBS $PTHREAD" |
5067 | LIBS="$LIBS $PTHREAD" |
5621 | fi |
5068 | fi |
5622 | |
|
|
5623 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
5069 | rm -f core conftest.err conftest.$ac_objext \ |
5624 | conftest$ac_exeext conftest.$ac_ext |
5070 | conftest$ac_exeext conftest.$ac_ext |
5625 | fi |
5071 | fi |
5626 | |
5072 | |
5627 | fi |
5073 | fi |
5628 | |
5074 | |
5629 | |
5075 | |
… | |
… | |
5642 | fi |
5088 | fi |
5643 | |
5089 | |
5644 | done |
5090 | done |
5645 | |
5091 | |
5646 | |
5092 | |
5647 | { echo "$as_me:$LINENO: checking for opengl support" >&5 |
5093 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for opengl support" >&5 |
5648 | echo $ECHO_N "checking for opengl support... $ECHO_C" >&6; } |
5094 | $as_echo_n "checking for opengl support... " >&6; } |
5649 | if test -n "$have_gl" ; then |
5095 | if test -n "$have_gl" ; then |
5650 | { echo "$as_me:$LINENO: result: yes" >&5 |
5096 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
5651 | echo "${ECHO_T}yes" >&6; } |
5097 | $as_echo "yes" >&6; } |
5652 | |
5098 | |
5653 | cat >>confdefs.h <<\_ACEOF |
5099 | $as_echo "#define HAVE_OPENGL 1" >>confdefs.h |
5654 | #define HAVE_OPENGL 1 |
|
|
5655 | _ACEOF |
|
|
5656 | |
5100 | |
5657 | else |
5101 | else |
5658 | { echo "$as_me:$LINENO: result: no" >&5 |
5102 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
5659 | echo "${ECHO_T}no" >&6; } |
5103 | $as_echo "no" >&6; } |
5660 | fi |
5104 | fi |
5661 | |
|
|
5662 | |
|
|
5663 | |
|
|
5664 | |
|
|
5665 | |
|
|
5666 | |
|
|
5667 | |
|
|
5668 | |
5105 | |
5669 | for ac_header in vector algorithm queue map string cstring cmath |
5106 | for ac_header in vector algorithm queue map string cstring cmath |
5670 | do |
5107 | do : |
5671 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
5108 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
5672 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
5109 | ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
5673 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
5110 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
5674 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
|
|
5675 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
|
|
5676 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
5677 | fi |
|
|
5678 | ac_res=`eval echo '${'$as_ac_Header'}'` |
|
|
5679 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
|
5680 | echo "${ECHO_T}$ac_res" >&6; } |
|
|
5681 | else |
|
|
5682 | # Is the header compilable? |
|
|
5683 | { echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
|
|
5684 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
|
|
5685 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5686 | /* confdefs.h. */ |
|
|
5687 | _ACEOF |
|
|
5688 | cat confdefs.h >>conftest.$ac_ext |
|
|
5689 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5690 | /* end confdefs.h. */ |
|
|
5691 | $ac_includes_default |
|
|
5692 | #include <$ac_header> |
|
|
5693 | _ACEOF |
|
|
5694 | rm -f conftest.$ac_objext |
|
|
5695 | if { (ac_try="$ac_compile" |
|
|
5696 | case "(($ac_try" in |
|
|
5697 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5698 | *) ac_try_echo=$ac_try;; |
|
|
5699 | esac |
|
|
5700 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5701 | (eval "$ac_compile") 2>conftest.er1 |
|
|
5702 | ac_status=$? |
|
|
5703 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5704 | rm -f conftest.er1 |
|
|
5705 | cat conftest.err >&5 |
|
|
5706 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5707 | (exit $ac_status); } && { |
|
|
5708 | test -z "$ac_cxx_werror_flag" || |
|
|
5709 | test ! -s conftest.err |
|
|
5710 | } && test -s conftest.$ac_objext; then |
|
|
5711 | ac_header_compiler=yes |
|
|
5712 | else |
|
|
5713 | echo "$as_me: failed program was:" >&5 |
|
|
5714 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5715 | |
|
|
5716 | ac_header_compiler=no |
|
|
5717 | fi |
|
|
5718 | |
|
|
5719 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
5720 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
|
|
5721 | echo "${ECHO_T}$ac_header_compiler" >&6; } |
|
|
5722 | |
|
|
5723 | # Is the header present? |
|
|
5724 | { echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
|
|
5725 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
|
|
5726 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5727 | /* confdefs.h. */ |
|
|
5728 | _ACEOF |
|
|
5729 | cat confdefs.h >>conftest.$ac_ext |
|
|
5730 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5731 | /* end confdefs.h. */ |
|
|
5732 | #include <$ac_header> |
|
|
5733 | _ACEOF |
|
|
5734 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
|
|
5735 | case "(($ac_try" in |
|
|
5736 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5737 | *) ac_try_echo=$ac_try;; |
|
|
5738 | esac |
|
|
5739 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5740 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
|
|
5741 | ac_status=$? |
|
|
5742 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5743 | rm -f conftest.er1 |
|
|
5744 | cat conftest.err >&5 |
|
|
5745 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5746 | (exit $ac_status); } >/dev/null && { |
|
|
5747 | test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
|
|
5748 | test ! -s conftest.err |
|
|
5749 | }; then |
|
|
5750 | ac_header_preproc=yes |
|
|
5751 | else |
|
|
5752 | echo "$as_me: failed program was:" >&5 |
|
|
5753 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5754 | |
|
|
5755 | ac_header_preproc=no |
|
|
5756 | fi |
|
|
5757 | |
|
|
5758 | rm -f conftest.err conftest.$ac_ext |
|
|
5759 | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
|
|
5760 | echo "${ECHO_T}$ac_header_preproc" >&6; } |
|
|
5761 | |
|
|
5762 | # So? What about this header? |
|
|
5763 | case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
|
|
5764 | yes:no: ) |
|
|
5765 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
|
|
5766 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
|
|
5767 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
|
|
5768 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
|
|
5769 | ac_header_preproc=yes |
|
|
5770 | ;; |
|
|
5771 | no:yes:* ) |
|
|
5772 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
|
|
5773 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
|
|
5774 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
|
|
5775 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
|
|
5776 | { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
|
|
5777 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
|
|
5778 | { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
|
|
5779 | echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
|
|
5780 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
|
|
5781 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
|
|
5782 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
|
|
5783 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
|
|
5784 | |
|
|
5785 | ;; |
|
|
5786 | esac |
|
|
5787 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
|
|
5788 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
|
|
5789 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
|
|
5790 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
5791 | else |
|
|
5792 | eval "$as_ac_Header=\$ac_header_preproc" |
|
|
5793 | fi |
|
|
5794 | ac_res=`eval echo '${'$as_ac_Header'}'` |
|
|
5795 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
|
5796 | echo "${ECHO_T}$ac_res" >&6; } |
|
|
5797 | |
|
|
5798 | fi |
|
|
5799 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
|
|
5800 | cat >>confdefs.h <<_ACEOF |
5111 | cat >>confdefs.h <<_ACEOF |
5801 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
5112 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
5802 | _ACEOF |
5113 | _ACEOF |
5803 | |
5114 | |
5804 | fi |
5115 | fi |
5805 | |
5116 | |
5806 | done |
5117 | done |
5807 | |
5118 | |
5808 | |
5119 | |
5809 | # Extract the first word of "antlr", so it can be a program name with args. |
5120 | # Extract the first word of "antlr", so it can be a program name with args. |
5810 | set dummy antlr; ac_word=$2 |
5121 | set dummy antlr; ac_word=$2 |
5811 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5122 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
5812 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
5123 | $as_echo_n "checking for $ac_word... " >&6; } |
5813 | if test "${ac_cv_path_ANTLR+set}" = set; then |
5124 | if ${ac_cv_path_ANTLR+:} false; then : |
5814 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5125 | $as_echo_n "(cached) " >&6 |
5815 | else |
5126 | else |
5816 | case $ANTLR in |
5127 | case $ANTLR in |
5817 | [\\/]* | ?:[\\/]*) |
5128 | [\\/]* | ?:[\\/]*) |
5818 | ac_cv_path_ANTLR="$ANTLR" # Let the user override the test with a path. |
5129 | ac_cv_path_ANTLR="$ANTLR" # Let the user override the test with a path. |
5819 | ;; |
5130 | ;; |
… | |
… | |
5821 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
5132 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
5822 | for as_dir in $PATH |
5133 | for as_dir in $PATH |
5823 | do |
5134 | do |
5824 | IFS=$as_save_IFS |
5135 | IFS=$as_save_IFS |
5825 | test -z "$as_dir" && as_dir=. |
5136 | test -z "$as_dir" && as_dir=. |
5826 | for ac_exec_ext in '' $ac_executable_extensions; do |
5137 | for ac_exec_ext in '' $ac_executable_extensions; do |
5827 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
5138 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
5828 | ac_cv_path_ANTLR="$as_dir/$ac_word$ac_exec_ext" |
5139 | ac_cv_path_ANTLR="$as_dir/$ac_word$ac_exec_ext" |
5829 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5140 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5830 | break 2 |
5141 | break 2 |
5831 | fi |
5142 | fi |
5832 | done |
5143 | done |
5833 | done |
5144 | done |
5834 | IFS=$as_save_IFS |
5145 | IFS=$as_save_IFS |
5835 | |
5146 | |
5836 | ;; |
5147 | ;; |
5837 | esac |
5148 | esac |
5838 | fi |
5149 | fi |
5839 | ANTLR=$ac_cv_path_ANTLR |
5150 | ANTLR=$ac_cv_path_ANTLR |
5840 | if test -n "$ANTLR"; then |
5151 | if test -n "$ANTLR"; then |
5841 | { echo "$as_me:$LINENO: result: $ANTLR" >&5 |
5152 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ANTLR" >&5 |
5842 | echo "${ECHO_T}$ANTLR" >&6; } |
5153 | $as_echo "$ANTLR" >&6; } |
5843 | else |
5154 | else |
5844 | { echo "$as_me:$LINENO: result: no" >&5 |
5155 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
5845 | echo "${ECHO_T}no" >&6; } |
5156 | $as_echo "no" >&6; } |
5846 | fi |
5157 | fi |
5847 | |
5158 | |
5848 | |
5159 | |
5849 | if test -n "$ANTLR" ; then |
5160 | if test -n "$ANTLR" ; then |
5850 | { echo "$as_me:$LINENO: checking antlr version" >&5 |
5161 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking antlr version" >&5 |
5851 | echo $ECHO_N "checking antlr version... $ECHO_C" >&6; } |
5162 | $as_echo_n "checking antlr version... " >&6; } |
5852 | ANTLR_VER=`$ANTLR 2>&1 | grep Version | sed -e 's/^.*Version \\([0-9MR.]\\+\\) .*$/\1/'` |
5163 | ANTLR_VER=`$ANTLR 2>&1 | grep Version | sed -e 's/^.*Version \\([0-9MR.]\\+\\) .*$/\1/'` |
5853 | if test "$ANTLR_VER" = "1.33MR33" ; then |
5164 | if test "$ANTLR_VER" = "1.33MR33" ; then |
5854 | { echo "$as_me:$LINENO: result: $ANTLR_VER, ok" >&5 |
5165 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ANTLR_VER, ok" >&5 |
5855 | echo "${ECHO_T}$ANTLR_VER, ok" >&6; } |
5166 | $as_echo "$ANTLR_VER, ok" >&6; } |
5856 | # Extract the first word of "dlg", so it can be a program name with args. |
5167 | # Extract the first word of "dlg", so it can be a program name with args. |
5857 | set dummy dlg; ac_word=$2 |
5168 | set dummy dlg; ac_word=$2 |
5858 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5169 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
5859 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
5170 | $as_echo_n "checking for $ac_word... " >&6; } |
5860 | if test "${ac_cv_path_DLG+set}" = set; then |
5171 | if ${ac_cv_path_DLG+:} false; then : |
5861 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5172 | $as_echo_n "(cached) " >&6 |
5862 | else |
5173 | else |
5863 | case $DLG in |
5174 | case $DLG in |
5864 | [\\/]* | ?:[\\/]*) |
5175 | [\\/]* | ?:[\\/]*) |
5865 | ac_cv_path_DLG="$DLG" # Let the user override the test with a path. |
5176 | ac_cv_path_DLG="$DLG" # Let the user override the test with a path. |
5866 | ;; |
5177 | ;; |
… | |
… | |
5868 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
5179 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
5869 | for as_dir in $PATH |
5180 | for as_dir in $PATH |
5870 | do |
5181 | do |
5871 | IFS=$as_save_IFS |
5182 | IFS=$as_save_IFS |
5872 | test -z "$as_dir" && as_dir=. |
5183 | test -z "$as_dir" && as_dir=. |
5873 | for ac_exec_ext in '' $ac_executable_extensions; do |
5184 | for ac_exec_ext in '' $ac_executable_extensions; do |
5874 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
5185 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
5875 | ac_cv_path_DLG="$as_dir/$ac_word$ac_exec_ext" |
5186 | ac_cv_path_DLG="$as_dir/$ac_word$ac_exec_ext" |
5876 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5187 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5877 | break 2 |
5188 | break 2 |
5878 | fi |
5189 | fi |
5879 | done |
5190 | done |
5880 | done |
5191 | done |
5881 | IFS=$as_save_IFS |
5192 | IFS=$as_save_IFS |
5882 | |
5193 | |
5883 | ;; |
5194 | ;; |
5884 | esac |
5195 | esac |
5885 | fi |
5196 | fi |
5886 | DLG=$ac_cv_path_DLG |
5197 | DLG=$ac_cv_path_DLG |
5887 | if test -n "$DLG"; then |
5198 | if test -n "$DLG"; then |
5888 | { echo "$as_me:$LINENO: result: $DLG" >&5 |
5199 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLG" >&5 |
5889 | echo "${ECHO_T}$DLG" >&6; } |
5200 | $as_echo "$DLG" >&6; } |
5890 | else |
5201 | else |
5891 | { echo "$as_me:$LINENO: result: no" >&5 |
5202 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
5892 | echo "${ECHO_T}no" >&6; } |
5203 | $as_echo "no" >&6; } |
5893 | fi |
5204 | fi |
5894 | |
5205 | |
5895 | |
5206 | |
5896 | if test -n "$DLG" ; then |
5207 | if test -n "$DLG" ; then |
5897 | { echo "$as_me:$LINENO: checking dlg version" >&5 |
5208 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking dlg version" >&5 |
5898 | echo $ECHO_N "checking dlg version... $ECHO_C" >&6; } |
5209 | $as_echo_n "checking dlg version... " >&6; } |
5899 | DLG_VER=`$DLG 2>&1 | grep Version | sed -e 's/^.*Version \([0-9MR.]\+\) .*$/\1/'` |
5210 | DLG_VER=`$DLG 2>&1 | grep Version | sed -e 's/^.*Version \([0-9MR.]\+\) .*$/\1/'` |
5900 | if test "$DLG_VER" = "1.33MR33" ; then |
5211 | if test "$DLG_VER" = "1.33MR33" ; then |
5901 | { echo "$as_me:$LINENO: result: $DLG_VER, ok" >&5 |
5212 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLG_VER, ok" >&5 |
5902 | echo "${ECHO_T}$DLG_VER, ok" >&6; } |
5213 | $as_echo "$DLG_VER, ok" >&6; } |
5903 | HAVE_PCCTS=1 |
5214 | HAVE_PCCTS=1 |
5904 | else |
5215 | else |
5905 | { echo "$as_me:$LINENO: result: $DLG_VER, but need 1.33MR33" >&5 |
5216 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLG_VER, but need 1.33MR33" >&5 |
5906 | echo "${ECHO_T}$DLG_VER, but need 1.33MR33" >&6; } |
5217 | $as_echo "$DLG_VER, but need 1.33MR33" >&6; } |
5907 | fi |
5218 | fi |
5908 | fi |
5219 | fi |
5909 | else |
5220 | else |
5910 | { echo "$as_me:$LINENO: result: $ANTLR_VER, but need 1.33MR33" >&5 |
5221 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ANTLR_VER, but need 1.33MR33" >&5 |
5911 | echo "${ECHO_T}$ANTLR_VER, but need 1.33MR33" >&6; } |
5222 | $as_echo "$ANTLR_VER, but need 1.33MR33" >&6; } |
5912 | fi |
5223 | fi |
5913 | fi |
5224 | fi |
5914 | |
5225 | |
5915 | if test -n "$HAVE_PCCTS"; then |
5226 | if test -n "$HAVE_PCCTS"; then |
5916 | HAVE_PCCTS_TRUE= |
5227 | HAVE_PCCTS_TRUE= |
… | |
… | |
5919 | HAVE_PCCTS_TRUE='#' |
5230 | HAVE_PCCTS_TRUE='#' |
5920 | HAVE_PCCTS_FALSE= |
5231 | HAVE_PCCTS_FALSE= |
5921 | fi |
5232 | fi |
5922 | |
5233 | |
5923 | |
5234 | |
5924 | |
|
|
5925 | for ac_header in getopt.h |
5235 | for ac_header in getopt.h |
5926 | do |
5236 | do : |
5927 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
5237 | ac_fn_cxx_check_header_mongrel "$LINENO" "getopt.h" "ac_cv_header_getopt_h" "$ac_includes_default" |
5928 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
5238 | if test "x$ac_cv_header_getopt_h" = xyes; then : |
5929 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
|
|
5930 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
|
|
5931 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
|
|
5932 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
5933 | fi |
|
|
5934 | ac_res=`eval echo '${'$as_ac_Header'}'` |
|
|
5935 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
|
5936 | echo "${ECHO_T}$ac_res" >&6; } |
|
|
5937 | else |
|
|
5938 | # Is the header compilable? |
|
|
5939 | { echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
|
|
5940 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
|
|
5941 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5942 | /* confdefs.h. */ |
|
|
5943 | _ACEOF |
|
|
5944 | cat confdefs.h >>conftest.$ac_ext |
|
|
5945 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5946 | /* end confdefs.h. */ |
|
|
5947 | $ac_includes_default |
|
|
5948 | #include <$ac_header> |
|
|
5949 | _ACEOF |
|
|
5950 | rm -f conftest.$ac_objext |
|
|
5951 | if { (ac_try="$ac_compile" |
|
|
5952 | case "(($ac_try" in |
|
|
5953 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5954 | *) ac_try_echo=$ac_try;; |
|
|
5955 | esac |
|
|
5956 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5957 | (eval "$ac_compile") 2>conftest.er1 |
|
|
5958 | ac_status=$? |
|
|
5959 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5960 | rm -f conftest.er1 |
|
|
5961 | cat conftest.err >&5 |
|
|
5962 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5963 | (exit $ac_status); } && { |
|
|
5964 | test -z "$ac_cxx_werror_flag" || |
|
|
5965 | test ! -s conftest.err |
|
|
5966 | } && test -s conftest.$ac_objext; then |
|
|
5967 | ac_header_compiler=yes |
|
|
5968 | else |
|
|
5969 | echo "$as_me: failed program was:" >&5 |
|
|
5970 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5971 | |
|
|
5972 | ac_header_compiler=no |
|
|
5973 | fi |
|
|
5974 | |
|
|
5975 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
5976 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
|
|
5977 | echo "${ECHO_T}$ac_header_compiler" >&6; } |
|
|
5978 | |
|
|
5979 | # Is the header present? |
|
|
5980 | { echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
|
|
5981 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
|
|
5982 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5983 | /* confdefs.h. */ |
|
|
5984 | _ACEOF |
|
|
5985 | cat confdefs.h >>conftest.$ac_ext |
|
|
5986 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5987 | /* end confdefs.h. */ |
|
|
5988 | #include <$ac_header> |
|
|
5989 | _ACEOF |
|
|
5990 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
|
|
5991 | case "(($ac_try" in |
|
|
5992 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5993 | *) ac_try_echo=$ac_try;; |
|
|
5994 | esac |
|
|
5995 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5996 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
|
|
5997 | ac_status=$? |
|
|
5998 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5999 | rm -f conftest.er1 |
|
|
6000 | cat conftest.err >&5 |
|
|
6001 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
6002 | (exit $ac_status); } >/dev/null && { |
|
|
6003 | test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
|
|
6004 | test ! -s conftest.err |
|
|
6005 | }; then |
|
|
6006 | ac_header_preproc=yes |
|
|
6007 | else |
|
|
6008 | echo "$as_me: failed program was:" >&5 |
|
|
6009 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
6010 | |
|
|
6011 | ac_header_preproc=no |
|
|
6012 | fi |
|
|
6013 | |
|
|
6014 | rm -f conftest.err conftest.$ac_ext |
|
|
6015 | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
|
|
6016 | echo "${ECHO_T}$ac_header_preproc" >&6; } |
|
|
6017 | |
|
|
6018 | # So? What about this header? |
|
|
6019 | case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
|
|
6020 | yes:no: ) |
|
|
6021 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
|
|
6022 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
|
|
6023 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
|
|
6024 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
|
|
6025 | ac_header_preproc=yes |
|
|
6026 | ;; |
|
|
6027 | no:yes:* ) |
|
|
6028 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
|
|
6029 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
|
|
6030 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
|
|
6031 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
|
|
6032 | { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
|
|
6033 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
|
|
6034 | { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
|
|
6035 | echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
|
|
6036 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
|
|
6037 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
|
|
6038 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
|
|
6039 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
|
|
6040 | |
|
|
6041 | ;; |
|
|
6042 | esac |
|
|
6043 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
|
|
6044 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
|
|
6045 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
|
|
6046 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
6047 | else |
|
|
6048 | eval "$as_ac_Header=\$ac_header_preproc" |
|
|
6049 | fi |
|
|
6050 | ac_res=`eval echo '${'$as_ac_Header'}'` |
|
|
6051 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
|
6052 | echo "${ECHO_T}$ac_res" >&6; } |
|
|
6053 | |
|
|
6054 | fi |
|
|
6055 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
|
|
6056 | cat >>confdefs.h <<_ACEOF |
5239 | cat >>confdefs.h <<_ACEOF |
6057 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
5240 | #define HAVE_GETOPT_H 1 |
6058 | _ACEOF |
5241 | _ACEOF |
6059 | |
5242 | |
6060 | fi |
5243 | fi |
6061 | |
5244 | |
6062 | done |
5245 | done |
6063 | |
5246 | |
6064 | |
|
|
6065 | for ac_func in getopt_long |
5247 | for ac_func in getopt_long |
6066 | do |
5248 | do : |
6067 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
5249 | ac_fn_cxx_check_func "$LINENO" "getopt_long" "ac_cv_func_getopt_long" |
6068 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
5250 | if test "x$ac_cv_func_getopt_long" = xyes; then : |
6069 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
|
|
6070 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
|
|
6071 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
6072 | else |
|
|
6073 | cat >conftest.$ac_ext <<_ACEOF |
|
|
6074 | /* confdefs.h. */ |
|
|
6075 | _ACEOF |
|
|
6076 | cat confdefs.h >>conftest.$ac_ext |
|
|
6077 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
6078 | /* end confdefs.h. */ |
|
|
6079 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
|
|
6080 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
|
6081 | #define $ac_func innocuous_$ac_func |
|
|
6082 | |
|
|
6083 | /* System header to define __stub macros and hopefully few prototypes, |
|
|
6084 | which can conflict with char $ac_func (); below. |
|
|
6085 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
6086 | <limits.h> exists even on freestanding compilers. */ |
|
|
6087 | |
|
|
6088 | #ifdef __STDC__ |
|
|
6089 | # include <limits.h> |
|
|
6090 | #else |
|
|
6091 | # include <assert.h> |
|
|
6092 | #endif |
|
|
6093 | |
|
|
6094 | #undef $ac_func |
|
|
6095 | |
|
|
6096 | /* Override any GCC internal prototype to avoid an error. |
|
|
6097 | Use char because int might match the return type of a GCC |
|
|
6098 | builtin and then its argument prototype would still apply. */ |
|
|
6099 | #ifdef __cplusplus |
|
|
6100 | extern "C" |
|
|
6101 | #endif |
|
|
6102 | char $ac_func (); |
|
|
6103 | /* The GNU C library defines this for functions which it implements |
|
|
6104 | to always fail with ENOSYS. Some functions are actually named |
|
|
6105 | something starting with __ and the normal name is an alias. */ |
|
|
6106 | #if defined __stub_$ac_func || defined __stub___$ac_func |
|
|
6107 | choke me |
|
|
6108 | #endif |
|
|
6109 | |
|
|
6110 | int |
|
|
6111 | main () |
|
|
6112 | { |
|
|
6113 | return $ac_func (); |
|
|
6114 | ; |
|
|
6115 | return 0; |
|
|
6116 | } |
|
|
6117 | _ACEOF |
|
|
6118 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
6119 | if { (ac_try="$ac_link" |
|
|
6120 | case "(($ac_try" in |
|
|
6121 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
6122 | *) ac_try_echo=$ac_try;; |
|
|
6123 | esac |
|
|
6124 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
6125 | (eval "$ac_link") 2>conftest.er1 |
|
|
6126 | ac_status=$? |
|
|
6127 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
6128 | rm -f conftest.er1 |
|
|
6129 | cat conftest.err >&5 |
|
|
6130 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
6131 | (exit $ac_status); } && { |
|
|
6132 | test -z "$ac_cxx_werror_flag" || |
|
|
6133 | test ! -s conftest.err |
|
|
6134 | } && test -s conftest$ac_exeext && |
|
|
6135 | $as_test_x conftest$ac_exeext; then |
|
|
6136 | eval "$as_ac_var=yes" |
|
|
6137 | else |
|
|
6138 | echo "$as_me: failed program was:" >&5 |
|
|
6139 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
6140 | |
|
|
6141 | eval "$as_ac_var=no" |
|
|
6142 | fi |
|
|
6143 | |
|
|
6144 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
|
6145 | conftest$ac_exeext conftest.$ac_ext |
|
|
6146 | fi |
|
|
6147 | ac_res=`eval echo '${'$as_ac_var'}'` |
|
|
6148 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
|
6149 | echo "${ECHO_T}$ac_res" >&6; } |
|
|
6150 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
|
|
6151 | cat >>confdefs.h <<_ACEOF |
5251 | cat >>confdefs.h <<_ACEOF |
6152 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
5252 | #define HAVE_GETOPT_LONG 1 |
6153 | _ACEOF |
5253 | _ACEOF |
6154 | |
5254 | |
6155 | else |
5255 | else |
6156 | case " $LIBOBJS " in |
5256 | case " $LIBOBJS " in |
6157 | *" getopt.$ac_objext "* ) ;; |
5257 | *" getopt.$ac_objext "* ) ;; |
… | |
… | |
6195 | for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do |
5295 | for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do |
6196 | eval ac_val=\$$ac_var |
5296 | eval ac_val=\$$ac_var |
6197 | case $ac_val in #( |
5297 | case $ac_val in #( |
6198 | *${as_nl}*) |
5298 | *${as_nl}*) |
6199 | case $ac_var in #( |
5299 | case $ac_var in #( |
6200 | *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 |
5300 | *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
6201 | echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; |
5301 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
6202 | esac |
5302 | esac |
6203 | case $ac_var in #( |
5303 | case $ac_var in #( |
6204 | _ | IFS | as_nl) ;; #( |
5304 | _ | IFS | as_nl) ;; #( |
6205 | *) $as_unset $ac_var ;; |
5305 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
|
|
5306 | *) { eval $ac_var=; unset $ac_var;} ;; |
6206 | esac ;; |
5307 | esac ;; |
6207 | esac |
5308 | esac |
6208 | done |
5309 | done |
6209 | |
5310 | |
6210 | (set) 2>&1 | |
5311 | (set) 2>&1 | |
6211 | case $as_nl`(ac_space=' '; set) 2>&1` in #( |
5312 | case $as_nl`(ac_space=' '; set) 2>&1` in #( |
6212 | *${as_nl}ac_space=\ *) |
5313 | *${as_nl}ac_space=\ *) |
6213 | # `set' does not quote correctly, so add quotes (double-quote |
5314 | # `set' does not quote correctly, so add quotes: double-quote |
6214 | # substitution turns \\\\ into \\, and sed turns \\ into \). |
5315 | # substitution turns \\\\ into \\, and sed turns \\ into \. |
6215 | sed -n \ |
5316 | sed -n \ |
6216 | "s/'/'\\\\''/g; |
5317 | "s/'/'\\\\''/g; |
6217 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
5318 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
6218 | ;; #( |
5319 | ;; #( |
6219 | *) |
5320 | *) |
… | |
… | |
6231 | t end |
5332 | t end |
6232 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
5333 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
6233 | :end' >>confcache |
5334 | :end' >>confcache |
6234 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
5335 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
6235 | if test -w "$cache_file"; then |
5336 | if test -w "$cache_file"; then |
6236 | test "x$cache_file" != "x/dev/null" && |
5337 | if test "x$cache_file" != "x/dev/null"; then |
6237 | { echo "$as_me:$LINENO: updating cache $cache_file" >&5 |
5338 | { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
6238 | echo "$as_me: updating cache $cache_file" >&6;} |
5339 | $as_echo "$as_me: updating cache $cache_file" >&6;} |
|
|
5340 | if test ! -f "$cache_file" || test -h "$cache_file"; then |
6239 | cat confcache >$cache_file |
5341 | cat confcache >"$cache_file" |
|
|
5342 | else |
|
|
5343 | case $cache_file in #( |
|
|
5344 | */* | ?:*) |
|
|
5345 | mv -f confcache "$cache_file"$$ && |
|
|
5346 | mv -f "$cache_file"$$ "$cache_file" ;; #( |
|
|
5347 | *) |
|
|
5348 | mv -f confcache "$cache_file" ;; |
|
|
5349 | esac |
|
|
5350 | fi |
|
|
5351 | fi |
6240 | else |
5352 | else |
6241 | { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 |
5353 | { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
6242 | echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
5354 | $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
6243 | fi |
5355 | fi |
6244 | fi |
5356 | fi |
6245 | rm -f confcache |
5357 | rm -f confcache |
6246 | |
5358 | |
6247 | test "x$prefix" = xNONE && prefix=$ac_default_prefix |
5359 | test "x$prefix" = xNONE && prefix=$ac_default_prefix |
… | |
… | |
6250 | |
5362 | |
6251 | DEFS=-DHAVE_CONFIG_H |
5363 | DEFS=-DHAVE_CONFIG_H |
6252 | |
5364 | |
6253 | ac_libobjs= |
5365 | ac_libobjs= |
6254 | ac_ltlibobjs= |
5366 | ac_ltlibobjs= |
|
|
5367 | U= |
6255 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
5368 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
6256 | # 1. Remove the extension, and $U if already installed. |
5369 | # 1. Remove the extension, and $U if already installed. |
6257 | ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
5370 | ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
6258 | ac_i=`echo "$ac_i" | sed "$ac_script"` |
5371 | ac_i=`$as_echo "$ac_i" | sed "$ac_script"` |
6259 | # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
5372 | # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
6260 | # will be set to the directory where LIBOBJS objects are built. |
5373 | # will be set to the directory where LIBOBJS objects are built. |
6261 | ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" |
5374 | as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" |
6262 | ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' |
5375 | as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' |
6263 | done |
5376 | done |
6264 | LIBOBJS=$ac_libobjs |
5377 | LIBOBJS=$ac_libobjs |
6265 | |
5378 | |
6266 | LTLIBOBJS=$ac_ltlibobjs |
5379 | LTLIBOBJS=$ac_ltlibobjs |
6267 | |
5380 | |
6268 | |
5381 | |
6269 | if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then |
5382 | if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then |
6270 | { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. |
5383 | as_fn_error $? "conditional \"AMDEP\" was never defined. |
6271 | Usually this means the macro was only invoked conditionally." >&5 |
5384 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
6272 | echo "$as_me: error: conditional \"AMDEP\" was never defined. |
|
|
6273 | Usually this means the macro was only invoked conditionally." >&2;} |
|
|
6274 | { (exit 1); exit 1; }; } |
|
|
6275 | fi |
5385 | fi |
6276 | if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then |
5386 | if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then |
6277 | { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. |
5387 | as_fn_error $? "conditional \"am__fastdepCC\" was never defined. |
6278 | Usually this means the macro was only invoked conditionally." >&5 |
5388 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
6279 | echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. |
|
|
6280 | Usually this means the macro was only invoked conditionally." >&2;} |
|
|
6281 | { (exit 1); exit 1; }; } |
|
|
6282 | fi |
5389 | fi |
6283 | if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then |
5390 | if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then |
6284 | { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined. |
5391 | as_fn_error $? "conditional \"am__fastdepCXX\" was never defined. |
6285 | Usually this means the macro was only invoked conditionally." >&5 |
5392 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
6286 | echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined. |
|
|
6287 | Usually this means the macro was only invoked conditionally." >&2;} |
|
|
6288 | { (exit 1); exit 1; }; } |
|
|
6289 | fi |
5393 | fi |
6290 | if test -z "${HAVE_PCCTS_TRUE}" && test -z "${HAVE_PCCTS_FALSE}"; then |
5394 | if test -z "${HAVE_PCCTS_TRUE}" && test -z "${HAVE_PCCTS_FALSE}"; then |
6291 | { { echo "$as_me:$LINENO: error: conditional \"HAVE_PCCTS\" was never defined. |
5395 | as_fn_error $? "conditional \"HAVE_PCCTS\" was never defined. |
6292 | Usually this means the macro was only invoked conditionally." >&5 |
5396 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
6293 | echo "$as_me: error: conditional \"HAVE_PCCTS\" was never defined. |
|
|
6294 | Usually this means the macro was only invoked conditionally." >&2;} |
|
|
6295 | { (exit 1); exit 1; }; } |
|
|
6296 | fi |
5397 | fi |
6297 | |
5398 | |
6298 | : ${CONFIG_STATUS=./config.status} |
5399 | : "${CONFIG_STATUS=./config.status}" |
|
|
5400 | ac_write_fail=0 |
6299 | ac_clean_files_save=$ac_clean_files |
5401 | ac_clean_files_save=$ac_clean_files |
6300 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
5402 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
6301 | { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 |
5403 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 |
6302 | echo "$as_me: creating $CONFIG_STATUS" >&6;} |
5404 | $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} |
6303 | cat >$CONFIG_STATUS <<_ACEOF |
5405 | as_write_fail=0 |
|
|
5406 | cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 |
6304 | #! $SHELL |
5407 | #! $SHELL |
6305 | # Generated by $as_me. |
5408 | # Generated by $as_me. |
6306 | # Run this file to recreate the current configuration. |
5409 | # Run this file to recreate the current configuration. |
6307 | # Compiler output produced by configure, useful for debugging |
5410 | # Compiler output produced by configure, useful for debugging |
6308 | # configure, is in config.log if it exists. |
5411 | # configure, is in config.log if it exists. |
6309 | |
5412 | |
6310 | debug=false |
5413 | debug=false |
6311 | ac_cs_recheck=false |
5414 | ac_cs_recheck=false |
6312 | ac_cs_silent=false |
5415 | ac_cs_silent=false |
|
|
5416 | |
6313 | SHELL=\${CONFIG_SHELL-$SHELL} |
5417 | SHELL=\${CONFIG_SHELL-$SHELL} |
|
|
5418 | export SHELL |
6314 | _ACEOF |
5419 | _ASEOF |
6315 | |
5420 | cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 |
6316 | cat >>$CONFIG_STATUS <<\_ACEOF |
|
|
6317 | ## --------------------- ## |
5421 | ## -------------------- ## |
6318 | ## M4sh Initialization. ## |
5422 | ## M4sh Initialization. ## |
6319 | ## --------------------- ## |
5423 | ## -------------------- ## |
6320 | |
5424 | |
6321 | # Be more Bourne compatible |
5425 | # Be more Bourne compatible |
6322 | DUALCASE=1; export DUALCASE # for MKS sh |
5426 | DUALCASE=1; export DUALCASE # for MKS sh |
6323 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
5427 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : |
6324 | emulate sh |
5428 | emulate sh |
6325 | NULLCMD=: |
5429 | NULLCMD=: |
6326 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
5430 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
6327 | # is contrary to our usage. Disable this feature. |
5431 | # is contrary to our usage. Disable this feature. |
6328 | alias -g '${1+"$@"}'='"$@"' |
5432 | alias -g '${1+"$@"}'='"$@"' |
6329 | setopt NO_GLOB_SUBST |
5433 | setopt NO_GLOB_SUBST |
6330 | else |
5434 | else |
6331 | case `(set -o) 2>/dev/null` in |
5435 | case `(set -o) 2>/dev/null` in #( |
6332 | *posix*) set -o posix ;; |
5436 | *posix*) : |
|
|
5437 | set -o posix ;; #( |
|
|
5438 | *) : |
|
|
5439 | ;; |
6333 | esac |
5440 | esac |
6334 | |
|
|
6335 | fi |
5441 | fi |
6336 | |
5442 | |
6337 | |
5443 | |
6338 | |
5444 | as_nl=' |
6339 | |
5445 | ' |
6340 | # PATH needs CR |
5446 | export as_nl |
6341 | # Avoid depending upon Character Ranges. |
5447 | # Printing a long string crashes Solaris 7 /usr/bin/printf. |
6342 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
5448 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
6343 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
5449 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
6344 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
5450 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
6345 | as_cr_digits='0123456789' |
5451 | # Prefer a ksh shell builtin over an external printf program on Solaris, |
6346 | as_cr_alnum=$as_cr_Letters$as_cr_digits |
5452 | # but without wasting forks for bash or zsh. |
|
|
5453 | if test -z "$BASH_VERSION$ZSH_VERSION" \ |
|
|
5454 | && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then |
|
|
5455 | as_echo='print -r --' |
|
|
5456 | as_echo_n='print -rn --' |
|
|
5457 | elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
|
|
5458 | as_echo='printf %s\n' |
|
|
5459 | as_echo_n='printf %s' |
|
|
5460 | else |
|
|
5461 | if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then |
|
|
5462 | as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' |
|
|
5463 | as_echo_n='/usr/ucb/echo -n' |
|
|
5464 | else |
|
|
5465 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
|
|
5466 | as_echo_n_body='eval |
|
|
5467 | arg=$1; |
|
|
5468 | case $arg in #( |
|
|
5469 | *"$as_nl"*) |
|
|
5470 | expr "X$arg" : "X\\(.*\\)$as_nl"; |
|
|
5471 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
|
|
5472 | esac; |
|
|
5473 | expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" |
|
|
5474 | ' |
|
|
5475 | export as_echo_n_body |
|
|
5476 | as_echo_n='sh -c $as_echo_n_body as_echo' |
|
|
5477 | fi |
|
|
5478 | export as_echo_body |
|
|
5479 | as_echo='sh -c $as_echo_body as_echo' |
|
|
5480 | fi |
6347 | |
5481 | |
6348 | # The user is always right. |
5482 | # The user is always right. |
6349 | if test "${PATH_SEPARATOR+set}" != set; then |
5483 | if test "${PATH_SEPARATOR+set}" != set; then |
6350 | echo "#! /bin/sh" >conf$$.sh |
5484 | PATH_SEPARATOR=: |
6351 | echo "exit 0" >>conf$$.sh |
5485 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
6352 | chmod +x conf$$.sh |
5486 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
6353 | if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
|
|
6354 | PATH_SEPARATOR=';' |
5487 | PATH_SEPARATOR=';' |
6355 | else |
5488 | } |
6356 | PATH_SEPARATOR=: |
|
|
6357 | fi |
|
|
6358 | rm -f conf$$.sh |
|
|
6359 | fi |
|
|
6360 | |
|
|
6361 | # Support unset when possible. |
|
|
6362 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
|
|
6363 | as_unset=unset |
|
|
6364 | else |
|
|
6365 | as_unset=false |
|
|
6366 | fi |
5489 | fi |
6367 | |
5490 | |
6368 | |
5491 | |
6369 | # IFS |
5492 | # IFS |
6370 | # We need space, tab and new line, in precisely that order. Quoting is |
5493 | # We need space, tab and new line, in precisely that order. Quoting is |
6371 | # there to prevent editors from complaining about space-tab. |
5494 | # there to prevent editors from complaining about space-tab. |
6372 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
5495 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
6373 | # splitting by setting IFS to empty value.) |
5496 | # splitting by setting IFS to empty value.) |
6374 | as_nl=' |
|
|
6375 | ' |
|
|
6376 | IFS=" "" $as_nl" |
5497 | IFS=" "" $as_nl" |
6377 | |
5498 | |
6378 | # Find who we are. Look in the path if we contain no directory separator. |
5499 | # Find who we are. Look in the path if we contain no directory separator. |
|
|
5500 | as_myself= |
6379 | case $0 in |
5501 | case $0 in #(( |
6380 | *[\\/]* ) as_myself=$0 ;; |
5502 | *[\\/]* ) as_myself=$0 ;; |
6381 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
5503 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
6382 | for as_dir in $PATH |
5504 | for as_dir in $PATH |
6383 | do |
5505 | do |
6384 | IFS=$as_save_IFS |
5506 | IFS=$as_save_IFS |
6385 | test -z "$as_dir" && as_dir=. |
5507 | test -z "$as_dir" && as_dir=. |
6386 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
5508 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
6387 | done |
5509 | done |
6388 | IFS=$as_save_IFS |
5510 | IFS=$as_save_IFS |
6389 | |
5511 | |
6390 | ;; |
5512 | ;; |
6391 | esac |
5513 | esac |
6392 | # We did not find ourselves, most probably we were run as `sh COMMAND' |
5514 | # We did not find ourselves, most probably we were run as `sh COMMAND' |
6393 | # in which case we are not to be found in the path. |
5515 | # in which case we are not to be found in the path. |
6394 | if test "x$as_myself" = x; then |
5516 | if test "x$as_myself" = x; then |
6395 | as_myself=$0 |
5517 | as_myself=$0 |
6396 | fi |
5518 | fi |
6397 | if test ! -f "$as_myself"; then |
5519 | if test ! -f "$as_myself"; then |
6398 | echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
5520 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
6399 | { (exit 1); exit 1; } |
5521 | exit 1 |
6400 | fi |
5522 | fi |
6401 | |
5523 | |
6402 | # Work around bugs in pre-3.0 UWIN ksh. |
5524 | # Unset variables that we do not need and which cause bugs (e.g. in |
|
|
5525 | # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" |
|
|
5526 | # suppresses any "Segmentation fault" message there. '((' could |
|
|
5527 | # trigger a bug in pdksh 5.2.14. |
6403 | for as_var in ENV MAIL MAILPATH |
5528 | for as_var in BASH_ENV ENV MAIL MAILPATH |
|
|
5529 | do eval test x\${$as_var+set} = xset \ |
6404 | do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
5530 | && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : |
6405 | done |
5531 | done |
6406 | PS1='$ ' |
5532 | PS1='$ ' |
6407 | PS2='> ' |
5533 | PS2='> ' |
6408 | PS4='+ ' |
5534 | PS4='+ ' |
6409 | |
5535 | |
6410 | # NLS nuisances. |
5536 | # NLS nuisances. |
6411 | for as_var in \ |
5537 | LC_ALL=C |
6412 | LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ |
5538 | export LC_ALL |
6413 | LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
5539 | LANGUAGE=C |
6414 | LC_TELEPHONE LC_TIME |
5540 | export LANGUAGE |
6415 | do |
5541 | |
6416 | if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
5542 | # CDPATH. |
6417 | eval $as_var=C; export $as_var |
5543 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
6418 | else |
5544 | |
6419 | ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
5545 | |
|
|
5546 | # as_fn_error STATUS ERROR [LINENO LOG_FD] |
|
|
5547 | # ---------------------------------------- |
|
|
5548 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
|
|
5549 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
|
|
5550 | # script with STATUS, using 1 if that was 0. |
|
|
5551 | as_fn_error () |
|
|
5552 | { |
|
|
5553 | as_status=$1; test $as_status -eq 0 && as_status=1 |
|
|
5554 | if test "$4"; then |
|
|
5555 | as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
|
5556 | $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
6420 | fi |
5557 | fi |
6421 | done |
5558 | $as_echo "$as_me: error: $2" >&2 |
|
|
5559 | as_fn_exit $as_status |
|
|
5560 | } # as_fn_error |
6422 | |
5561 | |
6423 | # Required to use basename. |
5562 | |
|
|
5563 | # as_fn_set_status STATUS |
|
|
5564 | # ----------------------- |
|
|
5565 | # Set $? to STATUS, without forking. |
|
|
5566 | as_fn_set_status () |
|
|
5567 | { |
|
|
5568 | return $1 |
|
|
5569 | } # as_fn_set_status |
|
|
5570 | |
|
|
5571 | # as_fn_exit STATUS |
|
|
5572 | # ----------------- |
|
|
5573 | # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. |
|
|
5574 | as_fn_exit () |
|
|
5575 | { |
|
|
5576 | set +e |
|
|
5577 | as_fn_set_status $1 |
|
|
5578 | exit $1 |
|
|
5579 | } # as_fn_exit |
|
|
5580 | |
|
|
5581 | # as_fn_unset VAR |
|
|
5582 | # --------------- |
|
|
5583 | # Portably unset VAR. |
|
|
5584 | as_fn_unset () |
|
|
5585 | { |
|
|
5586 | { eval $1=; unset $1;} |
|
|
5587 | } |
|
|
5588 | as_unset=as_fn_unset |
|
|
5589 | # as_fn_append VAR VALUE |
|
|
5590 | # ---------------------- |
|
|
5591 | # Append the text in VALUE to the end of the definition contained in VAR. Take |
|
|
5592 | # advantage of any shell optimizations that allow amortized linear growth over |
|
|
5593 | # repeated appends, instead of the typical quadratic growth present in naive |
|
|
5594 | # implementations. |
|
|
5595 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : |
|
|
5596 | eval 'as_fn_append () |
|
|
5597 | { |
|
|
5598 | eval $1+=\$2 |
|
|
5599 | }' |
|
|
5600 | else |
|
|
5601 | as_fn_append () |
|
|
5602 | { |
|
|
5603 | eval $1=\$$1\$2 |
|
|
5604 | } |
|
|
5605 | fi # as_fn_append |
|
|
5606 | |
|
|
5607 | # as_fn_arith ARG... |
|
|
5608 | # ------------------ |
|
|
5609 | # Perform arithmetic evaluation on the ARGs, and store the result in the |
|
|
5610 | # global $as_val. Take advantage of shells that can avoid forks. The arguments |
|
|
5611 | # must be portable across $(()) and expr. |
|
|
5612 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : |
|
|
5613 | eval 'as_fn_arith () |
|
|
5614 | { |
|
|
5615 | as_val=$(( $* )) |
|
|
5616 | }' |
|
|
5617 | else |
|
|
5618 | as_fn_arith () |
|
|
5619 | { |
|
|
5620 | as_val=`expr "$@" || test $? -eq 1` |
|
|
5621 | } |
|
|
5622 | fi # as_fn_arith |
|
|
5623 | |
|
|
5624 | |
6424 | if expr a : '\(a\)' >/dev/null 2>&1 && |
5625 | if expr a : '\(a\)' >/dev/null 2>&1 && |
6425 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
5626 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
6426 | as_expr=expr |
5627 | as_expr=expr |
6427 | else |
5628 | else |
6428 | as_expr=false |
5629 | as_expr=false |
… | |
… | |
6432 | as_basename=basename |
5633 | as_basename=basename |
6433 | else |
5634 | else |
6434 | as_basename=false |
5635 | as_basename=false |
6435 | fi |
5636 | fi |
6436 | |
5637 | |
|
|
5638 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
|
|
5639 | as_dirname=dirname |
|
|
5640 | else |
|
|
5641 | as_dirname=false |
|
|
5642 | fi |
6437 | |
5643 | |
6438 | # Name of the executable. |
|
|
6439 | as_me=`$as_basename -- "$0" || |
5644 | as_me=`$as_basename -- "$0" || |
6440 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
5645 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
6441 | X"$0" : 'X\(//\)$' \| \ |
5646 | X"$0" : 'X\(//\)$' \| \ |
6442 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
5647 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
6443 | echo X/"$0" | |
5648 | $as_echo X/"$0" | |
6444 | sed '/^.*\/\([^/][^/]*\)\/*$/{ |
5649 | sed '/^.*\/\([^/][^/]*\)\/*$/{ |
6445 | s//\1/ |
5650 | s//\1/ |
6446 | q |
5651 | q |
6447 | } |
5652 | } |
6448 | /^X\/\(\/\/\)$/{ |
5653 | /^X\/\(\/\/\)$/{ |
… | |
… | |
6453 | s//\1/ |
5658 | s//\1/ |
6454 | q |
5659 | q |
6455 | } |
5660 | } |
6456 | s/.*/./; q'` |
5661 | s/.*/./; q'` |
6457 | |
5662 | |
6458 | # CDPATH. |
5663 | # Avoid depending upon Character Ranges. |
6459 | $as_unset CDPATH |
5664 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
6460 | |
5665 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
6461 | |
5666 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
6462 | |
5667 | as_cr_digits='0123456789' |
6463 | as_lineno_1=$LINENO |
5668 | as_cr_alnum=$as_cr_Letters$as_cr_digits |
6464 | as_lineno_2=$LINENO |
|
|
6465 | test "x$as_lineno_1" != "x$as_lineno_2" && |
|
|
6466 | test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { |
|
|
6467 | |
|
|
6468 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
|
|
6469 | # uniformly replaced by the line number. The first 'sed' inserts a |
|
|
6470 | # line-number line after each line using $LINENO; the second 'sed' |
|
|
6471 | # does the real work. The second script uses 'N' to pair each |
|
|
6472 | # line-number line with the line containing $LINENO, and appends |
|
|
6473 | # trailing '-' during substitution so that $LINENO is not a special |
|
|
6474 | # case at line end. |
|
|
6475 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
|
|
6476 | # scripts with optimization help from Paolo Bonzini. Blame Lee |
|
|
6477 | # E. McMahon (1931-1989) for sed's syntax. :-) |
|
|
6478 | sed -n ' |
|
|
6479 | p |
|
|
6480 | /[$]LINENO/= |
|
|
6481 | ' <$as_myself | |
|
|
6482 | sed ' |
|
|
6483 | s/[$]LINENO.*/&-/ |
|
|
6484 | t lineno |
|
|
6485 | b |
|
|
6486 | :lineno |
|
|
6487 | N |
|
|
6488 | :loop |
|
|
6489 | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
|
|
6490 | t loop |
|
|
6491 | s/-\n.*// |
|
|
6492 | ' >$as_me.lineno && |
|
|
6493 | chmod +x "$as_me.lineno" || |
|
|
6494 | { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
|
|
6495 | { (exit 1); exit 1; }; } |
|
|
6496 | |
|
|
6497 | # Don't try to exec as it changes $[0], causing all sort of problems |
|
|
6498 | # (the dirname of $[0] is not the place where we might find the |
|
|
6499 | # original and so on. Autoconf is especially sensitive to this). |
|
|
6500 | . "./$as_me.lineno" |
|
|
6501 | # Exit status is that of the last command. |
|
|
6502 | exit |
|
|
6503 | } |
|
|
6504 | |
|
|
6505 | |
|
|
6506 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
|
|
6507 | as_dirname=dirname |
|
|
6508 | else |
|
|
6509 | as_dirname=false |
|
|
6510 | fi |
|
|
6511 | |
5669 | |
6512 | ECHO_C= ECHO_N= ECHO_T= |
5670 | ECHO_C= ECHO_N= ECHO_T= |
6513 | case `echo -n x` in |
5671 | case `echo -n x` in #((((( |
6514 | -n*) |
5672 | -n*) |
6515 | case `echo 'x\c'` in |
5673 | case `echo 'xy\c'` in |
6516 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
5674 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
6517 | *) ECHO_C='\c';; |
5675 | xy) ECHO_C='\c';; |
|
|
5676 | *) echo `echo ksh88 bug on AIX 6.1` > /dev/null |
|
|
5677 | ECHO_T=' ';; |
6518 | esac;; |
5678 | esac;; |
6519 | *) |
5679 | *) |
6520 | ECHO_N='-n';; |
5680 | ECHO_N='-n';; |
6521 | esac |
5681 | esac |
6522 | |
5682 | |
6523 | if expr a : '\(a\)' >/dev/null 2>&1 && |
|
|
6524 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
|
|
6525 | as_expr=expr |
|
|
6526 | else |
|
|
6527 | as_expr=false |
|
|
6528 | fi |
|
|
6529 | |
|
|
6530 | rm -f conf$$ conf$$.exe conf$$.file |
5683 | rm -f conf$$ conf$$.exe conf$$.file |
6531 | if test -d conf$$.dir; then |
5684 | if test -d conf$$.dir; then |
6532 | rm -f conf$$.dir/conf$$.file |
5685 | rm -f conf$$.dir/conf$$.file |
6533 | else |
5686 | else |
6534 | rm -f conf$$.dir |
5687 | rm -f conf$$.dir |
6535 | mkdir conf$$.dir |
5688 | mkdir conf$$.dir 2>/dev/null |
6536 | fi |
5689 | fi |
6537 | echo >conf$$.file |
5690 | if (echo >conf$$.file) 2>/dev/null; then |
6538 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
5691 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
6539 | as_ln_s='ln -s' |
5692 | as_ln_s='ln -s' |
6540 | # ... but there are two gotchas: |
5693 | # ... but there are two gotchas: |
6541 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
5694 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
6542 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
5695 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
6543 | # In both cases, we have to default to `cp -p'. |
5696 | # In both cases, we have to default to `cp -pR'. |
6544 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
5697 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
6545 | as_ln_s='cp -p' |
5698 | as_ln_s='cp -pR' |
6546 | elif ln conf$$.file conf$$ 2>/dev/null; then |
5699 | elif ln conf$$.file conf$$ 2>/dev/null; then |
6547 | as_ln_s=ln |
5700 | as_ln_s=ln |
6548 | else |
5701 | else |
|
|
5702 | as_ln_s='cp -pR' |
|
|
5703 | fi |
|
|
5704 | else |
6549 | as_ln_s='cp -p' |
5705 | as_ln_s='cp -pR' |
6550 | fi |
5706 | fi |
6551 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
5707 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
6552 | rmdir conf$$.dir 2>/dev/null |
5708 | rmdir conf$$.dir 2>/dev/null |
6553 | |
5709 | |
6554 | if mkdir -p . 2>/dev/null; then |
5710 | |
6555 | as_mkdir_p=: |
5711 | # as_fn_mkdir_p |
6556 | else |
5712 | # ------------- |
6557 | test -d ./-p && rmdir ./-p |
5713 | # Create "$as_dir" as a directory, including parents if necessary. |
6558 | as_mkdir_p=false |
5714 | as_fn_mkdir_p () |
6559 | fi |
|
|
6560 | |
|
|
6561 | if test -x / >/dev/null 2>&1; then |
|
|
6562 | as_test_x='test -x' |
|
|
6563 | else |
|
|
6564 | if ls -dL / >/dev/null 2>&1; then |
|
|
6565 | as_ls_L_option=L |
|
|
6566 | else |
|
|
6567 | as_ls_L_option= |
|
|
6568 | fi |
|
|
6569 | as_test_x=' |
|
|
6570 | eval sh -c '\'' |
|
|
6571 | if test -d "$1"; then |
|
|
6572 | test -d "$1/."; |
|
|
6573 | else |
|
|
6574 | case $1 in |
|
|
6575 | -*)set "./$1";; |
|
|
6576 | esac; |
|
|
6577 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in |
|
|
6578 | ???[sx]*):;;*)false;;esac;fi |
|
|
6579 | '\'' sh |
|
|
6580 | ' |
|
|
6581 | fi |
|
|
6582 | as_executable_p=$as_test_x |
|
|
6583 | |
|
|
6584 | # Sed expression to map a string onto a valid CPP name. |
|
|
6585 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
|
|
6586 | |
|
|
6587 | # Sed expression to map a string onto a valid variable name. |
|
|
6588 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
|
|
6589 | |
|
|
6590 | |
|
|
6591 | exec 6>&1 |
|
|
6592 | |
|
|
6593 | # Save the log message, to keep $[0] and so on meaningful, and to |
|
|
6594 | # report actual input values of CONFIG_FILES etc. instead of their |
|
|
6595 | # values after options handling. |
|
|
6596 | ac_log=" |
|
|
6597 | This file was extended by $as_me, which was |
|
|
6598 | generated by GNU Autoconf 2.61. Invocation command line was |
|
|
6599 | |
|
|
6600 | CONFIG_FILES = $CONFIG_FILES |
|
|
6601 | CONFIG_HEADERS = $CONFIG_HEADERS |
|
|
6602 | CONFIG_LINKS = $CONFIG_LINKS |
|
|
6603 | CONFIG_COMMANDS = $CONFIG_COMMANDS |
|
|
6604 | $ $0 $@ |
|
|
6605 | |
|
|
6606 | on `(hostname || uname -n) 2>/dev/null | sed 1q` |
|
|
6607 | " |
|
|
6608 | |
|
|
6609 | _ACEOF |
|
|
6610 | |
|
|
6611 | cat >>$CONFIG_STATUS <<_ACEOF |
|
|
6612 | # Files that config.status was made for. |
|
|
6613 | config_files="$ac_config_files" |
|
|
6614 | config_headers="$ac_config_headers" |
|
|
6615 | config_commands="$ac_config_commands" |
|
|
6616 | |
|
|
6617 | _ACEOF |
|
|
6618 | |
|
|
6619 | cat >>$CONFIG_STATUS <<\_ACEOF |
|
|
6620 | ac_cs_usage="\ |
|
|
6621 | \`$as_me' instantiates files from templates according to the |
|
|
6622 | current configuration. |
|
|
6623 | |
|
|
6624 | Usage: $0 [OPTIONS] [FILE]... |
|
|
6625 | |
|
|
6626 | -h, --help print this help, then exit |
|
|
6627 | -V, --version print version number and configuration settings, then exit |
|
|
6628 | -q, --quiet do not print progress messages |
|
|
6629 | -d, --debug don't remove temporary files |
|
|
6630 | --recheck update $as_me by reconfiguring in the same conditions |
|
|
6631 | --file=FILE[:TEMPLATE] |
|
|
6632 | instantiate the configuration file FILE |
|
|
6633 | --header=FILE[:TEMPLATE] |
|
|
6634 | instantiate the configuration header FILE |
|
|
6635 | |
|
|
6636 | Configuration files: |
|
|
6637 | $config_files |
|
|
6638 | |
|
|
6639 | Configuration headers: |
|
|
6640 | $config_headers |
|
|
6641 | |
|
|
6642 | Configuration commands: |
|
|
6643 | $config_commands |
|
|
6644 | |
|
|
6645 | Report bugs to <bug-autoconf@gnu.org>." |
|
|
6646 | |
|
|
6647 | _ACEOF |
|
|
6648 | cat >>$CONFIG_STATUS <<_ACEOF |
|
|
6649 | ac_cs_version="\\ |
|
|
6650 | config.status |
|
|
6651 | configured by $0, generated by GNU Autoconf 2.61, |
|
|
6652 | with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" |
|
|
6653 | |
|
|
6654 | Copyright (C) 2006 Free Software Foundation, Inc. |
|
|
6655 | This config.status script is free software; the Free Software Foundation |
|
|
6656 | gives unlimited permission to copy, distribute and modify it." |
|
|
6657 | |
|
|
6658 | ac_pwd='$ac_pwd' |
|
|
6659 | srcdir='$srcdir' |
|
|
6660 | INSTALL='$INSTALL' |
|
|
6661 | MKDIR_P='$MKDIR_P' |
|
|
6662 | _ACEOF |
|
|
6663 | |
|
|
6664 | cat >>$CONFIG_STATUS <<\_ACEOF |
|
|
6665 | # If no file are specified by the user, then we need to provide default |
|
|
6666 | # value. By we need to know if files were specified by the user. |
|
|
6667 | ac_need_defaults=: |
|
|
6668 | while test $# != 0 |
|
|
6669 | do |
|
|
6670 | case $1 in |
|
|
6671 | --*=*) |
|
|
6672 | ac_option=`expr "X$1" : 'X\([^=]*\)='` |
|
|
6673 | ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` |
|
|
6674 | ac_shift=: |
|
|
6675 | ;; |
|
|
6676 | *) |
|
|
6677 | ac_option=$1 |
|
|
6678 | ac_optarg=$2 |
|
|
6679 | ac_shift=shift |
|
|
6680 | ;; |
|
|
6681 | esac |
|
|
6682 | |
|
|
6683 | case $ac_option in |
|
|
6684 | # Handling of the options. |
|
|
6685 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
|
|
6686 | ac_cs_recheck=: ;; |
|
|
6687 | --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) |
|
|
6688 | echo "$ac_cs_version"; exit ;; |
|
|
6689 | --debug | --debu | --deb | --de | --d | -d ) |
|
|
6690 | debug=: ;; |
|
|
6691 | --file | --fil | --fi | --f ) |
|
|
6692 | $ac_shift |
|
|
6693 | CONFIG_FILES="$CONFIG_FILES $ac_optarg" |
|
|
6694 | ac_need_defaults=false;; |
|
|
6695 | --header | --heade | --head | --hea ) |
|
|
6696 | $ac_shift |
|
|
6697 | CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" |
|
|
6698 | ac_need_defaults=false;; |
|
|
6699 | --he | --h) |
|
|
6700 | # Conflict between --help and --header |
|
|
6701 | { echo "$as_me: error: ambiguous option: $1 |
|
|
6702 | Try \`$0 --help' for more information." >&2 |
|
|
6703 | { (exit 1); exit 1; }; };; |
|
|
6704 | --help | --hel | -h ) |
|
|
6705 | echo "$ac_cs_usage"; exit ;; |
|
|
6706 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
|
|
6707 | | -silent | --silent | --silen | --sile | --sil | --si | --s) |
|
|
6708 | ac_cs_silent=: ;; |
|
|
6709 | |
|
|
6710 | # This is an error. |
|
|
6711 | -*) { echo "$as_me: error: unrecognized option: $1 |
|
|
6712 | Try \`$0 --help' for more information." >&2 |
|
|
6713 | { (exit 1); exit 1; }; } ;; |
|
|
6714 | |
|
|
6715 | *) ac_config_targets="$ac_config_targets $1" |
|
|
6716 | ac_need_defaults=false ;; |
|
|
6717 | |
|
|
6718 | esac |
|
|
6719 | shift |
|
|
6720 | done |
|
|
6721 | |
|
|
6722 | ac_configure_extra_args= |
|
|
6723 | |
|
|
6724 | if $ac_cs_silent; then |
|
|
6725 | exec 6>/dev/null |
|
|
6726 | ac_configure_extra_args="$ac_configure_extra_args --silent" |
|
|
6727 | fi |
|
|
6728 | |
|
|
6729 | _ACEOF |
|
|
6730 | cat >>$CONFIG_STATUS <<_ACEOF |
|
|
6731 | if \$ac_cs_recheck; then |
|
|
6732 | echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 |
|
|
6733 | CONFIG_SHELL=$SHELL |
|
|
6734 | export CONFIG_SHELL |
|
|
6735 | exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
|
|
6736 | fi |
|
|
6737 | |
|
|
6738 | _ACEOF |
|
|
6739 | cat >>$CONFIG_STATUS <<\_ACEOF |
|
|
6740 | exec 5>>config.log |
|
|
6741 | { |
5715 | { |
6742 | echo |
|
|
6743 | sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX |
|
|
6744 | ## Running $as_me. ## |
|
|
6745 | _ASBOX |
|
|
6746 | echo "$ac_log" |
|
|
6747 | } >&5 |
|
|
6748 | |
5716 | |
6749 | _ACEOF |
|
|
6750 | cat >>$CONFIG_STATUS <<_ACEOF |
|
|
6751 | # |
|
|
6752 | # INIT-COMMANDS |
|
|
6753 | # |
|
|
6754 | AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" |
|
|
6755 | |
|
|
6756 | _ACEOF |
|
|
6757 | |
|
|
6758 | cat >>$CONFIG_STATUS <<\_ACEOF |
|
|
6759 | |
|
|
6760 | # Handling of arguments. |
|
|
6761 | for ac_config_target in $ac_config_targets |
|
|
6762 | do |
|
|
6763 | case $ac_config_target in |
|
|
6764 | "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; |
|
|
6765 | "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; |
|
|
6766 | "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
|
|
6767 | |
|
|
6768 | *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
|
|
6769 | echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
|
|
6770 | { (exit 1); exit 1; }; };; |
|
|
6771 | esac |
|
|
6772 | done |
|
|
6773 | |
|
|
6774 | |
|
|
6775 | # If the user did not use the arguments to specify the items to instantiate, |
|
|
6776 | # then the envvar interface is used. Set only those that are not. |
|
|
6777 | # We use the long form for the default assignment because of an extremely |
|
|
6778 | # bizarre bug on SunOS 4.1.3. |
|
|
6779 | if $ac_need_defaults; then |
|
|
6780 | test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files |
|
|
6781 | test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers |
|
|
6782 | test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands |
|
|
6783 | fi |
|
|
6784 | |
|
|
6785 | # Have a temporary directory for convenience. Make it in the build tree |
|
|
6786 | # simply because there is no reason against having it here, and in addition, |
|
|
6787 | # creating and moving files from /tmp can sometimes cause problems. |
|
|
6788 | # Hook for its removal unless debugging. |
|
|
6789 | # Note that there is a small window in which the directory will not be cleaned: |
|
|
6790 | # after its creation but before its name has been assigned to `$tmp'. |
|
|
6791 | $debug || |
|
|
6792 | { |
|
|
6793 | tmp= |
|
|
6794 | trap 'exit_status=$? |
|
|
6795 | { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status |
|
|
6796 | ' 0 |
|
|
6797 | trap '{ (exit 1); exit 1; }' 1 2 13 15 |
|
|
6798 | } |
|
|
6799 | # Create a (secure) tmp directory for tmp files. |
|
|
6800 | |
|
|
6801 | { |
|
|
6802 | tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
|
|
6803 | test -n "$tmp" && test -d "$tmp" |
|
|
6804 | } || |
|
|
6805 | { |
|
|
6806 | tmp=./conf$$-$RANDOM |
|
|
6807 | (umask 077 && mkdir "$tmp") |
|
|
6808 | } || |
|
|
6809 | { |
|
|
6810 | echo "$me: cannot create a temporary directory in ." >&2 |
|
|
6811 | { (exit 1); exit 1; } |
|
|
6812 | } |
|
|
6813 | |
|
|
6814 | # |
|
|
6815 | # Set up the sed scripts for CONFIG_FILES section. |
|
|
6816 | # |
|
|
6817 | |
|
|
6818 | # No need to generate the scripts if there are no CONFIG_FILES. |
|
|
6819 | # This happens for instance when ./config.status config.h |
|
|
6820 | if test -n "$CONFIG_FILES"; then |
|
|
6821 | |
|
|
6822 | _ACEOF |
|
|
6823 | |
|
|
6824 | |
|
|
6825 | |
|
|
6826 | ac_delim='%!_!# ' |
|
|
6827 | for ac_last_try in false false false false false :; do |
|
|
6828 | cat >conf$$subs.sed <<_ACEOF |
|
|
6829 | SHELL!$SHELL$ac_delim |
|
|
6830 | PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim |
|
|
6831 | PACKAGE_NAME!$PACKAGE_NAME$ac_delim |
|
|
6832 | PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim |
|
|
6833 | PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim |
|
|
6834 | PACKAGE_STRING!$PACKAGE_STRING$ac_delim |
|
|
6835 | PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim |
|
|
6836 | exec_prefix!$exec_prefix$ac_delim |
|
|
6837 | prefix!$prefix$ac_delim |
|
|
6838 | program_transform_name!$program_transform_name$ac_delim |
|
|
6839 | bindir!$bindir$ac_delim |
|
|
6840 | sbindir!$sbindir$ac_delim |
|
|
6841 | libexecdir!$libexecdir$ac_delim |
|
|
6842 | datarootdir!$datarootdir$ac_delim |
|
|
6843 | datadir!$datadir$ac_delim |
|
|
6844 | sysconfdir!$sysconfdir$ac_delim |
|
|
6845 | sharedstatedir!$sharedstatedir$ac_delim |
|
|
6846 | localstatedir!$localstatedir$ac_delim |
|
|
6847 | includedir!$includedir$ac_delim |
|
|
6848 | oldincludedir!$oldincludedir$ac_delim |
|
|
6849 | docdir!$docdir$ac_delim |
|
|
6850 | infodir!$infodir$ac_delim |
|
|
6851 | htmldir!$htmldir$ac_delim |
|
|
6852 | dvidir!$dvidir$ac_delim |
|
|
6853 | pdfdir!$pdfdir$ac_delim |
|
|
6854 | psdir!$psdir$ac_delim |
|
|
6855 | libdir!$libdir$ac_delim |
|
|
6856 | localedir!$localedir$ac_delim |
|
|
6857 | mandir!$mandir$ac_delim |
|
|
6858 | DEFS!$DEFS$ac_delim |
|
|
6859 | ECHO_C!$ECHO_C$ac_delim |
|
|
6860 | ECHO_N!$ECHO_N$ac_delim |
|
|
6861 | ECHO_T!$ECHO_T$ac_delim |
|
|
6862 | LIBS!$LIBS$ac_delim |
|
|
6863 | build_alias!$build_alias$ac_delim |
|
|
6864 | host_alias!$host_alias$ac_delim |
|
|
6865 | target_alias!$target_alias$ac_delim |
|
|
6866 | INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim |
|
|
6867 | INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim |
|
|
6868 | INSTALL_DATA!$INSTALL_DATA$ac_delim |
|
|
6869 | am__isrc!$am__isrc$ac_delim |
|
|
6870 | CYGPATH_W!$CYGPATH_W$ac_delim |
|
|
6871 | PACKAGE!$PACKAGE$ac_delim |
|
|
6872 | VERSION!$VERSION$ac_delim |
|
|
6873 | ACLOCAL!$ACLOCAL$ac_delim |
|
|
6874 | AUTOCONF!$AUTOCONF$ac_delim |
|
|
6875 | AUTOMAKE!$AUTOMAKE$ac_delim |
|
|
6876 | AUTOHEADER!$AUTOHEADER$ac_delim |
|
|
6877 | MAKEINFO!$MAKEINFO$ac_delim |
|
|
6878 | install_sh!$install_sh$ac_delim |
|
|
6879 | STRIP!$STRIP$ac_delim |
|
|
6880 | INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim |
|
|
6881 | mkdir_p!$mkdir_p$ac_delim |
|
|
6882 | AWK!$AWK$ac_delim |
|
|
6883 | SET_MAKE!$SET_MAKE$ac_delim |
|
|
6884 | am__leading_dot!$am__leading_dot$ac_delim |
|
|
6885 | AMTAR!$AMTAR$ac_delim |
|
|
6886 | am__tar!$am__tar$ac_delim |
|
|
6887 | am__untar!$am__untar$ac_delim |
|
|
6888 | CC!$CC$ac_delim |
|
|
6889 | CFLAGS!$CFLAGS$ac_delim |
|
|
6890 | LDFLAGS!$LDFLAGS$ac_delim |
|
|
6891 | CPPFLAGS!$CPPFLAGS$ac_delim |
|
|
6892 | ac_ct_CC!$ac_ct_CC$ac_delim |
|
|
6893 | EXEEXT!$EXEEXT$ac_delim |
|
|
6894 | OBJEXT!$OBJEXT$ac_delim |
|
|
6895 | DEPDIR!$DEPDIR$ac_delim |
|
|
6896 | am__include!$am__include$ac_delim |
|
|
6897 | am__quote!$am__quote$ac_delim |
|
|
6898 | AMDEP_TRUE!$AMDEP_TRUE$ac_delim |
|
|
6899 | AMDEP_FALSE!$AMDEP_FALSE$ac_delim |
|
|
6900 | AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim |
|
|
6901 | CCDEPMODE!$CCDEPMODE$ac_delim |
|
|
6902 | am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim |
|
|
6903 | am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim |
|
|
6904 | CPP!$CPP$ac_delim |
|
|
6905 | GREP!$GREP$ac_delim |
|
|
6906 | EGREP!$EGREP$ac_delim |
|
|
6907 | CXX!$CXX$ac_delim |
|
|
6908 | CXXFLAGS!$CXXFLAGS$ac_delim |
|
|
6909 | ac_ct_CXX!$ac_ct_CXX$ac_delim |
|
|
6910 | CXXDEPMODE!$CXXDEPMODE$ac_delim |
|
|
6911 | am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim |
|
|
6912 | am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim |
|
|
6913 | CXXCPP!$CXXCPP$ac_delim |
|
|
6914 | XMKMF!$XMKMF$ac_delim |
|
|
6915 | ANTLR!$ANTLR$ac_delim |
|
|
6916 | DLG!$DLG$ac_delim |
|
|
6917 | HAVE_PCCTS_TRUE!$HAVE_PCCTS_TRUE$ac_delim |
|
|
6918 | HAVE_PCCTS_FALSE!$HAVE_PCCTS_FALSE$ac_delim |
|
|
6919 | LIBOBJS!$LIBOBJS$ac_delim |
|
|
6920 | LTLIBOBJS!$LTLIBOBJS$ac_delim |
|
|
6921 | _ACEOF |
|
|
6922 | |
|
|
6923 | if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 92; then |
|
|
6924 | break |
|
|
6925 | elif $ac_last_try; then |
|
|
6926 | { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
|
|
6927 | echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} |
|
|
6928 | { (exit 1); exit 1; }; } |
|
|
6929 | else |
|
|
6930 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
|
|
6931 | fi |
|
|
6932 | done |
|
|
6933 | |
|
|
6934 | ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` |
|
|
6935 | if test -n "$ac_eof"; then |
|
|
6936 | ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` |
|
|
6937 | ac_eof=`expr $ac_eof + 1` |
|
|
6938 | fi |
|
|
6939 | |
|
|
6940 | cat >>$CONFIG_STATUS <<_ACEOF |
|
|
6941 | cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof |
|
|
6942 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end |
|
|
6943 | _ACEOF |
|
|
6944 | sed ' |
|
|
6945 | s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g |
|
|
6946 | s/^/s,@/; s/!/@,|#_!!_#|/ |
|
|
6947 | :n |
|
|
6948 | t n |
|
|
6949 | s/'"$ac_delim"'$/,g/; t |
|
|
6950 | s/$/\\/; p |
|
|
6951 | N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n |
|
|
6952 | ' >>$CONFIG_STATUS <conf$$subs.sed |
|
|
6953 | rm -f conf$$subs.sed |
|
|
6954 | cat >>$CONFIG_STATUS <<_ACEOF |
|
|
6955 | :end |
|
|
6956 | s/|#_!!_#|//g |
|
|
6957 | CEOF$ac_eof |
|
|
6958 | _ACEOF |
|
|
6959 | |
|
|
6960 | |
|
|
6961 | # VPATH may cause trouble with some makes, so we remove $(srcdir), |
|
|
6962 | # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and |
|
|
6963 | # trailing colons and then remove the whole line if VPATH becomes empty |
|
|
6964 | # (actually we leave an empty line to preserve line numbers). |
|
|
6965 | if test "x$srcdir" = x.; then |
|
|
6966 | ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
|
|
6967 | s/:*\$(srcdir):*/:/ |
|
|
6968 | s/:*\${srcdir}:*/:/ |
|
|
6969 | s/:*@srcdir@:*/:/ |
|
|
6970 | s/^\([^=]*=[ ]*\):*/\1/ |
|
|
6971 | s/:*$// |
|
|
6972 | s/^[^=]*=[ ]*$// |
|
|
6973 | }' |
|
|
6974 | fi |
|
|
6975 | |
|
|
6976 | cat >>$CONFIG_STATUS <<\_ACEOF |
|
|
6977 | fi # test -n "$CONFIG_FILES" |
|
|
6978 | |
|
|
6979 | |
|
|
6980 | for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS |
|
|
6981 | do |
|
|
6982 | case $ac_tag in |
|
|
6983 | :[FHLC]) ac_mode=$ac_tag; continue;; |
|
|
6984 | esac |
|
|
6985 | case $ac_mode$ac_tag in |
|
|
6986 | :[FHL]*:*);; |
|
|
6987 | :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 |
|
|
6988 | echo "$as_me: error: Invalid tag $ac_tag." >&2;} |
|
|
6989 | { (exit 1); exit 1; }; };; |
|
|
6990 | :[FH]-) ac_tag=-:-;; |
|
|
6991 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
|
|
6992 | esac |
|
|
6993 | ac_save_IFS=$IFS |
|
|
6994 | IFS=: |
|
|
6995 | set x $ac_tag |
|
|
6996 | IFS=$ac_save_IFS |
|
|
6997 | shift |
|
|
6998 | ac_file=$1 |
|
|
6999 | shift |
|
|
7000 | |
|
|
7001 | case $ac_mode in |
|
|
7002 | :L) ac_source=$1;; |
|
|
7003 | :[FH]) |
|
|
7004 | ac_file_inputs= |
|
|
7005 | for ac_f |
|
|
7006 | do |
|
|
7007 | case $ac_f in |
|
|
7008 | -) ac_f="$tmp/stdin";; |
|
|
7009 | *) # Look for the file first in the build tree, then in the source tree |
|
|
7010 | # (if the path is not absolute). The absolute path cannot be DOS-style, |
|
|
7011 | # because $ac_f cannot contain `:'. |
|
|
7012 | test -f "$ac_f" || |
|
|
7013 | case $ac_f in |
|
|
7014 | [\\/$]*) false;; |
|
|
7015 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
|
|
7016 | esac || |
|
|
7017 | { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 |
|
|
7018 | echo "$as_me: error: cannot find input file: $ac_f" >&2;} |
|
|
7019 | { (exit 1); exit 1; }; };; |
|
|
7020 | esac |
|
|
7021 | ac_file_inputs="$ac_file_inputs $ac_f" |
|
|
7022 | done |
|
|
7023 | |
|
|
7024 | # Let's still pretend it is `configure' which instantiates (i.e., don't |
|
|
7025 | # use $as_me), people would be surprised to read: |
|
|
7026 | # /* config.h. Generated by config.status. */ |
|
|
7027 | configure_input="Generated from "`IFS=: |
|
|
7028 | echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." |
|
|
7029 | if test x"$ac_file" != x-; then |
|
|
7030 | configure_input="$ac_file. $configure_input" |
|
|
7031 | { echo "$as_me:$LINENO: creating $ac_file" >&5 |
|
|
7032 | echo "$as_me: creating $ac_file" >&6;} |
|
|
7033 | fi |
|
|
7034 | |
|
|
7035 | case $ac_tag in |
|
|
7036 | *:-:* | *:-) cat >"$tmp/stdin";; |
|
|
7037 | esac |
|
|
7038 | ;; |
|
|
7039 | esac |
|
|
7040 | |
|
|
7041 | ac_dir=`$as_dirname -- "$ac_file" || |
|
|
7042 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
|
7043 | X"$ac_file" : 'X\(//\)[^/]' \| \ |
|
|
7044 | X"$ac_file" : 'X\(//\)$' \| \ |
|
|
7045 | X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || |
|
|
7046 | echo X"$ac_file" | |
|
|
7047 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|
|
7048 | s//\1/ |
|
|
7049 | q |
|
|
7050 | } |
|
|
7051 | /^X\(\/\/\)[^/].*/{ |
|
|
7052 | s//\1/ |
|
|
7053 | q |
|
|
7054 | } |
|
|
7055 | /^X\(\/\/\)$/{ |
|
|
7056 | s//\1/ |
|
|
7057 | q |
|
|
7058 | } |
|
|
7059 | /^X\(\/\).*/{ |
|
|
7060 | s//\1/ |
|
|
7061 | q |
|
|
7062 | } |
|
|
7063 | s/.*/./; q'` |
|
|
7064 | { as_dir="$ac_dir" |
|
|
7065 | case $as_dir in #( |
5717 | case $as_dir in #( |
7066 | -*) as_dir=./$as_dir;; |
5718 | -*) as_dir=./$as_dir;; |
7067 | esac |
5719 | esac |
7068 | test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { |
5720 | test -d "$as_dir" || eval $as_mkdir_p || { |
7069 | as_dirs= |
5721 | as_dirs= |
7070 | while :; do |
5722 | while :; do |
7071 | case $as_dir in #( |
5723 | case $as_dir in #( |
7072 | *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( |
5724 | *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
7073 | *) as_qdir=$as_dir;; |
5725 | *) as_qdir=$as_dir;; |
7074 | esac |
5726 | esac |
7075 | as_dirs="'$as_qdir' $as_dirs" |
5727 | as_dirs="'$as_qdir' $as_dirs" |
7076 | as_dir=`$as_dirname -- "$as_dir" || |
5728 | as_dir=`$as_dirname -- "$as_dir" || |
7077 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
5729 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
7078 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
5730 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
7079 | X"$as_dir" : 'X\(//\)$' \| \ |
5731 | X"$as_dir" : 'X\(//\)$' \| \ |
7080 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
5732 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
7081 | echo X"$as_dir" | |
5733 | $as_echo X"$as_dir" | |
7082 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
5734 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
7083 | s//\1/ |
5735 | s//\1/ |
7084 | q |
5736 | q |
7085 | } |
5737 | } |
7086 | /^X\(\/\/\)[^/].*/{ |
5738 | /^X\(\/\/\)[^/].*/{ |
… | |
… | |
7097 | } |
5749 | } |
7098 | s/.*/./; q'` |
5750 | s/.*/./; q'` |
7099 | test -d "$as_dir" && break |
5751 | test -d "$as_dir" && break |
7100 | done |
5752 | done |
7101 | test -z "$as_dirs" || eval "mkdir $as_dirs" |
5753 | test -z "$as_dirs" || eval "mkdir $as_dirs" |
7102 | } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 |
5754 | } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
7103 | echo "$as_me: error: cannot create directory $as_dir" >&2;} |
5755 | |
7104 | { (exit 1); exit 1; }; }; } |
5756 | |
|
|
5757 | } # as_fn_mkdir_p |
|
|
5758 | if mkdir -p . 2>/dev/null; then |
|
|
5759 | as_mkdir_p='mkdir -p "$as_dir"' |
|
|
5760 | else |
|
|
5761 | test -d ./-p && rmdir ./-p |
|
|
5762 | as_mkdir_p=false |
|
|
5763 | fi |
|
|
5764 | |
|
|
5765 | |
|
|
5766 | # as_fn_executable_p FILE |
|
|
5767 | # ----------------------- |
|
|
5768 | # Test if FILE is an executable regular file. |
|
|
5769 | as_fn_executable_p () |
|
|
5770 | { |
|
|
5771 | test -f "$1" && test -x "$1" |
|
|
5772 | } # as_fn_executable_p |
|
|
5773 | as_test_x='test -x' |
|
|
5774 | as_executable_p=as_fn_executable_p |
|
|
5775 | |
|
|
5776 | # Sed expression to map a string onto a valid CPP name. |
|
|
5777 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
|
|
5778 | |
|
|
5779 | # Sed expression to map a string onto a valid variable name. |
|
|
5780 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
|
|
5781 | |
|
|
5782 | |
|
|
5783 | exec 6>&1 |
|
|
5784 | ## ----------------------------------- ## |
|
|
5785 | ## Main body of $CONFIG_STATUS script. ## |
|
|
5786 | ## ----------------------------------- ## |
|
|
5787 | _ASEOF |
|
|
5788 | test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 |
|
|
5789 | |
|
|
5790 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
|
5791 | # Save the log message, to keep $0 and so on meaningful, and to |
|
|
5792 | # report actual input values of CONFIG_FILES etc. instead of their |
|
|
5793 | # values after options handling. |
|
|
5794 | ac_log=" |
|
|
5795 | This file was extended by $as_me, which was |
|
|
5796 | generated by GNU Autoconf 2.69. Invocation command line was |
|
|
5797 | |
|
|
5798 | CONFIG_FILES = $CONFIG_FILES |
|
|
5799 | CONFIG_HEADERS = $CONFIG_HEADERS |
|
|
5800 | CONFIG_LINKS = $CONFIG_LINKS |
|
|
5801 | CONFIG_COMMANDS = $CONFIG_COMMANDS |
|
|
5802 | $ $0 $@ |
|
|
5803 | |
|
|
5804 | on `(hostname || uname -n) 2>/dev/null | sed 1q` |
|
|
5805 | " |
|
|
5806 | |
|
|
5807 | _ACEOF |
|
|
5808 | |
|
|
5809 | case $ac_config_files in *" |
|
|
5810 | "*) set x $ac_config_files; shift; ac_config_files=$*;; |
|
|
5811 | esac |
|
|
5812 | |
|
|
5813 | case $ac_config_headers in *" |
|
|
5814 | "*) set x $ac_config_headers; shift; ac_config_headers=$*;; |
|
|
5815 | esac |
|
|
5816 | |
|
|
5817 | |
|
|
5818 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
|
5819 | # Files that config.status was made for. |
|
|
5820 | config_files="$ac_config_files" |
|
|
5821 | config_headers="$ac_config_headers" |
|
|
5822 | config_commands="$ac_config_commands" |
|
|
5823 | |
|
|
5824 | _ACEOF |
|
|
5825 | |
|
|
5826 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
|
5827 | ac_cs_usage="\ |
|
|
5828 | \`$as_me' instantiates files and other configuration actions |
|
|
5829 | from templates according to the current configuration. Unless the files |
|
|
5830 | and actions are specified as TAGs, all are instantiated by default. |
|
|
5831 | |
|
|
5832 | Usage: $0 [OPTION]... [TAG]... |
|
|
5833 | |
|
|
5834 | -h, --help print this help, then exit |
|
|
5835 | -V, --version print version number and configuration settings, then exit |
|
|
5836 | --config print configuration, then exit |
|
|
5837 | -q, --quiet, --silent |
|
|
5838 | do not print progress messages |
|
|
5839 | -d, --debug don't remove temporary files |
|
|
5840 | --recheck update $as_me by reconfiguring in the same conditions |
|
|
5841 | --file=FILE[:TEMPLATE] |
|
|
5842 | instantiate the configuration file FILE |
|
|
5843 | --header=FILE[:TEMPLATE] |
|
|
5844 | instantiate the configuration header FILE |
|
|
5845 | |
|
|
5846 | Configuration files: |
|
|
5847 | $config_files |
|
|
5848 | |
|
|
5849 | Configuration headers: |
|
|
5850 | $config_headers |
|
|
5851 | |
|
|
5852 | Configuration commands: |
|
|
5853 | $config_commands |
|
|
5854 | |
|
|
5855 | Report bugs to the package provider." |
|
|
5856 | |
|
|
5857 | _ACEOF |
|
|
5858 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
|
5859 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
|
|
5860 | ac_cs_version="\\ |
|
|
5861 | config.status |
|
|
5862 | configured by $0, generated by GNU Autoconf 2.69, |
|
|
5863 | with options \\"\$ac_cs_config\\" |
|
|
5864 | |
|
|
5865 | Copyright (C) 2012 Free Software Foundation, Inc. |
|
|
5866 | This config.status script is free software; the Free Software Foundation |
|
|
5867 | gives unlimited permission to copy, distribute and modify it." |
|
|
5868 | |
|
|
5869 | ac_pwd='$ac_pwd' |
|
|
5870 | srcdir='$srcdir' |
|
|
5871 | INSTALL='$INSTALL' |
|
|
5872 | MKDIR_P='$MKDIR_P' |
|
|
5873 | AWK='$AWK' |
|
|
5874 | test -n "\$AWK" || AWK=awk |
|
|
5875 | _ACEOF |
|
|
5876 | |
|
|
5877 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
|
5878 | # The default lists apply if the user does not specify any file. |
|
|
5879 | ac_need_defaults=: |
|
|
5880 | while test $# != 0 |
|
|
5881 | do |
|
|
5882 | case $1 in |
|
|
5883 | --*=?*) |
|
|
5884 | ac_option=`expr "X$1" : 'X\([^=]*\)='` |
|
|
5885 | ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` |
|
|
5886 | ac_shift=: |
|
|
5887 | ;; |
|
|
5888 | --*=) |
|
|
5889 | ac_option=`expr "X$1" : 'X\([^=]*\)='` |
|
|
5890 | ac_optarg= |
|
|
5891 | ac_shift=: |
|
|
5892 | ;; |
|
|
5893 | *) |
|
|
5894 | ac_option=$1 |
|
|
5895 | ac_optarg=$2 |
|
|
5896 | ac_shift=shift |
|
|
5897 | ;; |
|
|
5898 | esac |
|
|
5899 | |
|
|
5900 | case $ac_option in |
|
|
5901 | # Handling of the options. |
|
|
5902 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
|
|
5903 | ac_cs_recheck=: ;; |
|
|
5904 | --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) |
|
|
5905 | $as_echo "$ac_cs_version"; exit ;; |
|
|
5906 | --config | --confi | --conf | --con | --co | --c ) |
|
|
5907 | $as_echo "$ac_cs_config"; exit ;; |
|
|
5908 | --debug | --debu | --deb | --de | --d | -d ) |
|
|
5909 | debug=: ;; |
|
|
5910 | --file | --fil | --fi | --f ) |
|
|
5911 | $ac_shift |
|
|
5912 | case $ac_optarg in |
|
|
5913 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
|
|
5914 | '') as_fn_error $? "missing file argument" ;; |
|
|
5915 | esac |
|
|
5916 | as_fn_append CONFIG_FILES " '$ac_optarg'" |
|
|
5917 | ac_need_defaults=false;; |
|
|
5918 | --header | --heade | --head | --hea ) |
|
|
5919 | $ac_shift |
|
|
5920 | case $ac_optarg in |
|
|
5921 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
|
|
5922 | esac |
|
|
5923 | as_fn_append CONFIG_HEADERS " '$ac_optarg'" |
|
|
5924 | ac_need_defaults=false;; |
|
|
5925 | --he | --h) |
|
|
5926 | # Conflict between --help and --header |
|
|
5927 | as_fn_error $? "ambiguous option: \`$1' |
|
|
5928 | Try \`$0 --help' for more information.";; |
|
|
5929 | --help | --hel | -h ) |
|
|
5930 | $as_echo "$ac_cs_usage"; exit ;; |
|
|
5931 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
|
|
5932 | | -silent | --silent | --silen | --sile | --sil | --si | --s) |
|
|
5933 | ac_cs_silent=: ;; |
|
|
5934 | |
|
|
5935 | # This is an error. |
|
|
5936 | -*) as_fn_error $? "unrecognized option: \`$1' |
|
|
5937 | Try \`$0 --help' for more information." ;; |
|
|
5938 | |
|
|
5939 | *) as_fn_append ac_config_targets " $1" |
|
|
5940 | ac_need_defaults=false ;; |
|
|
5941 | |
|
|
5942 | esac |
|
|
5943 | shift |
|
|
5944 | done |
|
|
5945 | |
|
|
5946 | ac_configure_extra_args= |
|
|
5947 | |
|
|
5948 | if $ac_cs_silent; then |
|
|
5949 | exec 6>/dev/null |
|
|
5950 | ac_configure_extra_args="$ac_configure_extra_args --silent" |
|
|
5951 | fi |
|
|
5952 | |
|
|
5953 | _ACEOF |
|
|
5954 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
|
5955 | if \$ac_cs_recheck; then |
|
|
5956 | set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
|
|
5957 | shift |
|
|
5958 | \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 |
|
|
5959 | CONFIG_SHELL='$SHELL' |
|
|
5960 | export CONFIG_SHELL |
|
|
5961 | exec "\$@" |
|
|
5962 | fi |
|
|
5963 | |
|
|
5964 | _ACEOF |
|
|
5965 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
|
5966 | exec 5>>config.log |
|
|
5967 | { |
|
|
5968 | echo |
|
|
5969 | sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX |
|
|
5970 | ## Running $as_me. ## |
|
|
5971 | _ASBOX |
|
|
5972 | $as_echo "$ac_log" |
|
|
5973 | } >&5 |
|
|
5974 | |
|
|
5975 | _ACEOF |
|
|
5976 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
|
5977 | # |
|
|
5978 | # INIT-COMMANDS |
|
|
5979 | # |
|
|
5980 | AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" |
|
|
5981 | |
|
|
5982 | _ACEOF |
|
|
5983 | |
|
|
5984 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
|
5985 | |
|
|
5986 | # Handling of arguments. |
|
|
5987 | for ac_config_target in $ac_config_targets |
|
|
5988 | do |
|
|
5989 | case $ac_config_target in |
|
|
5990 | "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; |
|
|
5991 | "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; |
|
|
5992 | "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
|
|
5993 | |
|
|
5994 | *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
|
|
5995 | esac |
|
|
5996 | done |
|
|
5997 | |
|
|
5998 | |
|
|
5999 | # If the user did not use the arguments to specify the items to instantiate, |
|
|
6000 | # then the envvar interface is used. Set only those that are not. |
|
|
6001 | # We use the long form for the default assignment because of an extremely |
|
|
6002 | # bizarre bug on SunOS 4.1.3. |
|
|
6003 | if $ac_need_defaults; then |
|
|
6004 | test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files |
|
|
6005 | test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers |
|
|
6006 | test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands |
|
|
6007 | fi |
|
|
6008 | |
|
|
6009 | # Have a temporary directory for convenience. Make it in the build tree |
|
|
6010 | # simply because there is no reason against having it here, and in addition, |
|
|
6011 | # creating and moving files from /tmp can sometimes cause problems. |
|
|
6012 | # Hook for its removal unless debugging. |
|
|
6013 | # Note that there is a small window in which the directory will not be cleaned: |
|
|
6014 | # after its creation but before its name has been assigned to `$tmp'. |
|
|
6015 | $debug || |
|
|
6016 | { |
|
|
6017 | tmp= ac_tmp= |
|
|
6018 | trap 'exit_status=$? |
|
|
6019 | : "${ac_tmp:=$tmp}" |
|
|
6020 | { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status |
|
|
6021 | ' 0 |
|
|
6022 | trap 'as_fn_exit 1' 1 2 13 15 |
|
|
6023 | } |
|
|
6024 | # Create a (secure) tmp directory for tmp files. |
|
|
6025 | |
|
|
6026 | { |
|
|
6027 | tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
|
|
6028 | test -d "$tmp" |
|
|
6029 | } || |
|
|
6030 | { |
|
|
6031 | tmp=./conf$$-$RANDOM |
|
|
6032 | (umask 077 && mkdir "$tmp") |
|
|
6033 | } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 |
|
|
6034 | ac_tmp=$tmp |
|
|
6035 | |
|
|
6036 | # Set up the scripts for CONFIG_FILES section. |
|
|
6037 | # No need to generate them if there are no CONFIG_FILES. |
|
|
6038 | # This happens for instance with `./config.status config.h'. |
|
|
6039 | if test -n "$CONFIG_FILES"; then |
|
|
6040 | |
|
|
6041 | |
|
|
6042 | ac_cr=`echo X | tr X '\015'` |
|
|
6043 | # On cygwin, bash can eat \r inside `` if the user requested igncr. |
|
|
6044 | # But we know of no other shell where ac_cr would be empty at this |
|
|
6045 | # point, so we can use a bashism as a fallback. |
|
|
6046 | if test "x$ac_cr" = x; then |
|
|
6047 | eval ac_cr=\$\'\\r\' |
|
|
6048 | fi |
|
|
6049 | ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` |
|
|
6050 | if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then |
|
|
6051 | ac_cs_awk_cr='\\r' |
|
|
6052 | else |
|
|
6053 | ac_cs_awk_cr=$ac_cr |
|
|
6054 | fi |
|
|
6055 | |
|
|
6056 | echo 'BEGIN {' >"$ac_tmp/subs1.awk" && |
|
|
6057 | _ACEOF |
|
|
6058 | |
|
|
6059 | |
|
|
6060 | { |
|
|
6061 | echo "cat >conf$$subs.awk <<_ACEOF" && |
|
|
6062 | echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && |
|
|
6063 | echo "_ACEOF" |
|
|
6064 | } >conf$$subs.sh || |
|
|
6065 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
|
|
6066 | ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` |
|
|
6067 | ac_delim='%!_!# ' |
|
|
6068 | for ac_last_try in false false false false false :; do |
|
|
6069 | . ./conf$$subs.sh || |
|
|
6070 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
|
|
6071 | |
|
|
6072 | ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` |
|
|
6073 | if test $ac_delim_n = $ac_delim_num; then |
|
|
6074 | break |
|
|
6075 | elif $ac_last_try; then |
|
|
6076 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
|
|
6077 | else |
|
|
6078 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
|
|
6079 | fi |
|
|
6080 | done |
|
|
6081 | rm -f conf$$subs.sh |
|
|
6082 | |
|
|
6083 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
|
6084 | cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && |
|
|
6085 | _ACEOF |
|
|
6086 | sed -n ' |
|
|
6087 | h |
|
|
6088 | s/^/S["/; s/!.*/"]=/ |
|
|
6089 | p |
|
|
6090 | g |
|
|
6091 | s/^[^!]*!// |
|
|
6092 | :repl |
|
|
6093 | t repl |
|
|
6094 | s/'"$ac_delim"'$// |
|
|
6095 | t delim |
|
|
6096 | :nl |
|
|
6097 | h |
|
|
6098 | s/\(.\{148\}\)..*/\1/ |
|
|
6099 | t more1 |
|
|
6100 | s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ |
|
|
6101 | p |
|
|
6102 | n |
|
|
6103 | b repl |
|
|
6104 | :more1 |
|
|
6105 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/ |
|
|
6106 | p |
|
|
6107 | g |
|
|
6108 | s/.\{148\}// |
|
|
6109 | t nl |
|
|
6110 | :delim |
|
|
6111 | h |
|
|
6112 | s/\(.\{148\}\)..*/\1/ |
|
|
6113 | t more2 |
|
|
6114 | s/["\\]/\\&/g; s/^/"/; s/$/"/ |
|
|
6115 | p |
|
|
6116 | b |
|
|
6117 | :more2 |
|
|
6118 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/ |
|
|
6119 | p |
|
|
6120 | g |
|
|
6121 | s/.\{148\}// |
|
|
6122 | t delim |
|
|
6123 | ' <conf$$subs.awk | sed ' |
|
|
6124 | /^[^""]/{ |
|
|
6125 | N |
|
|
6126 | s/\n// |
|
|
6127 | } |
|
|
6128 | ' >>$CONFIG_STATUS || ac_write_fail=1 |
|
|
6129 | rm -f conf$$subs.awk |
|
|
6130 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
|
6131 | _ACAWK |
|
|
6132 | cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && |
|
|
6133 | for (key in S) S_is_set[key] = 1 |
|
|
6134 | FS = "" |
|
|
6135 | |
|
|
6136 | } |
|
|
6137 | { |
|
|
6138 | line = $ 0 |
|
|
6139 | nfields = split(line, field, "@") |
|
|
6140 | substed = 0 |
|
|
6141 | len = length(field[1]) |
|
|
6142 | for (i = 2; i < nfields; i++) { |
|
|
6143 | key = field[i] |
|
|
6144 | keylen = length(key) |
|
|
6145 | if (S_is_set[key]) { |
|
|
6146 | value = S[key] |
|
|
6147 | line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) |
|
|
6148 | len += length(value) + length(field[++i]) |
|
|
6149 | substed = 1 |
|
|
6150 | } else |
|
|
6151 | len += 1 + keylen |
|
|
6152 | } |
|
|
6153 | |
|
|
6154 | print line |
|
|
6155 | } |
|
|
6156 | |
|
|
6157 | _ACAWK |
|
|
6158 | _ACEOF |
|
|
6159 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
|
6160 | if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then |
|
|
6161 | sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" |
|
|
6162 | else |
|
|
6163 | cat |
|
|
6164 | fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ |
|
|
6165 | || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 |
|
|
6166 | _ACEOF |
|
|
6167 | |
|
|
6168 | # VPATH may cause trouble with some makes, so we remove sole $(srcdir), |
|
|
6169 | # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and |
|
|
6170 | # trailing colons and then remove the whole line if VPATH becomes empty |
|
|
6171 | # (actually we leave an empty line to preserve line numbers). |
|
|
6172 | if test "x$srcdir" = x.; then |
|
|
6173 | ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ |
|
|
6174 | h |
|
|
6175 | s/// |
|
|
6176 | s/^/:/ |
|
|
6177 | s/[ ]*$/:/ |
|
|
6178 | s/:\$(srcdir):/:/g |
|
|
6179 | s/:\${srcdir}:/:/g |
|
|
6180 | s/:@srcdir@:/:/g |
|
|
6181 | s/^:*// |
|
|
6182 | s/:*$// |
|
|
6183 | x |
|
|
6184 | s/\(=[ ]*\).*/\1/ |
|
|
6185 | G |
|
|
6186 | s/\n// |
|
|
6187 | s/^[^=]*=[ ]*$// |
|
|
6188 | }' |
|
|
6189 | fi |
|
|
6190 | |
|
|
6191 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
|
6192 | fi # test -n "$CONFIG_FILES" |
|
|
6193 | |
|
|
6194 | # Set up the scripts for CONFIG_HEADERS section. |
|
|
6195 | # No need to generate them if there are no CONFIG_HEADERS. |
|
|
6196 | # This happens for instance with `./config.status Makefile'. |
|
|
6197 | if test -n "$CONFIG_HEADERS"; then |
|
|
6198 | cat >"$ac_tmp/defines.awk" <<\_ACAWK || |
|
|
6199 | BEGIN { |
|
|
6200 | _ACEOF |
|
|
6201 | |
|
|
6202 | # Transform confdefs.h into an awk script `defines.awk', embedded as |
|
|
6203 | # here-document in config.status, that substitutes the proper values into |
|
|
6204 | # config.h.in to produce config.h. |
|
|
6205 | |
|
|
6206 | # Create a delimiter string that does not exist in confdefs.h, to ease |
|
|
6207 | # handling of long lines. |
|
|
6208 | ac_delim='%!_!# ' |
|
|
6209 | for ac_last_try in false false :; do |
|
|
6210 | ac_tt=`sed -n "/$ac_delim/p" confdefs.h` |
|
|
6211 | if test -z "$ac_tt"; then |
|
|
6212 | break |
|
|
6213 | elif $ac_last_try; then |
|
|
6214 | as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 |
|
|
6215 | else |
|
|
6216 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
|
|
6217 | fi |
|
|
6218 | done |
|
|
6219 | |
|
|
6220 | # For the awk script, D is an array of macro values keyed by name, |
|
|
6221 | # likewise P contains macro parameters if any. Preserve backslash |
|
|
6222 | # newline sequences. |
|
|
6223 | |
|
|
6224 | ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* |
|
|
6225 | sed -n ' |
|
|
6226 | s/.\{148\}/&'"$ac_delim"'/g |
|
|
6227 | t rset |
|
|
6228 | :rset |
|
|
6229 | s/^[ ]*#[ ]*define[ ][ ]*/ / |
|
|
6230 | t def |
|
|
6231 | d |
|
|
6232 | :def |
|
|
6233 | s/\\$// |
|
|
6234 | t bsnl |
|
|
6235 | s/["\\]/\\&/g |
|
|
6236 | s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ |
|
|
6237 | D["\1"]=" \3"/p |
|
|
6238 | s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p |
|
|
6239 | d |
|
|
6240 | :bsnl |
|
|
6241 | s/["\\]/\\&/g |
|
|
6242 | s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ |
|
|
6243 | D["\1"]=" \3\\\\\\n"\\/p |
|
|
6244 | t cont |
|
|
6245 | s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p |
|
|
6246 | t cont |
|
|
6247 | d |
|
|
6248 | :cont |
|
|
6249 | n |
|
|
6250 | s/.\{148\}/&'"$ac_delim"'/g |
|
|
6251 | t clear |
|
|
6252 | :clear |
|
|
6253 | s/\\$// |
|
|
6254 | t bsnlc |
|
|
6255 | s/["\\]/\\&/g; s/^/"/; s/$/"/p |
|
|
6256 | d |
|
|
6257 | :bsnlc |
|
|
6258 | s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p |
|
|
6259 | b cont |
|
|
6260 | ' <confdefs.h | sed ' |
|
|
6261 | s/'"$ac_delim"'/"\\\ |
|
|
6262 | "/g' >>$CONFIG_STATUS || ac_write_fail=1 |
|
|
6263 | |
|
|
6264 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
|
6265 | for (key in D) D_is_set[key] = 1 |
|
|
6266 | FS = "" |
|
|
6267 | } |
|
|
6268 | /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { |
|
|
6269 | line = \$ 0 |
|
|
6270 | split(line, arg, " ") |
|
|
6271 | if (arg[1] == "#") { |
|
|
6272 | defundef = arg[2] |
|
|
6273 | mac1 = arg[3] |
|
|
6274 | } else { |
|
|
6275 | defundef = substr(arg[1], 2) |
|
|
6276 | mac1 = arg[2] |
|
|
6277 | } |
|
|
6278 | split(mac1, mac2, "(") #) |
|
|
6279 | macro = mac2[1] |
|
|
6280 | prefix = substr(line, 1, index(line, defundef) - 1) |
|
|
6281 | if (D_is_set[macro]) { |
|
|
6282 | # Preserve the white space surrounding the "#". |
|
|
6283 | print prefix "define", macro P[macro] D[macro] |
|
|
6284 | next |
|
|
6285 | } else { |
|
|
6286 | # Replace #undef with comments. This is necessary, for example, |
|
|
6287 | # in the case of _POSIX_SOURCE, which is predefined and required |
|
|
6288 | # on some systems where configure will not decide to define it. |
|
|
6289 | if (defundef == "undef") { |
|
|
6290 | print "/*", prefix defundef, macro, "*/" |
|
|
6291 | next |
|
|
6292 | } |
|
|
6293 | } |
|
|
6294 | } |
|
|
6295 | { print } |
|
|
6296 | _ACAWK |
|
|
6297 | _ACEOF |
|
|
6298 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
|
6299 | as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 |
|
|
6300 | fi # test -n "$CONFIG_HEADERS" |
|
|
6301 | |
|
|
6302 | |
|
|
6303 | eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" |
|
|
6304 | shift |
|
|
6305 | for ac_tag |
|
|
6306 | do |
|
|
6307 | case $ac_tag in |
|
|
6308 | :[FHLC]) ac_mode=$ac_tag; continue;; |
|
|
6309 | esac |
|
|
6310 | case $ac_mode$ac_tag in |
|
|
6311 | :[FHL]*:*);; |
|
|
6312 | :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; |
|
|
6313 | :[FH]-) ac_tag=-:-;; |
|
|
6314 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
|
|
6315 | esac |
|
|
6316 | ac_save_IFS=$IFS |
|
|
6317 | IFS=: |
|
|
6318 | set x $ac_tag |
|
|
6319 | IFS=$ac_save_IFS |
|
|
6320 | shift |
|
|
6321 | ac_file=$1 |
|
|
6322 | shift |
|
|
6323 | |
|
|
6324 | case $ac_mode in |
|
|
6325 | :L) ac_source=$1;; |
|
|
6326 | :[FH]) |
|
|
6327 | ac_file_inputs= |
|
|
6328 | for ac_f |
|
|
6329 | do |
|
|
6330 | case $ac_f in |
|
|
6331 | -) ac_f="$ac_tmp/stdin";; |
|
|
6332 | *) # Look for the file first in the build tree, then in the source tree |
|
|
6333 | # (if the path is not absolute). The absolute path cannot be DOS-style, |
|
|
6334 | # because $ac_f cannot contain `:'. |
|
|
6335 | test -f "$ac_f" || |
|
|
6336 | case $ac_f in |
|
|
6337 | [\\/$]*) false;; |
|
|
6338 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
|
|
6339 | esac || |
|
|
6340 | as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; |
|
|
6341 | esac |
|
|
6342 | case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
|
|
6343 | as_fn_append ac_file_inputs " '$ac_f'" |
|
|
6344 | done |
|
|
6345 | |
|
|
6346 | # Let's still pretend it is `configure' which instantiates (i.e., don't |
|
|
6347 | # use $as_me), people would be surprised to read: |
|
|
6348 | # /* config.h. Generated by config.status. */ |
|
|
6349 | configure_input='Generated from '` |
|
|
6350 | $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' |
|
|
6351 | `' by configure.' |
|
|
6352 | if test x"$ac_file" != x-; then |
|
|
6353 | configure_input="$ac_file. $configure_input" |
|
|
6354 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 |
|
|
6355 | $as_echo "$as_me: creating $ac_file" >&6;} |
|
|
6356 | fi |
|
|
6357 | # Neutralize special characters interpreted by sed in replacement strings. |
|
|
6358 | case $configure_input in #( |
|
|
6359 | *\&* | *\|* | *\\* ) |
|
|
6360 | ac_sed_conf_input=`$as_echo "$configure_input" | |
|
|
6361 | sed 's/[\\\\&|]/\\\\&/g'`;; #( |
|
|
6362 | *) ac_sed_conf_input=$configure_input;; |
|
|
6363 | esac |
|
|
6364 | |
|
|
6365 | case $ac_tag in |
|
|
6366 | *:-:* | *:-) cat >"$ac_tmp/stdin" \ |
|
|
6367 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; |
|
|
6368 | esac |
|
|
6369 | ;; |
|
|
6370 | esac |
|
|
6371 | |
|
|
6372 | ac_dir=`$as_dirname -- "$ac_file" || |
|
|
6373 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
|
6374 | X"$ac_file" : 'X\(//\)[^/]' \| \ |
|
|
6375 | X"$ac_file" : 'X\(//\)$' \| \ |
|
|
6376 | X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || |
|
|
6377 | $as_echo X"$ac_file" | |
|
|
6378 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|
|
6379 | s//\1/ |
|
|
6380 | q |
|
|
6381 | } |
|
|
6382 | /^X\(\/\/\)[^/].*/{ |
|
|
6383 | s//\1/ |
|
|
6384 | q |
|
|
6385 | } |
|
|
6386 | /^X\(\/\/\)$/{ |
|
|
6387 | s//\1/ |
|
|
6388 | q |
|
|
6389 | } |
|
|
6390 | /^X\(\/\).*/{ |
|
|
6391 | s//\1/ |
|
|
6392 | q |
|
|
6393 | } |
|
|
6394 | s/.*/./; q'` |
|
|
6395 | as_dir="$ac_dir"; as_fn_mkdir_p |
7105 | ac_builddir=. |
6396 | ac_builddir=. |
7106 | |
6397 | |
7107 | case "$ac_dir" in |
6398 | case "$ac_dir" in |
7108 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
6399 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
7109 | *) |
6400 | *) |
7110 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
6401 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
7111 | # A ".." for each directory in $ac_dir_suffix. |
6402 | # A ".." for each directory in $ac_dir_suffix. |
7112 | ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` |
6403 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
7113 | case $ac_top_builddir_sub in |
6404 | case $ac_top_builddir_sub in |
7114 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
6405 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
7115 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
6406 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
7116 | esac ;; |
6407 | esac ;; |
7117 | esac |
6408 | esac |
… | |
… | |
7152 | [\\/$]* | ?:[\\/]* ) ;; |
6443 | [\\/$]* | ?:[\\/]* ) ;; |
7153 | */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; |
6444 | */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; |
7154 | esac |
6445 | esac |
7155 | _ACEOF |
6446 | _ACEOF |
7156 | |
6447 | |
7157 | cat >>$CONFIG_STATUS <<\_ACEOF |
6448 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
7158 | # If the template does not know about datarootdir, expand it. |
6449 | # If the template does not know about datarootdir, expand it. |
7159 | # FIXME: This hack should be removed a few years after 2.60. |
6450 | # FIXME: This hack should be removed a few years after 2.60. |
7160 | ac_datarootdir_hack=; ac_datarootdir_seen= |
6451 | ac_datarootdir_hack=; ac_datarootdir_seen= |
7161 | |
6452 | ac_sed_dataroot=' |
7162 | case `sed -n '/datarootdir/ { |
6453 | /datarootdir/ { |
7163 | p |
6454 | p |
7164 | q |
6455 | q |
7165 | } |
6456 | } |
7166 | /@datadir@/p |
6457 | /@datadir@/p |
7167 | /@docdir@/p |
6458 | /@docdir@/p |
7168 | /@infodir@/p |
6459 | /@infodir@/p |
7169 | /@localedir@/p |
6460 | /@localedir@/p |
7170 | /@mandir@/p |
6461 | /@mandir@/p' |
7171 | ' $ac_file_inputs` in |
6462 | case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in |
7172 | *datarootdir*) ac_datarootdir_seen=yes;; |
6463 | *datarootdir*) ac_datarootdir_seen=yes;; |
7173 | *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) |
6464 | *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) |
7174 | { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 |
6465 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 |
7175 | echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} |
6466 | $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} |
7176 | _ACEOF |
6467 | _ACEOF |
7177 | cat >>$CONFIG_STATUS <<_ACEOF |
6468 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
7178 | ac_datarootdir_hack=' |
6469 | ac_datarootdir_hack=' |
7179 | s&@datadir@&$datadir&g |
6470 | s&@datadir@&$datadir&g |
7180 | s&@docdir@&$docdir&g |
6471 | s&@docdir@&$docdir&g |
7181 | s&@infodir@&$infodir&g |
6472 | s&@infodir@&$infodir&g |
7182 | s&@localedir@&$localedir&g |
6473 | s&@localedir@&$localedir&g |
7183 | s&@mandir@&$mandir&g |
6474 | s&@mandir@&$mandir&g |
7184 | s&\\\${datarootdir}&$datarootdir&g' ;; |
6475 | s&\\\${datarootdir}&$datarootdir&g' ;; |
7185 | esac |
6476 | esac |
7186 | _ACEOF |
6477 | _ACEOF |
7187 | |
6478 | |
7188 | # Neutralize VPATH when `$srcdir' = `.'. |
6479 | # Neutralize VPATH when `$srcdir' = `.'. |
7189 | # Shell code in configure.ac might set extrasub. |
6480 | # Shell code in configure.ac might set extrasub. |
7190 | # FIXME: do we really want to maintain this feature? |
6481 | # FIXME: do we really want to maintain this feature? |
7191 | cat >>$CONFIG_STATUS <<_ACEOF |
6482 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
7192 | sed "$ac_vpsub |
6483 | ac_sed_extra="$ac_vpsub |
7193 | $extrasub |
6484 | $extrasub |
7194 | _ACEOF |
6485 | _ACEOF |
7195 | cat >>$CONFIG_STATUS <<\_ACEOF |
6486 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
7196 | :t |
6487 | :t |
7197 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
6488 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
7198 | s&@configure_input@&$configure_input&;t t |
6489 | s|@configure_input@|$ac_sed_conf_input|;t t |
7199 | s&@top_builddir@&$ac_top_builddir_sub&;t t |
6490 | s&@top_builddir@&$ac_top_builddir_sub&;t t |
|
|
6491 | s&@top_build_prefix@&$ac_top_build_prefix&;t t |
7200 | s&@srcdir@&$ac_srcdir&;t t |
6492 | s&@srcdir@&$ac_srcdir&;t t |
7201 | s&@abs_srcdir@&$ac_abs_srcdir&;t t |
6493 | s&@abs_srcdir@&$ac_abs_srcdir&;t t |
7202 | s&@top_srcdir@&$ac_top_srcdir&;t t |
6494 | s&@top_srcdir@&$ac_top_srcdir&;t t |
7203 | s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t |
6495 | s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t |
7204 | s&@builddir@&$ac_builddir&;t t |
6496 | s&@builddir@&$ac_builddir&;t t |
7205 | s&@abs_builddir@&$ac_abs_builddir&;t t |
6497 | s&@abs_builddir@&$ac_abs_builddir&;t t |
7206 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
6498 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
7207 | s&@INSTALL@&$ac_INSTALL&;t t |
6499 | s&@INSTALL@&$ac_INSTALL&;t t |
7208 | s&@MKDIR_P@&$ac_MKDIR_P&;t t |
6500 | s&@MKDIR_P@&$ac_MKDIR_P&;t t |
7209 | $ac_datarootdir_hack |
6501 | $ac_datarootdir_hack |
7210 | " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out |
6502 | " |
|
|
6503 | eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ |
|
|
6504 | >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
7211 | |
6505 | |
7212 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
6506 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
7213 | { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && |
6507 | { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && |
7214 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && |
6508 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ |
|
|
6509 | "$ac_tmp/out"`; test -z "$ac_out"; } && |
7215 | { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
6510 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
7216 | which seems to be undefined. Please make sure it is defined." >&5 |
6511 | which seems to be undefined. Please make sure it is defined" >&5 |
7217 | echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
6512 | $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
7218 | which seems to be undefined. Please make sure it is defined." >&2;} |
6513 | which seems to be undefined. Please make sure it is defined" >&2;} |
7219 | |
6514 | |
7220 | rm -f "$tmp/stdin" |
6515 | rm -f "$ac_tmp/stdin" |
7221 | case $ac_file in |
6516 | case $ac_file in |
7222 | -) cat "$tmp/out"; rm -f "$tmp/out";; |
6517 | -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; |
7223 | *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; |
6518 | *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; |
7224 | esac |
6519 | esac \ |
|
|
6520 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
7225 | ;; |
6521 | ;; |
7226 | :H) |
6522 | :H) |
7227 | # |
6523 | # |
7228 | # CONFIG_HEADER |
6524 | # CONFIG_HEADER |
7229 | # |
6525 | # |
7230 | _ACEOF |
|
|
7231 | |
|
|
7232 | # Transform confdefs.h into a sed script `conftest.defines', that |
|
|
7233 | # substitutes the proper values into config.h.in to produce config.h. |
|
|
7234 | rm -f conftest.defines conftest.tail |
|
|
7235 | # First, append a space to every undef/define line, to ease matching. |
|
|
7236 | echo 's/$/ /' >conftest.defines |
|
|
7237 | # Then, protect against being on the right side of a sed subst, or in |
|
|
7238 | # an unquoted here document, in config.status. If some macros were |
|
|
7239 | # called several times there might be several #defines for the same |
|
|
7240 | # symbol, which is useless. But do not sort them, since the last |
|
|
7241 | # AC_DEFINE must be honored. |
|
|
7242 | ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* |
|
|
7243 | # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where |
|
|
7244 | # NAME is the cpp macro being defined, VALUE is the value it is being given. |
|
|
7245 | # PARAMS is the parameter list in the macro definition--in most cases, it's |
|
|
7246 | # just an empty string. |
|
|
7247 | ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*' |
|
|
7248 | ac_dB='\\)[ (].*,\\1define\\2' |
|
|
7249 | ac_dC=' ' |
|
|
7250 | ac_dD=' ,' |
|
|
7251 | |
|
|
7252 | uniq confdefs.h | |
|
|
7253 | sed -n ' |
|
|
7254 | t rset |
|
|
7255 | :rset |
|
|
7256 | s/^[ ]*#[ ]*define[ ][ ]*// |
|
|
7257 | t ok |
|
|
7258 | d |
|
|
7259 | :ok |
|
|
7260 | s/[\\&,]/\\&/g |
|
|
7261 | s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p |
|
|
7262 | s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p |
|
|
7263 | ' >>conftest.defines |
|
|
7264 | |
|
|
7265 | # Remove the space that was appended to ease matching. |
|
|
7266 | # Then replace #undef with comments. This is necessary, for |
|
|
7267 | # example, in the case of _POSIX_SOURCE, which is predefined and required |
|
|
7268 | # on some systems where configure will not decide to define it. |
|
|
7269 | # (The regexp can be short, since the line contains either #define or #undef.) |
|
|
7270 | echo 's/ $// |
|
|
7271 | s,^[ #]*u.*,/* & */,' >>conftest.defines |
|
|
7272 | |
|
|
7273 | # Break up conftest.defines: |
|
|
7274 | ac_max_sed_lines=50 |
|
|
7275 | |
|
|
7276 | # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1" |
|
|
7277 | # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2" |
|
|
7278 | # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1" |
|
|
7279 | # et cetera. |
|
|
7280 | ac_in='$ac_file_inputs' |
|
|
7281 | ac_out='"$tmp/out1"' |
|
|
7282 | ac_nxt='"$tmp/out2"' |
|
|
7283 | |
|
|
7284 | while : |
|
|
7285 | do |
|
|
7286 | # Write a here document: |
|
|
7287 | cat >>$CONFIG_STATUS <<_ACEOF |
|
|
7288 | # First, check the format of the line: |
|
|
7289 | cat >"\$tmp/defines.sed" <<\\CEOF |
|
|
7290 | /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def |
|
|
7291 | /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def |
|
|
7292 | b |
|
|
7293 | :def |
|
|
7294 | _ACEOF |
|
|
7295 | sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS |
|
|
7296 | echo 'CEOF |
|
|
7297 | sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS |
|
|
7298 | ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in |
|
|
7299 | sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail |
|
|
7300 | grep . conftest.tail >/dev/null || break |
|
|
7301 | rm -f conftest.defines |
|
|
7302 | mv conftest.tail conftest.defines |
|
|
7303 | done |
|
|
7304 | rm -f conftest.defines conftest.tail |
|
|
7305 | |
|
|
7306 | echo "ac_result=$ac_in" >>$CONFIG_STATUS |
|
|
7307 | cat >>$CONFIG_STATUS <<\_ACEOF |
|
|
7308 | if test x"$ac_file" != x-; then |
6526 | if test x"$ac_file" != x-; then |
|
|
6527 | { |
7309 | echo "/* $configure_input */" >"$tmp/config.h" |
6528 | $as_echo "/* $configure_input */" \ |
7310 | cat "$ac_result" >>"$tmp/config.h" |
6529 | && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" |
|
|
6530 | } >"$ac_tmp/config.h" \ |
|
|
6531 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
7311 | if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then |
6532 | if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then |
7312 | { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 |
6533 | { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 |
7313 | echo "$as_me: $ac_file is unchanged" >&6;} |
6534 | $as_echo "$as_me: $ac_file is unchanged" >&6;} |
7314 | else |
6535 | else |
7315 | rm -f $ac_file |
6536 | rm -f "$ac_file" |
7316 | mv "$tmp/config.h" $ac_file |
6537 | mv "$ac_tmp/config.h" "$ac_file" \ |
|
|
6538 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
7317 | fi |
6539 | fi |
7318 | else |
6540 | else |
7319 | echo "/* $configure_input */" |
6541 | $as_echo "/* $configure_input */" \ |
7320 | cat "$ac_result" |
6542 | && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ |
|
|
6543 | || as_fn_error $? "could not create -" "$LINENO" 5 |
7321 | fi |
6544 | fi |
7322 | rm -f "$tmp/out12" |
|
|
7323 | # Compute $ac_file's index in $config_headers. |
6545 | # Compute "$ac_file"'s index in $config_headers. |
7324 | _am_arg=$ac_file |
6546 | _am_arg="$ac_file" |
7325 | _am_stamp_count=1 |
6547 | _am_stamp_count=1 |
7326 | for _am_header in $config_headers :; do |
6548 | for _am_header in $config_headers :; do |
7327 | case $_am_header in |
6549 | case $_am_header in |
7328 | $_am_arg | $_am_arg:* ) |
6550 | $_am_arg | $_am_arg:* ) |
7329 | break ;; |
6551 | break ;; |
… | |
… | |
7334 | echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || |
6556 | echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || |
7335 | $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
6557 | $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
7336 | X"$_am_arg" : 'X\(//\)[^/]' \| \ |
6558 | X"$_am_arg" : 'X\(//\)[^/]' \| \ |
7337 | X"$_am_arg" : 'X\(//\)$' \| \ |
6559 | X"$_am_arg" : 'X\(//\)$' \| \ |
7338 | X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || |
6560 | X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || |
7339 | echo X"$_am_arg" | |
6561 | $as_echo X"$_am_arg" | |
7340 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
6562 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
7341 | s//\1/ |
6563 | s//\1/ |
7342 | q |
6564 | q |
7343 | } |
6565 | } |
7344 | /^X\(\/\/\)[^/].*/{ |
6566 | /^X\(\/\/\)[^/].*/{ |
… | |
… | |
7354 | q |
6576 | q |
7355 | } |
6577 | } |
7356 | s/.*/./; q'`/stamp-h$_am_stamp_count |
6578 | s/.*/./; q'`/stamp-h$_am_stamp_count |
7357 | ;; |
6579 | ;; |
7358 | |
6580 | |
7359 | :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5 |
6581 | :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 |
7360 | echo "$as_me: executing $ac_file commands" >&6;} |
6582 | $as_echo "$as_me: executing $ac_file commands" >&6;} |
7361 | ;; |
6583 | ;; |
7362 | esac |
6584 | esac |
7363 | |
6585 | |
7364 | |
6586 | |
7365 | case $ac_file$ac_mode in |
6587 | case $ac_file$ac_mode in |
… | |
… | |
7377 | dirpart=`$as_dirname -- "$mf" || |
6599 | dirpart=`$as_dirname -- "$mf" || |
7378 | $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
6600 | $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
7379 | X"$mf" : 'X\(//\)[^/]' \| \ |
6601 | X"$mf" : 'X\(//\)[^/]' \| \ |
7380 | X"$mf" : 'X\(//\)$' \| \ |
6602 | X"$mf" : 'X\(//\)$' \| \ |
7381 | X"$mf" : 'X\(/\)' \| . 2>/dev/null || |
6603 | X"$mf" : 'X\(/\)' \| . 2>/dev/null || |
7382 | echo X"$mf" | |
6604 | $as_echo X"$mf" | |
7383 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
6605 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
7384 | s//\1/ |
6606 | s//\1/ |
7385 | q |
6607 | q |
7386 | } |
6608 | } |
7387 | /^X\(\/\/\)[^/].*/{ |
6609 | /^X\(\/\/\)[^/].*/{ |
… | |
… | |
7421 | fdir=`$as_dirname -- "$file" || |
6643 | fdir=`$as_dirname -- "$file" || |
7422 | $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
6644 | $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
7423 | X"$file" : 'X\(//\)[^/]' \| \ |
6645 | X"$file" : 'X\(//\)[^/]' \| \ |
7424 | X"$file" : 'X\(//\)$' \| \ |
6646 | X"$file" : 'X\(//\)$' \| \ |
7425 | X"$file" : 'X\(/\)' \| . 2>/dev/null || |
6647 | X"$file" : 'X\(/\)' \| . 2>/dev/null || |
7426 | echo X"$file" | |
6648 | $as_echo X"$file" | |
7427 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
6649 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
7428 | s//\1/ |
6650 | s//\1/ |
7429 | q |
6651 | q |
7430 | } |
6652 | } |
7431 | /^X\(\/\/\)[^/].*/{ |
6653 | /^X\(\/\/\)[^/].*/{ |
… | |
… | |
7439 | /^X\(\/\).*/{ |
6661 | /^X\(\/\).*/{ |
7440 | s//\1/ |
6662 | s//\1/ |
7441 | q |
6663 | q |
7442 | } |
6664 | } |
7443 | s/.*/./; q'` |
6665 | s/.*/./; q'` |
7444 | { as_dir=$dirpart/$fdir |
6666 | as_dir=$dirpart/$fdir; as_fn_mkdir_p |
7445 | case $as_dir in #( |
|
|
7446 | -*) as_dir=./$as_dir;; |
|
|
7447 | esac |
|
|
7448 | test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { |
|
|
7449 | as_dirs= |
|
|
7450 | while :; do |
|
|
7451 | case $as_dir in #( |
|
|
7452 | *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( |
|
|
7453 | *) as_qdir=$as_dir;; |
|
|
7454 | esac |
|
|
7455 | as_dirs="'$as_qdir' $as_dirs" |
|
|
7456 | as_dir=`$as_dirname -- "$as_dir" || |
|
|
7457 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
|
7458 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
|
|
7459 | X"$as_dir" : 'X\(//\)$' \| \ |
|
|
7460 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
|
|
7461 | echo X"$as_dir" | |
|
|
7462 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|
|
7463 | s//\1/ |
|
|
7464 | q |
|
|
7465 | } |
|
|
7466 | /^X\(\/\/\)[^/].*/{ |
|
|
7467 | s//\1/ |
|
|
7468 | q |
|
|
7469 | } |
|
|
7470 | /^X\(\/\/\)$/{ |
|
|
7471 | s//\1/ |
|
|
7472 | q |
|
|
7473 | } |
|
|
7474 | /^X\(\/\).*/{ |
|
|
7475 | s//\1/ |
|
|
7476 | q |
|
|
7477 | } |
|
|
7478 | s/.*/./; q'` |
|
|
7479 | test -d "$as_dir" && break |
|
|
7480 | done |
|
|
7481 | test -z "$as_dirs" || eval "mkdir $as_dirs" |
|
|
7482 | } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 |
|
|
7483 | echo "$as_me: error: cannot create directory $as_dir" >&2;} |
|
|
7484 | { (exit 1); exit 1; }; }; } |
|
|
7485 | # echo "creating $dirpart/$file" |
6667 | # echo "creating $dirpart/$file" |
7486 | echo '# dummy' > "$dirpart/$file" |
6668 | echo '# dummy' > "$dirpart/$file" |
7487 | done |
6669 | done |
7488 | done |
6670 | done |
7489 | ;; |
6671 | ;; |
7490 | |
6672 | |
7491 | esac |
6673 | esac |
7492 | done # for ac_tag |
6674 | done # for ac_tag |
7493 | |
6675 | |
7494 | |
6676 | |
7495 | { (exit 0); exit 0; } |
6677 | as_fn_exit 0 |
7496 | _ACEOF |
6678 | _ACEOF |
7497 | chmod +x $CONFIG_STATUS |
|
|
7498 | ac_clean_files=$ac_clean_files_save |
6679 | ac_clean_files=$ac_clean_files_save |
|
|
6680 | |
|
|
6681 | test $ac_write_fail = 0 || |
|
|
6682 | as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 |
7499 | |
6683 | |
7500 | |
6684 | |
7501 | # configure is writing to config.log, and then calls config.status. |
6685 | # configure is writing to config.log, and then calls config.status. |
7502 | # config.status does its own redirection, appending to config.log. |
6686 | # config.status does its own redirection, appending to config.log. |
7503 | # Unfortunately, on DOS this fails, as config.log is still kept open |
6687 | # Unfortunately, on DOS this fails, as config.log is still kept open |
… | |
… | |
7514 | exec 5>/dev/null |
6698 | exec 5>/dev/null |
7515 | $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
6699 | $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
7516 | exec 5>>config.log |
6700 | exec 5>>config.log |
7517 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
6701 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
7518 | # would make configure fail if this is the last instruction. |
6702 | # would make configure fail if this is the last instruction. |
7519 | $ac_cs_success || { (exit 1); exit 1; } |
6703 | $ac_cs_success || as_fn_exit 1 |
7520 | fi |
6704 | fi |
|
|
6705 | if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then |
|
|
6706 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 |
|
|
6707 | $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} |
|
|
6708 | fi |
7521 | |
6709 | |