Codebase list bsdowl / 24502f3
Remove configure script from the sources Michael Grünewald 9 years ago
2 changed file(s) with 4 addition(s) and 4516 deletion(s). Raw diff Collapse all Expand all
+0
-4516
configure less more
0 #! /bin/sh
1 # Guess values for system-dependent variables and create Makefiles.
2 # Generated by GNU Autoconf 2.69.
3 #
4 #
5 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
6 #
7 #
8 # This configure script is free software; the Free Software Foundation
9 # gives unlimited permission to copy, distribute and modify it.
10 ## -------------------- ##
11 ## M4sh Initialization. ##
12 ## -------------------- ##
13
14 # Be more Bourne compatible
15 DUALCASE=1; export DUALCASE # for MKS sh
16 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
17 emulate sh
18 NULLCMD=:
19 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 setopt NO_GLOB_SUBST
23 else
24 case `(set -o) 2>/dev/null` in #(
25 *posix*) :
26 set -o posix ;; #(
27 *) :
28 ;;
29 esac
30 fi
31
32
33 as_nl='
34 '
35 export as_nl
36 # Printing a long string crashes Solaris 7 /usr/bin/printf.
37 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
38 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
40 # Prefer a ksh shell builtin over an external printf program on Solaris,
41 # but without wasting forks for bash or zsh.
42 if test -z "$BASH_VERSION$ZSH_VERSION" \
43 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
44 as_echo='print -r --'
45 as_echo_n='print -rn --'
46 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='printf %s\n'
48 as_echo_n='printf %s'
49 else
50 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
51 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
52 as_echo_n='/usr/ucb/echo -n'
53 else
54 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
55 as_echo_n_body='eval
56 arg=$1;
57 case $arg in #(
58 *"$as_nl"*)
59 expr "X$arg" : "X\\(.*\\)$as_nl";
60 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
61 esac;
62 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
63 '
64 export as_echo_n_body
65 as_echo_n='sh -c $as_echo_n_body as_echo'
66 fi
67 export as_echo_body
68 as_echo='sh -c $as_echo_body as_echo'
69 fi
70
71 # The user is always right.
72 if test "${PATH_SEPARATOR+set}" != set; then
73 PATH_SEPARATOR=:
74 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
75 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
76 PATH_SEPARATOR=';'
77 }
78 fi
79
80
81 # IFS
82 # We need space, tab and new line, in precisely that order. Quoting is
83 # there to prevent editors from complaining about space-tab.
84 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
85 # splitting by setting IFS to empty value.)
86 IFS=" "" $as_nl"
87
88 # Find who we are. Look in the path if we contain no directory separator.
89 as_myself=
90 case $0 in #((
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
93 for as_dir in $PATH
94 do
95 IFS=$as_save_IFS
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
98 done
99 IFS=$as_save_IFS
100
101 ;;
102 esac
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x; then
106 as_myself=$0
107 fi
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
110 exit 1
111 fi
112
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\${$as_var+set} = xset \
119 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
120 done
121 PS1='$ '
122 PS2='> '
123 PS4='+ '
124
125 # NLS nuisances.
126 LC_ALL=C
127 export LC_ALL
128 LANGUAGE=C
129 export LANGUAGE
130
131 # CDPATH.
132 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
133
134 # Use a proper internal environment variable to ensure we don't fall
135 # into an infinite loop, continuously re-executing ourselves.
136 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
137 _as_can_reexec=no; export _as_can_reexec;
138 # We cannot yet assume a decent shell, so we have to provide a
139 # neutralization value for shells without unset; and this also
140 # works around shells that cannot unset nonexistent variables.
141 # Preserve -v and -x to the replacement shell.
142 BASH_ENV=/dev/null
143 ENV=/dev/null
144 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
145 case $- in # ((((
146 *v*x* | *x*v* ) as_opts=-vx ;;
147 *v* ) as_opts=-v ;;
148 *x* ) as_opts=-x ;;
149 * ) as_opts= ;;
150 esac
151 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
152 # Admittedly, this is quite paranoid, since all the known shells bail
153 # out after a failed `exec'.
154 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
155 as_fn_exit 255
156 fi
157 # We don't want this to propagate to other subprocesses.
158 { _as_can_reexec=; unset _as_can_reexec;}
159 if test "x$CONFIG_SHELL" = x; then
160 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
161 emulate sh
162 NULLCMD=:
163 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
164 # is contrary to our usage. Disable this feature.
165 alias -g '\${1+\"\$@\"}'='\"\$@\"'
166 setopt NO_GLOB_SUBST
167 else
168 case \`(set -o) 2>/dev/null\` in #(
169 *posix*) :
170 set -o posix ;; #(
171 *) :
172 ;;
173 esac
174 fi
175 "
176 as_required="as_fn_return () { (exit \$1); }
177 as_fn_success () { as_fn_return 0; }
178 as_fn_failure () { as_fn_return 1; }
179 as_fn_ret_success () { return 0; }
180 as_fn_ret_failure () { return 1; }
181
182 exitcode=0
183 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
184 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
185 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
186 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
187 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
188
189 else
190 exitcode=1; echo positional parameters were not saved.
191 fi
192 test x\$exitcode = x0 || exit 1
193 test -x / || exit 1"
194 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
195 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
196 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
197 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
198 test \$(( 1 + 1 )) = 2 || 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 bug-autoconf@gnu.org 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="bps/Makefile"
585 ac_subst_vars='LTLIBOBJS
586 LIBOBJS
587 SYSTEMGRP
588 SYSTEMOWN
589 COMPRESS
590 has_bmake
591 has_gm
592 ID
593 SED
594 MKDIR_P
595 LN_S
596 INSTALL_DATA
597 INSTALL_SCRIPT
598 INSTALL_PROGRAM
599 GREP
600 AWK
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 localstatedir
621 sharedstatedir
622 sysconfdir
623 datadir
624 datarootdir
625 libexecdir
626 sbindir
627 bindir
628 program_transform_name
629 prefix
630 exec_prefix
631 PACKAGE_URL
632 PACKAGE_BUGREPORT
633 PACKAGE_STRING
634 PACKAGE_VERSION
635 PACKAGE_TARNAME
636 PACKAGE_NAME
637 PATH_SEPARATOR
638 SHELL'
639 ac_subst_files=''
640 ac_user_opts='
641 enable_option_checking
642 '
643 ac_precious_vars='build_alias
644 host_alias
645 target_alias'
646
647
648 # Initialize some variables set by options.
649 ac_init_help=
650 ac_init_version=false
651 ac_unrecognized_opts=
652 ac_unrecognized_sep=
653 # The variables have the same names as the options, with
654 # dashes changed to underlines.
655 cache_file=/dev/null
656 exec_prefix=NONE
657 no_create=
658 no_recursion=
659 prefix=NONE
660 program_prefix=NONE
661 program_suffix=NONE
662 program_transform_name=s,x,x,
663 silent=
664 site=
665 srcdir=
666 verbose=
667 x_includes=NONE
668 x_libraries=NONE
669
670 # Installation directory options.
671 # These are left unexpanded so users can "make install exec_prefix=/foo"
672 # and all the variables that are supposed to be based on exec_prefix
673 # by default will actually change.
674 # Use braces instead of parens because sh, perl, etc. also accept them.
675 # (The list follows the same order as the GNU Coding Standards.)
676 bindir='${exec_prefix}/bin'
677 sbindir='${exec_prefix}/sbin'
678 libexecdir='${exec_prefix}/libexec'
679 datarootdir='${prefix}/share'
680 datadir='${datarootdir}'
681 sysconfdir='${prefix}/etc'
682 sharedstatedir='${prefix}/com'
683 localstatedir='${prefix}/var'
684 includedir='${prefix}/include'
685 oldincludedir='/usr/include'
686 docdir='${datarootdir}/doc/${PACKAGE}'
687 infodir='${datarootdir}/info'
688 htmldir='${docdir}'
689 dvidir='${docdir}'
690 pdfdir='${docdir}'
691 psdir='${docdir}'
692 libdir='${exec_prefix}/lib'
693 localedir='${datarootdir}/locale'
694 mandir='${datarootdir}/man'
695
696 ac_prev=
697 ac_dashdash=
698 for ac_option
699 do
700 # If the previous option needs an argument, assign it.
701 if test -n "$ac_prev"; then
702 eval $ac_prev=\$ac_option
703 ac_prev=
704 continue
705 fi
706
707 case $ac_option in
708 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
709 *=) ac_optarg= ;;
710 *) ac_optarg=yes ;;
711 esac
712
713 # Accept the important Cygnus configure options, so we can diagnose typos.
714
715 case $ac_dashdash$ac_option in
716 --)
717 ac_dashdash=yes ;;
718
719 -bindir | --bindir | --bindi | --bind | --bin | --bi)
720 ac_prev=bindir ;;
721 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
722 bindir=$ac_optarg ;;
723
724 -build | --build | --buil | --bui | --bu)
725 ac_prev=build_alias ;;
726 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
727 build_alias=$ac_optarg ;;
728
729 -cache-file | --cache-file | --cache-fil | --cache-fi \
730 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
731 ac_prev=cache_file ;;
732 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
733 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
734 cache_file=$ac_optarg ;;
735
736 --config-cache | -C)
737 cache_file=config.cache ;;
738
739 -datadir | --datadir | --datadi | --datad)
740 ac_prev=datadir ;;
741 -datadir=* | --datadir=* | --datadi=* | --datad=*)
742 datadir=$ac_optarg ;;
743
744 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
745 | --dataroo | --dataro | --datar)
746 ac_prev=datarootdir ;;
747 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
748 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
749 datarootdir=$ac_optarg ;;
750
751 -disable-* | --disable-*)
752 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
753 # Reject names that are not valid shell variable names.
754 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
755 as_fn_error $? "invalid feature name: $ac_useropt"
756 ac_useropt_orig=$ac_useropt
757 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
758 case $ac_user_opts in
759 *"
760 "enable_$ac_useropt"
761 "*) ;;
762 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
763 ac_unrecognized_sep=', ';;
764 esac
765 eval enable_$ac_useropt=no ;;
766
767 -docdir | --docdir | --docdi | --doc | --do)
768 ac_prev=docdir ;;
769 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
770 docdir=$ac_optarg ;;
771
772 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
773 ac_prev=dvidir ;;
774 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
775 dvidir=$ac_optarg ;;
776
777 -enable-* | --enable-*)
778 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
779 # Reject names that are not valid shell variable names.
780 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
781 as_fn_error $? "invalid feature name: $ac_useropt"
782 ac_useropt_orig=$ac_useropt
783 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
784 case $ac_user_opts in
785 *"
786 "enable_$ac_useropt"
787 "*) ;;
788 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
789 ac_unrecognized_sep=', ';;
790 esac
791 eval enable_$ac_useropt=\$ac_optarg ;;
792
793 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
794 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
795 | --exec | --exe | --ex)
796 ac_prev=exec_prefix ;;
797 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
798 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
799 | --exec=* | --exe=* | --ex=*)
800 exec_prefix=$ac_optarg ;;
801
802 -gas | --gas | --ga | --g)
803 # Obsolete; use --with-gas.
804 with_gas=yes ;;
805
806 -help | --help | --hel | --he | -h)
807 ac_init_help=long ;;
808 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
809 ac_init_help=recursive ;;
810 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
811 ac_init_help=short ;;
812
813 -host | --host | --hos | --ho)
814 ac_prev=host_alias ;;
815 -host=* | --host=* | --hos=* | --ho=*)
816 host_alias=$ac_optarg ;;
817
818 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
819 ac_prev=htmldir ;;
820 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
821 | --ht=*)
822 htmldir=$ac_optarg ;;
823
824 -includedir | --includedir | --includedi | --included | --include \
825 | --includ | --inclu | --incl | --inc)
826 ac_prev=includedir ;;
827 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
828 | --includ=* | --inclu=* | --incl=* | --inc=*)
829 includedir=$ac_optarg ;;
830
831 -infodir | --infodir | --infodi | --infod | --info | --inf)
832 ac_prev=infodir ;;
833 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
834 infodir=$ac_optarg ;;
835
836 -libdir | --libdir | --libdi | --libd)
837 ac_prev=libdir ;;
838 -libdir=* | --libdir=* | --libdi=* | --libd=*)
839 libdir=$ac_optarg ;;
840
841 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
842 | --libexe | --libex | --libe)
843 ac_prev=libexecdir ;;
844 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
845 | --libexe=* | --libex=* | --libe=*)
846 libexecdir=$ac_optarg ;;
847
848 -localedir | --localedir | --localedi | --localed | --locale)
849 ac_prev=localedir ;;
850 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
851 localedir=$ac_optarg ;;
852
853 -localstatedir | --localstatedir | --localstatedi | --localstated \
854 | --localstate | --localstat | --localsta | --localst | --locals)
855 ac_prev=localstatedir ;;
856 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
857 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
858 localstatedir=$ac_optarg ;;
859
860 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
861 ac_prev=mandir ;;
862 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
863 mandir=$ac_optarg ;;
864
865 -nfp | --nfp | --nf)
866 # Obsolete; use --without-fp.
867 with_fp=no ;;
868
869 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
870 | --no-cr | --no-c | -n)
871 no_create=yes ;;
872
873 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
874 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
875 no_recursion=yes ;;
876
877 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
878 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
879 | --oldin | --oldi | --old | --ol | --o)
880 ac_prev=oldincludedir ;;
881 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
882 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
883 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
884 oldincludedir=$ac_optarg ;;
885
886 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
887 ac_prev=prefix ;;
888 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
889 prefix=$ac_optarg ;;
890
891 -program-prefix | --program-prefix | --program-prefi | --program-pref \
892 | --program-pre | --program-pr | --program-p)
893 ac_prev=program_prefix ;;
894 -program-prefix=* | --program-prefix=* | --program-prefi=* \
895 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
896 program_prefix=$ac_optarg ;;
897
898 -program-suffix | --program-suffix | --program-suffi | --program-suff \
899 | --program-suf | --program-su | --program-s)
900 ac_prev=program_suffix ;;
901 -program-suffix=* | --program-suffix=* | --program-suffi=* \
902 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
903 program_suffix=$ac_optarg ;;
904
905 -program-transform-name | --program-transform-name \
906 | --program-transform-nam | --program-transform-na \
907 | --program-transform-n | --program-transform- \
908 | --program-transform | --program-transfor \
909 | --program-transfo | --program-transf \
910 | --program-trans | --program-tran \
911 | --progr-tra | --program-tr | --program-t)
912 ac_prev=program_transform_name ;;
913 -program-transform-name=* | --program-transform-name=* \
914 | --program-transform-nam=* | --program-transform-na=* \
915 | --program-transform-n=* | --program-transform-=* \
916 | --program-transform=* | --program-transfor=* \
917 | --program-transfo=* | --program-transf=* \
918 | --program-trans=* | --program-tran=* \
919 | --progr-tra=* | --program-tr=* | --program-t=*)
920 program_transform_name=$ac_optarg ;;
921
922 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
923 ac_prev=pdfdir ;;
924 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
925 pdfdir=$ac_optarg ;;
926
927 -psdir | --psdir | --psdi | --psd | --ps)
928 ac_prev=psdir ;;
929 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
930 psdir=$ac_optarg ;;
931
932 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
933 | -silent | --silent | --silen | --sile | --sil)
934 silent=yes ;;
935
936 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
937 ac_prev=sbindir ;;
938 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
939 | --sbi=* | --sb=*)
940 sbindir=$ac_optarg ;;
941
942 -sharedstatedir | --sharedstatedir | --sharedstatedi \
943 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
944 | --sharedst | --shareds | --shared | --share | --shar \
945 | --sha | --sh)
946 ac_prev=sharedstatedir ;;
947 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
948 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
949 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
950 | --sha=* | --sh=*)
951 sharedstatedir=$ac_optarg ;;
952
953 -site | --site | --sit)
954 ac_prev=site ;;
955 -site=* | --site=* | --sit=*)
956 site=$ac_optarg ;;
957
958 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
959 ac_prev=srcdir ;;
960 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
961 srcdir=$ac_optarg ;;
962
963 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
964 | --syscon | --sysco | --sysc | --sys | --sy)
965 ac_prev=sysconfdir ;;
966 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
967 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
968 sysconfdir=$ac_optarg ;;
969
970 -target | --target | --targe | --targ | --tar | --ta | --t)
971 ac_prev=target_alias ;;
972 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
973 target_alias=$ac_optarg ;;
974
975 -v | -verbose | --verbose | --verbos | --verbo | --verb)
976 verbose=yes ;;
977
978 -version | --version | --versio | --versi | --vers | -V)
979 ac_init_version=: ;;
980
981 -with-* | --with-*)
982 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
983 # Reject names that are not valid shell variable names.
984 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
985 as_fn_error $? "invalid package name: $ac_useropt"
986 ac_useropt_orig=$ac_useropt
987 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
988 case $ac_user_opts in
989 *"
990 "with_$ac_useropt"
991 "*) ;;
992 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
993 ac_unrecognized_sep=', ';;
994 esac
995 eval with_$ac_useropt=\$ac_optarg ;;
996
997 -without-* | --without-*)
998 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
999 # Reject names that are not valid shell variable names.
1000 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1001 as_fn_error $? "invalid package name: $ac_useropt"
1002 ac_useropt_orig=$ac_useropt
1003 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1004 case $ac_user_opts in
1005 *"
1006 "with_$ac_useropt"
1007 "*) ;;
1008 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1009 ac_unrecognized_sep=', ';;
1010 esac
1011 eval with_$ac_useropt=no ;;
1012
1013 --x)
1014 # Obsolete; use --with-x.
1015 with_x=yes ;;
1016
1017 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1018 | --x-incl | --x-inc | --x-in | --x-i)
1019 ac_prev=x_includes ;;
1020 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1021 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1022 x_includes=$ac_optarg ;;
1023
1024 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1025 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1026 ac_prev=x_libraries ;;
1027 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1028 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1029 x_libraries=$ac_optarg ;;
1030
1031 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1032 Try \`$0 --help' for more information"
1033 ;;
1034
1035 *=*)
1036 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1037 # Reject names that are not valid shell variable names.
1038 case $ac_envvar in #(
1039 '' | [0-9]* | *[!_$as_cr_alnum]* )
1040 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1041 esac
1042 eval $ac_envvar=\$ac_optarg
1043 export $ac_envvar ;;
1044
1045 *)
1046 # FIXME: should be removed in autoconf 3.0.
1047 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1048 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1049 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1050 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1051 ;;
1052
1053 esac
1054 done
1055
1056 if test -n "$ac_prev"; then
1057 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1058 as_fn_error $? "missing argument to $ac_option"
1059 fi
1060
1061 if test -n "$ac_unrecognized_opts"; then
1062 case $enable_option_checking in
1063 no) ;;
1064 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1065 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1066 esac
1067 fi
1068
1069 # Check all directory arguments for consistency.
1070 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1071 datadir sysconfdir sharedstatedir localstatedir includedir \
1072 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1073 libdir localedir mandir
1074 do
1075 eval ac_val=\$$ac_var
1076 # Remove trailing slashes.
1077 case $ac_val in
1078 */ )
1079 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1080 eval $ac_var=\$ac_val;;
1081 esac
1082 # Be sure to have absolute directory names.
1083 case $ac_val in
1084 [\\/$]* | ?:[\\/]* ) continue;;
1085 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1086 esac
1087 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1088 done
1089
1090 # There might be people who depend on the old broken behavior: `$host'
1091 # used to hold the argument of --host etc.
1092 # FIXME: To remove some day.
1093 build=$build_alias
1094 host=$host_alias
1095 target=$target_alias
1096
1097 # FIXME: To remove some day.
1098 if test "x$host_alias" != x; then
1099 if test "x$build_alias" = x; then
1100 cross_compiling=maybe
1101 elif test "x$build_alias" != "x$host_alias"; then
1102 cross_compiling=yes
1103 fi
1104 fi
1105
1106 ac_tool_prefix=
1107 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1108
1109 test "$silent" = yes && exec 6>/dev/null
1110
1111
1112 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1113 ac_ls_di=`ls -di .` &&
1114 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1115 as_fn_error $? "working directory cannot be determined"
1116 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1117 as_fn_error $? "pwd does not report name of working directory"
1118
1119
1120 # Find the source files, if location was not specified.
1121 if test -z "$srcdir"; then
1122 ac_srcdir_defaulted=yes
1123 # Try the directory containing this script, then the parent directory.
1124 ac_confdir=`$as_dirname -- "$as_myself" ||
1125 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1126 X"$as_myself" : 'X\(//\)[^/]' \| \
1127 X"$as_myself" : 'X\(//\)$' \| \
1128 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1129 $as_echo X"$as_myself" |
1130 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1131 s//\1/
1132 q
1133 }
1134 /^X\(\/\/\)[^/].*/{
1135 s//\1/
1136 q
1137 }
1138 /^X\(\/\/\)$/{
1139 s//\1/
1140 q
1141 }
1142 /^X\(\/\).*/{
1143 s//\1/
1144 q
1145 }
1146 s/.*/./; q'`
1147 srcdir=$ac_confdir
1148 if test ! -r "$srcdir/$ac_unique_file"; then
1149 srcdir=..
1150 fi
1151 else
1152 ac_srcdir_defaulted=no
1153 fi
1154 if test ! -r "$srcdir/$ac_unique_file"; then
1155 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1156 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1157 fi
1158 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1159 ac_abs_confdir=`(
1160 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1161 pwd)`
1162 # When building in place, set srcdir=.
1163 if test "$ac_abs_confdir" = "$ac_pwd"; then
1164 srcdir=.
1165 fi
1166 # Remove unnecessary trailing slashes from srcdir.
1167 # Double slashes in file names in object file debugging info
1168 # mess up M-x gdb in Emacs.
1169 case $srcdir in
1170 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1171 esac
1172 for ac_var in $ac_precious_vars; do
1173 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1174 eval ac_env_${ac_var}_value=\$${ac_var}
1175 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1176 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1177 done
1178
1179 #
1180 # Report the --help message.
1181 #
1182 if test "$ac_init_help" = "long"; then
1183 # Omit some internal or obsolete options to make the list less imposing.
1184 # This message is too long to be a string in the A/UX 3.1 sh.
1185 cat <<_ACEOF
1186 \`configure' configures this package to adapt to many kinds of systems.
1187
1188 Usage: $0 [OPTION]... [VAR=VALUE]...
1189
1190 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1191 VAR=VALUE. See below for descriptions of some of the useful variables.
1192
1193 Defaults for the options are specified in brackets.
1194
1195 Configuration:
1196 -h, --help display this help and exit
1197 --help=short display options specific to this package
1198 --help=recursive display the short help of all the included packages
1199 -V, --version display version information and exit
1200 -q, --quiet, --silent do not print \`checking ...' messages
1201 --cache-file=FILE cache test results in FILE [disabled]
1202 -C, --config-cache alias for \`--cache-file=config.cache'
1203 -n, --no-create do not create output files
1204 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1205
1206 Installation directories:
1207 --prefix=PREFIX install architecture-independent files in PREFIX
1208 [$ac_default_prefix]
1209 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1210 [PREFIX]
1211
1212 By default, \`make install' will install all the files in
1213 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1214 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1215 for instance \`--prefix=\$HOME'.
1216
1217 For better control, use the options below.
1218
1219 Fine tuning of the installation directories:
1220 --bindir=DIR user executables [EPREFIX/bin]
1221 --sbindir=DIR system admin executables [EPREFIX/sbin]
1222 --libexecdir=DIR program executables [EPREFIX/libexec]
1223 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1224 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1225 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1226 --libdir=DIR object code libraries [EPREFIX/lib]
1227 --includedir=DIR C header files [PREFIX/include]
1228 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1229 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1230 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1231 --infodir=DIR info documentation [DATAROOTDIR/info]
1232 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1233 --mandir=DIR man documentation [DATAROOTDIR/man]
1234 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1235 --htmldir=DIR html documentation [DOCDIR]
1236 --dvidir=DIR dvi documentation [DOCDIR]
1237 --pdfdir=DIR pdf documentation [DOCDIR]
1238 --psdir=DIR ps documentation [DOCDIR]
1239 _ACEOF
1240
1241 cat <<\_ACEOF
1242 _ACEOF
1243 fi
1244
1245 if test -n "$ac_init_help"; then
1246
1247 cat <<\_ACEOF
1248
1249 Report bugs to the package provider.
1250 _ACEOF
1251 ac_status=$?
1252 fi
1253
1254 if test "$ac_init_help" = "recursive"; then
1255 # If there are subdirs, report their specific --help.
1256 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1257 test -d "$ac_dir" ||
1258 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1259 continue
1260 ac_builddir=.
1261
1262 case "$ac_dir" in
1263 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1264 *)
1265 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1266 # A ".." for each directory in $ac_dir_suffix.
1267 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1268 case $ac_top_builddir_sub in
1269 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1270 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1271 esac ;;
1272 esac
1273 ac_abs_top_builddir=$ac_pwd
1274 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1275 # for backward compatibility:
1276 ac_top_builddir=$ac_top_build_prefix
1277
1278 case $srcdir in
1279 .) # We are building in place.
1280 ac_srcdir=.
1281 ac_top_srcdir=$ac_top_builddir_sub
1282 ac_abs_top_srcdir=$ac_pwd ;;
1283 [\\/]* | ?:[\\/]* ) # Absolute name.
1284 ac_srcdir=$srcdir$ac_dir_suffix;
1285 ac_top_srcdir=$srcdir
1286 ac_abs_top_srcdir=$srcdir ;;
1287 *) # Relative name.
1288 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1289 ac_top_srcdir=$ac_top_build_prefix$srcdir
1290 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1291 esac
1292 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1293
1294 cd "$ac_dir" || { ac_status=$?; continue; }
1295 # Check for guested configure.
1296 if test -f "$ac_srcdir/configure.gnu"; then
1297 echo &&
1298 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1299 elif test -f "$ac_srcdir/configure"; then
1300 echo &&
1301 $SHELL "$ac_srcdir/configure" --help=recursive
1302 else
1303 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1304 fi || ac_status=$?
1305 cd "$ac_pwd" || { ac_status=$?; break; }
1306 done
1307 fi
1308
1309 test -n "$ac_init_help" && exit $ac_status
1310 if $ac_init_version; then
1311 cat <<\_ACEOF
1312 configure
1313 generated by GNU Autoconf 2.69
1314
1315 Copyright (C) 2012 Free Software Foundation, Inc.
1316 This configure script is free software; the Free Software Foundation
1317 gives unlimited permission to copy, distribute and modify it.
1318 _ACEOF
1319 exit
1320 fi
1321
1322 ## ------------------------ ##
1323 ## Autoconf initialization. ##
1324 ## ------------------------ ##
1325 cat >config.log <<_ACEOF
1326 This file contains any messages produced by compilers while
1327 running configure, to aid debugging if configure makes a mistake.
1328
1329 It was created by $as_me, which was
1330 generated by GNU Autoconf 2.69. Invocation command line was
1331
1332 $ $0 $@
1333
1334 _ACEOF
1335 exec 5>>config.log
1336 {
1337 cat <<_ASUNAME
1338 ## --------- ##
1339 ## Platform. ##
1340 ## --------- ##
1341
1342 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1343 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1344 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1345 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1346 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1347
1348 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1349 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1350
1351 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1352 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1353 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1354 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1355 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1356 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1357 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1358
1359 _ASUNAME
1360
1361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1362 for as_dir in $PATH
1363 do
1364 IFS=$as_save_IFS
1365 test -z "$as_dir" && as_dir=.
1366 $as_echo "PATH: $as_dir"
1367 done
1368 IFS=$as_save_IFS
1369
1370 } >&5
1371
1372 cat >&5 <<_ACEOF
1373
1374
1375 ## ----------- ##
1376 ## Core tests. ##
1377 ## ----------- ##
1378
1379 _ACEOF
1380
1381
1382 # Keep a trace of the command line.
1383 # Strip out --no-create and --no-recursion so they do not pile up.
1384 # Strip out --silent because we don't want to record it for future runs.
1385 # Also quote any args containing shell meta-characters.
1386 # Make two passes to allow for proper duplicate-argument suppression.
1387 ac_configure_args=
1388 ac_configure_args0=
1389 ac_configure_args1=
1390 ac_must_keep_next=false
1391 for ac_pass in 1 2
1392 do
1393 for ac_arg
1394 do
1395 case $ac_arg in
1396 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1397 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1398 | -silent | --silent | --silen | --sile | --sil)
1399 continue ;;
1400 *\'*)
1401 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1402 esac
1403 case $ac_pass in
1404 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1405 2)
1406 as_fn_append ac_configure_args1 " '$ac_arg'"
1407 if test $ac_must_keep_next = true; then
1408 ac_must_keep_next=false # Got value, back to normal.
1409 else
1410 case $ac_arg in
1411 *=* | --config-cache | -C | -disable-* | --disable-* \
1412 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1413 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1414 | -with-* | --with-* | -without-* | --without-* | --x)
1415 case "$ac_configure_args0 " in
1416 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1417 esac
1418 ;;
1419 -* ) ac_must_keep_next=true ;;
1420 esac
1421 fi
1422 as_fn_append ac_configure_args " '$ac_arg'"
1423 ;;
1424 esac
1425 done
1426 done
1427 { ac_configure_args0=; unset ac_configure_args0;}
1428 { ac_configure_args1=; unset ac_configure_args1;}
1429
1430 # When interrupted or exit'd, cleanup temporary files, and complete
1431 # config.log. We remove comments because anyway the quotes in there
1432 # would cause problems or look ugly.
1433 # WARNING: Use '\'' to represent an apostrophe within the trap.
1434 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1435 trap 'exit_status=$?
1436 # Save into config.log some information that might help in debugging.
1437 {
1438 echo
1439
1440 $as_echo "## ---------------- ##
1441 ## Cache variables. ##
1442 ## ---------------- ##"
1443 echo
1444 # The following way of writing the cache mishandles newlines in values,
1445 (
1446 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1447 eval ac_val=\$$ac_var
1448 case $ac_val in #(
1449 *${as_nl}*)
1450 case $ac_var in #(
1451 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1452 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1453 esac
1454 case $ac_var in #(
1455 _ | IFS | as_nl) ;; #(
1456 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1457 *) { eval $ac_var=; unset $ac_var;} ;;
1458 esac ;;
1459 esac
1460 done
1461 (set) 2>&1 |
1462 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1463 *${as_nl}ac_space=\ *)
1464 sed -n \
1465 "s/'\''/'\''\\\\'\'''\''/g;
1466 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1467 ;; #(
1468 *)
1469 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1470 ;;
1471 esac |
1472 sort
1473 )
1474 echo
1475
1476 $as_echo "## ----------------- ##
1477 ## Output variables. ##
1478 ## ----------------- ##"
1479 echo
1480 for ac_var in $ac_subst_vars
1481 do
1482 eval ac_val=\$$ac_var
1483 case $ac_val in
1484 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1485 esac
1486 $as_echo "$ac_var='\''$ac_val'\''"
1487 done | sort
1488 echo
1489
1490 if test -n "$ac_subst_files"; then
1491 $as_echo "## ------------------- ##
1492 ## File substitutions. ##
1493 ## ------------------- ##"
1494 echo
1495 for ac_var in $ac_subst_files
1496 do
1497 eval ac_val=\$$ac_var
1498 case $ac_val in
1499 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1500 esac
1501 $as_echo "$ac_var='\''$ac_val'\''"
1502 done | sort
1503 echo
1504 fi
1505
1506 if test -s confdefs.h; then
1507 $as_echo "## ----------- ##
1508 ## confdefs.h. ##
1509 ## ----------- ##"
1510 echo
1511 cat confdefs.h
1512 echo
1513 fi
1514 test "$ac_signal" != 0 &&
1515 $as_echo "$as_me: caught signal $ac_signal"
1516 $as_echo "$as_me: exit $exit_status"
1517 } >&5
1518 rm -f core *.core core.conftest.* &&
1519 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1520 exit $exit_status
1521 ' 0
1522 for ac_signal in 1 2 13 15; do
1523 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1524 done
1525 ac_signal=0
1526
1527 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1528 rm -f -r conftest* confdefs.h
1529
1530 $as_echo "/* confdefs.h */" > confdefs.h
1531
1532 # Predefined preprocessor variables.
1533
1534 cat >>confdefs.h <<_ACEOF
1535 #define PACKAGE_NAME "$PACKAGE_NAME"
1536 _ACEOF
1537
1538 cat >>confdefs.h <<_ACEOF
1539 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1540 _ACEOF
1541
1542 cat >>confdefs.h <<_ACEOF
1543 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1544 _ACEOF
1545
1546 cat >>confdefs.h <<_ACEOF
1547 #define PACKAGE_STRING "$PACKAGE_STRING"
1548 _ACEOF
1549
1550 cat >>confdefs.h <<_ACEOF
1551 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1552 _ACEOF
1553
1554 cat >>confdefs.h <<_ACEOF
1555 #define PACKAGE_URL "$PACKAGE_URL"
1556 _ACEOF
1557
1558
1559 # Let the site file select an alternate cache file if it wants to.
1560 # Prefer an explicitly selected file to automatically selected ones.
1561 ac_site_file1=NONE
1562 ac_site_file2=NONE
1563 if test -n "$CONFIG_SITE"; then
1564 # We do not want a PATH search for config.site.
1565 case $CONFIG_SITE in #((
1566 -*) ac_site_file1=./$CONFIG_SITE;;
1567 */*) ac_site_file1=$CONFIG_SITE;;
1568 *) ac_site_file1=./$CONFIG_SITE;;
1569 esac
1570 elif test "x$prefix" != xNONE; then
1571 ac_site_file1=$prefix/share/config.site
1572 ac_site_file2=$prefix/etc/config.site
1573 else
1574 ac_site_file1=$ac_default_prefix/share/config.site
1575 ac_site_file2=$ac_default_prefix/etc/config.site
1576 fi
1577 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1578 do
1579 test "x$ac_site_file" = xNONE && continue
1580 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1581 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1582 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1583 sed 's/^/| /' "$ac_site_file" >&5
1584 . "$ac_site_file" \
1585 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1586 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1587 as_fn_error $? "failed to load site script $ac_site_file
1588 See \`config.log' for more details" "$LINENO" 5; }
1589 fi
1590 done
1591
1592 if test -r "$cache_file"; then
1593 # Some versions of bash will fail to source /dev/null (special files
1594 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1595 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1596 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1597 $as_echo "$as_me: loading cache $cache_file" >&6;}
1598 case $cache_file in
1599 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1600 *) . "./$cache_file";;
1601 esac
1602 fi
1603 else
1604 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1605 $as_echo "$as_me: creating cache $cache_file" >&6;}
1606 >$cache_file
1607 fi
1608
1609 # Check that the precious variables saved in the cache have kept the same
1610 # value.
1611 ac_cache_corrupted=false
1612 for ac_var in $ac_precious_vars; do
1613 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1614 eval ac_new_set=\$ac_env_${ac_var}_set
1615 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1616 eval ac_new_val=\$ac_env_${ac_var}_value
1617 case $ac_old_set,$ac_new_set in
1618 set,)
1619 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1620 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1621 ac_cache_corrupted=: ;;
1622 ,set)
1623 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1624 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1625 ac_cache_corrupted=: ;;
1626 ,);;
1627 *)
1628 if test "x$ac_old_val" != "x$ac_new_val"; then
1629 # differences in whitespace do not lead to failure.
1630 ac_old_val_w=`echo x $ac_old_val`
1631 ac_new_val_w=`echo x $ac_new_val`
1632 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1633 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1634 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1635 ac_cache_corrupted=:
1636 else
1637 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1638 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1639 eval $ac_var=\$ac_old_val
1640 fi
1641 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1642 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1643 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1644 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1645 fi;;
1646 esac
1647 # Pass precious variables to config.status.
1648 if test "$ac_new_set" = set; then
1649 case $ac_new_val in
1650 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1651 *) ac_arg=$ac_var=$ac_new_val ;;
1652 esac
1653 case " $ac_configure_args " in
1654 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1655 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1656 esac
1657 fi
1658 done
1659 if $ac_cache_corrupted; then
1660 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1661 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1662 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1663 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1664 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1665 fi
1666 ## -------------------- ##
1667 ## Main body of script. ##
1668 ## -------------------- ##
1669
1670 ac_ext=c
1671 ac_cpp='$CPP $CPPFLAGS'
1672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1675
1676
1677 for ac_prog in gawk mawk nawk awk
1678 do
1679 # Extract the first word of "$ac_prog", so it can be a program name with args.
1680 set dummy $ac_prog; ac_word=$2
1681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1682 $as_echo_n "checking for $ac_word... " >&6; }
1683 if ${ac_cv_prog_AWK+:} false; then :
1684 $as_echo_n "(cached) " >&6
1685 else
1686 if test -n "$AWK"; then
1687 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1688 else
1689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1690 for as_dir in $PATH
1691 do
1692 IFS=$as_save_IFS
1693 test -z "$as_dir" && as_dir=.
1694 for ac_exec_ext in '' $ac_executable_extensions; do
1695 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1696 ac_cv_prog_AWK="$ac_prog"
1697 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1698 break 2
1699 fi
1700 done
1701 done
1702 IFS=$as_save_IFS
1703
1704 fi
1705 fi
1706 AWK=$ac_cv_prog_AWK
1707 if test -n "$AWK"; then
1708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
1709 $as_echo "$AWK" >&6; }
1710 else
1711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1712 $as_echo "no" >&6; }
1713 fi
1714
1715
1716 test -n "$AWK" && break
1717 done
1718
1719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
1720 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
1721 if ${ac_cv_path_GREP+:} false; then :
1722 $as_echo_n "(cached) " >&6
1723 else
1724 if test -z "$GREP"; then
1725 ac_path_GREP_found=false
1726 # Loop through the user's path and test for each of PROGNAME-LIST
1727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1728 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
1729 do
1730 IFS=$as_save_IFS
1731 test -z "$as_dir" && as_dir=.
1732 for ac_prog in grep ggrep; do
1733 for ac_exec_ext in '' $ac_executable_extensions; do
1734 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
1735 as_fn_executable_p "$ac_path_GREP" || continue
1736 # Check for GNU ac_path_GREP and select it if it is found.
1737 # Check for GNU $ac_path_GREP
1738 case `"$ac_path_GREP" --version 2>&1` in
1739 *GNU*)
1740 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
1741 *)
1742 ac_count=0
1743 $as_echo_n 0123456789 >"conftest.in"
1744 while :
1745 do
1746 cat "conftest.in" "conftest.in" >"conftest.tmp"
1747 mv "conftest.tmp" "conftest.in"
1748 cp "conftest.in" "conftest.nl"
1749 $as_echo 'GREP' >> "conftest.nl"
1750 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
1751 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
1752 as_fn_arith $ac_count + 1 && ac_count=$as_val
1753 if test $ac_count -gt ${ac_path_GREP_max-0}; then
1754 # Best one so far, save it but keep looking for a better one
1755 ac_cv_path_GREP="$ac_path_GREP"
1756 ac_path_GREP_max=$ac_count
1757 fi
1758 # 10*(2^10) chars as input seems more than enough
1759 test $ac_count -gt 10 && break
1760 done
1761 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
1762 esac
1763
1764 $ac_path_GREP_found && break 3
1765 done
1766 done
1767 done
1768 IFS=$as_save_IFS
1769 if test -z "$ac_cv_path_GREP"; then
1770 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
1771 fi
1772 else
1773 ac_cv_path_GREP=$GREP
1774 fi
1775
1776 fi
1777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
1778 $as_echo "$ac_cv_path_GREP" >&6; }
1779 GREP="$ac_cv_path_GREP"
1780
1781
1782 ac_aux_dir=
1783 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1784 if test -f "$ac_dir/install-sh"; then
1785 ac_aux_dir=$ac_dir
1786 ac_install_sh="$ac_aux_dir/install-sh -c"
1787 break
1788 elif test -f "$ac_dir/install.sh"; then
1789 ac_aux_dir=$ac_dir
1790 ac_install_sh="$ac_aux_dir/install.sh -c"
1791 break
1792 elif test -f "$ac_dir/shtool"; then
1793 ac_aux_dir=$ac_dir
1794 ac_install_sh="$ac_aux_dir/shtool install -c"
1795 break
1796 fi
1797 done
1798 if test -z "$ac_aux_dir"; then
1799 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1800 fi
1801
1802 # These three variables are undocumented and unsupported,
1803 # and are intended to be withdrawn in a future Autoconf release.
1804 # They can cause serious problems if a builder's source tree is in a directory
1805 # whose full name contains unusual characters.
1806 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1807 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1808 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1809
1810
1811 # Find a good install program. We prefer a C program (faster),
1812 # so one script is as good as another. But avoid the broken or
1813 # incompatible versions:
1814 # SysV /etc/install, /usr/sbin/install
1815 # SunOS /usr/etc/install
1816 # IRIX /sbin/install
1817 # AIX /bin/install
1818 # AmigaOS /C/install, which installs bootblocks on floppy discs
1819 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1820 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1821 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1822 # OS/2's system install, which has a completely different semantic
1823 # ./install, which can be erroneously created by make from ./install.sh.
1824 # Reject install programs that cannot install multiple files.
1825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1826 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1827 if test -z "$INSTALL"; then
1828 if ${ac_cv_path_install+:} false; then :
1829 $as_echo_n "(cached) " >&6
1830 else
1831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1832 for as_dir in $PATH
1833 do
1834 IFS=$as_save_IFS
1835 test -z "$as_dir" && as_dir=.
1836 # Account for people who put trailing slashes in PATH elements.
1837 case $as_dir/ in #((
1838 ./ | .// | /[cC]/* | \
1839 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1840 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1841 /usr/ucb/* ) ;;
1842 *)
1843 # OSF1 and SCO ODT 3.0 have their own names for install.
1844 # Don't use installbsd from OSF since it installs stuff as root
1845 # by default.
1846 for ac_prog in ginstall scoinst install; do
1847 for ac_exec_ext in '' $ac_executable_extensions; do
1848 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1849 if test $ac_prog = install &&
1850 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1851 # AIX install. It has an incompatible calling convention.
1852 :
1853 elif test $ac_prog = install &&
1854 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1855 # program-specific install script used by HP pwplus--don't use.
1856 :
1857 else
1858 rm -rf conftest.one conftest.two conftest.dir
1859 echo one > conftest.one
1860 echo two > conftest.two
1861 mkdir conftest.dir
1862 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1863 test -s conftest.one && test -s conftest.two &&
1864 test -s conftest.dir/conftest.one &&
1865 test -s conftest.dir/conftest.two
1866 then
1867 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1868 break 3
1869 fi
1870 fi
1871 fi
1872 done
1873 done
1874 ;;
1875 esac
1876
1877 done
1878 IFS=$as_save_IFS
1879
1880 rm -rf conftest.one conftest.two conftest.dir
1881
1882 fi
1883 if test "${ac_cv_path_install+set}" = set; then
1884 INSTALL=$ac_cv_path_install
1885 else
1886 # As a last resort, use the slow shell script. Don't cache a
1887 # value for INSTALL within a source directory, because that will
1888 # break other packages using the cache if that directory is
1889 # removed, or if the value is a relative name.
1890 INSTALL=$ac_install_sh
1891 fi
1892 fi
1893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1894 $as_echo "$INSTALL" >&6; }
1895
1896 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1897 # It thinks the first close brace ends the variable substitution.
1898 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1899
1900 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1901
1902 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1903
1904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
1905 $as_echo_n "checking whether ln -s works... " >&6; }
1906 LN_S=$as_ln_s
1907 if test "$LN_S" = "ln -s"; then
1908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1909 $as_echo "yes" >&6; }
1910 else
1911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
1912 $as_echo "no, using $LN_S" >&6; }
1913 fi
1914
1915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
1916 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
1917 if test -z "$MKDIR_P"; then
1918 if ${ac_cv_path_mkdir+:} false; then :
1919 $as_echo_n "(cached) " >&6
1920 else
1921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1922 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
1923 do
1924 IFS=$as_save_IFS
1925 test -z "$as_dir" && as_dir=.
1926 for ac_prog in mkdir gmkdir; do
1927 for ac_exec_ext in '' $ac_executable_extensions; do
1928 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
1929 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
1930 'mkdir (GNU coreutils) '* | \
1931 'mkdir (coreutils) '* | \
1932 'mkdir (fileutils) '4.1*)
1933 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
1934 break 3;;
1935 esac
1936 done
1937 done
1938 done
1939 IFS=$as_save_IFS
1940
1941 fi
1942
1943 test -d ./--version && rmdir ./--version
1944 if test "${ac_cv_path_mkdir+set}" = set; then
1945 MKDIR_P="$ac_cv_path_mkdir -p"
1946 else
1947 # As a last resort, use the slow shell script. Don't cache a
1948 # value for MKDIR_P within a source directory, because that will
1949 # break other packages using the cache if that directory is
1950 # removed, or if the value is a relative name.
1951 MKDIR_P="$ac_install_sh -d"
1952 fi
1953 fi
1954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
1955 $as_echo "$MKDIR_P" >&6; }
1956
1957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
1958 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
1959 if ${ac_cv_path_SED+:} false; then :
1960 $as_echo_n "(cached) " >&6
1961 else
1962 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
1963 for ac_i in 1 2 3 4 5 6 7; do
1964 ac_script="$ac_script$as_nl$ac_script"
1965 done
1966 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
1967 { ac_script=; unset ac_script;}
1968 if test -z "$SED"; then
1969 ac_path_SED_found=false
1970 # Loop through the user's path and test for each of PROGNAME-LIST
1971 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1972 for as_dir in $PATH
1973 do
1974 IFS=$as_save_IFS
1975 test -z "$as_dir" && as_dir=.
1976 for ac_prog in sed gsed; do
1977 for ac_exec_ext in '' $ac_executable_extensions; do
1978 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
1979 as_fn_executable_p "$ac_path_SED" || continue
1980 # Check for GNU ac_path_SED and select it if it is found.
1981 # Check for GNU $ac_path_SED
1982 case `"$ac_path_SED" --version 2>&1` in
1983 *GNU*)
1984 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
1985 *)
1986 ac_count=0
1987 $as_echo_n 0123456789 >"conftest.in"
1988 while :
1989 do
1990 cat "conftest.in" "conftest.in" >"conftest.tmp"
1991 mv "conftest.tmp" "conftest.in"
1992 cp "conftest.in" "conftest.nl"
1993 $as_echo '' >> "conftest.nl"
1994 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
1995 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
1996 as_fn_arith $ac_count + 1 && ac_count=$as_val
1997 if test $ac_count -gt ${ac_path_SED_max-0}; then
1998 # Best one so far, save it but keep looking for a better one
1999 ac_cv_path_SED="$ac_path_SED"
2000 ac_path_SED_max=$ac_count
2001 fi
2002 # 10*(2^10) chars as input seems more than enough
2003 test $ac_count -gt 10 && break
2004 done
2005 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2006 esac
2007
2008 $ac_path_SED_found && break 3
2009 done
2010 done
2011 done
2012 IFS=$as_save_IFS
2013 if test -z "$ac_cv_path_SED"; then
2014 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
2015 fi
2016 else
2017 ac_cv_path_SED=$SED
2018 fi
2019
2020 fi
2021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
2022 $as_echo "$ac_cv_path_SED" >&6; }
2023 SED="$ac_cv_path_SED"
2024 rm -f conftest.sed
2025
2026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for id that handles -g, -u and -n" >&5
2027 $as_echo_n "checking for id that handles -g, -u and -n... " >&6; }
2028 if ${ac_cv_path_ID+:} false; then :
2029 $as_echo_n "(cached) " >&6
2030 else
2031 ac_cv_path_ID=no
2032 for ac_cv_path_ID_v in id /usr/xpg4/bin/id 'command -p id'; do
2033 if test "$ac_cv_path_ID" = "no"; then
2034 ( $ac_cv_path_ID_v -g && $ac_cv_path_ID_v -g -n && $ac_cv_path_ID_v -u && $ac_cv_path_ID_v -u -n ) 2> /dev/null 1> /dev/null && ac_cv_path_ID="$ac_cv_path_ID_v"
2035 fi
2036 done;
2037 fi
2038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_ID" >&5
2039 $as_echo "$ac_cv_path_ID" >&6; }
2040 ID="$ac_cv_path_ID"
2041
2042
2043 SYSTEMOWN=root
2044 SYSTEMGRP=$($ID -gn $SYSTEMOWN)
2045 #
2046 # Check for GraphicsMagick
2047 #
2048 # Extract the first word of "gm", so it can be a program name with args.
2049 set dummy gm; ac_word=$2
2050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2051 $as_echo_n "checking for $ac_word... " >&6; }
2052 if ${ac_cv_prog_has_gm+:} false; then :
2053 $as_echo_n "(cached) " >&6
2054 else
2055 if test -n "$has_gm"; then
2056 ac_cv_prog_has_gm="$has_gm" # Let the user override the test.
2057 else
2058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2059 for as_dir in $PATH
2060 do
2061 IFS=$as_save_IFS
2062 test -z "$as_dir" && as_dir=.
2063 for ac_exec_ext in '' $ac_executable_extensions; do
2064 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2065 ac_cv_prog_has_gm="yes"
2066 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2067 break 2
2068 fi
2069 done
2070 done
2071 IFS=$as_save_IFS
2072
2073 test -z "$ac_cv_prog_has_gm" && ac_cv_prog_has_gm="no"
2074 fi
2075 fi
2076 has_gm=$ac_cv_prog_has_gm
2077 if test -n "$has_gm"; then
2078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_gm" >&5
2079 $as_echo "$has_gm" >&6; }
2080 else
2081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2082 $as_echo "no" >&6; }
2083 fi
2084
2085
2086 if test "x$has_gm" = 'xno'; then
2087 as_fn_error $? "*** GraphicsMagick not found." "$LINENO" 5
2088 fi
2089 #
2090 # Check for BSD Make
2091 #
2092 # Extract the first word of "bmake", so it can be a program name with args.
2093 set dummy bmake; ac_word=$2
2094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2095 $as_echo_n "checking for $ac_word... " >&6; }
2096 if ${ac_cv_prog_has_bmake+:} false; then :
2097 $as_echo_n "(cached) " >&6
2098 else
2099 if test -n "$has_bmake"; then
2100 ac_cv_prog_has_bmake="$has_bmake" # Let the user override the test.
2101 else
2102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2103 for as_dir in $PATH
2104 do
2105 IFS=$as_save_IFS
2106 test -z "$as_dir" && as_dir=.
2107 for ac_exec_ext in '' $ac_executable_extensions; do
2108 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2109 ac_cv_prog_has_bmake="yes"
2110 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2111 break 2
2112 fi
2113 done
2114 done
2115 IFS=$as_save_IFS
2116
2117 test -z "$ac_cv_prog_has_bmake" && ac_cv_prog_has_bmake="no"
2118 fi
2119 fi
2120 has_bmake=$ac_cv_prog_has_bmake
2121 if test -n "$has_bmake"; then
2122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_bmake" >&5
2123 $as_echo "$has_bmake" >&6; }
2124 else
2125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2126 $as_echo "no" >&6; }
2127 fi
2128
2129
2130 if test "x$has_bmake" = 'xno' && test \! $(uname) = 'FreeBSD'; then
2131 as_fn_error $? "*** BSD Make not found." "$LINENO" 5
2132 fi
2133 #
2134 # Determine compression tools
2135 #
2136 printf 'checking whether tar -z works... '
2137 if tar czf /dev/null /dev/null >/dev/null 2>&1; then
2138 USE_GZIP=yes
2139 else
2140 USE_GZIP=no
2141 fi
2142 printf '%s\n' "$USE_GZIP"
2143 printf 'checking whether tar -j works... '
2144 if tar cjf /dev/null /dev/null >/dev/null 2>&1; then
2145 USE_BZIP2=yes
2146 else
2147 USE_BZIP2=no
2148 fi
2149 printf '%s\n' "$USE_BZIP2"
2150 printf 'checking whether tar -J works... '
2151 if tar cJf /dev/null /dev/null >/dev/null 2>&1; then
2152 USE_XZ=yes
2153 else
2154 USE_XZ=no
2155 fi
2156 printf '%s\n' "$USE_XZ"
2157 if test "${USE_XZ}" = "yes"; then
2158 USE_BZIP2="no"
2159 fi
2160 COMPRESS=""
2161 if test "${USE_GZIP}" = "yes"; then
2162 COMPRESS="${COMPRESS}${COMPRESS:+ }gzip"
2163 fi
2164 if test "${USE_BZIP2}" = "yes"; then
2165 COMPRESS="${COMPRESS}${COMPRESS:+ }bzip2"
2166 fi
2167 if test "${USE_XZ}" = "yes"; then
2168 COMPRESS="${COMPRESS}${COMPRESS:+ }xz"
2169 fi
2170
2171
2172
2173 ac_config_files="$ac_config_files Makefile"
2174
2175 cat >confcache <<\_ACEOF
2176 # This file is a shell script that caches the results of configure
2177 # tests run on this system so they can be shared between configure
2178 # scripts and configure runs, see configure's option --config-cache.
2179 # It is not useful on other systems. If it contains results you don't
2180 # want to keep, you may remove or edit it.
2181 #
2182 # config.status only pays attention to the cache file if you give it
2183 # the --recheck option to rerun configure.
2184 #
2185 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2186 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2187 # following values.
2188
2189 _ACEOF
2190
2191 # The following way of writing the cache mishandles newlines in values,
2192 # but we know of no workaround that is simple, portable, and efficient.
2193 # So, we kill variables containing newlines.
2194 # Ultrix sh set writes to stderr and can't be redirected directly,
2195 # and sets the high bit in the cache file unless we assign to the vars.
2196 (
2197 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2198 eval ac_val=\$$ac_var
2199 case $ac_val in #(
2200 *${as_nl}*)
2201 case $ac_var in #(
2202 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2203 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2204 esac
2205 case $ac_var in #(
2206 _ | IFS | as_nl) ;; #(
2207 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2208 *) { eval $ac_var=; unset $ac_var;} ;;
2209 esac ;;
2210 esac
2211 done
2212
2213 (set) 2>&1 |
2214 case $as_nl`(ac_space=' '; set) 2>&1` in #(
2215 *${as_nl}ac_space=\ *)
2216 # `set' does not quote correctly, so add quotes: double-quote
2217 # substitution turns \\\\ into \\, and sed turns \\ into \.
2218 sed -n \
2219 "s/'/'\\\\''/g;
2220 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2221 ;; #(
2222 *)
2223 # `set' quotes correctly as required by POSIX, so do not add quotes.
2224 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2225 ;;
2226 esac |
2227 sort
2228 ) |
2229 sed '
2230 /^ac_cv_env_/b end
2231 t clear
2232 :clear
2233 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2234 t end
2235 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2236 :end' >>confcache
2237 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2238 if test -w "$cache_file"; then
2239 if test "x$cache_file" != "x/dev/null"; then
2240 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
2241 $as_echo "$as_me: updating cache $cache_file" >&6;}
2242 if test ! -f "$cache_file" || test -h "$cache_file"; then
2243 cat confcache >"$cache_file"
2244 else
2245 case $cache_file in #(
2246 */* | ?:*)
2247 mv -f confcache "$cache_file"$$ &&
2248 mv -f "$cache_file"$$ "$cache_file" ;; #(
2249 *)
2250 mv -f confcache "$cache_file" ;;
2251 esac
2252 fi
2253 fi
2254 else
2255 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
2256 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2257 fi
2258 fi
2259 rm -f confcache
2260
2261 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2262 # Let make expand exec_prefix.
2263 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2264
2265 # Transform confdefs.h into DEFS.
2266 # Protect against shell expansion while executing Makefile rules.
2267 # Protect against Makefile macro expansion.
2268 #
2269 # If the first sed substitution is executed (which looks for macros that
2270 # take arguments), then branch to the quote section. Otherwise,
2271 # look for a macro that doesn't take arguments.
2272 ac_script='
2273 :mline
2274 /\\$/{
2275 N
2276 s,\\\n,,
2277 b mline
2278 }
2279 t clear
2280 :clear
2281 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
2282 t quote
2283 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
2284 t quote
2285 b any
2286 :quote
2287 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2288 s/\[/\\&/g
2289 s/\]/\\&/g
2290 s/\$/$$/g
2291 H
2292 :any
2293 ${
2294 g
2295 s/^\n//
2296 s/\n/ /g
2297 p
2298 }
2299 '
2300 DEFS=`sed -n "$ac_script" confdefs.h`
2301
2302
2303 ac_libobjs=
2304 ac_ltlibobjs=
2305 U=
2306 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2307 # 1. Remove the extension, and $U if already installed.
2308 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2309 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
2310 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
2311 # will be set to the directory where LIBOBJS objects are built.
2312 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2313 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
2314 done
2315 LIBOBJS=$ac_libobjs
2316
2317 LTLIBOBJS=$ac_ltlibobjs
2318
2319
2320
2321 : "${CONFIG_STATUS=./config.status}"
2322 ac_write_fail=0
2323 ac_clean_files_save=$ac_clean_files
2324 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2325 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
2326 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
2327 as_write_fail=0
2328 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
2329 #! $SHELL
2330 # Generated by $as_me.
2331 # Run this file to recreate the current configuration.
2332 # Compiler output produced by configure, useful for debugging
2333 # configure, is in config.log if it exists.
2334
2335 debug=false
2336 ac_cs_recheck=false
2337 ac_cs_silent=false
2338
2339 SHELL=\${CONFIG_SHELL-$SHELL}
2340 export SHELL
2341 _ASEOF
2342 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
2343 ## -------------------- ##
2344 ## M4sh Initialization. ##
2345 ## -------------------- ##
2346
2347 # Be more Bourne compatible
2348 DUALCASE=1; export DUALCASE # for MKS sh
2349 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
2350 emulate sh
2351 NULLCMD=:
2352 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2353 # is contrary to our usage. Disable this feature.
2354 alias -g '${1+"$@"}'='"$@"'
2355 setopt NO_GLOB_SUBST
2356 else
2357 case `(set -o) 2>/dev/null` in #(
2358 *posix*) :
2359 set -o posix ;; #(
2360 *) :
2361 ;;
2362 esac
2363 fi
2364
2365
2366 as_nl='
2367 '
2368 export as_nl
2369 # Printing a long string crashes Solaris 7 /usr/bin/printf.
2370 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2371 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
2372 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
2373 # Prefer a ksh shell builtin over an external printf program on Solaris,
2374 # but without wasting forks for bash or zsh.
2375 if test -z "$BASH_VERSION$ZSH_VERSION" \
2376 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
2377 as_echo='print -r --'
2378 as_echo_n='print -rn --'
2379 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
2380 as_echo='printf %s\n'
2381 as_echo_n='printf %s'
2382 else
2383 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
2384 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
2385 as_echo_n='/usr/ucb/echo -n'
2386 else
2387 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
2388 as_echo_n_body='eval
2389 arg=$1;
2390 case $arg in #(
2391 *"$as_nl"*)
2392 expr "X$arg" : "X\\(.*\\)$as_nl";
2393 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
2394 esac;
2395 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
2396 '
2397 export as_echo_n_body
2398 as_echo_n='sh -c $as_echo_n_body as_echo'
2399 fi
2400 export as_echo_body
2401 as_echo='sh -c $as_echo_body as_echo'
2402 fi
2403
2404 # The user is always right.
2405 if test "${PATH_SEPARATOR+set}" != set; then
2406 PATH_SEPARATOR=:
2407 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
2408 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
2409 PATH_SEPARATOR=';'
2410 }
2411 fi
2412
2413
2414 # IFS
2415 # We need space, tab and new line, in precisely that order. Quoting is
2416 # there to prevent editors from complaining about space-tab.
2417 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
2418 # splitting by setting IFS to empty value.)
2419 IFS=" "" $as_nl"
2420
2421 # Find who we are. Look in the path if we contain no directory separator.
2422 as_myself=
2423 case $0 in #((
2424 *[\\/]* ) as_myself=$0 ;;
2425 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2426 for as_dir in $PATH
2427 do
2428 IFS=$as_save_IFS
2429 test -z "$as_dir" && as_dir=.
2430 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2431 done
2432 IFS=$as_save_IFS
2433
2434 ;;
2435 esac
2436 # We did not find ourselves, most probably we were run as `sh COMMAND'
2437 # in which case we are not to be found in the path.
2438 if test "x$as_myself" = x; then
2439 as_myself=$0
2440 fi
2441 if test ! -f "$as_myself"; then
2442 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2443 exit 1
2444 fi
2445
2446 # Unset variables that we do not need and which cause bugs (e.g. in
2447 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
2448 # suppresses any "Segmentation fault" message there. '((' could
2449 # trigger a bug in pdksh 5.2.14.
2450 for as_var in BASH_ENV ENV MAIL MAILPATH
2451 do eval test x\${$as_var+set} = xset \
2452 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
2453 done
2454 PS1='$ '
2455 PS2='> '
2456 PS4='+ '
2457
2458 # NLS nuisances.
2459 LC_ALL=C
2460 export LC_ALL
2461 LANGUAGE=C
2462 export LANGUAGE
2463
2464 # CDPATH.
2465 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
2466
2467
2468 # as_fn_error STATUS ERROR [LINENO LOG_FD]
2469 # ----------------------------------------
2470 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
2471 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
2472 # script with STATUS, using 1 if that was 0.
2473 as_fn_error ()
2474 {
2475 as_status=$1; test $as_status -eq 0 && as_status=1
2476 if test "$4"; then
2477 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2478 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
2479 fi
2480 $as_echo "$as_me: error: $2" >&2
2481 as_fn_exit $as_status
2482 } # as_fn_error
2483
2484
2485 # as_fn_set_status STATUS
2486 # -----------------------
2487 # Set $? to STATUS, without forking.
2488 as_fn_set_status ()
2489 {
2490 return $1
2491 } # as_fn_set_status
2492
2493 # as_fn_exit STATUS
2494 # -----------------
2495 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
2496 as_fn_exit ()
2497 {
2498 set +e
2499 as_fn_set_status $1
2500 exit $1
2501 } # as_fn_exit
2502
2503 # as_fn_unset VAR
2504 # ---------------
2505 # Portably unset VAR.
2506 as_fn_unset ()
2507 {
2508 { eval $1=; unset $1;}
2509 }
2510 as_unset=as_fn_unset
2511 # as_fn_append VAR VALUE
2512 # ----------------------
2513 # Append the text in VALUE to the end of the definition contained in VAR. Take
2514 # advantage of any shell optimizations that allow amortized linear growth over
2515 # repeated appends, instead of the typical quadratic growth present in naive
2516 # implementations.
2517 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
2518 eval 'as_fn_append ()
2519 {
2520 eval $1+=\$2
2521 }'
2522 else
2523 as_fn_append ()
2524 {
2525 eval $1=\$$1\$2
2526 }
2527 fi # as_fn_append
2528
2529 # as_fn_arith ARG...
2530 # ------------------
2531 # Perform arithmetic evaluation on the ARGs, and store the result in the
2532 # global $as_val. Take advantage of shells that can avoid forks. The arguments
2533 # must be portable across $(()) and expr.
2534 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
2535 eval 'as_fn_arith ()
2536 {
2537 as_val=$(( $* ))
2538 }'
2539 else
2540 as_fn_arith ()
2541 {
2542 as_val=`expr "$@" || test $? -eq 1`
2543 }
2544 fi # as_fn_arith
2545
2546
2547 if expr a : '\(a\)' >/dev/null 2>&1 &&
2548 test "X`expr 00001 : '.*\(...\)'`" = X001; then
2549 as_expr=expr
2550 else
2551 as_expr=false
2552 fi
2553
2554 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2555 as_basename=basename
2556 else
2557 as_basename=false
2558 fi
2559
2560 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2561 as_dirname=dirname
2562 else
2563 as_dirname=false
2564 fi
2565
2566 as_me=`$as_basename -- "$0" ||
2567 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2568 X"$0" : 'X\(//\)$' \| \
2569 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2570 $as_echo X/"$0" |
2571 sed '/^.*\/\([^/][^/]*\)\/*$/{
2572 s//\1/
2573 q
2574 }
2575 /^X\/\(\/\/\)$/{
2576 s//\1/
2577 q
2578 }
2579 /^X\/\(\/\).*/{
2580 s//\1/
2581 q
2582 }
2583 s/.*/./; q'`
2584
2585 # Avoid depending upon Character Ranges.
2586 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2587 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2588 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2589 as_cr_digits='0123456789'
2590 as_cr_alnum=$as_cr_Letters$as_cr_digits
2591
2592 ECHO_C= ECHO_N= ECHO_T=
2593 case `echo -n x` in #(((((
2594 -n*)
2595 case `echo 'xy\c'` in
2596 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
2597 xy) ECHO_C='\c';;
2598 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
2599 ECHO_T=' ';;
2600 esac;;
2601 *)
2602 ECHO_N='-n';;
2603 esac
2604
2605 rm -f conf$$ conf$$.exe conf$$.file
2606 if test -d conf$$.dir; then
2607 rm -f conf$$.dir/conf$$.file
2608 else
2609 rm -f conf$$.dir
2610 mkdir conf$$.dir 2>/dev/null
2611 fi
2612 if (echo >conf$$.file) 2>/dev/null; then
2613 if ln -s conf$$.file conf$$ 2>/dev/null; then
2614 as_ln_s='ln -s'
2615 # ... but there are two gotchas:
2616 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
2617 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
2618 # In both cases, we have to default to `cp -pR'.
2619 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
2620 as_ln_s='cp -pR'
2621 elif ln conf$$.file conf$$ 2>/dev/null; then
2622 as_ln_s=ln
2623 else
2624 as_ln_s='cp -pR'
2625 fi
2626 else
2627 as_ln_s='cp -pR'
2628 fi
2629 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2630 rmdir conf$$.dir 2>/dev/null
2631
2632
2633 # as_fn_mkdir_p
2634 # -------------
2635 # Create "$as_dir" as a directory, including parents if necessary.
2636 as_fn_mkdir_p ()
2637 {
2638
2639 case $as_dir in #(
2640 -*) as_dir=./$as_dir;;
2641 esac
2642 test -d "$as_dir" || eval $as_mkdir_p || {
2643 as_dirs=
2644 while :; do
2645 case $as_dir in #(
2646 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
2647 *) as_qdir=$as_dir;;
2648 esac
2649 as_dirs="'$as_qdir' $as_dirs"
2650 as_dir=`$as_dirname -- "$as_dir" ||
2651 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2652 X"$as_dir" : 'X\(//\)[^/]' \| \
2653 X"$as_dir" : 'X\(//\)$' \| \
2654 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
2655 $as_echo X"$as_dir" |
2656 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2657 s//\1/
2658 q
2659 }
2660 /^X\(\/\/\)[^/].*/{
2661 s//\1/
2662 q
2663 }
2664 /^X\(\/\/\)$/{
2665 s//\1/
2666 q
2667 }
2668 /^X\(\/\).*/{
2669 s//\1/
2670 q
2671 }
2672 s/.*/./; q'`
2673 test -d "$as_dir" && break
2674 done
2675 test -z "$as_dirs" || eval "mkdir $as_dirs"
2676 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
2677
2678
2679 } # as_fn_mkdir_p
2680 if mkdir -p . 2>/dev/null; then
2681 as_mkdir_p='mkdir -p "$as_dir"'
2682 else
2683 test -d ./-p && rmdir ./-p
2684 as_mkdir_p=false
2685 fi
2686
2687
2688 # as_fn_executable_p FILE
2689 # -----------------------
2690 # Test if FILE is an executable regular file.
2691 as_fn_executable_p ()
2692 {
2693 test -f "$1" && test -x "$1"
2694 } # as_fn_executable_p
2695 as_test_x='test -x'
2696 as_executable_p=as_fn_executable_p
2697
2698 # Sed expression to map a string onto a valid CPP name.
2699 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2700
2701 # Sed expression to map a string onto a valid variable name.
2702 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2703
2704
2705 exec 6>&1
2706 ## ----------------------------------- ##
2707 ## Main body of $CONFIG_STATUS script. ##
2708 ## ----------------------------------- ##
2709 _ASEOF
2710 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
2711
2712 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2713 # Save the log message, to keep $0 and so on meaningful, and to
2714 # report actual input values of CONFIG_FILES etc. instead of their
2715 # values after options handling.
2716 ac_log="
2717 This file was extended by $as_me, which was
2718 generated by GNU Autoconf 2.69. Invocation command line was
2719
2720 CONFIG_FILES = $CONFIG_FILES
2721 CONFIG_HEADERS = $CONFIG_HEADERS
2722 CONFIG_LINKS = $CONFIG_LINKS
2723 CONFIG_COMMANDS = $CONFIG_COMMANDS
2724 $ $0 $@
2725
2726 on `(hostname || uname -n) 2>/dev/null | sed 1q`
2727 "
2728
2729 _ACEOF
2730
2731 case $ac_config_files in *"
2732 "*) set x $ac_config_files; shift; ac_config_files=$*;;
2733 esac
2734
2735
2736
2737 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2738 # Files that config.status was made for.
2739 config_files="$ac_config_files"
2740
2741 _ACEOF
2742
2743 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2744 ac_cs_usage="\
2745 \`$as_me' instantiates files and other configuration actions
2746 from templates according to the current configuration. Unless the files
2747 and actions are specified as TAGs, all are instantiated by default.
2748
2749 Usage: $0 [OPTION]... [TAG]...
2750
2751 -h, --help print this help, then exit
2752 -V, --version print version number and configuration settings, then exit
2753 --config print configuration, then exit
2754 -q, --quiet, --silent
2755 do not print progress messages
2756 -d, --debug don't remove temporary files
2757 --recheck update $as_me by reconfiguring in the same conditions
2758 --file=FILE[:TEMPLATE]
2759 instantiate the configuration file FILE
2760
2761 Configuration files:
2762 $config_files
2763
2764 Report bugs to the package provider."
2765
2766 _ACEOF
2767 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2768 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
2769 ac_cs_version="\\
2770 config.status
2771 configured by $0, generated by GNU Autoconf 2.69,
2772 with options \\"\$ac_cs_config\\"
2773
2774 Copyright (C) 2012 Free Software Foundation, Inc.
2775 This config.status script is free software; the Free Software Foundation
2776 gives unlimited permission to copy, distribute and modify it."
2777
2778 ac_pwd='$ac_pwd'
2779 srcdir='$srcdir'
2780 INSTALL='$INSTALL'
2781 MKDIR_P='$MKDIR_P'
2782 AWK='$AWK'
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
2885 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
2886 esac
2887 done
2888
2889
2890 # If the user did not use the arguments to specify the items to instantiate,
2891 # then the envvar interface is used. Set only those that are not.
2892 # We use the long form for the default assignment because of an extremely
2893 # bizarre bug on SunOS 4.1.3.
2894 if $ac_need_defaults; then
2895 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
2896 fi
2897
2898 # Have a temporary directory for convenience. Make it in the build tree
2899 # simply because there is no reason against having it here, and in addition,
2900 # creating and moving files from /tmp can sometimes cause problems.
2901 # Hook for its removal unless debugging.
2902 # Note that there is a small window in which the directory will not be cleaned:
2903 # after its creation but before its name has been assigned to `$tmp'.
2904 $debug ||
2905 {
2906 tmp= ac_tmp=
2907 trap 'exit_status=$?
2908 : "${ac_tmp:=$tmp}"
2909 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
2910 ' 0
2911 trap 'as_fn_exit 1' 1 2 13 15
2912 }
2913 # Create a (secure) tmp directory for tmp files.
2914
2915 {
2916 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
2917 test -d "$tmp"
2918 } ||
2919 {
2920 tmp=./conf$$-$RANDOM
2921 (umask 077 && mkdir "$tmp")
2922 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
2923 ac_tmp=$tmp
2924
2925 # Set up the scripts for CONFIG_FILES section.
2926 # No need to generate them if there are no CONFIG_FILES.
2927 # This happens for instance with `./config.status config.h'.
2928 if test -n "$CONFIG_FILES"; then
2929
2930
2931 ac_cr=`echo X | tr X '\015'`
2932 # On cygwin, bash can eat \r inside `` if the user requested igncr.
2933 # But we know of no other shell where ac_cr would be empty at this
2934 # point, so we can use a bashism as a fallback.
2935 if test "x$ac_cr" = x; then
2936 eval ac_cr=\$\'\\r\'
2937 fi
2938 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
2939 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
2940 ac_cs_awk_cr='\\r'
2941 else
2942 ac_cs_awk_cr=$ac_cr
2943 fi
2944
2945 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
2946 _ACEOF
2947
2948
2949 {
2950 echo "cat >conf$$subs.awk <<_ACEOF" &&
2951 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
2952 echo "_ACEOF"
2953 } >conf$$subs.sh ||
2954 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
2955 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
2956 ac_delim='%!_!# '
2957 for ac_last_try in false false false false false :; do
2958 . ./conf$$subs.sh ||
2959 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
2960
2961 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
2962 if test $ac_delim_n = $ac_delim_num; then
2963 break
2964 elif $ac_last_try; then
2965 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
2966 else
2967 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
2968 fi
2969 done
2970 rm -f conf$$subs.sh
2971
2972 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2973 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
2974 _ACEOF
2975 sed -n '
2976 h
2977 s/^/S["/; s/!.*/"]=/
2978 p
2979 g
2980 s/^[^!]*!//
2981 :repl
2982 t repl
2983 s/'"$ac_delim"'$//
2984 t delim
2985 :nl
2986 h
2987 s/\(.\{148\}\)..*/\1/
2988 t more1
2989 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
2990 p
2991 n
2992 b repl
2993 :more1
2994 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
2995 p
2996 g
2997 s/.\{148\}//
2998 t nl
2999 :delim
3000 h
3001 s/\(.\{148\}\)..*/\1/
3002 t more2
3003 s/["\\]/\\&/g; s/^/"/; s/$/"/
3004 p
3005 b
3006 :more2
3007 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3008 p
3009 g
3010 s/.\{148\}//
3011 t delim
3012 ' <conf$$subs.awk | sed '
3013 /^[^""]/{
3014 N
3015 s/\n//
3016 }
3017 ' >>$CONFIG_STATUS || ac_write_fail=1
3018 rm -f conf$$subs.awk
3019 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3020 _ACAWK
3021 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
3022 for (key in S) S_is_set[key] = 1
3023 FS = ""
3024
3025 }
3026 {
3027 line = $ 0
3028 nfields = split(line, field, "@")
3029 substed = 0
3030 len = length(field[1])
3031 for (i = 2; i < nfields; i++) {
3032 key = field[i]
3033 keylen = length(key)
3034 if (S_is_set[key]) {
3035 value = S[key]
3036 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3037 len += length(value) + length(field[++i])
3038 substed = 1
3039 } else
3040 len += 1 + keylen
3041 }
3042
3043 print line
3044 }
3045
3046 _ACAWK
3047 _ACEOF
3048 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3049 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
3050 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
3051 else
3052 cat
3053 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
3054 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
3055 _ACEOF
3056
3057 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
3058 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
3059 # trailing colons and then remove the whole line if VPATH becomes empty
3060 # (actually we leave an empty line to preserve line numbers).
3061 if test "x$srcdir" = x.; then
3062 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
3063 h
3064 s///
3065 s/^/:/
3066 s/[ ]*$/:/
3067 s/:\$(srcdir):/:/g
3068 s/:\${srcdir}:/:/g
3069 s/:@srcdir@:/:/g
3070 s/^:*//
3071 s/:*$//
3072 x
3073 s/\(=[ ]*\).*/\1/
3074 G
3075 s/\n//
3076 s/^[^=]*=[ ]*$//
3077 }'
3078 fi
3079
3080 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3081 fi # test -n "$CONFIG_FILES"
3082
3083
3084 eval set X " :F $CONFIG_FILES "
3085 shift
3086 for ac_tag
3087 do
3088 case $ac_tag in
3089 :[FHLC]) ac_mode=$ac_tag; continue;;
3090 esac
3091 case $ac_mode$ac_tag in
3092 :[FHL]*:*);;
3093 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
3094 :[FH]-) ac_tag=-:-;;
3095 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3096 esac
3097 ac_save_IFS=$IFS
3098 IFS=:
3099 set x $ac_tag
3100 IFS=$ac_save_IFS
3101 shift
3102 ac_file=$1
3103 shift
3104
3105 case $ac_mode in
3106 :L) ac_source=$1;;
3107 :[FH])
3108 ac_file_inputs=
3109 for ac_f
3110 do
3111 case $ac_f in
3112 -) ac_f="$ac_tmp/stdin";;
3113 *) # Look for the file first in the build tree, then in the source tree
3114 # (if the path is not absolute). The absolute path cannot be DOS-style,
3115 # because $ac_f cannot contain `:'.
3116 test -f "$ac_f" ||
3117 case $ac_f in
3118 [\\/$]*) false;;
3119 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3120 esac ||
3121 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
3122 esac
3123 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
3124 as_fn_append ac_file_inputs " '$ac_f'"
3125 done
3126
3127 # Let's still pretend it is `configure' which instantiates (i.e., don't
3128 # use $as_me), people would be surprised to read:
3129 # /* config.h. Generated by config.status. */
3130 configure_input='Generated from '`
3131 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
3132 `' by configure.'
3133 if test x"$ac_file" != x-; then
3134 configure_input="$ac_file. $configure_input"
3135 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
3136 $as_echo "$as_me: creating $ac_file" >&6;}
3137 fi
3138 # Neutralize special characters interpreted by sed in replacement strings.
3139 case $configure_input in #(
3140 *\&* | *\|* | *\\* )
3141 ac_sed_conf_input=`$as_echo "$configure_input" |
3142 sed 's/[\\\\&|]/\\\\&/g'`;; #(
3143 *) ac_sed_conf_input=$configure_input;;
3144 esac
3145
3146 case $ac_tag in
3147 *:-:* | *:-) cat >"$ac_tmp/stdin" \
3148 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
3149 esac
3150 ;;
3151 esac
3152
3153 ac_dir=`$as_dirname -- "$ac_file" ||
3154 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3155 X"$ac_file" : 'X\(//\)[^/]' \| \
3156 X"$ac_file" : 'X\(//\)$' \| \
3157 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3158 $as_echo X"$ac_file" |
3159 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3160 s//\1/
3161 q
3162 }
3163 /^X\(\/\/\)[^/].*/{
3164 s//\1/
3165 q
3166 }
3167 /^X\(\/\/\)$/{
3168 s//\1/
3169 q
3170 }
3171 /^X\(\/\).*/{
3172 s//\1/
3173 q
3174 }
3175 s/.*/./; q'`
3176 as_dir="$ac_dir"; as_fn_mkdir_p
3177 ac_builddir=.
3178
3179 case "$ac_dir" in
3180 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3181 *)
3182 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
3183 # A ".." for each directory in $ac_dir_suffix.
3184 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
3185 case $ac_top_builddir_sub in
3186 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3187 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3188 esac ;;
3189 esac
3190 ac_abs_top_builddir=$ac_pwd
3191 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3192 # for backward compatibility:
3193 ac_top_builddir=$ac_top_build_prefix
3194
3195 case $srcdir in
3196 .) # We are building in place.
3197 ac_srcdir=.
3198 ac_top_srcdir=$ac_top_builddir_sub
3199 ac_abs_top_srcdir=$ac_pwd ;;
3200 [\\/]* | ?:[\\/]* ) # Absolute name.
3201 ac_srcdir=$srcdir$ac_dir_suffix;
3202 ac_top_srcdir=$srcdir
3203 ac_abs_top_srcdir=$srcdir ;;
3204 *) # Relative name.
3205 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3206 ac_top_srcdir=$ac_top_build_prefix$srcdir
3207 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3208 esac
3209 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3210
3211
3212 case $ac_mode in
3213 :F)
3214 #
3215 # CONFIG_FILE
3216 #
3217
3218 case $INSTALL in
3219 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3220 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3221 esac
3222 ac_MKDIR_P=$MKDIR_P
3223 case $MKDIR_P in
3224 [\\/$]* | ?:[\\/]* ) ;;
3225 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
3226 esac
3227 _ACEOF
3228
3229 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3230 # If the template does not know about datarootdir, expand it.
3231 # FIXME: This hack should be removed a few years after 2.60.
3232 ac_datarootdir_hack=; ac_datarootdir_seen=
3233 ac_sed_dataroot='
3234 /datarootdir/ {
3235 p
3236 q
3237 }
3238 /@datadir@/p
3239 /@docdir@/p
3240 /@infodir@/p
3241 /@localedir@/p
3242 /@mandir@/p'
3243 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
3244 *datarootdir*) ac_datarootdir_seen=yes;;
3245 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3246 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3247 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3248 _ACEOF
3249 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3250 ac_datarootdir_hack='
3251 s&@datadir@&$datadir&g
3252 s&@docdir@&$docdir&g
3253 s&@infodir@&$infodir&g
3254 s&@localedir@&$localedir&g
3255 s&@mandir@&$mandir&g
3256 s&\\\${datarootdir}&$datarootdir&g' ;;
3257 esac
3258 _ACEOF
3259
3260 # Neutralize VPATH when `$srcdir' = `.'.
3261 # Shell code in configure.ac might set extrasub.
3262 # FIXME: do we really want to maintain this feature?
3263 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3264 ac_sed_extra="$ac_vpsub
3265 $extrasub
3266 _ACEOF
3267 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3268 :t
3269 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3270 s|@configure_input@|$ac_sed_conf_input|;t t
3271 s&@top_builddir@&$ac_top_builddir_sub&;t t
3272 s&@top_build_prefix@&$ac_top_build_prefix&;t t
3273 s&@srcdir@&$ac_srcdir&;t t
3274 s&@abs_srcdir@&$ac_abs_srcdir&;t t
3275 s&@top_srcdir@&$ac_top_srcdir&;t t
3276 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3277 s&@builddir@&$ac_builddir&;t t
3278 s&@abs_builddir@&$ac_abs_builddir&;t t
3279 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3280 s&@INSTALL@&$ac_INSTALL&;t t
3281 s&@MKDIR_P@&$ac_MKDIR_P&;t t
3282 $ac_datarootdir_hack
3283 "
3284 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
3285 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3286
3287 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3288 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
3289 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
3290 "$ac_tmp/out"`; test -z "$ac_out"; } &&
3291 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3292 which seems to be undefined. Please make sure it is defined" >&5
3293 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3294 which seems to be undefined. Please make sure it is defined" >&2;}
3295
3296 rm -f "$ac_tmp/stdin"
3297 case $ac_file in
3298 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
3299 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
3300 esac \
3301 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3302 ;;
3303
3304
3305
3306 esac
3307
3308 done # for ac_tag
3309
3310
3311 as_fn_exit 0
3312 _ACEOF
3313 ac_clean_files=$ac_clean_files_save
3314
3315 test $ac_write_fail = 0 ||
3316 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
3317
3318
3319 # configure is writing to config.log, and then calls config.status.
3320 # config.status does its own redirection, appending to config.log.
3321 # Unfortunately, on DOS this fails, as config.log is still kept open
3322 # by configure, so config.status won't be able to write to it; its
3323 # output is simply discarded. So we exec the FD to /dev/null,
3324 # effectively closing config.log, so it can be properly (re)opened and
3325 # appended to by config.status. When coming back to configure, we
3326 # need to make the FD available again.
3327 if test "$no_create" != yes; then
3328 ac_cs_success=:
3329 ac_config_status_args=
3330 test "$silent" = yes &&
3331 ac_config_status_args="$ac_config_status_args --quiet"
3332 exec 5>/dev/null
3333 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3334 exec 5>>config.log
3335 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3336 # would make configure fail if this is the last instruction.
3337 $ac_cs_success || as_fn_exit 1
3338 fi
3339 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
3340 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
3341 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
3342 fi
3343
3344 ac_config_files="$ac_config_files bps/bps.init.mk"
3345
3346 cat >confcache <<\_ACEOF
3347 # This file is a shell script that caches the results of configure
3348 # tests run on this system so they can be shared between configure
3349 # scripts and configure runs, see configure's option --config-cache.
3350 # It is not useful on other systems. If it contains results you don't
3351 # want to keep, you may remove or edit it.
3352 #
3353 # config.status only pays attention to the cache file if you give it
3354 # the --recheck option to rerun configure.
3355 #
3356 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3357 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3358 # following values.
3359
3360 _ACEOF
3361
3362 # The following way of writing the cache mishandles newlines in values,
3363 # but we know of no workaround that is simple, portable, and efficient.
3364 # So, we kill variables containing newlines.
3365 # Ultrix sh set writes to stderr and can't be redirected directly,
3366 # and sets the high bit in the cache file unless we assign to the vars.
3367 (
3368 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3369 eval ac_val=\$$ac_var
3370 case $ac_val in #(
3371 *${as_nl}*)
3372 case $ac_var in #(
3373 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3374 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3375 esac
3376 case $ac_var in #(
3377 _ | IFS | as_nl) ;; #(
3378 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3379 *) { eval $ac_var=; unset $ac_var;} ;;
3380 esac ;;
3381 esac
3382 done
3383
3384 (set) 2>&1 |
3385 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3386 *${as_nl}ac_space=\ *)
3387 # `set' does not quote correctly, so add quotes: double-quote
3388 # substitution turns \\\\ into \\, and sed turns \\ into \.
3389 sed -n \
3390 "s/'/'\\\\''/g;
3391 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3392 ;; #(
3393 *)
3394 # `set' quotes correctly as required by POSIX, so do not add quotes.
3395 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3396 ;;
3397 esac |
3398 sort
3399 ) |
3400 sed '
3401 /^ac_cv_env_/b end
3402 t clear
3403 :clear
3404 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3405 t end
3406 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3407 :end' >>confcache
3408 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3409 if test -w "$cache_file"; then
3410 if test "x$cache_file" != "x/dev/null"; then
3411 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3412 $as_echo "$as_me: updating cache $cache_file" >&6;}
3413 if test ! -f "$cache_file" || test -h "$cache_file"; then
3414 cat confcache >"$cache_file"
3415 else
3416 case $cache_file in #(
3417 */* | ?:*)
3418 mv -f confcache "$cache_file"$$ &&
3419 mv -f "$cache_file"$$ "$cache_file" ;; #(
3420 *)
3421 mv -f confcache "$cache_file" ;;
3422 esac
3423 fi
3424 fi
3425 else
3426 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3427 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3428 fi
3429 fi
3430 rm -f confcache
3431
3432 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3433 # Let make expand exec_prefix.
3434 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3435
3436 # Transform confdefs.h into DEFS.
3437 # Protect against shell expansion while executing Makefile rules.
3438 # Protect against Makefile macro expansion.
3439 #
3440 # If the first sed substitution is executed (which looks for macros that
3441 # take arguments), then branch to the quote section. Otherwise,
3442 # look for a macro that doesn't take arguments.
3443 ac_script='
3444 :mline
3445 /\\$/{
3446 N
3447 s,\\\n,,
3448 b mline
3449 }
3450 t clear
3451 :clear
3452 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
3453 t quote
3454 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
3455 t quote
3456 b any
3457 :quote
3458 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
3459 s/\[/\\&/g
3460 s/\]/\\&/g
3461 s/\$/$$/g
3462 H
3463 :any
3464 ${
3465 g
3466 s/^\n//
3467 s/\n/ /g
3468 p
3469 }
3470 '
3471 DEFS=`sed -n "$ac_script" confdefs.h`
3472
3473
3474 ac_libobjs=
3475 ac_ltlibobjs=
3476 U=
3477 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3478 # 1. Remove the extension, and $U if already installed.
3479 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3480 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
3481 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3482 # will be set to the directory where LIBOBJS objects are built.
3483 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3484 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
3485 done
3486 LIBOBJS=$ac_libobjs
3487
3488 LTLIBOBJS=$ac_ltlibobjs
3489
3490
3491
3492 : "${CONFIG_STATUS=./config.status}"
3493 ac_write_fail=0
3494 ac_clean_files_save=$ac_clean_files
3495 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3496 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3497 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3498 as_write_fail=0
3499 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3500 #! $SHELL
3501 # Generated by $as_me.
3502 # Run this file to recreate the current configuration.
3503 # Compiler output produced by configure, useful for debugging
3504 # configure, is in config.log if it exists.
3505
3506 debug=false
3507 ac_cs_recheck=false
3508 ac_cs_silent=false
3509
3510 SHELL=\${CONFIG_SHELL-$SHELL}
3511 export SHELL
3512 _ASEOF
3513 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
3514 ## -------------------- ##
3515 ## M4sh Initialization. ##
3516 ## -------------------- ##
3517
3518 # Be more Bourne compatible
3519 DUALCASE=1; export DUALCASE # for MKS sh
3520 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
3521 emulate sh
3522 NULLCMD=:
3523 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3524 # is contrary to our usage. Disable this feature.
3525 alias -g '${1+"$@"}'='"$@"'
3526 setopt NO_GLOB_SUBST
3527 else
3528 case `(set -o) 2>/dev/null` in #(
3529 *posix*) :
3530 set -o posix ;; #(
3531 *) :
3532 ;;
3533 esac
3534 fi
3535
3536
3537 as_nl='
3538 '
3539 export as_nl
3540 # Printing a long string crashes Solaris 7 /usr/bin/printf.
3541 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3542 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3543 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3544 # Prefer a ksh shell builtin over an external printf program on Solaris,
3545 # but without wasting forks for bash or zsh.
3546 if test -z "$BASH_VERSION$ZSH_VERSION" \
3547 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
3548 as_echo='print -r --'
3549 as_echo_n='print -rn --'
3550 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3551 as_echo='printf %s\n'
3552 as_echo_n='printf %s'
3553 else
3554 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3555 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
3556 as_echo_n='/usr/ucb/echo -n'
3557 else
3558 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3559 as_echo_n_body='eval
3560 arg=$1;
3561 case $arg in #(
3562 *"$as_nl"*)
3563 expr "X$arg" : "X\\(.*\\)$as_nl";
3564 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3565 esac;
3566 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
3567 '
3568 export as_echo_n_body
3569 as_echo_n='sh -c $as_echo_n_body as_echo'
3570 fi
3571 export as_echo_body
3572 as_echo='sh -c $as_echo_body as_echo'
3573 fi
3574
3575 # The user is always right.
3576 if test "${PATH_SEPARATOR+set}" != set; then
3577 PATH_SEPARATOR=:
3578 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3579 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3580 PATH_SEPARATOR=';'
3581 }
3582 fi
3583
3584
3585 # IFS
3586 # We need space, tab and new line, in precisely that order. Quoting is
3587 # there to prevent editors from complaining about space-tab.
3588 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3589 # splitting by setting IFS to empty value.)
3590 IFS=" "" $as_nl"
3591
3592 # Find who we are. Look in the path if we contain no directory separator.
3593 as_myself=
3594 case $0 in #((
3595 *[\\/]* ) as_myself=$0 ;;
3596 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3597 for as_dir in $PATH
3598 do
3599 IFS=$as_save_IFS
3600 test -z "$as_dir" && as_dir=.
3601 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3602 done
3603 IFS=$as_save_IFS
3604
3605 ;;
3606 esac
3607 # We did not find ourselves, most probably we were run as `sh COMMAND'
3608 # in which case we are not to be found in the path.
3609 if test "x$as_myself" = x; then
3610 as_myself=$0
3611 fi
3612 if test ! -f "$as_myself"; then
3613 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3614 exit 1
3615 fi
3616
3617 # Unset variables that we do not need and which cause bugs (e.g. in
3618 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
3619 # suppresses any "Segmentation fault" message there. '((' could
3620 # trigger a bug in pdksh 5.2.14.
3621 for as_var in BASH_ENV ENV MAIL MAILPATH
3622 do eval test x\${$as_var+set} = xset \
3623 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
3624 done
3625 PS1='$ '
3626 PS2='> '
3627 PS4='+ '
3628
3629 # NLS nuisances.
3630 LC_ALL=C
3631 export LC_ALL
3632 LANGUAGE=C
3633 export LANGUAGE
3634
3635 # CDPATH.
3636 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
3637
3638
3639 # as_fn_error STATUS ERROR [LINENO LOG_FD]
3640 # ----------------------------------------
3641 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3642 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3643 # script with STATUS, using 1 if that was 0.
3644 as_fn_error ()
3645 {
3646 as_status=$1; test $as_status -eq 0 && as_status=1
3647 if test "$4"; then
3648 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3649 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
3650 fi
3651 $as_echo "$as_me: error: $2" >&2
3652 as_fn_exit $as_status
3653 } # as_fn_error
3654
3655
3656 # as_fn_set_status STATUS
3657 # -----------------------
3658 # Set $? to STATUS, without forking.
3659 as_fn_set_status ()
3660 {
3661 return $1
3662 } # as_fn_set_status
3663
3664 # as_fn_exit STATUS
3665 # -----------------
3666 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3667 as_fn_exit ()
3668 {
3669 set +e
3670 as_fn_set_status $1
3671 exit $1
3672 } # as_fn_exit
3673
3674 # as_fn_unset VAR
3675 # ---------------
3676 # Portably unset VAR.
3677 as_fn_unset ()
3678 {
3679 { eval $1=; unset $1;}
3680 }
3681 as_unset=as_fn_unset
3682 # as_fn_append VAR VALUE
3683 # ----------------------
3684 # Append the text in VALUE to the end of the definition contained in VAR. Take
3685 # advantage of any shell optimizations that allow amortized linear growth over
3686 # repeated appends, instead of the typical quadratic growth present in naive
3687 # implementations.
3688 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
3689 eval 'as_fn_append ()
3690 {
3691 eval $1+=\$2
3692 }'
3693 else
3694 as_fn_append ()
3695 {
3696 eval $1=\$$1\$2
3697 }
3698 fi # as_fn_append
3699
3700 # as_fn_arith ARG...
3701 # ------------------
3702 # Perform arithmetic evaluation on the ARGs, and store the result in the
3703 # global $as_val. Take advantage of shells that can avoid forks. The arguments
3704 # must be portable across $(()) and expr.
3705 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
3706 eval 'as_fn_arith ()
3707 {
3708 as_val=$(( $* ))
3709 }'
3710 else
3711 as_fn_arith ()
3712 {
3713 as_val=`expr "$@" || test $? -eq 1`
3714 }
3715 fi # as_fn_arith
3716
3717
3718 if expr a : '\(a\)' >/dev/null 2>&1 &&
3719 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3720 as_expr=expr
3721 else
3722 as_expr=false
3723 fi
3724
3725 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3726 as_basename=basename
3727 else
3728 as_basename=false
3729 fi
3730
3731 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3732 as_dirname=dirname
3733 else
3734 as_dirname=false
3735 fi
3736
3737 as_me=`$as_basename -- "$0" ||
3738 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3739 X"$0" : 'X\(//\)$' \| \
3740 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3741 $as_echo X/"$0" |
3742 sed '/^.*\/\([^/][^/]*\)\/*$/{
3743 s//\1/
3744 q
3745 }
3746 /^X\/\(\/\/\)$/{
3747 s//\1/
3748 q
3749 }
3750 /^X\/\(\/\).*/{
3751 s//\1/
3752 q
3753 }
3754 s/.*/./; q'`
3755
3756 # Avoid depending upon Character Ranges.
3757 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3758 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3759 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3760 as_cr_digits='0123456789'
3761 as_cr_alnum=$as_cr_Letters$as_cr_digits
3762
3763 ECHO_C= ECHO_N= ECHO_T=
3764 case `echo -n x` in #(((((
3765 -n*)
3766 case `echo 'xy\c'` in
3767 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3768 xy) ECHO_C='\c';;
3769 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
3770 ECHO_T=' ';;
3771 esac;;
3772 *)
3773 ECHO_N='-n';;
3774 esac
3775
3776 rm -f conf$$ conf$$.exe conf$$.file
3777 if test -d conf$$.dir; then
3778 rm -f conf$$.dir/conf$$.file
3779 else
3780 rm -f conf$$.dir
3781 mkdir conf$$.dir 2>/dev/null
3782 fi
3783 if (echo >conf$$.file) 2>/dev/null; then
3784 if ln -s conf$$.file conf$$ 2>/dev/null; then
3785 as_ln_s='ln -s'
3786 # ... but there are two gotchas:
3787 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3788 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3789 # In both cases, we have to default to `cp -pR'.
3790 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3791 as_ln_s='cp -pR'
3792 elif ln conf$$.file conf$$ 2>/dev/null; then
3793 as_ln_s=ln
3794 else
3795 as_ln_s='cp -pR'
3796 fi
3797 else
3798 as_ln_s='cp -pR'
3799 fi
3800 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3801 rmdir conf$$.dir 2>/dev/null
3802
3803
3804 # as_fn_mkdir_p
3805 # -------------
3806 # Create "$as_dir" as a directory, including parents if necessary.
3807 as_fn_mkdir_p ()
3808 {
3809
3810 case $as_dir in #(
3811 -*) as_dir=./$as_dir;;
3812 esac
3813 test -d "$as_dir" || eval $as_mkdir_p || {
3814 as_dirs=
3815 while :; do
3816 case $as_dir in #(
3817 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3818 *) as_qdir=$as_dir;;
3819 esac
3820 as_dirs="'$as_qdir' $as_dirs"
3821 as_dir=`$as_dirname -- "$as_dir" ||
3822 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3823 X"$as_dir" : 'X\(//\)[^/]' \| \
3824 X"$as_dir" : 'X\(//\)$' \| \
3825 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3826 $as_echo X"$as_dir" |
3827 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3828 s//\1/
3829 q
3830 }
3831 /^X\(\/\/\)[^/].*/{
3832 s//\1/
3833 q
3834 }
3835 /^X\(\/\/\)$/{
3836 s//\1/
3837 q
3838 }
3839 /^X\(\/\).*/{
3840 s//\1/
3841 q
3842 }
3843 s/.*/./; q'`
3844 test -d "$as_dir" && break
3845 done
3846 test -z "$as_dirs" || eval "mkdir $as_dirs"
3847 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
3848
3849
3850 } # as_fn_mkdir_p
3851 if mkdir -p . 2>/dev/null; then
3852 as_mkdir_p='mkdir -p "$as_dir"'
3853 else
3854 test -d ./-p && rmdir ./-p
3855 as_mkdir_p=false
3856 fi
3857
3858
3859 # as_fn_executable_p FILE
3860 # -----------------------
3861 # Test if FILE is an executable regular file.
3862 as_fn_executable_p ()
3863 {
3864 test -f "$1" && test -x "$1"
3865 } # as_fn_executable_p
3866 as_test_x='test -x'
3867 as_executable_p=as_fn_executable_p
3868
3869 # Sed expression to map a string onto a valid CPP name.
3870 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3871
3872 # Sed expression to map a string onto a valid variable name.
3873 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3874
3875
3876 exec 6>&1
3877 ## ----------------------------------- ##
3878 ## Main body of $CONFIG_STATUS script. ##
3879 ## ----------------------------------- ##
3880 _ASEOF
3881 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
3882
3883 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3884 # Save the log message, to keep $0 and so on meaningful, and to
3885 # report actual input values of CONFIG_FILES etc. instead of their
3886 # values after options handling.
3887 ac_log="
3888 This file was extended by $as_me, which was
3889 generated by GNU Autoconf 2.69. Invocation command line was
3890
3891 CONFIG_FILES = $CONFIG_FILES
3892 CONFIG_HEADERS = $CONFIG_HEADERS
3893 CONFIG_LINKS = $CONFIG_LINKS
3894 CONFIG_COMMANDS = $CONFIG_COMMANDS
3895 $ $0 $@
3896
3897 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3898 "
3899
3900 _ACEOF
3901
3902 case $ac_config_files in *"
3903 "*) set x $ac_config_files; shift; ac_config_files=$*;;
3904 esac
3905
3906
3907
3908 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3909 # Files that config.status was made for.
3910 config_files="$ac_config_files"
3911
3912 _ACEOF
3913
3914 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3915 ac_cs_usage="\
3916 \`$as_me' instantiates files and other configuration actions
3917 from templates according to the current configuration. Unless the files
3918 and actions are specified as TAGs, all are instantiated by default.
3919
3920 Usage: $0 [OPTION]... [TAG]...
3921
3922 -h, --help print this help, then exit
3923 -V, --version print version number and configuration settings, then exit
3924 --config print configuration, then exit
3925 -q, --quiet, --silent
3926 do not print progress messages
3927 -d, --debug don't remove temporary files
3928 --recheck update $as_me by reconfiguring in the same conditions
3929 --file=FILE[:TEMPLATE]
3930 instantiate the configuration file FILE
3931
3932 Configuration files:
3933 $config_files
3934
3935 Report bugs to the package provider."
3936
3937 _ACEOF
3938 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3939 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
3940 ac_cs_version="\\
3941 config.status
3942 configured by $0, generated by GNU Autoconf 2.69,
3943 with options \\"\$ac_cs_config\\"
3944
3945 Copyright (C) 2012 Free Software Foundation, Inc.
3946 This config.status script is free software; the Free Software Foundation
3947 gives unlimited permission to copy, distribute and modify it."
3948
3949 ac_pwd='$ac_pwd'
3950 srcdir='$srcdir'
3951 INSTALL='$INSTALL'
3952 MKDIR_P='$MKDIR_P'
3953 AWK='$AWK'
3954 test -n "\$AWK" || AWK=awk
3955 _ACEOF
3956
3957 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3958 # The default lists apply if the user does not specify any file.
3959 ac_need_defaults=:
3960 while test $# != 0
3961 do
3962 case $1 in
3963 --*=?*)
3964 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3965 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3966 ac_shift=:
3967 ;;
3968 --*=)
3969 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3970 ac_optarg=
3971 ac_shift=:
3972 ;;
3973 *)
3974 ac_option=$1
3975 ac_optarg=$2
3976 ac_shift=shift
3977 ;;
3978 esac
3979
3980 case $ac_option in
3981 # Handling of the options.
3982 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3983 ac_cs_recheck=: ;;
3984 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3985 $as_echo "$ac_cs_version"; exit ;;
3986 --config | --confi | --conf | --con | --co | --c )
3987 $as_echo "$ac_cs_config"; exit ;;
3988 --debug | --debu | --deb | --de | --d | -d )
3989 debug=: ;;
3990 --file | --fil | --fi | --f )
3991 $ac_shift
3992 case $ac_optarg in
3993 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3994 '') as_fn_error $? "missing file argument" ;;
3995 esac
3996 as_fn_append CONFIG_FILES " '$ac_optarg'"
3997 ac_need_defaults=false;;
3998 --he | --h | --help | --hel | -h )
3999 $as_echo "$ac_cs_usage"; exit ;;
4000 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4001 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4002 ac_cs_silent=: ;;
4003
4004 # This is an error.
4005 -*) as_fn_error $? "unrecognized option: \`$1'
4006 Try \`$0 --help' for more information." ;;
4007
4008 *) as_fn_append ac_config_targets " $1"
4009 ac_need_defaults=false ;;
4010
4011 esac
4012 shift
4013 done
4014
4015 ac_configure_extra_args=
4016
4017 if $ac_cs_silent; then
4018 exec 6>/dev/null
4019 ac_configure_extra_args="$ac_configure_extra_args --silent"
4020 fi
4021
4022 _ACEOF
4023 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4024 if \$ac_cs_recheck; then
4025 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4026 shift
4027 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4028 CONFIG_SHELL='$SHELL'
4029 export CONFIG_SHELL
4030 exec "\$@"
4031 fi
4032
4033 _ACEOF
4034 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4035 exec 5>>config.log
4036 {
4037 echo
4038 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4039 ## Running $as_me. ##
4040 _ASBOX
4041 $as_echo "$ac_log"
4042 } >&5
4043
4044 _ACEOF
4045 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4046 _ACEOF
4047
4048 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4049
4050 # Handling of arguments.
4051 for ac_config_target in $ac_config_targets
4052 do
4053 case $ac_config_target in
4054 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4055 "bps/bps.init.mk") CONFIG_FILES="$CONFIG_FILES bps/bps.init.mk" ;;
4056
4057 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4058 esac
4059 done
4060
4061
4062 # If the user did not use the arguments to specify the items to instantiate,
4063 # then the envvar interface is used. Set only those that are not.
4064 # We use the long form for the default assignment because of an extremely
4065 # bizarre bug on SunOS 4.1.3.
4066 if $ac_need_defaults; then
4067 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4068 fi
4069
4070 # Have a temporary directory for convenience. Make it in the build tree
4071 # simply because there is no reason against having it here, and in addition,
4072 # creating and moving files from /tmp can sometimes cause problems.
4073 # Hook for its removal unless debugging.
4074 # Note that there is a small window in which the directory will not be cleaned:
4075 # after its creation but before its name has been assigned to `$tmp'.
4076 $debug ||
4077 {
4078 tmp= ac_tmp=
4079 trap 'exit_status=$?
4080 : "${ac_tmp:=$tmp}"
4081 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
4082 ' 0
4083 trap 'as_fn_exit 1' 1 2 13 15
4084 }
4085 # Create a (secure) tmp directory for tmp files.
4086
4087 {
4088 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4089 test -d "$tmp"
4090 } ||
4091 {
4092 tmp=./conf$$-$RANDOM
4093 (umask 077 && mkdir "$tmp")
4094 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
4095 ac_tmp=$tmp
4096
4097 # Set up the scripts for CONFIG_FILES section.
4098 # No need to generate them if there are no CONFIG_FILES.
4099 # This happens for instance with `./config.status config.h'.
4100 if test -n "$CONFIG_FILES"; then
4101
4102
4103 ac_cr=`echo X | tr X '\015'`
4104 # On cygwin, bash can eat \r inside `` if the user requested igncr.
4105 # But we know of no other shell where ac_cr would be empty at this
4106 # point, so we can use a bashism as a fallback.
4107 if test "x$ac_cr" = x; then
4108 eval ac_cr=\$\'\\r\'
4109 fi
4110 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4111 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4112 ac_cs_awk_cr='\\r'
4113 else
4114 ac_cs_awk_cr=$ac_cr
4115 fi
4116
4117 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
4118 _ACEOF
4119
4120
4121 {
4122 echo "cat >conf$$subs.awk <<_ACEOF" &&
4123 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4124 echo "_ACEOF"
4125 } >conf$$subs.sh ||
4126 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4127 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
4128 ac_delim='%!_!# '
4129 for ac_last_try in false false false false false :; do
4130 . ./conf$$subs.sh ||
4131 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4132
4133 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
4134 if test $ac_delim_n = $ac_delim_num; then
4135 break
4136 elif $ac_last_try; then
4137 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4138 else
4139 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4140 fi
4141 done
4142 rm -f conf$$subs.sh
4143
4144 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4145 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
4146 _ACEOF
4147 sed -n '
4148 h
4149 s/^/S["/; s/!.*/"]=/
4150 p
4151 g
4152 s/^[^!]*!//
4153 :repl
4154 t repl
4155 s/'"$ac_delim"'$//
4156 t delim
4157 :nl
4158 h
4159 s/\(.\{148\}\)..*/\1/
4160 t more1
4161 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4162 p
4163 n
4164 b repl
4165 :more1
4166 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4167 p
4168 g
4169 s/.\{148\}//
4170 t nl
4171 :delim
4172 h
4173 s/\(.\{148\}\)..*/\1/
4174 t more2
4175 s/["\\]/\\&/g; s/^/"/; s/$/"/
4176 p
4177 b
4178 :more2
4179 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4180 p
4181 g
4182 s/.\{148\}//
4183 t delim
4184 ' <conf$$subs.awk | sed '
4185 /^[^""]/{
4186 N
4187 s/\n//
4188 }
4189 ' >>$CONFIG_STATUS || ac_write_fail=1
4190 rm -f conf$$subs.awk
4191 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4192 _ACAWK
4193 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
4194 for (key in S) S_is_set[key] = 1
4195 FS = ""
4196
4197 }
4198 {
4199 line = $ 0
4200 nfields = split(line, field, "@")
4201 substed = 0
4202 len = length(field[1])
4203 for (i = 2; i < nfields; i++) {
4204 key = field[i]
4205 keylen = length(key)
4206 if (S_is_set[key]) {
4207 value = S[key]
4208 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4209 len += length(value) + length(field[++i])
4210 substed = 1
4211 } else
4212 len += 1 + keylen
4213 }
4214
4215 print line
4216 }
4217
4218 _ACAWK
4219 _ACEOF
4220 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4221 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4222 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4223 else
4224 cat
4225 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
4226 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
4227 _ACEOF
4228
4229 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
4230 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
4231 # trailing colons and then remove the whole line if VPATH becomes empty
4232 # (actually we leave an empty line to preserve line numbers).
4233 if test "x$srcdir" = x.; then
4234 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
4235 h
4236 s///
4237 s/^/:/
4238 s/[ ]*$/:/
4239 s/:\$(srcdir):/:/g
4240 s/:\${srcdir}:/:/g
4241 s/:@srcdir@:/:/g
4242 s/^:*//
4243 s/:*$//
4244 x
4245 s/\(=[ ]*\).*/\1/
4246 G
4247 s/\n//
4248 s/^[^=]*=[ ]*$//
4249 }'
4250 fi
4251
4252 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4253 fi # test -n "$CONFIG_FILES"
4254
4255
4256 eval set X " :F $CONFIG_FILES "
4257 shift
4258 for ac_tag
4259 do
4260 case $ac_tag in
4261 :[FHLC]) ac_mode=$ac_tag; continue;;
4262 esac
4263 case $ac_mode$ac_tag in
4264 :[FHL]*:*);;
4265 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
4266 :[FH]-) ac_tag=-:-;;
4267 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4268 esac
4269 ac_save_IFS=$IFS
4270 IFS=:
4271 set x $ac_tag
4272 IFS=$ac_save_IFS
4273 shift
4274 ac_file=$1
4275 shift
4276
4277 case $ac_mode in
4278 :L) ac_source=$1;;
4279 :[FH])
4280 ac_file_inputs=
4281 for ac_f
4282 do
4283 case $ac_f in
4284 -) ac_f="$ac_tmp/stdin";;
4285 *) # Look for the file first in the build tree, then in the source tree
4286 # (if the path is not absolute). The absolute path cannot be DOS-style,
4287 # because $ac_f cannot contain `:'.
4288 test -f "$ac_f" ||
4289 case $ac_f in
4290 [\\/$]*) false;;
4291 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4292 esac ||
4293 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4294 esac
4295 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4296 as_fn_append ac_file_inputs " '$ac_f'"
4297 done
4298
4299 # Let's still pretend it is `configure' which instantiates (i.e., don't
4300 # use $as_me), people would be surprised to read:
4301 # /* config.h. Generated by config.status. */
4302 configure_input='Generated from '`
4303 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4304 `' by configure.'
4305 if test x"$ac_file" != x-; then
4306 configure_input="$ac_file. $configure_input"
4307 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
4308 $as_echo "$as_me: creating $ac_file" >&6;}
4309 fi
4310 # Neutralize special characters interpreted by sed in replacement strings.
4311 case $configure_input in #(
4312 *\&* | *\|* | *\\* )
4313 ac_sed_conf_input=`$as_echo "$configure_input" |
4314 sed 's/[\\\\&|]/\\\\&/g'`;; #(
4315 *) ac_sed_conf_input=$configure_input;;
4316 esac
4317
4318 case $ac_tag in
4319 *:-:* | *:-) cat >"$ac_tmp/stdin" \
4320 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
4321 esac
4322 ;;
4323 esac
4324
4325 ac_dir=`$as_dirname -- "$ac_file" ||
4326 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4327 X"$ac_file" : 'X\(//\)[^/]' \| \
4328 X"$ac_file" : 'X\(//\)$' \| \
4329 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4330 $as_echo X"$ac_file" |
4331 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4332 s//\1/
4333 q
4334 }
4335 /^X\(\/\/\)[^/].*/{
4336 s//\1/
4337 q
4338 }
4339 /^X\(\/\/\)$/{
4340 s//\1/
4341 q
4342 }
4343 /^X\(\/\).*/{
4344 s//\1/
4345 q
4346 }
4347 s/.*/./; q'`
4348 as_dir="$ac_dir"; as_fn_mkdir_p
4349 ac_builddir=.
4350
4351 case "$ac_dir" in
4352 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4353 *)
4354 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4355 # A ".." for each directory in $ac_dir_suffix.
4356 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4357 case $ac_top_builddir_sub in
4358 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4359 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4360 esac ;;
4361 esac
4362 ac_abs_top_builddir=$ac_pwd
4363 ac_abs_builddir=$ac_pwd$ac_dir_suffix
4364 # for backward compatibility:
4365 ac_top_builddir=$ac_top_build_prefix
4366
4367 case $srcdir in
4368 .) # We are building in place.
4369 ac_srcdir=.
4370 ac_top_srcdir=$ac_top_builddir_sub
4371 ac_abs_top_srcdir=$ac_pwd ;;
4372 [\\/]* | ?:[\\/]* ) # Absolute name.
4373 ac_srcdir=$srcdir$ac_dir_suffix;
4374 ac_top_srcdir=$srcdir
4375 ac_abs_top_srcdir=$srcdir ;;
4376 *) # Relative name.
4377 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4378 ac_top_srcdir=$ac_top_build_prefix$srcdir
4379 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4380 esac
4381 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4382
4383
4384 case $ac_mode in
4385 :F)
4386 #
4387 # CONFIG_FILE
4388 #
4389
4390 case $INSTALL in
4391 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4392 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
4393 esac
4394 ac_MKDIR_P=$MKDIR_P
4395 case $MKDIR_P in
4396 [\\/$]* | ?:[\\/]* ) ;;
4397 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
4398 esac
4399 _ACEOF
4400
4401 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4402 # If the template does not know about datarootdir, expand it.
4403 # FIXME: This hack should be removed a few years after 2.60.
4404 ac_datarootdir_hack=; ac_datarootdir_seen=
4405 ac_sed_dataroot='
4406 /datarootdir/ {
4407 p
4408 q
4409 }
4410 /@datadir@/p
4411 /@docdir@/p
4412 /@infodir@/p
4413 /@localedir@/p
4414 /@mandir@/p'
4415 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
4416 *datarootdir*) ac_datarootdir_seen=yes;;
4417 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4418 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4419 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4420 _ACEOF
4421 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4422 ac_datarootdir_hack='
4423 s&@datadir@&$datadir&g
4424 s&@docdir@&$docdir&g
4425 s&@infodir@&$infodir&g
4426 s&@localedir@&$localedir&g
4427 s&@mandir@&$mandir&g
4428 s&\\\${datarootdir}&$datarootdir&g' ;;
4429 esac
4430 _ACEOF
4431
4432 # Neutralize VPATH when `$srcdir' = `.'.
4433 # Shell code in configure.ac might set extrasub.
4434 # FIXME: do we really want to maintain this feature?
4435 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4436 ac_sed_extra="$ac_vpsub
4437 $extrasub
4438 _ACEOF
4439 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4440 :t
4441 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4442 s|@configure_input@|$ac_sed_conf_input|;t t
4443 s&@top_builddir@&$ac_top_builddir_sub&;t t
4444 s&@top_build_prefix@&$ac_top_build_prefix&;t t
4445 s&@srcdir@&$ac_srcdir&;t t
4446 s&@abs_srcdir@&$ac_abs_srcdir&;t t
4447 s&@top_srcdir@&$ac_top_srcdir&;t t
4448 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
4449 s&@builddir@&$ac_builddir&;t t
4450 s&@abs_builddir@&$ac_abs_builddir&;t t
4451 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4452 s&@INSTALL@&$ac_INSTALL&;t t
4453 s&@MKDIR_P@&$ac_MKDIR_P&;t t
4454 $ac_datarootdir_hack
4455 "
4456 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
4457 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4458
4459 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4460 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
4461 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
4462 "$ac_tmp/out"`; test -z "$ac_out"; } &&
4463 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4464 which seems to be undefined. Please make sure it is defined" >&5
4465 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4466 which seems to be undefined. Please make sure it is defined" >&2;}
4467
4468 rm -f "$ac_tmp/stdin"
4469 case $ac_file in
4470 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
4471 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
4472 esac \
4473 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4474 ;;
4475
4476
4477
4478 esac
4479
4480 done # for ac_tag
4481
4482
4483 as_fn_exit 0
4484 _ACEOF
4485 ac_clean_files=$ac_clean_files_save
4486
4487 test $ac_write_fail = 0 ||
4488 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
4489
4490
4491 # configure is writing to config.log, and then calls config.status.
4492 # config.status does its own redirection, appending to config.log.
4493 # Unfortunately, on DOS this fails, as config.log is still kept open
4494 # by configure, so config.status won't be able to write to it; its
4495 # output is simply discarded. So we exec the FD to /dev/null,
4496 # effectively closing config.log, so it can be properly (re)opened and
4497 # appended to by config.status. When coming back to configure, we
4498 # need to make the FD available again.
4499 if test "$no_create" != yes; then
4500 ac_cs_success=:
4501 ac_config_status_args=
4502 test "$silent" = yes &&
4503 ac_config_status_args="$ac_config_status_args --quiet"
4504 exec 5>/dev/null
4505 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4506 exec 5>>config.log
4507 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4508 # would make configure fail if this is the last instruction.
4509 $ac_cs_success || as_fn_exit 1
4510 fi
4511 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
4512 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4513 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
4514 fi
4515
22
33 %:
44 dh $@
5
6 override_dh_auto_configure:
7 autoconf
8 dh_auto_configure
59
610 override_dh_auto_build:
711 ${MAKETOOL} build