|
1 #! /bin/sh |
|
2 # Guess values for system-dependent variables and create Makefiles. |
|
3 # Generated by GNU Autoconf 2.59 for dtc 1.2.0. |
|
4 # |
|
5 # Report bugs to <support@codesourcery.com>. |
|
6 # |
|
7 # Copyright (C) 2003 Free Software Foundation, Inc. |
|
8 # This configure script is free software; the Free Software Foundation |
|
9 # gives unlimited permission to copy, distribute and modify it. |
|
10 ## --------------------- ## |
|
11 ## M4sh Initialization. ## |
|
12 ## --------------------- ## |
|
13 |
|
14 # Be Bourne compatible |
|
15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
|
16 emulate sh |
|
17 NULLCMD=: |
|
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
|
19 # is contrary to our usage. Disable this feature. |
|
20 alias -g '${1+"$@"}'='"$@"' |
|
21 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
|
22 set -o posix |
|
23 fi |
|
24 DUALCASE=1; export DUALCASE # for MKS sh |
|
25 |
|
26 # Support unset when possible. |
|
27 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
|
28 as_unset=unset |
|
29 else |
|
30 as_unset=false |
|
31 fi |
|
32 |
|
33 |
|
34 # Work around bugs in pre-3.0 UWIN ksh. |
|
35 $as_unset ENV MAIL MAILPATH |
|
36 PS1='$ ' |
|
37 PS2='> ' |
|
38 PS4='+ ' |
|
39 |
|
40 # NLS nuisances. |
|
41 for as_var in \ |
|
42 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ |
|
43 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
|
44 LC_TELEPHONE LC_TIME |
|
45 do |
|
46 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
|
47 eval $as_var=C; export $as_var |
|
48 else |
|
49 $as_unset $as_var |
|
50 fi |
|
51 done |
|
52 |
|
53 # Required to use basename. |
|
54 if expr a : '\(a\)' >/dev/null 2>&1; then |
|
55 as_expr=expr |
|
56 else |
|
57 as_expr=false |
|
58 fi |
|
59 |
|
60 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then |
|
61 as_basename=basename |
|
62 else |
|
63 as_basename=false |
|
64 fi |
|
65 |
|
66 |
|
67 # Name of the executable. |
|
68 as_me=`$as_basename "$0" || |
|
69 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
|
70 X"$0" : 'X\(//\)$' \| \ |
|
71 X"$0" : 'X\(/\)$' \| \ |
|
72 . : '\(.\)' 2>/dev/null || |
|
73 echo X/"$0" | |
|
74 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } |
|
75 /^X\/\(\/\/\)$/{ s//\1/; q; } |
|
76 /^X\/\(\/\).*/{ s//\1/; q; } |
|
77 s/.*/./; q'` |
|
78 |
|
79 |
|
80 # PATH needs CR, and LINENO needs CR and PATH. |
|
81 # Avoid depending upon Character Ranges. |
|
82 as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
|
83 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
|
84 as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
|
85 as_cr_digits='0123456789' |
|
86 as_cr_alnum=$as_cr_Letters$as_cr_digits |
|
87 |
|
88 # The user is always right. |
|
89 if test "${PATH_SEPARATOR+set}" != set; then |
|
90 echo "#! /bin/sh" >conf$$.sh |
|
91 echo "exit 0" >>conf$$.sh |
|
92 chmod +x conf$$.sh |
|
93 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
|
94 PATH_SEPARATOR=';' |
|
95 else |
|
96 PATH_SEPARATOR=: |
|
97 fi |
|
98 rm -f conf$$.sh |
|
99 fi |
|
100 |
|
101 |
|
102 as_lineno_1=$LINENO |
|
103 as_lineno_2=$LINENO |
|
104 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
|
105 test "x$as_lineno_1" != "x$as_lineno_2" && |
|
106 test "x$as_lineno_3" = "x$as_lineno_2" || { |
|
107 # Find who we are. Look in the path if we contain no path at all |
|
108 # relative or not. |
|
109 case $0 in |
|
110 *[\\/]* ) as_myself=$0 ;; |
|
111 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
112 for as_dir in $PATH |
|
113 do |
|
114 IFS=$as_save_IFS |
|
115 test -z "$as_dir" && as_dir=. |
|
116 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
|
117 done |
|
118 |
|
119 ;; |
|
120 esac |
|
121 # We did not find ourselves, most probably we were run as `sh COMMAND' |
|
122 # in which case we are not to be found in the path. |
|
123 if test "x$as_myself" = x; then |
|
124 as_myself=$0 |
|
125 fi |
|
126 if test ! -f "$as_myself"; then |
|
127 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 |
|
128 { (exit 1); exit 1; }; } |
|
129 fi |
|
130 case $CONFIG_SHELL in |
|
131 '') |
|
132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
133 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
|
134 do |
|
135 IFS=$as_save_IFS |
|
136 test -z "$as_dir" && as_dir=. |
|
137 for as_base in sh bash ksh sh5; do |
|
138 case $as_dir in |
|
139 /*) |
|
140 if ("$as_dir/$as_base" -c ' |
|
141 as_lineno_1=$LINENO |
|
142 as_lineno_2=$LINENO |
|
143 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
|
144 test "x$as_lineno_1" != "x$as_lineno_2" && |
|
145 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then |
|
146 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } |
|
147 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } |
|
148 CONFIG_SHELL=$as_dir/$as_base |
|
149 export CONFIG_SHELL |
|
150 exec "$CONFIG_SHELL" "$0" ${1+"$@"} |
|
151 fi;; |
|
152 esac |
|
153 done |
|
154 done |
|
155 ;; |
|
156 esac |
|
157 |
|
158 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
|
159 # uniformly replaced by the line number. The first 'sed' inserts a |
|
160 # line-number line before each line; the second 'sed' does the real |
|
161 # work. The second script uses 'N' to pair each line-number line |
|
162 # with the numbered line, and appends trailing '-' during |
|
163 # substitution so that $LINENO is not a special case at line end. |
|
164 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
|
165 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) |
|
166 sed '=' <$as_myself | |
|
167 sed ' |
|
168 N |
|
169 s,$,-, |
|
170 : loop |
|
171 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, |
|
172 t loop |
|
173 s,-$,, |
|
174 s,^['$as_cr_digits']*\n,, |
|
175 ' >$as_me.lineno && |
|
176 chmod +x $as_me.lineno || |
|
177 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
|
178 { (exit 1); exit 1; }; } |
|
179 |
|
180 # Don't try to exec as it changes $[0], causing all sort of problems |
|
181 # (the dirname of $[0] is not the place where we might find the |
|
182 # original and so on. Autoconf is especially sensible to this). |
|
183 . ./$as_me.lineno |
|
184 # Exit status is that of the last command. |
|
185 exit |
|
186 } |
|
187 |
|
188 |
|
189 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in |
|
190 *c*,-n*) ECHO_N= ECHO_C=' |
|
191 ' ECHO_T=' ' ;; |
|
192 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; |
|
193 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; |
|
194 esac |
|
195 |
|
196 if expr a : '\(a\)' >/dev/null 2>&1; then |
|
197 as_expr=expr |
|
198 else |
|
199 as_expr=false |
|
200 fi |
|
201 |
|
202 rm -f conf$$ conf$$.exe conf$$.file |
|
203 echo >conf$$.file |
|
204 if ln -s conf$$.file conf$$ 2>/dev/null; then |
|
205 # We could just check for DJGPP; but this test a) works b) is more generic |
|
206 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). |
|
207 if test -f conf$$.exe; then |
|
208 # Don't use ln at all; we don't have any links |
|
209 as_ln_s='cp -p' |
|
210 else |
|
211 as_ln_s='ln -s' |
|
212 fi |
|
213 elif ln conf$$.file conf$$ 2>/dev/null; then |
|
214 as_ln_s=ln |
|
215 else |
|
216 as_ln_s='cp -p' |
|
217 fi |
|
218 rm -f conf$$ conf$$.exe conf$$.file |
|
219 |
|
220 if mkdir -p . 2>/dev/null; then |
|
221 as_mkdir_p=: |
|
222 else |
|
223 test -d ./-p && rmdir ./-p |
|
224 as_mkdir_p=false |
|
225 fi |
|
226 |
|
227 as_executable_p="test -f" |
|
228 |
|
229 # Sed expression to map a string onto a valid CPP name. |
|
230 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
|
231 |
|
232 # Sed expression to map a string onto a valid variable name. |
|
233 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
|
234 |
|
235 |
|
236 # IFS |
|
237 # We need space, tab and new line, in precisely that order. |
|
238 as_nl=' |
|
239 ' |
|
240 IFS=" $as_nl" |
|
241 |
|
242 # CDPATH. |
|
243 $as_unset CDPATH |
|
244 |
|
245 |
|
246 # Name of the host. |
|
247 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, |
|
248 # so uname gets run too. |
|
249 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
|
250 |
|
251 exec 6>&1 |
|
252 |
|
253 # |
|
254 # Initializations. |
|
255 # |
|
256 ac_default_prefix=/usr/local |
|
257 ac_config_libobj_dir=. |
|
258 cross_compiling=no |
|
259 subdirs= |
|
260 MFLAGS= |
|
261 MAKEFLAGS= |
|
262 SHELL=${CONFIG_SHELL-/bin/sh} |
|
263 |
|
264 # Maximum number of lines to put in a shell here document. |
|
265 # This variable seems obsolete. It should probably be removed, and |
|
266 # only ac_max_sed_lines should be used. |
|
267 : ${ac_max_here_lines=38} |
|
268 |
|
269 # Identity of this package. |
|
270 PACKAGE_NAME='dtc' |
|
271 PACKAGE_TARNAME='dtc' |
|
272 PACKAGE_VERSION='1.2.0' |
|
273 PACKAGE_STRING='dtc 1.2.0' |
|
274 PACKAGE_BUGREPORT='support@codesourcery.com' |
|
275 |
|
276 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 INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar build build_cpu build_vendor build_os host host_cpu host_vendor host_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE YACC LEX LEXLIB LEX_OUTPUT_ROOT MAINTAINER_MODE PKGVERSION BUGURL LIBOBJS LTLIBOBJS' |
|
277 ac_subst_files='' |
|
278 |
|
279 # Initialize some variables set by options. |
|
280 ac_init_help= |
|
281 ac_init_version=false |
|
282 # The variables have the same names as the options, with |
|
283 # dashes changed to underlines. |
|
284 cache_file=/dev/null |
|
285 exec_prefix=NONE |
|
286 no_create= |
|
287 no_recursion= |
|
288 prefix=NONE |
|
289 program_prefix=NONE |
|
290 program_suffix=NONE |
|
291 program_transform_name=s,x,x, |
|
292 silent= |
|
293 site= |
|
294 srcdir= |
|
295 verbose= |
|
296 x_includes=NONE |
|
297 x_libraries=NONE |
|
298 |
|
299 # Installation directory options. |
|
300 # These are left unexpanded so users can "make install exec_prefix=/foo" |
|
301 # and all the variables that are supposed to be based on exec_prefix |
|
302 # by default will actually change. |
|
303 # Use braces instead of parens because sh, perl, etc. also accept them. |
|
304 bindir='${exec_prefix}/bin' |
|
305 sbindir='${exec_prefix}/sbin' |
|
306 libexecdir='${exec_prefix}/libexec' |
|
307 datadir='${prefix}/share' |
|
308 sysconfdir='${prefix}/etc' |
|
309 sharedstatedir='${prefix}/com' |
|
310 localstatedir='${prefix}/var' |
|
311 libdir='${exec_prefix}/lib' |
|
312 includedir='${prefix}/include' |
|
313 oldincludedir='/usr/include' |
|
314 infodir='${prefix}/info' |
|
315 mandir='${prefix}/man' |
|
316 |
|
317 ac_prev= |
|
318 for ac_option |
|
319 do |
|
320 # If the previous option needs an argument, assign it. |
|
321 if test -n "$ac_prev"; then |
|
322 eval "$ac_prev=\$ac_option" |
|
323 ac_prev= |
|
324 continue |
|
325 fi |
|
326 |
|
327 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` |
|
328 |
|
329 # Accept the important Cygnus configure options, so we can diagnose typos. |
|
330 |
|
331 case $ac_option in |
|
332 |
|
333 -bindir | --bindir | --bindi | --bind | --bin | --bi) |
|
334 ac_prev=bindir ;; |
|
335 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
|
336 bindir=$ac_optarg ;; |
|
337 |
|
338 -build | --build | --buil | --bui | --bu) |
|
339 ac_prev=build_alias ;; |
|
340 -build=* | --build=* | --buil=* | --bui=* | --bu=*) |
|
341 build_alias=$ac_optarg ;; |
|
342 |
|
343 -cache-file | --cache-file | --cache-fil | --cache-fi \ |
|
344 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
|
345 ac_prev=cache_file ;; |
|
346 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
|
347 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) |
|
348 cache_file=$ac_optarg ;; |
|
349 |
|
350 --config-cache | -C) |
|
351 cache_file=config.cache ;; |
|
352 |
|
353 -datadir | --datadir | --datadi | --datad | --data | --dat | --da) |
|
354 ac_prev=datadir ;; |
|
355 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ |
|
356 | --da=*) |
|
357 datadir=$ac_optarg ;; |
|
358 |
|
359 -disable-* | --disable-*) |
|
360 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
|
361 # Reject names that are not valid shell variable names. |
|
362 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && |
|
363 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
|
364 { (exit 1); exit 1; }; } |
|
365 ac_feature=`echo $ac_feature | sed 's/-/_/g'` |
|
366 eval "enable_$ac_feature=no" ;; |
|
367 |
|
368 -enable-* | --enable-*) |
|
369 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
|
370 # Reject names that are not valid shell variable names. |
|
371 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && |
|
372 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
|
373 { (exit 1); exit 1; }; } |
|
374 ac_feature=`echo $ac_feature | sed 's/-/_/g'` |
|
375 case $ac_option in |
|
376 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; |
|
377 *) ac_optarg=yes ;; |
|
378 esac |
|
379 eval "enable_$ac_feature='$ac_optarg'" ;; |
|
380 |
|
381 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
|
382 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
|
383 | --exec | --exe | --ex) |
|
384 ac_prev=exec_prefix ;; |
|
385 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ |
|
386 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ |
|
387 | --exec=* | --exe=* | --ex=*) |
|
388 exec_prefix=$ac_optarg ;; |
|
389 |
|
390 -gas | --gas | --ga | --g) |
|
391 # Obsolete; use --with-gas. |
|
392 with_gas=yes ;; |
|
393 |
|
394 -help | --help | --hel | --he | -h) |
|
395 ac_init_help=long ;; |
|
396 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) |
|
397 ac_init_help=recursive ;; |
|
398 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) |
|
399 ac_init_help=short ;; |
|
400 |
|
401 -host | --host | --hos | --ho) |
|
402 ac_prev=host_alias ;; |
|
403 -host=* | --host=* | --hos=* | --ho=*) |
|
404 host_alias=$ac_optarg ;; |
|
405 |
|
406 -includedir | --includedir | --includedi | --included | --include \ |
|
407 | --includ | --inclu | --incl | --inc) |
|
408 ac_prev=includedir ;; |
|
409 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
|
410 | --includ=* | --inclu=* | --incl=* | --inc=*) |
|
411 includedir=$ac_optarg ;; |
|
412 |
|
413 -infodir | --infodir | --infodi | --infod | --info | --inf) |
|
414 ac_prev=infodir ;; |
|
415 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) |
|
416 infodir=$ac_optarg ;; |
|
417 |
|
418 -libdir | --libdir | --libdi | --libd) |
|
419 ac_prev=libdir ;; |
|
420 -libdir=* | --libdir=* | --libdi=* | --libd=*) |
|
421 libdir=$ac_optarg ;; |
|
422 |
|
423 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ |
|
424 | --libexe | --libex | --libe) |
|
425 ac_prev=libexecdir ;; |
|
426 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
|
427 | --libexe=* | --libex=* | --libe=*) |
|
428 libexecdir=$ac_optarg ;; |
|
429 |
|
430 -localstatedir | --localstatedir | --localstatedi | --localstated \ |
|
431 | --localstate | --localstat | --localsta | --localst \ |
|
432 | --locals | --local | --loca | --loc | --lo) |
|
433 ac_prev=localstatedir ;; |
|
434 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
|
435 | --localstate=* | --localstat=* | --localsta=* | --localst=* \ |
|
436 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) |
|
437 localstatedir=$ac_optarg ;; |
|
438 |
|
439 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
|
440 ac_prev=mandir ;; |
|
441 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
|
442 mandir=$ac_optarg ;; |
|
443 |
|
444 -nfp | --nfp | --nf) |
|
445 # Obsolete; use --without-fp. |
|
446 with_fp=no ;; |
|
447 |
|
448 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
|
449 | --no-cr | --no-c | -n) |
|
450 no_create=yes ;; |
|
451 |
|
452 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
|
453 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) |
|
454 no_recursion=yes ;; |
|
455 |
|
456 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ |
|
457 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ |
|
458 | --oldin | --oldi | --old | --ol | --o) |
|
459 ac_prev=oldincludedir ;; |
|
460 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ |
|
461 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ |
|
462 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) |
|
463 oldincludedir=$ac_optarg ;; |
|
464 |
|
465 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
|
466 ac_prev=prefix ;; |
|
467 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
|
468 prefix=$ac_optarg ;; |
|
469 |
|
470 -program-prefix | --program-prefix | --program-prefi | --program-pref \ |
|
471 | --program-pre | --program-pr | --program-p) |
|
472 ac_prev=program_prefix ;; |
|
473 -program-prefix=* | --program-prefix=* | --program-prefi=* \ |
|
474 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) |
|
475 program_prefix=$ac_optarg ;; |
|
476 |
|
477 -program-suffix | --program-suffix | --program-suffi | --program-suff \ |
|
478 | --program-suf | --program-su | --program-s) |
|
479 ac_prev=program_suffix ;; |
|
480 -program-suffix=* | --program-suffix=* | --program-suffi=* \ |
|
481 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) |
|
482 program_suffix=$ac_optarg ;; |
|
483 |
|
484 -program-transform-name | --program-transform-name \ |
|
485 | --program-transform-nam | --program-transform-na \ |
|
486 | --program-transform-n | --program-transform- \ |
|
487 | --program-transform | --program-transfor \ |
|
488 | --program-transfo | --program-transf \ |
|
489 | --program-trans | --program-tran \ |
|
490 | --progr-tra | --program-tr | --program-t) |
|
491 ac_prev=program_transform_name ;; |
|
492 -program-transform-name=* | --program-transform-name=* \ |
|
493 | --program-transform-nam=* | --program-transform-na=* \ |
|
494 | --program-transform-n=* | --program-transform-=* \ |
|
495 | --program-transform=* | --program-transfor=* \ |
|
496 | --program-transfo=* | --program-transf=* \ |
|
497 | --program-trans=* | --program-tran=* \ |
|
498 | --progr-tra=* | --program-tr=* | --program-t=*) |
|
499 program_transform_name=$ac_optarg ;; |
|
500 |
|
501 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
|
502 | -silent | --silent | --silen | --sile | --sil) |
|
503 silent=yes ;; |
|
504 |
|
505 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
|
506 ac_prev=sbindir ;; |
|
507 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
|
508 | --sbi=* | --sb=*) |
|
509 sbindir=$ac_optarg ;; |
|
510 |
|
511 -sharedstatedir | --sharedstatedir | --sharedstatedi \ |
|
512 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ |
|
513 | --sharedst | --shareds | --shared | --share | --shar \ |
|
514 | --sha | --sh) |
|
515 ac_prev=sharedstatedir ;; |
|
516 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ |
|
517 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ |
|
518 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ |
|
519 | --sha=* | --sh=*) |
|
520 sharedstatedir=$ac_optarg ;; |
|
521 |
|
522 -site | --site | --sit) |
|
523 ac_prev=site ;; |
|
524 -site=* | --site=* | --sit=*) |
|
525 site=$ac_optarg ;; |
|
526 |
|
527 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
|
528 ac_prev=srcdir ;; |
|
529 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
|
530 srcdir=$ac_optarg ;; |
|
531 |
|
532 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ |
|
533 | --syscon | --sysco | --sysc | --sys | --sy) |
|
534 ac_prev=sysconfdir ;; |
|
535 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ |
|
536 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) |
|
537 sysconfdir=$ac_optarg ;; |
|
538 |
|
539 -target | --target | --targe | --targ | --tar | --ta | --t) |
|
540 ac_prev=target_alias ;; |
|
541 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
|
542 target_alias=$ac_optarg ;; |
|
543 |
|
544 -v | -verbose | --verbose | --verbos | --verbo | --verb) |
|
545 verbose=yes ;; |
|
546 |
|
547 -version | --version | --versio | --versi | --vers | -V) |
|
548 ac_init_version=: ;; |
|
549 |
|
550 -with-* | --with-*) |
|
551 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
|
552 # Reject names that are not valid shell variable names. |
|
553 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && |
|
554 { echo "$as_me: error: invalid package name: $ac_package" >&2 |
|
555 { (exit 1); exit 1; }; } |
|
556 ac_package=`echo $ac_package| sed 's/-/_/g'` |
|
557 case $ac_option in |
|
558 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; |
|
559 *) ac_optarg=yes ;; |
|
560 esac |
|
561 eval "with_$ac_package='$ac_optarg'" ;; |
|
562 |
|
563 -without-* | --without-*) |
|
564 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
|
565 # Reject names that are not valid shell variable names. |
|
566 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && |
|
567 { echo "$as_me: error: invalid package name: $ac_package" >&2 |
|
568 { (exit 1); exit 1; }; } |
|
569 ac_package=`echo $ac_package | sed 's/-/_/g'` |
|
570 eval "with_$ac_package=no" ;; |
|
571 |
|
572 --x) |
|
573 # Obsolete; use --with-x. |
|
574 with_x=yes ;; |
|
575 |
|
576 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ |
|
577 | --x-incl | --x-inc | --x-in | --x-i) |
|
578 ac_prev=x_includes ;; |
|
579 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ |
|
580 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) |
|
581 x_includes=$ac_optarg ;; |
|
582 |
|
583 -x-libraries | --x-libraries | --x-librarie | --x-librari \ |
|
584 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) |
|
585 ac_prev=x_libraries ;; |
|
586 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
|
587 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
|
588 x_libraries=$ac_optarg ;; |
|
589 |
|
590 -*) { echo "$as_me: error: unrecognized option: $ac_option |
|
591 Try \`$0 --help' for more information." >&2 |
|
592 { (exit 1); exit 1; }; } |
|
593 ;; |
|
594 |
|
595 *=*) |
|
596 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
|
597 # Reject names that are not valid shell variable names. |
|
598 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && |
|
599 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 |
|
600 { (exit 1); exit 1; }; } |
|
601 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` |
|
602 eval "$ac_envvar='$ac_optarg'" |
|
603 export $ac_envvar ;; |
|
604 |
|
605 *) |
|
606 # FIXME: should be removed in autoconf 3.0. |
|
607 echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
|
608 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
|
609 echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
|
610 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} |
|
611 ;; |
|
612 |
|
613 esac |
|
614 done |
|
615 |
|
616 if test -n "$ac_prev"; then |
|
617 ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
|
618 { echo "$as_me: error: missing argument to $ac_option" >&2 |
|
619 { (exit 1); exit 1; }; } |
|
620 fi |
|
621 |
|
622 # Be sure to have absolute paths. |
|
623 for ac_var in exec_prefix prefix |
|
624 do |
|
625 eval ac_val=$`echo $ac_var` |
|
626 case $ac_val in |
|
627 [\\/$]* | ?:[\\/]* | NONE | '' ) ;; |
|
628 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
|
629 { (exit 1); exit 1; }; };; |
|
630 esac |
|
631 done |
|
632 |
|
633 # Be sure to have absolute paths. |
|
634 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ |
|
635 localstatedir libdir includedir oldincludedir infodir mandir |
|
636 do |
|
637 eval ac_val=$`echo $ac_var` |
|
638 case $ac_val in |
|
639 [\\/$]* | ?:[\\/]* ) ;; |
|
640 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
|
641 { (exit 1); exit 1; }; };; |
|
642 esac |
|
643 done |
|
644 |
|
645 # There might be people who depend on the old broken behavior: `$host' |
|
646 # used to hold the argument of --host etc. |
|
647 # FIXME: To remove some day. |
|
648 build=$build_alias |
|
649 host=$host_alias |
|
650 target=$target_alias |
|
651 |
|
652 # FIXME: To remove some day. |
|
653 if test "x$host_alias" != x; then |
|
654 if test "x$build_alias" = x; then |
|
655 cross_compiling=maybe |
|
656 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. |
|
657 If a cross compiler is detected then cross compile mode will be used." >&2 |
|
658 elif test "x$build_alias" != "x$host_alias"; then |
|
659 cross_compiling=yes |
|
660 fi |
|
661 fi |
|
662 |
|
663 ac_tool_prefix= |
|
664 test -n "$host_alias" && ac_tool_prefix=$host_alias- |
|
665 |
|
666 test "$silent" = yes && exec 6>/dev/null |
|
667 |
|
668 |
|
669 # Find the source files, if location was not specified. |
|
670 if test -z "$srcdir"; then |
|
671 ac_srcdir_defaulted=yes |
|
672 # Try the directory containing this script, then its parent. |
|
673 ac_confdir=`(dirname "$0") 2>/dev/null || |
|
674 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
675 X"$0" : 'X\(//\)[^/]' \| \ |
|
676 X"$0" : 'X\(//\)$' \| \ |
|
677 X"$0" : 'X\(/\)' \| \ |
|
678 . : '\(.\)' 2>/dev/null || |
|
679 echo X"$0" | |
|
680 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
|
681 /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
|
682 /^X\(\/\/\)$/{ s//\1/; q; } |
|
683 /^X\(\/\).*/{ s//\1/; q; } |
|
684 s/.*/./; q'` |
|
685 srcdir=$ac_confdir |
|
686 if test ! -r $srcdir/$ac_unique_file; then |
|
687 srcdir=.. |
|
688 fi |
|
689 else |
|
690 ac_srcdir_defaulted=no |
|
691 fi |
|
692 if test ! -r $srcdir/$ac_unique_file; then |
|
693 if test "$ac_srcdir_defaulted" = yes; then |
|
694 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 |
|
695 { (exit 1); exit 1; }; } |
|
696 else |
|
697 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 |
|
698 { (exit 1); exit 1; }; } |
|
699 fi |
|
700 fi |
|
701 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || |
|
702 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 |
|
703 { (exit 1); exit 1; }; } |
|
704 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` |
|
705 ac_env_build_alias_set=${build_alias+set} |
|
706 ac_env_build_alias_value=$build_alias |
|
707 ac_cv_env_build_alias_set=${build_alias+set} |
|
708 ac_cv_env_build_alias_value=$build_alias |
|
709 ac_env_host_alias_set=${host_alias+set} |
|
710 ac_env_host_alias_value=$host_alias |
|
711 ac_cv_env_host_alias_set=${host_alias+set} |
|
712 ac_cv_env_host_alias_value=$host_alias |
|
713 ac_env_target_alias_set=${target_alias+set} |
|
714 ac_env_target_alias_value=$target_alias |
|
715 ac_cv_env_target_alias_set=${target_alias+set} |
|
716 ac_cv_env_target_alias_value=$target_alias |
|
717 ac_env_CC_set=${CC+set} |
|
718 ac_env_CC_value=$CC |
|
719 ac_cv_env_CC_set=${CC+set} |
|
720 ac_cv_env_CC_value=$CC |
|
721 ac_env_CFLAGS_set=${CFLAGS+set} |
|
722 ac_env_CFLAGS_value=$CFLAGS |
|
723 ac_cv_env_CFLAGS_set=${CFLAGS+set} |
|
724 ac_cv_env_CFLAGS_value=$CFLAGS |
|
725 ac_env_LDFLAGS_set=${LDFLAGS+set} |
|
726 ac_env_LDFLAGS_value=$LDFLAGS |
|
727 ac_cv_env_LDFLAGS_set=${LDFLAGS+set} |
|
728 ac_cv_env_LDFLAGS_value=$LDFLAGS |
|
729 ac_env_CPPFLAGS_set=${CPPFLAGS+set} |
|
730 ac_env_CPPFLAGS_value=$CPPFLAGS |
|
731 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} |
|
732 ac_cv_env_CPPFLAGS_value=$CPPFLAGS |
|
733 |
|
734 # |
|
735 # Report the --help message. |
|
736 # |
|
737 if test "$ac_init_help" = "long"; then |
|
738 # Omit some internal or obsolete options to make the list less imposing. |
|
739 # This message is too long to be a string in the A/UX 3.1 sh. |
|
740 cat <<_ACEOF |
|
741 \`configure' configures dtc 1.2.0 to adapt to many kinds of systems. |
|
742 |
|
743 Usage: $0 [OPTION]... [VAR=VALUE]... |
|
744 |
|
745 To assign environment variables (e.g., CC, CFLAGS...), specify them as |
|
746 VAR=VALUE. See below for descriptions of some of the useful variables. |
|
747 |
|
748 Defaults for the options are specified in brackets. |
|
749 |
|
750 Configuration: |
|
751 -h, --help display this help and exit |
|
752 --help=short display options specific to this package |
|
753 --help=recursive display the short help of all the included packages |
|
754 -V, --version display version information and exit |
|
755 -q, --quiet, --silent do not print \`checking...' messages |
|
756 --cache-file=FILE cache test results in FILE [disabled] |
|
757 -C, --config-cache alias for \`--cache-file=config.cache' |
|
758 -n, --no-create do not create output files |
|
759 --srcdir=DIR find the sources in DIR [configure dir or \`..'] |
|
760 |
|
761 _ACEOF |
|
762 |
|
763 cat <<_ACEOF |
|
764 Installation directories: |
|
765 --prefix=PREFIX install architecture-independent files in PREFIX |
|
766 [$ac_default_prefix] |
|
767 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
|
768 [PREFIX] |
|
769 |
|
770 By default, \`make install' will install all the files in |
|
771 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
|
772 an installation prefix other than \`$ac_default_prefix' using \`--prefix', |
|
773 for instance \`--prefix=\$HOME'. |
|
774 |
|
775 For better control, use the options below. |
|
776 |
|
777 Fine tuning of the installation directories: |
|
778 --bindir=DIR user executables [EPREFIX/bin] |
|
779 --sbindir=DIR system admin executables [EPREFIX/sbin] |
|
780 --libexecdir=DIR program executables [EPREFIX/libexec] |
|
781 --datadir=DIR read-only architecture-independent data [PREFIX/share] |
|
782 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
|
783 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
|
784 --localstatedir=DIR modifiable single-machine data [PREFIX/var] |
|
785 --libdir=DIR object code libraries [EPREFIX/lib] |
|
786 --includedir=DIR C header files [PREFIX/include] |
|
787 --oldincludedir=DIR C header files for non-gcc [/usr/include] |
|
788 --infodir=DIR info documentation [PREFIX/info] |
|
789 --mandir=DIR man documentation [PREFIX/man] |
|
790 _ACEOF |
|
791 |
|
792 cat <<\_ACEOF |
|
793 |
|
794 Program names: |
|
795 --program-prefix=PREFIX prepend PREFIX to installed program names |
|
796 --program-suffix=SUFFIX append SUFFIX to installed program names |
|
797 --program-transform-name=PROGRAM run sed PROGRAM on installed program names |
|
798 |
|
799 System types: |
|
800 --build=BUILD configure for building on BUILD [guessed] |
|
801 --host=HOST cross-compile to build programs to run on HOST [BUILD] |
|
802 _ACEOF |
|
803 fi |
|
804 |
|
805 if test -n "$ac_init_help"; then |
|
806 case $ac_init_help in |
|
807 short | recursive ) echo "Configuration of dtc 1.2.0:";; |
|
808 esac |
|
809 cat <<\_ACEOF |
|
810 |
|
811 Optional Features: |
|
812 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
|
813 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
|
814 --disable-dependency-tracking speeds up one-time build |
|
815 --enable-dependency-tracking do not reject slow dependency extractors |
|
816 --enable-maintainer-mode |
|
817 Enable maintainer mode |
|
818 |
|
819 Optional Packages: |
|
820 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
|
821 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
|
822 --with-pkgversion=PKG Add PKG to the version string |
|
823 --with-bugurl=URL Direct users to URL to report a bug |
|
824 |
|
825 Some influential environment variables: |
|
826 CC C compiler command |
|
827 CFLAGS C compiler flags |
|
828 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
|
829 nonstandard directory <lib dir> |
|
830 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have |
|
831 headers in a nonstandard directory <include dir> |
|
832 |
|
833 Use these variables to override the choices made by `configure' or to help |
|
834 it to find libraries and programs with nonstandard names/locations. |
|
835 |
|
836 Report bugs to <support@codesourcery.com>. |
|
837 _ACEOF |
|
838 fi |
|
839 |
|
840 if test "$ac_init_help" = "recursive"; then |
|
841 # If there are subdirs, report their specific --help. |
|
842 ac_popdir=`pwd` |
|
843 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
|
844 test -d $ac_dir || continue |
|
845 ac_builddir=. |
|
846 |
|
847 if test "$ac_dir" != .; then |
|
848 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
|
849 # A "../" for each directory in $ac_dir_suffix. |
|
850 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` |
|
851 else |
|
852 ac_dir_suffix= ac_top_builddir= |
|
853 fi |
|
854 |
|
855 case $srcdir in |
|
856 .) # No --srcdir option. We are building in place. |
|
857 ac_srcdir=. |
|
858 if test -z "$ac_top_builddir"; then |
|
859 ac_top_srcdir=. |
|
860 else |
|
861 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` |
|
862 fi ;; |
|
863 [\\/]* | ?:[\\/]* ) # Absolute path. |
|
864 ac_srcdir=$srcdir$ac_dir_suffix; |
|
865 ac_top_srcdir=$srcdir ;; |
|
866 *) # Relative path. |
|
867 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
|
868 ac_top_srcdir=$ac_top_builddir$srcdir ;; |
|
869 esac |
|
870 |
|
871 # Do not use `cd foo && pwd` to compute absolute paths, because |
|
872 # the directories may not exist. |
|
873 case `pwd` in |
|
874 .) ac_abs_builddir="$ac_dir";; |
|
875 *) |
|
876 case "$ac_dir" in |
|
877 .) ac_abs_builddir=`pwd`;; |
|
878 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; |
|
879 *) ac_abs_builddir=`pwd`/"$ac_dir";; |
|
880 esac;; |
|
881 esac |
|
882 case $ac_abs_builddir in |
|
883 .) ac_abs_top_builddir=${ac_top_builddir}.;; |
|
884 *) |
|
885 case ${ac_top_builddir}. in |
|
886 .) ac_abs_top_builddir=$ac_abs_builddir;; |
|
887 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; |
|
888 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; |
|
889 esac;; |
|
890 esac |
|
891 case $ac_abs_builddir in |
|
892 .) ac_abs_srcdir=$ac_srcdir;; |
|
893 *) |
|
894 case $ac_srcdir in |
|
895 .) ac_abs_srcdir=$ac_abs_builddir;; |
|
896 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; |
|
897 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; |
|
898 esac;; |
|
899 esac |
|
900 case $ac_abs_builddir in |
|
901 .) ac_abs_top_srcdir=$ac_top_srcdir;; |
|
902 *) |
|
903 case $ac_top_srcdir in |
|
904 .) ac_abs_top_srcdir=$ac_abs_builddir;; |
|
905 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; |
|
906 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; |
|
907 esac;; |
|
908 esac |
|
909 |
|
910 cd $ac_dir |
|
911 # Check for guested configure; otherwise get Cygnus style configure. |
|
912 if test -f $ac_srcdir/configure.gnu; then |
|
913 echo |
|
914 $SHELL $ac_srcdir/configure.gnu --help=recursive |
|
915 elif test -f $ac_srcdir/configure; then |
|
916 echo |
|
917 $SHELL $ac_srcdir/configure --help=recursive |
|
918 elif test -f $ac_srcdir/configure.ac || |
|
919 test -f $ac_srcdir/configure.in; then |
|
920 echo |
|
921 $ac_configure --help |
|
922 else |
|
923 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
|
924 fi |
|
925 cd $ac_popdir |
|
926 done |
|
927 fi |
|
928 |
|
929 test -n "$ac_init_help" && exit 0 |
|
930 if $ac_init_version; then |
|
931 cat <<\_ACEOF |
|
932 dtc configure 1.2.0 |
|
933 generated by GNU Autoconf 2.59 |
|
934 |
|
935 Copyright (C) 2003 Free Software Foundation, Inc. |
|
936 This configure script is free software; the Free Software Foundation |
|
937 gives unlimited permission to copy, distribute and modify it. |
|
938 _ACEOF |
|
939 exit 0 |
|
940 fi |
|
941 exec 5>config.log |
|
942 cat >&5 <<_ACEOF |
|
943 This file contains any messages produced by compilers while |
|
944 running configure, to aid debugging if configure makes a mistake. |
|
945 |
|
946 It was created by dtc $as_me 1.2.0, which was |
|
947 generated by GNU Autoconf 2.59. Invocation command line was |
|
948 |
|
949 $ $0 $@ |
|
950 |
|
951 _ACEOF |
|
952 { |
|
953 cat <<_ASUNAME |
|
954 ## --------- ## |
|
955 ## Platform. ## |
|
956 ## --------- ## |
|
957 |
|
958 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` |
|
959 uname -m = `(uname -m) 2>/dev/null || echo unknown` |
|
960 uname -r = `(uname -r) 2>/dev/null || echo unknown` |
|
961 uname -s = `(uname -s) 2>/dev/null || echo unknown` |
|
962 uname -v = `(uname -v) 2>/dev/null || echo unknown` |
|
963 |
|
964 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` |
|
965 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` |
|
966 |
|
967 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` |
|
968 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` |
|
969 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` |
|
970 hostinfo = `(hostinfo) 2>/dev/null || echo unknown` |
|
971 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` |
|
972 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` |
|
973 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` |
|
974 |
|
975 _ASUNAME |
|
976 |
|
977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
978 for as_dir in $PATH |
|
979 do |
|
980 IFS=$as_save_IFS |
|
981 test -z "$as_dir" && as_dir=. |
|
982 echo "PATH: $as_dir" |
|
983 done |
|
984 |
|
985 } >&5 |
|
986 |
|
987 cat >&5 <<_ACEOF |
|
988 |
|
989 |
|
990 ## ----------- ## |
|
991 ## Core tests. ## |
|
992 ## ----------- ## |
|
993 |
|
994 _ACEOF |
|
995 |
|
996 |
|
997 # Keep a trace of the command line. |
|
998 # Strip out --no-create and --no-recursion so they do not pile up. |
|
999 # Strip out --silent because we don't want to record it for future runs. |
|
1000 # Also quote any args containing shell meta-characters. |
|
1001 # Make two passes to allow for proper duplicate-argument suppression. |
|
1002 ac_configure_args= |
|
1003 ac_configure_args0= |
|
1004 ac_configure_args1= |
|
1005 ac_sep= |
|
1006 ac_must_keep_next=false |
|
1007 for ac_pass in 1 2 |
|
1008 do |
|
1009 for ac_arg |
|
1010 do |
|
1011 case $ac_arg in |
|
1012 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
|
1013 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
|
1014 | -silent | --silent | --silen | --sile | --sil) |
|
1015 continue ;; |
|
1016 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) |
|
1017 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
|
1018 esac |
|
1019 case $ac_pass in |
|
1020 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; |
|
1021 2) |
|
1022 ac_configure_args1="$ac_configure_args1 '$ac_arg'" |
|
1023 if test $ac_must_keep_next = true; then |
|
1024 ac_must_keep_next=false # Got value, back to normal. |
|
1025 else |
|
1026 case $ac_arg in |
|
1027 *=* | --config-cache | -C | -disable-* | --disable-* \ |
|
1028 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
|
1029 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
|
1030 | -with-* | --with-* | -without-* | --without-* | --x) |
|
1031 case "$ac_configure_args0 " in |
|
1032 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
|
1033 esac |
|
1034 ;; |
|
1035 -* ) ac_must_keep_next=true ;; |
|
1036 esac |
|
1037 fi |
|
1038 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" |
|
1039 # Get rid of the leading space. |
|
1040 ac_sep=" " |
|
1041 ;; |
|
1042 esac |
|
1043 done |
|
1044 done |
|
1045 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } |
|
1046 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } |
|
1047 |
|
1048 # When interrupted or exit'd, cleanup temporary files, and complete |
|
1049 # config.log. We remove comments because anyway the quotes in there |
|
1050 # would cause problems or look ugly. |
|
1051 # WARNING: Be sure not to use single quotes in there, as some shells, |
|
1052 # such as our DU 5.0 friend, will then `close' the trap. |
|
1053 trap 'exit_status=$? |
|
1054 # Save into config.log some information that might help in debugging. |
|
1055 { |
|
1056 echo |
|
1057 |
|
1058 cat <<\_ASBOX |
|
1059 ## ---------------- ## |
|
1060 ## Cache variables. ## |
|
1061 ## ---------------- ## |
|
1062 _ASBOX |
|
1063 echo |
|
1064 # The following way of writing the cache mishandles newlines in values, |
|
1065 { |
|
1066 (set) 2>&1 | |
|
1067 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in |
|
1068 *ac_space=\ *) |
|
1069 sed -n \ |
|
1070 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; |
|
1071 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" |
|
1072 ;; |
|
1073 *) |
|
1074 sed -n \ |
|
1075 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
|
1076 ;; |
|
1077 esac; |
|
1078 } |
|
1079 echo |
|
1080 |
|
1081 cat <<\_ASBOX |
|
1082 ## ----------------- ## |
|
1083 ## Output variables. ## |
|
1084 ## ----------------- ## |
|
1085 _ASBOX |
|
1086 echo |
|
1087 for ac_var in $ac_subst_vars |
|
1088 do |
|
1089 eval ac_val=$`echo $ac_var` |
|
1090 echo "$ac_var='"'"'$ac_val'"'"'" |
|
1091 done | sort |
|
1092 echo |
|
1093 |
|
1094 if test -n "$ac_subst_files"; then |
|
1095 cat <<\_ASBOX |
|
1096 ## ------------- ## |
|
1097 ## Output files. ## |
|
1098 ## ------------- ## |
|
1099 _ASBOX |
|
1100 echo |
|
1101 for ac_var in $ac_subst_files |
|
1102 do |
|
1103 eval ac_val=$`echo $ac_var` |
|
1104 echo "$ac_var='"'"'$ac_val'"'"'" |
|
1105 done | sort |
|
1106 echo |
|
1107 fi |
|
1108 |
|
1109 if test -s confdefs.h; then |
|
1110 cat <<\_ASBOX |
|
1111 ## ----------- ## |
|
1112 ## confdefs.h. ## |
|
1113 ## ----------- ## |
|
1114 _ASBOX |
|
1115 echo |
|
1116 sed "/^$/d" confdefs.h | sort |
|
1117 echo |
|
1118 fi |
|
1119 test "$ac_signal" != 0 && |
|
1120 echo "$as_me: caught signal $ac_signal" |
|
1121 echo "$as_me: exit $exit_status" |
|
1122 } >&5 |
|
1123 rm -f core *.core && |
|
1124 rm -rf conftest* confdefs* conf$$* $ac_clean_files && |
|
1125 exit $exit_status |
|
1126 ' 0 |
|
1127 for ac_signal in 1 2 13 15; do |
|
1128 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal |
|
1129 done |
|
1130 ac_signal=0 |
|
1131 |
|
1132 # confdefs.h avoids OS command line length limits that DEFS can exceed. |
|
1133 rm -rf conftest* confdefs.h |
|
1134 # AIX cpp loses on an empty file, so make sure it contains at least a newline. |
|
1135 echo >confdefs.h |
|
1136 |
|
1137 # Predefined preprocessor variables. |
|
1138 |
|
1139 cat >>confdefs.h <<_ACEOF |
|
1140 #define PACKAGE_NAME "$PACKAGE_NAME" |
|
1141 _ACEOF |
|
1142 |
|
1143 |
|
1144 cat >>confdefs.h <<_ACEOF |
|
1145 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
|
1146 _ACEOF |
|
1147 |
|
1148 |
|
1149 cat >>confdefs.h <<_ACEOF |
|
1150 #define PACKAGE_VERSION "$PACKAGE_VERSION" |
|
1151 _ACEOF |
|
1152 |
|
1153 |
|
1154 cat >>confdefs.h <<_ACEOF |
|
1155 #define PACKAGE_STRING "$PACKAGE_STRING" |
|
1156 _ACEOF |
|
1157 |
|
1158 |
|
1159 cat >>confdefs.h <<_ACEOF |
|
1160 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
|
1161 _ACEOF |
|
1162 |
|
1163 |
|
1164 # Let the site file select an alternate cache file if it wants to. |
|
1165 # Prefer explicitly selected file to automatically selected ones. |
|
1166 if test -z "$CONFIG_SITE"; then |
|
1167 if test "x$prefix" != xNONE; then |
|
1168 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" |
|
1169 else |
|
1170 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" |
|
1171 fi |
|
1172 fi |
|
1173 for ac_site_file in $CONFIG_SITE; do |
|
1174 if test -r "$ac_site_file"; then |
|
1175 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 |
|
1176 echo "$as_me: loading site script $ac_site_file" >&6;} |
|
1177 sed 's/^/| /' "$ac_site_file" >&5 |
|
1178 . "$ac_site_file" |
|
1179 fi |
|
1180 done |
|
1181 |
|
1182 if test -r "$cache_file"; then |
|
1183 # Some versions of bash will fail to source /dev/null (special |
|
1184 # files actually), so we avoid doing that. |
|
1185 if test -f "$cache_file"; then |
|
1186 { echo "$as_me:$LINENO: loading cache $cache_file" >&5 |
|
1187 echo "$as_me: loading cache $cache_file" >&6;} |
|
1188 case $cache_file in |
|
1189 [\\/]* | ?:[\\/]* ) . $cache_file;; |
|
1190 *) . ./$cache_file;; |
|
1191 esac |
|
1192 fi |
|
1193 else |
|
1194 { echo "$as_me:$LINENO: creating cache $cache_file" >&5 |
|
1195 echo "$as_me: creating cache $cache_file" >&6;} |
|
1196 >$cache_file |
|
1197 fi |
|
1198 |
|
1199 # Check that the precious variables saved in the cache have kept the same |
|
1200 # value. |
|
1201 ac_cache_corrupted=false |
|
1202 for ac_var in `(set) 2>&1 | |
|
1203 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do |
|
1204 eval ac_old_set=\$ac_cv_env_${ac_var}_set |
|
1205 eval ac_new_set=\$ac_env_${ac_var}_set |
|
1206 eval ac_old_val="\$ac_cv_env_${ac_var}_value" |
|
1207 eval ac_new_val="\$ac_env_${ac_var}_value" |
|
1208 case $ac_old_set,$ac_new_set in |
|
1209 set,) |
|
1210 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
|
1211 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
|
1212 ac_cache_corrupted=: ;; |
|
1213 ,set) |
|
1214 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 |
|
1215 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
|
1216 ac_cache_corrupted=: ;; |
|
1217 ,);; |
|
1218 *) |
|
1219 if test "x$ac_old_val" != "x$ac_new_val"; then |
|
1220 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 |
|
1221 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
|
1222 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 |
|
1223 echo "$as_me: former value: $ac_old_val" >&2;} |
|
1224 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 |
|
1225 echo "$as_me: current value: $ac_new_val" >&2;} |
|
1226 ac_cache_corrupted=: |
|
1227 fi;; |
|
1228 esac |
|
1229 # Pass precious variables to config.status. |
|
1230 if test "$ac_new_set" = set; then |
|
1231 case $ac_new_val in |
|
1232 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) |
|
1233 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
|
1234 *) ac_arg=$ac_var=$ac_new_val ;; |
|
1235 esac |
|
1236 case " $ac_configure_args " in |
|
1237 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
|
1238 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; |
|
1239 esac |
|
1240 fi |
|
1241 done |
|
1242 if $ac_cache_corrupted; then |
|
1243 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 |
|
1244 echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
|
1245 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 |
|
1246 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} |
|
1247 { (exit 1); exit 1; }; } |
|
1248 fi |
|
1249 |
|
1250 ac_ext=c |
|
1251 ac_cpp='$CPP $CPPFLAGS' |
|
1252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
1253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
1254 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
1255 |
|
1256 |
|
1257 |
|
1258 |
|
1259 |
|
1260 |
|
1261 |
|
1262 |
|
1263 |
|
1264 |
|
1265 |
|
1266 |
|
1267 |
|
1268 |
|
1269 |
|
1270 |
|
1271 |
|
1272 |
|
1273 |
|
1274 |
|
1275 |
|
1276 |
|
1277 |
|
1278 |
|
1279 |
|
1280 |
|
1281 |
|
1282 am__api_version="1.9" |
|
1283 ac_aux_dir= |
|
1284 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do |
|
1285 if test -f $ac_dir/install-sh; then |
|
1286 ac_aux_dir=$ac_dir |
|
1287 ac_install_sh="$ac_aux_dir/install-sh -c" |
|
1288 break |
|
1289 elif test -f $ac_dir/install.sh; then |
|
1290 ac_aux_dir=$ac_dir |
|
1291 ac_install_sh="$ac_aux_dir/install.sh -c" |
|
1292 break |
|
1293 elif test -f $ac_dir/shtool; then |
|
1294 ac_aux_dir=$ac_dir |
|
1295 ac_install_sh="$ac_aux_dir/shtool install -c" |
|
1296 break |
|
1297 fi |
|
1298 done |
|
1299 if test -z "$ac_aux_dir"; then |
|
1300 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 |
|
1301 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} |
|
1302 { (exit 1); exit 1; }; } |
|
1303 fi |
|
1304 ac_config_guess="$SHELL $ac_aux_dir/config.guess" |
|
1305 ac_config_sub="$SHELL $ac_aux_dir/config.sub" |
|
1306 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. |
|
1307 |
|
1308 # Find a good install program. We prefer a C program (faster), |
|
1309 # so one script is as good as another. But avoid the broken or |
|
1310 # incompatible versions: |
|
1311 # SysV /etc/install, /usr/sbin/install |
|
1312 # SunOS /usr/etc/install |
|
1313 # IRIX /sbin/install |
|
1314 # AIX /bin/install |
|
1315 # AmigaOS /C/install, which installs bootblocks on floppy discs |
|
1316 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
|
1317 # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
|
1318 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
|
1319 # OS/2's system install, which has a completely different semantic |
|
1320 # ./install, which can be erroneously created by make from ./install.sh. |
|
1321 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
|
1322 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 |
|
1323 if test -z "$INSTALL"; then |
|
1324 if test "${ac_cv_path_install+set}" = set; then |
|
1325 echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
1326 else |
|
1327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
1328 for as_dir in $PATH |
|
1329 do |
|
1330 IFS=$as_save_IFS |
|
1331 test -z "$as_dir" && as_dir=. |
|
1332 # Account for people who put trailing slashes in PATH elements. |
|
1333 case $as_dir/ in |
|
1334 ./ | .// | /cC/* | \ |
|
1335 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
|
1336 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ |
|
1337 /usr/ucb/* ) ;; |
|
1338 *) |
|
1339 # OSF1 and SCO ODT 3.0 have their own names for install. |
|
1340 # Don't use installbsd from OSF since it installs stuff as root |
|
1341 # by default. |
|
1342 for ac_prog in ginstall scoinst install; do |
|
1343 for ac_exec_ext in '' $ac_executable_extensions; do |
|
1344 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
|
1345 if test $ac_prog = install && |
|
1346 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
|
1347 # AIX install. It has an incompatible calling convention. |
|
1348 : |
|
1349 elif test $ac_prog = install && |
|
1350 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
|
1351 # program-specific install script used by HP pwplus--don't use. |
|
1352 : |
|
1353 else |
|
1354 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
|
1355 break 3 |
|
1356 fi |
|
1357 fi |
|
1358 done |
|
1359 done |
|
1360 ;; |
|
1361 esac |
|
1362 done |
|
1363 |
|
1364 |
|
1365 fi |
|
1366 if test "${ac_cv_path_install+set}" = set; then |
|
1367 INSTALL=$ac_cv_path_install |
|
1368 else |
|
1369 # As a last resort, use the slow shell script. We don't cache a |
|
1370 # path for INSTALL within a source directory, because that will |
|
1371 # break other packages using the cache if that directory is |
|
1372 # removed, or if the path is relative. |
|
1373 INSTALL=$ac_install_sh |
|
1374 fi |
|
1375 fi |
|
1376 echo "$as_me:$LINENO: result: $INSTALL" >&5 |
|
1377 echo "${ECHO_T}$INSTALL" >&6 |
|
1378 |
|
1379 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
|
1380 # It thinks the first close brace ends the variable substitution. |
|
1381 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
|
1382 |
|
1383 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
|
1384 |
|
1385 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
|
1386 |
|
1387 echo "$as_me:$LINENO: checking whether build environment is sane" >&5 |
|
1388 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6 |
|
1389 # Just in case |
|
1390 sleep 1 |
|
1391 echo timestamp > conftest.file |
|
1392 # Do `set' in a subshell so we don't clobber the current shell's |
|
1393 # arguments. Must try -L first in case configure is actually a |
|
1394 # symlink; some systems play weird games with the mod time of symlinks |
|
1395 # (eg FreeBSD returns the mod time of the symlink's containing |
|
1396 # directory). |
|
1397 if ( |
|
1398 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` |
|
1399 if test "$*" = "X"; then |
|
1400 # -L didn't work. |
|
1401 set X `ls -t $srcdir/configure conftest.file` |
|
1402 fi |
|
1403 rm -f conftest.file |
|
1404 if test "$*" != "X $srcdir/configure conftest.file" \ |
|
1405 && test "$*" != "X conftest.file $srcdir/configure"; then |
|
1406 |
|
1407 # If neither matched, then we have a broken ls. This can happen |
|
1408 # if, for instance, CONFIG_SHELL is bash and it inherits a |
|
1409 # broken ls alias from the environment. This has actually |
|
1410 # happened. Such a system could not be considered "sane". |
|
1411 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken |
|
1412 alias in your environment" >&5 |
|
1413 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken |
|
1414 alias in your environment" >&2;} |
|
1415 { (exit 1); exit 1; }; } |
|
1416 fi |
|
1417 |
|
1418 test "$2" = conftest.file |
|
1419 ) |
|
1420 then |
|
1421 # Ok. |
|
1422 : |
|
1423 else |
|
1424 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files! |
|
1425 Check your system clock" >&5 |
|
1426 echo "$as_me: error: newly created file is older than distributed files! |
|
1427 Check your system clock" >&2;} |
|
1428 { (exit 1); exit 1; }; } |
|
1429 fi |
|
1430 echo "$as_me:$LINENO: result: yes" >&5 |
|
1431 echo "${ECHO_T}yes" >&6 |
|
1432 test "$program_prefix" != NONE && |
|
1433 program_transform_name="s,^,$program_prefix,;$program_transform_name" |
|
1434 # Use a double $ so make ignores it. |
|
1435 test "$program_suffix" != NONE && |
|
1436 program_transform_name="s,\$,$program_suffix,;$program_transform_name" |
|
1437 # Double any \ or $. echo might interpret backslashes. |
|
1438 # By default was `s,x,x', remove it if useless. |
|
1439 cat <<\_ACEOF >conftest.sed |
|
1440 s/[\\$]/&&/g;s/;s,x,x,$// |
|
1441 _ACEOF |
|
1442 program_transform_name=`echo $program_transform_name | sed -f conftest.sed` |
|
1443 rm conftest.sed |
|
1444 |
|
1445 # expand $ac_aux_dir to an absolute path |
|
1446 am_aux_dir=`cd $ac_aux_dir && pwd` |
|
1447 |
|
1448 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" |
|
1449 # Use eval to expand $SHELL |
|
1450 if eval "$MISSING --run true"; then |
|
1451 am_missing_run="$MISSING --run " |
|
1452 else |
|
1453 am_missing_run= |
|
1454 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 |
|
1455 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} |
|
1456 fi |
|
1457 |
|
1458 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then |
|
1459 # We used to keeping the `.' as first argument, in order to |
|
1460 # allow $(mkdir_p) to be used without argument. As in |
|
1461 # $(mkdir_p) $(somedir) |
|
1462 # where $(somedir) is conditionally defined. However this is wrong |
|
1463 # for two reasons: |
|
1464 # 1. if the package is installed by a user who cannot write `.' |
|
1465 # make install will fail, |
|
1466 # 2. the above comment should most certainly read |
|
1467 # $(mkdir_p) $(DESTDIR)$(somedir) |
|
1468 # so it does not work when $(somedir) is undefined and |
|
1469 # $(DESTDIR) is not. |
|
1470 # To support the latter case, we have to write |
|
1471 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir), |
|
1472 # so the `.' trick is pointless. |
|
1473 mkdir_p='mkdir -p --' |
|
1474 else |
|
1475 # On NextStep and OpenStep, the `mkdir' command does not |
|
1476 # recognize any option. It will interpret all options as |
|
1477 # directories to create, and then abort because `.' already |
|
1478 # exists. |
|
1479 for d in ./-p ./--version; |
|
1480 do |
|
1481 test -d $d && rmdir $d |
|
1482 done |
|
1483 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists. |
|
1484 if test -f "$ac_aux_dir/mkinstalldirs"; then |
|
1485 mkdir_p='$(mkinstalldirs)' |
|
1486 else |
|
1487 mkdir_p='$(install_sh) -d' |
|
1488 fi |
|
1489 fi |
|
1490 |
|
1491 for ac_prog in gawk mawk nawk awk |
|
1492 do |
|
1493 # Extract the first word of "$ac_prog", so it can be a program name with args. |
|
1494 set dummy $ac_prog; ac_word=$2 |
|
1495 echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
1496 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
1497 if test "${ac_cv_prog_AWK+set}" = set; then |
|
1498 echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
1499 else |
|
1500 if test -n "$AWK"; then |
|
1501 ac_cv_prog_AWK="$AWK" # Let the user override the test. |
|
1502 else |
|
1503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
1504 for as_dir in $PATH |
|
1505 do |
|
1506 IFS=$as_save_IFS |
|
1507 test -z "$as_dir" && as_dir=. |
|
1508 for ac_exec_ext in '' $ac_executable_extensions; do |
|
1509 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
1510 ac_cv_prog_AWK="$ac_prog" |
|
1511 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
1512 break 2 |
|
1513 fi |
|
1514 done |
|
1515 done |
|
1516 |
|
1517 fi |
|
1518 fi |
|
1519 AWK=$ac_cv_prog_AWK |
|
1520 if test -n "$AWK"; then |
|
1521 echo "$as_me:$LINENO: result: $AWK" >&5 |
|
1522 echo "${ECHO_T}$AWK" >&6 |
|
1523 else |
|
1524 echo "$as_me:$LINENO: result: no" >&5 |
|
1525 echo "${ECHO_T}no" >&6 |
|
1526 fi |
|
1527 |
|
1528 test -n "$AWK" && break |
|
1529 done |
|
1530 |
|
1531 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
|
1532 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 |
|
1533 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` |
|
1534 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then |
|
1535 echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
1536 else |
|
1537 cat >conftest.make <<\_ACEOF |
|
1538 all: |
|
1539 @echo 'ac_maketemp="$(MAKE)"' |
|
1540 _ACEOF |
|
1541 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
|
1542 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` |
|
1543 if test -n "$ac_maketemp"; then |
|
1544 eval ac_cv_prog_make_${ac_make}_set=yes |
|
1545 else |
|
1546 eval ac_cv_prog_make_${ac_make}_set=no |
|
1547 fi |
|
1548 rm -f conftest.make |
|
1549 fi |
|
1550 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then |
|
1551 echo "$as_me:$LINENO: result: yes" >&5 |
|
1552 echo "${ECHO_T}yes" >&6 |
|
1553 SET_MAKE= |
|
1554 else |
|
1555 echo "$as_me:$LINENO: result: no" >&5 |
|
1556 echo "${ECHO_T}no" >&6 |
|
1557 SET_MAKE="MAKE=${MAKE-make}" |
|
1558 fi |
|
1559 |
|
1560 rm -rf .tst 2>/dev/null |
|
1561 mkdir .tst 2>/dev/null |
|
1562 if test -d .tst; then |
|
1563 am__leading_dot=. |
|
1564 else |
|
1565 am__leading_dot=_ |
|
1566 fi |
|
1567 rmdir .tst 2>/dev/null |
|
1568 |
|
1569 # test to see if srcdir already configured |
|
1570 if test "`cd $srcdir && pwd`" != "`pwd`" && |
|
1571 test -f $srcdir/config.status; then |
|
1572 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 |
|
1573 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} |
|
1574 { (exit 1); exit 1; }; } |
|
1575 fi |
|
1576 |
|
1577 # test whether we have cygpath |
|
1578 if test -z "$CYGPATH_W"; then |
|
1579 if (cygpath --version) >/dev/null 2>/dev/null; then |
|
1580 CYGPATH_W='cygpath -w' |
|
1581 else |
|
1582 CYGPATH_W=echo |
|
1583 fi |
|
1584 fi |
|
1585 |
|
1586 |
|
1587 # Define the identity of the package. |
|
1588 PACKAGE='dtc' |
|
1589 VERSION='1.2.0' |
|
1590 |
|
1591 |
|
1592 cat >>confdefs.h <<_ACEOF |
|
1593 #define PACKAGE "$PACKAGE" |
|
1594 _ACEOF |
|
1595 |
|
1596 |
|
1597 cat >>confdefs.h <<_ACEOF |
|
1598 #define VERSION "$VERSION" |
|
1599 _ACEOF |
|
1600 |
|
1601 # Some tools Automake needs. |
|
1602 |
|
1603 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} |
|
1604 |
|
1605 |
|
1606 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} |
|
1607 |
|
1608 |
|
1609 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} |
|
1610 |
|
1611 |
|
1612 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} |
|
1613 |
|
1614 |
|
1615 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} |
|
1616 |
|
1617 install_sh=${install_sh-"$am_aux_dir/install-sh"} |
|
1618 |
|
1619 # Installed binaries are usually stripped using `strip' when the user |
|
1620 # run `make install-strip'. However `strip' might not be the right |
|
1621 # tool to use in cross-compilation environments, therefore Automake |
|
1622 # will honor the `STRIP' environment variable to overrule this program. |
|
1623 if test "$cross_compiling" != no; then |
|
1624 if test -n "$ac_tool_prefix"; then |
|
1625 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
|
1626 set dummy ${ac_tool_prefix}strip; ac_word=$2 |
|
1627 echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
1628 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
1629 if test "${ac_cv_prog_STRIP+set}" = set; then |
|
1630 echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
1631 else |
|
1632 if test -n "$STRIP"; then |
|
1633 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
|
1634 else |
|
1635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
1636 for as_dir in $PATH |
|
1637 do |
|
1638 IFS=$as_save_IFS |
|
1639 test -z "$as_dir" && as_dir=. |
|
1640 for ac_exec_ext in '' $ac_executable_extensions; do |
|
1641 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
1642 ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
|
1643 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
1644 break 2 |
|
1645 fi |
|
1646 done |
|
1647 done |
|
1648 |
|
1649 fi |
|
1650 fi |
|
1651 STRIP=$ac_cv_prog_STRIP |
|
1652 if test -n "$STRIP"; then |
|
1653 echo "$as_me:$LINENO: result: $STRIP" >&5 |
|
1654 echo "${ECHO_T}$STRIP" >&6 |
|
1655 else |
|
1656 echo "$as_me:$LINENO: result: no" >&5 |
|
1657 echo "${ECHO_T}no" >&6 |
|
1658 fi |
|
1659 |
|
1660 fi |
|
1661 if test -z "$ac_cv_prog_STRIP"; then |
|
1662 ac_ct_STRIP=$STRIP |
|
1663 # Extract the first word of "strip", so it can be a program name with args. |
|
1664 set dummy strip; ac_word=$2 |
|
1665 echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
1666 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
1667 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then |
|
1668 echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
1669 else |
|
1670 if test -n "$ac_ct_STRIP"; then |
|
1671 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. |
|
1672 else |
|
1673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
1674 for as_dir in $PATH |
|
1675 do |
|
1676 IFS=$as_save_IFS |
|
1677 test -z "$as_dir" && as_dir=. |
|
1678 for ac_exec_ext in '' $ac_executable_extensions; do |
|
1679 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
1680 ac_cv_prog_ac_ct_STRIP="strip" |
|
1681 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
1682 break 2 |
|
1683 fi |
|
1684 done |
|
1685 done |
|
1686 |
|
1687 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":" |
|
1688 fi |
|
1689 fi |
|
1690 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP |
|
1691 if test -n "$ac_ct_STRIP"; then |
|
1692 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 |
|
1693 echo "${ECHO_T}$ac_ct_STRIP" >&6 |
|
1694 else |
|
1695 echo "$as_me:$LINENO: result: no" >&5 |
|
1696 echo "${ECHO_T}no" >&6 |
|
1697 fi |
|
1698 |
|
1699 STRIP=$ac_ct_STRIP |
|
1700 else |
|
1701 STRIP="$ac_cv_prog_STRIP" |
|
1702 fi |
|
1703 |
|
1704 fi |
|
1705 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" |
|
1706 |
|
1707 # We need awk for the "check" target. The system "awk" is bad on |
|
1708 # some platforms. |
|
1709 # Always define AMTAR for backward compatibility. |
|
1710 |
|
1711 AMTAR=${AMTAR-"${am_missing_run}tar"} |
|
1712 |
|
1713 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' |
|
1714 |
|
1715 |
|
1716 |
|
1717 |
|
1718 |
|
1719 |
|
1720 # Make sure we can run config.sub. |
|
1721 $ac_config_sub sun4 >/dev/null 2>&1 || |
|
1722 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 |
|
1723 echo "$as_me: error: cannot run $ac_config_sub" >&2;} |
|
1724 { (exit 1); exit 1; }; } |
|
1725 |
|
1726 echo "$as_me:$LINENO: checking build system type" >&5 |
|
1727 echo $ECHO_N "checking build system type... $ECHO_C" >&6 |
|
1728 if test "${ac_cv_build+set}" = set; then |
|
1729 echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
1730 else |
|
1731 ac_cv_build_alias=$build_alias |
|
1732 test -z "$ac_cv_build_alias" && |
|
1733 ac_cv_build_alias=`$ac_config_guess` |
|
1734 test -z "$ac_cv_build_alias" && |
|
1735 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 |
|
1736 echo "$as_me: error: cannot guess build type; you must specify one" >&2;} |
|
1737 { (exit 1); exit 1; }; } |
|
1738 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || |
|
1739 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 |
|
1740 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} |
|
1741 { (exit 1); exit 1; }; } |
|
1742 |
|
1743 fi |
|
1744 echo "$as_me:$LINENO: result: $ac_cv_build" >&5 |
|
1745 echo "${ECHO_T}$ac_cv_build" >&6 |
|
1746 build=$ac_cv_build |
|
1747 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
|
1748 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
|
1749 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
|
1750 |
|
1751 |
|
1752 echo "$as_me:$LINENO: checking host system type" >&5 |
|
1753 echo $ECHO_N "checking host system type... $ECHO_C" >&6 |
|
1754 if test "${ac_cv_host+set}" = set; then |
|
1755 echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
1756 else |
|
1757 ac_cv_host_alias=$host_alias |
|
1758 test -z "$ac_cv_host_alias" && |
|
1759 ac_cv_host_alias=$ac_cv_build_alias |
|
1760 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || |
|
1761 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 |
|
1762 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} |
|
1763 { (exit 1); exit 1; }; } |
|
1764 |
|
1765 fi |
|
1766 echo "$as_me:$LINENO: result: $ac_cv_host" >&5 |
|
1767 echo "${ECHO_T}$ac_cv_host" >&6 |
|
1768 host=$ac_cv_host |
|
1769 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
|
1770 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
|
1771 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
|
1772 |
|
1773 |
|
1774 |
|
1775 # Checks for programs. |
|
1776 ac_ext=c |
|
1777 ac_cpp='$CPP $CPPFLAGS' |
|
1778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
1779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
1780 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
1781 if test -n "$ac_tool_prefix"; then |
|
1782 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
|
1783 set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
|
1784 echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
1785 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
1786 if test "${ac_cv_prog_CC+set}" = set; then |
|
1787 echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
1788 else |
|
1789 if test -n "$CC"; then |
|
1790 ac_cv_prog_CC="$CC" # Let the user override the test. |
|
1791 else |
|
1792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
1793 for as_dir in $PATH |
|
1794 do |
|
1795 IFS=$as_save_IFS |
|
1796 test -z "$as_dir" && as_dir=. |
|
1797 for ac_exec_ext in '' $ac_executable_extensions; do |
|
1798 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
1799 ac_cv_prog_CC="${ac_tool_prefix}gcc" |
|
1800 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
1801 break 2 |
|
1802 fi |
|
1803 done |
|
1804 done |
|
1805 |
|
1806 fi |
|
1807 fi |
|
1808 CC=$ac_cv_prog_CC |
|
1809 if test -n "$CC"; then |
|
1810 echo "$as_me:$LINENO: result: $CC" >&5 |
|
1811 echo "${ECHO_T}$CC" >&6 |
|
1812 else |
|
1813 echo "$as_me:$LINENO: result: no" >&5 |
|
1814 echo "${ECHO_T}no" >&6 |
|
1815 fi |
|
1816 |
|
1817 fi |
|
1818 if test -z "$ac_cv_prog_CC"; then |
|
1819 ac_ct_CC=$CC |
|
1820 # Extract the first word of "gcc", so it can be a program name with args. |
|
1821 set dummy gcc; ac_word=$2 |
|
1822 echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
1823 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
1824 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
|
1825 echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
1826 else |
|
1827 if test -n "$ac_ct_CC"; then |
|
1828 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
|
1829 else |
|
1830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
1831 for as_dir in $PATH |
|
1832 do |
|
1833 IFS=$as_save_IFS |
|
1834 test -z "$as_dir" && as_dir=. |
|
1835 for ac_exec_ext in '' $ac_executable_extensions; do |
|
1836 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
1837 ac_cv_prog_ac_ct_CC="gcc" |
|
1838 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
1839 break 2 |
|
1840 fi |
|
1841 done |
|
1842 done |
|
1843 |
|
1844 fi |
|
1845 fi |
|
1846 ac_ct_CC=$ac_cv_prog_ac_ct_CC |
|
1847 if test -n "$ac_ct_CC"; then |
|
1848 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
|
1849 echo "${ECHO_T}$ac_ct_CC" >&6 |
|
1850 else |
|
1851 echo "$as_me:$LINENO: result: no" >&5 |
|
1852 echo "${ECHO_T}no" >&6 |
|
1853 fi |
|
1854 |
|
1855 CC=$ac_ct_CC |
|
1856 else |
|
1857 CC="$ac_cv_prog_CC" |
|
1858 fi |
|
1859 |
|
1860 if test -z "$CC"; then |
|
1861 if test -n "$ac_tool_prefix"; then |
|
1862 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
|
1863 set dummy ${ac_tool_prefix}cc; ac_word=$2 |
|
1864 echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
1865 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
1866 if test "${ac_cv_prog_CC+set}" = set; then |
|
1867 echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
1868 else |
|
1869 if test -n "$CC"; then |
|
1870 ac_cv_prog_CC="$CC" # Let the user override the test. |
|
1871 else |
|
1872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
1873 for as_dir in $PATH |
|
1874 do |
|
1875 IFS=$as_save_IFS |
|
1876 test -z "$as_dir" && as_dir=. |
|
1877 for ac_exec_ext in '' $ac_executable_extensions; do |
|
1878 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
1879 ac_cv_prog_CC="${ac_tool_prefix}cc" |
|
1880 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
1881 break 2 |
|
1882 fi |
|
1883 done |
|
1884 done |
|
1885 |
|
1886 fi |
|
1887 fi |
|
1888 CC=$ac_cv_prog_CC |
|
1889 if test -n "$CC"; then |
|
1890 echo "$as_me:$LINENO: result: $CC" >&5 |
|
1891 echo "${ECHO_T}$CC" >&6 |
|
1892 else |
|
1893 echo "$as_me:$LINENO: result: no" >&5 |
|
1894 echo "${ECHO_T}no" >&6 |
|
1895 fi |
|
1896 |
|
1897 fi |
|
1898 if test -z "$ac_cv_prog_CC"; then |
|
1899 ac_ct_CC=$CC |
|
1900 # Extract the first word of "cc", so it can be a program name with args. |
|
1901 set dummy cc; ac_word=$2 |
|
1902 echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
1903 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
1904 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
|
1905 echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
1906 else |
|
1907 if test -n "$ac_ct_CC"; then |
|
1908 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
|
1909 else |
|
1910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
1911 for as_dir in $PATH |
|
1912 do |
|
1913 IFS=$as_save_IFS |
|
1914 test -z "$as_dir" && as_dir=. |
|
1915 for ac_exec_ext in '' $ac_executable_extensions; do |
|
1916 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
1917 ac_cv_prog_ac_ct_CC="cc" |
|
1918 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
1919 break 2 |
|
1920 fi |
|
1921 done |
|
1922 done |
|
1923 |
|
1924 fi |
|
1925 fi |
|
1926 ac_ct_CC=$ac_cv_prog_ac_ct_CC |
|
1927 if test -n "$ac_ct_CC"; then |
|
1928 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
|
1929 echo "${ECHO_T}$ac_ct_CC" >&6 |
|
1930 else |
|
1931 echo "$as_me:$LINENO: result: no" >&5 |
|
1932 echo "${ECHO_T}no" >&6 |
|
1933 fi |
|
1934 |
|
1935 CC=$ac_ct_CC |
|
1936 else |
|
1937 CC="$ac_cv_prog_CC" |
|
1938 fi |
|
1939 |
|
1940 fi |
|
1941 if test -z "$CC"; then |
|
1942 # Extract the first word of "cc", so it can be a program name with args. |
|
1943 set dummy cc; ac_word=$2 |
|
1944 echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
1945 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
1946 if test "${ac_cv_prog_CC+set}" = set; then |
|
1947 echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
1948 else |
|
1949 if test -n "$CC"; then |
|
1950 ac_cv_prog_CC="$CC" # Let the user override the test. |
|
1951 else |
|
1952 ac_prog_rejected=no |
|
1953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
1954 for as_dir in $PATH |
|
1955 do |
|
1956 IFS=$as_save_IFS |
|
1957 test -z "$as_dir" && as_dir=. |
|
1958 for ac_exec_ext in '' $ac_executable_extensions; do |
|
1959 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
1960 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
|
1961 ac_prog_rejected=yes |
|
1962 continue |
|
1963 fi |
|
1964 ac_cv_prog_CC="cc" |
|
1965 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
1966 break 2 |
|
1967 fi |
|
1968 done |
|
1969 done |
|
1970 |
|
1971 if test $ac_prog_rejected = yes; then |
|
1972 # We found a bogon in the path, so make sure we never use it. |
|
1973 set dummy $ac_cv_prog_CC |
|
1974 shift |
|
1975 if test $# != 0; then |
|
1976 # We chose a different compiler from the bogus one. |
|
1977 # However, it has the same basename, so the bogon will be chosen |
|
1978 # first if we set CC to just the basename; use the full file name. |
|
1979 shift |
|
1980 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
|
1981 fi |
|
1982 fi |
|
1983 fi |
|
1984 fi |
|
1985 CC=$ac_cv_prog_CC |
|
1986 if test -n "$CC"; then |
|
1987 echo "$as_me:$LINENO: result: $CC" >&5 |
|
1988 echo "${ECHO_T}$CC" >&6 |
|
1989 else |
|
1990 echo "$as_me:$LINENO: result: no" >&5 |
|
1991 echo "${ECHO_T}no" >&6 |
|
1992 fi |
|
1993 |
|
1994 fi |
|
1995 if test -z "$CC"; then |
|
1996 if test -n "$ac_tool_prefix"; then |
|
1997 for ac_prog in cl |
|
1998 do |
|
1999 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
|
2000 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
|
2001 echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
2002 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
2003 if test "${ac_cv_prog_CC+set}" = set; then |
|
2004 echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
2005 else |
|
2006 if test -n "$CC"; then |
|
2007 ac_cv_prog_CC="$CC" # Let the user override the test. |
|
2008 else |
|
2009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
2010 for as_dir in $PATH |
|
2011 do |
|
2012 IFS=$as_save_IFS |
|
2013 test -z "$as_dir" && as_dir=. |
|
2014 for ac_exec_ext in '' $ac_executable_extensions; do |
|
2015 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
2016 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
|
2017 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
2018 break 2 |
|
2019 fi |
|
2020 done |
|
2021 done |
|
2022 |
|
2023 fi |
|
2024 fi |
|
2025 CC=$ac_cv_prog_CC |
|
2026 if test -n "$CC"; then |
|
2027 echo "$as_me:$LINENO: result: $CC" >&5 |
|
2028 echo "${ECHO_T}$CC" >&6 |
|
2029 else |
|
2030 echo "$as_me:$LINENO: result: no" >&5 |
|
2031 echo "${ECHO_T}no" >&6 |
|
2032 fi |
|
2033 |
|
2034 test -n "$CC" && break |
|
2035 done |
|
2036 fi |
|
2037 if test -z "$CC"; then |
|
2038 ac_ct_CC=$CC |
|
2039 for ac_prog in cl |
|
2040 do |
|
2041 # Extract the first word of "$ac_prog", so it can be a program name with args. |
|
2042 set dummy $ac_prog; ac_word=$2 |
|
2043 echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
2044 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
2045 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
|
2046 echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
2047 else |
|
2048 if test -n "$ac_ct_CC"; then |
|
2049 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
|
2050 else |
|
2051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
2052 for as_dir in $PATH |
|
2053 do |
|
2054 IFS=$as_save_IFS |
|
2055 test -z "$as_dir" && as_dir=. |
|
2056 for ac_exec_ext in '' $ac_executable_extensions; do |
|
2057 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
2058 ac_cv_prog_ac_ct_CC="$ac_prog" |
|
2059 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
2060 break 2 |
|
2061 fi |
|
2062 done |
|
2063 done |
|
2064 |
|
2065 fi |
|
2066 fi |
|
2067 ac_ct_CC=$ac_cv_prog_ac_ct_CC |
|
2068 if test -n "$ac_ct_CC"; then |
|
2069 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
|
2070 echo "${ECHO_T}$ac_ct_CC" >&6 |
|
2071 else |
|
2072 echo "$as_me:$LINENO: result: no" >&5 |
|
2073 echo "${ECHO_T}no" >&6 |
|
2074 fi |
|
2075 |
|
2076 test -n "$ac_ct_CC" && break |
|
2077 done |
|
2078 |
|
2079 CC=$ac_ct_CC |
|
2080 fi |
|
2081 |
|
2082 fi |
|
2083 |
|
2084 |
|
2085 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH |
|
2086 See \`config.log' for more details." >&5 |
|
2087 echo "$as_me: error: no acceptable C compiler found in \$PATH |
|
2088 See \`config.log' for more details." >&2;} |
|
2089 { (exit 1); exit 1; }; } |
|
2090 |
|
2091 # Provide some information about the compiler. |
|
2092 echo "$as_me:$LINENO:" \ |
|
2093 "checking for C compiler version" >&5 |
|
2094 ac_compiler=`set X $ac_compile; echo $2` |
|
2095 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 |
|
2096 (eval $ac_compiler --version </dev/null >&5) 2>&5 |
|
2097 ac_status=$? |
|
2098 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
2099 (exit $ac_status); } |
|
2100 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 |
|
2101 (eval $ac_compiler -v </dev/null >&5) 2>&5 |
|
2102 ac_status=$? |
|
2103 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
2104 (exit $ac_status); } |
|
2105 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 |
|
2106 (eval $ac_compiler -V </dev/null >&5) 2>&5 |
|
2107 ac_status=$? |
|
2108 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
2109 (exit $ac_status); } |
|
2110 |
|
2111 cat >conftest.$ac_ext <<_ACEOF |
|
2112 /* confdefs.h. */ |
|
2113 _ACEOF |
|
2114 cat confdefs.h >>conftest.$ac_ext |
|
2115 cat >>conftest.$ac_ext <<_ACEOF |
|
2116 /* end confdefs.h. */ |
|
2117 |
|
2118 int |
|
2119 main () |
|
2120 { |
|
2121 |
|
2122 ; |
|
2123 return 0; |
|
2124 } |
|
2125 _ACEOF |
|
2126 ac_clean_files_save=$ac_clean_files |
|
2127 ac_clean_files="$ac_clean_files a.out a.exe b.out" |
|
2128 # Try to create an executable without -o first, disregard a.out. |
|
2129 # It will help us diagnose broken compilers, and finding out an intuition |
|
2130 # of exeext. |
|
2131 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 |
|
2132 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 |
|
2133 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
|
2134 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 |
|
2135 (eval $ac_link_default) 2>&5 |
|
2136 ac_status=$? |
|
2137 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
2138 (exit $ac_status); }; then |
|
2139 # Find the output, starting from the most likely. This scheme is |
|
2140 # not robust to junk in `.', hence go to wildcards (a.*) only as a last |
|
2141 # resort. |
|
2142 |
|
2143 # Be careful to initialize this variable, since it used to be cached. |
|
2144 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. |
|
2145 ac_cv_exeext= |
|
2146 # b.out is created by i960 compilers. |
|
2147 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out |
|
2148 do |
|
2149 test -f "$ac_file" || continue |
|
2150 case $ac_file in |
|
2151 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) |
|
2152 ;; |
|
2153 conftest.$ac_ext ) |
|
2154 # This is the source file. |
|
2155 ;; |
|
2156 [ab].out ) |
|
2157 # We found the default executable, but exeext='' is most |
|
2158 # certainly right. |
|
2159 break;; |
|
2160 *.* ) |
|
2161 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
|
2162 # FIXME: I believe we export ac_cv_exeext for Libtool, |
|
2163 # but it would be cool to find out if it's true. Does anybody |
|
2164 # maintain Libtool? --akim. |
|
2165 export ac_cv_exeext |
|
2166 break;; |
|
2167 * ) |
|
2168 break;; |
|
2169 esac |
|
2170 done |
|
2171 else |
|
2172 echo "$as_me: failed program was:" >&5 |
|
2173 sed 's/^/| /' conftest.$ac_ext >&5 |
|
2174 |
|
2175 { { echo "$as_me:$LINENO: error: C compiler cannot create executables |
|
2176 See \`config.log' for more details." >&5 |
|
2177 echo "$as_me: error: C compiler cannot create executables |
|
2178 See \`config.log' for more details." >&2;} |
|
2179 { (exit 77); exit 77; }; } |
|
2180 fi |
|
2181 |
|
2182 ac_exeext=$ac_cv_exeext |
|
2183 echo "$as_me:$LINENO: result: $ac_file" >&5 |
|
2184 echo "${ECHO_T}$ac_file" >&6 |
|
2185 |
|
2186 # Check the compiler produces executables we can run. If not, either |
|
2187 # the compiler is broken, or we cross compile. |
|
2188 echo "$as_me:$LINENO: checking whether the C compiler works" >&5 |
|
2189 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 |
|
2190 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 |
|
2191 # If not cross compiling, check that we can run a simple program. |
|
2192 if test "$cross_compiling" != yes; then |
|
2193 if { ac_try='./$ac_file' |
|
2194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
2195 (eval $ac_try) 2>&5 |
|
2196 ac_status=$? |
|
2197 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
2198 (exit $ac_status); }; }; then |
|
2199 cross_compiling=no |
|
2200 else |
|
2201 if test "$cross_compiling" = maybe; then |
|
2202 cross_compiling=yes |
|
2203 else |
|
2204 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. |
|
2205 If you meant to cross compile, use \`--host'. |
|
2206 See \`config.log' for more details." >&5 |
|
2207 echo "$as_me: error: cannot run C compiled programs. |
|
2208 If you meant to cross compile, use \`--host'. |
|
2209 See \`config.log' for more details." >&2;} |
|
2210 { (exit 1); exit 1; }; } |
|
2211 fi |
|
2212 fi |
|
2213 fi |
|
2214 echo "$as_me:$LINENO: result: yes" >&5 |
|
2215 echo "${ECHO_T}yes" >&6 |
|
2216 |
|
2217 rm -f a.out a.exe conftest$ac_cv_exeext b.out |
|
2218 ac_clean_files=$ac_clean_files_save |
|
2219 # Check the compiler produces executables we can run. If not, either |
|
2220 # the compiler is broken, or we cross compile. |
|
2221 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 |
|
2222 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 |
|
2223 echo "$as_me:$LINENO: result: $cross_compiling" >&5 |
|
2224 echo "${ECHO_T}$cross_compiling" >&6 |
|
2225 |
|
2226 echo "$as_me:$LINENO: checking for suffix of executables" >&5 |
|
2227 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 |
|
2228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
2229 (eval $ac_link) 2>&5 |
|
2230 ac_status=$? |
|
2231 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
2232 (exit $ac_status); }; then |
|
2233 # If both `conftest.exe' and `conftest' are `present' (well, observable) |
|
2234 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
|
2235 # work properly (i.e., refer to `conftest.exe'), while it won't with |
|
2236 # `rm'. |
|
2237 for ac_file in conftest.exe conftest conftest.*; do |
|
2238 test -f "$ac_file" || continue |
|
2239 case $ac_file in |
|
2240 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; |
|
2241 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
|
2242 export ac_cv_exeext |
|
2243 break;; |
|
2244 * ) break;; |
|
2245 esac |
|
2246 done |
|
2247 else |
|
2248 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link |
|
2249 See \`config.log' for more details." >&5 |
|
2250 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link |
|
2251 See \`config.log' for more details." >&2;} |
|
2252 { (exit 1); exit 1; }; } |
|
2253 fi |
|
2254 |
|
2255 rm -f conftest$ac_cv_exeext |
|
2256 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 |
|
2257 echo "${ECHO_T}$ac_cv_exeext" >&6 |
|
2258 |
|
2259 rm -f conftest.$ac_ext |
|
2260 EXEEXT=$ac_cv_exeext |
|
2261 ac_exeext=$EXEEXT |
|
2262 echo "$as_me:$LINENO: checking for suffix of object files" >&5 |
|
2263 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 |
|
2264 if test "${ac_cv_objext+set}" = set; then |
|
2265 echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
2266 else |
|
2267 cat >conftest.$ac_ext <<_ACEOF |
|
2268 /* confdefs.h. */ |
|
2269 _ACEOF |
|
2270 cat confdefs.h >>conftest.$ac_ext |
|
2271 cat >>conftest.$ac_ext <<_ACEOF |
|
2272 /* end confdefs.h. */ |
|
2273 |
|
2274 int |
|
2275 main () |
|
2276 { |
|
2277 |
|
2278 ; |
|
2279 return 0; |
|
2280 } |
|
2281 _ACEOF |
|
2282 rm -f conftest.o conftest.obj |
|
2283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
2284 (eval $ac_compile) 2>&5 |
|
2285 ac_status=$? |
|
2286 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
2287 (exit $ac_status); }; then |
|
2288 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do |
|
2289 case $ac_file in |
|
2290 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; |
|
2291 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
|
2292 break;; |
|
2293 esac |
|
2294 done |
|
2295 else |
|
2296 echo "$as_me: failed program was:" >&5 |
|
2297 sed 's/^/| /' conftest.$ac_ext >&5 |
|
2298 |
|
2299 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile |
|
2300 See \`config.log' for more details." >&5 |
|
2301 echo "$as_me: error: cannot compute suffix of object files: cannot compile |
|
2302 See \`config.log' for more details." >&2;} |
|
2303 { (exit 1); exit 1; }; } |
|
2304 fi |
|
2305 |
|
2306 rm -f conftest.$ac_cv_objext conftest.$ac_ext |
|
2307 fi |
|
2308 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 |
|
2309 echo "${ECHO_T}$ac_cv_objext" >&6 |
|
2310 OBJEXT=$ac_cv_objext |
|
2311 ac_objext=$OBJEXT |
|
2312 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 |
|
2313 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 |
|
2314 if test "${ac_cv_c_compiler_gnu+set}" = set; then |
|
2315 echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
2316 else |
|
2317 cat >conftest.$ac_ext <<_ACEOF |
|
2318 /* confdefs.h. */ |
|
2319 _ACEOF |
|
2320 cat confdefs.h >>conftest.$ac_ext |
|
2321 cat >>conftest.$ac_ext <<_ACEOF |
|
2322 /* end confdefs.h. */ |
|
2323 |
|
2324 int |
|
2325 main () |
|
2326 { |
|
2327 #ifndef __GNUC__ |
|
2328 choke me |
|
2329 #endif |
|
2330 |
|
2331 ; |
|
2332 return 0; |
|
2333 } |
|
2334 _ACEOF |
|
2335 rm -f conftest.$ac_objext |
|
2336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
2337 (eval $ac_compile) 2>conftest.er1 |
|
2338 ac_status=$? |
|
2339 grep -v '^ *+' conftest.er1 >conftest.err |
|
2340 rm -f conftest.er1 |
|
2341 cat conftest.err >&5 |
|
2342 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
2343 (exit $ac_status); } && |
|
2344 { ac_try='test -z "$ac_c_werror_flag" |
|
2345 || test ! -s conftest.err' |
|
2346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
2347 (eval $ac_try) 2>&5 |
|
2348 ac_status=$? |
|
2349 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
2350 (exit $ac_status); }; } && |
|
2351 { ac_try='test -s conftest.$ac_objext' |
|
2352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
2353 (eval $ac_try) 2>&5 |
|
2354 ac_status=$? |
|
2355 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
2356 (exit $ac_status); }; }; then |
|
2357 ac_compiler_gnu=yes |
|
2358 else |
|
2359 echo "$as_me: failed program was:" >&5 |
|
2360 sed 's/^/| /' conftest.$ac_ext >&5 |
|
2361 |
|
2362 ac_compiler_gnu=no |
|
2363 fi |
|
2364 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
2365 ac_cv_c_compiler_gnu=$ac_compiler_gnu |
|
2366 |
|
2367 fi |
|
2368 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
|
2369 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 |
|
2370 GCC=`test $ac_compiler_gnu = yes && echo yes` |
|
2371 ac_test_CFLAGS=${CFLAGS+set} |
|
2372 ac_save_CFLAGS=$CFLAGS |
|
2373 CFLAGS="-g" |
|
2374 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 |
|
2375 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 |
|
2376 if test "${ac_cv_prog_cc_g+set}" = set; then |
|
2377 echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
2378 else |
|
2379 cat >conftest.$ac_ext <<_ACEOF |
|
2380 /* confdefs.h. */ |
|
2381 _ACEOF |
|
2382 cat confdefs.h >>conftest.$ac_ext |
|
2383 cat >>conftest.$ac_ext <<_ACEOF |
|
2384 /* end confdefs.h. */ |
|
2385 |
|
2386 int |
|
2387 main () |
|
2388 { |
|
2389 |
|
2390 ; |
|
2391 return 0; |
|
2392 } |
|
2393 _ACEOF |
|
2394 rm -f conftest.$ac_objext |
|
2395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
2396 (eval $ac_compile) 2>conftest.er1 |
|
2397 ac_status=$? |
|
2398 grep -v '^ *+' conftest.er1 >conftest.err |
|
2399 rm -f conftest.er1 |
|
2400 cat conftest.err >&5 |
|
2401 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
2402 (exit $ac_status); } && |
|
2403 { ac_try='test -z "$ac_c_werror_flag" |
|
2404 || test ! -s conftest.err' |
|
2405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
2406 (eval $ac_try) 2>&5 |
|
2407 ac_status=$? |
|
2408 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
2409 (exit $ac_status); }; } && |
|
2410 { ac_try='test -s conftest.$ac_objext' |
|
2411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
2412 (eval $ac_try) 2>&5 |
|
2413 ac_status=$? |
|
2414 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
2415 (exit $ac_status); }; }; then |
|
2416 ac_cv_prog_cc_g=yes |
|
2417 else |
|
2418 echo "$as_me: failed program was:" >&5 |
|
2419 sed 's/^/| /' conftest.$ac_ext >&5 |
|
2420 |
|
2421 ac_cv_prog_cc_g=no |
|
2422 fi |
|
2423 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
2424 fi |
|
2425 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
|
2426 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 |
|
2427 if test "$ac_test_CFLAGS" = set; then |
|
2428 CFLAGS=$ac_save_CFLAGS |
|
2429 elif test $ac_cv_prog_cc_g = yes; then |
|
2430 if test "$GCC" = yes; then |
|
2431 CFLAGS="-g -O2" |
|
2432 else |
|
2433 CFLAGS="-g" |
|
2434 fi |
|
2435 else |
|
2436 if test "$GCC" = yes; then |
|
2437 CFLAGS="-O2" |
|
2438 else |
|
2439 CFLAGS= |
|
2440 fi |
|
2441 fi |
|
2442 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 |
|
2443 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 |
|
2444 if test "${ac_cv_prog_cc_stdc+set}" = set; then |
|
2445 echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
2446 else |
|
2447 ac_cv_prog_cc_stdc=no |
|
2448 ac_save_CC=$CC |
|
2449 cat >conftest.$ac_ext <<_ACEOF |
|
2450 /* confdefs.h. */ |
|
2451 _ACEOF |
|
2452 cat confdefs.h >>conftest.$ac_ext |
|
2453 cat >>conftest.$ac_ext <<_ACEOF |
|
2454 /* end confdefs.h. */ |
|
2455 #include <stdarg.h> |
|
2456 #include <stdio.h> |
|
2457 #include <sys/types.h> |
|
2458 #include <sys/stat.h> |
|
2459 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
|
2460 struct buf { int x; }; |
|
2461 FILE * (*rcsopen) (struct buf *, struct stat *, int); |
|
2462 static char *e (p, i) |
|
2463 char **p; |
|
2464 int i; |
|
2465 { |
|
2466 return p[i]; |
|
2467 } |
|
2468 static char *f (char * (*g) (char **, int), char **p, ...) |
|
2469 { |
|
2470 char *s; |
|
2471 va_list v; |
|
2472 va_start (v,p); |
|
2473 s = g (p, va_arg (v,int)); |
|
2474 va_end (v); |
|
2475 return s; |
|
2476 } |
|
2477 |
|
2478 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
|
2479 function prototypes and stuff, but not '\xHH' hex character constants. |
|
2480 These don't provoke an error unfortunately, instead are silently treated |
|
2481 as 'x'. The following induces an error, until -std1 is added to get |
|
2482 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
|
2483 array size at least. It's necessary to write '\x00'==0 to get something |
|
2484 that's true only with -std1. */ |
|
2485 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
|
2486 |
|
2487 int test (int i, double x); |
|
2488 struct s1 {int (*f) (int a);}; |
|
2489 struct s2 {int (*f) (double a);}; |
|
2490 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
|
2491 int argc; |
|
2492 char **argv; |
|
2493 int |
|
2494 main () |
|
2495 { |
|
2496 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
|
2497 ; |
|
2498 return 0; |
|
2499 } |
|
2500 _ACEOF |
|
2501 # Don't try gcc -ansi; that turns off useful extensions and |
|
2502 # breaks some systems' header files. |
|
2503 # AIX -qlanglvl=ansi |
|
2504 # Ultrix and OSF/1 -std1 |
|
2505 # HP-UX 10.20 and later -Ae |
|
2506 # HP-UX older versions -Aa -D_HPUX_SOURCE |
|
2507 # SVR4 -Xc -D__EXTENSIONS__ |
|
2508 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
|
2509 do |
|
2510 CC="$ac_save_CC $ac_arg" |
|
2511 rm -f conftest.$ac_objext |
|
2512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
2513 (eval $ac_compile) 2>conftest.er1 |
|
2514 ac_status=$? |
|
2515 grep -v '^ *+' conftest.er1 >conftest.err |
|
2516 rm -f conftest.er1 |
|
2517 cat conftest.err >&5 |
|
2518 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
2519 (exit $ac_status); } && |
|
2520 { ac_try='test -z "$ac_c_werror_flag" |
|
2521 || test ! -s conftest.err' |
|
2522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
2523 (eval $ac_try) 2>&5 |
|
2524 ac_status=$? |
|
2525 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
2526 (exit $ac_status); }; } && |
|
2527 { ac_try='test -s conftest.$ac_objext' |
|
2528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
2529 (eval $ac_try) 2>&5 |
|
2530 ac_status=$? |
|
2531 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
2532 (exit $ac_status); }; }; then |
|
2533 ac_cv_prog_cc_stdc=$ac_arg |
|
2534 break |
|
2535 else |
|
2536 echo "$as_me: failed program was:" >&5 |
|
2537 sed 's/^/| /' conftest.$ac_ext >&5 |
|
2538 |
|
2539 fi |
|
2540 rm -f conftest.err conftest.$ac_objext |
|
2541 done |
|
2542 rm -f conftest.$ac_ext conftest.$ac_objext |
|
2543 CC=$ac_save_CC |
|
2544 |
|
2545 fi |
|
2546 |
|
2547 case "x$ac_cv_prog_cc_stdc" in |
|
2548 x|xno) |
|
2549 echo "$as_me:$LINENO: result: none needed" >&5 |
|
2550 echo "${ECHO_T}none needed" >&6 ;; |
|
2551 *) |
|
2552 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 |
|
2553 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 |
|
2554 CC="$CC $ac_cv_prog_cc_stdc" ;; |
|
2555 esac |
|
2556 |
|
2557 # Some people use a C++ compiler to compile C. Since we use `exit', |
|
2558 # in C++ we need to declare it. In case someone uses the same compiler |
|
2559 # for both compiling C and C++ we need to have the C++ compiler decide |
|
2560 # the declaration of exit, since it's the most demanding environment. |
|
2561 cat >conftest.$ac_ext <<_ACEOF |
|
2562 #ifndef __cplusplus |
|
2563 choke me |
|
2564 #endif |
|
2565 _ACEOF |
|
2566 rm -f conftest.$ac_objext |
|
2567 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
2568 (eval $ac_compile) 2>conftest.er1 |
|
2569 ac_status=$? |
|
2570 grep -v '^ *+' conftest.er1 >conftest.err |
|
2571 rm -f conftest.er1 |
|
2572 cat conftest.err >&5 |
|
2573 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
2574 (exit $ac_status); } && |
|
2575 { ac_try='test -z "$ac_c_werror_flag" |
|
2576 || test ! -s conftest.err' |
|
2577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
2578 (eval $ac_try) 2>&5 |
|
2579 ac_status=$? |
|
2580 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
2581 (exit $ac_status); }; } && |
|
2582 { ac_try='test -s conftest.$ac_objext' |
|
2583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
2584 (eval $ac_try) 2>&5 |
|
2585 ac_status=$? |
|
2586 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
2587 (exit $ac_status); }; }; then |
|
2588 for ac_declaration in \ |
|
2589 '' \ |
|
2590 'extern "C" void std::exit (int) throw (); using std::exit;' \ |
|
2591 'extern "C" void std::exit (int); using std::exit;' \ |
|
2592 'extern "C" void exit (int) throw ();' \ |
|
2593 'extern "C" void exit (int);' \ |
|
2594 'void exit (int);' |
|
2595 do |
|
2596 cat >conftest.$ac_ext <<_ACEOF |
|
2597 /* confdefs.h. */ |
|
2598 _ACEOF |
|
2599 cat confdefs.h >>conftest.$ac_ext |
|
2600 cat >>conftest.$ac_ext <<_ACEOF |
|
2601 /* end confdefs.h. */ |
|
2602 $ac_declaration |
|
2603 #include <stdlib.h> |
|
2604 int |
|
2605 main () |
|
2606 { |
|
2607 exit (42); |
|
2608 ; |
|
2609 return 0; |
|
2610 } |
|
2611 _ACEOF |
|
2612 rm -f conftest.$ac_objext |
|
2613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
2614 (eval $ac_compile) 2>conftest.er1 |
|
2615 ac_status=$? |
|
2616 grep -v '^ *+' conftest.er1 >conftest.err |
|
2617 rm -f conftest.er1 |
|
2618 cat conftest.err >&5 |
|
2619 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
2620 (exit $ac_status); } && |
|
2621 { ac_try='test -z "$ac_c_werror_flag" |
|
2622 || test ! -s conftest.err' |
|
2623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
2624 (eval $ac_try) 2>&5 |
|
2625 ac_status=$? |
|
2626 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
2627 (exit $ac_status); }; } && |
|
2628 { ac_try='test -s conftest.$ac_objext' |
|
2629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
2630 (eval $ac_try) 2>&5 |
|
2631 ac_status=$? |
|
2632 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
2633 (exit $ac_status); }; }; then |
|
2634 : |
|
2635 else |
|
2636 echo "$as_me: failed program was:" >&5 |
|
2637 sed 's/^/| /' conftest.$ac_ext >&5 |
|
2638 |
|
2639 continue |
|
2640 fi |
|
2641 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
2642 cat >conftest.$ac_ext <<_ACEOF |
|
2643 /* confdefs.h. */ |
|
2644 _ACEOF |
|
2645 cat confdefs.h >>conftest.$ac_ext |
|
2646 cat >>conftest.$ac_ext <<_ACEOF |
|
2647 /* end confdefs.h. */ |
|
2648 $ac_declaration |
|
2649 int |
|
2650 main () |
|
2651 { |
|
2652 exit (42); |
|
2653 ; |
|
2654 return 0; |
|
2655 } |
|
2656 _ACEOF |
|
2657 rm -f conftest.$ac_objext |
|
2658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
2659 (eval $ac_compile) 2>conftest.er1 |
|
2660 ac_status=$? |
|
2661 grep -v '^ *+' conftest.er1 >conftest.err |
|
2662 rm -f conftest.er1 |
|
2663 cat conftest.err >&5 |
|
2664 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
2665 (exit $ac_status); } && |
|
2666 { ac_try='test -z "$ac_c_werror_flag" |
|
2667 || test ! -s conftest.err' |
|
2668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
2669 (eval $ac_try) 2>&5 |
|
2670 ac_status=$? |
|
2671 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
2672 (exit $ac_status); }; } && |
|
2673 { ac_try='test -s conftest.$ac_objext' |
|
2674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
2675 (eval $ac_try) 2>&5 |
|
2676 ac_status=$? |
|
2677 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
2678 (exit $ac_status); }; }; then |
|
2679 break |
|
2680 else |
|
2681 echo "$as_me: failed program was:" >&5 |
|
2682 sed 's/^/| /' conftest.$ac_ext >&5 |
|
2683 |
|
2684 fi |
|
2685 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
2686 done |
|
2687 rm -f conftest* |
|
2688 if test -n "$ac_declaration"; then |
|
2689 echo '#ifdef __cplusplus' >>confdefs.h |
|
2690 echo $ac_declaration >>confdefs.h |
|
2691 echo '#endif' >>confdefs.h |
|
2692 fi |
|
2693 |
|
2694 else |
|
2695 echo "$as_me: failed program was:" >&5 |
|
2696 sed 's/^/| /' conftest.$ac_ext >&5 |
|
2697 |
|
2698 fi |
|
2699 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
2700 ac_ext=c |
|
2701 ac_cpp='$CPP $CPPFLAGS' |
|
2702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
2703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
2704 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
2705 DEPDIR="${am__leading_dot}deps" |
|
2706 |
|
2707 ac_config_commands="$ac_config_commands depfiles" |
|
2708 |
|
2709 |
|
2710 am_make=${MAKE-make} |
|
2711 cat > confinc << 'END' |
|
2712 am__doit: |
|
2713 @echo done |
|
2714 .PHONY: am__doit |
|
2715 END |
|
2716 # If we don't find an include directive, just comment out the code. |
|
2717 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 |
|
2718 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6 |
|
2719 am__include="#" |
|
2720 am__quote= |
|
2721 _am_result=none |
|
2722 # First try GNU make style include. |
|
2723 echo "include confinc" > confmf |
|
2724 # We grep out `Entering directory' and `Leaving directory' |
|
2725 # messages which can occur if `w' ends up in MAKEFLAGS. |
|
2726 # In particular we don't look at `^make:' because GNU make might |
|
2727 # be invoked under some other name (usually "gmake"), in which |
|
2728 # case it prints its new name instead of `make'. |
|
2729 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then |
|
2730 am__include=include |
|
2731 am__quote= |
|
2732 _am_result=GNU |
|
2733 fi |
|
2734 # Now try BSD make style include. |
|
2735 if test "$am__include" = "#"; then |
|
2736 echo '.include "confinc"' > confmf |
|
2737 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then |
|
2738 am__include=.include |
|
2739 am__quote="\"" |
|
2740 _am_result=BSD |
|
2741 fi |
|
2742 fi |
|
2743 |
|
2744 |
|
2745 echo "$as_me:$LINENO: result: $_am_result" >&5 |
|
2746 echo "${ECHO_T}$_am_result" >&6 |
|
2747 rm -f confinc confmf |
|
2748 |
|
2749 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given. |
|
2750 if test "${enable_dependency_tracking+set}" = set; then |
|
2751 enableval="$enable_dependency_tracking" |
|
2752 |
|
2753 fi; |
|
2754 if test "x$enable_dependency_tracking" != xno; then |
|
2755 am_depcomp="$ac_aux_dir/depcomp" |
|
2756 AMDEPBACKSLASH='\' |
|
2757 fi |
|
2758 |
|
2759 |
|
2760 if test "x$enable_dependency_tracking" != xno; then |
|
2761 AMDEP_TRUE= |
|
2762 AMDEP_FALSE='#' |
|
2763 else |
|
2764 AMDEP_TRUE='#' |
|
2765 AMDEP_FALSE= |
|
2766 fi |
|
2767 |
|
2768 |
|
2769 |
|
2770 |
|
2771 depcc="$CC" am_compiler_list= |
|
2772 |
|
2773 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 |
|
2774 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 |
|
2775 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then |
|
2776 echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
2777 else |
|
2778 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
|
2779 # We make a subdir and do the tests there. Otherwise we can end up |
|
2780 # making bogus files that we don't know about and never remove. For |
|
2781 # instance it was reported that on HP-UX the gcc test will end up |
|
2782 # making a dummy file named `D' -- because `-MD' means `put the output |
|
2783 # in D'. |
|
2784 mkdir conftest.dir |
|
2785 # Copy depcomp to subdir because otherwise we won't find it if we're |
|
2786 # using a relative directory. |
|
2787 cp "$am_depcomp" conftest.dir |
|
2788 cd conftest.dir |
|
2789 # We will build objects and dependencies in a subdirectory because |
|
2790 # it helps to detect inapplicable dependency modes. For instance |
|
2791 # both Tru64's cc and ICC support -MD to output dependencies as a |
|
2792 # side effect of compilation, but ICC will put the dependencies in |
|
2793 # the current directory while Tru64 will put them in the object |
|
2794 # directory. |
|
2795 mkdir sub |
|
2796 |
|
2797 am_cv_CC_dependencies_compiler_type=none |
|
2798 if test "$am_compiler_list" = ""; then |
|
2799 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
|
2800 fi |
|
2801 for depmode in $am_compiler_list; do |
|
2802 # Setup a source with many dependencies, because some compilers |
|
2803 # like to wrap large dependency lists on column 80 (with \), and |
|
2804 # we should not choose a depcomp mode which is confused by this. |
|
2805 # |
|
2806 # We need to recreate these files for each test, as the compiler may |
|
2807 # overwrite some of them when testing with obscure command lines. |
|
2808 # This happens at least with the AIX C compiler. |
|
2809 : > sub/conftest.c |
|
2810 for i in 1 2 3 4 5 6; do |
|
2811 echo '#include "conftst'$i'.h"' >> sub/conftest.c |
|
2812 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with |
|
2813 # Solaris 8's {/usr,}/bin/sh. |
|
2814 touch sub/conftst$i.h |
|
2815 done |
|
2816 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
|
2817 |
|
2818 case $depmode in |
|
2819 nosideeffect) |
|
2820 # after this tag, mechanisms are not by side-effect, so they'll |
|
2821 # only be used when explicitly requested |
|
2822 if test "x$enable_dependency_tracking" = xyes; then |
|
2823 continue |
|
2824 else |
|
2825 break |
|
2826 fi |
|
2827 ;; |
|
2828 none) break ;; |
|
2829 esac |
|
2830 # We check with `-c' and `-o' for the sake of the "dashmstdout" |
|
2831 # mode. It turns out that the SunPro C++ compiler does not properly |
|
2832 # handle `-M -o', and we need to detect this. |
|
2833 if depmode=$depmode \ |
|
2834 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ |
|
2835 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
|
2836 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ |
|
2837 >/dev/null 2>conftest.err && |
|
2838 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
|
2839 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && |
|
2840 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
|
2841 # icc doesn't choke on unknown options, it will just issue warnings |
|
2842 # or remarks (even with -Werror). So we grep stderr for any message |
|
2843 # that says an option was ignored or not supported. |
|
2844 # When given -MP, icc 7.0 and 7.1 complain thusly: |
|
2845 # icc: Command line warning: ignoring option '-M'; no argument required |
|
2846 # The diagnosis changed in icc 8.0: |
|
2847 # icc: Command line remark: option '-MP' not supported |
|
2848 if (grep 'ignoring option' conftest.err || |
|
2849 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else |
|
2850 am_cv_CC_dependencies_compiler_type=$depmode |
|
2851 break |
|
2852 fi |
|
2853 fi |
|
2854 done |
|
2855 |
|
2856 cd .. |
|
2857 rm -rf conftest.dir |
|
2858 else |
|
2859 am_cv_CC_dependencies_compiler_type=none |
|
2860 fi |
|
2861 |
|
2862 fi |
|
2863 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 |
|
2864 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6 |
|
2865 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type |
|
2866 |
|
2867 |
|
2868 |
|
2869 if |
|
2870 test "x$enable_dependency_tracking" != xno \ |
|
2871 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then |
|
2872 am__fastdepCC_TRUE= |
|
2873 am__fastdepCC_FALSE='#' |
|
2874 else |
|
2875 am__fastdepCC_TRUE='#' |
|
2876 am__fastdepCC_FALSE= |
|
2877 fi |
|
2878 |
|
2879 |
|
2880 for ac_prog in 'bison -y' byacc |
|
2881 do |
|
2882 # Extract the first word of "$ac_prog", so it can be a program name with args. |
|
2883 set dummy $ac_prog; ac_word=$2 |
|
2884 echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
2885 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
2886 if test "${ac_cv_prog_YACC+set}" = set; then |
|
2887 echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
2888 else |
|
2889 if test -n "$YACC"; then |
|
2890 ac_cv_prog_YACC="$YACC" # Let the user override the test. |
|
2891 else |
|
2892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
2893 for as_dir in $PATH |
|
2894 do |
|
2895 IFS=$as_save_IFS |
|
2896 test -z "$as_dir" && as_dir=. |
|
2897 for ac_exec_ext in '' $ac_executable_extensions; do |
|
2898 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
2899 ac_cv_prog_YACC="$ac_prog" |
|
2900 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
2901 break 2 |
|
2902 fi |
|
2903 done |
|
2904 done |
|
2905 |
|
2906 fi |
|
2907 fi |
|
2908 YACC=$ac_cv_prog_YACC |
|
2909 if test -n "$YACC"; then |
|
2910 echo "$as_me:$LINENO: result: $YACC" >&5 |
|
2911 echo "${ECHO_T}$YACC" >&6 |
|
2912 else |
|
2913 echo "$as_me:$LINENO: result: no" >&5 |
|
2914 echo "${ECHO_T}no" >&6 |
|
2915 fi |
|
2916 |
|
2917 test -n "$YACC" && break |
|
2918 done |
|
2919 test -n "$YACC" || YACC="yacc" |
|
2920 |
|
2921 |
|
2922 for ac_prog in flex lex |
|
2923 do |
|
2924 # Extract the first word of "$ac_prog", so it can be a program name with args. |
|
2925 set dummy $ac_prog; ac_word=$2 |
|
2926 echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
2927 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
2928 if test "${ac_cv_prog_LEX+set}" = set; then |
|
2929 echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
2930 else |
|
2931 if test -n "$LEX"; then |
|
2932 ac_cv_prog_LEX="$LEX" # Let the user override the test. |
|
2933 else |
|
2934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
2935 for as_dir in $PATH |
|
2936 do |
|
2937 IFS=$as_save_IFS |
|
2938 test -z "$as_dir" && as_dir=. |
|
2939 for ac_exec_ext in '' $ac_executable_extensions; do |
|
2940 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
2941 ac_cv_prog_LEX="$ac_prog" |
|
2942 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
2943 break 2 |
|
2944 fi |
|
2945 done |
|
2946 done |
|
2947 |
|
2948 fi |
|
2949 fi |
|
2950 LEX=$ac_cv_prog_LEX |
|
2951 if test -n "$LEX"; then |
|
2952 echo "$as_me:$LINENO: result: $LEX" >&5 |
|
2953 echo "${ECHO_T}$LEX" >&6 |
|
2954 else |
|
2955 echo "$as_me:$LINENO: result: no" >&5 |
|
2956 echo "${ECHO_T}no" >&6 |
|
2957 fi |
|
2958 |
|
2959 test -n "$LEX" && break |
|
2960 done |
|
2961 test -n "$LEX" || LEX=":" |
|
2962 |
|
2963 if test -z "$LEXLIB" |
|
2964 then |
|
2965 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5 |
|
2966 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6 |
|
2967 if test "${ac_cv_lib_fl_yywrap+set}" = set; then |
|
2968 echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
2969 else |
|
2970 ac_check_lib_save_LIBS=$LIBS |
|
2971 LIBS="-lfl $LIBS" |
|
2972 cat >conftest.$ac_ext <<_ACEOF |
|
2973 /* confdefs.h. */ |
|
2974 _ACEOF |
|
2975 cat confdefs.h >>conftest.$ac_ext |
|
2976 cat >>conftest.$ac_ext <<_ACEOF |
|
2977 /* end confdefs.h. */ |
|
2978 |
|
2979 /* Override any gcc2 internal prototype to avoid an error. */ |
|
2980 #ifdef __cplusplus |
|
2981 extern "C" |
|
2982 #endif |
|
2983 /* We use char because int might match the return type of a gcc2 |
|
2984 builtin and then its argument prototype would still apply. */ |
|
2985 char yywrap (); |
|
2986 int |
|
2987 main () |
|
2988 { |
|
2989 yywrap (); |
|
2990 ; |
|
2991 return 0; |
|
2992 } |
|
2993 _ACEOF |
|
2994 rm -f conftest.$ac_objext conftest$ac_exeext |
|
2995 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
2996 (eval $ac_link) 2>conftest.er1 |
|
2997 ac_status=$? |
|
2998 grep -v '^ *+' conftest.er1 >conftest.err |
|
2999 rm -f conftest.er1 |
|
3000 cat conftest.err >&5 |
|
3001 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
3002 (exit $ac_status); } && |
|
3003 { ac_try='test -z "$ac_c_werror_flag" |
|
3004 || test ! -s conftest.err' |
|
3005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
3006 (eval $ac_try) 2>&5 |
|
3007 ac_status=$? |
|
3008 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
3009 (exit $ac_status); }; } && |
|
3010 { ac_try='test -s conftest$ac_exeext' |
|
3011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
3012 (eval $ac_try) 2>&5 |
|
3013 ac_status=$? |
|
3014 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
3015 (exit $ac_status); }; }; then |
|
3016 ac_cv_lib_fl_yywrap=yes |
|
3017 else |
|
3018 echo "$as_me: failed program was:" >&5 |
|
3019 sed 's/^/| /' conftest.$ac_ext >&5 |
|
3020 |
|
3021 ac_cv_lib_fl_yywrap=no |
|
3022 fi |
|
3023 rm -f conftest.err conftest.$ac_objext \ |
|
3024 conftest$ac_exeext conftest.$ac_ext |
|
3025 LIBS=$ac_check_lib_save_LIBS |
|
3026 fi |
|
3027 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5 |
|
3028 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6 |
|
3029 if test $ac_cv_lib_fl_yywrap = yes; then |
|
3030 LEXLIB="-lfl" |
|
3031 else |
|
3032 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5 |
|
3033 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6 |
|
3034 if test "${ac_cv_lib_l_yywrap+set}" = set; then |
|
3035 echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
3036 else |
|
3037 ac_check_lib_save_LIBS=$LIBS |
|
3038 LIBS="-ll $LIBS" |
|
3039 cat >conftest.$ac_ext <<_ACEOF |
|
3040 /* confdefs.h. */ |
|
3041 _ACEOF |
|
3042 cat confdefs.h >>conftest.$ac_ext |
|
3043 cat >>conftest.$ac_ext <<_ACEOF |
|
3044 /* end confdefs.h. */ |
|
3045 |
|
3046 /* Override any gcc2 internal prototype to avoid an error. */ |
|
3047 #ifdef __cplusplus |
|
3048 extern "C" |
|
3049 #endif |
|
3050 /* We use char because int might match the return type of a gcc2 |
|
3051 builtin and then its argument prototype would still apply. */ |
|
3052 char yywrap (); |
|
3053 int |
|
3054 main () |
|
3055 { |
|
3056 yywrap (); |
|
3057 ; |
|
3058 return 0; |
|
3059 } |
|
3060 _ACEOF |
|
3061 rm -f conftest.$ac_objext conftest$ac_exeext |
|
3062 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
3063 (eval $ac_link) 2>conftest.er1 |
|
3064 ac_status=$? |
|
3065 grep -v '^ *+' conftest.er1 >conftest.err |
|
3066 rm -f conftest.er1 |
|
3067 cat conftest.err >&5 |
|
3068 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
3069 (exit $ac_status); } && |
|
3070 { ac_try='test -z "$ac_c_werror_flag" |
|
3071 || test ! -s conftest.err' |
|
3072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
3073 (eval $ac_try) 2>&5 |
|
3074 ac_status=$? |
|
3075 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
3076 (exit $ac_status); }; } && |
|
3077 { ac_try='test -s conftest$ac_exeext' |
|
3078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
3079 (eval $ac_try) 2>&5 |
|
3080 ac_status=$? |
|
3081 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
3082 (exit $ac_status); }; }; then |
|
3083 ac_cv_lib_l_yywrap=yes |
|
3084 else |
|
3085 echo "$as_me: failed program was:" >&5 |
|
3086 sed 's/^/| /' conftest.$ac_ext >&5 |
|
3087 |
|
3088 ac_cv_lib_l_yywrap=no |
|
3089 fi |
|
3090 rm -f conftest.err conftest.$ac_objext \ |
|
3091 conftest$ac_exeext conftest.$ac_ext |
|
3092 LIBS=$ac_check_lib_save_LIBS |
|
3093 fi |
|
3094 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5 |
|
3095 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6 |
|
3096 if test $ac_cv_lib_l_yywrap = yes; then |
|
3097 LEXLIB="-ll" |
|
3098 fi |
|
3099 |
|
3100 fi |
|
3101 |
|
3102 fi |
|
3103 |
|
3104 if test "x$LEX" != "x:"; then |
|
3105 echo "$as_me:$LINENO: checking lex output file root" >&5 |
|
3106 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6 |
|
3107 if test "${ac_cv_prog_lex_root+set}" = set; then |
|
3108 echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
3109 else |
|
3110 # The minimal lex program is just a single line: %%. But some broken lexes |
|
3111 # (Solaris, I think it was) want two %% lines, so accommodate them. |
|
3112 cat >conftest.l <<_ACEOF |
|
3113 %% |
|
3114 %% |
|
3115 _ACEOF |
|
3116 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5 |
|
3117 (eval $LEX conftest.l) 2>&5 |
|
3118 ac_status=$? |
|
3119 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
3120 (exit $ac_status); } |
|
3121 if test -f lex.yy.c; then |
|
3122 ac_cv_prog_lex_root=lex.yy |
|
3123 elif test -f lexyy.c; then |
|
3124 ac_cv_prog_lex_root=lexyy |
|
3125 else |
|
3126 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5 |
|
3127 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;} |
|
3128 { (exit 1); exit 1; }; } |
|
3129 fi |
|
3130 fi |
|
3131 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5 |
|
3132 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6 |
|
3133 rm -f conftest.l |
|
3134 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root |
|
3135 |
|
3136 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5 |
|
3137 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6 |
|
3138 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then |
|
3139 echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
3140 else |
|
3141 # POSIX says lex can declare yytext either as a pointer or an array; the |
|
3142 # default is implementation-dependent. Figure out which it is, since |
|
3143 # not all implementations provide the %pointer and %array declarations. |
|
3144 ac_cv_prog_lex_yytext_pointer=no |
|
3145 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c |
|
3146 ac_save_LIBS=$LIBS |
|
3147 LIBS="$LIBS $LEXLIB" |
|
3148 cat >conftest.$ac_ext <<_ACEOF |
|
3149 `cat $LEX_OUTPUT_ROOT.c` |
|
3150 _ACEOF |
|
3151 rm -f conftest.$ac_objext conftest$ac_exeext |
|
3152 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
3153 (eval $ac_link) 2>conftest.er1 |
|
3154 ac_status=$? |
|
3155 grep -v '^ *+' conftest.er1 >conftest.err |
|
3156 rm -f conftest.er1 |
|
3157 cat conftest.err >&5 |
|
3158 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
3159 (exit $ac_status); } && |
|
3160 { ac_try='test -z "$ac_c_werror_flag" |
|
3161 || test ! -s conftest.err' |
|
3162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
3163 (eval $ac_try) 2>&5 |
|
3164 ac_status=$? |
|
3165 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
3166 (exit $ac_status); }; } && |
|
3167 { ac_try='test -s conftest$ac_exeext' |
|
3168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
3169 (eval $ac_try) 2>&5 |
|
3170 ac_status=$? |
|
3171 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
3172 (exit $ac_status); }; }; then |
|
3173 ac_cv_prog_lex_yytext_pointer=yes |
|
3174 else |
|
3175 echo "$as_me: failed program was:" >&5 |
|
3176 sed 's/^/| /' conftest.$ac_ext >&5 |
|
3177 |
|
3178 fi |
|
3179 rm -f conftest.err conftest.$ac_objext \ |
|
3180 conftest$ac_exeext conftest.$ac_ext |
|
3181 LIBS=$ac_save_LIBS |
|
3182 rm -f "${LEX_OUTPUT_ROOT}.c" |
|
3183 |
|
3184 fi |
|
3185 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5 |
|
3186 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6 |
|
3187 if test $ac_cv_prog_lex_yytext_pointer = yes; then |
|
3188 |
|
3189 cat >>confdefs.h <<\_ACEOF |
|
3190 #define YYTEXT_POINTER 1 |
|
3191 _ACEOF |
|
3192 |
|
3193 fi |
|
3194 |
|
3195 fi |
|
3196 |
|
3197 # Checks for libraries. |
|
3198 |
|
3199 # Checks for header files. |
|
3200 |
|
3201 # Checks for typedefs, structures, and compiler characteristics. |
|
3202 |
|
3203 cat >>confdefs.h <<\_ACEOF |
|
3204 #define _GNU_SOURCE 1 |
|
3205 _ACEOF |
|
3206 |
|
3207 |
|
3208 |
|
3209 # Checks for library functions. |
|
3210 |
|
3211 # Other checks. |
|
3212 |
|
3213 |
|
3214 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. |
|
3215 if test "${enable_maintainer_mode+set}" = set; then |
|
3216 enableval="$enable_maintainer_mode" |
|
3217 MAINTAINER_MODE=$enableval |
|
3218 else |
|
3219 MAINTAINER_MODE=no |
|
3220 fi; |
|
3221 |
|
3222 |
|
3223 |
|
3224 |
|
3225 # Check whether --with-pkgversion or --without-pkgversion was given. |
|
3226 if test "${with_pkgversion+set}" = set; then |
|
3227 withval="$with_pkgversion" |
|
3228 case "$withval" in |
|
3229 (yes) { { echo "$as_me:$LINENO: error: package version not specified" >&5 |
|
3230 echo "$as_me: error: package version not specified" >&2;} |
|
3231 { (exit 1); exit 1; }; } ;; |
|
3232 (no) PKGVERSION= ;; |
|
3233 (*) PKGVERSION=" ($withval)" ;; |
|
3234 esac |
|
3235 else |
|
3236 PKGVERSION= |
|
3237 |
|
3238 fi; |
|
3239 |
|
3240 |
|
3241 |
|
3242 |
|
3243 # Check whether --with-bugurl or --without-bugurl was given. |
|
3244 if test "${with_bugurl+set}" = set; then |
|
3245 withval="$with_bugurl" |
|
3246 case "$withval" in |
|
3247 (yes) { { echo "$as_me:$LINENO: error: bug URL not specified" >&5 |
|
3248 echo "$as_me: error: bug URL not specified" >&2;} |
|
3249 { (exit 1); exit 1; }; } ;; |
|
3250 (no) BUGURL="" ;; |
|
3251 (*) BUGURL="<URL:$withval>" ;; |
|
3252 esac |
|
3253 else |
|
3254 BUGURL="" |
|
3255 |
|
3256 fi; |
|
3257 |
|
3258 |
|
3259 |
|
3260 ac_config_headers="$ac_config_headers config.h" |
|
3261 |
|
3262 ac_config_files="$ac_config_files Makefile" |
|
3263 |
|
3264 cat >confcache <<\_ACEOF |
|
3265 # This file is a shell script that caches the results of configure |
|
3266 # tests run on this system so they can be shared between configure |
|
3267 # scripts and configure runs, see configure's option --config-cache. |
|
3268 # It is not useful on other systems. If it contains results you don't |
|
3269 # want to keep, you may remove or edit it. |
|
3270 # |
|
3271 # config.status only pays attention to the cache file if you give it |
|
3272 # the --recheck option to rerun configure. |
|
3273 # |
|
3274 # `ac_cv_env_foo' variables (set or unset) will be overridden when |
|
3275 # loading this file, other *unset* `ac_cv_foo' will be assigned the |
|
3276 # following values. |
|
3277 |
|
3278 _ACEOF |
|
3279 |
|
3280 # The following way of writing the cache mishandles newlines in values, |
|
3281 # but we know of no workaround that is simple, portable, and efficient. |
|
3282 # So, don't put newlines in cache variables' values. |
|
3283 # Ultrix sh set writes to stderr and can't be redirected directly, |
|
3284 # and sets the high bit in the cache file unless we assign to the vars. |
|
3285 { |
|
3286 (set) 2>&1 | |
|
3287 case `(ac_space=' '; set | grep ac_space) 2>&1` in |
|
3288 *ac_space=\ *) |
|
3289 # `set' does not quote correctly, so add quotes (double-quote |
|
3290 # substitution turns \\\\ into \\, and sed turns \\ into \). |
|
3291 sed -n \ |
|
3292 "s/'/'\\\\''/g; |
|
3293 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
|
3294 ;; |
|
3295 *) |
|
3296 # `set' quotes correctly as required by POSIX, so do not add quotes. |
|
3297 sed -n \ |
|
3298 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
|
3299 ;; |
|
3300 esac; |
|
3301 } | |
|
3302 sed ' |
|
3303 t clear |
|
3304 : clear |
|
3305 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ |
|
3306 t end |
|
3307 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
|
3308 : end' >>confcache |
|
3309 if diff $cache_file confcache >/dev/null 2>&1; then :; else |
|
3310 if test -w $cache_file; then |
|
3311 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" |
|
3312 cat confcache >$cache_file |
|
3313 else |
|
3314 echo "not updating unwritable cache $cache_file" |
|
3315 fi |
|
3316 fi |
|
3317 rm -f confcache |
|
3318 |
|
3319 test "x$prefix" = xNONE && prefix=$ac_default_prefix |
|
3320 # Let make expand exec_prefix. |
|
3321 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
|
3322 |
|
3323 # VPATH may cause trouble with some makes, so we remove $(srcdir), |
|
3324 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and |
|
3325 # trailing colons and then remove the whole line if VPATH becomes empty |
|
3326 # (actually we leave an empty line to preserve line numbers). |
|
3327 if test "x$srcdir" = x.; then |
|
3328 ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
|
3329 s/:*\$(srcdir):*/:/; |
|
3330 s/:*\${srcdir}:*/:/; |
|
3331 s/:*@srcdir@:*/:/; |
|
3332 s/^\([^=]*=[ ]*\):*/\1/; |
|
3333 s/:*$//; |
|
3334 s/^[^=]*=[ ]*$//; |
|
3335 }' |
|
3336 fi |
|
3337 |
|
3338 DEFS=-DHAVE_CONFIG_H |
|
3339 |
|
3340 ac_libobjs= |
|
3341 ac_ltlibobjs= |
|
3342 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
|
3343 # 1. Remove the extension, and $U if already installed. |
|
3344 ac_i=`echo "$ac_i" | |
|
3345 sed 's/\$U\././;s/\.o$//;s/\.obj$//'` |
|
3346 # 2. Add them. |
|
3347 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" |
|
3348 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' |
|
3349 done |
|
3350 LIBOBJS=$ac_libobjs |
|
3351 |
|
3352 LTLIBOBJS=$ac_ltlibobjs |
|
3353 |
|
3354 |
|
3355 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then |
|
3356 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. |
|
3357 Usually this means the macro was only invoked conditionally." >&5 |
|
3358 echo "$as_me: error: conditional \"AMDEP\" was never defined. |
|
3359 Usually this means the macro was only invoked conditionally." >&2;} |
|
3360 { (exit 1); exit 1; }; } |
|
3361 fi |
|
3362 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then |
|
3363 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. |
|
3364 Usually this means the macro was only invoked conditionally." >&5 |
|
3365 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. |
|
3366 Usually this means the macro was only invoked conditionally." >&2;} |
|
3367 { (exit 1); exit 1; }; } |
|
3368 fi |
|
3369 |
|
3370 : ${CONFIG_STATUS=./config.status} |
|
3371 ac_clean_files_save=$ac_clean_files |
|
3372 ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
|
3373 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 |
|
3374 echo "$as_me: creating $CONFIG_STATUS" >&6;} |
|
3375 cat >$CONFIG_STATUS <<_ACEOF |
|
3376 #! $SHELL |
|
3377 # Generated by $as_me. |
|
3378 # Run this file to recreate the current configuration. |
|
3379 # Compiler output produced by configure, useful for debugging |
|
3380 # configure, is in config.log if it exists. |
|
3381 |
|
3382 debug=false |
|
3383 ac_cs_recheck=false |
|
3384 ac_cs_silent=false |
|
3385 SHELL=\${CONFIG_SHELL-$SHELL} |
|
3386 _ACEOF |
|
3387 |
|
3388 cat >>$CONFIG_STATUS <<\_ACEOF |
|
3389 ## --------------------- ## |
|
3390 ## M4sh Initialization. ## |
|
3391 ## --------------------- ## |
|
3392 |
|
3393 # Be Bourne compatible |
|
3394 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
|
3395 emulate sh |
|
3396 NULLCMD=: |
|
3397 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
|
3398 # is contrary to our usage. Disable this feature. |
|
3399 alias -g '${1+"$@"}'='"$@"' |
|
3400 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
|
3401 set -o posix |
|
3402 fi |
|
3403 DUALCASE=1; export DUALCASE # for MKS sh |
|
3404 |
|
3405 # Support unset when possible. |
|
3406 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
|
3407 as_unset=unset |
|
3408 else |
|
3409 as_unset=false |
|
3410 fi |
|
3411 |
|
3412 |
|
3413 # Work around bugs in pre-3.0 UWIN ksh. |
|
3414 $as_unset ENV MAIL MAILPATH |
|
3415 PS1='$ ' |
|
3416 PS2='> ' |
|
3417 PS4='+ ' |
|
3418 |
|
3419 # NLS nuisances. |
|
3420 for as_var in \ |
|
3421 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ |
|
3422 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
|
3423 LC_TELEPHONE LC_TIME |
|
3424 do |
|
3425 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
|
3426 eval $as_var=C; export $as_var |
|
3427 else |
|
3428 $as_unset $as_var |
|
3429 fi |
|
3430 done |
|
3431 |
|
3432 # Required to use basename. |
|
3433 if expr a : '\(a\)' >/dev/null 2>&1; then |
|
3434 as_expr=expr |
|
3435 else |
|
3436 as_expr=false |
|
3437 fi |
|
3438 |
|
3439 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then |
|
3440 as_basename=basename |
|
3441 else |
|
3442 as_basename=false |
|
3443 fi |
|
3444 |
|
3445 |
|
3446 # Name of the executable. |
|
3447 as_me=`$as_basename "$0" || |
|
3448 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
|
3449 X"$0" : 'X\(//\)$' \| \ |
|
3450 X"$0" : 'X\(/\)$' \| \ |
|
3451 . : '\(.\)' 2>/dev/null || |
|
3452 echo X/"$0" | |
|
3453 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } |
|
3454 /^X\/\(\/\/\)$/{ s//\1/; q; } |
|
3455 /^X\/\(\/\).*/{ s//\1/; q; } |
|
3456 s/.*/./; q'` |
|
3457 |
|
3458 |
|
3459 # PATH needs CR, and LINENO needs CR and PATH. |
|
3460 # Avoid depending upon Character Ranges. |
|
3461 as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
|
3462 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
|
3463 as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
|
3464 as_cr_digits='0123456789' |
|
3465 as_cr_alnum=$as_cr_Letters$as_cr_digits |
|
3466 |
|
3467 # The user is always right. |
|
3468 if test "${PATH_SEPARATOR+set}" != set; then |
|
3469 echo "#! /bin/sh" >conf$$.sh |
|
3470 echo "exit 0" >>conf$$.sh |
|
3471 chmod +x conf$$.sh |
|
3472 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
|
3473 PATH_SEPARATOR=';' |
|
3474 else |
|
3475 PATH_SEPARATOR=: |
|
3476 fi |
|
3477 rm -f conf$$.sh |
|
3478 fi |
|
3479 |
|
3480 |
|
3481 as_lineno_1=$LINENO |
|
3482 as_lineno_2=$LINENO |
|
3483 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
|
3484 test "x$as_lineno_1" != "x$as_lineno_2" && |
|
3485 test "x$as_lineno_3" = "x$as_lineno_2" || { |
|
3486 # Find who we are. Look in the path if we contain no path at all |
|
3487 # relative or not. |
|
3488 case $0 in |
|
3489 *[\\/]* ) as_myself=$0 ;; |
|
3490 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
3491 for as_dir in $PATH |
|
3492 do |
|
3493 IFS=$as_save_IFS |
|
3494 test -z "$as_dir" && as_dir=. |
|
3495 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
|
3496 done |
|
3497 |
|
3498 ;; |
|
3499 esac |
|
3500 # We did not find ourselves, most probably we were run as `sh COMMAND' |
|
3501 # in which case we are not to be found in the path. |
|
3502 if test "x$as_myself" = x; then |
|
3503 as_myself=$0 |
|
3504 fi |
|
3505 if test ! -f "$as_myself"; then |
|
3506 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 |
|
3507 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} |
|
3508 { (exit 1); exit 1; }; } |
|
3509 fi |
|
3510 case $CONFIG_SHELL in |
|
3511 '') |
|
3512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
3513 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
|
3514 do |
|
3515 IFS=$as_save_IFS |
|
3516 test -z "$as_dir" && as_dir=. |
|
3517 for as_base in sh bash ksh sh5; do |
|
3518 case $as_dir in |
|
3519 /*) |
|
3520 if ("$as_dir/$as_base" -c ' |
|
3521 as_lineno_1=$LINENO |
|
3522 as_lineno_2=$LINENO |
|
3523 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
|
3524 test "x$as_lineno_1" != "x$as_lineno_2" && |
|
3525 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then |
|
3526 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } |
|
3527 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } |
|
3528 CONFIG_SHELL=$as_dir/$as_base |
|
3529 export CONFIG_SHELL |
|
3530 exec "$CONFIG_SHELL" "$0" ${1+"$@"} |
|
3531 fi;; |
|
3532 esac |
|
3533 done |
|
3534 done |
|
3535 ;; |
|
3536 esac |
|
3537 |
|
3538 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
|
3539 # uniformly replaced by the line number. The first 'sed' inserts a |
|
3540 # line-number line before each line; the second 'sed' does the real |
|
3541 # work. The second script uses 'N' to pair each line-number line |
|
3542 # with the numbered line, and appends trailing '-' during |
|
3543 # substitution so that $LINENO is not a special case at line end. |
|
3544 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
|
3545 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) |
|
3546 sed '=' <$as_myself | |
|
3547 sed ' |
|
3548 N |
|
3549 s,$,-, |
|
3550 : loop |
|
3551 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, |
|
3552 t loop |
|
3553 s,-$,, |
|
3554 s,^['$as_cr_digits']*\n,, |
|
3555 ' >$as_me.lineno && |
|
3556 chmod +x $as_me.lineno || |
|
3557 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 |
|
3558 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} |
|
3559 { (exit 1); exit 1; }; } |
|
3560 |
|
3561 # Don't try to exec as it changes $[0], causing all sort of problems |
|
3562 # (the dirname of $[0] is not the place where we might find the |
|
3563 # original and so on. Autoconf is especially sensible to this). |
|
3564 . ./$as_me.lineno |
|
3565 # Exit status is that of the last command. |
|
3566 exit |
|
3567 } |
|
3568 |
|
3569 |
|
3570 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in |
|
3571 *c*,-n*) ECHO_N= ECHO_C=' |
|
3572 ' ECHO_T=' ' ;; |
|
3573 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; |
|
3574 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; |
|
3575 esac |
|
3576 |
|
3577 if expr a : '\(a\)' >/dev/null 2>&1; then |
|
3578 as_expr=expr |
|
3579 else |
|
3580 as_expr=false |
|
3581 fi |
|
3582 |
|
3583 rm -f conf$$ conf$$.exe conf$$.file |
|
3584 echo >conf$$.file |
|
3585 if ln -s conf$$.file conf$$ 2>/dev/null; then |
|
3586 # We could just check for DJGPP; but this test a) works b) is more generic |
|
3587 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). |
|
3588 if test -f conf$$.exe; then |
|
3589 # Don't use ln at all; we don't have any links |
|
3590 as_ln_s='cp -p' |
|
3591 else |
|
3592 as_ln_s='ln -s' |
|
3593 fi |
|
3594 elif ln conf$$.file conf$$ 2>/dev/null; then |
|
3595 as_ln_s=ln |
|
3596 else |
|
3597 as_ln_s='cp -p' |
|
3598 fi |
|
3599 rm -f conf$$ conf$$.exe conf$$.file |
|
3600 |
|
3601 if mkdir -p . 2>/dev/null; then |
|
3602 as_mkdir_p=: |
|
3603 else |
|
3604 test -d ./-p && rmdir ./-p |
|
3605 as_mkdir_p=false |
|
3606 fi |
|
3607 |
|
3608 as_executable_p="test -f" |
|
3609 |
|
3610 # Sed expression to map a string onto a valid CPP name. |
|
3611 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
|
3612 |
|
3613 # Sed expression to map a string onto a valid variable name. |
|
3614 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
|
3615 |
|
3616 |
|
3617 # IFS |
|
3618 # We need space, tab and new line, in precisely that order. |
|
3619 as_nl=' |
|
3620 ' |
|
3621 IFS=" $as_nl" |
|
3622 |
|
3623 # CDPATH. |
|
3624 $as_unset CDPATH |
|
3625 |
|
3626 exec 6>&1 |
|
3627 |
|
3628 # Open the log real soon, to keep \$[0] and so on meaningful, and to |
|
3629 # report actual input values of CONFIG_FILES etc. instead of their |
|
3630 # values after options handling. Logging --version etc. is OK. |
|
3631 exec 5>>config.log |
|
3632 { |
|
3633 echo |
|
3634 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX |
|
3635 ## Running $as_me. ## |
|
3636 _ASBOX |
|
3637 } >&5 |
|
3638 cat >&5 <<_CSEOF |
|
3639 |
|
3640 This file was extended by dtc $as_me 1.2.0, which was |
|
3641 generated by GNU Autoconf 2.59. Invocation command line was |
|
3642 |
|
3643 CONFIG_FILES = $CONFIG_FILES |
|
3644 CONFIG_HEADERS = $CONFIG_HEADERS |
|
3645 CONFIG_LINKS = $CONFIG_LINKS |
|
3646 CONFIG_COMMANDS = $CONFIG_COMMANDS |
|
3647 $ $0 $@ |
|
3648 |
|
3649 _CSEOF |
|
3650 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 |
|
3651 echo >&5 |
|
3652 _ACEOF |
|
3653 |
|
3654 # Files that config.status was made for. |
|
3655 if test -n "$ac_config_files"; then |
|
3656 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS |
|
3657 fi |
|
3658 |
|
3659 if test -n "$ac_config_headers"; then |
|
3660 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS |
|
3661 fi |
|
3662 |
|
3663 if test -n "$ac_config_links"; then |
|
3664 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS |
|
3665 fi |
|
3666 |
|
3667 if test -n "$ac_config_commands"; then |
|
3668 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS |
|
3669 fi |
|
3670 |
|
3671 cat >>$CONFIG_STATUS <<\_ACEOF |
|
3672 |
|
3673 ac_cs_usage="\ |
|
3674 \`$as_me' instantiates files from templates according to the |
|
3675 current configuration. |
|
3676 |
|
3677 Usage: $0 [OPTIONS] [FILE]... |
|
3678 |
|
3679 -h, --help print this help, then exit |
|
3680 -V, --version print version number, then exit |
|
3681 -q, --quiet do not print progress messages |
|
3682 -d, --debug don't remove temporary files |
|
3683 --recheck update $as_me by reconfiguring in the same conditions |
|
3684 --file=FILE[:TEMPLATE] |
|
3685 instantiate the configuration file FILE |
|
3686 --header=FILE[:TEMPLATE] |
|
3687 instantiate the configuration header FILE |
|
3688 |
|
3689 Configuration files: |
|
3690 $config_files |
|
3691 |
|
3692 Configuration headers: |
|
3693 $config_headers |
|
3694 |
|
3695 Configuration commands: |
|
3696 $config_commands |
|
3697 |
|
3698 Report bugs to <bug-autoconf@gnu.org>." |
|
3699 _ACEOF |
|
3700 |
|
3701 cat >>$CONFIG_STATUS <<_ACEOF |
|
3702 ac_cs_version="\\ |
|
3703 dtc config.status 1.2.0 |
|
3704 configured by $0, generated by GNU Autoconf 2.59, |
|
3705 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" |
|
3706 |
|
3707 Copyright (C) 2003 Free Software Foundation, Inc. |
|
3708 This config.status script is free software; the Free Software Foundation |
|
3709 gives unlimited permission to copy, distribute and modify it." |
|
3710 srcdir=$srcdir |
|
3711 INSTALL="$INSTALL" |
|
3712 _ACEOF |
|
3713 |
|
3714 cat >>$CONFIG_STATUS <<\_ACEOF |
|
3715 # If no file are specified by the user, then we need to provide default |
|
3716 # value. By we need to know if files were specified by the user. |
|
3717 ac_need_defaults=: |
|
3718 while test $# != 0 |
|
3719 do |
|
3720 case $1 in |
|
3721 --*=*) |
|
3722 ac_option=`expr "x$1" : 'x\([^=]*\)='` |
|
3723 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` |
|
3724 ac_shift=: |
|
3725 ;; |
|
3726 -*) |
|
3727 ac_option=$1 |
|
3728 ac_optarg=$2 |
|
3729 ac_shift=shift |
|
3730 ;; |
|
3731 *) # This is not an option, so the user has probably given explicit |
|
3732 # arguments. |
|
3733 ac_option=$1 |
|
3734 ac_need_defaults=false;; |
|
3735 esac |
|
3736 |
|
3737 case $ac_option in |
|
3738 # Handling of the options. |
|
3739 _ACEOF |
|
3740 cat >>$CONFIG_STATUS <<\_ACEOF |
|
3741 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
|
3742 ac_cs_recheck=: ;; |
|
3743 --version | --vers* | -V ) |
|
3744 echo "$ac_cs_version"; exit 0 ;; |
|
3745 --he | --h) |
|
3746 # Conflict between --help and --header |
|
3747 { { echo "$as_me:$LINENO: error: ambiguous option: $1 |
|
3748 Try \`$0 --help' for more information." >&5 |
|
3749 echo "$as_me: error: ambiguous option: $1 |
|
3750 Try \`$0 --help' for more information." >&2;} |
|
3751 { (exit 1); exit 1; }; };; |
|
3752 --help | --hel | -h ) |
|
3753 echo "$ac_cs_usage"; exit 0 ;; |
|
3754 --debug | --d* | -d ) |
|
3755 debug=: ;; |
|
3756 --file | --fil | --fi | --f ) |
|
3757 $ac_shift |
|
3758 CONFIG_FILES="$CONFIG_FILES $ac_optarg" |
|
3759 ac_need_defaults=false;; |
|
3760 --header | --heade | --head | --hea ) |
|
3761 $ac_shift |
|
3762 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" |
|
3763 ac_need_defaults=false;; |
|
3764 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
|
3765 | -silent | --silent | --silen | --sile | --sil | --si | --s) |
|
3766 ac_cs_silent=: ;; |
|
3767 |
|
3768 # This is an error. |
|
3769 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 |
|
3770 Try \`$0 --help' for more information." >&5 |
|
3771 echo "$as_me: error: unrecognized option: $1 |
|
3772 Try \`$0 --help' for more information." >&2;} |
|
3773 { (exit 1); exit 1; }; } ;; |
|
3774 |
|
3775 *) ac_config_targets="$ac_config_targets $1" ;; |
|
3776 |
|
3777 esac |
|
3778 shift |
|
3779 done |
|
3780 |
|
3781 ac_configure_extra_args= |
|
3782 |
|
3783 if $ac_cs_silent; then |
|
3784 exec 6>/dev/null |
|
3785 ac_configure_extra_args="$ac_configure_extra_args --silent" |
|
3786 fi |
|
3787 |
|
3788 _ACEOF |
|
3789 cat >>$CONFIG_STATUS <<_ACEOF |
|
3790 if \$ac_cs_recheck; then |
|
3791 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 |
|
3792 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
|
3793 fi |
|
3794 |
|
3795 _ACEOF |
|
3796 |
|
3797 cat >>$CONFIG_STATUS <<_ACEOF |
|
3798 # |
|
3799 # INIT-COMMANDS section. |
|
3800 # |
|
3801 |
|
3802 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" |
|
3803 |
|
3804 _ACEOF |
|
3805 |
|
3806 |
|
3807 |
|
3808 cat >>$CONFIG_STATUS <<\_ACEOF |
|
3809 for ac_config_target in $ac_config_targets |
|
3810 do |
|
3811 case "$ac_config_target" in |
|
3812 # Handling of arguments. |
|
3813 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
|
3814 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; |
|
3815 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; |
|
3816 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
|
3817 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
|
3818 { (exit 1); exit 1; }; };; |
|
3819 esac |
|
3820 done |
|
3821 |
|
3822 # If the user did not use the arguments to specify the items to instantiate, |
|
3823 # then the envvar interface is used. Set only those that are not. |
|
3824 # We use the long form for the default assignment because of an extremely |
|
3825 # bizarre bug on SunOS 4.1.3. |
|
3826 if $ac_need_defaults; then |
|
3827 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files |
|
3828 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers |
|
3829 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands |
|
3830 fi |
|
3831 |
|
3832 # Have a temporary directory for convenience. Make it in the build tree |
|
3833 # simply because there is no reason to put it here, and in addition, |
|
3834 # creating and moving files from /tmp can sometimes cause problems. |
|
3835 # Create a temporary directory, and hook for its removal unless debugging. |
|
3836 $debug || |
|
3837 { |
|
3838 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 |
|
3839 trap '{ (exit 1); exit 1; }' 1 2 13 15 |
|
3840 } |
|
3841 |
|
3842 # Create a (secure) tmp directory for tmp files. |
|
3843 |
|
3844 { |
|
3845 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && |
|
3846 test -n "$tmp" && test -d "$tmp" |
|
3847 } || |
|
3848 { |
|
3849 tmp=./confstat$$-$RANDOM |
|
3850 (umask 077 && mkdir $tmp) |
|
3851 } || |
|
3852 { |
|
3853 echo "$me: cannot create a temporary directory in ." >&2 |
|
3854 { (exit 1); exit 1; } |
|
3855 } |
|
3856 |
|
3857 _ACEOF |
|
3858 |
|
3859 cat >>$CONFIG_STATUS <<_ACEOF |
|
3860 |
|
3861 # |
|
3862 # CONFIG_FILES section. |
|
3863 # |
|
3864 |
|
3865 # No need to generate the scripts if there are no CONFIG_FILES. |
|
3866 # This happens for instance when ./config.status config.h |
|
3867 if test -n "\$CONFIG_FILES"; then |
|
3868 # Protect against being on the right side of a sed subst in config.status. |
|
3869 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; |
|
3870 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF |
|
3871 s,@SHELL@,$SHELL,;t t |
|
3872 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t |
|
3873 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t |
|
3874 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t |
|
3875 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t |
|
3876 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t |
|
3877 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t |
|
3878 s,@exec_prefix@,$exec_prefix,;t t |
|
3879 s,@prefix@,$prefix,;t t |
|
3880 s,@program_transform_name@,$program_transform_name,;t t |
|
3881 s,@bindir@,$bindir,;t t |
|
3882 s,@sbindir@,$sbindir,;t t |
|
3883 s,@libexecdir@,$libexecdir,;t t |
|
3884 s,@datadir@,$datadir,;t t |
|
3885 s,@sysconfdir@,$sysconfdir,;t t |
|
3886 s,@sharedstatedir@,$sharedstatedir,;t t |
|
3887 s,@localstatedir@,$localstatedir,;t t |
|
3888 s,@libdir@,$libdir,;t t |
|
3889 s,@includedir@,$includedir,;t t |
|
3890 s,@oldincludedir@,$oldincludedir,;t t |
|
3891 s,@infodir@,$infodir,;t t |
|
3892 s,@mandir@,$mandir,;t t |
|
3893 s,@build_alias@,$build_alias,;t t |
|
3894 s,@host_alias@,$host_alias,;t t |
|
3895 s,@target_alias@,$target_alias,;t t |
|
3896 s,@DEFS@,$DEFS,;t t |
|
3897 s,@ECHO_C@,$ECHO_C,;t t |
|
3898 s,@ECHO_N@,$ECHO_N,;t t |
|
3899 s,@ECHO_T@,$ECHO_T,;t t |
|
3900 s,@LIBS@,$LIBS,;t t |
|
3901 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t |
|
3902 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t |
|
3903 s,@INSTALL_DATA@,$INSTALL_DATA,;t t |
|
3904 s,@CYGPATH_W@,$CYGPATH_W,;t t |
|
3905 s,@PACKAGE@,$PACKAGE,;t t |
|
3906 s,@VERSION@,$VERSION,;t t |
|
3907 s,@ACLOCAL@,$ACLOCAL,;t t |
|
3908 s,@AUTOCONF@,$AUTOCONF,;t t |
|
3909 s,@AUTOMAKE@,$AUTOMAKE,;t t |
|
3910 s,@AUTOHEADER@,$AUTOHEADER,;t t |
|
3911 s,@MAKEINFO@,$MAKEINFO,;t t |
|
3912 s,@install_sh@,$install_sh,;t t |
|
3913 s,@STRIP@,$STRIP,;t t |
|
3914 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t |
|
3915 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t |
|
3916 s,@mkdir_p@,$mkdir_p,;t t |
|
3917 s,@AWK@,$AWK,;t t |
|
3918 s,@SET_MAKE@,$SET_MAKE,;t t |
|
3919 s,@am__leading_dot@,$am__leading_dot,;t t |
|
3920 s,@AMTAR@,$AMTAR,;t t |
|
3921 s,@am__tar@,$am__tar,;t t |
|
3922 s,@am__untar@,$am__untar,;t t |
|
3923 s,@build@,$build,;t t |
|
3924 s,@build_cpu@,$build_cpu,;t t |
|
3925 s,@build_vendor@,$build_vendor,;t t |
|
3926 s,@build_os@,$build_os,;t t |
|
3927 s,@host@,$host,;t t |
|
3928 s,@host_cpu@,$host_cpu,;t t |
|
3929 s,@host_vendor@,$host_vendor,;t t |
|
3930 s,@host_os@,$host_os,;t t |
|
3931 s,@CC@,$CC,;t t |
|
3932 s,@CFLAGS@,$CFLAGS,;t t |
|
3933 s,@LDFLAGS@,$LDFLAGS,;t t |
|
3934 s,@CPPFLAGS@,$CPPFLAGS,;t t |
|
3935 s,@ac_ct_CC@,$ac_ct_CC,;t t |
|
3936 s,@EXEEXT@,$EXEEXT,;t t |
|
3937 s,@OBJEXT@,$OBJEXT,;t t |
|
3938 s,@DEPDIR@,$DEPDIR,;t t |
|
3939 s,@am__include@,$am__include,;t t |
|
3940 s,@am__quote@,$am__quote,;t t |
|
3941 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t |
|
3942 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t |
|
3943 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t |
|
3944 s,@CCDEPMODE@,$CCDEPMODE,;t t |
|
3945 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t |
|
3946 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t |
|
3947 s,@YACC@,$YACC,;t t |
|
3948 s,@LEX@,$LEX,;t t |
|
3949 s,@LEXLIB@,$LEXLIB,;t t |
|
3950 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t |
|
3951 s,@MAINTAINER_MODE@,$MAINTAINER_MODE,;t t |
|
3952 s,@PKGVERSION@,$PKGVERSION,;t t |
|
3953 s,@BUGURL@,$BUGURL,;t t |
|
3954 s,@LIBOBJS@,$LIBOBJS,;t t |
|
3955 s,@LTLIBOBJS@,$LTLIBOBJS,;t t |
|
3956 CEOF |
|
3957 |
|
3958 _ACEOF |
|
3959 |
|
3960 cat >>$CONFIG_STATUS <<\_ACEOF |
|
3961 # Split the substitutions into bite-sized pieces for seds with |
|
3962 # small command number limits, like on Digital OSF/1 and HP-UX. |
|
3963 ac_max_sed_lines=48 |
|
3964 ac_sed_frag=1 # Number of current file. |
|
3965 ac_beg=1 # First line for current file. |
|
3966 ac_end=$ac_max_sed_lines # Line after last line for current file. |
|
3967 ac_more_lines=: |
|
3968 ac_sed_cmds= |
|
3969 while $ac_more_lines; do |
|
3970 if test $ac_beg -gt 1; then |
|
3971 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag |
|
3972 else |
|
3973 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag |
|
3974 fi |
|
3975 if test ! -s $tmp/subs.frag; then |
|
3976 ac_more_lines=false |
|
3977 else |
|
3978 # The purpose of the label and of the branching condition is to |
|
3979 # speed up the sed processing (if there are no `@' at all, there |
|
3980 # is no need to browse any of the substitutions). |
|
3981 # These are the two extra sed commands mentioned above. |
|
3982 (echo ':t |
|
3983 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed |
|
3984 if test -z "$ac_sed_cmds"; then |
|
3985 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" |
|
3986 else |
|
3987 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" |
|
3988 fi |
|
3989 ac_sed_frag=`expr $ac_sed_frag + 1` |
|
3990 ac_beg=$ac_end |
|
3991 ac_end=`expr $ac_end + $ac_max_sed_lines` |
|
3992 fi |
|
3993 done |
|
3994 if test -z "$ac_sed_cmds"; then |
|
3995 ac_sed_cmds=cat |
|
3996 fi |
|
3997 fi # test -n "$CONFIG_FILES" |
|
3998 |
|
3999 _ACEOF |
|
4000 cat >>$CONFIG_STATUS <<\_ACEOF |
|
4001 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue |
|
4002 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
|
4003 case $ac_file in |
|
4004 - | *:- | *:-:* ) # input from stdin |
|
4005 cat >$tmp/stdin |
|
4006 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
|
4007 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
|
4008 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
|
4009 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
|
4010 * ) ac_file_in=$ac_file.in ;; |
|
4011 esac |
|
4012 |
|
4013 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. |
|
4014 ac_dir=`(dirname "$ac_file") 2>/dev/null || |
|
4015 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
4016 X"$ac_file" : 'X\(//\)[^/]' \| \ |
|
4017 X"$ac_file" : 'X\(//\)$' \| \ |
|
4018 X"$ac_file" : 'X\(/\)' \| \ |
|
4019 . : '\(.\)' 2>/dev/null || |
|
4020 echo X"$ac_file" | |
|
4021 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
|
4022 /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
|
4023 /^X\(\/\/\)$/{ s//\1/; q; } |
|
4024 /^X\(\/\).*/{ s//\1/; q; } |
|
4025 s/.*/./; q'` |
|
4026 { if $as_mkdir_p; then |
|
4027 mkdir -p "$ac_dir" |
|
4028 else |
|
4029 as_dir="$ac_dir" |
|
4030 as_dirs= |
|
4031 while test ! -d "$as_dir"; do |
|
4032 as_dirs="$as_dir $as_dirs" |
|
4033 as_dir=`(dirname "$as_dir") 2>/dev/null || |
|
4034 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
4035 X"$as_dir" : 'X\(//\)[^/]' \| \ |
|
4036 X"$as_dir" : 'X\(//\)$' \| \ |
|
4037 X"$as_dir" : 'X\(/\)' \| \ |
|
4038 . : '\(.\)' 2>/dev/null || |
|
4039 echo X"$as_dir" | |
|
4040 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
|
4041 /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
|
4042 /^X\(\/\/\)$/{ s//\1/; q; } |
|
4043 /^X\(\/\).*/{ s//\1/; q; } |
|
4044 s/.*/./; q'` |
|
4045 done |
|
4046 test ! -n "$as_dirs" || mkdir $as_dirs |
|
4047 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 |
|
4048 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} |
|
4049 { (exit 1); exit 1; }; }; } |
|
4050 |
|
4051 ac_builddir=. |
|
4052 |
|
4053 if test "$ac_dir" != .; then |
|
4054 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
|
4055 # A "../" for each directory in $ac_dir_suffix. |
|
4056 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` |
|
4057 else |
|
4058 ac_dir_suffix= ac_top_builddir= |
|
4059 fi |
|
4060 |
|
4061 case $srcdir in |
|
4062 .) # No --srcdir option. We are building in place. |
|
4063 ac_srcdir=. |
|
4064 if test -z "$ac_top_builddir"; then |
|
4065 ac_top_srcdir=. |
|
4066 else |
|
4067 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` |
|
4068 fi ;; |
|
4069 [\\/]* | ?:[\\/]* ) # Absolute path. |
|
4070 ac_srcdir=$srcdir$ac_dir_suffix; |
|
4071 ac_top_srcdir=$srcdir ;; |
|
4072 *) # Relative path. |
|
4073 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
|
4074 ac_top_srcdir=$ac_top_builddir$srcdir ;; |
|
4075 esac |
|
4076 |
|
4077 # Do not use `cd foo && pwd` to compute absolute paths, because |
|
4078 # the directories may not exist. |
|
4079 case `pwd` in |
|
4080 .) ac_abs_builddir="$ac_dir";; |
|
4081 *) |
|
4082 case "$ac_dir" in |
|
4083 .) ac_abs_builddir=`pwd`;; |
|
4084 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; |
|
4085 *) ac_abs_builddir=`pwd`/"$ac_dir";; |
|
4086 esac;; |
|
4087 esac |
|
4088 case $ac_abs_builddir in |
|
4089 .) ac_abs_top_builddir=${ac_top_builddir}.;; |
|
4090 *) |
|
4091 case ${ac_top_builddir}. in |
|
4092 .) ac_abs_top_builddir=$ac_abs_builddir;; |
|
4093 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; |
|
4094 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; |
|
4095 esac;; |
|
4096 esac |
|
4097 case $ac_abs_builddir in |
|
4098 .) ac_abs_srcdir=$ac_srcdir;; |
|
4099 *) |
|
4100 case $ac_srcdir in |
|
4101 .) ac_abs_srcdir=$ac_abs_builddir;; |
|
4102 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; |
|
4103 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; |
|
4104 esac;; |
|
4105 esac |
|
4106 case $ac_abs_builddir in |
|
4107 .) ac_abs_top_srcdir=$ac_top_srcdir;; |
|
4108 *) |
|
4109 case $ac_top_srcdir in |
|
4110 .) ac_abs_top_srcdir=$ac_abs_builddir;; |
|
4111 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; |
|
4112 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; |
|
4113 esac;; |
|
4114 esac |
|
4115 |
|
4116 |
|
4117 case $INSTALL in |
|
4118 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
|
4119 *) ac_INSTALL=$ac_top_builddir$INSTALL ;; |
|
4120 esac |
|
4121 |
|
4122 if test x"$ac_file" != x-; then |
|
4123 { echo "$as_me:$LINENO: creating $ac_file" >&5 |
|
4124 echo "$as_me: creating $ac_file" >&6;} |
|
4125 rm -f "$ac_file" |
|
4126 fi |
|
4127 # Let's still pretend it is `configure' which instantiates (i.e., don't |
|
4128 # use $as_me), people would be surprised to read: |
|
4129 # /* config.h. Generated by config.status. */ |
|
4130 if test x"$ac_file" = x-; then |
|
4131 configure_input= |
|
4132 else |
|
4133 configure_input="$ac_file. " |
|
4134 fi |
|
4135 configure_input=$configure_input"Generated from `echo $ac_file_in | |
|
4136 sed 's,.*/,,'` by configure." |
|
4137 |
|
4138 # First look for the input files in the build tree, otherwise in the |
|
4139 # src tree. |
|
4140 ac_file_inputs=`IFS=: |
|
4141 for f in $ac_file_in; do |
|
4142 case $f in |
|
4143 -) echo $tmp/stdin ;; |
|
4144 [\\/$]*) |
|
4145 # Absolute (can't be DOS-style, as IFS=:) |
|
4146 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
|
4147 echo "$as_me: error: cannot find input file: $f" >&2;} |
|
4148 { (exit 1); exit 1; }; } |
|
4149 echo "$f";; |
|
4150 *) # Relative |
|
4151 if test -f "$f"; then |
|
4152 # Build tree |
|
4153 echo "$f" |
|
4154 elif test -f "$srcdir/$f"; then |
|
4155 # Source tree |
|
4156 echo "$srcdir/$f" |
|
4157 else |
|
4158 # /dev/null tree |
|
4159 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
|
4160 echo "$as_me: error: cannot find input file: $f" >&2;} |
|
4161 { (exit 1); exit 1; }; } |
|
4162 fi;; |
|
4163 esac |
|
4164 done` || { (exit 1); exit 1; } |
|
4165 _ACEOF |
|
4166 cat >>$CONFIG_STATUS <<_ACEOF |
|
4167 sed "$ac_vpsub |
|
4168 $extrasub |
|
4169 _ACEOF |
|
4170 cat >>$CONFIG_STATUS <<\_ACEOF |
|
4171 :t |
|
4172 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
|
4173 s,@configure_input@,$configure_input,;t t |
|
4174 s,@srcdir@,$ac_srcdir,;t t |
|
4175 s,@abs_srcdir@,$ac_abs_srcdir,;t t |
|
4176 s,@top_srcdir@,$ac_top_srcdir,;t t |
|
4177 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t |
|
4178 s,@builddir@,$ac_builddir,;t t |
|
4179 s,@abs_builddir@,$ac_abs_builddir,;t t |
|
4180 s,@top_builddir@,$ac_top_builddir,;t t |
|
4181 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t |
|
4182 s,@INSTALL@,$ac_INSTALL,;t t |
|
4183 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out |
|
4184 rm -f $tmp/stdin |
|
4185 if test x"$ac_file" != x-; then |
|
4186 mv $tmp/out $ac_file |
|
4187 else |
|
4188 cat $tmp/out |
|
4189 rm -f $tmp/out |
|
4190 fi |
|
4191 |
|
4192 done |
|
4193 _ACEOF |
|
4194 cat >>$CONFIG_STATUS <<\_ACEOF |
|
4195 |
|
4196 # |
|
4197 # CONFIG_HEADER section. |
|
4198 # |
|
4199 |
|
4200 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where |
|
4201 # NAME is the cpp macro being defined and VALUE is the value it is being given. |
|
4202 # |
|
4203 # ac_d sets the value in "#define NAME VALUE" lines. |
|
4204 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' |
|
4205 ac_dB='[ ].*$,\1#\2' |
|
4206 ac_dC=' ' |
|
4207 ac_dD=',;t' |
|
4208 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". |
|
4209 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' |
|
4210 ac_uB='$,\1#\2define\3' |
|
4211 ac_uC=' ' |
|
4212 ac_uD=',;t' |
|
4213 |
|
4214 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue |
|
4215 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
|
4216 case $ac_file in |
|
4217 - | *:- | *:-:* ) # input from stdin |
|
4218 cat >$tmp/stdin |
|
4219 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
|
4220 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
|
4221 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
|
4222 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
|
4223 * ) ac_file_in=$ac_file.in ;; |
|
4224 esac |
|
4225 |
|
4226 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 |
|
4227 echo "$as_me: creating $ac_file" >&6;} |
|
4228 |
|
4229 # First look for the input files in the build tree, otherwise in the |
|
4230 # src tree. |
|
4231 ac_file_inputs=`IFS=: |
|
4232 for f in $ac_file_in; do |
|
4233 case $f in |
|
4234 -) echo $tmp/stdin ;; |
|
4235 [\\/$]*) |
|
4236 # Absolute (can't be DOS-style, as IFS=:) |
|
4237 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
|
4238 echo "$as_me: error: cannot find input file: $f" >&2;} |
|
4239 { (exit 1); exit 1; }; } |
|
4240 # Do quote $f, to prevent DOS paths from being IFS'd. |
|
4241 echo "$f";; |
|
4242 *) # Relative |
|
4243 if test -f "$f"; then |
|
4244 # Build tree |
|
4245 echo "$f" |
|
4246 elif test -f "$srcdir/$f"; then |
|
4247 # Source tree |
|
4248 echo "$srcdir/$f" |
|
4249 else |
|
4250 # /dev/null tree |
|
4251 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
|
4252 echo "$as_me: error: cannot find input file: $f" >&2;} |
|
4253 { (exit 1); exit 1; }; } |
|
4254 fi;; |
|
4255 esac |
|
4256 done` || { (exit 1); exit 1; } |
|
4257 # Remove the trailing spaces. |
|
4258 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in |
|
4259 |
|
4260 _ACEOF |
|
4261 |
|
4262 # Transform confdefs.h into two sed scripts, `conftest.defines' and |
|
4263 # `conftest.undefs', that substitutes the proper values into |
|
4264 # config.h.in to produce config.h. The first handles `#define' |
|
4265 # templates, and the second `#undef' templates. |
|
4266 # And first: Protect against being on the right side of a sed subst in |
|
4267 # config.status. Protect against being in an unquoted here document |
|
4268 # in config.status. |
|
4269 rm -f conftest.defines conftest.undefs |
|
4270 # Using a here document instead of a string reduces the quoting nightmare. |
|
4271 # Putting comments in sed scripts is not portable. |
|
4272 # |
|
4273 # `end' is used to avoid that the second main sed command (meant for |
|
4274 # 0-ary CPP macros) applies to n-ary macro definitions. |
|
4275 # See the Autoconf documentation for `clear'. |
|
4276 cat >confdef2sed.sed <<\_ACEOF |
|
4277 s/[\\&,]/\\&/g |
|
4278 s,[\\$`],\\&,g |
|
4279 t clear |
|
4280 : clear |
|
4281 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp |
|
4282 t end |
|
4283 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp |
|
4284 : end |
|
4285 _ACEOF |
|
4286 # If some macros were called several times there might be several times |
|
4287 # the same #defines, which is useless. Nevertheless, we may not want to |
|
4288 # sort them, since we want the *last* AC-DEFINE to be honored. |
|
4289 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines |
|
4290 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs |
|
4291 rm -f confdef2sed.sed |
|
4292 |
|
4293 # This sed command replaces #undef with comments. This is necessary, for |
|
4294 # example, in the case of _POSIX_SOURCE, which is predefined and required |
|
4295 # on some systems where configure will not decide to define it. |
|
4296 cat >>conftest.undefs <<\_ACEOF |
|
4297 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, |
|
4298 _ACEOF |
|
4299 |
|
4300 # Break up conftest.defines because some shells have a limit on the size |
|
4301 # of here documents, and old seds have small limits too (100 cmds). |
|
4302 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS |
|
4303 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS |
|
4304 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS |
|
4305 echo ' :' >>$CONFIG_STATUS |
|
4306 rm -f conftest.tail |
|
4307 while grep . conftest.defines >/dev/null |
|
4308 do |
|
4309 # Write a limited-size here document to $tmp/defines.sed. |
|
4310 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS |
|
4311 # Speed up: don't consider the non `#define' lines. |
|
4312 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS |
|
4313 # Work around the forget-to-reset-the-flag bug. |
|
4314 echo 't clr' >>$CONFIG_STATUS |
|
4315 echo ': clr' >>$CONFIG_STATUS |
|
4316 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS |
|
4317 echo 'CEOF |
|
4318 sed -f $tmp/defines.sed $tmp/in >$tmp/out |
|
4319 rm -f $tmp/in |
|
4320 mv $tmp/out $tmp/in |
|
4321 ' >>$CONFIG_STATUS |
|
4322 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail |
|
4323 rm -f conftest.defines |
|
4324 mv conftest.tail conftest.defines |
|
4325 done |
|
4326 rm -f conftest.defines |
|
4327 echo ' fi # grep' >>$CONFIG_STATUS |
|
4328 echo >>$CONFIG_STATUS |
|
4329 |
|
4330 # Break up conftest.undefs because some shells have a limit on the size |
|
4331 # of here documents, and old seds have small limits too (100 cmds). |
|
4332 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS |
|
4333 rm -f conftest.tail |
|
4334 while grep . conftest.undefs >/dev/null |
|
4335 do |
|
4336 # Write a limited-size here document to $tmp/undefs.sed. |
|
4337 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS |
|
4338 # Speed up: don't consider the non `#undef' |
|
4339 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS |
|
4340 # Work around the forget-to-reset-the-flag bug. |
|
4341 echo 't clr' >>$CONFIG_STATUS |
|
4342 echo ': clr' >>$CONFIG_STATUS |
|
4343 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS |
|
4344 echo 'CEOF |
|
4345 sed -f $tmp/undefs.sed $tmp/in >$tmp/out |
|
4346 rm -f $tmp/in |
|
4347 mv $tmp/out $tmp/in |
|
4348 ' >>$CONFIG_STATUS |
|
4349 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail |
|
4350 rm -f conftest.undefs |
|
4351 mv conftest.tail conftest.undefs |
|
4352 done |
|
4353 rm -f conftest.undefs |
|
4354 |
|
4355 cat >>$CONFIG_STATUS <<\_ACEOF |
|
4356 # Let's still pretend it is `configure' which instantiates (i.e., don't |
|
4357 # use $as_me), people would be surprised to read: |
|
4358 # /* config.h. Generated by config.status. */ |
|
4359 if test x"$ac_file" = x-; then |
|
4360 echo "/* Generated by configure. */" >$tmp/config.h |
|
4361 else |
|
4362 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h |
|
4363 fi |
|
4364 cat $tmp/in >>$tmp/config.h |
|
4365 rm -f $tmp/in |
|
4366 if test x"$ac_file" != x-; then |
|
4367 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then |
|
4368 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 |
|
4369 echo "$as_me: $ac_file is unchanged" >&6;} |
|
4370 else |
|
4371 ac_dir=`(dirname "$ac_file") 2>/dev/null || |
|
4372 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
4373 X"$ac_file" : 'X\(//\)[^/]' \| \ |
|
4374 X"$ac_file" : 'X\(//\)$' \| \ |
|
4375 X"$ac_file" : 'X\(/\)' \| \ |
|
4376 . : '\(.\)' 2>/dev/null || |
|
4377 echo X"$ac_file" | |
|
4378 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
|
4379 /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
|
4380 /^X\(\/\/\)$/{ s//\1/; q; } |
|
4381 /^X\(\/\).*/{ s//\1/; q; } |
|
4382 s/.*/./; q'` |
|
4383 { if $as_mkdir_p; then |
|
4384 mkdir -p "$ac_dir" |
|
4385 else |
|
4386 as_dir="$ac_dir" |
|
4387 as_dirs= |
|
4388 while test ! -d "$as_dir"; do |
|
4389 as_dirs="$as_dir $as_dirs" |
|
4390 as_dir=`(dirname "$as_dir") 2>/dev/null || |
|
4391 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
4392 X"$as_dir" : 'X\(//\)[^/]' \| \ |
|
4393 X"$as_dir" : 'X\(//\)$' \| \ |
|
4394 X"$as_dir" : 'X\(/\)' \| \ |
|
4395 . : '\(.\)' 2>/dev/null || |
|
4396 echo X"$as_dir" | |
|
4397 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
|
4398 /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
|
4399 /^X\(\/\/\)$/{ s//\1/; q; } |
|
4400 /^X\(\/\).*/{ s//\1/; q; } |
|
4401 s/.*/./; q'` |
|
4402 done |
|
4403 test ! -n "$as_dirs" || mkdir $as_dirs |
|
4404 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 |
|
4405 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} |
|
4406 { (exit 1); exit 1; }; }; } |
|
4407 |
|
4408 rm -f $ac_file |
|
4409 mv $tmp/config.h $ac_file |
|
4410 fi |
|
4411 else |
|
4412 cat $tmp/config.h |
|
4413 rm -f $tmp/config.h |
|
4414 fi |
|
4415 # Compute $ac_file's index in $config_headers. |
|
4416 _am_stamp_count=1 |
|
4417 for _am_header in $config_headers :; do |
|
4418 case $_am_header in |
|
4419 $ac_file | $ac_file:* ) |
|
4420 break ;; |
|
4421 * ) |
|
4422 _am_stamp_count=`expr $_am_stamp_count + 1` ;; |
|
4423 esac |
|
4424 done |
|
4425 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null || |
|
4426 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
4427 X$ac_file : 'X\(//\)[^/]' \| \ |
|
4428 X$ac_file : 'X\(//\)$' \| \ |
|
4429 X$ac_file : 'X\(/\)' \| \ |
|
4430 . : '\(.\)' 2>/dev/null || |
|
4431 echo X$ac_file | |
|
4432 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
|
4433 /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
|
4434 /^X\(\/\/\)$/{ s//\1/; q; } |
|
4435 /^X\(\/\).*/{ s//\1/; q; } |
|
4436 s/.*/./; q'`/stamp-h$_am_stamp_count |
|
4437 done |
|
4438 _ACEOF |
|
4439 cat >>$CONFIG_STATUS <<\_ACEOF |
|
4440 |
|
4441 # |
|
4442 # CONFIG_COMMANDS section. |
|
4443 # |
|
4444 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue |
|
4445 ac_dest=`echo "$ac_file" | sed 's,:.*,,'` |
|
4446 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` |
|
4447 ac_dir=`(dirname "$ac_dest") 2>/dev/null || |
|
4448 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
4449 X"$ac_dest" : 'X\(//\)[^/]' \| \ |
|
4450 X"$ac_dest" : 'X\(//\)$' \| \ |
|
4451 X"$ac_dest" : 'X\(/\)' \| \ |
|
4452 . : '\(.\)' 2>/dev/null || |
|
4453 echo X"$ac_dest" | |
|
4454 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
|
4455 /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
|
4456 /^X\(\/\/\)$/{ s//\1/; q; } |
|
4457 /^X\(\/\).*/{ s//\1/; q; } |
|
4458 s/.*/./; q'` |
|
4459 { if $as_mkdir_p; then |
|
4460 mkdir -p "$ac_dir" |
|
4461 else |
|
4462 as_dir="$ac_dir" |
|
4463 as_dirs= |
|
4464 while test ! -d "$as_dir"; do |
|
4465 as_dirs="$as_dir $as_dirs" |
|
4466 as_dir=`(dirname "$as_dir") 2>/dev/null || |
|
4467 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
4468 X"$as_dir" : 'X\(//\)[^/]' \| \ |
|
4469 X"$as_dir" : 'X\(//\)$' \| \ |
|
4470 X"$as_dir" : 'X\(/\)' \| \ |
|
4471 . : '\(.\)' 2>/dev/null || |
|
4472 echo X"$as_dir" | |
|
4473 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
|
4474 /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
|
4475 /^X\(\/\/\)$/{ s//\1/; q; } |
|
4476 /^X\(\/\).*/{ s//\1/; q; } |
|
4477 s/.*/./; q'` |
|
4478 done |
|
4479 test ! -n "$as_dirs" || mkdir $as_dirs |
|
4480 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 |
|
4481 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} |
|
4482 { (exit 1); exit 1; }; }; } |
|
4483 |
|
4484 ac_builddir=. |
|
4485 |
|
4486 if test "$ac_dir" != .; then |
|
4487 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
|
4488 # A "../" for each directory in $ac_dir_suffix. |
|
4489 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` |
|
4490 else |
|
4491 ac_dir_suffix= ac_top_builddir= |
|
4492 fi |
|
4493 |
|
4494 case $srcdir in |
|
4495 .) # No --srcdir option. We are building in place. |
|
4496 ac_srcdir=. |
|
4497 if test -z "$ac_top_builddir"; then |
|
4498 ac_top_srcdir=. |
|
4499 else |
|
4500 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` |
|
4501 fi ;; |
|
4502 [\\/]* | ?:[\\/]* ) # Absolute path. |
|
4503 ac_srcdir=$srcdir$ac_dir_suffix; |
|
4504 ac_top_srcdir=$srcdir ;; |
|
4505 *) # Relative path. |
|
4506 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
|
4507 ac_top_srcdir=$ac_top_builddir$srcdir ;; |
|
4508 esac |
|
4509 |
|
4510 # Do not use `cd foo && pwd` to compute absolute paths, because |
|
4511 # the directories may not exist. |
|
4512 case `pwd` in |
|
4513 .) ac_abs_builddir="$ac_dir";; |
|
4514 *) |
|
4515 case "$ac_dir" in |
|
4516 .) ac_abs_builddir=`pwd`;; |
|
4517 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; |
|
4518 *) ac_abs_builddir=`pwd`/"$ac_dir";; |
|
4519 esac;; |
|
4520 esac |
|
4521 case $ac_abs_builddir in |
|
4522 .) ac_abs_top_builddir=${ac_top_builddir}.;; |
|
4523 *) |
|
4524 case ${ac_top_builddir}. in |
|
4525 .) ac_abs_top_builddir=$ac_abs_builddir;; |
|
4526 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; |
|
4527 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; |
|
4528 esac;; |
|
4529 esac |
|
4530 case $ac_abs_builddir in |
|
4531 .) ac_abs_srcdir=$ac_srcdir;; |
|
4532 *) |
|
4533 case $ac_srcdir in |
|
4534 .) ac_abs_srcdir=$ac_abs_builddir;; |
|
4535 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; |
|
4536 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; |
|
4537 esac;; |
|
4538 esac |
|
4539 case $ac_abs_builddir in |
|
4540 .) ac_abs_top_srcdir=$ac_top_srcdir;; |
|
4541 *) |
|
4542 case $ac_top_srcdir in |
|
4543 .) ac_abs_top_srcdir=$ac_abs_builddir;; |
|
4544 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; |
|
4545 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; |
|
4546 esac;; |
|
4547 esac |
|
4548 |
|
4549 |
|
4550 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5 |
|
4551 echo "$as_me: executing $ac_dest commands" >&6;} |
|
4552 case $ac_dest in |
|
4553 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do |
|
4554 # Strip MF so we end up with the name of the file. |
|
4555 mf=`echo "$mf" | sed -e 's/:.*$//'` |
|
4556 # Check whether this is an Automake generated Makefile or not. |
|
4557 # We used to match only the files named `Makefile.in', but |
|
4558 # some people rename them; so instead we look at the file content. |
|
4559 # Grep'ing the first line is not enough: some people post-process |
|
4560 # each Makefile.in and add a new line on top of each file to say so. |
|
4561 # So let's grep whole file. |
|
4562 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then |
|
4563 dirpart=`(dirname "$mf") 2>/dev/null || |
|
4564 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
4565 X"$mf" : 'X\(//\)[^/]' \| \ |
|
4566 X"$mf" : 'X\(//\)$' \| \ |
|
4567 X"$mf" : 'X\(/\)' \| \ |
|
4568 . : '\(.\)' 2>/dev/null || |
|
4569 echo X"$mf" | |
|
4570 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
|
4571 /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
|
4572 /^X\(\/\/\)$/{ s//\1/; q; } |
|
4573 /^X\(\/\).*/{ s//\1/; q; } |
|
4574 s/.*/./; q'` |
|
4575 else |
|
4576 continue |
|
4577 fi |
|
4578 # Extract the definition of DEPDIR, am__include, and am__quote |
|
4579 # from the Makefile without running `make'. |
|
4580 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` |
|
4581 test -z "$DEPDIR" && continue |
|
4582 am__include=`sed -n 's/^am__include = //p' < "$mf"` |
|
4583 test -z "am__include" && continue |
|
4584 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` |
|
4585 # When using ansi2knr, U may be empty or an underscore; expand it |
|
4586 U=`sed -n 's/^U = //p' < "$mf"` |
|
4587 # Find all dependency output files, they are included files with |
|
4588 # $(DEPDIR) in their names. We invoke sed twice because it is the |
|
4589 # simplest approach to changing $(DEPDIR) to its actual value in the |
|
4590 # expansion. |
|
4591 for file in `sed -n " |
|
4592 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ |
|
4593 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do |
|
4594 # Make sure the directory exists. |
|
4595 test -f "$dirpart/$file" && continue |
|
4596 fdir=`(dirname "$file") 2>/dev/null || |
|
4597 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
4598 X"$file" : 'X\(//\)[^/]' \| \ |
|
4599 X"$file" : 'X\(//\)$' \| \ |
|
4600 X"$file" : 'X\(/\)' \| \ |
|
4601 . : '\(.\)' 2>/dev/null || |
|
4602 echo X"$file" | |
|
4603 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
|
4604 /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
|
4605 /^X\(\/\/\)$/{ s//\1/; q; } |
|
4606 /^X\(\/\).*/{ s//\1/; q; } |
|
4607 s/.*/./; q'` |
|
4608 { if $as_mkdir_p; then |
|
4609 mkdir -p $dirpart/$fdir |
|
4610 else |
|
4611 as_dir=$dirpart/$fdir |
|
4612 as_dirs= |
|
4613 while test ! -d "$as_dir"; do |
|
4614 as_dirs="$as_dir $as_dirs" |
|
4615 as_dir=`(dirname "$as_dir") 2>/dev/null || |
|
4616 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
4617 X"$as_dir" : 'X\(//\)[^/]' \| \ |
|
4618 X"$as_dir" : 'X\(//\)$' \| \ |
|
4619 X"$as_dir" : 'X\(/\)' \| \ |
|
4620 . : '\(.\)' 2>/dev/null || |
|
4621 echo X"$as_dir" | |
|
4622 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
|
4623 /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
|
4624 /^X\(\/\/\)$/{ s//\1/; q; } |
|
4625 /^X\(\/\).*/{ s//\1/; q; } |
|
4626 s/.*/./; q'` |
|
4627 done |
|
4628 test ! -n "$as_dirs" || mkdir $as_dirs |
|
4629 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5 |
|
4630 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;} |
|
4631 { (exit 1); exit 1; }; }; } |
|
4632 |
|
4633 # echo "creating $dirpart/$file" |
|
4634 echo '# dummy' > "$dirpart/$file" |
|
4635 done |
|
4636 done |
|
4637 ;; |
|
4638 esac |
|
4639 done |
|
4640 _ACEOF |
|
4641 |
|
4642 cat >>$CONFIG_STATUS <<\_ACEOF |
|
4643 |
|
4644 { (exit 0); exit 0; } |
|
4645 _ACEOF |
|
4646 chmod +x $CONFIG_STATUS |
|
4647 ac_clean_files=$ac_clean_files_save |
|
4648 |
|
4649 |
|
4650 # configure is writing to config.log, and then calls config.status. |
|
4651 # config.status does its own redirection, appending to config.log. |
|
4652 # Unfortunately, on DOS this fails, as config.log is still kept open |
|
4653 # by configure, so config.status won't be able to write to it; its |
|
4654 # output is simply discarded. So we exec the FD to /dev/null, |
|
4655 # effectively closing config.log, so it can be properly (re)opened and |
|
4656 # appended to by config.status. When coming back to configure, we |
|
4657 # need to make the FD available again. |
|
4658 if test "$no_create" != yes; then |
|
4659 ac_cs_success=: |
|
4660 ac_config_status_args= |
|
4661 test "$silent" = yes && |
|
4662 ac_config_status_args="$ac_config_status_args --quiet" |
|
4663 exec 5>/dev/null |
|
4664 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
|
4665 exec 5>>config.log |
|
4666 # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
|
4667 # would make configure fail if this is the last instruction. |
|
4668 $ac_cs_success || { (exit 1); exit 1; } |
|
4669 fi |
|
4670 |