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