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 | CYGPATH_W |
|
|
657 | PACKAGE |
|
|
658 | VERSION |
|
|
659 | ACLOCAL |
|
|
660 | AUTOCONF |
|
|
661 | AUTOMAKE |
|
|
662 | AUTOHEADER |
|
|
663 | MAKEINFO |
|
|
664 | AMTAR |
|
|
665 | install_sh |
|
|
666 | STRIP |
|
|
667 | INSTALL_STRIP_PROGRAM |
|
|
668 | AWK |
|
|
669 | SET_MAKE |
|
|
670 | am__leading_dot |
|
|
671 | CC |
|
|
672 | CFLAGS |
|
|
673 | LDFLAGS |
|
|
674 | CPPFLAGS |
|
|
675 | ac_ct_CC |
|
|
676 | EXEEXT |
|
|
677 | OBJEXT |
|
|
678 | DEPDIR |
|
|
679 | am__include |
|
|
680 | am__quote |
|
|
681 | AMDEP_TRUE |
|
|
682 | AMDEP_FALSE |
|
|
683 | AMDEPBACKSLASH |
|
|
684 | CCDEPMODE |
|
|
685 | am__fastdepCC_TRUE |
|
|
686 | am__fastdepCC_FALSE |
|
|
687 | CPP |
|
|
688 | GREP |
|
|
689 | EGREP |
|
|
690 | CXX |
|
|
691 | CXXFLAGS |
|
|
692 | ac_ct_CXX |
|
|
693 | CXXDEPMODE |
|
|
694 | am__fastdepCXX_TRUE |
|
|
695 | am__fastdepCXX_FALSE |
|
|
696 | CXXCPP |
|
|
697 | XMKMF |
|
|
698 | ANTLR |
|
|
699 | DLG |
|
|
700 | HAVE_PCCTS_TRUE |
|
|
701 | HAVE_PCCTS_FALSE |
|
|
702 | LIBOBJS |
|
|
703 | LTLIBOBJS' |
|
|
704 | ac_subst_files='' |
717 | ac_subst_files='' |
|
|
718 | ac_user_opts=' |
|
|
719 | enable_option_checking |
|
|
720 | enable_dependency_tracking |
|
|
721 | with_x |
|
|
722 | ' |
705 | ac_precious_vars='build_alias |
723 | ac_precious_vars='build_alias |
706 | host_alias |
724 | host_alias |
707 | target_alias |
725 | target_alias |
708 | CC |
726 | CC |
709 | CFLAGS |
727 | CFLAGS |
… | |
… | |
719 | |
737 | |
720 | |
738 | |
721 | # Initialize some variables set by options. |
739 | # Initialize some variables set by options. |
722 | ac_init_help= |
740 | ac_init_help= |
723 | ac_init_version=false |
741 | ac_init_version=false |
|
|
742 | ac_unrecognized_opts= |
|
|
743 | ac_unrecognized_sep= |
724 | # The variables have the same names as the options, with |
744 | # The variables have the same names as the options, with |
725 | # dashes changed to underlines. |
745 | # dashes changed to underlines. |
726 | cache_file=/dev/null |
746 | cache_file=/dev/null |
727 | exec_prefix=NONE |
747 | exec_prefix=NONE |
728 | no_create= |
748 | no_create= |
… | |
… | |
750 | datarootdir='${prefix}/share' |
770 | datarootdir='${prefix}/share' |
751 | datadir='${datarootdir}' |
771 | datadir='${datarootdir}' |
752 | sysconfdir='${prefix}/etc' |
772 | sysconfdir='${prefix}/etc' |
753 | sharedstatedir='${prefix}/com' |
773 | sharedstatedir='${prefix}/com' |
754 | localstatedir='${prefix}/var' |
774 | localstatedir='${prefix}/var' |
|
|
775 | runstatedir='${localstatedir}/run' |
755 | includedir='${prefix}/include' |
776 | includedir='${prefix}/include' |
756 | oldincludedir='/usr/include' |
777 | oldincludedir='/usr/include' |
757 | docdir='${datarootdir}/doc/${PACKAGE}' |
778 | docdir='${datarootdir}/doc/${PACKAGE}' |
758 | infodir='${datarootdir}/info' |
779 | infodir='${datarootdir}/info' |
759 | htmldir='${docdir}' |
780 | htmldir='${docdir}' |
… | |
… | |
774 | ac_prev= |
795 | ac_prev= |
775 | continue |
796 | continue |
776 | fi |
797 | fi |
777 | |
798 | |
778 | case $ac_option in |
799 | case $ac_option in |
779 | *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
800 | *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
|
|
801 | *=) ac_optarg= ;; |
780 | *) ac_optarg=yes ;; |
802 | *) ac_optarg=yes ;; |
781 | esac |
803 | esac |
782 | |
804 | |
783 | # Accept the important Cygnus configure options, so we can diagnose typos. |
805 | # Accept the important Cygnus configure options, so we can diagnose typos. |
784 | |
806 | |
785 | case $ac_dashdash$ac_option in |
807 | case $ac_dashdash$ac_option in |
… | |
… | |
817 | -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ |
839 | -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ |
818 | | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) |
840 | | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) |
819 | datarootdir=$ac_optarg ;; |
841 | datarootdir=$ac_optarg ;; |
820 | |
842 | |
821 | -disable-* | --disable-*) |
843 | -disable-* | --disable-*) |
822 | ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
844 | ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
823 | # Reject names that are not valid shell variable names. |
845 | # Reject names that are not valid shell variable names. |
824 | expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && |
846 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
825 | { echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
847 | as_fn_error $? "invalid feature name: $ac_useropt" |
826 | { (exit 1); exit 1; }; } |
848 | ac_useropt_orig=$ac_useropt |
827 | 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 |
828 | eval enable_$ac_feature=no ;; |
857 | eval enable_$ac_useropt=no ;; |
829 | |
858 | |
830 | -docdir | --docdir | --docdi | --doc | --do) |
859 | -docdir | --docdir | --docdi | --doc | --do) |
831 | ac_prev=docdir ;; |
860 | ac_prev=docdir ;; |
832 | -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) |
861 | -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) |
833 | docdir=$ac_optarg ;; |
862 | docdir=$ac_optarg ;; |
… | |
… | |
836 | ac_prev=dvidir ;; |
865 | ac_prev=dvidir ;; |
837 | -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) |
866 | -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) |
838 | dvidir=$ac_optarg ;; |
867 | dvidir=$ac_optarg ;; |
839 | |
868 | |
840 | -enable-* | --enable-*) |
869 | -enable-* | --enable-*) |
841 | ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
870 | ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
842 | # Reject names that are not valid shell variable names. |
871 | # Reject names that are not valid shell variable names. |
843 | expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && |
872 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
844 | { echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
873 | as_fn_error $? "invalid feature name: $ac_useropt" |
845 | { (exit 1); exit 1; }; } |
874 | ac_useropt_orig=$ac_useropt |
846 | 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 |
847 | eval enable_$ac_feature=\$ac_optarg ;; |
883 | eval enable_$ac_useropt=\$ac_optarg ;; |
848 | |
884 | |
849 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
885 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
850 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
886 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
851 | | --exec | --exe | --ex) |
887 | | --exec | --exe | --ex) |
852 | ac_prev=exec_prefix ;; |
888 | ac_prev=exec_prefix ;; |
… | |
… | |
987 | |
1023 | |
988 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
1024 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
989 | | -silent | --silent | --silen | --sile | --sil) |
1025 | | -silent | --silent | --silen | --sile | --sil) |
990 | silent=yes ;; |
1026 | silent=yes ;; |
991 | |
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 | |
992 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
1037 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
993 | ac_prev=sbindir ;; |
1038 | ac_prev=sbindir ;; |
994 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
1039 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
995 | | --sbi=* | --sb=*) |
1040 | | --sbi=* | --sb=*) |
996 | sbindir=$ac_optarg ;; |
1041 | sbindir=$ac_optarg ;; |
… | |
… | |
1033 | |
1078 | |
1034 | -version | --version | --versio | --versi | --vers | -V) |
1079 | -version | --version | --versio | --versi | --vers | -V) |
1035 | ac_init_version=: ;; |
1080 | ac_init_version=: ;; |
1036 | |
1081 | |
1037 | -with-* | --with-*) |
1082 | -with-* | --with-*) |
1038 | ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
1083 | ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
1039 | # Reject names that are not valid shell variable names. |
1084 | # Reject names that are not valid shell variable names. |
1040 | expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && |
1085 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1041 | { echo "$as_me: error: invalid package name: $ac_package" >&2 |
1086 | as_fn_error $? "invalid package name: $ac_useropt" |
1042 | { (exit 1); exit 1; }; } |
1087 | ac_useropt_orig=$ac_useropt |
1043 | 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 |
1044 | eval with_$ac_package=\$ac_optarg ;; |
1096 | eval with_$ac_useropt=\$ac_optarg ;; |
1045 | |
1097 | |
1046 | -without-* | --without-*) |
1098 | -without-* | --without-*) |
1047 | ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
1099 | ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
1048 | # Reject names that are not valid shell variable names. |
1100 | # Reject names that are not valid shell variable names. |
1049 | expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && |
1101 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1050 | { echo "$as_me: error: invalid package name: $ac_package" >&2 |
1102 | as_fn_error $? "invalid package name: $ac_useropt" |
1051 | { (exit 1); exit 1; }; } |
1103 | ac_useropt_orig=$ac_useropt |
1052 | 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 |
1053 | eval with_$ac_package=no ;; |
1112 | eval with_$ac_useropt=no ;; |
1054 | |
1113 | |
1055 | --x) |
1114 | --x) |
1056 | # Obsolete; use --with-x. |
1115 | # Obsolete; use --with-x. |
1057 | with_x=yes ;; |
1116 | with_x=yes ;; |
1058 | |
1117 | |
… | |
… | |
1068 | ac_prev=x_libraries ;; |
1127 | ac_prev=x_libraries ;; |
1069 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
1128 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
1070 | | --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=*) |
1071 | x_libraries=$ac_optarg ;; |
1130 | x_libraries=$ac_optarg ;; |
1072 | |
1131 | |
1073 | -*) { echo "$as_me: error: unrecognized option: $ac_option |
1132 | -*) as_fn_error $? "unrecognized option: \`$ac_option' |
1074 | Try \`$0 --help' for more information." >&2 |
1133 | Try \`$0 --help' for more information" |
1075 | { (exit 1); exit 1; }; } |
|
|
1076 | ;; |
1134 | ;; |
1077 | |
1135 | |
1078 | *=*) |
1136 | *=*) |
1079 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
1137 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
1080 | # Reject names that are not valid shell variable names. |
1138 | # Reject names that are not valid shell variable names. |
1081 | expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && |
1139 | case $ac_envvar in #( |
|
|
1140 | '' | [0-9]* | *[!_$as_cr_alnum]* ) |
1082 | { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 |
1141 | as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; |
1083 | { (exit 1); exit 1; }; } |
1142 | esac |
1084 | eval $ac_envvar=\$ac_optarg |
1143 | eval $ac_envvar=\$ac_optarg |
1085 | export $ac_envvar ;; |
1144 | export $ac_envvar ;; |
1086 | |
1145 | |
1087 | *) |
1146 | *) |
1088 | # FIXME: should be removed in autoconf 3.0. |
1147 | # FIXME: should be removed in autoconf 3.0. |
1089 | echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
1148 | $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
1090 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
1149 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
1091 | echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
1150 | $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
1092 | : ${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}" |
1093 | ;; |
1152 | ;; |
1094 | |
1153 | |
1095 | esac |
1154 | esac |
1096 | done |
1155 | done |
1097 | |
1156 | |
1098 | if test -n "$ac_prev"; then |
1157 | if test -n "$ac_prev"; then |
1099 | ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
1158 | ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
1100 | { echo "$as_me: error: missing argument to $ac_option" >&2 |
1159 | as_fn_error $? "missing argument to $ac_option" |
1101 | { (exit 1); exit 1; }; } |
|
|
1102 | fi |
1160 | fi |
1103 | |
1161 | |
1104 | # 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. |
1105 | for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
1171 | for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
1106 | datadir sysconfdir sharedstatedir localstatedir includedir \ |
1172 | datadir sysconfdir sharedstatedir localstatedir includedir \ |
1107 | oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
1173 | oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
1108 | libdir localedir mandir |
1174 | libdir localedir mandir runstatedir |
1109 | do |
1175 | do |
1110 | 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. |
1111 | case $ac_val in |
1184 | case $ac_val in |
1112 | [\\/$]* | ?:[\\/]* ) continue;; |
1185 | [\\/$]* | ?:[\\/]* ) continue;; |
1113 | NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
1186 | NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
1114 | esac |
1187 | esac |
1115 | { 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" |
1116 | { (exit 1); exit 1; }; } |
|
|
1117 | done |
1189 | done |
1118 | |
1190 | |
1119 | # 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' |
1120 | # used to hold the argument of --host etc. |
1192 | # used to hold the argument of --host etc. |
1121 | # FIXME: To remove some day. |
1193 | # FIXME: To remove some day. |
… | |
… | |
1125 | |
1197 | |
1126 | # FIXME: To remove some day. |
1198 | # FIXME: To remove some day. |
1127 | if test "x$host_alias" != x; then |
1199 | if test "x$host_alias" != x; then |
1128 | if test "x$build_alias" = x; then |
1200 | if test "x$build_alias" = x; then |
1129 | cross_compiling=maybe |
1201 | cross_compiling=maybe |
1130 | echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. |
|
|
1131 | If a cross compiler is detected then cross compile mode will be used." >&2 |
|
|
1132 | elif test "x$build_alias" != "x$host_alias"; then |
1202 | elif test "x$build_alias" != "x$host_alias"; then |
1133 | cross_compiling=yes |
1203 | cross_compiling=yes |
1134 | fi |
1204 | fi |
1135 | fi |
1205 | fi |
1136 | |
1206 | |
… | |
… | |
1141 | |
1211 | |
1142 | |
1212 | |
1143 | ac_pwd=`pwd` && test -n "$ac_pwd" && |
1213 | ac_pwd=`pwd` && test -n "$ac_pwd" && |
1144 | ac_ls_di=`ls -di .` && |
1214 | ac_ls_di=`ls -di .` && |
1145 | ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
1215 | ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
1146 | { echo "$as_me: error: Working directory cannot be determined" >&2 |
1216 | as_fn_error $? "working directory cannot be determined" |
1147 | { (exit 1); exit 1; }; } |
|
|
1148 | test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
1217 | test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
1149 | { 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" |
1150 | { (exit 1); exit 1; }; } |
|
|
1151 | |
1219 | |
1152 | |
1220 | |
1153 | # Find the source files, if location was not specified. |
1221 | # Find the source files, if location was not specified. |
1154 | if test -z "$srcdir"; then |
1222 | if test -z "$srcdir"; then |
1155 | ac_srcdir_defaulted=yes |
1223 | ac_srcdir_defaulted=yes |
1156 | # Try the directory containing this script, then the parent directory. |
1224 | # Try the directory containing this script, then the parent directory. |
1157 | ac_confdir=`$as_dirname -- "$0" || |
1225 | ac_confdir=`$as_dirname -- "$as_myself" || |
1158 | $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
1226 | $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
1159 | X"$0" : 'X\(//\)[^/]' \| \ |
1227 | X"$as_myself" : 'X\(//\)[^/]' \| \ |
1160 | X"$0" : 'X\(//\)$' \| \ |
1228 | X"$as_myself" : 'X\(//\)$' \| \ |
1161 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
1229 | X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || |
1162 | echo X"$0" | |
1230 | $as_echo X"$as_myself" | |
1163 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
1231 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
1164 | s//\1/ |
1232 | s//\1/ |
1165 | q |
1233 | q |
1166 | } |
1234 | } |
1167 | /^X\(\/\/\)[^/].*/{ |
1235 | /^X\(\/\/\)[^/].*/{ |
… | |
… | |
1184 | else |
1252 | else |
1185 | ac_srcdir_defaulted=no |
1253 | ac_srcdir_defaulted=no |
1186 | fi |
1254 | fi |
1187 | if test ! -r "$srcdir/$ac_unique_file"; then |
1255 | if test ! -r "$srcdir/$ac_unique_file"; then |
1188 | test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
1256 | test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
1189 | { 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" |
1190 | { (exit 1); exit 1; }; } |
|
|
1191 | fi |
1258 | fi |
1192 | 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" |
1193 | ac_abs_confdir=`( |
1260 | ac_abs_confdir=`( |
1194 | 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" |
1195 | { (exit 1); exit 1; }; } |
|
|
1196 | pwd)` |
1262 | pwd)` |
1197 | # When building in place, set srcdir=. |
1263 | # When building in place, set srcdir=. |
1198 | if test "$ac_abs_confdir" = "$ac_pwd"; then |
1264 | if test "$ac_abs_confdir" = "$ac_pwd"; then |
1199 | srcdir=. |
1265 | srcdir=. |
1200 | fi |
1266 | fi |
… | |
… | |
1230 | Configuration: |
1296 | Configuration: |
1231 | -h, --help display this help and exit |
1297 | -h, --help display this help and exit |
1232 | --help=short display options specific to this package |
1298 | --help=short display options specific to this package |
1233 | --help=recursive display the short help of all the included packages |
1299 | --help=recursive display the short help of all the included packages |
1234 | -V, --version display version information and exit |
1300 | -V, --version display version information and exit |
1235 | -q, --quiet, --silent do not print \`checking...' messages |
1301 | -q, --quiet, --silent do not print \`checking ...' messages |
1236 | --cache-file=FILE cache test results in FILE [disabled] |
1302 | --cache-file=FILE cache test results in FILE [disabled] |
1237 | -C, --config-cache alias for \`--cache-file=config.cache' |
1303 | -C, --config-cache alias for \`--cache-file=config.cache' |
1238 | -n, --no-create do not create output files |
1304 | -n, --no-create do not create output files |
1239 | --srcdir=DIR find the sources in DIR [configure dir or \`..'] |
1305 | --srcdir=DIR find the sources in DIR [configure dir or \`..'] |
1240 | |
1306 | |
1241 | Installation directories: |
1307 | Installation directories: |
1242 | --prefix=PREFIX install architecture-independent files in PREFIX |
1308 | --prefix=PREFIX install architecture-independent files in PREFIX |
1243 | [$ac_default_prefix] |
1309 | [$ac_default_prefix] |
1244 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
1310 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
1245 | [PREFIX] |
1311 | [PREFIX] |
1246 | |
1312 | |
1247 | By default, \`make install' will install all the files in |
1313 | By default, \`make install' will install all the files in |
1248 | \`$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 |
1249 | an installation prefix other than \`$ac_default_prefix' using \`--prefix', |
1315 | an installation prefix other than \`$ac_default_prefix' using \`--prefix', |
1250 | for instance \`--prefix=\$HOME'. |
1316 | for instance \`--prefix=\$HOME'. |
1251 | |
1317 | |
1252 | For better control, use the options below. |
1318 | For better control, use the options below. |
1253 | |
1319 | |
1254 | Fine tuning of the installation directories: |
1320 | Fine tuning of the installation directories: |
1255 | --bindir=DIR user executables [EPREFIX/bin] |
1321 | --bindir=DIR user executables [EPREFIX/bin] |
1256 | --sbindir=DIR system admin executables [EPREFIX/sbin] |
1322 | --sbindir=DIR system admin executables [EPREFIX/sbin] |
1257 | --libexecdir=DIR program executables [EPREFIX/libexec] |
1323 | --libexecdir=DIR program executables [EPREFIX/libexec] |
1258 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
1324 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
1259 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
1325 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
1260 | --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] |
1261 | --libdir=DIR object code libraries [EPREFIX/lib] |
1328 | --libdir=DIR object code libraries [EPREFIX/lib] |
1262 | --includedir=DIR C header files [PREFIX/include] |
1329 | --includedir=DIR C header files [PREFIX/include] |
1263 | --oldincludedir=DIR C header files for non-gcc [/usr/include] |
1330 | --oldincludedir=DIR C header files for non-gcc [/usr/include] |
1264 | --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
1331 | --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
1265 | --datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
1332 | --datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
1266 | --infodir=DIR info documentation [DATAROOTDIR/info] |
1333 | --infodir=DIR info documentation [DATAROOTDIR/info] |
1267 | --localedir=DIR locale-dependent data [DATAROOTDIR/locale] |
1334 | --localedir=DIR locale-dependent data [DATAROOTDIR/locale] |
1268 | --mandir=DIR man documentation [DATAROOTDIR/man] |
1335 | --mandir=DIR man documentation [DATAROOTDIR/man] |
1269 | --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] |
1336 | --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] |
1270 | --htmldir=DIR html documentation [DOCDIR] |
1337 | --htmldir=DIR html documentation [DOCDIR] |
1271 | --dvidir=DIR dvi documentation [DOCDIR] |
1338 | --dvidir=DIR dvi documentation [DOCDIR] |
1272 | --pdfdir=DIR pdf documentation [DOCDIR] |
1339 | --pdfdir=DIR pdf documentation [DOCDIR] |
1273 | --psdir=DIR ps documentation [DOCDIR] |
1340 | --psdir=DIR ps documentation [DOCDIR] |
1274 | _ACEOF |
1341 | _ACEOF |
1275 | |
1342 | |
1276 | cat <<\_ACEOF |
1343 | cat <<\_ACEOF |
1277 | |
1344 | |
1278 | Program names: |
1345 | Program names: |
… | |
… | |
1289 | if test -n "$ac_init_help"; then |
1356 | if test -n "$ac_init_help"; then |
1290 | |
1357 | |
1291 | cat <<\_ACEOF |
1358 | cat <<\_ACEOF |
1292 | |
1359 | |
1293 | Optional Features: |
1360 | Optional Features: |
|
|
1361 | --disable-option-checking ignore unrecognized --enable/--with options |
1294 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
1362 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
1295 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
1363 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
1296 | --disable-dependency-tracking Speeds up one-time builds |
1364 | --disable-dependency-tracking speeds up one-time build |
1297 | --enable-dependency-tracking Do not reject slow dependency extractors |
1365 | --enable-dependency-tracking do not reject slow dependency extractors |
1298 | |
1366 | |
1299 | Optional Packages: |
1367 | Optional Packages: |
1300 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
1368 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
1301 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
1369 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
1302 | --with-x use the X Window System |
1370 | --with-x use the X Window System |
… | |
… | |
1305 | CC C compiler command |
1373 | CC C compiler command |
1306 | CFLAGS C compiler flags |
1374 | CFLAGS C compiler flags |
1307 | 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 |
1308 | nonstandard directory <lib dir> |
1376 | nonstandard directory <lib dir> |
1309 | LIBS libraries to pass to the linker, e.g. -l<library> |
1377 | LIBS libraries to pass to the linker, e.g. -l<library> |
1310 | 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 |
1311 | you have headers in a nonstandard directory <include dir> |
1379 | you have headers in a nonstandard directory <include dir> |
1312 | CPP C preprocessor |
1380 | CPP C preprocessor |
1313 | CXX C++ compiler command |
1381 | CXX C++ compiler command |
1314 | CXXFLAGS C++ compiler flags |
1382 | CXXFLAGS C++ compiler flags |
1315 | CXXCPP C++ preprocessor |
1383 | CXXCPP C++ preprocessor |
1316 | XMKMF Path to xmkmf, Makefile generator for X Window System |
1384 | XMKMF Path to xmkmf, Makefile generator for X Window System |
1317 | |
1385 | |
1318 | 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 |
1319 | it to find libraries and programs with nonstandard names/locations. |
1387 | it to find libraries and programs with nonstandard names/locations. |
1320 | |
1388 | |
|
|
1389 | Report bugs to the package provider. |
1321 | _ACEOF |
1390 | _ACEOF |
1322 | ac_status=$? |
1391 | ac_status=$? |
1323 | fi |
1392 | fi |
1324 | |
1393 | |
1325 | if test "$ac_init_help" = "recursive"; then |
1394 | if test "$ac_init_help" = "recursive"; then |
1326 | # If there are subdirs, report their specific --help. |
1395 | # If there are subdirs, report their specific --help. |
1327 | 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 |
1328 | test -d "$ac_dir" || continue |
1397 | test -d "$ac_dir" || |
|
|
1398 | { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || |
|
|
1399 | continue |
1329 | ac_builddir=. |
1400 | ac_builddir=. |
1330 | |
1401 | |
1331 | case "$ac_dir" in |
1402 | case "$ac_dir" in |
1332 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
1403 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
1333 | *) |
1404 | *) |
1334 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
1405 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
1335 | # A ".." for each directory in $ac_dir_suffix. |
1406 | # A ".." for each directory in $ac_dir_suffix. |
1336 | 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|/||'` |
1337 | case $ac_top_builddir_sub in |
1408 | case $ac_top_builddir_sub in |
1338 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
1409 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
1339 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
1410 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
1340 | esac ;; |
1411 | esac ;; |
1341 | esac |
1412 | esac |
… | |
… | |
1367 | $SHELL "$ac_srcdir/configure.gnu" --help=recursive |
1438 | $SHELL "$ac_srcdir/configure.gnu" --help=recursive |
1368 | elif test -f "$ac_srcdir/configure"; then |
1439 | elif test -f "$ac_srcdir/configure"; then |
1369 | echo && |
1440 | echo && |
1370 | $SHELL "$ac_srcdir/configure" --help=recursive |
1441 | $SHELL "$ac_srcdir/configure" --help=recursive |
1371 | else |
1442 | else |
1372 | 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 |
1373 | fi || ac_status=$? |
1444 | fi || ac_status=$? |
1374 | cd "$ac_pwd" || { ac_status=$?; break; } |
1445 | cd "$ac_pwd" || { ac_status=$?; break; } |
1375 | done |
1446 | done |
1376 | fi |
1447 | fi |
1377 | |
1448 | |
1378 | test -n "$ac_init_help" && exit $ac_status |
1449 | test -n "$ac_init_help" && exit $ac_status |
1379 | if $ac_init_version; then |
1450 | if $ac_init_version; then |
1380 | cat <<\_ACEOF |
1451 | cat <<\_ACEOF |
1381 | configure |
1452 | configure |
1382 | generated by GNU Autoconf 2.61 |
1453 | generated by GNU Autoconf 2.69 |
1383 | |
1454 | |
1384 | Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
1455 | Copyright (C) 2012 Free Software Foundation, Inc. |
1385 | 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. |
|
|
1386 | This configure script is free software; the Free Software Foundation |
1456 | This configure script is free software; the Free Software Foundation |
1387 | gives unlimited permission to copy, distribute and modify it. |
1457 | gives unlimited permission to copy, distribute and modify it. |
1388 | _ACEOF |
1458 | _ACEOF |
1389 | exit |
1459 | exit |
1390 | 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 |
1391 | cat >config.log <<_ACEOF |
1888 | cat >config.log <<_ACEOF |
1392 | This file contains any messages produced by compilers while |
1889 | This file contains any messages produced by compilers while |
1393 | running configure, to aid debugging if configure makes a mistake. |
1890 | running configure, to aid debugging if configure makes a mistake. |
1394 | |
1891 | |
1395 | It was created by $as_me, which was |
1892 | It was created by $as_me, which was |
1396 | generated by GNU Autoconf 2.61. Invocation command line was |
1893 | generated by GNU Autoconf 2.69. Invocation command line was |
1397 | |
1894 | |
1398 | $ $0 $@ |
1895 | $ $0 $@ |
1399 | |
1896 | |
1400 | _ACEOF |
1897 | _ACEOF |
1401 | exec 5>>config.log |
1898 | exec 5>>config.log |
… | |
… | |
1427 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1924 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1428 | for as_dir in $PATH |
1925 | for as_dir in $PATH |
1429 | do |
1926 | do |
1430 | IFS=$as_save_IFS |
1927 | IFS=$as_save_IFS |
1431 | test -z "$as_dir" && as_dir=. |
1928 | test -z "$as_dir" && as_dir=. |
1432 | echo "PATH: $as_dir" |
1929 | $as_echo "PATH: $as_dir" |
1433 | done |
1930 | done |
1434 | IFS=$as_save_IFS |
1931 | IFS=$as_save_IFS |
1435 | |
1932 | |
1436 | } >&5 |
1933 | } >&5 |
1437 | |
1934 | |
1438 | cat >&5 <<_ACEOF |
1935 | cat >&5 <<_ACEOF |
… | |
… | |
1462 | -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
1959 | -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
1463 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
1960 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
1464 | | -silent | --silent | --silen | --sile | --sil) |
1961 | | -silent | --silent | --silen | --sile | --sil) |
1465 | continue ;; |
1962 | continue ;; |
1466 | *\'*) |
1963 | *\'*) |
1467 | ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
1964 | ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
1468 | esac |
1965 | esac |
1469 | case $ac_pass in |
1966 | case $ac_pass in |
1470 | 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; |
1967 | 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; |
1471 | 2) |
1968 | 2) |
1472 | ac_configure_args1="$ac_configure_args1 '$ac_arg'" |
1969 | as_fn_append ac_configure_args1 " '$ac_arg'" |
1473 | if test $ac_must_keep_next = true; then |
1970 | if test $ac_must_keep_next = true; then |
1474 | ac_must_keep_next=false # Got value, back to normal. |
1971 | ac_must_keep_next=false # Got value, back to normal. |
1475 | else |
1972 | else |
1476 | case $ac_arg in |
1973 | case $ac_arg in |
1477 | *=* | --config-cache | -C | -disable-* | --disable-* \ |
1974 | *=* | --config-cache | -C | -disable-* | --disable-* \ |
… | |
… | |
1483 | esac |
1980 | esac |
1484 | ;; |
1981 | ;; |
1485 | -* ) ac_must_keep_next=true ;; |
1982 | -* ) ac_must_keep_next=true ;; |
1486 | esac |
1983 | esac |
1487 | fi |
1984 | fi |
1488 | ac_configure_args="$ac_configure_args '$ac_arg'" |
1985 | as_fn_append ac_configure_args " '$ac_arg'" |
1489 | ;; |
1986 | ;; |
1490 | esac |
1987 | esac |
1491 | done |
1988 | done |
1492 | done |
1989 | done |
1493 | $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;} |
1494 | $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;} |
1495 | |
1992 | |
1496 | # When interrupted or exit'd, cleanup temporary files, and complete |
1993 | # When interrupted or exit'd, cleanup temporary files, and complete |
1497 | # config.log. We remove comments because anyway the quotes in there |
1994 | # config.log. We remove comments because anyway the quotes in there |
1498 | # would cause problems or look ugly. |
1995 | # would cause problems or look ugly. |
1499 | # WARNING: Use '\'' to represent an apostrophe within the trap. |
1996 | # WARNING: Use '\'' to represent an apostrophe within the trap. |
… | |
… | |
1501 | trap 'exit_status=$? |
1998 | trap 'exit_status=$? |
1502 | # Save into config.log some information that might help in debugging. |
1999 | # Save into config.log some information that might help in debugging. |
1503 | { |
2000 | { |
1504 | echo |
2001 | echo |
1505 | |
2002 | |
1506 | cat <<\_ASBOX |
|
|
1507 | ## ---------------- ## |
2003 | $as_echo "## ---------------- ## |
1508 | ## Cache variables. ## |
2004 | ## Cache variables. ## |
1509 | ## ---------------- ## |
2005 | ## ---------------- ##" |
1510 | _ASBOX |
|
|
1511 | echo |
2006 | echo |
1512 | # The following way of writing the cache mishandles newlines in values, |
2007 | # The following way of writing the cache mishandles newlines in values, |
1513 | ( |
2008 | ( |
1514 | 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 |
1515 | eval ac_val=\$$ac_var |
2010 | eval ac_val=\$$ac_var |
1516 | case $ac_val in #( |
2011 | case $ac_val in #( |
1517 | *${as_nl}*) |
2012 | *${as_nl}*) |
1518 | case $ac_var in #( |
2013 | case $ac_var in #( |
1519 | *_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 |
1520 | 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;} ;; |
1521 | esac |
2016 | esac |
1522 | case $ac_var in #( |
2017 | case $ac_var in #( |
1523 | _ | IFS | as_nl) ;; #( |
2018 | _ | IFS | as_nl) ;; #( |
1524 | *) $as_unset $ac_var ;; |
2019 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
|
|
2020 | *) { eval $ac_var=; unset $ac_var;} ;; |
1525 | esac ;; |
2021 | esac ;; |
1526 | esac |
2022 | esac |
1527 | done |
2023 | done |
1528 | (set) 2>&1 | |
2024 | (set) 2>&1 | |
1529 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( |
2025 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( |
… | |
… | |
1538 | esac | |
2034 | esac | |
1539 | sort |
2035 | sort |
1540 | ) |
2036 | ) |
1541 | echo |
2037 | echo |
1542 | |
2038 | |
1543 | cat <<\_ASBOX |
|
|
1544 | ## ----------------- ## |
2039 | $as_echo "## ----------------- ## |
1545 | ## Output variables. ## |
2040 | ## Output variables. ## |
1546 | ## ----------------- ## |
2041 | ## ----------------- ##" |
1547 | _ASBOX |
|
|
1548 | echo |
2042 | echo |
1549 | for ac_var in $ac_subst_vars |
2043 | for ac_var in $ac_subst_vars |
1550 | do |
2044 | do |
1551 | eval ac_val=\$$ac_var |
2045 | eval ac_val=\$$ac_var |
1552 | case $ac_val in |
2046 | case $ac_val in |
1553 | *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
2047 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
1554 | esac |
2048 | esac |
1555 | echo "$ac_var='\''$ac_val'\''" |
2049 | $as_echo "$ac_var='\''$ac_val'\''" |
1556 | done | sort |
2050 | done | sort |
1557 | echo |
2051 | echo |
1558 | |
2052 | |
1559 | if test -n "$ac_subst_files"; then |
2053 | if test -n "$ac_subst_files"; then |
1560 | cat <<\_ASBOX |
|
|
1561 | ## ------------------- ## |
2054 | $as_echo "## ------------------- ## |
1562 | ## File substitutions. ## |
2055 | ## File substitutions. ## |
1563 | ## ------------------- ## |
2056 | ## ------------------- ##" |
1564 | _ASBOX |
|
|
1565 | echo |
2057 | echo |
1566 | for ac_var in $ac_subst_files |
2058 | for ac_var in $ac_subst_files |
1567 | do |
2059 | do |
1568 | eval ac_val=\$$ac_var |
2060 | eval ac_val=\$$ac_var |
1569 | case $ac_val in |
2061 | case $ac_val in |
1570 | *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
2062 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
1571 | esac |
2063 | esac |
1572 | echo "$ac_var='\''$ac_val'\''" |
2064 | $as_echo "$ac_var='\''$ac_val'\''" |
1573 | done | sort |
2065 | done | sort |
1574 | echo |
2066 | echo |
1575 | fi |
2067 | fi |
1576 | |
2068 | |
1577 | if test -s confdefs.h; then |
2069 | if test -s confdefs.h; then |
1578 | cat <<\_ASBOX |
2070 | $as_echo "## ----------- ## |
1579 | ## ----------- ## |
|
|
1580 | ## confdefs.h. ## |
2071 | ## confdefs.h. ## |
1581 | ## ----------- ## |
2072 | ## ----------- ##" |
1582 | _ASBOX |
|
|
1583 | echo |
2073 | echo |
1584 | cat confdefs.h |
2074 | cat confdefs.h |
1585 | echo |
2075 | echo |
1586 | fi |
2076 | fi |
1587 | test "$ac_signal" != 0 && |
2077 | test "$ac_signal" != 0 && |
1588 | echo "$as_me: caught signal $ac_signal" |
2078 | $as_echo "$as_me: caught signal $ac_signal" |
1589 | echo "$as_me: exit $exit_status" |
2079 | $as_echo "$as_me: exit $exit_status" |
1590 | } >&5 |
2080 | } >&5 |
1591 | rm -f core *.core core.conftest.* && |
2081 | rm -f core *.core core.conftest.* && |
1592 | rm -f -r conftest* confdefs* conf$$* $ac_clean_files && |
2082 | rm -f -r conftest* confdefs* conf$$* $ac_clean_files && |
1593 | exit $exit_status |
2083 | exit $exit_status |
1594 | ' 0 |
2084 | ' 0 |
1595 | for ac_signal in 1 2 13 15; do |
2085 | for ac_signal in 1 2 13 15; do |
1596 | trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal |
2086 | trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal |
1597 | done |
2087 | done |
1598 | ac_signal=0 |
2088 | ac_signal=0 |
1599 | |
2089 | |
1600 | # 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. |
1601 | rm -f -r conftest* confdefs.h |
2091 | rm -f -r conftest* confdefs.h |
1602 | |
2092 | |
|
|
2093 | $as_echo "/* confdefs.h */" > confdefs.h |
|
|
2094 | |
1603 | # Predefined preprocessor variables. |
2095 | # Predefined preprocessor variables. |
1604 | |
2096 | |
1605 | cat >>confdefs.h <<_ACEOF |
2097 | cat >>confdefs.h <<_ACEOF |
1606 | #define PACKAGE_NAME "$PACKAGE_NAME" |
2098 | #define PACKAGE_NAME "$PACKAGE_NAME" |
1607 | _ACEOF |
2099 | _ACEOF |
1608 | |
2100 | |
1609 | |
|
|
1610 | cat >>confdefs.h <<_ACEOF |
2101 | cat >>confdefs.h <<_ACEOF |
1611 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
2102 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
1612 | _ACEOF |
2103 | _ACEOF |
1613 | |
2104 | |
1614 | |
|
|
1615 | cat >>confdefs.h <<_ACEOF |
2105 | cat >>confdefs.h <<_ACEOF |
1616 | #define PACKAGE_VERSION "$PACKAGE_VERSION" |
2106 | #define PACKAGE_VERSION "$PACKAGE_VERSION" |
1617 | _ACEOF |
2107 | _ACEOF |
1618 | |
2108 | |
1619 | |
|
|
1620 | cat >>confdefs.h <<_ACEOF |
2109 | cat >>confdefs.h <<_ACEOF |
1621 | #define PACKAGE_STRING "$PACKAGE_STRING" |
2110 | #define PACKAGE_STRING "$PACKAGE_STRING" |
1622 | _ACEOF |
2111 | _ACEOF |
1623 | |
2112 | |
1624 | |
|
|
1625 | cat >>confdefs.h <<_ACEOF |
2113 | cat >>confdefs.h <<_ACEOF |
1626 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
2114 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
1627 | _ACEOF |
2115 | _ACEOF |
1628 | |
2116 | |
|
|
2117 | cat >>confdefs.h <<_ACEOF |
|
|
2118 | #define PACKAGE_URL "$PACKAGE_URL" |
|
|
2119 | _ACEOF |
|
|
2120 | |
1629 | |
2121 | |
1630 | # 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. |
1631 | # 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 |
1632 | if test -n "$CONFIG_SITE"; then |
2126 | if test -n "$CONFIG_SITE"; then |
1633 | 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 |
1634 | elif test "x$prefix" != xNONE; then |
2133 | elif test "x$prefix" != xNONE; then |
1635 | 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 |
1636 | else |
2136 | else |
1637 | set x "$ac_default_prefix/share/config.site" \ |
2137 | ac_site_file1=$ac_default_prefix/share/config.site |
1638 | "$ac_default_prefix/etc/config.site" |
2138 | ac_site_file2=$ac_default_prefix/etc/config.site |
1639 | fi |
2139 | fi |
1640 | shift |
2140 | for ac_site_file in "$ac_site_file1" "$ac_site_file2" |
1641 | for ac_site_file |
|
|
1642 | do |
2141 | do |
1643 | 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 |
1644 | { 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 |
1645 | echo "$as_me: loading site script $ac_site_file" >&6;} |
2145 | $as_echo "$as_me: loading site script $ac_site_file" >&6;} |
1646 | sed 's/^/| /' "$ac_site_file" >&5 |
2146 | sed 's/^/| /' "$ac_site_file" >&5 |
1647 | . "$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; } |
1648 | fi |
2152 | fi |
1649 | done |
2153 | done |
1650 | |
2154 | |
1651 | if test -r "$cache_file"; then |
2155 | if test -r "$cache_file"; then |
1652 | # Some versions of bash will fail to source /dev/null (special |
2156 | # Some versions of bash will fail to source /dev/null (special files |
1653 | # files actually), so we avoid doing that. |
2157 | # actually), so we avoid doing that. DJGPP emulates it as a regular file. |
1654 | if test -f "$cache_file"; then |
2158 | if test /dev/null != "$cache_file" && test -f "$cache_file"; then |
1655 | { echo "$as_me:$LINENO: loading cache $cache_file" >&5 |
2159 | { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 |
1656 | echo "$as_me: loading cache $cache_file" >&6;} |
2160 | $as_echo "$as_me: loading cache $cache_file" >&6;} |
1657 | case $cache_file in |
2161 | case $cache_file in |
1658 | [\\/]* | ?:[\\/]* ) . "$cache_file";; |
2162 | [\\/]* | ?:[\\/]* ) . "$cache_file";; |
1659 | *) . "./$cache_file";; |
2163 | *) . "./$cache_file";; |
1660 | esac |
2164 | esac |
1661 | fi |
2165 | fi |
1662 | else |
2166 | else |
1663 | { echo "$as_me:$LINENO: creating cache $cache_file" >&5 |
2167 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 |
1664 | echo "$as_me: creating cache $cache_file" >&6;} |
2168 | $as_echo "$as_me: creating cache $cache_file" >&6;} |
1665 | >$cache_file |
2169 | >$cache_file |
1666 | fi |
2170 | fi |
1667 | |
2171 | |
1668 | # 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 |
1669 | # value. |
2173 | # value. |
… | |
… | |
1673 | eval ac_new_set=\$ac_env_${ac_var}_set |
2177 | eval ac_new_set=\$ac_env_${ac_var}_set |
1674 | eval ac_old_val=\$ac_cv_env_${ac_var}_value |
2178 | eval ac_old_val=\$ac_cv_env_${ac_var}_value |
1675 | eval ac_new_val=\$ac_env_${ac_var}_value |
2179 | eval ac_new_val=\$ac_env_${ac_var}_value |
1676 | case $ac_old_set,$ac_new_set in |
2180 | case $ac_old_set,$ac_new_set in |
1677 | set,) |
2181 | set,) |
1678 | { 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 |
1679 | 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;} |
1680 | ac_cache_corrupted=: ;; |
2184 | ac_cache_corrupted=: ;; |
1681 | ,set) |
2185 | ,set) |
1682 | { 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 |
1683 | 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;} |
1684 | ac_cache_corrupted=: ;; |
2188 | ac_cache_corrupted=: ;; |
1685 | ,);; |
2189 | ,);; |
1686 | *) |
2190 | *) |
1687 | 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 |
1688 | { 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 |
1689 | 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;} |
1690 | { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 |
|
|
1691 | echo "$as_me: former value: $ac_old_val" >&2;} |
|
|
1692 | { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 |
|
|
1693 | echo "$as_me: current value: $ac_new_val" >&2;} |
|
|
1694 | 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;} |
1695 | fi;; |
2208 | fi;; |
1696 | esac |
2209 | esac |
1697 | # Pass precious variables to config.status. |
2210 | # Pass precious variables to config.status. |
1698 | if test "$ac_new_set" = set; then |
2211 | if test "$ac_new_set" = set; then |
1699 | case $ac_new_val in |
2212 | case $ac_new_val in |
1700 | *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
2213 | *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
1701 | *) ac_arg=$ac_var=$ac_new_val ;; |
2214 | *) ac_arg=$ac_var=$ac_new_val ;; |
1702 | esac |
2215 | esac |
1703 | case " $ac_configure_args " in |
2216 | case " $ac_configure_args " in |
1704 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
2217 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
1705 | *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; |
2218 | *) as_fn_append ac_configure_args " '$ac_arg'" ;; |
1706 | esac |
2219 | esac |
1707 | fi |
2220 | fi |
1708 | done |
2221 | done |
1709 | 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;} |
1710 | { 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 |
1711 | 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;} |
1712 | { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 |
|
|
1713 | 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 |
1714 | { (exit 1); exit 1; }; } |
|
|
1715 | fi |
2228 | fi |
1716 | |
2229 | ## -------------------- ## |
1717 | |
2230 | ## Main body of script. ## |
1718 | |
2231 | ## -------------------- ## |
1719 | |
|
|
1720 | |
|
|
1721 | |
|
|
1722 | |
|
|
1723 | |
|
|
1724 | |
|
|
1725 | |
|
|
1726 | |
|
|
1727 | |
|
|
1728 | |
|
|
1729 | |
|
|
1730 | |
|
|
1731 | |
|
|
1732 | |
2232 | |
1733 | ac_ext=c |
2233 | ac_ext=c |
1734 | ac_cpp='$CPP $CPPFLAGS' |
2234 | ac_cpp='$CPP $CPPFLAGS' |
1735 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
2235 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
1736 | 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' |
1737 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
2237 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
1738 | |
2238 | |
1739 | |
2239 | |
1740 | |
2240 | |
1741 | am__api_version="1.7" |
2241 | am__api_version='1.10' |
|
|
2242 | |
1742 | ac_aux_dir= |
2243 | ac_aux_dir= |
1743 | for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
2244 | for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
1744 | if test -f "$ac_dir/install-sh"; then |
2245 | if test -f "$ac_dir/install-sh"; then |
1745 | ac_aux_dir=$ac_dir |
2246 | ac_aux_dir=$ac_dir |
1746 | ac_install_sh="$ac_aux_dir/install-sh -c" |
2247 | ac_install_sh="$ac_aux_dir/install-sh -c" |
… | |
… | |
1754 | ac_install_sh="$ac_aux_dir/shtool install -c" |
2255 | ac_install_sh="$ac_aux_dir/shtool install -c" |
1755 | break |
2256 | break |
1756 | fi |
2257 | fi |
1757 | done |
2258 | done |
1758 | if test -z "$ac_aux_dir"; then |
2259 | if test -z "$ac_aux_dir"; then |
1759 | { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 |
|
|
1760 | 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 |
1761 | { (exit 1); exit 1; }; } |
|
|
1762 | fi |
2261 | fi |
1763 | |
2262 | |
1764 | # These three variables are undocumented and unsupported, |
2263 | # These three variables are undocumented and unsupported, |
1765 | # and are intended to be withdrawn in a future Autoconf release. |
2264 | # and are intended to be withdrawn in a future Autoconf release. |
1766 | # 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 |
… | |
… | |
1781 | # 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 |
1782 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
2281 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
1783 | # 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" |
1784 | # OS/2's system install, which has a completely different semantic |
2283 | # OS/2's system install, which has a completely different semantic |
1785 | # ./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. |
1786 | { 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 |
1787 | echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } |
2287 | $as_echo_n "checking for a BSD-compatible install... " >&6; } |
1788 | if test -z "$INSTALL"; then |
2288 | if test -z "$INSTALL"; then |
1789 | if test "${ac_cv_path_install+set}" = set; then |
2289 | if ${ac_cv_path_install+:} false; then : |
1790 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2290 | $as_echo_n "(cached) " >&6 |
1791 | else |
2291 | else |
1792 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2292 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1793 | for as_dir in $PATH |
2293 | for as_dir in $PATH |
1794 | do |
2294 | do |
1795 | IFS=$as_save_IFS |
2295 | IFS=$as_save_IFS |
1796 | test -z "$as_dir" && as_dir=. |
2296 | test -z "$as_dir" && as_dir=. |
1797 | # Account for people who put trailing slashes in PATH elements. |
2297 | # Account for people who put trailing slashes in PATH elements. |
1798 | case $as_dir/ in |
2298 | case $as_dir/ in #(( |
1799 | ./ | .// | /cC/* | \ |
2299 | ./ | .// | /[cC]/* | \ |
1800 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
2300 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
1801 | ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ |
2301 | ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ |
1802 | /usr/ucb/* ) ;; |
2302 | /usr/ucb/* ) ;; |
1803 | *) |
2303 | *) |
1804 | # 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. |
1805 | # 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 |
1806 | # by default. |
2306 | # by default. |
1807 | for ac_prog in ginstall scoinst install; do |
2307 | for ac_prog in ginstall scoinst install; do |
1808 | for ac_exec_ext in '' $ac_executable_extensions; do |
2308 | for ac_exec_ext in '' $ac_executable_extensions; do |
1809 | 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 |
1810 | if test $ac_prog = install && |
2310 | if test $ac_prog = install && |
1811 | 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 |
1812 | # AIX install. It has an incompatible calling convention. |
2312 | # AIX install. It has an incompatible calling convention. |
1813 | : |
2313 | : |
1814 | elif test $ac_prog = install && |
2314 | elif test $ac_prog = install && |
1815 | 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 |
1816 | # program-specific install script used by HP pwplus--don't use. |
2316 | # program-specific install script used by HP pwplus--don't use. |
1817 | : |
2317 | : |
1818 | 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 |
1819 | 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" |
1820 | break 3 |
2329 | break 3 |
|
|
2330 | fi |
1821 | fi |
2331 | fi |
1822 | fi |
2332 | fi |
1823 | done |
2333 | done |
1824 | done |
2334 | done |
1825 | ;; |
2335 | ;; |
1826 | esac |
2336 | esac |
|
|
2337 | |
1827 | done |
2338 | done |
1828 | IFS=$as_save_IFS |
2339 | IFS=$as_save_IFS |
1829 | |
2340 | |
|
|
2341 | rm -rf conftest.one conftest.two conftest.dir |
1830 | |
2342 | |
1831 | fi |
2343 | fi |
1832 | if test "${ac_cv_path_install+set}" = set; then |
2344 | if test "${ac_cv_path_install+set}" = set; then |
1833 | INSTALL=$ac_cv_path_install |
2345 | INSTALL=$ac_cv_path_install |
1834 | else |
2346 | else |
… | |
… | |
1837 | # break other packages using the cache if that directory is |
2349 | # break other packages using the cache if that directory is |
1838 | # removed, or if the value is a relative name. |
2350 | # removed, or if the value is a relative name. |
1839 | INSTALL=$ac_install_sh |
2351 | INSTALL=$ac_install_sh |
1840 | fi |
2352 | fi |
1841 | fi |
2353 | fi |
1842 | { echo "$as_me:$LINENO: result: $INSTALL" >&5 |
2354 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 |
1843 | echo "${ECHO_T}$INSTALL" >&6; } |
2355 | $as_echo "$INSTALL" >&6; } |
1844 | |
2356 | |
1845 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
2357 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
1846 | # It thinks the first close brace ends the variable substitution. |
2358 | # It thinks the first close brace ends the variable substitution. |
1847 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
2359 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
1848 | |
2360 | |
1849 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
2361 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
1850 | |
2362 | |
1851 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
2363 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
1852 | |
2364 | |
1853 | { 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 |
1854 | echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; } |
2366 | $as_echo_n "checking whether build environment is sane... " >&6; } |
1855 | # Just in case |
2367 | # Just in case |
1856 | sleep 1 |
2368 | sleep 1 |
1857 | echo timestamp > conftest.file |
2369 | echo timestamp > conftest.file |
1858 | # 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 |
1859 | # arguments. Must try -L first in case configure is actually a |
2371 | # arguments. Must try -L first in case configure is actually a |
… | |
… | |
1872 | |
2384 | |
1873 | # 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 |
1874 | # if, for instance, CONFIG_SHELL is bash and it inherits a |
2386 | # if, for instance, CONFIG_SHELL is bash and it inherits a |
1875 | # broken ls alias from the environment. This has actually |
2387 | # broken ls alias from the environment. This has actually |
1876 | # happened. Such a system could not be considered "sane". |
2388 | # happened. Such a system could not be considered "sane". |
1877 | { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken |
|
|
1878 | alias in your environment" >&5 |
|
|
1879 | 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 |
1880 | alias in your environment" >&2;} |
2390 | alias in your environment" "$LINENO" 5 |
1881 | { (exit 1); exit 1; }; } |
|
|
1882 | fi |
2391 | fi |
1883 | |
2392 | |
1884 | test "$2" = conftest.file |
2393 | test "$2" = conftest.file |
1885 | ) |
2394 | ) |
1886 | then |
2395 | then |
1887 | # Ok. |
2396 | # Ok. |
1888 | : |
2397 | : |
1889 | else |
2398 | else |
1890 | { { echo "$as_me:$LINENO: error: newly created file is older than distributed files! |
|
|
1891 | Check your system clock" >&5 |
|
|
1892 | echo "$as_me: error: newly created file is older than distributed files! |
2399 | as_fn_error $? "newly created file is older than distributed files! |
1893 | Check your system clock" >&2;} |
2400 | Check your system clock" "$LINENO" 5 |
1894 | { (exit 1); exit 1; }; } |
|
|
1895 | fi |
2401 | fi |
1896 | { echo "$as_me:$LINENO: result: yes" >&5 |
2402 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
1897 | echo "${ECHO_T}yes" >&6; } |
2403 | $as_echo "yes" >&6; } |
1898 | test "$program_prefix" != NONE && |
2404 | test "$program_prefix" != NONE && |
1899 | program_transform_name="s&^&$program_prefix&;$program_transform_name" |
2405 | program_transform_name="s&^&$program_prefix&;$program_transform_name" |
1900 | # Use a double $ so make ignores it. |
2406 | # Use a double $ so make ignores it. |
1901 | test "$program_suffix" != NONE && |
2407 | test "$program_suffix" != NONE && |
1902 | program_transform_name="s&\$&$program_suffix&;$program_transform_name" |
2408 | program_transform_name="s&\$&$program_suffix&;$program_transform_name" |
1903 | # Double any \ or $. echo might interpret backslashes. |
2409 | # Double any \ or $. |
1904 | # By default was `s,x,x', remove it if useless. |
2410 | # By default was `s,x,x', remove it if useless. |
1905 | cat <<\_ACEOF >conftest.sed |
|
|
1906 | s/[\\$]/&&/g;s/;s,x,x,$// |
2411 | ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' |
1907 | _ACEOF |
|
|
1908 | program_transform_name=`echo $program_transform_name | sed -f conftest.sed` |
2412 | program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` |
1909 | rm -f conftest.sed |
|
|
1910 | |
|
|
1911 | |
2413 | |
1912 | # expand $ac_aux_dir to an absolute path |
2414 | # expand $ac_aux_dir to an absolute path |
1913 | am_aux_dir=`cd $ac_aux_dir && pwd` |
2415 | am_aux_dir=`cd $ac_aux_dir && pwd` |
1914 | |
2416 | |
1915 | test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" |
2417 | test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" |
1916 | # Use eval to expand $SHELL |
2418 | # Use eval to expand $SHELL |
1917 | if eval "$MISSING --run true"; then |
2419 | if eval "$MISSING --run true"; then |
1918 | am_missing_run="$MISSING --run " |
2420 | am_missing_run="$MISSING --run " |
1919 | else |
2421 | else |
1920 | am_missing_run= |
2422 | am_missing_run= |
1921 | { 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 |
1922 | 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;} |
1923 | fi |
2425 | fi |
|
|
2426 | |
|
|
2427 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 |
|
|
2428 | $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } |
|
|
2429 | if test -z "$MKDIR_P"; then |
|
|
2430 | if ${ac_cv_path_mkdir+:} false; then : |
|
|
2431 | $as_echo_n "(cached) " >&6 |
|
|
2432 | else |
|
|
2433 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
2434 | for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin |
|
|
2435 | do |
|
|
2436 | IFS=$as_save_IFS |
|
|
2437 | test -z "$as_dir" && as_dir=. |
|
|
2438 | for ac_prog in mkdir gmkdir; do |
|
|
2439 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
2440 | as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue |
|
|
2441 | case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( |
|
|
2442 | 'mkdir (GNU coreutils) '* | \ |
|
|
2443 | 'mkdir (coreutils) '* | \ |
|
|
2444 | 'mkdir (fileutils) '4.1*) |
|
|
2445 | ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext |
|
|
2446 | break 3;; |
|
|
2447 | esac |
|
|
2448 | done |
|
|
2449 | done |
|
|
2450 | done |
|
|
2451 | IFS=$as_save_IFS |
|
|
2452 | |
|
|
2453 | fi |
|
|
2454 | |
|
|
2455 | test -d ./--version && rmdir ./--version |
|
|
2456 | if test "${ac_cv_path_mkdir+set}" = set; then |
|
|
2457 | MKDIR_P="$ac_cv_path_mkdir -p" |
|
|
2458 | else |
|
|
2459 | # As a last resort, use the slow shell script. Don't cache a |
|
|
2460 | # value for MKDIR_P within a source directory, because that will |
|
|
2461 | # break other packages using the cache if that directory is |
|
|
2462 | # removed, or if the value is a relative name. |
|
|
2463 | MKDIR_P="$ac_install_sh -d" |
|
|
2464 | fi |
|
|
2465 | fi |
|
|
2466 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 |
|
|
2467 | $as_echo "$MKDIR_P" >&6; } |
|
|
2468 | |
|
|
2469 | mkdir_p="$MKDIR_P" |
|
|
2470 | case $mkdir_p in |
|
|
2471 | [\\/$]* | ?:[\\/]*) ;; |
|
|
2472 | */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; |
|
|
2473 | esac |
1924 | |
2474 | |
1925 | for ac_prog in gawk mawk nawk awk |
2475 | for ac_prog in gawk mawk nawk awk |
1926 | do |
2476 | do |
1927 | # 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. |
1928 | set dummy $ac_prog; ac_word=$2 |
2478 | set dummy $ac_prog; ac_word=$2 |
1929 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2479 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1930 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
2480 | $as_echo_n "checking for $ac_word... " >&6; } |
1931 | if test "${ac_cv_prog_AWK+set}" = set; then |
2481 | if ${ac_cv_prog_AWK+:} false; then : |
1932 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2482 | $as_echo_n "(cached) " >&6 |
1933 | else |
2483 | else |
1934 | if test -n "$AWK"; then |
2484 | if test -n "$AWK"; then |
1935 | ac_cv_prog_AWK="$AWK" # Let the user override the test. |
2485 | ac_cv_prog_AWK="$AWK" # Let the user override the test. |
1936 | else |
2486 | else |
1937 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2487 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1938 | for as_dir in $PATH |
2488 | for as_dir in $PATH |
1939 | do |
2489 | do |
1940 | IFS=$as_save_IFS |
2490 | IFS=$as_save_IFS |
1941 | test -z "$as_dir" && as_dir=. |
2491 | test -z "$as_dir" && as_dir=. |
1942 | for ac_exec_ext in '' $ac_executable_extensions; do |
2492 | for ac_exec_ext in '' $ac_executable_extensions; do |
1943 | 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 |
1944 | ac_cv_prog_AWK="$ac_prog" |
2494 | ac_cv_prog_AWK="$ac_prog" |
1945 | 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 |
1946 | break 2 |
2496 | break 2 |
1947 | fi |
2497 | fi |
1948 | done |
2498 | done |
1949 | done |
2499 | done |
1950 | IFS=$as_save_IFS |
2500 | IFS=$as_save_IFS |
1951 | |
2501 | |
1952 | fi |
2502 | fi |
1953 | fi |
2503 | fi |
1954 | AWK=$ac_cv_prog_AWK |
2504 | AWK=$ac_cv_prog_AWK |
1955 | if test -n "$AWK"; then |
2505 | if test -n "$AWK"; then |
1956 | { echo "$as_me:$LINENO: result: $AWK" >&5 |
2506 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 |
1957 | echo "${ECHO_T}$AWK" >&6; } |
2507 | $as_echo "$AWK" >&6; } |
1958 | else |
2508 | else |
1959 | { echo "$as_me:$LINENO: result: no" >&5 |
2509 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
1960 | echo "${ECHO_T}no" >&6; } |
2510 | $as_echo "no" >&6; } |
1961 | fi |
2511 | fi |
1962 | |
2512 | |
1963 | |
2513 | |
1964 | test -n "$AWK" && break |
2514 | test -n "$AWK" && break |
1965 | done |
2515 | done |
1966 | |
2516 | |
1967 | { 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 |
1968 | 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} |
1969 | 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'` |
1970 | 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 : |
1971 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2522 | $as_echo_n "(cached) " >&6 |
1972 | else |
2523 | else |
1973 | cat >conftest.make <<\_ACEOF |
2524 | cat >conftest.make <<\_ACEOF |
1974 | SHELL = /bin/sh |
2525 | SHELL = /bin/sh |
1975 | all: |
2526 | all: |
1976 | @echo '@@@%%%=$(MAKE)=@@@%%%' |
2527 | @echo '@@@%%%=$(MAKE)=@@@%%%' |
1977 | _ACEOF |
2528 | _ACEOF |
1978 | # GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
2529 | # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. |
1979 | case `${MAKE-make} -f conftest.make 2>/dev/null` in |
2530 | case `${MAKE-make} -f conftest.make 2>/dev/null` in |
1980 | *@@@%%%=?*=@@@%%%*) |
2531 | *@@@%%%=?*=@@@%%%*) |
1981 | eval ac_cv_prog_make_${ac_make}_set=yes;; |
2532 | eval ac_cv_prog_make_${ac_make}_set=yes;; |
1982 | *) |
2533 | *) |
1983 | eval ac_cv_prog_make_${ac_make}_set=no;; |
2534 | eval ac_cv_prog_make_${ac_make}_set=no;; |
1984 | esac |
2535 | esac |
1985 | rm -f conftest.make |
2536 | rm -f conftest.make |
1986 | fi |
2537 | fi |
1987 | 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 |
1988 | { echo "$as_me:$LINENO: result: yes" >&5 |
2539 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
1989 | echo "${ECHO_T}yes" >&6; } |
2540 | $as_echo "yes" >&6; } |
1990 | SET_MAKE= |
2541 | SET_MAKE= |
1991 | else |
2542 | else |
1992 | { echo "$as_me:$LINENO: result: no" >&5 |
2543 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
1993 | echo "${ECHO_T}no" >&6; } |
2544 | $as_echo "no" >&6; } |
1994 | SET_MAKE="MAKE=${MAKE-make}" |
2545 | SET_MAKE="MAKE=${MAKE-make}" |
1995 | fi |
2546 | fi |
1996 | |
2547 | |
1997 | rm -rf .tst 2>/dev/null |
2548 | rm -rf .tst 2>/dev/null |
1998 | mkdir .tst 2>/dev/null |
2549 | mkdir .tst 2>/dev/null |
… | |
… | |
2001 | else |
2552 | else |
2002 | am__leading_dot=_ |
2553 | am__leading_dot=_ |
2003 | fi |
2554 | fi |
2004 | rmdir .tst 2>/dev/null |
2555 | rmdir .tst 2>/dev/null |
2005 | |
2556 | |
|
|
2557 | if test "`cd $srcdir && pwd`" != "`pwd`"; then |
|
|
2558 | # Use -I$(srcdir) only when $(srcdir) != ., so that make's output |
|
|
2559 | # is not polluted with repeated "-I." |
|
|
2560 | am__isrc=' -I$(srcdir)' |
2006 | # test to see if srcdir already configured |
2561 | # test to see if srcdir already configured |
2007 | if test "`cd $srcdir && pwd`" != "`pwd`" && |
|
|
2008 | test -f $srcdir/config.status; then |
2562 | if test -f $srcdir/config.status; then |
2009 | { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 |
|
|
2010 | 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 |
2011 | { (exit 1); exit 1; }; } |
2564 | fi |
2012 | fi |
2565 | fi |
2013 | |
2566 | |
2014 | # test whether we have cygpath |
2567 | # test whether we have cygpath |
2015 | if test -z "$CYGPATH_W"; then |
2568 | if test -z "$CYGPATH_W"; then |
2016 | if (cygpath --version) >/dev/null 2>/dev/null; then |
2569 | if (cygpath --version) >/dev/null 2>/dev/null; then |
… | |
… | |
2021 | fi |
2574 | fi |
2022 | |
2575 | |
2023 | |
2576 | |
2024 | # Define the identity of the package. |
2577 | # Define the identity of the package. |
2025 | PACKAGE=lsys |
2578 | PACKAGE=lsys |
2026 | VERSION=0.6 |
2579 | VERSION=0.8 |
2027 | |
2580 | |
2028 | |
2581 | |
2029 | cat >>confdefs.h <<_ACEOF |
2582 | cat >>confdefs.h <<_ACEOF |
2030 | #define PACKAGE "$PACKAGE" |
2583 | #define PACKAGE "$PACKAGE" |
2031 | _ACEOF |
2584 | _ACEOF |
… | |
… | |
2049 | AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} |
2602 | AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} |
2050 | |
2603 | |
2051 | |
2604 | |
2052 | MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} |
2605 | MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} |
2053 | |
2606 | |
2054 | |
|
|
2055 | AMTAR=${AMTAR-"${am_missing_run}tar"} |
|
|
2056 | |
|
|
2057 | install_sh=${install_sh-"$am_aux_dir/install-sh"} |
2607 | install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"} |
2058 | |
2608 | |
2059 | # Installed binaries are usually stripped using `strip' when the user |
2609 | # Installed binaries are usually stripped using `strip' when the user |
2060 | # run `make install-strip'. However `strip' might not be the right |
2610 | # run `make install-strip'. However `strip' might not be the right |
2061 | # tool to use in cross-compilation environments, therefore Automake |
2611 | # tool to use in cross-compilation environments, therefore Automake |
2062 | # will honor the `STRIP' environment variable to overrule this program. |
2612 | # will honor the `STRIP' environment variable to overrule this program. |
2063 | if test "$cross_compiling" != no; then |
2613 | if test "$cross_compiling" != no; then |
2064 | if test -n "$ac_tool_prefix"; then |
2614 | if test -n "$ac_tool_prefix"; then |
2065 | # 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. |
2066 | set dummy ${ac_tool_prefix}strip; ac_word=$2 |
2616 | set dummy ${ac_tool_prefix}strip; ac_word=$2 |
2067 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2617 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2068 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
2618 | $as_echo_n "checking for $ac_word... " >&6; } |
2069 | if test "${ac_cv_prog_STRIP+set}" = set; then |
2619 | if ${ac_cv_prog_STRIP+:} false; then : |
2070 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2620 | $as_echo_n "(cached) " >&6 |
2071 | else |
2621 | else |
2072 | if test -n "$STRIP"; then |
2622 | if test -n "$STRIP"; then |
2073 | ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
2623 | ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
2074 | else |
2624 | else |
2075 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2625 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2076 | for as_dir in $PATH |
2626 | for as_dir in $PATH |
2077 | do |
2627 | do |
2078 | IFS=$as_save_IFS |
2628 | IFS=$as_save_IFS |
2079 | test -z "$as_dir" && as_dir=. |
2629 | test -z "$as_dir" && as_dir=. |
2080 | for ac_exec_ext in '' $ac_executable_extensions; do |
2630 | for ac_exec_ext in '' $ac_executable_extensions; do |
2081 | 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 |
2082 | ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
2632 | ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
2083 | 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 |
2084 | break 2 |
2634 | break 2 |
2085 | fi |
2635 | fi |
2086 | done |
2636 | done |
2087 | done |
2637 | done |
2088 | IFS=$as_save_IFS |
2638 | IFS=$as_save_IFS |
2089 | |
2639 | |
2090 | fi |
2640 | fi |
2091 | fi |
2641 | fi |
2092 | STRIP=$ac_cv_prog_STRIP |
2642 | STRIP=$ac_cv_prog_STRIP |
2093 | if test -n "$STRIP"; then |
2643 | if test -n "$STRIP"; then |
2094 | { echo "$as_me:$LINENO: result: $STRIP" >&5 |
2644 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 |
2095 | echo "${ECHO_T}$STRIP" >&6; } |
2645 | $as_echo "$STRIP" >&6; } |
2096 | else |
2646 | else |
2097 | { echo "$as_me:$LINENO: result: no" >&5 |
2647 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
2098 | echo "${ECHO_T}no" >&6; } |
2648 | $as_echo "no" >&6; } |
2099 | fi |
2649 | fi |
2100 | |
2650 | |
2101 | |
2651 | |
2102 | fi |
2652 | fi |
2103 | if test -z "$ac_cv_prog_STRIP"; then |
2653 | if test -z "$ac_cv_prog_STRIP"; then |
2104 | ac_ct_STRIP=$STRIP |
2654 | ac_ct_STRIP=$STRIP |
2105 | # 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. |
2106 | set dummy strip; ac_word=$2 |
2656 | set dummy strip; ac_word=$2 |
2107 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2657 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2108 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
2658 | $as_echo_n "checking for $ac_word... " >&6; } |
2109 | if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then |
2659 | if ${ac_cv_prog_ac_ct_STRIP+:} false; then : |
2110 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2660 | $as_echo_n "(cached) " >&6 |
2111 | else |
2661 | else |
2112 | if test -n "$ac_ct_STRIP"; then |
2662 | if test -n "$ac_ct_STRIP"; then |
2113 | 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. |
2114 | else |
2664 | else |
2115 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2665 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2116 | for as_dir in $PATH |
2666 | for as_dir in $PATH |
2117 | do |
2667 | do |
2118 | IFS=$as_save_IFS |
2668 | IFS=$as_save_IFS |
2119 | test -z "$as_dir" && as_dir=. |
2669 | test -z "$as_dir" && as_dir=. |
2120 | for ac_exec_ext in '' $ac_executable_extensions; do |
2670 | for ac_exec_ext in '' $ac_executable_extensions; do |
2121 | 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 |
2122 | ac_cv_prog_ac_ct_STRIP="strip" |
2672 | ac_cv_prog_ac_ct_STRIP="strip" |
2123 | 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 |
2124 | break 2 |
2674 | break 2 |
2125 | fi |
2675 | fi |
2126 | done |
2676 | done |
2127 | done |
2677 | done |
2128 | IFS=$as_save_IFS |
2678 | IFS=$as_save_IFS |
2129 | |
2679 | |
2130 | fi |
2680 | fi |
2131 | fi |
2681 | fi |
2132 | ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP |
2682 | ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP |
2133 | if test -n "$ac_ct_STRIP"; then |
2683 | if test -n "$ac_ct_STRIP"; then |
2134 | { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 |
2684 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 |
2135 | echo "${ECHO_T}$ac_ct_STRIP" >&6; } |
2685 | $as_echo "$ac_ct_STRIP" >&6; } |
2136 | else |
2686 | else |
2137 | { echo "$as_me:$LINENO: result: no" >&5 |
2687 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
2138 | echo "${ECHO_T}no" >&6; } |
2688 | $as_echo "no" >&6; } |
2139 | fi |
2689 | fi |
2140 | |
2690 | |
2141 | if test "x$ac_ct_STRIP" = x; then |
2691 | if test "x$ac_ct_STRIP" = x; then |
2142 | STRIP=":" |
2692 | STRIP=":" |
2143 | else |
2693 | else |
2144 | case $cross_compiling:$ac_tool_warned in |
2694 | case $cross_compiling:$ac_tool_warned in |
2145 | yes:) |
2695 | yes:) |
2146 | { 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 |
2147 | 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;} |
2148 | configuration is useful to you, please write to autoconf@gnu.org." >&5 |
|
|
2149 | echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools |
|
|
2150 | whose name does not start with the host triplet. If you think this |
|
|
2151 | configuration is useful to you, please write to autoconf@gnu.org." >&2;} |
|
|
2152 | ac_tool_warned=yes ;; |
2698 | ac_tool_warned=yes ;; |
2153 | esac |
2699 | esac |
2154 | STRIP=$ac_ct_STRIP |
2700 | STRIP=$ac_ct_STRIP |
2155 | fi |
2701 | fi |
2156 | else |
2702 | else |
2157 | STRIP="$ac_cv_prog_STRIP" |
2703 | STRIP="$ac_cv_prog_STRIP" |
2158 | fi |
2704 | fi |
2159 | |
2705 | |
2160 | fi |
2706 | fi |
2161 | INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" |
2707 | INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" |
2162 | |
2708 | |
2163 | # We need awk for the "check" target. The system "awk" is bad on |
2709 | # We need awk for the "check" target. The system "awk" is bad on |
2164 | # some platforms. |
2710 | # some platforms. |
|
|
2711 | # Always define AMTAR for backward compatibility. |
|
|
2712 | |
|
|
2713 | AMTAR=${AMTAR-"${am_missing_run}tar"} |
|
|
2714 | |
|
|
2715 | am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' |
|
|
2716 | |
|
|
2717 | |
2165 | |
2718 | |
2166 | |
2719 | |
2167 | |
2720 | |
2168 | |
2721 | |
2169 | ac_config_headers="$ac_config_headers config.h" |
2722 | ac_config_headers="$ac_config_headers config.h" |
… | |
… | |
2175 | 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' |
2176 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
2729 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
2177 | if test -n "$ac_tool_prefix"; then |
2730 | if test -n "$ac_tool_prefix"; then |
2178 | # 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. |
2179 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
2732 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
2180 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2733 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2181 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
2734 | $as_echo_n "checking for $ac_word... " >&6; } |
2182 | if test "${ac_cv_prog_CC+set}" = set; then |
2735 | if ${ac_cv_prog_CC+:} false; then : |
2183 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2736 | $as_echo_n "(cached) " >&6 |
2184 | else |
2737 | else |
2185 | if test -n "$CC"; then |
2738 | if test -n "$CC"; then |
2186 | ac_cv_prog_CC="$CC" # Let the user override the test. |
2739 | ac_cv_prog_CC="$CC" # Let the user override the test. |
2187 | else |
2740 | else |
2188 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2741 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2189 | for as_dir in $PATH |
2742 | for as_dir in $PATH |
2190 | do |
2743 | do |
2191 | IFS=$as_save_IFS |
2744 | IFS=$as_save_IFS |
2192 | test -z "$as_dir" && as_dir=. |
2745 | test -z "$as_dir" && as_dir=. |
2193 | for ac_exec_ext in '' $ac_executable_extensions; do |
2746 | for ac_exec_ext in '' $ac_executable_extensions; do |
2194 | 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 |
2195 | ac_cv_prog_CC="${ac_tool_prefix}gcc" |
2748 | ac_cv_prog_CC="${ac_tool_prefix}gcc" |
2196 | 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 |
2197 | break 2 |
2750 | break 2 |
2198 | fi |
2751 | fi |
2199 | done |
2752 | done |
2200 | done |
2753 | done |
2201 | IFS=$as_save_IFS |
2754 | IFS=$as_save_IFS |
2202 | |
2755 | |
2203 | fi |
2756 | fi |
2204 | fi |
2757 | fi |
2205 | CC=$ac_cv_prog_CC |
2758 | CC=$ac_cv_prog_CC |
2206 | if test -n "$CC"; then |
2759 | if test -n "$CC"; then |
2207 | { echo "$as_me:$LINENO: result: $CC" >&5 |
2760 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
2208 | echo "${ECHO_T}$CC" >&6; } |
2761 | $as_echo "$CC" >&6; } |
2209 | else |
2762 | else |
2210 | { echo "$as_me:$LINENO: result: no" >&5 |
2763 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
2211 | echo "${ECHO_T}no" >&6; } |
2764 | $as_echo "no" >&6; } |
2212 | fi |
2765 | fi |
2213 | |
2766 | |
2214 | |
2767 | |
2215 | fi |
2768 | fi |
2216 | if test -z "$ac_cv_prog_CC"; then |
2769 | if test -z "$ac_cv_prog_CC"; then |
2217 | ac_ct_CC=$CC |
2770 | ac_ct_CC=$CC |
2218 | # 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. |
2219 | set dummy gcc; ac_word=$2 |
2772 | set dummy gcc; ac_word=$2 |
2220 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2773 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2221 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
2774 | $as_echo_n "checking for $ac_word... " >&6; } |
2222 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
2775 | if ${ac_cv_prog_ac_ct_CC+:} false; then : |
2223 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2776 | $as_echo_n "(cached) " >&6 |
2224 | else |
2777 | else |
2225 | if test -n "$ac_ct_CC"; then |
2778 | if test -n "$ac_ct_CC"; then |
2226 | 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. |
2227 | else |
2780 | else |
2228 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2781 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2229 | for as_dir in $PATH |
2782 | for as_dir in $PATH |
2230 | do |
2783 | do |
2231 | IFS=$as_save_IFS |
2784 | IFS=$as_save_IFS |
2232 | test -z "$as_dir" && as_dir=. |
2785 | test -z "$as_dir" && as_dir=. |
2233 | for ac_exec_ext in '' $ac_executable_extensions; do |
2786 | for ac_exec_ext in '' $ac_executable_extensions; do |
2234 | 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 |
2235 | ac_cv_prog_ac_ct_CC="gcc" |
2788 | ac_cv_prog_ac_ct_CC="gcc" |
2236 | 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 |
2237 | break 2 |
2790 | break 2 |
2238 | fi |
2791 | fi |
2239 | done |
2792 | done |
2240 | done |
2793 | done |
2241 | IFS=$as_save_IFS |
2794 | IFS=$as_save_IFS |
2242 | |
2795 | |
2243 | fi |
2796 | fi |
2244 | fi |
2797 | fi |
2245 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
2798 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
2246 | if test -n "$ac_ct_CC"; then |
2799 | if test -n "$ac_ct_CC"; then |
2247 | { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
2800 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
2248 | echo "${ECHO_T}$ac_ct_CC" >&6; } |
2801 | $as_echo "$ac_ct_CC" >&6; } |
2249 | else |
2802 | else |
2250 | { echo "$as_me:$LINENO: result: no" >&5 |
2803 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
2251 | echo "${ECHO_T}no" >&6; } |
2804 | $as_echo "no" >&6; } |
2252 | fi |
2805 | fi |
2253 | |
2806 | |
2254 | if test "x$ac_ct_CC" = x; then |
2807 | if test "x$ac_ct_CC" = x; then |
2255 | CC="" |
2808 | CC="" |
2256 | else |
2809 | else |
2257 | case $cross_compiling:$ac_tool_warned in |
2810 | case $cross_compiling:$ac_tool_warned in |
2258 | yes:) |
2811 | yes:) |
2259 | { 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 |
2260 | 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;} |
2261 | configuration is useful to you, please write to autoconf@gnu.org." >&5 |
|
|
2262 | echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools |
|
|
2263 | whose name does not start with the host triplet. If you think this |
|
|
2264 | configuration is useful to you, please write to autoconf@gnu.org." >&2;} |
|
|
2265 | ac_tool_warned=yes ;; |
2814 | ac_tool_warned=yes ;; |
2266 | esac |
2815 | esac |
2267 | CC=$ac_ct_CC |
2816 | CC=$ac_ct_CC |
2268 | fi |
2817 | fi |
2269 | else |
2818 | else |
… | |
… | |
2272 | |
2821 | |
2273 | if test -z "$CC"; then |
2822 | if test -z "$CC"; then |
2274 | if test -n "$ac_tool_prefix"; then |
2823 | if test -n "$ac_tool_prefix"; then |
2275 | # 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. |
2276 | set dummy ${ac_tool_prefix}cc; ac_word=$2 |
2825 | set dummy ${ac_tool_prefix}cc; ac_word=$2 |
2277 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2826 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2278 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
2827 | $as_echo_n "checking for $ac_word... " >&6; } |
2279 | if test "${ac_cv_prog_CC+set}" = set; then |
2828 | if ${ac_cv_prog_CC+:} false; then : |
2280 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2829 | $as_echo_n "(cached) " >&6 |
2281 | else |
2830 | else |
2282 | if test -n "$CC"; then |
2831 | if test -n "$CC"; then |
2283 | ac_cv_prog_CC="$CC" # Let the user override the test. |
2832 | ac_cv_prog_CC="$CC" # Let the user override the test. |
2284 | else |
2833 | else |
2285 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2834 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2286 | for as_dir in $PATH |
2835 | for as_dir in $PATH |
2287 | do |
2836 | do |
2288 | IFS=$as_save_IFS |
2837 | IFS=$as_save_IFS |
2289 | test -z "$as_dir" && as_dir=. |
2838 | test -z "$as_dir" && as_dir=. |
2290 | for ac_exec_ext in '' $ac_executable_extensions; do |
2839 | for ac_exec_ext in '' $ac_executable_extensions; do |
2291 | 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 |
2292 | ac_cv_prog_CC="${ac_tool_prefix}cc" |
2841 | ac_cv_prog_CC="${ac_tool_prefix}cc" |
2293 | 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 |
2294 | break 2 |
2843 | break 2 |
2295 | fi |
2844 | fi |
2296 | done |
2845 | done |
2297 | done |
2846 | done |
2298 | IFS=$as_save_IFS |
2847 | IFS=$as_save_IFS |
2299 | |
2848 | |
2300 | fi |
2849 | fi |
2301 | fi |
2850 | fi |
2302 | CC=$ac_cv_prog_CC |
2851 | CC=$ac_cv_prog_CC |
2303 | if test -n "$CC"; then |
2852 | if test -n "$CC"; then |
2304 | { echo "$as_me:$LINENO: result: $CC" >&5 |
2853 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
2305 | echo "${ECHO_T}$CC" >&6; } |
2854 | $as_echo "$CC" >&6; } |
2306 | else |
2855 | else |
2307 | { echo "$as_me:$LINENO: result: no" >&5 |
2856 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
2308 | echo "${ECHO_T}no" >&6; } |
2857 | $as_echo "no" >&6; } |
2309 | fi |
2858 | fi |
2310 | |
2859 | |
2311 | |
2860 | |
2312 | fi |
2861 | fi |
2313 | fi |
2862 | fi |
2314 | if test -z "$CC"; then |
2863 | if test -z "$CC"; then |
2315 | # 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. |
2316 | set dummy cc; ac_word=$2 |
2865 | set dummy cc; ac_word=$2 |
2317 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2866 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2318 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
2867 | $as_echo_n "checking for $ac_word... " >&6; } |
2319 | if test "${ac_cv_prog_CC+set}" = set; then |
2868 | if ${ac_cv_prog_CC+:} false; then : |
2320 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2869 | $as_echo_n "(cached) " >&6 |
2321 | else |
2870 | else |
2322 | if test -n "$CC"; then |
2871 | if test -n "$CC"; then |
2323 | ac_cv_prog_CC="$CC" # Let the user override the test. |
2872 | ac_cv_prog_CC="$CC" # Let the user override the test. |
2324 | else |
2873 | else |
2325 | ac_prog_rejected=no |
2874 | ac_prog_rejected=no |
2326 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2875 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2327 | for as_dir in $PATH |
2876 | for as_dir in $PATH |
2328 | do |
2877 | do |
2329 | IFS=$as_save_IFS |
2878 | IFS=$as_save_IFS |
2330 | test -z "$as_dir" && as_dir=. |
2879 | test -z "$as_dir" && as_dir=. |
2331 | for ac_exec_ext in '' $ac_executable_extensions; do |
2880 | for ac_exec_ext in '' $ac_executable_extensions; do |
2332 | 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 |
2333 | 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 |
2334 | ac_prog_rejected=yes |
2883 | ac_prog_rejected=yes |
2335 | continue |
2884 | continue |
2336 | fi |
2885 | fi |
2337 | ac_cv_prog_CC="cc" |
2886 | ac_cv_prog_CC="cc" |
2338 | 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 |
2339 | break 2 |
2888 | break 2 |
2340 | fi |
2889 | fi |
2341 | done |
2890 | done |
2342 | done |
2891 | done |
2343 | IFS=$as_save_IFS |
2892 | IFS=$as_save_IFS |
2344 | |
2893 | |
2345 | if test $ac_prog_rejected = yes; then |
2894 | if test $ac_prog_rejected = yes; then |
2346 | # 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. |
2347 | set dummy $ac_cv_prog_CC |
2896 | set dummy $ac_cv_prog_CC |
… | |
… | |
2356 | fi |
2905 | fi |
2357 | fi |
2906 | fi |
2358 | fi |
2907 | fi |
2359 | CC=$ac_cv_prog_CC |
2908 | CC=$ac_cv_prog_CC |
2360 | if test -n "$CC"; then |
2909 | if test -n "$CC"; then |
2361 | { echo "$as_me:$LINENO: result: $CC" >&5 |
2910 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
2362 | echo "${ECHO_T}$CC" >&6; } |
2911 | $as_echo "$CC" >&6; } |
2363 | else |
2912 | else |
2364 | { echo "$as_me:$LINENO: result: no" >&5 |
2913 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
2365 | echo "${ECHO_T}no" >&6; } |
2914 | $as_echo "no" >&6; } |
2366 | fi |
2915 | fi |
2367 | |
2916 | |
2368 | |
2917 | |
2369 | fi |
2918 | fi |
2370 | if test -z "$CC"; then |
2919 | if test -z "$CC"; then |
2371 | if test -n "$ac_tool_prefix"; then |
2920 | if test -n "$ac_tool_prefix"; then |
2372 | for ac_prog in cl.exe |
2921 | for ac_prog in cl.exe |
2373 | do |
2922 | do |
2374 | # 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. |
2375 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
2924 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
2376 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2925 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2377 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
2926 | $as_echo_n "checking for $ac_word... " >&6; } |
2378 | if test "${ac_cv_prog_CC+set}" = set; then |
2927 | if ${ac_cv_prog_CC+:} false; then : |
2379 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2928 | $as_echo_n "(cached) " >&6 |
2380 | else |
2929 | else |
2381 | if test -n "$CC"; then |
2930 | if test -n "$CC"; then |
2382 | ac_cv_prog_CC="$CC" # Let the user override the test. |
2931 | ac_cv_prog_CC="$CC" # Let the user override the test. |
2383 | else |
2932 | else |
2384 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2933 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2385 | for as_dir in $PATH |
2934 | for as_dir in $PATH |
2386 | do |
2935 | do |
2387 | IFS=$as_save_IFS |
2936 | IFS=$as_save_IFS |
2388 | test -z "$as_dir" && as_dir=. |
2937 | test -z "$as_dir" && as_dir=. |
2389 | for ac_exec_ext in '' $ac_executable_extensions; do |
2938 | for ac_exec_ext in '' $ac_executable_extensions; do |
2390 | 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 |
2391 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
2940 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
2392 | 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 |
2393 | break 2 |
2942 | break 2 |
2394 | fi |
2943 | fi |
2395 | done |
2944 | done |
2396 | done |
2945 | done |
2397 | IFS=$as_save_IFS |
2946 | IFS=$as_save_IFS |
2398 | |
2947 | |
2399 | fi |
2948 | fi |
2400 | fi |
2949 | fi |
2401 | CC=$ac_cv_prog_CC |
2950 | CC=$ac_cv_prog_CC |
2402 | if test -n "$CC"; then |
2951 | if test -n "$CC"; then |
2403 | { echo "$as_me:$LINENO: result: $CC" >&5 |
2952 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
2404 | echo "${ECHO_T}$CC" >&6; } |
2953 | $as_echo "$CC" >&6; } |
2405 | else |
2954 | else |
2406 | { echo "$as_me:$LINENO: result: no" >&5 |
2955 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
2407 | echo "${ECHO_T}no" >&6; } |
2956 | $as_echo "no" >&6; } |
2408 | fi |
2957 | fi |
2409 | |
2958 | |
2410 | |
2959 | |
2411 | test -n "$CC" && break |
2960 | test -n "$CC" && break |
2412 | done |
2961 | done |
… | |
… | |
2415 | ac_ct_CC=$CC |
2964 | ac_ct_CC=$CC |
2416 | for ac_prog in cl.exe |
2965 | for ac_prog in cl.exe |
2417 | do |
2966 | do |
2418 | # 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. |
2419 | set dummy $ac_prog; ac_word=$2 |
2968 | set dummy $ac_prog; ac_word=$2 |
2420 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2969 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2421 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
2970 | $as_echo_n "checking for $ac_word... " >&6; } |
2422 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
2971 | if ${ac_cv_prog_ac_ct_CC+:} false; then : |
2423 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2972 | $as_echo_n "(cached) " >&6 |
2424 | else |
2973 | else |
2425 | if test -n "$ac_ct_CC"; then |
2974 | if test -n "$ac_ct_CC"; then |
2426 | 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. |
2427 | else |
2976 | else |
2428 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2977 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2429 | for as_dir in $PATH |
2978 | for as_dir in $PATH |
2430 | do |
2979 | do |
2431 | IFS=$as_save_IFS |
2980 | IFS=$as_save_IFS |
2432 | test -z "$as_dir" && as_dir=. |
2981 | test -z "$as_dir" && as_dir=. |
2433 | for ac_exec_ext in '' $ac_executable_extensions; do |
2982 | for ac_exec_ext in '' $ac_executable_extensions; do |
2434 | 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 |
2435 | ac_cv_prog_ac_ct_CC="$ac_prog" |
2984 | ac_cv_prog_ac_ct_CC="$ac_prog" |
2436 | 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 |
2437 | break 2 |
2986 | break 2 |
2438 | fi |
2987 | fi |
2439 | done |
2988 | done |
2440 | done |
2989 | done |
2441 | IFS=$as_save_IFS |
2990 | IFS=$as_save_IFS |
2442 | |
2991 | |
2443 | fi |
2992 | fi |
2444 | fi |
2993 | fi |
2445 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
2994 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
2446 | if test -n "$ac_ct_CC"; then |
2995 | if test -n "$ac_ct_CC"; then |
2447 | { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
2996 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
2448 | echo "${ECHO_T}$ac_ct_CC" >&6; } |
2997 | $as_echo "$ac_ct_CC" >&6; } |
2449 | else |
2998 | else |
2450 | { echo "$as_me:$LINENO: result: no" >&5 |
2999 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
2451 | echo "${ECHO_T}no" >&6; } |
3000 | $as_echo "no" >&6; } |
2452 | fi |
3001 | fi |
2453 | |
3002 | |
2454 | |
3003 | |
2455 | test -n "$ac_ct_CC" && break |
3004 | test -n "$ac_ct_CC" && break |
2456 | done |
3005 | done |
… | |
… | |
2458 | if test "x$ac_ct_CC" = x; then |
3007 | if test "x$ac_ct_CC" = x; then |
2459 | CC="" |
3008 | CC="" |
2460 | else |
3009 | else |
2461 | case $cross_compiling:$ac_tool_warned in |
3010 | case $cross_compiling:$ac_tool_warned in |
2462 | yes:) |
3011 | yes:) |
2463 | { 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 |
2464 | 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;} |
2465 | configuration is useful to you, please write to autoconf@gnu.org." >&5 |
|
|
2466 | echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools |
|
|
2467 | whose name does not start with the host triplet. If you think this |
|
|
2468 | configuration is useful to you, please write to autoconf@gnu.org." >&2;} |
|
|
2469 | ac_tool_warned=yes ;; |
3014 | ac_tool_warned=yes ;; |
2470 | esac |
3015 | esac |
2471 | CC=$ac_ct_CC |
3016 | CC=$ac_ct_CC |
2472 | fi |
3017 | fi |
2473 | fi |
3018 | fi |
2474 | |
3019 | |
2475 | fi |
3020 | fi |
2476 | |
3021 | |
2477 | |
3022 | |
2478 | 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 |
2479 | See \`config.log' for more details." >&5 |
3024 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2480 | echo "$as_me: error: no acceptable C compiler found in \$PATH |
3025 | as_fn_error $? "no acceptable C compiler found in \$PATH |
2481 | See \`config.log' for more details." >&2;} |
3026 | See \`config.log' for more details" "$LINENO" 5; } |
2482 | { (exit 1); exit 1; }; } |
|
|
2483 | |
3027 | |
2484 | # Provide some information about the compiler. |
3028 | # Provide some information about the compiler. |
2485 | echo "$as_me:$LINENO: checking for C compiler version" >&5 |
3029 | $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
2486 | 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 |
2487 | { (ac_try="$ac_compiler --version >&5" |
3033 | { { ac_try="$ac_compiler $ac_option >&5" |
2488 | case "(($ac_try" in |
3034 | case "(($ac_try" in |
2489 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3035 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2490 | *) ac_try_echo=$ac_try;; |
3036 | *) ac_try_echo=$ac_try;; |
2491 | esac |
3037 | esac |
2492 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
3038 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
2493 | (eval "$ac_compiler --version >&5") 2>&5 |
3039 | $as_echo "$ac_try_echo"; } >&5 |
|
|
3040 | (eval "$ac_compiler $ac_option >&5") 2>conftest.err |
2494 | 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 |
2495 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3049 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
2496 | (exit $ac_status); } |
3050 | test $ac_status = 0; } |
2497 | { (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" |
2498 | case "(($ac_try" in |
3087 | case "(($ac_try" in |
2499 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3088 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2500 | *) ac_try_echo=$ac_try;; |
3089 | *) ac_try_echo=$ac_try;; |
2501 | esac |
3090 | esac |
2502 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
3091 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
2503 | (eval "$ac_compiler -v >&5") 2>&5 |
3092 | $as_echo "$ac_try_echo"; } >&5 |
2504 | ac_status=$? |
|
|
2505 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
2506 | (exit $ac_status); } |
|
|
2507 | { (ac_try="$ac_compiler -V >&5" |
|
|
2508 | case "(($ac_try" in |
|
|
2509 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
2510 | *) ac_try_echo=$ac_try;; |
|
|
2511 | esac |
|
|
2512 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
2513 | (eval "$ac_compiler -V >&5") 2>&5 |
|
|
2514 | ac_status=$? |
|
|
2515 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
2516 | (exit $ac_status); } |
|
|
2517 | |
|
|
2518 | cat >conftest.$ac_ext <<_ACEOF |
|
|
2519 | /* confdefs.h. */ |
|
|
2520 | _ACEOF |
|
|
2521 | cat confdefs.h >>conftest.$ac_ext |
|
|
2522 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
2523 | /* end confdefs.h. */ |
|
|
2524 | |
|
|
2525 | int |
|
|
2526 | main () |
|
|
2527 | { |
|
|
2528 | |
|
|
2529 | ; |
|
|
2530 | return 0; |
|
|
2531 | } |
|
|
2532 | _ACEOF |
|
|
2533 | ac_clean_files_save=$ac_clean_files |
|
|
2534 | ac_clean_files="$ac_clean_files a.out a.exe b.out" |
|
|
2535 | # Try to create an executable without -o first, disregard a.out. |
|
|
2536 | # It will help us diagnose broken compilers, and finding out an intuition |
|
|
2537 | # of exeext. |
|
|
2538 | { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 |
|
|
2539 | echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } |
|
|
2540 | ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
|
|
2541 | # |
|
|
2542 | # List of possible output files, starting from the most likely. |
|
|
2543 | # The algorithm is not robust to junk in `.', hence go to wildcards (a.*) |
|
|
2544 | # only as a last resort. b.out is created by i960 compilers. |
|
|
2545 | ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' |
|
|
2546 | # |
|
|
2547 | # The IRIX 6 linker writes into existing files which may not be |
|
|
2548 | # executable, retaining their permissions. Remove them first so a |
|
|
2549 | # subsequent execution test works. |
|
|
2550 | ac_rmfiles= |
|
|
2551 | for ac_file in $ac_files |
|
|
2552 | do |
|
|
2553 | case $ac_file in |
|
|
2554 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; |
|
|
2555 | * ) ac_rmfiles="$ac_rmfiles $ac_file";; |
|
|
2556 | esac |
|
|
2557 | done |
|
|
2558 | rm -f $ac_rmfiles |
|
|
2559 | |
|
|
2560 | if { (ac_try="$ac_link_default" |
|
|
2561 | case "(($ac_try" in |
|
|
2562 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
2563 | *) ac_try_echo=$ac_try;; |
|
|
2564 | esac |
|
|
2565 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
2566 | (eval "$ac_link_default") 2>&5 |
3093 | (eval "$ac_link_default") 2>&5 |
2567 | ac_status=$? |
3094 | ac_status=$? |
2568 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3095 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
2569 | (exit $ac_status); }; then |
3096 | test $ac_status = 0; }; then : |
2570 | # 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'. |
2571 | # 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' |
2572 | # 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, |
2573 | # 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 |
2574 | # Autoconf. |
3101 | # Autoconf. |
2575 | for ac_file in $ac_files '' |
3102 | for ac_file in $ac_files '' |
2576 | do |
3103 | do |
2577 | test -f "$ac_file" || continue |
3104 | test -f "$ac_file" || continue |
2578 | case $ac_file in |
3105 | case $ac_file in |
2579 | *.$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 ) |
2580 | ;; |
3107 | ;; |
2581 | [ab].out ) |
3108 | [ab].out ) |
2582 | # We found the default executable, but exeext='' is most |
3109 | # We found the default executable, but exeext='' is most |
2583 | # certainly right. |
3110 | # certainly right. |
2584 | break;; |
3111 | break;; |
2585 | *.* ) |
3112 | *.* ) |
2586 | 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; |
2587 | then :; else |
3114 | then :; else |
2588 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
3115 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
2589 | fi |
3116 | fi |
2590 | # 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 |
2591 | # 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' |
… | |
… | |
2600 | test "$ac_cv_exeext" = no && ac_cv_exeext= |
3127 | test "$ac_cv_exeext" = no && ac_cv_exeext= |
2601 | |
3128 | |
2602 | else |
3129 | else |
2603 | ac_file='' |
3130 | ac_file='' |
2604 | fi |
3131 | fi |
2605 | |
|
|
2606 | { echo "$as_me:$LINENO: result: $ac_file" >&5 |
|
|
2607 | echo "${ECHO_T}$ac_file" >&6; } |
|
|
2608 | 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; } |
2609 | echo "$as_me: failed program was:" >&5 |
3135 | $as_echo "$as_me: failed program was:" >&5 |
2610 | sed 's/^/| /' conftest.$ac_ext >&5 |
3136 | sed 's/^/| /' conftest.$ac_ext >&5 |
2611 | |
3137 | |
2612 | { { echo "$as_me:$LINENO: error: C compiler cannot create executables |
3138 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2613 | See \`config.log' for more details." >&5 |
3139 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2614 | echo "$as_me: error: C compiler cannot create executables |
3140 | as_fn_error 77 "C compiler cannot create executables |
2615 | See \`config.log' for more details." >&2;} |
3141 | See \`config.log' for more details" "$LINENO" 5; } |
2616 | { (exit 77); exit 77; }; } |
3142 | else |
|
|
3143 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
|
3144 | $as_echo "yes" >&6; } |
2617 | fi |
3145 | fi |
2618 | |
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; } |
2619 | ac_exeext=$ac_cv_exeext |
3150 | ac_exeext=$ac_cv_exeext |
2620 | |
3151 | |
2621 | # Check that the compiler produces executables we can run. If not, either |
|
|
2622 | # the compiler is broken, or we cross compile. |
|
|
2623 | { echo "$as_me:$LINENO: checking whether the C compiler works" >&5 |
|
|
2624 | echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } |
|
|
2625 | # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 |
|
|
2626 | # If not cross compiling, check that we can run a simple program. |
|
|
2627 | if test "$cross_compiling" != yes; then |
|
|
2628 | if { ac_try='./$ac_file' |
|
|
2629 | { (case "(($ac_try" in |
|
|
2630 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
2631 | *) ac_try_echo=$ac_try;; |
|
|
2632 | esac |
|
|
2633 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
2634 | (eval "$ac_try") 2>&5 |
|
|
2635 | ac_status=$? |
|
|
2636 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
2637 | (exit $ac_status); }; }; then |
|
|
2638 | cross_compiling=no |
|
|
2639 | else |
|
|
2640 | if test "$cross_compiling" = maybe; then |
|
|
2641 | cross_compiling=yes |
|
|
2642 | else |
|
|
2643 | { { echo "$as_me:$LINENO: error: cannot run C compiled programs. |
|
|
2644 | If you meant to cross compile, use \`--host'. |
|
|
2645 | See \`config.log' for more details." >&5 |
|
|
2646 | echo "$as_me: error: cannot run C compiled programs. |
|
|
2647 | If you meant to cross compile, use \`--host'. |
|
|
2648 | See \`config.log' for more details." >&2;} |
|
|
2649 | { (exit 1); exit 1; }; } |
|
|
2650 | fi |
|
|
2651 | fi |
|
|
2652 | fi |
|
|
2653 | { echo "$as_me:$LINENO: result: yes" >&5 |
|
|
2654 | echo "${ECHO_T}yes" >&6; } |
|
|
2655 | |
|
|
2656 | 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 |
2657 | ac_clean_files=$ac_clean_files_save |
3153 | ac_clean_files=$ac_clean_files_save |
2658 | # Check that the compiler produces executables we can run. If not, either |
|
|
2659 | # the compiler is broken, or we cross compile. |
|
|
2660 | { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 |
|
|
2661 | echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } |
|
|
2662 | { echo "$as_me:$LINENO: result: $cross_compiling" >&5 |
|
|
2663 | echo "${ECHO_T}$cross_compiling" >&6; } |
|
|
2664 | |
|
|
2665 | { echo "$as_me:$LINENO: checking for suffix of executables" >&5 |
3154 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 |
2666 | echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } |
3155 | $as_echo_n "checking for suffix of executables... " >&6; } |
2667 | if { (ac_try="$ac_link" |
3156 | if { { ac_try="$ac_link" |
2668 | case "(($ac_try" in |
3157 | case "(($ac_try" in |
2669 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3158 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2670 | *) ac_try_echo=$ac_try;; |
3159 | *) ac_try_echo=$ac_try;; |
2671 | esac |
3160 | esac |
2672 | 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 |
2673 | (eval "$ac_link") 2>&5 |
3163 | (eval "$ac_link") 2>&5 |
2674 | ac_status=$? |
3164 | ac_status=$? |
2675 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3165 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
2676 | (exit $ac_status); }; then |
3166 | test $ac_status = 0; }; then : |
2677 | # If both `conftest.exe' and `conftest' are `present' (well, observable) |
3167 | # If both `conftest.exe' and `conftest' are `present' (well, observable) |
2678 | # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
3168 | # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
2679 | # 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 |
2680 | # `rm'. |
3170 | # `rm'. |
2681 | for ac_file in conftest.exe conftest conftest.*; do |
3171 | for ac_file in conftest.exe conftest conftest.*; do |
2682 | test -f "$ac_file" || continue |
3172 | test -f "$ac_file" || continue |
2683 | case $ac_file in |
3173 | case $ac_file in |
2684 | *.$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 ) ;; |
2685 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
3175 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
2686 | break;; |
3176 | break;; |
2687 | * ) break;; |
3177 | * ) break;; |
2688 | esac |
3178 | esac |
2689 | done |
3179 | done |
2690 | else |
3180 | else |
2691 | { { 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 |
2692 | See \`config.log' for more details." >&5 |
3182 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2693 | 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 |
2694 | See \`config.log' for more details." >&2;} |
3184 | See \`config.log' for more details" "$LINENO" 5; } |
2695 | { (exit 1); exit 1; }; } |
|
|
2696 | fi |
3185 | fi |
2697 | |
|
|
2698 | rm -f conftest$ac_cv_exeext |
3186 | rm -f conftest conftest$ac_cv_exeext |
2699 | { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 |
3187 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
2700 | echo "${ECHO_T}$ac_cv_exeext" >&6; } |
3188 | $as_echo "$ac_cv_exeext" >&6; } |
2701 | |
3189 | |
2702 | rm -f conftest.$ac_ext |
3190 | rm -f conftest.$ac_ext |
2703 | EXEEXT=$ac_cv_exeext |
3191 | EXEEXT=$ac_cv_exeext |
2704 | ac_exeext=$EXEEXT |
3192 | ac_exeext=$EXEEXT |
2705 | { echo "$as_me:$LINENO: checking for suffix of object files" >&5 |
|
|
2706 | echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } |
|
|
2707 | if test "${ac_cv_objext+set}" = set; then |
|
|
2708 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
2709 | else |
|
|
2710 | cat >conftest.$ac_ext <<_ACEOF |
|
|
2711 | /* confdefs.h. */ |
|
|
2712 | _ACEOF |
|
|
2713 | cat confdefs.h >>conftest.$ac_ext |
3193 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2714 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
2715 | /* end confdefs.h. */ |
3194 | /* end confdefs.h. */ |
2716 | |
3195 | #include <stdio.h> |
2717 | int |
3196 | int |
2718 | main () |
3197 | main () |
2719 | { |
3198 | { |
|
|
3199 | FILE *f = fopen ("conftest.out", "w"); |
|
|
3200 | return ferror (f) || fclose (f) != 0; |
2720 | |
3201 | |
2721 | ; |
3202 | ; |
2722 | return 0; |
3203 | return 0; |
2723 | } |
3204 | } |
2724 | _ACEOF |
3205 | _ACEOF |
2725 | rm -f conftest.o conftest.obj |
3206 | ac_clean_files="$ac_clean_files conftest.out" |
2726 | 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" |
2727 | case "(($ac_try" in |
3213 | case "(($ac_try" in |
2728 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3214 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2729 | *) ac_try_echo=$ac_try;; |
3215 | *) ac_try_echo=$ac_try;; |
2730 | esac |
3216 | esac |
2731 | 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 |
2732 | (eval "$ac_compile") 2>&5 |
3276 | (eval "$ac_compile") 2>&5 |
2733 | ac_status=$? |
3277 | ac_status=$? |
2734 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3278 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
2735 | (exit $ac_status); }; then |
3279 | test $ac_status = 0; }; then : |
2736 | for ac_file in conftest.o conftest.obj conftest.*; do |
3280 | for ac_file in conftest.o conftest.obj conftest.*; do |
2737 | test -f "$ac_file" || continue; |
3281 | test -f "$ac_file" || continue; |
2738 | case $ac_file in |
3282 | case $ac_file in |
2739 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; |
3283 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; |
2740 | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
3284 | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
2741 | break;; |
3285 | break;; |
2742 | esac |
3286 | esac |
2743 | done |
3287 | done |
2744 | else |
3288 | else |
2745 | echo "$as_me: failed program was:" >&5 |
3289 | $as_echo "$as_me: failed program was:" >&5 |
2746 | sed 's/^/| /' conftest.$ac_ext >&5 |
3290 | sed 's/^/| /' conftest.$ac_ext >&5 |
2747 | |
3291 | |
2748 | { { 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 |
2749 | See \`config.log' for more details." >&5 |
3293 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2750 | echo "$as_me: error: cannot compute suffix of object files: cannot compile |
3294 | as_fn_error $? "cannot compute suffix of object files: cannot compile |
2751 | See \`config.log' for more details." >&2;} |
3295 | See \`config.log' for more details" "$LINENO" 5; } |
2752 | { (exit 1); exit 1; }; } |
|
|
2753 | fi |
3296 | fi |
2754 | |
|
|
2755 | rm -f conftest.$ac_cv_objext conftest.$ac_ext |
3297 | rm -f conftest.$ac_cv_objext conftest.$ac_ext |
2756 | fi |
3298 | fi |
2757 | { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 |
3299 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 |
2758 | echo "${ECHO_T}$ac_cv_objext" >&6; } |
3300 | $as_echo "$ac_cv_objext" >&6; } |
2759 | OBJEXT=$ac_cv_objext |
3301 | OBJEXT=$ac_cv_objext |
2760 | ac_objext=$OBJEXT |
3302 | ac_objext=$OBJEXT |
2761 | { 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 |
2762 | 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; } |
2763 | if test "${ac_cv_c_compiler_gnu+set}" = set; then |
3305 | if ${ac_cv_c_compiler_gnu+:} false; then : |
2764 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3306 | $as_echo_n "(cached) " >&6 |
2765 | else |
3307 | else |
2766 | cat >conftest.$ac_ext <<_ACEOF |
|
|
2767 | /* confdefs.h. */ |
|
|
2768 | _ACEOF |
|
|
2769 | cat confdefs.h >>conftest.$ac_ext |
3308 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2770 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
2771 | /* end confdefs.h. */ |
3309 | /* end confdefs.h. */ |
2772 | |
3310 | |
2773 | int |
3311 | int |
2774 | main () |
3312 | main () |
2775 | { |
3313 | { |
… | |
… | |
2779 | |
3317 | |
2780 | ; |
3318 | ; |
2781 | return 0; |
3319 | return 0; |
2782 | } |
3320 | } |
2783 | _ACEOF |
3321 | _ACEOF |
2784 | rm -f conftest.$ac_objext |
3322 | if ac_fn_c_try_compile "$LINENO"; then : |
2785 | if { (ac_try="$ac_compile" |
|
|
2786 | case "(($ac_try" in |
|
|
2787 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
2788 | *) ac_try_echo=$ac_try;; |
|
|
2789 | esac |
|
|
2790 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
2791 | (eval "$ac_compile") 2>conftest.er1 |
|
|
2792 | ac_status=$? |
|
|
2793 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
2794 | rm -f conftest.er1 |
|
|
2795 | cat conftest.err >&5 |
|
|
2796 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
2797 | (exit $ac_status); } && { |
|
|
2798 | test -z "$ac_c_werror_flag" || |
|
|
2799 | test ! -s conftest.err |
|
|
2800 | } && test -s conftest.$ac_objext; then |
|
|
2801 | ac_compiler_gnu=yes |
3323 | ac_compiler_gnu=yes |
2802 | else |
3324 | else |
2803 | echo "$as_me: failed program was:" >&5 |
|
|
2804 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
2805 | |
|
|
2806 | ac_compiler_gnu=no |
3325 | ac_compiler_gnu=no |
2807 | fi |
3326 | fi |
2808 | |
|
|
2809 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3327 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2810 | ac_cv_c_compiler_gnu=$ac_compiler_gnu |
3328 | ac_cv_c_compiler_gnu=$ac_compiler_gnu |
2811 | |
3329 | |
2812 | fi |
3330 | fi |
2813 | { 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 |
2814 | echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } |
3332 | $as_echo "$ac_cv_c_compiler_gnu" >&6; } |
2815 | 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 |
2816 | ac_test_CFLAGS=${CFLAGS+set} |
3338 | ac_test_CFLAGS=${CFLAGS+set} |
2817 | ac_save_CFLAGS=$CFLAGS |
3339 | ac_save_CFLAGS=$CFLAGS |
2818 | { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 |
3340 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
2819 | echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } |
3341 | $as_echo_n "checking whether $CC accepts -g... " >&6; } |
2820 | if test "${ac_cv_prog_cc_g+set}" = set; then |
3342 | if ${ac_cv_prog_cc_g+:} false; then : |
2821 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3343 | $as_echo_n "(cached) " >&6 |
2822 | else |
3344 | else |
2823 | ac_save_c_werror_flag=$ac_c_werror_flag |
3345 | ac_save_c_werror_flag=$ac_c_werror_flag |
2824 | ac_c_werror_flag=yes |
3346 | ac_c_werror_flag=yes |
2825 | ac_cv_prog_cc_g=no |
3347 | ac_cv_prog_cc_g=no |
2826 | CFLAGS="-g" |
3348 | CFLAGS="-g" |
2827 | cat >conftest.$ac_ext <<_ACEOF |
|
|
2828 | /* confdefs.h. */ |
|
|
2829 | _ACEOF |
|
|
2830 | cat confdefs.h >>conftest.$ac_ext |
3349 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2831 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
2832 | /* end confdefs.h. */ |
3350 | /* end confdefs.h. */ |
2833 | |
3351 | |
2834 | int |
3352 | int |
2835 | main () |
3353 | main () |
2836 | { |
3354 | { |
2837 | |
3355 | |
2838 | ; |
3356 | ; |
2839 | return 0; |
3357 | return 0; |
2840 | } |
3358 | } |
2841 | _ACEOF |
3359 | _ACEOF |
2842 | rm -f conftest.$ac_objext |
3360 | if ac_fn_c_try_compile "$LINENO"; then : |
2843 | if { (ac_try="$ac_compile" |
|
|
2844 | case "(($ac_try" in |
|
|
2845 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
2846 | *) ac_try_echo=$ac_try;; |
|
|
2847 | esac |
|
|
2848 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
2849 | (eval "$ac_compile") 2>conftest.er1 |
|
|
2850 | ac_status=$? |
|
|
2851 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
2852 | rm -f conftest.er1 |
|
|
2853 | cat conftest.err >&5 |
|
|
2854 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
2855 | (exit $ac_status); } && { |
|
|
2856 | test -z "$ac_c_werror_flag" || |
|
|
2857 | test ! -s conftest.err |
|
|
2858 | } && test -s conftest.$ac_objext; then |
|
|
2859 | ac_cv_prog_cc_g=yes |
3361 | ac_cv_prog_cc_g=yes |
2860 | else |
3362 | else |
2861 | echo "$as_me: failed program was:" >&5 |
|
|
2862 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
2863 | |
|
|
2864 | CFLAGS="" |
3363 | CFLAGS="" |
2865 | cat >conftest.$ac_ext <<_ACEOF |
|
|
2866 | /* confdefs.h. */ |
|
|
2867 | _ACEOF |
|
|
2868 | cat confdefs.h >>conftest.$ac_ext |
3364 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2869 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
2870 | /* end confdefs.h. */ |
3365 | /* end confdefs.h. */ |
2871 | |
3366 | |
2872 | int |
3367 | int |
2873 | main () |
3368 | main () |
2874 | { |
3369 | { |
2875 | |
3370 | |
2876 | ; |
3371 | ; |
2877 | return 0; |
3372 | return 0; |
2878 | } |
3373 | } |
2879 | _ACEOF |
3374 | _ACEOF |
2880 | rm -f conftest.$ac_objext |
3375 | if ac_fn_c_try_compile "$LINENO"; then : |
2881 | if { (ac_try="$ac_compile" |
|
|
2882 | case "(($ac_try" in |
|
|
2883 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
2884 | *) ac_try_echo=$ac_try;; |
|
|
2885 | esac |
|
|
2886 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
2887 | (eval "$ac_compile") 2>conftest.er1 |
|
|
2888 | ac_status=$? |
|
|
2889 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
2890 | rm -f conftest.er1 |
|
|
2891 | cat conftest.err >&5 |
|
|
2892 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
2893 | (exit $ac_status); } && { |
|
|
2894 | test -z "$ac_c_werror_flag" || |
|
|
2895 | test ! -s conftest.err |
|
|
2896 | } && test -s conftest.$ac_objext; then |
|
|
2897 | : |
|
|
2898 | else |
|
|
2899 | echo "$as_me: failed program was:" >&5 |
|
|
2900 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
2901 | |
3376 | |
|
|
3377 | else |
2902 | ac_c_werror_flag=$ac_save_c_werror_flag |
3378 | ac_c_werror_flag=$ac_save_c_werror_flag |
2903 | CFLAGS="-g" |
3379 | CFLAGS="-g" |
2904 | cat >conftest.$ac_ext <<_ACEOF |
|
|
2905 | /* confdefs.h. */ |
|
|
2906 | _ACEOF |
|
|
2907 | cat confdefs.h >>conftest.$ac_ext |
3380 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2908 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
2909 | /* end confdefs.h. */ |
3381 | /* end confdefs.h. */ |
2910 | |
3382 | |
2911 | int |
3383 | int |
2912 | main () |
3384 | main () |
2913 | { |
3385 | { |
2914 | |
3386 | |
2915 | ; |
3387 | ; |
2916 | return 0; |
3388 | return 0; |
2917 | } |
3389 | } |
2918 | _ACEOF |
3390 | _ACEOF |
2919 | rm -f conftest.$ac_objext |
3391 | if ac_fn_c_try_compile "$LINENO"; then : |
2920 | if { (ac_try="$ac_compile" |
|
|
2921 | case "(($ac_try" in |
|
|
2922 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
2923 | *) ac_try_echo=$ac_try;; |
|
|
2924 | esac |
|
|
2925 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
2926 | (eval "$ac_compile") 2>conftest.er1 |
|
|
2927 | ac_status=$? |
|
|
2928 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
2929 | rm -f conftest.er1 |
|
|
2930 | cat conftest.err >&5 |
|
|
2931 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
2932 | (exit $ac_status); } && { |
|
|
2933 | test -z "$ac_c_werror_flag" || |
|
|
2934 | test ! -s conftest.err |
|
|
2935 | } && test -s conftest.$ac_objext; then |
|
|
2936 | ac_cv_prog_cc_g=yes |
3392 | ac_cv_prog_cc_g=yes |
2937 | else |
|
|
2938 | echo "$as_me: failed program was:" >&5 |
|
|
2939 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
2940 | |
|
|
2941 | |
|
|
2942 | fi |
3393 | fi |
2943 | |
|
|
2944 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3394 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2945 | fi |
3395 | fi |
2946 | |
|
|
2947 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3396 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2948 | fi |
3397 | fi |
2949 | |
|
|
2950 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3398 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2951 | ac_c_werror_flag=$ac_save_c_werror_flag |
3399 | ac_c_werror_flag=$ac_save_c_werror_flag |
2952 | fi |
3400 | fi |
2953 | { 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 |
2954 | echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } |
3402 | $as_echo "$ac_cv_prog_cc_g" >&6; } |
2955 | if test "$ac_test_CFLAGS" = set; then |
3403 | if test "$ac_test_CFLAGS" = set; then |
2956 | CFLAGS=$ac_save_CFLAGS |
3404 | CFLAGS=$ac_save_CFLAGS |
2957 | elif test $ac_cv_prog_cc_g = yes; then |
3405 | elif test $ac_cv_prog_cc_g = yes; then |
2958 | if test "$GCC" = yes; then |
3406 | if test "$GCC" = yes; then |
2959 | CFLAGS="-g -O2" |
3407 | CFLAGS="-g -O2" |
… | |
… | |
2965 | CFLAGS="-O2" |
3413 | CFLAGS="-O2" |
2966 | else |
3414 | else |
2967 | CFLAGS= |
3415 | CFLAGS= |
2968 | fi |
3416 | fi |
2969 | fi |
3417 | fi |
2970 | { 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 |
2971 | 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; } |
2972 | if test "${ac_cv_prog_cc_c89+set}" = set; then |
3420 | if ${ac_cv_prog_cc_c89+:} false; then : |
2973 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3421 | $as_echo_n "(cached) " >&6 |
2974 | else |
3422 | else |
2975 | ac_cv_prog_cc_c89=no |
3423 | ac_cv_prog_cc_c89=no |
2976 | ac_save_CC=$CC |
3424 | ac_save_CC=$CC |
2977 | cat >conftest.$ac_ext <<_ACEOF |
|
|
2978 | /* confdefs.h. */ |
|
|
2979 | _ACEOF |
|
|
2980 | cat confdefs.h >>conftest.$ac_ext |
3425 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2981 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
2982 | /* end confdefs.h. */ |
3426 | /* end confdefs.h. */ |
2983 | #include <stdarg.h> |
3427 | #include <stdarg.h> |
2984 | #include <stdio.h> |
3428 | #include <stdio.h> |
2985 | #include <sys/types.h> |
3429 | struct stat; |
2986 | #include <sys/stat.h> |
|
|
2987 | /* 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. */ |
2988 | struct buf { int x; }; |
3431 | struct buf { int x; }; |
2989 | FILE * (*rcsopen) (struct buf *, struct stat *, int); |
3432 | FILE * (*rcsopen) (struct buf *, struct stat *, int); |
2990 | static char *e (p, i) |
3433 | static char *e (p, i) |
2991 | char **p; |
3434 | char **p; |
… | |
… | |
3033 | _ACEOF |
3476 | _ACEOF |
3034 | for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ |
3477 | for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ |
3035 | -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
3478 | -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
3036 | do |
3479 | do |
3037 | CC="$ac_save_CC $ac_arg" |
3480 | CC="$ac_save_CC $ac_arg" |
3038 | rm -f conftest.$ac_objext |
3481 | if ac_fn_c_try_compile "$LINENO"; then : |
3039 | if { (ac_try="$ac_compile" |
|
|
3040 | case "(($ac_try" in |
|
|
3041 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
3042 | *) ac_try_echo=$ac_try;; |
|
|
3043 | esac |
|
|
3044 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
3045 | (eval "$ac_compile") 2>conftest.er1 |
|
|
3046 | ac_status=$? |
|
|
3047 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
3048 | rm -f conftest.er1 |
|
|
3049 | cat conftest.err >&5 |
|
|
3050 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3051 | (exit $ac_status); } && { |
|
|
3052 | test -z "$ac_c_werror_flag" || |
|
|
3053 | test ! -s conftest.err |
|
|
3054 | } && test -s conftest.$ac_objext; then |
|
|
3055 | ac_cv_prog_cc_c89=$ac_arg |
3482 | ac_cv_prog_cc_c89=$ac_arg |
3056 | else |
|
|
3057 | echo "$as_me: failed program was:" >&5 |
|
|
3058 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
3059 | |
|
|
3060 | |
|
|
3061 | fi |
3483 | fi |
3062 | |
|
|
3063 | rm -f core conftest.err conftest.$ac_objext |
3484 | rm -f core conftest.err conftest.$ac_objext |
3064 | test "x$ac_cv_prog_cc_c89" != "xno" && break |
3485 | test "x$ac_cv_prog_cc_c89" != "xno" && break |
3065 | done |
3486 | done |
3066 | rm -f conftest.$ac_ext |
3487 | rm -f conftest.$ac_ext |
3067 | CC=$ac_save_CC |
3488 | CC=$ac_save_CC |
3068 | |
3489 | |
3069 | fi |
3490 | fi |
3070 | # AC_CACHE_VAL |
3491 | # AC_CACHE_VAL |
3071 | case "x$ac_cv_prog_cc_c89" in |
3492 | case "x$ac_cv_prog_cc_c89" in |
3072 | x) |
3493 | x) |
3073 | { echo "$as_me:$LINENO: result: none needed" >&5 |
3494 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
3074 | echo "${ECHO_T}none needed" >&6; } ;; |
3495 | $as_echo "none needed" >&6; } ;; |
3075 | xno) |
3496 | xno) |
3076 | { echo "$as_me:$LINENO: result: unsupported" >&5 |
3497 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
3077 | echo "${ECHO_T}unsupported" >&6; } ;; |
3498 | $as_echo "unsupported" >&6; } ;; |
3078 | *) |
3499 | *) |
3079 | CC="$CC $ac_cv_prog_cc_c89" |
3500 | CC="$CC $ac_cv_prog_cc_c89" |
3080 | { 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 |
3081 | echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; |
3502 | $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; |
3082 | esac |
3503 | esac |
|
|
3504 | if test "x$ac_cv_prog_cc_c89" != xno; then : |
3083 | |
3505 | |
|
|
3506 | fi |
3084 | |
3507 | |
3085 | ac_ext=c |
3508 | ac_ext=c |
3086 | ac_cpp='$CPP $CPPFLAGS' |
3509 | ac_cpp='$CPP $CPPFLAGS' |
3087 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3510 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3088 | 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' |
… | |
… | |
3097 | am__doit: |
3520 | am__doit: |
3098 | @echo done |
3521 | @echo done |
3099 | .PHONY: am__doit |
3522 | .PHONY: am__doit |
3100 | END |
3523 | END |
3101 | # 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. |
3102 | { 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 |
3103 | 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; } |
3104 | am__include="#" |
3527 | am__include="#" |
3105 | am__quote= |
3528 | am__quote= |
3106 | _am_result=none |
3529 | _am_result=none |
3107 | # First try GNU make style include. |
3530 | # First try GNU make style include. |
3108 | echo "include confinc" > confmf |
3531 | echo "include confinc" > confmf |
… | |
… | |
3125 | _am_result=BSD |
3548 | _am_result=BSD |
3126 | fi |
3549 | fi |
3127 | fi |
3550 | fi |
3128 | |
3551 | |
3129 | |
3552 | |
3130 | { echo "$as_me:$LINENO: result: $_am_result" >&5 |
3553 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 |
3131 | echo "${ECHO_T}$_am_result" >&6; } |
3554 | $as_echo "$_am_result" >&6; } |
3132 | rm -f confinc confmf |
3555 | rm -f confinc confmf |
3133 | |
3556 | |
3134 | # Check whether --enable-dependency-tracking was given. |
3557 | # Check whether --enable-dependency-tracking was given. |
3135 | if test "${enable_dependency_tracking+set}" = set; then |
3558 | if test "${enable_dependency_tracking+set}" = set; then : |
3136 | enableval=$enable_dependency_tracking; |
3559 | enableval=$enable_dependency_tracking; |
3137 | fi |
3560 | fi |
3138 | |
3561 | |
3139 | if test "x$enable_dependency_tracking" != xno; then |
3562 | if test "x$enable_dependency_tracking" != xno; then |
3140 | am_depcomp="$ac_aux_dir/depcomp" |
3563 | am_depcomp="$ac_aux_dir/depcomp" |
3141 | AMDEPBACKSLASH='\' |
3564 | AMDEPBACKSLASH='\' |
3142 | fi |
3565 | fi |
3143 | |
|
|
3144 | |
|
|
3145 | if test "x$enable_dependency_tracking" != xno; then |
3566 | if test "x$enable_dependency_tracking" != xno; then |
3146 | AMDEP_TRUE= |
3567 | AMDEP_TRUE= |
3147 | AMDEP_FALSE='#' |
3568 | AMDEP_FALSE='#' |
3148 | else |
3569 | else |
3149 | AMDEP_TRUE='#' |
3570 | AMDEP_TRUE='#' |
3150 | AMDEP_FALSE= |
3571 | AMDEP_FALSE= |
3151 | fi |
3572 | fi |
3152 | |
3573 | |
3153 | |
3574 | |
3154 | |
3575 | |
3155 | |
|
|
3156 | depcc="$CC" am_compiler_list= |
3576 | depcc="$CC" am_compiler_list= |
3157 | |
3577 | |
3158 | { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 |
3578 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
3159 | echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; } |
3579 | $as_echo_n "checking dependency style of $depcc... " >&6; } |
3160 | if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then |
3580 | if ${am_cv_CC_dependencies_compiler_type+:} false; then : |
3161 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3581 | $as_echo_n "(cached) " >&6 |
3162 | else |
3582 | else |
3163 | if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
3583 | if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
3164 | # 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 |
3165 | # 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 |
3166 | # 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 |
… | |
… | |
3192 | # overwrite some of them when testing with obscure command lines. |
3612 | # overwrite some of them when testing with obscure command lines. |
3193 | # This happens at least with the AIX C compiler. |
3613 | # This happens at least with the AIX C compiler. |
3194 | : > sub/conftest.c |
3614 | : > sub/conftest.c |
3195 | for i in 1 2 3 4 5 6; do |
3615 | for i in 1 2 3 4 5 6; do |
3196 | echo '#include "conftst'$i'.h"' >> sub/conftest.c |
3616 | echo '#include "conftst'$i'.h"' >> sub/conftest.c |
|
|
3617 | # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with |
|
|
3618 | # Solaris 8's {/usr,}/bin/sh. |
3197 | : > sub/conftst$i.h |
3619 | touch sub/conftst$i.h |
3198 | done |
3620 | done |
3199 | echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
3621 | echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
3200 | |
3622 | |
3201 | case $depmode in |
3623 | case $depmode in |
3202 | nosideeffect) |
3624 | nosideeffect) |
… | |
… | |
3216 | if depmode=$depmode \ |
3638 | if depmode=$depmode \ |
3217 | source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ |
3639 | source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ |
3218 | depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
3640 | depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
3219 | $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ |
3641 | $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ |
3220 | >/dev/null 2>conftest.err && |
3642 | >/dev/null 2>conftest.err && |
|
|
3643 | grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && |
3221 | grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
3644 | grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
3222 | grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && |
3645 | grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && |
3223 | ${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
3646 | ${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
3224 | # icc doesn't choke on unknown options, it will just issue warnings |
3647 | # icc doesn't choke on unknown options, it will just issue warnings |
3225 | # (even with -Werror). So we grep stderr for any message |
3648 | # or remarks (even with -Werror). So we grep stderr for any message |
3226 | # that says an option was ignored. |
3649 | # that says an option was ignored or not supported. |
|
|
3650 | # When given -MP, icc 7.0 and 7.1 complain thusly: |
|
|
3651 | # icc: Command line warning: ignoring option '-M'; no argument required |
|
|
3652 | # The diagnosis changed in icc 8.0: |
|
|
3653 | # icc: Command line remark: option '-MP' not supported |
|
|
3654 | if (grep 'ignoring option' conftest.err || |
3227 | if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else |
3655 | grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else |
3228 | am_cv_CC_dependencies_compiler_type=$depmode |
3656 | am_cv_CC_dependencies_compiler_type=$depmode |
3229 | break |
3657 | break |
3230 | fi |
3658 | fi |
3231 | fi |
3659 | fi |
3232 | done |
3660 | done |
… | |
… | |
3236 | else |
3664 | else |
3237 | am_cv_CC_dependencies_compiler_type=none |
3665 | am_cv_CC_dependencies_compiler_type=none |
3238 | fi |
3666 | fi |
3239 | |
3667 | |
3240 | fi |
3668 | fi |
3241 | { 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 |
3242 | echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; } |
3670 | $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } |
3243 | CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type |
3671 | CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type |
3244 | |
3672 | |
3245 | |
|
|
3246 | |
|
|
3247 | if |
3673 | if |
3248 | test "x$enable_dependency_tracking" != xno \ |
3674 | test "x$enable_dependency_tracking" != xno \ |
3249 | && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then |
3675 | && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then |
3250 | am__fastdepCC_TRUE= |
3676 | am__fastdepCC_TRUE= |
3251 | am__fastdepCC_FALSE='#' |
3677 | am__fastdepCC_FALSE='#' |
3252 | else |
3678 | else |
… | |
… | |
3260 | ac_ext=c |
3686 | ac_ext=c |
3261 | ac_cpp='$CPP $CPPFLAGS' |
3687 | ac_cpp='$CPP $CPPFLAGS' |
3262 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3688 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3263 | 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' |
3264 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3690 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3265 | { 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 |
3266 | 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; } |
3267 | # On Suns, sometimes $CPP names a directory. |
3693 | # On Suns, sometimes $CPP names a directory. |
3268 | if test -n "$CPP" && test -d "$CPP"; then |
3694 | if test -n "$CPP" && test -d "$CPP"; then |
3269 | CPP= |
3695 | CPP= |
3270 | fi |
3696 | fi |
3271 | if test -z "$CPP"; then |
3697 | if test -z "$CPP"; then |
3272 | if test "${ac_cv_prog_CPP+set}" = set; then |
3698 | if ${ac_cv_prog_CPP+:} false; then : |
3273 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3699 | $as_echo_n "(cached) " >&6 |
3274 | else |
3700 | else |
3275 | # Double quotes because CPP needs to be expanded |
3701 | # Double quotes because CPP needs to be expanded |
3276 | for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
3702 | for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
3277 | do |
3703 | do |
3278 | ac_preproc_ok=false |
3704 | ac_preproc_ok=false |
… | |
… | |
3282 | # with a fresh cross-compiler works. |
3708 | # with a fresh cross-compiler works. |
3283 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
3709 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
3284 | # <limits.h> exists even on freestanding compilers. |
3710 | # <limits.h> exists even on freestanding compilers. |
3285 | # 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, |
3286 | # 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. |
3287 | cat >conftest.$ac_ext <<_ACEOF |
|
|
3288 | /* confdefs.h. */ |
|
|
3289 | _ACEOF |
|
|
3290 | cat confdefs.h >>conftest.$ac_ext |
3713 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3291 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
3292 | /* end confdefs.h. */ |
3714 | /* end confdefs.h. */ |
3293 | #ifdef __STDC__ |
3715 | #ifdef __STDC__ |
3294 | # include <limits.h> |
3716 | # include <limits.h> |
3295 | #else |
3717 | #else |
3296 | # include <assert.h> |
3718 | # include <assert.h> |
3297 | #endif |
3719 | #endif |
3298 | Syntax error |
3720 | Syntax error |
3299 | _ACEOF |
3721 | _ACEOF |
3300 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
3722 | if ac_fn_c_try_cpp "$LINENO"; then : |
3301 | case "(($ac_try" in |
|
|
3302 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
3303 | *) ac_try_echo=$ac_try;; |
|
|
3304 | esac |
|
|
3305 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
3306 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
|
|
3307 | ac_status=$? |
|
|
3308 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
3309 | rm -f conftest.er1 |
|
|
3310 | cat conftest.err >&5 |
|
|
3311 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3312 | (exit $ac_status); } >/dev/null && { |
|
|
3313 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
|
|
3314 | test ! -s conftest.err |
|
|
3315 | }; then |
|
|
3316 | : |
|
|
3317 | else |
|
|
3318 | echo "$as_me: failed program was:" >&5 |
|
|
3319 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
3320 | |
3723 | |
|
|
3724 | else |
3321 | # Broken: fails on valid input. |
3725 | # Broken: fails on valid input. |
3322 | continue |
3726 | continue |
3323 | fi |
3727 | fi |
3324 | |
|
|
3325 | rm -f conftest.err conftest.$ac_ext |
3728 | rm -f conftest.err conftest.i conftest.$ac_ext |
3326 | |
3729 | |
3327 | # OK, works on sane cases. Now check whether nonexistent headers |
3730 | # OK, works on sane cases. Now check whether nonexistent headers |
3328 | # can be detected and how. |
3731 | # can be detected and how. |
3329 | cat >conftest.$ac_ext <<_ACEOF |
|
|
3330 | /* confdefs.h. */ |
|
|
3331 | _ACEOF |
|
|
3332 | cat confdefs.h >>conftest.$ac_ext |
3732 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3333 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
3334 | /* end confdefs.h. */ |
3733 | /* end confdefs.h. */ |
3335 | #include <ac_nonexistent.h> |
3734 | #include <ac_nonexistent.h> |
3336 | _ACEOF |
3735 | _ACEOF |
3337 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
3736 | if ac_fn_c_try_cpp "$LINENO"; then : |
3338 | case "(($ac_try" in |
|
|
3339 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
3340 | *) ac_try_echo=$ac_try;; |
|
|
3341 | esac |
|
|
3342 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
3343 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
|
|
3344 | ac_status=$? |
|
|
3345 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
3346 | rm -f conftest.er1 |
|
|
3347 | cat conftest.err >&5 |
|
|
3348 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3349 | (exit $ac_status); } >/dev/null && { |
|
|
3350 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
|
|
3351 | test ! -s conftest.err |
|
|
3352 | }; then |
|
|
3353 | # Broken: success on invalid input. |
3737 | # Broken: success on invalid input. |
3354 | continue |
3738 | continue |
3355 | else |
3739 | else |
3356 | echo "$as_me: failed program was:" >&5 |
|
|
3357 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
3358 | |
|
|
3359 | # Passes both tests. |
3740 | # Passes both tests. |
3360 | ac_preproc_ok=: |
3741 | ac_preproc_ok=: |
3361 | break |
3742 | break |
3362 | fi |
3743 | fi |
3363 | |
|
|
3364 | rm -f conftest.err conftest.$ac_ext |
3744 | rm -f conftest.err conftest.i conftest.$ac_ext |
3365 | |
3745 | |
3366 | done |
3746 | done |
3367 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
3747 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
3368 | rm -f conftest.err conftest.$ac_ext |
3748 | rm -f conftest.i conftest.err conftest.$ac_ext |
3369 | if $ac_preproc_ok; then |
3749 | if $ac_preproc_ok; then : |
3370 | break |
3750 | break |
3371 | fi |
3751 | fi |
3372 | |
3752 | |
3373 | done |
3753 | done |
3374 | ac_cv_prog_CPP=$CPP |
3754 | ac_cv_prog_CPP=$CPP |
… | |
… | |
3376 | fi |
3756 | fi |
3377 | CPP=$ac_cv_prog_CPP |
3757 | CPP=$ac_cv_prog_CPP |
3378 | else |
3758 | else |
3379 | ac_cv_prog_CPP=$CPP |
3759 | ac_cv_prog_CPP=$CPP |
3380 | fi |
3760 | fi |
3381 | { echo "$as_me:$LINENO: result: $CPP" >&5 |
3761 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 |
3382 | echo "${ECHO_T}$CPP" >&6; } |
3762 | $as_echo "$CPP" >&6; } |
3383 | ac_preproc_ok=false |
3763 | ac_preproc_ok=false |
3384 | for ac_c_preproc_warn_flag in '' yes |
3764 | for ac_c_preproc_warn_flag in '' yes |
3385 | do |
3765 | do |
3386 | # Use a header file that comes with gcc, so configuring glibc |
3766 | # Use a header file that comes with gcc, so configuring glibc |
3387 | # with a fresh cross-compiler works. |
3767 | # with a fresh cross-compiler works. |
3388 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
3768 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
3389 | # <limits.h> exists even on freestanding compilers. |
3769 | # <limits.h> exists even on freestanding compilers. |
3390 | # 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, |
3391 | # 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. |
3392 | cat >conftest.$ac_ext <<_ACEOF |
|
|
3393 | /* confdefs.h. */ |
|
|
3394 | _ACEOF |
|
|
3395 | cat confdefs.h >>conftest.$ac_ext |
3772 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3396 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
3397 | /* end confdefs.h. */ |
3773 | /* end confdefs.h. */ |
3398 | #ifdef __STDC__ |
3774 | #ifdef __STDC__ |
3399 | # include <limits.h> |
3775 | # include <limits.h> |
3400 | #else |
3776 | #else |
3401 | # include <assert.h> |
3777 | # include <assert.h> |
3402 | #endif |
3778 | #endif |
3403 | Syntax error |
3779 | Syntax error |
3404 | _ACEOF |
3780 | _ACEOF |
3405 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
3781 | if ac_fn_c_try_cpp "$LINENO"; then : |
3406 | case "(($ac_try" in |
|
|
3407 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
3408 | *) ac_try_echo=$ac_try;; |
|
|
3409 | esac |
|
|
3410 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
3411 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
|
|
3412 | ac_status=$? |
|
|
3413 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
3414 | rm -f conftest.er1 |
|
|
3415 | cat conftest.err >&5 |
|
|
3416 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3417 | (exit $ac_status); } >/dev/null && { |
|
|
3418 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
|
|
3419 | test ! -s conftest.err |
|
|
3420 | }; then |
|
|
3421 | : |
|
|
3422 | else |
|
|
3423 | echo "$as_me: failed program was:" >&5 |
|
|
3424 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
3425 | |
3782 | |
|
|
3783 | else |
3426 | # Broken: fails on valid input. |
3784 | # Broken: fails on valid input. |
3427 | continue |
3785 | continue |
3428 | fi |
3786 | fi |
3429 | |
|
|
3430 | rm -f conftest.err conftest.$ac_ext |
3787 | rm -f conftest.err conftest.i conftest.$ac_ext |
3431 | |
3788 | |
3432 | # OK, works on sane cases. Now check whether nonexistent headers |
3789 | # OK, works on sane cases. Now check whether nonexistent headers |
3433 | # can be detected and how. |
3790 | # can be detected and how. |
3434 | cat >conftest.$ac_ext <<_ACEOF |
|
|
3435 | /* confdefs.h. */ |
|
|
3436 | _ACEOF |
|
|
3437 | cat confdefs.h >>conftest.$ac_ext |
3791 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3438 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
3439 | /* end confdefs.h. */ |
3792 | /* end confdefs.h. */ |
3440 | #include <ac_nonexistent.h> |
3793 | #include <ac_nonexistent.h> |
3441 | _ACEOF |
3794 | _ACEOF |
3442 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
3795 | if ac_fn_c_try_cpp "$LINENO"; then : |
3443 | case "(($ac_try" in |
|
|
3444 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
3445 | *) ac_try_echo=$ac_try;; |
|
|
3446 | esac |
|
|
3447 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
3448 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
|
|
3449 | ac_status=$? |
|
|
3450 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
3451 | rm -f conftest.er1 |
|
|
3452 | cat conftest.err >&5 |
|
|
3453 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3454 | (exit $ac_status); } >/dev/null && { |
|
|
3455 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
|
|
3456 | test ! -s conftest.err |
|
|
3457 | }; then |
|
|
3458 | # Broken: success on invalid input. |
3796 | # Broken: success on invalid input. |
3459 | continue |
3797 | continue |
3460 | else |
3798 | else |
3461 | echo "$as_me: failed program was:" >&5 |
|
|
3462 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
3463 | |
|
|
3464 | # Passes both tests. |
3799 | # Passes both tests. |
3465 | ac_preproc_ok=: |
3800 | ac_preproc_ok=: |
3466 | break |
3801 | break |
3467 | fi |
3802 | fi |
3468 | |
|
|
3469 | rm -f conftest.err conftest.$ac_ext |
3803 | rm -f conftest.err conftest.i conftest.$ac_ext |
3470 | |
3804 | |
3471 | done |
3805 | done |
3472 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
3806 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
3473 | rm -f conftest.err conftest.$ac_ext |
3807 | rm -f conftest.i conftest.err conftest.$ac_ext |
3474 | if $ac_preproc_ok; then |
3808 | if $ac_preproc_ok; then : |
3475 | : |
3809 | |
3476 | else |
3810 | else |
3477 | { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check |
3811 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3478 | See \`config.log' for more details." >&5 |
3812 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3479 | echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check |
3813 | as_fn_error $? "C preprocessor \"$CPP\" fails sanity check |
3480 | See \`config.log' for more details." >&2;} |
3814 | See \`config.log' for more details" "$LINENO" 5; } |
3481 | { (exit 1); exit 1; }; } |
|
|
3482 | fi |
3815 | fi |
3483 | |
3816 | |
3484 | ac_ext=c |
3817 | ac_ext=c |
3485 | ac_cpp='$CPP $CPPFLAGS' |
3818 | ac_cpp='$CPP $CPPFLAGS' |
3486 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3819 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3487 | 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' |
3488 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3821 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3489 | |
3822 | |
3490 | |
3823 | |
3491 | { 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 |
3492 | 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; } |
3493 | if test "${ac_cv_path_GREP+set}" = set; then |
3826 | if ${ac_cv_path_GREP+:} false; then : |
3494 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3827 | $as_echo_n "(cached) " >&6 |
3495 | else |
3828 | else |
3496 | # Extract the first word of "grep ggrep" to use in msg output |
|
|
3497 | if test -z "$GREP"; then |
3829 | if test -z "$GREP"; then |
3498 | set dummy grep ggrep; ac_prog_name=$2 |
|
|
3499 | if test "${ac_cv_path_GREP+set}" = set; then |
|
|
3500 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
3501 | else |
|
|
3502 | ac_path_GREP_found=false |
3830 | ac_path_GREP_found=false |
3503 | # 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 |
3504 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3832 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3505 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
3833 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
3506 | do |
3834 | do |
3507 | IFS=$as_save_IFS |
3835 | IFS=$as_save_IFS |
3508 | test -z "$as_dir" && as_dir=. |
3836 | test -z "$as_dir" && as_dir=. |
3509 | for ac_prog in grep ggrep; do |
3837 | for ac_prog in grep ggrep; do |
3510 | for ac_exec_ext in '' $ac_executable_extensions; do |
3838 | for ac_exec_ext in '' $ac_executable_extensions; do |
3511 | ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
3839 | ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
3512 | { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue |
3840 | as_fn_executable_p "$ac_path_GREP" || continue |
3513 | # 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. |
3514 | # Check for GNU $ac_path_GREP |
3842 | # Check for GNU $ac_path_GREP |
3515 | case `"$ac_path_GREP" --version 2>&1` in |
3843 | case `"$ac_path_GREP" --version 2>&1` in |
3516 | *GNU*) |
3844 | *GNU*) |
3517 | ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; |
3845 | ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; |
3518 | *) |
3846 | *) |
3519 | ac_count=0 |
3847 | ac_count=0 |
3520 | echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" |
3848 | $as_echo_n 0123456789 >"conftest.in" |
3521 | while : |
3849 | while : |
3522 | do |
3850 | do |
3523 | cat "conftest.in" "conftest.in" >"conftest.tmp" |
3851 | cat "conftest.in" "conftest.in" >"conftest.tmp" |
3524 | mv "conftest.tmp" "conftest.in" |
3852 | mv "conftest.tmp" "conftest.in" |
3525 | cp "conftest.in" "conftest.nl" |
3853 | cp "conftest.in" "conftest.nl" |
3526 | echo 'GREP' >> "conftest.nl" |
3854 | $as_echo 'GREP' >> "conftest.nl" |
3527 | "$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 |
3528 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
3856 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
3529 | ac_count=`expr $ac_count + 1` |
3857 | as_fn_arith $ac_count + 1 && ac_count=$as_val |
3530 | if test $ac_count -gt ${ac_path_GREP_max-0}; then |
3858 | if test $ac_count -gt ${ac_path_GREP_max-0}; then |
3531 | # 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 |
3532 | ac_cv_path_GREP="$ac_path_GREP" |
3860 | ac_cv_path_GREP="$ac_path_GREP" |
3533 | ac_path_GREP_max=$ac_count |
3861 | ac_path_GREP_max=$ac_count |
3534 | fi |
3862 | fi |
… | |
… | |
3536 | test $ac_count -gt 10 && break |
3864 | test $ac_count -gt 10 && break |
3537 | done |
3865 | done |
3538 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
3866 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
3539 | esac |
3867 | esac |
3540 | |
3868 | |
3541 | |
|
|
3542 | $ac_path_GREP_found && break 3 |
3869 | $ac_path_GREP_found && break 3 |
|
|
3870 | done |
3543 | done |
3871 | done |
3544 | done |
3872 | done |
3545 | |
|
|
3546 | done |
|
|
3547 | IFS=$as_save_IFS |
3873 | IFS=$as_save_IFS |
3548 | |
|
|
3549 | |
|
|
3550 | fi |
|
|
3551 | |
|
|
3552 | GREP="$ac_cv_path_GREP" |
|
|
3553 | if test -z "$GREP"; then |
3874 | if test -z "$ac_cv_path_GREP"; then |
3554 | { { 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 |
3555 | echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} |
3876 | fi |
3556 | { (exit 1); exit 1; }; } |
|
|
3557 | fi |
|
|
3558 | |
|
|
3559 | else |
3877 | else |
3560 | ac_cv_path_GREP=$GREP |
3878 | ac_cv_path_GREP=$GREP |
3561 | fi |
3879 | fi |
3562 | |
3880 | |
3563 | |
|
|
3564 | fi |
3881 | fi |
3565 | { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 |
3882 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 |
3566 | echo "${ECHO_T}$ac_cv_path_GREP" >&6; } |
3883 | $as_echo "$ac_cv_path_GREP" >&6; } |
3567 | GREP="$ac_cv_path_GREP" |
3884 | GREP="$ac_cv_path_GREP" |
3568 | |
3885 | |
3569 | |
3886 | |
3570 | { echo "$as_me:$LINENO: checking for egrep" >&5 |
3887 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 |
3571 | echo $ECHO_N "checking for egrep... $ECHO_C" >&6; } |
3888 | $as_echo_n "checking for egrep... " >&6; } |
3572 | if test "${ac_cv_path_EGREP+set}" = set; then |
3889 | if ${ac_cv_path_EGREP+:} false; then : |
3573 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3890 | $as_echo_n "(cached) " >&6 |
3574 | else |
3891 | else |
3575 | if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
3892 | if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
3576 | then ac_cv_path_EGREP="$GREP -E" |
3893 | then ac_cv_path_EGREP="$GREP -E" |
3577 | else |
3894 | else |
3578 | # Extract the first word of "egrep" to use in msg output |
|
|
3579 | if test -z "$EGREP"; then |
3895 | if test -z "$EGREP"; then |
3580 | set dummy egrep; ac_prog_name=$2 |
|
|
3581 | if test "${ac_cv_path_EGREP+set}" = set; then |
|
|
3582 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
3583 | else |
|
|
3584 | ac_path_EGREP_found=false |
3896 | ac_path_EGREP_found=false |
3585 | # 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 |
3586 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3898 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3587 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
3899 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
3588 | do |
3900 | do |
3589 | IFS=$as_save_IFS |
3901 | IFS=$as_save_IFS |
3590 | test -z "$as_dir" && as_dir=. |
3902 | test -z "$as_dir" && as_dir=. |
3591 | for ac_prog in egrep; do |
3903 | for ac_prog in egrep; do |
3592 | for ac_exec_ext in '' $ac_executable_extensions; do |
3904 | for ac_exec_ext in '' $ac_executable_extensions; do |
3593 | ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
3905 | ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
3594 | { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue |
3906 | as_fn_executable_p "$ac_path_EGREP" || continue |
3595 | # 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. |
3596 | # Check for GNU $ac_path_EGREP |
3908 | # Check for GNU $ac_path_EGREP |
3597 | case `"$ac_path_EGREP" --version 2>&1` in |
3909 | case `"$ac_path_EGREP" --version 2>&1` in |
3598 | *GNU*) |
3910 | *GNU*) |
3599 | ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; |
3911 | ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; |
3600 | *) |
3912 | *) |
3601 | ac_count=0 |
3913 | ac_count=0 |
3602 | echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" |
3914 | $as_echo_n 0123456789 >"conftest.in" |
3603 | while : |
3915 | while : |
3604 | do |
3916 | do |
3605 | cat "conftest.in" "conftest.in" >"conftest.tmp" |
3917 | cat "conftest.in" "conftest.in" >"conftest.tmp" |
3606 | mv "conftest.tmp" "conftest.in" |
3918 | mv "conftest.tmp" "conftest.in" |
3607 | cp "conftest.in" "conftest.nl" |
3919 | cp "conftest.in" "conftest.nl" |
3608 | echo 'EGREP' >> "conftest.nl" |
3920 | $as_echo 'EGREP' >> "conftest.nl" |
3609 | "$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 |
3610 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
3922 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
3611 | ac_count=`expr $ac_count + 1` |
3923 | as_fn_arith $ac_count + 1 && ac_count=$as_val |
3612 | if test $ac_count -gt ${ac_path_EGREP_max-0}; then |
3924 | if test $ac_count -gt ${ac_path_EGREP_max-0}; then |
3613 | # 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 |
3614 | ac_cv_path_EGREP="$ac_path_EGREP" |
3926 | ac_cv_path_EGREP="$ac_path_EGREP" |
3615 | ac_path_EGREP_max=$ac_count |
3927 | ac_path_EGREP_max=$ac_count |
3616 | fi |
3928 | fi |
… | |
… | |
3618 | test $ac_count -gt 10 && break |
3930 | test $ac_count -gt 10 && break |
3619 | done |
3931 | done |
3620 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
3932 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
3621 | esac |
3933 | esac |
3622 | |
3934 | |
3623 | |
|
|
3624 | $ac_path_EGREP_found && break 3 |
3935 | $ac_path_EGREP_found && break 3 |
|
|
3936 | done |
3625 | done |
3937 | done |
3626 | done |
3938 | done |
3627 | |
|
|
3628 | done |
|
|
3629 | IFS=$as_save_IFS |
3939 | IFS=$as_save_IFS |
3630 | |
|
|
3631 | |
|
|
3632 | fi |
|
|
3633 | |
|
|
3634 | EGREP="$ac_cv_path_EGREP" |
|
|
3635 | if test -z "$EGREP"; then |
3940 | if test -z "$ac_cv_path_EGREP"; then |
3636 | { { 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 |
3637 | echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} |
3942 | fi |
3638 | { (exit 1); exit 1; }; } |
|
|
3639 | fi |
|
|
3640 | |
|
|
3641 | else |
3943 | else |
3642 | ac_cv_path_EGREP=$EGREP |
3944 | ac_cv_path_EGREP=$EGREP |
3643 | fi |
3945 | fi |
3644 | |
3946 | |
3645 | |
|
|
3646 | fi |
3947 | fi |
3647 | fi |
3948 | fi |
3648 | { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 |
3949 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 |
3649 | echo "${ECHO_T}$ac_cv_path_EGREP" >&6; } |
3950 | $as_echo "$ac_cv_path_EGREP" >&6; } |
3650 | EGREP="$ac_cv_path_EGREP" |
3951 | EGREP="$ac_cv_path_EGREP" |
3651 | |
3952 | |
3652 | |
3953 | |
3653 | { 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 |
3654 | echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } |
3955 | $as_echo_n "checking for ANSI C header files... " >&6; } |
3655 | if test "${ac_cv_header_stdc+set}" = set; then |
3956 | if ${ac_cv_header_stdc+:} false; then : |
3656 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3957 | $as_echo_n "(cached) " >&6 |
3657 | else |
3958 | else |
3658 | cat >conftest.$ac_ext <<_ACEOF |
|
|
3659 | /* confdefs.h. */ |
|
|
3660 | _ACEOF |
|
|
3661 | cat confdefs.h >>conftest.$ac_ext |
3959 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3662 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
3663 | /* end confdefs.h. */ |
3960 | /* end confdefs.h. */ |
3664 | #include <stdlib.h> |
3961 | #include <stdlib.h> |
3665 | #include <stdarg.h> |
3962 | #include <stdarg.h> |
3666 | #include <string.h> |
3963 | #include <string.h> |
3667 | #include <float.h> |
3964 | #include <float.h> |
… | |
… | |
3672 | |
3969 | |
3673 | ; |
3970 | ; |
3674 | return 0; |
3971 | return 0; |
3675 | } |
3972 | } |
3676 | _ACEOF |
3973 | _ACEOF |
3677 | rm -f conftest.$ac_objext |
3974 | if ac_fn_c_try_compile "$LINENO"; then : |
3678 | if { (ac_try="$ac_compile" |
|
|
3679 | case "(($ac_try" in |
|
|
3680 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
3681 | *) ac_try_echo=$ac_try;; |
|
|
3682 | esac |
|
|
3683 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
3684 | (eval "$ac_compile") 2>conftest.er1 |
|
|
3685 | ac_status=$? |
|
|
3686 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
3687 | rm -f conftest.er1 |
|
|
3688 | cat conftest.err >&5 |
|
|
3689 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3690 | (exit $ac_status); } && { |
|
|
3691 | test -z "$ac_c_werror_flag" || |
|
|
3692 | test ! -s conftest.err |
|
|
3693 | } && test -s conftest.$ac_objext; then |
|
|
3694 | ac_cv_header_stdc=yes |
3975 | ac_cv_header_stdc=yes |
3695 | else |
3976 | else |
3696 | echo "$as_me: failed program was:" >&5 |
|
|
3697 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
3698 | |
|
|
3699 | ac_cv_header_stdc=no |
3977 | ac_cv_header_stdc=no |
3700 | fi |
3978 | fi |
3701 | |
|
|
3702 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3979 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3703 | |
3980 | |
3704 | if test $ac_cv_header_stdc = yes; then |
3981 | if test $ac_cv_header_stdc = yes; then |
3705 | # 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. |
3706 | cat >conftest.$ac_ext <<_ACEOF |
|
|
3707 | /* confdefs.h. */ |
|
|
3708 | _ACEOF |
|
|
3709 | cat confdefs.h >>conftest.$ac_ext |
3983 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3710 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
3711 | /* end confdefs.h. */ |
3984 | /* end confdefs.h. */ |
3712 | #include <string.h> |
3985 | #include <string.h> |
3713 | |
3986 | |
3714 | _ACEOF |
3987 | _ACEOF |
3715 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3988 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3716 | $EGREP "memchr" >/dev/null 2>&1; then |
3989 | $EGREP "memchr" >/dev/null 2>&1; then : |
3717 | : |
3990 | |
3718 | else |
3991 | else |
3719 | ac_cv_header_stdc=no |
3992 | ac_cv_header_stdc=no |
3720 | fi |
3993 | fi |
3721 | rm -f conftest* |
3994 | rm -f conftest* |
3722 | |
3995 | |
3723 | fi |
3996 | fi |
3724 | |
3997 | |
3725 | if test $ac_cv_header_stdc = yes; then |
3998 | if test $ac_cv_header_stdc = yes; then |
3726 | # 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. |
3727 | cat >conftest.$ac_ext <<_ACEOF |
|
|
3728 | /* confdefs.h. */ |
|
|
3729 | _ACEOF |
|
|
3730 | cat confdefs.h >>conftest.$ac_ext |
4000 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3731 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
3732 | /* end confdefs.h. */ |
4001 | /* end confdefs.h. */ |
3733 | #include <stdlib.h> |
4002 | #include <stdlib.h> |
3734 | |
4003 | |
3735 | _ACEOF |
4004 | _ACEOF |
3736 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
4005 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3737 | $EGREP "free" >/dev/null 2>&1; then |
4006 | $EGREP "free" >/dev/null 2>&1; then : |
3738 | : |
4007 | |
3739 | else |
4008 | else |
3740 | ac_cv_header_stdc=no |
4009 | ac_cv_header_stdc=no |
3741 | fi |
4010 | fi |
3742 | rm -f conftest* |
4011 | rm -f conftest* |
3743 | |
4012 | |
3744 | fi |
4013 | fi |
3745 | |
4014 | |
3746 | if test $ac_cv_header_stdc = yes; then |
4015 | if test $ac_cv_header_stdc = yes; then |
3747 | # /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. |
3748 | if test "$cross_compiling" = yes; then |
4017 | if test "$cross_compiling" = yes; then : |
3749 | : |
4018 | : |
3750 | else |
4019 | else |
3751 | cat >conftest.$ac_ext <<_ACEOF |
|
|
3752 | /* confdefs.h. */ |
|
|
3753 | _ACEOF |
|
|
3754 | cat confdefs.h >>conftest.$ac_ext |
4020 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3755 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
3756 | /* end confdefs.h. */ |
4021 | /* end confdefs.h. */ |
3757 | #include <ctype.h> |
4022 | #include <ctype.h> |
3758 | #include <stdlib.h> |
4023 | #include <stdlib.h> |
3759 | #if ((' ' & 0x0FF) == 0x020) |
4024 | #if ((' ' & 0x0FF) == 0x020) |
3760 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
4025 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
… | |
… | |
3777 | || toupper (i) != TOUPPER (i)) |
4042 | || toupper (i) != TOUPPER (i)) |
3778 | return 2; |
4043 | return 2; |
3779 | return 0; |
4044 | return 0; |
3780 | } |
4045 | } |
3781 | _ACEOF |
4046 | _ACEOF |
3782 | rm -f conftest$ac_exeext |
4047 | if ac_fn_c_try_run "$LINENO"; then : |
3783 | if { (ac_try="$ac_link" |
|
|
3784 | case "(($ac_try" in |
|
|
3785 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
3786 | *) ac_try_echo=$ac_try;; |
|
|
3787 | esac |
|
|
3788 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
3789 | (eval "$ac_link") 2>&5 |
|
|
3790 | ac_status=$? |
|
|
3791 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3792 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
|
|
3793 | { (case "(($ac_try" in |
|
|
3794 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
3795 | *) ac_try_echo=$ac_try;; |
|
|
3796 | esac |
|
|
3797 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
3798 | (eval "$ac_try") 2>&5 |
|
|
3799 | ac_status=$? |
|
|
3800 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3801 | (exit $ac_status); }; }; then |
|
|
3802 | : |
|
|
3803 | else |
|
|
3804 | echo "$as_me: program exited with status $ac_status" >&5 |
|
|
3805 | echo "$as_me: failed program was:" >&5 |
|
|
3806 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
3807 | |
4048 | |
3808 | ( exit $ac_status ) |
4049 | else |
3809 | ac_cv_header_stdc=no |
4050 | ac_cv_header_stdc=no |
3810 | fi |
4051 | fi |
3811 | 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 |
3812 | fi |
4054 | fi |
3813 | |
4055 | |
3814 | |
|
|
3815 | fi |
4056 | fi |
3816 | fi |
4057 | fi |
3817 | { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 |
4058 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 |
3818 | echo "${ECHO_T}$ac_cv_header_stdc" >&6; } |
4059 | $as_echo "$ac_cv_header_stdc" >&6; } |
3819 | if test $ac_cv_header_stdc = yes; then |
4060 | if test $ac_cv_header_stdc = yes; then |
3820 | |
4061 | |
3821 | cat >>confdefs.h <<\_ACEOF |
4062 | $as_echo "#define STDC_HEADERS 1" >>confdefs.h |
3822 | #define STDC_HEADERS 1 |
|
|
3823 | _ACEOF |
|
|
3824 | |
4063 | |
3825 | fi |
4064 | fi |
3826 | |
4065 | |
3827 | |
4066 | |
3828 | ac_ext=cpp |
4067 | ac_ext=cpp |
… | |
… | |
3837 | if test -n "$ac_tool_prefix"; then |
4076 | if test -n "$ac_tool_prefix"; then |
3838 | 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 |
3839 | do |
4078 | do |
3840 | # 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. |
3841 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
4080 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
3842 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
4081 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3843 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
4082 | $as_echo_n "checking for $ac_word... " >&6; } |
3844 | if test "${ac_cv_prog_CXX+set}" = set; then |
4083 | if ${ac_cv_prog_CXX+:} false; then : |
3845 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4084 | $as_echo_n "(cached) " >&6 |
3846 | else |
4085 | else |
3847 | if test -n "$CXX"; then |
4086 | if test -n "$CXX"; then |
3848 | ac_cv_prog_CXX="$CXX" # Let the user override the test. |
4087 | ac_cv_prog_CXX="$CXX" # Let the user override the test. |
3849 | else |
4088 | else |
3850 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4089 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3851 | for as_dir in $PATH |
4090 | for as_dir in $PATH |
3852 | do |
4091 | do |
3853 | IFS=$as_save_IFS |
4092 | IFS=$as_save_IFS |
3854 | test -z "$as_dir" && as_dir=. |
4093 | test -z "$as_dir" && as_dir=. |
3855 | for ac_exec_ext in '' $ac_executable_extensions; do |
4094 | for ac_exec_ext in '' $ac_executable_extensions; do |
3856 | 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 |
3857 | ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" |
4096 | ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" |
3858 | 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 |
3859 | break 2 |
4098 | break 2 |
3860 | fi |
4099 | fi |
3861 | done |
4100 | done |
3862 | done |
4101 | done |
3863 | IFS=$as_save_IFS |
4102 | IFS=$as_save_IFS |
3864 | |
4103 | |
3865 | fi |
4104 | fi |
3866 | fi |
4105 | fi |
3867 | CXX=$ac_cv_prog_CXX |
4106 | CXX=$ac_cv_prog_CXX |
3868 | if test -n "$CXX"; then |
4107 | if test -n "$CXX"; then |
3869 | { echo "$as_me:$LINENO: result: $CXX" >&5 |
4108 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 |
3870 | echo "${ECHO_T}$CXX" >&6; } |
4109 | $as_echo "$CXX" >&6; } |
3871 | else |
4110 | else |
3872 | { echo "$as_me:$LINENO: result: no" >&5 |
4111 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3873 | echo "${ECHO_T}no" >&6; } |
4112 | $as_echo "no" >&6; } |
3874 | fi |
4113 | fi |
3875 | |
4114 | |
3876 | |
4115 | |
3877 | test -n "$CXX" && break |
4116 | test -n "$CXX" && break |
3878 | done |
4117 | done |
… | |
… | |
3881 | ac_ct_CXX=$CXX |
4120 | ac_ct_CXX=$CXX |
3882 | 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 |
3883 | do |
4122 | do |
3884 | # 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. |
3885 | set dummy $ac_prog; ac_word=$2 |
4124 | set dummy $ac_prog; ac_word=$2 |
3886 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
4125 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3887 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
4126 | $as_echo_n "checking for $ac_word... " >&6; } |
3888 | if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then |
4127 | if ${ac_cv_prog_ac_ct_CXX+:} false; then : |
3889 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4128 | $as_echo_n "(cached) " >&6 |
3890 | else |
4129 | else |
3891 | if test -n "$ac_ct_CXX"; then |
4130 | if test -n "$ac_ct_CXX"; then |
3892 | 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. |
3893 | else |
4132 | else |
3894 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4133 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3895 | for as_dir in $PATH |
4134 | for as_dir in $PATH |
3896 | do |
4135 | do |
3897 | IFS=$as_save_IFS |
4136 | IFS=$as_save_IFS |
3898 | test -z "$as_dir" && as_dir=. |
4137 | test -z "$as_dir" && as_dir=. |
3899 | for ac_exec_ext in '' $ac_executable_extensions; do |
4138 | for ac_exec_ext in '' $ac_executable_extensions; do |
3900 | 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 |
3901 | ac_cv_prog_ac_ct_CXX="$ac_prog" |
4140 | ac_cv_prog_ac_ct_CXX="$ac_prog" |
3902 | 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 |
3903 | break 2 |
4142 | break 2 |
3904 | fi |
4143 | fi |
3905 | done |
4144 | done |
3906 | done |
4145 | done |
3907 | IFS=$as_save_IFS |
4146 | IFS=$as_save_IFS |
3908 | |
4147 | |
3909 | fi |
4148 | fi |
3910 | fi |
4149 | fi |
3911 | ac_ct_CXX=$ac_cv_prog_ac_ct_CXX |
4150 | ac_ct_CXX=$ac_cv_prog_ac_ct_CXX |
3912 | if test -n "$ac_ct_CXX"; then |
4151 | if test -n "$ac_ct_CXX"; then |
3913 | { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 |
4152 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 |
3914 | echo "${ECHO_T}$ac_ct_CXX" >&6; } |
4153 | $as_echo "$ac_ct_CXX" >&6; } |
3915 | else |
4154 | else |
3916 | { echo "$as_me:$LINENO: result: no" >&5 |
4155 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3917 | echo "${ECHO_T}no" >&6; } |
4156 | $as_echo "no" >&6; } |
3918 | fi |
4157 | fi |
3919 | |
4158 | |
3920 | |
4159 | |
3921 | test -n "$ac_ct_CXX" && break |
4160 | test -n "$ac_ct_CXX" && break |
3922 | done |
4161 | done |
… | |
… | |
3924 | if test "x$ac_ct_CXX" = x; then |
4163 | if test "x$ac_ct_CXX" = x; then |
3925 | CXX="g++" |
4164 | CXX="g++" |
3926 | else |
4165 | else |
3927 | case $cross_compiling:$ac_tool_warned in |
4166 | case $cross_compiling:$ac_tool_warned in |
3928 | yes:) |
4167 | yes:) |
3929 | { 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 |
3930 | 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;} |
3931 | configuration is useful to you, please write to autoconf@gnu.org." >&5 |
|
|
3932 | echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools |
|
|
3933 | whose name does not start with the host triplet. If you think this |
|
|
3934 | configuration is useful to you, please write to autoconf@gnu.org." >&2;} |
|
|
3935 | ac_tool_warned=yes ;; |
4170 | ac_tool_warned=yes ;; |
3936 | esac |
4171 | esac |
3937 | CXX=$ac_ct_CXX |
4172 | CXX=$ac_ct_CXX |
3938 | fi |
4173 | fi |
3939 | fi |
4174 | fi |
3940 | |
4175 | |
3941 | fi |
4176 | fi |
3942 | fi |
4177 | fi |
3943 | # Provide some information about the compiler. |
4178 | # Provide some information about the compiler. |
3944 | echo "$as_me:$LINENO: checking for C++ compiler version" >&5 |
4179 | $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 |
3945 | 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 |
3946 | { (ac_try="$ac_compiler --version >&5" |
4183 | { { ac_try="$ac_compiler $ac_option >&5" |
3947 | case "(($ac_try" in |
4184 | case "(($ac_try" in |
3948 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
4185 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3949 | *) ac_try_echo=$ac_try;; |
4186 | *) ac_try_echo=$ac_try;; |
3950 | esac |
4187 | esac |
3951 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
4188 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
3952 | (eval "$ac_compiler --version >&5") 2>&5 |
4189 | $as_echo "$ac_try_echo"; } >&5 |
|
|
4190 | (eval "$ac_compiler $ac_option >&5") 2>conftest.err |
3953 | 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 |
3954 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4199 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
3955 | (exit $ac_status); } |
4200 | test $ac_status = 0; } |
3956 | { (ac_try="$ac_compiler -v >&5" |
4201 | done |
3957 | case "(($ac_try" in |
|
|
3958 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
3959 | *) ac_try_echo=$ac_try;; |
|
|
3960 | esac |
|
|
3961 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
3962 | (eval "$ac_compiler -v >&5") 2>&5 |
|
|
3963 | ac_status=$? |
|
|
3964 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3965 | (exit $ac_status); } |
|
|
3966 | { (ac_try="$ac_compiler -V >&5" |
|
|
3967 | case "(($ac_try" in |
|
|
3968 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
3969 | *) ac_try_echo=$ac_try;; |
|
|
3970 | esac |
|
|
3971 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
3972 | (eval "$ac_compiler -V >&5") 2>&5 |
|
|
3973 | ac_status=$? |
|
|
3974 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3975 | (exit $ac_status); } |
|
|
3976 | |
4202 | |
3977 | { 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 |
3978 | 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; } |
3979 | if test "${ac_cv_cxx_compiler_gnu+set}" = set; then |
4205 | if ${ac_cv_cxx_compiler_gnu+:} false; then : |
3980 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4206 | $as_echo_n "(cached) " >&6 |
3981 | else |
4207 | else |
3982 | cat >conftest.$ac_ext <<_ACEOF |
|
|
3983 | /* confdefs.h. */ |
|
|
3984 | _ACEOF |
|
|
3985 | cat confdefs.h >>conftest.$ac_ext |
4208 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3986 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
3987 | /* end confdefs.h. */ |
4209 | /* end confdefs.h. */ |
3988 | |
4210 | |
3989 | int |
4211 | int |
3990 | main () |
4212 | main () |
3991 | { |
4213 | { |
… | |
… | |
3995 | |
4217 | |
3996 | ; |
4218 | ; |
3997 | return 0; |
4219 | return 0; |
3998 | } |
4220 | } |
3999 | _ACEOF |
4221 | _ACEOF |
4000 | rm -f conftest.$ac_objext |
4222 | if ac_fn_cxx_try_compile "$LINENO"; then : |
4001 | if { (ac_try="$ac_compile" |
|
|
4002 | case "(($ac_try" in |
|
|
4003 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
4004 | *) ac_try_echo=$ac_try;; |
|
|
4005 | esac |
|
|
4006 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
4007 | (eval "$ac_compile") 2>conftest.er1 |
|
|
4008 | ac_status=$? |
|
|
4009 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
4010 | rm -f conftest.er1 |
|
|
4011 | cat conftest.err >&5 |
|
|
4012 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4013 | (exit $ac_status); } && { |
|
|
4014 | test -z "$ac_cxx_werror_flag" || |
|
|
4015 | test ! -s conftest.err |
|
|
4016 | } && test -s conftest.$ac_objext; then |
|
|
4017 | ac_compiler_gnu=yes |
4223 | ac_compiler_gnu=yes |
4018 | else |
4224 | else |
4019 | echo "$as_me: failed program was:" >&5 |
|
|
4020 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
4021 | |
|
|
4022 | ac_compiler_gnu=no |
4225 | ac_compiler_gnu=no |
4023 | fi |
4226 | fi |
4024 | |
|
|
4025 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
4227 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
4026 | ac_cv_cxx_compiler_gnu=$ac_compiler_gnu |
4228 | ac_cv_cxx_compiler_gnu=$ac_compiler_gnu |
4027 | |
4229 | |
4028 | fi |
4230 | fi |
4029 | { 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 |
4030 | echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; } |
4232 | $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } |
4031 | 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 |
4032 | ac_test_CXXFLAGS=${CXXFLAGS+set} |
4238 | ac_test_CXXFLAGS=${CXXFLAGS+set} |
4033 | ac_save_CXXFLAGS=$CXXFLAGS |
4239 | ac_save_CXXFLAGS=$CXXFLAGS |
4034 | { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 |
4240 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 |
4035 | echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; } |
4241 | $as_echo_n "checking whether $CXX accepts -g... " >&6; } |
4036 | if test "${ac_cv_prog_cxx_g+set}" = set; then |
4242 | if ${ac_cv_prog_cxx_g+:} false; then : |
4037 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4243 | $as_echo_n "(cached) " >&6 |
4038 | else |
4244 | else |
4039 | ac_save_cxx_werror_flag=$ac_cxx_werror_flag |
4245 | ac_save_cxx_werror_flag=$ac_cxx_werror_flag |
4040 | ac_cxx_werror_flag=yes |
4246 | ac_cxx_werror_flag=yes |
4041 | ac_cv_prog_cxx_g=no |
4247 | ac_cv_prog_cxx_g=no |
4042 | CXXFLAGS="-g" |
4248 | CXXFLAGS="-g" |
4043 | cat >conftest.$ac_ext <<_ACEOF |
|
|
4044 | /* confdefs.h. */ |
|
|
4045 | _ACEOF |
|
|
4046 | cat confdefs.h >>conftest.$ac_ext |
4249 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4047 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
4048 | /* end confdefs.h. */ |
4250 | /* end confdefs.h. */ |
4049 | |
4251 | |
4050 | int |
4252 | int |
4051 | main () |
4253 | main () |
4052 | { |
4254 | { |
4053 | |
4255 | |
4054 | ; |
4256 | ; |
4055 | return 0; |
4257 | return 0; |
4056 | } |
4258 | } |
4057 | _ACEOF |
4259 | _ACEOF |
4058 | rm -f conftest.$ac_objext |
4260 | if ac_fn_cxx_try_compile "$LINENO"; then : |
4059 | if { (ac_try="$ac_compile" |
|
|
4060 | case "(($ac_try" in |
|
|
4061 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
4062 | *) ac_try_echo=$ac_try;; |
|
|
4063 | esac |
|
|
4064 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
4065 | (eval "$ac_compile") 2>conftest.er1 |
|
|
4066 | ac_status=$? |
|
|
4067 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
4068 | rm -f conftest.er1 |
|
|
4069 | cat conftest.err >&5 |
|
|
4070 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4071 | (exit $ac_status); } && { |
|
|
4072 | test -z "$ac_cxx_werror_flag" || |
|
|
4073 | test ! -s conftest.err |
|
|
4074 | } && test -s conftest.$ac_objext; then |
|
|
4075 | ac_cv_prog_cxx_g=yes |
4261 | ac_cv_prog_cxx_g=yes |
4076 | else |
4262 | else |
4077 | echo "$as_me: failed program was:" >&5 |
|
|
4078 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
4079 | |
|
|
4080 | CXXFLAGS="" |
4263 | CXXFLAGS="" |
4081 | cat >conftest.$ac_ext <<_ACEOF |
|
|
4082 | /* confdefs.h. */ |
|
|
4083 | _ACEOF |
|
|
4084 | cat confdefs.h >>conftest.$ac_ext |
4264 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4085 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
4086 | /* end confdefs.h. */ |
4265 | /* end confdefs.h. */ |
4087 | |
4266 | |
4088 | int |
4267 | int |
4089 | main () |
4268 | main () |
4090 | { |
4269 | { |
4091 | |
4270 | |
4092 | ; |
4271 | ; |
4093 | return 0; |
4272 | return 0; |
4094 | } |
4273 | } |
4095 | _ACEOF |
4274 | _ACEOF |
4096 | rm -f conftest.$ac_objext |
4275 | if ac_fn_cxx_try_compile "$LINENO"; then : |
4097 | if { (ac_try="$ac_compile" |
|
|
4098 | case "(($ac_try" in |
|
|
4099 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
4100 | *) ac_try_echo=$ac_try;; |
|
|
4101 | esac |
|
|
4102 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
4103 | (eval "$ac_compile") 2>conftest.er1 |
|
|
4104 | ac_status=$? |
|
|
4105 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
4106 | rm -f conftest.er1 |
|
|
4107 | cat conftest.err >&5 |
|
|
4108 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4109 | (exit $ac_status); } && { |
|
|
4110 | test -z "$ac_cxx_werror_flag" || |
|
|
4111 | test ! -s conftest.err |
|
|
4112 | } && test -s conftest.$ac_objext; then |
|
|
4113 | : |
|
|
4114 | else |
|
|
4115 | echo "$as_me: failed program was:" >&5 |
|
|
4116 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
4117 | |
4276 | |
|
|
4277 | else |
4118 | ac_cxx_werror_flag=$ac_save_cxx_werror_flag |
4278 | ac_cxx_werror_flag=$ac_save_cxx_werror_flag |
4119 | CXXFLAGS="-g" |
4279 | CXXFLAGS="-g" |
4120 | cat >conftest.$ac_ext <<_ACEOF |
|
|
4121 | /* confdefs.h. */ |
|
|
4122 | _ACEOF |
|
|
4123 | cat confdefs.h >>conftest.$ac_ext |
4280 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4124 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
4125 | /* end confdefs.h. */ |
4281 | /* end confdefs.h. */ |
4126 | |
4282 | |
4127 | int |
4283 | int |
4128 | main () |
4284 | main () |
4129 | { |
4285 | { |
4130 | |
4286 | |
4131 | ; |
4287 | ; |
4132 | return 0; |
4288 | return 0; |
4133 | } |
4289 | } |
4134 | _ACEOF |
4290 | _ACEOF |
4135 | rm -f conftest.$ac_objext |
4291 | if ac_fn_cxx_try_compile "$LINENO"; then : |
4136 | if { (ac_try="$ac_compile" |
|
|
4137 | case "(($ac_try" in |
|
|
4138 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
4139 | *) ac_try_echo=$ac_try;; |
|
|
4140 | esac |
|
|
4141 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
4142 | (eval "$ac_compile") 2>conftest.er1 |
|
|
4143 | ac_status=$? |
|
|
4144 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
4145 | rm -f conftest.er1 |
|
|
4146 | cat conftest.err >&5 |
|
|
4147 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4148 | (exit $ac_status); } && { |
|
|
4149 | test -z "$ac_cxx_werror_flag" || |
|
|
4150 | test ! -s conftest.err |
|
|
4151 | } && test -s conftest.$ac_objext; then |
|
|
4152 | ac_cv_prog_cxx_g=yes |
4292 | ac_cv_prog_cxx_g=yes |
4153 | else |
|
|
4154 | echo "$as_me: failed program was:" >&5 |
|
|
4155 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
4156 | |
|
|
4157 | |
|
|
4158 | fi |
4293 | fi |
4159 | |
|
|
4160 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
4294 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
4161 | fi |
4295 | fi |
4162 | |
|
|
4163 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
4296 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
4164 | fi |
4297 | fi |
4165 | |
|
|
4166 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
4298 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
4167 | ac_cxx_werror_flag=$ac_save_cxx_werror_flag |
4299 | ac_cxx_werror_flag=$ac_save_cxx_werror_flag |
4168 | fi |
4300 | fi |
4169 | { 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 |
4170 | echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; } |
4302 | $as_echo "$ac_cv_prog_cxx_g" >&6; } |
4171 | if test "$ac_test_CXXFLAGS" = set; then |
4303 | if test "$ac_test_CXXFLAGS" = set; then |
4172 | CXXFLAGS=$ac_save_CXXFLAGS |
4304 | CXXFLAGS=$ac_save_CXXFLAGS |
4173 | elif test $ac_cv_prog_cxx_g = yes; then |
4305 | elif test $ac_cv_prog_cxx_g = yes; then |
4174 | if test "$GXX" = yes; then |
4306 | if test "$GXX" = yes; then |
4175 | CXXFLAGS="-g -O2" |
4307 | CXXFLAGS="-g -O2" |
… | |
… | |
4189 | 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' |
4190 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
4322 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
4191 | |
4323 | |
4192 | depcc="$CXX" am_compiler_list= |
4324 | depcc="$CXX" am_compiler_list= |
4193 | |
4325 | |
4194 | { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 |
4326 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
4195 | echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; } |
4327 | $as_echo_n "checking dependency style of $depcc... " >&6; } |
4196 | if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then |
4328 | if ${am_cv_CXX_dependencies_compiler_type+:} false; then : |
4197 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4329 | $as_echo_n "(cached) " >&6 |
4198 | else |
4330 | else |
4199 | if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
4331 | if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
4200 | # 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 |
4201 | # 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 |
4202 | # 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 |
… | |
… | |
4228 | # overwrite some of them when testing with obscure command lines. |
4360 | # overwrite some of them when testing with obscure command lines. |
4229 | # This happens at least with the AIX C compiler. |
4361 | # This happens at least with the AIX C compiler. |
4230 | : > sub/conftest.c |
4362 | : > sub/conftest.c |
4231 | for i in 1 2 3 4 5 6; do |
4363 | for i in 1 2 3 4 5 6; do |
4232 | echo '#include "conftst'$i'.h"' >> sub/conftest.c |
4364 | echo '#include "conftst'$i'.h"' >> sub/conftest.c |
|
|
4365 | # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with |
|
|
4366 | # Solaris 8's {/usr,}/bin/sh. |
4233 | : > sub/conftst$i.h |
4367 | touch sub/conftst$i.h |
4234 | done |
4368 | done |
4235 | echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
4369 | echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
4236 | |
4370 | |
4237 | case $depmode in |
4371 | case $depmode in |
4238 | nosideeffect) |
4372 | nosideeffect) |
… | |
… | |
4252 | if depmode=$depmode \ |
4386 | if depmode=$depmode \ |
4253 | source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ |
4387 | source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ |
4254 | depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
4388 | depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
4255 | $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ |
4389 | $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ |
4256 | >/dev/null 2>conftest.err && |
4390 | >/dev/null 2>conftest.err && |
|
|
4391 | grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && |
4257 | grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
4392 | grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
4258 | grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && |
4393 | grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && |
4259 | ${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
4394 | ${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
4260 | # icc doesn't choke on unknown options, it will just issue warnings |
4395 | # icc doesn't choke on unknown options, it will just issue warnings |
4261 | # (even with -Werror). So we grep stderr for any message |
4396 | # or remarks (even with -Werror). So we grep stderr for any message |
4262 | # that says an option was ignored. |
4397 | # that says an option was ignored or not supported. |
|
|
4398 | # When given -MP, icc 7.0 and 7.1 complain thusly: |
|
|
4399 | # icc: Command line warning: ignoring option '-M'; no argument required |
|
|
4400 | # The diagnosis changed in icc 8.0: |
|
|
4401 | # icc: Command line remark: option '-MP' not supported |
|
|
4402 | if (grep 'ignoring option' conftest.err || |
4263 | if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else |
4403 | grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else |
4264 | am_cv_CXX_dependencies_compiler_type=$depmode |
4404 | am_cv_CXX_dependencies_compiler_type=$depmode |
4265 | break |
4405 | break |
4266 | fi |
4406 | fi |
4267 | fi |
4407 | fi |
4268 | done |
4408 | done |
… | |
… | |
4272 | else |
4412 | else |
4273 | am_cv_CXX_dependencies_compiler_type=none |
4413 | am_cv_CXX_dependencies_compiler_type=none |
4274 | fi |
4414 | fi |
4275 | |
4415 | |
4276 | fi |
4416 | fi |
4277 | { 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 |
4278 | echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; } |
4418 | $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } |
4279 | CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type |
4419 | CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type |
4280 | |
4420 | |
4281 | |
|
|
4282 | |
|
|
4283 | if |
4421 | if |
4284 | test "x$enable_dependency_tracking" != xno \ |
4422 | test "x$enable_dependency_tracking" != xno \ |
4285 | && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then |
4423 | && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then |
4286 | am__fastdepCXX_TRUE= |
4424 | am__fastdepCXX_TRUE= |
4287 | am__fastdepCXX_FALSE='#' |
4425 | am__fastdepCXX_FALSE='#' |
4288 | else |
4426 | else |
… | |
… | |
4300 | |
4438 | |
4301 | |
4439 | |
4302 | |
4440 | |
4303 | |
4441 | |
4304 | |
4442 | |
4305 | |
|
|
4306 | # On IRIX 5.3, sys/types and inttypes.h are conflicting. |
|
|
4307 | |
|
|
4308 | |
|
|
4309 | |
|
|
4310 | |
|
|
4311 | |
|
|
4312 | |
|
|
4313 | |
|
|
4314 | |
|
|
4315 | |
|
|
4316 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
|
|
4317 | inttypes.h stdint.h unistd.h |
|
|
4318 | do |
|
|
4319 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
|
4320 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
|
|
4321 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
|
|
4322 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
|
|
4323 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
4324 | else |
|
|
4325 | cat >conftest.$ac_ext <<_ACEOF |
|
|
4326 | /* confdefs.h. */ |
|
|
4327 | _ACEOF |
|
|
4328 | cat confdefs.h >>conftest.$ac_ext |
|
|
4329 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
4330 | /* end confdefs.h. */ |
|
|
4331 | $ac_includes_default |
|
|
4332 | |
|
|
4333 | #include <$ac_header> |
|
|
4334 | _ACEOF |
|
|
4335 | rm -f conftest.$ac_objext |
|
|
4336 | if { (ac_try="$ac_compile" |
|
|
4337 | case "(($ac_try" in |
|
|
4338 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
4339 | *) ac_try_echo=$ac_try;; |
|
|
4340 | esac |
|
|
4341 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
4342 | (eval "$ac_compile") 2>conftest.er1 |
|
|
4343 | ac_status=$? |
|
|
4344 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
4345 | rm -f conftest.er1 |
|
|
4346 | cat conftest.err >&5 |
|
|
4347 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4348 | (exit $ac_status); } && { |
|
|
4349 | test -z "$ac_cxx_werror_flag" || |
|
|
4350 | test ! -s conftest.err |
|
|
4351 | } && test -s conftest.$ac_objext; then |
|
|
4352 | eval "$as_ac_Header=yes" |
|
|
4353 | else |
|
|
4354 | echo "$as_me: failed program was:" >&5 |
|
|
4355 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
4356 | |
|
|
4357 | eval "$as_ac_Header=no" |
|
|
4358 | fi |
|
|
4359 | |
|
|
4360 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
4361 | fi |
|
|
4362 | ac_res=`eval echo '${'$as_ac_Header'}'` |
|
|
4363 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
|
4364 | echo "${ECHO_T}$ac_res" >&6; } |
|
|
4365 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
|
|
4366 | cat >>confdefs.h <<_ACEOF |
|
|
4367 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
|
|
4368 | _ACEOF |
|
|
4369 | |
|
|
4370 | fi |
|
|
4371 | |
|
|
4372 | done |
|
|
4373 | |
|
|
4374 | |
|
|
4375 | ac_ext=cpp |
4443 | ac_ext=cpp |
4376 | ac_cpp='$CXXCPP $CPPFLAGS' |
4444 | ac_cpp='$CXXCPP $CPPFLAGS' |
4377 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
4445 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
4378 | 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' |
4379 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
4447 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
4380 | { 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 |
4381 | 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; } |
4382 | if test -z "$CXXCPP"; then |
4450 | if test -z "$CXXCPP"; then |
4383 | if test "${ac_cv_prog_CXXCPP+set}" = set; then |
4451 | if ${ac_cv_prog_CXXCPP+:} false; then : |
4384 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4452 | $as_echo_n "(cached) " >&6 |
4385 | else |
4453 | else |
4386 | # Double quotes because CXXCPP needs to be expanded |
4454 | # Double quotes because CXXCPP needs to be expanded |
4387 | for CXXCPP in "$CXX -E" "/lib/cpp" |
4455 | for CXXCPP in "$CXX -E" "/lib/cpp" |
4388 | do |
4456 | do |
4389 | ac_preproc_ok=false |
4457 | ac_preproc_ok=false |
… | |
… | |
4393 | # with a fresh cross-compiler works. |
4461 | # with a fresh cross-compiler works. |
4394 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
4462 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
4395 | # <limits.h> exists even on freestanding compilers. |
4463 | # <limits.h> exists even on freestanding compilers. |
4396 | # 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, |
4397 | # 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. |
4398 | cat >conftest.$ac_ext <<_ACEOF |
|
|
4399 | /* confdefs.h. */ |
|
|
4400 | _ACEOF |
|
|
4401 | cat confdefs.h >>conftest.$ac_ext |
4466 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4402 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
4403 | /* end confdefs.h. */ |
4467 | /* end confdefs.h. */ |
4404 | #ifdef __STDC__ |
4468 | #ifdef __STDC__ |
4405 | # include <limits.h> |
4469 | # include <limits.h> |
4406 | #else |
4470 | #else |
4407 | # include <assert.h> |
4471 | # include <assert.h> |
4408 | #endif |
4472 | #endif |
4409 | Syntax error |
4473 | Syntax error |
4410 | _ACEOF |
4474 | _ACEOF |
4411 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
4475 | if ac_fn_cxx_try_cpp "$LINENO"; then : |
4412 | case "(($ac_try" in |
|
|
4413 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
4414 | *) ac_try_echo=$ac_try;; |
|
|
4415 | esac |
|
|
4416 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
4417 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
|
|
4418 | ac_status=$? |
|
|
4419 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
4420 | rm -f conftest.er1 |
|
|
4421 | cat conftest.err >&5 |
|
|
4422 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4423 | (exit $ac_status); } >/dev/null && { |
|
|
4424 | test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
|
|
4425 | test ! -s conftest.err |
|
|
4426 | }; then |
|
|
4427 | : |
|
|
4428 | else |
|
|
4429 | echo "$as_me: failed program was:" >&5 |
|
|
4430 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
4431 | |
4476 | |
|
|
4477 | else |
4432 | # Broken: fails on valid input. |
4478 | # Broken: fails on valid input. |
4433 | continue |
4479 | continue |
4434 | fi |
4480 | fi |
4435 | |
|
|
4436 | rm -f conftest.err conftest.$ac_ext |
4481 | rm -f conftest.err conftest.i conftest.$ac_ext |
4437 | |
4482 | |
4438 | # OK, works on sane cases. Now check whether nonexistent headers |
4483 | # OK, works on sane cases. Now check whether nonexistent headers |
4439 | # can be detected and how. |
4484 | # can be detected and how. |
4440 | cat >conftest.$ac_ext <<_ACEOF |
|
|
4441 | /* confdefs.h. */ |
|
|
4442 | _ACEOF |
|
|
4443 | cat confdefs.h >>conftest.$ac_ext |
4485 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4444 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
4445 | /* end confdefs.h. */ |
4486 | /* end confdefs.h. */ |
4446 | #include <ac_nonexistent.h> |
4487 | #include <ac_nonexistent.h> |
4447 | _ACEOF |
4488 | _ACEOF |
4448 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
4489 | if ac_fn_cxx_try_cpp "$LINENO"; then : |
4449 | case "(($ac_try" in |
|
|
4450 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
4451 | *) ac_try_echo=$ac_try;; |
|
|
4452 | esac |
|
|
4453 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
4454 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
|
|
4455 | ac_status=$? |
|
|
4456 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
4457 | rm -f conftest.er1 |
|
|
4458 | cat conftest.err >&5 |
|
|
4459 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4460 | (exit $ac_status); } >/dev/null && { |
|
|
4461 | test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
|
|
4462 | test ! -s conftest.err |
|
|
4463 | }; then |
|
|
4464 | # Broken: success on invalid input. |
4490 | # Broken: success on invalid input. |
4465 | continue |
4491 | continue |
4466 | else |
4492 | else |
4467 | echo "$as_me: failed program was:" >&5 |
|
|
4468 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
4469 | |
|
|
4470 | # Passes both tests. |
4493 | # Passes both tests. |
4471 | ac_preproc_ok=: |
4494 | ac_preproc_ok=: |
4472 | break |
4495 | break |
4473 | fi |
4496 | fi |
4474 | |
|
|
4475 | rm -f conftest.err conftest.$ac_ext |
4497 | rm -f conftest.err conftest.i conftest.$ac_ext |
4476 | |
4498 | |
4477 | done |
4499 | done |
4478 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
4500 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
4479 | rm -f conftest.err conftest.$ac_ext |
4501 | rm -f conftest.i conftest.err conftest.$ac_ext |
4480 | if $ac_preproc_ok; then |
4502 | if $ac_preproc_ok; then : |
4481 | break |
4503 | break |
4482 | fi |
4504 | fi |
4483 | |
4505 | |
4484 | done |
4506 | done |
4485 | ac_cv_prog_CXXCPP=$CXXCPP |
4507 | ac_cv_prog_CXXCPP=$CXXCPP |
… | |
… | |
4487 | fi |
4509 | fi |
4488 | CXXCPP=$ac_cv_prog_CXXCPP |
4510 | CXXCPP=$ac_cv_prog_CXXCPP |
4489 | else |
4511 | else |
4490 | ac_cv_prog_CXXCPP=$CXXCPP |
4512 | ac_cv_prog_CXXCPP=$CXXCPP |
4491 | fi |
4513 | fi |
4492 | { echo "$as_me:$LINENO: result: $CXXCPP" >&5 |
4514 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5 |
4493 | echo "${ECHO_T}$CXXCPP" >&6; } |
4515 | $as_echo "$CXXCPP" >&6; } |
4494 | ac_preproc_ok=false |
4516 | ac_preproc_ok=false |
4495 | for ac_cxx_preproc_warn_flag in '' yes |
4517 | for ac_cxx_preproc_warn_flag in '' yes |
4496 | do |
4518 | do |
4497 | # Use a header file that comes with gcc, so configuring glibc |
4519 | # Use a header file that comes with gcc, so configuring glibc |
4498 | # with a fresh cross-compiler works. |
4520 | # with a fresh cross-compiler works. |
4499 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
4521 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
4500 | # <limits.h> exists even on freestanding compilers. |
4522 | # <limits.h> exists even on freestanding compilers. |
4501 | # 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, |
4502 | # 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. |
4503 | cat >conftest.$ac_ext <<_ACEOF |
|
|
4504 | /* confdefs.h. */ |
|
|
4505 | _ACEOF |
|
|
4506 | cat confdefs.h >>conftest.$ac_ext |
4525 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4507 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
4508 | /* end confdefs.h. */ |
4526 | /* end confdefs.h. */ |
4509 | #ifdef __STDC__ |
4527 | #ifdef __STDC__ |
4510 | # include <limits.h> |
4528 | # include <limits.h> |
4511 | #else |
4529 | #else |
4512 | # include <assert.h> |
4530 | # include <assert.h> |
4513 | #endif |
4531 | #endif |
4514 | Syntax error |
4532 | Syntax error |
4515 | _ACEOF |
4533 | _ACEOF |
4516 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
4534 | if ac_fn_cxx_try_cpp "$LINENO"; then : |
4517 | case "(($ac_try" in |
|
|
4518 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
4519 | *) ac_try_echo=$ac_try;; |
|
|
4520 | esac |
|
|
4521 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
4522 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
|
|
4523 | ac_status=$? |
|
|
4524 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
4525 | rm -f conftest.er1 |
|
|
4526 | cat conftest.err >&5 |
|
|
4527 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4528 | (exit $ac_status); } >/dev/null && { |
|
|
4529 | test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
|
|
4530 | test ! -s conftest.err |
|
|
4531 | }; then |
|
|
4532 | : |
|
|
4533 | else |
|
|
4534 | echo "$as_me: failed program was:" >&5 |
|
|
4535 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
4536 | |
4535 | |
|
|
4536 | else |
4537 | # Broken: fails on valid input. |
4537 | # Broken: fails on valid input. |
4538 | continue |
4538 | continue |
4539 | fi |
4539 | fi |
4540 | |
|
|
4541 | rm -f conftest.err conftest.$ac_ext |
4540 | rm -f conftest.err conftest.i conftest.$ac_ext |
4542 | |
4541 | |
4543 | # OK, works on sane cases. Now check whether nonexistent headers |
4542 | # OK, works on sane cases. Now check whether nonexistent headers |
4544 | # can be detected and how. |
4543 | # can be detected and how. |
4545 | cat >conftest.$ac_ext <<_ACEOF |
|
|
4546 | /* confdefs.h. */ |
|
|
4547 | _ACEOF |
|
|
4548 | cat confdefs.h >>conftest.$ac_ext |
4544 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4549 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
4550 | /* end confdefs.h. */ |
4545 | /* end confdefs.h. */ |
4551 | #include <ac_nonexistent.h> |
4546 | #include <ac_nonexistent.h> |
4552 | _ACEOF |
4547 | _ACEOF |
4553 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
4548 | if ac_fn_cxx_try_cpp "$LINENO"; then : |
4554 | case "(($ac_try" in |
|
|
4555 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
4556 | *) ac_try_echo=$ac_try;; |
|
|
4557 | esac |
|
|
4558 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
4559 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
|
|
4560 | ac_status=$? |
|
|
4561 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
4562 | rm -f conftest.er1 |
|
|
4563 | cat conftest.err >&5 |
|
|
4564 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4565 | (exit $ac_status); } >/dev/null && { |
|
|
4566 | test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
|
|
4567 | test ! -s conftest.err |
|
|
4568 | }; then |
|
|
4569 | # Broken: success on invalid input. |
4549 | # Broken: success on invalid input. |
4570 | continue |
4550 | continue |
4571 | else |
4551 | else |
4572 | echo "$as_me: failed program was:" >&5 |
|
|
4573 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
4574 | |
|
|
4575 | # Passes both tests. |
4552 | # Passes both tests. |
4576 | ac_preproc_ok=: |
4553 | ac_preproc_ok=: |
4577 | break |
4554 | break |
4578 | fi |
4555 | fi |
4579 | |
|
|
4580 | rm -f conftest.err conftest.$ac_ext |
4556 | rm -f conftest.err conftest.i conftest.$ac_ext |
4581 | |
4557 | |
4582 | done |
4558 | done |
4583 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
4559 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
4584 | rm -f conftest.err conftest.$ac_ext |
4560 | rm -f conftest.i conftest.err conftest.$ac_ext |
4585 | if $ac_preproc_ok; then |
4561 | if $ac_preproc_ok; then : |
4586 | : |
4562 | |
4587 | else |
4563 | else |
4588 | { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check |
4564 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
4589 | See \`config.log' for more details." >&5 |
4565 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
4590 | echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check |
4566 | as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check |
4591 | See \`config.log' for more details." >&2;} |
4567 | See \`config.log' for more details" "$LINENO" 5; } |
4592 | { (exit 1); exit 1; }; } |
|
|
4593 | fi |
4568 | fi |
4594 | |
4569 | |
4595 | ac_ext=cpp |
4570 | ac_ext=cpp |
4596 | ac_cpp='$CXXCPP $CPPFLAGS' |
4571 | ac_cpp='$CXXCPP $CPPFLAGS' |
4597 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
4572 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
4598 | 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' |
4599 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
4574 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
4600 | |
4575 | |
4601 | |
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 | |
4602 | |
4593 | |
4603 | for ac_header in GL/gl.h |
4594 | for ac_header in GL/gl.h |
4604 | do |
4595 | do : |
4605 | 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" |
4606 | 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 : |
4607 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
|
|
4608 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
|
|
4609 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
|
|
4610 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
4611 | fi |
|
|
4612 | ac_res=`eval echo '${'$as_ac_Header'}'` |
|
|
4613 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
|
4614 | echo "${ECHO_T}$ac_res" >&6; } |
|
|
4615 | else |
|
|
4616 | # Is the header compilable? |
|
|
4617 | { echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
|
|
4618 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
|
|
4619 | cat >conftest.$ac_ext <<_ACEOF |
|
|
4620 | /* confdefs.h. */ |
|
|
4621 | _ACEOF |
|
|
4622 | cat confdefs.h >>conftest.$ac_ext |
|
|
4623 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
4624 | /* end confdefs.h. */ |
|
|
4625 | $ac_includes_default |
|
|
4626 | #include <$ac_header> |
|
|
4627 | _ACEOF |
|
|
4628 | rm -f conftest.$ac_objext |
|
|
4629 | if { (ac_try="$ac_compile" |
|
|
4630 | case "(($ac_try" in |
|
|
4631 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
4632 | *) ac_try_echo=$ac_try;; |
|
|
4633 | esac |
|
|
4634 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
4635 | (eval "$ac_compile") 2>conftest.er1 |
|
|
4636 | ac_status=$? |
|
|
4637 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
4638 | rm -f conftest.er1 |
|
|
4639 | cat conftest.err >&5 |
|
|
4640 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4641 | (exit $ac_status); } && { |
|
|
4642 | test -z "$ac_cxx_werror_flag" || |
|
|
4643 | test ! -s conftest.err |
|
|
4644 | } && test -s conftest.$ac_objext; then |
|
|
4645 | ac_header_compiler=yes |
|
|
4646 | else |
|
|
4647 | echo "$as_me: failed program was:" >&5 |
|
|
4648 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
4649 | |
|
|
4650 | ac_header_compiler=no |
|
|
4651 | fi |
|
|
4652 | |
|
|
4653 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
4654 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
|
|
4655 | echo "${ECHO_T}$ac_header_compiler" >&6; } |
|
|
4656 | |
|
|
4657 | # Is the header present? |
|
|
4658 | { echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
|
|
4659 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
|
|
4660 | cat >conftest.$ac_ext <<_ACEOF |
|
|
4661 | /* confdefs.h. */ |
|
|
4662 | _ACEOF |
|
|
4663 | cat confdefs.h >>conftest.$ac_ext |
|
|
4664 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
4665 | /* end confdefs.h. */ |
|
|
4666 | #include <$ac_header> |
|
|
4667 | _ACEOF |
|
|
4668 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
|
|
4669 | case "(($ac_try" in |
|
|
4670 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
4671 | *) ac_try_echo=$ac_try;; |
|
|
4672 | esac |
|
|
4673 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
4674 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
|
|
4675 | ac_status=$? |
|
|
4676 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
4677 | rm -f conftest.er1 |
|
|
4678 | cat conftest.err >&5 |
|
|
4679 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4680 | (exit $ac_status); } >/dev/null && { |
|
|
4681 | test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
|
|
4682 | test ! -s conftest.err |
|
|
4683 | }; then |
|
|
4684 | ac_header_preproc=yes |
|
|
4685 | else |
|
|
4686 | echo "$as_me: failed program was:" >&5 |
|
|
4687 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
4688 | |
|
|
4689 | ac_header_preproc=no |
|
|
4690 | fi |
|
|
4691 | |
|
|
4692 | rm -f conftest.err conftest.$ac_ext |
|
|
4693 | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
|
|
4694 | echo "${ECHO_T}$ac_header_preproc" >&6; } |
|
|
4695 | |
|
|
4696 | # So? What about this header? |
|
|
4697 | case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
|
|
4698 | yes:no: ) |
|
|
4699 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
|
|
4700 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
|
|
4701 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
|
|
4702 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
|
|
4703 | ac_header_preproc=yes |
|
|
4704 | ;; |
|
|
4705 | no:yes:* ) |
|
|
4706 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
|
|
4707 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
|
|
4708 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
|
|
4709 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
|
|
4710 | { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
|
|
4711 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
|
|
4712 | { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
|
|
4713 | echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
|
|
4714 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
|
|
4715 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
|
|
4716 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
|
|
4717 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
|
|
4718 | |
|
|
4719 | ;; |
|
|
4720 | esac |
|
|
4721 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
|
|
4722 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
|
|
4723 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
|
|
4724 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
4725 | else |
|
|
4726 | eval "$as_ac_Header=\$ac_header_preproc" |
|
|
4727 | fi |
|
|
4728 | ac_res=`eval echo '${'$as_ac_Header'}'` |
|
|
4729 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
|
4730 | echo "${ECHO_T}$ac_res" >&6; } |
|
|
4731 | |
|
|
4732 | fi |
|
|
4733 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
|
|
4734 | cat >>confdefs.h <<_ACEOF |
4598 | cat >>confdefs.h <<_ACEOF |
4735 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
4599 | #define HAVE_GL_GL_H 1 |
4736 | _ACEOF |
4600 | _ACEOF |
4737 | |
4601 | |
4738 | |
|
|
4739 | for ac_header in GL/glu.h |
4602 | for ac_header in GL/glu.h |
4740 | do |
4603 | do : |
4741 | 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" |
4742 | 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 : |
4743 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
|
|
4744 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
|
|
4745 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
|
|
4746 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
4747 | fi |
|
|
4748 | ac_res=`eval echo '${'$as_ac_Header'}'` |
|
|
4749 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
|
4750 | echo "${ECHO_T}$ac_res" >&6; } |
|
|
4751 | else |
|
|
4752 | # Is the header compilable? |
|
|
4753 | { echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
|
|
4754 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
|
|
4755 | cat >conftest.$ac_ext <<_ACEOF |
|
|
4756 | /* confdefs.h. */ |
|
|
4757 | _ACEOF |
|
|
4758 | cat confdefs.h >>conftest.$ac_ext |
|
|
4759 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
4760 | /* end confdefs.h. */ |
|
|
4761 | $ac_includes_default |
|
|
4762 | #include <$ac_header> |
|
|
4763 | _ACEOF |
|
|
4764 | rm -f conftest.$ac_objext |
|
|
4765 | if { (ac_try="$ac_compile" |
|
|
4766 | case "(($ac_try" in |
|
|
4767 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
4768 | *) ac_try_echo=$ac_try;; |
|
|
4769 | esac |
|
|
4770 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
4771 | (eval "$ac_compile") 2>conftest.er1 |
|
|
4772 | ac_status=$? |
|
|
4773 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
4774 | rm -f conftest.er1 |
|
|
4775 | cat conftest.err >&5 |
|
|
4776 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4777 | (exit $ac_status); } && { |
|
|
4778 | test -z "$ac_cxx_werror_flag" || |
|
|
4779 | test ! -s conftest.err |
|
|
4780 | } && test -s conftest.$ac_objext; then |
|
|
4781 | ac_header_compiler=yes |
|
|
4782 | else |
|
|
4783 | echo "$as_me: failed program was:" >&5 |
|
|
4784 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
4785 | |
|
|
4786 | ac_header_compiler=no |
|
|
4787 | fi |
|
|
4788 | |
|
|
4789 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
4790 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
|
|
4791 | echo "${ECHO_T}$ac_header_compiler" >&6; } |
|
|
4792 | |
|
|
4793 | # Is the header present? |
|
|
4794 | { echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
|
|
4795 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
|
|
4796 | cat >conftest.$ac_ext <<_ACEOF |
|
|
4797 | /* confdefs.h. */ |
|
|
4798 | _ACEOF |
|
|
4799 | cat confdefs.h >>conftest.$ac_ext |
|
|
4800 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
4801 | /* end confdefs.h. */ |
|
|
4802 | #include <$ac_header> |
|
|
4803 | _ACEOF |
|
|
4804 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
|
|
4805 | case "(($ac_try" in |
|
|
4806 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
4807 | *) ac_try_echo=$ac_try;; |
|
|
4808 | esac |
|
|
4809 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
4810 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
|
|
4811 | ac_status=$? |
|
|
4812 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
4813 | rm -f conftest.er1 |
|
|
4814 | cat conftest.err >&5 |
|
|
4815 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4816 | (exit $ac_status); } >/dev/null && { |
|
|
4817 | test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
|
|
4818 | test ! -s conftest.err |
|
|
4819 | }; then |
|
|
4820 | ac_header_preproc=yes |
|
|
4821 | else |
|
|
4822 | echo "$as_me: failed program was:" >&5 |
|
|
4823 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
4824 | |
|
|
4825 | ac_header_preproc=no |
|
|
4826 | fi |
|
|
4827 | |
|
|
4828 | rm -f conftest.err conftest.$ac_ext |
|
|
4829 | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
|
|
4830 | echo "${ECHO_T}$ac_header_preproc" >&6; } |
|
|
4831 | |
|
|
4832 | # So? What about this header? |
|
|
4833 | case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
|
|
4834 | yes:no: ) |
|
|
4835 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
|
|
4836 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
|
|
4837 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
|
|
4838 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
|
|
4839 | ac_header_preproc=yes |
|
|
4840 | ;; |
|
|
4841 | no:yes:* ) |
|
|
4842 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
|
|
4843 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
|
|
4844 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
|
|
4845 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
|
|
4846 | { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
|
|
4847 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
|
|
4848 | { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
|
|
4849 | echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
|
|
4850 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
|
|
4851 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
|
|
4852 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
|
|
4853 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
|
|
4854 | |
|
|
4855 | ;; |
|
|
4856 | esac |
|
|
4857 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
|
|
4858 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
|
|
4859 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
|
|
4860 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
4861 | else |
|
|
4862 | eval "$as_ac_Header=\$ac_header_preproc" |
|
|
4863 | fi |
|
|
4864 | ac_res=`eval echo '${'$as_ac_Header'}'` |
|
|
4865 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
|
4866 | echo "${ECHO_T}$ac_res" >&6; } |
|
|
4867 | |
|
|
4868 | fi |
|
|
4869 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
|
|
4870 | cat >>confdefs.h <<_ACEOF |
4606 | cat >>confdefs.h <<_ACEOF |
4871 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
4607 | #define HAVE_GL_GLU_H 1 |
4872 | _ACEOF |
4608 | _ACEOF |
4873 | |
4609 | |
4874 | { echo "$as_me:$LINENO: checking for X" >&5 |
4610 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5 |
4875 | echo $ECHO_N "checking for X... $ECHO_C" >&6; } |
4611 | $as_echo_n "checking for X... " >&6; } |
4876 | |
4612 | |
4877 | |
4613 | |
4878 | # Check whether --with-x was given. |
4614 | # Check whether --with-x was given. |
4879 | if test "${with_x+set}" = set; then |
4615 | if test "${with_x+set}" = set; then : |
4880 | withval=$with_x; |
4616 | withval=$with_x; |
4881 | fi |
4617 | fi |
4882 | |
4618 | |
4883 | # $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. |
4884 | if test "x$with_x" = xno; then |
4620 | if test "x$with_x" = xno; then |
4885 | # The user explicitly disabled X. |
4621 | # The user explicitly disabled X. |
4886 | have_x=disabled |
4622 | have_x=disabled |
4887 | else |
4623 | else |
4888 | case $x_includes,$x_libraries in #( |
4624 | case $x_includes,$x_libraries in #( |
4889 | *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5 |
4625 | *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #( |
4890 | echo "$as_me: error: Cannot use X directory names containing '" >&2;} |
|
|
4891 | { (exit 1); exit 1; }; };; #( |
|
|
4892 | *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then |
4626 | *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then : |
4893 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4627 | $as_echo_n "(cached) " >&6 |
4894 | else |
4628 | else |
4895 | # 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. |
4896 | ac_x_includes=no ac_x_libraries=no |
4630 | ac_x_includes=no ac_x_libraries=no |
4897 | rm -f -r conftest.dir |
4631 | rm -f -r conftest.dir |
4898 | if mkdir conftest.dir; then |
4632 | if mkdir conftest.dir; then |
… | |
… | |
4904 | @echo usrlibdir='${USRLIBDIR}' |
4638 | @echo usrlibdir='${USRLIBDIR}' |
4905 | libdir: |
4639 | libdir: |
4906 | @echo libdir='${LIBDIR}' |
4640 | @echo libdir='${LIBDIR}' |
4907 | _ACEOF |
4641 | _ACEOF |
4908 | 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 |
4909 | # GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
4643 | # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. |
4910 | for ac_var in incroot usrlibdir libdir; do |
4644 | for ac_var in incroot usrlibdir libdir; do |
4911 | 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'\`" |
4912 | done |
4646 | done |
4913 | # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR. |
4647 | # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR. |
4914 | for ac_extension in a so sl; do |
4648 | for ac_extension in a so sl dylib la dll; do |
4915 | if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" && |
4649 | if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" && |
4916 | test -f "$ac_im_libdir/libX11.$ac_extension"; then |
4650 | test -f "$ac_im_libdir/libX11.$ac_extension"; then |
4917 | ac_im_usrlibdir=$ac_im_libdir; break |
4651 | ac_im_usrlibdir=$ac_im_libdir; break |
4918 | fi |
4652 | fi |
4919 | done |
4653 | done |
… | |
… | |
4923 | case $ac_im_incroot in |
4657 | case $ac_im_incroot in |
4924 | /usr/include) ac_x_includes= ;; |
4658 | /usr/include) ac_x_includes= ;; |
4925 | *) 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;; |
4926 | esac |
4660 | esac |
4927 | case $ac_im_usrlibdir in |
4661 | case $ac_im_usrlibdir in |
4928 | /usr/lib | /lib) ;; |
4662 | /usr/lib | /usr/lib64 | /lib | /lib64) ;; |
4929 | *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;; |
4663 | *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;; |
4930 | esac |
4664 | esac |
4931 | fi |
4665 | fi |
4932 | cd .. |
4666 | cd .. |
4933 | rm -f -r conftest.dir |
4667 | rm -f -r conftest.dir |
… | |
… | |
4935 | |
4669 | |
4936 | # Standard set of common directories for X headers. |
4670 | # Standard set of common directories for X headers. |
4937 | # 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. |
4938 | ac_x_header_dirs=' |
4672 | ac_x_header_dirs=' |
4939 | /usr/X11/include |
4673 | /usr/X11/include |
|
|
4674 | /usr/X11R7/include |
4940 | /usr/X11R6/include |
4675 | /usr/X11R6/include |
4941 | /usr/X11R5/include |
4676 | /usr/X11R5/include |
4942 | /usr/X11R4/include |
4677 | /usr/X11R4/include |
4943 | |
4678 | |
4944 | /usr/include/X11 |
4679 | /usr/include/X11 |
|
|
4680 | /usr/include/X11R7 |
4945 | /usr/include/X11R6 |
4681 | /usr/include/X11R6 |
4946 | /usr/include/X11R5 |
4682 | /usr/include/X11R5 |
4947 | /usr/include/X11R4 |
4683 | /usr/include/X11R4 |
4948 | |
4684 | |
4949 | /usr/local/X11/include |
4685 | /usr/local/X11/include |
|
|
4686 | /usr/local/X11R7/include |
4950 | /usr/local/X11R6/include |
4687 | /usr/local/X11R6/include |
4951 | /usr/local/X11R5/include |
4688 | /usr/local/X11R5/include |
4952 | /usr/local/X11R4/include |
4689 | /usr/local/X11R4/include |
4953 | |
4690 | |
4954 | /usr/local/include/X11 |
4691 | /usr/local/include/X11 |
|
|
4692 | /usr/local/include/X11R7 |
4955 | /usr/local/include/X11R6 |
4693 | /usr/local/include/X11R6 |
4956 | /usr/local/include/X11R5 |
4694 | /usr/local/include/X11R5 |
4957 | /usr/local/include/X11R4 |
4695 | /usr/local/include/X11R4 |
4958 | |
4696 | |
4959 | /usr/X386/include |
4697 | /usr/X386/include |
… | |
… | |
4971 | /usr/openwin/share/include' |
4709 | /usr/openwin/share/include' |
4972 | |
4710 | |
4973 | if test "$ac_x_includes" = no; then |
4711 | if test "$ac_x_includes" = no; then |
4974 | # Guess where to find include files, by looking for Xlib.h. |
4712 | # Guess where to find include files, by looking for Xlib.h. |
4975 | # First, try using that file with no special directory specified. |
4713 | # First, try using that file with no special directory specified. |
4976 | cat >conftest.$ac_ext <<_ACEOF |
|
|
4977 | /* confdefs.h. */ |
|
|
4978 | _ACEOF |
|
|
4979 | cat confdefs.h >>conftest.$ac_ext |
4714 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4980 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
4981 | /* end confdefs.h. */ |
4715 | /* end confdefs.h. */ |
4982 | #include <X11/Xlib.h> |
4716 | #include <X11/Xlib.h> |
4983 | _ACEOF |
4717 | _ACEOF |
4984 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
4718 | if ac_fn_cxx_try_cpp "$LINENO"; then : |
4985 | case "(($ac_try" in |
|
|
4986 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
4987 | *) ac_try_echo=$ac_try;; |
|
|
4988 | esac |
|
|
4989 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
4990 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
|
|
4991 | ac_status=$? |
|
|
4992 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
4993 | rm -f conftest.er1 |
|
|
4994 | cat conftest.err >&5 |
|
|
4995 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4996 | (exit $ac_status); } >/dev/null && { |
|
|
4997 | test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
|
|
4998 | test ! -s conftest.err |
|
|
4999 | }; then |
|
|
5000 | # We can compile using X headers with no special include directory. |
4719 | # We can compile using X headers with no special include directory. |
5001 | ac_x_includes= |
4720 | ac_x_includes= |
5002 | else |
4721 | else |
5003 | echo "$as_me: failed program was:" >&5 |
|
|
5004 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5005 | |
|
|
5006 | for ac_dir in $ac_x_header_dirs; do |
4722 | for ac_dir in $ac_x_header_dirs; do |
5007 | if test -r "$ac_dir/X11/Xlib.h"; then |
4723 | if test -r "$ac_dir/X11/Xlib.h"; then |
5008 | ac_x_includes=$ac_dir |
4724 | ac_x_includes=$ac_dir |
5009 | break |
4725 | break |
5010 | fi |
4726 | fi |
5011 | done |
4727 | done |
5012 | fi |
4728 | fi |
5013 | |
|
|
5014 | rm -f conftest.err conftest.$ac_ext |
4729 | rm -f conftest.err conftest.i conftest.$ac_ext |
5015 | fi # $ac_x_includes = no |
4730 | fi # $ac_x_includes = no |
5016 | |
4731 | |
5017 | if test "$ac_x_libraries" = no; then |
4732 | if test "$ac_x_libraries" = no; then |
5018 | # Check for the libraries. |
4733 | # Check for the libraries. |
5019 | # See if we find them without any special options. |
4734 | # See if we find them without any special options. |
5020 | # Don't add to $LIBS permanently. |
4735 | # Don't add to $LIBS permanently. |
5021 | ac_save_LIBS=$LIBS |
4736 | ac_save_LIBS=$LIBS |
5022 | LIBS="-lX11 $LIBS" |
4737 | LIBS="-lX11 $LIBS" |
5023 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5024 | /* confdefs.h. */ |
|
|
5025 | _ACEOF |
|
|
5026 | cat confdefs.h >>conftest.$ac_ext |
4738 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5027 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5028 | /* end confdefs.h. */ |
4739 | /* end confdefs.h. */ |
5029 | #include <X11/Xlib.h> |
4740 | #include <X11/Xlib.h> |
5030 | int |
4741 | int |
5031 | main () |
4742 | main () |
5032 | { |
4743 | { |
5033 | XrmInitialize () |
4744 | XrmInitialize () |
5034 | ; |
4745 | ; |
5035 | return 0; |
4746 | return 0; |
5036 | } |
4747 | } |
5037 | _ACEOF |
4748 | _ACEOF |
5038 | rm -f conftest.$ac_objext conftest$ac_exeext |
4749 | if ac_fn_cxx_try_link "$LINENO"; then : |
5039 | if { (ac_try="$ac_link" |
|
|
5040 | case "(($ac_try" in |
|
|
5041 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5042 | *) ac_try_echo=$ac_try;; |
|
|
5043 | esac |
|
|
5044 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5045 | (eval "$ac_link") 2>conftest.er1 |
|
|
5046 | ac_status=$? |
|
|
5047 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5048 | rm -f conftest.er1 |
|
|
5049 | cat conftest.err >&5 |
|
|
5050 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5051 | (exit $ac_status); } && { |
|
|
5052 | test -z "$ac_cxx_werror_flag" || |
|
|
5053 | test ! -s conftest.err |
|
|
5054 | } && test -s conftest$ac_exeext && |
|
|
5055 | $as_test_x conftest$ac_exeext; then |
|
|
5056 | LIBS=$ac_save_LIBS |
4750 | LIBS=$ac_save_LIBS |
5057 | # We can link X programs with no special library path. |
4751 | # We can link X programs with no special library path. |
5058 | ac_x_libraries= |
4752 | ac_x_libraries= |
5059 | else |
4753 | else |
5060 | echo "$as_me: failed program was:" >&5 |
|
|
5061 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5062 | |
|
|
5063 | LIBS=$ac_save_LIBS |
4754 | LIBS=$ac_save_LIBS |
5064 | 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` |
5065 | do |
4756 | do |
5066 | # 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! |
5067 | for ac_extension in a so sl; do |
4758 | for ac_extension in a so sl dylib la dll; do |
5068 | if test -r "$ac_dir/libX11.$ac_extension"; then |
4759 | if test -r "$ac_dir/libX11.$ac_extension"; then |
5069 | ac_x_libraries=$ac_dir |
4760 | ac_x_libraries=$ac_dir |
5070 | break 2 |
4761 | break 2 |
5071 | fi |
4762 | fi |
5072 | done |
4763 | done |
5073 | done |
4764 | done |
5074 | fi |
4765 | fi |
5075 | |
|
|
5076 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
4766 | rm -f core conftest.err conftest.$ac_objext \ |
5077 | conftest$ac_exeext conftest.$ac_ext |
4767 | conftest$ac_exeext conftest.$ac_ext |
5078 | fi # $ac_x_libraries = no |
4768 | fi # $ac_x_libraries = no |
5079 | |
4769 | |
5080 | case $ac_x_includes,$ac_x_libraries in #( |
4770 | case $ac_x_includes,$ac_x_libraries in #( |
5081 | no,* | *,no | *\'*) |
4771 | no,* | *,no | *\'*) |
5082 | # Didn't find X, or a directory has "'" in its name. |
4772 | # Didn't find X, or a directory has "'" in its name. |
… | |
… | |
5093 | esac |
4783 | esac |
5094 | eval "$ac_cv_have_x" |
4784 | eval "$ac_cv_have_x" |
5095 | fi # $with_x != no |
4785 | fi # $with_x != no |
5096 | |
4786 | |
5097 | if test "$have_x" != yes; then |
4787 | if test "$have_x" != yes; then |
5098 | { echo "$as_me:$LINENO: result: $have_x" >&5 |
4788 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5 |
5099 | echo "${ECHO_T}$have_x" >&6; } |
4789 | $as_echo "$have_x" >&6; } |
5100 | no_x=yes |
4790 | no_x=yes |
5101 | else |
4791 | else |
5102 | # 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. |
5103 | test "x$x_includes" = xNONE && x_includes=$ac_x_includes |
4793 | test "x$x_includes" = xNONE && x_includes=$ac_x_includes |
5104 | test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries |
4794 | test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries |
5105 | # Update the cache value to reflect the command line values. |
4795 | # Update the cache value to reflect the command line values. |
5106 | ac_cv_have_x="have_x=yes\ |
4796 | ac_cv_have_x="have_x=yes\ |
5107 | ac_x_includes='$x_includes'\ |
4797 | ac_x_includes='$x_includes'\ |
5108 | ac_x_libraries='$x_libraries'" |
4798 | ac_x_libraries='$x_libraries'" |
5109 | { 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 |
5110 | echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; } |
4800 | $as_echo "libraries $x_libraries, headers $x_includes" >&6; } |
5111 | fi |
4801 | fi |
5112 | |
4802 | |
5113 | CPPFLAGS="$CPPFLAGS -I$x_includes" |
4803 | CPPFLAGS="$CPPFLAGS" |
5114 | LIBS="$LIBS -L$x_libraries -lX11" |
4804 | LIBS="$LIBS -lX11" |
5115 | { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5 |
4805 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5 |
5116 | echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; } |
4806 | $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; } |
5117 | if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then |
4807 | if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then : |
5118 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4808 | $as_echo_n "(cached) " >&6 |
5119 | else |
4809 | else |
5120 | ac_check_lib_save_LIBS=$LIBS |
4810 | ac_check_lib_save_LIBS=$LIBS |
5121 | LIBS="-lXext $LIBS" |
4811 | LIBS="-lXext $LIBS" |
5122 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5123 | /* confdefs.h. */ |
|
|
5124 | _ACEOF |
|
|
5125 | cat confdefs.h >>conftest.$ac_ext |
4812 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5126 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5127 | /* end confdefs.h. */ |
4813 | /* end confdefs.h. */ |
5128 | |
4814 | |
5129 | /* Override any GCC internal prototype to avoid an error. |
4815 | /* Override any GCC internal prototype to avoid an error. |
5130 | 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 |
5131 | builtin and then its argument prototype would still apply. */ |
4817 | builtin and then its argument prototype would still apply. */ |
… | |
… | |
5139 | return XShapeQueryExtension (); |
4825 | return XShapeQueryExtension (); |
5140 | ; |
4826 | ; |
5141 | return 0; |
4827 | return 0; |
5142 | } |
4828 | } |
5143 | _ACEOF |
4829 | _ACEOF |
5144 | rm -f conftest.$ac_objext conftest$ac_exeext |
4830 | if ac_fn_cxx_try_link "$LINENO"; then : |
5145 | if { (ac_try="$ac_link" |
|
|
5146 | case "(($ac_try" in |
|
|
5147 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5148 | *) ac_try_echo=$ac_try;; |
|
|
5149 | esac |
|
|
5150 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5151 | (eval "$ac_link") 2>conftest.er1 |
|
|
5152 | ac_status=$? |
|
|
5153 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5154 | rm -f conftest.er1 |
|
|
5155 | cat conftest.err >&5 |
|
|
5156 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5157 | (exit $ac_status); } && { |
|
|
5158 | test -z "$ac_cxx_werror_flag" || |
|
|
5159 | test ! -s conftest.err |
|
|
5160 | } && test -s conftest$ac_exeext && |
|
|
5161 | $as_test_x conftest$ac_exeext; then |
|
|
5162 | ac_cv_lib_Xext_XShapeQueryExtension=yes |
4831 | ac_cv_lib_Xext_XShapeQueryExtension=yes |
5163 | else |
4832 | else |
5164 | echo "$as_me: failed program was:" >&5 |
|
|
5165 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5166 | |
|
|
5167 | ac_cv_lib_Xext_XShapeQueryExtension=no |
4833 | ac_cv_lib_Xext_XShapeQueryExtension=no |
5168 | fi |
4834 | fi |
5169 | |
|
|
5170 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
4835 | rm -f core conftest.err conftest.$ac_objext \ |
5171 | conftest$ac_exeext conftest.$ac_ext |
4836 | conftest$ac_exeext conftest.$ac_ext |
5172 | LIBS=$ac_check_lib_save_LIBS |
4837 | LIBS=$ac_check_lib_save_LIBS |
5173 | fi |
4838 | fi |
5174 | { 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 |
5175 | echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; } |
4840 | $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; } |
5176 | if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then |
4841 | if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then : |
5177 | |
4842 | |
5178 | LIBS="$LIBS -lXext" |
4843 | LIBS="$LIBS -lXext" |
5179 | { echo "$as_me:$LINENO: checking for glBegin in -lGL" >&5 |
4844 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glBegin in -lGL" >&5 |
5180 | echo $ECHO_N "checking for glBegin in -lGL... $ECHO_C" >&6; } |
4845 | $as_echo_n "checking for glBegin in -lGL... " >&6; } |
5181 | if test "${ac_cv_lib_GL_glBegin+set}" = set; then |
4846 | if ${ac_cv_lib_GL_glBegin+:} false; then : |
5182 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4847 | $as_echo_n "(cached) " >&6 |
5183 | else |
4848 | else |
5184 | ac_check_lib_save_LIBS=$LIBS |
4849 | ac_check_lib_save_LIBS=$LIBS |
5185 | LIBS="-lGL $LIBS -lpthread $LIBS" |
4850 | LIBS="-lGL $LIBS -lpthread $LIBS" |
5186 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5187 | /* confdefs.h. */ |
|
|
5188 | _ACEOF |
|
|
5189 | cat confdefs.h >>conftest.$ac_ext |
4851 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5190 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5191 | /* end confdefs.h. */ |
4852 | /* end confdefs.h. */ |
5192 | |
4853 | |
5193 | /* Override any GCC internal prototype to avoid an error. |
4854 | /* Override any GCC internal prototype to avoid an error. |
5194 | 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 |
5195 | builtin and then its argument prototype would still apply. */ |
4856 | builtin and then its argument prototype would still apply. */ |
… | |
… | |
5203 | return glBegin (); |
4864 | return glBegin (); |
5204 | ; |
4865 | ; |
5205 | return 0; |
4866 | return 0; |
5206 | } |
4867 | } |
5207 | _ACEOF |
4868 | _ACEOF |
5208 | rm -f conftest.$ac_objext conftest$ac_exeext |
4869 | if ac_fn_cxx_try_link "$LINENO"; then : |
5209 | if { (ac_try="$ac_link" |
|
|
5210 | case "(($ac_try" in |
|
|
5211 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5212 | *) ac_try_echo=$ac_try;; |
|
|
5213 | esac |
|
|
5214 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5215 | (eval "$ac_link") 2>conftest.er1 |
|
|
5216 | ac_status=$? |
|
|
5217 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5218 | rm -f conftest.er1 |
|
|
5219 | cat conftest.err >&5 |
|
|
5220 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5221 | (exit $ac_status); } && { |
|
|
5222 | test -z "$ac_cxx_werror_flag" || |
|
|
5223 | test ! -s conftest.err |
|
|
5224 | } && test -s conftest$ac_exeext && |
|
|
5225 | $as_test_x conftest$ac_exeext; then |
|
|
5226 | ac_cv_lib_GL_glBegin=yes |
4870 | ac_cv_lib_GL_glBegin=yes |
5227 | else |
4871 | else |
5228 | echo "$as_me: failed program was:" >&5 |
|
|
5229 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5230 | |
|
|
5231 | ac_cv_lib_GL_glBegin=no |
4872 | ac_cv_lib_GL_glBegin=no |
5232 | fi |
4873 | fi |
5233 | |
|
|
5234 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
4874 | rm -f core conftest.err conftest.$ac_objext \ |
5235 | conftest$ac_exeext conftest.$ac_ext |
4875 | conftest$ac_exeext conftest.$ac_ext |
5236 | LIBS=$ac_check_lib_save_LIBS |
4876 | LIBS=$ac_check_lib_save_LIBS |
5237 | fi |
4877 | fi |
5238 | { 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 |
5239 | echo "${ECHO_T}$ac_cv_lib_GL_glBegin" >&6; } |
4879 | $as_echo "$ac_cv_lib_GL_glBegin" >&6; } |
5240 | if test $ac_cv_lib_GL_glBegin = yes; then |
4880 | if test "x$ac_cv_lib_GL_glBegin" = xyes; then : |
5241 | |
4881 | |
5242 | { echo "$as_me:$LINENO: checking for gluCylinder in -lGLU" >&5 |
4882 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluCylinder in -lGLU" >&5 |
5243 | echo $ECHO_N "checking for gluCylinder in -lGLU... $ECHO_C" >&6; } |
4883 | $as_echo_n "checking for gluCylinder in -lGLU... " >&6; } |
5244 | if test "${ac_cv_lib_GLU_gluCylinder+set}" = set; then |
4884 | if ${ac_cv_lib_GLU_gluCylinder+:} false; then : |
5245 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4885 | $as_echo_n "(cached) " >&6 |
5246 | else |
4886 | else |
5247 | ac_check_lib_save_LIBS=$LIBS |
4887 | ac_check_lib_save_LIBS=$LIBS |
5248 | LIBS="-lGLU $LIBS -lGL -lpthread $LIBS" |
4888 | LIBS="-lGLU $LIBS -lGL -lpthread $LIBS" |
5249 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5250 | /* confdefs.h. */ |
|
|
5251 | _ACEOF |
|
|
5252 | cat confdefs.h >>conftest.$ac_ext |
4889 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5253 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5254 | /* end confdefs.h. */ |
4890 | /* end confdefs.h. */ |
5255 | |
4891 | |
5256 | /* Override any GCC internal prototype to avoid an error. |
4892 | /* Override any GCC internal prototype to avoid an error. |
5257 | 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 |
5258 | builtin and then its argument prototype would still apply. */ |
4894 | builtin and then its argument prototype would still apply. */ |
… | |
… | |
5266 | return gluCylinder (); |
4902 | return gluCylinder (); |
5267 | ; |
4903 | ; |
5268 | return 0; |
4904 | return 0; |
5269 | } |
4905 | } |
5270 | _ACEOF |
4906 | _ACEOF |
5271 | rm -f conftest.$ac_objext conftest$ac_exeext |
4907 | if ac_fn_cxx_try_link "$LINENO"; then : |
5272 | if { (ac_try="$ac_link" |
|
|
5273 | case "(($ac_try" in |
|
|
5274 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5275 | *) ac_try_echo=$ac_try;; |
|
|
5276 | esac |
|
|
5277 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5278 | (eval "$ac_link") 2>conftest.er1 |
|
|
5279 | ac_status=$? |
|
|
5280 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5281 | rm -f conftest.er1 |
|
|
5282 | cat conftest.err >&5 |
|
|
5283 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5284 | (exit $ac_status); } && { |
|
|
5285 | test -z "$ac_cxx_werror_flag" || |
|
|
5286 | test ! -s conftest.err |
|
|
5287 | } && test -s conftest$ac_exeext && |
|
|
5288 | $as_test_x conftest$ac_exeext; then |
|
|
5289 | ac_cv_lib_GLU_gluCylinder=yes |
4908 | ac_cv_lib_GLU_gluCylinder=yes |
5290 | else |
4909 | else |
5291 | echo "$as_me: failed program was:" >&5 |
|
|
5292 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5293 | |
|
|
5294 | ac_cv_lib_GLU_gluCylinder=no |
4910 | ac_cv_lib_GLU_gluCylinder=no |
5295 | fi |
4911 | fi |
5296 | |
|
|
5297 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
4912 | rm -f core conftest.err conftest.$ac_objext \ |
5298 | conftest$ac_exeext conftest.$ac_ext |
4913 | conftest$ac_exeext conftest.$ac_ext |
5299 | LIBS=$ac_check_lib_save_LIBS |
4914 | LIBS=$ac_check_lib_save_LIBS |
5300 | fi |
4915 | fi |
5301 | { 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 |
5302 | echo "${ECHO_T}$ac_cv_lib_GLU_gluCylinder" >&6; } |
4917 | $as_echo "$ac_cv_lib_GLU_gluCylinder" >&6; } |
5303 | if test $ac_cv_lib_GLU_gluCylinder = yes; then |
4918 | if test "x$ac_cv_lib_GLU_gluCylinder" = xyes; then : |
5304 | |
4919 | |
5305 | LIBS="$LIBS -lGL -lGLU -lpthread" |
4920 | LIBS="$LIBS -lGL -lGLU -lpthread" |
5306 | have_gl=1 |
4921 | have_gl=1 |
5307 | |
4922 | |
5308 | fi |
4923 | fi |
5309 | |
4924 | |
5310 | |
4925 | |
5311 | fi |
4926 | fi |
5312 | |
4927 | |
5313 | { 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 |
5314 | echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; } |
4929 | $as_echo_n "checking for pthread_create in -lpthread... " >&6; } |
5315 | if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then |
4930 | if ${ac_cv_lib_pthread_pthread_create+:} false; then : |
5316 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4931 | $as_echo_n "(cached) " >&6 |
5317 | else |
4932 | else |
5318 | ac_check_lib_save_LIBS=$LIBS |
4933 | ac_check_lib_save_LIBS=$LIBS |
5319 | LIBS="-lpthread $LIBS" |
4934 | LIBS="-lpthread $LIBS" |
5320 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5321 | /* confdefs.h. */ |
|
|
5322 | _ACEOF |
|
|
5323 | cat confdefs.h >>conftest.$ac_ext |
4935 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5324 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5325 | /* end confdefs.h. */ |
4936 | /* end confdefs.h. */ |
5326 | |
4937 | |
5327 | /* Override any GCC internal prototype to avoid an error. |
4938 | /* Override any GCC internal prototype to avoid an error. |
5328 | 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 |
5329 | builtin and then its argument prototype would still apply. */ |
4940 | builtin and then its argument prototype would still apply. */ |
… | |
… | |
5337 | return pthread_create (); |
4948 | return pthread_create (); |
5338 | ; |
4949 | ; |
5339 | return 0; |
4950 | return 0; |
5340 | } |
4951 | } |
5341 | _ACEOF |
4952 | _ACEOF |
5342 | rm -f conftest.$ac_objext conftest$ac_exeext |
4953 | if ac_fn_cxx_try_link "$LINENO"; then : |
5343 | if { (ac_try="$ac_link" |
|
|
5344 | case "(($ac_try" in |
|
|
5345 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5346 | *) ac_try_echo=$ac_try;; |
|
|
5347 | esac |
|
|
5348 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5349 | (eval "$ac_link") 2>conftest.er1 |
|
|
5350 | ac_status=$? |
|
|
5351 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5352 | rm -f conftest.er1 |
|
|
5353 | cat conftest.err >&5 |
|
|
5354 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5355 | (exit $ac_status); } && { |
|
|
5356 | test -z "$ac_cxx_werror_flag" || |
|
|
5357 | test ! -s conftest.err |
|
|
5358 | } && test -s conftest$ac_exeext && |
|
|
5359 | $as_test_x conftest$ac_exeext; then |
|
|
5360 | ac_cv_lib_pthread_pthread_create=yes |
4954 | ac_cv_lib_pthread_pthread_create=yes |
5361 | else |
4955 | else |
5362 | echo "$as_me: failed program was:" >&5 |
|
|
5363 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5364 | |
|
|
5365 | ac_cv_lib_pthread_pthread_create=no |
4956 | ac_cv_lib_pthread_pthread_create=no |
5366 | fi |
4957 | fi |
5367 | |
|
|
5368 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
4958 | rm -f core conftest.err conftest.$ac_objext \ |
5369 | conftest$ac_exeext conftest.$ac_ext |
4959 | conftest$ac_exeext conftest.$ac_ext |
5370 | LIBS=$ac_check_lib_save_LIBS |
4960 | LIBS=$ac_check_lib_save_LIBS |
5371 | fi |
4961 | fi |
5372 | { 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 |
5373 | echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; } |
4963 | $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; } |
5374 | if test $ac_cv_lib_pthread_pthread_create = yes; then |
4964 | if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then : |
5375 | PTHREAD=-lpthread |
4965 | PTHREAD=-lpthread |
5376 | fi |
4966 | fi |
5377 | |
4967 | |
5378 | if test -z "$have_gl" ; then |
4968 | if test -z "$have_gl" ; then |
5379 | { echo "$as_me:$LINENO: checking for glBegin in -lMesaGL" >&5 |
4969 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glBegin in -lMesaGL" >&5 |
5380 | echo $ECHO_N "checking for glBegin in -lMesaGL... $ECHO_C" >&6; } |
4970 | $as_echo_n "checking for glBegin in -lMesaGL... " >&6; } |
5381 | if test "${ac_cv_lib_MesaGL_glBegin+set}" = set; then |
4971 | if ${ac_cv_lib_MesaGL_glBegin+:} false; then : |
5382 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4972 | $as_echo_n "(cached) " >&6 |
5383 | else |
4973 | else |
5384 | ac_check_lib_save_LIBS=$LIBS |
4974 | ac_check_lib_save_LIBS=$LIBS |
5385 | LIBS="-lMesaGL $PTHREAD $LIBS" |
4975 | LIBS="-lMesaGL $PTHREAD $LIBS" |
5386 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5387 | /* confdefs.h. */ |
|
|
5388 | _ACEOF |
|
|
5389 | cat confdefs.h >>conftest.$ac_ext |
4976 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5390 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5391 | /* end confdefs.h. */ |
4977 | /* end confdefs.h. */ |
5392 | |
4978 | |
5393 | /* Override any GCC internal prototype to avoid an error. |
4979 | /* Override any GCC internal prototype to avoid an error. |
5394 | 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 |
5395 | builtin and then its argument prototype would still apply. */ |
4981 | builtin and then its argument prototype would still apply. */ |
… | |
… | |
5403 | return glBegin (); |
4989 | return glBegin (); |
5404 | ; |
4990 | ; |
5405 | return 0; |
4991 | return 0; |
5406 | } |
4992 | } |
5407 | _ACEOF |
4993 | _ACEOF |
5408 | rm -f conftest.$ac_objext conftest$ac_exeext |
4994 | if ac_fn_cxx_try_link "$LINENO"; then : |
5409 | if { (ac_try="$ac_link" |
|
|
5410 | case "(($ac_try" in |
|
|
5411 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5412 | *) ac_try_echo=$ac_try;; |
|
|
5413 | esac |
|
|
5414 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5415 | (eval "$ac_link") 2>conftest.er1 |
|
|
5416 | ac_status=$? |
|
|
5417 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5418 | rm -f conftest.er1 |
|
|
5419 | cat conftest.err >&5 |
|
|
5420 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5421 | (exit $ac_status); } && { |
|
|
5422 | test -z "$ac_cxx_werror_flag" || |
|
|
5423 | test ! -s conftest.err |
|
|
5424 | } && test -s conftest$ac_exeext && |
|
|
5425 | $as_test_x conftest$ac_exeext; then |
|
|
5426 | ac_cv_lib_MesaGL_glBegin=yes |
4995 | ac_cv_lib_MesaGL_glBegin=yes |
5427 | else |
4996 | else |
5428 | echo "$as_me: failed program was:" >&5 |
|
|
5429 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5430 | |
|
|
5431 | ac_cv_lib_MesaGL_glBegin=no |
4997 | ac_cv_lib_MesaGL_glBegin=no |
5432 | fi |
4998 | fi |
5433 | |
|
|
5434 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
4999 | rm -f core conftest.err conftest.$ac_objext \ |
5435 | conftest$ac_exeext conftest.$ac_ext |
5000 | conftest$ac_exeext conftest.$ac_ext |
5436 | LIBS=$ac_check_lib_save_LIBS |
5001 | LIBS=$ac_check_lib_save_LIBS |
5437 | fi |
5002 | fi |
5438 | { 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 |
5439 | echo "${ECHO_T}$ac_cv_lib_MesaGL_glBegin" >&6; } |
5004 | $as_echo "$ac_cv_lib_MesaGL_glBegin" >&6; } |
5440 | if test $ac_cv_lib_MesaGL_glBegin = yes; then |
5005 | if test "x$ac_cv_lib_MesaGL_glBegin" = xyes; then : |
5441 | |
5006 | |
5442 | { echo "$as_me:$LINENO: checking for gluCylinder in -lMesaGLU" >&5 |
5007 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluCylinder in -lMesaGLU" >&5 |
5443 | echo $ECHO_N "checking for gluCylinder in -lMesaGLU... $ECHO_C" >&6; } |
5008 | $as_echo_n "checking for gluCylinder in -lMesaGLU... " >&6; } |
5444 | if test "${ac_cv_lib_MesaGLU_gluCylinder+set}" = set; then |
5009 | if ${ac_cv_lib_MesaGLU_gluCylinder+:} false; then : |
5445 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5010 | $as_echo_n "(cached) " >&6 |
5446 | else |
5011 | else |
5447 | ac_check_lib_save_LIBS=$LIBS |
5012 | ac_check_lib_save_LIBS=$LIBS |
5448 | LIBS="-lMesaGLU -lMesaGL $PTHREAD $LIBS" |
5013 | LIBS="-lMesaGLU -lMesaGL $PTHREAD $LIBS" |
5449 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5450 | /* confdefs.h. */ |
|
|
5451 | _ACEOF |
|
|
5452 | cat confdefs.h >>conftest.$ac_ext |
5014 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5453 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5454 | /* end confdefs.h. */ |
5015 | /* end confdefs.h. */ |
5455 | |
5016 | |
5456 | /* Override any GCC internal prototype to avoid an error. |
5017 | /* Override any GCC internal prototype to avoid an error. |
5457 | 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 |
5458 | builtin and then its argument prototype would still apply. */ |
5019 | builtin and then its argument prototype would still apply. */ |
… | |
… | |
5466 | return gluCylinder (); |
5027 | return gluCylinder (); |
5467 | ; |
5028 | ; |
5468 | return 0; |
5029 | return 0; |
5469 | } |
5030 | } |
5470 | _ACEOF |
5031 | _ACEOF |
5471 | rm -f conftest.$ac_objext conftest$ac_exeext |
5032 | if ac_fn_cxx_try_link "$LINENO"; then : |
5472 | if { (ac_try="$ac_link" |
|
|
5473 | case "(($ac_try" in |
|
|
5474 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5475 | *) ac_try_echo=$ac_try;; |
|
|
5476 | esac |
|
|
5477 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5478 | (eval "$ac_link") 2>conftest.er1 |
|
|
5479 | ac_status=$? |
|
|
5480 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5481 | rm -f conftest.er1 |
|
|
5482 | cat conftest.err >&5 |
|
|
5483 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5484 | (exit $ac_status); } && { |
|
|
5485 | test -z "$ac_cxx_werror_flag" || |
|
|
5486 | test ! -s conftest.err |
|
|
5487 | } && test -s conftest$ac_exeext && |
|
|
5488 | $as_test_x conftest$ac_exeext; then |
|
|
5489 | ac_cv_lib_MesaGLU_gluCylinder=yes |
5033 | ac_cv_lib_MesaGLU_gluCylinder=yes |
5490 | else |
5034 | else |
5491 | echo "$as_me: failed program was:" >&5 |
|
|
5492 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5493 | |
|
|
5494 | ac_cv_lib_MesaGLU_gluCylinder=no |
5035 | ac_cv_lib_MesaGLU_gluCylinder=no |
5495 | fi |
5036 | fi |
5496 | |
|
|
5497 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
5037 | rm -f core conftest.err conftest.$ac_objext \ |
5498 | conftest$ac_exeext conftest.$ac_ext |
5038 | conftest$ac_exeext conftest.$ac_ext |
5499 | LIBS=$ac_check_lib_save_LIBS |
5039 | LIBS=$ac_check_lib_save_LIBS |
5500 | fi |
5040 | fi |
5501 | { 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 |
5502 | echo "${ECHO_T}$ac_cv_lib_MesaGLU_gluCylinder" >&6; } |
5042 | $as_echo "$ac_cv_lib_MesaGLU_gluCylinder" >&6; } |
5503 | if test $ac_cv_lib_MesaGLU_gluCylinder = yes; then |
5043 | if test "x$ac_cv_lib_MesaGLU_gluCylinder" = xyes; then : |
5504 | |
5044 | |
5505 | LIBS="$LIBS -lMesaGL -lMesaGLU" |
5045 | LIBS="$LIBS -lMesaGL -lMesaGLU" |
5506 | have_gl=1 |
5046 | have_gl=1 |
5507 | if test -n "$PTHREAD" ; then |
5047 | if test -n "$PTHREAD" ; then |
5508 | { echo "$as_me:$LINENO: checking wether mesa requires $PTHREAD" >&5 |
5048 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking wether mesa requires $PTHREAD" >&5 |
5509 | echo $ECHO_N "checking wether mesa requires $PTHREAD... $ECHO_C" >&6; } |
5049 | $as_echo_n "checking wether mesa requires $PTHREAD... " >&6; } |
5510 | cat >conftest.$ac_ext <<_ACEOF |
5050 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5511 | /* confdefs.h. */ |
|
|
5512 | _ACEOF |
|
|
5513 | cat confdefs.h >>conftest.$ac_ext |
|
|
5514 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5515 | /* end confdefs.h. */ |
5051 | /* end confdefs.h. */ |
5516 | |
5052 | |
5517 | int |
5053 | int |
5518 | main () |
5054 | main () |
5519 | { |
5055 | { |
5520 | glBegin() |
5056 | glBegin() |
5521 | ; |
5057 | ; |
5522 | return 0; |
5058 | return 0; |
5523 | } |
5059 | } |
5524 | _ACEOF |
5060 | _ACEOF |
5525 | rm -f conftest.$ac_objext conftest$ac_exeext |
5061 | if ac_fn_cxx_try_link "$LINENO"; then : |
5526 | if { (ac_try="$ac_link" |
|
|
5527 | case "(($ac_try" in |
|
|
5528 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5529 | *) ac_try_echo=$ac_try;; |
|
|
5530 | esac |
|
|
5531 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5532 | (eval "$ac_link") 2>conftest.er1 |
|
|
5533 | ac_status=$? |
|
|
5534 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5535 | rm -f conftest.er1 |
|
|
5536 | cat conftest.err >&5 |
|
|
5537 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5538 | (exit $ac_status); } && { |
|
|
5539 | test -z "$ac_cxx_werror_flag" || |
|
|
5540 | test ! -s conftest.err |
|
|
5541 | } && test -s conftest$ac_exeext && |
|
|
5542 | $as_test_x conftest$ac_exeext; then |
|
|
5543 | { echo "$as_me:$LINENO: result: no" >&5 |
5062 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
5544 | echo "${ECHO_T}no" >&6; } |
5063 | $as_echo "no" >&6; } |
5545 | else |
5064 | else |
5546 | echo "$as_me: failed program was:" >&5 |
|
|
5547 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5548 | |
|
|
5549 | { echo "$as_me:$LINENO: result: yes" >&5 |
5065 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
5550 | echo "${ECHO_T}yes" >&6; } |
5066 | $as_echo "yes" >&6; } |
5551 | LIBS="$LIBS $PTHREAD" |
5067 | LIBS="$LIBS $PTHREAD" |
5552 | fi |
5068 | fi |
5553 | |
|
|
5554 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
5069 | rm -f core conftest.err conftest.$ac_objext \ |
5555 | conftest$ac_exeext conftest.$ac_ext |
5070 | conftest$ac_exeext conftest.$ac_ext |
5556 | fi |
5071 | fi |
5557 | |
5072 | |
5558 | fi |
5073 | fi |
5559 | |
5074 | |
5560 | |
5075 | |
… | |
… | |
5573 | fi |
5088 | fi |
5574 | |
5089 | |
5575 | done |
5090 | done |
5576 | |
5091 | |
5577 | |
5092 | |
5578 | { echo "$as_me:$LINENO: checking for opengl support" >&5 |
5093 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for opengl support" >&5 |
5579 | echo $ECHO_N "checking for opengl support... $ECHO_C" >&6; } |
5094 | $as_echo_n "checking for opengl support... " >&6; } |
5580 | if test -n "$have_gl" ; then |
5095 | if test -n "$have_gl" ; then |
5581 | { echo "$as_me:$LINENO: result: yes" >&5 |
5096 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
5582 | echo "${ECHO_T}yes" >&6; } |
5097 | $as_echo "yes" >&6; } |
5583 | |
5098 | |
5584 | cat >>confdefs.h <<\_ACEOF |
5099 | $as_echo "#define HAVE_OPENGL 1" >>confdefs.h |
5585 | #define HAVE_OPENGL 1 |
|
|
5586 | _ACEOF |
|
|
5587 | |
5100 | |
5588 | else |
5101 | else |
5589 | { echo "$as_me:$LINENO: result: no" >&5 |
5102 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
5590 | echo "${ECHO_T}no" >&6; } |
5103 | $as_echo "no" >&6; } |
5591 | fi |
5104 | fi |
5592 | |
|
|
5593 | |
|
|
5594 | |
|
|
5595 | |
|
|
5596 | |
|
|
5597 | |
|
|
5598 | |
|
|
5599 | |
5105 | |
5600 | for ac_header in vector algorithm queue map string cstring cmath |
5106 | for ac_header in vector algorithm queue map string cstring cmath |
5601 | do |
5107 | do : |
5602 | 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` |
5603 | 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" |
5604 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
5110 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
5605 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
|
|
5606 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
|
|
5607 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
5608 | fi |
|
|
5609 | ac_res=`eval echo '${'$as_ac_Header'}'` |
|
|
5610 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
|
5611 | echo "${ECHO_T}$ac_res" >&6; } |
|
|
5612 | else |
|
|
5613 | # Is the header compilable? |
|
|
5614 | { echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
|
|
5615 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
|
|
5616 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5617 | /* confdefs.h. */ |
|
|
5618 | _ACEOF |
|
|
5619 | cat confdefs.h >>conftest.$ac_ext |
|
|
5620 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5621 | /* end confdefs.h. */ |
|
|
5622 | $ac_includes_default |
|
|
5623 | #include <$ac_header> |
|
|
5624 | _ACEOF |
|
|
5625 | rm -f conftest.$ac_objext |
|
|
5626 | if { (ac_try="$ac_compile" |
|
|
5627 | case "(($ac_try" in |
|
|
5628 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5629 | *) ac_try_echo=$ac_try;; |
|
|
5630 | esac |
|
|
5631 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5632 | (eval "$ac_compile") 2>conftest.er1 |
|
|
5633 | ac_status=$? |
|
|
5634 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5635 | rm -f conftest.er1 |
|
|
5636 | cat conftest.err >&5 |
|
|
5637 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5638 | (exit $ac_status); } && { |
|
|
5639 | test -z "$ac_cxx_werror_flag" || |
|
|
5640 | test ! -s conftest.err |
|
|
5641 | } && test -s conftest.$ac_objext; then |
|
|
5642 | ac_header_compiler=yes |
|
|
5643 | else |
|
|
5644 | echo "$as_me: failed program was:" >&5 |
|
|
5645 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5646 | |
|
|
5647 | ac_header_compiler=no |
|
|
5648 | fi |
|
|
5649 | |
|
|
5650 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
5651 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
|
|
5652 | echo "${ECHO_T}$ac_header_compiler" >&6; } |
|
|
5653 | |
|
|
5654 | # Is the header present? |
|
|
5655 | { echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
|
|
5656 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
|
|
5657 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5658 | /* confdefs.h. */ |
|
|
5659 | _ACEOF |
|
|
5660 | cat confdefs.h >>conftest.$ac_ext |
|
|
5661 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5662 | /* end confdefs.h. */ |
|
|
5663 | #include <$ac_header> |
|
|
5664 | _ACEOF |
|
|
5665 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
|
|
5666 | case "(($ac_try" in |
|
|
5667 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5668 | *) ac_try_echo=$ac_try;; |
|
|
5669 | esac |
|
|
5670 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5671 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
|
|
5672 | ac_status=$? |
|
|
5673 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5674 | rm -f conftest.er1 |
|
|
5675 | cat conftest.err >&5 |
|
|
5676 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5677 | (exit $ac_status); } >/dev/null && { |
|
|
5678 | test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
|
|
5679 | test ! -s conftest.err |
|
|
5680 | }; then |
|
|
5681 | ac_header_preproc=yes |
|
|
5682 | else |
|
|
5683 | echo "$as_me: failed program was:" >&5 |
|
|
5684 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5685 | |
|
|
5686 | ac_header_preproc=no |
|
|
5687 | fi |
|
|
5688 | |
|
|
5689 | rm -f conftest.err conftest.$ac_ext |
|
|
5690 | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
|
|
5691 | echo "${ECHO_T}$ac_header_preproc" >&6; } |
|
|
5692 | |
|
|
5693 | # So? What about this header? |
|
|
5694 | case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
|
|
5695 | yes:no: ) |
|
|
5696 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
|
|
5697 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
|
|
5698 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
|
|
5699 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
|
|
5700 | ac_header_preproc=yes |
|
|
5701 | ;; |
|
|
5702 | no:yes:* ) |
|
|
5703 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
|
|
5704 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
|
|
5705 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
|
|
5706 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
|
|
5707 | { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
|
|
5708 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
|
|
5709 | { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
|
|
5710 | echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
|
|
5711 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
|
|
5712 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
|
|
5713 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
|
|
5714 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
|
|
5715 | |
|
|
5716 | ;; |
|
|
5717 | esac |
|
|
5718 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
|
|
5719 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
|
|
5720 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
|
|
5721 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
5722 | else |
|
|
5723 | eval "$as_ac_Header=\$ac_header_preproc" |
|
|
5724 | fi |
|
|
5725 | ac_res=`eval echo '${'$as_ac_Header'}'` |
|
|
5726 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
|
5727 | echo "${ECHO_T}$ac_res" >&6; } |
|
|
5728 | |
|
|
5729 | fi |
|
|
5730 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
|
|
5731 | cat >>confdefs.h <<_ACEOF |
5111 | cat >>confdefs.h <<_ACEOF |
5732 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
5112 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
5733 | _ACEOF |
5113 | _ACEOF |
5734 | |
5114 | |
5735 | fi |
5115 | fi |
5736 | |
5116 | |
5737 | done |
5117 | done |
5738 | |
5118 | |
5739 | |
5119 | |
5740 | # 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. |
5741 | set dummy antlr; ac_word=$2 |
5121 | set dummy antlr; ac_word=$2 |
5742 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5122 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
5743 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
5123 | $as_echo_n "checking for $ac_word... " >&6; } |
5744 | if test "${ac_cv_path_ANTLR+set}" = set; then |
5124 | if ${ac_cv_path_ANTLR+:} false; then : |
5745 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5125 | $as_echo_n "(cached) " >&6 |
5746 | else |
5126 | else |
5747 | case $ANTLR in |
5127 | case $ANTLR in |
5748 | [\\/]* | ?:[\\/]*) |
5128 | [\\/]* | ?:[\\/]*) |
5749 | 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. |
5750 | ;; |
5130 | ;; |
… | |
… | |
5752 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
5132 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
5753 | for as_dir in $PATH |
5133 | for as_dir in $PATH |
5754 | do |
5134 | do |
5755 | IFS=$as_save_IFS |
5135 | IFS=$as_save_IFS |
5756 | test -z "$as_dir" && as_dir=. |
5136 | test -z "$as_dir" && as_dir=. |
5757 | for ac_exec_ext in '' $ac_executable_extensions; do |
5137 | for ac_exec_ext in '' $ac_executable_extensions; do |
5758 | 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 |
5759 | ac_cv_path_ANTLR="$as_dir/$ac_word$ac_exec_ext" |
5139 | ac_cv_path_ANTLR="$as_dir/$ac_word$ac_exec_ext" |
5760 | 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 |
5761 | break 2 |
5141 | break 2 |
5762 | fi |
5142 | fi |
5763 | done |
5143 | done |
5764 | done |
5144 | done |
5765 | IFS=$as_save_IFS |
5145 | IFS=$as_save_IFS |
5766 | |
5146 | |
5767 | ;; |
5147 | ;; |
5768 | esac |
5148 | esac |
5769 | fi |
5149 | fi |
5770 | ANTLR=$ac_cv_path_ANTLR |
5150 | ANTLR=$ac_cv_path_ANTLR |
5771 | if test -n "$ANTLR"; then |
5151 | if test -n "$ANTLR"; then |
5772 | { echo "$as_me:$LINENO: result: $ANTLR" >&5 |
5152 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ANTLR" >&5 |
5773 | echo "${ECHO_T}$ANTLR" >&6; } |
5153 | $as_echo "$ANTLR" >&6; } |
5774 | else |
5154 | else |
5775 | { echo "$as_me:$LINENO: result: no" >&5 |
5155 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
5776 | echo "${ECHO_T}no" >&6; } |
5156 | $as_echo "no" >&6; } |
5777 | fi |
5157 | fi |
5778 | |
5158 | |
5779 | |
5159 | |
5780 | if test -n "$ANTLR" ; then |
5160 | if test -n "$ANTLR" ; then |
5781 | { echo "$as_me:$LINENO: checking antlr version" >&5 |
5161 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking antlr version" >&5 |
5782 | echo $ECHO_N "checking antlr version... $ECHO_C" >&6; } |
5162 | $as_echo_n "checking antlr version... " >&6; } |
5783 | 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/'` |
5784 | if test "$ANTLR_VER" = "1.33MR33" ; then |
5164 | if test "$ANTLR_VER" = "1.33MR33" ; then |
5785 | { echo "$as_me:$LINENO: result: $ANTLR_VER, ok" >&5 |
5165 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ANTLR_VER, ok" >&5 |
5786 | echo "${ECHO_T}$ANTLR_VER, ok" >&6; } |
5166 | $as_echo "$ANTLR_VER, ok" >&6; } |
5787 | # 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. |
5788 | set dummy dlg; ac_word=$2 |
5168 | set dummy dlg; ac_word=$2 |
5789 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5169 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
5790 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
5170 | $as_echo_n "checking for $ac_word... " >&6; } |
5791 | if test "${ac_cv_path_DLG+set}" = set; then |
5171 | if ${ac_cv_path_DLG+:} false; then : |
5792 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5172 | $as_echo_n "(cached) " >&6 |
5793 | else |
5173 | else |
5794 | case $DLG in |
5174 | case $DLG in |
5795 | [\\/]* | ?:[\\/]*) |
5175 | [\\/]* | ?:[\\/]*) |
5796 | 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. |
5797 | ;; |
5177 | ;; |
… | |
… | |
5799 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
5179 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
5800 | for as_dir in $PATH |
5180 | for as_dir in $PATH |
5801 | do |
5181 | do |
5802 | IFS=$as_save_IFS |
5182 | IFS=$as_save_IFS |
5803 | test -z "$as_dir" && as_dir=. |
5183 | test -z "$as_dir" && as_dir=. |
5804 | for ac_exec_ext in '' $ac_executable_extensions; do |
5184 | for ac_exec_ext in '' $ac_executable_extensions; do |
5805 | 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 |
5806 | ac_cv_path_DLG="$as_dir/$ac_word$ac_exec_ext" |
5186 | ac_cv_path_DLG="$as_dir/$ac_word$ac_exec_ext" |
5807 | 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 |
5808 | break 2 |
5188 | break 2 |
5809 | fi |
5189 | fi |
5810 | done |
5190 | done |
5811 | done |
5191 | done |
5812 | IFS=$as_save_IFS |
5192 | IFS=$as_save_IFS |
5813 | |
5193 | |
5814 | ;; |
5194 | ;; |
5815 | esac |
5195 | esac |
5816 | fi |
5196 | fi |
5817 | DLG=$ac_cv_path_DLG |
5197 | DLG=$ac_cv_path_DLG |
5818 | if test -n "$DLG"; then |
5198 | if test -n "$DLG"; then |
5819 | { echo "$as_me:$LINENO: result: $DLG" >&5 |
5199 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLG" >&5 |
5820 | echo "${ECHO_T}$DLG" >&6; } |
5200 | $as_echo "$DLG" >&6; } |
5821 | else |
5201 | else |
5822 | { echo "$as_me:$LINENO: result: no" >&5 |
5202 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
5823 | echo "${ECHO_T}no" >&6; } |
5203 | $as_echo "no" >&6; } |
5824 | fi |
5204 | fi |
5825 | |
5205 | |
5826 | |
5206 | |
5827 | if test -n "$DLG" ; then |
5207 | if test -n "$DLG" ; then |
5828 | { echo "$as_me:$LINENO: checking dlg version" >&5 |
5208 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking dlg version" >&5 |
5829 | echo $ECHO_N "checking dlg version... $ECHO_C" >&6; } |
5209 | $as_echo_n "checking dlg version... " >&6; } |
5830 | 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/'` |
5831 | if test "$DLG_VER" = "1.33MR33" ; then |
5211 | if test "$DLG_VER" = "1.33MR33" ; then |
5832 | { echo "$as_me:$LINENO: result: $DLG_VER, ok" >&5 |
5212 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLG_VER, ok" >&5 |
5833 | echo "${ECHO_T}$DLG_VER, ok" >&6; } |
5213 | $as_echo "$DLG_VER, ok" >&6; } |
5834 | HAVE_PCCTS=1 |
5214 | HAVE_PCCTS=1 |
5835 | else |
5215 | else |
5836 | { 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 |
5837 | echo "${ECHO_T}$DLG_VER, but need 1.33MR33" >&6; } |
5217 | $as_echo "$DLG_VER, but need 1.33MR33" >&6; } |
5838 | fi |
5218 | fi |
5839 | fi |
5219 | fi |
5840 | else |
5220 | else |
5841 | { 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 |
5842 | echo "${ECHO_T}$ANTLR_VER, but need 1.33MR33" >&6; } |
5222 | $as_echo "$ANTLR_VER, but need 1.33MR33" >&6; } |
5843 | fi |
5223 | fi |
5844 | fi |
5224 | fi |
5845 | |
5225 | |
5846 | |
|
|
5847 | |
|
|
5848 | if test -n "$HAVE_PCCTS"; then |
5226 | if test -n "$HAVE_PCCTS"; then |
5849 | HAVE_PCCTS_TRUE= |
5227 | HAVE_PCCTS_TRUE= |
5850 | HAVE_PCCTS_FALSE='#' |
5228 | HAVE_PCCTS_FALSE='#' |
5851 | else |
5229 | else |
5852 | HAVE_PCCTS_TRUE='#' |
5230 | HAVE_PCCTS_TRUE='#' |
5853 | HAVE_PCCTS_FALSE= |
5231 | HAVE_PCCTS_FALSE= |
5854 | fi |
5232 | fi |
5855 | |
5233 | |
5856 | |
5234 | |
5857 | |
|
|
5858 | for ac_header in getopt.h |
5235 | for ac_header in getopt.h |
5859 | do |
5236 | do : |
5860 | 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" |
5861 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
5238 | if test "x$ac_cv_header_getopt_h" = xyes; then : |
5862 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
|
|
5863 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
|
|
5864 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
|
|
5865 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
5866 | fi |
|
|
5867 | ac_res=`eval echo '${'$as_ac_Header'}'` |
|
|
5868 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
|
5869 | echo "${ECHO_T}$ac_res" >&6; } |
|
|
5870 | else |
|
|
5871 | # Is the header compilable? |
|
|
5872 | { echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
|
|
5873 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
|
|
5874 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5875 | /* confdefs.h. */ |
|
|
5876 | _ACEOF |
|
|
5877 | cat confdefs.h >>conftest.$ac_ext |
|
|
5878 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5879 | /* end confdefs.h. */ |
|
|
5880 | $ac_includes_default |
|
|
5881 | #include <$ac_header> |
|
|
5882 | _ACEOF |
|
|
5883 | rm -f conftest.$ac_objext |
|
|
5884 | if { (ac_try="$ac_compile" |
|
|
5885 | case "(($ac_try" in |
|
|
5886 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5887 | *) ac_try_echo=$ac_try;; |
|
|
5888 | esac |
|
|
5889 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5890 | (eval "$ac_compile") 2>conftest.er1 |
|
|
5891 | ac_status=$? |
|
|
5892 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5893 | rm -f conftest.er1 |
|
|
5894 | cat conftest.err >&5 |
|
|
5895 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5896 | (exit $ac_status); } && { |
|
|
5897 | test -z "$ac_cxx_werror_flag" || |
|
|
5898 | test ! -s conftest.err |
|
|
5899 | } && test -s conftest.$ac_objext; then |
|
|
5900 | ac_header_compiler=yes |
|
|
5901 | else |
|
|
5902 | echo "$as_me: failed program was:" >&5 |
|
|
5903 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5904 | |
|
|
5905 | ac_header_compiler=no |
|
|
5906 | fi |
|
|
5907 | |
|
|
5908 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
5909 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
|
|
5910 | echo "${ECHO_T}$ac_header_compiler" >&6; } |
|
|
5911 | |
|
|
5912 | # Is the header present? |
|
|
5913 | { echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
|
|
5914 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
|
|
5915 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5916 | /* confdefs.h. */ |
|
|
5917 | _ACEOF |
|
|
5918 | cat confdefs.h >>conftest.$ac_ext |
|
|
5919 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5920 | /* end confdefs.h. */ |
|
|
5921 | #include <$ac_header> |
|
|
5922 | _ACEOF |
|
|
5923 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
|
|
5924 | case "(($ac_try" in |
|
|
5925 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5926 | *) ac_try_echo=$ac_try;; |
|
|
5927 | esac |
|
|
5928 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5929 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
|
|
5930 | ac_status=$? |
|
|
5931 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5932 | rm -f conftest.er1 |
|
|
5933 | cat conftest.err >&5 |
|
|
5934 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5935 | (exit $ac_status); } >/dev/null && { |
|
|
5936 | test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
|
|
5937 | test ! -s conftest.err |
|
|
5938 | }; then |
|
|
5939 | ac_header_preproc=yes |
|
|
5940 | else |
|
|
5941 | echo "$as_me: failed program was:" >&5 |
|
|
5942 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5943 | |
|
|
5944 | ac_header_preproc=no |
|
|
5945 | fi |
|
|
5946 | |
|
|
5947 | rm -f conftest.err conftest.$ac_ext |
|
|
5948 | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
|
|
5949 | echo "${ECHO_T}$ac_header_preproc" >&6; } |
|
|
5950 | |
|
|
5951 | # So? What about this header? |
|
|
5952 | case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
|
|
5953 | yes:no: ) |
|
|
5954 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
|
|
5955 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
|
|
5956 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
|
|
5957 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
|
|
5958 | ac_header_preproc=yes |
|
|
5959 | ;; |
|
|
5960 | no:yes:* ) |
|
|
5961 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
|
|
5962 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
|
|
5963 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
|
|
5964 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
|
|
5965 | { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
|
|
5966 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
|
|
5967 | { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
|
|
5968 | echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
|
|
5969 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
|
|
5970 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
|
|
5971 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
|
|
5972 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
|
|
5973 | |
|
|
5974 | ;; |
|
|
5975 | esac |
|
|
5976 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
|
|
5977 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
|
|
5978 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
|
|
5979 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
5980 | else |
|
|
5981 | eval "$as_ac_Header=\$ac_header_preproc" |
|
|
5982 | fi |
|
|
5983 | ac_res=`eval echo '${'$as_ac_Header'}'` |
|
|
5984 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
|
5985 | echo "${ECHO_T}$ac_res" >&6; } |
|
|
5986 | |
|
|
5987 | fi |
|
|
5988 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
|
|
5989 | cat >>confdefs.h <<_ACEOF |
5239 | cat >>confdefs.h <<_ACEOF |
5990 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
5240 | #define HAVE_GETOPT_H 1 |
5991 | _ACEOF |
5241 | _ACEOF |
5992 | |
5242 | |
5993 | fi |
5243 | fi |
5994 | |
5244 | |
5995 | done |
5245 | done |
5996 | |
5246 | |
5997 | |
|
|
5998 | for ac_func in getopt_long |
5247 | for ac_func in getopt_long |
5999 | do |
5248 | do : |
6000 | 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" |
6001 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
5250 | if test "x$ac_cv_func_getopt_long" = xyes; then : |
6002 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
|
|
6003 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
|
|
6004 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
6005 | else |
|
|
6006 | cat >conftest.$ac_ext <<_ACEOF |
|
|
6007 | /* confdefs.h. */ |
|
|
6008 | _ACEOF |
|
|
6009 | cat confdefs.h >>conftest.$ac_ext |
|
|
6010 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
6011 | /* end confdefs.h. */ |
|
|
6012 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
|
|
6013 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
|
6014 | #define $ac_func innocuous_$ac_func |
|
|
6015 | |
|
|
6016 | /* System header to define __stub macros and hopefully few prototypes, |
|
|
6017 | which can conflict with char $ac_func (); below. |
|
|
6018 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
6019 | <limits.h> exists even on freestanding compilers. */ |
|
|
6020 | |
|
|
6021 | #ifdef __STDC__ |
|
|
6022 | # include <limits.h> |
|
|
6023 | #else |
|
|
6024 | # include <assert.h> |
|
|
6025 | #endif |
|
|
6026 | |
|
|
6027 | #undef $ac_func |
|
|
6028 | |
|
|
6029 | /* Override any GCC internal prototype to avoid an error. |
|
|
6030 | Use char because int might match the return type of a GCC |
|
|
6031 | builtin and then its argument prototype would still apply. */ |
|
|
6032 | #ifdef __cplusplus |
|
|
6033 | extern "C" |
|
|
6034 | #endif |
|
|
6035 | char $ac_func (); |
|
|
6036 | /* The GNU C library defines this for functions which it implements |
|
|
6037 | to always fail with ENOSYS. Some functions are actually named |
|
|
6038 | something starting with __ and the normal name is an alias. */ |
|
|
6039 | #if defined __stub_$ac_func || defined __stub___$ac_func |
|
|
6040 | choke me |
|
|
6041 | #endif |
|
|
6042 | |
|
|
6043 | int |
|
|
6044 | main () |
|
|
6045 | { |
|
|
6046 | return $ac_func (); |
|
|
6047 | ; |
|
|
6048 | return 0; |
|
|
6049 | } |
|
|
6050 | _ACEOF |
|
|
6051 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
6052 | if { (ac_try="$ac_link" |
|
|
6053 | case "(($ac_try" in |
|
|
6054 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
6055 | *) ac_try_echo=$ac_try;; |
|
|
6056 | esac |
|
|
6057 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
6058 | (eval "$ac_link") 2>conftest.er1 |
|
|
6059 | ac_status=$? |
|
|
6060 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
6061 | rm -f conftest.er1 |
|
|
6062 | cat conftest.err >&5 |
|
|
6063 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
6064 | (exit $ac_status); } && { |
|
|
6065 | test -z "$ac_cxx_werror_flag" || |
|
|
6066 | test ! -s conftest.err |
|
|
6067 | } && test -s conftest$ac_exeext && |
|
|
6068 | $as_test_x conftest$ac_exeext; then |
|
|
6069 | eval "$as_ac_var=yes" |
|
|
6070 | else |
|
|
6071 | echo "$as_me: failed program was:" >&5 |
|
|
6072 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
6073 | |
|
|
6074 | eval "$as_ac_var=no" |
|
|
6075 | fi |
|
|
6076 | |
|
|
6077 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
|
6078 | conftest$ac_exeext conftest.$ac_ext |
|
|
6079 | fi |
|
|
6080 | ac_res=`eval echo '${'$as_ac_var'}'` |
|
|
6081 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
|
6082 | echo "${ECHO_T}$ac_res" >&6; } |
|
|
6083 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
|
|
6084 | cat >>confdefs.h <<_ACEOF |
5251 | cat >>confdefs.h <<_ACEOF |
6085 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
5252 | #define HAVE_GETOPT_LONG 1 |
6086 | _ACEOF |
5253 | _ACEOF |
6087 | |
5254 | |
6088 | else |
5255 | else |
6089 | case " $LIBOBJS " in |
5256 | case " $LIBOBJS " in |
6090 | *" getopt.$ac_objext "* ) ;; |
5257 | *" getopt.$ac_objext "* ) ;; |
… | |
… | |
6128 | 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 |
6129 | eval ac_val=\$$ac_var |
5296 | eval ac_val=\$$ac_var |
6130 | case $ac_val in #( |
5297 | case $ac_val in #( |
6131 | *${as_nl}*) |
5298 | *${as_nl}*) |
6132 | case $ac_var in #( |
5299 | case $ac_var in #( |
6133 | *_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 |
6134 | 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;} ;; |
6135 | esac |
5302 | esac |
6136 | case $ac_var in #( |
5303 | case $ac_var in #( |
6137 | _ | IFS | as_nl) ;; #( |
5304 | _ | IFS | as_nl) ;; #( |
6138 | *) $as_unset $ac_var ;; |
5305 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
|
|
5306 | *) { eval $ac_var=; unset $ac_var;} ;; |
6139 | esac ;; |
5307 | esac ;; |
6140 | esac |
5308 | esac |
6141 | done |
5309 | done |
6142 | |
5310 | |
6143 | (set) 2>&1 | |
5311 | (set) 2>&1 | |
6144 | case $as_nl`(ac_space=' '; set) 2>&1` in #( |
5312 | case $as_nl`(ac_space=' '; set) 2>&1` in #( |
6145 | *${as_nl}ac_space=\ *) |
5313 | *${as_nl}ac_space=\ *) |
6146 | # `set' does not quote correctly, so add quotes (double-quote |
5314 | # `set' does not quote correctly, so add quotes: double-quote |
6147 | # substitution turns \\\\ into \\, and sed turns \\ into \). |
5315 | # substitution turns \\\\ into \\, and sed turns \\ into \. |
6148 | sed -n \ |
5316 | sed -n \ |
6149 | "s/'/'\\\\''/g; |
5317 | "s/'/'\\\\''/g; |
6150 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
5318 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
6151 | ;; #( |
5319 | ;; #( |
6152 | *) |
5320 | *) |
… | |
… | |
6164 | t end |
5332 | t end |
6165 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
5333 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
6166 | :end' >>confcache |
5334 | :end' >>confcache |
6167 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
5335 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
6168 | if test -w "$cache_file"; then |
5336 | if test -w "$cache_file"; then |
6169 | test "x$cache_file" != "x/dev/null" && |
5337 | if test "x$cache_file" != "x/dev/null"; then |
6170 | { echo "$as_me:$LINENO: updating cache $cache_file" >&5 |
5338 | { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
6171 | 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 |
6172 | 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 |
6173 | else |
5352 | else |
6174 | { 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 |
6175 | echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
5354 | $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
6176 | fi |
5355 | fi |
6177 | fi |
5356 | fi |
6178 | rm -f confcache |
5357 | rm -f confcache |
6179 | |
5358 | |
6180 | test "x$prefix" = xNONE && prefix=$ac_default_prefix |
5359 | test "x$prefix" = xNONE && prefix=$ac_default_prefix |
… | |
… | |
6183 | |
5362 | |
6184 | DEFS=-DHAVE_CONFIG_H |
5363 | DEFS=-DHAVE_CONFIG_H |
6185 | |
5364 | |
6186 | ac_libobjs= |
5365 | ac_libobjs= |
6187 | ac_ltlibobjs= |
5366 | ac_ltlibobjs= |
|
|
5367 | U= |
6188 | 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 |
6189 | # 1. Remove the extension, and $U if already installed. |
5369 | # 1. Remove the extension, and $U if already installed. |
6190 | ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
5370 | ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
6191 | ac_i=`echo "$ac_i" | sed "$ac_script"` |
5371 | ac_i=`$as_echo "$ac_i" | sed "$ac_script"` |
6192 | # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
5372 | # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
6193 | # will be set to the directory where LIBOBJS objects are built. |
5373 | # will be set to the directory where LIBOBJS objects are built. |
6194 | ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" |
5374 | as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" |
6195 | ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' |
5375 | as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' |
6196 | done |
5376 | done |
6197 | LIBOBJS=$ac_libobjs |
5377 | LIBOBJS=$ac_libobjs |
6198 | |
5378 | |
6199 | LTLIBOBJS=$ac_ltlibobjs |
5379 | LTLIBOBJS=$ac_ltlibobjs |
6200 | |
5380 | |
6201 | |
5381 | |
6202 | if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then |
5382 | if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then |
6203 | { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. |
5383 | as_fn_error $? "conditional \"AMDEP\" was never defined. |
6204 | Usually this means the macro was only invoked conditionally." >&5 |
5384 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
6205 | echo "$as_me: error: conditional \"AMDEP\" was never defined. |
|
|
6206 | Usually this means the macro was only invoked conditionally." >&2;} |
|
|
6207 | { (exit 1); exit 1; }; } |
|
|
6208 | fi |
5385 | fi |
6209 | 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 |
6210 | { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. |
5387 | as_fn_error $? "conditional \"am__fastdepCC\" was never defined. |
6211 | Usually this means the macro was only invoked conditionally." >&5 |
5388 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
6212 | echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. |
|
|
6213 | Usually this means the macro was only invoked conditionally." >&2;} |
|
|
6214 | { (exit 1); exit 1; }; } |
|
|
6215 | fi |
5389 | fi |
6216 | 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 |
6217 | { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined. |
5391 | as_fn_error $? "conditional \"am__fastdepCXX\" was never defined. |
6218 | Usually this means the macro was only invoked conditionally." >&5 |
5392 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
6219 | echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined. |
|
|
6220 | Usually this means the macro was only invoked conditionally." >&2;} |
|
|
6221 | { (exit 1); exit 1; }; } |
|
|
6222 | fi |
5393 | fi |
6223 | 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 |
6224 | { { echo "$as_me:$LINENO: error: conditional \"HAVE_PCCTS\" was never defined. |
5395 | as_fn_error $? "conditional \"HAVE_PCCTS\" was never defined. |
6225 | Usually this means the macro was only invoked conditionally." >&5 |
5396 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
6226 | echo "$as_me: error: conditional \"HAVE_PCCTS\" was never defined. |
|
|
6227 | Usually this means the macro was only invoked conditionally." >&2;} |
|
|
6228 | { (exit 1); exit 1; }; } |
|
|
6229 | fi |
5397 | fi |
6230 | |
5398 | |
6231 | : ${CONFIG_STATUS=./config.status} |
5399 | : "${CONFIG_STATUS=./config.status}" |
|
|
5400 | ac_write_fail=0 |
6232 | ac_clean_files_save=$ac_clean_files |
5401 | ac_clean_files_save=$ac_clean_files |
6233 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
5402 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
6234 | { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 |
5403 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 |
6235 | echo "$as_me: creating $CONFIG_STATUS" >&6;} |
5404 | $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} |
6236 | cat >$CONFIG_STATUS <<_ACEOF |
5405 | as_write_fail=0 |
|
|
5406 | cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 |
6237 | #! $SHELL |
5407 | #! $SHELL |
6238 | # Generated by $as_me. |
5408 | # Generated by $as_me. |
6239 | # Run this file to recreate the current configuration. |
5409 | # Run this file to recreate the current configuration. |
6240 | # Compiler output produced by configure, useful for debugging |
5410 | # Compiler output produced by configure, useful for debugging |
6241 | # configure, is in config.log if it exists. |
5411 | # configure, is in config.log if it exists. |
6242 | |
5412 | |
6243 | debug=false |
5413 | debug=false |
6244 | ac_cs_recheck=false |
5414 | ac_cs_recheck=false |
6245 | ac_cs_silent=false |
5415 | ac_cs_silent=false |
|
|
5416 | |
6246 | SHELL=\${CONFIG_SHELL-$SHELL} |
5417 | SHELL=\${CONFIG_SHELL-$SHELL} |
|
|
5418 | export SHELL |
6247 | _ACEOF |
5419 | _ASEOF |
6248 | |
5420 | cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 |
6249 | cat >>$CONFIG_STATUS <<\_ACEOF |
|
|
6250 | ## --------------------- ## |
5421 | ## -------------------- ## |
6251 | ## M4sh Initialization. ## |
5422 | ## M4sh Initialization. ## |
6252 | ## --------------------- ## |
5423 | ## -------------------- ## |
6253 | |
5424 | |
6254 | # Be more Bourne compatible |
5425 | # Be more Bourne compatible |
6255 | DUALCASE=1; export DUALCASE # for MKS sh |
5426 | DUALCASE=1; export DUALCASE # for MKS sh |
6256 | 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 : |
6257 | emulate sh |
5428 | emulate sh |
6258 | NULLCMD=: |
5429 | NULLCMD=: |
6259 | # 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 |
6260 | # is contrary to our usage. Disable this feature. |
5431 | # is contrary to our usage. Disable this feature. |
6261 | alias -g '${1+"$@"}'='"$@"' |
5432 | alias -g '${1+"$@"}'='"$@"' |
6262 | setopt NO_GLOB_SUBST |
5433 | setopt NO_GLOB_SUBST |
6263 | else |
5434 | else |
6264 | case `(set -o) 2>/dev/null` in |
5435 | case `(set -o) 2>/dev/null` in #( |
6265 | *posix*) set -o posix ;; |
5436 | *posix*) : |
|
|
5437 | set -o posix ;; #( |
|
|
5438 | *) : |
|
|
5439 | ;; |
6266 | esac |
5440 | esac |
6267 | |
|
|
6268 | fi |
5441 | fi |
6269 | |
5442 | |
6270 | |
5443 | |
6271 | |
5444 | as_nl=' |
6272 | |
5445 | ' |
6273 | # PATH needs CR |
5446 | export as_nl |
6274 | # Avoid depending upon Character Ranges. |
5447 | # Printing a long string crashes Solaris 7 /usr/bin/printf. |
6275 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
5448 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
6276 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
5449 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
6277 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
5450 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
6278 | as_cr_digits='0123456789' |
5451 | # Prefer a ksh shell builtin over an external printf program on Solaris, |
6279 | 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 |
6280 | |
5481 | |
6281 | # The user is always right. |
5482 | # The user is always right. |
6282 | if test "${PATH_SEPARATOR+set}" != set; then |
5483 | if test "${PATH_SEPARATOR+set}" != set; then |
6283 | echo "#! /bin/sh" >conf$$.sh |
5484 | PATH_SEPARATOR=: |
6284 | echo "exit 0" >>conf$$.sh |
5485 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
6285 | chmod +x conf$$.sh |
5486 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
6286 | if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
|
|
6287 | PATH_SEPARATOR=';' |
5487 | PATH_SEPARATOR=';' |
6288 | else |
5488 | } |
6289 | PATH_SEPARATOR=: |
|
|
6290 | fi |
|
|
6291 | rm -f conf$$.sh |
|
|
6292 | fi |
|
|
6293 | |
|
|
6294 | # Support unset when possible. |
|
|
6295 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
|
|
6296 | as_unset=unset |
|
|
6297 | else |
|
|
6298 | as_unset=false |
|
|
6299 | fi |
5489 | fi |
6300 | |
5490 | |
6301 | |
5491 | |
6302 | # IFS |
5492 | # IFS |
6303 | # 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 |
6304 | # there to prevent editors from complaining about space-tab. |
5494 | # there to prevent editors from complaining about space-tab. |
6305 | # (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 |
6306 | # splitting by setting IFS to empty value.) |
5496 | # splitting by setting IFS to empty value.) |
6307 | as_nl=' |
|
|
6308 | ' |
|
|
6309 | IFS=" "" $as_nl" |
5497 | IFS=" "" $as_nl" |
6310 | |
5498 | |
6311 | # 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= |
6312 | case $0 in |
5501 | case $0 in #(( |
6313 | *[\\/]* ) as_myself=$0 ;; |
5502 | *[\\/]* ) as_myself=$0 ;; |
6314 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
5503 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
6315 | for as_dir in $PATH |
5504 | for as_dir in $PATH |
6316 | do |
5505 | do |
6317 | IFS=$as_save_IFS |
5506 | IFS=$as_save_IFS |
6318 | test -z "$as_dir" && as_dir=. |
5507 | test -z "$as_dir" && as_dir=. |
6319 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
5508 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
6320 | done |
5509 | done |
6321 | IFS=$as_save_IFS |
5510 | IFS=$as_save_IFS |
6322 | |
5511 | |
6323 | ;; |
5512 | ;; |
6324 | esac |
5513 | esac |
6325 | # 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' |
6326 | # 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. |
6327 | if test "x$as_myself" = x; then |
5516 | if test "x$as_myself" = x; then |
6328 | as_myself=$0 |
5517 | as_myself=$0 |
6329 | fi |
5518 | fi |
6330 | if test ! -f "$as_myself"; then |
5519 | if test ! -f "$as_myself"; then |
6331 | 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 |
6332 | { (exit 1); exit 1; } |
5521 | exit 1 |
6333 | fi |
5522 | fi |
6334 | |
5523 | |
6335 | # 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. |
6336 | 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 \ |
6337 | 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 || : |
6338 | done |
5531 | done |
6339 | PS1='$ ' |
5532 | PS1='$ ' |
6340 | PS2='> ' |
5533 | PS2='> ' |
6341 | PS4='+ ' |
5534 | PS4='+ ' |
6342 | |
5535 | |
6343 | # NLS nuisances. |
5536 | # NLS nuisances. |
6344 | for as_var in \ |
5537 | LC_ALL=C |
6345 | LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ |
5538 | export LC_ALL |
6346 | LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
5539 | LANGUAGE=C |
6347 | LC_TELEPHONE LC_TIME |
5540 | export LANGUAGE |
6348 | do |
5541 | |
6349 | if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
5542 | # CDPATH. |
6350 | eval $as_var=C; export $as_var |
5543 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
6351 | else |
5544 | |
6352 | ($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 |
6353 | fi |
5557 | fi |
6354 | done |
5558 | $as_echo "$as_me: error: $2" >&2 |
|
|
5559 | as_fn_exit $as_status |
|
|
5560 | } # as_fn_error |
6355 | |
5561 | |
6356 | # 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 | |
6357 | if expr a : '\(a\)' >/dev/null 2>&1 && |
5625 | if expr a : '\(a\)' >/dev/null 2>&1 && |
6358 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
5626 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
6359 | as_expr=expr |
5627 | as_expr=expr |
6360 | else |
5628 | else |
6361 | as_expr=false |
5629 | as_expr=false |
… | |
… | |
6365 | as_basename=basename |
5633 | as_basename=basename |
6366 | else |
5634 | else |
6367 | as_basename=false |
5635 | as_basename=false |
6368 | fi |
5636 | fi |
6369 | |
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 |
6370 | |
5643 | |
6371 | # Name of the executable. |
|
|
6372 | as_me=`$as_basename -- "$0" || |
5644 | as_me=`$as_basename -- "$0" || |
6373 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
5645 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
6374 | X"$0" : 'X\(//\)$' \| \ |
5646 | X"$0" : 'X\(//\)$' \| \ |
6375 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
5647 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
6376 | echo X/"$0" | |
5648 | $as_echo X/"$0" | |
6377 | sed '/^.*\/\([^/][^/]*\)\/*$/{ |
5649 | sed '/^.*\/\([^/][^/]*\)\/*$/{ |
6378 | s//\1/ |
5650 | s//\1/ |
6379 | q |
5651 | q |
6380 | } |
5652 | } |
6381 | /^X\/\(\/\/\)$/{ |
5653 | /^X\/\(\/\/\)$/{ |
… | |
… | |
6386 | s//\1/ |
5658 | s//\1/ |
6387 | q |
5659 | q |
6388 | } |
5660 | } |
6389 | s/.*/./; q'` |
5661 | s/.*/./; q'` |
6390 | |
5662 | |
6391 | # CDPATH. |
5663 | # Avoid depending upon Character Ranges. |
6392 | $as_unset CDPATH |
5664 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
6393 | |
5665 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
6394 | |
5666 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
6395 | |
5667 | as_cr_digits='0123456789' |
6396 | as_lineno_1=$LINENO |
5668 | as_cr_alnum=$as_cr_Letters$as_cr_digits |
6397 | as_lineno_2=$LINENO |
|
|
6398 | test "x$as_lineno_1" != "x$as_lineno_2" && |
|
|
6399 | test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { |
|
|
6400 | |
|
|
6401 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
|
|
6402 | # uniformly replaced by the line number. The first 'sed' inserts a |
|
|
6403 | # line-number line after each line using $LINENO; the second 'sed' |
|
|
6404 | # does the real work. The second script uses 'N' to pair each |
|
|
6405 | # line-number line with the line containing $LINENO, and appends |
|
|
6406 | # trailing '-' during substitution so that $LINENO is not a special |
|
|
6407 | # case at line end. |
|
|
6408 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
|
|
6409 | # scripts with optimization help from Paolo Bonzini. Blame Lee |
|
|
6410 | # E. McMahon (1931-1989) for sed's syntax. :-) |
|
|
6411 | sed -n ' |
|
|
6412 | p |
|
|
6413 | /[$]LINENO/= |
|
|
6414 | ' <$as_myself | |
|
|
6415 | sed ' |
|
|
6416 | s/[$]LINENO.*/&-/ |
|
|
6417 | t lineno |
|
|
6418 | b |
|
|
6419 | :lineno |
|
|
6420 | N |
|
|
6421 | :loop |
|
|
6422 | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
|
|
6423 | t loop |
|
|
6424 | s/-\n.*// |
|
|
6425 | ' >$as_me.lineno && |
|
|
6426 | chmod +x "$as_me.lineno" || |
|
|
6427 | { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
|
|
6428 | { (exit 1); exit 1; }; } |
|
|
6429 | |
|
|
6430 | # Don't try to exec as it changes $[0], causing all sort of problems |
|
|
6431 | # (the dirname of $[0] is not the place where we might find the |
|
|
6432 | # original and so on. Autoconf is especially sensitive to this). |
|
|
6433 | . "./$as_me.lineno" |
|
|
6434 | # Exit status is that of the last command. |
|
|
6435 | exit |
|
|
6436 | } |
|
|
6437 | |
|
|
6438 | |
|
|
6439 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
|
|
6440 | as_dirname=dirname |
|
|
6441 | else |
|
|
6442 | as_dirname=false |
|
|
6443 | fi |
|
|
6444 | |
5669 | |
6445 | ECHO_C= ECHO_N= ECHO_T= |
5670 | ECHO_C= ECHO_N= ECHO_T= |
6446 | case `echo -n x` in |
5671 | case `echo -n x` in #((((( |
6447 | -n*) |
5672 | -n*) |
6448 | case `echo 'x\c'` in |
5673 | case `echo 'xy\c'` in |
6449 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
5674 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
6450 | *) ECHO_C='\c';; |
5675 | xy) ECHO_C='\c';; |
|
|
5676 | *) echo `echo ksh88 bug on AIX 6.1` > /dev/null |
|
|
5677 | ECHO_T=' ';; |
6451 | esac;; |
5678 | esac;; |
6452 | *) |
5679 | *) |
6453 | ECHO_N='-n';; |
5680 | ECHO_N='-n';; |
6454 | esac |
5681 | esac |
6455 | |
5682 | |
6456 | if expr a : '\(a\)' >/dev/null 2>&1 && |
|
|
6457 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
|
|
6458 | as_expr=expr |
|
|
6459 | else |
|
|
6460 | as_expr=false |
|
|
6461 | fi |
|
|
6462 | |
|
|
6463 | rm -f conf$$ conf$$.exe conf$$.file |
5683 | rm -f conf$$ conf$$.exe conf$$.file |
6464 | if test -d conf$$.dir; then |
5684 | if test -d conf$$.dir; then |
6465 | rm -f conf$$.dir/conf$$.file |
5685 | rm -f conf$$.dir/conf$$.file |
6466 | else |
5686 | else |
6467 | rm -f conf$$.dir |
5687 | rm -f conf$$.dir |
6468 | mkdir conf$$.dir |
5688 | mkdir conf$$.dir 2>/dev/null |
6469 | fi |
5689 | fi |
6470 | echo >conf$$.file |
5690 | if (echo >conf$$.file) 2>/dev/null; then |
6471 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
5691 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
6472 | as_ln_s='ln -s' |
5692 | as_ln_s='ln -s' |
6473 | # ... but there are two gotchas: |
5693 | # ... but there are two gotchas: |
6474 | # 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. |
6475 | # 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. |
6476 | # In both cases, we have to default to `cp -p'. |
5696 | # In both cases, we have to default to `cp -pR'. |
6477 | 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 || |
6478 | as_ln_s='cp -p' |
5698 | as_ln_s='cp -pR' |
6479 | elif ln conf$$.file conf$$ 2>/dev/null; then |
5699 | elif ln conf$$.file conf$$ 2>/dev/null; then |
6480 | as_ln_s=ln |
5700 | as_ln_s=ln |
6481 | else |
5701 | else |
|
|
5702 | as_ln_s='cp -pR' |
|
|
5703 | fi |
|
|
5704 | else |
6482 | as_ln_s='cp -p' |
5705 | as_ln_s='cp -pR' |
6483 | fi |
5706 | fi |
6484 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
5707 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
6485 | rmdir conf$$.dir 2>/dev/null |
5708 | rmdir conf$$.dir 2>/dev/null |
6486 | |
5709 | |
6487 | if mkdir -p . 2>/dev/null; then |
5710 | |
6488 | as_mkdir_p=: |
5711 | # as_fn_mkdir_p |
6489 | else |
5712 | # ------------- |
6490 | test -d ./-p && rmdir ./-p |
5713 | # Create "$as_dir" as a directory, including parents if necessary. |
6491 | as_mkdir_p=false |
5714 | as_fn_mkdir_p () |
6492 | fi |
|
|
6493 | |
|
|
6494 | if test -x / >/dev/null 2>&1; then |
|
|
6495 | as_test_x='test -x' |
|
|
6496 | else |
|
|
6497 | if ls -dL / >/dev/null 2>&1; then |
|
|
6498 | as_ls_L_option=L |
|
|
6499 | else |
|
|
6500 | as_ls_L_option= |
|
|
6501 | fi |
|
|
6502 | as_test_x=' |
|
|
6503 | eval sh -c '\'' |
|
|
6504 | if test -d "$1"; then |
|
|
6505 | test -d "$1/."; |
|
|
6506 | else |
|
|
6507 | case $1 in |
|
|
6508 | -*)set "./$1";; |
|
|
6509 | esac; |
|
|
6510 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in |
|
|
6511 | ???[sx]*):;;*)false;;esac;fi |
|
|
6512 | '\'' sh |
|
|
6513 | ' |
|
|
6514 | fi |
|
|
6515 | as_executable_p=$as_test_x |
|
|
6516 | |
|
|
6517 | # Sed expression to map a string onto a valid CPP name. |
|
|
6518 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
|
|
6519 | |
|
|
6520 | # Sed expression to map a string onto a valid variable name. |
|
|
6521 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
|
|
6522 | |
|
|
6523 | |
|
|
6524 | exec 6>&1 |
|
|
6525 | |
|
|
6526 | # Save the log message, to keep $[0] and so on meaningful, and to |
|
|
6527 | # report actual input values of CONFIG_FILES etc. instead of their |
|
|
6528 | # values after options handling. |
|
|
6529 | ac_log=" |
|
|
6530 | This file was extended by $as_me, which was |
|
|
6531 | generated by GNU Autoconf 2.61. Invocation command line was |
|
|
6532 | |
|
|
6533 | CONFIG_FILES = $CONFIG_FILES |
|
|
6534 | CONFIG_HEADERS = $CONFIG_HEADERS |
|
|
6535 | CONFIG_LINKS = $CONFIG_LINKS |
|
|
6536 | CONFIG_COMMANDS = $CONFIG_COMMANDS |
|
|
6537 | $ $0 $@ |
|
|
6538 | |
|
|
6539 | on `(hostname || uname -n) 2>/dev/null | sed 1q` |
|
|
6540 | " |
|
|
6541 | |
|
|
6542 | _ACEOF |
|
|
6543 | |
|
|
6544 | cat >>$CONFIG_STATUS <<_ACEOF |
|
|
6545 | # Files that config.status was made for. |
|
|
6546 | config_files="$ac_config_files" |
|
|
6547 | config_headers="$ac_config_headers" |
|
|
6548 | config_commands="$ac_config_commands" |
|
|
6549 | |
|
|
6550 | _ACEOF |
|
|
6551 | |
|
|
6552 | cat >>$CONFIG_STATUS <<\_ACEOF |
|
|
6553 | ac_cs_usage="\ |
|
|
6554 | \`$as_me' instantiates files from templates according to the |
|
|
6555 | current configuration. |
|
|
6556 | |
|
|
6557 | Usage: $0 [OPTIONS] [FILE]... |
|
|
6558 | |
|
|
6559 | -h, --help print this help, then exit |
|
|
6560 | -V, --version print version number and configuration settings, then exit |
|
|
6561 | -q, --quiet do not print progress messages |
|
|
6562 | -d, --debug don't remove temporary files |
|
|
6563 | --recheck update $as_me by reconfiguring in the same conditions |
|
|
6564 | --file=FILE[:TEMPLATE] |
|
|
6565 | instantiate the configuration file FILE |
|
|
6566 | --header=FILE[:TEMPLATE] |
|
|
6567 | instantiate the configuration header FILE |
|
|
6568 | |
|
|
6569 | Configuration files: |
|
|
6570 | $config_files |
|
|
6571 | |
|
|
6572 | Configuration headers: |
|
|
6573 | $config_headers |
|
|
6574 | |
|
|
6575 | Configuration commands: |
|
|
6576 | $config_commands |
|
|
6577 | |
|
|
6578 | Report bugs to <bug-autoconf@gnu.org>." |
|
|
6579 | |
|
|
6580 | _ACEOF |
|
|
6581 | cat >>$CONFIG_STATUS <<_ACEOF |
|
|
6582 | ac_cs_version="\\ |
|
|
6583 | config.status |
|
|
6584 | configured by $0, generated by GNU Autoconf 2.61, |
|
|
6585 | with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" |
|
|
6586 | |
|
|
6587 | Copyright (C) 2006 Free Software Foundation, Inc. |
|
|
6588 | This config.status script is free software; the Free Software Foundation |
|
|
6589 | gives unlimited permission to copy, distribute and modify it." |
|
|
6590 | |
|
|
6591 | ac_pwd='$ac_pwd' |
|
|
6592 | srcdir='$srcdir' |
|
|
6593 | INSTALL='$INSTALL' |
|
|
6594 | _ACEOF |
|
|
6595 | |
|
|
6596 | cat >>$CONFIG_STATUS <<\_ACEOF |
|
|
6597 | # If no file are specified by the user, then we need to provide default |
|
|
6598 | # value. By we need to know if files were specified by the user. |
|
|
6599 | ac_need_defaults=: |
|
|
6600 | while test $# != 0 |
|
|
6601 | do |
|
|
6602 | case $1 in |
|
|
6603 | --*=*) |
|
|
6604 | ac_option=`expr "X$1" : 'X\([^=]*\)='` |
|
|
6605 | ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` |
|
|
6606 | ac_shift=: |
|
|
6607 | ;; |
|
|
6608 | *) |
|
|
6609 | ac_option=$1 |
|
|
6610 | ac_optarg=$2 |
|
|
6611 | ac_shift=shift |
|
|
6612 | ;; |
|
|
6613 | esac |
|
|
6614 | |
|
|
6615 | case $ac_option in |
|
|
6616 | # Handling of the options. |
|
|
6617 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
|
|
6618 | ac_cs_recheck=: ;; |
|
|
6619 | --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) |
|
|
6620 | echo "$ac_cs_version"; exit ;; |
|
|
6621 | --debug | --debu | --deb | --de | --d | -d ) |
|
|
6622 | debug=: ;; |
|
|
6623 | --file | --fil | --fi | --f ) |
|
|
6624 | $ac_shift |
|
|
6625 | CONFIG_FILES="$CONFIG_FILES $ac_optarg" |
|
|
6626 | ac_need_defaults=false;; |
|
|
6627 | --header | --heade | --head | --hea ) |
|
|
6628 | $ac_shift |
|
|
6629 | CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" |
|
|
6630 | ac_need_defaults=false;; |
|
|
6631 | --he | --h) |
|
|
6632 | # Conflict between --help and --header |
|
|
6633 | { echo "$as_me: error: ambiguous option: $1 |
|
|
6634 | Try \`$0 --help' for more information." >&2 |
|
|
6635 | { (exit 1); exit 1; }; };; |
|
|
6636 | --help | --hel | -h ) |
|
|
6637 | echo "$ac_cs_usage"; exit ;; |
|
|
6638 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
|
|
6639 | | -silent | --silent | --silen | --sile | --sil | --si | --s) |
|
|
6640 | ac_cs_silent=: ;; |
|
|
6641 | |
|
|
6642 | # This is an error. |
|
|
6643 | -*) { echo "$as_me: error: unrecognized option: $1 |
|
|
6644 | Try \`$0 --help' for more information." >&2 |
|
|
6645 | { (exit 1); exit 1; }; } ;; |
|
|
6646 | |
|
|
6647 | *) ac_config_targets="$ac_config_targets $1" |
|
|
6648 | ac_need_defaults=false ;; |
|
|
6649 | |
|
|
6650 | esac |
|
|
6651 | shift |
|
|
6652 | done |
|
|
6653 | |
|
|
6654 | ac_configure_extra_args= |
|
|
6655 | |
|
|
6656 | if $ac_cs_silent; then |
|
|
6657 | exec 6>/dev/null |
|
|
6658 | ac_configure_extra_args="$ac_configure_extra_args --silent" |
|
|
6659 | fi |
|
|
6660 | |
|
|
6661 | _ACEOF |
|
|
6662 | cat >>$CONFIG_STATUS <<_ACEOF |
|
|
6663 | if \$ac_cs_recheck; then |
|
|
6664 | echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 |
|
|
6665 | CONFIG_SHELL=$SHELL |
|
|
6666 | export CONFIG_SHELL |
|
|
6667 | exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
|
|
6668 | fi |
|
|
6669 | |
|
|
6670 | _ACEOF |
|
|
6671 | cat >>$CONFIG_STATUS <<\_ACEOF |
|
|
6672 | exec 5>>config.log |
|
|
6673 | { |
5715 | { |
6674 | echo |
|
|
6675 | sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX |
|
|
6676 | ## Running $as_me. ## |
|
|
6677 | _ASBOX |
|
|
6678 | echo "$ac_log" |
|
|
6679 | } >&5 |
|
|
6680 | |
5716 | |
6681 | _ACEOF |
|
|
6682 | cat >>$CONFIG_STATUS <<_ACEOF |
|
|
6683 | # |
|
|
6684 | # INIT-COMMANDS |
|
|
6685 | # |
|
|
6686 | AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" |
|
|
6687 | |
|
|
6688 | _ACEOF |
|
|
6689 | |
|
|
6690 | cat >>$CONFIG_STATUS <<\_ACEOF |
|
|
6691 | |
|
|
6692 | # Handling of arguments. |
|
|
6693 | for ac_config_target in $ac_config_targets |
|
|
6694 | do |
|
|
6695 | case $ac_config_target in |
|
|
6696 | "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; |
|
|
6697 | "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; |
|
|
6698 | "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
|
|
6699 | |
|
|
6700 | *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
|
|
6701 | echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
|
|
6702 | { (exit 1); exit 1; }; };; |
|
|
6703 | esac |
|
|
6704 | done |
|
|
6705 | |
|
|
6706 | |
|
|
6707 | # If the user did not use the arguments to specify the items to instantiate, |
|
|
6708 | # then the envvar interface is used. Set only those that are not. |
|
|
6709 | # We use the long form for the default assignment because of an extremely |
|
|
6710 | # bizarre bug on SunOS 4.1.3. |
|
|
6711 | if $ac_need_defaults; then |
|
|
6712 | test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files |
|
|
6713 | test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers |
|
|
6714 | test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands |
|
|
6715 | fi |
|
|
6716 | |
|
|
6717 | # Have a temporary directory for convenience. Make it in the build tree |
|
|
6718 | # simply because there is no reason against having it here, and in addition, |
|
|
6719 | # creating and moving files from /tmp can sometimes cause problems. |
|
|
6720 | # Hook for its removal unless debugging. |
|
|
6721 | # Note that there is a small window in which the directory will not be cleaned: |
|
|
6722 | # after its creation but before its name has been assigned to `$tmp'. |
|
|
6723 | $debug || |
|
|
6724 | { |
|
|
6725 | tmp= |
|
|
6726 | trap 'exit_status=$? |
|
|
6727 | { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status |
|
|
6728 | ' 0 |
|
|
6729 | trap '{ (exit 1); exit 1; }' 1 2 13 15 |
|
|
6730 | } |
|
|
6731 | # Create a (secure) tmp directory for tmp files. |
|
|
6732 | |
|
|
6733 | { |
|
|
6734 | tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
|
|
6735 | test -n "$tmp" && test -d "$tmp" |
|
|
6736 | } || |
|
|
6737 | { |
|
|
6738 | tmp=./conf$$-$RANDOM |
|
|
6739 | (umask 077 && mkdir "$tmp") |
|
|
6740 | } || |
|
|
6741 | { |
|
|
6742 | echo "$me: cannot create a temporary directory in ." >&2 |
|
|
6743 | { (exit 1); exit 1; } |
|
|
6744 | } |
|
|
6745 | |
|
|
6746 | # |
|
|
6747 | # Set up the sed scripts for CONFIG_FILES section. |
|
|
6748 | # |
|
|
6749 | |
|
|
6750 | # No need to generate the scripts if there are no CONFIG_FILES. |
|
|
6751 | # This happens for instance when ./config.status config.h |
|
|
6752 | if test -n "$CONFIG_FILES"; then |
|
|
6753 | |
|
|
6754 | _ACEOF |
|
|
6755 | |
|
|
6756 | |
|
|
6757 | |
|
|
6758 | ac_delim='%!_!# ' |
|
|
6759 | for ac_last_try in false false false false false :; do |
|
|
6760 | cat >conf$$subs.sed <<_ACEOF |
|
|
6761 | SHELL!$SHELL$ac_delim |
|
|
6762 | PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim |
|
|
6763 | PACKAGE_NAME!$PACKAGE_NAME$ac_delim |
|
|
6764 | PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim |
|
|
6765 | PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim |
|
|
6766 | PACKAGE_STRING!$PACKAGE_STRING$ac_delim |
|
|
6767 | PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim |
|
|
6768 | exec_prefix!$exec_prefix$ac_delim |
|
|
6769 | prefix!$prefix$ac_delim |
|
|
6770 | program_transform_name!$program_transform_name$ac_delim |
|
|
6771 | bindir!$bindir$ac_delim |
|
|
6772 | sbindir!$sbindir$ac_delim |
|
|
6773 | libexecdir!$libexecdir$ac_delim |
|
|
6774 | datarootdir!$datarootdir$ac_delim |
|
|
6775 | datadir!$datadir$ac_delim |
|
|
6776 | sysconfdir!$sysconfdir$ac_delim |
|
|
6777 | sharedstatedir!$sharedstatedir$ac_delim |
|
|
6778 | localstatedir!$localstatedir$ac_delim |
|
|
6779 | includedir!$includedir$ac_delim |
|
|
6780 | oldincludedir!$oldincludedir$ac_delim |
|
|
6781 | docdir!$docdir$ac_delim |
|
|
6782 | infodir!$infodir$ac_delim |
|
|
6783 | htmldir!$htmldir$ac_delim |
|
|
6784 | dvidir!$dvidir$ac_delim |
|
|
6785 | pdfdir!$pdfdir$ac_delim |
|
|
6786 | psdir!$psdir$ac_delim |
|
|
6787 | libdir!$libdir$ac_delim |
|
|
6788 | localedir!$localedir$ac_delim |
|
|
6789 | mandir!$mandir$ac_delim |
|
|
6790 | DEFS!$DEFS$ac_delim |
|
|
6791 | ECHO_C!$ECHO_C$ac_delim |
|
|
6792 | ECHO_N!$ECHO_N$ac_delim |
|
|
6793 | ECHO_T!$ECHO_T$ac_delim |
|
|
6794 | LIBS!$LIBS$ac_delim |
|
|
6795 | build_alias!$build_alias$ac_delim |
|
|
6796 | host_alias!$host_alias$ac_delim |
|
|
6797 | target_alias!$target_alias$ac_delim |
|
|
6798 | INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim |
|
|
6799 | INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim |
|
|
6800 | INSTALL_DATA!$INSTALL_DATA$ac_delim |
|
|
6801 | CYGPATH_W!$CYGPATH_W$ac_delim |
|
|
6802 | PACKAGE!$PACKAGE$ac_delim |
|
|
6803 | VERSION!$VERSION$ac_delim |
|
|
6804 | ACLOCAL!$ACLOCAL$ac_delim |
|
|
6805 | AUTOCONF!$AUTOCONF$ac_delim |
|
|
6806 | AUTOMAKE!$AUTOMAKE$ac_delim |
|
|
6807 | AUTOHEADER!$AUTOHEADER$ac_delim |
|
|
6808 | MAKEINFO!$MAKEINFO$ac_delim |
|
|
6809 | AMTAR!$AMTAR$ac_delim |
|
|
6810 | install_sh!$install_sh$ac_delim |
|
|
6811 | STRIP!$STRIP$ac_delim |
|
|
6812 | INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim |
|
|
6813 | AWK!$AWK$ac_delim |
|
|
6814 | SET_MAKE!$SET_MAKE$ac_delim |
|
|
6815 | am__leading_dot!$am__leading_dot$ac_delim |
|
|
6816 | CC!$CC$ac_delim |
|
|
6817 | CFLAGS!$CFLAGS$ac_delim |
|
|
6818 | LDFLAGS!$LDFLAGS$ac_delim |
|
|
6819 | CPPFLAGS!$CPPFLAGS$ac_delim |
|
|
6820 | ac_ct_CC!$ac_ct_CC$ac_delim |
|
|
6821 | EXEEXT!$EXEEXT$ac_delim |
|
|
6822 | OBJEXT!$OBJEXT$ac_delim |
|
|
6823 | DEPDIR!$DEPDIR$ac_delim |
|
|
6824 | am__include!$am__include$ac_delim |
|
|
6825 | am__quote!$am__quote$ac_delim |
|
|
6826 | AMDEP_TRUE!$AMDEP_TRUE$ac_delim |
|
|
6827 | AMDEP_FALSE!$AMDEP_FALSE$ac_delim |
|
|
6828 | AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim |
|
|
6829 | CCDEPMODE!$CCDEPMODE$ac_delim |
|
|
6830 | am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim |
|
|
6831 | am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim |
|
|
6832 | CPP!$CPP$ac_delim |
|
|
6833 | GREP!$GREP$ac_delim |
|
|
6834 | EGREP!$EGREP$ac_delim |
|
|
6835 | CXX!$CXX$ac_delim |
|
|
6836 | CXXFLAGS!$CXXFLAGS$ac_delim |
|
|
6837 | ac_ct_CXX!$ac_ct_CXX$ac_delim |
|
|
6838 | CXXDEPMODE!$CXXDEPMODE$ac_delim |
|
|
6839 | am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim |
|
|
6840 | am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim |
|
|
6841 | CXXCPP!$CXXCPP$ac_delim |
|
|
6842 | XMKMF!$XMKMF$ac_delim |
|
|
6843 | ANTLR!$ANTLR$ac_delim |
|
|
6844 | DLG!$DLG$ac_delim |
|
|
6845 | HAVE_PCCTS_TRUE!$HAVE_PCCTS_TRUE$ac_delim |
|
|
6846 | HAVE_PCCTS_FALSE!$HAVE_PCCTS_FALSE$ac_delim |
|
|
6847 | LIBOBJS!$LIBOBJS$ac_delim |
|
|
6848 | LTLIBOBJS!$LTLIBOBJS$ac_delim |
|
|
6849 | _ACEOF |
|
|
6850 | |
|
|
6851 | if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 88; then |
|
|
6852 | break |
|
|
6853 | elif $ac_last_try; then |
|
|
6854 | { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
|
|
6855 | echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} |
|
|
6856 | { (exit 1); exit 1; }; } |
|
|
6857 | else |
|
|
6858 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
|
|
6859 | fi |
|
|
6860 | done |
|
|
6861 | |
|
|
6862 | ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` |
|
|
6863 | if test -n "$ac_eof"; then |
|
|
6864 | ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` |
|
|
6865 | ac_eof=`expr $ac_eof + 1` |
|
|
6866 | fi |
|
|
6867 | |
|
|
6868 | cat >>$CONFIG_STATUS <<_ACEOF |
|
|
6869 | cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof |
|
|
6870 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end |
|
|
6871 | _ACEOF |
|
|
6872 | sed ' |
|
|
6873 | s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g |
|
|
6874 | s/^/s,@/; s/!/@,|#_!!_#|/ |
|
|
6875 | :n |
|
|
6876 | t n |
|
|
6877 | s/'"$ac_delim"'$/,g/; t |
|
|
6878 | s/$/\\/; p |
|
|
6879 | N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n |
|
|
6880 | ' >>$CONFIG_STATUS <conf$$subs.sed |
|
|
6881 | rm -f conf$$subs.sed |
|
|
6882 | cat >>$CONFIG_STATUS <<_ACEOF |
|
|
6883 | :end |
|
|
6884 | s/|#_!!_#|//g |
|
|
6885 | CEOF$ac_eof |
|
|
6886 | _ACEOF |
|
|
6887 | |
|
|
6888 | |
|
|
6889 | # VPATH may cause trouble with some makes, so we remove $(srcdir), |
|
|
6890 | # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and |
|
|
6891 | # trailing colons and then remove the whole line if VPATH becomes empty |
|
|
6892 | # (actually we leave an empty line to preserve line numbers). |
|
|
6893 | if test "x$srcdir" = x.; then |
|
|
6894 | ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
|
|
6895 | s/:*\$(srcdir):*/:/ |
|
|
6896 | s/:*\${srcdir}:*/:/ |
|
|
6897 | s/:*@srcdir@:*/:/ |
|
|
6898 | s/^\([^=]*=[ ]*\):*/\1/ |
|
|
6899 | s/:*$// |
|
|
6900 | s/^[^=]*=[ ]*$// |
|
|
6901 | }' |
|
|
6902 | fi |
|
|
6903 | |
|
|
6904 | cat >>$CONFIG_STATUS <<\_ACEOF |
|
|
6905 | fi # test -n "$CONFIG_FILES" |
|
|
6906 | |
|
|
6907 | |
|
|
6908 | for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS |
|
|
6909 | do |
|
|
6910 | case $ac_tag in |
|
|
6911 | :[FHLC]) ac_mode=$ac_tag; continue;; |
|
|
6912 | esac |
|
|
6913 | case $ac_mode$ac_tag in |
|
|
6914 | :[FHL]*:*);; |
|
|
6915 | :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 |
|
|
6916 | echo "$as_me: error: Invalid tag $ac_tag." >&2;} |
|
|
6917 | { (exit 1); exit 1; }; };; |
|
|
6918 | :[FH]-) ac_tag=-:-;; |
|
|
6919 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
|
|
6920 | esac |
|
|
6921 | ac_save_IFS=$IFS |
|
|
6922 | IFS=: |
|
|
6923 | set x $ac_tag |
|
|
6924 | IFS=$ac_save_IFS |
|
|
6925 | shift |
|
|
6926 | ac_file=$1 |
|
|
6927 | shift |
|
|
6928 | |
|
|
6929 | case $ac_mode in |
|
|
6930 | :L) ac_source=$1;; |
|
|
6931 | :[FH]) |
|
|
6932 | ac_file_inputs= |
|
|
6933 | for ac_f |
|
|
6934 | do |
|
|
6935 | case $ac_f in |
|
|
6936 | -) ac_f="$tmp/stdin";; |
|
|
6937 | *) # Look for the file first in the build tree, then in the source tree |
|
|
6938 | # (if the path is not absolute). The absolute path cannot be DOS-style, |
|
|
6939 | # because $ac_f cannot contain `:'. |
|
|
6940 | test -f "$ac_f" || |
|
|
6941 | case $ac_f in |
|
|
6942 | [\\/$]*) false;; |
|
|
6943 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
|
|
6944 | esac || |
|
|
6945 | { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 |
|
|
6946 | echo "$as_me: error: cannot find input file: $ac_f" >&2;} |
|
|
6947 | { (exit 1); exit 1; }; };; |
|
|
6948 | esac |
|
|
6949 | ac_file_inputs="$ac_file_inputs $ac_f" |
|
|
6950 | done |
|
|
6951 | |
|
|
6952 | # Let's still pretend it is `configure' which instantiates (i.e., don't |
|
|
6953 | # use $as_me), people would be surprised to read: |
|
|
6954 | # /* config.h. Generated by config.status. */ |
|
|
6955 | configure_input="Generated from "`IFS=: |
|
|
6956 | echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." |
|
|
6957 | if test x"$ac_file" != x-; then |
|
|
6958 | configure_input="$ac_file. $configure_input" |
|
|
6959 | { echo "$as_me:$LINENO: creating $ac_file" >&5 |
|
|
6960 | echo "$as_me: creating $ac_file" >&6;} |
|
|
6961 | fi |
|
|
6962 | |
|
|
6963 | case $ac_tag in |
|
|
6964 | *:-:* | *:-) cat >"$tmp/stdin";; |
|
|
6965 | esac |
|
|
6966 | ;; |
|
|
6967 | esac |
|
|
6968 | |
|
|
6969 | ac_dir=`$as_dirname -- "$ac_file" || |
|
|
6970 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
|
6971 | X"$ac_file" : 'X\(//\)[^/]' \| \ |
|
|
6972 | X"$ac_file" : 'X\(//\)$' \| \ |
|
|
6973 | X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || |
|
|
6974 | echo X"$ac_file" | |
|
|
6975 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|
|
6976 | s//\1/ |
|
|
6977 | q |
|
|
6978 | } |
|
|
6979 | /^X\(\/\/\)[^/].*/{ |
|
|
6980 | s//\1/ |
|
|
6981 | q |
|
|
6982 | } |
|
|
6983 | /^X\(\/\/\)$/{ |
|
|
6984 | s//\1/ |
|
|
6985 | q |
|
|
6986 | } |
|
|
6987 | /^X\(\/\).*/{ |
|
|
6988 | s//\1/ |
|
|
6989 | q |
|
|
6990 | } |
|
|
6991 | s/.*/./; q'` |
|
|
6992 | { as_dir="$ac_dir" |
|
|
6993 | case $as_dir in #( |
5717 | case $as_dir in #( |
6994 | -*) as_dir=./$as_dir;; |
5718 | -*) as_dir=./$as_dir;; |
6995 | esac |
5719 | esac |
6996 | test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { |
5720 | test -d "$as_dir" || eval $as_mkdir_p || { |
6997 | as_dirs= |
5721 | as_dirs= |
6998 | while :; do |
5722 | while :; do |
6999 | case $as_dir in #( |
5723 | case $as_dir in #( |
7000 | *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( |
5724 | *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
7001 | *) as_qdir=$as_dir;; |
5725 | *) as_qdir=$as_dir;; |
7002 | esac |
5726 | esac |
7003 | as_dirs="'$as_qdir' $as_dirs" |
5727 | as_dirs="'$as_qdir' $as_dirs" |
7004 | as_dir=`$as_dirname -- "$as_dir" || |
5728 | as_dir=`$as_dirname -- "$as_dir" || |
7005 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
5729 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
7006 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
5730 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
7007 | X"$as_dir" : 'X\(//\)$' \| \ |
5731 | X"$as_dir" : 'X\(//\)$' \| \ |
7008 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
5732 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
7009 | echo X"$as_dir" | |
5733 | $as_echo X"$as_dir" | |
7010 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
5734 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
7011 | s//\1/ |
5735 | s//\1/ |
7012 | q |
5736 | q |
7013 | } |
5737 | } |
7014 | /^X\(\/\/\)[^/].*/{ |
5738 | /^X\(\/\/\)[^/].*/{ |
… | |
… | |
7025 | } |
5749 | } |
7026 | s/.*/./; q'` |
5750 | s/.*/./; q'` |
7027 | test -d "$as_dir" && break |
5751 | test -d "$as_dir" && break |
7028 | done |
5752 | done |
7029 | test -z "$as_dirs" || eval "mkdir $as_dirs" |
5753 | test -z "$as_dirs" || eval "mkdir $as_dirs" |
7030 | } || 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" |
7031 | echo "$as_me: error: cannot create directory $as_dir" >&2;} |
5755 | |
7032 | { (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 |
7033 | ac_builddir=. |
6396 | ac_builddir=. |
7034 | |
6397 | |
7035 | case "$ac_dir" in |
6398 | case "$ac_dir" in |
7036 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
6399 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
7037 | *) |
6400 | *) |
7038 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
6401 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
7039 | # A ".." for each directory in $ac_dir_suffix. |
6402 | # A ".." for each directory in $ac_dir_suffix. |
7040 | 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|/||'` |
7041 | case $ac_top_builddir_sub in |
6404 | case $ac_top_builddir_sub in |
7042 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
6405 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
7043 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
6406 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
7044 | esac ;; |
6407 | esac ;; |
7045 | esac |
6408 | esac |
… | |
… | |
7073 | |
6436 | |
7074 | case $INSTALL in |
6437 | case $INSTALL in |
7075 | [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
6438 | [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
7076 | *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; |
6439 | *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; |
7077 | esac |
6440 | esac |
|
|
6441 | ac_MKDIR_P=$MKDIR_P |
|
|
6442 | case $MKDIR_P in |
|
|
6443 | [\\/$]* | ?:[\\/]* ) ;; |
|
|
6444 | */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; |
|
|
6445 | esac |
7078 | _ACEOF |
6446 | _ACEOF |
7079 | |
6447 | |
7080 | cat >>$CONFIG_STATUS <<\_ACEOF |
6448 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
7081 | # If the template does not know about datarootdir, expand it. |
6449 | # If the template does not know about datarootdir, expand it. |
7082 | # 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. |
7083 | ac_datarootdir_hack=; ac_datarootdir_seen= |
6451 | ac_datarootdir_hack=; ac_datarootdir_seen= |
7084 | |
6452 | ac_sed_dataroot=' |
7085 | case `sed -n '/datarootdir/ { |
6453 | /datarootdir/ { |
7086 | p |
6454 | p |
7087 | q |
6455 | q |
7088 | } |
6456 | } |
7089 | /@datadir@/p |
6457 | /@datadir@/p |
7090 | /@docdir@/p |
6458 | /@docdir@/p |
7091 | /@infodir@/p |
6459 | /@infodir@/p |
7092 | /@localedir@/p |
6460 | /@localedir@/p |
7093 | /@mandir@/p |
6461 | /@mandir@/p' |
7094 | ' $ac_file_inputs` in |
6462 | case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in |
7095 | *datarootdir*) ac_datarootdir_seen=yes;; |
6463 | *datarootdir*) ac_datarootdir_seen=yes;; |
7096 | *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) |
6464 | *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) |
7097 | { 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 |
7098 | 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;} |
7099 | _ACEOF |
6467 | _ACEOF |
7100 | cat >>$CONFIG_STATUS <<_ACEOF |
6468 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
7101 | ac_datarootdir_hack=' |
6469 | ac_datarootdir_hack=' |
7102 | s&@datadir@&$datadir&g |
6470 | s&@datadir@&$datadir&g |
7103 | s&@docdir@&$docdir&g |
6471 | s&@docdir@&$docdir&g |
7104 | s&@infodir@&$infodir&g |
6472 | s&@infodir@&$infodir&g |
7105 | s&@localedir@&$localedir&g |
6473 | s&@localedir@&$localedir&g |
7106 | s&@mandir@&$mandir&g |
6474 | s&@mandir@&$mandir&g |
7107 | s&\\\${datarootdir}&$datarootdir&g' ;; |
6475 | s&\\\${datarootdir}&$datarootdir&g' ;; |
7108 | esac |
6476 | esac |
7109 | _ACEOF |
6477 | _ACEOF |
7110 | |
6478 | |
7111 | # Neutralize VPATH when `$srcdir' = `.'. |
6479 | # Neutralize VPATH when `$srcdir' = `.'. |
7112 | # Shell code in configure.ac might set extrasub. |
6480 | # Shell code in configure.ac might set extrasub. |
7113 | # FIXME: do we really want to maintain this feature? |
6481 | # FIXME: do we really want to maintain this feature? |
7114 | cat >>$CONFIG_STATUS <<_ACEOF |
6482 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
7115 | sed "$ac_vpsub |
6483 | ac_sed_extra="$ac_vpsub |
7116 | $extrasub |
6484 | $extrasub |
7117 | _ACEOF |
6485 | _ACEOF |
7118 | cat >>$CONFIG_STATUS <<\_ACEOF |
6486 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
7119 | :t |
6487 | :t |
7120 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
6488 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
7121 | s&@configure_input@&$configure_input&;t t |
6489 | s|@configure_input@|$ac_sed_conf_input|;t t |
7122 | 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 |
7123 | s&@srcdir@&$ac_srcdir&;t t |
6492 | s&@srcdir@&$ac_srcdir&;t t |
7124 | s&@abs_srcdir@&$ac_abs_srcdir&;t t |
6493 | s&@abs_srcdir@&$ac_abs_srcdir&;t t |
7125 | s&@top_srcdir@&$ac_top_srcdir&;t t |
6494 | s&@top_srcdir@&$ac_top_srcdir&;t t |
7126 | s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t |
6495 | s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t |
7127 | s&@builddir@&$ac_builddir&;t t |
6496 | s&@builddir@&$ac_builddir&;t t |
7128 | s&@abs_builddir@&$ac_abs_builddir&;t t |
6497 | s&@abs_builddir@&$ac_abs_builddir&;t t |
7129 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
6498 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
7130 | s&@INSTALL@&$ac_INSTALL&;t t |
6499 | s&@INSTALL@&$ac_INSTALL&;t t |
|
|
6500 | s&@MKDIR_P@&$ac_MKDIR_P&;t t |
7131 | $ac_datarootdir_hack |
6501 | $ac_datarootdir_hack |
7132 | " $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 |
7133 | |
6505 | |
7134 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
6506 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
7135 | { 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"; } && |
7136 | { 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"; } && |
7137 | { 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' |
7138 | 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 |
7139 | 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' |
7140 | 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;} |
7141 | |
6514 | |
7142 | rm -f "$tmp/stdin" |
6515 | rm -f "$ac_tmp/stdin" |
7143 | case $ac_file in |
6516 | case $ac_file in |
7144 | -) cat "$tmp/out"; rm -f "$tmp/out";; |
6517 | -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; |
7145 | *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; |
6518 | *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; |
7146 | esac |
6519 | esac \ |
|
|
6520 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
7147 | ;; |
6521 | ;; |
7148 | :H) |
6522 | :H) |
7149 | # |
6523 | # |
7150 | # CONFIG_HEADER |
6524 | # CONFIG_HEADER |
7151 | # |
6525 | # |
7152 | _ACEOF |
|
|
7153 | |
|
|
7154 | # Transform confdefs.h into a sed script `conftest.defines', that |
|
|
7155 | # substitutes the proper values into config.h.in to produce config.h. |
|
|
7156 | rm -f conftest.defines conftest.tail |
|
|
7157 | # First, append a space to every undef/define line, to ease matching. |
|
|
7158 | echo 's/$/ /' >conftest.defines |
|
|
7159 | # Then, protect against being on the right side of a sed subst, or in |
|
|
7160 | # an unquoted here document, in config.status. If some macros were |
|
|
7161 | # called several times there might be several #defines for the same |
|
|
7162 | # symbol, which is useless. But do not sort them, since the last |
|
|
7163 | # AC_DEFINE must be honored. |
|
|
7164 | ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* |
|
|
7165 | # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where |
|
|
7166 | # NAME is the cpp macro being defined, VALUE is the value it is being given. |
|
|
7167 | # PARAMS is the parameter list in the macro definition--in most cases, it's |
|
|
7168 | # just an empty string. |
|
|
7169 | ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*' |
|
|
7170 | ac_dB='\\)[ (].*,\\1define\\2' |
|
|
7171 | ac_dC=' ' |
|
|
7172 | ac_dD=' ,' |
|
|
7173 | |
|
|
7174 | uniq confdefs.h | |
|
|
7175 | sed -n ' |
|
|
7176 | t rset |
|
|
7177 | :rset |
|
|
7178 | s/^[ ]*#[ ]*define[ ][ ]*// |
|
|
7179 | t ok |
|
|
7180 | d |
|
|
7181 | :ok |
|
|
7182 | s/[\\&,]/\\&/g |
|
|
7183 | s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p |
|
|
7184 | s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p |
|
|
7185 | ' >>conftest.defines |
|
|
7186 | |
|
|
7187 | # Remove the space that was appended to ease matching. |
|
|
7188 | # Then replace #undef with comments. This is necessary, for |
|
|
7189 | # example, in the case of _POSIX_SOURCE, which is predefined and required |
|
|
7190 | # on some systems where configure will not decide to define it. |
|
|
7191 | # (The regexp can be short, since the line contains either #define or #undef.) |
|
|
7192 | echo 's/ $// |
|
|
7193 | s,^[ #]*u.*,/* & */,' >>conftest.defines |
|
|
7194 | |
|
|
7195 | # Break up conftest.defines: |
|
|
7196 | ac_max_sed_lines=50 |
|
|
7197 | |
|
|
7198 | # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1" |
|
|
7199 | # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2" |
|
|
7200 | # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1" |
|
|
7201 | # et cetera. |
|
|
7202 | ac_in='$ac_file_inputs' |
|
|
7203 | ac_out='"$tmp/out1"' |
|
|
7204 | ac_nxt='"$tmp/out2"' |
|
|
7205 | |
|
|
7206 | while : |
|
|
7207 | do |
|
|
7208 | # Write a here document: |
|
|
7209 | cat >>$CONFIG_STATUS <<_ACEOF |
|
|
7210 | # First, check the format of the line: |
|
|
7211 | cat >"\$tmp/defines.sed" <<\\CEOF |
|
|
7212 | /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def |
|
|
7213 | /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def |
|
|
7214 | b |
|
|
7215 | :def |
|
|
7216 | _ACEOF |
|
|
7217 | sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS |
|
|
7218 | echo 'CEOF |
|
|
7219 | sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS |
|
|
7220 | ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in |
|
|
7221 | sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail |
|
|
7222 | grep . conftest.tail >/dev/null || break |
|
|
7223 | rm -f conftest.defines |
|
|
7224 | mv conftest.tail conftest.defines |
|
|
7225 | done |
|
|
7226 | rm -f conftest.defines conftest.tail |
|
|
7227 | |
|
|
7228 | echo "ac_result=$ac_in" >>$CONFIG_STATUS |
|
|
7229 | cat >>$CONFIG_STATUS <<\_ACEOF |
|
|
7230 | if test x"$ac_file" != x-; then |
6526 | if test x"$ac_file" != x-; then |
|
|
6527 | { |
7231 | echo "/* $configure_input */" >"$tmp/config.h" |
6528 | $as_echo "/* $configure_input */" \ |
7232 | 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 |
7233 | 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 |
7234 | { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 |
6533 | { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 |
7235 | echo "$as_me: $ac_file is unchanged" >&6;} |
6534 | $as_echo "$as_me: $ac_file is unchanged" >&6;} |
7236 | else |
6535 | else |
7237 | rm -f $ac_file |
6536 | rm -f "$ac_file" |
7238 | 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 |
7239 | fi |
6539 | fi |
7240 | else |
6540 | else |
7241 | echo "/* $configure_input */" |
6541 | $as_echo "/* $configure_input */" \ |
7242 | cat "$ac_result" |
6542 | && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ |
|
|
6543 | || as_fn_error $? "could not create -" "$LINENO" 5 |
7243 | fi |
6544 | fi |
7244 | rm -f "$tmp/out12" |
|
|
7245 | # Compute $ac_file's index in $config_headers. |
6545 | # Compute "$ac_file"'s index in $config_headers. |
|
|
6546 | _am_arg="$ac_file" |
7246 | _am_stamp_count=1 |
6547 | _am_stamp_count=1 |
7247 | for _am_header in $config_headers :; do |
6548 | for _am_header in $config_headers :; do |
7248 | case $_am_header in |
6549 | case $_am_header in |
7249 | $ac_file | $ac_file:* ) |
6550 | $_am_arg | $_am_arg:* ) |
7250 | break ;; |
6551 | break ;; |
7251 | * ) |
6552 | * ) |
7252 | _am_stamp_count=`expr $_am_stamp_count + 1` ;; |
6553 | _am_stamp_count=`expr $_am_stamp_count + 1` ;; |
7253 | esac |
6554 | esac |
7254 | done |
6555 | done |
7255 | echo "timestamp for $ac_file" >`$as_dirname -- $ac_file || |
6556 | echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || |
7256 | $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
6557 | $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
7257 | X$ac_file : 'X\(//\)[^/]' \| \ |
6558 | X"$_am_arg" : 'X\(//\)[^/]' \| \ |
7258 | X$ac_file : 'X\(//\)$' \| \ |
6559 | X"$_am_arg" : 'X\(//\)$' \| \ |
7259 | X$ac_file : 'X\(/\)' \| . 2>/dev/null || |
6560 | X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || |
7260 | echo X$ac_file | |
6561 | $as_echo X"$_am_arg" | |
7261 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
6562 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
7262 | s//\1/ |
6563 | s//\1/ |
7263 | q |
6564 | q |
7264 | } |
6565 | } |
7265 | /^X\(\/\/\)[^/].*/{ |
6566 | /^X\(\/\/\)[^/].*/{ |
… | |
… | |
7275 | q |
6576 | q |
7276 | } |
6577 | } |
7277 | s/.*/./; q'`/stamp-h$_am_stamp_count |
6578 | s/.*/./; q'`/stamp-h$_am_stamp_count |
7278 | ;; |
6579 | ;; |
7279 | |
6580 | |
7280 | :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5 |
6581 | :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 |
7281 | echo "$as_me: executing $ac_file commands" >&6;} |
6582 | $as_echo "$as_me: executing $ac_file commands" >&6;} |
7282 | ;; |
6583 | ;; |
7283 | esac |
6584 | esac |
7284 | |
6585 | |
7285 | |
6586 | |
7286 | case $ac_file$ac_mode in |
6587 | case $ac_file$ac_mode in |
… | |
… | |
7290 | # Check whether this is an Automake generated Makefile or not. |
6591 | # Check whether this is an Automake generated Makefile or not. |
7291 | # We used to match only the files named `Makefile.in', but |
6592 | # We used to match only the files named `Makefile.in', but |
7292 | # some people rename them; so instead we look at the file content. |
6593 | # some people rename them; so instead we look at the file content. |
7293 | # Grep'ing the first line is not enough: some people post-process |
6594 | # Grep'ing the first line is not enough: some people post-process |
7294 | # each Makefile.in and add a new line on top of each file to say so. |
6595 | # each Makefile.in and add a new line on top of each file to say so. |
7295 | # So let's grep whole file. |
6596 | # Grep'ing the whole file is not good either: AIX grep has a line |
|
|
6597 | # limit of 2048, but all sed's we know have understand at least 4000. |
7296 | if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then |
6598 | if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then |
7297 | dirpart=`$as_dirname -- "$mf" || |
6599 | dirpart=`$as_dirname -- "$mf" || |
7298 | $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
6600 | $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
7299 | X"$mf" : 'X\(//\)[^/]' \| \ |
6601 | X"$mf" : 'X\(//\)[^/]' \| \ |
7300 | X"$mf" : 'X\(//\)$' \| \ |
6602 | X"$mf" : 'X\(//\)$' \| \ |
7301 | X"$mf" : 'X\(/\)' \| . 2>/dev/null || |
6603 | X"$mf" : 'X\(/\)' \| . 2>/dev/null || |
7302 | echo X"$mf" | |
6604 | $as_echo X"$mf" | |
7303 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
6605 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
7304 | s//\1/ |
6606 | s//\1/ |
7305 | q |
6607 | q |
7306 | } |
6608 | } |
7307 | /^X\(\/\/\)[^/].*/{ |
6609 | /^X\(\/\/\)[^/].*/{ |
… | |
… | |
7318 | } |
6620 | } |
7319 | s/.*/./; q'` |
6621 | s/.*/./; q'` |
7320 | else |
6622 | else |
7321 | continue |
6623 | continue |
7322 | fi |
6624 | fi |
7323 | grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue |
6625 | # Extract the definition of DEPDIR, am__include, and am__quote |
7324 | # Extract the definition of DEP_FILES from the Makefile without |
6626 | # from the Makefile without running `make'. |
7325 | # running `make'. |
|
|
7326 | DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"` |
6627 | DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` |
7327 | test -z "$DEPDIR" && continue |
6628 | test -z "$DEPDIR" && continue |
|
|
6629 | am__include=`sed -n 's/^am__include = //p' < "$mf"` |
|
|
6630 | test -z "am__include" && continue |
|
|
6631 | am__quote=`sed -n 's/^am__quote = //p' < "$mf"` |
7328 | # When using ansi2knr, U may be empty or an underscore; expand it |
6632 | # When using ansi2knr, U may be empty or an underscore; expand it |
7329 | U=`sed -n -e '/^U = / s///p' < "$mf"` |
6633 | U=`sed -n 's/^U = //p' < "$mf"` |
7330 | test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR" |
6634 | # Find all dependency output files, they are included files with |
7331 | # We invoke sed twice because it is the simplest approach to |
6635 | # $(DEPDIR) in their names. We invoke sed twice because it is the |
7332 | # changing $(DEPDIR) to its actual value in the expansion. |
6636 | # simplest approach to changing $(DEPDIR) to its actual value in the |
|
|
6637 | # expansion. |
7333 | for file in `sed -n -e ' |
6638 | for file in `sed -n " |
7334 | /^DEP_FILES = .*\\\\$/ { |
6639 | s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ |
7335 | s/^DEP_FILES = // |
|
|
7336 | :loop |
|
|
7337 | s/\\\\$// |
|
|
7338 | p |
|
|
7339 | n |
|
|
7340 | /\\\\$/ b loop |
|
|
7341 | p |
|
|
7342 | } |
|
|
7343 | /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \ |
|
|
7344 | sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do |
6640 | sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do |
7345 | # Make sure the directory exists. |
6641 | # Make sure the directory exists. |
7346 | test -f "$dirpart/$file" && continue |
6642 | test -f "$dirpart/$file" && continue |
7347 | fdir=`$as_dirname -- "$file" || |
6643 | fdir=`$as_dirname -- "$file" || |
7348 | $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
6644 | $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
7349 | X"$file" : 'X\(//\)[^/]' \| \ |
6645 | X"$file" : 'X\(//\)[^/]' \| \ |
7350 | X"$file" : 'X\(//\)$' \| \ |
6646 | X"$file" : 'X\(//\)$' \| \ |
7351 | X"$file" : 'X\(/\)' \| . 2>/dev/null || |
6647 | X"$file" : 'X\(/\)' \| . 2>/dev/null || |
7352 | echo X"$file" | |
6648 | $as_echo X"$file" | |
7353 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
6649 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
7354 | s//\1/ |
6650 | s//\1/ |
7355 | q |
6651 | q |
7356 | } |
6652 | } |
7357 | /^X\(\/\/\)[^/].*/{ |
6653 | /^X\(\/\/\)[^/].*/{ |
… | |
… | |
7365 | /^X\(\/\).*/{ |
6661 | /^X\(\/\).*/{ |
7366 | s//\1/ |
6662 | s//\1/ |
7367 | q |
6663 | q |
7368 | } |
6664 | } |
7369 | s/.*/./; q'` |
6665 | s/.*/./; q'` |
7370 | { as_dir=$dirpart/$fdir |
6666 | as_dir=$dirpart/$fdir; as_fn_mkdir_p |
7371 | case $as_dir in #( |
|
|
7372 | -*) as_dir=./$as_dir;; |
|
|
7373 | esac |
|
|
7374 | test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { |
|
|
7375 | as_dirs= |
|
|
7376 | while :; do |
|
|
7377 | case $as_dir in #( |
|
|
7378 | *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( |
|
|
7379 | *) as_qdir=$as_dir;; |
|
|
7380 | esac |
|
|
7381 | as_dirs="'$as_qdir' $as_dirs" |
|
|
7382 | as_dir=`$as_dirname -- "$as_dir" || |
|
|
7383 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
|
7384 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
|
|
7385 | X"$as_dir" : 'X\(//\)$' \| \ |
|
|
7386 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
|
|
7387 | echo X"$as_dir" | |
|
|
7388 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|
|
7389 | s//\1/ |
|
|
7390 | q |
|
|
7391 | } |
|
|
7392 | /^X\(\/\/\)[^/].*/{ |
|
|
7393 | s//\1/ |
|
|
7394 | q |
|
|
7395 | } |
|
|
7396 | /^X\(\/\/\)$/{ |
|
|
7397 | s//\1/ |
|
|
7398 | q |
|
|
7399 | } |
|
|
7400 | /^X\(\/\).*/{ |
|
|
7401 | s//\1/ |
|
|
7402 | q |
|
|
7403 | } |
|
|
7404 | s/.*/./; q'` |
|
|
7405 | test -d "$as_dir" && break |
|
|
7406 | done |
|
|
7407 | test -z "$as_dirs" || eval "mkdir $as_dirs" |
|
|
7408 | } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 |
|
|
7409 | echo "$as_me: error: cannot create directory $as_dir" >&2;} |
|
|
7410 | { (exit 1); exit 1; }; }; } |
|
|
7411 | # echo "creating $dirpart/$file" |
6667 | # echo "creating $dirpart/$file" |
7412 | echo '# dummy' > "$dirpart/$file" |
6668 | echo '# dummy' > "$dirpart/$file" |
7413 | done |
6669 | done |
7414 | done |
6670 | done |
7415 | ;; |
6671 | ;; |
7416 | |
6672 | |
7417 | esac |
6673 | esac |
7418 | done # for ac_tag |
6674 | done # for ac_tag |
7419 | |
6675 | |
7420 | |
6676 | |
7421 | { (exit 0); exit 0; } |
6677 | as_fn_exit 0 |
7422 | _ACEOF |
6678 | _ACEOF |
7423 | chmod +x $CONFIG_STATUS |
|
|
7424 | 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 |
7425 | |
6683 | |
7426 | |
6684 | |
7427 | # configure is writing to config.log, and then calls config.status. |
6685 | # configure is writing to config.log, and then calls config.status. |
7428 | # config.status does its own redirection, appending to config.log. |
6686 | # config.status does its own redirection, appending to config.log. |
7429 | # 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 |
… | |
… | |
7440 | exec 5>/dev/null |
6698 | exec 5>/dev/null |
7441 | $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
6699 | $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
7442 | exec 5>>config.log |
6700 | exec 5>>config.log |
7443 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
6701 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
7444 | # would make configure fail if this is the last instruction. |
6702 | # would make configure fail if this is the last instruction. |
7445 | $ac_cs_success || { (exit 1); exit 1; } |
6703 | $ac_cs_success || as_fn_exit 1 |
7446 | 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 |
7447 | |
6709 | |