configure revision 1.1 1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for imake 1.0.2.
4 #
5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
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='imake'
271 PACKAGE_TARNAME='imake'
272 PACKAGE_VERSION='1.0.2'
273 PACKAGE_STRING='imake 1.0.2'
274 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
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 MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT 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 CPP SED RAWCPP RAWCPPFLAGS CPP_PROGRAM HAS_PERL HAS_PERL_TRUE HAS_PERL_FALSE XCONFDIR PREPROCESSCMD_MKDEPEND ARCMD RANLIB BUILD_REVPATH_TRUE BUILD_REVPATH_FALSE BUILD_MAKEG_TRUE BUILD_MAKEG_FALSE BUILD_XMKMF_TRUE BUILD_XMKMF_FALSE BUILD_CCMAKEDEP_TRUE BUILD_CCMAKEDEP_FALSE BUILD_MERGELIB_TRUE BUILD_MERGELIB_FALSE BUILD_MKDIRHIER_TRUE BUILD_MKDIRHIER_FALSE BUILD_CLEANLINKS_TRUE BUILD_CLEANLINKS_FALSE BUILD_MKHTMLINDEX_TRUE BUILD_MKHTMLINDEX_FALSE PKG_CONFIG ac_pt_PKG_CONFIG XPROTO_CFLAGS XPROTO_LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os APP_MAN_SUFFIX LIB_MAN_SUFFIX FILE_MAN_SUFFIX MISC_MAN_SUFFIX DRIVER_MAN_SUFFIX ADMIN_MAN_SUFFIX APP_MAN_DIR LIB_MAN_DIR FILE_MAN_DIR MISC_MAN_DIR DRIVER_MAN_DIR ADMIN_MAN_DIR 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 ac_env_CPP_set=${CPP+set}
734 ac_env_CPP_value=$CPP
735 ac_cv_env_CPP_set=${CPP+set}
736 ac_cv_env_CPP_value=$CPP
737 ac_env_PKG_CONFIG_set=${PKG_CONFIG+set}
738 ac_env_PKG_CONFIG_value=$PKG_CONFIG
739 ac_cv_env_PKG_CONFIG_set=${PKG_CONFIG+set}
740 ac_cv_env_PKG_CONFIG_value=$PKG_CONFIG
741 ac_env_XPROTO_CFLAGS_set=${XPROTO_CFLAGS+set}
742 ac_env_XPROTO_CFLAGS_value=$XPROTO_CFLAGS
743 ac_cv_env_XPROTO_CFLAGS_set=${XPROTO_CFLAGS+set}
744 ac_cv_env_XPROTO_CFLAGS_value=$XPROTO_CFLAGS
745 ac_env_XPROTO_LIBS_set=${XPROTO_LIBS+set}
746 ac_env_XPROTO_LIBS_value=$XPROTO_LIBS
747 ac_cv_env_XPROTO_LIBS_set=${XPROTO_LIBS+set}
748 ac_cv_env_XPROTO_LIBS_value=$XPROTO_LIBS
749
750 #
751 # Report the --help message.
752 #
753 if test "$ac_init_help" = "long"; then
754 # Omit some internal or obsolete options to make the list less imposing.
755 # This message is too long to be a string in the A/UX 3.1 sh.
756 cat <<_ACEOF
757 \`configure' configures imake 1.0.2 to adapt to many kinds of systems.
758
759 Usage: $0 [OPTION]... [VAR=VALUE]...
760
761 To assign environment variables (e.g., CC, CFLAGS...), specify them as
762 VAR=VALUE. See below for descriptions of some of the useful variables.
763
764 Defaults for the options are specified in brackets.
765
766 Configuration:
767 -h, --help display this help and exit
768 --help=short display options specific to this package
769 --help=recursive display the short help of all the included packages
770 -V, --version display version information and exit
771 -q, --quiet, --silent do not print \`checking...' messages
772 --cache-file=FILE cache test results in FILE [disabled]
773 -C, --config-cache alias for \`--cache-file=config.cache'
774 -n, --no-create do not create output files
775 --srcdir=DIR find the sources in DIR [configure dir or \`..']
776
777 _ACEOF
778
779 cat <<_ACEOF
780 Installation directories:
781 --prefix=PREFIX install architecture-independent files in PREFIX
782 [$ac_default_prefix]
783 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
784 [PREFIX]
785
786 By default, \`make install' will install all the files in
787 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
788 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
789 for instance \`--prefix=\$HOME'.
790
791 For better control, use the options below.
792
793 Fine tuning of the installation directories:
794 --bindir=DIR user executables [EPREFIX/bin]
795 --sbindir=DIR system admin executables [EPREFIX/sbin]
796 --libexecdir=DIR program executables [EPREFIX/libexec]
797 --datadir=DIR read-only architecture-independent data [PREFIX/share]
798 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
799 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
800 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
801 --libdir=DIR object code libraries [EPREFIX/lib]
802 --includedir=DIR C header files [PREFIX/include]
803 --oldincludedir=DIR C header files for non-gcc [/usr/include]
804 --infodir=DIR info documentation [PREFIX/info]
805 --mandir=DIR man documentation [PREFIX/man]
806 _ACEOF
807
808 cat <<\_ACEOF
809
810 Program names:
811 --program-prefix=PREFIX prepend PREFIX to installed program names
812 --program-suffix=SUFFIX append SUFFIX to installed program names
813 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
814
815 System types:
816 --build=BUILD configure for building on BUILD [guessed]
817 --host=HOST cross-compile to build programs to run on HOST [BUILD]
818 _ACEOF
819 fi
820
821 if test -n "$ac_init_help"; then
822 case $ac_init_help in
823 short | recursive ) echo "Configuration of imake 1.0.2:";;
824 esac
825 cat <<\_ACEOF
826
827 Optional Features:
828 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
829 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
830 --enable-maintainer-mode enable make rules and dependencies not useful
831 (and sometimes confusing) to the casual installer
832 --disable-dependency-tracking speeds up one-time build
833 --enable-dependency-tracking do not reject slow dependency extractors
834 --disable-revpath Build revpath (default: enabled)
835 --disable-makeg Build makeg (default: enabled)
836 --disable-xmkmf Build xmkmf (default: enabled)
837 --disable-ccmakedep Build ccmakedep (default: enabled)
838 --disable-mergelib Build mergelib (default: enabled)
839 --disable-mkdirhier Build mkdirhier (default: enabled)
840 --disable-cleanlinks Build cleanlinks (default: enabled)
841 --disable-mkhtmlindex Build mkhtmlindex (default: enabled)
842
843 Optional Packages:
844 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
845 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
846 --with-config-dir=<path>
847 Path to config dir (default: ${libdir}/X11/config)
848 --with-script-preproc-cmd=CMD
849 Preprocessor command to run on scripts (default:
850 "gcc -E")
851 --with-create-lib-cmd=CMD
852 Command to create libraries (default: "ar clq")
853 --with-clean-lib-cmd=CMD
854 Command to clean up libraries (default: "ranlib")
855 --with-release-version=STRING
856 Use release version string in package name
857
858 Some influential environment variables:
859 CC C compiler command
860 CFLAGS C compiler flags
861 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
862 nonstandard directory <lib dir>
863 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
864 headers in a nonstandard directory <include dir>
865 CPP C preprocessor
866 PKG_CONFIG path to pkg-config utility
867 XPROTO_CFLAGS
868 C compiler flags for XPROTO, overriding pkg-config
869 XPROTO_LIBS linker flags for XPROTO, overriding pkg-config
870
871 Use these variables to override the choices made by `configure' or to help
872 it to find libraries and programs with nonstandard names/locations.
873
874 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
875 _ACEOF
876 fi
877
878 if test "$ac_init_help" = "recursive"; then
879 # If there are subdirs, report their specific --help.
880 ac_popdir=`pwd`
881 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
882 test -d $ac_dir || continue
883 ac_builddir=.
884
885 if test "$ac_dir" != .; then
886 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
887 # A "../" for each directory in $ac_dir_suffix.
888 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
889 else
890 ac_dir_suffix= ac_top_builddir=
891 fi
892
893 case $srcdir in
894 .) # No --srcdir option. We are building in place.
895 ac_srcdir=.
896 if test -z "$ac_top_builddir"; then
897 ac_top_srcdir=.
898 else
899 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
900 fi ;;
901 [\\/]* | ?:[\\/]* ) # Absolute path.
902 ac_srcdir=$srcdir$ac_dir_suffix;
903 ac_top_srcdir=$srcdir ;;
904 *) # Relative path.
905 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
906 ac_top_srcdir=$ac_top_builddir$srcdir ;;
907 esac
908
909 # Do not use `cd foo && pwd` to compute absolute paths, because
910 # the directories may not exist.
911 case `pwd` in
912 .) ac_abs_builddir="$ac_dir";;
913 *)
914 case "$ac_dir" in
915 .) ac_abs_builddir=`pwd`;;
916 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
917 *) ac_abs_builddir=`pwd`/"$ac_dir";;
918 esac;;
919 esac
920 case $ac_abs_builddir in
921 .) ac_abs_top_builddir=${ac_top_builddir}.;;
922 *)
923 case ${ac_top_builddir}. in
924 .) ac_abs_top_builddir=$ac_abs_builddir;;
925 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
926 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
927 esac;;
928 esac
929 case $ac_abs_builddir in
930 .) ac_abs_srcdir=$ac_srcdir;;
931 *)
932 case $ac_srcdir in
933 .) ac_abs_srcdir=$ac_abs_builddir;;
934 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
935 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
936 esac;;
937 esac
938 case $ac_abs_builddir in
939 .) ac_abs_top_srcdir=$ac_top_srcdir;;
940 *)
941 case $ac_top_srcdir in
942 .) ac_abs_top_srcdir=$ac_abs_builddir;;
943 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
944 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
945 esac;;
946 esac
947
948 cd $ac_dir
949 # Check for guested configure; otherwise get Cygnus style configure.
950 if test -f $ac_srcdir/configure.gnu; then
951 echo
952 $SHELL $ac_srcdir/configure.gnu --help=recursive
953 elif test -f $ac_srcdir/configure; then
954 echo
955 $SHELL $ac_srcdir/configure --help=recursive
956 elif test -f $ac_srcdir/configure.ac ||
957 test -f $ac_srcdir/configure.in; then
958 echo
959 $ac_configure --help
960 else
961 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
962 fi
963 cd $ac_popdir
964 done
965 fi
966
967 test -n "$ac_init_help" && exit 0
968 if $ac_init_version; then
969 cat <<\_ACEOF
970 imake configure 1.0.2
971 generated by GNU Autoconf 2.59
972
973 Copyright (C) 2003 Free Software Foundation, Inc.
974 This configure script is free software; the Free Software Foundation
975 gives unlimited permission to copy, distribute and modify it.
976 _ACEOF
977 exit 0
978 fi
979 exec 5>config.log
980 cat >&5 <<_ACEOF
981 This file contains any messages produced by compilers while
982 running configure, to aid debugging if configure makes a mistake.
983
984 It was created by imake $as_me 1.0.2, which was
985 generated by GNU Autoconf 2.59. Invocation command line was
986
987 $ $0 $@
988
989 _ACEOF
990 {
991 cat <<_ASUNAME
992 ## --------- ##
993 ## Platform. ##
994 ## --------- ##
995
996 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
997 uname -m = `(uname -m) 2>/dev/null || echo unknown`
998 uname -r = `(uname -r) 2>/dev/null || echo unknown`
999 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1000 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1001
1002 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1003 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1004
1005 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1006 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1007 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1008 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1009 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1010 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1011 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1012
1013 _ASUNAME
1014
1015 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1016 for as_dir in $PATH
1017 do
1018 IFS=$as_save_IFS
1019 test -z "$as_dir" && as_dir=.
1020 echo "PATH: $as_dir"
1021 done
1022
1023 } >&5
1024
1025 cat >&5 <<_ACEOF
1026
1027
1028 ## ----------- ##
1029 ## Core tests. ##
1030 ## ----------- ##
1031
1032 _ACEOF
1033
1034
1035 # Keep a trace of the command line.
1036 # Strip out --no-create and --no-recursion so they do not pile up.
1037 # Strip out --silent because we don't want to record it for future runs.
1038 # Also quote any args containing shell meta-characters.
1039 # Make two passes to allow for proper duplicate-argument suppression.
1040 ac_configure_args=
1041 ac_configure_args0=
1042 ac_configure_args1=
1043 ac_sep=
1044 ac_must_keep_next=false
1045 for ac_pass in 1 2
1046 do
1047 for ac_arg
1048 do
1049 case $ac_arg in
1050 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1051 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1052 | -silent | --silent | --silen | --sile | --sil)
1053 continue ;;
1054 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1055 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1056 esac
1057 case $ac_pass in
1058 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1059 2)
1060 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1061 if test $ac_must_keep_next = true; then
1062 ac_must_keep_next=false # Got value, back to normal.
1063 else
1064 case $ac_arg in
1065 *=* | --config-cache | -C | -disable-* | --disable-* \
1066 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1067 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1068 | -with-* | --with-* | -without-* | --without-* | --x)
1069 case "$ac_configure_args0 " in
1070 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1071 esac
1072 ;;
1073 -* ) ac_must_keep_next=true ;;
1074 esac
1075 fi
1076 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1077 # Get rid of the leading space.
1078 ac_sep=" "
1079 ;;
1080 esac
1081 done
1082 done
1083 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1084 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1085
1086 # When interrupted or exit'd, cleanup temporary files, and complete
1087 # config.log. We remove comments because anyway the quotes in there
1088 # would cause problems or look ugly.
1089 # WARNING: Be sure not to use single quotes in there, as some shells,
1090 # such as our DU 5.0 friend, will then `close' the trap.
1091 trap 'exit_status=$?
1092 # Save into config.log some information that might help in debugging.
1093 {
1094 echo
1095
1096 cat <<\_ASBOX
1097 ## ---------------- ##
1098 ## Cache variables. ##
1099 ## ---------------- ##
1100 _ASBOX
1101 echo
1102 # The following way of writing the cache mishandles newlines in values,
1103 {
1104 (set) 2>&1 |
1105 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1106 *ac_space=\ *)
1107 sed -n \
1108 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1109 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1110 ;;
1111 *)
1112 sed -n \
1113 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1114 ;;
1115 esac;
1116 }
1117 echo
1118
1119 cat <<\_ASBOX
1120 ## ----------------- ##
1121 ## Output variables. ##
1122 ## ----------------- ##
1123 _ASBOX
1124 echo
1125 for ac_var in $ac_subst_vars
1126 do
1127 eval ac_val=$`echo $ac_var`
1128 echo "$ac_var='"'"'$ac_val'"'"'"
1129 done | sort
1130 echo
1131
1132 if test -n "$ac_subst_files"; then
1133 cat <<\_ASBOX
1134 ## ------------- ##
1135 ## Output files. ##
1136 ## ------------- ##
1137 _ASBOX
1138 echo
1139 for ac_var in $ac_subst_files
1140 do
1141 eval ac_val=$`echo $ac_var`
1142 echo "$ac_var='"'"'$ac_val'"'"'"
1143 done | sort
1144 echo
1145 fi
1146
1147 if test -s confdefs.h; then
1148 cat <<\_ASBOX
1149 ## ----------- ##
1150 ## confdefs.h. ##
1151 ## ----------- ##
1152 _ASBOX
1153 echo
1154 sed "/^$/d" confdefs.h | sort
1155 echo
1156 fi
1157 test "$ac_signal" != 0 &&
1158 echo "$as_me: caught signal $ac_signal"
1159 echo "$as_me: exit $exit_status"
1160 } >&5
1161 rm -f core *.core &&
1162 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1163 exit $exit_status
1164 ' 0
1165 for ac_signal in 1 2 13 15; do
1166 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1167 done
1168 ac_signal=0
1169
1170 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1171 rm -rf conftest* confdefs.h
1172 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1173 echo >confdefs.h
1174
1175 # Predefined preprocessor variables.
1176
1177 cat >>confdefs.h <<_ACEOF
1178 #define PACKAGE_NAME "$PACKAGE_NAME"
1179 _ACEOF
1180
1181
1182 cat >>confdefs.h <<_ACEOF
1183 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1184 _ACEOF
1185
1186
1187 cat >>confdefs.h <<_ACEOF
1188 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1189 _ACEOF
1190
1191
1192 cat >>confdefs.h <<_ACEOF
1193 #define PACKAGE_STRING "$PACKAGE_STRING"
1194 _ACEOF
1195
1196
1197 cat >>confdefs.h <<_ACEOF
1198 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1199 _ACEOF
1200
1201
1202 # Let the site file select an alternate cache file if it wants to.
1203 # Prefer explicitly selected file to automatically selected ones.
1204 if test -z "$CONFIG_SITE"; then
1205 if test "x$prefix" != xNONE; then
1206 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1207 else
1208 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1209 fi
1210 fi
1211 for ac_site_file in $CONFIG_SITE; do
1212 if test -r "$ac_site_file"; then
1213 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1214 echo "$as_me: loading site script $ac_site_file" >&6;}
1215 sed 's/^/| /' "$ac_site_file" >&5
1216 . "$ac_site_file"
1217 fi
1218 done
1219
1220 if test -r "$cache_file"; then
1221 # Some versions of bash will fail to source /dev/null (special
1222 # files actually), so we avoid doing that.
1223 if test -f "$cache_file"; then
1224 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1225 echo "$as_me: loading cache $cache_file" >&6;}
1226 case $cache_file in
1227 [\\/]* | ?:[\\/]* ) . $cache_file;;
1228 *) . ./$cache_file;;
1229 esac
1230 fi
1231 else
1232 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1233 echo "$as_me: creating cache $cache_file" >&6;}
1234 >$cache_file
1235 fi
1236
1237 # Check that the precious variables saved in the cache have kept the same
1238 # value.
1239 ac_cache_corrupted=false
1240 for ac_var in `(set) 2>&1 |
1241 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1242 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1243 eval ac_new_set=\$ac_env_${ac_var}_set
1244 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1245 eval ac_new_val="\$ac_env_${ac_var}_value"
1246 case $ac_old_set,$ac_new_set in
1247 set,)
1248 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1249 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1250 ac_cache_corrupted=: ;;
1251 ,set)
1252 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1253 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1254 ac_cache_corrupted=: ;;
1255 ,);;
1256 *)
1257 if test "x$ac_old_val" != "x$ac_new_val"; then
1258 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1259 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1260 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1261 echo "$as_me: former value: $ac_old_val" >&2;}
1262 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1263 echo "$as_me: current value: $ac_new_val" >&2;}
1264 ac_cache_corrupted=:
1265 fi;;
1266 esac
1267 # Pass precious variables to config.status.
1268 if test "$ac_new_set" = set; then
1269 case $ac_new_val in
1270 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1271 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1272 *) ac_arg=$ac_var=$ac_new_val ;;
1273 esac
1274 case " $ac_configure_args " in
1275 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1276 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1277 esac
1278 fi
1279 done
1280 if $ac_cache_corrupted; then
1281 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1282 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1283 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1284 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1285 { (exit 1); exit 1; }; }
1286 fi
1287
1288 ac_ext=c
1289 ac_cpp='$CPP $CPPFLAGS'
1290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320 am__api_version="1.9"
1321 ac_aux_dir=
1322 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1323 if test -f $ac_dir/install-sh; then
1324 ac_aux_dir=$ac_dir
1325 ac_install_sh="$ac_aux_dir/install-sh -c"
1326 break
1327 elif test -f $ac_dir/install.sh; then
1328 ac_aux_dir=$ac_dir
1329 ac_install_sh="$ac_aux_dir/install.sh -c"
1330 break
1331 elif test -f $ac_dir/shtool; then
1332 ac_aux_dir=$ac_dir
1333 ac_install_sh="$ac_aux_dir/shtool install -c"
1334 break
1335 fi
1336 done
1337 if test -z "$ac_aux_dir"; then
1338 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1339 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1340 { (exit 1); exit 1; }; }
1341 fi
1342 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1343 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1344 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1345
1346 # Find a good install program. We prefer a C program (faster),
1347 # so one script is as good as another. But avoid the broken or
1348 # incompatible versions:
1349 # SysV /etc/install, /usr/sbin/install
1350 # SunOS /usr/etc/install
1351 # IRIX /sbin/install
1352 # AIX /bin/install
1353 # AmigaOS /C/install, which installs bootblocks on floppy discs
1354 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1355 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1356 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1357 # OS/2's system install, which has a completely different semantic
1358 # ./install, which can be erroneously created by make from ./install.sh.
1359 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1360 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1361 if test -z "$INSTALL"; then
1362 if test "${ac_cv_path_install+set}" = set; then
1363 echo $ECHO_N "(cached) $ECHO_C" >&6
1364 else
1365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1366 for as_dir in $PATH
1367 do
1368 IFS=$as_save_IFS
1369 test -z "$as_dir" && as_dir=.
1370 # Account for people who put trailing slashes in PATH elements.
1371 case $as_dir/ in
1372 ./ | .// | /cC/* | \
1373 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1374 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1375 /usr/ucb/* ) ;;
1376 *)
1377 # OSF1 and SCO ODT 3.0 have their own names for install.
1378 # Don't use installbsd from OSF since it installs stuff as root
1379 # by default.
1380 for ac_prog in ginstall scoinst install; do
1381 for ac_exec_ext in '' $ac_executable_extensions; do
1382 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1383 if test $ac_prog = install &&
1384 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1385 # AIX install. It has an incompatible calling convention.
1386 :
1387 elif test $ac_prog = install &&
1388 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1389 # program-specific install script used by HP pwplus--don't use.
1390 :
1391 else
1392 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1393 break 3
1394 fi
1395 fi
1396 done
1397 done
1398 ;;
1399 esac
1400 done
1401
1402
1403 fi
1404 if test "${ac_cv_path_install+set}" = set; then
1405 INSTALL=$ac_cv_path_install
1406 else
1407 # As a last resort, use the slow shell script. We don't cache a
1408 # path for INSTALL within a source directory, because that will
1409 # break other packages using the cache if that directory is
1410 # removed, or if the path is relative.
1411 INSTALL=$ac_install_sh
1412 fi
1413 fi
1414 echo "$as_me:$LINENO: result: $INSTALL" >&5
1415 echo "${ECHO_T}$INSTALL" >&6
1416
1417 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1418 # It thinks the first close brace ends the variable substitution.
1419 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1420
1421 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1422
1423 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1424
1425 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1426 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1427 # Just in case
1428 sleep 1
1429 echo timestamp > conftest.file
1430 # Do `set' in a subshell so we don't clobber the current shell's
1431 # arguments. Must try -L first in case configure is actually a
1432 # symlink; some systems play weird games with the mod time of symlinks
1433 # (eg FreeBSD returns the mod time of the symlink's containing
1434 # directory).
1435 if (
1436 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1437 if test "$*" = "X"; then
1438 # -L didn't work.
1439 set X `ls -t $srcdir/configure conftest.file`
1440 fi
1441 rm -f conftest.file
1442 if test "$*" != "X $srcdir/configure conftest.file" \
1443 && test "$*" != "X conftest.file $srcdir/configure"; then
1444
1445 # If neither matched, then we have a broken ls. This can happen
1446 # if, for instance, CONFIG_SHELL is bash and it inherits a
1447 # broken ls alias from the environment. This has actually
1448 # happened. Such a system could not be considered "sane".
1449 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1450 alias in your environment" >&5
1451 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1452 alias in your environment" >&2;}
1453 { (exit 1); exit 1; }; }
1454 fi
1455
1456 test "$2" = conftest.file
1457 )
1458 then
1459 # Ok.
1460 :
1461 else
1462 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1463 Check your system clock" >&5
1464 echo "$as_me: error: newly created file is older than distributed files!
1465 Check your system clock" >&2;}
1466 { (exit 1); exit 1; }; }
1467 fi
1468 echo "$as_me:$LINENO: result: yes" >&5
1469 echo "${ECHO_T}yes" >&6
1470 test "$program_prefix" != NONE &&
1471 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1472 # Use a double $ so make ignores it.
1473 test "$program_suffix" != NONE &&
1474 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1475 # Double any \ or $. echo might interpret backslashes.
1476 # By default was `s,x,x', remove it if useless.
1477 cat <<\_ACEOF >conftest.sed
1478 s/[\\$]/&&/g;s/;s,x,x,$//
1479 _ACEOF
1480 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1481 rm conftest.sed
1482
1483 # expand $ac_aux_dir to an absolute path
1484 am_aux_dir=`cd $ac_aux_dir && pwd`
1485
1486 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1487 # Use eval to expand $SHELL
1488 if eval "$MISSING --run true"; then
1489 am_missing_run="$MISSING --run "
1490 else
1491 am_missing_run=
1492 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1493 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1494 fi
1495
1496 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1497 # We used to keeping the `.' as first argument, in order to
1498 # allow $(mkdir_p) to be used without argument. As in
1499 # $(mkdir_p) $(somedir)
1500 # where $(somedir) is conditionally defined. However this is wrong
1501 # for two reasons:
1502 # 1. if the package is installed by a user who cannot write `.'
1503 # make install will fail,
1504 # 2. the above comment should most certainly read
1505 # $(mkdir_p) $(DESTDIR)$(somedir)
1506 # so it does not work when $(somedir) is undefined and
1507 # $(DESTDIR) is not.
1508 # To support the latter case, we have to write
1509 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1510 # so the `.' trick is pointless.
1511 mkdir_p='mkdir -p --'
1512 else
1513 # On NextStep and OpenStep, the `mkdir' command does not
1514 # recognize any option. It will interpret all options as
1515 # directories to create, and then abort because `.' already
1516 # exists.
1517 for d in ./-p ./--version;
1518 do
1519 test -d $d && rmdir $d
1520 done
1521 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1522 if test -f "$ac_aux_dir/mkinstalldirs"; then
1523 mkdir_p='$(mkinstalldirs)'
1524 else
1525 mkdir_p='$(install_sh) -d'
1526 fi
1527 fi
1528
1529 for ac_prog in gawk mawk nawk awk
1530 do
1531 # Extract the first word of "$ac_prog", so it can be a program name with args.
1532 set dummy $ac_prog; ac_word=$2
1533 echo "$as_me:$LINENO: checking for $ac_word" >&5
1534 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1535 if test "${ac_cv_prog_AWK+set}" = set; then
1536 echo $ECHO_N "(cached) $ECHO_C" >&6
1537 else
1538 if test -n "$AWK"; then
1539 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1540 else
1541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1542 for as_dir in $PATH
1543 do
1544 IFS=$as_save_IFS
1545 test -z "$as_dir" && as_dir=.
1546 for ac_exec_ext in '' $ac_executable_extensions; do
1547 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1548 ac_cv_prog_AWK="$ac_prog"
1549 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1550 break 2
1551 fi
1552 done
1553 done
1554
1555 fi
1556 fi
1557 AWK=$ac_cv_prog_AWK
1558 if test -n "$AWK"; then
1559 echo "$as_me:$LINENO: result: $AWK" >&5
1560 echo "${ECHO_T}$AWK" >&6
1561 else
1562 echo "$as_me:$LINENO: result: no" >&5
1563 echo "${ECHO_T}no" >&6
1564 fi
1565
1566 test -n "$AWK" && break
1567 done
1568
1569 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1570 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1571 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1572 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1573 echo $ECHO_N "(cached) $ECHO_C" >&6
1574 else
1575 cat >conftest.make <<\_ACEOF
1576 all:
1577 @echo 'ac_maketemp="$(MAKE)"'
1578 _ACEOF
1579 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1580 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1581 if test -n "$ac_maketemp"; then
1582 eval ac_cv_prog_make_${ac_make}_set=yes
1583 else
1584 eval ac_cv_prog_make_${ac_make}_set=no
1585 fi
1586 rm -f conftest.make
1587 fi
1588 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1589 echo "$as_me:$LINENO: result: yes" >&5
1590 echo "${ECHO_T}yes" >&6
1591 SET_MAKE=
1592 else
1593 echo "$as_me:$LINENO: result: no" >&5
1594 echo "${ECHO_T}no" >&6
1595 SET_MAKE="MAKE=${MAKE-make}"
1596 fi
1597
1598 rm -rf .tst 2>/dev/null
1599 mkdir .tst 2>/dev/null
1600 if test -d .tst; then
1601 am__leading_dot=.
1602 else
1603 am__leading_dot=_
1604 fi
1605 rmdir .tst 2>/dev/null
1606
1607 # test to see if srcdir already configured
1608 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1609 test -f $srcdir/config.status; then
1610 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1611 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1612 { (exit 1); exit 1; }; }
1613 fi
1614
1615 # test whether we have cygpath
1616 if test -z "$CYGPATH_W"; then
1617 if (cygpath --version) >/dev/null 2>/dev/null; then
1618 CYGPATH_W='cygpath -w'
1619 else
1620 CYGPATH_W=echo
1621 fi
1622 fi
1623
1624
1625 # Define the identity of the package.
1626 PACKAGE='imake'
1627 VERSION='1.0.2'
1628
1629
1630 cat >>confdefs.h <<_ACEOF
1631 #define PACKAGE "$PACKAGE"
1632 _ACEOF
1633
1634
1635 cat >>confdefs.h <<_ACEOF
1636 #define VERSION "$VERSION"
1637 _ACEOF
1638
1639 # Some tools Automake needs.
1640
1641 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1642
1643
1644 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1645
1646
1647 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1648
1649
1650 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1651
1652
1653 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1654
1655 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1656
1657 # Installed binaries are usually stripped using `strip' when the user
1658 # run `make install-strip'. However `strip' might not be the right
1659 # tool to use in cross-compilation environments, therefore Automake
1660 # will honor the `STRIP' environment variable to overrule this program.
1661 if test "$cross_compiling" != no; then
1662 if test -n "$ac_tool_prefix"; then
1663 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1664 set dummy ${ac_tool_prefix}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_STRIP+set}" = set; then
1668 echo $ECHO_N "(cached) $ECHO_C" >&6
1669 else
1670 if test -n "$STRIP"; then
1671 ac_cv_prog_STRIP="$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_STRIP="${ac_tool_prefix}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 fi
1688 fi
1689 STRIP=$ac_cv_prog_STRIP
1690 if test -n "$STRIP"; then
1691 echo "$as_me:$LINENO: result: $STRIP" >&5
1692 echo "${ECHO_T}$STRIP" >&6
1693 else
1694 echo "$as_me:$LINENO: result: no" >&5
1695 echo "${ECHO_T}no" >&6
1696 fi
1697
1698 fi
1699 if test -z "$ac_cv_prog_STRIP"; then
1700 ac_ct_STRIP=$STRIP
1701 # Extract the first word of "strip", so it can be a program name with args.
1702 set dummy strip; ac_word=$2
1703 echo "$as_me:$LINENO: checking for $ac_word" >&5
1704 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1705 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1706 echo $ECHO_N "(cached) $ECHO_C" >&6
1707 else
1708 if test -n "$ac_ct_STRIP"; then
1709 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1710 else
1711 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1712 for as_dir in $PATH
1713 do
1714 IFS=$as_save_IFS
1715 test -z "$as_dir" && as_dir=.
1716 for ac_exec_ext in '' $ac_executable_extensions; do
1717 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1718 ac_cv_prog_ac_ct_STRIP="strip"
1719 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1720 break 2
1721 fi
1722 done
1723 done
1724
1725 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1726 fi
1727 fi
1728 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1729 if test -n "$ac_ct_STRIP"; then
1730 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1731 echo "${ECHO_T}$ac_ct_STRIP" >&6
1732 else
1733 echo "$as_me:$LINENO: result: no" >&5
1734 echo "${ECHO_T}no" >&6
1735 fi
1736
1737 STRIP=$ac_ct_STRIP
1738 else
1739 STRIP="$ac_cv_prog_STRIP"
1740 fi
1741
1742 fi
1743 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1744
1745 # We need awk for the "check" target. The system "awk" is bad on
1746 # some platforms.
1747 # Always define AMTAR for backward compatibility.
1748
1749 AMTAR=${AMTAR-"${am_missing_run}tar"}
1750
1751 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1752
1753
1754
1755
1756
1757 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1758 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1759 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1760 if test "${enable_maintainer_mode+set}" = set; then
1761 enableval="$enable_maintainer_mode"
1762 USE_MAINTAINER_MODE=$enableval
1763 else
1764 USE_MAINTAINER_MODE=no
1765 fi;
1766 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1767 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1768
1769
1770 if test $USE_MAINTAINER_MODE = yes; then
1771 MAINTAINER_MODE_TRUE=
1772 MAINTAINER_MODE_FALSE='#'
1773 else
1774 MAINTAINER_MODE_TRUE='#'
1775 MAINTAINER_MODE_FALSE=
1776 fi
1777
1778 MAINT=$MAINTAINER_MODE_TRUE
1779
1780
1781
1782 ac_config_headers="$ac_config_headers config.h"
1783
1784
1785 ac_ext=c
1786 ac_cpp='$CPP $CPPFLAGS'
1787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1790 if test -n "$ac_tool_prefix"; then
1791 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1792 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1793 echo "$as_me:$LINENO: checking for $ac_word" >&5
1794 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1795 if test "${ac_cv_prog_CC+set}" = set; then
1796 echo $ECHO_N "(cached) $ECHO_C" >&6
1797 else
1798 if test -n "$CC"; then
1799 ac_cv_prog_CC="$CC" # Let the user override the test.
1800 else
1801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1802 for as_dir in $PATH
1803 do
1804 IFS=$as_save_IFS
1805 test -z "$as_dir" && as_dir=.
1806 for ac_exec_ext in '' $ac_executable_extensions; do
1807 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1808 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1809 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1810 break 2
1811 fi
1812 done
1813 done
1814
1815 fi
1816 fi
1817 CC=$ac_cv_prog_CC
1818 if test -n "$CC"; then
1819 echo "$as_me:$LINENO: result: $CC" >&5
1820 echo "${ECHO_T}$CC" >&6
1821 else
1822 echo "$as_me:$LINENO: result: no" >&5
1823 echo "${ECHO_T}no" >&6
1824 fi
1825
1826 fi
1827 if test -z "$ac_cv_prog_CC"; then
1828 ac_ct_CC=$CC
1829 # Extract the first word of "gcc", so it can be a program name with args.
1830 set dummy gcc; ac_word=$2
1831 echo "$as_me:$LINENO: checking for $ac_word" >&5
1832 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1833 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1834 echo $ECHO_N "(cached) $ECHO_C" >&6
1835 else
1836 if test -n "$ac_ct_CC"; then
1837 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1838 else
1839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1840 for as_dir in $PATH
1841 do
1842 IFS=$as_save_IFS
1843 test -z "$as_dir" && as_dir=.
1844 for ac_exec_ext in '' $ac_executable_extensions; do
1845 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1846 ac_cv_prog_ac_ct_CC="gcc"
1847 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1848 break 2
1849 fi
1850 done
1851 done
1852
1853 fi
1854 fi
1855 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1856 if test -n "$ac_ct_CC"; then
1857 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1858 echo "${ECHO_T}$ac_ct_CC" >&6
1859 else
1860 echo "$as_me:$LINENO: result: no" >&5
1861 echo "${ECHO_T}no" >&6
1862 fi
1863
1864 CC=$ac_ct_CC
1865 else
1866 CC="$ac_cv_prog_CC"
1867 fi
1868
1869 if test -z "$CC"; then
1870 if test -n "$ac_tool_prefix"; then
1871 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1872 set dummy ${ac_tool_prefix}cc; ac_word=$2
1873 echo "$as_me:$LINENO: checking for $ac_word" >&5
1874 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1875 if test "${ac_cv_prog_CC+set}" = set; then
1876 echo $ECHO_N "(cached) $ECHO_C" >&6
1877 else
1878 if test -n "$CC"; then
1879 ac_cv_prog_CC="$CC" # Let the user override the test.
1880 else
1881 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1882 for as_dir in $PATH
1883 do
1884 IFS=$as_save_IFS
1885 test -z "$as_dir" && as_dir=.
1886 for ac_exec_ext in '' $ac_executable_extensions; do
1887 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1888 ac_cv_prog_CC="${ac_tool_prefix}cc"
1889 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1890 break 2
1891 fi
1892 done
1893 done
1894
1895 fi
1896 fi
1897 CC=$ac_cv_prog_CC
1898 if test -n "$CC"; then
1899 echo "$as_me:$LINENO: result: $CC" >&5
1900 echo "${ECHO_T}$CC" >&6
1901 else
1902 echo "$as_me:$LINENO: result: no" >&5
1903 echo "${ECHO_T}no" >&6
1904 fi
1905
1906 fi
1907 if test -z "$ac_cv_prog_CC"; then
1908 ac_ct_CC=$CC
1909 # Extract the first word of "cc", so it can be a program name with args.
1910 set dummy cc; ac_word=$2
1911 echo "$as_me:$LINENO: checking for $ac_word" >&5
1912 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1913 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1914 echo $ECHO_N "(cached) $ECHO_C" >&6
1915 else
1916 if test -n "$ac_ct_CC"; then
1917 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1918 else
1919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1920 for as_dir in $PATH
1921 do
1922 IFS=$as_save_IFS
1923 test -z "$as_dir" && as_dir=.
1924 for ac_exec_ext in '' $ac_executable_extensions; do
1925 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1926 ac_cv_prog_ac_ct_CC="cc"
1927 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1928 break 2
1929 fi
1930 done
1931 done
1932
1933 fi
1934 fi
1935 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1936 if test -n "$ac_ct_CC"; then
1937 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1938 echo "${ECHO_T}$ac_ct_CC" >&6
1939 else
1940 echo "$as_me:$LINENO: result: no" >&5
1941 echo "${ECHO_T}no" >&6
1942 fi
1943
1944 CC=$ac_ct_CC
1945 else
1946 CC="$ac_cv_prog_CC"
1947 fi
1948
1949 fi
1950 if test -z "$CC"; then
1951 # Extract the first word of "cc", so it can be a program name with args.
1952 set dummy cc; ac_word=$2
1953 echo "$as_me:$LINENO: checking for $ac_word" >&5
1954 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1955 if test "${ac_cv_prog_CC+set}" = set; then
1956 echo $ECHO_N "(cached) $ECHO_C" >&6
1957 else
1958 if test -n "$CC"; then
1959 ac_cv_prog_CC="$CC" # Let the user override the test.
1960 else
1961 ac_prog_rejected=no
1962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1963 for as_dir in $PATH
1964 do
1965 IFS=$as_save_IFS
1966 test -z "$as_dir" && as_dir=.
1967 for ac_exec_ext in '' $ac_executable_extensions; do
1968 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1969 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1970 ac_prog_rejected=yes
1971 continue
1972 fi
1973 ac_cv_prog_CC="cc"
1974 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1975 break 2
1976 fi
1977 done
1978 done
1979
1980 if test $ac_prog_rejected = yes; then
1981 # We found a bogon in the path, so make sure we never use it.
1982 set dummy $ac_cv_prog_CC
1983 shift
1984 if test $# != 0; then
1985 # We chose a different compiler from the bogus one.
1986 # However, it has the same basename, so the bogon will be chosen
1987 # first if we set CC to just the basename; use the full file name.
1988 shift
1989 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1990 fi
1991 fi
1992 fi
1993 fi
1994 CC=$ac_cv_prog_CC
1995 if test -n "$CC"; then
1996 echo "$as_me:$LINENO: result: $CC" >&5
1997 echo "${ECHO_T}$CC" >&6
1998 else
1999 echo "$as_me:$LINENO: result: no" >&5
2000 echo "${ECHO_T}no" >&6
2001 fi
2002
2003 fi
2004 if test -z "$CC"; then
2005 if test -n "$ac_tool_prefix"; then
2006 for ac_prog in cl
2007 do
2008 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2009 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2010 echo "$as_me:$LINENO: checking for $ac_word" >&5
2011 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2012 if test "${ac_cv_prog_CC+set}" = set; then
2013 echo $ECHO_N "(cached) $ECHO_C" >&6
2014 else
2015 if test -n "$CC"; then
2016 ac_cv_prog_CC="$CC" # Let the user override the test.
2017 else
2018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2019 for as_dir in $PATH
2020 do
2021 IFS=$as_save_IFS
2022 test -z "$as_dir" && as_dir=.
2023 for ac_exec_ext in '' $ac_executable_extensions; do
2024 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2025 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2026 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2027 break 2
2028 fi
2029 done
2030 done
2031
2032 fi
2033 fi
2034 CC=$ac_cv_prog_CC
2035 if test -n "$CC"; then
2036 echo "$as_me:$LINENO: result: $CC" >&5
2037 echo "${ECHO_T}$CC" >&6
2038 else
2039 echo "$as_me:$LINENO: result: no" >&5
2040 echo "${ECHO_T}no" >&6
2041 fi
2042
2043 test -n "$CC" && break
2044 done
2045 fi
2046 if test -z "$CC"; then
2047 ac_ct_CC=$CC
2048 for ac_prog in cl
2049 do
2050 # Extract the first word of "$ac_prog", so it can be a program name with args.
2051 set dummy $ac_prog; ac_word=$2
2052 echo "$as_me:$LINENO: checking for $ac_word" >&5
2053 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2054 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2055 echo $ECHO_N "(cached) $ECHO_C" >&6
2056 else
2057 if test -n "$ac_ct_CC"; then
2058 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2059 else
2060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2061 for as_dir in $PATH
2062 do
2063 IFS=$as_save_IFS
2064 test -z "$as_dir" && as_dir=.
2065 for ac_exec_ext in '' $ac_executable_extensions; do
2066 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2067 ac_cv_prog_ac_ct_CC="$ac_prog"
2068 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2069 break 2
2070 fi
2071 done
2072 done
2073
2074 fi
2075 fi
2076 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2077 if test -n "$ac_ct_CC"; then
2078 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2079 echo "${ECHO_T}$ac_ct_CC" >&6
2080 else
2081 echo "$as_me:$LINENO: result: no" >&5
2082 echo "${ECHO_T}no" >&6
2083 fi
2084
2085 test -n "$ac_ct_CC" && break
2086 done
2087
2088 CC=$ac_ct_CC
2089 fi
2090
2091 fi
2092
2093
2094 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2095 See \`config.log' for more details." >&5
2096 echo "$as_me: error: no acceptable C compiler found in \$PATH
2097 See \`config.log' for more details." >&2;}
2098 { (exit 1); exit 1; }; }
2099
2100 # Provide some information about the compiler.
2101 echo "$as_me:$LINENO:" \
2102 "checking for C compiler version" >&5
2103 ac_compiler=`set X $ac_compile; echo $2`
2104 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2105 (eval $ac_compiler --version </dev/null >&5) 2>&5
2106 ac_status=$?
2107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2108 (exit $ac_status); }
2109 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2110 (eval $ac_compiler -v </dev/null >&5) 2>&5
2111 ac_status=$?
2112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2113 (exit $ac_status); }
2114 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2115 (eval $ac_compiler -V </dev/null >&5) 2>&5
2116 ac_status=$?
2117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2118 (exit $ac_status); }
2119
2120 cat >conftest.$ac_ext <<_ACEOF
2121 /* confdefs.h. */
2122 _ACEOF
2123 cat confdefs.h >>conftest.$ac_ext
2124 cat >>conftest.$ac_ext <<_ACEOF
2125 /* end confdefs.h. */
2126
2127 int
2128 main ()
2129 {
2130
2131 ;
2132 return 0;
2133 }
2134 _ACEOF
2135 ac_clean_files_save=$ac_clean_files
2136 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2137 # Try to create an executable without -o first, disregard a.out.
2138 # It will help us diagnose broken compilers, and finding out an intuition
2139 # of exeext.
2140 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2141 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2142 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2143 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2144 (eval $ac_link_default) 2>&5
2145 ac_status=$?
2146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2147 (exit $ac_status); }; then
2148 # Find the output, starting from the most likely. This scheme is
2149 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2150 # resort.
2151
2152 # Be careful to initialize this variable, since it used to be cached.
2153 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2154 ac_cv_exeext=
2155 # b.out is created by i960 compilers.
2156 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2157 do
2158 test -f "$ac_file" || continue
2159 case $ac_file in
2160 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2161 ;;
2162 conftest.$ac_ext )
2163 # This is the source file.
2164 ;;
2165 [ab].out )
2166 # We found the default executable, but exeext='' is most
2167 # certainly right.
2168 break;;
2169 *.* )
2170 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2171 # FIXME: I believe we export ac_cv_exeext for Libtool,
2172 # but it would be cool to find out if it's true. Does anybody
2173 # maintain Libtool? --akim.
2174 export ac_cv_exeext
2175 break;;
2176 * )
2177 break;;
2178 esac
2179 done
2180 else
2181 echo "$as_me: failed program was:" >&5
2182 sed 's/^/| /' conftest.$ac_ext >&5
2183
2184 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2185 See \`config.log' for more details." >&5
2186 echo "$as_me: error: C compiler cannot create executables
2187 See \`config.log' for more details." >&2;}
2188 { (exit 77); exit 77; }; }
2189 fi
2190
2191 ac_exeext=$ac_cv_exeext
2192 echo "$as_me:$LINENO: result: $ac_file" >&5
2193 echo "${ECHO_T}$ac_file" >&6
2194
2195 # Check the compiler produces executables we can run. If not, either
2196 # the compiler is broken, or we cross compile.
2197 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2198 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2199 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2200 # If not cross compiling, check that we can run a simple program.
2201 if test "$cross_compiling" != yes; then
2202 if { ac_try='./$ac_file'
2203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2204 (eval $ac_try) 2>&5
2205 ac_status=$?
2206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2207 (exit $ac_status); }; }; then
2208 cross_compiling=no
2209 else
2210 if test "$cross_compiling" = maybe; then
2211 cross_compiling=yes
2212 else
2213 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2214 If you meant to cross compile, use \`--host'.
2215 See \`config.log' for more details." >&5
2216 echo "$as_me: error: cannot run C compiled programs.
2217 If you meant to cross compile, use \`--host'.
2218 See \`config.log' for more details." >&2;}
2219 { (exit 1); exit 1; }; }
2220 fi
2221 fi
2222 fi
2223 echo "$as_me:$LINENO: result: yes" >&5
2224 echo "${ECHO_T}yes" >&6
2225
2226 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2227 ac_clean_files=$ac_clean_files_save
2228 # Check the compiler produces executables we can run. If not, either
2229 # the compiler is broken, or we cross compile.
2230 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2231 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2232 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2233 echo "${ECHO_T}$cross_compiling" >&6
2234
2235 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2236 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2237 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2238 (eval $ac_link) 2>&5
2239 ac_status=$?
2240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2241 (exit $ac_status); }; then
2242 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2243 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2244 # work properly (i.e., refer to `conftest.exe'), while it won't with
2245 # `rm'.
2246 for ac_file in conftest.exe conftest conftest.*; do
2247 test -f "$ac_file" || continue
2248 case $ac_file in
2249 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2250 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2251 export ac_cv_exeext
2252 break;;
2253 * ) break;;
2254 esac
2255 done
2256 else
2257 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2258 See \`config.log' for more details." >&5
2259 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2260 See \`config.log' for more details." >&2;}
2261 { (exit 1); exit 1; }; }
2262 fi
2263
2264 rm -f conftest$ac_cv_exeext
2265 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2266 echo "${ECHO_T}$ac_cv_exeext" >&6
2267
2268 rm -f conftest.$ac_ext
2269 EXEEXT=$ac_cv_exeext
2270 ac_exeext=$EXEEXT
2271 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2272 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2273 if test "${ac_cv_objext+set}" = set; then
2274 echo $ECHO_N "(cached) $ECHO_C" >&6
2275 else
2276 cat >conftest.$ac_ext <<_ACEOF
2277 /* confdefs.h. */
2278 _ACEOF
2279 cat confdefs.h >>conftest.$ac_ext
2280 cat >>conftest.$ac_ext <<_ACEOF
2281 /* end confdefs.h. */
2282
2283 int
2284 main ()
2285 {
2286
2287 ;
2288 return 0;
2289 }
2290 _ACEOF
2291 rm -f conftest.o conftest.obj
2292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2293 (eval $ac_compile) 2>&5
2294 ac_status=$?
2295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2296 (exit $ac_status); }; then
2297 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2298 case $ac_file in
2299 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2300 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2301 break;;
2302 esac
2303 done
2304 else
2305 echo "$as_me: failed program was:" >&5
2306 sed 's/^/| /' conftest.$ac_ext >&5
2307
2308 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2309 See \`config.log' for more details." >&5
2310 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2311 See \`config.log' for more details." >&2;}
2312 { (exit 1); exit 1; }; }
2313 fi
2314
2315 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2316 fi
2317 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2318 echo "${ECHO_T}$ac_cv_objext" >&6
2319 OBJEXT=$ac_cv_objext
2320 ac_objext=$OBJEXT
2321 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2322 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2323 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2324 echo $ECHO_N "(cached) $ECHO_C" >&6
2325 else
2326 cat >conftest.$ac_ext <<_ACEOF
2327 /* confdefs.h. */
2328 _ACEOF
2329 cat confdefs.h >>conftest.$ac_ext
2330 cat >>conftest.$ac_ext <<_ACEOF
2331 /* end confdefs.h. */
2332
2333 int
2334 main ()
2335 {
2336 #ifndef __GNUC__
2337 choke me
2338 #endif
2339
2340 ;
2341 return 0;
2342 }
2343 _ACEOF
2344 rm -f conftest.$ac_objext
2345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2346 (eval $ac_compile) 2>conftest.er1
2347 ac_status=$?
2348 grep -v '^ *+' conftest.er1 >conftest.err
2349 rm -f conftest.er1
2350 cat conftest.err >&5
2351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2352 (exit $ac_status); } &&
2353 { ac_try='test -z "$ac_c_werror_flag"
2354 || test ! -s conftest.err'
2355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2356 (eval $ac_try) 2>&5
2357 ac_status=$?
2358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2359 (exit $ac_status); }; } &&
2360 { ac_try='test -s conftest.$ac_objext'
2361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2362 (eval $ac_try) 2>&5
2363 ac_status=$?
2364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2365 (exit $ac_status); }; }; then
2366 ac_compiler_gnu=yes
2367 else
2368 echo "$as_me: failed program was:" >&5
2369 sed 's/^/| /' conftest.$ac_ext >&5
2370
2371 ac_compiler_gnu=no
2372 fi
2373 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2374 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2375
2376 fi
2377 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2378 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2379 GCC=`test $ac_compiler_gnu = yes && echo yes`
2380 ac_test_CFLAGS=${CFLAGS+set}
2381 ac_save_CFLAGS=$CFLAGS
2382 CFLAGS="-g"
2383 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2384 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2385 if test "${ac_cv_prog_cc_g+set}" = set; then
2386 echo $ECHO_N "(cached) $ECHO_C" >&6
2387 else
2388 cat >conftest.$ac_ext <<_ACEOF
2389 /* confdefs.h. */
2390 _ACEOF
2391 cat confdefs.h >>conftest.$ac_ext
2392 cat >>conftest.$ac_ext <<_ACEOF
2393 /* end confdefs.h. */
2394
2395 int
2396 main ()
2397 {
2398
2399 ;
2400 return 0;
2401 }
2402 _ACEOF
2403 rm -f conftest.$ac_objext
2404 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2405 (eval $ac_compile) 2>conftest.er1
2406 ac_status=$?
2407 grep -v '^ *+' conftest.er1 >conftest.err
2408 rm -f conftest.er1
2409 cat conftest.err >&5
2410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2411 (exit $ac_status); } &&
2412 { ac_try='test -z "$ac_c_werror_flag"
2413 || test ! -s conftest.err'
2414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2415 (eval $ac_try) 2>&5
2416 ac_status=$?
2417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2418 (exit $ac_status); }; } &&
2419 { ac_try='test -s conftest.$ac_objext'
2420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2421 (eval $ac_try) 2>&5
2422 ac_status=$?
2423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2424 (exit $ac_status); }; }; then
2425 ac_cv_prog_cc_g=yes
2426 else
2427 echo "$as_me: failed program was:" >&5
2428 sed 's/^/| /' conftest.$ac_ext >&5
2429
2430 ac_cv_prog_cc_g=no
2431 fi
2432 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2433 fi
2434 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2435 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2436 if test "$ac_test_CFLAGS" = set; then
2437 CFLAGS=$ac_save_CFLAGS
2438 elif test $ac_cv_prog_cc_g = yes; then
2439 if test "$GCC" = yes; then
2440 CFLAGS="-g -O2"
2441 else
2442 CFLAGS="-g"
2443 fi
2444 else
2445 if test "$GCC" = yes; then
2446 CFLAGS="-O2"
2447 else
2448 CFLAGS=
2449 fi
2450 fi
2451 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2452 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2453 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2454 echo $ECHO_N "(cached) $ECHO_C" >&6
2455 else
2456 ac_cv_prog_cc_stdc=no
2457 ac_save_CC=$CC
2458 cat >conftest.$ac_ext <<_ACEOF
2459 /* confdefs.h. */
2460 _ACEOF
2461 cat confdefs.h >>conftest.$ac_ext
2462 cat >>conftest.$ac_ext <<_ACEOF
2463 /* end confdefs.h. */
2464 #include <stdarg.h>
2465 #include <stdio.h>
2466 #include <sys/types.h>
2467 #include <sys/stat.h>
2468 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2469 struct buf { int x; };
2470 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2471 static char *e (p, i)
2472 char **p;
2473 int i;
2474 {
2475 return p[i];
2476 }
2477 static char *f (char * (*g) (char **, int), char **p, ...)
2478 {
2479 char *s;
2480 va_list v;
2481 va_start (v,p);
2482 s = g (p, va_arg (v,int));
2483 va_end (v);
2484 return s;
2485 }
2486
2487 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2488 function prototypes and stuff, but not '\xHH' hex character constants.
2489 These don't provoke an error unfortunately, instead are silently treated
2490 as 'x'. The following induces an error, until -std1 is added to get
2491 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2492 array size at least. It's necessary to write '\x00'==0 to get something
2493 that's true only with -std1. */
2494 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2495
2496 int test (int i, double x);
2497 struct s1 {int (*f) (int a);};
2498 struct s2 {int (*f) (double a);};
2499 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2500 int argc;
2501 char **argv;
2502 int
2503 main ()
2504 {
2505 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2506 ;
2507 return 0;
2508 }
2509 _ACEOF
2510 # Don't try gcc -ansi; that turns off useful extensions and
2511 # breaks some systems' header files.
2512 # AIX -qlanglvl=ansi
2513 # Ultrix and OSF/1 -std1
2514 # HP-UX 10.20 and later -Ae
2515 # HP-UX older versions -Aa -D_HPUX_SOURCE
2516 # SVR4 -Xc -D__EXTENSIONS__
2517 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2518 do
2519 CC="$ac_save_CC $ac_arg"
2520 rm -f conftest.$ac_objext
2521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2522 (eval $ac_compile) 2>conftest.er1
2523 ac_status=$?
2524 grep -v '^ *+' conftest.er1 >conftest.err
2525 rm -f conftest.er1
2526 cat conftest.err >&5
2527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2528 (exit $ac_status); } &&
2529 { ac_try='test -z "$ac_c_werror_flag"
2530 || test ! -s conftest.err'
2531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2532 (eval $ac_try) 2>&5
2533 ac_status=$?
2534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2535 (exit $ac_status); }; } &&
2536 { ac_try='test -s conftest.$ac_objext'
2537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2538 (eval $ac_try) 2>&5
2539 ac_status=$?
2540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2541 (exit $ac_status); }; }; then
2542 ac_cv_prog_cc_stdc=$ac_arg
2543 break
2544 else
2545 echo "$as_me: failed program was:" >&5
2546 sed 's/^/| /' conftest.$ac_ext >&5
2547
2548 fi
2549 rm -f conftest.err conftest.$ac_objext
2550 done
2551 rm -f conftest.$ac_ext conftest.$ac_objext
2552 CC=$ac_save_CC
2553
2554 fi
2555
2556 case "x$ac_cv_prog_cc_stdc" in
2557 x|xno)
2558 echo "$as_me:$LINENO: result: none needed" >&5
2559 echo "${ECHO_T}none needed" >&6 ;;
2560 *)
2561 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2562 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2563 CC="$CC $ac_cv_prog_cc_stdc" ;;
2564 esac
2565
2566 # Some people use a C++ compiler to compile C. Since we use `exit',
2567 # in C++ we need to declare it. In case someone uses the same compiler
2568 # for both compiling C and C++ we need to have the C++ compiler decide
2569 # the declaration of exit, since it's the most demanding environment.
2570 cat >conftest.$ac_ext <<_ACEOF
2571 #ifndef __cplusplus
2572 choke me
2573 #endif
2574 _ACEOF
2575 rm -f conftest.$ac_objext
2576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2577 (eval $ac_compile) 2>conftest.er1
2578 ac_status=$?
2579 grep -v '^ *+' conftest.er1 >conftest.err
2580 rm -f conftest.er1
2581 cat conftest.err >&5
2582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2583 (exit $ac_status); } &&
2584 { ac_try='test -z "$ac_c_werror_flag"
2585 || test ! -s conftest.err'
2586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2587 (eval $ac_try) 2>&5
2588 ac_status=$?
2589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2590 (exit $ac_status); }; } &&
2591 { ac_try='test -s conftest.$ac_objext'
2592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2593 (eval $ac_try) 2>&5
2594 ac_status=$?
2595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2596 (exit $ac_status); }; }; then
2597 for ac_declaration in \
2598 '' \
2599 'extern "C" void std::exit (int) throw (); using std::exit;' \
2600 'extern "C" void std::exit (int); using std::exit;' \
2601 'extern "C" void exit (int) throw ();' \
2602 'extern "C" void exit (int);' \
2603 'void exit (int);'
2604 do
2605 cat >conftest.$ac_ext <<_ACEOF
2606 /* confdefs.h. */
2607 _ACEOF
2608 cat confdefs.h >>conftest.$ac_ext
2609 cat >>conftest.$ac_ext <<_ACEOF
2610 /* end confdefs.h. */
2611 $ac_declaration
2612 #include <stdlib.h>
2613 int
2614 main ()
2615 {
2616 exit (42);
2617 ;
2618 return 0;
2619 }
2620 _ACEOF
2621 rm -f conftest.$ac_objext
2622 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2623 (eval $ac_compile) 2>conftest.er1
2624 ac_status=$?
2625 grep -v '^ *+' conftest.er1 >conftest.err
2626 rm -f conftest.er1
2627 cat conftest.err >&5
2628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2629 (exit $ac_status); } &&
2630 { ac_try='test -z "$ac_c_werror_flag"
2631 || test ! -s conftest.err'
2632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2633 (eval $ac_try) 2>&5
2634 ac_status=$?
2635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2636 (exit $ac_status); }; } &&
2637 { ac_try='test -s conftest.$ac_objext'
2638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2639 (eval $ac_try) 2>&5
2640 ac_status=$?
2641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2642 (exit $ac_status); }; }; then
2643 :
2644 else
2645 echo "$as_me: failed program was:" >&5
2646 sed 's/^/| /' conftest.$ac_ext >&5
2647
2648 continue
2649 fi
2650 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2651 cat >conftest.$ac_ext <<_ACEOF
2652 /* confdefs.h. */
2653 _ACEOF
2654 cat confdefs.h >>conftest.$ac_ext
2655 cat >>conftest.$ac_ext <<_ACEOF
2656 /* end confdefs.h. */
2657 $ac_declaration
2658 int
2659 main ()
2660 {
2661 exit (42);
2662 ;
2663 return 0;
2664 }
2665 _ACEOF
2666 rm -f conftest.$ac_objext
2667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2668 (eval $ac_compile) 2>conftest.er1
2669 ac_status=$?
2670 grep -v '^ *+' conftest.er1 >conftest.err
2671 rm -f conftest.er1
2672 cat conftest.err >&5
2673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2674 (exit $ac_status); } &&
2675 { ac_try='test -z "$ac_c_werror_flag"
2676 || test ! -s conftest.err'
2677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2678 (eval $ac_try) 2>&5
2679 ac_status=$?
2680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2681 (exit $ac_status); }; } &&
2682 { ac_try='test -s conftest.$ac_objext'
2683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2684 (eval $ac_try) 2>&5
2685 ac_status=$?
2686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2687 (exit $ac_status); }; }; then
2688 break
2689 else
2690 echo "$as_me: failed program was:" >&5
2691 sed 's/^/| /' conftest.$ac_ext >&5
2692
2693 fi
2694 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2695 done
2696 rm -f conftest*
2697 if test -n "$ac_declaration"; then
2698 echo '#ifdef __cplusplus' >>confdefs.h
2699 echo $ac_declaration >>confdefs.h
2700 echo '#endif' >>confdefs.h
2701 fi
2702
2703 else
2704 echo "$as_me: failed program was:" >&5
2705 sed 's/^/| /' conftest.$ac_ext >&5
2706
2707 fi
2708 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2709 ac_ext=c
2710 ac_cpp='$CPP $CPPFLAGS'
2711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2714 DEPDIR="${am__leading_dot}deps"
2715
2716 ac_config_commands="$ac_config_commands depfiles"
2717
2718
2719 am_make=${MAKE-make}
2720 cat > confinc << 'END'
2721 am__doit:
2722 @echo done
2723 .PHONY: am__doit
2724 END
2725 # If we don't find an include directive, just comment out the code.
2726 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2727 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2728 am__include="#"
2729 am__quote=
2730 _am_result=none
2731 # First try GNU make style include.
2732 echo "include confinc" > confmf
2733 # We grep out `Entering directory' and `Leaving directory'
2734 # messages which can occur if `w' ends up in MAKEFLAGS.
2735 # In particular we don't look at `^make:' because GNU make might
2736 # be invoked under some other name (usually "gmake"), in which
2737 # case it prints its new name instead of `make'.
2738 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2739 am__include=include
2740 am__quote=
2741 _am_result=GNU
2742 fi
2743 # Now try BSD make style include.
2744 if test "$am__include" = "#"; then
2745 echo '.include "confinc"' > confmf
2746 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2747 am__include=.include
2748 am__quote="\""
2749 _am_result=BSD
2750 fi
2751 fi
2752
2753
2754 echo "$as_me:$LINENO: result: $_am_result" >&5
2755 echo "${ECHO_T}$_am_result" >&6
2756 rm -f confinc confmf
2757
2758 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2759 if test "${enable_dependency_tracking+set}" = set; then
2760 enableval="$enable_dependency_tracking"
2761
2762 fi;
2763 if test "x$enable_dependency_tracking" != xno; then
2764 am_depcomp="$ac_aux_dir/depcomp"
2765 AMDEPBACKSLASH='\'
2766 fi
2767
2768
2769 if test "x$enable_dependency_tracking" != xno; then
2770 AMDEP_TRUE=
2771 AMDEP_FALSE='#'
2772 else
2773 AMDEP_TRUE='#'
2774 AMDEP_FALSE=
2775 fi
2776
2777
2778
2779
2780 depcc="$CC" am_compiler_list=
2781
2782 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2783 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2784 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2785 echo $ECHO_N "(cached) $ECHO_C" >&6
2786 else
2787 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2788 # We make a subdir and do the tests there. Otherwise we can end up
2789 # making bogus files that we don't know about and never remove. For
2790 # instance it was reported that on HP-UX the gcc test will end up
2791 # making a dummy file named `D' -- because `-MD' means `put the output
2792 # in D'.
2793 mkdir conftest.dir
2794 # Copy depcomp to subdir because otherwise we won't find it if we're
2795 # using a relative directory.
2796 cp "$am_depcomp" conftest.dir
2797 cd conftest.dir
2798 # We will build objects and dependencies in a subdirectory because
2799 # it helps to detect inapplicable dependency modes. For instance
2800 # both Tru64's cc and ICC support -MD to output dependencies as a
2801 # side effect of compilation, but ICC will put the dependencies in
2802 # the current directory while Tru64 will put them in the object
2803 # directory.
2804 mkdir sub
2805
2806 am_cv_CC_dependencies_compiler_type=none
2807 if test "$am_compiler_list" = ""; then
2808 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2809 fi
2810 for depmode in $am_compiler_list; do
2811 # Setup a source with many dependencies, because some compilers
2812 # like to wrap large dependency lists on column 80 (with \), and
2813 # we should not choose a depcomp mode which is confused by this.
2814 #
2815 # We need to recreate these files for each test, as the compiler may
2816 # overwrite some of them when testing with obscure command lines.
2817 # This happens at least with the AIX C compiler.
2818 : > sub/conftest.c
2819 for i in 1 2 3 4 5 6; do
2820 echo '#include "conftst'$i'.h"' >> sub/conftest.c
2821 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2822 # Solaris 8's {/usr,}/bin/sh.
2823 touch sub/conftst$i.h
2824 done
2825 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2826
2827 case $depmode in
2828 nosideeffect)
2829 # after this tag, mechanisms are not by side-effect, so they'll
2830 # only be used when explicitly requested
2831 if test "x$enable_dependency_tracking" = xyes; then
2832 continue
2833 else
2834 break
2835 fi
2836 ;;
2837 none) break ;;
2838 esac
2839 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2840 # mode. It turns out that the SunPro C++ compiler does not properly
2841 # handle `-M -o', and we need to detect this.
2842 if depmode=$depmode \
2843 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2844 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2845 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
2846 >/dev/null 2>conftest.err &&
2847 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2848 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2849 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2850 # icc doesn't choke on unknown options, it will just issue warnings
2851 # or remarks (even with -Werror). So we grep stderr for any message
2852 # that says an option was ignored or not supported.
2853 # When given -MP, icc 7.0 and 7.1 complain thusly:
2854 # icc: Command line warning: ignoring option '-M'; no argument required
2855 # The diagnosis changed in icc 8.0:
2856 # icc: Command line remark: option '-MP' not supported
2857 if (grep 'ignoring option' conftest.err ||
2858 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
2859 am_cv_CC_dependencies_compiler_type=$depmode
2860 break
2861 fi
2862 fi
2863 done
2864
2865 cd ..
2866 rm -rf conftest.dir
2867 else
2868 am_cv_CC_dependencies_compiler_type=none
2869 fi
2870
2871 fi
2872 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2873 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2874 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2875
2876
2877
2878 if
2879 test "x$enable_dependency_tracking" != xno \
2880 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
2881 am__fastdepCC_TRUE=
2882 am__fastdepCC_FALSE='#'
2883 else
2884 am__fastdepCC_TRUE='#'
2885 am__fastdepCC_FALSE=
2886 fi
2887
2888
2889 # Find a good install program. We prefer a C program (faster),
2890 # so one script is as good as another. But avoid the broken or
2891 # incompatible versions:
2892 # SysV /etc/install, /usr/sbin/install
2893 # SunOS /usr/etc/install
2894 # IRIX /sbin/install
2895 # AIX /bin/install
2896 # AmigaOS /C/install, which installs bootblocks on floppy discs
2897 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2898 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2899 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2900 # OS/2's system install, which has a completely different semantic
2901 # ./install, which can be erroneously created by make from ./install.sh.
2902 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2903 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2904 if test -z "$INSTALL"; then
2905 if test "${ac_cv_path_install+set}" = set; then
2906 echo $ECHO_N "(cached) $ECHO_C" >&6
2907 else
2908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2909 for as_dir in $PATH
2910 do
2911 IFS=$as_save_IFS
2912 test -z "$as_dir" && as_dir=.
2913 # Account for people who put trailing slashes in PATH elements.
2914 case $as_dir/ in
2915 ./ | .// | /cC/* | \
2916 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2917 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2918 /usr/ucb/* ) ;;
2919 *)
2920 # OSF1 and SCO ODT 3.0 have their own names for install.
2921 # Don't use installbsd from OSF since it installs stuff as root
2922 # by default.
2923 for ac_prog in ginstall scoinst install; do
2924 for ac_exec_ext in '' $ac_executable_extensions; do
2925 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2926 if test $ac_prog = install &&
2927 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2928 # AIX install. It has an incompatible calling convention.
2929 :
2930 elif test $ac_prog = install &&
2931 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2932 # program-specific install script used by HP pwplus--don't use.
2933 :
2934 else
2935 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2936 break 3
2937 fi
2938 fi
2939 done
2940 done
2941 ;;
2942 esac
2943 done
2944
2945
2946 fi
2947 if test "${ac_cv_path_install+set}" = set; then
2948 INSTALL=$ac_cv_path_install
2949 else
2950 # As a last resort, use the slow shell script. We don't cache a
2951 # path for INSTALL within a source directory, because that will
2952 # break other packages using the cache if that directory is
2953 # removed, or if the path is relative.
2954 INSTALL=$ac_install_sh
2955 fi
2956 fi
2957 echo "$as_me:$LINENO: result: $INSTALL" >&5
2958 echo "${ECHO_T}$INSTALL" >&6
2959
2960 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2961 # It thinks the first close brace ends the variable substitution.
2962 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2963
2964 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2965
2966 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2967
2968
2969 ac_ext=c
2970 ac_cpp='$CPP $CPPFLAGS'
2971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2974 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2975 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2976 # On Suns, sometimes $CPP names a directory.
2977 if test -n "$CPP" && test -d "$CPP"; then
2978 CPP=
2979 fi
2980 if test -z "$CPP"; then
2981 if test "${ac_cv_prog_CPP+set}" = set; then
2982 echo $ECHO_N "(cached) $ECHO_C" >&6
2983 else
2984 # Double quotes because CPP needs to be expanded
2985 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2986 do
2987 ac_preproc_ok=false
2988 for ac_c_preproc_warn_flag in '' yes
2989 do
2990 # Use a header file that comes with gcc, so configuring glibc
2991 # with a fresh cross-compiler works.
2992 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2993 # <limits.h> exists even on freestanding compilers.
2994 # On the NeXT, cc -E runs the code through the compiler's parser,
2995 # not just through cpp. "Syntax error" is here to catch this case.
2996 cat >conftest.$ac_ext <<_ACEOF
2997 /* confdefs.h. */
2998 _ACEOF
2999 cat confdefs.h >>conftest.$ac_ext
3000 cat >>conftest.$ac_ext <<_ACEOF
3001 /* end confdefs.h. */
3002 #ifdef __STDC__
3003 # include <limits.h>
3004 #else
3005 # include <assert.h>
3006 #endif
3007 Syntax error
3008 _ACEOF
3009 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3010 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3011 ac_status=$?
3012 grep -v '^ *+' conftest.er1 >conftest.err
3013 rm -f conftest.er1
3014 cat conftest.err >&5
3015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3016 (exit $ac_status); } >/dev/null; then
3017 if test -s conftest.err; then
3018 ac_cpp_err=$ac_c_preproc_warn_flag
3019 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3020 else
3021 ac_cpp_err=
3022 fi
3023 else
3024 ac_cpp_err=yes
3025 fi
3026 if test -z "$ac_cpp_err"; then
3027 :
3028 else
3029 echo "$as_me: failed program was:" >&5
3030 sed 's/^/| /' conftest.$ac_ext >&5
3031
3032 # Broken: fails on valid input.
3033 continue
3034 fi
3035 rm -f conftest.err conftest.$ac_ext
3036
3037 # OK, works on sane cases. Now check whether non-existent headers
3038 # can be detected and how.
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 #include <ac_nonexistent.h>
3046 _ACEOF
3047 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3048 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3049 ac_status=$?
3050 grep -v '^ *+' conftest.er1 >conftest.err
3051 rm -f conftest.er1
3052 cat conftest.err >&5
3053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3054 (exit $ac_status); } >/dev/null; then
3055 if test -s conftest.err; then
3056 ac_cpp_err=$ac_c_preproc_warn_flag
3057 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3058 else
3059 ac_cpp_err=
3060 fi
3061 else
3062 ac_cpp_err=yes
3063 fi
3064 if test -z "$ac_cpp_err"; then
3065 # Broken: success on invalid input.
3066 continue
3067 else
3068 echo "$as_me: failed program was:" >&5
3069 sed 's/^/| /' conftest.$ac_ext >&5
3070
3071 # Passes both tests.
3072 ac_preproc_ok=:
3073 break
3074 fi
3075 rm -f conftest.err conftest.$ac_ext
3076
3077 done
3078 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3079 rm -f conftest.err conftest.$ac_ext
3080 if $ac_preproc_ok; then
3081 break
3082 fi
3083
3084 done
3085 ac_cv_prog_CPP=$CPP
3086
3087 fi
3088 CPP=$ac_cv_prog_CPP
3089 else
3090 ac_cv_prog_CPP=$CPP
3091 fi
3092 echo "$as_me:$LINENO: result: $CPP" >&5
3093 echo "${ECHO_T}$CPP" >&6
3094 ac_preproc_ok=false
3095 for ac_c_preproc_warn_flag in '' yes
3096 do
3097 # Use a header file that comes with gcc, so configuring glibc
3098 # with a fresh cross-compiler works.
3099 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3100 # <limits.h> exists even on freestanding compilers.
3101 # On the NeXT, cc -E runs the code through the compiler's parser,
3102 # not just through cpp. "Syntax error" is here to catch this case.
3103 cat >conftest.$ac_ext <<_ACEOF
3104 /* confdefs.h. */
3105 _ACEOF
3106 cat confdefs.h >>conftest.$ac_ext
3107 cat >>conftest.$ac_ext <<_ACEOF
3108 /* end confdefs.h. */
3109 #ifdef __STDC__
3110 # include <limits.h>
3111 #else
3112 # include <assert.h>
3113 #endif
3114 Syntax error
3115 _ACEOF
3116 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3117 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3118 ac_status=$?
3119 grep -v '^ *+' conftest.er1 >conftest.err
3120 rm -f conftest.er1
3121 cat conftest.err >&5
3122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3123 (exit $ac_status); } >/dev/null; then
3124 if test -s conftest.err; then
3125 ac_cpp_err=$ac_c_preproc_warn_flag
3126 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3127 else
3128 ac_cpp_err=
3129 fi
3130 else
3131 ac_cpp_err=yes
3132 fi
3133 if test -z "$ac_cpp_err"; then
3134 :
3135 else
3136 echo "$as_me: failed program was:" >&5
3137 sed 's/^/| /' conftest.$ac_ext >&5
3138
3139 # Broken: fails on valid input.
3140 continue
3141 fi
3142 rm -f conftest.err conftest.$ac_ext
3143
3144 # OK, works on sane cases. Now check whether non-existent headers
3145 # can be detected and how.
3146 cat >conftest.$ac_ext <<_ACEOF
3147 /* confdefs.h. */
3148 _ACEOF
3149 cat confdefs.h >>conftest.$ac_ext
3150 cat >>conftest.$ac_ext <<_ACEOF
3151 /* end confdefs.h. */
3152 #include <ac_nonexistent.h>
3153 _ACEOF
3154 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3155 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3156 ac_status=$?
3157 grep -v '^ *+' conftest.er1 >conftest.err
3158 rm -f conftest.er1
3159 cat conftest.err >&5
3160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3161 (exit $ac_status); } >/dev/null; then
3162 if test -s conftest.err; then
3163 ac_cpp_err=$ac_c_preproc_warn_flag
3164 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3165 else
3166 ac_cpp_err=
3167 fi
3168 else
3169 ac_cpp_err=yes
3170 fi
3171 if test -z "$ac_cpp_err"; then
3172 # Broken: success on invalid input.
3173 continue
3174 else
3175 echo "$as_me: failed program was:" >&5
3176 sed 's/^/| /' conftest.$ac_ext >&5
3177
3178 # Passes both tests.
3179 ac_preproc_ok=:
3180 break
3181 fi
3182 rm -f conftest.err conftest.$ac_ext
3183
3184 done
3185 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3186 rm -f conftest.err conftest.$ac_ext
3187 if $ac_preproc_ok; then
3188 :
3189 else
3190 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3191 See \`config.log' for more details." >&5
3192 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3193 See \`config.log' for more details." >&2;}
3194 { (exit 1); exit 1; }; }
3195 fi
3196
3197 ac_ext=c
3198 ac_cpp='$CPP $CPPFLAGS'
3199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3202
3203 # Extract the first word of "sed", so it can be a program name with args.
3204 set dummy sed; ac_word=$2
3205 echo "$as_me:$LINENO: checking for $ac_word" >&5
3206 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3207 if test "${ac_cv_path_SED+set}" = set; then
3208 echo $ECHO_N "(cached) $ECHO_C" >&6
3209 else
3210 case $SED in
3211 [\\/]* | ?:[\\/]*)
3212 ac_cv_path_SED="$SED" # Let the user override the test with a path.
3213 ;;
3214 *)
3215 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3216 for as_dir in $PATH
3217 do
3218 IFS=$as_save_IFS
3219 test -z "$as_dir" && as_dir=.
3220 for ac_exec_ext in '' $ac_executable_extensions; do
3221 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3222 ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext"
3223 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3224 break 2
3225 fi
3226 done
3227 done
3228
3229 ;;
3230 esac
3231 fi
3232 SED=$ac_cv_path_SED
3233
3234 if test -n "$SED"; then
3235 echo "$as_me:$LINENO: result: $SED" >&5
3236 echo "${ECHO_T}$SED" >&6
3237 else
3238 echo "$as_me:$LINENO: result: no" >&5
3239 echo "${ECHO_T}no" >&6
3240 fi
3241
3242
3243
3244 for ac_prog in cpp
3245 do
3246 # Extract the first word of "$ac_prog", so it can be a program name with args.
3247 set dummy $ac_prog; ac_word=$2
3248 echo "$as_me:$LINENO: checking for $ac_word" >&5
3249 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3250 if test "${ac_cv_path_RAWCPP+set}" = set; then
3251 echo $ECHO_N "(cached) $ECHO_C" >&6
3252 else
3253 case $RAWCPP in
3254 [\\/]* | ?:[\\/]*)
3255 ac_cv_path_RAWCPP="$RAWCPP" # Let the user override the test with a path.
3256 ;;
3257 *)
3258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3259 as_dummy="$PATH:/bin:/usr/bin:/usr/lib:/usr/libexec:/usr/ccs/lib:/usr/ccs/lbin:/lib"
3260 for as_dir in $as_dummy
3261 do
3262 IFS=$as_save_IFS
3263 test -z "$as_dir" && as_dir=.
3264 for ac_exec_ext in '' $ac_executable_extensions; do
3265 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3266 ac_cv_path_RAWCPP="$as_dir/$ac_word$ac_exec_ext"
3267 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3268 break 2
3269 fi
3270 done
3271 done
3272
3273 ;;
3274 esac
3275 fi
3276 RAWCPP=$ac_cv_path_RAWCPP
3277
3278 if test -n "$RAWCPP"; then
3279 echo "$as_me:$LINENO: result: $RAWCPP" >&5
3280 echo "${ECHO_T}$RAWCPP" >&6
3281 else
3282 echo "$as_me:$LINENO: result: no" >&5
3283 echo "${ECHO_T}no" >&6
3284 fi
3285
3286 test -n "$RAWCPP" && break
3287 done
3288 test -n "$RAWCPP" || RAWCPP="${CPP}"
3289
3290
3291 # Check for flag to avoid builtin definitions - assumes unix is predefined,
3292 # which is not the best choice for supporting other OS'es, but covers most
3293 # of the ones we need for now.
3294 echo "$as_me:$LINENO: checking if $RAWCPP requires -undef" >&5
3295 echo $ECHO_N "checking if $RAWCPP requires -undef... $ECHO_C" >&6
3296 cat >conftest.$ac_ext <<_ACEOF
3297 Does cpp redefine unix ?
3298 _ACEOF
3299 if test `${RAWCPP} < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then
3300 echo "$as_me:$LINENO: result: no" >&5
3301 echo "${ECHO_T}no" >&6
3302 else
3303 if test `${RAWCPP} -undef < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then
3304 RAWCPPFLAGS=-undef
3305 echo "$as_me:$LINENO: result: yes" >&5
3306 echo "${ECHO_T}yes" >&6
3307 else
3308 { { echo "$as_me:$LINENO: error: ${RAWCPP} defines unix with or without -undef. I don't know what to do." >&5
3309 echo "$as_me: error: ${RAWCPP} defines unix with or without -undef. I don't know what to do." >&2;}
3310 { (exit 1); exit 1; }; }
3311 fi
3312 fi
3313 rm -f conftest.$ac_ext
3314
3315 echo "$as_me:$LINENO: checking if $RAWCPP requires -traditional" >&5
3316 echo $ECHO_N "checking if $RAWCPP requires -traditional... $ECHO_C" >&6
3317 cat >conftest.$ac_ext <<_ACEOF
3318 Does cpp preserve "whitespace"?
3319 _ACEOF
3320 if test `${RAWCPP} < conftest.$ac_ext | grep -c 'preserve \"'` -eq 1 ; then
3321 echo "$as_me:$LINENO: result: no" >&5
3322 echo "${ECHO_T}no" >&6
3323 else
3324 if test `${RAWCPP} -traditional < conftest.$ac_ext | grep -c 'preserve \"'` -eq 1 ; then
3325 RAWCPPFLAGS="${RAWCPPFLAGS} -traditional"
3326 echo "$as_me:$LINENO: result: yes" >&5
3327 echo "${ECHO_T}yes" >&6
3328 else
3329 { { echo "$as_me:$LINENO: error: ${RAWCPP} does not preserve whitespace with or without -traditional. I don't know what to do." >&5
3330 echo "$as_me: error: ${RAWCPP} does not preserve whitespace with or without -traditional. I don't know what to do." >&2;}
3331 { (exit 1); exit 1; }; }
3332 fi
3333 fi
3334 rm -f conftest.$ac_ext
3335
3336
3337 CPP_PROGRAM=${RAWCPP}
3338
3339
3340 # Extract the first word of "perl", so it can be a program name with args.
3341 set dummy perl; ac_word=$2
3342 echo "$as_me:$LINENO: checking for $ac_word" >&5
3343 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3344 if test "${ac_cv_prog_HAS_PERL+set}" = set; then
3345 echo $ECHO_N "(cached) $ECHO_C" >&6
3346 else
3347 if test -n "$HAS_PERL"; then
3348 ac_cv_prog_HAS_PERL="$HAS_PERL" # Let the user override the test.
3349 else
3350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3351 for as_dir in $PATH
3352 do
3353 IFS=$as_save_IFS
3354 test -z "$as_dir" && as_dir=.
3355 for ac_exec_ext in '' $ac_executable_extensions; do
3356 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3357 ac_cv_prog_HAS_PERL="yes"
3358 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3359 break 2
3360 fi
3361 done
3362 done
3363
3364 fi
3365 fi
3366 HAS_PERL=$ac_cv_prog_HAS_PERL
3367 if test -n "$HAS_PERL"; then
3368 echo "$as_me:$LINENO: result: $HAS_PERL" >&5
3369 echo "${ECHO_T}$HAS_PERL" >&6
3370 else
3371 echo "$as_me:$LINENO: result: no" >&5
3372 echo "${ECHO_T}no" >&6
3373 fi
3374
3375
3376
3377 if test "x$HAS_PERL" = xyes; then
3378 HAS_PERL_TRUE=
3379 HAS_PERL_FALSE='#'
3380 else
3381 HAS_PERL_TRUE='#'
3382 HAS_PERL_FALSE=
3383 fi
3384
3385
3386
3387
3388 DEFAULT_XCONFDIR="${libdir}/X11/config"
3389
3390 # Check whether --with-config-dir or --without-config-dir was given.
3391 if test "${with_config_dir+set}" = set; then
3392 withval="$with_config_dir"
3393 XCONFDIR="$withval"
3394 else
3395 XCONFDIR="$DEFAULT_XCONFDIR"
3396 fi;
3397
3398
3399 DEFAULT_PREPROCESSCMD_MKDEPEND="gcc -E"
3400
3401 # Check whether --with-script-preproc-cmd or --without-script-preproc-cmd was given.
3402 if test "${with_script_preproc_cmd+set}" = set; then
3403 withval="$with_script_preproc_cmd"
3404 PREPROCESSCMD_MKDEPEND="$withval"
3405 else
3406 PREPROCESSCMD_MKDEPEND="$DEFAULT_PREPROCESSCMD_MKDEPEND"
3407 fi;
3408
3409
3410 DEFAULT_ARCMD="ar clq"
3411
3412 # Check whether --with-create-lib-cmd or --without-create-lib-cmd was given.
3413 if test "${with_create_lib_cmd+set}" = set; then
3414 withval="$with_create_lib_cmd"
3415 ARCMD="$withval"
3416 else
3417 ARCMD="$DEFAULT_ARCMD"
3418 fi;
3419
3420
3421 DEFAULT_RANLIB="ranlib"
3422
3423 # Check whether --with-clean-lib-cmd or --without-clean-lib-cmd was given.
3424 if test "${with_clean_lib_cmd+set}" = set; then
3425 withval="$with_clean_lib_cmd"
3426 RANLIB="$withval"
3427 else
3428 RANLIB="$DEFAULT_RANLIB"
3429 fi;
3430
3431
3432 # Check whether --enable-revpath or --disable-revpath was given.
3433 if test "${enable_revpath+set}" = set; then
3434 enableval="$enable_revpath"
3435 BUILD_REVPATH="$enableval"
3436 else
3437 BUILD_REVPATH=yes
3438 fi;
3439
3440
3441 if test "x$BUILD_REVPATH" = xyes; then
3442 BUILD_REVPATH_TRUE=
3443 BUILD_REVPATH_FALSE='#'
3444 else
3445 BUILD_REVPATH_TRUE='#'
3446 BUILD_REVPATH_FALSE=
3447 fi
3448
3449
3450 # Check whether --enable-makeg or --disable-makeg was given.
3451 if test "${enable_makeg+set}" = set; then
3452 enableval="$enable_makeg"
3453 BUILD_MAKEG="$enableval"
3454 else
3455 BUILD_MAKEG=yes
3456 fi;
3457
3458
3459 if test "x$BUILD_MAKEG" = xyes; then
3460 BUILD_MAKEG_TRUE=
3461 BUILD_MAKEG_FALSE='#'
3462 else
3463 BUILD_MAKEG_TRUE='#'
3464 BUILD_MAKEG_FALSE=
3465 fi
3466
3467
3468 # Check whether --enable-xmkmf or --disable-xmkmf was given.
3469 if test "${enable_xmkmf+set}" = set; then
3470 enableval="$enable_xmkmf"
3471 BUILD_XMKMF="$enableval"
3472 else
3473 BUILD_XMKMF=yes
3474 fi;
3475
3476
3477 if test "x$BUILD_XMKMF" = xyes; then
3478 BUILD_XMKMF_TRUE=
3479 BUILD_XMKMF_FALSE='#'
3480 else
3481 BUILD_XMKMF_TRUE='#'
3482 BUILD_XMKMF_FALSE=
3483 fi
3484
3485
3486 # Check whether --enable-ccmakedep or --disable-ccmakedep was given.
3487 if test "${enable_ccmakedep+set}" = set; then
3488 enableval="$enable_ccmakedep"
3489 BUILD_CCMAKEDEP="$enableval"
3490 else
3491 BUILD_CCMAKEDEP=yes
3492 fi;
3493
3494
3495 if test "x$BUILD_CCMAKEDEP" = xyes; then
3496 BUILD_CCMAKEDEP_TRUE=
3497 BUILD_CCMAKEDEP_FALSE='#'
3498 else
3499 BUILD_CCMAKEDEP_TRUE='#'
3500 BUILD_CCMAKEDEP_FALSE=
3501 fi
3502
3503
3504 # Check whether --enable-mergelib or --disable-mergelib was given.
3505 if test "${enable_mergelib+set}" = set; then
3506 enableval="$enable_mergelib"
3507 BUILD_MERGELIB="$enableval"
3508 else
3509 BUILD_MERGELIB=yes
3510 fi;
3511
3512
3513 if test "x$BUILD_MERGELIB" = xyes; then
3514 BUILD_MERGELIB_TRUE=
3515 BUILD_MERGELIB_FALSE='#'
3516 else
3517 BUILD_MERGELIB_TRUE='#'
3518 BUILD_MERGELIB_FALSE=
3519 fi
3520
3521
3522 # Check whether --enable-mkdirhier or --disable-mkdirhier was given.
3523 if test "${enable_mkdirhier+set}" = set; then
3524 enableval="$enable_mkdirhier"
3525 BUILD_MKDIRHIER="$enableval"
3526 else
3527 BUILD_MKDIRHIER=yes
3528 fi;
3529
3530
3531 if test "x$BUILD_MKDIRHIER" = xyes; then
3532 BUILD_MKDIRHIER_TRUE=
3533 BUILD_MKDIRHIER_FALSE='#'
3534 else
3535 BUILD_MKDIRHIER_TRUE='#'
3536 BUILD_MKDIRHIER_FALSE=
3537 fi
3538
3539
3540 # Check whether --enable-cleanlinks or --disable-cleanlinks was given.
3541 if test "${enable_cleanlinks+set}" = set; then
3542 enableval="$enable_cleanlinks"
3543 BUILD_CLEANLINKS="$enableval"
3544 else
3545 BUILD_CLEANLINKS=yes
3546 fi;
3547
3548
3549 if test "x$BUILD_CLEANLINKS" = xyes; then
3550 BUILD_CLEANLINKS_TRUE=
3551 BUILD_CLEANLINKS_FALSE='#'
3552 else
3553 BUILD_CLEANLINKS_TRUE='#'
3554 BUILD_CLEANLINKS_FALSE=
3555 fi
3556
3557
3558 # Check whether --enable-mkhtmlindex or --disable-mkhtmlindex was given.
3559 if test "${enable_mkhtmlindex+set}" = set; then
3560 enableval="$enable_mkhtmlindex"
3561 BUILD_MKHTMLINDEX="$enableval"
3562 else
3563 BUILD_MKHTMLINDEX=yes
3564 fi;
3565
3566
3567 if test "x$BUILD_MKHTMLINDEX" = xyes; then
3568 BUILD_MKHTMLINDEX_TRUE=
3569 BUILD_MKHTMLINDEX_FALSE='#'
3570 else
3571 BUILD_MKHTMLINDEX_TRUE='#'
3572 BUILD_MKHTMLINDEX_FALSE=
3573 fi
3574
3575
3576 # Checks for pkg-config packages
3577
3578
3579 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
3580 if test -n "$ac_tool_prefix"; then
3581 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
3582 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
3583 echo "$as_me:$LINENO: checking for $ac_word" >&5
3584 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3585 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
3586 echo $ECHO_N "(cached) $ECHO_C" >&6
3587 else
3588 case $PKG_CONFIG in
3589 [\\/]* | ?:[\\/]*)
3590 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
3591 ;;
3592 *)
3593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3594 for as_dir in $PATH
3595 do
3596 IFS=$as_save_IFS
3597 test -z "$as_dir" && as_dir=.
3598 for ac_exec_ext in '' $ac_executable_extensions; do
3599 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3600 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3601 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3602 break 2
3603 fi
3604 done
3605 done
3606
3607 ;;
3608 esac
3609 fi
3610 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
3611
3612 if test -n "$PKG_CONFIG"; then
3613 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
3614 echo "${ECHO_T}$PKG_CONFIG" >&6
3615 else
3616 echo "$as_me:$LINENO: result: no" >&5
3617 echo "${ECHO_T}no" >&6
3618 fi
3619
3620 fi
3621 if test -z "$ac_cv_path_PKG_CONFIG"; then
3622 ac_pt_PKG_CONFIG=$PKG_CONFIG
3623 # Extract the first word of "pkg-config", so it can be a program name with args.
3624 set dummy pkg-config; ac_word=$2
3625 echo "$as_me:$LINENO: checking for $ac_word" >&5
3626 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3627 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
3628 echo $ECHO_N "(cached) $ECHO_C" >&6
3629 else
3630 case $ac_pt_PKG_CONFIG in
3631 [\\/]* | ?:[\\/]*)
3632 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
3633 ;;
3634 *)
3635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3636 for as_dir in $PATH
3637 do
3638 IFS=$as_save_IFS
3639 test -z "$as_dir" && as_dir=.
3640 for ac_exec_ext in '' $ac_executable_extensions; do
3641 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3642 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3643 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3644 break 2
3645 fi
3646 done
3647 done
3648
3649 ;;
3650 esac
3651 fi
3652 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
3653
3654 if test -n "$ac_pt_PKG_CONFIG"; then
3655 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
3656 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
3657 else
3658 echo "$as_me:$LINENO: result: no" >&5
3659 echo "${ECHO_T}no" >&6
3660 fi
3661
3662 PKG_CONFIG=$ac_pt_PKG_CONFIG
3663 else
3664 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
3665 fi
3666
3667 fi
3668 if test -n "$PKG_CONFIG"; then
3669 _pkg_min_version=0.9.0
3670 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
3671 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
3672 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
3673 echo "$as_me:$LINENO: result: yes" >&5
3674 echo "${ECHO_T}yes" >&6
3675 else
3676 echo "$as_me:$LINENO: result: no" >&5
3677 echo "${ECHO_T}no" >&6
3678 PKG_CONFIG=""
3679 fi
3680
3681 fi
3682
3683 pkg_failed=no
3684 echo "$as_me:$LINENO: checking for XPROTO" >&5
3685 echo $ECHO_N "checking for XPROTO... $ECHO_C" >&6
3686
3687 if test -n "$PKG_CONFIG"; then
3688 if test -n "$XPROTO_CFLAGS"; then
3689 pkg_cv_XPROTO_CFLAGS="$XPROTO_CFLAGS"
3690 else
3691 if test -n "$PKG_CONFIG" && \
3692 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xproto\"") >&5
3693 ($PKG_CONFIG --exists --print-errors "xproto") 2>&5
3694 ac_status=$?
3695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3696 (exit $ac_status); }; then
3697 pkg_cv_XPROTO_CFLAGS=`$PKG_CONFIG --cflags "xproto" 2>/dev/null`
3698 else
3699 pkg_failed=yes
3700 fi
3701 fi
3702 else
3703 pkg_failed=untried
3704 fi
3705 if test -n "$PKG_CONFIG"; then
3706 if test -n "$XPROTO_LIBS"; then
3707 pkg_cv_XPROTO_LIBS="$XPROTO_LIBS"
3708 else
3709 if test -n "$PKG_CONFIG" && \
3710 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xproto\"") >&5
3711 ($PKG_CONFIG --exists --print-errors "xproto") 2>&5
3712 ac_status=$?
3713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3714 (exit $ac_status); }; then
3715 pkg_cv_XPROTO_LIBS=`$PKG_CONFIG --libs "xproto" 2>/dev/null`
3716 else
3717 pkg_failed=yes
3718 fi
3719 fi
3720 else
3721 pkg_failed=untried
3722 fi
3723
3724
3725
3726 if test $pkg_failed = yes; then
3727
3728 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
3729 _pkg_short_errors_supported=yes
3730 else
3731 _pkg_short_errors_supported=no
3732 fi
3733 if test $_pkg_short_errors_supported = yes; then
3734 XPROTO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "xproto"`
3735 else
3736 XPROTO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xproto"`
3737 fi
3738 # Put the nasty error message in config.log where it belongs
3739 echo "$XPROTO_PKG_ERRORS" >&5
3740
3741 { { echo "$as_me:$LINENO: error: Package requirements (xproto) were not met:
3742
3743 $XPROTO_PKG_ERRORS
3744
3745 Consider adjusting the PKG_CONFIG_PATH environment variable if you
3746 installed software in a non-standard prefix.
3747
3748 Alternatively, you may set the environment variables XPROTO_CFLAGS
3749 and XPROTO_LIBS to avoid the need to call pkg-config.
3750 See the pkg-config man page for more details.
3751 " >&5
3752 echo "$as_me: error: Package requirements (xproto) were not met:
3753
3754 $XPROTO_PKG_ERRORS
3755
3756 Consider adjusting the PKG_CONFIG_PATH environment variable if you
3757 installed software in a non-standard prefix.
3758
3759 Alternatively, you may set the environment variables XPROTO_CFLAGS
3760 and XPROTO_LIBS to avoid the need to call pkg-config.
3761 See the pkg-config man page for more details.
3762 " >&2;}
3763 { (exit 1); exit 1; }; }
3764 elif test $pkg_failed = untried; then
3765 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
3766 is in your PATH or set the PKG_CONFIG environment variable to the full
3767 path to pkg-config.
3768
3769 Alternatively, you may set the environment variables XPROTO_CFLAGS
3770 and XPROTO_LIBS to avoid the need to call pkg-config.
3771 See the pkg-config man page for more details.
3772
3773 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
3774 See \`config.log' for more details." >&5
3775 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
3776 is in your PATH or set the PKG_CONFIG environment variable to the full
3777 path to pkg-config.
3778
3779 Alternatively, you may set the environment variables XPROTO_CFLAGS
3780 and XPROTO_LIBS to avoid the need to call pkg-config.
3781 See the pkg-config man page for more details.
3782
3783 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
3784 See \`config.log' for more details." >&2;}
3785 { (exit 1); exit 1; }; }
3786 else
3787 XPROTO_CFLAGS=$pkg_cv_XPROTO_CFLAGS
3788 XPROTO_LIBS=$pkg_cv_XPROTO_LIBS
3789 echo "$as_me:$LINENO: result: yes" >&5
3790 echo "${ECHO_T}yes" >&6
3791 :
3792 fi
3793
3794
3795 # Make sure we can run config.sub.
3796 $ac_config_sub sun4 >/dev/null 2>&1 ||
3797 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
3798 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
3799 { (exit 1); exit 1; }; }
3800
3801 echo "$as_me:$LINENO: checking build system type" >&5
3802 echo $ECHO_N "checking build system type... $ECHO_C" >&6
3803 if test "${ac_cv_build+set}" = set; then
3804 echo $ECHO_N "(cached) $ECHO_C" >&6
3805 else
3806 ac_cv_build_alias=$build_alias
3807 test -z "$ac_cv_build_alias" &&
3808 ac_cv_build_alias=`$ac_config_guess`
3809 test -z "$ac_cv_build_alias" &&
3810 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3811 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3812 { (exit 1); exit 1; }; }
3813 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
3814 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
3815 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
3816 { (exit 1); exit 1; }; }
3817
3818 fi
3819 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3820 echo "${ECHO_T}$ac_cv_build" >&6
3821 build=$ac_cv_build
3822 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3823 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3824 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3825
3826
3827 echo "$as_me:$LINENO: checking host system type" >&5
3828 echo $ECHO_N "checking host system type... $ECHO_C" >&6
3829 if test "${ac_cv_host+set}" = set; then
3830 echo $ECHO_N "(cached) $ECHO_C" >&6
3831 else
3832 ac_cv_host_alias=$host_alias
3833 test -z "$ac_cv_host_alias" &&
3834 ac_cv_host_alias=$ac_cv_build_alias
3835 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
3836 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
3837 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
3838 { (exit 1); exit 1; }; }
3839
3840 fi
3841 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3842 echo "${ECHO_T}$ac_cv_host" >&6
3843 host=$ac_cv_host
3844 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3845 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3846 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3847
3848
3849
3850
3851
3852 if test x$APP_MAN_SUFFIX = x ; then
3853 case $host_os in
3854 linux*) APP_MAN_SUFFIX=1x ;;
3855 *) APP_MAN_SUFFIX=1 ;;
3856 esac
3857 fi
3858 if test x$APP_MAN_DIR = x ; then
3859 case $host_os in
3860 linux*) APP_MAN_DIR='$(mandir)/man1' ;;
3861 *) APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)' ;;
3862 esac
3863 fi
3864
3865 if test x$LIB_MAN_SUFFIX = x ; then
3866 case $host_os in
3867 linux*) LIB_MAN_SUFFIX=3x ;;
3868 *) LIB_MAN_SUFFIX=3 ;;
3869 esac
3870 fi
3871 if test x$LIB_MAN_DIR = x ; then
3872 case $host_os in
3873 linux*) LIB_MAN_DIR='$(mandir)/man3' ;;
3874 *) LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)' ;;
3875 esac
3876 fi
3877
3878 if test x$FILE_MAN_SUFFIX = x ; then
3879 case $host_os in
3880 linux*) FILE_MAN_SUFFIX=5x ;;
3881 solaris*) FILE_MAN_SUFFIX=4 ;;
3882 *) FILE_MAN_SUFFIX=5 ;;
3883 esac
3884 fi
3885 if test x$FILE_MAN_DIR = x ; then
3886 case $host_os in
3887 linux*) FILE_MAN_DIR='$(mandir)/man5' ;;
3888 *) FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)' ;;
3889 esac
3890 fi
3891
3892 # In Imake's linux.cf, the misc man suffix & dir was only changed for
3893 # LinuxDebian, not other Linuxes, so we leave it unchanged here
3894 if test x$MISC_MAN_SUFFIX = x ; then
3895 case $host_os in
3896 # linux*) MISC_MAN_SUFFIX=7x ;;
3897 solaris*) MISC_MAN_SUFFIX=5 ;;
3898 *) MISC_MAN_SUFFIX=7 ;;
3899 esac
3900 fi
3901 if test x$MISC_MAN_DIR = x ; then
3902 case $host_os in
3903 # linux*) MISC_MAN_DIR='$(mandir)/man7' ;;
3904 *) MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)' ;;
3905 esac
3906 fi
3907
3908 # In Imake's linux.cf, the driver man suffix & dir was only changed for
3909 # LinuxDebian, not other Linuxes, so we leave it unchanged here
3910 if test x$DRIVER_MAN_SUFFIX = x ; then
3911 case $host_os in
3912 # linux*) DRIVER_MAN_SUFFIX=4x ;;
3913 solaris*) DRIVER_MAN_SUFFIX=7 ;;
3914 *) DRIVER_MAN_SUFFIX=4 ;;
3915 esac
3916 fi
3917 if test x$DRIVER_MAN_DIR = x ; then
3918 case $host_os in
3919 # linux*) DRIVER_MAN_DIR='$(mandir)/man4' ;;
3920 *) DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)' ;;
3921 esac
3922 fi
3923
3924 if test x$ADMIN_MAN_SUFFIX = x ; then
3925 case $host_os in
3926 solaris*) ADMIN_MAN_SUFFIX=1m ;;
3927 *) ADMIN_MAN_SUFFIX=8 ;;
3928 esac
3929 fi
3930 if test x$ADMIN_MAN_DIR = x ; then
3931 ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
3932 fi
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950 # Check whether --with-release-version or --without-release-version was given.
3951 if test "${with_release_version+set}" = set; then
3952 withval="$with_release_version"
3953 RELEASE_VERSION="$withval"
3954 else
3955 RELEASE_VERSION=""
3956 fi;
3957 if test "x$RELEASE_VERSION" != "x"; then
3958 PACKAGE="$PACKAGE-$RELEASE_VERSION"
3959 PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
3960 { echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5
3961 echo "$as_me: Building with package name set to $PACKAGE" >&6;}
3962 fi
3963
3964
3965 ac_config_files="$ac_config_files Makefile"
3966 cat >confcache <<\_ACEOF
3967 # This file is a shell script that caches the results of configure
3968 # tests run on this system so they can be shared between configure
3969 # scripts and configure runs, see configure's option --config-cache.
3970 # It is not useful on other systems. If it contains results you don't
3971 # want to keep, you may remove or edit it.
3972 #
3973 # config.status only pays attention to the cache file if you give it
3974 # the --recheck option to rerun configure.
3975 #
3976 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3977 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3978 # following values.
3979
3980 _ACEOF
3981
3982 # The following way of writing the cache mishandles newlines in values,
3983 # but we know of no workaround that is simple, portable, and efficient.
3984 # So, don't put newlines in cache variables' values.
3985 # Ultrix sh set writes to stderr and can't be redirected directly,
3986 # and sets the high bit in the cache file unless we assign to the vars.
3987 {
3988 (set) 2>&1 |
3989 case `(ac_space=' '; set | grep ac_space) 2>&1` in
3990 *ac_space=\ *)
3991 # `set' does not quote correctly, so add quotes (double-quote
3992 # substitution turns \\\\ into \\, and sed turns \\ into \).
3993 sed -n \
3994 "s/'/'\\\\''/g;
3995 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3996 ;;
3997 *)
3998 # `set' quotes correctly as required by POSIX, so do not add quotes.
3999 sed -n \
4000 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4001 ;;
4002 esac;
4003 } |
4004 sed '
4005 t clear
4006 : clear
4007 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4008 t end
4009 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4010 : end' >>confcache
4011 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4012 if test -w $cache_file; then
4013 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4014 cat confcache >$cache_file
4015 else
4016 echo "not updating unwritable cache $cache_file"
4017 fi
4018 fi
4019 rm -f confcache
4020
4021 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4022 # Let make expand exec_prefix.
4023 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4024
4025 # VPATH may cause trouble with some makes, so we remove $(srcdir),
4026 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4027 # trailing colons and then remove the whole line if VPATH becomes empty
4028 # (actually we leave an empty line to preserve line numbers).
4029 if test "x$srcdir" = x.; then
4030 ac_vpsub='/^[ ]*VPATH[ ]*=/{
4031 s/:*\$(srcdir):*/:/;
4032 s/:*\${srcdir}:*/:/;
4033 s/:*@srcdir@:*/:/;
4034 s/^\([^=]*=[ ]*\):*/\1/;
4035 s/:*$//;
4036 s/^[^=]*=[ ]*$//;
4037 }'
4038 fi
4039
4040 DEFS=-DHAVE_CONFIG_H
4041
4042 ac_libobjs=
4043 ac_ltlibobjs=
4044 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4045 # 1. Remove the extension, and $U if already installed.
4046 ac_i=`echo "$ac_i" |
4047 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
4048 # 2. Add them.
4049 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
4050 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
4051 done
4052 LIBOBJS=$ac_libobjs
4053
4054 LTLIBOBJS=$ac_ltlibobjs
4055
4056
4057 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
4058 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
4059 Usually this means the macro was only invoked conditionally." >&5
4060 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
4061 Usually this means the macro was only invoked conditionally." >&2;}
4062 { (exit 1); exit 1; }; }
4063 fi
4064 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4065 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
4066 Usually this means the macro was only invoked conditionally." >&5
4067 echo "$as_me: error: conditional \"AMDEP\" was never defined.
4068 Usually this means the macro was only invoked conditionally." >&2;}
4069 { (exit 1); exit 1; }; }
4070 fi
4071 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4072 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
4073 Usually this means the macro was only invoked conditionally." >&5
4074 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
4075 Usually this means the macro was only invoked conditionally." >&2;}
4076 { (exit 1); exit 1; }; }
4077 fi
4078 if test -z "${HAS_PERL_TRUE}" && test -z "${HAS_PERL_FALSE}"; then
4079 { { echo "$as_me:$LINENO: error: conditional \"HAS_PERL\" was never defined.
4080 Usually this means the macro was only invoked conditionally." >&5
4081 echo "$as_me: error: conditional \"HAS_PERL\" was never defined.
4082 Usually this means the macro was only invoked conditionally." >&2;}
4083 { (exit 1); exit 1; }; }
4084 fi
4085 if test -z "${BUILD_REVPATH_TRUE}" && test -z "${BUILD_REVPATH_FALSE}"; then
4086 { { echo "$as_me:$LINENO: error: conditional \"BUILD_REVPATH\" was never defined.
4087 Usually this means the macro was only invoked conditionally." >&5
4088 echo "$as_me: error: conditional \"BUILD_REVPATH\" was never defined.
4089 Usually this means the macro was only invoked conditionally." >&2;}
4090 { (exit 1); exit 1; }; }
4091 fi
4092 if test -z "${BUILD_MAKEG_TRUE}" && test -z "${BUILD_MAKEG_FALSE}"; then
4093 { { echo "$as_me:$LINENO: error: conditional \"BUILD_MAKEG\" was never defined.
4094 Usually this means the macro was only invoked conditionally." >&5
4095 echo "$as_me: error: conditional \"BUILD_MAKEG\" was never defined.
4096 Usually this means the macro was only invoked conditionally." >&2;}
4097 { (exit 1); exit 1; }; }
4098 fi
4099 if test -z "${BUILD_XMKMF_TRUE}" && test -z "${BUILD_XMKMF_FALSE}"; then
4100 { { echo "$as_me:$LINENO: error: conditional \"BUILD_XMKMF\" was never defined.
4101 Usually this means the macro was only invoked conditionally." >&5
4102 echo "$as_me: error: conditional \"BUILD_XMKMF\" was never defined.
4103 Usually this means the macro was only invoked conditionally." >&2;}
4104 { (exit 1); exit 1; }; }
4105 fi
4106 if test -z "${BUILD_CCMAKEDEP_TRUE}" && test -z "${BUILD_CCMAKEDEP_FALSE}"; then
4107 { { echo "$as_me:$LINENO: error: conditional \"BUILD_CCMAKEDEP\" was never defined.
4108 Usually this means the macro was only invoked conditionally." >&5
4109 echo "$as_me: error: conditional \"BUILD_CCMAKEDEP\" was never defined.
4110 Usually this means the macro was only invoked conditionally." >&2;}
4111 { (exit 1); exit 1; }; }
4112 fi
4113 if test -z "${BUILD_MERGELIB_TRUE}" && test -z "${BUILD_MERGELIB_FALSE}"; then
4114 { { echo "$as_me:$LINENO: error: conditional \"BUILD_MERGELIB\" was never defined.
4115 Usually this means the macro was only invoked conditionally." >&5
4116 echo "$as_me: error: conditional \"BUILD_MERGELIB\" was never defined.
4117 Usually this means the macro was only invoked conditionally." >&2;}
4118 { (exit 1); exit 1; }; }
4119 fi
4120 if test -z "${BUILD_MKDIRHIER_TRUE}" && test -z "${BUILD_MKDIRHIER_FALSE}"; then
4121 { { echo "$as_me:$LINENO: error: conditional \"BUILD_MKDIRHIER\" was never defined.
4122 Usually this means the macro was only invoked conditionally." >&5
4123 echo "$as_me: error: conditional \"BUILD_MKDIRHIER\" was never defined.
4124 Usually this means the macro was only invoked conditionally." >&2;}
4125 { (exit 1); exit 1; }; }
4126 fi
4127 if test -z "${BUILD_CLEANLINKS_TRUE}" && test -z "${BUILD_CLEANLINKS_FALSE}"; then
4128 { { echo "$as_me:$LINENO: error: conditional \"BUILD_CLEANLINKS\" was never defined.
4129 Usually this means the macro was only invoked conditionally." >&5
4130 echo "$as_me: error: conditional \"BUILD_CLEANLINKS\" was never defined.
4131 Usually this means the macro was only invoked conditionally." >&2;}
4132 { (exit 1); exit 1; }; }
4133 fi
4134 if test -z "${BUILD_MKHTMLINDEX_TRUE}" && test -z "${BUILD_MKHTMLINDEX_FALSE}"; then
4135 { { echo "$as_me:$LINENO: error: conditional \"BUILD_MKHTMLINDEX\" was never defined.
4136 Usually this means the macro was only invoked conditionally." >&5
4137 echo "$as_me: error: conditional \"BUILD_MKHTMLINDEX\" was never defined.
4138 Usually this means the macro was only invoked conditionally." >&2;}
4139 { (exit 1); exit 1; }; }
4140 fi
4141
4142 : ${CONFIG_STATUS=./config.status}
4143 ac_clean_files_save=$ac_clean_files
4144 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4145 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4146 echo "$as_me: creating $CONFIG_STATUS" >&6;}
4147 cat >$CONFIG_STATUS <<_ACEOF
4148 #! $SHELL
4149 # Generated by $as_me.
4150 # Run this file to recreate the current configuration.
4151 # Compiler output produced by configure, useful for debugging
4152 # configure, is in config.log if it exists.
4153
4154 debug=false
4155 ac_cs_recheck=false
4156 ac_cs_silent=false
4157 SHELL=\${CONFIG_SHELL-$SHELL}
4158 _ACEOF
4159
4160 cat >>$CONFIG_STATUS <<\_ACEOF
4161 ## --------------------- ##
4162 ## M4sh Initialization. ##
4163 ## --------------------- ##
4164
4165 # Be Bourne compatible
4166 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
4167 emulate sh
4168 NULLCMD=:
4169 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
4170 # is contrary to our usage. Disable this feature.
4171 alias -g '${1+"$@"}'='"$@"'
4172 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
4173 set -o posix
4174 fi
4175 DUALCASE=1; export DUALCASE # for MKS sh
4176
4177 # Support unset when possible.
4178 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4179 as_unset=unset
4180 else
4181 as_unset=false
4182 fi
4183
4184
4185 # Work around bugs in pre-3.0 UWIN ksh.
4186 $as_unset ENV MAIL MAILPATH
4187 PS1='$ '
4188 PS2='> '
4189 PS4='+ '
4190
4191 # NLS nuisances.
4192 for as_var in \
4193 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
4194 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
4195 LC_TELEPHONE LC_TIME
4196 do
4197 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
4198 eval $as_var=C; export $as_var
4199 else
4200 $as_unset $as_var
4201 fi
4202 done
4203
4204 # Required to use basename.
4205 if expr a : '\(a\)' >/dev/null 2>&1; then
4206 as_expr=expr
4207 else
4208 as_expr=false
4209 fi
4210
4211 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
4212 as_basename=basename
4213 else
4214 as_basename=false
4215 fi
4216
4217
4218 # Name of the executable.
4219 as_me=`$as_basename "$0" ||
4220 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4221 X"$0" : 'X\(//\)$' \| \
4222 X"$0" : 'X\(/\)$' \| \
4223 . : '\(.\)' 2>/dev/null ||
4224 echo X/"$0" |
4225 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
4226 /^X\/\(\/\/\)$/{ s//\1/; q; }
4227 /^X\/\(\/\).*/{ s//\1/; q; }
4228 s/.*/./; q'`
4229
4230
4231 # PATH needs CR, and LINENO needs CR and PATH.
4232 # Avoid depending upon Character Ranges.
4233 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4234 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4235 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4236 as_cr_digits='0123456789'
4237 as_cr_alnum=$as_cr_Letters$as_cr_digits
4238
4239 # The user is always right.
4240 if test "${PATH_SEPARATOR+set}" != set; then
4241 echo "#! /bin/sh" >conf$$.sh
4242 echo "exit 0" >>conf$$.sh
4243 chmod +x conf$$.sh
4244 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4245 PATH_SEPARATOR=';'
4246 else
4247 PATH_SEPARATOR=:
4248 fi
4249 rm -f conf$$.sh
4250 fi
4251
4252
4253 as_lineno_1=$LINENO
4254 as_lineno_2=$LINENO
4255 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
4256 test "x$as_lineno_1" != "x$as_lineno_2" &&
4257 test "x$as_lineno_3" = "x$as_lineno_2" || {
4258 # Find who we are. Look in the path if we contain no path at all
4259 # relative or not.
4260 case $0 in
4261 *[\\/]* ) as_myself=$0 ;;
4262 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4263 for as_dir in $PATH
4264 do
4265 IFS=$as_save_IFS
4266 test -z "$as_dir" && as_dir=.
4267 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4268 done
4269
4270 ;;
4271 esac
4272 # We did not find ourselves, most probably we were run as `sh COMMAND'
4273 # in which case we are not to be found in the path.
4274 if test "x$as_myself" = x; then
4275 as_myself=$0
4276 fi
4277 if test ! -f "$as_myself"; then
4278 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
4279 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
4280 { (exit 1); exit 1; }; }
4281 fi
4282 case $CONFIG_SHELL in
4283 '')
4284 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4285 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
4286 do
4287 IFS=$as_save_IFS
4288 test -z "$as_dir" && as_dir=.
4289 for as_base in sh bash ksh sh5; do
4290 case $as_dir in
4291 /*)
4292 if ("$as_dir/$as_base" -c '
4293 as_lineno_1=$LINENO
4294 as_lineno_2=$LINENO
4295 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
4296 test "x$as_lineno_1" != "x$as_lineno_2" &&
4297 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
4298 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
4299 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
4300 CONFIG_SHELL=$as_dir/$as_base
4301 export CONFIG_SHELL
4302 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
4303 fi;;
4304 esac
4305 done
4306 done
4307 ;;
4308 esac
4309
4310 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4311 # uniformly replaced by the line number. The first 'sed' inserts a
4312 # line-number line before each line; the second 'sed' does the real
4313 # work. The second script uses 'N' to pair each line-number line
4314 # with the numbered line, and appends trailing '-' during
4315 # substitution so that $LINENO is not a special case at line end.
4316 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4317 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
4318 sed '=' <$as_myself |
4319 sed '
4320 N
4321 s,$,-,
4322 : loop
4323 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
4324 t loop
4325 s,-$,,
4326 s,^['$as_cr_digits']*\n,,
4327 ' >$as_me.lineno &&
4328 chmod +x $as_me.lineno ||
4329 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
4330 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
4331 { (exit 1); exit 1; }; }
4332
4333 # Don't try to exec as it changes $[0], causing all sort of problems
4334 # (the dirname of $[0] is not the place where we might find the
4335 # original and so on. Autoconf is especially sensible to this).
4336 . ./$as_me.lineno
4337 # Exit status is that of the last command.
4338 exit
4339 }
4340
4341
4342 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
4343 *c*,-n*) ECHO_N= ECHO_C='
4344 ' ECHO_T=' ' ;;
4345 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
4346 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
4347 esac
4348
4349 if expr a : '\(a\)' >/dev/null 2>&1; then
4350 as_expr=expr
4351 else
4352 as_expr=false
4353 fi
4354
4355 rm -f conf$$ conf$$.exe conf$$.file
4356 echo >conf$$.file
4357 if ln -s conf$$.file conf$$ 2>/dev/null; then
4358 # We could just check for DJGPP; but this test a) works b) is more generic
4359 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
4360 if test -f conf$$.exe; then
4361 # Don't use ln at all; we don't have any links
4362 as_ln_s='cp -p'
4363 else
4364 as_ln_s='ln -s'
4365 fi
4366 elif ln conf$$.file conf$$ 2>/dev/null; then
4367 as_ln_s=ln
4368 else
4369 as_ln_s='cp -p'
4370 fi
4371 rm -f conf$$ conf$$.exe conf$$.file
4372
4373 if mkdir -p . 2>/dev/null; then
4374 as_mkdir_p=:
4375 else
4376 test -d ./-p && rmdir ./-p
4377 as_mkdir_p=false
4378 fi
4379
4380 as_executable_p="test -f"
4381
4382 # Sed expression to map a string onto a valid CPP name.
4383 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4384
4385 # Sed expression to map a string onto a valid variable name.
4386 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4387
4388
4389 # IFS
4390 # We need space, tab and new line, in precisely that order.
4391 as_nl='
4392 '
4393 IFS=" $as_nl"
4394
4395 # CDPATH.
4396 $as_unset CDPATH
4397
4398 exec 6>&1
4399
4400 # Open the log real soon, to keep \$[0] and so on meaningful, and to
4401 # report actual input values of CONFIG_FILES etc. instead of their
4402 # values after options handling. Logging --version etc. is OK.
4403 exec 5>>config.log
4404 {
4405 echo
4406 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4407 ## Running $as_me. ##
4408 _ASBOX
4409 } >&5
4410 cat >&5 <<_CSEOF
4411
4412 This file was extended by imake $as_me 1.0.2, which was
4413 generated by GNU Autoconf 2.59. Invocation command line was
4414
4415 CONFIG_FILES = $CONFIG_FILES
4416 CONFIG_HEADERS = $CONFIG_HEADERS
4417 CONFIG_LINKS = $CONFIG_LINKS
4418 CONFIG_COMMANDS = $CONFIG_COMMANDS
4419 $ $0 $@
4420
4421 _CSEOF
4422 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
4423 echo >&5
4424 _ACEOF
4425
4426 # Files that config.status was made for.
4427 if test -n "$ac_config_files"; then
4428 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
4429 fi
4430
4431 if test -n "$ac_config_headers"; then
4432 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
4433 fi
4434
4435 if test -n "$ac_config_links"; then
4436 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
4437 fi
4438
4439 if test -n "$ac_config_commands"; then
4440 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
4441 fi
4442
4443 cat >>$CONFIG_STATUS <<\_ACEOF
4444
4445 ac_cs_usage="\
4446 \`$as_me' instantiates files from templates according to the
4447 current configuration.
4448
4449 Usage: $0 [OPTIONS] [FILE]...
4450
4451 -h, --help print this help, then exit
4452 -V, --version print version number, then exit
4453 -q, --quiet do not print progress messages
4454 -d, --debug don't remove temporary files
4455 --recheck update $as_me by reconfiguring in the same conditions
4456 --file=FILE[:TEMPLATE]
4457 instantiate the configuration file FILE
4458 --header=FILE[:TEMPLATE]
4459 instantiate the configuration header FILE
4460
4461 Configuration files:
4462 $config_files
4463
4464 Configuration headers:
4465 $config_headers
4466
4467 Configuration commands:
4468 $config_commands
4469
4470 Report bugs to <bug-autoconf@gnu.org>."
4471 _ACEOF
4472
4473 cat >>$CONFIG_STATUS <<_ACEOF
4474 ac_cs_version="\\
4475 imake config.status 1.0.2
4476 configured by $0, generated by GNU Autoconf 2.59,
4477 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
4478
4479 Copyright (C) 2003 Free Software Foundation, Inc.
4480 This config.status script is free software; the Free Software Foundation
4481 gives unlimited permission to copy, distribute and modify it."
4482 srcdir=$srcdir
4483 INSTALL="$INSTALL"
4484 _ACEOF
4485
4486 cat >>$CONFIG_STATUS <<\_ACEOF
4487 # If no file are specified by the user, then we need to provide default
4488 # value. By we need to know if files were specified by the user.
4489 ac_need_defaults=:
4490 while test $# != 0
4491 do
4492 case $1 in
4493 --*=*)
4494 ac_option=`expr "x$1" : 'x\([^=]*\)='`
4495 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
4496 ac_shift=:
4497 ;;
4498 -*)
4499 ac_option=$1
4500 ac_optarg=$2
4501 ac_shift=shift
4502 ;;
4503 *) # This is not an option, so the user has probably given explicit
4504 # arguments.
4505 ac_option=$1
4506 ac_need_defaults=false;;
4507 esac
4508
4509 case $ac_option in
4510 # Handling of the options.
4511 _ACEOF
4512 cat >>$CONFIG_STATUS <<\_ACEOF
4513 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4514 ac_cs_recheck=: ;;
4515 --version | --vers* | -V )
4516 echo "$ac_cs_version"; exit 0 ;;
4517 --he | --h)
4518 # Conflict between --help and --header
4519 { { echo "$as_me:$LINENO: error: ambiguous option: $1
4520 Try \`$0 --help' for more information." >&5
4521 echo "$as_me: error: ambiguous option: $1
4522 Try \`$0 --help' for more information." >&2;}
4523 { (exit 1); exit 1; }; };;
4524 --help | --hel | -h )
4525 echo "$ac_cs_usage"; exit 0 ;;
4526 --debug | --d* | -d )
4527 debug=: ;;
4528 --file | --fil | --fi | --f )
4529 $ac_shift
4530 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
4531 ac_need_defaults=false;;
4532 --header | --heade | --head | --hea )
4533 $ac_shift
4534 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
4535 ac_need_defaults=false;;
4536 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4537 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4538 ac_cs_silent=: ;;
4539
4540 # This is an error.
4541 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
4542 Try \`$0 --help' for more information." >&5
4543 echo "$as_me: error: unrecognized option: $1
4544 Try \`$0 --help' for more information." >&2;}
4545 { (exit 1); exit 1; }; } ;;
4546
4547 *) ac_config_targets="$ac_config_targets $1" ;;
4548
4549 esac
4550 shift
4551 done
4552
4553 ac_configure_extra_args=
4554
4555 if $ac_cs_silent; then
4556 exec 6>/dev/null
4557 ac_configure_extra_args="$ac_configure_extra_args --silent"
4558 fi
4559
4560 _ACEOF
4561 cat >>$CONFIG_STATUS <<_ACEOF
4562 if \$ac_cs_recheck; then
4563 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
4564 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4565 fi
4566
4567 _ACEOF
4568
4569 cat >>$CONFIG_STATUS <<_ACEOF
4570 #
4571 # INIT-COMMANDS section.
4572 #
4573
4574 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
4575
4576 _ACEOF
4577
4578
4579
4580 cat >>$CONFIG_STATUS <<\_ACEOF
4581 for ac_config_target in $ac_config_targets
4582 do
4583 case "$ac_config_target" in
4584 # Handling of arguments.
4585 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4586 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
4587 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
4588 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4589 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4590 { (exit 1); exit 1; }; };;
4591 esac
4592 done
4593
4594 # If the user did not use the arguments to specify the items to instantiate,
4595 # then the envvar interface is used. Set only those that are not.
4596 # We use the long form for the default assignment because of an extremely
4597 # bizarre bug on SunOS 4.1.3.
4598 if $ac_need_defaults; then
4599 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4600 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
4601 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
4602 fi
4603
4604 # Have a temporary directory for convenience. Make it in the build tree
4605 # simply because there is no reason to put it here, and in addition,
4606 # creating and moving files from /tmp can sometimes cause problems.
4607 # Create a temporary directory, and hook for its removal unless debugging.
4608 $debug ||
4609 {
4610 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
4611 trap '{ (exit 1); exit 1; }' 1 2 13 15
4612 }
4613
4614 # Create a (secure) tmp directory for tmp files.
4615
4616 {
4617 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
4618 test -n "$tmp" && test -d "$tmp"
4619 } ||
4620 {
4621 tmp=./confstat$$-$RANDOM
4622 (umask 077 && mkdir $tmp)
4623 } ||
4624 {
4625 echo "$me: cannot create a temporary directory in ." >&2
4626 { (exit 1); exit 1; }
4627 }
4628
4629 _ACEOF
4630
4631 cat >>$CONFIG_STATUS <<_ACEOF
4632
4633 #
4634 # CONFIG_FILES section.
4635 #
4636
4637 # No need to generate the scripts if there are no CONFIG_FILES.
4638 # This happens for instance when ./config.status config.h
4639 if test -n "\$CONFIG_FILES"; then
4640 # Protect against being on the right side of a sed subst in config.status.
4641 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
4642 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
4643 s,@SHELL@,$SHELL,;t t
4644 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
4645 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
4646 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
4647 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
4648 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
4649 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
4650 s,@exec_prefix@,$exec_prefix,;t t
4651 s,@prefix@,$prefix,;t t
4652 s,@program_transform_name@,$program_transform_name,;t t
4653 s,@bindir@,$bindir,;t t
4654 s,@sbindir@,$sbindir,;t t
4655 s,@libexecdir@,$libexecdir,;t t
4656 s,@datadir@,$datadir,;t t
4657 s,@sysconfdir@,$sysconfdir,;t t
4658 s,@sharedstatedir@,$sharedstatedir,;t t
4659 s,@localstatedir@,$localstatedir,;t t
4660 s,@libdir@,$libdir,;t t
4661 s,@includedir@,$includedir,;t t
4662 s,@oldincludedir@,$oldincludedir,;t t
4663 s,@infodir@,$infodir,;t t
4664 s,@mandir@,$mandir,;t t
4665 s,@build_alias@,$build_alias,;t t
4666 s,@host_alias@,$host_alias,;t t
4667 s,@target_alias@,$target_alias,;t t
4668 s,@DEFS@,$DEFS,;t t
4669 s,@ECHO_C@,$ECHO_C,;t t
4670 s,@ECHO_N@,$ECHO_N,;t t
4671 s,@ECHO_T@,$ECHO_T,;t t
4672 s,@LIBS@,$LIBS,;t t
4673 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
4674 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
4675 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
4676 s,@CYGPATH_W@,$CYGPATH_W,;t t
4677 s,@PACKAGE@,$PACKAGE,;t t
4678 s,@VERSION@,$VERSION,;t t
4679 s,@ACLOCAL@,$ACLOCAL,;t t
4680 s,@AUTOCONF@,$AUTOCONF,;t t
4681 s,@AUTOMAKE@,$AUTOMAKE,;t t
4682 s,@AUTOHEADER@,$AUTOHEADER,;t t
4683 s,@MAKEINFO@,$MAKEINFO,;t t
4684 s,@install_sh@,$install_sh,;t t
4685 s,@STRIP@,$STRIP,;t t
4686 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
4687 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
4688 s,@mkdir_p@,$mkdir_p,;t t
4689 s,@AWK@,$AWK,;t t
4690 s,@SET_MAKE@,$SET_MAKE,;t t
4691 s,@am__leading_dot@,$am__leading_dot,;t t
4692 s,@AMTAR@,$AMTAR,;t t
4693 s,@am__tar@,$am__tar,;t t
4694 s,@am__untar@,$am__untar,;t t
4695 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
4696 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
4697 s,@MAINT@,$MAINT,;t t
4698 s,@CC@,$CC,;t t
4699 s,@CFLAGS@,$CFLAGS,;t t
4700 s,@LDFLAGS@,$LDFLAGS,;t t
4701 s,@CPPFLAGS@,$CPPFLAGS,;t t
4702 s,@ac_ct_CC@,$ac_ct_CC,;t t
4703 s,@EXEEXT@,$EXEEXT,;t t
4704 s,@OBJEXT@,$OBJEXT,;t t
4705 s,@DEPDIR@,$DEPDIR,;t t
4706 s,@am__include@,$am__include,;t t
4707 s,@am__quote@,$am__quote,;t t
4708 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
4709 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
4710 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
4711 s,@CCDEPMODE@,$CCDEPMODE,;t t
4712 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
4713 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
4714 s,@CPP@,$CPP,;t t
4715 s,@SED@,$SED,;t t
4716 s,@RAWCPP@,$RAWCPP,;t t
4717 s,@RAWCPPFLAGS@,$RAWCPPFLAGS,;t t
4718 s,@CPP_PROGRAM@,$CPP_PROGRAM,;t t
4719 s,@HAS_PERL@,$HAS_PERL,;t t
4720 s,@HAS_PERL_TRUE@,$HAS_PERL_TRUE,;t t
4721 s,@HAS_PERL_FALSE@,$HAS_PERL_FALSE,;t t
4722 s,@XCONFDIR@,$XCONFDIR,;t t
4723 s,@PREPROCESSCMD_MKDEPEND@,$PREPROCESSCMD_MKDEPEND,;t t
4724 s,@ARCMD@,$ARCMD,;t t
4725 s,@RANLIB@,$RANLIB,;t t
4726 s,@BUILD_REVPATH_TRUE@,$BUILD_REVPATH_TRUE,;t t
4727 s,@BUILD_REVPATH_FALSE@,$BUILD_REVPATH_FALSE,;t t
4728 s,@BUILD_MAKEG_TRUE@,$BUILD_MAKEG_TRUE,;t t
4729 s,@BUILD_MAKEG_FALSE@,$BUILD_MAKEG_FALSE,;t t
4730 s,@BUILD_XMKMF_TRUE@,$BUILD_XMKMF_TRUE,;t t
4731 s,@BUILD_XMKMF_FALSE@,$BUILD_XMKMF_FALSE,;t t
4732 s,@BUILD_CCMAKEDEP_TRUE@,$BUILD_CCMAKEDEP_TRUE,;t t
4733 s,@BUILD_CCMAKEDEP_FALSE@,$BUILD_CCMAKEDEP_FALSE,;t t
4734 s,@BUILD_MERGELIB_TRUE@,$BUILD_MERGELIB_TRUE,;t t
4735 s,@BUILD_MERGELIB_FALSE@,$BUILD_MERGELIB_FALSE,;t t
4736 s,@BUILD_MKDIRHIER_TRUE@,$BUILD_MKDIRHIER_TRUE,;t t
4737 s,@BUILD_MKDIRHIER_FALSE@,$BUILD_MKDIRHIER_FALSE,;t t
4738 s,@BUILD_CLEANLINKS_TRUE@,$BUILD_CLEANLINKS_TRUE,;t t
4739 s,@BUILD_CLEANLINKS_FALSE@,$BUILD_CLEANLINKS_FALSE,;t t
4740 s,@BUILD_MKHTMLINDEX_TRUE@,$BUILD_MKHTMLINDEX_TRUE,;t t
4741 s,@BUILD_MKHTMLINDEX_FALSE@,$BUILD_MKHTMLINDEX_FALSE,;t t
4742 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
4743 s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
4744 s,@XPROTO_CFLAGS@,$XPROTO_CFLAGS,;t t
4745 s,@XPROTO_LIBS@,$XPROTO_LIBS,;t t
4746 s,@build@,$build,;t t
4747 s,@build_cpu@,$build_cpu,;t t
4748 s,@build_vendor@,$build_vendor,;t t
4749 s,@build_os@,$build_os,;t t
4750 s,@host@,$host,;t t
4751 s,@host_cpu@,$host_cpu,;t t
4752 s,@host_vendor@,$host_vendor,;t t
4753 s,@host_os@,$host_os,;t t
4754 s,@APP_MAN_SUFFIX@,$APP_MAN_SUFFIX,;t t
4755 s,@LIB_MAN_SUFFIX@,$LIB_MAN_SUFFIX,;t t
4756 s,@FILE_MAN_SUFFIX@,$FILE_MAN_SUFFIX,;t t
4757 s,@MISC_MAN_SUFFIX@,$MISC_MAN_SUFFIX,;t t
4758 s,@DRIVER_MAN_SUFFIX@,$DRIVER_MAN_SUFFIX,;t t
4759 s,@ADMIN_MAN_SUFFIX@,$ADMIN_MAN_SUFFIX,;t t
4760 s,@APP_MAN_DIR@,$APP_MAN_DIR,;t t
4761 s,@LIB_MAN_DIR@,$LIB_MAN_DIR,;t t
4762 s,@FILE_MAN_DIR@,$FILE_MAN_DIR,;t t
4763 s,@MISC_MAN_DIR@,$MISC_MAN_DIR,;t t
4764 s,@DRIVER_MAN_DIR@,$DRIVER_MAN_DIR,;t t
4765 s,@ADMIN_MAN_DIR@,$ADMIN_MAN_DIR,;t t
4766 s,@LIBOBJS@,$LIBOBJS,;t t
4767 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
4768 CEOF
4769
4770 _ACEOF
4771
4772 cat >>$CONFIG_STATUS <<\_ACEOF
4773 # Split the substitutions into bite-sized pieces for seds with
4774 # small command number limits, like on Digital OSF/1 and HP-UX.
4775 ac_max_sed_lines=48
4776 ac_sed_frag=1 # Number of current file.
4777 ac_beg=1 # First line for current file.
4778 ac_end=$ac_max_sed_lines # Line after last line for current file.
4779 ac_more_lines=:
4780 ac_sed_cmds=
4781 while $ac_more_lines; do
4782 if test $ac_beg -gt 1; then
4783 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4784 else
4785 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4786 fi
4787 if test ! -s $tmp/subs.frag; then
4788 ac_more_lines=false
4789 else
4790 # The purpose of the label and of the branching condition is to
4791 # speed up the sed processing (if there are no `@' at all, there
4792 # is no need to browse any of the substitutions).
4793 # These are the two extra sed commands mentioned above.
4794 (echo ':t
4795 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
4796 if test -z "$ac_sed_cmds"; then
4797 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
4798 else
4799 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
4800 fi
4801 ac_sed_frag=`expr $ac_sed_frag + 1`
4802 ac_beg=$ac_end
4803 ac_end=`expr $ac_end + $ac_max_sed_lines`
4804 fi
4805 done
4806 if test -z "$ac_sed_cmds"; then
4807 ac_sed_cmds=cat
4808 fi
4809 fi # test -n "$CONFIG_FILES"
4810
4811 _ACEOF
4812 cat >>$CONFIG_STATUS <<\_ACEOF
4813 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
4814 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4815 case $ac_file in
4816 - | *:- | *:-:* ) # input from stdin
4817 cat >$tmp/stdin
4818 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4819 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4820 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4821 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4822 * ) ac_file_in=$ac_file.in ;;
4823 esac
4824
4825 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
4826 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
4827 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4828 X"$ac_file" : 'X\(//\)[^/]' \| \
4829 X"$ac_file" : 'X\(//\)$' \| \
4830 X"$ac_file" : 'X\(/\)' \| \
4831 . : '\(.\)' 2>/dev/null ||
4832 echo X"$ac_file" |
4833 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4834 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4835 /^X\(\/\/\)$/{ s//\1/; q; }
4836 /^X\(\/\).*/{ s//\1/; q; }
4837 s/.*/./; q'`
4838 { if $as_mkdir_p; then
4839 mkdir -p "$ac_dir"
4840 else
4841 as_dir="$ac_dir"
4842 as_dirs=
4843 while test ! -d "$as_dir"; do
4844 as_dirs="$as_dir $as_dirs"
4845 as_dir=`(dirname "$as_dir") 2>/dev/null ||
4846 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4847 X"$as_dir" : 'X\(//\)[^/]' \| \
4848 X"$as_dir" : 'X\(//\)$' \| \
4849 X"$as_dir" : 'X\(/\)' \| \
4850 . : '\(.\)' 2>/dev/null ||
4851 echo X"$as_dir" |
4852 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4853 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4854 /^X\(\/\/\)$/{ s//\1/; q; }
4855 /^X\(\/\).*/{ s//\1/; q; }
4856 s/.*/./; q'`
4857 done
4858 test ! -n "$as_dirs" || mkdir $as_dirs
4859 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4860 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4861 { (exit 1); exit 1; }; }; }
4862
4863 ac_builddir=.
4864
4865 if test "$ac_dir" != .; then
4866 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4867 # A "../" for each directory in $ac_dir_suffix.
4868 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4869 else
4870 ac_dir_suffix= ac_top_builddir=
4871 fi
4872
4873 case $srcdir in
4874 .) # No --srcdir option. We are building in place.
4875 ac_srcdir=.
4876 if test -z "$ac_top_builddir"; then
4877 ac_top_srcdir=.
4878 else
4879 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4880 fi ;;
4881 [\\/]* | ?:[\\/]* ) # Absolute path.
4882 ac_srcdir=$srcdir$ac_dir_suffix;
4883 ac_top_srcdir=$srcdir ;;
4884 *) # Relative path.
4885 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4886 ac_top_srcdir=$ac_top_builddir$srcdir ;;
4887 esac
4888
4889 # Do not use `cd foo && pwd` to compute absolute paths, because
4890 # the directories may not exist.
4891 case `pwd` in
4892 .) ac_abs_builddir="$ac_dir";;
4893 *)
4894 case "$ac_dir" in
4895 .) ac_abs_builddir=`pwd`;;
4896 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
4897 *) ac_abs_builddir=`pwd`/"$ac_dir";;
4898 esac;;
4899 esac
4900 case $ac_abs_builddir in
4901 .) ac_abs_top_builddir=${ac_top_builddir}.;;
4902 *)
4903 case ${ac_top_builddir}. in
4904 .) ac_abs_top_builddir=$ac_abs_builddir;;
4905 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
4906 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
4907 esac;;
4908 esac
4909 case $ac_abs_builddir in
4910 .) ac_abs_srcdir=$ac_srcdir;;
4911 *)
4912 case $ac_srcdir in
4913 .) ac_abs_srcdir=$ac_abs_builddir;;
4914 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
4915 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
4916 esac;;
4917 esac
4918 case $ac_abs_builddir in
4919 .) ac_abs_top_srcdir=$ac_top_srcdir;;
4920 *)
4921 case $ac_top_srcdir in
4922 .) ac_abs_top_srcdir=$ac_abs_builddir;;
4923 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
4924 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
4925 esac;;
4926 esac
4927
4928
4929 case $INSTALL in
4930 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4931 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
4932 esac
4933
4934 if test x"$ac_file" != x-; then
4935 { echo "$as_me:$LINENO: creating $ac_file" >&5
4936 echo "$as_me: creating $ac_file" >&6;}
4937 rm -f "$ac_file"
4938 fi
4939 # Let's still pretend it is `configure' which instantiates (i.e., don't
4940 # use $as_me), people would be surprised to read:
4941 # /* config.h. Generated by config.status. */
4942 if test x"$ac_file" = x-; then
4943 configure_input=
4944 else
4945 configure_input="$ac_file. "
4946 fi
4947 configure_input=$configure_input"Generated from `echo $ac_file_in |
4948 sed 's,.*/,,'` by configure."
4949
4950 # First look for the input files in the build tree, otherwise in the
4951 # src tree.
4952 ac_file_inputs=`IFS=:
4953 for f in $ac_file_in; do
4954 case $f in
4955 -) echo $tmp/stdin ;;
4956 [\\/$]*)
4957 # Absolute (can't be DOS-style, as IFS=:)
4958 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4959 echo "$as_me: error: cannot find input file: $f" >&2;}
4960 { (exit 1); exit 1; }; }
4961 echo "$f";;
4962 *) # Relative
4963 if test -f "$f"; then
4964 # Build tree
4965 echo "$f"
4966 elif test -f "$srcdir/$f"; then
4967 # Source tree
4968 echo "$srcdir/$f"
4969 else
4970 # /dev/null tree
4971 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4972 echo "$as_me: error: cannot find input file: $f" >&2;}
4973 { (exit 1); exit 1; }; }
4974 fi;;
4975 esac
4976 done` || { (exit 1); exit 1; }
4977 _ACEOF
4978 cat >>$CONFIG_STATUS <<_ACEOF
4979 sed "$ac_vpsub
4980 $extrasub
4981 _ACEOF
4982 cat >>$CONFIG_STATUS <<\_ACEOF
4983 :t
4984 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4985 s,@configure_input@,$configure_input,;t t
4986 s,@srcdir@,$ac_srcdir,;t t
4987 s,@abs_srcdir@,$ac_abs_srcdir,;t t
4988 s,@top_srcdir@,$ac_top_srcdir,;t t
4989 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
4990 s,@builddir@,$ac_builddir,;t t
4991 s,@abs_builddir@,$ac_abs_builddir,;t t
4992 s,@top_builddir@,$ac_top_builddir,;t t
4993 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
4994 s,@INSTALL@,$ac_INSTALL,;t t
4995 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
4996 rm -f $tmp/stdin
4997 if test x"$ac_file" != x-; then
4998 mv $tmp/out $ac_file
4999 else
5000 cat $tmp/out
5001 rm -f $tmp/out
5002 fi
5003
5004 done
5005 _ACEOF
5006 cat >>$CONFIG_STATUS <<\_ACEOF
5007
5008 #
5009 # CONFIG_HEADER section.
5010 #
5011
5012 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
5013 # NAME is the cpp macro being defined and VALUE is the value it is being given.
5014 #
5015 # ac_d sets the value in "#define NAME VALUE" lines.
5016 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
5017 ac_dB='[ ].*$,\1#\2'
5018 ac_dC=' '
5019 ac_dD=',;t'
5020 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
5021 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
5022 ac_uB='$,\1#\2define\3'
5023 ac_uC=' '
5024 ac_uD=',;t'
5025
5026 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
5027 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5028 case $ac_file in
5029 - | *:- | *:-:* ) # input from stdin
5030 cat >$tmp/stdin
5031 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5032 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5033 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5034 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5035 * ) ac_file_in=$ac_file.in ;;
5036 esac
5037
5038 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
5039 echo "$as_me: creating $ac_file" >&6;}
5040
5041 # First look for the input files in the build tree, otherwise in the
5042 # src tree.
5043 ac_file_inputs=`IFS=:
5044 for f in $ac_file_in; do
5045 case $f in
5046 -) echo $tmp/stdin ;;
5047 [\\/$]*)
5048 # Absolute (can't be DOS-style, as IFS=:)
5049 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5050 echo "$as_me: error: cannot find input file: $f" >&2;}
5051 { (exit 1); exit 1; }; }
5052 # Do quote $f, to prevent DOS paths from being IFS'd.
5053 echo "$f";;
5054 *) # Relative
5055 if test -f "$f"; then
5056 # Build tree
5057 echo "$f"
5058 elif test -f "$srcdir/$f"; then
5059 # Source tree
5060 echo "$srcdir/$f"
5061 else
5062 # /dev/null tree
5063 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5064 echo "$as_me: error: cannot find input file: $f" >&2;}
5065 { (exit 1); exit 1; }; }
5066 fi;;
5067 esac
5068 done` || { (exit 1); exit 1; }
5069 # Remove the trailing spaces.
5070 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
5071
5072 _ACEOF
5073
5074 # Transform confdefs.h into two sed scripts, `conftest.defines' and
5075 # `conftest.undefs', that substitutes the proper values into
5076 # config.h.in to produce config.h. The first handles `#define'
5077 # templates, and the second `#undef' templates.
5078 # And first: Protect against being on the right side of a sed subst in
5079 # config.status. Protect against being in an unquoted here document
5080 # in config.status.
5081 rm -f conftest.defines conftest.undefs
5082 # Using a here document instead of a string reduces the quoting nightmare.
5083 # Putting comments in sed scripts is not portable.
5084 #
5085 # `end' is used to avoid that the second main sed command (meant for
5086 # 0-ary CPP macros) applies to n-ary macro definitions.
5087 # See the Autoconf documentation for `clear'.
5088 cat >confdef2sed.sed <<\_ACEOF
5089 s/[\\&,]/\\&/g
5090 s,[\\$`],\\&,g
5091 t clear
5092 : clear
5093 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
5094 t end
5095 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
5096 : end
5097 _ACEOF
5098 # If some macros were called several times there might be several times
5099 # the same #defines, which is useless. Nevertheless, we may not want to
5100 # sort them, since we want the *last* AC-DEFINE to be honored.
5101 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
5102 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
5103 rm -f confdef2sed.sed
5104
5105 # This sed command replaces #undef with comments. This is necessary, for
5106 # example, in the case of _POSIX_SOURCE, which is predefined and required
5107 # on some systems where configure will not decide to define it.
5108 cat >>conftest.undefs <<\_ACEOF
5109 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
5110 _ACEOF
5111
5112 # Break up conftest.defines because some shells have a limit on the size
5113 # of here documents, and old seds have small limits too (100 cmds).
5114 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
5115 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
5116 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
5117 echo ' :' >>$CONFIG_STATUS
5118 rm -f conftest.tail
5119 while grep . conftest.defines >/dev/null
5120 do
5121 # Write a limited-size here document to $tmp/defines.sed.
5122 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
5123 # Speed up: don't consider the non `#define' lines.
5124 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
5125 # Work around the forget-to-reset-the-flag bug.
5126 echo 't clr' >>$CONFIG_STATUS
5127 echo ': clr' >>$CONFIG_STATUS
5128 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
5129 echo 'CEOF
5130 sed -f $tmp/defines.sed $tmp/in >$tmp/out
5131 rm -f $tmp/in
5132 mv $tmp/out $tmp/in
5133 ' >>$CONFIG_STATUS
5134 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
5135 rm -f conftest.defines
5136 mv conftest.tail conftest.defines
5137 done
5138 rm -f conftest.defines
5139 echo ' fi # grep' >>$CONFIG_STATUS
5140 echo >>$CONFIG_STATUS
5141
5142 # Break up conftest.undefs because some shells have a limit on the size
5143 # of here documents, and old seds have small limits too (100 cmds).
5144 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
5145 rm -f conftest.tail
5146 while grep . conftest.undefs >/dev/null
5147 do
5148 # Write a limited-size here document to $tmp/undefs.sed.
5149 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
5150 # Speed up: don't consider the non `#undef'
5151 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
5152 # Work around the forget-to-reset-the-flag bug.
5153 echo 't clr' >>$CONFIG_STATUS
5154 echo ': clr' >>$CONFIG_STATUS
5155 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
5156 echo 'CEOF
5157 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
5158 rm -f $tmp/in
5159 mv $tmp/out $tmp/in
5160 ' >>$CONFIG_STATUS
5161 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
5162 rm -f conftest.undefs
5163 mv conftest.tail conftest.undefs
5164 done
5165 rm -f conftest.undefs
5166
5167 cat >>$CONFIG_STATUS <<\_ACEOF
5168 # Let's still pretend it is `configure' which instantiates (i.e., don't
5169 # use $as_me), people would be surprised to read:
5170 # /* config.h. Generated by config.status. */
5171 if test x"$ac_file" = x-; then
5172 echo "/* Generated by configure. */" >$tmp/config.h
5173 else
5174 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
5175 fi
5176 cat $tmp/in >>$tmp/config.h
5177 rm -f $tmp/in
5178 if test x"$ac_file" != x-; then
5179 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
5180 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
5181 echo "$as_me: $ac_file is unchanged" >&6;}
5182 else
5183 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
5184 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5185 X"$ac_file" : 'X\(//\)[^/]' \| \
5186 X"$ac_file" : 'X\(//\)$' \| \
5187 X"$ac_file" : 'X\(/\)' \| \
5188 . : '\(.\)' 2>/dev/null ||
5189 echo X"$ac_file" |
5190 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5191 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5192 /^X\(\/\/\)$/{ s//\1/; q; }
5193 /^X\(\/\).*/{ s//\1/; q; }
5194 s/.*/./; q'`
5195 { if $as_mkdir_p; then
5196 mkdir -p "$ac_dir"
5197 else
5198 as_dir="$ac_dir"
5199 as_dirs=
5200 while test ! -d "$as_dir"; do
5201 as_dirs="$as_dir $as_dirs"
5202 as_dir=`(dirname "$as_dir") 2>/dev/null ||
5203 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5204 X"$as_dir" : 'X\(//\)[^/]' \| \
5205 X"$as_dir" : 'X\(//\)$' \| \
5206 X"$as_dir" : 'X\(/\)' \| \
5207 . : '\(.\)' 2>/dev/null ||
5208 echo X"$as_dir" |
5209 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5210 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5211 /^X\(\/\/\)$/{ s//\1/; q; }
5212 /^X\(\/\).*/{ s//\1/; q; }
5213 s/.*/./; q'`
5214 done
5215 test ! -n "$as_dirs" || mkdir $as_dirs
5216 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5217 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5218 { (exit 1); exit 1; }; }; }
5219
5220 rm -f $ac_file
5221 mv $tmp/config.h $ac_file
5222 fi
5223 else
5224 cat $tmp/config.h
5225 rm -f $tmp/config.h
5226 fi
5227 # Compute $ac_file's index in $config_headers.
5228 _am_stamp_count=1
5229 for _am_header in $config_headers :; do
5230 case $_am_header in
5231 $ac_file | $ac_file:* )
5232 break ;;
5233 * )
5234 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
5235 esac
5236 done
5237 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
5238 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5239 X$ac_file : 'X\(//\)[^/]' \| \
5240 X$ac_file : 'X\(//\)$' \| \
5241 X$ac_file : 'X\(/\)' \| \
5242 . : '\(.\)' 2>/dev/null ||
5243 echo X$ac_file |
5244 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5245 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5246 /^X\(\/\/\)$/{ s//\1/; q; }
5247 /^X\(\/\).*/{ s//\1/; q; }
5248 s/.*/./; q'`/stamp-h$_am_stamp_count
5249 done
5250 _ACEOF
5251 cat >>$CONFIG_STATUS <<\_ACEOF
5252
5253 #
5254 # CONFIG_COMMANDS section.
5255 #
5256 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
5257 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
5258 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
5259 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
5260 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5261 X"$ac_dest" : 'X\(//\)[^/]' \| \
5262 X"$ac_dest" : 'X\(//\)$' \| \
5263 X"$ac_dest" : 'X\(/\)' \| \
5264 . : '\(.\)' 2>/dev/null ||
5265 echo X"$ac_dest" |
5266 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5267 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5268 /^X\(\/\/\)$/{ s//\1/; q; }
5269 /^X\(\/\).*/{ s//\1/; q; }
5270 s/.*/./; q'`
5271 { if $as_mkdir_p; then
5272 mkdir -p "$ac_dir"
5273 else
5274 as_dir="$ac_dir"
5275 as_dirs=
5276 while test ! -d "$as_dir"; do
5277 as_dirs="$as_dir $as_dirs"
5278 as_dir=`(dirname "$as_dir") 2>/dev/null ||
5279 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5280 X"$as_dir" : 'X\(//\)[^/]' \| \
5281 X"$as_dir" : 'X\(//\)$' \| \
5282 X"$as_dir" : 'X\(/\)' \| \
5283 . : '\(.\)' 2>/dev/null ||
5284 echo X"$as_dir" |
5285 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5286 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5287 /^X\(\/\/\)$/{ s//\1/; q; }
5288 /^X\(\/\).*/{ s//\1/; q; }
5289 s/.*/./; q'`
5290 done
5291 test ! -n "$as_dirs" || mkdir $as_dirs
5292 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5293 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5294 { (exit 1); exit 1; }; }; }
5295
5296 ac_builddir=.
5297
5298 if test "$ac_dir" != .; then
5299 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5300 # A "../" for each directory in $ac_dir_suffix.
5301 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5302 else
5303 ac_dir_suffix= ac_top_builddir=
5304 fi
5305
5306 case $srcdir in
5307 .) # No --srcdir option. We are building in place.
5308 ac_srcdir=.
5309 if test -z "$ac_top_builddir"; then
5310 ac_top_srcdir=.
5311 else
5312 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
5313 fi ;;
5314 [\\/]* | ?:[\\/]* ) # Absolute path.
5315 ac_srcdir=$srcdir$ac_dir_suffix;
5316 ac_top_srcdir=$srcdir ;;
5317 *) # Relative path.
5318 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5319 ac_top_srcdir=$ac_top_builddir$srcdir ;;
5320 esac
5321
5322 # Do not use `cd foo && pwd` to compute absolute paths, because
5323 # the directories may not exist.
5324 case `pwd` in
5325 .) ac_abs_builddir="$ac_dir";;
5326 *)
5327 case "$ac_dir" in
5328 .) ac_abs_builddir=`pwd`;;
5329 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
5330 *) ac_abs_builddir=`pwd`/"$ac_dir";;
5331 esac;;
5332 esac
5333 case $ac_abs_builddir in
5334 .) ac_abs_top_builddir=${ac_top_builddir}.;;
5335 *)
5336 case ${ac_top_builddir}. in
5337 .) ac_abs_top_builddir=$ac_abs_builddir;;
5338 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
5339 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
5340 esac;;
5341 esac
5342 case $ac_abs_builddir in
5343 .) ac_abs_srcdir=$ac_srcdir;;
5344 *)
5345 case $ac_srcdir in
5346 .) ac_abs_srcdir=$ac_abs_builddir;;
5347 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
5348 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
5349 esac;;
5350 esac
5351 case $ac_abs_builddir in
5352 .) ac_abs_top_srcdir=$ac_top_srcdir;;
5353 *)
5354 case $ac_top_srcdir in
5355 .) ac_abs_top_srcdir=$ac_abs_builddir;;
5356 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
5357 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
5358 esac;;
5359 esac
5360
5361
5362 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
5363 echo "$as_me: executing $ac_dest commands" >&6;}
5364 case $ac_dest in
5365 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
5366 # Strip MF so we end up with the name of the file.
5367 mf=`echo "$mf" | sed -e 's/:.*$//'`
5368 # Check whether this is an Automake generated Makefile or not.
5369 # We used to match only the files named `Makefile.in', but
5370 # some people rename them; so instead we look at the file content.
5371 # Grep'ing the first line is not enough: some people post-process
5372 # each Makefile.in and add a new line on top of each file to say so.
5373 # So let's grep whole file.
5374 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
5375 dirpart=`(dirname "$mf") 2>/dev/null ||
5376 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5377 X"$mf" : 'X\(//\)[^/]' \| \
5378 X"$mf" : 'X\(//\)$' \| \
5379 X"$mf" : 'X\(/\)' \| \
5380 . : '\(.\)' 2>/dev/null ||
5381 echo X"$mf" |
5382 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5383 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5384 /^X\(\/\/\)$/{ s//\1/; q; }
5385 /^X\(\/\).*/{ s//\1/; q; }
5386 s/.*/./; q'`
5387 else
5388 continue
5389 fi
5390 # Extract the definition of DEPDIR, am__include, and am__quote
5391 # from the Makefile without running `make'.
5392 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
5393 test -z "$DEPDIR" && continue
5394 am__include=`sed -n 's/^am__include = //p' < "$mf"`
5395 test -z "am__include" && continue
5396 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
5397 # When using ansi2knr, U may be empty or an underscore; expand it
5398 U=`sed -n 's/^U = //p' < "$mf"`
5399 # Find all dependency output files, they are included files with
5400 # $(DEPDIR) in their names. We invoke sed twice because it is the
5401 # simplest approach to changing $(DEPDIR) to its actual value in the
5402 # expansion.
5403 for file in `sed -n "
5404 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
5405 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
5406 # Make sure the directory exists.
5407 test -f "$dirpart/$file" && continue
5408 fdir=`(dirname "$file") 2>/dev/null ||
5409 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5410 X"$file" : 'X\(//\)[^/]' \| \
5411 X"$file" : 'X\(//\)$' \| \
5412 X"$file" : 'X\(/\)' \| \
5413 . : '\(.\)' 2>/dev/null ||
5414 echo X"$file" |
5415 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5416 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5417 /^X\(\/\/\)$/{ s//\1/; q; }
5418 /^X\(\/\).*/{ s//\1/; q; }
5419 s/.*/./; q'`
5420 { if $as_mkdir_p; then
5421 mkdir -p $dirpart/$fdir
5422 else
5423 as_dir=$dirpart/$fdir
5424 as_dirs=
5425 while test ! -d "$as_dir"; do
5426 as_dirs="$as_dir $as_dirs"
5427 as_dir=`(dirname "$as_dir") 2>/dev/null ||
5428 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5429 X"$as_dir" : 'X\(//\)[^/]' \| \
5430 X"$as_dir" : 'X\(//\)$' \| \
5431 X"$as_dir" : 'X\(/\)' \| \
5432 . : '\(.\)' 2>/dev/null ||
5433 echo X"$as_dir" |
5434 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5435 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5436 /^X\(\/\/\)$/{ s//\1/; q; }
5437 /^X\(\/\).*/{ s//\1/; q; }
5438 s/.*/./; q'`
5439 done
5440 test ! -n "$as_dirs" || mkdir $as_dirs
5441 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
5442 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
5443 { (exit 1); exit 1; }; }; }
5444
5445 # echo "creating $dirpart/$file"
5446 echo '# dummy' > "$dirpart/$file"
5447 done
5448 done
5449 ;;
5450 esac
5451 done
5452 _ACEOF
5453
5454 cat >>$CONFIG_STATUS <<\_ACEOF
5455
5456 { (exit 0); exit 0; }
5457 _ACEOF
5458 chmod +x $CONFIG_STATUS
5459 ac_clean_files=$ac_clean_files_save
5460
5461
5462 # configure is writing to config.log, and then calls config.status.
5463 # config.status does its own redirection, appending to config.log.
5464 # Unfortunately, on DOS this fails, as config.log is still kept open
5465 # by configure, so config.status won't be able to write to it; its
5466 # output is simply discarded. So we exec the FD to /dev/null,
5467 # effectively closing config.log, so it can be properly (re)opened and
5468 # appended to by config.status. When coming back to configure, we
5469 # need to make the FD available again.
5470 if test "$no_create" != yes; then
5471 ac_cs_success=:
5472 ac_config_status_args=
5473 test "$silent" = yes &&
5474 ac_config_status_args="$ac_config_status_args --quiet"
5475 exec 5>/dev/null
5476 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5477 exec 5>>config.log
5478 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5479 # would make configure fail if this is the last instruction.
5480 $ac_cs_success || { (exit 1); exit 1; }
5481 fi
5482
5483