1 | #! /bin/sh |
---|
2 | # Guess values for system-dependent variables and create Makefiles. |
---|
3 | # Generated by GNU Autoconf 2.59. |
---|
4 | # |
---|
5 | # Copyright (C) 2003 Free Software Foundation, Inc. |
---|
6 | # This configure script is free software; the Free Software Foundation |
---|
7 | # gives unlimited permission to copy, distribute and modify it. |
---|
8 | ## --------------------- ## |
---|
9 | ## M4sh Initialization. ## |
---|
10 | ## --------------------- ## |
---|
11 | |
---|
12 | # Be Bourne compatible |
---|
13 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
---|
14 | emulate sh |
---|
15 | NULLCMD=: |
---|
16 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
---|
17 | # is contrary to our usage. Disable this feature. |
---|
18 | alias -g '${1+"$@"}'='"$@"' |
---|
19 | elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
---|
20 | set -o posix |
---|
21 | fi |
---|
22 | DUALCASE=1; export DUALCASE # for MKS sh |
---|
23 | |
---|
24 | # Support unset when possible. |
---|
25 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
---|
26 | as_unset=unset |
---|
27 | else |
---|
28 | as_unset=false |
---|
29 | fi |
---|
30 | |
---|
31 | |
---|
32 | # Work around bugs in pre-3.0 UWIN ksh. |
---|
33 | $as_unset ENV MAIL MAILPATH |
---|
34 | PS1='$ ' |
---|
35 | PS2='> ' |
---|
36 | PS4='+ ' |
---|
37 | |
---|
38 | # NLS nuisances. |
---|
39 | for as_var in \ |
---|
40 | LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ |
---|
41 | LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
---|
42 | LC_TELEPHONE LC_TIME |
---|
43 | do |
---|
44 | if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
---|
45 | eval $as_var=C; export $as_var |
---|
46 | else |
---|
47 | $as_unset $as_var |
---|
48 | fi |
---|
49 | done |
---|
50 | |
---|
51 | # Required to use basename. |
---|
52 | if expr a : '\(a\)' >/dev/null 2>&1; then |
---|
53 | as_expr=expr |
---|
54 | else |
---|
55 | as_expr=false |
---|
56 | fi |
---|
57 | |
---|
58 | if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then |
---|
59 | as_basename=basename |
---|
60 | else |
---|
61 | as_basename=false |
---|
62 | fi |
---|
63 | |
---|
64 | |
---|
65 | # Name of the executable. |
---|
66 | as_me=`$as_basename "$0" || |
---|
67 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
---|
68 | X"$0" : 'X\(//\)$' \| \ |
---|
69 | X"$0" : 'X\(/\)$' \| \ |
---|
70 | . : '\(.\)' 2>/dev/null || |
---|
71 | echo X/"$0" | |
---|
72 | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } |
---|
73 | /^X\/\(\/\/\)$/{ s//\1/; q; } |
---|
74 | /^X\/\(\/\).*/{ s//\1/; q; } |
---|
75 | s/.*/./; q'` |
---|
76 | |
---|
77 | |
---|
78 | # PATH needs CR, and LINENO needs CR and PATH. |
---|
79 | # Avoid depending upon Character Ranges. |
---|
80 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
---|
81 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
---|
82 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
---|
83 | as_cr_digits='0123456789' |
---|
84 | as_cr_alnum=$as_cr_Letters$as_cr_digits |
---|
85 | |
---|
86 | # The user is always right. |
---|
87 | if test "${PATH_SEPARATOR+set}" != set; then |
---|
88 | echo "#! /bin/sh" >conf$$.sh |
---|
89 | echo "exit 0" >>conf$$.sh |
---|
90 | chmod +x conf$$.sh |
---|
91 | if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
---|
92 | PATH_SEPARATOR=';' |
---|
93 | else |
---|
94 | PATH_SEPARATOR=: |
---|
95 | fi |
---|
96 | rm -f conf$$.sh |
---|
97 | fi |
---|
98 | |
---|
99 | |
---|
100 | as_lineno_1=$LINENO |
---|
101 | as_lineno_2=$LINENO |
---|
102 | as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
---|
103 | test "x$as_lineno_1" != "x$as_lineno_2" && |
---|
104 | test "x$as_lineno_3" = "x$as_lineno_2" || { |
---|
105 | # Find who we are. Look in the path if we contain no path at all |
---|
106 | # relative or not. |
---|
107 | case $0 in |
---|
108 | *[\\/]* ) as_myself=$0 ;; |
---|
109 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
110 | for as_dir in $PATH |
---|
111 | do |
---|
112 | IFS=$as_save_IFS |
---|
113 | test -z "$as_dir" && as_dir=. |
---|
114 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
---|
115 | done |
---|
116 | |
---|
117 | ;; |
---|
118 | esac |
---|
119 | # We did not find ourselves, most probably we were run as `sh COMMAND' |
---|
120 | # in which case we are not to be found in the path. |
---|
121 | if test "x$as_myself" = x; then |
---|
122 | as_myself=$0 |
---|
123 | fi |
---|
124 | if test ! -f "$as_myself"; then |
---|
125 | { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 |
---|
126 | { (exit 1); exit 1; }; } |
---|
127 | fi |
---|
128 | case $CONFIG_SHELL in |
---|
129 | '') |
---|
130 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
131 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
---|
132 | do |
---|
133 | IFS=$as_save_IFS |
---|
134 | test -z "$as_dir" && as_dir=. |
---|
135 | for as_base in sh bash ksh sh5; do |
---|
136 | case $as_dir in |
---|
137 | /*) |
---|
138 | if ("$as_dir/$as_base" -c ' |
---|
139 | as_lineno_1=$LINENO |
---|
140 | as_lineno_2=$LINENO |
---|
141 | as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
---|
142 | test "x$as_lineno_1" != "x$as_lineno_2" && |
---|
143 | test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then |
---|
144 | $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } |
---|
145 | $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } |
---|
146 | CONFIG_SHELL=$as_dir/$as_base |
---|
147 | export CONFIG_SHELL |
---|
148 | exec "$CONFIG_SHELL" "$0" ${1+"$@"} |
---|
149 | fi;; |
---|
150 | esac |
---|
151 | done |
---|
152 | done |
---|
153 | ;; |
---|
154 | esac |
---|
155 | |
---|
156 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
---|
157 | # uniformly replaced by the line number. The first 'sed' inserts a |
---|
158 | # line-number line before each line; the second 'sed' does the real |
---|
159 | # work. The second script uses 'N' to pair each line-number line |
---|
160 | # with the numbered line, and appends trailing '-' during |
---|
161 | # substitution so that $LINENO is not a special case at line end. |
---|
162 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
---|
163 | # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) |
---|
164 | sed '=' <$as_myself | |
---|
165 | sed ' |
---|
166 | N |
---|
167 | s,$,-, |
---|
168 | : loop |
---|
169 | s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, |
---|
170 | t loop |
---|
171 | s,-$,, |
---|
172 | s,^['$as_cr_digits']*\n,, |
---|
173 | ' >$as_me.lineno && |
---|
174 | chmod +x $as_me.lineno || |
---|
175 | { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
---|
176 | { (exit 1); exit 1; }; } |
---|
177 | |
---|
178 | # Don't try to exec as it changes $[0], causing all sort of problems |
---|
179 | # (the dirname of $[0] is not the place where we might find the |
---|
180 | # original and so on. Autoconf is especially sensible to this). |
---|
181 | . ./$as_me.lineno |
---|
182 | # Exit status is that of the last command. |
---|
183 | exit |
---|
184 | } |
---|
185 | |
---|
186 | |
---|
187 | case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in |
---|
188 | *c*,-n*) ECHO_N= ECHO_C=' |
---|
189 | ' ECHO_T=' ' ;; |
---|
190 | *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; |
---|
191 | *) ECHO_N= ECHO_C='\c' ECHO_T= ;; |
---|
192 | esac |
---|
193 | |
---|
194 | if expr a : '\(a\)' >/dev/null 2>&1; then |
---|
195 | as_expr=expr |
---|
196 | else |
---|
197 | as_expr=false |
---|
198 | fi |
---|
199 | |
---|
200 | rm -f conf$$ conf$$.exe conf$$.file |
---|
201 | echo >conf$$.file |
---|
202 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
---|
203 | # We could just check for DJGPP; but this test a) works b) is more generic |
---|
204 | # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). |
---|
205 | if test -f conf$$.exe; then |
---|
206 | # Don't use ln at all; we don't have any links |
---|
207 | as_ln_s='cp -p' |
---|
208 | else |
---|
209 | as_ln_s='ln -s' |
---|
210 | fi |
---|
211 | elif ln conf$$.file conf$$ 2>/dev/null; then |
---|
212 | as_ln_s=ln |
---|
213 | else |
---|
214 | as_ln_s='cp -p' |
---|
215 | fi |
---|
216 | rm -f conf$$ conf$$.exe conf$$.file |
---|
217 | |
---|
218 | if mkdir -p . 2>/dev/null; then |
---|
219 | as_mkdir_p=: |
---|
220 | else |
---|
221 | test -d ./-p && rmdir ./-p |
---|
222 | as_mkdir_p=false |
---|
223 | fi |
---|
224 | |
---|
225 | as_executable_p="test -f" |
---|
226 | |
---|
227 | # Sed expression to map a string onto a valid CPP name. |
---|
228 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
---|
229 | |
---|
230 | # Sed expression to map a string onto a valid variable name. |
---|
231 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
---|
232 | |
---|
233 | |
---|
234 | # IFS |
---|
235 | # We need space, tab and new line, in precisely that order. |
---|
236 | as_nl=' |
---|
237 | ' |
---|
238 | IFS=" $as_nl" |
---|
239 | |
---|
240 | # CDPATH. |
---|
241 | $as_unset CDPATH |
---|
242 | |
---|
243 | |
---|
244 | # Name of the host. |
---|
245 | # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, |
---|
246 | # so uname gets run too. |
---|
247 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
---|
248 | |
---|
249 | exec 6>&1 |
---|
250 | |
---|
251 | # |
---|
252 | # Initializations. |
---|
253 | # |
---|
254 | ac_default_prefix=/usr/local |
---|
255 | ac_config_libobj_dir=. |
---|
256 | cross_compiling=no |
---|
257 | subdirs= |
---|
258 | MFLAGS= |
---|
259 | MAKEFLAGS= |
---|
260 | SHELL=${CONFIG_SHELL-/bin/sh} |
---|
261 | |
---|
262 | # Maximum number of lines to put in a shell here document. |
---|
263 | # This variable seems obsolete. It should probably be removed, and |
---|
264 | # only ac_max_sed_lines should be used. |
---|
265 | : ${ac_max_here_lines=38} |
---|
266 | |
---|
267 | # Identity of this package. |
---|
268 | PACKAGE_NAME= |
---|
269 | PACKAGE_TARNAME= |
---|
270 | PACKAGE_VERSION= |
---|
271 | PACKAGE_STRING= |
---|
272 | PACKAGE_BUGREPORT= |
---|
273 | |
---|
274 | ac_unique_file="bos.c" |
---|
275 | ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT RANLIB ac_ct_RANLIB LIBOBJS LTLIBOBJS' |
---|
276 | ac_subst_files='' |
---|
277 | |
---|
278 | # Initialize some variables set by options. |
---|
279 | ac_init_help= |
---|
280 | ac_init_version=false |
---|
281 | # The variables have the same names as the options, with |
---|
282 | # dashes changed to underlines. |
---|
283 | cache_file=/dev/null |
---|
284 | exec_prefix=NONE |
---|
285 | no_create= |
---|
286 | no_recursion= |
---|
287 | prefix=NONE |
---|
288 | program_prefix=NONE |
---|
289 | program_suffix=NONE |
---|
290 | program_transform_name=s,x,x, |
---|
291 | silent= |
---|
292 | site= |
---|
293 | srcdir= |
---|
294 | verbose= |
---|
295 | x_includes=NONE |
---|
296 | x_libraries=NONE |
---|
297 | |
---|
298 | # Installation directory options. |
---|
299 | # These are left unexpanded so users can "make install exec_prefix=/foo" |
---|
300 | # and all the variables that are supposed to be based on exec_prefix |
---|
301 | # by default will actually change. |
---|
302 | # Use braces instead of parens because sh, perl, etc. also accept them. |
---|
303 | bindir='${exec_prefix}/bin' |
---|
304 | sbindir='${exec_prefix}/sbin' |
---|
305 | libexecdir='${exec_prefix}/libexec' |
---|
306 | datadir='${prefix}/share' |
---|
307 | sysconfdir='${prefix}/etc' |
---|
308 | sharedstatedir='${prefix}/com' |
---|
309 | localstatedir='${prefix}/var' |
---|
310 | libdir='${exec_prefix}/lib' |
---|
311 | includedir='${prefix}/include' |
---|
312 | oldincludedir='/usr/include' |
---|
313 | infodir='${prefix}/info' |
---|
314 | mandir='${prefix}/man' |
---|
315 | |
---|
316 | ac_prev= |
---|
317 | for ac_option |
---|
318 | do |
---|
319 | # If the previous option needs an argument, assign it. |
---|
320 | if test -n "$ac_prev"; then |
---|
321 | eval "$ac_prev=\$ac_option" |
---|
322 | ac_prev= |
---|
323 | continue |
---|
324 | fi |
---|
325 | |
---|
326 | ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` |
---|
327 | |
---|
328 | # Accept the important Cygnus configure options, so we can diagnose typos. |
---|
329 | |
---|
330 | case $ac_option in |
---|
331 | |
---|
332 | -bindir | --bindir | --bindi | --bind | --bin | --bi) |
---|
333 | ac_prev=bindir ;; |
---|
334 | -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
---|
335 | bindir=$ac_optarg ;; |
---|
336 | |
---|
337 | -build | --build | --buil | --bui | --bu) |
---|
338 | ac_prev=build_alias ;; |
---|
339 | -build=* | --build=* | --buil=* | --bui=* | --bu=*) |
---|
340 | build_alias=$ac_optarg ;; |
---|
341 | |
---|
342 | -cache-file | --cache-file | --cache-fil | --cache-fi \ |
---|
343 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
---|
344 | ac_prev=cache_file ;; |
---|
345 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
---|
346 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) |
---|
347 | cache_file=$ac_optarg ;; |
---|
348 | |
---|
349 | --config-cache | -C) |
---|
350 | cache_file=config.cache ;; |
---|
351 | |
---|
352 | -datadir | --datadir | --datadi | --datad | --data | --dat | --da) |
---|
353 | ac_prev=datadir ;; |
---|
354 | -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ |
---|
355 | | --da=*) |
---|
356 | datadir=$ac_optarg ;; |
---|
357 | |
---|
358 | -disable-* | --disable-*) |
---|
359 | ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
---|
360 | # Reject names that are not valid shell variable names. |
---|
361 | expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && |
---|
362 | { echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
---|
363 | { (exit 1); exit 1; }; } |
---|
364 | ac_feature=`echo $ac_feature | sed 's/-/_/g'` |
---|
365 | eval "enable_$ac_feature=no" ;; |
---|
366 | |
---|
367 | -enable-* | --enable-*) |
---|
368 | ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
---|
369 | # Reject names that are not valid shell variable names. |
---|
370 | expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && |
---|
371 | { echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
---|
372 | { (exit 1); exit 1; }; } |
---|
373 | ac_feature=`echo $ac_feature | sed 's/-/_/g'` |
---|
374 | case $ac_option in |
---|
375 | *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; |
---|
376 | *) ac_optarg=yes ;; |
---|
377 | esac |
---|
378 | eval "enable_$ac_feature='$ac_optarg'" ;; |
---|
379 | |
---|
380 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
---|
381 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
---|
382 | | --exec | --exe | --ex) |
---|
383 | ac_prev=exec_prefix ;; |
---|
384 | -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ |
---|
385 | | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ |
---|
386 | | --exec=* | --exe=* | --ex=*) |
---|
387 | exec_prefix=$ac_optarg ;; |
---|
388 | |
---|
389 | -gas | --gas | --ga | --g) |
---|
390 | # Obsolete; use --with-gas. |
---|
391 | with_gas=yes ;; |
---|
392 | |
---|
393 | -help | --help | --hel | --he | -h) |
---|
394 | ac_init_help=long ;; |
---|
395 | -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) |
---|
396 | ac_init_help=recursive ;; |
---|
397 | -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) |
---|
398 | ac_init_help=short ;; |
---|
399 | |
---|
400 | -host | --host | --hos | --ho) |
---|
401 | ac_prev=host_alias ;; |
---|
402 | -host=* | --host=* | --hos=* | --ho=*) |
---|
403 | host_alias=$ac_optarg ;; |
---|
404 | |
---|
405 | -includedir | --includedir | --includedi | --included | --include \ |
---|
406 | | --includ | --inclu | --incl | --inc) |
---|
407 | ac_prev=includedir ;; |
---|
408 | -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
---|
409 | | --includ=* | --inclu=* | --incl=* | --inc=*) |
---|
410 | includedir=$ac_optarg ;; |
---|
411 | |
---|
412 | -infodir | --infodir | --infodi | --infod | --info | --inf) |
---|
413 | ac_prev=infodir ;; |
---|
414 | -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) |
---|
415 | infodir=$ac_optarg ;; |
---|
416 | |
---|
417 | -libdir | --libdir | --libdi | --libd) |
---|
418 | ac_prev=libdir ;; |
---|
419 | -libdir=* | --libdir=* | --libdi=* | --libd=*) |
---|
420 | libdir=$ac_optarg ;; |
---|
421 | |
---|
422 | -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ |
---|
423 | | --libexe | --libex | --libe) |
---|
424 | ac_prev=libexecdir ;; |
---|
425 | -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
---|
426 | | --libexe=* | --libex=* | --libe=*) |
---|
427 | libexecdir=$ac_optarg ;; |
---|
428 | |
---|
429 | -localstatedir | --localstatedir | --localstatedi | --localstated \ |
---|
430 | | --localstate | --localstat | --localsta | --localst \ |
---|
431 | | --locals | --local | --loca | --loc | --lo) |
---|
432 | ac_prev=localstatedir ;; |
---|
433 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
---|
434 | | --localstate=* | --localstat=* | --localsta=* | --localst=* \ |
---|
435 | | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) |
---|
436 | localstatedir=$ac_optarg ;; |
---|
437 | |
---|
438 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
---|
439 | ac_prev=mandir ;; |
---|
440 | -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
---|
441 | mandir=$ac_optarg ;; |
---|
442 | |
---|
443 | -nfp | --nfp | --nf) |
---|
444 | # Obsolete; use --without-fp. |
---|
445 | with_fp=no ;; |
---|
446 | |
---|
447 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
---|
448 | | --no-cr | --no-c | -n) |
---|
449 | no_create=yes ;; |
---|
450 | |
---|
451 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
---|
452 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) |
---|
453 | no_recursion=yes ;; |
---|
454 | |
---|
455 | -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ |
---|
456 | | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ |
---|
457 | | --oldin | --oldi | --old | --ol | --o) |
---|
458 | ac_prev=oldincludedir ;; |
---|
459 | -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ |
---|
460 | | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ |
---|
461 | | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) |
---|
462 | oldincludedir=$ac_optarg ;; |
---|
463 | |
---|
464 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
---|
465 | ac_prev=prefix ;; |
---|
466 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
---|
467 | prefix=$ac_optarg ;; |
---|
468 | |
---|
469 | -program-prefix | --program-prefix | --program-prefi | --program-pref \ |
---|
470 | | --program-pre | --program-pr | --program-p) |
---|
471 | ac_prev=program_prefix ;; |
---|
472 | -program-prefix=* | --program-prefix=* | --program-prefi=* \ |
---|
473 | | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) |
---|
474 | program_prefix=$ac_optarg ;; |
---|
475 | |
---|
476 | -program-suffix | --program-suffix | --program-suffi | --program-suff \ |
---|
477 | | --program-suf | --program-su | --program-s) |
---|
478 | ac_prev=program_suffix ;; |
---|
479 | -program-suffix=* | --program-suffix=* | --program-suffi=* \ |
---|
480 | | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) |
---|
481 | program_suffix=$ac_optarg ;; |
---|
482 | |
---|
483 | -program-transform-name | --program-transform-name \ |
---|
484 | | --program-transform-nam | --program-transform-na \ |
---|
485 | | --program-transform-n | --program-transform- \ |
---|
486 | | --program-transform | --program-transfor \ |
---|
487 | | --program-transfo | --program-transf \ |
---|
488 | | --program-trans | --program-tran \ |
---|
489 | | --progr-tra | --program-tr | --program-t) |
---|
490 | ac_prev=program_transform_name ;; |
---|
491 | -program-transform-name=* | --program-transform-name=* \ |
---|
492 | | --program-transform-nam=* | --program-transform-na=* \ |
---|
493 | | --program-transform-n=* | --program-transform-=* \ |
---|
494 | | --program-transform=* | --program-transfor=* \ |
---|
495 | | --program-transfo=* | --program-transf=* \ |
---|
496 | | --program-trans=* | --program-tran=* \ |
---|
497 | | --progr-tra=* | --program-tr=* | --program-t=*) |
---|
498 | program_transform_name=$ac_optarg ;; |
---|
499 | |
---|
500 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
---|
501 | | -silent | --silent | --silen | --sile | --sil) |
---|
502 | silent=yes ;; |
---|
503 | |
---|
504 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
---|
505 | ac_prev=sbindir ;; |
---|
506 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
---|
507 | | --sbi=* | --sb=*) |
---|
508 | sbindir=$ac_optarg ;; |
---|
509 | |
---|
510 | -sharedstatedir | --sharedstatedir | --sharedstatedi \ |
---|
511 | | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ |
---|
512 | | --sharedst | --shareds | --shared | --share | --shar \ |
---|
513 | | --sha | --sh) |
---|
514 | ac_prev=sharedstatedir ;; |
---|
515 | -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ |
---|
516 | | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ |
---|
517 | | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ |
---|
518 | | --sha=* | --sh=*) |
---|
519 | sharedstatedir=$ac_optarg ;; |
---|
520 | |
---|
521 | -site | --site | --sit) |
---|
522 | ac_prev=site ;; |
---|
523 | -site=* | --site=* | --sit=*) |
---|
524 | site=$ac_optarg ;; |
---|
525 | |
---|
526 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
---|
527 | ac_prev=srcdir ;; |
---|
528 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
---|
529 | srcdir=$ac_optarg ;; |
---|
530 | |
---|
531 | -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ |
---|
532 | | --syscon | --sysco | --sysc | --sys | --sy) |
---|
533 | ac_prev=sysconfdir ;; |
---|
534 | -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ |
---|
535 | | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) |
---|
536 | sysconfdir=$ac_optarg ;; |
---|
537 | |
---|
538 | -target | --target | --targe | --targ | --tar | --ta | --t) |
---|
539 | ac_prev=target_alias ;; |
---|
540 | -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
---|
541 | target_alias=$ac_optarg ;; |
---|
542 | |
---|
543 | -v | -verbose | --verbose | --verbos | --verbo | --verb) |
---|
544 | verbose=yes ;; |
---|
545 | |
---|
546 | -version | --version | --versio | --versi | --vers | -V) |
---|
547 | ac_init_version=: ;; |
---|
548 | |
---|
549 | -with-* | --with-*) |
---|
550 | ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
---|
551 | # Reject names that are not valid shell variable names. |
---|
552 | expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && |
---|
553 | { echo "$as_me: error: invalid package name: $ac_package" >&2 |
---|
554 | { (exit 1); exit 1; }; } |
---|
555 | ac_package=`echo $ac_package| sed 's/-/_/g'` |
---|
556 | case $ac_option in |
---|
557 | *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; |
---|
558 | *) ac_optarg=yes ;; |
---|
559 | esac |
---|
560 | eval "with_$ac_package='$ac_optarg'" ;; |
---|
561 | |
---|
562 | -without-* | --without-*) |
---|
563 | ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
---|
564 | # Reject names that are not valid shell variable names. |
---|
565 | expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && |
---|
566 | { echo "$as_me: error: invalid package name: $ac_package" >&2 |
---|
567 | { (exit 1); exit 1; }; } |
---|
568 | ac_package=`echo $ac_package | sed 's/-/_/g'` |
---|
569 | eval "with_$ac_package=no" ;; |
---|
570 | |
---|
571 | --x) |
---|
572 | # Obsolete; use --with-x. |
---|
573 | with_x=yes ;; |
---|
574 | |
---|
575 | -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ |
---|
576 | | --x-incl | --x-inc | --x-in | --x-i) |
---|
577 | ac_prev=x_includes ;; |
---|
578 | -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ |
---|
579 | | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) |
---|
580 | x_includes=$ac_optarg ;; |
---|
581 | |
---|
582 | -x-libraries | --x-libraries | --x-librarie | --x-librari \ |
---|
583 | | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) |
---|
584 | ac_prev=x_libraries ;; |
---|
585 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
---|
586 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
---|
587 | x_libraries=$ac_optarg ;; |
---|
588 | |
---|
589 | -*) { echo "$as_me: error: unrecognized option: $ac_option |
---|
590 | Try \`$0 --help' for more information." >&2 |
---|
591 | { (exit 1); exit 1; }; } |
---|
592 | ;; |
---|
593 | |
---|
594 | *=*) |
---|
595 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
---|
596 | # Reject names that are not valid shell variable names. |
---|
597 | expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && |
---|
598 | { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 |
---|
599 | { (exit 1); exit 1; }; } |
---|
600 | ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` |
---|
601 | eval "$ac_envvar='$ac_optarg'" |
---|
602 | export $ac_envvar ;; |
---|
603 | |
---|
604 | *) |
---|
605 | # FIXME: should be removed in autoconf 3.0. |
---|
606 | echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
---|
607 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
---|
608 | echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
---|
609 | : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} |
---|
610 | ;; |
---|
611 | |
---|
612 | esac |
---|
613 | done |
---|
614 | |
---|
615 | if test -n "$ac_prev"; then |
---|
616 | ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
---|
617 | { echo "$as_me: error: missing argument to $ac_option" >&2 |
---|
618 | { (exit 1); exit 1; }; } |
---|
619 | fi |
---|
620 | |
---|
621 | # Be sure to have absolute paths. |
---|
622 | for ac_var in exec_prefix prefix |
---|
623 | do |
---|
624 | eval ac_val=$`echo $ac_var` |
---|
625 | case $ac_val in |
---|
626 | [\\/$]* | ?:[\\/]* | NONE | '' ) ;; |
---|
627 | *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
---|
628 | { (exit 1); exit 1; }; };; |
---|
629 | esac |
---|
630 | done |
---|
631 | |
---|
632 | # Be sure to have absolute paths. |
---|
633 | for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ |
---|
634 | localstatedir libdir includedir oldincludedir infodir mandir |
---|
635 | do |
---|
636 | eval ac_val=$`echo $ac_var` |
---|
637 | case $ac_val in |
---|
638 | [\\/$]* | ?:[\\/]* ) ;; |
---|
639 | *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
---|
640 | { (exit 1); exit 1; }; };; |
---|
641 | esac |
---|
642 | done |
---|
643 | |
---|
644 | # There might be people who depend on the old broken behavior: `$host' |
---|
645 | # used to hold the argument of --host etc. |
---|
646 | # FIXME: To remove some day. |
---|
647 | build=$build_alias |
---|
648 | host=$host_alias |
---|
649 | target=$target_alias |
---|
650 | |
---|
651 | # FIXME: To remove some day. |
---|
652 | if test "x$host_alias" != x; then |
---|
653 | if test "x$build_alias" = x; then |
---|
654 | cross_compiling=maybe |
---|
655 | echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. |
---|
656 | If a cross compiler is detected then cross compile mode will be used." >&2 |
---|
657 | elif test "x$build_alias" != "x$host_alias"; then |
---|
658 | cross_compiling=yes |
---|
659 | fi |
---|
660 | fi |
---|
661 | |
---|
662 | ac_tool_prefix= |
---|
663 | test -n "$host_alias" && ac_tool_prefix=$host_alias- |
---|
664 | |
---|
665 | test "$silent" = yes && exec 6>/dev/null |
---|
666 | |
---|
667 | |
---|
668 | # Find the source files, if location was not specified. |
---|
669 | if test -z "$srcdir"; then |
---|
670 | ac_srcdir_defaulted=yes |
---|
671 | # Try the directory containing this script, then its parent. |
---|
672 | ac_confdir=`(dirname "$0") 2>/dev/null || |
---|
673 | $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
674 | X"$0" : 'X\(//\)[^/]' \| \ |
---|
675 | X"$0" : 'X\(//\)$' \| \ |
---|
676 | X"$0" : 'X\(/\)' \| \ |
---|
677 | . : '\(.\)' 2>/dev/null || |
---|
678 | echo X"$0" | |
---|
679 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
---|
680 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
---|
681 | /^X\(\/\/\)$/{ s//\1/; q; } |
---|
682 | /^X\(\/\).*/{ s//\1/; q; } |
---|
683 | s/.*/./; q'` |
---|
684 | srcdir=$ac_confdir |
---|
685 | if test ! -r $srcdir/$ac_unique_file; then |
---|
686 | srcdir=.. |
---|
687 | fi |
---|
688 | else |
---|
689 | ac_srcdir_defaulted=no |
---|
690 | fi |
---|
691 | if test ! -r $srcdir/$ac_unique_file; then |
---|
692 | if test "$ac_srcdir_defaulted" = yes; then |
---|
693 | { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 |
---|
694 | { (exit 1); exit 1; }; } |
---|
695 | else |
---|
696 | { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 |
---|
697 | { (exit 1); exit 1; }; } |
---|
698 | fi |
---|
699 | fi |
---|
700 | (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || |
---|
701 | { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 |
---|
702 | { (exit 1); exit 1; }; } |
---|
703 | srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` |
---|
704 | ac_env_build_alias_set=${build_alias+set} |
---|
705 | ac_env_build_alias_value=$build_alias |
---|
706 | ac_cv_env_build_alias_set=${build_alias+set} |
---|
707 | ac_cv_env_build_alias_value=$build_alias |
---|
708 | ac_env_host_alias_set=${host_alias+set} |
---|
709 | ac_env_host_alias_value=$host_alias |
---|
710 | ac_cv_env_host_alias_set=${host_alias+set} |
---|
711 | ac_cv_env_host_alias_value=$host_alias |
---|
712 | ac_env_target_alias_set=${target_alias+set} |
---|
713 | ac_env_target_alias_value=$target_alias |
---|
714 | ac_cv_env_target_alias_set=${target_alias+set} |
---|
715 | ac_cv_env_target_alias_value=$target_alias |
---|
716 | ac_env_CC_set=${CC+set} |
---|
717 | ac_env_CC_value=$CC |
---|
718 | ac_cv_env_CC_set=${CC+set} |
---|
719 | ac_cv_env_CC_value=$CC |
---|
720 | ac_env_CFLAGS_set=${CFLAGS+set} |
---|
721 | ac_env_CFLAGS_value=$CFLAGS |
---|
722 | ac_cv_env_CFLAGS_set=${CFLAGS+set} |
---|
723 | ac_cv_env_CFLAGS_value=$CFLAGS |
---|
724 | ac_env_LDFLAGS_set=${LDFLAGS+set} |
---|
725 | ac_env_LDFLAGS_value=$LDFLAGS |
---|
726 | ac_cv_env_LDFLAGS_set=${LDFLAGS+set} |
---|
727 | ac_cv_env_LDFLAGS_value=$LDFLAGS |
---|
728 | ac_env_CPPFLAGS_set=${CPPFLAGS+set} |
---|
729 | ac_env_CPPFLAGS_value=$CPPFLAGS |
---|
730 | ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} |
---|
731 | ac_cv_env_CPPFLAGS_value=$CPPFLAGS |
---|
732 | |
---|
733 | # |
---|
734 | # Report the --help message. |
---|
735 | # |
---|
736 | if test "$ac_init_help" = "long"; then |
---|
737 | # Omit some internal or obsolete options to make the list less imposing. |
---|
738 | # This message is too long to be a string in the A/UX 3.1 sh. |
---|
739 | cat <<_ACEOF |
---|
740 | \`configure' configures this package to adapt to many kinds of systems. |
---|
741 | |
---|
742 | Usage: $0 [OPTION]... [VAR=VALUE]... |
---|
743 | |
---|
744 | To assign environment variables (e.g., CC, CFLAGS...), specify them as |
---|
745 | VAR=VALUE. See below for descriptions of some of the useful variables. |
---|
746 | |
---|
747 | Defaults for the options are specified in brackets. |
---|
748 | |
---|
749 | Configuration: |
---|
750 | -h, --help display this help and exit |
---|
751 | --help=short display options specific to this package |
---|
752 | --help=recursive display the short help of all the included packages |
---|
753 | -V, --version display version information and exit |
---|
754 | -q, --quiet, --silent do not print \`checking...' messages |
---|
755 | --cache-file=FILE cache test results in FILE [disabled] |
---|
756 | -C, --config-cache alias for \`--cache-file=config.cache' |
---|
757 | -n, --no-create do not create output files |
---|
758 | --srcdir=DIR find the sources in DIR [configure dir or \`..'] |
---|
759 | |
---|
760 | _ACEOF |
---|
761 | |
---|
762 | cat <<_ACEOF |
---|
763 | Installation directories: |
---|
764 | --prefix=PREFIX install architecture-independent files in PREFIX |
---|
765 | [$ac_default_prefix] |
---|
766 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
---|
767 | [PREFIX] |
---|
768 | |
---|
769 | By default, \`make install' will install all the files in |
---|
770 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
---|
771 | an installation prefix other than \`$ac_default_prefix' using \`--prefix', |
---|
772 | for instance \`--prefix=\$HOME'. |
---|
773 | |
---|
774 | For better control, use the options below. |
---|
775 | |
---|
776 | Fine tuning of the installation directories: |
---|
777 | --bindir=DIR user executables [EPREFIX/bin] |
---|
778 | --sbindir=DIR system admin executables [EPREFIX/sbin] |
---|
779 | --libexecdir=DIR program executables [EPREFIX/libexec] |
---|
780 | --datadir=DIR read-only architecture-independent data [PREFIX/share] |
---|
781 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
---|
782 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
---|
783 | --localstatedir=DIR modifiable single-machine data [PREFIX/var] |
---|
784 | --libdir=DIR object code libraries [EPREFIX/lib] |
---|
785 | --includedir=DIR C header files [PREFIX/include] |
---|
786 | --oldincludedir=DIR C header files for non-gcc [/usr/include] |
---|
787 | --infodir=DIR info documentation [PREFIX/info] |
---|
788 | --mandir=DIR man documentation [PREFIX/man] |
---|
789 | _ACEOF |
---|
790 | |
---|
791 | cat <<\_ACEOF |
---|
792 | _ACEOF |
---|
793 | fi |
---|
794 | |
---|
795 | if test -n "$ac_init_help"; then |
---|
796 | |
---|
797 | cat <<\_ACEOF |
---|
798 | |
---|
799 | Some influential environment variables: |
---|
800 | CC C compiler command |
---|
801 | CFLAGS C compiler flags |
---|
802 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
---|
803 | nonstandard directory <lib dir> |
---|
804 | CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have |
---|
805 | headers in a nonstandard directory <include dir> |
---|
806 | |
---|
807 | Use these variables to override the choices made by `configure' or to help |
---|
808 | it to find libraries and programs with nonstandard names/locations. |
---|
809 | |
---|
810 | _ACEOF |
---|
811 | fi |
---|
812 | |
---|
813 | if test "$ac_init_help" = "recursive"; then |
---|
814 | # If there are subdirs, report their specific --help. |
---|
815 | ac_popdir=`pwd` |
---|
816 | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
---|
817 | test -d $ac_dir || continue |
---|
818 | ac_builddir=. |
---|
819 | |
---|
820 | if test "$ac_dir" != .; then |
---|
821 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
---|
822 | # A "../" for each directory in $ac_dir_suffix. |
---|
823 | ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` |
---|
824 | else |
---|
825 | ac_dir_suffix= ac_top_builddir= |
---|
826 | fi |
---|
827 | |
---|
828 | case $srcdir in |
---|
829 | .) # No --srcdir option. We are building in place. |
---|
830 | ac_srcdir=. |
---|
831 | if test -z "$ac_top_builddir"; then |
---|
832 | ac_top_srcdir=. |
---|
833 | else |
---|
834 | ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` |
---|
835 | fi ;; |
---|
836 | [\\/]* | ?:[\\/]* ) # Absolute path. |
---|
837 | ac_srcdir=$srcdir$ac_dir_suffix; |
---|
838 | ac_top_srcdir=$srcdir ;; |
---|
839 | *) # Relative path. |
---|
840 | ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
---|
841 | ac_top_srcdir=$ac_top_builddir$srcdir ;; |
---|
842 | esac |
---|
843 | |
---|
844 | # Do not use `cd foo && pwd` to compute absolute paths, because |
---|
845 | # the directories may not exist. |
---|
846 | case `pwd` in |
---|
847 | .) ac_abs_builddir="$ac_dir";; |
---|
848 | *) |
---|
849 | case "$ac_dir" in |
---|
850 | .) ac_abs_builddir=`pwd`;; |
---|
851 | [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; |
---|
852 | *) ac_abs_builddir=`pwd`/"$ac_dir";; |
---|
853 | esac;; |
---|
854 | esac |
---|
855 | case $ac_abs_builddir in |
---|
856 | .) ac_abs_top_builddir=${ac_top_builddir}.;; |
---|
857 | *) |
---|
858 | case ${ac_top_builddir}. in |
---|
859 | .) ac_abs_top_builddir=$ac_abs_builddir;; |
---|
860 | [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; |
---|
861 | *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; |
---|
862 | esac;; |
---|
863 | esac |
---|
864 | case $ac_abs_builddir in |
---|
865 | .) ac_abs_srcdir=$ac_srcdir;; |
---|
866 | *) |
---|
867 | case $ac_srcdir in |
---|
868 | .) ac_abs_srcdir=$ac_abs_builddir;; |
---|
869 | [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; |
---|
870 | *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; |
---|
871 | esac;; |
---|
872 | esac |
---|
873 | case $ac_abs_builddir in |
---|
874 | .) ac_abs_top_srcdir=$ac_top_srcdir;; |
---|
875 | *) |
---|
876 | case $ac_top_srcdir in |
---|
877 | .) ac_abs_top_srcdir=$ac_abs_builddir;; |
---|
878 | [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; |
---|
879 | *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; |
---|
880 | esac;; |
---|
881 | esac |
---|
882 | |
---|
883 | cd $ac_dir |
---|
884 | # Check for guested configure; otherwise get Cygnus style configure. |
---|
885 | if test -f $ac_srcdir/configure.gnu; then |
---|
886 | echo |
---|
887 | $SHELL $ac_srcdir/configure.gnu --help=recursive |
---|
888 | elif test -f $ac_srcdir/configure; then |
---|
889 | echo |
---|
890 | $SHELL $ac_srcdir/configure --help=recursive |
---|
891 | elif test -f $ac_srcdir/configure.ac || |
---|
892 | test -f $ac_srcdir/configure.in; then |
---|
893 | echo |
---|
894 | $ac_configure --help |
---|
895 | else |
---|
896 | echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
---|
897 | fi |
---|
898 | cd $ac_popdir |
---|
899 | done |
---|
900 | fi |
---|
901 | |
---|
902 | test -n "$ac_init_help" && exit 0 |
---|
903 | if $ac_init_version; then |
---|
904 | cat <<\_ACEOF |
---|
905 | |
---|
906 | Copyright (C) 2003 Free Software Foundation, Inc. |
---|
907 | This configure script is free software; the Free Software Foundation |
---|
908 | gives unlimited permission to copy, distribute and modify it. |
---|
909 | _ACEOF |
---|
910 | exit 0 |
---|
911 | fi |
---|
912 | exec 5>config.log |
---|
913 | cat >&5 <<_ACEOF |
---|
914 | This file contains any messages produced by compilers while |
---|
915 | running configure, to aid debugging if configure makes a mistake. |
---|
916 | |
---|
917 | It was created by $as_me, which was |
---|
918 | generated by GNU Autoconf 2.59. Invocation command line was |
---|
919 | |
---|
920 | $ $0 $@ |
---|
921 | |
---|
922 | _ACEOF |
---|
923 | { |
---|
924 | cat <<_ASUNAME |
---|
925 | ## --------- ## |
---|
926 | ## Platform. ## |
---|
927 | ## --------- ## |
---|
928 | |
---|
929 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` |
---|
930 | uname -m = `(uname -m) 2>/dev/null || echo unknown` |
---|
931 | uname -r = `(uname -r) 2>/dev/null || echo unknown` |
---|
932 | uname -s = `(uname -s) 2>/dev/null || echo unknown` |
---|
933 | uname -v = `(uname -v) 2>/dev/null || echo unknown` |
---|
934 | |
---|
935 | /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` |
---|
936 | /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` |
---|
937 | |
---|
938 | /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` |
---|
939 | /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` |
---|
940 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` |
---|
941 | hostinfo = `(hostinfo) 2>/dev/null || echo unknown` |
---|
942 | /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` |
---|
943 | /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` |
---|
944 | /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` |
---|
945 | |
---|
946 | _ASUNAME |
---|
947 | |
---|
948 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
949 | for as_dir in $PATH |
---|
950 | do |
---|
951 | IFS=$as_save_IFS |
---|
952 | test -z "$as_dir" && as_dir=. |
---|
953 | echo "PATH: $as_dir" |
---|
954 | done |
---|
955 | |
---|
956 | } >&5 |
---|
957 | |
---|
958 | cat >&5 <<_ACEOF |
---|
959 | |
---|
960 | |
---|
961 | ## ----------- ## |
---|
962 | ## Core tests. ## |
---|
963 | ## ----------- ## |
---|
964 | |
---|
965 | _ACEOF |
---|
966 | |
---|
967 | |
---|
968 | # Keep a trace of the command line. |
---|
969 | # Strip out --no-create and --no-recursion so they do not pile up. |
---|
970 | # Strip out --silent because we don't want to record it for future runs. |
---|
971 | # Also quote any args containing shell meta-characters. |
---|
972 | # Make two passes to allow for proper duplicate-argument suppression. |
---|
973 | ac_configure_args= |
---|
974 | ac_configure_args0= |
---|
975 | ac_configure_args1= |
---|
976 | ac_sep= |
---|
977 | ac_must_keep_next=false |
---|
978 | for ac_pass in 1 2 |
---|
979 | do |
---|
980 | for ac_arg |
---|
981 | do |
---|
982 | case $ac_arg in |
---|
983 | -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
---|
984 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
---|
985 | | -silent | --silent | --silen | --sile | --sil) |
---|
986 | continue ;; |
---|
987 | *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) |
---|
988 | ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
---|
989 | esac |
---|
990 | case $ac_pass in |
---|
991 | 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; |
---|
992 | 2) |
---|
993 | ac_configure_args1="$ac_configure_args1 '$ac_arg'" |
---|
994 | if test $ac_must_keep_next = true; then |
---|
995 | ac_must_keep_next=false # Got value, back to normal. |
---|
996 | else |
---|
997 | case $ac_arg in |
---|
998 | *=* | --config-cache | -C | -disable-* | --disable-* \ |
---|
999 | | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
---|
1000 | | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
---|
1001 | | -with-* | --with-* | -without-* | --without-* | --x) |
---|
1002 | case "$ac_configure_args0 " in |
---|
1003 | "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
---|
1004 | esac |
---|
1005 | ;; |
---|
1006 | -* ) ac_must_keep_next=true ;; |
---|
1007 | esac |
---|
1008 | fi |
---|
1009 | ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" |
---|
1010 | # Get rid of the leading space. |
---|
1011 | ac_sep=" " |
---|
1012 | ;; |
---|
1013 | esac |
---|
1014 | done |
---|
1015 | done |
---|
1016 | $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } |
---|
1017 | $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } |
---|
1018 | |
---|
1019 | # When interrupted or exit'd, cleanup temporary files, and complete |
---|
1020 | # config.log. We remove comments because anyway the quotes in there |
---|
1021 | # would cause problems or look ugly. |
---|
1022 | # WARNING: Be sure not to use single quotes in there, as some shells, |
---|
1023 | # such as our DU 5.0 friend, will then `close' the trap. |
---|
1024 | trap 'exit_status=$? |
---|
1025 | # Save into config.log some information that might help in debugging. |
---|
1026 | { |
---|
1027 | echo |
---|
1028 | |
---|
1029 | cat <<\_ASBOX |
---|
1030 | ## ---------------- ## |
---|
1031 | ## Cache variables. ## |
---|
1032 | ## ---------------- ## |
---|
1033 | _ASBOX |
---|
1034 | echo |
---|
1035 | # The following way of writing the cache mishandles newlines in values, |
---|
1036 | { |
---|
1037 | (set) 2>&1 | |
---|
1038 | case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in |
---|
1039 | *ac_space=\ *) |
---|
1040 | sed -n \ |
---|
1041 | "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; |
---|
1042 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" |
---|
1043 | ;; |
---|
1044 | *) |
---|
1045 | sed -n \ |
---|
1046 | "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
---|
1047 | ;; |
---|
1048 | esac; |
---|
1049 | } |
---|
1050 | echo |
---|
1051 | |
---|
1052 | cat <<\_ASBOX |
---|
1053 | ## ----------------- ## |
---|
1054 | ## Output variables. ## |
---|
1055 | ## ----------------- ## |
---|
1056 | _ASBOX |
---|
1057 | echo |
---|
1058 | for ac_var in $ac_subst_vars |
---|
1059 | do |
---|
1060 | eval ac_val=$`echo $ac_var` |
---|
1061 | echo "$ac_var='"'"'$ac_val'"'"'" |
---|
1062 | done | sort |
---|
1063 | echo |
---|
1064 | |
---|
1065 | if test -n "$ac_subst_files"; then |
---|
1066 | cat <<\_ASBOX |
---|
1067 | ## ------------- ## |
---|
1068 | ## Output files. ## |
---|
1069 | ## ------------- ## |
---|
1070 | _ASBOX |
---|
1071 | echo |
---|
1072 | for ac_var in $ac_subst_files |
---|
1073 | do |
---|
1074 | eval ac_val=$`echo $ac_var` |
---|
1075 | echo "$ac_var='"'"'$ac_val'"'"'" |
---|
1076 | done | sort |
---|
1077 | echo |
---|
1078 | fi |
---|
1079 | |
---|
1080 | if test -s confdefs.h; then |
---|
1081 | cat <<\_ASBOX |
---|
1082 | ## ----------- ## |
---|
1083 | ## confdefs.h. ## |
---|
1084 | ## ----------- ## |
---|
1085 | _ASBOX |
---|
1086 | echo |
---|
1087 | sed "/^$/d" confdefs.h | sort |
---|
1088 | echo |
---|
1089 | fi |
---|
1090 | test "$ac_signal" != 0 && |
---|
1091 | echo "$as_me: caught signal $ac_signal" |
---|
1092 | echo "$as_me: exit $exit_status" |
---|
1093 | } >&5 |
---|
1094 | rm -f core *.core && |
---|
1095 | rm -rf conftest* confdefs* conf$$* $ac_clean_files && |
---|
1096 | exit $exit_status |
---|
1097 | ' 0 |
---|
1098 | for ac_signal in 1 2 13 15; do |
---|
1099 | trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal |
---|
1100 | done |
---|
1101 | ac_signal=0 |
---|
1102 | |
---|
1103 | # confdefs.h avoids OS command line length limits that DEFS can exceed. |
---|
1104 | rm -rf conftest* confdefs.h |
---|
1105 | # AIX cpp loses on an empty file, so make sure it contains at least a newline. |
---|
1106 | echo >confdefs.h |
---|
1107 | |
---|
1108 | # Predefined preprocessor variables. |
---|
1109 | |
---|
1110 | cat >>confdefs.h <<_ACEOF |
---|
1111 | #define PACKAGE_NAME "$PACKAGE_NAME" |
---|
1112 | _ACEOF |
---|
1113 | |
---|
1114 | |
---|
1115 | cat >>confdefs.h <<_ACEOF |
---|
1116 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
---|
1117 | _ACEOF |
---|
1118 | |
---|
1119 | |
---|
1120 | cat >>confdefs.h <<_ACEOF |
---|
1121 | #define PACKAGE_VERSION "$PACKAGE_VERSION" |
---|
1122 | _ACEOF |
---|
1123 | |
---|
1124 | |
---|
1125 | cat >>confdefs.h <<_ACEOF |
---|
1126 | #define PACKAGE_STRING "$PACKAGE_STRING" |
---|
1127 | _ACEOF |
---|
1128 | |
---|
1129 | |
---|
1130 | cat >>confdefs.h <<_ACEOF |
---|
1131 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
---|
1132 | _ACEOF |
---|
1133 | |
---|
1134 | |
---|
1135 | # Let the site file select an alternate cache file if it wants to. |
---|
1136 | # Prefer explicitly selected file to automatically selected ones. |
---|
1137 | if test -z "$CONFIG_SITE"; then |
---|
1138 | if test "x$prefix" != xNONE; then |
---|
1139 | CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" |
---|
1140 | else |
---|
1141 | CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" |
---|
1142 | fi |
---|
1143 | fi |
---|
1144 | for ac_site_file in $CONFIG_SITE; do |
---|
1145 | if test -r "$ac_site_file"; then |
---|
1146 | { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 |
---|
1147 | echo "$as_me: loading site script $ac_site_file" >&6;} |
---|
1148 | sed 's/^/| /' "$ac_site_file" >&5 |
---|
1149 | . "$ac_site_file" |
---|
1150 | fi |
---|
1151 | done |
---|
1152 | |
---|
1153 | if test -r "$cache_file"; then |
---|
1154 | # Some versions of bash will fail to source /dev/null (special |
---|
1155 | # files actually), so we avoid doing that. |
---|
1156 | if test -f "$cache_file"; then |
---|
1157 | { echo "$as_me:$LINENO: loading cache $cache_file" >&5 |
---|
1158 | echo "$as_me: loading cache $cache_file" >&6;} |
---|
1159 | case $cache_file in |
---|
1160 | [\\/]* | ?:[\\/]* ) . $cache_file;; |
---|
1161 | *) . ./$cache_file;; |
---|
1162 | esac |
---|
1163 | fi |
---|
1164 | else |
---|
1165 | { echo "$as_me:$LINENO: creating cache $cache_file" >&5 |
---|
1166 | echo "$as_me: creating cache $cache_file" >&6;} |
---|
1167 | >$cache_file |
---|
1168 | fi |
---|
1169 | |
---|
1170 | # Check that the precious variables saved in the cache have kept the same |
---|
1171 | # value. |
---|
1172 | ac_cache_corrupted=false |
---|
1173 | for ac_var in `(set) 2>&1 | |
---|
1174 | sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do |
---|
1175 | eval ac_old_set=\$ac_cv_env_${ac_var}_set |
---|
1176 | eval ac_new_set=\$ac_env_${ac_var}_set |
---|
1177 | eval ac_old_val="\$ac_cv_env_${ac_var}_value" |
---|
1178 | eval ac_new_val="\$ac_env_${ac_var}_value" |
---|
1179 | case $ac_old_set,$ac_new_set in |
---|
1180 | set,) |
---|
1181 | { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
---|
1182 | echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
---|
1183 | ac_cache_corrupted=: ;; |
---|
1184 | ,set) |
---|
1185 | { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 |
---|
1186 | echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
---|
1187 | ac_cache_corrupted=: ;; |
---|
1188 | ,);; |
---|
1189 | *) |
---|
1190 | if test "x$ac_old_val" != "x$ac_new_val"; then |
---|
1191 | { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 |
---|
1192 | echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
---|
1193 | { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 |
---|
1194 | echo "$as_me: former value: $ac_old_val" >&2;} |
---|
1195 | { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 |
---|
1196 | echo "$as_me: current value: $ac_new_val" >&2;} |
---|
1197 | ac_cache_corrupted=: |
---|
1198 | fi;; |
---|
1199 | esac |
---|
1200 | # Pass precious variables to config.status. |
---|
1201 | if test "$ac_new_set" = set; then |
---|
1202 | case $ac_new_val in |
---|
1203 | *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) |
---|
1204 | ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
---|
1205 | *) ac_arg=$ac_var=$ac_new_val ;; |
---|
1206 | esac |
---|
1207 | case " $ac_configure_args " in |
---|
1208 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
---|
1209 | *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; |
---|
1210 | esac |
---|
1211 | fi |
---|
1212 | done |
---|
1213 | if $ac_cache_corrupted; then |
---|
1214 | { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 |
---|
1215 | echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
---|
1216 | { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 |
---|
1217 | echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} |
---|
1218 | { (exit 1); exit 1; }; } |
---|
1219 | fi |
---|
1220 | |
---|
1221 | ac_ext=c |
---|
1222 | ac_cpp='$CPP $CPPFLAGS' |
---|
1223 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
1224 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
1225 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
1226 | |
---|
1227 | |
---|
1228 | |
---|
1229 | |
---|
1230 | |
---|
1231 | |
---|
1232 | |
---|
1233 | |
---|
1234 | |
---|
1235 | |
---|
1236 | |
---|
1237 | |
---|
1238 | |
---|
1239 | |
---|
1240 | |
---|
1241 | |
---|
1242 | |
---|
1243 | |
---|
1244 | |
---|
1245 | |
---|
1246 | |
---|
1247 | ac_ext=c |
---|
1248 | ac_cpp='$CPP $CPPFLAGS' |
---|
1249 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
1250 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
1251 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
1252 | if test -n "$ac_tool_prefix"; then |
---|
1253 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
---|
1254 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
---|
1255 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
1256 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
---|
1257 | if test "${ac_cv_prog_CC+set}" = set; then |
---|
1258 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
1259 | else |
---|
1260 | if test -n "$CC"; then |
---|
1261 | ac_cv_prog_CC="$CC" # Let the user override the test. |
---|
1262 | else |
---|
1263 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
1264 | for as_dir in $PATH |
---|
1265 | do |
---|
1266 | IFS=$as_save_IFS |
---|
1267 | test -z "$as_dir" && as_dir=. |
---|
1268 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
1269 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
1270 | ac_cv_prog_CC="${ac_tool_prefix}gcc" |
---|
1271 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
1272 | break 2 |
---|
1273 | fi |
---|
1274 | done |
---|
1275 | done |
---|
1276 | |
---|
1277 | fi |
---|
1278 | fi |
---|
1279 | CC=$ac_cv_prog_CC |
---|
1280 | if test -n "$CC"; then |
---|
1281 | echo "$as_me:$LINENO: result: $CC" >&5 |
---|
1282 | echo "${ECHO_T}$CC" >&6 |
---|
1283 | else |
---|
1284 | echo "$as_me:$LINENO: result: no" >&5 |
---|
1285 | echo "${ECHO_T}no" >&6 |
---|
1286 | fi |
---|
1287 | |
---|
1288 | fi |
---|
1289 | if test -z "$ac_cv_prog_CC"; then |
---|
1290 | ac_ct_CC=$CC |
---|
1291 | # Extract the first word of "gcc", so it can be a program name with args. |
---|
1292 | set dummy gcc; ac_word=$2 |
---|
1293 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
1294 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
---|
1295 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
---|
1296 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
1297 | else |
---|
1298 | if test -n "$ac_ct_CC"; then |
---|
1299 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
---|
1300 | else |
---|
1301 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
1302 | for as_dir in $PATH |
---|
1303 | do |
---|
1304 | IFS=$as_save_IFS |
---|
1305 | test -z "$as_dir" && as_dir=. |
---|
1306 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
1307 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
1308 | ac_cv_prog_ac_ct_CC="gcc" |
---|
1309 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
1310 | break 2 |
---|
1311 | fi |
---|
1312 | done |
---|
1313 | done |
---|
1314 | |
---|
1315 | fi |
---|
1316 | fi |
---|
1317 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
---|
1318 | if test -n "$ac_ct_CC"; then |
---|
1319 | echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
---|
1320 | echo "${ECHO_T}$ac_ct_CC" >&6 |
---|
1321 | else |
---|
1322 | echo "$as_me:$LINENO: result: no" >&5 |
---|
1323 | echo "${ECHO_T}no" >&6 |
---|
1324 | fi |
---|
1325 | |
---|
1326 | CC=$ac_ct_CC |
---|
1327 | else |
---|
1328 | CC="$ac_cv_prog_CC" |
---|
1329 | fi |
---|
1330 | |
---|
1331 | if test -z "$CC"; then |
---|
1332 | if test -n "$ac_tool_prefix"; then |
---|
1333 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
---|
1334 | set dummy ${ac_tool_prefix}cc; ac_word=$2 |
---|
1335 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
1336 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
---|
1337 | if test "${ac_cv_prog_CC+set}" = set; then |
---|
1338 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
1339 | else |
---|
1340 | if test -n "$CC"; then |
---|
1341 | ac_cv_prog_CC="$CC" # Let the user override the test. |
---|
1342 | else |
---|
1343 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
1344 | for as_dir in $PATH |
---|
1345 | do |
---|
1346 | IFS=$as_save_IFS |
---|
1347 | test -z "$as_dir" && as_dir=. |
---|
1348 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
1349 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
1350 | ac_cv_prog_CC="${ac_tool_prefix}cc" |
---|
1351 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
1352 | break 2 |
---|
1353 | fi |
---|
1354 | done |
---|
1355 | done |
---|
1356 | |
---|
1357 | fi |
---|
1358 | fi |
---|
1359 | CC=$ac_cv_prog_CC |
---|
1360 | if test -n "$CC"; then |
---|
1361 | echo "$as_me:$LINENO: result: $CC" >&5 |
---|
1362 | echo "${ECHO_T}$CC" >&6 |
---|
1363 | else |
---|
1364 | echo "$as_me:$LINENO: result: no" >&5 |
---|
1365 | echo "${ECHO_T}no" >&6 |
---|
1366 | fi |
---|
1367 | |
---|
1368 | fi |
---|
1369 | if test -z "$ac_cv_prog_CC"; then |
---|
1370 | ac_ct_CC=$CC |
---|
1371 | # Extract the first word of "cc", so it can be a program name with args. |
---|
1372 | set dummy cc; ac_word=$2 |
---|
1373 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
1374 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
---|
1375 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
---|
1376 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
1377 | else |
---|
1378 | if test -n "$ac_ct_CC"; then |
---|
1379 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
---|
1380 | else |
---|
1381 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
1382 | for as_dir in $PATH |
---|
1383 | do |
---|
1384 | IFS=$as_save_IFS |
---|
1385 | test -z "$as_dir" && as_dir=. |
---|
1386 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
1387 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
1388 | ac_cv_prog_ac_ct_CC="cc" |
---|
1389 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
1390 | break 2 |
---|
1391 | fi |
---|
1392 | done |
---|
1393 | done |
---|
1394 | |
---|
1395 | fi |
---|
1396 | fi |
---|
1397 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
---|
1398 | if test -n "$ac_ct_CC"; then |
---|
1399 | echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
---|
1400 | echo "${ECHO_T}$ac_ct_CC" >&6 |
---|
1401 | else |
---|
1402 | echo "$as_me:$LINENO: result: no" >&5 |
---|
1403 | echo "${ECHO_T}no" >&6 |
---|
1404 | fi |
---|
1405 | |
---|
1406 | CC=$ac_ct_CC |
---|
1407 | else |
---|
1408 | CC="$ac_cv_prog_CC" |
---|
1409 | fi |
---|
1410 | |
---|
1411 | fi |
---|
1412 | if test -z "$CC"; then |
---|
1413 | # Extract the first word of "cc", so it can be a program name with args. |
---|
1414 | set dummy cc; ac_word=$2 |
---|
1415 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
1416 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
---|
1417 | if test "${ac_cv_prog_CC+set}" = set; then |
---|
1418 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
1419 | else |
---|
1420 | if test -n "$CC"; then |
---|
1421 | ac_cv_prog_CC="$CC" # Let the user override the test. |
---|
1422 | else |
---|
1423 | ac_prog_rejected=no |
---|
1424 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
1425 | for as_dir in $PATH |
---|
1426 | do |
---|
1427 | IFS=$as_save_IFS |
---|
1428 | test -z "$as_dir" && as_dir=. |
---|
1429 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
1430 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
1431 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
---|
1432 | ac_prog_rejected=yes |
---|
1433 | continue |
---|
1434 | fi |
---|
1435 | ac_cv_prog_CC="cc" |
---|
1436 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
1437 | break 2 |
---|
1438 | fi |
---|
1439 | done |
---|
1440 | done |
---|
1441 | |
---|
1442 | if test $ac_prog_rejected = yes; then |
---|
1443 | # We found a bogon in the path, so make sure we never use it. |
---|
1444 | set dummy $ac_cv_prog_CC |
---|
1445 | shift |
---|
1446 | if test $# != 0; then |
---|
1447 | # We chose a different compiler from the bogus one. |
---|
1448 | # However, it has the same basename, so the bogon will be chosen |
---|
1449 | # first if we set CC to just the basename; use the full file name. |
---|
1450 | shift |
---|
1451 | ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
---|
1452 | fi |
---|
1453 | fi |
---|
1454 | fi |
---|
1455 | fi |
---|
1456 | CC=$ac_cv_prog_CC |
---|
1457 | if test -n "$CC"; then |
---|
1458 | echo "$as_me:$LINENO: result: $CC" >&5 |
---|
1459 | echo "${ECHO_T}$CC" >&6 |
---|
1460 | else |
---|
1461 | echo "$as_me:$LINENO: result: no" >&5 |
---|
1462 | echo "${ECHO_T}no" >&6 |
---|
1463 | fi |
---|
1464 | |
---|
1465 | fi |
---|
1466 | if test -z "$CC"; then |
---|
1467 | if test -n "$ac_tool_prefix"; then |
---|
1468 | for ac_prog in cl |
---|
1469 | do |
---|
1470 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
---|
1471 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
---|
1472 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
1473 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
---|
1474 | if test "${ac_cv_prog_CC+set}" = set; then |
---|
1475 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
1476 | else |
---|
1477 | if test -n "$CC"; then |
---|
1478 | ac_cv_prog_CC="$CC" # Let the user override the test. |
---|
1479 | else |
---|
1480 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
1481 | for as_dir in $PATH |
---|
1482 | do |
---|
1483 | IFS=$as_save_IFS |
---|
1484 | test -z "$as_dir" && as_dir=. |
---|
1485 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
1486 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
1487 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
---|
1488 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
1489 | break 2 |
---|
1490 | fi |
---|
1491 | done |
---|
1492 | done |
---|
1493 | |
---|
1494 | fi |
---|
1495 | fi |
---|
1496 | CC=$ac_cv_prog_CC |
---|
1497 | if test -n "$CC"; then |
---|
1498 | echo "$as_me:$LINENO: result: $CC" >&5 |
---|
1499 | echo "${ECHO_T}$CC" >&6 |
---|
1500 | else |
---|
1501 | echo "$as_me:$LINENO: result: no" >&5 |
---|
1502 | echo "${ECHO_T}no" >&6 |
---|
1503 | fi |
---|
1504 | |
---|
1505 | test -n "$CC" && break |
---|
1506 | done |
---|
1507 | fi |
---|
1508 | if test -z "$CC"; then |
---|
1509 | ac_ct_CC=$CC |
---|
1510 | for ac_prog in cl |
---|
1511 | do |
---|
1512 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
---|
1513 | set dummy $ac_prog; ac_word=$2 |
---|
1514 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
1515 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
---|
1516 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
---|
1517 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
1518 | else |
---|
1519 | if test -n "$ac_ct_CC"; then |
---|
1520 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
---|
1521 | else |
---|
1522 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
1523 | for as_dir in $PATH |
---|
1524 | do |
---|
1525 | IFS=$as_save_IFS |
---|
1526 | test -z "$as_dir" && as_dir=. |
---|
1527 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
1528 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
1529 | ac_cv_prog_ac_ct_CC="$ac_prog" |
---|
1530 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
1531 | break 2 |
---|
1532 | fi |
---|
1533 | done |
---|
1534 | done |
---|
1535 | |
---|
1536 | fi |
---|
1537 | fi |
---|
1538 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
---|
1539 | if test -n "$ac_ct_CC"; then |
---|
1540 | echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
---|
1541 | echo "${ECHO_T}$ac_ct_CC" >&6 |
---|
1542 | else |
---|
1543 | echo "$as_me:$LINENO: result: no" >&5 |
---|
1544 | echo "${ECHO_T}no" >&6 |
---|
1545 | fi |
---|
1546 | |
---|
1547 | test -n "$ac_ct_CC" && break |
---|
1548 | done |
---|
1549 | |
---|
1550 | CC=$ac_ct_CC |
---|
1551 | fi |
---|
1552 | |
---|
1553 | fi |
---|
1554 | |
---|
1555 | |
---|
1556 | test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH |
---|
1557 | See \`config.log' for more details." >&5 |
---|
1558 | echo "$as_me: error: no acceptable C compiler found in \$PATH |
---|
1559 | See \`config.log' for more details." >&2;} |
---|
1560 | { (exit 1); exit 1; }; } |
---|
1561 | |
---|
1562 | # Provide some information about the compiler. |
---|
1563 | echo "$as_me:$LINENO:" \ |
---|
1564 | "checking for C compiler version" >&5 |
---|
1565 | ac_compiler=`set X $ac_compile; echo $2` |
---|
1566 | { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 |
---|
1567 | (eval $ac_compiler --version </dev/null >&5) 2>&5 |
---|
1568 | ac_status=$? |
---|
1569 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
1570 | (exit $ac_status); } |
---|
1571 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 |
---|
1572 | (eval $ac_compiler -v </dev/null >&5) 2>&5 |
---|
1573 | ac_status=$? |
---|
1574 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
1575 | (exit $ac_status); } |
---|
1576 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 |
---|
1577 | (eval $ac_compiler -V </dev/null >&5) 2>&5 |
---|
1578 | ac_status=$? |
---|
1579 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
1580 | (exit $ac_status); } |
---|
1581 | |
---|
1582 | cat >conftest.$ac_ext <<_ACEOF |
---|
1583 | /* confdefs.h. */ |
---|
1584 | _ACEOF |
---|
1585 | cat confdefs.h >>conftest.$ac_ext |
---|
1586 | cat >>conftest.$ac_ext <<_ACEOF |
---|
1587 | /* end confdefs.h. */ |
---|
1588 | |
---|
1589 | int |
---|
1590 | main () |
---|
1591 | { |
---|
1592 | |
---|
1593 | ; |
---|
1594 | return 0; |
---|
1595 | } |
---|
1596 | _ACEOF |
---|
1597 | ac_clean_files_save=$ac_clean_files |
---|
1598 | ac_clean_files="$ac_clean_files a.out a.exe b.out" |
---|
1599 | # Try to create an executable without -o first, disregard a.out. |
---|
1600 | # It will help us diagnose broken compilers, and finding out an intuition |
---|
1601 | # of exeext. |
---|
1602 | echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 |
---|
1603 | echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 |
---|
1604 | ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
---|
1605 | if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 |
---|
1606 | (eval $ac_link_default) 2>&5 |
---|
1607 | ac_status=$? |
---|
1608 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
1609 | (exit $ac_status); }; then |
---|
1610 | # Find the output, starting from the most likely. This scheme is |
---|
1611 | # not robust to junk in `.', hence go to wildcards (a.*) only as a last |
---|
1612 | # resort. |
---|
1613 | |
---|
1614 | # Be careful to initialize this variable, since it used to be cached. |
---|
1615 | # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. |
---|
1616 | ac_cv_exeext= |
---|
1617 | # b.out is created by i960 compilers. |
---|
1618 | for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out |
---|
1619 | do |
---|
1620 | test -f "$ac_file" || continue |
---|
1621 | case $ac_file in |
---|
1622 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) |
---|
1623 | ;; |
---|
1624 | conftest.$ac_ext ) |
---|
1625 | # This is the source file. |
---|
1626 | ;; |
---|
1627 | [ab].out ) |
---|
1628 | # We found the default executable, but exeext='' is most |
---|
1629 | # certainly right. |
---|
1630 | break;; |
---|
1631 | *.* ) |
---|
1632 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
---|
1633 | # FIXME: I believe we export ac_cv_exeext for Libtool, |
---|
1634 | # but it would be cool to find out if it's true. Does anybody |
---|
1635 | # maintain Libtool? --akim. |
---|
1636 | export ac_cv_exeext |
---|
1637 | break;; |
---|
1638 | * ) |
---|
1639 | break;; |
---|
1640 | esac |
---|
1641 | done |
---|
1642 | else |
---|
1643 | echo "$as_me: failed program was:" >&5 |
---|
1644 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
1645 | |
---|
1646 | { { echo "$as_me:$LINENO: error: C compiler cannot create executables |
---|
1647 | See \`config.log' for more details." >&5 |
---|
1648 | echo "$as_me: error: C compiler cannot create executables |
---|
1649 | See \`config.log' for more details." >&2;} |
---|
1650 | { (exit 77); exit 77; }; } |
---|
1651 | fi |
---|
1652 | |
---|
1653 | ac_exeext=$ac_cv_exeext |
---|
1654 | echo "$as_me:$LINENO: result: $ac_file" >&5 |
---|
1655 | echo "${ECHO_T}$ac_file" >&6 |
---|
1656 | |
---|
1657 | # Check the compiler produces executables we can run. If not, either |
---|
1658 | # the compiler is broken, or we cross compile. |
---|
1659 | echo "$as_me:$LINENO: checking whether the C compiler works" >&5 |
---|
1660 | echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 |
---|
1661 | # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 |
---|
1662 | # If not cross compiling, check that we can run a simple program. |
---|
1663 | if test "$cross_compiling" != yes; then |
---|
1664 | if { ac_try='./$ac_file' |
---|
1665 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
1666 | (eval $ac_try) 2>&5 |
---|
1667 | ac_status=$? |
---|
1668 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
1669 | (exit $ac_status); }; }; then |
---|
1670 | cross_compiling=no |
---|
1671 | else |
---|
1672 | if test "$cross_compiling" = maybe; then |
---|
1673 | cross_compiling=yes |
---|
1674 | else |
---|
1675 | { { echo "$as_me:$LINENO: error: cannot run C compiled programs. |
---|
1676 | If you meant to cross compile, use \`--host'. |
---|
1677 | See \`config.log' for more details." >&5 |
---|
1678 | echo "$as_me: error: cannot run C compiled programs. |
---|
1679 | If you meant to cross compile, use \`--host'. |
---|
1680 | See \`config.log' for more details." >&2;} |
---|
1681 | { (exit 1); exit 1; }; } |
---|
1682 | fi |
---|
1683 | fi |
---|
1684 | fi |
---|
1685 | echo "$as_me:$LINENO: result: yes" >&5 |
---|
1686 | echo "${ECHO_T}yes" >&6 |
---|
1687 | |
---|
1688 | rm -f a.out a.exe conftest$ac_cv_exeext b.out |
---|
1689 | ac_clean_files=$ac_clean_files_save |
---|
1690 | # Check the compiler produces executables we can run. If not, either |
---|
1691 | # the compiler is broken, or we cross compile. |
---|
1692 | echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 |
---|
1693 | echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 |
---|
1694 | echo "$as_me:$LINENO: result: $cross_compiling" >&5 |
---|
1695 | echo "${ECHO_T}$cross_compiling" >&6 |
---|
1696 | |
---|
1697 | echo "$as_me:$LINENO: checking for suffix of executables" >&5 |
---|
1698 | echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 |
---|
1699 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
---|
1700 | (eval $ac_link) 2>&5 |
---|
1701 | ac_status=$? |
---|
1702 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
1703 | (exit $ac_status); }; then |
---|
1704 | # If both `conftest.exe' and `conftest' are `present' (well, observable) |
---|
1705 | # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
---|
1706 | # work properly (i.e., refer to `conftest.exe'), while it won't with |
---|
1707 | # `rm'. |
---|
1708 | for ac_file in conftest.exe conftest conftest.*; do |
---|
1709 | test -f "$ac_file" || continue |
---|
1710 | case $ac_file in |
---|
1711 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; |
---|
1712 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
---|
1713 | export ac_cv_exeext |
---|
1714 | break;; |
---|
1715 | * ) break;; |
---|
1716 | esac |
---|
1717 | done |
---|
1718 | else |
---|
1719 | { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link |
---|
1720 | See \`config.log' for more details." >&5 |
---|
1721 | echo "$as_me: error: cannot compute suffix of executables: cannot compile and link |
---|
1722 | See \`config.log' for more details." >&2;} |
---|
1723 | { (exit 1); exit 1; }; } |
---|
1724 | fi |
---|
1725 | |
---|
1726 | rm -f conftest$ac_cv_exeext |
---|
1727 | echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 |
---|
1728 | echo "${ECHO_T}$ac_cv_exeext" >&6 |
---|
1729 | |
---|
1730 | rm -f conftest.$ac_ext |
---|
1731 | EXEEXT=$ac_cv_exeext |
---|
1732 | ac_exeext=$EXEEXT |
---|
1733 | echo "$as_me:$LINENO: checking for suffix of object files" >&5 |
---|
1734 | echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 |
---|
1735 | if test "${ac_cv_objext+set}" = set; then |
---|
1736 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
1737 | else |
---|
1738 | cat >conftest.$ac_ext <<_ACEOF |
---|
1739 | /* confdefs.h. */ |
---|
1740 | _ACEOF |
---|
1741 | cat confdefs.h >>conftest.$ac_ext |
---|
1742 | cat >>conftest.$ac_ext <<_ACEOF |
---|
1743 | /* end confdefs.h. */ |
---|
1744 | |
---|
1745 | int |
---|
1746 | main () |
---|
1747 | { |
---|
1748 | |
---|
1749 | ; |
---|
1750 | return 0; |
---|
1751 | } |
---|
1752 | _ACEOF |
---|
1753 | rm -f conftest.o conftest.obj |
---|
1754 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
---|
1755 | (eval $ac_compile) 2>&5 |
---|
1756 | ac_status=$? |
---|
1757 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
1758 | (exit $ac_status); }; then |
---|
1759 | for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do |
---|
1760 | case $ac_file in |
---|
1761 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; |
---|
1762 | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
---|
1763 | break;; |
---|
1764 | esac |
---|
1765 | done |
---|
1766 | else |
---|
1767 | echo "$as_me: failed program was:" >&5 |
---|
1768 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
1769 | |
---|
1770 | { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile |
---|
1771 | See \`config.log' for more details." >&5 |
---|
1772 | echo "$as_me: error: cannot compute suffix of object files: cannot compile |
---|
1773 | See \`config.log' for more details." >&2;} |
---|
1774 | { (exit 1); exit 1; }; } |
---|
1775 | fi |
---|
1776 | |
---|
1777 | rm -f conftest.$ac_cv_objext conftest.$ac_ext |
---|
1778 | fi |
---|
1779 | echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 |
---|
1780 | echo "${ECHO_T}$ac_cv_objext" >&6 |
---|
1781 | OBJEXT=$ac_cv_objext |
---|
1782 | ac_objext=$OBJEXT |
---|
1783 | echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 |
---|
1784 | echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 |
---|
1785 | if test "${ac_cv_c_compiler_gnu+set}" = set; then |
---|
1786 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
1787 | else |
---|
1788 | cat >conftest.$ac_ext <<_ACEOF |
---|
1789 | /* confdefs.h. */ |
---|
1790 | _ACEOF |
---|
1791 | cat confdefs.h >>conftest.$ac_ext |
---|
1792 | cat >>conftest.$ac_ext <<_ACEOF |
---|
1793 | /* end confdefs.h. */ |
---|
1794 | |
---|
1795 | int |
---|
1796 | main () |
---|
1797 | { |
---|
1798 | #ifndef __GNUC__ |
---|
1799 | choke me |
---|
1800 | #endif |
---|
1801 | |
---|
1802 | ; |
---|
1803 | return 0; |
---|
1804 | } |
---|
1805 | _ACEOF |
---|
1806 | rm -f conftest.$ac_objext |
---|
1807 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
---|
1808 | (eval $ac_compile) 2>conftest.er1 |
---|
1809 | ac_status=$? |
---|
1810 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
1811 | rm -f conftest.er1 |
---|
1812 | cat conftest.err >&5 |
---|
1813 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
1814 | (exit $ac_status); } && |
---|
1815 | { ac_try='test -z "$ac_c_werror_flag" |
---|
1816 | || test ! -s conftest.err' |
---|
1817 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
1818 | (eval $ac_try) 2>&5 |
---|
1819 | ac_status=$? |
---|
1820 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
1821 | (exit $ac_status); }; } && |
---|
1822 | { ac_try='test -s conftest.$ac_objext' |
---|
1823 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
1824 | (eval $ac_try) 2>&5 |
---|
1825 | ac_status=$? |
---|
1826 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
1827 | (exit $ac_status); }; }; then |
---|
1828 | ac_compiler_gnu=yes |
---|
1829 | else |
---|
1830 | echo "$as_me: failed program was:" >&5 |
---|
1831 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
1832 | |
---|
1833 | ac_compiler_gnu=no |
---|
1834 | fi |
---|
1835 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
1836 | ac_cv_c_compiler_gnu=$ac_compiler_gnu |
---|
1837 | |
---|
1838 | fi |
---|
1839 | echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
---|
1840 | echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 |
---|
1841 | GCC=`test $ac_compiler_gnu = yes && echo yes` |
---|
1842 | ac_test_CFLAGS=${CFLAGS+set} |
---|
1843 | ac_save_CFLAGS=$CFLAGS |
---|
1844 | CFLAGS="-g" |
---|
1845 | echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 |
---|
1846 | echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 |
---|
1847 | if test "${ac_cv_prog_cc_g+set}" = set; then |
---|
1848 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
1849 | else |
---|
1850 | cat >conftest.$ac_ext <<_ACEOF |
---|
1851 | /* confdefs.h. */ |
---|
1852 | _ACEOF |
---|
1853 | cat confdefs.h >>conftest.$ac_ext |
---|
1854 | cat >>conftest.$ac_ext <<_ACEOF |
---|
1855 | /* end confdefs.h. */ |
---|
1856 | |
---|
1857 | int |
---|
1858 | main () |
---|
1859 | { |
---|
1860 | |
---|
1861 | ; |
---|
1862 | return 0; |
---|
1863 | } |
---|
1864 | _ACEOF |
---|
1865 | rm -f conftest.$ac_objext |
---|
1866 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
---|
1867 | (eval $ac_compile) 2>conftest.er1 |
---|
1868 | ac_status=$? |
---|
1869 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
1870 | rm -f conftest.er1 |
---|
1871 | cat conftest.err >&5 |
---|
1872 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
1873 | (exit $ac_status); } && |
---|
1874 | { ac_try='test -z "$ac_c_werror_flag" |
---|
1875 | || test ! -s conftest.err' |
---|
1876 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
1877 | (eval $ac_try) 2>&5 |
---|
1878 | ac_status=$? |
---|
1879 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
1880 | (exit $ac_status); }; } && |
---|
1881 | { ac_try='test -s conftest.$ac_objext' |
---|
1882 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
1883 | (eval $ac_try) 2>&5 |
---|
1884 | ac_status=$? |
---|
1885 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
1886 | (exit $ac_status); }; }; then |
---|
1887 | ac_cv_prog_cc_g=yes |
---|
1888 | else |
---|
1889 | echo "$as_me: failed program was:" >&5 |
---|
1890 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
1891 | |
---|
1892 | ac_cv_prog_cc_g=no |
---|
1893 | fi |
---|
1894 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
1895 | fi |
---|
1896 | echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
---|
1897 | echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 |
---|
1898 | if test "$ac_test_CFLAGS" = set; then |
---|
1899 | CFLAGS=$ac_save_CFLAGS |
---|
1900 | elif test $ac_cv_prog_cc_g = yes; then |
---|
1901 | if test "$GCC" = yes; then |
---|
1902 | CFLAGS="-g -O2" |
---|
1903 | else |
---|
1904 | CFLAGS="-g" |
---|
1905 | fi |
---|
1906 | else |
---|
1907 | if test "$GCC" = yes; then |
---|
1908 | CFLAGS="-O2" |
---|
1909 | else |
---|
1910 | CFLAGS= |
---|
1911 | fi |
---|
1912 | fi |
---|
1913 | echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 |
---|
1914 | echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 |
---|
1915 | if test "${ac_cv_prog_cc_stdc+set}" = set; then |
---|
1916 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
1917 | else |
---|
1918 | ac_cv_prog_cc_stdc=no |
---|
1919 | ac_save_CC=$CC |
---|
1920 | cat >conftest.$ac_ext <<_ACEOF |
---|
1921 | /* confdefs.h. */ |
---|
1922 | _ACEOF |
---|
1923 | cat confdefs.h >>conftest.$ac_ext |
---|
1924 | cat >>conftest.$ac_ext <<_ACEOF |
---|
1925 | /* end confdefs.h. */ |
---|
1926 | #include <stdarg.h> |
---|
1927 | #include <stdio.h> |
---|
1928 | #include <sys/types.h> |
---|
1929 | #include <sys/stat.h> |
---|
1930 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
---|
1931 | struct buf { int x; }; |
---|
1932 | FILE * (*rcsopen) (struct buf *, struct stat *, int); |
---|
1933 | static char *e (p, i) |
---|
1934 | char **p; |
---|
1935 | int i; |
---|
1936 | { |
---|
1937 | return p[i]; |
---|
1938 | } |
---|
1939 | static char *f (char * (*g) (char **, int), char **p, ...) |
---|
1940 | { |
---|
1941 | char *s; |
---|
1942 | va_list v; |
---|
1943 | va_start (v,p); |
---|
1944 | s = g (p, va_arg (v,int)); |
---|
1945 | va_end (v); |
---|
1946 | return s; |
---|
1947 | } |
---|
1948 | |
---|
1949 | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
---|
1950 | function prototypes and stuff, but not '\xHH' hex character constants. |
---|
1951 | These don't provoke an error unfortunately, instead are silently treated |
---|
1952 | as 'x'. The following induces an error, until -std1 is added to get |
---|
1953 | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
---|
1954 | array size at least. It's necessary to write '\x00'==0 to get something |
---|
1955 | that's true only with -std1. */ |
---|
1956 | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
---|
1957 | |
---|
1958 | int test (int i, double x); |
---|
1959 | struct s1 {int (*f) (int a);}; |
---|
1960 | struct s2 {int (*f) (double a);}; |
---|
1961 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
---|
1962 | int argc; |
---|
1963 | char **argv; |
---|
1964 | int |
---|
1965 | main () |
---|
1966 | { |
---|
1967 | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
---|
1968 | ; |
---|
1969 | return 0; |
---|
1970 | } |
---|
1971 | _ACEOF |
---|
1972 | # Don't try gcc -ansi; that turns off useful extensions and |
---|
1973 | # breaks some systems' header files. |
---|
1974 | # AIX -qlanglvl=ansi |
---|
1975 | # Ultrix and OSF/1 -std1 |
---|
1976 | # HP-UX 10.20 and later -Ae |
---|
1977 | # HP-UX older versions -Aa -D_HPUX_SOURCE |
---|
1978 | # SVR4 -Xc -D__EXTENSIONS__ |
---|
1979 | for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
---|
1980 | do |
---|
1981 | CC="$ac_save_CC $ac_arg" |
---|
1982 | rm -f conftest.$ac_objext |
---|
1983 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
---|
1984 | (eval $ac_compile) 2>conftest.er1 |
---|
1985 | ac_status=$? |
---|
1986 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
1987 | rm -f conftest.er1 |
---|
1988 | cat conftest.err >&5 |
---|
1989 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
1990 | (exit $ac_status); } && |
---|
1991 | { ac_try='test -z "$ac_c_werror_flag" |
---|
1992 | || test ! -s conftest.err' |
---|
1993 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
1994 | (eval $ac_try) 2>&5 |
---|
1995 | ac_status=$? |
---|
1996 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
1997 | (exit $ac_status); }; } && |
---|
1998 | { ac_try='test -s conftest.$ac_objext' |
---|
1999 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
2000 | (eval $ac_try) 2>&5 |
---|
2001 | ac_status=$? |
---|
2002 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2003 | (exit $ac_status); }; }; then |
---|
2004 | ac_cv_prog_cc_stdc=$ac_arg |
---|
2005 | break |
---|
2006 | else |
---|
2007 | echo "$as_me: failed program was:" >&5 |
---|
2008 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
2009 | |
---|
2010 | fi |
---|
2011 | rm -f conftest.err conftest.$ac_objext |
---|
2012 | done |
---|
2013 | rm -f conftest.$ac_ext conftest.$ac_objext |
---|
2014 | CC=$ac_save_CC |
---|
2015 | |
---|
2016 | fi |
---|
2017 | |
---|
2018 | case "x$ac_cv_prog_cc_stdc" in |
---|
2019 | x|xno) |
---|
2020 | echo "$as_me:$LINENO: result: none needed" >&5 |
---|
2021 | echo "${ECHO_T}none needed" >&6 ;; |
---|
2022 | *) |
---|
2023 | echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 |
---|
2024 | echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 |
---|
2025 | CC="$CC $ac_cv_prog_cc_stdc" ;; |
---|
2026 | esac |
---|
2027 | |
---|
2028 | # Some people use a C++ compiler to compile C. Since we use `exit', |
---|
2029 | # in C++ we need to declare it. In case someone uses the same compiler |
---|
2030 | # for both compiling C and C++ we need to have the C++ compiler decide |
---|
2031 | # the declaration of exit, since it's the most demanding environment. |
---|
2032 | cat >conftest.$ac_ext <<_ACEOF |
---|
2033 | #ifndef __cplusplus |
---|
2034 | choke me |
---|
2035 | #endif |
---|
2036 | _ACEOF |
---|
2037 | rm -f conftest.$ac_objext |
---|
2038 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
---|
2039 | (eval $ac_compile) 2>conftest.er1 |
---|
2040 | ac_status=$? |
---|
2041 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
2042 | rm -f conftest.er1 |
---|
2043 | cat conftest.err >&5 |
---|
2044 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2045 | (exit $ac_status); } && |
---|
2046 | { ac_try='test -z "$ac_c_werror_flag" |
---|
2047 | || test ! -s conftest.err' |
---|
2048 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
2049 | (eval $ac_try) 2>&5 |
---|
2050 | ac_status=$? |
---|
2051 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2052 | (exit $ac_status); }; } && |
---|
2053 | { ac_try='test -s conftest.$ac_objext' |
---|
2054 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
2055 | (eval $ac_try) 2>&5 |
---|
2056 | ac_status=$? |
---|
2057 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2058 | (exit $ac_status); }; }; then |
---|
2059 | for ac_declaration in \ |
---|
2060 | '' \ |
---|
2061 | 'extern "C" void std::exit (int) throw (); using std::exit;' \ |
---|
2062 | 'extern "C" void std::exit (int); using std::exit;' \ |
---|
2063 | 'extern "C" void exit (int) throw ();' \ |
---|
2064 | 'extern "C" void exit (int);' \ |
---|
2065 | 'void exit (int);' |
---|
2066 | do |
---|
2067 | cat >conftest.$ac_ext <<_ACEOF |
---|
2068 | /* confdefs.h. */ |
---|
2069 | _ACEOF |
---|
2070 | cat confdefs.h >>conftest.$ac_ext |
---|
2071 | cat >>conftest.$ac_ext <<_ACEOF |
---|
2072 | /* end confdefs.h. */ |
---|
2073 | $ac_declaration |
---|
2074 | #include <stdlib.h> |
---|
2075 | int |
---|
2076 | main () |
---|
2077 | { |
---|
2078 | exit (42); |
---|
2079 | ; |
---|
2080 | return 0; |
---|
2081 | } |
---|
2082 | _ACEOF |
---|
2083 | rm -f conftest.$ac_objext |
---|
2084 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
---|
2085 | (eval $ac_compile) 2>conftest.er1 |
---|
2086 | ac_status=$? |
---|
2087 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
2088 | rm -f conftest.er1 |
---|
2089 | cat conftest.err >&5 |
---|
2090 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2091 | (exit $ac_status); } && |
---|
2092 | { ac_try='test -z "$ac_c_werror_flag" |
---|
2093 | || test ! -s conftest.err' |
---|
2094 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
2095 | (eval $ac_try) 2>&5 |
---|
2096 | ac_status=$? |
---|
2097 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2098 | (exit $ac_status); }; } && |
---|
2099 | { ac_try='test -s conftest.$ac_objext' |
---|
2100 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
2101 | (eval $ac_try) 2>&5 |
---|
2102 | ac_status=$? |
---|
2103 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2104 | (exit $ac_status); }; }; then |
---|
2105 | : |
---|
2106 | else |
---|
2107 | echo "$as_me: failed program was:" >&5 |
---|
2108 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
2109 | |
---|
2110 | continue |
---|
2111 | fi |
---|
2112 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
2113 | cat >conftest.$ac_ext <<_ACEOF |
---|
2114 | /* confdefs.h. */ |
---|
2115 | _ACEOF |
---|
2116 | cat confdefs.h >>conftest.$ac_ext |
---|
2117 | cat >>conftest.$ac_ext <<_ACEOF |
---|
2118 | /* end confdefs.h. */ |
---|
2119 | $ac_declaration |
---|
2120 | int |
---|
2121 | main () |
---|
2122 | { |
---|
2123 | exit (42); |
---|
2124 | ; |
---|
2125 | return 0; |
---|
2126 | } |
---|
2127 | _ACEOF |
---|
2128 | rm -f conftest.$ac_objext |
---|
2129 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
---|
2130 | (eval $ac_compile) 2>conftest.er1 |
---|
2131 | ac_status=$? |
---|
2132 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
2133 | rm -f conftest.er1 |
---|
2134 | cat conftest.err >&5 |
---|
2135 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2136 | (exit $ac_status); } && |
---|
2137 | { ac_try='test -z "$ac_c_werror_flag" |
---|
2138 | || test ! -s conftest.err' |
---|
2139 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
2140 | (eval $ac_try) 2>&5 |
---|
2141 | ac_status=$? |
---|
2142 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2143 | (exit $ac_status); }; } && |
---|
2144 | { ac_try='test -s conftest.$ac_objext' |
---|
2145 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
---|
2146 | (eval $ac_try) 2>&5 |
---|
2147 | ac_status=$? |
---|
2148 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2149 | (exit $ac_status); }; }; then |
---|
2150 | break |
---|
2151 | else |
---|
2152 | echo "$as_me: failed program was:" >&5 |
---|
2153 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
2154 | |
---|
2155 | fi |
---|
2156 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
2157 | done |
---|
2158 | rm -f conftest* |
---|
2159 | if test -n "$ac_declaration"; then |
---|
2160 | echo '#ifdef __cplusplus' >>confdefs.h |
---|
2161 | echo $ac_declaration >>confdefs.h |
---|
2162 | echo '#endif' >>confdefs.h |
---|
2163 | fi |
---|
2164 | |
---|
2165 | else |
---|
2166 | echo "$as_me: failed program was:" >&5 |
---|
2167 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
2168 | |
---|
2169 | fi |
---|
2170 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
2171 | ac_ext=c |
---|
2172 | ac_cpp='$CPP $CPPFLAGS' |
---|
2173 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
2174 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
2175 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
2176 | |
---|
2177 | if test "$GCC" = yes; then |
---|
2178 | CFLAGS="$CFLAGS -Wall -g"; |
---|
2179 | fi |
---|
2180 | if test -n "$ac_tool_prefix"; then |
---|
2181 | # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. |
---|
2182 | set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
---|
2183 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
2184 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
---|
2185 | if test "${ac_cv_prog_RANLIB+set}" = set; then |
---|
2186 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
2187 | else |
---|
2188 | if test -n "$RANLIB"; then |
---|
2189 | ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
---|
2190 | else |
---|
2191 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
2192 | for as_dir in $PATH |
---|
2193 | do |
---|
2194 | IFS=$as_save_IFS |
---|
2195 | test -z "$as_dir" && as_dir=. |
---|
2196 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
2197 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
2198 | ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
---|
2199 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
2200 | break 2 |
---|
2201 | fi |
---|
2202 | done |
---|
2203 | done |
---|
2204 | |
---|
2205 | fi |
---|
2206 | fi |
---|
2207 | RANLIB=$ac_cv_prog_RANLIB |
---|
2208 | if test -n "$RANLIB"; then |
---|
2209 | echo "$as_me:$LINENO: result: $RANLIB" >&5 |
---|
2210 | echo "${ECHO_T}$RANLIB" >&6 |
---|
2211 | else |
---|
2212 | echo "$as_me:$LINENO: result: no" >&5 |
---|
2213 | echo "${ECHO_T}no" >&6 |
---|
2214 | fi |
---|
2215 | |
---|
2216 | fi |
---|
2217 | if test -z "$ac_cv_prog_RANLIB"; then |
---|
2218 | ac_ct_RANLIB=$RANLIB |
---|
2219 | # Extract the first word of "ranlib", so it can be a program name with args. |
---|
2220 | set dummy ranlib; ac_word=$2 |
---|
2221 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
2222 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
---|
2223 | if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then |
---|
2224 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
2225 | else |
---|
2226 | if test -n "$ac_ct_RANLIB"; then |
---|
2227 | ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. |
---|
2228 | else |
---|
2229 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
2230 | for as_dir in $PATH |
---|
2231 | do |
---|
2232 | IFS=$as_save_IFS |
---|
2233 | test -z "$as_dir" && as_dir=. |
---|
2234 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
2235 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
2236 | ac_cv_prog_ac_ct_RANLIB="ranlib" |
---|
2237 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
2238 | break 2 |
---|
2239 | fi |
---|
2240 | done |
---|
2241 | done |
---|
2242 | |
---|
2243 | test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" |
---|
2244 | fi |
---|
2245 | fi |
---|
2246 | ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB |
---|
2247 | if test -n "$ac_ct_RANLIB"; then |
---|
2248 | echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 |
---|
2249 | echo "${ECHO_T}$ac_ct_RANLIB" >&6 |
---|
2250 | else |
---|
2251 | echo "$as_me:$LINENO: result: no" >&5 |
---|
2252 | echo "${ECHO_T}no" >&6 |
---|
2253 | fi |
---|
2254 | |
---|
2255 | RANLIB=$ac_ct_RANLIB |
---|
2256 | else |
---|
2257 | RANLIB="$ac_cv_prog_RANLIB" |
---|
2258 | fi |
---|
2259 | |
---|
2260 | |
---|
2261 | |
---|
2262 | ac_config_files="$ac_config_files Makefile" |
---|
2263 | cat >confcache <<\_ACEOF |
---|
2264 | # This file is a shell script that caches the results of configure |
---|
2265 | # tests run on this system so they can be shared between configure |
---|
2266 | # scripts and configure runs, see configure's option --config-cache. |
---|
2267 | # It is not useful on other systems. If it contains results you don't |
---|
2268 | # want to keep, you may remove or edit it. |
---|
2269 | # |
---|
2270 | # config.status only pays attention to the cache file if you give it |
---|
2271 | # the --recheck option to rerun configure. |
---|
2272 | # |
---|
2273 | # `ac_cv_env_foo' variables (set or unset) will be overridden when |
---|
2274 | # loading this file, other *unset* `ac_cv_foo' will be assigned the |
---|
2275 | # following values. |
---|
2276 | |
---|
2277 | _ACEOF |
---|
2278 | |
---|
2279 | # The following way of writing the cache mishandles newlines in values, |
---|
2280 | # but we know of no workaround that is simple, portable, and efficient. |
---|
2281 | # So, don't put newlines in cache variables' values. |
---|
2282 | # Ultrix sh set writes to stderr and can't be redirected directly, |
---|
2283 | # and sets the high bit in the cache file unless we assign to the vars. |
---|
2284 | { |
---|
2285 | (set) 2>&1 | |
---|
2286 | case `(ac_space=' '; set | grep ac_space) 2>&1` in |
---|
2287 | *ac_space=\ *) |
---|
2288 | # `set' does not quote correctly, so add quotes (double-quote |
---|
2289 | # substitution turns \\\\ into \\, and sed turns \\ into \). |
---|
2290 | sed -n \ |
---|
2291 | "s/'/'\\\\''/g; |
---|
2292 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
---|
2293 | ;; |
---|
2294 | *) |
---|
2295 | # `set' quotes correctly as required by POSIX, so do not add quotes. |
---|
2296 | sed -n \ |
---|
2297 | "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
---|
2298 | ;; |
---|
2299 | esac; |
---|
2300 | } | |
---|
2301 | sed ' |
---|
2302 | t clear |
---|
2303 | : clear |
---|
2304 | s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ |
---|
2305 | t end |
---|
2306 | /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
---|
2307 | : end' >>confcache |
---|
2308 | if diff $cache_file confcache >/dev/null 2>&1; then :; else |
---|
2309 | if test -w $cache_file; then |
---|
2310 | test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" |
---|
2311 | cat confcache >$cache_file |
---|
2312 | else |
---|
2313 | echo "not updating unwritable cache $cache_file" |
---|
2314 | fi |
---|
2315 | fi |
---|
2316 | rm -f confcache |
---|
2317 | |
---|
2318 | test "x$prefix" = xNONE && prefix=$ac_default_prefix |
---|
2319 | # Let make expand exec_prefix. |
---|
2320 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
---|
2321 | |
---|
2322 | # VPATH may cause trouble with some makes, so we remove $(srcdir), |
---|
2323 | # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and |
---|
2324 | # trailing colons and then remove the whole line if VPATH becomes empty |
---|
2325 | # (actually we leave an empty line to preserve line numbers). |
---|
2326 | if test "x$srcdir" = x.; then |
---|
2327 | ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
---|
2328 | s/:*\$(srcdir):*/:/; |
---|
2329 | s/:*\${srcdir}:*/:/; |
---|
2330 | s/:*@srcdir@:*/:/; |
---|
2331 | s/^\([^=]*=[ ]*\):*/\1/; |
---|
2332 | s/:*$//; |
---|
2333 | s/^[^=]*=[ ]*$//; |
---|
2334 | }' |
---|
2335 | fi |
---|
2336 | |
---|
2337 | # Transform confdefs.h into DEFS. |
---|
2338 | # Protect against shell expansion while executing Makefile rules. |
---|
2339 | # Protect against Makefile macro expansion. |
---|
2340 | # |
---|
2341 | # If the first sed substitution is executed (which looks for macros that |
---|
2342 | # take arguments), then we branch to the quote section. Otherwise, |
---|
2343 | # look for a macro that doesn't take arguments. |
---|
2344 | cat >confdef2opt.sed <<\_ACEOF |
---|
2345 | t clear |
---|
2346 | : clear |
---|
2347 | s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g |
---|
2348 | t quote |
---|
2349 | s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g |
---|
2350 | t quote |
---|
2351 | d |
---|
2352 | : quote |
---|
2353 | s,[ `~#$^&*(){}\\|;'"<>?],\\&,g |
---|
2354 | s,\[,\\&,g |
---|
2355 | s,\],\\&,g |
---|
2356 | s,\$,$$,g |
---|
2357 | p |
---|
2358 | _ACEOF |
---|
2359 | # We use echo to avoid assuming a particular line-breaking character. |
---|
2360 | # The extra dot is to prevent the shell from consuming trailing |
---|
2361 | # line-breaks from the sub-command output. A line-break within |
---|
2362 | # single-quotes doesn't work because, if this script is created in a |
---|
2363 | # platform that uses two characters for line-breaks (e.g., DOS), tr |
---|
2364 | # would break. |
---|
2365 | ac_LF_and_DOT=`echo; echo .` |
---|
2366 | DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'` |
---|
2367 | rm -f confdef2opt.sed |
---|
2368 | |
---|
2369 | |
---|
2370 | ac_libobjs= |
---|
2371 | ac_ltlibobjs= |
---|
2372 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
---|
2373 | # 1. Remove the extension, and $U if already installed. |
---|
2374 | ac_i=`echo "$ac_i" | |
---|
2375 | sed 's/\$U\././;s/\.o$//;s/\.obj$//'` |
---|
2376 | # 2. Add them. |
---|
2377 | ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" |
---|
2378 | ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' |
---|
2379 | done |
---|
2380 | LIBOBJS=$ac_libobjs |
---|
2381 | |
---|
2382 | LTLIBOBJS=$ac_ltlibobjs |
---|
2383 | |
---|
2384 | |
---|
2385 | |
---|
2386 | : ${CONFIG_STATUS=./config.status} |
---|
2387 | ac_clean_files_save=$ac_clean_files |
---|
2388 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
---|
2389 | { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 |
---|
2390 | echo "$as_me: creating $CONFIG_STATUS" >&6;} |
---|
2391 | cat >$CONFIG_STATUS <<_ACEOF |
---|
2392 | #! $SHELL |
---|
2393 | # Generated by $as_me. |
---|
2394 | # Run this file to recreate the current configuration. |
---|
2395 | # Compiler output produced by configure, useful for debugging |
---|
2396 | # configure, is in config.log if it exists. |
---|
2397 | |
---|
2398 | debug=false |
---|
2399 | ac_cs_recheck=false |
---|
2400 | ac_cs_silent=false |
---|
2401 | SHELL=\${CONFIG_SHELL-$SHELL} |
---|
2402 | _ACEOF |
---|
2403 | |
---|
2404 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
2405 | ## --------------------- ## |
---|
2406 | ## M4sh Initialization. ## |
---|
2407 | ## --------------------- ## |
---|
2408 | |
---|
2409 | # Be Bourne compatible |
---|
2410 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
---|
2411 | emulate sh |
---|
2412 | NULLCMD=: |
---|
2413 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
---|
2414 | # is contrary to our usage. Disable this feature. |
---|
2415 | alias -g '${1+"$@"}'='"$@"' |
---|
2416 | elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
---|
2417 | set -o posix |
---|
2418 | fi |
---|
2419 | DUALCASE=1; export DUALCASE # for MKS sh |
---|
2420 | |
---|
2421 | # Support unset when possible. |
---|
2422 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
---|
2423 | as_unset=unset |
---|
2424 | else |
---|
2425 | as_unset=false |
---|
2426 | fi |
---|
2427 | |
---|
2428 | |
---|
2429 | # Work around bugs in pre-3.0 UWIN ksh. |
---|
2430 | $as_unset ENV MAIL MAILPATH |
---|
2431 | PS1='$ ' |
---|
2432 | PS2='> ' |
---|
2433 | PS4='+ ' |
---|
2434 | |
---|
2435 | # NLS nuisances. |
---|
2436 | for as_var in \ |
---|
2437 | LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ |
---|
2438 | LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
---|
2439 | LC_TELEPHONE LC_TIME |
---|
2440 | do |
---|
2441 | if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
---|
2442 | eval $as_var=C; export $as_var |
---|
2443 | else |
---|
2444 | $as_unset $as_var |
---|
2445 | fi |
---|
2446 | done |
---|
2447 | |
---|
2448 | # Required to use basename. |
---|
2449 | if expr a : '\(a\)' >/dev/null 2>&1; then |
---|
2450 | as_expr=expr |
---|
2451 | else |
---|
2452 | as_expr=false |
---|
2453 | fi |
---|
2454 | |
---|
2455 | if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then |
---|
2456 | as_basename=basename |
---|
2457 | else |
---|
2458 | as_basename=false |
---|
2459 | fi |
---|
2460 | |
---|
2461 | |
---|
2462 | # Name of the executable. |
---|
2463 | as_me=`$as_basename "$0" || |
---|
2464 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
---|
2465 | X"$0" : 'X\(//\)$' \| \ |
---|
2466 | X"$0" : 'X\(/\)$' \| \ |
---|
2467 | . : '\(.\)' 2>/dev/null || |
---|
2468 | echo X/"$0" | |
---|
2469 | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } |
---|
2470 | /^X\/\(\/\/\)$/{ s//\1/; q; } |
---|
2471 | /^X\/\(\/\).*/{ s//\1/; q; } |
---|
2472 | s/.*/./; q'` |
---|
2473 | |
---|
2474 | |
---|
2475 | # PATH needs CR, and LINENO needs CR and PATH. |
---|
2476 | # Avoid depending upon Character Ranges. |
---|
2477 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
---|
2478 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
---|
2479 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
---|
2480 | as_cr_digits='0123456789' |
---|
2481 | as_cr_alnum=$as_cr_Letters$as_cr_digits |
---|
2482 | |
---|
2483 | # The user is always right. |
---|
2484 | if test "${PATH_SEPARATOR+set}" != set; then |
---|
2485 | echo "#! /bin/sh" >conf$$.sh |
---|
2486 | echo "exit 0" >>conf$$.sh |
---|
2487 | chmod +x conf$$.sh |
---|
2488 | if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
---|
2489 | PATH_SEPARATOR=';' |
---|
2490 | else |
---|
2491 | PATH_SEPARATOR=: |
---|
2492 | fi |
---|
2493 | rm -f conf$$.sh |
---|
2494 | fi |
---|
2495 | |
---|
2496 | |
---|
2497 | as_lineno_1=$LINENO |
---|
2498 | as_lineno_2=$LINENO |
---|
2499 | as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
---|
2500 | test "x$as_lineno_1" != "x$as_lineno_2" && |
---|
2501 | test "x$as_lineno_3" = "x$as_lineno_2" || { |
---|
2502 | # Find who we are. Look in the path if we contain no path at all |
---|
2503 | # relative or not. |
---|
2504 | case $0 in |
---|
2505 | *[\\/]* ) as_myself=$0 ;; |
---|
2506 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
2507 | for as_dir in $PATH |
---|
2508 | do |
---|
2509 | IFS=$as_save_IFS |
---|
2510 | test -z "$as_dir" && as_dir=. |
---|
2511 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
---|
2512 | done |
---|
2513 | |
---|
2514 | ;; |
---|
2515 | esac |
---|
2516 | # We did not find ourselves, most probably we were run as `sh COMMAND' |
---|
2517 | # in which case we are not to be found in the path. |
---|
2518 | if test "x$as_myself" = x; then |
---|
2519 | as_myself=$0 |
---|
2520 | fi |
---|
2521 | if test ! -f "$as_myself"; then |
---|
2522 | { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 |
---|
2523 | echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} |
---|
2524 | { (exit 1); exit 1; }; } |
---|
2525 | fi |
---|
2526 | case $CONFIG_SHELL in |
---|
2527 | '') |
---|
2528 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
2529 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
---|
2530 | do |
---|
2531 | IFS=$as_save_IFS |
---|
2532 | test -z "$as_dir" && as_dir=. |
---|
2533 | for as_base in sh bash ksh sh5; do |
---|
2534 | case $as_dir in |
---|
2535 | /*) |
---|
2536 | if ("$as_dir/$as_base" -c ' |
---|
2537 | as_lineno_1=$LINENO |
---|
2538 | as_lineno_2=$LINENO |
---|
2539 | as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
---|
2540 | test "x$as_lineno_1" != "x$as_lineno_2" && |
---|
2541 | test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then |
---|
2542 | $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } |
---|
2543 | $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } |
---|
2544 | CONFIG_SHELL=$as_dir/$as_base |
---|
2545 | export CONFIG_SHELL |
---|
2546 | exec "$CONFIG_SHELL" "$0" ${1+"$@"} |
---|
2547 | fi;; |
---|
2548 | esac |
---|
2549 | done |
---|
2550 | done |
---|
2551 | ;; |
---|
2552 | esac |
---|
2553 | |
---|
2554 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
---|
2555 | # uniformly replaced by the line number. The first 'sed' inserts a |
---|
2556 | # line-number line before each line; the second 'sed' does the real |
---|
2557 | # work. The second script uses 'N' to pair each line-number line |
---|
2558 | # with the numbered line, and appends trailing '-' during |
---|
2559 | # substitution so that $LINENO is not a special case at line end. |
---|
2560 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
---|
2561 | # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) |
---|
2562 | sed '=' <$as_myself | |
---|
2563 | sed ' |
---|
2564 | N |
---|
2565 | s,$,-, |
---|
2566 | : loop |
---|
2567 | s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, |
---|
2568 | t loop |
---|
2569 | s,-$,, |
---|
2570 | s,^['$as_cr_digits']*\n,, |
---|
2571 | ' >$as_me.lineno && |
---|
2572 | chmod +x $as_me.lineno || |
---|
2573 | { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 |
---|
2574 | echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} |
---|
2575 | { (exit 1); exit 1; }; } |
---|
2576 | |
---|
2577 | # Don't try to exec as it changes $[0], causing all sort of problems |
---|
2578 | # (the dirname of $[0] is not the place where we might find the |
---|
2579 | # original and so on. Autoconf is especially sensible to this). |
---|
2580 | . ./$as_me.lineno |
---|
2581 | # Exit status is that of the last command. |
---|
2582 | exit |
---|
2583 | } |
---|
2584 | |
---|
2585 | |
---|
2586 | case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in |
---|
2587 | *c*,-n*) ECHO_N= ECHO_C=' |
---|
2588 | ' ECHO_T=' ' ;; |
---|
2589 | *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; |
---|
2590 | *) ECHO_N= ECHO_C='\c' ECHO_T= ;; |
---|
2591 | esac |
---|
2592 | |
---|
2593 | if expr a : '\(a\)' >/dev/null 2>&1; then |
---|
2594 | as_expr=expr |
---|
2595 | else |
---|
2596 | as_expr=false |
---|
2597 | fi |
---|
2598 | |
---|
2599 | rm -f conf$$ conf$$.exe conf$$.file |
---|
2600 | echo >conf$$.file |
---|
2601 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
---|
2602 | # We could just check for DJGPP; but this test a) works b) is more generic |
---|
2603 | # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). |
---|
2604 | if test -f conf$$.exe; then |
---|
2605 | # Don't use ln at all; we don't have any links |
---|
2606 | as_ln_s='cp -p' |
---|
2607 | else |
---|
2608 | as_ln_s='ln -s' |
---|
2609 | fi |
---|
2610 | elif ln conf$$.file conf$$ 2>/dev/null; then |
---|
2611 | as_ln_s=ln |
---|
2612 | else |
---|
2613 | as_ln_s='cp -p' |
---|
2614 | fi |
---|
2615 | rm -f conf$$ conf$$.exe conf$$.file |
---|
2616 | |
---|
2617 | if mkdir -p . 2>/dev/null; then |
---|
2618 | as_mkdir_p=: |
---|
2619 | else |
---|
2620 | test -d ./-p && rmdir ./-p |
---|
2621 | as_mkdir_p=false |
---|
2622 | fi |
---|
2623 | |
---|
2624 | as_executable_p="test -f" |
---|
2625 | |
---|
2626 | # Sed expression to map a string onto a valid CPP name. |
---|
2627 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
---|
2628 | |
---|
2629 | # Sed expression to map a string onto a valid variable name. |
---|
2630 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
---|
2631 | |
---|
2632 | |
---|
2633 | # IFS |
---|
2634 | # We need space, tab and new line, in precisely that order. |
---|
2635 | as_nl=' |
---|
2636 | ' |
---|
2637 | IFS=" $as_nl" |
---|
2638 | |
---|
2639 | # CDPATH. |
---|
2640 | $as_unset CDPATH |
---|
2641 | |
---|
2642 | exec 6>&1 |
---|
2643 | |
---|
2644 | # Open the log real soon, to keep \$[0] and so on meaningful, and to |
---|
2645 | # report actual input values of CONFIG_FILES etc. instead of their |
---|
2646 | # values after options handling. Logging --version etc. is OK. |
---|
2647 | exec 5>>config.log |
---|
2648 | { |
---|
2649 | echo |
---|
2650 | sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX |
---|
2651 | ## Running $as_me. ## |
---|
2652 | _ASBOX |
---|
2653 | } >&5 |
---|
2654 | cat >&5 <<_CSEOF |
---|
2655 | |
---|
2656 | This file was extended by $as_me, which was |
---|
2657 | generated by GNU Autoconf 2.59. Invocation command line was |
---|
2658 | |
---|
2659 | CONFIG_FILES = $CONFIG_FILES |
---|
2660 | CONFIG_HEADERS = $CONFIG_HEADERS |
---|
2661 | CONFIG_LINKS = $CONFIG_LINKS |
---|
2662 | CONFIG_COMMANDS = $CONFIG_COMMANDS |
---|
2663 | $ $0 $@ |
---|
2664 | |
---|
2665 | _CSEOF |
---|
2666 | echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 |
---|
2667 | echo >&5 |
---|
2668 | _ACEOF |
---|
2669 | |
---|
2670 | # Files that config.status was made for. |
---|
2671 | if test -n "$ac_config_files"; then |
---|
2672 | echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS |
---|
2673 | fi |
---|
2674 | |
---|
2675 | if test -n "$ac_config_headers"; then |
---|
2676 | echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS |
---|
2677 | fi |
---|
2678 | |
---|
2679 | if test -n "$ac_config_links"; then |
---|
2680 | echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS |
---|
2681 | fi |
---|
2682 | |
---|
2683 | if test -n "$ac_config_commands"; then |
---|
2684 | echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS |
---|
2685 | fi |
---|
2686 | |
---|
2687 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
2688 | |
---|
2689 | ac_cs_usage="\ |
---|
2690 | \`$as_me' instantiates files from templates according to the |
---|
2691 | current configuration. |
---|
2692 | |
---|
2693 | Usage: $0 [OPTIONS] [FILE]... |
---|
2694 | |
---|
2695 | -h, --help print this help, then exit |
---|
2696 | -V, --version print version number, then exit |
---|
2697 | -q, --quiet do not print progress messages |
---|
2698 | -d, --debug don't remove temporary files |
---|
2699 | --recheck update $as_me by reconfiguring in the same conditions |
---|
2700 | --file=FILE[:TEMPLATE] |
---|
2701 | instantiate the configuration file FILE |
---|
2702 | |
---|
2703 | Configuration files: |
---|
2704 | $config_files |
---|
2705 | |
---|
2706 | Report bugs to <bug-autoconf@gnu.org>." |
---|
2707 | _ACEOF |
---|
2708 | |
---|
2709 | cat >>$CONFIG_STATUS <<_ACEOF |
---|
2710 | ac_cs_version="\\ |
---|
2711 | config.status |
---|
2712 | configured by $0, generated by GNU Autoconf 2.59, |
---|
2713 | with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" |
---|
2714 | |
---|
2715 | Copyright (C) 2003 Free Software Foundation, Inc. |
---|
2716 | This config.status script is free software; the Free Software Foundation |
---|
2717 | gives unlimited permission to copy, distribute and modify it." |
---|
2718 | srcdir=$srcdir |
---|
2719 | _ACEOF |
---|
2720 | |
---|
2721 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
2722 | # If no file are specified by the user, then we need to provide default |
---|
2723 | # value. By we need to know if files were specified by the user. |
---|
2724 | ac_need_defaults=: |
---|
2725 | while test $# != 0 |
---|
2726 | do |
---|
2727 | case $1 in |
---|
2728 | --*=*) |
---|
2729 | ac_option=`expr "x$1" : 'x\([^=]*\)='` |
---|
2730 | ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` |
---|
2731 | ac_shift=: |
---|
2732 | ;; |
---|
2733 | -*) |
---|
2734 | ac_option=$1 |
---|
2735 | ac_optarg=$2 |
---|
2736 | ac_shift=shift |
---|
2737 | ;; |
---|
2738 | *) # This is not an option, so the user has probably given explicit |
---|
2739 | # arguments. |
---|
2740 | ac_option=$1 |
---|
2741 | ac_need_defaults=false;; |
---|
2742 | esac |
---|
2743 | |
---|
2744 | case $ac_option in |
---|
2745 | # Handling of the options. |
---|
2746 | _ACEOF |
---|
2747 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
2748 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
---|
2749 | ac_cs_recheck=: ;; |
---|
2750 | --version | --vers* | -V ) |
---|
2751 | echo "$ac_cs_version"; exit 0 ;; |
---|
2752 | --he | --h) |
---|
2753 | # Conflict between --help and --header |
---|
2754 | { { echo "$as_me:$LINENO: error: ambiguous option: $1 |
---|
2755 | Try \`$0 --help' for more information." >&5 |
---|
2756 | echo "$as_me: error: ambiguous option: $1 |
---|
2757 | Try \`$0 --help' for more information." >&2;} |
---|
2758 | { (exit 1); exit 1; }; };; |
---|
2759 | --help | --hel | -h ) |
---|
2760 | echo "$ac_cs_usage"; exit 0 ;; |
---|
2761 | --debug | --d* | -d ) |
---|
2762 | debug=: ;; |
---|
2763 | --file | --fil | --fi | --f ) |
---|
2764 | $ac_shift |
---|
2765 | CONFIG_FILES="$CONFIG_FILES $ac_optarg" |
---|
2766 | ac_need_defaults=false;; |
---|
2767 | --header | --heade | --head | --hea ) |
---|
2768 | $ac_shift |
---|
2769 | CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" |
---|
2770 | ac_need_defaults=false;; |
---|
2771 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
---|
2772 | | -silent | --silent | --silen | --sile | --sil | --si | --s) |
---|
2773 | ac_cs_silent=: ;; |
---|
2774 | |
---|
2775 | # This is an error. |
---|
2776 | -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 |
---|
2777 | Try \`$0 --help' for more information." >&5 |
---|
2778 | echo "$as_me: error: unrecognized option: $1 |
---|
2779 | Try \`$0 --help' for more information." >&2;} |
---|
2780 | { (exit 1); exit 1; }; } ;; |
---|
2781 | |
---|
2782 | *) ac_config_targets="$ac_config_targets $1" ;; |
---|
2783 | |
---|
2784 | esac |
---|
2785 | shift |
---|
2786 | done |
---|
2787 | |
---|
2788 | ac_configure_extra_args= |
---|
2789 | |
---|
2790 | if $ac_cs_silent; then |
---|
2791 | exec 6>/dev/null |
---|
2792 | ac_configure_extra_args="$ac_configure_extra_args --silent" |
---|
2793 | fi |
---|
2794 | |
---|
2795 | _ACEOF |
---|
2796 | cat >>$CONFIG_STATUS <<_ACEOF |
---|
2797 | if \$ac_cs_recheck; then |
---|
2798 | echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 |
---|
2799 | exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
---|
2800 | fi |
---|
2801 | |
---|
2802 | _ACEOF |
---|
2803 | |
---|
2804 | |
---|
2805 | |
---|
2806 | |
---|
2807 | |
---|
2808 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
2809 | for ac_config_target in $ac_config_targets |
---|
2810 | do |
---|
2811 | case "$ac_config_target" in |
---|
2812 | # Handling of arguments. |
---|
2813 | "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
---|
2814 | *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
---|
2815 | echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
---|
2816 | { (exit 1); exit 1; }; };; |
---|
2817 | esac |
---|
2818 | done |
---|
2819 | |
---|
2820 | # If the user did not use the arguments to specify the items to instantiate, |
---|
2821 | # then the envvar interface is used. Set only those that are not. |
---|
2822 | # We use the long form for the default assignment because of an extremely |
---|
2823 | # bizarre bug on SunOS 4.1.3. |
---|
2824 | if $ac_need_defaults; then |
---|
2825 | test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files |
---|
2826 | fi |
---|
2827 | |
---|
2828 | # Have a temporary directory for convenience. Make it in the build tree |
---|
2829 | # simply because there is no reason to put it here, and in addition, |
---|
2830 | # creating and moving files from /tmp can sometimes cause problems. |
---|
2831 | # Create a temporary directory, and hook for its removal unless debugging. |
---|
2832 | $debug || |
---|
2833 | { |
---|
2834 | trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 |
---|
2835 | trap '{ (exit 1); exit 1; }' 1 2 13 15 |
---|
2836 | } |
---|
2837 | |
---|
2838 | # Create a (secure) tmp directory for tmp files. |
---|
2839 | |
---|
2840 | { |
---|
2841 | tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && |
---|
2842 | test -n "$tmp" && test -d "$tmp" |
---|
2843 | } || |
---|
2844 | { |
---|
2845 | tmp=./confstat$$-$RANDOM |
---|
2846 | (umask 077 && mkdir $tmp) |
---|
2847 | } || |
---|
2848 | { |
---|
2849 | echo "$me: cannot create a temporary directory in ." >&2 |
---|
2850 | { (exit 1); exit 1; } |
---|
2851 | } |
---|
2852 | |
---|
2853 | _ACEOF |
---|
2854 | |
---|
2855 | cat >>$CONFIG_STATUS <<_ACEOF |
---|
2856 | |
---|
2857 | # |
---|
2858 | # CONFIG_FILES section. |
---|
2859 | # |
---|
2860 | |
---|
2861 | # No need to generate the scripts if there are no CONFIG_FILES. |
---|
2862 | # This happens for instance when ./config.status config.h |
---|
2863 | if test -n "\$CONFIG_FILES"; then |
---|
2864 | # Protect against being on the right side of a sed subst in config.status. |
---|
2865 | sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; |
---|
2866 | s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF |
---|
2867 | s,@SHELL@,$SHELL,;t t |
---|
2868 | s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t |
---|
2869 | s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t |
---|
2870 | s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t |
---|
2871 | s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t |
---|
2872 | s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t |
---|
2873 | s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t |
---|
2874 | s,@exec_prefix@,$exec_prefix,;t t |
---|
2875 | s,@prefix@,$prefix,;t t |
---|
2876 | s,@program_transform_name@,$program_transform_name,;t t |
---|
2877 | s,@bindir@,$bindir,;t t |
---|
2878 | s,@sbindir@,$sbindir,;t t |
---|
2879 | s,@libexecdir@,$libexecdir,;t t |
---|
2880 | s,@datadir@,$datadir,;t t |
---|
2881 | s,@sysconfdir@,$sysconfdir,;t t |
---|
2882 | s,@sharedstatedir@,$sharedstatedir,;t t |
---|
2883 | s,@localstatedir@,$localstatedir,;t t |
---|
2884 | s,@libdir@,$libdir,;t t |
---|
2885 | s,@includedir@,$includedir,;t t |
---|
2886 | s,@oldincludedir@,$oldincludedir,;t t |
---|
2887 | s,@infodir@,$infodir,;t t |
---|
2888 | s,@mandir@,$mandir,;t t |
---|
2889 | s,@build_alias@,$build_alias,;t t |
---|
2890 | s,@host_alias@,$host_alias,;t t |
---|
2891 | s,@target_alias@,$target_alias,;t t |
---|
2892 | s,@DEFS@,$DEFS,;t t |
---|
2893 | s,@ECHO_C@,$ECHO_C,;t t |
---|
2894 | s,@ECHO_N@,$ECHO_N,;t t |
---|
2895 | s,@ECHO_T@,$ECHO_T,;t t |
---|
2896 | s,@LIBS@,$LIBS,;t t |
---|
2897 | s,@CC@,$CC,;t t |
---|
2898 | s,@CFLAGS@,$CFLAGS,;t t |
---|
2899 | s,@LDFLAGS@,$LDFLAGS,;t t |
---|
2900 | s,@CPPFLAGS@,$CPPFLAGS,;t t |
---|
2901 | s,@ac_ct_CC@,$ac_ct_CC,;t t |
---|
2902 | s,@EXEEXT@,$EXEEXT,;t t |
---|
2903 | s,@OBJEXT@,$OBJEXT,;t t |
---|
2904 | s,@RANLIB@,$RANLIB,;t t |
---|
2905 | s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t |
---|
2906 | s,@LIBOBJS@,$LIBOBJS,;t t |
---|
2907 | s,@LTLIBOBJS@,$LTLIBOBJS,;t t |
---|
2908 | CEOF |
---|
2909 | |
---|
2910 | _ACEOF |
---|
2911 | |
---|
2912 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
2913 | # Split the substitutions into bite-sized pieces for seds with |
---|
2914 | # small command number limits, like on Digital OSF/1 and HP-UX. |
---|
2915 | ac_max_sed_lines=48 |
---|
2916 | ac_sed_frag=1 # Number of current file. |
---|
2917 | ac_beg=1 # First line for current file. |
---|
2918 | ac_end=$ac_max_sed_lines # Line after last line for current file. |
---|
2919 | ac_more_lines=: |
---|
2920 | ac_sed_cmds= |
---|
2921 | while $ac_more_lines; do |
---|
2922 | if test $ac_beg -gt 1; then |
---|
2923 | sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag |
---|
2924 | else |
---|
2925 | sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag |
---|
2926 | fi |
---|
2927 | if test ! -s $tmp/subs.frag; then |
---|
2928 | ac_more_lines=false |
---|
2929 | else |
---|
2930 | # The purpose of the label and of the branching condition is to |
---|
2931 | # speed up the sed processing (if there are no `@' at all, there |
---|
2932 | # is no need to browse any of the substitutions). |
---|
2933 | # These are the two extra sed commands mentioned above. |
---|
2934 | (echo ':t |
---|
2935 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed |
---|
2936 | if test -z "$ac_sed_cmds"; then |
---|
2937 | ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" |
---|
2938 | else |
---|
2939 | ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" |
---|
2940 | fi |
---|
2941 | ac_sed_frag=`expr $ac_sed_frag + 1` |
---|
2942 | ac_beg=$ac_end |
---|
2943 | ac_end=`expr $ac_end + $ac_max_sed_lines` |
---|
2944 | fi |
---|
2945 | done |
---|
2946 | if test -z "$ac_sed_cmds"; then |
---|
2947 | ac_sed_cmds=cat |
---|
2948 | fi |
---|
2949 | fi # test -n "$CONFIG_FILES" |
---|
2950 | |
---|
2951 | _ACEOF |
---|
2952 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
2953 | for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue |
---|
2954 | # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
---|
2955 | case $ac_file in |
---|
2956 | - | *:- | *:-:* ) # input from stdin |
---|
2957 | cat >$tmp/stdin |
---|
2958 | ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
---|
2959 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
---|
2960 | *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
---|
2961 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
---|
2962 | * ) ac_file_in=$ac_file.in ;; |
---|
2963 | esac |
---|
2964 | |
---|
2965 | # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. |
---|
2966 | ac_dir=`(dirname "$ac_file") 2>/dev/null || |
---|
2967 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
2968 | X"$ac_file" : 'X\(//\)[^/]' \| \ |
---|
2969 | X"$ac_file" : 'X\(//\)$' \| \ |
---|
2970 | X"$ac_file" : 'X\(/\)' \| \ |
---|
2971 | . : '\(.\)' 2>/dev/null || |
---|
2972 | echo X"$ac_file" | |
---|
2973 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
---|
2974 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
---|
2975 | /^X\(\/\/\)$/{ s//\1/; q; } |
---|
2976 | /^X\(\/\).*/{ s//\1/; q; } |
---|
2977 | s/.*/./; q'` |
---|
2978 | { if $as_mkdir_p; then |
---|
2979 | mkdir -p "$ac_dir" |
---|
2980 | else |
---|
2981 | as_dir="$ac_dir" |
---|
2982 | as_dirs= |
---|
2983 | while test ! -d "$as_dir"; do |
---|
2984 | as_dirs="$as_dir $as_dirs" |
---|
2985 | as_dir=`(dirname "$as_dir") 2>/dev/null || |
---|
2986 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
2987 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
---|
2988 | X"$as_dir" : 'X\(//\)$' \| \ |
---|
2989 | X"$as_dir" : 'X\(/\)' \| \ |
---|
2990 | . : '\(.\)' 2>/dev/null || |
---|
2991 | echo X"$as_dir" | |
---|
2992 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
---|
2993 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
---|
2994 | /^X\(\/\/\)$/{ s//\1/; q; } |
---|
2995 | /^X\(\/\).*/{ s//\1/; q; } |
---|
2996 | s/.*/./; q'` |
---|
2997 | done |
---|
2998 | test ! -n "$as_dirs" || mkdir $as_dirs |
---|
2999 | fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 |
---|
3000 | echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} |
---|
3001 | { (exit 1); exit 1; }; }; } |
---|
3002 | |
---|
3003 | ac_builddir=. |
---|
3004 | |
---|
3005 | if test "$ac_dir" != .; then |
---|
3006 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
---|
3007 | # A "../" for each directory in $ac_dir_suffix. |
---|
3008 | ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` |
---|
3009 | else |
---|
3010 | ac_dir_suffix= ac_top_builddir= |
---|
3011 | fi |
---|
3012 | |
---|
3013 | case $srcdir in |
---|
3014 | .) # No --srcdir option. We are building in place. |
---|
3015 | ac_srcdir=. |
---|
3016 | if test -z "$ac_top_builddir"; then |
---|
3017 | ac_top_srcdir=. |
---|
3018 | else |
---|
3019 | ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` |
---|
3020 | fi ;; |
---|
3021 | [\\/]* | ?:[\\/]* ) # Absolute path. |
---|
3022 | ac_srcdir=$srcdir$ac_dir_suffix; |
---|
3023 | ac_top_srcdir=$srcdir ;; |
---|
3024 | *) # Relative path. |
---|
3025 | ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
---|
3026 | ac_top_srcdir=$ac_top_builddir$srcdir ;; |
---|
3027 | esac |
---|
3028 | |
---|
3029 | # Do not use `cd foo && pwd` to compute absolute paths, because |
---|
3030 | # the directories may not exist. |
---|
3031 | case `pwd` in |
---|
3032 | .) ac_abs_builddir="$ac_dir";; |
---|
3033 | *) |
---|
3034 | case "$ac_dir" in |
---|
3035 | .) ac_abs_builddir=`pwd`;; |
---|
3036 | [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; |
---|
3037 | *) ac_abs_builddir=`pwd`/"$ac_dir";; |
---|
3038 | esac;; |
---|
3039 | esac |
---|
3040 | case $ac_abs_builddir in |
---|
3041 | .) ac_abs_top_builddir=${ac_top_builddir}.;; |
---|
3042 | *) |
---|
3043 | case ${ac_top_builddir}. in |
---|
3044 | .) ac_abs_top_builddir=$ac_abs_builddir;; |
---|
3045 | [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; |
---|
3046 | *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; |
---|
3047 | esac;; |
---|
3048 | esac |
---|
3049 | case $ac_abs_builddir in |
---|
3050 | .) ac_abs_srcdir=$ac_srcdir;; |
---|
3051 | *) |
---|
3052 | case $ac_srcdir in |
---|
3053 | .) ac_abs_srcdir=$ac_abs_builddir;; |
---|
3054 | [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; |
---|
3055 | *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; |
---|
3056 | esac;; |
---|
3057 | esac |
---|
3058 | case $ac_abs_builddir in |
---|
3059 | .) ac_abs_top_srcdir=$ac_top_srcdir;; |
---|
3060 | *) |
---|
3061 | case $ac_top_srcdir in |
---|
3062 | .) ac_abs_top_srcdir=$ac_abs_builddir;; |
---|
3063 | [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; |
---|
3064 | *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; |
---|
3065 | esac;; |
---|
3066 | esac |
---|
3067 | |
---|
3068 | |
---|
3069 | |
---|
3070 | if test x"$ac_file" != x-; then |
---|
3071 | { echo "$as_me:$LINENO: creating $ac_file" >&5 |
---|
3072 | echo "$as_me: creating $ac_file" >&6;} |
---|
3073 | rm -f "$ac_file" |
---|
3074 | fi |
---|
3075 | # Let's still pretend it is `configure' which instantiates (i.e., don't |
---|
3076 | # use $as_me), people would be surprised to read: |
---|
3077 | # /* config.h. Generated by config.status. */ |
---|
3078 | if test x"$ac_file" = x-; then |
---|
3079 | configure_input= |
---|
3080 | else |
---|
3081 | configure_input="$ac_file. " |
---|
3082 | fi |
---|
3083 | configure_input=$configure_input"Generated from `echo $ac_file_in | |
---|
3084 | sed 's,.*/,,'` by configure." |
---|
3085 | |
---|
3086 | # First look for the input files in the build tree, otherwise in the |
---|
3087 | # src tree. |
---|
3088 | ac_file_inputs=`IFS=: |
---|
3089 | for f in $ac_file_in; do |
---|
3090 | case $f in |
---|
3091 | -) echo $tmp/stdin ;; |
---|
3092 | [\\/$]*) |
---|
3093 | # Absolute (can't be DOS-style, as IFS=:) |
---|
3094 | test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
---|
3095 | echo "$as_me: error: cannot find input file: $f" >&2;} |
---|
3096 | { (exit 1); exit 1; }; } |
---|
3097 | echo "$f";; |
---|
3098 | *) # Relative |
---|
3099 | if test -f "$f"; then |
---|
3100 | # Build tree |
---|
3101 | echo "$f" |
---|
3102 | elif test -f "$srcdir/$f"; then |
---|
3103 | # Source tree |
---|
3104 | echo "$srcdir/$f" |
---|
3105 | else |
---|
3106 | # /dev/null tree |
---|
3107 | { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
---|
3108 | echo "$as_me: error: cannot find input file: $f" >&2;} |
---|
3109 | { (exit 1); exit 1; }; } |
---|
3110 | fi;; |
---|
3111 | esac |
---|
3112 | done` || { (exit 1); exit 1; } |
---|
3113 | _ACEOF |
---|
3114 | cat >>$CONFIG_STATUS <<_ACEOF |
---|
3115 | sed "$ac_vpsub |
---|
3116 | $extrasub |
---|
3117 | _ACEOF |
---|
3118 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
3119 | :t |
---|
3120 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
---|
3121 | s,@configure_input@,$configure_input,;t t |
---|
3122 | s,@srcdir@,$ac_srcdir,;t t |
---|
3123 | s,@abs_srcdir@,$ac_abs_srcdir,;t t |
---|
3124 | s,@top_srcdir@,$ac_top_srcdir,;t t |
---|
3125 | s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t |
---|
3126 | s,@builddir@,$ac_builddir,;t t |
---|
3127 | s,@abs_builddir@,$ac_abs_builddir,;t t |
---|
3128 | s,@top_builddir@,$ac_top_builddir,;t t |
---|
3129 | s,@abs_top_builddir@,$ac_abs_top_builddir,;t t |
---|
3130 | " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out |
---|
3131 | rm -f $tmp/stdin |
---|
3132 | if test x"$ac_file" != x-; then |
---|
3133 | mv $tmp/out $ac_file |
---|
3134 | else |
---|
3135 | cat $tmp/out |
---|
3136 | rm -f $tmp/out |
---|
3137 | fi |
---|
3138 | |
---|
3139 | done |
---|
3140 | _ACEOF |
---|
3141 | |
---|
3142 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
3143 | |
---|
3144 | { (exit 0); exit 0; } |
---|
3145 | _ACEOF |
---|
3146 | chmod +x $CONFIG_STATUS |
---|
3147 | ac_clean_files=$ac_clean_files_save |
---|
3148 | |
---|
3149 | |
---|
3150 | # configure is writing to config.log, and then calls config.status. |
---|
3151 | # config.status does its own redirection, appending to config.log. |
---|
3152 | # Unfortunately, on DOS this fails, as config.log is still kept open |
---|
3153 | # by configure, so config.status won't be able to write to it; its |
---|
3154 | # output is simply discarded. So we exec the FD to /dev/null, |
---|
3155 | # effectively closing config.log, so it can be properly (re)opened and |
---|
3156 | # appended to by config.status. When coming back to configure, we |
---|
3157 | # need to make the FD available again. |
---|
3158 | if test "$no_create" != yes; then |
---|
3159 | ac_cs_success=: |
---|
3160 | ac_config_status_args= |
---|
3161 | test "$silent" = yes && |
---|
3162 | ac_config_status_args="$ac_config_status_args --quiet" |
---|
3163 | exec 5>/dev/null |
---|
3164 | $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
---|
3165 | exec 5>>config.log |
---|
3166 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
---|
3167 | # would make configure fail if this is the last instruction. |
---|
3168 | $ac_cs_success || { (exit 1); exit 1; } |
---|
3169 | fi |
---|
3170 | |
---|