Match Samba 2.2, and make ACB_NORMAL the default ACB value.
[Samba.git] / docs / docbook / configure
blob7b159a19122bf144daf129ad40d5b69163bbe912
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.57.
5 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
6 # Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be Bourne compatible
14 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
15 emulate sh
16 NULLCMD=:
17 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
18 # is contrary to our usage. Disable this feature.
19 alias -g '${1+"$@"}'='"$@"'
20 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
21 set -o posix
24 # Support unset when possible.
25 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
26 as_unset=unset
27 else
28 as_unset=false
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
34 PS1='$ '
35 PS2='> '
36 PS4='+ '
38 # NLS nuisances.
39 for as_var in \
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
42 LC_TELEPHONE LC_TIME
44 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C; export $as_var
46 else
47 $as_unset $as_var
49 done
51 # Required to use basename.
52 if expr a : '\(a\)' >/dev/null 2>&1; then
53 as_expr=expr
54 else
55 as_expr=false
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
59 as_basename=basename
60 else
61 as_basename=false
65 # Name of the executable.
66 as_me=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
71 echo X/"$0" |
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
75 s/.*/./; q'`
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits='0123456789'
84 as_cr_alnum=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
90 chmod +x conf$$.sh
91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
92 PATH_SEPARATOR=';'
93 else
94 PATH_SEPARATOR=:
96 rm -f conf$$.sh
100 as_lineno_1=$LINENO
101 as_lineno_2=$LINENO
102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" || {
105 # Find who we are. Look in the path if we contain no path at all
106 # relative or not.
107 case $0 in
108 *[\\/]* ) as_myself=$0 ;;
109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110 for as_dir in $PATH
112 IFS=$as_save_IFS
113 test -z "$as_dir" && as_dir=.
114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
115 done
118 esac
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x; then
122 as_myself=$0
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
133 IFS=$as_save_IFS
134 test -z "$as_dir" && as_dir=.
135 for as_base in sh bash ksh sh5; do
136 case $as_dir in
138 if ("$as_dir/$as_base" -c '
139 as_lineno_1=$LINENO
140 as_lineno_2=$LINENO
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146 CONFIG_SHELL=$as_dir/$as_base
147 export CONFIG_SHELL
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
149 fi;;
150 esac
151 done
152 done
154 esac
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
165 sed '
167 s,$,-,
168 : loop
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
170 t loop
171 s,-$,,
172 s,^['$as_cr_digits']*\n,,
173 ' >$as_me.lineno &&
174 chmod +x $as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
181 . ./$as_me.lineno
182 # Exit status is that of the last command.
183 exit
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c*,-n*) ECHO_N= ECHO_C='
189 ' ECHO_T=' ' ;;
190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
192 esac
194 if expr a : '\(a\)' >/dev/null 2>&1; then
195 as_expr=expr
196 else
197 as_expr=false
200 rm -f conf$$ conf$$.exe conf$$.file
201 echo >conf$$.file
202 if ln -s conf$$.file conf$$ 2>/dev/null; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe; then
206 # Don't use ln at all; we don't have any links
207 as_ln_s='cp -p'
208 else
209 as_ln_s='ln -s'
211 elif ln conf$$.file conf$$ 2>/dev/null; then
212 as_ln_s=ln
213 else
214 as_ln_s='cp -p'
216 rm -f conf$$ conf$$.exe conf$$.file
218 if mkdir -p . 2>/dev/null; then
219 as_mkdir_p=:
220 else
221 as_mkdir_p=false
224 as_executable_p="test -f"
226 # Sed expression to map a string onto a valid CPP name.
227 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
229 # Sed expression to map a string onto a valid variable name.
230 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
233 # IFS
234 # We need space, tab and new line, in precisely that order.
235 as_nl='
237 IFS=" $as_nl"
239 # CDPATH.
240 $as_unset CDPATH
243 # Name of the host.
244 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
245 # so uname gets run too.
246 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
248 exec 6>&1
251 # Initializations.
253 ac_default_prefix=/usr/local
254 ac_config_libobj_dir=.
255 cross_compiling=no
256 subdirs=
257 MFLAGS=
258 MAKEFLAGS=
259 SHELL=${CONFIG_SHELL-/bin/sh}
261 # Maximum number of lines to put in a shell here document.
262 # This variable seems obsolete. It should probably be removed, and
263 # only ac_max_sed_lines should be used.
264 : ${ac_max_here_lines=38}
266 # Identity of this package.
267 PACKAGE_NAME=
268 PACKAGE_TARNAME=
269 PACKAGE_VERSION=
270 PACKAGE_STRING=
271 PACKAGE_BUGREPORT=
273 ac_unique_file="global.ent"
274 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 XSLTPROC PDFLATEX MAKEINDEX LATEX DVIPS PNGTOPNM PNMTOPS PERL XMLTO DOC_BUILD_DATE TEXSTYLESHEET PAPERSIZE DUPLICATE_ULINKS FONTSIZE CROP LIBOBJS LTLIBOBJS'
275 ac_subst_files=''
277 # Initialize some variables set by options.
278 ac_init_help=
279 ac_init_version=false
280 # The variables have the same names as the options, with
281 # dashes changed to underlines.
282 cache_file=/dev/null
283 exec_prefix=NONE
284 no_create=
285 no_recursion=
286 prefix=NONE
287 program_prefix=NONE
288 program_suffix=NONE
289 program_transform_name=s,x,x,
290 silent=
291 site=
292 srcdir=
293 verbose=
294 x_includes=NONE
295 x_libraries=NONE
297 # Installation directory options.
298 # These are left unexpanded so users can "make install exec_prefix=/foo"
299 # and all the variables that are supposed to be based on exec_prefix
300 # by default will actually change.
301 # Use braces instead of parens because sh, perl, etc. also accept them.
302 bindir='${exec_prefix}/bin'
303 sbindir='${exec_prefix}/sbin'
304 libexecdir='${exec_prefix}/libexec'
305 datadir='${prefix}/share'
306 sysconfdir='${prefix}/etc'
307 sharedstatedir='${prefix}/com'
308 localstatedir='${prefix}/var'
309 libdir='${exec_prefix}/lib'
310 includedir='${prefix}/include'
311 oldincludedir='/usr/include'
312 infodir='${prefix}/info'
313 mandir='${prefix}/man'
315 ac_prev=
316 for ac_option
318 # If the previous option needs an argument, assign it.
319 if test -n "$ac_prev"; then
320 eval "$ac_prev=\$ac_option"
321 ac_prev=
322 continue
325 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
327 # Accept the important Cygnus configure options, so we can diagnose typos.
329 case $ac_option in
331 -bindir | --bindir | --bindi | --bind | --bin | --bi)
332 ac_prev=bindir ;;
333 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
334 bindir=$ac_optarg ;;
336 -build | --build | --buil | --bui | --bu)
337 ac_prev=build_alias ;;
338 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
339 build_alias=$ac_optarg ;;
341 -cache-file | --cache-file | --cache-fil | --cache-fi \
342 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
343 ac_prev=cache_file ;;
344 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
345 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
346 cache_file=$ac_optarg ;;
348 --config-cache | -C)
349 cache_file=config.cache ;;
351 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
352 ac_prev=datadir ;;
353 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
354 | --da=*)
355 datadir=$ac_optarg ;;
357 -disable-* | --disable-*)
358 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
359 # Reject names that are not valid shell variable names.
360 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
361 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
362 { (exit 1); exit 1; }; }
363 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
364 eval "enable_$ac_feature=no" ;;
366 -enable-* | --enable-*)
367 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
368 # Reject names that are not valid shell variable names.
369 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
370 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
371 { (exit 1); exit 1; }; }
372 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
373 case $ac_option in
374 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
375 *) ac_optarg=yes ;;
376 esac
377 eval "enable_$ac_feature='$ac_optarg'" ;;
379 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
380 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
381 | --exec | --exe | --ex)
382 ac_prev=exec_prefix ;;
383 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
384 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
385 | --exec=* | --exe=* | --ex=*)
386 exec_prefix=$ac_optarg ;;
388 -gas | --gas | --ga | --g)
389 # Obsolete; use --with-gas.
390 with_gas=yes ;;
392 -help | --help | --hel | --he | -h)
393 ac_init_help=long ;;
394 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
395 ac_init_help=recursive ;;
396 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
397 ac_init_help=short ;;
399 -host | --host | --hos | --ho)
400 ac_prev=host_alias ;;
401 -host=* | --host=* | --hos=* | --ho=*)
402 host_alias=$ac_optarg ;;
404 -includedir | --includedir | --includedi | --included | --include \
405 | --includ | --inclu | --incl | --inc)
406 ac_prev=includedir ;;
407 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
408 | --includ=* | --inclu=* | --incl=* | --inc=*)
409 includedir=$ac_optarg ;;
411 -infodir | --infodir | --infodi | --infod | --info | --inf)
412 ac_prev=infodir ;;
413 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
414 infodir=$ac_optarg ;;
416 -libdir | --libdir | --libdi | --libd)
417 ac_prev=libdir ;;
418 -libdir=* | --libdir=* | --libdi=* | --libd=*)
419 libdir=$ac_optarg ;;
421 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
422 | --libexe | --libex | --libe)
423 ac_prev=libexecdir ;;
424 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
425 | --libexe=* | --libex=* | --libe=*)
426 libexecdir=$ac_optarg ;;
428 -localstatedir | --localstatedir | --localstatedi | --localstated \
429 | --localstate | --localstat | --localsta | --localst \
430 | --locals | --local | --loca | --loc | --lo)
431 ac_prev=localstatedir ;;
432 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
433 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
434 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
435 localstatedir=$ac_optarg ;;
437 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
438 ac_prev=mandir ;;
439 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
440 mandir=$ac_optarg ;;
442 -nfp | --nfp | --nf)
443 # Obsolete; use --without-fp.
444 with_fp=no ;;
446 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
447 | --no-cr | --no-c | -n)
448 no_create=yes ;;
450 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
451 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
452 no_recursion=yes ;;
454 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
455 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
456 | --oldin | --oldi | --old | --ol | --o)
457 ac_prev=oldincludedir ;;
458 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
459 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
460 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
461 oldincludedir=$ac_optarg ;;
463 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
464 ac_prev=prefix ;;
465 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
466 prefix=$ac_optarg ;;
468 -program-prefix | --program-prefix | --program-prefi | --program-pref \
469 | --program-pre | --program-pr | --program-p)
470 ac_prev=program_prefix ;;
471 -program-prefix=* | --program-prefix=* | --program-prefi=* \
472 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
473 program_prefix=$ac_optarg ;;
475 -program-suffix | --program-suffix | --program-suffi | --program-suff \
476 | --program-suf | --program-su | --program-s)
477 ac_prev=program_suffix ;;
478 -program-suffix=* | --program-suffix=* | --program-suffi=* \
479 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
480 program_suffix=$ac_optarg ;;
482 -program-transform-name | --program-transform-name \
483 | --program-transform-nam | --program-transform-na \
484 | --program-transform-n | --program-transform- \
485 | --program-transform | --program-transfor \
486 | --program-transfo | --program-transf \
487 | --program-trans | --program-tran \
488 | --progr-tra | --program-tr | --program-t)
489 ac_prev=program_transform_name ;;
490 -program-transform-name=* | --program-transform-name=* \
491 | --program-transform-nam=* | --program-transform-na=* \
492 | --program-transform-n=* | --program-transform-=* \
493 | --program-transform=* | --program-transfor=* \
494 | --program-transfo=* | --program-transf=* \
495 | --program-trans=* | --program-tran=* \
496 | --progr-tra=* | --program-tr=* | --program-t=*)
497 program_transform_name=$ac_optarg ;;
499 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
500 | -silent | --silent | --silen | --sile | --sil)
501 silent=yes ;;
503 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
504 ac_prev=sbindir ;;
505 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
506 | --sbi=* | --sb=*)
507 sbindir=$ac_optarg ;;
509 -sharedstatedir | --sharedstatedir | --sharedstatedi \
510 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
511 | --sharedst | --shareds | --shared | --share | --shar \
512 | --sha | --sh)
513 ac_prev=sharedstatedir ;;
514 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
515 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
516 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
517 | --sha=* | --sh=*)
518 sharedstatedir=$ac_optarg ;;
520 -site | --site | --sit)
521 ac_prev=site ;;
522 -site=* | --site=* | --sit=*)
523 site=$ac_optarg ;;
525 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
526 ac_prev=srcdir ;;
527 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
528 srcdir=$ac_optarg ;;
530 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
531 | --syscon | --sysco | --sysc | --sys | --sy)
532 ac_prev=sysconfdir ;;
533 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
534 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
535 sysconfdir=$ac_optarg ;;
537 -target | --target | --targe | --targ | --tar | --ta | --t)
538 ac_prev=target_alias ;;
539 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
540 target_alias=$ac_optarg ;;
542 -v | -verbose | --verbose | --verbos | --verbo | --verb)
543 verbose=yes ;;
545 -version | --version | --versio | --versi | --vers | -V)
546 ac_init_version=: ;;
548 -with-* | --with-*)
549 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
550 # Reject names that are not valid shell variable names.
551 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
552 { echo "$as_me: error: invalid package name: $ac_package" >&2
553 { (exit 1); exit 1; }; }
554 ac_package=`echo $ac_package| sed 's/-/_/g'`
555 case $ac_option in
556 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
557 *) ac_optarg=yes ;;
558 esac
559 eval "with_$ac_package='$ac_optarg'" ;;
561 -without-* | --without-*)
562 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
563 # Reject names that are not valid shell variable names.
564 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
565 { echo "$as_me: error: invalid package name: $ac_package" >&2
566 { (exit 1); exit 1; }; }
567 ac_package=`echo $ac_package | sed 's/-/_/g'`
568 eval "with_$ac_package=no" ;;
570 --x)
571 # Obsolete; use --with-x.
572 with_x=yes ;;
574 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
575 | --x-incl | --x-inc | --x-in | --x-i)
576 ac_prev=x_includes ;;
577 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
578 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
579 x_includes=$ac_optarg ;;
581 -x-libraries | --x-libraries | --x-librarie | --x-librari \
582 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
583 ac_prev=x_libraries ;;
584 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
585 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
586 x_libraries=$ac_optarg ;;
588 -*) { echo "$as_me: error: unrecognized option: $ac_option
589 Try \`$0 --help' for more information." >&2
590 { (exit 1); exit 1; }; }
593 *=*)
594 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
595 # Reject names that are not valid shell variable names.
596 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
597 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
598 { (exit 1); exit 1; }; }
599 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
600 eval "$ac_envvar='$ac_optarg'"
601 export $ac_envvar ;;
604 # FIXME: should be removed in autoconf 3.0.
605 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
606 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
607 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
608 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
611 esac
612 done
614 if test -n "$ac_prev"; then
615 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
616 { echo "$as_me: error: missing argument to $ac_option" >&2
617 { (exit 1); exit 1; }; }
620 # Be sure to have absolute paths.
621 for ac_var in exec_prefix prefix
623 eval ac_val=$`echo $ac_var`
624 case $ac_val in
625 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
626 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
627 { (exit 1); exit 1; }; };;
628 esac
629 done
631 # Be sure to have absolute paths.
632 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
633 localstatedir libdir includedir oldincludedir infodir mandir
635 eval ac_val=$`echo $ac_var`
636 case $ac_val in
637 [\\/$]* | ?:[\\/]* ) ;;
638 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
639 { (exit 1); exit 1; }; };;
640 esac
641 done
643 # There might be people who depend on the old broken behavior: `$host'
644 # used to hold the argument of --host etc.
645 # FIXME: To remove some day.
646 build=$build_alias
647 host=$host_alias
648 target=$target_alias
650 # FIXME: To remove some day.
651 if test "x$host_alias" != x; then
652 if test "x$build_alias" = x; then
653 cross_compiling=maybe
654 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
655 If a cross compiler is detected then cross compile mode will be used." >&2
656 elif test "x$build_alias" != "x$host_alias"; then
657 cross_compiling=yes
661 ac_tool_prefix=
662 test -n "$host_alias" && ac_tool_prefix=$host_alias-
664 test "$silent" = yes && exec 6>/dev/null
667 # Find the source files, if location was not specified.
668 if test -z "$srcdir"; then
669 ac_srcdir_defaulted=yes
670 # Try the directory containing this script, then its parent.
671 ac_confdir=`(dirname "$0") 2>/dev/null ||
672 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
673 X"$0" : 'X\(//\)[^/]' \| \
674 X"$0" : 'X\(//\)$' \| \
675 X"$0" : 'X\(/\)' \| \
676 . : '\(.\)' 2>/dev/null ||
677 echo X"$0" |
678 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
679 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
680 /^X\(\/\/\)$/{ s//\1/; q; }
681 /^X\(\/\).*/{ s//\1/; q; }
682 s/.*/./; q'`
683 srcdir=$ac_confdir
684 if test ! -r $srcdir/$ac_unique_file; then
685 srcdir=..
687 else
688 ac_srcdir_defaulted=no
690 if test ! -r $srcdir/$ac_unique_file; then
691 if test "$ac_srcdir_defaulted" = yes; then
692 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
693 { (exit 1); exit 1; }; }
694 else
695 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
696 { (exit 1); exit 1; }; }
699 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
700 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
701 { (exit 1); exit 1; }; }
702 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
703 ac_env_build_alias_set=${build_alias+set}
704 ac_env_build_alias_value=$build_alias
705 ac_cv_env_build_alias_set=${build_alias+set}
706 ac_cv_env_build_alias_value=$build_alias
707 ac_env_host_alias_set=${host_alias+set}
708 ac_env_host_alias_value=$host_alias
709 ac_cv_env_host_alias_set=${host_alias+set}
710 ac_cv_env_host_alias_value=$host_alias
711 ac_env_target_alias_set=${target_alias+set}
712 ac_env_target_alias_value=$target_alias
713 ac_cv_env_target_alias_set=${target_alias+set}
714 ac_cv_env_target_alias_value=$target_alias
717 # Report the --help message.
719 if test "$ac_init_help" = "long"; then
720 # Omit some internal or obsolete options to make the list less imposing.
721 # This message is too long to be a string in the A/UX 3.1 sh.
722 cat <<_ACEOF
723 \`configure' configures this package to adapt to many kinds of systems.
725 Usage: $0 [OPTION]... [VAR=VALUE]...
727 To assign environment variables (e.g., CC, CFLAGS...), specify them as
728 VAR=VALUE. See below for descriptions of some of the useful variables.
730 Defaults for the options are specified in brackets.
732 Configuration:
733 -h, --help display this help and exit
734 --help=short display options specific to this package
735 --help=recursive display the short help of all the included packages
736 -V, --version display version information and exit
737 -q, --quiet, --silent do not print \`checking...' messages
738 --cache-file=FILE cache test results in FILE [disabled]
739 -C, --config-cache alias for \`--cache-file=config.cache'
740 -n, --no-create do not create output files
741 --srcdir=DIR find the sources in DIR [configure dir or \`..']
743 _ACEOF
745 cat <<_ACEOF
746 Installation directories:
747 --prefix=PREFIX install architecture-independent files in PREFIX
748 [$ac_default_prefix]
749 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
750 [PREFIX]
752 By default, \`make install' will install all the files in
753 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
754 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
755 for instance \`--prefix=\$HOME'.
757 For better control, use the options below.
759 Fine tuning of the installation directories:
760 --bindir=DIR user executables [EPREFIX/bin]
761 --sbindir=DIR system admin executables [EPREFIX/sbin]
762 --libexecdir=DIR program executables [EPREFIX/libexec]
763 --datadir=DIR read-only architecture-independent data [PREFIX/share]
764 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
765 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
766 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
767 --libdir=DIR object code libraries [EPREFIX/lib]
768 --includedir=DIR C header files [PREFIX/include]
769 --oldincludedir=DIR C header files for non-gcc [/usr/include]
770 --infodir=DIR info documentation [PREFIX/info]
771 --mandir=DIR man documentation [PREFIX/man]
772 _ACEOF
774 cat <<\_ACEOF
775 _ACEOF
778 if test -n "$ac_init_help"; then
780 cat <<\_ACEOF
782 Optional Features:
783 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
784 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
785 --enable-crop Whether to use a crop template
787 Optional Packages:
788 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
789 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
790 --with-papersize Specify papersize (a4paper,letter)
791 --with-fontsize Specify the fontsize in points (default: 10.5)
793 _ACEOF
796 if test "$ac_init_help" = "recursive"; then
797 # If there are subdirs, report their specific --help.
798 ac_popdir=`pwd`
799 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
800 test -d $ac_dir || continue
801 ac_builddir=.
803 if test "$ac_dir" != .; then
804 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
805 # A "../" for each directory in $ac_dir_suffix.
806 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
807 else
808 ac_dir_suffix= ac_top_builddir=
811 case $srcdir in
812 .) # No --srcdir option. We are building in place.
813 ac_srcdir=.
814 if test -z "$ac_top_builddir"; then
815 ac_top_srcdir=.
816 else
817 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
818 fi ;;
819 [\\/]* | ?:[\\/]* ) # Absolute path.
820 ac_srcdir=$srcdir$ac_dir_suffix;
821 ac_top_srcdir=$srcdir ;;
822 *) # Relative path.
823 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
824 ac_top_srcdir=$ac_top_builddir$srcdir ;;
825 esac
826 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
827 # absolute.
828 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
829 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
830 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
831 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
833 cd $ac_dir
834 # Check for guested configure; otherwise get Cygnus style configure.
835 if test -f $ac_srcdir/configure.gnu; then
836 echo
837 $SHELL $ac_srcdir/configure.gnu --help=recursive
838 elif test -f $ac_srcdir/configure; then
839 echo
840 $SHELL $ac_srcdir/configure --help=recursive
841 elif test -f $ac_srcdir/configure.ac ||
842 test -f $ac_srcdir/configure.in; then
843 echo
844 $ac_configure --help
845 else
846 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
848 cd $ac_popdir
849 done
852 test -n "$ac_init_help" && exit 0
853 if $ac_init_version; then
854 cat <<\_ACEOF
856 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
857 Free Software Foundation, Inc.
858 This configure script is free software; the Free Software Foundation
859 gives unlimited permission to copy, distribute and modify it.
860 _ACEOF
861 exit 0
863 exec 5>config.log
864 cat >&5 <<_ACEOF
865 This file contains any messages produced by compilers while
866 running configure, to aid debugging if configure makes a mistake.
868 It was created by $as_me, which was
869 generated by GNU Autoconf 2.57. Invocation command line was
871 $ $0 $@
873 _ACEOF
875 cat <<_ASUNAME
876 ## --------- ##
877 ## Platform. ##
878 ## --------- ##
880 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
881 uname -m = `(uname -m) 2>/dev/null || echo unknown`
882 uname -r = `(uname -r) 2>/dev/null || echo unknown`
883 uname -s = `(uname -s) 2>/dev/null || echo unknown`
884 uname -v = `(uname -v) 2>/dev/null || echo unknown`
886 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
887 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
889 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
890 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
891 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
892 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
893 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
894 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
895 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
897 _ASUNAME
899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
900 for as_dir in $PATH
902 IFS=$as_save_IFS
903 test -z "$as_dir" && as_dir=.
904 echo "PATH: $as_dir"
905 done
907 } >&5
909 cat >&5 <<_ACEOF
912 ## ----------- ##
913 ## Core tests. ##
914 ## ----------- ##
916 _ACEOF
919 # Keep a trace of the command line.
920 # Strip out --no-create and --no-recursion so they do not pile up.
921 # Strip out --silent because we don't want to record it for future runs.
922 # Also quote any args containing shell meta-characters.
923 # Make two passes to allow for proper duplicate-argument suppression.
924 ac_configure_args=
925 ac_configure_args0=
926 ac_configure_args1=
927 ac_sep=
928 ac_must_keep_next=false
929 for ac_pass in 1 2
931 for ac_arg
933 case $ac_arg in
934 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
935 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
936 | -silent | --silent | --silen | --sile | --sil)
937 continue ;;
938 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
939 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
940 esac
941 case $ac_pass in
942 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
944 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
945 if test $ac_must_keep_next = true; then
946 ac_must_keep_next=false # Got value, back to normal.
947 else
948 case $ac_arg in
949 *=* | --config-cache | -C | -disable-* | --disable-* \
950 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
951 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
952 | -with-* | --with-* | -without-* | --without-* | --x)
953 case "$ac_configure_args0 " in
954 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
955 esac
957 -* ) ac_must_keep_next=true ;;
958 esac
960 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
961 # Get rid of the leading space.
962 ac_sep=" "
964 esac
965 done
966 done
967 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
968 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
970 # When interrupted or exit'd, cleanup temporary files, and complete
971 # config.log. We remove comments because anyway the quotes in there
972 # would cause problems or look ugly.
973 # WARNING: Be sure not to use single quotes in there, as some shells,
974 # such as our DU 5.0 friend, will then `close' the trap.
975 trap 'exit_status=$?
976 # Save into config.log some information that might help in debugging.
978 echo
980 cat <<\_ASBOX
981 ## ---------------- ##
982 ## Cache variables. ##
983 ## ---------------- ##
984 _ASBOX
985 echo
986 # The following way of writing the cache mishandles newlines in values,
988 (set) 2>&1 |
989 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
990 *ac_space=\ *)
991 sed -n \
992 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
993 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
996 sed -n \
997 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
999 esac;
1001 echo
1003 cat <<\_ASBOX
1004 ## ----------------- ##
1005 ## Output variables. ##
1006 ## ----------------- ##
1007 _ASBOX
1008 echo
1009 for ac_var in $ac_subst_vars
1011 eval ac_val=$`echo $ac_var`
1012 echo "$ac_var='"'"'$ac_val'"'"'"
1013 done | sort
1014 echo
1016 if test -n "$ac_subst_files"; then
1017 cat <<\_ASBOX
1018 ## ------------- ##
1019 ## Output files. ##
1020 ## ------------- ##
1021 _ASBOX
1022 echo
1023 for ac_var in $ac_subst_files
1025 eval ac_val=$`echo $ac_var`
1026 echo "$ac_var='"'"'$ac_val'"'"'"
1027 done | sort
1028 echo
1031 if test -s confdefs.h; then
1032 cat <<\_ASBOX
1033 ## ----------- ##
1034 ## confdefs.h. ##
1035 ## ----------- ##
1036 _ASBOX
1037 echo
1038 sed "/^$/d" confdefs.h | sort
1039 echo
1041 test "$ac_signal" != 0 &&
1042 echo "$as_me: caught signal $ac_signal"
1043 echo "$as_me: exit $exit_status"
1044 } >&5
1045 rm -f core core.* *.core &&
1046 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1047 exit $exit_status
1049 for ac_signal in 1 2 13 15; do
1050 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1051 done
1052 ac_signal=0
1054 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1055 rm -rf conftest* confdefs.h
1056 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1057 echo >confdefs.h
1059 # Predefined preprocessor variables.
1061 cat >>confdefs.h <<_ACEOF
1062 #define PACKAGE_NAME "$PACKAGE_NAME"
1063 _ACEOF
1066 cat >>confdefs.h <<_ACEOF
1067 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1068 _ACEOF
1071 cat >>confdefs.h <<_ACEOF
1072 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1073 _ACEOF
1076 cat >>confdefs.h <<_ACEOF
1077 #define PACKAGE_STRING "$PACKAGE_STRING"
1078 _ACEOF
1081 cat >>confdefs.h <<_ACEOF
1082 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1083 _ACEOF
1086 # Let the site file select an alternate cache file if it wants to.
1087 # Prefer explicitly selected file to automatically selected ones.
1088 if test -z "$CONFIG_SITE"; then
1089 if test "x$prefix" != xNONE; then
1090 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1091 else
1092 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1095 for ac_site_file in $CONFIG_SITE; do
1096 if test -r "$ac_site_file"; then
1097 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1098 echo "$as_me: loading site script $ac_site_file" >&6;}
1099 sed 's/^/| /' "$ac_site_file" >&5
1100 . "$ac_site_file"
1102 done
1104 if test -r "$cache_file"; then
1105 # Some versions of bash will fail to source /dev/null (special
1106 # files actually), so we avoid doing that.
1107 if test -f "$cache_file"; then
1108 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1109 echo "$as_me: loading cache $cache_file" >&6;}
1110 case $cache_file in
1111 [\\/]* | ?:[\\/]* ) . $cache_file;;
1112 *) . ./$cache_file;;
1113 esac
1115 else
1116 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1117 echo "$as_me: creating cache $cache_file" >&6;}
1118 >$cache_file
1121 # Check that the precious variables saved in the cache have kept the same
1122 # value.
1123 ac_cache_corrupted=false
1124 for ac_var in `(set) 2>&1 |
1125 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1126 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1127 eval ac_new_set=\$ac_env_${ac_var}_set
1128 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1129 eval ac_new_val="\$ac_env_${ac_var}_value"
1130 case $ac_old_set,$ac_new_set in
1131 set,)
1132 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1133 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1134 ac_cache_corrupted=: ;;
1135 ,set)
1136 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1137 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1138 ac_cache_corrupted=: ;;
1139 ,);;
1141 if test "x$ac_old_val" != "x$ac_new_val"; then
1142 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1143 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1144 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1145 echo "$as_me: former value: $ac_old_val" >&2;}
1146 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1147 echo "$as_me: current value: $ac_new_val" >&2;}
1148 ac_cache_corrupted=:
1149 fi;;
1150 esac
1151 # Pass precious variables to config.status.
1152 if test "$ac_new_set" = set; then
1153 case $ac_new_val in
1154 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1155 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1156 *) ac_arg=$ac_var=$ac_new_val ;;
1157 esac
1158 case " $ac_configure_args " in
1159 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1160 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1161 esac
1163 done
1164 if $ac_cache_corrupted; then
1165 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1166 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1167 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1168 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1169 { (exit 1); exit 1; }; }
1172 ac_ext=c
1173 ac_cpp='$CPP $CPPFLAGS'
1174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1197 # Extract the first word of "xsltproc", so it can be a program name with args.
1198 set dummy xsltproc; ac_word=$2
1199 echo "$as_me:$LINENO: checking for $ac_word" >&5
1200 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1201 if test "${ac_cv_path_XSLTPROC+set}" = set; then
1202 echo $ECHO_N "(cached) $ECHO_C" >&6
1203 else
1204 case $XSLTPROC in
1205 [\\/]* | ?:[\\/]*)
1206 ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
1209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1210 for as_dir in $PATH
1212 IFS=$as_save_IFS
1213 test -z "$as_dir" && as_dir=.
1214 for ac_exec_ext in '' $ac_executable_extensions; do
1215 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1216 ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
1217 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1218 break 2
1220 done
1221 done
1224 esac
1226 XSLTPROC=$ac_cv_path_XSLTPROC
1228 if test -n "$XSLTPROC"; then
1229 echo "$as_me:$LINENO: result: $XSLTPROC" >&5
1230 echo "${ECHO_T}$XSLTPROC" >&6
1231 else
1232 echo "$as_me:$LINENO: result: no" >&5
1233 echo "${ECHO_T}no" >&6
1236 if test "x$XSLTPROC" = x; then
1237 { { echo "$as_me:$LINENO: error: \"xsltproc is required\"" >&5
1238 echo "$as_me: error: \"xsltproc is required\"" >&2;}
1239 { (exit 1); exit 1; }; }
1241 # Extract the first word of "pdflatex", so it can be a program name with args.
1242 set dummy pdflatex; ac_word=$2
1243 echo "$as_me:$LINENO: checking for $ac_word" >&5
1244 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1245 if test "${ac_cv_path_PDFLATEX+set}" = set; then
1246 echo $ECHO_N "(cached) $ECHO_C" >&6
1247 else
1248 case $PDFLATEX in
1249 [\\/]* | ?:[\\/]*)
1250 ac_cv_path_PDFLATEX="$PDFLATEX" # Let the user override the test with a path.
1253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1254 for as_dir in $PATH
1256 IFS=$as_save_IFS
1257 test -z "$as_dir" && as_dir=.
1258 for ac_exec_ext in '' $ac_executable_extensions; do
1259 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1260 ac_cv_path_PDFLATEX="$as_dir/$ac_word$ac_exec_ext"
1261 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1262 break 2
1264 done
1265 done
1268 esac
1270 PDFLATEX=$ac_cv_path_PDFLATEX
1272 if test -n "$PDFLATEX"; then
1273 echo "$as_me:$LINENO: result: $PDFLATEX" >&5
1274 echo "${ECHO_T}$PDFLATEX" >&6
1275 else
1276 echo "$as_me:$LINENO: result: no" >&5
1277 echo "${ECHO_T}no" >&6
1280 if test "x$PDFLATEX" = x; then
1281 { { echo "$as_me:$LINENO: error: \"pdflatex is required\"" >&5
1282 echo "$as_me: error: \"pdflatex is required\"" >&2;}
1283 { (exit 1); exit 1; }; }
1285 # Extract the first word of "makeindex", so it can be a program name with args.
1286 set dummy makeindex; ac_word=$2
1287 echo "$as_me:$LINENO: checking for $ac_word" >&5
1288 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1289 if test "${ac_cv_path_MAKEINDEX+set}" = set; then
1290 echo $ECHO_N "(cached) $ECHO_C" >&6
1291 else
1292 case $MAKEINDEX in
1293 [\\/]* | ?:[\\/]*)
1294 ac_cv_path_MAKEINDEX="$MAKEINDEX" # Let the user override the test with a path.
1297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1298 for as_dir in $PATH
1300 IFS=$as_save_IFS
1301 test -z "$as_dir" && as_dir=.
1302 for ac_exec_ext in '' $ac_executable_extensions; do
1303 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1304 ac_cv_path_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
1305 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1306 break 2
1308 done
1309 done
1312 esac
1314 MAKEINDEX=$ac_cv_path_MAKEINDEX
1316 if test -n "$MAKEINDEX"; then
1317 echo "$as_me:$LINENO: result: $MAKEINDEX" >&5
1318 echo "${ECHO_T}$MAKEINDEX" >&6
1319 else
1320 echo "$as_me:$LINENO: result: no" >&5
1321 echo "${ECHO_T}no" >&6
1324 if test "x$MAKEINDEX" = x; then
1325 { { echo "$as_me:$LINENO: error: \"makeindex is required\"" >&5
1326 echo "$as_me: error: \"makeindex is required\"" >&2;}
1327 { (exit 1); exit 1; }; }
1330 PAPERSIZE=""
1331 TEXSTYLESHEET=xslt/latex.xsl
1332 DUPLICATE_ULINKS=""
1334 CROP="--stringparam docrop 0"
1336 # Check whether --enable-crop or --disable-crop was given.
1337 if test "${enable_crop+set}" = set; then
1338 enableval="$enable_crop"
1339 test "$withval" && CROP="--stringparam docrop 1"
1342 PAPERSIZE="--stringparam papersize a4paper"
1345 # Check whether --with-papersize or --without-papersize was given.
1346 if test "${with_papersize+set}" = set; then
1347 withval="$with_papersize"
1348 test "$withval" && PAPERSIZE="--stringparam papersize $withval"
1351 FONTSIZE="--stringparam fontsize 10.5"
1354 # Check whether --with-fontsize or --without-fontsize was given.
1355 if test "${with_fontsize+set}" = set; then
1356 withval="$with_fontsize"
1357 test "$withval" && FONTSIZE="--stringparam fontsize $withval"
1360 # Extract the first word of "latex", so it can be a program name with args.
1361 set dummy latex; ac_word=$2
1362 echo "$as_me:$LINENO: checking for $ac_word" >&5
1363 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1364 if test "${ac_cv_path_LATEX+set}" = set; then
1365 echo $ECHO_N "(cached) $ECHO_C" >&6
1366 else
1367 case $LATEX in
1368 [\\/]* | ?:[\\/]*)
1369 ac_cv_path_LATEX="$LATEX" # Let the user override the test with a path.
1372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1373 for as_dir in $PATH
1375 IFS=$as_save_IFS
1376 test -z "$as_dir" && as_dir=.
1377 for ac_exec_ext in '' $ac_executable_extensions; do
1378 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1379 ac_cv_path_LATEX="$as_dir/$ac_word$ac_exec_ext"
1380 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1381 break 2
1383 done
1384 done
1387 esac
1389 LATEX=$ac_cv_path_LATEX
1391 if test -n "$LATEX"; then
1392 echo "$as_me:$LINENO: result: $LATEX" >&5
1393 echo "${ECHO_T}$LATEX" >&6
1394 else
1395 echo "$as_me:$LINENO: result: no" >&5
1396 echo "${ECHO_T}no" >&6
1399 # Extract the first word of "dvips", so it can be a program name with args.
1400 set dummy dvips; ac_word=$2
1401 echo "$as_me:$LINENO: checking for $ac_word" >&5
1402 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1403 if test "${ac_cv_path_DVIPS+set}" = set; then
1404 echo $ECHO_N "(cached) $ECHO_C" >&6
1405 else
1406 case $DVIPS in
1407 [\\/]* | ?:[\\/]*)
1408 ac_cv_path_DVIPS="$DVIPS" # Let the user override the test with a path.
1411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1412 for as_dir in $PATH
1414 IFS=$as_save_IFS
1415 test -z "$as_dir" && as_dir=.
1416 for ac_exec_ext in '' $ac_executable_extensions; do
1417 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1418 ac_cv_path_DVIPS="$as_dir/$ac_word$ac_exec_ext"
1419 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1420 break 2
1422 done
1423 done
1426 esac
1428 DVIPS=$ac_cv_path_DVIPS
1430 if test -n "$DVIPS"; then
1431 echo "$as_me:$LINENO: result: $DVIPS" >&5
1432 echo "${ECHO_T}$DVIPS" >&6
1433 else
1434 echo "$as_me:$LINENO: result: no" >&5
1435 echo "${ECHO_T}no" >&6
1438 # Extract the first word of "pngtopnm", so it can be a program name with args.
1439 set dummy pngtopnm; ac_word=$2
1440 echo "$as_me:$LINENO: checking for $ac_word" >&5
1441 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1442 if test "${ac_cv_path_PNGTOPNM+set}" = set; then
1443 echo $ECHO_N "(cached) $ECHO_C" >&6
1444 else
1445 case $PNGTOPNM in
1446 [\\/]* | ?:[\\/]*)
1447 ac_cv_path_PNGTOPNM="$PNGTOPNM" # Let the user override the test with a path.
1450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1451 for as_dir in $PATH
1453 IFS=$as_save_IFS
1454 test -z "$as_dir" && as_dir=.
1455 for ac_exec_ext in '' $ac_executable_extensions; do
1456 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1457 ac_cv_path_PNGTOPNM="$as_dir/$ac_word$ac_exec_ext"
1458 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1459 break 2
1461 done
1462 done
1465 esac
1467 PNGTOPNM=$ac_cv_path_PNGTOPNM
1469 if test -n "$PNGTOPNM"; then
1470 echo "$as_me:$LINENO: result: $PNGTOPNM" >&5
1471 echo "${ECHO_T}$PNGTOPNM" >&6
1472 else
1473 echo "$as_me:$LINENO: result: no" >&5
1474 echo "${ECHO_T}no" >&6
1477 # Extract the first word of "pnmtops", so it can be a program name with args.
1478 set dummy pnmtops; ac_word=$2
1479 echo "$as_me:$LINENO: checking for $ac_word" >&5
1480 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1481 if test "${ac_cv_path_PNMTOPS+set}" = set; then
1482 echo $ECHO_N "(cached) $ECHO_C" >&6
1483 else
1484 case $PNMTOPS in
1485 [\\/]* | ?:[\\/]*)
1486 ac_cv_path_PNMTOPS="$PNMTOPS" # Let the user override the test with a path.
1489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1490 for as_dir in $PATH
1492 IFS=$as_save_IFS
1493 test -z "$as_dir" && as_dir=.
1494 for ac_exec_ext in '' $ac_executable_extensions; do
1495 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1496 ac_cv_path_PNMTOPS="$as_dir/$ac_word$ac_exec_ext"
1497 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1498 break 2
1500 done
1501 done
1504 esac
1506 PNMTOPS=$ac_cv_path_PNMTOPS
1508 if test -n "$PNMTOPS"; then
1509 echo "$as_me:$LINENO: result: $PNMTOPS" >&5
1510 echo "${ECHO_T}$PNMTOPS" >&6
1511 else
1512 echo "$as_me:$LINENO: result: no" >&5
1513 echo "${ECHO_T}no" >&6
1516 # Extract the first word of "perl", so it can be a program name with args.
1517 set dummy perl; ac_word=$2
1518 echo "$as_me:$LINENO: checking for $ac_word" >&5
1519 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1520 if test "${ac_cv_path_PERL+set}" = set; then
1521 echo $ECHO_N "(cached) $ECHO_C" >&6
1522 else
1523 case $PERL in
1524 [\\/]* | ?:[\\/]*)
1525 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
1528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1529 for as_dir in $PATH
1531 IFS=$as_save_IFS
1532 test -z "$as_dir" && as_dir=.
1533 for ac_exec_ext in '' $ac_executable_extensions; do
1534 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1535 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
1536 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1537 break 2
1539 done
1540 done
1543 esac
1545 PERL=$ac_cv_path_PERL
1547 if test -n "$PERL"; then
1548 echo "$as_me:$LINENO: result: $PERL" >&5
1549 echo "${ECHO_T}$PERL" >&6
1550 else
1551 echo "$as_me:$LINENO: result: no" >&5
1552 echo "${ECHO_T}no" >&6
1555 # Extract the first word of "xmlto", so it can be a program name with args.
1556 set dummy xmlto; ac_word=$2
1557 echo "$as_me:$LINENO: checking for $ac_word" >&5
1558 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1559 if test "${ac_cv_path_XMLTO+set}" = set; then
1560 echo $ECHO_N "(cached) $ECHO_C" >&6
1561 else
1562 case $XMLTO in
1563 [\\/]* | ?:[\\/]*)
1564 ac_cv_path_XMLTO="$XMLTO" # Let the user override the test with a path.
1567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1568 for as_dir in $PATH
1570 IFS=$as_save_IFS
1571 test -z "$as_dir" && as_dir=.
1572 for ac_exec_ext in '' $ac_executable_extensions; do
1573 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1574 ac_cv_path_XMLTO="$as_dir/$ac_word$ac_exec_ext"
1575 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1576 break 2
1578 done
1579 done
1582 esac
1584 XMLTO=$ac_cv_path_XMLTO
1586 if test -n "$XMLTO"; then
1587 echo "$as_me:$LINENO: result: $XMLTO" >&5
1588 echo "${ECHO_T}$XMLTO" >&6
1589 else
1590 echo "$as_me:$LINENO: result: no" >&5
1591 echo "${ECHO_T}no" >&6
1595 DOC_BUILD_DATE=`date '+%d-%m-%Y'`
1603 ac_config_files="$ac_config_files Makefile"
1604 cat >confcache <<\_ACEOF
1605 # This file is a shell script that caches the results of configure
1606 # tests run on this system so they can be shared between configure
1607 # scripts and configure runs, see configure's option --config-cache.
1608 # It is not useful on other systems. If it contains results you don't
1609 # want to keep, you may remove or edit it.
1611 # config.status only pays attention to the cache file if you give it
1612 # the --recheck option to rerun configure.
1614 # `ac_cv_env_foo' variables (set or unset) will be overridden when
1615 # loading this file, other *unset* `ac_cv_foo' will be assigned the
1616 # following values.
1618 _ACEOF
1620 # The following way of writing the cache mishandles newlines in values,
1621 # but we know of no workaround that is simple, portable, and efficient.
1622 # So, don't put newlines in cache variables' values.
1623 # Ultrix sh set writes to stderr and can't be redirected directly,
1624 # and sets the high bit in the cache file unless we assign to the vars.
1626 (set) 2>&1 |
1627 case `(ac_space=' '; set | grep ac_space) 2>&1` in
1628 *ac_space=\ *)
1629 # `set' does not quote correctly, so add quotes (double-quote
1630 # substitution turns \\\\ into \\, and sed turns \\ into \).
1631 sed -n \
1632 "s/'/'\\\\''/g;
1633 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1636 # `set' quotes correctly as required by POSIX, so do not add quotes.
1637 sed -n \
1638 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1640 esac;
1642 sed '
1643 t clear
1644 : clear
1645 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
1646 t end
1647 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
1648 : end' >>confcache
1649 if diff $cache_file confcache >/dev/null 2>&1; then :; else
1650 if test -w $cache_file; then
1651 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
1652 cat confcache >$cache_file
1653 else
1654 echo "not updating unwritable cache $cache_file"
1657 rm -f confcache
1659 test "x$prefix" = xNONE && prefix=$ac_default_prefix
1660 # Let make expand exec_prefix.
1661 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
1663 # VPATH may cause trouble with some makes, so we remove $(srcdir),
1664 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
1665 # trailing colons and then remove the whole line if VPATH becomes empty
1666 # (actually we leave an empty line to preserve line numbers).
1667 if test "x$srcdir" = x.; then
1668 ac_vpsub='/^[ ]*VPATH[ ]*=/{
1669 s/:*\$(srcdir):*/:/;
1670 s/:*\${srcdir}:*/:/;
1671 s/:*@srcdir@:*/:/;
1672 s/^\([^=]*=[ ]*\):*/\1/;
1673 s/:*$//;
1674 s/^[^=]*=[ ]*$//;
1678 # Transform confdefs.h into DEFS.
1679 # Protect against shell expansion while executing Makefile rules.
1680 # Protect against Makefile macro expansion.
1682 # If the first sed substitution is executed (which looks for macros that
1683 # take arguments), then we branch to the quote section. Otherwise,
1684 # look for a macro that doesn't take arguments.
1685 cat >confdef2opt.sed <<\_ACEOF
1686 t clear
1687 : clear
1688 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
1689 t quote
1690 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
1691 t quote
1693 : quote
1694 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
1695 s,\[,\\&,g
1696 s,\],\\&,g
1697 s,\$,$$,g
1699 _ACEOF
1700 # We use echo to avoid assuming a particular line-breaking character.
1701 # The extra dot is to prevent the shell from consuming trailing
1702 # line-breaks from the sub-command output. A line-break within
1703 # single-quotes doesn't work because, if this script is created in a
1704 # platform that uses two characters for line-breaks (e.g., DOS), tr
1705 # would break.
1706 ac_LF_and_DOT=`echo; echo .`
1707 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
1708 rm -f confdef2opt.sed
1711 ac_libobjs=
1712 ac_ltlibobjs=
1713 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
1714 # 1. Remove the extension, and $U if already installed.
1715 ac_i=`echo "$ac_i" |
1716 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
1717 # 2. Add them.
1718 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
1719 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
1720 done
1721 LIBOBJS=$ac_libobjs
1723 LTLIBOBJS=$ac_ltlibobjs
1727 : ${CONFIG_STATUS=./config.status}
1728 ac_clean_files_save=$ac_clean_files
1729 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
1730 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
1731 echo "$as_me: creating $CONFIG_STATUS" >&6;}
1732 cat >$CONFIG_STATUS <<_ACEOF
1733 #! $SHELL
1734 # Generated by $as_me.
1735 # Run this file to recreate the current configuration.
1736 # Compiler output produced by configure, useful for debugging
1737 # configure, is in config.log if it exists.
1739 debug=false
1740 ac_cs_recheck=false
1741 ac_cs_silent=false
1742 SHELL=\${CONFIG_SHELL-$SHELL}
1743 _ACEOF
1745 cat >>$CONFIG_STATUS <<\_ACEOF
1746 ## --------------------- ##
1747 ## M4sh Initialization. ##
1748 ## --------------------- ##
1750 # Be Bourne compatible
1751 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
1752 emulate sh
1753 NULLCMD=:
1754 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
1755 # is contrary to our usage. Disable this feature.
1756 alias -g '${1+"$@"}'='"$@"'
1757 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
1758 set -o posix
1761 # Support unset when possible.
1762 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
1763 as_unset=unset
1764 else
1765 as_unset=false
1769 # Work around bugs in pre-3.0 UWIN ksh.
1770 $as_unset ENV MAIL MAILPATH
1771 PS1='$ '
1772 PS2='> '
1773 PS4='+ '
1775 # NLS nuisances.
1776 for as_var in \
1777 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
1778 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
1779 LC_TELEPHONE LC_TIME
1781 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
1782 eval $as_var=C; export $as_var
1783 else
1784 $as_unset $as_var
1786 done
1788 # Required to use basename.
1789 if expr a : '\(a\)' >/dev/null 2>&1; then
1790 as_expr=expr
1791 else
1792 as_expr=false
1795 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
1796 as_basename=basename
1797 else
1798 as_basename=false
1802 # Name of the executable.
1803 as_me=`$as_basename "$0" ||
1804 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
1805 X"$0" : 'X\(//\)$' \| \
1806 X"$0" : 'X\(/\)$' \| \
1807 . : '\(.\)' 2>/dev/null ||
1808 echo X/"$0" |
1809 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
1810 /^X\/\(\/\/\)$/{ s//\1/; q; }
1811 /^X\/\(\/\).*/{ s//\1/; q; }
1812 s/.*/./; q'`
1815 # PATH needs CR, and LINENO needs CR and PATH.
1816 # Avoid depending upon Character Ranges.
1817 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
1818 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
1819 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
1820 as_cr_digits='0123456789'
1821 as_cr_alnum=$as_cr_Letters$as_cr_digits
1823 # The user is always right.
1824 if test "${PATH_SEPARATOR+set}" != set; then
1825 echo "#! /bin/sh" >conf$$.sh
1826 echo "exit 0" >>conf$$.sh
1827 chmod +x conf$$.sh
1828 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
1829 PATH_SEPARATOR=';'
1830 else
1831 PATH_SEPARATOR=:
1833 rm -f conf$$.sh
1837 as_lineno_1=$LINENO
1838 as_lineno_2=$LINENO
1839 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
1840 test "x$as_lineno_1" != "x$as_lineno_2" &&
1841 test "x$as_lineno_3" = "x$as_lineno_2" || {
1842 # Find who we are. Look in the path if we contain no path at all
1843 # relative or not.
1844 case $0 in
1845 *[\\/]* ) as_myself=$0 ;;
1846 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1847 for as_dir in $PATH
1849 IFS=$as_save_IFS
1850 test -z "$as_dir" && as_dir=.
1851 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
1852 done
1855 esac
1856 # We did not find ourselves, most probably we were run as `sh COMMAND'
1857 # in which case we are not to be found in the path.
1858 if test "x$as_myself" = x; then
1859 as_myself=$0
1861 if test ! -f "$as_myself"; then
1862 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
1863 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
1864 { (exit 1); exit 1; }; }
1866 case $CONFIG_SHELL in
1868 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1869 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
1871 IFS=$as_save_IFS
1872 test -z "$as_dir" && as_dir=.
1873 for as_base in sh bash ksh sh5; do
1874 case $as_dir in
1876 if ("$as_dir/$as_base" -c '
1877 as_lineno_1=$LINENO
1878 as_lineno_2=$LINENO
1879 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
1880 test "x$as_lineno_1" != "x$as_lineno_2" &&
1881 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
1882 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
1883 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
1884 CONFIG_SHELL=$as_dir/$as_base
1885 export CONFIG_SHELL
1886 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
1887 fi;;
1888 esac
1889 done
1890 done
1892 esac
1894 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
1895 # uniformly replaced by the line number. The first 'sed' inserts a
1896 # line-number line before each line; the second 'sed' does the real
1897 # work. The second script uses 'N' to pair each line-number line
1898 # with the numbered line, and appends trailing '-' during
1899 # substitution so that $LINENO is not a special case at line end.
1900 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
1901 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
1902 sed '=' <$as_myself |
1903 sed '
1905 s,$,-,
1906 : loop
1907 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
1908 t loop
1909 s,-$,,
1910 s,^['$as_cr_digits']*\n,,
1911 ' >$as_me.lineno &&
1912 chmod +x $as_me.lineno ||
1913 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
1914 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
1915 { (exit 1); exit 1; }; }
1917 # Don't try to exec as it changes $[0], causing all sort of problems
1918 # (the dirname of $[0] is not the place where we might find the
1919 # original and so on. Autoconf is especially sensible to this).
1920 . ./$as_me.lineno
1921 # Exit status is that of the last command.
1922 exit
1926 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
1927 *c*,-n*) ECHO_N= ECHO_C='
1928 ' ECHO_T=' ' ;;
1929 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
1930 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
1931 esac
1933 if expr a : '\(a\)' >/dev/null 2>&1; then
1934 as_expr=expr
1935 else
1936 as_expr=false
1939 rm -f conf$$ conf$$.exe conf$$.file
1940 echo >conf$$.file
1941 if ln -s conf$$.file conf$$ 2>/dev/null; then
1942 # We could just check for DJGPP; but this test a) works b) is more generic
1943 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
1944 if test -f conf$$.exe; then
1945 # Don't use ln at all; we don't have any links
1946 as_ln_s='cp -p'
1947 else
1948 as_ln_s='ln -s'
1950 elif ln conf$$.file conf$$ 2>/dev/null; then
1951 as_ln_s=ln
1952 else
1953 as_ln_s='cp -p'
1955 rm -f conf$$ conf$$.exe conf$$.file
1957 if mkdir -p . 2>/dev/null; then
1958 as_mkdir_p=:
1959 else
1960 as_mkdir_p=false
1963 as_executable_p="test -f"
1965 # Sed expression to map a string onto a valid CPP name.
1966 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
1968 # Sed expression to map a string onto a valid variable name.
1969 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
1972 # IFS
1973 # We need space, tab and new line, in precisely that order.
1974 as_nl='
1976 IFS=" $as_nl"
1978 # CDPATH.
1979 $as_unset CDPATH
1981 exec 6>&1
1983 # Open the log real soon, to keep \$[0] and so on meaningful, and to
1984 # report actual input values of CONFIG_FILES etc. instead of their
1985 # values after options handling. Logging --version etc. is OK.
1986 exec 5>>config.log
1988 echo
1989 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
1990 ## Running $as_me. ##
1991 _ASBOX
1992 } >&5
1993 cat >&5 <<_CSEOF
1995 This file was extended by $as_me, which was
1996 generated by GNU Autoconf 2.57. Invocation command line was
1998 CONFIG_FILES = $CONFIG_FILES
1999 CONFIG_HEADERS = $CONFIG_HEADERS
2000 CONFIG_LINKS = $CONFIG_LINKS
2001 CONFIG_COMMANDS = $CONFIG_COMMANDS
2002 $ $0 $@
2004 _CSEOF
2005 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
2006 echo >&5
2007 _ACEOF
2009 # Files that config.status was made for.
2010 if test -n "$ac_config_files"; then
2011 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
2014 if test -n "$ac_config_headers"; then
2015 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
2018 if test -n "$ac_config_links"; then
2019 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
2022 if test -n "$ac_config_commands"; then
2023 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
2026 cat >>$CONFIG_STATUS <<\_ACEOF
2028 ac_cs_usage="\
2029 \`$as_me' instantiates files from templates according to the
2030 current configuration.
2032 Usage: $0 [OPTIONS] [FILE]...
2034 -h, --help print this help, then exit
2035 -V, --version print version number, then exit
2036 -q, --quiet do not print progress messages
2037 -d, --debug don't remove temporary files
2038 --recheck update $as_me by reconfiguring in the same conditions
2039 --file=FILE[:TEMPLATE]
2040 instantiate the configuration file FILE
2042 Configuration files:
2043 $config_files
2045 Report bugs to <bug-autoconf@gnu.org>."
2046 _ACEOF
2048 cat >>$CONFIG_STATUS <<_ACEOF
2049 ac_cs_version="\\
2050 config.status
2051 configured by $0, generated by GNU Autoconf 2.57,
2052 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
2054 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
2055 Free Software Foundation, Inc.
2056 This config.status script is free software; the Free Software Foundation
2057 gives unlimited permission to copy, distribute and modify it."
2058 srcdir=$srcdir
2059 _ACEOF
2061 cat >>$CONFIG_STATUS <<\_ACEOF
2062 # If no file are specified by the user, then we need to provide default
2063 # value. By we need to know if files were specified by the user.
2064 ac_need_defaults=:
2065 while test $# != 0
2067 case $1 in
2068 --*=*)
2069 ac_option=`expr "x$1" : 'x\([^=]*\)='`
2070 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
2071 ac_shift=:
2074 ac_option=$1
2075 ac_optarg=$2
2076 ac_shift=shift
2078 *) # This is not an option, so the user has probably given explicit
2079 # arguments.
2080 ac_option=$1
2081 ac_need_defaults=false;;
2082 esac
2084 case $ac_option in
2085 # Handling of the options.
2086 _ACEOF
2087 cat >>$CONFIG_STATUS <<\_ACEOF
2088 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2089 ac_cs_recheck=: ;;
2090 --version | --vers* | -V )
2091 echo "$ac_cs_version"; exit 0 ;;
2092 --he | --h)
2093 # Conflict between --help and --header
2094 { { echo "$as_me:$LINENO: error: ambiguous option: $1
2095 Try \`$0 --help' for more information." >&5
2096 echo "$as_me: error: ambiguous option: $1
2097 Try \`$0 --help' for more information." >&2;}
2098 { (exit 1); exit 1; }; };;
2099 --help | --hel | -h )
2100 echo "$ac_cs_usage"; exit 0 ;;
2101 --debug | --d* | -d )
2102 debug=: ;;
2103 --file | --fil | --fi | --f )
2104 $ac_shift
2105 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
2106 ac_need_defaults=false;;
2107 --header | --heade | --head | --hea )
2108 $ac_shift
2109 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
2110 ac_need_defaults=false;;
2111 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2112 | -silent | --silent | --silen | --sile | --sil | --si | --s)
2113 ac_cs_silent=: ;;
2115 # This is an error.
2116 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
2117 Try \`$0 --help' for more information." >&5
2118 echo "$as_me: error: unrecognized option: $1
2119 Try \`$0 --help' for more information." >&2;}
2120 { (exit 1); exit 1; }; } ;;
2122 *) ac_config_targets="$ac_config_targets $1" ;;
2124 esac
2125 shift
2126 done
2128 ac_configure_extra_args=
2130 if $ac_cs_silent; then
2131 exec 6>/dev/null
2132 ac_configure_extra_args="$ac_configure_extra_args --silent"
2135 _ACEOF
2136 cat >>$CONFIG_STATUS <<_ACEOF
2137 if \$ac_cs_recheck; then
2138 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
2139 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
2142 _ACEOF
2148 cat >>$CONFIG_STATUS <<\_ACEOF
2149 for ac_config_target in $ac_config_targets
2151 case "$ac_config_target" in
2152 # Handling of arguments.
2153 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
2154 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
2155 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
2156 { (exit 1); exit 1; }; };;
2157 esac
2158 done
2160 # If the user did not use the arguments to specify the items to instantiate,
2161 # then the envvar interface is used. Set only those that are not.
2162 # We use the long form for the default assignment because of an extremely
2163 # bizarre bug on SunOS 4.1.3.
2164 if $ac_need_defaults; then
2165 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
2168 # Have a temporary directory for convenience. Make it in the build tree
2169 # simply because there is no reason to put it here, and in addition,
2170 # creating and moving files from /tmp can sometimes cause problems.
2171 # Create a temporary directory, and hook for its removal unless debugging.
2172 $debug ||
2174 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
2175 trap '{ (exit 1); exit 1; }' 1 2 13 15
2178 # Create a (secure) tmp directory for tmp files.
2181 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
2182 test -n "$tmp" && test -d "$tmp"
2183 } ||
2185 tmp=./confstat$$-$RANDOM
2186 (umask 077 && mkdir $tmp)
2187 } ||
2189 echo "$me: cannot create a temporary directory in ." >&2
2190 { (exit 1); exit 1; }
2193 _ACEOF
2195 cat >>$CONFIG_STATUS <<_ACEOF
2198 # CONFIG_FILES section.
2201 # No need to generate the scripts if there are no CONFIG_FILES.
2202 # This happens for instance when ./config.status config.h
2203 if test -n "\$CONFIG_FILES"; then
2204 # Protect against being on the right side of a sed subst in config.status.
2205 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
2206 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
2207 s,@SHELL@,$SHELL,;t t
2208 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
2209 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
2210 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
2211 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
2212 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
2213 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
2214 s,@exec_prefix@,$exec_prefix,;t t
2215 s,@prefix@,$prefix,;t t
2216 s,@program_transform_name@,$program_transform_name,;t t
2217 s,@bindir@,$bindir,;t t
2218 s,@sbindir@,$sbindir,;t t
2219 s,@libexecdir@,$libexecdir,;t t
2220 s,@datadir@,$datadir,;t t
2221 s,@sysconfdir@,$sysconfdir,;t t
2222 s,@sharedstatedir@,$sharedstatedir,;t t
2223 s,@localstatedir@,$localstatedir,;t t
2224 s,@libdir@,$libdir,;t t
2225 s,@includedir@,$includedir,;t t
2226 s,@oldincludedir@,$oldincludedir,;t t
2227 s,@infodir@,$infodir,;t t
2228 s,@mandir@,$mandir,;t t
2229 s,@build_alias@,$build_alias,;t t
2230 s,@host_alias@,$host_alias,;t t
2231 s,@target_alias@,$target_alias,;t t
2232 s,@DEFS@,$DEFS,;t t
2233 s,@ECHO_C@,$ECHO_C,;t t
2234 s,@ECHO_N@,$ECHO_N,;t t
2235 s,@ECHO_T@,$ECHO_T,;t t
2236 s,@LIBS@,$LIBS,;t t
2237 s,@XSLTPROC@,$XSLTPROC,;t t
2238 s,@PDFLATEX@,$PDFLATEX,;t t
2239 s,@MAKEINDEX@,$MAKEINDEX,;t t
2240 s,@LATEX@,$LATEX,;t t
2241 s,@DVIPS@,$DVIPS,;t t
2242 s,@PNGTOPNM@,$PNGTOPNM,;t t
2243 s,@PNMTOPS@,$PNMTOPS,;t t
2244 s,@PERL@,$PERL,;t t
2245 s,@XMLTO@,$XMLTO,;t t
2246 s,@DOC_BUILD_DATE@,$DOC_BUILD_DATE,;t t
2247 s,@TEXSTYLESHEET@,$TEXSTYLESHEET,;t t
2248 s,@PAPERSIZE@,$PAPERSIZE,;t t
2249 s,@DUPLICATE_ULINKS@,$DUPLICATE_ULINKS,;t t
2250 s,@FONTSIZE@,$FONTSIZE,;t t
2251 s,@CROP@,$CROP,;t t
2252 s,@LIBOBJS@,$LIBOBJS,;t t
2253 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
2254 CEOF
2256 _ACEOF
2258 cat >>$CONFIG_STATUS <<\_ACEOF
2259 # Split the substitutions into bite-sized pieces for seds with
2260 # small command number limits, like on Digital OSF/1 and HP-UX.
2261 ac_max_sed_lines=48
2262 ac_sed_frag=1 # Number of current file.
2263 ac_beg=1 # First line for current file.
2264 ac_end=$ac_max_sed_lines # Line after last line for current file.
2265 ac_more_lines=:
2266 ac_sed_cmds=
2267 while $ac_more_lines; do
2268 if test $ac_beg -gt 1; then
2269 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2270 else
2271 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2273 if test ! -s $tmp/subs.frag; then
2274 ac_more_lines=false
2275 else
2276 # The purpose of the label and of the branching condition is to
2277 # speed up the sed processing (if there are no `@' at all, there
2278 # is no need to browse any of the substitutions).
2279 # These are the two extra sed commands mentioned above.
2280 (echo ':t
2281 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
2282 if test -z "$ac_sed_cmds"; then
2283 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
2284 else
2285 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
2287 ac_sed_frag=`expr $ac_sed_frag + 1`
2288 ac_beg=$ac_end
2289 ac_end=`expr $ac_end + $ac_max_sed_lines`
2291 done
2292 if test -z "$ac_sed_cmds"; then
2293 ac_sed_cmds=cat
2295 fi # test -n "$CONFIG_FILES"
2297 _ACEOF
2298 cat >>$CONFIG_STATUS <<\_ACEOF
2299 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
2300 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2301 case $ac_file in
2302 - | *:- | *:-:* ) # input from stdin
2303 cat >$tmp/stdin
2304 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2305 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2306 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2307 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2308 * ) ac_file_in=$ac_file.in ;;
2309 esac
2311 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
2312 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
2313 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2314 X"$ac_file" : 'X\(//\)[^/]' \| \
2315 X"$ac_file" : 'X\(//\)$' \| \
2316 X"$ac_file" : 'X\(/\)' \| \
2317 . : '\(.\)' 2>/dev/null ||
2318 echo X"$ac_file" |
2319 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2320 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2321 /^X\(\/\/\)$/{ s//\1/; q; }
2322 /^X\(\/\).*/{ s//\1/; q; }
2323 s/.*/./; q'`
2324 { if $as_mkdir_p; then
2325 mkdir -p "$ac_dir"
2326 else
2327 as_dir="$ac_dir"
2328 as_dirs=
2329 while test ! -d "$as_dir"; do
2330 as_dirs="$as_dir $as_dirs"
2331 as_dir=`(dirname "$as_dir") 2>/dev/null ||
2332 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2333 X"$as_dir" : 'X\(//\)[^/]' \| \
2334 X"$as_dir" : 'X\(//\)$' \| \
2335 X"$as_dir" : 'X\(/\)' \| \
2336 . : '\(.\)' 2>/dev/null ||
2337 echo X"$as_dir" |
2338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2339 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2340 /^X\(\/\/\)$/{ s//\1/; q; }
2341 /^X\(\/\).*/{ s//\1/; q; }
2342 s/.*/./; q'`
2343 done
2344 test ! -n "$as_dirs" || mkdir $as_dirs
2345 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
2346 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
2347 { (exit 1); exit 1; }; }; }
2349 ac_builddir=.
2351 if test "$ac_dir" != .; then
2352 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2353 # A "../" for each directory in $ac_dir_suffix.
2354 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
2355 else
2356 ac_dir_suffix= ac_top_builddir=
2359 case $srcdir in
2360 .) # No --srcdir option. We are building in place.
2361 ac_srcdir=.
2362 if test -z "$ac_top_builddir"; then
2363 ac_top_srcdir=.
2364 else
2365 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
2366 fi ;;
2367 [\\/]* | ?:[\\/]* ) # Absolute path.
2368 ac_srcdir=$srcdir$ac_dir_suffix;
2369 ac_top_srcdir=$srcdir ;;
2370 *) # Relative path.
2371 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
2372 ac_top_srcdir=$ac_top_builddir$srcdir ;;
2373 esac
2374 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
2375 # absolute.
2376 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
2377 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
2378 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
2379 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
2383 if test x"$ac_file" != x-; then
2384 { echo "$as_me:$LINENO: creating $ac_file" >&5
2385 echo "$as_me: creating $ac_file" >&6;}
2386 rm -f "$ac_file"
2388 # Let's still pretend it is `configure' which instantiates (i.e., don't
2389 # use $as_me), people would be surprised to read:
2390 # /* config.h. Generated by config.status. */
2391 if test x"$ac_file" = x-; then
2392 configure_input=
2393 else
2394 configure_input="$ac_file. "
2396 configure_input=$configure_input"Generated from `echo $ac_file_in |
2397 sed 's,.*/,,'` by configure."
2399 # First look for the input files in the build tree, otherwise in the
2400 # src tree.
2401 ac_file_inputs=`IFS=:
2402 for f in $ac_file_in; do
2403 case $f in
2404 -) echo $tmp/stdin ;;
2405 [\\/$]*)
2406 # Absolute (can't be DOS-style, as IFS=:)
2407 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
2408 echo "$as_me: error: cannot find input file: $f" >&2;}
2409 { (exit 1); exit 1; }; }
2410 echo $f;;
2411 *) # Relative
2412 if test -f "$f"; then
2413 # Build tree
2414 echo $f
2415 elif test -f "$srcdir/$f"; then
2416 # Source tree
2417 echo $srcdir/$f
2418 else
2419 # /dev/null tree
2420 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
2421 echo "$as_me: error: cannot find input file: $f" >&2;}
2422 { (exit 1); exit 1; }; }
2423 fi;;
2424 esac
2425 done` || { (exit 1); exit 1; }
2426 _ACEOF
2427 cat >>$CONFIG_STATUS <<_ACEOF
2428 sed "$ac_vpsub
2429 $extrasub
2430 _ACEOF
2431 cat >>$CONFIG_STATUS <<\_ACEOF
2433 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
2434 s,@configure_input@,$configure_input,;t t
2435 s,@srcdir@,$ac_srcdir,;t t
2436 s,@abs_srcdir@,$ac_abs_srcdir,;t t
2437 s,@top_srcdir@,$ac_top_srcdir,;t t
2438 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
2439 s,@builddir@,$ac_builddir,;t t
2440 s,@abs_builddir@,$ac_abs_builddir,;t t
2441 s,@top_builddir@,$ac_top_builddir,;t t
2442 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
2443 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
2444 rm -f $tmp/stdin
2445 if test x"$ac_file" != x-; then
2446 mv $tmp/out $ac_file
2447 else
2448 cat $tmp/out
2449 rm -f $tmp/out
2452 done
2453 _ACEOF
2455 cat >>$CONFIG_STATUS <<\_ACEOF
2457 { (exit 0); exit 0; }
2458 _ACEOF
2459 chmod +x $CONFIG_STATUS
2460 ac_clean_files=$ac_clean_files_save
2463 # configure is writing to config.log, and then calls config.status.
2464 # config.status does its own redirection, appending to config.log.
2465 # Unfortunately, on DOS this fails, as config.log is still kept open
2466 # by configure, so config.status won't be able to write to it; its
2467 # output is simply discarded. So we exec the FD to /dev/null,
2468 # effectively closing config.log, so it can be properly (re)opened and
2469 # appended to by config.status. When coming back to configure, we
2470 # need to make the FD available again.
2471 if test "$no_create" != yes; then
2472 ac_cs_success=:
2473 ac_config_status_args=
2474 test "$silent" = yes &&
2475 ac_config_status_args="$ac_config_status_args --quiet"
2476 exec 5>/dev/null
2477 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
2478 exec 5>>config.log
2479 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
2480 # would make configure fail if this is the last instruction.
2481 $ac_cs_success || { (exit 1); exit 1; }