Debian Codegraph @

configure

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