Debian Codegraph @

configure

raw
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for manderlbot 0.9.3.
4 #
5 # Report bugs to <[email protected]>.
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='manderlbot'
271 PACKAGE_TARNAME='manderlbot'
272 PACKAGE_VERSION='0.9.3'
273 PACKAGE_STRING='manderlbot 0.9.3'
274 PACKAGE_BUGREPORT='[email protected]'
275
276 ac_unique_file="src/manderlbot.erl"
277 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 CONFIG_STATUS_DEPENDENCIES CONFIGURE_DEPENDENCIES SED ERLC ac_pt_ERLC ERL ac_pt_ERL ac_prefix_program ERLANG_XMERL_DIR ERLDIR DTD SET_MAKE LIBOBJS LTLIBOBJS'
278 ac_subst_files=''
279
280 # Initialize some variables set by options.
281 ac_init_help=
282 ac_init_version=false
283 # The variables have the same names as the options, with
284 # dashes changed to underlines.
285 cache_file=/dev/null
286 exec_prefix=NONE
287 no_create=
288 no_recursion=
289 prefix=NONE
290 program_prefix=NONE
291 program_suffix=NONE
292 program_transform_name=s,x,x,
293 silent=
294 site=
295 srcdir=
296 verbose=
297 x_includes=NONE
298 x_libraries=NONE
299
300 # Installation directory options.
301 # These are left unexpanded so users can "make install exec_prefix=/foo"
302 # and all the variables that are supposed to be based on exec_prefix
303 # by default will actually change.
304 # Use braces instead of parens because sh, perl, etc. also accept them.
305 bindir='${exec_prefix}/bin'
306 sbindir='${exec_prefix}/sbin'
307 libexecdir='${exec_prefix}/libexec'
308 datadir='${prefix}/share'
309 sysconfdir='${prefix}/etc'
310 sharedstatedir='${prefix}/com'
311 localstatedir='${prefix}/var'
312 libdir='${exec_prefix}/lib'
313 includedir='${prefix}/include'
314 oldincludedir='/usr/include'
315 infodir='${prefix}/info'
316 mandir='${prefix}/man'
317
318 ac_prev=
319 for ac_option
320 do
321 # If the previous option needs an argument, assign it.
322 if test -n "$ac_prev"; then
323 eval "$ac_prev=\$ac_option"
324 ac_prev=
325 continue
326 fi
327
328 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
329
330 # Accept the important Cygnus configure options, so we can diagnose typos.
331
332 case $ac_option in
333
334 -bindir | --bindir | --bindi | --bind | --bin | --bi)
335 ac_prev=bindir ;;
336 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
337 bindir=$ac_optarg ;;
338
339 -build | --build | --buil | --bui | --bu)
340 ac_prev=build_alias ;;
341 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
342 build_alias=$ac_optarg ;;
343
344 -cache-file | --cache-file | --cache-fil | --cache-fi \
345 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
346 ac_prev=cache_file ;;
347 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
348 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
349 cache_file=$ac_optarg ;;
350
351 --config-cache | -C)
352 cache_file=config.cache ;;
353
354 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
355 ac_prev=datadir ;;
356 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
357 | --da=*)
358 datadir=$ac_optarg ;;
359
360 -disable-* | --disable-*)
361 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
362 # Reject names that are not valid shell variable names.
363 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
364 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
365 { (exit 1); exit 1; }; }
366 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
367 eval "enable_$ac_feature=no" ;;
368
369 -enable-* | --enable-*)
370 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
371 # Reject names that are not valid shell variable names.
372 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
373 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
374 { (exit 1); exit 1; }; }
375 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
376 case $ac_option in
377 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
378 *) ac_optarg=yes ;;
379 esac
380 eval "enable_$ac_feature='$ac_optarg'" ;;
381
382 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
383 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
384 | --exec | --exe | --ex)
385 ac_prev=exec_prefix ;;
386 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
387 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
388 | --exec=* | --exe=* | --ex=*)
389 exec_prefix=$ac_optarg ;;
390
391 -gas | --gas | --ga | --g)
392 # Obsolete; use --with-gas.
393 with_gas=yes ;;
394
395 -help | --help | --hel | --he | -h)
396 ac_init_help=long ;;
397 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
398 ac_init_help=recursive ;;
399 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
400 ac_init_help=short ;;
401
402 -host | --host | --hos | --ho)
403 ac_prev=host_alias ;;
404 -host=* | --host=* | --hos=* | --ho=*)
405 host_alias=$ac_optarg ;;
406
407 -includedir | --includedir | --includedi | --included | --include \
408 | --includ | --inclu | --incl | --inc)
409 ac_prev=includedir ;;
410 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
411 | --includ=* | --inclu=* | --incl=* | --inc=*)
412 includedir=$ac_optarg ;;
413
414 -infodir | --infodir | --infodi | --infod | --info | --inf)
415 ac_prev=infodir ;;
416 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
417 infodir=$ac_optarg ;;
418
419 -libdir | --libdir | --libdi | --libd)
420 ac_prev=libdir ;;
421 -libdir=* | --libdir=* | --libdi=* | --libd=*)
422 libdir=$ac_optarg ;;
423
424 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
425 | --libexe | --libex | --libe)
426 ac_prev=libexecdir ;;
427 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
428 | --libexe=* | --libex=* | --libe=*)
429 libexecdir=$ac_optarg ;;
430
431 -localstatedir | --localstatedir | --localstatedi | --localstated \
432 | --localstate | --localstat | --localsta | --localst \
433 | --locals | --local | --loca | --loc | --lo)
434 ac_prev=localstatedir ;;
435 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
436 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
437 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
438 localstatedir=$ac_optarg ;;
439
440 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
441 ac_prev=mandir ;;
442 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
443 mandir=$ac_optarg ;;
444
445 -nfp | --nfp | --nf)
446 # Obsolete; use --without-fp.
447 with_fp=no ;;
448
449 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
450 | --no-cr | --no-c | -n)
451 no_create=yes ;;
452
453 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
454 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
455 no_recursion=yes ;;
456
457 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
458 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
459 | --oldin | --oldi | --old | --ol | --o)
460 ac_prev=oldincludedir ;;
461 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
462 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
463 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
464 oldincludedir=$ac_optarg ;;
465
466 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
467 ac_prev=prefix ;;
468 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
469 prefix=$ac_optarg ;;
470
471 -program-prefix | --program-prefix | --program-prefi | --program-pref \
472 | --program-pre | --program-pr | --program-p)
473 ac_prev=program_prefix ;;
474 -program-prefix=* | --program-prefix=* | --program-prefi=* \
475 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
476 program_prefix=$ac_optarg ;;
477
478 -program-suffix | --program-suffix | --program-suffi | --program-suff \
479 | --program-suf | --program-su | --program-s)
480 ac_prev=program_suffix ;;
481 -program-suffix=* | --program-suffix=* | --program-suffi=* \
482 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
483 program_suffix=$ac_optarg ;;
484
485 -program-transform-name | --program-transform-name \
486 | --program-transform-nam | --program-transform-na \
487 | --program-transform-n | --program-transform- \
488 | --program-transform | --program-transfor \
489 | --program-transfo | --program-transf \
490 | --program-trans | --program-tran \
491 | --progr-tra | --program-tr | --program-t)
492 ac_prev=program_transform_name ;;
493 -program-transform-name=* | --program-transform-name=* \
494 | --program-transform-nam=* | --program-transform-na=* \
495 | --program-transform-n=* | --program-transform-=* \
496 | --program-transform=* | --program-transfor=* \
497 | --program-transfo=* | --program-transf=* \
498 | --program-trans=* | --program-tran=* \
499 | --progr-tra=* | --program-tr=* | --program-t=*)
500 program_transform_name=$ac_optarg ;;
501
502 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
503 | -silent | --silent | --silen | --sile | --sil)
504 silent=yes ;;
505
506 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
507 ac_prev=sbindir ;;
508 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
509 | --sbi=* | --sb=*)
510 sbindir=$ac_optarg ;;
511
512 -sharedstatedir | --sharedstatedir | --sharedstatedi \
513 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
514 | --sharedst | --shareds | --shared | --share | --shar \
515 | --sha | --sh)
516 ac_prev=sharedstatedir ;;
517 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
518 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
519 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
520 | --sha=* | --sh=*)
521 sharedstatedir=$ac_optarg ;;
522
523 -site | --site | --sit)
524 ac_prev=site ;;
525 -site=* | --site=* | --sit=*)
526 site=$ac_optarg ;;
527
528 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
529 ac_prev=srcdir ;;
530 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
531 srcdir=$ac_optarg ;;
532
533 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
534 | --syscon | --sysco | --sysc | --sys | --sy)
535 ac_prev=sysconfdir ;;
536 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
537 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
538 sysconfdir=$ac_optarg ;;
539
540 -target | --target | --targe | --targ | --tar | --ta | --t)
541 ac_prev=target_alias ;;
542 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
543 target_alias=$ac_optarg ;;
544
545 -v | -verbose | --verbose | --verbos | --verbo | --verb)
546 verbose=yes ;;
547
548 -version | --version | --versio | --versi | --vers | -V)
549 ac_init_version=: ;;
550
551 -with-* | --with-*)
552 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
553 # Reject names that are not valid shell variable names.
554 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
555 { echo "$as_me: error: invalid package name: $ac_package" >&2
556 { (exit 1); exit 1; }; }
557 ac_package=`echo $ac_package| sed 's/-/_/g'`
558 case $ac_option in
559 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
560 *) ac_optarg=yes ;;
561 esac
562 eval "with_$ac_package='$ac_optarg'" ;;
563
564 -without-* | --without-*)
565 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
566 # Reject names that are not valid shell variable names.
567 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
568 { echo "$as_me: error: invalid package name: $ac_package" >&2
569 { (exit 1); exit 1; }; }
570 ac_package=`echo $ac_package | sed 's/-/_/g'`
571 eval "with_$ac_package=no" ;;
572
573 --x)
574 # Obsolete; use --with-x.
575 with_x=yes ;;
576
577 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
578 | --x-incl | --x-inc | --x-in | --x-i)
579 ac_prev=x_includes ;;
580 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
581 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
582 x_includes=$ac_optarg ;;
583
584 -x-libraries | --x-libraries | --x-librarie | --x-librari \
585 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
586 ac_prev=x_libraries ;;
587 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
588 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
589 x_libraries=$ac_optarg ;;
590
591 -*) { echo "$as_me: error: unrecognized option: $ac_option
592 Try \`$0 --help' for more information." >&2
593 { (exit 1); exit 1; }; }
594 ;;
595
596 *=*)
597 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
598 # Reject names that are not valid shell variable names.
599 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
600 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
601 { (exit 1); exit 1; }; }
602 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
603 eval "$ac_envvar='$ac_optarg'"
604 export $ac_envvar ;;
605
606 *)
607 # FIXME: should be removed in autoconf 3.0.
608 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
609 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
610 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
611 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
612 ;;
613
614 esac
615 done
616
617 if test -n "$ac_prev"; then
618 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
619 { echo "$as_me: error: missing argument to $ac_option" >&2
620 { (exit 1); exit 1; }; }
621 fi
622
623 # Be sure to have absolute paths.
624 for ac_var in exec_prefix prefix
625 do
626 eval ac_val=$`echo $ac_var`
627 case $ac_val in
628 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
629 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
630 { (exit 1); exit 1; }; };;
631 esac
632 done
633
634 # Be sure to have absolute paths.
635 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
636 localstatedir libdir includedir oldincludedir infodir mandir
637 do
638 eval ac_val=$`echo $ac_var`
639 case $ac_val in
640 [\\/$]* | ?:[\\/]* ) ;;
641 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
642 { (exit 1); exit 1; }; };;
643 esac
644 done
645
646 # There might be people who depend on the old broken behavior: `$host'
647 # used to hold the argument of --host etc.
648 # FIXME: To remove some day.
649 build=$build_alias
650 host=$host_alias
651 target=$target_alias
652
653 # FIXME: To remove some day.
654 if test "x$host_alias" != x; then
655 if test "x$build_alias" = x; then
656 cross_compiling=maybe
657 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
658 If a cross compiler is detected then cross compile mode will be used." >&2
659 elif test "x$build_alias" != "x$host_alias"; then
660 cross_compiling=yes
661 fi
662 fi
663
664 ac_tool_prefix=
665 test -n "$host_alias" && ac_tool_prefix=$host_alias-
666
667 test "$silent" = yes && exec 6>/dev/null
668
669
670 # Find the source files, if location was not specified.
671 if test -z "$srcdir"; then
672 ac_srcdir_defaulted=yes
673 # Try the directory containing this script, then its parent.
674 ac_confdir=`(dirname "$0") 2>/dev/null ||
675 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
676 X"$0" : 'X\(//\)[^/]' \| \
677 X"$0" : 'X\(//\)$' \| \
678 X"$0" : 'X\(/\)' \| \
679 . : '\(.\)' 2>/dev/null ||
680 echo X"$0" |
681 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
682 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
683 /^X\(\/\/\)$/{ s//\1/; q; }
684 /^X\(\/\).*/{ s//\1/; q; }
685 s/.*/./; q'`
686 srcdir=$ac_confdir
687 if test ! -r $srcdir/$ac_unique_file; then
688 srcdir=..
689 fi
690 else
691 ac_srcdir_defaulted=no
692 fi
693 if test ! -r $srcdir/$ac_unique_file; then
694 if test "$ac_srcdir_defaulted" = yes; then
695 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
696 { (exit 1); exit 1; }; }
697 else
698 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
699 { (exit 1); exit 1; }; }
700 fi
701 fi
702 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
703 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
704 { (exit 1); exit 1; }; }
705 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
706 ac_env_build_alias_set=${build_alias+set}
707 ac_env_build_alias_value=$build_alias
708 ac_cv_env_build_alias_set=${build_alias+set}
709 ac_cv_env_build_alias_value=$build_alias
710 ac_env_host_alias_set=${host_alias+set}
711 ac_env_host_alias_value=$host_alias
712 ac_cv_env_host_alias_set=${host_alias+set}
713 ac_cv_env_host_alias_value=$host_alias
714 ac_env_target_alias_set=${target_alias+set}
715 ac_env_target_alias_value=$target_alias
716 ac_cv_env_target_alias_set=${target_alias+set}
717 ac_cv_env_target_alias_value=$target_alias
718
719 #
720 # Report the --help message.
721 #
722 if test "$ac_init_help" = "long"; then
723 # Omit some internal or obsolete options to make the list less imposing.
724 # This message is too long to be a string in the A/UX 3.1 sh.
725 cat <<_ACEOF
726 \`configure' configures manderlbot 0.9.3 to adapt to many kinds of systems.
727
728 Usage: $0 [OPTION]... [VAR=VALUE]...
729
730 To assign environment variables (e.g., CC, CFLAGS...), specify them as
731 VAR=VALUE. See below for descriptions of some of the useful variables.
732
733 Defaults for the options are specified in brackets.
734
735 Configuration:
736 -h, --help display this help and exit
737 --help=short display options specific to this package
738 --help=recursive display the short help of all the included packages
739 -V, --version display version information and exit
740 -q, --quiet, --silent do not print \`checking...' messages
741 --cache-file=FILE cache test results in FILE [disabled]
742 -C, --config-cache alias for \`--cache-file=config.cache'
743 -n, --no-create do not create output files
744 --srcdir=DIR find the sources in DIR [configure dir or \`..']
745
746 _ACEOF
747
748 cat <<_ACEOF
749 Installation directories:
750 --prefix=PREFIX install architecture-independent files in PREFIX
751 [$ac_default_prefix]
752 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
753 [PREFIX]
754
755 By default, \`make install' will install all the files in
756 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
757 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
758 for instance \`--prefix=\$HOME'.
759
760 For better control, use the options below.
761
762 Fine tuning of the installation directories:
763 --bindir=DIR user executables [EPREFIX/bin]
764 --sbindir=DIR system admin executables [EPREFIX/sbin]
765 --libexecdir=DIR program executables [EPREFIX/libexec]
766 --datadir=DIR read-only architecture-independent data [PREFIX/share]
767 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
768 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
769 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
770 --libdir=DIR object code libraries [EPREFIX/lib]
771 --includedir=DIR C header files [PREFIX/include]
772 --oldincludedir=DIR C header files for non-gcc [/usr/include]
773 --infodir=DIR info documentation [PREFIX/info]
774 --mandir=DIR man documentation [PREFIX/man]
775 _ACEOF
776
777 cat <<\_ACEOF
778 _ACEOF
779 fi
780
781 if test -n "$ac_init_help"; then
782 case $ac_init_help in
783 short | recursive ) echo "Configuration of manderlbot 0.9.3:";;
784 esac
785 cat <<\_ACEOF
786
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-erlang=PREFIX path to erlc and erl
791
792 Report bugs to <[email protected]>.
793 _ACEOF
794 fi
795
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=.
802
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=
809 fi
810
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
827 # Do not use `cd foo && pwd` to compute absolute paths, because
828 # the directories may not exist.
829 case `pwd` in
830 .) ac_abs_builddir="$ac_dir";;
831 *)
832 case "$ac_dir" in
833 .) ac_abs_builddir=`pwd`;;
834 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
835 *) ac_abs_builddir=`pwd`/"$ac_dir";;
836 esac;;
837 esac
838 case $ac_abs_builddir in
839 .) ac_abs_top_builddir=${ac_top_builddir}.;;
840 *)
841 case ${ac_top_builddir}. in
842 .) ac_abs_top_builddir=$ac_abs_builddir;;
843 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
844 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
845 esac;;
846 esac
847 case $ac_abs_builddir in
848 .) ac_abs_srcdir=$ac_srcdir;;
849 *)
850 case $ac_srcdir in
851 .) ac_abs_srcdir=$ac_abs_builddir;;
852 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
853 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
854 esac;;
855 esac
856 case $ac_abs_builddir in
857 .) ac_abs_top_srcdir=$ac_top_srcdir;;
858 *)
859 case $ac_top_srcdir in
860 .) ac_abs_top_srcdir=$ac_abs_builddir;;
861 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
862 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
863 esac;;
864 esac
865
866 cd $ac_dir
867 # Check for guested configure; otherwise get Cygnus style configure.
868 if test -f $ac_srcdir/configure.gnu; then
869 echo
870 $SHELL $ac_srcdir/configure.gnu --help=recursive
871 elif test -f $ac_srcdir/configure; then
872 echo
873 $SHELL $ac_srcdir/configure --help=recursive
874 elif test -f $ac_srcdir/configure.ac ||
875 test -f $ac_srcdir/configure.in; then
876 echo
877 $ac_configure --help
878 else
879 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
880 fi
881 cd $ac_popdir
882 done
883 fi
884
885 test -n "$ac_init_help" && exit 0
886 if $ac_init_version; then
887 cat <<\_ACEOF
888 manderlbot configure 0.9.3
889 generated by GNU Autoconf 2.59
890
891 Copyright (C) 2003 Free Software Foundation, Inc.
892 This configure script is free software; the Free Software Foundation
893 gives unlimited permission to copy, distribute and modify it.
894 _ACEOF
895 exit 0
896 fi
897 exec 5>config.log
898 cat >&5 <<_ACEOF
899 This file contains any messages produced by compilers while
900 running configure, to aid debugging if configure makes a mistake.
901
902 It was created by manderlbot $as_me 0.9.3, which was
903 generated by GNU Autoconf 2.59. Invocation command line was
904
905 $ $0 $@
906
907 _ACEOF
908 {
909 cat <<_ASUNAME
910 ## --------- ##
911 ## Platform. ##
912 ## --------- ##
913
914 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
915 uname -m = `(uname -m) 2>/dev/null || echo unknown`
916 uname -r = `(uname -r) 2>/dev/null || echo unknown`
917 uname -s = `(uname -s) 2>/dev/null || echo unknown`
918 uname -v = `(uname -v) 2>/dev/null || echo unknown`
919
920 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
921 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
922
923 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
924 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
925 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
926 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
927 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
928 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
929 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
930
931 _ASUNAME
932
933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
934 for as_dir in $PATH
935 do
936 IFS=$as_save_IFS
937 test -z "$as_dir" && as_dir=.
938 echo "PATH: $as_dir"
939 done
940
941 } >&5
942
943 cat >&5 <<_ACEOF
944
945
946 ## ----------- ##
947 ## Core tests. ##
948 ## ----------- ##
949
950 _ACEOF
951
952
953 # Keep a trace of the command line.
954 # Strip out --no-create and --no-recursion so they do not pile up.
955 # Strip out --silent because we don't want to record it for future runs.
956 # Also quote any args containing shell meta-characters.
957 # Make two passes to allow for proper duplicate-argument suppression.
958 ac_configure_args=
959 ac_configure_args0=
960 ac_configure_args1=
961 ac_sep=
962 ac_must_keep_next=false
963 for ac_pass in 1 2
964 do
965 for ac_arg
966 do
967 case $ac_arg in
968 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
969 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
970 | -silent | --silent | --silen | --sile | --sil)
971 continue ;;
972 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
973 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
974 esac
975 case $ac_pass in
976 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
977 2)
978 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
979 if test $ac_must_keep_next = true; then
980 ac_must_keep_next=false # Got value, back to normal.
981 else
982 case $ac_arg in
983 *=* | --config-cache | -C | -disable-* | --disable-* \
984 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
985 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
986 | -with-* | --with-* | -without-* | --without-* | --x)
987 case "$ac_configure_args0 " in
988 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
989 esac
990 ;;
991 -* ) ac_must_keep_next=true ;;
992 esac
993 fi
994 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
995 # Get rid of the leading space.
996 ac_sep=" "
997 ;;
998 esac
999 done
1000 done
1001 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1002 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1003
1004 # When interrupted or exit'd, cleanup temporary files, and complete
1005 # config.log. We remove comments because anyway the quotes in there
1006 # would cause problems or look ugly.
1007 # WARNING: Be sure not to use single quotes in there, as some shells,
1008 # such as our DU 5.0 friend, will then `close' the trap.
1009 trap 'exit_status=$?
1010 # Save into config.log some information that might help in debugging.
1011 {
1012 echo
1013
1014 cat <<\_ASBOX
1015 ## ---------------- ##
1016 ## Cache variables. ##
1017 ## ---------------- ##
1018 _ASBOX
1019 echo
1020 # The following way of writing the cache mishandles newlines in values,
1021 {
1022 (set) 2>&1 |
1023 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1024 *ac_space=\ *)
1025 sed -n \
1026 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1027 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1028 ;;
1029 *)
1030 sed -n \
1031 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1032 ;;
1033 esac;
1034 }
1035 echo
1036
1037 cat <<\_ASBOX
1038 ## ----------------- ##
1039 ## Output variables. ##
1040 ## ----------------- ##
1041 _ASBOX
1042 echo
1043 for ac_var in $ac_subst_vars
1044 do
1045 eval ac_val=$`echo $ac_var`
1046 echo "$ac_var='"'"'$ac_val'"'"'"
1047 done | sort
1048 echo
1049
1050 if test -n "$ac_subst_files"; then
1051 cat <<\_ASBOX
1052 ## ------------- ##
1053 ## Output files. ##
1054 ## ------------- ##
1055 _ASBOX
1056 echo
1057 for ac_var in $ac_subst_files
1058 do
1059 eval ac_val=$`echo $ac_var`
1060 echo "$ac_var='"'"'$ac_val'"'"'"
1061 done | sort
1062 echo
1063 fi
1064
1065 if test -s confdefs.h; then
1066 cat <<\_ASBOX
1067 ## ----------- ##
1068 ## confdefs.h. ##
1069 ## ----------- ##
1070 _ASBOX
1071 echo
1072 sed "/^$/d" confdefs.h | sort
1073 echo
1074 fi
1075 test "$ac_signal" != 0 &&
1076 echo "$as_me: caught signal $ac_signal"
1077 echo "$as_me: exit $exit_status"
1078 } >&5
1079 rm -f core *.core &&
1080 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1081 exit $exit_status
1082 ' 0
1083 for ac_signal in 1 2 13 15; do
1084 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1085 done
1086 ac_signal=0
1087
1088 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1089 rm -rf conftest* confdefs.h
1090 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1091 echo >confdefs.h
1092
1093 # Predefined preprocessor variables.
1094
1095 cat >>confdefs.h <<_ACEOF
1096 #define PACKAGE_NAME "$PACKAGE_NAME"
1097 _ACEOF
1098
1099
1100 cat >>confdefs.h <<_ACEOF
1101 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1102 _ACEOF
1103
1104
1105 cat >>confdefs.h <<_ACEOF
1106 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1107 _ACEOF
1108
1109
1110 cat >>confdefs.h <<_ACEOF
1111 #define PACKAGE_STRING "$PACKAGE_STRING"
1112 _ACEOF
1113
1114
1115 cat >>confdefs.h <<_ACEOF
1116 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1117 _ACEOF
1118
1119
1120 # Let the site file select an alternate cache file if it wants to.
1121 # Prefer explicitly selected file to automatically selected ones.
1122 if test -z "$CONFIG_SITE"; then
1123 if test "x$prefix" != xNONE; then
1124 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1125 else
1126 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1127 fi
1128 fi
1129 for ac_site_file in $CONFIG_SITE; do
1130 if test -r "$ac_site_file"; then
1131 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1132 echo "$as_me: loading site script $ac_site_file" >&6;}
1133 sed 's/^/| /' "$ac_site_file" >&5
1134 . "$ac_site_file"
1135 fi
1136 done
1137
1138
1139 # Check that the precious variables saved in the cache have kept the same
1140 # value.
1141 ac_cache_corrupted=false
1142 for ac_var in `(set) 2>&1 |
1143 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1144 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1145 eval ac_new_set=\$ac_env_${ac_var}_set
1146 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1147 eval ac_new_val="\$ac_env_${ac_var}_value"
1148 case $ac_old_set,$ac_new_set in
1149 set,)
1150 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1151 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1152 ac_cache_corrupted=: ;;
1153 ,set)
1154 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1155 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1156 ac_cache_corrupted=: ;;
1157 ,);;
1158 *)
1159 if test "x$ac_old_val" != "x$ac_new_val"; then
1160 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1161 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1162 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1163 echo "$as_me: former value: $ac_old_val" >&2;}
1164 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1165 echo "$as_me: current value: $ac_new_val" >&2;}
1166 ac_cache_corrupted=:
1167 fi;;
1168 esac
1169 # Pass precious variables to config.status.
1170 if test "$ac_new_set" = set; then
1171 case $ac_new_val in
1172 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1173 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1174 *) ac_arg=$ac_var=$ac_new_val ;;
1175 esac
1176 case " $ac_configure_args " in
1177 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1178 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1179 esac
1180 fi
1181 done
1182 if $ac_cache_corrupted; then
1183 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1184 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1185 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1186 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1187 { (exit 1); exit 1; }; }
1188 fi
1189
1190 ac_ext=c
1191 ac_cpp='$CPP $CPPFLAGS'
1192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224 CONFIG_STATUS_DEPENDENCIES=vsn.mk
1225
1226 CONFIGURE_DEPENDENCIES=vsn.mk
1227
1228
1229
1230 # Extract the first word of "sed", so it can be a program name with args.
1231 set dummy sed; ac_word=$2
1232 echo "$as_me:$LINENO: checking for $ac_word" >&5
1233 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1234 if test "${ac_cv_path_SED+set}" = set; then
1235 echo $ECHO_N "(cached) $ECHO_C" >&6
1236 else
1237 case $SED in
1238 [\\/]* | ?:[\\/]*)
1239 ac_cv_path_SED="$SED" # Let the user override the test with a path.
1240 ;;
1241 *)
1242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1243 for as_dir in $PATH
1244 do
1245 IFS=$as_save_IFS
1246 test -z "$as_dir" && as_dir=.
1247 for ac_exec_ext in '' $ac_executable_extensions; do
1248 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1249 ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext"
1250 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1251 break 2
1252 fi
1253 done
1254 done
1255
1256 ;;
1257 esac
1258 fi
1259 SED=$ac_cv_path_SED
1260
1261 if test -n "$SED"; then
1262 echo "$as_me:$LINENO: result: $SED" >&5
1263 echo "${ECHO_T}$SED" >&6
1264 else
1265 echo "$as_me:$LINENO: result: no" >&5
1266 echo "${ECHO_T}no" >&6
1267 fi
1268
1269
1270
1271 # Check whether --with-erlang or --without-erlang was given.
1272 if test "${with_erlang+set}" = set; then
1273 withval="$with_erlang"
1274
1275 fi;
1276 if test -n "$ac_tool_prefix"; then
1277 # Extract the first word of "${ac_tool_prefix}erlc", so it can be a program name with args.
1278 set dummy ${ac_tool_prefix}erlc; ac_word=$2
1279 echo "$as_me:$LINENO: checking for $ac_word" >&5
1280 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1281 if test "${ac_cv_path_ERLC+set}" = set; then
1282 echo $ECHO_N "(cached) $ECHO_C" >&6
1283 else
1284 case $ERLC in
1285 [\\/]* | ?:[\\/]*)
1286 ac_cv_path_ERLC="$ERLC" # Let the user override the test with a path.
1287 ;;
1288 *)
1289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1290 as_dummy="$with_erlang:$with_erlang/bin:$PATH"
1291 for as_dir in $as_dummy
1292 do
1293 IFS=$as_save_IFS
1294 test -z "$as_dir" && as_dir=.
1295 for ac_exec_ext in '' $ac_executable_extensions; do
1296 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1297 ac_cv_path_ERLC="$as_dir/$ac_word$ac_exec_ext"
1298 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1299 break 2
1300 fi
1301 done
1302 done
1303
1304 ;;
1305 esac
1306 fi
1307 ERLC=$ac_cv_path_ERLC
1308
1309 if test -n "$ERLC"; then
1310 echo "$as_me:$LINENO: result: $ERLC" >&5
1311 echo "${ECHO_T}$ERLC" >&6
1312 else
1313 echo "$as_me:$LINENO: result: no" >&5
1314 echo "${ECHO_T}no" >&6
1315 fi
1316
1317 fi
1318 if test -z "$ac_cv_path_ERLC"; then
1319 ac_pt_ERLC=$ERLC
1320 # Extract the first word of "erlc", so it can be a program name with args.
1321 set dummy erlc; ac_word=$2
1322 echo "$as_me:$LINENO: checking for $ac_word" >&5
1323 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1324 if test "${ac_cv_path_ac_pt_ERLC+set}" = set; then
1325 echo $ECHO_N "(cached) $ECHO_C" >&6
1326 else
1327 case $ac_pt_ERLC in
1328 [\\/]* | ?:[\\/]*)
1329 ac_cv_path_ac_pt_ERLC="$ac_pt_ERLC" # Let the user override the test with a path.
1330 ;;
1331 *)
1332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1333 as_dummy="$with_erlang:$with_erlang/bin:$PATH"
1334 for as_dir in $as_dummy
1335 do
1336 IFS=$as_save_IFS
1337 test -z "$as_dir" && as_dir=.
1338 for ac_exec_ext in '' $ac_executable_extensions; do
1339 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1340 ac_cv_path_ac_pt_ERLC="$as_dir/$ac_word$ac_exec_ext"
1341 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1342 break 2
1343 fi
1344 done
1345 done
1346
1347 ;;
1348 esac
1349 fi
1350 ac_pt_ERLC=$ac_cv_path_ac_pt_ERLC
1351
1352 if test -n "$ac_pt_ERLC"; then
1353 echo "$as_me:$LINENO: result: $ac_pt_ERLC" >&5
1354 echo "${ECHO_T}$ac_pt_ERLC" >&6
1355 else
1356 echo "$as_me:$LINENO: result: no" >&5
1357 echo "${ECHO_T}no" >&6
1358 fi
1359
1360 ERLC=$ac_pt_ERLC
1361 else
1362 ERLC="$ac_cv_path_ERLC"
1363 fi
1364
1365 if test -n "$ac_tool_prefix"; then
1366 # Extract the first word of "${ac_tool_prefix}erl", so it can be a program name with args.
1367 set dummy ${ac_tool_prefix}erl; ac_word=$2
1368 echo "$as_me:$LINENO: checking for $ac_word" >&5
1369 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1370 if test "${ac_cv_path_ERL+set}" = set; then
1371 echo $ECHO_N "(cached) $ECHO_C" >&6
1372 else
1373 case $ERL in
1374 [\\/]* | ?:[\\/]*)
1375 ac_cv_path_ERL="$ERL" # Let the user override the test with a path.
1376 ;;
1377 *)
1378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1379 as_dummy="$with_erlang:$with_erlang/bin:$PATH"
1380 for as_dir in $as_dummy
1381 do
1382 IFS=$as_save_IFS
1383 test -z "$as_dir" && as_dir=.
1384 for ac_exec_ext in '' $ac_executable_extensions; do
1385 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1386 ac_cv_path_ERL="$as_dir/$ac_word$ac_exec_ext"
1387 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1388 break 2
1389 fi
1390 done
1391 done
1392
1393 ;;
1394 esac
1395 fi
1396 ERL=$ac_cv_path_ERL
1397
1398 if test -n "$ERL"; then
1399 echo "$as_me:$LINENO: result: $ERL" >&5
1400 echo "${ECHO_T}$ERL" >&6
1401 else
1402 echo "$as_me:$LINENO: result: no" >&5
1403 echo "${ECHO_T}no" >&6
1404 fi
1405
1406 fi
1407 if test -z "$ac_cv_path_ERL"; then
1408 ac_pt_ERL=$ERL
1409 # Extract the first word of "erl", so it can be a program name with args.
1410 set dummy erl; ac_word=$2
1411 echo "$as_me:$LINENO: checking for $ac_word" >&5
1412 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1413 if test "${ac_cv_path_ac_pt_ERL+set}" = set; then
1414 echo $ECHO_N "(cached) $ECHO_C" >&6
1415 else
1416 case $ac_pt_ERL in
1417 [\\/]* | ?:[\\/]*)
1418 ac_cv_path_ac_pt_ERL="$ac_pt_ERL" # Let the user override the test with a path.
1419 ;;
1420 *)
1421 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1422 as_dummy="$with_erlang:$with_erlang/bin:$PATH"
1423 for as_dir in $as_dummy
1424 do
1425 IFS=$as_save_IFS
1426 test -z "$as_dir" && as_dir=.
1427 for ac_exec_ext in '' $ac_executable_extensions; do
1428 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1429 ac_cv_path_ac_pt_ERL="$as_dir/$ac_word$ac_exec_ext"
1430 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1431 break 2
1432 fi
1433 done
1434 done
1435
1436 ;;
1437 esac
1438 fi
1439 ac_pt_ERL=$ac_cv_path_ac_pt_ERL
1440
1441 if test -n "$ac_pt_ERL"; then
1442 echo "$as_me:$LINENO: result: $ac_pt_ERL" >&5
1443 echo "${ECHO_T}$ac_pt_ERL" >&6
1444 else
1445 echo "$as_me:$LINENO: result: no" >&5
1446 echo "${ECHO_T}no" >&6
1447 fi
1448
1449 ERL=$ac_pt_ERL
1450 else
1451 ERL="$ac_cv_path_ERL"
1452 fi
1453
1454
1455 if test "z$ERLC" == "z" || test "z$ERL" == "z"; then
1456 { { echo "$as_me:$LINENO: error: erlang not found" >&5
1457 echo "$as_me: error: erlang not found" >&2;}
1458 { (exit 1); exit 1; }; }
1459 fi
1460
1461 ERLDIR=`echo "${ERL}" | sed 's/\/bin\/*erl.*//'`
1462 if test "x$prefix" = xNONE; then
1463 echo $ECHO_N "checking for prefix by $ECHO_C" >&6
1464 # Extract the first word of "erl", so it can be a program name with args.
1465 set dummy erl; ac_word=$2
1466 echo "$as_me:$LINENO: checking for $ac_word" >&5
1467 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1468 if test "${ac_cv_path_ac_prefix_program+set}" = set; then
1469 echo $ECHO_N "(cached) $ECHO_C" >&6
1470 else
1471 case $ac_prefix_program in
1472 [\\/]* | ?:[\\/]*)
1473 ac_cv_path_ac_prefix_program="$ac_prefix_program" # Let the user override the test with a path.
1474 ;;
1475 *)
1476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1477 for as_dir in $PATH
1478 do
1479 IFS=$as_save_IFS
1480 test -z "$as_dir" && as_dir=.
1481 for ac_exec_ext in '' $ac_executable_extensions; do
1482 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1483 ac_cv_path_ac_prefix_program="$as_dir/$ac_word$ac_exec_ext"
1484 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1485 break 2
1486 fi
1487 done
1488 done
1489
1490 ;;
1491 esac
1492 fi
1493 ac_prefix_program=$ac_cv_path_ac_prefix_program
1494
1495 if test -n "$ac_prefix_program"; then
1496 echo "$as_me:$LINENO: result: $ac_prefix_program" >&5
1497 echo "${ECHO_T}$ac_prefix_program" >&6
1498 else
1499 echo "$as_me:$LINENO: result: no" >&5
1500 echo "${ECHO_T}no" >&6
1501 fi
1502
1503 if test -n "$ac_prefix_program"; then
1504 prefix=`(dirname "$ac_prefix_program") 2>/dev/null ||
1505 $as_expr X"$ac_prefix_program" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1506 X"$ac_prefix_program" : 'X\(//\)[^/]' \| \
1507 X"$ac_prefix_program" : 'X\(//\)$' \| \
1508 X"$ac_prefix_program" : 'X\(/\)' \| \
1509 . : '\(.\)' 2>/dev/null ||
1510 echo X"$ac_prefix_program" |
1511 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
1512 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
1513 /^X\(\/\/\)$/{ s//\1/; q; }
1514 /^X\(\/\).*/{ s//\1/; q; }
1515 s/.*/./; q'`
1516 prefix=`(dirname "$prefix") 2>/dev/null ||
1517 $as_expr X"$prefix" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1518 X"$prefix" : 'X\(//\)[^/]' \| \
1519 X"$prefix" : 'X\(//\)$' \| \
1520 X"$prefix" : 'X\(/\)' \| \
1521 . : '\(.\)' 2>/dev/null ||
1522 echo X"$prefix" |
1523 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
1524 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
1525 /^X\(\/\/\)$/{ s//\1/; q; }
1526 /^X\(\/\).*/{ s//\1/; q; }
1527 s/.*/./; q'`
1528 fi
1529 fi
1530
1531
1532 echo "$as_me:$LINENO: checking xmerl.hrl" >&5
1533 echo $ECHO_N "checking xmerl.hrl... $ECHO_C" >&6
1534
1535 cat >>conftest.erl <<_EOF
1536
1537 -module(conftest).
1538 -author('[email protected]').
1539
1540 -export([start/0]).
1541
1542 start() ->
1543 case code:lib_dir("xmerl") of
1544 {error,bad_name} ->
1545 file:write_file("conftest.out", "notfound\n");
1546 XMerlDirS ->
1547 file:write_file("conftest.out", XMerlDirS)
1548 end,
1549 halt().
1550
1551 _EOF
1552
1553 if ! $ERLC conftest.erl; then
1554 { { echo "$as_me:$LINENO: error: could not compile sample program" >&5
1555 echo "$as_me: error: could not compile sample program" >&2;}
1556 { (exit 1); exit 1; }; }
1557 fi
1558
1559 if ! $ERL -s conftest -noshell ; then
1560 { { echo "$as_me:$LINENO: error: could not run sample program" >&5
1561 echo "$as_me: error: could not run sample program" >&2;}
1562 { (exit 1); exit 1; }; }
1563 fi
1564
1565 if ! test -f conftest.out; then
1566 { { echo "$as_me:$LINENO: error: erlang program was not properly executed, (conftest.out was
1567 not produced)" >&5
1568 echo "$as_me: error: erlang program was not properly executed, (conftest.out was
1569 not produced)" >&2;}
1570 { (exit 1); exit 1; }; }
1571 fi
1572 ERLANG_XMERL_DIR=`head -1 < conftest.out`
1573 if test -f "$ERLANG_XMERL_DIR/inc/xmerl.hrl"; then
1574 ERLANG_XMERL_DIR="$ERLANG_XMERL_DIR/inc/"
1575 echo "$as_me:$LINENO: result: $ERLANG_XMERL_DIR" >&5
1576 echo "${ECHO_T}$ERLANG_XMERL_DIR" >&6
1577 elif test -f "$ERLANG_XMERL_DIR/include/xmerl.hrl"; then
1578 ERLANG_XMERL_DIR="$ERLANG_XMERL_DIR/include/"
1579 echo "$as_me:$LINENO: result: $ERLANG_XMERL_DIR" >&5
1580 echo "${ECHO_T}$ERLANG_XMERL_DIR" >&6
1581 else
1582 { { echo "$as_me:$LINENO: error: xmerl not found" >&5
1583 echo "$as_me: error: xmerl not found" >&2;}
1584 { (exit 1); exit 1; }; }
1585 fi
1586
1587
1588
1589
1590
1591
1592 DTD=manderlbot.dtd
1593
1594
1595 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1596 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1597 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1598 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1599 echo $ECHO_N "(cached) $ECHO_C" >&6
1600 else
1601 cat >conftest.make <<\_ACEOF
1602 all:
1603 @echo 'ac_maketemp="$(MAKE)"'
1604 _ACEOF
1605 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1606 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1607 if test -n "$ac_maketemp"; then
1608 eval ac_cv_prog_make_${ac_make}_set=yes
1609 else
1610 eval ac_cv_prog_make_${ac_make}_set=no
1611 fi
1612 rm -f conftest.make
1613 fi
1614 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1615 echo "$as_me:$LINENO: result: yes" >&5
1616 echo "${ECHO_T}yes" >&6
1617 SET_MAKE=
1618 else
1619 echo "$as_me:$LINENO: result: no" >&5
1620 echo "${ECHO_T}no" >&6
1621 SET_MAKE="MAKE=${MAKE-make}"
1622 fi
1623
1624 # AC_PROG_INSTALL
1625
1626 ac_config_files="$ac_config_files Makefile manderlbot.sh"
1627
1628
1629 cat >confcache <<\_ACEOF
1630 # This file is a shell script that caches the results of configure
1631 # tests run on this system so they can be shared between configure
1632 # scripts and configure runs, see configure's option --config-cache.
1633 # It is not useful on other systems. If it contains results you don't
1634 # want to keep, you may remove or edit it.
1635 #
1636 # config.status only pays attention to the cache file if you give it
1637 # the --recheck option to rerun configure.
1638 #
1639 # `ac_cv_env_foo' variables (set or unset) will be overridden when
1640 # loading this file, other *unset* `ac_cv_foo' will be assigned the
1641 # following values.
1642
1643 _ACEOF
1644
1645 # The following way of writing the cache mishandles newlines in values,
1646 # but we know of no workaround that is simple, portable, and efficient.
1647 # So, don't put newlines in cache variables' values.
1648 # Ultrix sh set writes to stderr and can't be redirected directly,
1649 # and sets the high bit in the cache file unless we assign to the vars.
1650 {
1651 (set) 2>&1 |
1652 case `(ac_space=' '; set | grep ac_space) 2>&1` in
1653 *ac_space=\ *)
1654 # `set' does not quote correctly, so add quotes (double-quote
1655 # substitution turns \\\\ into \\, and sed turns \\ into \).
1656 sed -n \
1657 "s/'/'\\\\''/g;
1658 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1659 ;;
1660 *)
1661 # `set' quotes correctly as required by POSIX, so do not add quotes.
1662 sed -n \
1663 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1664 ;;
1665 esac;
1666 } |
1667 sed '
1668 t clear
1669 : clear
1670 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
1671 t end
1672 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
1673 : end' >>confcache
1674 if diff $cache_file confcache >/dev/null 2>&1; then :; else
1675 if test -w $cache_file; then
1676 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
1677 cat confcache >$cache_file
1678 else
1679 echo "not updating unwritable cache $cache_file"
1680 fi
1681 fi
1682 rm -f confcache
1683
1684 test "x$prefix" = xNONE && prefix=$ac_default_prefix
1685 # Let make expand exec_prefix.
1686 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
1687
1688 # VPATH may cause trouble with some makes, so we remove $(srcdir),
1689 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
1690 # trailing colons and then remove the whole line if VPATH becomes empty
1691 # (actually we leave an empty line to preserve line numbers).
1692 if test "x$srcdir" = x.; then
1693 ac_vpsub='/^[ ]*VPATH[ ]*=/{
1694 s/:*\$(srcdir):*/:/;
1695 s/:*\${srcdir}:*/:/;
1696 s/:*@srcdir@:*/:/;
1697 s/^\([^=]*=[ ]*\):*/\1/;
1698 s/:*$//;
1699 s/^[^=]*=[ ]*$//;
1700 }'
1701 fi
1702
1703 # Transform confdefs.h into DEFS.
1704 # Protect against shell expansion while executing Makefile rules.
1705 # Protect against Makefile macro expansion.
1706 #
1707 # If the first sed substitution is executed (which looks for macros that
1708 # take arguments), then we branch to the quote section. Otherwise,
1709 # look for a macro that doesn't take arguments.
1710 cat >confdef2opt.sed <<\_ACEOF
1711 t clear
1712 : clear
1713 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
1714 t quote
1715 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
1716 t quote
1717 d
1718 : quote
1719 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
1720 s,\[,\\&,g
1721 s,\],\\&,g
1722 s,\$,$$,g
1723 p
1724 _ACEOF
1725 # We use echo to avoid assuming a particular line-breaking character.
1726 # The extra dot is to prevent the shell from consuming trailing
1727 # line-breaks from the sub-command output. A line-break within
1728 # single-quotes doesn't work because, if this script is created in a
1729 # platform that uses two characters for line-breaks (e.g., DOS), tr
1730 # would break.
1731 ac_LF_and_DOT=`echo; echo .`
1732 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
1733 rm -f confdef2opt.sed
1734
1735
1736 ac_libobjs=
1737 ac_ltlibobjs=
1738 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
1739 # 1. Remove the extension, and $U if already installed.
1740 ac_i=`echo "$ac_i" |
1741 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
1742 # 2. Add them.
1743 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
1744 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
1745 done
1746 LIBOBJS=$ac_libobjs
1747
1748 LTLIBOBJS=$ac_ltlibobjs
1749
1750
1751
1752 : ${CONFIG_STATUS=./config.status}
1753 ac_clean_files_save=$ac_clean_files
1754 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
1755 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
1756 echo "$as_me: creating $CONFIG_STATUS" >&6;}
1757 cat >$CONFIG_STATUS <<_ACEOF
1758 #! $SHELL
1759 # Generated by $as_me.
1760 # Run this file to recreate the current configuration.
1761 # Compiler output produced by configure, useful for debugging
1762 # configure, is in config.log if it exists.
1763
1764 debug=false
1765 ac_cs_recheck=false
1766 ac_cs_silent=false
1767 SHELL=\${CONFIG_SHELL-$SHELL}
1768 _ACEOF
1769
1770 cat >>$CONFIG_STATUS <<\_ACEOF
1771 ## --------------------- ##
1772 ## M4sh Initialization. ##
1773 ## --------------------- ##
1774
1775 # Be Bourne compatible
1776 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
1777 emulate sh
1778 NULLCMD=:
1779 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
1780 # is contrary to our usage. Disable this feature.
1781 alias -g '${1+"$@"}'='"$@"'
1782 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
1783 set -o posix
1784 fi
1785 DUALCASE=1; export DUALCASE # for MKS sh
1786
1787 # Support unset when possible.
1788 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
1789 as_unset=unset
1790 else
1791 as_unset=false
1792 fi
1793
1794
1795 # Work around bugs in pre-3.0 UWIN ksh.
1796 $as_unset ENV MAIL MAILPATH
1797 PS1='$ '
1798 PS2='> '
1799 PS4='+ '
1800
1801 # NLS nuisances.
1802 for as_var in \
1803 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
1804 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
1805 LC_TELEPHONE LC_TIME
1806 do
1807 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
1808 eval $as_var=C; export $as_var
1809 else
1810 $as_unset $as_var
1811 fi
1812 done
1813
1814 # Required to use basename.
1815 if expr a : '\(a\)' >/dev/null 2>&1; then
1816 as_expr=expr
1817 else
1818 as_expr=false
1819 fi
1820
1821 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
1822 as_basename=basename
1823 else
1824 as_basename=false
1825 fi
1826
1827
1828 # Name of the executable.
1829 as_me=`$as_basename "$0" ||
1830 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
1831 X"$0" : 'X\(//\)$' \| \
1832 X"$0" : 'X\(/\)$' \| \
1833 . : '\(.\)' 2>/dev/null ||
1834 echo X/"$0" |
1835 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
1836 /^X\/\(\/\/\)$/{ s//\1/; q; }
1837 /^X\/\(\/\).*/{ s//\1/; q; }
1838 s/.*/./; q'`
1839
1840
1841 # PATH needs CR, and LINENO needs CR and PATH.
1842 # Avoid depending upon Character Ranges.
1843 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
1844 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
1845 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
1846 as_cr_digits='0123456789'
1847 as_cr_alnum=$as_cr_Letters$as_cr_digits
1848
1849 # The user is always right.
1850 if test "${PATH_SEPARATOR+set}" != set; then
1851 echo "#! /bin/sh" >conf$$.sh
1852 echo "exit 0" >>conf$$.sh
1853 chmod +x conf$$.sh
1854 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
1855 PATH_SEPARATOR=';'
1856 else
1857 PATH_SEPARATOR=:
1858 fi
1859 rm -f conf$$.sh
1860 fi
1861
1862
1863 as_lineno_1=$LINENO
1864 as_lineno_2=$LINENO
1865 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
1866 test "x$as_lineno_1" != "x$as_lineno_2" &&
1867 test "x$as_lineno_3" = "x$as_lineno_2" || {
1868 # Find who we are. Look in the path if we contain no path at all
1869 # relative or not.
1870 case $0 in
1871 *[\\/]* ) as_myself=$0 ;;
1872 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1873 for as_dir in $PATH
1874 do
1875 IFS=$as_save_IFS
1876 test -z "$as_dir" && as_dir=.
1877 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
1878 done
1879
1880 ;;
1881 esac
1882 # We did not find ourselves, most probably we were run as `sh COMMAND'
1883 # in which case we are not to be found in the path.
1884 if test "x$as_myself" = x; then
1885 as_myself=$0
1886 fi
1887 if test ! -f "$as_myself"; then
1888 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
1889 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
1890 { (exit 1); exit 1; }; }
1891 fi
1892 case $CONFIG_SHELL in
1893 '')
1894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1895 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
1896 do
1897 IFS=$as_save_IFS
1898 test -z "$as_dir" && as_dir=.
1899 for as_base in sh bash ksh sh5; do
1900 case $as_dir in
1901 /*)
1902 if ("$as_dir/$as_base" -c '
1903 as_lineno_1=$LINENO
1904 as_lineno_2=$LINENO
1905 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
1906 test "x$as_lineno_1" != "x$as_lineno_2" &&
1907 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
1908 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
1909 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
1910 CONFIG_SHELL=$as_dir/$as_base
1911 export CONFIG_SHELL
1912 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
1913 fi;;
1914 esac
1915 done
1916 done
1917 ;;
1918 esac
1919
1920 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
1921 # uniformly replaced by the line number. The first 'sed' inserts a
1922 # line-number line before each line; the second 'sed' does the real
1923 # work. The second script uses 'N' to pair each line-number line
1924 # with the numbered line, and appends trailing '-' during
1925 # substitution so that $LINENO is not a special case at line end.
1926 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
1927 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
1928 sed '=' <$as_myself |
1929 sed '
1930 N
1931 s,$,-,
1932 : loop
1933 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
1934 t loop
1935 s,-$,,
1936 s,^['$as_cr_digits']*\n,,
1937 ' >$as_me.lineno &&
1938 chmod +x $as_me.lineno ||
1939 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
1940 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
1941 { (exit 1); exit 1; }; }
1942
1943 # Don't try to exec as it changes $[0], causing all sort of problems
1944 # (the dirname of $[0] is not the place where we might find the
1945 # original and so on. Autoconf is especially sensible to this).
1946 . ./$as_me.lineno
1947 # Exit status is that of the last command.
1948 exit
1949 }
1950
1951
1952 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
1953 *c*,-n*) ECHO_N= ECHO_C='
1954 ' ECHO_T=' ' ;;
1955 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
1956 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
1957 esac
1958
1959 if expr a : '\(a\)' >/dev/null 2>&1; then
1960 as_expr=expr
1961 else
1962 as_expr=false
1963 fi
1964
1965 rm -f conf$$ conf$$.exe conf$$.file
1966 echo >conf$$.file
1967 if ln -s conf$$.file conf$$ 2>/dev/null; then
1968 # We could just check for DJGPP; but this test a) works b) is more generic
1969 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
1970 if test -f conf$$.exe; then
1971 # Don't use ln at all; we don't have any links
1972 as_ln_s='cp -p'
1973 else
1974 as_ln_s='ln -s'
1975 fi
1976 elif ln conf$$.file conf$$ 2>/dev/null; then
1977 as_ln_s=ln
1978 else
1979 as_ln_s='cp -p'
1980 fi
1981 rm -f conf$$ conf$$.exe conf$$.file
1982
1983 if mkdir -p . 2>/dev/null; then
1984 as_mkdir_p=:
1985 else
1986 test -d ./-p && rmdir ./-p
1987 as_mkdir_p=false
1988 fi
1989
1990 as_executable_p="test -f"
1991
1992 # Sed expression to map a string onto a valid CPP name.
1993 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
1994
1995 # Sed expression to map a string onto a valid variable name.
1996 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
1997
1998
1999 # IFS
2000 # We need space, tab and new line, in precisely that order.
2001 as_nl='
2002 '
2003 IFS=" $as_nl"
2004
2005 # CDPATH.
2006 $as_unset CDPATH
2007
2008 exec 6>&1
2009
2010 # Open the log real soon, to keep \$[0] and so on meaningful, and to
2011 # report actual input values of CONFIG_FILES etc. instead of their
2012 # values after options handling. Logging --version etc. is OK.
2013 exec 5>>config.log
2014 {
2015 echo
2016 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2017 ## Running $as_me. ##
2018 _ASBOX
2019 } >&5
2020 cat >&5 <<_CSEOF
2021
2022 This file was extended by manderlbot $as_me 0.9.3, which was
2023 generated by GNU Autoconf 2.59. Invocation command line was
2024
2025 CONFIG_FILES = $CONFIG_FILES
2026 CONFIG_HEADERS = $CONFIG_HEADERS
2027 CONFIG_LINKS = $CONFIG_LINKS
2028 CONFIG_COMMANDS = $CONFIG_COMMANDS
2029 $ $0 $@
2030
2031 _CSEOF
2032 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
2033 echo >&5
2034 _ACEOF
2035
2036 # Files that config.status was made for.
2037 if test -n "$ac_config_files"; then
2038 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
2039 fi
2040
2041 if test -n "$ac_config_headers"; then
2042 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
2043 fi
2044
2045 if test -n "$ac_config_links"; then
2046 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
2047 fi
2048
2049 if test -n "$ac_config_commands"; then
2050 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
2051 fi
2052
2053 cat >>$CONFIG_STATUS <<\_ACEOF
2054
2055 ac_cs_usage="\
2056 \`$as_me' instantiates files from templates according to the
2057 current configuration.
2058
2059 Usage: $0 [OPTIONS] [FILE]...
2060
2061 -h, --help print this help, then exit
2062 -V, --version print version number, then exit
2063 -q, --quiet do not print progress messages
2064 -d, --debug don't remove temporary files
2065 --recheck update $as_me by reconfiguring in the same conditions
2066 --file=FILE[:TEMPLATE]
2067 instantiate the configuration file FILE
2068
2069 Configuration files:
2070 $config_files
2071
2072 Report bugs to <[email protected]>."
2073 _ACEOF
2074
2075 cat >>$CONFIG_STATUS <<_ACEOF
2076 ac_cs_version="\\
2077 manderlbot config.status 0.9.3
2078 configured by $0, generated by GNU Autoconf 2.59,
2079 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
2080
2081 Copyright (C) 2003 Free Software Foundation, Inc.
2082 This config.status script is free software; the Free Software Foundation
2083 gives unlimited permission to copy, distribute and modify it."
2084 srcdir=$srcdir
2085 _ACEOF
2086
2087 cat >>$CONFIG_STATUS <<\_ACEOF
2088 # If no file are specified by the user, then we need to provide default
2089 # value. By we need to know if files were specified by the user.
2090 ac_need_defaults=:
2091 while test $# != 0
2092 do
2093 case $1 in
2094 --*=*)
2095 ac_option=`expr "x$1" : 'x\([^=]*\)='`
2096 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
2097 ac_shift=:
2098 ;;
2099 -*)
2100 ac_option=$1
2101 ac_optarg=$2
2102 ac_shift=shift
2103 ;;
2104 *) # This is not an option, so the user has probably given explicit
2105 # arguments.
2106 ac_option=$1
2107 ac_need_defaults=false;;
2108 esac
2109
2110 case $ac_option in
2111 # Handling of the options.
2112 _ACEOF
2113 cat >>$CONFIG_STATUS <<\_ACEOF
2114 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2115 ac_cs_recheck=: ;;
2116 --version | --vers* | -V )
2117 echo "$ac_cs_version"; exit 0 ;;
2118 --he | --h)
2119 # Conflict between --help and --header
2120 { { echo "$as_me:$LINENO: error: ambiguous option: $1
2121 Try \`$0 --help' for more information." >&5
2122 echo "$as_me: error: ambiguous option: $1
2123 Try \`$0 --help' for more information." >&2;}
2124 { (exit 1); exit 1; }; };;
2125 --help | --hel | -h )
2126 echo "$ac_cs_usage"; exit 0 ;;
2127 --debug | --d* | -d )
2128 debug=: ;;
2129 --file | --fil | --fi | --f )
2130 $ac_shift
2131 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
2132 ac_need_defaults=false;;
2133 --header | --heade | --head | --hea )
2134 $ac_shift
2135 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
2136 ac_need_defaults=false;;
2137 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2138 | -silent | --silent | --silen | --sile | --sil | --si | --s)
2139 ac_cs_silent=: ;;
2140
2141 # This is an error.
2142 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
2143 Try \`$0 --help' for more information." >&5
2144 echo "$as_me: error: unrecognized option: $1
2145 Try \`$0 --help' for more information." >&2;}
2146 { (exit 1); exit 1; }; } ;;
2147
2148 *) ac_config_targets="$ac_config_targets $1" ;;
2149
2150 esac
2151 shift
2152 done
2153
2154 ac_configure_extra_args=
2155
2156 if $ac_cs_silent; then
2157 exec 6>/dev/null
2158 ac_configure_extra_args="$ac_configure_extra_args --silent"
2159 fi
2160
2161 _ACEOF
2162 cat >>$CONFIG_STATUS <<_ACEOF
2163 if \$ac_cs_recheck; then
2164 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
2165 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
2166 fi
2167
2168 _ACEOF
2169
2170
2171
2172
2173
2174 cat >>$CONFIG_STATUS <<\_ACEOF
2175 for ac_config_target in $ac_config_targets
2176 do
2177 case "$ac_config_target" in
2178 # Handling of arguments.
2179 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
2180 "manderlbot.sh" ) CONFIG_FILES="$CONFIG_FILES manderlbot.sh" ;;
2181 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
2182 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
2183 { (exit 1); exit 1; }; };;
2184 esac
2185 done
2186
2187 # If the user did not use the arguments to specify the items to instantiate,
2188 # then the envvar interface is used. Set only those that are not.
2189 # We use the long form for the default assignment because of an extremely
2190 # bizarre bug on SunOS 4.1.3.
2191 if $ac_need_defaults; then
2192 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
2193 fi
2194
2195 # Have a temporary directory for convenience. Make it in the build tree
2196 # simply because there is no reason to put it here, and in addition,
2197 # creating and moving files from /tmp can sometimes cause problems.
2198 # Create a temporary directory, and hook for its removal unless debugging.
2199 $debug ||
2200 {
2201 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
2202 trap '{ (exit 1); exit 1; }' 1 2 13 15
2203 }
2204
2205 # Create a (secure) tmp directory for tmp files.
2206
2207 {
2208 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
2209 test -n "$tmp" && test -d "$tmp"
2210 } ||
2211 {
2212 tmp=./confstat$$-$RANDOM
2213 (umask 077 && mkdir $tmp)
2214 } ||
2215 {
2216 echo "$me: cannot create a temporary directory in ." >&2
2217 { (exit 1); exit 1; }
2218 }
2219
2220 _ACEOF
2221
2222 cat >>$CONFIG_STATUS <<_ACEOF
2223
2224 #
2225 # CONFIG_FILES section.
2226 #
2227
2228 # No need to generate the scripts if there are no CONFIG_FILES.
2229 # This happens for instance when ./config.status config.h
2230 if test -n "\$CONFIG_FILES"; then
2231 # Protect against being on the right side of a sed subst in config.status.
2232 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
2233 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
2234 s,@SHELL@,$SHELL,;t t
2235 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
2236 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
2237 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
2238 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
2239 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
2240 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
2241 s,@exec_prefix@,$exec_prefix,;t t
2242 s,@prefix@,$prefix,;t t
2243 s,@program_transform_name@,$program_transform_name,;t t
2244 s,@bindir@,$bindir,;t t
2245 s,@sbindir@,$sbindir,;t t
2246 s,@libexecdir@,$libexecdir,;t t
2247 s,@datadir@,$datadir,;t t
2248 s,@sysconfdir@,$sysconfdir,;t t
2249 s,@sharedstatedir@,$sharedstatedir,;t t
2250 s,@localstatedir@,$localstatedir,;t t
2251 s,@libdir@,$libdir,;t t
2252 s,@includedir@,$includedir,;t t
2253 s,@oldincludedir@,$oldincludedir,;t t
2254 s,@infodir@,$infodir,;t t
2255 s,@mandir@,$mandir,;t t
2256 s,@build_alias@,$build_alias,;t t
2257 s,@host_alias@,$host_alias,;t t
2258 s,@target_alias@,$target_alias,;t t
2259 s,@DEFS@,$DEFS,;t t
2260 s,@ECHO_C@,$ECHO_C,;t t
2261 s,@ECHO_N@,$ECHO_N,;t t
2262 s,@ECHO_T@,$ECHO_T,;t t
2263 s,@LIBS@,$LIBS,;t t
2264 s,@CONFIG_STATUS_DEPENDENCIES@,$CONFIG_STATUS_DEPENDENCIES,;t t
2265 s,@CONFIGURE_DEPENDENCIES@,$CONFIGURE_DEPENDENCIES,;t t
2266 s,@SED@,$SED,;t t
2267 s,@ERLC@,$ERLC,;t t
2268 s,@ac_pt_ERLC@,$ac_pt_ERLC,;t t
2269 s,@ERL@,$ERL,;t t
2270 s,@ac_pt_ERL@,$ac_pt_ERL,;t t
2271 s,@ac_prefix_program@,$ac_prefix_program,;t t
2272 s,@ERLANG_XMERL_DIR@,$ERLANG_XMERL_DIR,;t t
2273 s,@ERLDIR@,$ERLDIR,;t t
2274 s,@DTD@,$DTD,;t t
2275 s,@SET_MAKE@,$SET_MAKE,;t t
2276 s,@LIBOBJS@,$LIBOBJS,;t t
2277 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
2278 CEOF
2279
2280 _ACEOF
2281
2282 cat >>$CONFIG_STATUS <<\_ACEOF
2283 # Split the substitutions into bite-sized pieces for seds with
2284 # small command number limits, like on Digital OSF/1 and HP-UX.
2285 ac_max_sed_lines=48
2286 ac_sed_frag=1 # Number of current file.
2287 ac_beg=1 # First line for current file.
2288 ac_end=$ac_max_sed_lines # Line after last line for current file.
2289 ac_more_lines=:
2290 ac_sed_cmds=
2291 while $ac_more_lines; do
2292 if test $ac_beg -gt 1; then
2293 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2294 else
2295 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2296 fi
2297 if test ! -s $tmp/subs.frag; then
2298 ac_more_lines=false
2299 else
2300 # The purpose of the label and of the branching condition is to
2301 # speed up the sed processing (if there are no `@' at all, there
2302 # is no need to browse any of the substitutions).
2303 # These are the two extra sed commands mentioned above.
2304 (echo ':t
2305 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
2306 if test -z "$ac_sed_cmds"; then
2307 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
2308 else
2309 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
2310 fi
2311 ac_sed_frag=`expr $ac_sed_frag + 1`
2312 ac_beg=$ac_end
2313 ac_end=`expr $ac_end + $ac_max_sed_lines`
2314 fi
2315 done
2316 if test -z "$ac_sed_cmds"; then
2317 ac_sed_cmds=cat
2318 fi
2319 fi # test -n "$CONFIG_FILES"
2320
2321 _ACEOF
2322 cat >>$CONFIG_STATUS <<\_ACEOF
2323 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
2324 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2325 case $ac_file in
2326 - | *:- | *:-:* ) # input from stdin
2327 cat >$tmp/stdin
2328 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2329 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2330 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2331 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2332 * ) ac_file_in=$ac_file.in ;;
2333 esac
2334
2335 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
2336 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
2337 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2338 X"$ac_file" : 'X\(//\)[^/]' \| \
2339 X"$ac_file" : 'X\(//\)$' \| \
2340 X"$ac_file" : 'X\(/\)' \| \
2341 . : '\(.\)' 2>/dev/null ||
2342 echo X"$ac_file" |
2343 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2344 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2345 /^X\(\/\/\)$/{ s//\1/; q; }
2346 /^X\(\/\).*/{ s//\1/; q; }
2347 s/.*/./; q'`
2348 { if $as_mkdir_p; then
2349 mkdir -p "$ac_dir"
2350 else
2351 as_dir="$ac_dir"
2352 as_dirs=
2353 while test ! -d "$as_dir"; do
2354 as_dirs="$as_dir $as_dirs"
2355 as_dir=`(dirname "$as_dir") 2>/dev/null ||
2356 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2357 X"$as_dir" : 'X\(//\)[^/]' \| \
2358 X"$as_dir" : 'X\(//\)$' \| \
2359 X"$as_dir" : 'X\(/\)' \| \
2360 . : '\(.\)' 2>/dev/null ||
2361 echo X"$as_dir" |
2362 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2363 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2364 /^X\(\/\/\)$/{ s//\1/; q; }
2365 /^X\(\/\).*/{ s//\1/; q; }
2366 s/.*/./; q'`
2367 done
2368 test ! -n "$as_dirs" || mkdir $as_dirs
2369 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
2370 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
2371 { (exit 1); exit 1; }; }; }
2372
2373 ac_builddir=.
2374
2375 if test "$ac_dir" != .; then
2376 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2377 # A "../" for each directory in $ac_dir_suffix.
2378 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
2379 else
2380 ac_dir_suffix= ac_top_builddir=
2381 fi
2382
2383 case $srcdir in
2384 .) # No --srcdir option. We are building in place.
2385 ac_srcdir=.
2386 if test -z "$ac_top_builddir"; then
2387 ac_top_srcdir=.
2388 else
2389 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
2390 fi ;;
2391 [\\/]* | ?:[\\/]* ) # Absolute path.
2392 ac_srcdir=$srcdir$ac_dir_suffix;
2393 ac_top_srcdir=$srcdir ;;
2394 *) # Relative path.
2395 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
2396 ac_top_srcdir=$ac_top_builddir$srcdir ;;
2397 esac
2398
2399 # Do not use `cd foo && pwd` to compute absolute paths, because
2400 # the directories may not exist.
2401 case `pwd` in
2402 .) ac_abs_builddir="$ac_dir";;
2403 *)
2404 case "$ac_dir" in
2405 .) ac_abs_builddir=`pwd`;;
2406 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
2407 *) ac_abs_builddir=`pwd`/"$ac_dir";;
2408 esac;;
2409 esac
2410 case $ac_abs_builddir in
2411 .) ac_abs_top_builddir=${ac_top_builddir}.;;
2412 *)
2413 case ${ac_top_builddir}. in
2414 .) ac_abs_top_builddir=$ac_abs_builddir;;
2415 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
2416 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
2417 esac;;
2418 esac
2419 case $ac_abs_builddir in
2420 .) ac_abs_srcdir=$ac_srcdir;;
2421 *)
2422 case $ac_srcdir in
2423 .) ac_abs_srcdir=$ac_abs_builddir;;
2424 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
2425 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
2426 esac;;
2427 esac
2428 case $ac_abs_builddir in
2429 .) ac_abs_top_srcdir=$ac_top_srcdir;;
2430 *)
2431 case $ac_top_srcdir in
2432 .) ac_abs_top_srcdir=$ac_abs_builddir;;
2433 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
2434 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
2435 esac;;
2436 esac
2437
2438
2439
2440 if test x"$ac_file" != x-; then
2441 { echo "$as_me:$LINENO: creating $ac_file" >&5
2442 echo "$as_me: creating $ac_file" >&6;}
2443 rm -f "$ac_file"
2444 fi
2445 # Let's still pretend it is `configure' which instantiates (i.e., don't
2446 # use $as_me), people would be surprised to read:
2447 # /* config.h. Generated by config.status. */
2448 if test x"$ac_file" = x-; then
2449 configure_input=
2450 else
2451 configure_input="$ac_file. "
2452 fi
2453 configure_input=$configure_input"Generated from `echo $ac_file_in |
2454 sed 's,.*/,,'` by configure."
2455
2456 # First look for the input files in the build tree, otherwise in the
2457 # src tree.
2458 ac_file_inputs=`IFS=:
2459 for f in $ac_file_in; do
2460 case $f in
2461 -) echo $tmp/stdin ;;
2462 [\\/$]*)
2463 # Absolute (can't be DOS-style, as IFS=:)
2464 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
2465 echo "$as_me: error: cannot find input file: $f" >&2;}
2466 { (exit 1); exit 1; }; }
2467 echo "$f";;
2468 *) # Relative
2469 if test -f "$f"; then
2470 # Build tree
2471 echo "$f"
2472 elif test -f "$srcdir/$f"; then
2473 # Source tree
2474 echo "$srcdir/$f"
2475 else
2476 # /dev/null tree
2477 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
2478 echo "$as_me: error: cannot find input file: $f" >&2;}
2479 { (exit 1); exit 1; }; }
2480 fi;;
2481 esac
2482 done` || { (exit 1); exit 1; }
2483 _ACEOF
2484 cat >>$CONFIG_STATUS <<_ACEOF
2485 sed "$ac_vpsub
2486 $extrasub
2487 _ACEOF
2488 cat >>$CONFIG_STATUS <<\_ACEOF
2489 :t
2490 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
2491 s,@configure_input@,$configure_input,;t t
2492 s,@srcdir@,$ac_srcdir,;t t
2493 s,@abs_srcdir@,$ac_abs_srcdir,;t t
2494 s,@top_srcdir@,$ac_top_srcdir,;t t
2495 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
2496 s,@builddir@,$ac_builddir,;t t
2497 s,@abs_builddir@,$ac_abs_builddir,;t t
2498 s,@top_builddir@,$ac_top_builddir,;t t
2499 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
2500 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
2501 rm -f $tmp/stdin
2502 if test x"$ac_file" != x-; then
2503 mv $tmp/out $ac_file
2504 else
2505 cat $tmp/out
2506 rm -f $tmp/out
2507 fi
2508
2509 done
2510 _ACEOF
2511
2512 cat >>$CONFIG_STATUS <<\_ACEOF
2513
2514 { (exit 0); exit 0; }
2515 _ACEOF
2516 chmod +x $CONFIG_STATUS
2517 ac_clean_files=$ac_clean_files_save
2518
2519
2520 # configure is writing to config.log, and then calls config.status.
2521 # config.status does its own redirection, appending to config.log.
2522 # Unfortunately, on DOS this fails, as config.log is still kept open
2523 # by configure, so config.status won't be able to write to it; its
2524 # output is simply discarded. So we exec the FD to /dev/null,
2525 # effectively closing config.log, so it can be properly (re)opened and
2526 # appended to by config.status. When coming back to configure, we
2527 # need to make the FD available again.
2528 if test "$no_create" != yes; then
2529 ac_cs_success=:
2530 ac_config_status_args=
2531 test "$silent" = yes &&
2532 ac_config_status_args="$ac_config_status_args --quiet"
2533 exec 5>/dev/null
2534 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
2535 exec 5>>config.log
2536 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
2537 # would make configure fail if this is the last instruction.
2538 $ac_cs_success || { (exit 1); exit 1; }
2539 fi
2540