/[svn]/vendor/pxys2-2.1.0/configure
ViewVC logotype

Contents of /vendor/pxys2-2.1.0/configure

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3253 - (show annotations)
Wed Apr 2 20:46:18 2014 UTC (7 years, 3 months ago) by michael
File size: 93595 byte(s)
- Imported pxys2-2.1.0

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

Properties

Name Value
svn:executable

svnadmin@ircd-hybrid.org
ViewVC Help
Powered by ViewVC 1.1.28