290 | --program-transform-n=* | --program-transform-=* \ |
530 | --program-transform-n=* | --program-transform-=* \ |
291 | --program-transform=* | --program-transfor=* \ |
531 | --program-transform=* | --program-transfor=* \ |
292 | --program-transfo=* | --program-transf=* \ |
532 | --program-transfo=* | --program-transf=* \ |
293 | --program-trans=* | --program-tran=* \ |
533 | --program-trans=* | --program-tran=* \ |
294 | --progr-tra=* | --program-tr=* | --program-t=*) |
534 | --progr-tra=* | --program-tr=* | --program-t=*) |
295 program_transform_name="$ac_optarg" ;; |
535 program_transform_name=$ac_optarg ;; |
296 |
536 |
297 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
537 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
298 | -silent | --silent | --silen | --sile | --sil) |
538 | -silent | --silent | --silen | --sile | --sil) |
299 silent=yes ;; |
539 silent=yes ;; |
300 |
540 |
301 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
541 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
302 ac_prev=sbindir ;; |
542 ac_prev=sbindir ;; |
303 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
543 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
304 | --sbi=* | --sb=*) |
544 | --sbi=* | --sb=*) |
305 sbindir="$ac_optarg" ;; |
545 sbindir=$ac_optarg ;; |
306 |
546 |
307 -sharedstatedir | --sharedstatedir | --sharedstatedi \ |
547 -sharedstatedir | --sharedstatedir | --sharedstatedi \ |
308 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ |
548 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ |
309 | --sharedst | --shareds | --shared | --share | --shar \ |
549 | --sharedst | --shareds | --shared | --share | --shar \ |
310 | --sha | --sh) |
550 | --sha | --sh) |
311 ac_prev=sharedstatedir ;; |
551 ac_prev=sharedstatedir ;; |
312 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ |
552 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ |
313 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ |
553 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ |
314 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ |
554 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ |
315 | --sha=* | --sh=*) |
555 | --sha=* | --sh=*) |
316 sharedstatedir="$ac_optarg" ;; |
556 sharedstatedir=$ac_optarg ;; |
317 |
557 |
318 -site | --site | --sit) |
558 -site | --site | --sit) |
319 ac_prev=site ;; |
559 ac_prev=site ;; |
320 -site=* | --site=* | --sit=*) |
560 -site=* | --site=* | --sit=*) |
321 site="$ac_optarg" ;; |
561 site=$ac_optarg ;; |
322 |
562 |
323 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
563 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
324 ac_prev=srcdir ;; |
564 ac_prev=srcdir ;; |
325 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
565 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
326 srcdir="$ac_optarg" ;; |
566 srcdir=$ac_optarg ;; |
327 |
567 |
328 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ |
568 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ |
329 | --syscon | --sysco | --sysc | --sys | --sy) |
569 | --syscon | --sysco | --sysc | --sys | --sy) |
330 ac_prev=sysconfdir ;; |
570 ac_prev=sysconfdir ;; |
331 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ |
571 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ |
332 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) |
572 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) |
333 sysconfdir="$ac_optarg" ;; |
573 sysconfdir=$ac_optarg ;; |
334 |
574 |
335 -target | --target | --targe | --targ | --tar | --ta | --t) |
575 -target | --target | --targe | --targ | --tar | --ta | --t) |
336 ac_prev=target ;; |
576 ac_prev=target_alias ;; |
337 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
577 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
338 target="$ac_optarg" ;; |
578 target_alias=$ac_optarg ;; |
339 |
579 |
340 -v | -verbose | --verbose | --verbos | --verbo | --verb) |
580 -v | -verbose | --verbose | --verbos | --verbo | --verb) |
341 verbose=yes ;; |
581 verbose=yes ;; |
342 |
582 |
343 -version | --version | --versio | --versi | --vers) |
583 -version | --version | --versio | --versi | --vers | -V) |
344 echo "configure generated by autoconf version 2.13" |
584 ac_init_version=: ;; |
345 exit 0 ;; |
|
346 |
585 |
347 -with-* | --with-*) |
586 -with-* | --with-*) |
348 ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'` |
587 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
349 # Reject names that are not valid shell variable names. |
588 # Reject names that are not valid shell variable names. |
350 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then |
589 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && |
351 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } |
590 { echo "$as_me: error: invalid package name: $ac_package" >&2 |
352 fi |
591 { (exit 1); exit 1; }; } |
353 ac_package=`echo $ac_package| sed 's/-/_/g'` |
592 ac_package=`echo $ac_package| sed 's/-/_/g'` |
354 case "$ac_option" in |
593 case $ac_option in |
355 *=*) ;; |
594 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; |
356 *) ac_optarg=yes ;; |
595 *) ac_optarg=yes ;; |
357 esac |
596 esac |
358 eval "with_${ac_package}='$ac_optarg'" ;; |
597 eval "with_$ac_package='$ac_optarg'" ;; |
359 |
598 |
360 -without-* | --without-*) |
599 -without-* | --without-*) |
361 ac_package=`echo $ac_option|sed -e 's/-*without-//'` |
600 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
362 # Reject names that are not valid shell variable names. |
601 # Reject names that are not valid shell variable names. |
363 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then |
602 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && |
364 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } |
603 { echo "$as_me: error: invalid package name: $ac_package" >&2 |
365 fi |
604 { (exit 1); exit 1; }; } |
366 ac_package=`echo $ac_package| sed 's/-/_/g'` |
605 ac_package=`echo $ac_package | sed 's/-/_/g'` |
367 eval "with_${ac_package}=no" ;; |
606 eval "with_$ac_package=no" ;; |
368 |
607 |
369 --x) |
608 --x) |
370 # Obsolete; use --with-x. |
609 # Obsolete; use --with-x. |
371 with_x=yes ;; |
610 with_x=yes ;; |
372 |
611 |
373 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ |
612 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ |
374 | --x-incl | --x-inc | --x-in | --x-i) |
613 | --x-incl | --x-inc | --x-in | --x-i) |
375 ac_prev=x_includes ;; |
614 ac_prev=x_includes ;; |
376 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ |
615 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ |
377 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) |
616 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) |
378 x_includes="$ac_optarg" ;; |
617 x_includes=$ac_optarg ;; |
379 |
618 |
380 -x-libraries | --x-libraries | --x-librarie | --x-librari \ |
619 -x-libraries | --x-libraries | --x-librarie | --x-librari \ |
381 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) |
620 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) |
382 ac_prev=x_libraries ;; |
621 ac_prev=x_libraries ;; |
383 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
622 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
384 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
623 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
385 x_libraries="$ac_optarg" ;; |
624 x_libraries=$ac_optarg ;; |
386 |
625 |
387 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; } |
626 -*) { echo "$as_me: error: unrecognized option: $ac_option |
|
627 Try \`$0 --help' for more information." >&2 |
|
628 { (exit 1); exit 1; }; } |
388 ;; |
629 ;; |
389 |
630 |
|
631 *=*) |
|
632 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
|
633 # Reject names that are not valid shell variable names. |
|
634 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && |
|
635 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 |
|
636 { (exit 1); exit 1; }; } |
|
637 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` |
|
638 eval "$ac_envvar='$ac_optarg'" |
|
639 export $ac_envvar ;; |
|
640 |
390 *) |
641 *) |
391 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then |
642 # FIXME: should be removed in autoconf 3.0. |
392 echo "configure: warning: $ac_option: invalid host type" 1>&2 |
643 echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
393 fi |
644 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
394 if test "x$nonopt" != xNONE; then |
645 echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
395 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } |
646 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} |
396 fi |
|
397 nonopt="$ac_option" |
|
398 ;; |
647 ;; |
399 |
648 |
400 esac |
649 esac |
401 done |
650 done |
402 |
651 |
403 if test -n "$ac_prev"; then |
652 if test -n "$ac_prev"; then |
404 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; } |
653 ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
405 fi |
654 { echo "$as_me: error: missing argument to $ac_option" >&2 |
406 |
655 { (exit 1); exit 1; }; } |
407 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 |
656 fi |
408 |
657 |
409 # File descriptor usage: |
658 # Be sure to have absolute paths. |
410 # 0 standard input |
659 for ac_var in exec_prefix prefix |
411 # 1 file creation |
|
412 # 2 errors and warnings |
|
413 # 3 some systems may open it to /dev/tty |
|
414 # 4 used on the Kubota Titan |
|
415 # 6 checking for... messages and results |
|
416 # 5 compiler messages saved in config.log |
|
417 if test "$silent" = yes; then |
|
418 exec 6>/dev/null |
|
419 else |
|
420 exec 6>&1 |
|
421 fi |
|
422 exec 5>./config.log |
|
423 |
|
424 echo "\ |
|
425 This file contains any messages produced by compilers while |
|
426 running configure, to aid debugging if configure makes a mistake. |
|
427 " 1>&5 |
|
428 |
|
429 # Strip out --no-create and --no-recursion so they do not pile up. |
|
430 # Also quote any args containing shell metacharacters. |
|
431 ac_configure_args= |
|
432 for ac_arg |
|
433 do |
660 do |
434 case "$ac_arg" in |
661 eval ac_val=$`echo $ac_var` |
435 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
662 case $ac_val in |
436 | --no-cr | --no-c) ;; |
663 [\\/$]* | ?:[\\/]* | NONE | '' ) ;; |
437 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
664 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
438 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;; |
665 { (exit 1); exit 1; }; };; |
439 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*) |
|
440 ac_configure_args="$ac_configure_args '$ac_arg'" ;; |
|
441 *) ac_configure_args="$ac_configure_args $ac_arg" ;; |
|
442 esac |
666 esac |
443 done |
667 done |
444 |
668 |
445 # NLS nuisances. |
669 # Be sure to have absolute paths. |
446 # Only set these to C if already set. These must not be set unconditionally |
670 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ |
447 # because not all systems understand e.g. LANG=C (notably SCO). |
671 localstatedir libdir includedir oldincludedir infodir mandir |
448 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'! |
672 do |
449 # Non-C LC_CTYPE values break the ctype check. |
673 eval ac_val=$`echo $ac_var` |
450 if test "${LANG+set}" = set; then LANG=C; export LANG; fi |
674 case $ac_val in |
451 if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi |
675 [\\/$]* | ?:[\\/]* ) ;; |
452 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi |
676 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
453 if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi |
677 { (exit 1); exit 1; }; };; |
454 |
678 esac |
455 # confdefs.h avoids OS command line length limits that DEFS can exceed. |
679 done |
456 rm -rf conftest* confdefs.h |
680 |
457 # AIX cpp loses on an empty file, so make sure it contains at least a newline. |
681 # There might be people who depend on the old broken behavior: `$host' |
458 echo > confdefs.h |
682 # used to hold the argument of --host etc. |
459 |
683 # FIXME: To remove some day. |
460 # A filename unique to this package, relative to the directory that |
684 build=$build_alias |
461 # configure is in, which we can look for to find out if srcdir is correct. |
685 host=$host_alias |
462 ac_unique_file=lib/mergelib.sh |
686 target=$target_alias |
|
687 |
|
688 # FIXME: To remove some day. |
|
689 if test "x$host_alias" != x; then |
|
690 if test "x$build_alias" = x; then |
|
691 cross_compiling=maybe |
|
692 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. |
|
693 If a cross compiler is detected then cross compile mode will be used." >&2 |
|
694 elif test "x$build_alias" != "x$host_alias"; then |
|
695 cross_compiling=yes |
|
696 fi |
|
697 fi |
|
698 |
|
699 ac_tool_prefix= |
|
700 test -n "$host_alias" && ac_tool_prefix=$host_alias- |
|
701 |
|
702 test "$silent" = yes && exec 6>/dev/null |
|
703 |
463 |
704 |
464 # Find the source files, if location was not specified. |
705 # Find the source files, if location was not specified. |
465 if test -z "$srcdir"; then |
706 if test -z "$srcdir"; then |
466 ac_srcdir_defaulted=yes |
707 ac_srcdir_defaulted=yes |
467 # Try the directory containing this script, then its parent. |
708 # Try the directory containing this script, then its parent. |
468 ac_prog=$0 |
709 ac_confdir=`(dirname "$0") 2>/dev/null || |
469 ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'` |
710 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
470 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=. |
711 X"$0" : 'X\(//\)[^/]' \| \ |
|
712 X"$0" : 'X\(//\)$' \| \ |
|
713 X"$0" : 'X\(/\)' \| \ |
|
714 . : '\(.\)' 2>/dev/null || |
|
715 echo X"$0" | |
|
716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
|
717 /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
|
718 /^X\(\/\/\)$/{ s//\1/; q; } |
|
719 /^X\(\/\).*/{ s//\1/; q; } |
|
720 s/.*/./; q'` |
471 srcdir=$ac_confdir |
721 srcdir=$ac_confdir |
472 if test ! -r $srcdir/$ac_unique_file; then |
722 if test ! -r $srcdir/$ac_unique_file; then |
473 srcdir=.. |
723 srcdir=.. |
474 fi |
724 fi |
475 else |
725 else |
476 ac_srcdir_defaulted=no |
726 ac_srcdir_defaulted=no |
477 fi |
727 fi |
478 if test ! -r $srcdir/$ac_unique_file; then |
728 if test ! -r $srcdir/$ac_unique_file; then |
479 if test "$ac_srcdir_defaulted" = yes; then |
729 if test "$ac_srcdir_defaulted" = yes; then |
480 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; } |
730 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 |
|
731 { (exit 1); exit 1; }; } |
481 else |
732 else |
482 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; } |
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 |
|
734 { (exit 1); exit 1; }; } |
483 fi |
735 fi |
484 fi |
736 fi |
485 srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'` |
737 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || |
486 |
738 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 |
|
739 { (exit 1); exit 1; }; } |
|
740 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` |
|
741 ac_env_build_alias_set=${build_alias+set} |
|
742 ac_env_build_alias_value=$build_alias |
|
743 ac_cv_env_build_alias_set=${build_alias+set} |
|
744 ac_cv_env_build_alias_value=$build_alias |
|
745 ac_env_host_alias_set=${host_alias+set} |
|
746 ac_env_host_alias_value=$host_alias |
|
747 ac_cv_env_host_alias_set=${host_alias+set} |
|
748 ac_cv_env_host_alias_value=$host_alias |
|
749 ac_env_target_alias_set=${target_alias+set} |
|
750 ac_env_target_alias_value=$target_alias |
|
751 ac_cv_env_target_alias_set=${target_alias+set} |
|
752 ac_cv_env_target_alias_value=$target_alias |
|
753 ac_env_CC_set=${CC+set} |
|
754 ac_env_CC_value=$CC |
|
755 ac_cv_env_CC_set=${CC+set} |
|
756 ac_cv_env_CC_value=$CC |
|
757 ac_env_CFLAGS_set=${CFLAGS+set} |
|
758 ac_env_CFLAGS_value=$CFLAGS |
|
759 ac_cv_env_CFLAGS_set=${CFLAGS+set} |
|
760 ac_cv_env_CFLAGS_value=$CFLAGS |
|
761 ac_env_LDFLAGS_set=${LDFLAGS+set} |
|
762 ac_env_LDFLAGS_value=$LDFLAGS |
|
763 ac_cv_env_LDFLAGS_set=${LDFLAGS+set} |
|
764 ac_cv_env_LDFLAGS_value=$LDFLAGS |
|
765 ac_env_CPPFLAGS_set=${CPPFLAGS+set} |
|
766 ac_env_CPPFLAGS_value=$CPPFLAGS |
|
767 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} |
|
768 ac_cv_env_CPPFLAGS_value=$CPPFLAGS |
|
769 ac_env_CXX_set=${CXX+set} |
|
770 ac_env_CXX_value=$CXX |
|
771 ac_cv_env_CXX_set=${CXX+set} |
|
772 ac_cv_env_CXX_value=$CXX |
|
773 ac_env_CXXFLAGS_set=${CXXFLAGS+set} |
|
774 ac_env_CXXFLAGS_value=$CXXFLAGS |
|
775 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set} |
|
776 ac_cv_env_CXXFLAGS_value=$CXXFLAGS |
|
777 ac_env_CPP_set=${CPP+set} |
|
778 ac_env_CPP_value=$CPP |
|
779 ac_cv_env_CPP_set=${CPP+set} |
|
780 ac_cv_env_CPP_value=$CPP |
|
781 |
|
782 # |
|
783 # Report the --help message. |
|
784 # |
|
785 if test "$ac_init_help" = "long"; then |
|
786 # Omit some internal or obsolete options to make the list less imposing. |
|
787 # This message is too long to be a string in the A/UX 3.1 sh. |
|
788 cat <<_ACEOF |
|
789 \`configure' configures this package to adapt to many kinds of systems. |
|
790 |
|
791 Usage: $0 [OPTION]... [VAR=VALUE]... |
|
792 |
|
793 To assign environment variables (e.g., CC, CFLAGS...), specify them as |
|
794 VAR=VALUE. See below for descriptions of some of the useful variables. |
|
795 |
|
796 Defaults for the options are specified in brackets. |
|
797 |
|
798 Configuration: |
|
799 -h, --help display this help and exit |
|
800 --help=short display options specific to this package |
|
801 --help=recursive display the short help of all the included packages |
|
802 -V, --version display version information and exit |
|
803 -q, --quiet, --silent do not print \`checking...' messages |
|
804 --cache-file=FILE cache test results in FILE [disabled] |
|
805 -C, --config-cache alias for \`--cache-file=config.cache' |
|
806 -n, --no-create do not create output files |
|
807 --srcdir=DIR find the sources in DIR [configure dir or \`..'] |
|
808 |
|
809 _ACEOF |
|
810 |
|
811 cat <<_ACEOF |
|
812 Installation directories: |
|
813 --prefix=PREFIX install architecture-independent files in PREFIX |
|
814 [$ac_default_prefix] |
|
815 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
|
816 [PREFIX] |
|
817 |
|
818 By default, \`make install' will install all the files in |
|
819 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
|
820 an installation prefix other than \`$ac_default_prefix' using \`--prefix', |
|
821 for instance \`--prefix=\$HOME'. |
|
822 |
|
823 For better control, use the options below. |
|
824 |
|
825 Fine tuning of the installation directories: |
|
826 --bindir=DIR user executables [EPREFIX/bin] |
|
827 --sbindir=DIR system admin executables [EPREFIX/sbin] |
|
828 --libexecdir=DIR program executables [EPREFIX/libexec] |
|
829 --datadir=DIR read-only architecture-independent data [PREFIX/share] |
|
830 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
|
831 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
|
832 --localstatedir=DIR modifiable single-machine data [PREFIX/var] |
|
833 --libdir=DIR object code libraries [EPREFIX/lib] |
|
834 --includedir=DIR C header files [PREFIX/include] |
|
835 --oldincludedir=DIR C header files for non-gcc [/usr/include] |
|
836 --infodir=DIR info documentation [PREFIX/info] |
|
837 --mandir=DIR man documentation [PREFIX/man] |
|
838 _ACEOF |
|
839 |
|
840 cat <<\_ACEOF |
|
841 |
|
842 Program names: |
|
843 --program-prefix=PREFIX prepend PREFIX to installed program names |
|
844 --program-suffix=SUFFIX append SUFFIX to installed program names |
|
845 --program-transform-name=PROGRAM run sed PROGRAM on installed program names |
|
846 _ACEOF |
|
847 fi |
|
848 |
|
849 if test -n "$ac_init_help"; then |
|
850 |
|
851 cat <<\_ACEOF |
|
852 |
|
853 Optional Features: |
|
854 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
|
855 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
|
856 --enable-crypt Use only crypt(3) for authentication instead |
|
857 of the built-in MD5 password hashing. |
|
858 |
|
859 Optional Packages: |
|
860 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
|
861 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
|
862 --with-krb5 Use Kerberos5 for authentication. |
|
863 --with-vpwtable=type Use "type" database for storage of virtual |
|
864 password tables. Defaults to "cdb". |
|
865 |
|
866 Some influential environment variables: |
|
867 CC C compiler command |
|
868 CFLAGS C compiler flags |
|
869 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
|
870 nonstandard directory <lib dir> |
|
871 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have |
|
872 headers in a nonstandard directory <include dir> |
|
873 CXX C++ compiler command |
|
874 CXXFLAGS C++ compiler flags |
|
875 CPP C preprocessor |
|
876 |
|
877 Use these variables to override the choices made by `configure' or to help |
|
878 it to find libraries and programs with nonstandard names/locations. |
|
879 |
|
880 _ACEOF |
|
881 fi |
|
882 |
|
883 if test "$ac_init_help" = "recursive"; then |
|
884 # If there are subdirs, report their specific --help. |
|
885 ac_popdir=`pwd` |
|
886 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
|
887 test -d $ac_dir || continue |
|
888 ac_builddir=. |
|
889 |
|
890 if test "$ac_dir" != .; then |
|
891 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
|
892 # A "../" for each directory in $ac_dir_suffix. |
|
893 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` |
|
894 else |
|
895 ac_dir_suffix= ac_top_builddir= |
|
896 fi |
|
897 |
|
898 case $srcdir in |
|
899 .) # No --srcdir option. We are building in place. |
|
900 ac_srcdir=. |
|
901 if test -z "$ac_top_builddir"; then |
|
902 ac_top_srcdir=. |
|
903 else |
|
904 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` |
|
905 fi ;; |
|
906 [\\/]* | ?:[\\/]* ) # Absolute path. |
|
907 ac_srcdir=$srcdir$ac_dir_suffix; |
|
908 ac_top_srcdir=$srcdir ;; |
|
909 *) # Relative path. |
|
910 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
|
911 ac_top_srcdir=$ac_top_builddir$srcdir ;; |
|
912 esac |
|
913 |
|
914 # Do not use `cd foo && pwd` to compute absolute paths, because |
|
915 # the directories may not exist. |
|
916 case `pwd` in |
|
917 .) ac_abs_builddir="$ac_dir";; |
|
918 *) |
|
919 case "$ac_dir" in |
|
920 .) ac_abs_builddir=`pwd`;; |
|
921 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; |
|
922 *) ac_abs_builddir=`pwd`/"$ac_dir";; |
|
923 esac;; |
|
924 esac |
|
925 case $ac_abs_builddir in |
|
926 .) ac_abs_top_builddir=${ac_top_builddir}.;; |
|
927 *) |
|
928 case ${ac_top_builddir}. in |
|
929 .) ac_abs_top_builddir=$ac_abs_builddir;; |
|
930 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; |
|
931 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; |
|
932 esac;; |
|
933 esac |
|
934 case $ac_abs_builddir in |
|
935 .) ac_abs_srcdir=$ac_srcdir;; |
|
936 *) |
|
937 case $ac_srcdir in |
|
938 .) ac_abs_srcdir=$ac_abs_builddir;; |
|
939 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; |
|
940 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; |
|
941 esac;; |
|
942 esac |
|
943 case $ac_abs_builddir in |
|
944 .) ac_abs_top_srcdir=$ac_top_srcdir;; |
|
945 *) |
|
946 case $ac_top_srcdir in |
|
947 .) ac_abs_top_srcdir=$ac_abs_builddir;; |
|
948 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; |
|
949 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; |
|
950 esac;; |
|
951 esac |
|
952 |
|
953 cd $ac_dir |
|
954 # Check for guested configure; otherwise get Cygnus style configure. |
|
955 if test -f $ac_srcdir/configure.gnu; then |
|
956 echo |
|
957 $SHELL $ac_srcdir/configure.gnu --help=recursive |
|
958 elif test -f $ac_srcdir/configure; then |
|
959 echo |
|
960 $SHELL $ac_srcdir/configure --help=recursive |
|
961 elif test -f $ac_srcdir/configure.ac || |
|
962 test -f $ac_srcdir/configure.in; then |
|
963 echo |
|
964 $ac_configure --help |
|
965 else |
|
966 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
|
967 fi |
|
968 cd $ac_popdir |
|
969 done |
|
970 fi |
|
971 |
|
972 test -n "$ac_init_help" && exit 0 |
|
973 if $ac_init_version; then |
|
974 cat <<\_ACEOF |
|
975 |
|
976 Copyright (C) 2003 Free Software Foundation, Inc. |
|
977 This configure script is free software; the Free Software Foundation |
|
978 gives unlimited permission to copy, distribute and modify it. |
|
979 _ACEOF |
|
980 exit 0 |
|
981 fi |
|
982 exec 5>config.log |
|
983 cat >&5 <<_ACEOF |
|
984 This file contains any messages produced by compilers while |
|
985 running configure, to aid debugging if configure makes a mistake. |
|
986 |
|
987 It was created by $as_me, which was |
|
988 generated by GNU Autoconf 2.59. Invocation command line was |
|
989 |
|
990 $ $0 $@ |
|
991 |
|
992 _ACEOF |
|
993 { |
|
994 cat <<_ASUNAME |
|
995 ## --------- ## |
|
996 ## Platform. ## |
|
997 ## --------- ## |
|
998 |
|
999 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` |
|
1000 uname -m = `(uname -m) 2>/dev/null || echo unknown` |
|
1001 uname -r = `(uname -r) 2>/dev/null || echo unknown` |
|
1002 uname -s = `(uname -s) 2>/dev/null || echo unknown` |
|
1003 uname -v = `(uname -v) 2>/dev/null || echo unknown` |
|
1004 |
|
1005 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` |
|
1006 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` |
|
1007 |
|
1008 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` |
|
1009 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` |
|
1010 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` |
|
1011 hostinfo = `(hostinfo) 2>/dev/null || echo unknown` |
|
1012 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` |
|
1013 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` |
|
1014 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` |
|
1015 |
|
1016 _ASUNAME |
|
1017 |
|
1018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
1019 for as_dir in $PATH |
|
1020 do |
|
1021 IFS=$as_save_IFS |
|
1022 test -z "$as_dir" && as_dir=. |
|
1023 echo "PATH: $as_dir" |
|
1024 done |
|
1025 |
|
1026 } >&5 |
|
1027 |
|
1028 cat >&5 <<_ACEOF |
|
1029 |
|
1030 |
|
1031 ## ----------- ## |
|
1032 ## Core tests. ## |
|
1033 ## ----------- ## |
|
1034 |
|
1035 _ACEOF |
|
1036 |
|
1037 |
|
1038 # Keep a trace of the command line. |
|
1039 # Strip out --no-create and --no-recursion so they do not pile up. |
|
1040 # Strip out --silent because we don't want to record it for future runs. |
|
1041 # Also quote any args containing shell meta-characters. |
|
1042 # Make two passes to allow for proper duplicate-argument suppression. |
|
1043 ac_configure_args= |
|
1044 ac_configure_args0= |
|
1045 ac_configure_args1= |
|
1046 ac_sep= |
|
1047 ac_must_keep_next=false |
|
1048 for ac_pass in 1 2 |
|
1049 do |
|
1050 for ac_arg |
|
1051 do |
|
1052 case $ac_arg in |
|
1053 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
|
1054 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
|
1055 | -silent | --silent | --silen | --sile | --sil) |
|
1056 continue ;; |
|
1057 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) |
|
1058 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
|
1059 esac |
|
1060 case $ac_pass in |
|
1061 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; |
|
1062 2) |
|
1063 ac_configure_args1="$ac_configure_args1 '$ac_arg'" |
|
1064 if test $ac_must_keep_next = true; then |
|
1065 ac_must_keep_next=false # Got value, back to normal. |
|
1066 else |
|
1067 case $ac_arg in |
|
1068 *=* | --config-cache | -C | -disable-* | --disable-* \ |
|
1069 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
|
1070 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
|
1071 | -with-* | --with-* | -without-* | --without-* | --x) |
|
1072 case "$ac_configure_args0 " in |
|
1073 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
|
1074 esac |
|
1075 ;; |
|
1076 -* ) ac_must_keep_next=true ;; |
|
1077 esac |
|
1078 fi |
|
1079 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" |
|
1080 # Get rid of the leading space. |
|
1081 ac_sep=" " |
|
1082 ;; |
|
1083 esac |
|
1084 done |
|
1085 done |
|
1086 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } |
|
1087 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } |
|
1088 |
|
1089 # When interrupted or exit'd, cleanup temporary files, and complete |
|
1090 # config.log. We remove comments because anyway the quotes in there |
|
1091 # would cause problems or look ugly. |
|
1092 # WARNING: Be sure not to use single quotes in there, as some shells, |
|
1093 # such as our DU 5.0 friend, will then `close' the trap. |
|
1094 trap 'exit_status=$? |
|
1095 # Save into config.log some information that might help in debugging. |
|
1096 { |
|
1097 echo |
|
1098 |
|
1099 cat <<\_ASBOX |
|
1100 ## ---------------- ## |
|
1101 ## Cache variables. ## |
|
1102 ## ---------------- ## |
|
1103 _ASBOX |
|
1104 echo |
|
1105 # The following way of writing the cache mishandles newlines in values, |
|
1106 { |
|
1107 (set) 2>&1 | |
|
1108 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in |
|
1109 *ac_space=\ *) |
|
1110 sed -n \ |
|
1111 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; |
|
1112 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" |
|
1113 ;; |
|
1114 *) |
|
1115 sed -n \ |
|
1116 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
|
1117 ;; |
|
1118 esac; |
|
1119 } |
|
1120 echo |
|
1121 |
|
1122 cat <<\_ASBOX |
|
1123 ## ----------------- ## |
|
1124 ## Output variables. ## |
|
1125 ## ----------------- ## |
|
1126 _ASBOX |
|
1127 echo |
|
1128 for ac_var in $ac_subst_vars |
|
1129 do |
|
1130 eval ac_val=$`echo $ac_var` |
|
1131 echo "$ac_var='"'"'$ac_val'"'"'" |
|
1132 done | sort |
|
1133 echo |
|
1134 |
|
1135 if test -n "$ac_subst_files"; then |
|
1136 cat <<\_ASBOX |
|
1137 ## ------------- ## |
|
1138 ## Output files. ## |
|
1139 ## ------------- ## |
|
1140 _ASBOX |
|
1141 echo |
|
1142 for ac_var in $ac_subst_files |
|
1143 do |
|
1144 eval ac_val=$`echo $ac_var` |
|
1145 echo "$ac_var='"'"'$ac_val'"'"'" |
|
1146 done | sort |
|
1147 echo |
|
1148 fi |
|
1149 |
|
1150 if test -s confdefs.h; then |
|
1151 cat <<\_ASBOX |
|
1152 ## ----------- ## |
|
1153 ## confdefs.h. ## |
|
1154 ## ----------- ## |
|
1155 _ASBOX |
|
1156 echo |
|
1157 sed "/^$/d" confdefs.h | sort |
|
1158 echo |
|
1159 fi |
|
1160 test "$ac_signal" != 0 && |
|
1161 echo "$as_me: caught signal $ac_signal" |
|
1162 echo "$as_me: exit $exit_status" |
|
1163 } >&5 |
|
1164 rm -f core *.core && |
|
1165 rm -rf conftest* confdefs* conf$$* $ac_clean_files && |
|
1166 exit $exit_status |
|
1167 ' 0 |
|
1168 for ac_signal in 1 2 13 15; do |
|
1169 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal |
|
1170 done |
|
1171 ac_signal=0 |
|
1172 |
|
1173 # confdefs.h avoids OS command line length limits that DEFS can exceed. |
|
1174 rm -rf conftest* confdefs.h |
|
1175 # AIX cpp loses on an empty file, so make sure it contains at least a newline. |
|
1176 echo >confdefs.h |
|
1177 |
|
1178 # Predefined preprocessor variables. |
|
1179 |
|
1180 cat >>confdefs.h <<_ACEOF |
|
1181 #define PACKAGE_NAME "$PACKAGE_NAME" |
|
1182 _ACEOF |
|
1183 |
|
1184 |
|
1185 cat >>confdefs.h <<_ACEOF |
|
1186 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
|
1187 _ACEOF |
|
1188 |
|
1189 |
|
1190 cat >>confdefs.h <<_ACEOF |
|
1191 #define PACKAGE_VERSION "$PACKAGE_VERSION" |
|
1192 _ACEOF |
|
1193 |
|
1194 |
|
1195 cat >>confdefs.h <<_ACEOF |
|
1196 #define PACKAGE_STRING "$PACKAGE_STRING" |
|
1197 _ACEOF |
|
1198 |
|
1199 |
|
1200 cat >>confdefs.h <<_ACEOF |
|
1201 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
|
1202 _ACEOF |
|
1203 |
|
1204 |
|
1205 # Let the site file select an alternate cache file if it wants to. |
487 # Prefer explicitly selected file to automatically selected ones. |
1206 # Prefer explicitly selected file to automatically selected ones. |
488 if test -z "$CONFIG_SITE"; then |
1207 if test -z "$CONFIG_SITE"; then |
489 if test "x$prefix" != xNONE; then |
1208 if test "x$prefix" != xNONE; then |
490 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" |
1209 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" |
491 else |
1210 else |
492 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" |
1211 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" |
493 fi |
1212 fi |
494 fi |
1213 fi |
495 for ac_site_file in $CONFIG_SITE; do |
1214 for ac_site_file in $CONFIG_SITE; do |
496 if test -r "$ac_site_file"; then |
1215 if test -r "$ac_site_file"; then |
497 echo "loading site script $ac_site_file" |
1216 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 |
|
1217 echo "$as_me: loading site script $ac_site_file" >&6;} |
|
1218 sed 's/^/| /' "$ac_site_file" >&5 |
498 . "$ac_site_file" |
1219 . "$ac_site_file" |
499 fi |
1220 fi |
500 done |
1221 done |
501 |
1222 |
502 if test -r "$cache_file"; then |
1223 if test -r "$cache_file"; then |
503 echo "loading cache $cache_file" |
1224 # Some versions of bash will fail to source /dev/null (special |
504 . $cache_file |
1225 # files actually), so we avoid doing that. |
505 else |
1226 if test -f "$cache_file"; then |
506 echo "creating cache $cache_file" |
1227 { echo "$as_me:$LINENO: loading cache $cache_file" >&5 |
507 > $cache_file |
1228 echo "$as_me: loading cache $cache_file" >&6;} |
|
1229 case $cache_file in |
|
1230 [\\/]* | ?:[\\/]* ) . $cache_file;; |
|
1231 *) . ./$cache_file;; |
|
1232 esac |
|
1233 fi |
|
1234 else |
|
1235 { echo "$as_me:$LINENO: creating cache $cache_file" >&5 |
|
1236 echo "$as_me: creating cache $cache_file" >&6;} |
|
1237 >$cache_file |
|
1238 fi |
|
1239 |
|
1240 # Check that the precious variables saved in the cache have kept the same |
|
1241 # value. |
|
1242 ac_cache_corrupted=false |
|
1243 for ac_var in `(set) 2>&1 | |
|
1244 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do |
|
1245 eval ac_old_set=\$ac_cv_env_${ac_var}_set |
|
1246 eval ac_new_set=\$ac_env_${ac_var}_set |
|
1247 eval ac_old_val="\$ac_cv_env_${ac_var}_value" |
|
1248 eval ac_new_val="\$ac_env_${ac_var}_value" |
|
1249 case $ac_old_set,$ac_new_set in |
|
1250 set,) |
|
1251 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
|
1252 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
|
1253 ac_cache_corrupted=: ;; |
|
1254 ,set) |
|
1255 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 |
|
1256 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
|
1257 ac_cache_corrupted=: ;; |
|
1258 ,);; |
|
1259 *) |
|
1260 if test "x$ac_old_val" != "x$ac_new_val"; then |
|
1261 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 |
|
1262 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
|
1263 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 |
|
1264 echo "$as_me: former value: $ac_old_val" >&2;} |
|
1265 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 |
|
1266 echo "$as_me: current value: $ac_new_val" >&2;} |
|
1267 ac_cache_corrupted=: |
|
1268 fi;; |
|
1269 esac |
|
1270 # Pass precious variables to config.status. |
|
1271 if test "$ac_new_set" = set; then |
|
1272 case $ac_new_val in |
|
1273 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) |
|
1274 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
|
1275 *) ac_arg=$ac_var=$ac_new_val ;; |
|
1276 esac |
|
1277 case " $ac_configure_args " in |
|
1278 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
|
1279 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; |
|
1280 esac |
|
1281 fi |
|
1282 done |
|
1283 if $ac_cache_corrupted; then |
|
1284 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 |
|
1285 echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
|
1286 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 |
|
1287 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} |
|
1288 { (exit 1); exit 1; }; } |
508 fi |
1289 fi |
509 |
1290 |
510 ac_ext=c |
1291 ac_ext=c |
511 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
|
512 ac_cpp='$CPP $CPPFLAGS' |
1292 ac_cpp='$CPP $CPPFLAGS' |
513 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' |
1293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
514 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' |
1294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
515 cross_compiling=$ac_cv_prog_cc_cross |
1295 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
516 |
1296 |
517 ac_exeext= |
1297 |
518 ac_objext=o |
1298 |
519 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then |
1299 |
520 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu. |
1300 |
521 if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then |
1301 |
522 ac_n= ac_c=' |
1302 |
523 ' ac_t=' ' |
1303 |
524 else |
1304 |
525 ac_n=-n ac_c= ac_t= |
1305 |
526 fi |
1306 |
527 else |
1307 |
528 ac_n= ac_c='\c' ac_t= |
1308 |
529 fi |
1309 |
530 |
1310 |
531 |
1311 |
|
1312 |
|
1313 |
|
1314 |
|
1315 am__api_version="1.4" |
532 ac_aux_dir= |
1316 ac_aux_dir= |
533 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do |
1317 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do |
534 if test -f $ac_dir/install-sh; then |
1318 if test -f $ac_dir/install-sh; then |
535 ac_aux_dir=$ac_dir |
1319 ac_aux_dir=$ac_dir |
536 ac_install_sh="$ac_aux_dir/install-sh -c" |
1320 ac_install_sh="$ac_aux_dir/install-sh -c" |
537 break |
1321 break |
538 elif test -f $ac_dir/install.sh; then |
1322 elif test -f $ac_dir/install.sh; then |
539 ac_aux_dir=$ac_dir |
1323 ac_aux_dir=$ac_dir |
540 ac_install_sh="$ac_aux_dir/install.sh -c" |
1324 ac_install_sh="$ac_aux_dir/install.sh -c" |
541 break |
1325 break |
|
1326 elif test -f $ac_dir/shtool; then |
|
1327 ac_aux_dir=$ac_dir |
|
1328 ac_install_sh="$ac_aux_dir/shtool install -c" |
|
1329 break |
542 fi |
1330 fi |
543 done |
1331 done |
544 if test -z "$ac_aux_dir"; then |
1332 if test -z "$ac_aux_dir"; then |
545 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; } |
1333 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 |
546 fi |
1334 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} |
547 ac_config_guess=$ac_aux_dir/config.guess |
1335 { (exit 1); exit 1; }; } |
548 ac_config_sub=$ac_aux_dir/config.sub |
1336 fi |
549 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure. |
1337 ac_config_guess="$SHELL $ac_aux_dir/config.guess" |
|
1338 ac_config_sub="$SHELL $ac_aux_dir/config.sub" |
|
1339 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. |
550 |
1340 |
551 # Find a good install program. We prefer a C program (faster), |
1341 # Find a good install program. We prefer a C program (faster), |
552 # so one script is as good as another. But avoid the broken or |
1342 # so one script is as good as another. But avoid the broken or |
553 # incompatible versions: |
1343 # incompatible versions: |
554 # SysV /etc/install, /usr/sbin/install |
1344 # SysV /etc/install, /usr/sbin/install |
555 # SunOS /usr/etc/install |
1345 # SunOS /usr/etc/install |
556 # IRIX /sbin/install |
1346 # IRIX /sbin/install |
557 # AIX /bin/install |
1347 # AIX /bin/install |
|
1348 # AmigaOS /C/install, which installs bootblocks on floppy discs |
558 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
1349 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
559 # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
1350 # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
560 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
1351 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
|
1352 # OS/2's system install, which has a completely different semantic |
561 # ./install, which can be erroneously created by make from ./install.sh. |
1353 # ./install, which can be erroneously created by make from ./install.sh. |
562 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
1354 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
563 echo "configure:564: checking for a BSD compatible install" >&5 |
1355 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 |
564 if test -z "$INSTALL"; then |
1356 if test -z "$INSTALL"; then |
565 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then |
1357 if test "${ac_cv_path_install+set}" = set; then |
566 echo $ac_n "(cached) $ac_c" 1>&6 |
1358 echo $ECHO_N "(cached) $ECHO_C" >&6 |
567 else |
1359 else |
568 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" |
1360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
569 for ac_dir in $PATH; do |
1361 for as_dir in $PATH |
570 # Account for people who put trailing slashes in PATH elements. |
1362 do |
571 case "$ac_dir/" in |
1363 IFS=$as_save_IFS |
572 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;; |
1364 test -z "$as_dir" && as_dir=. |
573 *) |
1365 # Account for people who put trailing slashes in PATH elements. |
574 # OSF1 and SCO ODT 3.0 have their own names for install. |
1366 case $as_dir/ in |
575 # Don't use installbsd from OSF since it installs stuff as root |
1367 ./ | .// | /cC/* | \ |
576 # by default. |
1368 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
577 for ac_prog in ginstall scoinst install; do |
1369 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ |
578 if test -f $ac_dir/$ac_prog; then |
1370 /usr/ucb/* ) ;; |
|
1371 *) |
|
1372 # OSF1 and SCO ODT 3.0 have their own names for install. |
|
1373 # Don't use installbsd from OSF since it installs stuff as root |
|
1374 # by default. |
|
1375 for ac_prog in ginstall scoinst install; do |
|
1376 for ac_exec_ext in '' $ac_executable_extensions; do |
|
1377 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
579 if test $ac_prog = install && |
1378 if test $ac_prog = install && |
580 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then |
1379 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
581 # AIX install. It has an incompatible calling convention. |
1380 # AIX install. It has an incompatible calling convention. |
582 : |
1381 : |
|
1382 elif test $ac_prog = install && |
|
1383 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
|
1384 # program-specific install script used by HP pwplus--don't use. |
|
1385 : |
583 else |
1386 else |
584 ac_cv_path_install="$ac_dir/$ac_prog -c" |
1387 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
585 break 2 |
1388 break 3 |
586 fi |
1389 fi |
587 fi |
1390 fi |
588 done |
1391 done |
589 ;; |
1392 done |
590 esac |
1393 ;; |
591 done |
1394 esac |
592 IFS="$ac_save_IFS" |
1395 done |
|
1396 |
593 |
1397 |
594 fi |
1398 fi |
595 if test "${ac_cv_path_install+set}" = set; then |
1399 if test "${ac_cv_path_install+set}" = set; then |
596 INSTALL="$ac_cv_path_install" |
1400 INSTALL=$ac_cv_path_install |
597 else |
1401 else |
598 # As a last resort, use the slow shell script. We don't cache a |
1402 # As a last resort, use the slow shell script. We don't cache a |
599 # path for INSTALL within a source directory, because that will |
1403 # path for INSTALL within a source directory, because that will |
600 # break other packages using the cache if that directory is |
1404 # break other packages using the cache if that directory is |
601 # removed, or if the path is relative. |
1405 # removed, or if the path is relative. |
602 INSTALL="$ac_install_sh" |
1406 INSTALL=$ac_install_sh |
603 fi |
1407 fi |
604 fi |
1408 fi |
605 echo "$ac_t""$INSTALL" 1>&6 |
1409 echo "$as_me:$LINENO: result: $INSTALL" >&5 |
|
1410 echo "${ECHO_T}$INSTALL" >&6 |
606 |
1411 |
607 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
1412 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
608 # It thinks the first close brace ends the variable substitution. |
1413 # It thinks the first close brace ends the variable substitution. |
609 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
1414 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
610 |
1415 |
611 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}' |
1416 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
612 |
1417 |
613 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
1418 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
614 |
1419 |
615 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6 |
1420 echo "$as_me:$LINENO: checking whether build environment is sane" >&5 |
616 echo "configure:617: checking whether build environment is sane" >&5 |
1421 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6 |
617 # Just in case |
1422 # Just in case |
618 sleep 1 |
1423 sleep 1 |
619 echo timestamp > conftestfile |
1424 echo timestamp > conftestfile |
620 # Do `set' in a subshell so we don't clobber the current shell's |
1425 # Do `set' in a subshell so we don't clobber the current shell's |
621 # arguments. Must try -L first in case configure is actually a |
1426 # arguments. Must try -L first in case configure is actually a |
1696 SUFFIXES="$SUFFIXES .1 .5 .7 .8 .pod .html .texi .txt .ps .fig .sgml .py .pyc .pyo" |
3531 SUFFIXES="$SUFFIXES .1 .5 .7 .8 .pod .html .texi .txt .ps .fig .sgml .py .pyc .pyo" |
1697 |
3532 |
1698 |
3533 |
1699 |
3534 |
1700 |
3535 |
1701 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 |
3536 |
1702 echo "configure:1703: checking for crypt in -lcrypt" >&5 |
3537 |
1703 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` |
3538 echo "$as_me:$LINENO: checking for crypt in -lcrypt" >&5 |
1704 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
3539 echo $ECHO_N "checking for crypt in -lcrypt... $ECHO_C" >&6 |
1705 echo $ac_n "(cached) $ac_c" 1>&6 |
3540 if test "${ac_cv_lib_crypt_crypt+set}" = set; then |
1706 else |
3541 echo $ECHO_N "(cached) $ECHO_C" >&6 |
1707 ac_save_LIBS="$LIBS" |
3542 else |
|
3543 ac_check_lib_save_LIBS=$LIBS |
1708 LIBS="-lcrypt $LIBS" |
3544 LIBS="-lcrypt $LIBS" |
1709 cat > conftest.$ac_ext <<EOF |
3545 cat >conftest.$ac_ext <<_ACEOF |
1710 #line 1711 "configure" |
3546 /* confdefs.h. */ |
1711 #include "confdefs.h" |
3547 _ACEOF |
|
3548 cat confdefs.h >>conftest.$ac_ext |
|
3549 cat >>conftest.$ac_ext <<_ACEOF |
|
3550 /* end confdefs.h. */ |
|
3551 |
1712 /* Override any gcc2 internal prototype to avoid an error. */ |
3552 /* Override any gcc2 internal prototype to avoid an error. */ |
|
3553 #ifdef __cplusplus |
|
3554 extern "C" |
|
3555 #endif |
1713 /* We use char because int might match the return type of a gcc2 |
3556 /* We use char because int might match the return type of a gcc2 |
1714 builtin and then its argument prototype would still apply. */ |
3557 builtin and then its argument prototype would still apply. */ |
1715 char crypt(); |
3558 char crypt (); |
1716 |
3559 int |
1717 int main() { |
3560 main () |
1718 crypt() |
3561 { |
1719 ; return 0; } |
3562 crypt (); |
1720 EOF |
3563 ; |
1721 if { (eval echo configure:1722: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3564 return 0; |
1722 rm -rf conftest* |
3565 } |
1723 eval "ac_cv_lib_$ac_lib_var=yes" |
3566 _ACEOF |
1724 else |
3567 rm -f conftest.$ac_objext conftest$ac_exeext |
1725 echo "configure: failed program was:" >&5 |
3568 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
1726 cat conftest.$ac_ext >&5 |
3569 (eval $ac_link) 2>conftest.er1 |
1727 rm -rf conftest* |
3570 ac_status=$? |
1728 eval "ac_cv_lib_$ac_lib_var=no" |
3571 grep -v '^ *+' conftest.er1 >conftest.err |
1729 fi |
3572 rm -f conftest.er1 |
1730 rm -f conftest* |
3573 cat conftest.err >&5 |
1731 LIBS="$ac_save_LIBS" |
3574 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1732 |
3575 (exit $ac_status); } && |
1733 fi |
3576 { ac_try='test -z "$ac_c_werror_flag" |
1734 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
3577 || test ! -s conftest.err' |
1735 echo "$ac_t""yes" 1>&6 |
3578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
1736 ac_tr_lib=HAVE_LIB`echo crypt | sed -e 's/[^a-zA-Z0-9_]/_/g' \ |
3579 (eval $ac_try) 2>&5 |
1737 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` |
3580 ac_status=$? |
1738 cat >> confdefs.h <<EOF |
3581 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1739 #define $ac_tr_lib 1 |
3582 (exit $ac_status); }; } && |
1740 EOF |
3583 { ac_try='test -s conftest$ac_exeext' |
|
3584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
3585 (eval $ac_try) 2>&5 |
|
3586 ac_status=$? |
|
3587 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
3588 (exit $ac_status); }; }; then |
|
3589 ac_cv_lib_crypt_crypt=yes |
|
3590 else |
|
3591 echo "$as_me: failed program was:" >&5 |
|
3592 sed 's/^/| /' conftest.$ac_ext >&5 |
|
3593 |
|
3594 ac_cv_lib_crypt_crypt=no |
|
3595 fi |
|
3596 rm -f conftest.err conftest.$ac_objext \ |
|
3597 conftest$ac_exeext conftest.$ac_ext |
|
3598 LIBS=$ac_check_lib_save_LIBS |
|
3599 fi |
|
3600 echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_crypt" >&5 |
|
3601 echo "${ECHO_T}$ac_cv_lib_crypt_crypt" >&6 |
|
3602 if test $ac_cv_lib_crypt_crypt = yes; then |
|
3603 cat >>confdefs.h <<_ACEOF |
|
3604 #define HAVE_LIBCRYPT 1 |
|
3605 _ACEOF |
1741 |
3606 |
1742 LIBS="-lcrypt $LIBS" |
3607 LIBS="-lcrypt $LIBS" |
1743 |
3608 |
1744 else |
3609 fi |
1745 echo "$ac_t""no" 1>&6 |
3610 |
1746 fi |
3611 |
1747 |
3612 echo "$as_me:$LINENO: checking for socket in -linet" >&5 |
1748 echo $ac_n "checking for socket in -linet""... $ac_c" 1>&6 |
3613 echo $ECHO_N "checking for socket in -linet... $ECHO_C" >&6 |
1749 echo "configure:1750: checking for socket in -linet" >&5 |
3614 if test "${ac_cv_lib_inet_socket+set}" = set; then |
1750 ac_lib_var=`echo inet'_'socket | sed 'y%./+-%__p_%'` |
3615 echo $ECHO_N "(cached) $ECHO_C" >&6 |
1751 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
3616 else |
1752 echo $ac_n "(cached) $ac_c" 1>&6 |
3617 ac_check_lib_save_LIBS=$LIBS |
1753 else |
|
1754 ac_save_LIBS="$LIBS" |
|
1755 LIBS="-linet $LIBS" |
3618 LIBS="-linet $LIBS" |
1756 cat > conftest.$ac_ext <<EOF |
3619 cat >conftest.$ac_ext <<_ACEOF |
1757 #line 1758 "configure" |
3620 /* confdefs.h. */ |
1758 #include "confdefs.h" |
3621 _ACEOF |
|
3622 cat confdefs.h >>conftest.$ac_ext |
|
3623 cat >>conftest.$ac_ext <<_ACEOF |
|
3624 /* end confdefs.h. */ |
|
3625 |
1759 /* Override any gcc2 internal prototype to avoid an error. */ |
3626 /* Override any gcc2 internal prototype to avoid an error. */ |
|
3627 #ifdef __cplusplus |
|
3628 extern "C" |
|
3629 #endif |
1760 /* We use char because int might match the return type of a gcc2 |
3630 /* We use char because int might match the return type of a gcc2 |
1761 builtin and then its argument prototype would still apply. */ |
3631 builtin and then its argument prototype would still apply. */ |
1762 char socket(); |
3632 char socket (); |
1763 |
3633 int |
1764 int main() { |
3634 main () |
1765 socket() |
3635 { |
1766 ; return 0; } |
3636 socket (); |
1767 EOF |
3637 ; |
1768 if { (eval echo configure:1769: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3638 return 0; |
1769 rm -rf conftest* |
3639 } |
1770 eval "ac_cv_lib_$ac_lib_var=yes" |
3640 _ACEOF |
1771 else |
3641 rm -f conftest.$ac_objext conftest$ac_exeext |
1772 echo "configure: failed program was:" >&5 |
3642 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
1773 cat conftest.$ac_ext >&5 |
3643 (eval $ac_link) 2>conftest.er1 |
1774 rm -rf conftest* |
3644 ac_status=$? |
1775 eval "ac_cv_lib_$ac_lib_var=no" |
3645 grep -v '^ *+' conftest.er1 >conftest.err |
1776 fi |
3646 rm -f conftest.er1 |
1777 rm -f conftest* |
3647 cat conftest.err >&5 |
1778 LIBS="$ac_save_LIBS" |
3648 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1779 |
3649 (exit $ac_status); } && |
1780 fi |
3650 { ac_try='test -z "$ac_c_werror_flag" |
1781 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
3651 || test ! -s conftest.err' |
1782 echo "$ac_t""yes" 1>&6 |
3652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
1783 ac_tr_lib=HAVE_LIB`echo inet | sed -e 's/[^a-zA-Z0-9_]/_/g' \ |
3653 (eval $ac_try) 2>&5 |
1784 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` |
3654 ac_status=$? |
1785 cat >> confdefs.h <<EOF |
3655 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1786 #define $ac_tr_lib 1 |
3656 (exit $ac_status); }; } && |
1787 EOF |
3657 { ac_try='test -s conftest$ac_exeext' |
|
3658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
3659 (eval $ac_try) 2>&5 |
|
3660 ac_status=$? |
|
3661 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
3662 (exit $ac_status); }; }; then |
|
3663 ac_cv_lib_inet_socket=yes |
|
3664 else |
|
3665 echo "$as_me: failed program was:" >&5 |
|
3666 sed 's/^/| /' conftest.$ac_ext >&5 |
|
3667 |
|
3668 ac_cv_lib_inet_socket=no |
|
3669 fi |
|
3670 rm -f conftest.err conftest.$ac_objext \ |
|
3671 conftest$ac_exeext conftest.$ac_ext |
|
3672 LIBS=$ac_check_lib_save_LIBS |
|
3673 fi |
|
3674 echo "$as_me:$LINENO: result: $ac_cv_lib_inet_socket" >&5 |
|
3675 echo "${ECHO_T}$ac_cv_lib_inet_socket" >&6 |
|
3676 if test $ac_cv_lib_inet_socket = yes; then |
|
3677 cat >>confdefs.h <<_ACEOF |
|
3678 #define HAVE_LIBINET 1 |
|
3679 _ACEOF |
1788 |
3680 |
1789 LIBS="-linet $LIBS" |
3681 LIBS="-linet $LIBS" |
1790 |
3682 |
1791 else |
3683 fi |
1792 echo "$ac_t""no" 1>&6 |
3684 |
1793 fi |
3685 |
1794 |
3686 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5 |
1795 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6 |
3687 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6 |
1796 echo "configure:1797: checking for socket in -lsocket" >&5 |
3688 if test "${ac_cv_lib_socket_socket+set}" = set; then |
1797 ac_lib_var=`echo socket'_'socket | sed 'y%./+-%__p_%'` |
3689 echo $ECHO_N "(cached) $ECHO_C" >&6 |
1798 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
3690 else |
1799 echo $ac_n "(cached) $ac_c" 1>&6 |
3691 ac_check_lib_save_LIBS=$LIBS |
1800 else |
|
1801 ac_save_LIBS="$LIBS" |
|
1802 LIBS="-lsocket $LIBS" |
3692 LIBS="-lsocket $LIBS" |
1803 cat > conftest.$ac_ext <<EOF |
3693 cat >conftest.$ac_ext <<_ACEOF |
1804 #line 1805 "configure" |
3694 /* confdefs.h. */ |
1805 #include "confdefs.h" |
3695 _ACEOF |
|
3696 cat confdefs.h >>conftest.$ac_ext |
|
3697 cat >>conftest.$ac_ext <<_ACEOF |
|
3698 /* end confdefs.h. */ |
|
3699 |
1806 /* Override any gcc2 internal prototype to avoid an error. */ |
3700 /* Override any gcc2 internal prototype to avoid an error. */ |
|
3701 #ifdef __cplusplus |
|
3702 extern "C" |
|
3703 #endif |
1807 /* We use char because int might match the return type of a gcc2 |
3704 /* We use char because int might match the return type of a gcc2 |
1808 builtin and then its argument prototype would still apply. */ |
3705 builtin and then its argument prototype would still apply. */ |
1809 char socket(); |
3706 char socket (); |
1810 |
3707 int |
1811 int main() { |
3708 main () |
1812 socket() |
3709 { |
1813 ; return 0; } |
3710 socket (); |
1814 EOF |
3711 ; |
1815 if { (eval echo configure:1816: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3712 return 0; |
1816 rm -rf conftest* |
3713 } |
1817 eval "ac_cv_lib_$ac_lib_var=yes" |
3714 _ACEOF |
1818 else |
3715 rm -f conftest.$ac_objext conftest$ac_exeext |
1819 echo "configure: failed program was:" >&5 |
3716 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
1820 cat conftest.$ac_ext >&5 |
3717 (eval $ac_link) 2>conftest.er1 |
1821 rm -rf conftest* |
3718 ac_status=$? |
1822 eval "ac_cv_lib_$ac_lib_var=no" |
3719 grep -v '^ *+' conftest.er1 >conftest.err |
1823 fi |
3720 rm -f conftest.er1 |
1824 rm -f conftest* |
3721 cat conftest.err >&5 |
1825 LIBS="$ac_save_LIBS" |
3722 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1826 |
3723 (exit $ac_status); } && |
1827 fi |
3724 { ac_try='test -z "$ac_c_werror_flag" |
1828 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
3725 || test ! -s conftest.err' |
1829 echo "$ac_t""yes" 1>&6 |
3726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
1830 ac_tr_lib=HAVE_LIB`echo socket | sed -e 's/[^a-zA-Z0-9_]/_/g' \ |
3727 (eval $ac_try) 2>&5 |
1831 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` |
3728 ac_status=$? |
1832 cat >> confdefs.h <<EOF |
3729 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1833 #define $ac_tr_lib 1 |
3730 (exit $ac_status); }; } && |
1834 EOF |
3731 { ac_try='test -s conftest$ac_exeext' |
|
3732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
3733 (eval $ac_try) 2>&5 |
|
3734 ac_status=$? |
|
3735 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
3736 (exit $ac_status); }; }; then |
|
3737 ac_cv_lib_socket_socket=yes |
|
3738 else |
|
3739 echo "$as_me: failed program was:" >&5 |
|
3740 sed 's/^/| /' conftest.$ac_ext >&5 |
|
3741 |
|
3742 ac_cv_lib_socket_socket=no |
|
3743 fi |
|
3744 rm -f conftest.err conftest.$ac_objext \ |
|
3745 conftest$ac_exeext conftest.$ac_ext |
|
3746 LIBS=$ac_check_lib_save_LIBS |
|
3747 fi |
|
3748 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5 |
|
3749 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6 |
|
3750 if test $ac_cv_lib_socket_socket = yes; then |
|
3751 cat >>confdefs.h <<_ACEOF |
|
3752 #define HAVE_LIBSOCKET 1 |
|
3753 _ACEOF |
1835 |
3754 |
1836 LIBS="-lsocket $LIBS" |
3755 LIBS="-lsocket $LIBS" |
1837 |
3756 |
1838 else |
3757 fi |
1839 echo "$ac_t""no" 1>&6 |
3758 |
1840 fi |
3759 |
1841 |
3760 echo "$as_me:$LINENO: checking for socket in -lxnet" >&5 |
1842 echo $ac_n "checking for socket in -lxnet""... $ac_c" 1>&6 |
3761 echo $ECHO_N "checking for socket in -lxnet... $ECHO_C" >&6 |
1843 echo "configure:1844: checking for socket in -lxnet" >&5 |
3762 if test "${ac_cv_lib_xnet_socket+set}" = set; then |
1844 ac_lib_var=`echo xnet'_'socket | sed 'y%./+-%__p_%'` |
3763 echo $ECHO_N "(cached) $ECHO_C" >&6 |
1845 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
3764 else |
1846 echo $ac_n "(cached) $ac_c" 1>&6 |
3765 ac_check_lib_save_LIBS=$LIBS |
1847 else |
|
1848 ac_save_LIBS="$LIBS" |
|
1849 LIBS="-lxnet $LIBS" |
3766 LIBS="-lxnet $LIBS" |
1850 cat > conftest.$ac_ext <<EOF |
3767 cat >conftest.$ac_ext <<_ACEOF |
1851 #line 1852 "configure" |
3768 /* confdefs.h. */ |
1852 #include "confdefs.h" |
3769 _ACEOF |
|
3770 cat confdefs.h >>conftest.$ac_ext |
|
3771 cat >>conftest.$ac_ext <<_ACEOF |
|
3772 /* end confdefs.h. */ |
|
3773 |
1853 /* Override any gcc2 internal prototype to avoid an error. */ |
3774 /* Override any gcc2 internal prototype to avoid an error. */ |
|
3775 #ifdef __cplusplus |
|
3776 extern "C" |
|
3777 #endif |
1854 /* We use char because int might match the return type of a gcc2 |
3778 /* We use char because int might match the return type of a gcc2 |
1855 builtin and then its argument prototype would still apply. */ |
3779 builtin and then its argument prototype would still apply. */ |
1856 char socket(); |
3780 char socket (); |
1857 |
3781 int |
1858 int main() { |
3782 main () |
1859 socket() |
3783 { |
1860 ; return 0; } |
3784 socket (); |
1861 EOF |
3785 ; |
1862 if { (eval echo configure:1863: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3786 return 0; |
1863 rm -rf conftest* |
3787 } |
1864 eval "ac_cv_lib_$ac_lib_var=yes" |
3788 _ACEOF |
1865 else |
3789 rm -f conftest.$ac_objext conftest$ac_exeext |
1866 echo "configure: failed program was:" >&5 |
3790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
1867 cat conftest.$ac_ext >&5 |
3791 (eval $ac_link) 2>conftest.er1 |
1868 rm -rf conftest* |
3792 ac_status=$? |
1869 eval "ac_cv_lib_$ac_lib_var=no" |
3793 grep -v '^ *+' conftest.er1 >conftest.err |
1870 fi |
3794 rm -f conftest.er1 |
1871 rm -f conftest* |
3795 cat conftest.err >&5 |
1872 LIBS="$ac_save_LIBS" |
3796 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1873 |
3797 (exit $ac_status); } && |
1874 fi |
3798 { ac_try='test -z "$ac_c_werror_flag" |
1875 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
3799 || test ! -s conftest.err' |
1876 echo "$ac_t""yes" 1>&6 |
3800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
1877 ac_tr_lib=HAVE_LIB`echo xnet | sed -e 's/[^a-zA-Z0-9_]/_/g' \ |
3801 (eval $ac_try) 2>&5 |
1878 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` |
3802 ac_status=$? |
1879 cat >> confdefs.h <<EOF |
3803 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1880 #define $ac_tr_lib 1 |
3804 (exit $ac_status); }; } && |
1881 EOF |
3805 { ac_try='test -s conftest$ac_exeext' |
|
3806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
3807 (eval $ac_try) 2>&5 |
|
3808 ac_status=$? |
|
3809 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
3810 (exit $ac_status); }; }; then |
|
3811 ac_cv_lib_xnet_socket=yes |
|
3812 else |
|
3813 echo "$as_me: failed program was:" >&5 |
|
3814 sed 's/^/| /' conftest.$ac_ext >&5 |
|
3815 |
|
3816 ac_cv_lib_xnet_socket=no |
|
3817 fi |
|
3818 rm -f conftest.err conftest.$ac_objext \ |
|
3819 conftest$ac_exeext conftest.$ac_ext |
|
3820 LIBS=$ac_check_lib_save_LIBS |
|
3821 fi |
|
3822 echo "$as_me:$LINENO: result: $ac_cv_lib_xnet_socket" >&5 |
|
3823 echo "${ECHO_T}$ac_cv_lib_xnet_socket" >&6 |
|
3824 if test $ac_cv_lib_xnet_socket = yes; then |
|
3825 cat >>confdefs.h <<_ACEOF |
|
3826 #define HAVE_LIBXNET 1 |
|
3827 _ACEOF |
1882 |
3828 |
1883 LIBS="-lxnet $LIBS" |
3829 LIBS="-lxnet $LIBS" |
1884 |
3830 |
1885 else |
3831 fi |
1886 echo "$ac_t""no" 1>&6 |
3832 |
1887 fi |
3833 |
|
3834 |
|
3835 |
|
3836 |
1888 |
3837 |
1889 |
3838 |
1890 ac_header_dirent=no |
3839 ac_header_dirent=no |
1891 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h |
3840 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do |
1892 do |
3841 as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` |
1893 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
3842 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5 |
1894 echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6 |
3843 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6 |
1895 echo "configure:1896: checking for $ac_hdr that defines DIR" >&5 |
3844 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
1896 if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then |
3845 echo $ECHO_N "(cached) $ECHO_C" >&6 |
1897 echo $ac_n "(cached) $ac_c" 1>&6 |
3846 else |
1898 else |
3847 cat >conftest.$ac_ext <<_ACEOF |
1899 cat > conftest.$ac_ext <<EOF |
3848 /* confdefs.h. */ |
1900 #line 1901 "configure" |
3849 _ACEOF |
1901 #include "confdefs.h" |
3850 cat confdefs.h >>conftest.$ac_ext |
|
3851 cat >>conftest.$ac_ext <<_ACEOF |
|
3852 /* end confdefs.h. */ |
1902 #include <sys/types.h> |
3853 #include <sys/types.h> |
1903 #include <$ac_hdr> |
3854 #include <$ac_hdr> |
1904 int main() { |
3855 |
1905 DIR *dirp = 0; |
3856 int |
1906 ; return 0; } |
3857 main () |
1907 EOF |
3858 { |
1908 if { (eval echo configure:1909: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3859 if ((DIR *) 0) |
1909 rm -rf conftest* |
3860 return 0; |
1910 eval "ac_cv_header_dirent_$ac_safe=yes" |
3861 ; |
1911 else |
3862 return 0; |
1912 echo "configure: failed program was:" >&5 |
3863 } |
1913 cat conftest.$ac_ext >&5 |
3864 _ACEOF |
1914 rm -rf conftest* |
3865 rm -f conftest.$ac_objext |
1915 eval "ac_cv_header_dirent_$ac_safe=no" |
3866 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
1916 fi |
3867 (eval $ac_compile) 2>conftest.er1 |
1917 rm -f conftest* |
3868 ac_status=$? |
1918 fi |
3869 grep -v '^ *+' conftest.er1 >conftest.err |
1919 if eval "test \"`echo '$ac_cv_header_dirent_'$ac_safe`\" = yes"; then |
3870 rm -f conftest.er1 |
1920 echo "$ac_t""yes" 1>&6 |
3871 cat conftest.err >&5 |
1921 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` |
3872 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1922 cat >> confdefs.h <<EOF |
3873 (exit $ac_status); } && |
1923 #define $ac_tr_hdr 1 |
3874 { ac_try='test -z "$ac_c_werror_flag" |
1924 EOF |
3875 || test ! -s conftest.err' |
1925 ac_header_dirent=$ac_hdr; break |
3876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
1926 else |
3877 (eval $ac_try) 2>&5 |
1927 echo "$ac_t""no" 1>&6 |
3878 ac_status=$? |
1928 fi |
3879 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
3880 (exit $ac_status); }; } && |
|
3881 { ac_try='test -s conftest.$ac_objext' |
|
3882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
3883 (eval $ac_try) 2>&5 |
|
3884 ac_status=$? |
|
3885 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
3886 (exit $ac_status); }; }; then |
|
3887 eval "$as_ac_Header=yes" |
|
3888 else |
|
3889 echo "$as_me: failed program was:" >&5 |
|
3890 sed 's/^/| /' conftest.$ac_ext >&5 |
|
3891 |
|
3892 eval "$as_ac_Header=no" |
|
3893 fi |
|
3894 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
3895 fi |
|
3896 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
|
3897 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
|
3898 if test `eval echo '${'$as_ac_Header'}'` = yes; then |
|
3899 cat >>confdefs.h <<_ACEOF |
|
3900 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1 |
|
3901 _ACEOF |
|
3902 |
|
3903 ac_header_dirent=$ac_hdr; break |
|
3904 fi |
|
3905 |
1929 done |
3906 done |
1930 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. |
3907 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. |
1931 if test $ac_header_dirent = dirent.h; then |
3908 if test $ac_header_dirent = dirent.h; then |
1932 echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6 |
3909 echo "$as_me:$LINENO: checking for library containing opendir" >&5 |
1933 echo "configure:1934: checking for opendir in -ldir" >&5 |
3910 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6 |
1934 ac_lib_var=`echo dir'_'opendir | sed 'y%./+-%__p_%'` |
3911 if test "${ac_cv_search_opendir+set}" = set; then |
1935 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
3912 echo $ECHO_N "(cached) $ECHO_C" >&6 |
1936 echo $ac_n "(cached) $ac_c" 1>&6 |
3913 else |
1937 else |
3914 ac_func_search_save_LIBS=$LIBS |
1938 ac_save_LIBS="$LIBS" |
3915 ac_cv_search_opendir=no |
1939 LIBS="-ldir $LIBS" |
3916 cat >conftest.$ac_ext <<_ACEOF |
1940 cat > conftest.$ac_ext <<EOF |
3917 /* confdefs.h. */ |
1941 #line 1942 "configure" |
3918 _ACEOF |
1942 #include "confdefs.h" |
3919 cat confdefs.h >>conftest.$ac_ext |
|
3920 cat >>conftest.$ac_ext <<_ACEOF |
|
3921 /* end confdefs.h. */ |
|
3922 |
1943 /* Override any gcc2 internal prototype to avoid an error. */ |
3923 /* Override any gcc2 internal prototype to avoid an error. */ |
|
3924 #ifdef __cplusplus |
|
3925 extern "C" |
|
3926 #endif |
1944 /* We use char because int might match the return type of a gcc2 |
3927 /* We use char because int might match the return type of a gcc2 |
1945 builtin and then its argument prototype would still apply. */ |
3928 builtin and then its argument prototype would still apply. */ |
1946 char opendir(); |
3929 char opendir (); |
1947 |
3930 int |
1948 int main() { |
3931 main () |
1949 opendir() |
3932 { |
1950 ; return 0; } |
3933 opendir (); |
1951 EOF |
3934 ; |
1952 if { (eval echo configure:1953: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3935 return 0; |
1953 rm -rf conftest* |
3936 } |
1954 eval "ac_cv_lib_$ac_lib_var=yes" |
3937 _ACEOF |
1955 else |
3938 rm -f conftest.$ac_objext conftest$ac_exeext |
1956 echo "configure: failed program was:" >&5 |
3939 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
1957 cat conftest.$ac_ext >&5 |
3940 (eval $ac_link) 2>conftest.er1 |
1958 rm -rf conftest* |
3941 ac_status=$? |
1959 eval "ac_cv_lib_$ac_lib_var=no" |
3942 grep -v '^ *+' conftest.er1 >conftest.err |
1960 fi |
3943 rm -f conftest.er1 |
1961 rm -f conftest* |
3944 cat conftest.err >&5 |
1962 LIBS="$ac_save_LIBS" |
3945 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1963 |
3946 (exit $ac_status); } && |
1964 fi |
3947 { ac_try='test -z "$ac_c_werror_flag" |
1965 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
3948 || test ! -s conftest.err' |
1966 echo "$ac_t""yes" 1>&6 |
3949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
1967 LIBS="$LIBS -ldir" |
3950 (eval $ac_try) 2>&5 |
1968 else |
3951 ac_status=$? |
1969 echo "$ac_t""no" 1>&6 |
3952 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1970 fi |
3953 (exit $ac_status); }; } && |
1971 |
3954 { ac_try='test -s conftest$ac_exeext' |
1972 else |
3955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
1973 echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6 |
3956 (eval $ac_try) 2>&5 |
1974 echo "configure:1975: checking for opendir in -lx" >&5 |
3957 ac_status=$? |
1975 ac_lib_var=`echo x'_'opendir | sed 'y%./+-%__p_%'` |
3958 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1976 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
3959 (exit $ac_status); }; }; then |
1977 echo $ac_n "(cached) $ac_c" 1>&6 |
3960 ac_cv_search_opendir="none required" |
1978 else |
3961 else |
1979 ac_save_LIBS="$LIBS" |
3962 echo "$as_me: failed program was:" >&5 |
1980 LIBS="-lx $LIBS" |
3963 sed 's/^/| /' conftest.$ac_ext >&5 |
1981 cat > conftest.$ac_ext <<EOF |
3964 |
1982 #line 1983 "configure" |
3965 fi |
1983 #include "confdefs.h" |
3966 rm -f conftest.err conftest.$ac_objext \ |
|
3967 conftest$ac_exeext conftest.$ac_ext |
|
3968 if test "$ac_cv_search_opendir" = no; then |
|
3969 for ac_lib in dir; do |
|
3970 LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
|
3971 cat >conftest.$ac_ext <<_ACEOF |
|
3972 /* confdefs.h. */ |
|
3973 _ACEOF |
|
3974 cat confdefs.h >>conftest.$ac_ext |
|
3975 cat >>conftest.$ac_ext <<_ACEOF |
|
3976 /* end confdefs.h. */ |
|
3977 |
1984 /* Override any gcc2 internal prototype to avoid an error. */ |
3978 /* Override any gcc2 internal prototype to avoid an error. */ |
|
3979 #ifdef __cplusplus |
|
3980 extern "C" |
|
3981 #endif |
1985 /* We use char because int might match the return type of a gcc2 |
3982 /* We use char because int might match the return type of a gcc2 |
1986 builtin and then its argument prototype would still apply. */ |
3983 builtin and then its argument prototype would still apply. */ |
1987 char opendir(); |
3984 char opendir (); |
1988 |
3985 int |
1989 int main() { |
3986 main () |
1990 opendir() |
3987 { |
1991 ; return 0; } |
3988 opendir (); |
1992 EOF |
3989 ; |
1993 if { (eval echo configure:1994: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3990 return 0; |
1994 rm -rf conftest* |
3991 } |
1995 eval "ac_cv_lib_$ac_lib_var=yes" |
3992 _ACEOF |
1996 else |
3993 rm -f conftest.$ac_objext conftest$ac_exeext |
1997 echo "configure: failed program was:" >&5 |
3994 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
1998 cat conftest.$ac_ext >&5 |
3995 (eval $ac_link) 2>conftest.er1 |
1999 rm -rf conftest* |
3996 ac_status=$? |
2000 eval "ac_cv_lib_$ac_lib_var=no" |
3997 grep -v '^ *+' conftest.er1 >conftest.err |
2001 fi |
3998 rm -f conftest.er1 |
2002 rm -f conftest* |
3999 cat conftest.err >&5 |
2003 LIBS="$ac_save_LIBS" |
4000 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2004 |
4001 (exit $ac_status); } && |
2005 fi |
4002 { ac_try='test -z "$ac_c_werror_flag" |
2006 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
4003 || test ! -s conftest.err' |
2007 echo "$ac_t""yes" 1>&6 |
4004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2008 LIBS="$LIBS -lx" |
4005 (eval $ac_try) 2>&5 |
2009 else |
4006 ac_status=$? |
2010 echo "$ac_t""no" 1>&6 |
4007 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2011 fi |
4008 (exit $ac_status); }; } && |
2012 |
4009 { ac_try='test -s conftest$ac_exeext' |
2013 fi |
4010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2014 |
4011 (eval $ac_try) 2>&5 |
2015 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 |
4012 ac_status=$? |
2016 echo "configure:2017: checking how to run the C preprocessor" >&5 |
4013 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
4014 (exit $ac_status); }; }; then |
|
4015 ac_cv_search_opendir="-l$ac_lib" |
|
4016 break |
|
4017 else |
|
4018 echo "$as_me: failed program was:" >&5 |
|
4019 sed 's/^/| /' conftest.$ac_ext >&5 |
|
4020 |
|
4021 fi |
|
4022 rm -f conftest.err conftest.$ac_objext \ |
|
4023 conftest$ac_exeext conftest.$ac_ext |
|
4024 done |
|
4025 fi |
|
4026 LIBS=$ac_func_search_save_LIBS |
|
4027 fi |
|
4028 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 |
|
4029 echo "${ECHO_T}$ac_cv_search_opendir" >&6 |
|
4030 if test "$ac_cv_search_opendir" != no; then |
|
4031 test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS" |
|
4032 |
|
4033 fi |
|
4034 |
|
4035 else |
|
4036 echo "$as_me:$LINENO: checking for library containing opendir" >&5 |
|
4037 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6 |
|
4038 if test "${ac_cv_search_opendir+set}" = set; then |
|
4039 echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
4040 else |
|
4041 ac_func_search_save_LIBS=$LIBS |
|
4042 ac_cv_search_opendir=no |
|
4043 cat >conftest.$ac_ext <<_ACEOF |
|
4044 /* confdefs.h. */ |
|
4045 _ACEOF |
|
4046 cat confdefs.h >>conftest.$ac_ext |
|
4047 cat >>conftest.$ac_ext <<_ACEOF |
|
4048 /* end confdefs.h. */ |
|
4049 |
|
4050 /* Override any gcc2 internal prototype to avoid an error. */ |
|
4051 #ifdef __cplusplus |
|
4052 extern "C" |
|
4053 #endif |
|
4054 /* We use char because int might match the return type of a gcc2 |
|
4055 builtin and then its argument prototype would still apply. */ |
|
4056 char opendir (); |
|
4057 int |
|
4058 main () |
|
4059 { |
|
4060 opendir (); |
|
4061 ; |
|
4062 return 0; |
|
4063 } |
|
4064 _ACEOF |
|
4065 rm -f conftest.$ac_objext conftest$ac_exeext |
|
4066 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
4067 (eval $ac_link) 2>conftest.er1 |
|
4068 ac_status=$? |
|
4069 grep -v '^ *+' conftest.er1 >conftest.err |
|
4070 rm -f conftest.er1 |
|
4071 cat conftest.err >&5 |
|
4072 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
4073 (exit $ac_status); } && |
|
4074 { ac_try='test -z "$ac_c_werror_flag" |
|
4075 || test ! -s conftest.err' |
|
4076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
4077 (eval $ac_try) 2>&5 |
|
4078 ac_status=$? |
|
4079 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
4080 (exit $ac_status); }; } && |
|
4081 { ac_try='test -s conftest$ac_exeext' |
|
4082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
4083 (eval $ac_try) 2>&5 |
|
4084 ac_status=$? |
|
4085 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
4086 (exit $ac_status); }; }; then |
|
4087 ac_cv_search_opendir="none required" |
|
4088 else |
|
4089 echo "$as_me: failed program was:" >&5 |
|
4090 sed 's/^/| /' conftest.$ac_ext >&5 |
|
4091 |
|
4092 fi |
|
4093 rm -f conftest.err conftest.$ac_objext \ |
|
4094 conftest$ac_exeext conftest.$ac_ext |
|
4095 if test "$ac_cv_search_opendir" = no; then |
|
4096 for ac_lib in x; do |
|
4097 LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
|
4098 cat >conftest.$ac_ext <<_ACEOF |
|
4099 /* confdefs.h. */ |
|
4100 _ACEOF |
|
4101 cat confdefs.h >>conftest.$ac_ext |
|
4102 cat >>conftest.$ac_ext <<_ACEOF |
|
4103 /* end confdefs.h. */ |
|
4104 |
|
4105 /* Override any gcc2 internal prototype to avoid an error. */ |
|
4106 #ifdef __cplusplus |
|
4107 extern "C" |
|
4108 #endif |
|
4109 /* We use char because int might match the return type of a gcc2 |
|
4110 builtin and then its argument prototype would still apply. */ |
|
4111 char opendir (); |
|
4112 int |
|
4113 main () |
|
4114 { |
|
4115 opendir (); |
|
4116 ; |
|
4117 return 0; |
|
4118 } |
|
4119 _ACEOF |
|
4120 rm -f conftest.$ac_objext conftest$ac_exeext |
|
4121 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
4122 (eval $ac_link) 2>conftest.er1 |
|
4123 ac_status=$? |
|
4124 grep -v '^ *+' conftest.er1 >conftest.err |
|
4125 rm -f conftest.er1 |
|
4126 cat conftest.err >&5 |
|
4127 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
4128 (exit $ac_status); } && |
|
4129 { ac_try='test -z "$ac_c_werror_flag" |
|
4130 || test ! -s conftest.err' |
|
4131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
4132 (eval $ac_try) 2>&5 |
|
4133 ac_status=$? |
|
4134 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
4135 (exit $ac_status); }; } && |
|
4136 { ac_try='test -s conftest$ac_exeext' |
|
4137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
4138 (eval $ac_try) 2>&5 |
|
4139 ac_status=$? |
|
4140 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
4141 (exit $ac_status); }; }; then |
|
4142 ac_cv_search_opendir="-l$ac_lib" |
|
4143 break |
|
4144 else |
|
4145 echo "$as_me: failed program was:" >&5 |
|
4146 sed 's/^/| /' conftest.$ac_ext >&5 |
|
4147 |
|
4148 fi |
|
4149 rm -f conftest.err conftest.$ac_objext \ |
|
4150 conftest$ac_exeext conftest.$ac_ext |
|
4151 done |
|
4152 fi |
|
4153 LIBS=$ac_func_search_save_LIBS |
|
4154 fi |
|
4155 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 |
|
4156 echo "${ECHO_T}$ac_cv_search_opendir" >&6 |
|
4157 if test "$ac_cv_search_opendir" != no; then |
|
4158 test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS" |
|
4159 |
|
4160 fi |
|
4161 |
|
4162 fi |
|
4163 |
|
4164 ac_ext=c |
|
4165 ac_cpp='$CPP $CPPFLAGS' |
|
4166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
4167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
4168 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
4169 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 |
|
4170 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 |
2017 # On Suns, sometimes $CPP names a directory. |
4171 # On Suns, sometimes $CPP names a directory. |
2018 if test -n "$CPP" && test -d "$CPP"; then |
4172 if test -n "$CPP" && test -d "$CPP"; then |
2019 CPP= |
4173 CPP= |
2020 fi |
4174 fi |
2021 if test -z "$CPP"; then |
4175 if test -z "$CPP"; then |
2022 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then |
4176 if test "${ac_cv_prog_CPP+set}" = set; then |
2023 echo $ac_n "(cached) $ac_c" 1>&6 |
4177 echo $ECHO_N "(cached) $ECHO_C" >&6 |
2024 else |
4178 else |
2025 # This must be in double quotes, not single quotes, because CPP may get |
4179 # Double quotes because CPP needs to be expanded |
2026 # substituted into the Makefile and "${CC-cc}" will confuse make. |
4180 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
2027 CPP="${CC-cc} -E" |
4181 do |
|
4182 ac_preproc_ok=false |
|
4183 for ac_c_preproc_warn_flag in '' yes |
|
4184 do |
|
4185 # Use a header file that comes with gcc, so configuring glibc |
|
4186 # with a fresh cross-compiler works. |
|
4187 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
4188 # <limits.h> exists even on freestanding compilers. |
2028 # On the NeXT, cc -E runs the code through the compiler's parser, |
4189 # On the NeXT, cc -E runs the code through the compiler's parser, |
2029 # not just through cpp. |
4190 # not just through cpp. "Syntax error" is here to catch this case. |
2030 cat > conftest.$ac_ext <<EOF |
4191 cat >conftest.$ac_ext <<_ACEOF |
2031 #line 2032 "configure" |
4192 /* confdefs.h. */ |
2032 #include "confdefs.h" |
4193 _ACEOF |
2033 #include <assert.h> |
4194 cat confdefs.h >>conftest.$ac_ext |
2034 Syntax Error |
4195 cat >>conftest.$ac_ext <<_ACEOF |
2035 EOF |
4196 /* end confdefs.h. */ |
2036 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
4197 #ifdef __STDC__ |
2037 { (eval echo configure:2038: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
4198 # include <limits.h> |
2038 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
4199 #else |
2039 if test -z "$ac_err"; then |
4200 # include <assert.h> |
|
4201 #endif |
|
4202 Syntax error |
|
4203 _ACEOF |
|
4204 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
|
4205 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
|
4206 ac_status=$? |
|
4207 grep -v '^ *+' conftest.er1 >conftest.err |
|
4208 rm -f conftest.er1 |
|
4209 cat conftest.err >&5 |
|
4210 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
4211 (exit $ac_status); } >/dev/null; then |
|
4212 if test -s conftest.err; then |
|
4213 ac_cpp_err=$ac_c_preproc_warn_flag |
|
4214 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
|
4215 else |
|
4216 ac_cpp_err= |
|
4217 fi |
|
4218 else |
|
4219 ac_cpp_err=yes |
|
4220 fi |
|
4221 if test -z "$ac_cpp_err"; then |
2040 : |
4222 : |
2041 else |
4223 else |
2042 echo "$ac_err" >&5 |
4224 echo "$as_me: failed program was:" >&5 |
2043 echo "configure: failed program was:" >&5 |
4225 sed 's/^/| /' conftest.$ac_ext >&5 |
2044 cat conftest.$ac_ext >&5 |
4226 |
2045 rm -rf conftest* |
4227 # Broken: fails on valid input. |
2046 CPP="${CC-cc} -E -traditional-cpp" |
4228 continue |
2047 cat > conftest.$ac_ext <<EOF |
4229 fi |
2048 #line 2049 "configure" |
4230 rm -f conftest.err conftest.$ac_ext |
2049 #include "confdefs.h" |
4231 |
2050 #include <assert.h> |
4232 # OK, works on sane cases. Now check whether non-existent headers |
2051 Syntax Error |
4233 # can be detected and how. |
2052 EOF |
4234 cat >conftest.$ac_ext <<_ACEOF |
2053 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
4235 /* confdefs.h. */ |
2054 { (eval echo configure:2055: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
4236 _ACEOF |
2055 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
4237 cat confdefs.h >>conftest.$ac_ext |
2056 if test -z "$ac_err"; then |
4238 cat >>conftest.$ac_ext <<_ACEOF |
|
4239 /* end confdefs.h. */ |
|
4240 #include <ac_nonexistent.h> |
|
4241 _ACEOF |
|
4242 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
|
4243 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
|
4244 ac_status=$? |
|
4245 grep -v '^ *+' conftest.er1 >conftest.err |
|
4246 rm -f conftest.er1 |
|
4247 cat conftest.err >&5 |
|
4248 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
4249 (exit $ac_status); } >/dev/null; then |
|
4250 if test -s conftest.err; then |
|
4251 ac_cpp_err=$ac_c_preproc_warn_flag |
|
4252 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
|
4253 else |
|
4254 ac_cpp_err= |
|
4255 fi |
|
4256 else |
|
4257 ac_cpp_err=yes |
|
4258 fi |
|
4259 if test -z "$ac_cpp_err"; then |
|
4260 # Broken: success on invalid input. |
|
4261 continue |
|
4262 else |
|
4263 echo "$as_me: failed program was:" >&5 |
|
4264 sed 's/^/| /' conftest.$ac_ext >&5 |
|
4265 |
|
4266 # Passes both tests. |
|
4267 ac_preproc_ok=: |
|
4268 break |
|
4269 fi |
|
4270 rm -f conftest.err conftest.$ac_ext |
|
4271 |
|
4272 done |
|
4273 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
4274 rm -f conftest.err conftest.$ac_ext |
|
4275 if $ac_preproc_ok; then |
|
4276 break |
|
4277 fi |
|
4278 |
|
4279 done |
|
4280 ac_cv_prog_CPP=$CPP |
|
4281 |
|
4282 fi |
|
4283 CPP=$ac_cv_prog_CPP |
|
4284 else |
|
4285 ac_cv_prog_CPP=$CPP |
|
4286 fi |
|
4287 echo "$as_me:$LINENO: result: $CPP" >&5 |
|
4288 echo "${ECHO_T}$CPP" >&6 |
|
4289 ac_preproc_ok=false |
|
4290 for ac_c_preproc_warn_flag in '' yes |
|
4291 do |
|
4292 # Use a header file that comes with gcc, so configuring glibc |
|
4293 # with a fresh cross-compiler works. |
|
4294 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
4295 # <limits.h> exists even on freestanding compilers. |
|
4296 # On the NeXT, cc -E runs the code through the compiler's parser, |
|
4297 # not just through cpp. "Syntax error" is here to catch this case. |
|
4298 cat >conftest.$ac_ext <<_ACEOF |
|
4299 /* confdefs.h. */ |
|
4300 _ACEOF |
|
4301 cat confdefs.h >>conftest.$ac_ext |
|
4302 cat >>conftest.$ac_ext <<_ACEOF |
|
4303 /* end confdefs.h. */ |
|
4304 #ifdef __STDC__ |
|
4305 # include <limits.h> |
|
4306 #else |
|
4307 # include <assert.h> |
|
4308 #endif |
|
4309 Syntax error |
|
4310 _ACEOF |
|
4311 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
|
4312 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
|
4313 ac_status=$? |
|
4314 grep -v '^ *+' conftest.er1 >conftest.err |
|
4315 rm -f conftest.er1 |
|
4316 cat conftest.err >&5 |
|
4317 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
4318 (exit $ac_status); } >/dev/null; then |
|
4319 if test -s conftest.err; then |
|
4320 ac_cpp_err=$ac_c_preproc_warn_flag |
|
4321 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
|
4322 else |
|
4323 ac_cpp_err= |
|
4324 fi |
|
4325 else |
|
4326 ac_cpp_err=yes |
|
4327 fi |
|
4328 if test -z "$ac_cpp_err"; then |
2057 : |
4329 : |
2058 else |
4330 else |
2059 echo "$ac_err" >&5 |
4331 echo "$as_me: failed program was:" >&5 |
2060 echo "configure: failed program was:" >&5 |
4332 sed 's/^/| /' conftest.$ac_ext >&5 |
2061 cat conftest.$ac_ext >&5 |
4333 |
2062 rm -rf conftest* |
4334 # Broken: fails on valid input. |
2063 CPP="${CC-cc} -nologo -E" |
4335 continue |
2064 cat > conftest.$ac_ext <<EOF |
4336 fi |
2065 #line 2066 "configure" |
4337 rm -f conftest.err conftest.$ac_ext |
2066 #include "confdefs.h" |
4338 |
2067 #include <assert.h> |
4339 # OK, works on sane cases. Now check whether non-existent headers |
2068 Syntax Error |
4340 # can be detected and how. |
2069 EOF |
4341 cat >conftest.$ac_ext <<_ACEOF |
2070 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
4342 /* confdefs.h. */ |
2071 { (eval echo configure:2072: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
4343 _ACEOF |
2072 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
4344 cat confdefs.h >>conftest.$ac_ext |
2073 if test -z "$ac_err"; then |
4345 cat >>conftest.$ac_ext <<_ACEOF |
|
4346 /* end confdefs.h. */ |
|
4347 #include <ac_nonexistent.h> |
|
4348 _ACEOF |
|
4349 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
|
4350 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
|
4351 ac_status=$? |
|
4352 grep -v '^ *+' conftest.er1 >conftest.err |
|
4353 rm -f conftest.er1 |
|
4354 cat conftest.err >&5 |
|
4355 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
4356 (exit $ac_status); } >/dev/null; then |
|
4357 if test -s conftest.err; then |
|
4358 ac_cpp_err=$ac_c_preproc_warn_flag |
|
4359 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
|
4360 else |
|
4361 ac_cpp_err= |
|
4362 fi |
|
4363 else |
|
4364 ac_cpp_err=yes |
|
4365 fi |
|
4366 if test -z "$ac_cpp_err"; then |
|
4367 # Broken: success on invalid input. |
|
4368 continue |
|
4369 else |
|
4370 echo "$as_me: failed program was:" >&5 |
|
4371 sed 's/^/| /' conftest.$ac_ext >&5 |
|
4372 |
|
4373 # Passes both tests. |
|
4374 ac_preproc_ok=: |
|
4375 break |
|
4376 fi |
|
4377 rm -f conftest.err conftest.$ac_ext |
|
4378 |
|
4379 done |
|
4380 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
4381 rm -f conftest.err conftest.$ac_ext |
|
4382 if $ac_preproc_ok; then |
2074 : |
4383 : |
2075 else |
4384 else |
2076 echo "$ac_err" >&5 |
4385 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check |
2077 echo "configure: failed program was:" >&5 |
4386 See \`config.log' for more details." >&5 |
2078 cat conftest.$ac_ext >&5 |
4387 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check |
2079 rm -rf conftest* |
4388 See \`config.log' for more details." >&2;} |
2080 CPP=/lib/cpp |
4389 { (exit 1); exit 1; }; } |
2081 fi |
4390 fi |
2082 rm -f conftest* |
4391 |
2083 fi |
4392 ac_ext=c |
2084 rm -f conftest* |
4393 ac_cpp='$CPP $CPPFLAGS' |
2085 fi |
4394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
2086 rm -f conftest* |
4395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
2087 ac_cv_prog_CPP="$CPP" |
4396 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
2088 fi |
4397 |
2089 CPP="$ac_cv_prog_CPP" |
4398 |
2090 else |
4399 echo "$as_me:$LINENO: checking for egrep" >&5 |
2091 ac_cv_prog_CPP="$CPP" |
4400 echo $ECHO_N "checking for egrep... $ECHO_C" >&6 |
2092 fi |
4401 if test "${ac_cv_prog_egrep+set}" = set; then |
2093 echo "$ac_t""$CPP" 1>&6 |
4402 echo $ECHO_N "(cached) $ECHO_C" >&6 |
2094 |
4403 else |
2095 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 |
4404 if echo a | (grep -E '(a|b)') >/dev/null 2>&1 |
2096 echo "configure:2097: checking for ANSI C header files" >&5 |
4405 then ac_cv_prog_egrep='grep -E' |
2097 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then |
4406 else ac_cv_prog_egrep='egrep' |
2098 echo $ac_n "(cached) $ac_c" 1>&6 |
4407 fi |
2099 else |
4408 fi |
2100 cat > conftest.$ac_ext <<EOF |
4409 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 |
2101 #line 2102 "configure" |
4410 echo "${ECHO_T}$ac_cv_prog_egrep" >&6 |
2102 #include "confdefs.h" |
4411 EGREP=$ac_cv_prog_egrep |
|
4412 |
|
4413 |
|
4414 echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
|
4415 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 |
|
4416 if test "${ac_cv_header_stdc+set}" = set; then |
|
4417 echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
4418 else |
|
4419 cat >conftest.$ac_ext <<_ACEOF |
|
4420 /* confdefs.h. */ |
|
4421 _ACEOF |
|
4422 cat confdefs.h >>conftest.$ac_ext |
|
4423 cat >>conftest.$ac_ext <<_ACEOF |
|
4424 /* end confdefs.h. */ |
2103 #include <stdlib.h> |
4425 #include <stdlib.h> |
2104 #include <stdarg.h> |
4426 #include <stdarg.h> |
2105 #include <string.h> |
4427 #include <string.h> |
2106 #include <float.h> |
4428 #include <float.h> |
2107 EOF |
4429 |
2108 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
4430 int |
2109 { (eval echo configure:2110: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
4431 main () |
2110 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
4432 { |
2111 if test -z "$ac_err"; then |
4433 |
2112 rm -rf conftest* |
4434 ; |
|
4435 return 0; |
|
4436 } |
|
4437 _ACEOF |
|
4438 rm -f conftest.$ac_objext |
|
4439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
4440 (eval $ac_compile) 2>conftest.er1 |
|
4441 ac_status=$? |
|
4442 grep -v '^ *+' conftest.er1 >conftest.err |
|
4443 rm -f conftest.er1 |
|
4444 cat conftest.err >&5 |
|
4445 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
4446 (exit $ac_status); } && |
|
4447 { ac_try='test -z "$ac_c_werror_flag" |
|
4448 || test ! -s conftest.err' |
|
4449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
4450 (eval $ac_try) 2>&5 |
|
4451 ac_status=$? |
|
4452 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
4453 (exit $ac_status); }; } && |
|
4454 { ac_try='test -s conftest.$ac_objext' |
|
4455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
4456 (eval $ac_try) 2>&5 |
|
4457 ac_status=$? |
|
4458 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
4459 (exit $ac_status); }; }; then |
2113 ac_cv_header_stdc=yes |
4460 ac_cv_header_stdc=yes |
2114 else |
4461 else |
2115 echo "$ac_err" >&5 |
4462 echo "$as_me: failed program was:" >&5 |
2116 echo "configure: failed program was:" >&5 |
4463 sed 's/^/| /' conftest.$ac_ext >&5 |
2117 cat conftest.$ac_ext >&5 |
4464 |
2118 rm -rf conftest* |
4465 ac_cv_header_stdc=no |
2119 ac_cv_header_stdc=no |
4466 fi |
2120 fi |
4467 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2121 rm -f conftest* |
|
2122 |
4468 |
2123 if test $ac_cv_header_stdc = yes; then |
4469 if test $ac_cv_header_stdc = yes; then |
2124 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
4470 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
2125 cat > conftest.$ac_ext <<EOF |
4471 cat >conftest.$ac_ext <<_ACEOF |
2126 #line 2127 "configure" |
4472 /* confdefs.h. */ |
2127 #include "confdefs.h" |
4473 _ACEOF |
|
4474 cat confdefs.h >>conftest.$ac_ext |
|
4475 cat >>conftest.$ac_ext <<_ACEOF |
|
4476 /* end confdefs.h. */ |
2128 #include <string.h> |
4477 #include <string.h> |
2129 EOF |
4478 |
|
4479 _ACEOF |
2130 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
4480 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
2131 egrep "memchr" >/dev/null 2>&1; then |
4481 $EGREP "memchr" >/dev/null 2>&1; then |
2132 : |
4482 : |
2133 else |
4483 else |
2134 rm -rf conftest* |
|
2135 ac_cv_header_stdc=no |
4484 ac_cv_header_stdc=no |
2136 fi |
4485 fi |
2137 rm -f conftest* |
4486 rm -f conftest* |
2138 |
4487 |
2139 fi |
4488 fi |
2140 |
4489 |
2141 if test $ac_cv_header_stdc = yes; then |
4490 if test $ac_cv_header_stdc = yes; then |
2142 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
4491 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
2143 cat > conftest.$ac_ext <<EOF |
4492 cat >conftest.$ac_ext <<_ACEOF |
2144 #line 2145 "configure" |
4493 /* confdefs.h. */ |
2145 #include "confdefs.h" |
4494 _ACEOF |
|
4495 cat confdefs.h >>conftest.$ac_ext |
|
4496 cat >>conftest.$ac_ext <<_ACEOF |
|
4497 /* end confdefs.h. */ |
2146 #include <stdlib.h> |
4498 #include <stdlib.h> |
2147 EOF |
4499 |
|
4500 _ACEOF |
2148 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
4501 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
2149 egrep "free" >/dev/null 2>&1; then |
4502 $EGREP "free" >/dev/null 2>&1; then |
2150 : |
4503 : |
2151 else |
4504 else |
2152 rm -rf conftest* |
|
2153 ac_cv_header_stdc=no |
4505 ac_cv_header_stdc=no |
2154 fi |
4506 fi |
2155 rm -f conftest* |
4507 rm -f conftest* |
2156 |
4508 |
2157 fi |
4509 fi |
2158 |
4510 |
2159 if test $ac_cv_header_stdc = yes; then |
4511 if test $ac_cv_header_stdc = yes; then |
2160 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
4512 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
2161 if test "$cross_compiling" = yes; then |
4513 if test "$cross_compiling" = yes; then |
2162 : |
4514 : |
2163 else |
4515 else |
2164 cat > conftest.$ac_ext <<EOF |
4516 cat >conftest.$ac_ext <<_ACEOF |
2165 #line 2166 "configure" |
4517 /* confdefs.h. */ |
2166 #include "confdefs.h" |
4518 _ACEOF |
|
4519 cat confdefs.h >>conftest.$ac_ext |
|
4520 cat >>conftest.$ac_ext <<_ACEOF |
|
4521 /* end confdefs.h. */ |
2167 #include <ctype.h> |
4522 #include <ctype.h> |
2168 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
4523 #if ((' ' & 0x0FF) == 0x020) |
2169 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
4524 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
|
4525 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
|
4526 #else |
|
4527 # define ISLOWER(c) \ |
|
4528 (('a' <= (c) && (c) <= 'i') \ |
|
4529 || ('j' <= (c) && (c) <= 'r') \ |
|
4530 || ('s' <= (c) && (c) <= 'z')) |
|
4531 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
|
4532 #endif |
|
4533 |
2170 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
4534 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
2171 int main () { int i; for (i = 0; i < 256; i++) |
4535 int |
2172 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); |
4536 main () |
2173 exit (0); } |
4537 { |
2174 |
4538 int i; |
2175 EOF |
4539 for (i = 0; i < 256; i++) |
2176 if { (eval echo configure:2177: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
4540 if (XOR (islower (i), ISLOWER (i)) |
2177 then |
4541 || toupper (i) != TOUPPER (i)) |
|
4542 exit(2); |
|
4543 exit (0); |
|
4544 } |
|
4545 _ACEOF |
|
4546 rm -f conftest$ac_exeext |
|
4547 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
4548 (eval $ac_link) 2>&5 |
|
4549 ac_status=$? |
|
4550 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
4551 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
|
4552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
4553 (eval $ac_try) 2>&5 |
|
4554 ac_status=$? |
|
4555 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
4556 (exit $ac_status); }; }; then |
2178 : |
4557 : |
2179 else |
4558 else |
2180 echo "configure: failed program was:" >&5 |
4559 echo "$as_me: program exited with status $ac_status" >&5 |
2181 cat conftest.$ac_ext >&5 |
4560 echo "$as_me: failed program was:" >&5 |
2182 rm -fr conftest* |
4561 sed 's/^/| /' conftest.$ac_ext >&5 |
2183 ac_cv_header_stdc=no |
4562 |
2184 fi |
4563 ( exit $ac_status ) |
2185 rm -fr conftest* |
4564 ac_cv_header_stdc=no |
2186 fi |
4565 fi |
2187 |
4566 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
2188 fi |
4567 fi |
2189 fi |
4568 fi |
2190 |
4569 fi |
2191 echo "$ac_t""$ac_cv_header_stdc" 1>&6 |
4570 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 |
|
4571 echo "${ECHO_T}$ac_cv_header_stdc" >&6 |
2192 if test $ac_cv_header_stdc = yes; then |
4572 if test $ac_cv_header_stdc = yes; then |
2193 cat >> confdefs.h <<\EOF |
4573 |
|
4574 cat >>confdefs.h <<\_ACEOF |
2194 #define STDC_HEADERS 1 |
4575 #define STDC_HEADERS 1 |
2195 EOF |
4576 _ACEOF |
2196 |
4577 |
2197 fi |
4578 fi |
2198 |
4579 |
2199 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 |
4580 echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5 |
2200 echo "configure:2201: checking for sys/wait.h that is POSIX.1 compatible" >&5 |
4581 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6 |
2201 if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then |
4582 if test "${ac_cv_header_sys_wait_h+set}" = set; then |
2202 echo $ac_n "(cached) $ac_c" 1>&6 |
4583 echo $ECHO_N "(cached) $ECHO_C" >&6 |
2203 else |
4584 else |
2204 cat > conftest.$ac_ext <<EOF |
4585 cat >conftest.$ac_ext <<_ACEOF |
2205 #line 2206 "configure" |
4586 /* confdefs.h. */ |
2206 #include "confdefs.h" |
4587 _ACEOF |
|
4588 cat confdefs.h >>conftest.$ac_ext |
|
4589 cat >>conftest.$ac_ext <<_ACEOF |
|
4590 /* end confdefs.h. */ |
2207 #include <sys/types.h> |
4591 #include <sys/types.h> |
2208 #include <sys/wait.h> |
4592 #include <sys/wait.h> |
2209 #ifndef WEXITSTATUS |
4593 #ifndef WEXITSTATUS |
2210 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) |
4594 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) |
2211 #endif |
4595 #endif |
2212 #ifndef WIFEXITED |
4596 #ifndef WIFEXITED |
2213 #define WIFEXITED(stat_val) (((stat_val) & 255) == 0) |
4597 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0) |
2214 #endif |
4598 #endif |
2215 int main() { |
4599 |
2216 int s; |
4600 int |
2217 wait (&s); |
4601 main () |
2218 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; |
4602 { |
2219 ; return 0; } |
4603 int s; |
2220 EOF |
4604 wait (&s); |
2221 if { (eval echo configure:2222: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4605 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; |
2222 rm -rf conftest* |
4606 ; |
|
4607 return 0; |
|
4608 } |
|
4609 _ACEOF |
|
4610 rm -f conftest.$ac_objext |
|
4611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
4612 (eval $ac_compile) 2>conftest.er1 |
|
4613 ac_status=$? |
|
4614 grep -v '^ *+' conftest.er1 >conftest.err |
|
4615 rm -f conftest.er1 |
|
4616 cat conftest.err >&5 |
|
4617 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
4618 (exit $ac_status); } && |
|
4619 { ac_try='test -z "$ac_c_werror_flag" |
|
4620 || test ! -s conftest.err' |
|
4621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
4622 (eval $ac_try) 2>&5 |
|
4623 ac_status=$? |
|
4624 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
4625 (exit $ac_status); }; } && |
|
4626 { ac_try='test -s conftest.$ac_objext' |
|
4627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
4628 (eval $ac_try) 2>&5 |
|
4629 ac_status=$? |
|
4630 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
4631 (exit $ac_status); }; }; then |
2223 ac_cv_header_sys_wait_h=yes |
4632 ac_cv_header_sys_wait_h=yes |
2224 else |
4633 else |
2225 echo "configure: failed program was:" >&5 |
4634 echo "$as_me: failed program was:" >&5 |
2226 cat conftest.$ac_ext >&5 |
4635 sed 's/^/| /' conftest.$ac_ext >&5 |
2227 rm -rf conftest* |
4636 |
2228 ac_cv_header_sys_wait_h=no |
4637 ac_cv_header_sys_wait_h=no |
2229 fi |
4638 fi |
2230 rm -f conftest* |
4639 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2231 fi |
4640 fi |
2232 |
4641 echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5 |
2233 echo "$ac_t""$ac_cv_header_sys_wait_h" 1>&6 |
4642 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6 |
2234 if test $ac_cv_header_sys_wait_h = yes; then |
4643 if test $ac_cv_header_sys_wait_h = yes; then |
2235 cat >> confdefs.h <<\EOF |
4644 |
|
4645 cat >>confdefs.h <<\_ACEOF |
2236 #define HAVE_SYS_WAIT_H 1 |
4646 #define HAVE_SYS_WAIT_H 1 |
2237 EOF |
4647 _ACEOF |
2238 |
4648 |
2239 fi |
4649 fi |
2240 |
4650 |
2241 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 |
4651 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5 |
2242 echo "configure:2243: checking whether time.h and sys/time.h may both be included" >&5 |
4652 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6 |
2243 if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then |
4653 if test "${ac_cv_header_time+set}" = set; then |
2244 echo $ac_n "(cached) $ac_c" 1>&6 |
4654 echo $ECHO_N "(cached) $ECHO_C" >&6 |
2245 else |
4655 else |
2246 cat > conftest.$ac_ext <<EOF |
4656 cat >conftest.$ac_ext <<_ACEOF |
2247 #line 2248 "configure" |
4657 /* confdefs.h. */ |
2248 #include "confdefs.h" |
4658 _ACEOF |
|
4659 cat confdefs.h >>conftest.$ac_ext |
|
4660 cat >>conftest.$ac_ext <<_ACEOF |
|
4661 /* end confdefs.h. */ |
2249 #include <sys/types.h> |
4662 #include <sys/types.h> |
2250 #include <sys/time.h> |
4663 #include <sys/time.h> |
2251 #include <time.h> |
4664 #include <time.h> |
2252 int main() { |
4665 |
2253 struct tm *tp; |
4666 int |
2254 ; return 0; } |
4667 main () |
2255 EOF |
4668 { |
2256 if { (eval echo configure:2257: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4669 if ((struct tm *) 0) |
2257 rm -rf conftest* |
4670 return 0; |
|
4671 ; |
|
4672 return 0; |
|
4673 } |
|
4674 _ACEOF |
|
4675 rm -f conftest.$ac_objext |
|
4676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
4677 (eval $ac_compile) 2>conftest.er1 |
|
4678 ac_status=$? |
|
4679 grep -v '^ *+' conftest.er1 >conftest.err |
|
4680 rm -f conftest.er1 |
|
4681 cat conftest.err >&5 |
|
4682 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
4683 (exit $ac_status); } && |
|
4684 { ac_try='test -z "$ac_c_werror_flag" |
|
4685 || test ! -s conftest.err' |
|
4686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
4687 (eval $ac_try) 2>&5 |
|
4688 ac_status=$? |
|
4689 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
4690 (exit $ac_status); }; } && |
|
4691 { ac_try='test -s conftest.$ac_objext' |
|
4692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
4693 (eval $ac_try) 2>&5 |
|
4694 ac_status=$? |
|
4695 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
4696 (exit $ac_status); }; }; then |
2258 ac_cv_header_time=yes |
4697 ac_cv_header_time=yes |
2259 else |
4698 else |
2260 echo "configure: failed program was:" >&5 |
4699 echo "$as_me: failed program was:" >&5 |
2261 cat conftest.$ac_ext >&5 |
4700 sed 's/^/| /' conftest.$ac_ext >&5 |
2262 rm -rf conftest* |
4701 |
2263 ac_cv_header_time=no |
4702 ac_cv_header_time=no |
|
4703 fi |
|
4704 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
4705 fi |
|
4706 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 |
|
4707 echo "${ECHO_T}$ac_cv_header_time" >&6 |
|
4708 if test $ac_cv_header_time = yes; then |
|
4709 |
|
4710 cat >>confdefs.h <<\_ACEOF |
|
4711 #define TIME_WITH_SYS_TIME 1 |
|
4712 _ACEOF |
|
4713 |
|
4714 fi |
|
4715 |
|
4716 # On IRIX 5.3, sys/types and inttypes.h are conflicting. |
|
4717 |
|
4718 |
|
4719 |
|
4720 |
|
4721 |
|
4722 |
|
4723 |
|
4724 |
|
4725 |
|
4726 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
|
4727 inttypes.h stdint.h unistd.h |
|
4728 do |
|
4729 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
4730 echo "$as_me:$LINENO: checking for $ac_header" >&5 |
|
4731 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
|
4732 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
|
4733 echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
4734 else |
|
4735 cat >conftest.$ac_ext <<_ACEOF |
|
4736 /* confdefs.h. */ |
|
4737 _ACEOF |
|
4738 cat confdefs.h >>conftest.$ac_ext |
|
4739 cat >>conftest.$ac_ext <<_ACEOF |
|
4740 /* end confdefs.h. */ |
|
4741 $ac_includes_default |
|
4742 |
|
4743 #include <$ac_header> |
|
4744 _ACEOF |
|
4745 rm -f conftest.$ac_objext |
|
4746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
4747 (eval $ac_compile) 2>conftest.er1 |
|
4748 ac_status=$? |
|
4749 grep -v '^ *+' conftest.er1 >conftest.err |
|
4750 rm -f conftest.er1 |
|
4751 cat conftest.err >&5 |
|
4752 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
4753 (exit $ac_status); } && |
|
4754 { ac_try='test -z "$ac_c_werror_flag" |
|
4755 || test ! -s conftest.err' |
|
4756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
4757 (eval $ac_try) 2>&5 |
|
4758 ac_status=$? |
|
4759 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
4760 (exit $ac_status); }; } && |
|
4761 { ac_try='test -s conftest.$ac_objext' |
|
4762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
4763 (eval $ac_try) 2>&5 |
|
4764 ac_status=$? |
|
4765 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
4766 (exit $ac_status); }; }; then |
|
4767 eval "$as_ac_Header=yes" |
|
4768 else |
|
4769 echo "$as_me: failed program was:" >&5 |
|
4770 sed 's/^/| /' conftest.$ac_ext >&5 |
|
4771 |
|
4772 eval "$as_ac_Header=no" |
|
4773 fi |
|
4774 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
4775 fi |
|
4776 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
|
4777 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
|
4778 if test `eval echo '${'$as_ac_Header'}'` = yes; then |
|
4779 cat >>confdefs.h <<_ACEOF |
|
4780 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
|
4781 _ACEOF |
|
4782 |
|
4783 fi |
|
4784 |
|
4785 done |
|
4786 |
|
4787 |
|
4788 |
|
4789 |
|
4790 |
|
4791 |
|
4792 |
|
4793 for ac_header in fcntl.h sys/time.h unistd.h shadow.h crypt.h |
|
4794 do |
|
4795 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
4796 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
|
4797 echo "$as_me:$LINENO: checking for $ac_header" >&5 |
|
4798 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
|
4799 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
|
4800 echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
4801 fi |
|
4802 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
|
4803 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
|
4804 else |
|
4805 # Is the header compilable? |
|
4806 echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
|
4807 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
|
4808 cat >conftest.$ac_ext <<_ACEOF |
|
4809 /* confdefs.h. */ |
|
4810 _ACEOF |
|
4811 cat confdefs.h >>conftest.$ac_ext |
|
4812 cat >>conftest.$ac_ext <<_ACEOF |
|
4813 /* end confdefs.h. */ |
|
4814 $ac_includes_default |
|
4815 #include <$ac_header> |
|
4816 _ACEOF |
|
4817 rm -f conftest.$ac_objext |
|
4818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
4819 (eval $ac_compile) 2>conftest.er1 |
|
4820 ac_status=$? |
|
4821 grep -v '^ *+' conftest.er1 >conftest.err |
|
4822 rm -f conftest.er1 |
|
4823 cat conftest.err >&5 |
|
4824 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
4825 (exit $ac_status); } && |
|
4826 { ac_try='test -z "$ac_c_werror_flag" |
|
4827 || test ! -s conftest.err' |
|
4828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
4829 (eval $ac_try) 2>&5 |
|
4830 ac_status=$? |
|
4831 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
4832 (exit $ac_status); }; } && |
|
4833 { ac_try='test -s conftest.$ac_objext' |
|
4834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
4835 (eval $ac_try) 2>&5 |
|
4836 ac_status=$? |
|
4837 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
4838 (exit $ac_status); }; }; then |
|
4839 ac_header_compiler=yes |
|
4840 else |
|
4841 echo "$as_me: failed program was:" >&5 |
|
4842 sed 's/^/| /' conftest.$ac_ext >&5 |
|
4843 |
|
4844 ac_header_compiler=no |
|
4845 fi |
|
4846 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
4847 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
|
4848 echo "${ECHO_T}$ac_header_compiler" >&6 |
|
4849 |
|
4850 # Is the header present? |
|
4851 echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
|
4852 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
|
4853 cat >conftest.$ac_ext <<_ACEOF |
|
4854 /* confdefs.h. */ |
|
4855 _ACEOF |
|
4856 cat confdefs.h >>conftest.$ac_ext |
|
4857 cat >>conftest.$ac_ext <<_ACEOF |
|
4858 /* end confdefs.h. */ |
|
4859 #include <$ac_header> |
|
4860 _ACEOF |
|
4861 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
|
4862 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
|
4863 ac_status=$? |
|
4864 grep -v '^ *+' conftest.er1 >conftest.err |
|
4865 rm -f conftest.er1 |
|
4866 cat conftest.err >&5 |
|
4867 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
4868 (exit $ac_status); } >/dev/null; then |
|
4869 if test -s conftest.err; then |
|
4870 ac_cpp_err=$ac_c_preproc_warn_flag |
|
4871 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
|
4872 else |
|
4873 ac_cpp_err= |
|
4874 fi |
|
4875 else |
|
4876 ac_cpp_err=yes |
|
4877 fi |
|
4878 if test -z "$ac_cpp_err"; then |
|
4879 ac_header_preproc=yes |
|
4880 else |
|
4881 echo "$as_me: failed program was:" >&5 |
|
4882 sed 's/^/| /' conftest.$ac_ext >&5 |
|
4883 |
|
4884 ac_header_preproc=no |
|
4885 fi |
|
4886 rm -f conftest.err conftest.$ac_ext |
|
4887 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
|
4888 echo "${ECHO_T}$ac_header_preproc" >&6 |
|
4889 |
|
4890 # So? What about this header? |
|
4891 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
|
4892 yes:no: ) |
|
4893 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
|
4894 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
|
4895 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
|
4896 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
|
4897 ac_header_preproc=yes |
|
4898 ;; |
|
4899 no:yes:* ) |
|
4900 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
|
4901 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
|
4902 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
|
4903 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
|
4904 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
|
4905 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
|
4906 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
|
4907 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
|
4908 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
|
4909 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
|
4910 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
|
4911 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
|
4912 ( |
|
4913 cat <<\_ASBOX |
|
4914 ## ------------------------------------------ ## |
|
4915 ## Report this to the AC_PACKAGE_NAME lists. ## |
|
4916 ## ------------------------------------------ ## |
|
4917 _ASBOX |
|
4918 ) | |
|
4919 sed "s/^/$as_me: WARNING: /" >&2 |
|
4920 ;; |
|
4921 esac |
|
4922 echo "$as_me:$LINENO: checking for $ac_header" >&5 |
|
4923 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
|
4924 if eval "test \"\${$as_ac_Header+set}\" = set"; then |
|
4925 echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
4926 else |
|
4927 eval "$as_ac_Header=\$ac_header_preproc" |
|
4928 fi |
|
4929 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
|
4930 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
|
4931 |
|
4932 fi |
|
4933 if test `eval echo '${'$as_ac_Header'}'` = yes; then |
|
4934 cat >>confdefs.h <<_ACEOF |
|
4935 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
|
4936 _ACEOF |
|
4937 |
|
4938 fi |
|
4939 |
|
4940 done |
|
4941 |
|
4942 |
|
4943 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 |
|
4944 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 |
|
4945 if test "${ac_cv_c_const+set}" = set; then |
|
4946 echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
4947 else |
|
4948 cat >conftest.$ac_ext <<_ACEOF |
|
4949 /* confdefs.h. */ |
|
4950 _ACEOF |
|
4951 cat confdefs.h >>conftest.$ac_ext |
|
4952 cat >>conftest.$ac_ext <<_ACEOF |
|
4953 /* end confdefs.h. */ |
|
4954 |
|
4955 int |
|
4956 main () |
|
4957 { |
|
4958 /* FIXME: Include the comments suggested by Paul. */ |
|
4959 #ifndef __cplusplus |
|
4960 /* Ultrix mips cc rejects this. */ |
|
4961 typedef int charset[2]; |
|
4962 const charset x; |
|
4963 /* SunOS 4.1.1 cc rejects this. */ |
|
4964 char const *const *ccp; |
|
4965 char **p; |
|
4966 /* NEC SVR4.0.2 mips cc rejects this. */ |
|
4967 struct point {int x, y;}; |
|
4968 static struct point const zero = {0,0}; |
|
4969 /* AIX XL C 1.02.0.0 rejects this. |
|
4970 It does not let you subtract one const X* pointer from another in |
|
4971 an arm of an if-expression whose if-part is not a constant |
|
4972 expression */ |
|
4973 const char *g = "string"; |
|
4974 ccp = &g + (g ? g-g : 0); |
|
4975 /* HPUX 7.0 cc rejects these. */ |
|
4976 ++ccp; |
|
4977 p = (char**) ccp; |
|
4978 ccp = (char const *const *) p; |
|
4979 { /* SCO 3.2v4 cc rejects this. */ |
|
4980 char *t; |
|
4981 char const *s = 0 ? (char *) 0 : (char const *) 0; |
|
4982 |
|
4983 *t++ = 0; |
|
4984 } |
|
4985 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ |
|
4986 int x[] = {25, 17}; |
|
4987 const int *foo = &x[0]; |
|
4988 ++foo; |
|
4989 } |
|
4990 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ |
|
4991 typedef const int *iptr; |
|
4992 iptr p = 0; |
|
4993 ++p; |
|
4994 } |
|
4995 { /* AIX XL C 1.02.0.0 rejects this saying |
|
4996 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ |
|
4997 struct s { int j; const int *ap[3]; }; |
|
4998 struct s *b; b->j = 5; |
|
4999 } |
|
5000 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ |
|
5001 const int foo = 10; |
|
5002 } |
|
5003 #endif |
|
5004 |
|
5005 ; |
|
5006 return 0; |
|
5007 } |
|
5008 _ACEOF |
|
5009 rm -f conftest.$ac_objext |
|
5010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
5011 (eval $ac_compile) 2>conftest.er1 |
|
5012 ac_status=$? |
|
5013 grep -v '^ *+' conftest.er1 >conftest.err |
|
5014 rm -f conftest.er1 |
|
5015 cat conftest.err >&5 |
|
5016 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
5017 (exit $ac_status); } && |
|
5018 { ac_try='test -z "$ac_c_werror_flag" |
|
5019 || test ! -s conftest.err' |
|
5020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
5021 (eval $ac_try) 2>&5 |
|
5022 ac_status=$? |
|
5023 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
5024 (exit $ac_status); }; } && |
|
5025 { ac_try='test -s conftest.$ac_objext' |
|
5026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
5027 (eval $ac_try) 2>&5 |
|
5028 ac_status=$? |
|
5029 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
5030 (exit $ac_status); }; }; then |
|
5031 ac_cv_c_const=yes |
|
5032 else |
|
5033 echo "$as_me: failed program was:" >&5 |
|
5034 sed 's/^/| /' conftest.$ac_ext >&5 |
|
5035 |
|
5036 ac_cv_c_const=no |
|
5037 fi |
|
5038 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
5039 fi |
|
5040 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 |
|
5041 echo "${ECHO_T}$ac_cv_c_const" >&6 |
|
5042 if test $ac_cv_c_const = no; then |
|
5043 |
|
5044 cat >>confdefs.h <<\_ACEOF |
|
5045 #define const |
|
5046 _ACEOF |
|
5047 |
|
5048 fi |
|
5049 |
|
5050 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5 |
|
5051 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6 |
|
5052 if test "${ac_cv_type_uid_t+set}" = set; then |
|
5053 echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
5054 else |
|
5055 cat >conftest.$ac_ext <<_ACEOF |
|
5056 /* confdefs.h. */ |
|
5057 _ACEOF |
|
5058 cat confdefs.h >>conftest.$ac_ext |
|
5059 cat >>conftest.$ac_ext <<_ACEOF |
|
5060 /* end confdefs.h. */ |
|
5061 #include <sys/types.h> |
|
5062 |
|
5063 _ACEOF |
|
5064 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
|
5065 $EGREP "uid_t" >/dev/null 2>&1; then |
|
5066 ac_cv_type_uid_t=yes |
|
5067 else |
|
5068 ac_cv_type_uid_t=no |
2264 fi |
5069 fi |
2265 rm -f conftest* |
5070 rm -f conftest* |
2266 fi |
5071 |
2267 |
5072 fi |
2268 echo "$ac_t""$ac_cv_header_time" 1>&6 |
5073 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5 |
2269 if test $ac_cv_header_time = yes; then |
5074 echo "${ECHO_T}$ac_cv_type_uid_t" >&6 |
2270 cat >> confdefs.h <<\EOF |
|
2271 #define TIME_WITH_SYS_TIME 1 |
|
2272 EOF |
|
2273 |
|
2274 fi |
|
2275 |
|
2276 for ac_hdr in fcntl.h sys/time.h unistd.h shadow.h crypt.h |
|
2277 do |
|
2278 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
|
2279 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
|
2280 echo "configure:2281: checking for $ac_hdr" >&5 |
|
2281 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
|
2282 echo $ac_n "(cached) $ac_c" 1>&6 |
|
2283 else |
|
2284 cat > conftest.$ac_ext <<EOF |
|
2285 #line 2286 "configure" |
|
2286 #include "confdefs.h" |
|
2287 #include <$ac_hdr> |
|
2288 EOF |
|
2289 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
|
2290 { (eval echo configure:2291: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
|
2291 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
|
2292 if test -z "$ac_err"; then |
|
2293 rm -rf conftest* |
|
2294 eval "ac_cv_header_$ac_safe=yes" |
|
2295 else |
|
2296 echo "$ac_err" >&5 |
|
2297 echo "configure: failed program was:" >&5 |
|
2298 cat conftest.$ac_ext >&5 |
|
2299 rm -rf conftest* |
|
2300 eval "ac_cv_header_$ac_safe=no" |
|
2301 fi |
|
2302 rm -f conftest* |
|
2303 fi |
|
2304 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
|
2305 echo "$ac_t""yes" 1>&6 |
|
2306 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` |
|
2307 cat >> confdefs.h <<EOF |
|
2308 #define $ac_tr_hdr 1 |
|
2309 EOF |
|
2310 |
|
2311 else |
|
2312 echo "$ac_t""no" 1>&6 |
|
2313 fi |
|
2314 done |
|
2315 |
|
2316 |
|
2317 echo $ac_n "checking for working const""... $ac_c" 1>&6 |
|
2318 echo "configure:2319: checking for working const" >&5 |
|
2319 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then |
|
2320 echo $ac_n "(cached) $ac_c" 1>&6 |
|
2321 else |
|
2322 cat > conftest.$ac_ext <<EOF |
|
2323 #line 2324 "configure" |
|
2324 #include "confdefs.h" |
|
2325 |
|
2326 int main() { |
|
2327 |
|
2328 /* Ultrix mips cc rejects this. */ |
|
2329 typedef int charset[2]; const charset x; |
|
2330 /* SunOS 4.1.1 cc rejects this. */ |
|
2331 char const *const *ccp; |
|
2332 char **p; |
|
2333 /* NEC SVR4.0.2 mips cc rejects this. */ |
|
2334 struct point {int x, y;}; |
|
2335 static struct point const zero = {0,0}; |
|
2336 /* AIX XL C 1.02.0.0 rejects this. |
|
2337 It does not let you subtract one const X* pointer from another in an arm |
|
2338 of an if-expression whose if-part is not a constant expression */ |
|
2339 const char *g = "string"; |
|
2340 ccp = &g + (g ? g-g : 0); |
|
2341 /* HPUX 7.0 cc rejects these. */ |
|
2342 ++ccp; |
|
2343 p = (char**) ccp; |
|
2344 ccp = (char const *const *) p; |
|
2345 { /* SCO 3.2v4 cc rejects this. */ |
|
2346 char *t; |
|
2347 char const *s = 0 ? (char *) 0 : (char const *) 0; |
|
2348 |
|
2349 *t++ = 0; |
|
2350 } |
|
2351 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ |
|
2352 int x[] = {25, 17}; |
|
2353 const int *foo = &x[0]; |
|
2354 ++foo; |
|
2355 } |
|
2356 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ |
|
2357 typedef const int *iptr; |
|
2358 iptr p = 0; |
|
2359 ++p; |
|
2360 } |
|
2361 { /* AIX XL C 1.02.0.0 rejects this saying |
|
2362 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ |
|
2363 struct s { int j; const int *ap[3]; }; |
|
2364 struct s *b; b->j = 5; |
|
2365 } |
|
2366 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ |
|
2367 const int foo = 10; |
|
2368 } |
|
2369 |
|
2370 ; return 0; } |
|
2371 EOF |
|
2372 if { (eval echo configure:2373: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
|
2373 rm -rf conftest* |
|
2374 ac_cv_c_const=yes |
|
2375 else |
|
2376 echo "configure: failed program was:" >&5 |
|
2377 cat conftest.$ac_ext >&5 |
|
2378 rm -rf conftest* |
|
2379 ac_cv_c_const=no |
|
2380 fi |
|
2381 rm -f conftest* |
|
2382 fi |
|
2383 |
|
2384 echo "$ac_t""$ac_cv_c_const" 1>&6 |
|
2385 if test $ac_cv_c_const = no; then |
|
2386 cat >> confdefs.h <<\EOF |
|
2387 #define const |
|
2388 EOF |
|
2389 |
|
2390 fi |
|
2391 |
|
2392 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 |
|
2393 echo "configure:2394: checking for uid_t in sys/types.h" >&5 |
|
2394 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then |
|
2395 echo $ac_n "(cached) $ac_c" 1>&6 |
|
2396 else |
|
2397 cat > conftest.$ac_ext <<EOF |
|
2398 #line 2399 "configure" |
|
2399 #include "confdefs.h" |
|
2400 #include <sys/types.h> |
|
2401 EOF |
|
2402 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
|
2403 egrep "uid_t" >/dev/null 2>&1; then |
|
2404 rm -rf conftest* |
|
2405 ac_cv_type_uid_t=yes |
|
2406 else |
|
2407 rm -rf conftest* |
|
2408 ac_cv_type_uid_t=no |
|
2409 fi |
|
2410 rm -f conftest* |
|
2411 |
|
2412 fi |
|
2413 |
|
2414 echo "$ac_t""$ac_cv_type_uid_t" 1>&6 |
|
2415 if test $ac_cv_type_uid_t = no; then |
5075 if test $ac_cv_type_uid_t = no; then |
2416 cat >> confdefs.h <<\EOF |
5076 |
|
5077 cat >>confdefs.h <<\_ACEOF |
2417 #define uid_t int |
5078 #define uid_t int |
2418 EOF |
5079 _ACEOF |
2419 |
5080 |
2420 cat >> confdefs.h <<\EOF |
5081 |
|
5082 cat >>confdefs.h <<\_ACEOF |
2421 #define gid_t int |
5083 #define gid_t int |
2422 EOF |
5084 _ACEOF |
2423 |
5085 |
2424 fi |
5086 fi |
2425 |
5087 |
2426 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 |
5088 echo "$as_me:$LINENO: checking return type of signal handlers" >&5 |
2427 echo "configure:2428: checking return type of signal handlers" >&5 |
5089 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6 |
2428 if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then |
5090 if test "${ac_cv_type_signal+set}" = set; then |
2429 echo $ac_n "(cached) $ac_c" 1>&6 |
5091 echo $ECHO_N "(cached) $ECHO_C" >&6 |
2430 else |
5092 else |
2431 cat > conftest.$ac_ext <<EOF |
5093 cat >conftest.$ac_ext <<_ACEOF |
2432 #line 2433 "configure" |
5094 /* confdefs.h. */ |
2433 #include "confdefs.h" |
5095 _ACEOF |
|
5096 cat confdefs.h >>conftest.$ac_ext |
|
5097 cat >>conftest.$ac_ext <<_ACEOF |
|
5098 /* end confdefs.h. */ |
2434 #include <sys/types.h> |
5099 #include <sys/types.h> |
2435 #include <signal.h> |
5100 #include <signal.h> |
2436 #ifdef signal |
5101 #ifdef signal |
2437 #undef signal |
5102 # undef signal |
2438 #endif |
5103 #endif |
2439 #ifdef __cplusplus |
5104 #ifdef __cplusplus |
2440 extern "C" void (*signal (int, void (*)(int)))(int); |
5105 extern "C" void (*signal (int, void (*)(int)))(int); |
2441 #else |
5106 #else |
2442 void (*signal ()) (); |
5107 void (*signal ()) (); |
2443 #endif |
5108 #endif |
2444 |
5109 |
2445 int main() { |
5110 int |
|
5111 main () |
|
5112 { |
2446 int i; |
5113 int i; |
2447 ; return 0; } |
5114 ; |
2448 EOF |
5115 return 0; |
2449 if { (eval echo configure:2450: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
5116 } |
2450 rm -rf conftest* |
5117 _ACEOF |
|
5118 rm -f conftest.$ac_objext |
|
5119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
5120 (eval $ac_compile) 2>conftest.er1 |
|
5121 ac_status=$? |
|
5122 grep -v '^ *+' conftest.er1 >conftest.err |
|
5123 rm -f conftest.er1 |
|
5124 cat conftest.err >&5 |
|
5125 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
5126 (exit $ac_status); } && |
|
5127 { ac_try='test -z "$ac_c_werror_flag" |
|
5128 || test ! -s conftest.err' |
|
5129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
5130 (eval $ac_try) 2>&5 |
|
5131 ac_status=$? |
|
5132 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
5133 (exit $ac_status); }; } && |
|
5134 { ac_try='test -s conftest.$ac_objext' |
|
5135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
5136 (eval $ac_try) 2>&5 |
|
5137 ac_status=$? |
|
5138 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
5139 (exit $ac_status); }; }; then |
2451 ac_cv_type_signal=void |
5140 ac_cv_type_signal=void |
2452 else |
5141 else |
2453 echo "configure: failed program was:" >&5 |
5142 echo "$as_me: failed program was:" >&5 |
2454 cat conftest.$ac_ext >&5 |
5143 sed 's/^/| /' conftest.$ac_ext >&5 |
2455 rm -rf conftest* |
5144 |
2456 ac_cv_type_signal=int |
5145 ac_cv_type_signal=int |
2457 fi |
5146 fi |
2458 rm -f conftest* |
5147 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2459 fi |
5148 fi |
2460 |
5149 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5 |
2461 echo "$ac_t""$ac_cv_type_signal" 1>&6 |
5150 echo "${ECHO_T}$ac_cv_type_signal" >&6 |
2462 cat >> confdefs.h <<EOF |
5151 |
|
5152 cat >>confdefs.h <<_ACEOF |
2463 #define RETSIGTYPE $ac_cv_type_signal |
5153 #define RETSIGTYPE $ac_cv_type_signal |
2464 EOF |
5154 _ACEOF |
2465 |
5155 |
2466 |
5156 |
2467 echo $ac_n "checking for inline""... $ac_c" 1>&6 |
5157 echo "$as_me:$LINENO: checking for inline" >&5 |
2468 echo "configure:2469: checking for inline" >&5 |
5158 echo $ECHO_N "checking for inline... $ECHO_C" >&6 |
2469 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then |
5159 if test "${ac_cv_c_inline+set}" = set; then |
2470 echo $ac_n "(cached) $ac_c" 1>&6 |
5160 echo $ECHO_N "(cached) $ECHO_C" >&6 |
2471 else |
5161 else |
2472 ac_cv_c_inline=no |
5162 ac_cv_c_inline=no |
2473 for ac_kw in inline __inline__ __inline; do |
5163 for ac_kw in inline __inline__ __inline; do |
2474 cat > conftest.$ac_ext <<EOF |
5164 cat >conftest.$ac_ext <<_ACEOF |
2475 #line 2476 "configure" |
5165 /* confdefs.h. */ |
2476 #include "confdefs.h" |
5166 _ACEOF |
2477 |
5167 cat confdefs.h >>conftest.$ac_ext |
2478 int main() { |
5168 cat >>conftest.$ac_ext <<_ACEOF |
2479 } $ac_kw foo() { |
5169 /* end confdefs.h. */ |
2480 ; return 0; } |
5170 #ifndef __cplusplus |
2481 EOF |
5171 typedef int foo_t; |
2482 if { (eval echo configure:2483: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
5172 static $ac_kw foo_t static_foo () {return 0; } |
2483 rm -rf conftest* |
5173 $ac_kw foo_t foo () {return 0; } |
|
5174 #endif |
|
5175 |
|
5176 _ACEOF |
|
5177 rm -f conftest.$ac_objext |
|
5178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
5179 (eval $ac_compile) 2>conftest.er1 |
|
5180 ac_status=$? |
|
5181 grep -v '^ *+' conftest.er1 >conftest.err |
|
5182 rm -f conftest.er1 |
|
5183 cat conftest.err >&5 |
|
5184 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
5185 (exit $ac_status); } && |
|
5186 { ac_try='test -z "$ac_c_werror_flag" |
|
5187 || test ! -s conftest.err' |
|
5188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
5189 (eval $ac_try) 2>&5 |
|
5190 ac_status=$? |
|
5191 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
5192 (exit $ac_status); }; } && |
|
5193 { ac_try='test -s conftest.$ac_objext' |
|
5194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
5195 (eval $ac_try) 2>&5 |
|
5196 ac_status=$? |
|
5197 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
5198 (exit $ac_status); }; }; then |
2484 ac_cv_c_inline=$ac_kw; break |
5199 ac_cv_c_inline=$ac_kw; break |
2485 else |
5200 else |
2486 echo "configure: failed program was:" >&5 |
5201 echo "$as_me: failed program was:" >&5 |
2487 cat conftest.$ac_ext >&5 |
5202 sed 's/^/| /' conftest.$ac_ext >&5 |
2488 fi |
5203 |
2489 rm -f conftest* |
5204 fi |
2490 done |
5205 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2491 |
5206 done |
2492 fi |
5207 |
2493 |
5208 fi |
2494 echo "$ac_t""$ac_cv_c_inline" 1>&6 |
5209 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5 |
2495 case "$ac_cv_c_inline" in |
5210 echo "${ECHO_T}$ac_cv_c_inline" >&6 |
|
5211 |
|
5212 |
|
5213 case $ac_cv_c_inline in |
2496 inline | yes) ;; |
5214 inline | yes) ;; |
2497 no) cat >> confdefs.h <<\EOF |
5215 *) |
2498 #define inline |
5216 case $ac_cv_c_inline in |
2499 EOF |
5217 no) ac_val=;; |
2500 ;; |
5218 *) ac_val=$ac_cv_c_inline;; |
2501 *) cat >> confdefs.h <<EOF |
5219 esac |
2502 #define inline $ac_cv_c_inline |
5220 cat >>confdefs.h <<_ACEOF |
2503 EOF |
5221 #ifndef __cplusplus |
2504 ;; |
5222 #define inline $ac_val |
|
5223 #endif |
|
5224 _ACEOF |
|
5225 ;; |
2505 esac |
5226 esac |
2506 |
5227 |
2507 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 |
5228 echo "$as_me:$LINENO: checking for pid_t" >&5 |
2508 echo "configure:2509: checking for pid_t" >&5 |
5229 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6 |
2509 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then |
5230 if test "${ac_cv_type_pid_t+set}" = set; then |
2510 echo $ac_n "(cached) $ac_c" 1>&6 |
5231 echo $ECHO_N "(cached) $ECHO_C" >&6 |
2511 else |
5232 else |
2512 cat > conftest.$ac_ext <<EOF |
5233 cat >conftest.$ac_ext <<_ACEOF |
2513 #line 2514 "configure" |
5234 /* confdefs.h. */ |
2514 #include "confdefs.h" |
5235 _ACEOF |
2515 #include <sys/types.h> |
5236 cat confdefs.h >>conftest.$ac_ext |
2516 #if STDC_HEADERS |
5237 cat >>conftest.$ac_ext <<_ACEOF |
2517 #include <stdlib.h> |
5238 /* end confdefs.h. */ |
2518 #include <stddef.h> |
5239 $ac_includes_default |
2519 #endif |
5240 int |
2520 EOF |
5241 main () |
2521 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
5242 { |
2522 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then |
5243 if ((pid_t *) 0) |
2523 rm -rf conftest* |
5244 return 0; |
|
5245 if (sizeof (pid_t)) |
|
5246 return 0; |
|
5247 ; |
|
5248 return 0; |
|
5249 } |
|
5250 _ACEOF |
|
5251 rm -f conftest.$ac_objext |
|
5252 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
5253 (eval $ac_compile) 2>conftest.er1 |
|
5254 ac_status=$? |
|
5255 grep -v '^ *+' conftest.er1 >conftest.err |
|
5256 rm -f conftest.er1 |
|
5257 cat conftest.err >&5 |
|
5258 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
5259 (exit $ac_status); } && |
|
5260 { ac_try='test -z "$ac_c_werror_flag" |
|
5261 || test ! -s conftest.err' |
|
5262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
5263 (eval $ac_try) 2>&5 |
|
5264 ac_status=$? |
|
5265 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
5266 (exit $ac_status); }; } && |
|
5267 { ac_try='test -s conftest.$ac_objext' |
|
5268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
5269 (eval $ac_try) 2>&5 |
|
5270 ac_status=$? |
|
5271 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
5272 (exit $ac_status); }; }; then |
2524 ac_cv_type_pid_t=yes |
5273 ac_cv_type_pid_t=yes |
2525 else |
5274 else |
2526 rm -rf conftest* |
5275 echo "$as_me: failed program was:" >&5 |
2527 ac_cv_type_pid_t=no |
5276 sed 's/^/| /' conftest.$ac_ext >&5 |
2528 fi |
5277 |
2529 rm -f conftest* |
5278 ac_cv_type_pid_t=no |
2530 |
5279 fi |
2531 fi |
5280 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2532 echo "$ac_t""$ac_cv_type_pid_t" 1>&6 |
5281 fi |
2533 if test $ac_cv_type_pid_t = no; then |
5282 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5 |
2534 cat >> confdefs.h <<\EOF |
5283 echo "${ECHO_T}$ac_cv_type_pid_t" >&6 |
|
5284 if test $ac_cv_type_pid_t = yes; then |
|
5285 : |
|
5286 else |
|
5287 |
|
5288 cat >>confdefs.h <<_ACEOF |
2535 #define pid_t int |
5289 #define pid_t int |
2536 EOF |
5290 _ACEOF |
2537 |
5291 |
2538 fi |
5292 fi |
2539 |
5293 |
2540 echo $ac_n "checking for size_t""... $ac_c" 1>&6 |
5294 echo "$as_me:$LINENO: checking for size_t" >&5 |
2541 echo "configure:2542: checking for size_t" >&5 |
5295 echo $ECHO_N "checking for size_t... $ECHO_C" >&6 |
2542 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then |
5296 if test "${ac_cv_type_size_t+set}" = set; then |
2543 echo $ac_n "(cached) $ac_c" 1>&6 |
5297 echo $ECHO_N "(cached) $ECHO_C" >&6 |
2544 else |
5298 else |
2545 cat > conftest.$ac_ext <<EOF |
5299 cat >conftest.$ac_ext <<_ACEOF |
2546 #line 2547 "configure" |
5300 /* confdefs.h. */ |
2547 #include "confdefs.h" |
5301 _ACEOF |
2548 #include <sys/types.h> |
5302 cat confdefs.h >>conftest.$ac_ext |
2549 #if STDC_HEADERS |
5303 cat >>conftest.$ac_ext <<_ACEOF |
2550 #include <stdlib.h> |
5304 /* end confdefs.h. */ |
2551 #include <stddef.h> |
5305 $ac_includes_default |
2552 #endif |
5306 int |
2553 EOF |
5307 main () |
2554 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
5308 { |
2555 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then |
5309 if ((size_t *) 0) |
2556 rm -rf conftest* |
5310 return 0; |
|
5311 if (sizeof (size_t)) |
|
5312 return 0; |
|
5313 ; |
|
5314 return 0; |
|
5315 } |
|
5316 _ACEOF |
|
5317 rm -f conftest.$ac_objext |
|
5318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
5319 (eval $ac_compile) 2>conftest.er1 |
|
5320 ac_status=$? |
|
5321 grep -v '^ *+' conftest.er1 >conftest.err |
|
5322 rm -f conftest.er1 |
|
5323 cat conftest.err >&5 |
|
5324 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
5325 (exit $ac_status); } && |
|
5326 { ac_try='test -z "$ac_c_werror_flag" |
|
5327 || test ! -s conftest.err' |
|
5328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
5329 (eval $ac_try) 2>&5 |
|
5330 ac_status=$? |
|
5331 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
5332 (exit $ac_status); }; } && |
|
5333 { ac_try='test -s conftest.$ac_objext' |
|
5334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
5335 (eval $ac_try) 2>&5 |
|
5336 ac_status=$? |
|
5337 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
5338 (exit $ac_status); }; }; then |
2557 ac_cv_type_size_t=yes |
5339 ac_cv_type_size_t=yes |
2558 else |
5340 else |
2559 rm -rf conftest* |
5341 echo "$as_me: failed program was:" >&5 |
2560 ac_cv_type_size_t=no |
5342 sed 's/^/| /' conftest.$ac_ext >&5 |
2561 fi |
5343 |
2562 rm -f conftest* |
5344 ac_cv_type_size_t=no |
2563 |
5345 fi |
2564 fi |
5346 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2565 echo "$ac_t""$ac_cv_type_size_t" 1>&6 |
5347 fi |
2566 if test $ac_cv_type_size_t = no; then |
5348 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 |
2567 cat >> confdefs.h <<\EOF |
5349 echo "${ECHO_T}$ac_cv_type_size_t" >&6 |
|
5350 if test $ac_cv_type_size_t = yes; then |
|
5351 : |
|
5352 else |
|
5353 |
|
5354 cat >>confdefs.h <<_ACEOF |
2568 #define size_t unsigned |
5355 #define size_t unsigned |
2569 EOF |
5356 _ACEOF |
2570 |
5357 |
2571 fi |
5358 fi |
|
5359 |
|
5360 |
|
5361 |
|
5362 |
|
5363 |
|
5364 |
2572 |
5365 |
2573 |
5366 |
2574 for ac_func in gethostname gettimeofday mkdir putenv rmdir socket |
5367 for ac_func in gethostname gettimeofday mkdir putenv rmdir socket |
2575 do |
5368 do |
2576 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
5369 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
2577 echo "configure:2578: checking for $ac_func" >&5 |
5370 echo "$as_me:$LINENO: checking for $ac_func" >&5 |
2578 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
5371 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
2579 echo $ac_n "(cached) $ac_c" 1>&6 |
5372 if eval "test \"\${$as_ac_var+set}\" = set"; then |
2580 else |
5373 echo $ECHO_N "(cached) $ECHO_C" >&6 |
2581 cat > conftest.$ac_ext <<EOF |
5374 else |
2582 #line 2583 "configure" |
5375 cat >conftest.$ac_ext <<_ACEOF |
2583 #include "confdefs.h" |
5376 /* confdefs.h. */ |
|
5377 _ACEOF |
|
5378 cat confdefs.h >>conftest.$ac_ext |
|
5379 cat >>conftest.$ac_ext <<_ACEOF |
|
5380 /* end confdefs.h. */ |
|
5381 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
|
5382 For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
5383 #define $ac_func innocuous_$ac_func |
|
5384 |
2584 /* System header to define __stub macros and hopefully few prototypes, |
5385 /* System header to define __stub macros and hopefully few prototypes, |
2585 which can conflict with char $ac_func(); below. */ |
5386 which can conflict with char $ac_func (); below. |
2586 #include <assert.h> |
5387 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
5388 <limits.h> exists even on freestanding compilers. */ |
|
5389 |
|
5390 #ifdef __STDC__ |
|
5391 # include <limits.h> |
|
5392 #else |
|
5393 # include <assert.h> |
|
5394 #endif |
|
5395 |
|
5396 #undef $ac_func |
|
5397 |
2587 /* Override any gcc2 internal prototype to avoid an error. */ |
5398 /* Override any gcc2 internal prototype to avoid an error. */ |
|
5399 #ifdef __cplusplus |
|
5400 extern "C" |
|
5401 { |
|
5402 #endif |
2588 /* We use char because int might match the return type of a gcc2 |
5403 /* We use char because int might match the return type of a gcc2 |
2589 builtin and then its argument prototype would still apply. */ |
5404 builtin and then its argument prototype would still apply. */ |
2590 char $ac_func(); |
5405 char $ac_func (); |
2591 |
|
2592 int main() { |
|
2593 |
|
2594 /* The GNU C library defines this for functions which it implements |
5406 /* The GNU C library defines this for functions which it implements |
2595 to always fail with ENOSYS. Some functions are actually named |
5407 to always fail with ENOSYS. Some functions are actually named |
2596 something starting with __ and the normal name is an alias. */ |
5408 something starting with __ and the normal name is an alias. */ |
2597 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
5409 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
2598 choke me |
5410 choke me |
2599 #else |
5411 #else |
2600 $ac_func(); |
5412 char (*f) () = $ac_func; |
2601 #endif |
5413 #endif |
2602 |
5414 #ifdef __cplusplus |
2603 ; return 0; } |
5415 } |
2604 EOF |
5416 #endif |
2605 if { (eval echo configure:2606: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5417 |
2606 rm -rf conftest* |
5418 int |
2607 eval "ac_cv_func_$ac_func=yes" |
5419 main () |
2608 else |
5420 { |
2609 echo "configure: failed program was:" >&5 |
5421 return f != $ac_func; |
2610 cat conftest.$ac_ext >&5 |
5422 ; |
2611 rm -rf conftest* |
5423 return 0; |
2612 eval "ac_cv_func_$ac_func=no" |
5424 } |
2613 fi |
5425 _ACEOF |
2614 rm -f conftest* |
5426 rm -f conftest.$ac_objext conftest$ac_exeext |
2615 fi |
5427 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
2616 |
5428 (eval $ac_link) 2>conftest.er1 |
2617 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then |
5429 ac_status=$? |
2618 echo "$ac_t""yes" 1>&6 |
5430 grep -v '^ *+' conftest.er1 >conftest.err |
2619 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` |
5431 rm -f conftest.er1 |
2620 cat >> confdefs.h <<EOF |
5432 cat conftest.err >&5 |
2621 #define $ac_tr_func 1 |
5433 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2622 EOF |
5434 (exit $ac_status); } && |
2623 |
5435 { ac_try='test -z "$ac_c_werror_flag" |
2624 else |
5436 || test ! -s conftest.err' |
2625 echo "$ac_t""no" 1>&6 |
5437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2626 fi |
5438 (eval $ac_try) 2>&5 |
2627 done |
5439 ac_status=$? |
|
5440 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
5441 (exit $ac_status); }; } && |
|
5442 { ac_try='test -s conftest$ac_exeext' |
|
5443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
5444 (eval $ac_try) 2>&5 |
|
5445 ac_status=$? |
|
5446 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
5447 (exit $ac_status); }; }; then |
|
5448 eval "$as_ac_var=yes" |
|
5449 else |
|
5450 echo "$as_me: failed program was:" >&5 |
|
5451 sed 's/^/| /' conftest.$ac_ext >&5 |
|
5452 |
|
5453 eval "$as_ac_var=no" |
|
5454 fi |
|
5455 rm -f conftest.err conftest.$ac_objext \ |
|
5456 conftest$ac_exeext conftest.$ac_ext |
|
5457 fi |
|
5458 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
|
5459 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
|
5460 if test `eval echo '${'$as_ac_var'}'` = yes; then |
|
5461 cat >>confdefs.h <<_ACEOF |
|
5462 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
|
5463 _ACEOF |
|
5464 |
|
5465 fi |
|
5466 done |
|
5467 |
|
5468 |
|
5469 |
2628 |
5470 |
2629 for ac_func in srandom random crypt |
5471 for ac_func in srandom random crypt |
2630 do |
5472 do |
2631 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
5473 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
2632 echo "configure:2633: checking for $ac_func" >&5 |
5474 echo "$as_me:$LINENO: checking for $ac_func" >&5 |
2633 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
5475 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
2634 echo $ac_n "(cached) $ac_c" 1>&6 |
5476 if eval "test \"\${$as_ac_var+set}\" = set"; then |
2635 else |
5477 echo $ECHO_N "(cached) $ECHO_C" >&6 |
2636 cat > conftest.$ac_ext <<EOF |
5478 else |
2637 #line 2638 "configure" |
5479 cat >conftest.$ac_ext <<_ACEOF |
2638 #include "confdefs.h" |
5480 /* confdefs.h. */ |
|
5481 _ACEOF |
|
5482 cat confdefs.h >>conftest.$ac_ext |
|
5483 cat >>conftest.$ac_ext <<_ACEOF |
|
5484 /* end confdefs.h. */ |
|
5485 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
|
5486 For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
5487 #define $ac_func innocuous_$ac_func |
|
5488 |
2639 /* System header to define __stub macros and hopefully few prototypes, |
5489 /* System header to define __stub macros and hopefully few prototypes, |
2640 which can conflict with char $ac_func(); below. */ |
5490 which can conflict with char $ac_func (); below. |
2641 #include <assert.h> |
5491 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
5492 <limits.h> exists even on freestanding compilers. */ |
|
5493 |
|
5494 #ifdef __STDC__ |
|
5495 # include <limits.h> |
|
5496 #else |
|
5497 # include <assert.h> |
|
5498 #endif |
|
5499 |
|
5500 #undef $ac_func |
|
5501 |
2642 /* Override any gcc2 internal prototype to avoid an error. */ |
5502 /* Override any gcc2 internal prototype to avoid an error. */ |
|
5503 #ifdef __cplusplus |
|
5504 extern "C" |
|
5505 { |
|
5506 #endif |
2643 /* We use char because int might match the return type of a gcc2 |
5507 /* We use char because int might match the return type of a gcc2 |
2644 builtin and then its argument prototype would still apply. */ |
5508 builtin and then its argument prototype would still apply. */ |
2645 char $ac_func(); |
5509 char $ac_func (); |
2646 |
|
2647 int main() { |
|
2648 |
|
2649 /* The GNU C library defines this for functions which it implements |
5510 /* The GNU C library defines this for functions which it implements |
2650 to always fail with ENOSYS. Some functions are actually named |
5511 to always fail with ENOSYS. Some functions are actually named |
2651 something starting with __ and the normal name is an alias. */ |
5512 something starting with __ and the normal name is an alias. */ |
2652 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
5513 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
2653 choke me |
5514 choke me |
2654 #else |
5515 #else |
2655 $ac_func(); |
5516 char (*f) () = $ac_func; |
2656 #endif |
5517 #endif |
2657 |
5518 #ifdef __cplusplus |
2658 ; return 0; } |
5519 } |
2659 EOF |
5520 #endif |
2660 if { (eval echo configure:2661: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5521 |
2661 rm -rf conftest* |
5522 int |
2662 eval "ac_cv_func_$ac_func=yes" |
5523 main () |
2663 else |
5524 { |
2664 echo "configure: failed program was:" >&5 |
5525 return f != $ac_func; |
2665 cat conftest.$ac_ext >&5 |
5526 ; |
2666 rm -rf conftest* |
5527 return 0; |
2667 eval "ac_cv_func_$ac_func=no" |
5528 } |
2668 fi |
5529 _ACEOF |
2669 rm -f conftest* |
5530 rm -f conftest.$ac_objext conftest$ac_exeext |
2670 fi |
5531 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
2671 |
5532 (eval $ac_link) 2>conftest.er1 |
2672 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then |
5533 ac_status=$? |
2673 echo "$ac_t""yes" 1>&6 |
5534 grep -v '^ *+' conftest.er1 >conftest.err |
2674 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` |
5535 rm -f conftest.er1 |
2675 cat >> confdefs.h <<EOF |
5536 cat conftest.err >&5 |
2676 #define $ac_tr_func 1 |
5537 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2677 EOF |
5538 (exit $ac_status); } && |
2678 |
5539 { ac_try='test -z "$ac_c_werror_flag" |
2679 else |
5540 || test ! -s conftest.err' |
2680 echo "$ac_t""no" 1>&6 |
5541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
5542 (eval $ac_try) 2>&5 |
|
5543 ac_status=$? |
|
5544 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
5545 (exit $ac_status); }; } && |
|
5546 { ac_try='test -s conftest$ac_exeext' |
|
5547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
5548 (eval $ac_try) 2>&5 |
|
5549 ac_status=$? |
|
5550 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
5551 (exit $ac_status); }; }; then |
|
5552 eval "$as_ac_var=yes" |
|
5553 else |
|
5554 echo "$as_me: failed program was:" >&5 |
|
5555 sed 's/^/| /' conftest.$ac_ext >&5 |
|
5556 |
|
5557 eval "$as_ac_var=no" |
|
5558 fi |
|
5559 rm -f conftest.err conftest.$ac_objext \ |
|
5560 conftest$ac_exeext conftest.$ac_ext |
|
5561 fi |
|
5562 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
|
5563 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
|
5564 if test `eval echo '${'$as_ac_var'}'` = yes; then |
|
5565 cat >>confdefs.h <<_ACEOF |
|
5566 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
|
5567 _ACEOF |
|
5568 |
2681 fi |
5569 fi |
2682 done |
5570 done |
2683 |
5571 |
2684 |
5572 |
2685 cgidir='${prefix}/cgi-bin' |
5573 cgidir='${prefix}/cgi-bin' |
2686 |
5574 |
2687 |
5575 |
2688 trap '' 1 2 15 |
5576 ac_config_files="$ac_config_files Makefile cgi/Makefile authenticate/Makefile commands/Makefile daemon/Makefile doc/Makefile lib/Makefile lib/cdb++/Makefile lib/cgi/Makefile lib/cli++/Makefile lib/config/Makefile lib/courier-authlib/Makefile lib/fdbuf/Makefile lib/misc/Makefile lib/mystring/Makefile lib/vdomain/Makefile lib/vpwentry/Makefile lib/vpwtable/Makefile scripts/Makefile php/Makefile python/Makefile" |
2689 cat > confcache <<\EOF |
5577 cat >confcache <<\_ACEOF |
2690 # This file is a shell script that caches the results of configure |
5578 # This file is a shell script that caches the results of configure |
2691 # tests run on this system so they can be shared between configure |
5579 # tests run on this system so they can be shared between configure |
2692 # scripts and configure runs. It is not useful on other systems. |
5580 # scripts and configure runs, see configure's option --config-cache. |
2693 # If it contains results you don't want to keep, you may remove or edit it. |
5581 # It is not useful on other systems. If it contains results you don't |
|
5582 # want to keep, you may remove or edit it. |
2694 # |
5583 # |
2695 # By default, configure uses ./config.cache as the cache file, |
5584 # config.status only pays attention to the cache file if you give it |
2696 # creating it if it does not exist already. You can give configure |
5585 # the --recheck option to rerun configure. |
2697 # the --cache-file=FILE option to use a different cache file; that is |
|
2698 # what configure does when it calls configure scripts in |
|
2699 # subdirectories, so they share the cache. |
|
2700 # Giving --cache-file=/dev/null disables caching, for debugging configure. |
|
2701 # config.status only pays attention to the cache file if you give it the |
|
2702 # --recheck option to rerun configure. |
|
2703 # |
5586 # |
2704 EOF |
5587 # `ac_cv_env_foo' variables (set or unset) will be overridden when |
|
5588 # loading this file, other *unset* `ac_cv_foo' will be assigned the |
|
5589 # following values. |
|
5590 |
|
5591 _ACEOF |
|
5592 |
2705 # The following way of writing the cache mishandles newlines in values, |
5593 # The following way of writing the cache mishandles newlines in values, |
2706 # but we know of no workaround that is simple, portable, and efficient. |
5594 # but we know of no workaround that is simple, portable, and efficient. |
2707 # So, don't put newlines in cache variables' values. |
5595 # So, don't put newlines in cache variables' values. |
2708 # Ultrix sh set writes to stderr and can't be redirected directly, |
5596 # Ultrix sh set writes to stderr and can't be redirected directly, |
2709 # and sets the high bit in the cache file unless we assign to the vars. |
5597 # and sets the high bit in the cache file unless we assign to the vars. |
2710 (set) 2>&1 | |
5598 { |
2711 case `(ac_space=' '; set | grep ac_space) 2>&1` in |
5599 (set) 2>&1 | |
2712 *ac_space=\ *) |
5600 case `(ac_space=' '; set | grep ac_space) 2>&1` in |
2713 # `set' does not quote correctly, so add quotes (double-quote substitution |
5601 *ac_space=\ *) |
2714 # turns \\\\ into \\, and sed turns \\ into \). |
5602 # `set' does not quote correctly, so add quotes (double-quote |
2715 sed -n \ |
5603 # substitution turns \\\\ into \\, and sed turns \\ into \). |
2716 -e "s/'/'\\\\''/g" \ |
5604 sed -n \ |
2717 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p" |
5605 "s/'/'\\\\''/g; |
2718 ;; |
5606 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
2719 *) |
5607 ;; |
2720 # `set' quotes correctly as required by POSIX, so do not add quotes. |
5608 *) |
2721 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p' |
5609 # `set' quotes correctly as required by POSIX, so do not add quotes. |
2722 ;; |
5610 sed -n \ |
2723 esac >> confcache |
5611 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
2724 if cmp -s $cache_file confcache; then |
5612 ;; |
2725 : |
5613 esac; |
2726 else |
5614 } | |
|
5615 sed ' |
|
5616 t clear |
|
5617 : clear |
|
5618 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ |
|
5619 t end |
|
5620 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
|
5621 : end' >>confcache |
|
5622 if diff $cache_file confcache >/dev/null 2>&1; then :; else |
2727 if test -w $cache_file; then |
5623 if test -w $cache_file; then |
2728 echo "updating cache $cache_file" |
5624 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" |
2729 cat confcache > $cache_file |
5625 cat confcache >$cache_file |
2730 else |
5626 else |
2731 echo "not updating unwritable cache $cache_file" |
5627 echo "not updating unwritable cache $cache_file" |
2732 fi |
5628 fi |
2733 fi |
5629 fi |
2734 rm -f confcache |
5630 rm -f confcache |
2735 |
5631 |
2736 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 |
|
2737 |
|
2738 test "x$prefix" = xNONE && prefix=$ac_default_prefix |
5632 test "x$prefix" = xNONE && prefix=$ac_default_prefix |
2739 # Let make expand exec_prefix. |
5633 # Let make expand exec_prefix. |
2740 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
5634 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
2741 |
5635 |
2742 # Any assignment to VPATH causes Sun make to only execute |
5636 # VPATH may cause trouble with some makes, so we remove $(srcdir), |
2743 # the first set of double-colon rules, so remove it if not needed. |
5637 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and |
2744 # If there is a colon in the path, we need to keep it. |
5638 # trailing colons and then remove the whole line if VPATH becomes empty |
|
5639 # (actually we leave an empty line to preserve line numbers). |
2745 if test "x$srcdir" = x.; then |
5640 if test "x$srcdir" = x.; then |
2746 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d' |
5641 ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
2747 fi |
5642 s/:*\$(srcdir):*/:/; |
2748 |
5643 s/:*\${srcdir}:*/:/; |
2749 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15 |
5644 s/:*@srcdir@:*/:/; |
|
5645 s/^\([^=]*=[ ]*\):*/\1/; |
|
5646 s/:*$//; |
|
5647 s/^[^=]*=[ ]*$//; |
|
5648 }' |
|
5649 fi |
2750 |
5650 |
2751 DEFS=-DHAVE_CONFIG_H |
5651 DEFS=-DHAVE_CONFIG_H |
2752 |
5652 |
2753 # Without the "./", some shells look in PATH for config.status. |
5653 ac_libobjs= |
|
5654 ac_ltlibobjs= |
|
5655 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
|
5656 # 1. Remove the extension, and $U if already installed. |
|
5657 ac_i=`echo "$ac_i" | |
|
5658 sed 's/\$U\././;s/\.o$//;s/\.obj$//'` |
|
5659 # 2. Add them. |
|
5660 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" |
|
5661 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' |
|
5662 done |
|
5663 LIBOBJS=$ac_libobjs |
|
5664 |
|
5665 LTLIBOBJS=$ac_ltlibobjs |
|
5666 |
|
5667 |
|
5668 |
2754 : ${CONFIG_STATUS=./config.status} |
5669 : ${CONFIG_STATUS=./config.status} |
2755 |
5670 ac_clean_files_save=$ac_clean_files |
2756 echo creating $CONFIG_STATUS |
5671 ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
2757 rm -f $CONFIG_STATUS |
5672 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 |
2758 cat > $CONFIG_STATUS <<EOF |
5673 echo "$as_me: creating $CONFIG_STATUS" >&6;} |
2759 #! /bin/sh |
5674 cat >$CONFIG_STATUS <<_ACEOF |
2760 # Generated automatically by configure. |
5675 #! $SHELL |
|
5676 # Generated by $as_me. |
2761 # Run this file to recreate the current configuration. |
5677 # Run this file to recreate the current configuration. |
2762 # This directory was configured as follows, |
5678 # Compiler output produced by configure, useful for debugging |
2763 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`: |
5679 # configure, is in config.log if it exists. |
|
5680 |
|
5681 debug=false |
|
5682 ac_cs_recheck=false |
|
5683 ac_cs_silent=false |
|
5684 SHELL=\${CONFIG_SHELL-$SHELL} |
|
5685 _ACEOF |
|
5686 |
|
5687 cat >>$CONFIG_STATUS <<\_ACEOF |
|
5688 ## --------------------- ## |
|
5689 ## M4sh Initialization. ## |
|
5690 ## --------------------- ## |
|
5691 |
|
5692 # Be Bourne compatible |
|
5693 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
|
5694 emulate sh |
|
5695 NULLCMD=: |
|
5696 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
|
5697 # is contrary to our usage. Disable this feature. |
|
5698 alias -g '${1+"$@"}'='"$@"' |
|
5699 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
|
5700 set -o posix |
|
5701 fi |
|
5702 DUALCASE=1; export DUALCASE # for MKS sh |
|
5703 |
|
5704 # Support unset when possible. |
|
5705 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
|
5706 as_unset=unset |
|
5707 else |
|
5708 as_unset=false |
|
5709 fi |
|
5710 |
|
5711 |
|
5712 # Work around bugs in pre-3.0 UWIN ksh. |
|
5713 $as_unset ENV MAIL MAILPATH |
|
5714 PS1='$ ' |
|
5715 PS2='> ' |
|
5716 PS4='+ ' |
|
5717 |
|
5718 # NLS nuisances. |
|
5719 for as_var in \ |
|
5720 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ |
|
5721 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
|
5722 LC_TELEPHONE LC_TIME |
|
5723 do |
|
5724 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
|
5725 eval $as_var=C; export $as_var |
|
5726 else |
|
5727 $as_unset $as_var |
|
5728 fi |
|
5729 done |
|
5730 |
|
5731 # Required to use basename. |
|
5732 if expr a : '\(a\)' >/dev/null 2>&1; then |
|
5733 as_expr=expr |
|
5734 else |
|
5735 as_expr=false |
|
5736 fi |
|
5737 |
|
5738 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then |
|
5739 as_basename=basename |
|
5740 else |
|
5741 as_basename=false |
|
5742 fi |
|
5743 |
|
5744 |
|
5745 # Name of the executable. |
|
5746 as_me=`$as_basename "$0" || |
|
5747 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
|
5748 X"$0" : 'X\(//\)$' \| \ |
|
5749 X"$0" : 'X\(/\)$' \| \ |
|
5750 . : '\(.\)' 2>/dev/null || |
|
5751 echo X/"$0" | |
|
5752 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } |
|
5753 /^X\/\(\/\/\)$/{ s//\1/; q; } |
|
5754 /^X\/\(\/\).*/{ s//\1/; q; } |
|
5755 s/.*/./; q'` |
|
5756 |
|
5757 |
|
5758 # PATH needs CR, and LINENO needs CR and PATH. |
|
5759 # Avoid depending upon Character Ranges. |
|
5760 as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
|
5761 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
|
5762 as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
|
5763 as_cr_digits='0123456789' |
|
5764 as_cr_alnum=$as_cr_Letters$as_cr_digits |
|
5765 |
|
5766 # The user is always right. |
|
5767 if test "${PATH_SEPARATOR+set}" != set; then |
|
5768 echo "#! /bin/sh" >conf$$.sh |
|
5769 echo "exit 0" >>conf$$.sh |
|
5770 chmod +x conf$$.sh |
|
5771 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
|
5772 PATH_SEPARATOR=';' |
|
5773 else |
|
5774 PATH_SEPARATOR=: |
|
5775 fi |
|
5776 rm -f conf$$.sh |
|
5777 fi |
|
5778 |
|
5779 |
|
5780 as_lineno_1=$LINENO |
|
5781 as_lineno_2=$LINENO |
|
5782 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
|
5783 test "x$as_lineno_1" != "x$as_lineno_2" && |
|
5784 test "x$as_lineno_3" = "x$as_lineno_2" || { |
|
5785 # Find who we are. Look in the path if we contain no path at all |
|
5786 # relative or not. |
|
5787 case $0 in |
|
5788 *[\\/]* ) as_myself=$0 ;; |
|
5789 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
5790 for as_dir in $PATH |
|
5791 do |
|
5792 IFS=$as_save_IFS |
|
5793 test -z "$as_dir" && as_dir=. |
|
5794 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
|
5795 done |
|
5796 |
|
5797 ;; |
|
5798 esac |
|
5799 # We did not find ourselves, most probably we were run as `sh COMMAND' |
|
5800 # in which case we are not to be found in the path. |
|
5801 if test "x$as_myself" = x; then |
|
5802 as_myself=$0 |
|
5803 fi |
|
5804 if test ! -f "$as_myself"; then |
|
5805 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 |
|
5806 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} |
|
5807 { (exit 1); exit 1; }; } |
|
5808 fi |
|
5809 case $CONFIG_SHELL in |
|
5810 '') |
|
5811 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
5812 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
|
5813 do |
|
5814 IFS=$as_save_IFS |
|
5815 test -z "$as_dir" && as_dir=. |
|
5816 for as_base in sh bash ksh sh5; do |
|
5817 case $as_dir in |
|
5818 /*) |
|
5819 if ("$as_dir/$as_base" -c ' |
|
5820 as_lineno_1=$LINENO |
|
5821 as_lineno_2=$LINENO |
|
5822 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
|
5823 test "x$as_lineno_1" != "x$as_lineno_2" && |
|
5824 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then |
|
5825 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } |
|
5826 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } |
|
5827 CONFIG_SHELL=$as_dir/$as_base |
|
5828 export CONFIG_SHELL |
|
5829 exec "$CONFIG_SHELL" "$0" ${1+"$@"} |
|
5830 fi;; |
|
5831 esac |
|
5832 done |
|
5833 done |
|
5834 ;; |
|
5835 esac |
|
5836 |
|
5837 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
|
5838 # uniformly replaced by the line number. The first 'sed' inserts a |
|
5839 # line-number line before each line; the second 'sed' does the real |
|
5840 # work. The second script uses 'N' to pair each line-number line |
|
5841 # with the numbered line, and appends trailing '-' during |
|
5842 # substitution so that $LINENO is not a special case at line end. |
|
5843 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
|
5844 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) |
|
5845 sed '=' <$as_myself | |
|
5846 sed ' |
|
5847 N |
|
5848 s,$,-, |
|
5849 : loop |
|
5850 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, |
|
5851 t loop |
|
5852 s,-$,, |
|
5853 s,^['$as_cr_digits']*\n,, |
|
5854 ' >$as_me.lineno && |
|
5855 chmod +x $as_me.lineno || |
|
5856 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 |
|
5857 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} |
|
5858 { (exit 1); exit 1; }; } |
|
5859 |
|
5860 # Don't try to exec as it changes $[0], causing all sort of problems |
|
5861 # (the dirname of $[0] is not the place where we might find the |
|
5862 # original and so on. Autoconf is especially sensible to this). |
|
5863 . ./$as_me.lineno |
|
5864 # Exit status is that of the last command. |
|
5865 exit |
|
5866 } |
|
5867 |
|
5868 |
|
5869 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in |
|
5870 *c*,-n*) ECHO_N= ECHO_C=' |
|
5871 ' ECHO_T=' ' ;; |
|
5872 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; |
|
5873 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; |
|
5874 esac |
|
5875 |
|
5876 if expr a : '\(a\)' >/dev/null 2>&1; then |
|
5877 as_expr=expr |
|
5878 else |
|
5879 as_expr=false |
|
5880 fi |
|
5881 |
|
5882 rm -f conf$$ conf$$.exe conf$$.file |
|
5883 echo >conf$$.file |
|
5884 if ln -s conf$$.file conf$$ 2>/dev/null; then |
|
5885 # We could just check for DJGPP; but this test a) works b) is more generic |
|
5886 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). |
|
5887 if test -f conf$$.exe; then |
|
5888 # Don't use ln at all; we don't have any links |
|
5889 as_ln_s='cp -p' |
|
5890 else |
|
5891 as_ln_s='ln -s' |
|
5892 fi |
|
5893 elif ln conf$$.file conf$$ 2>/dev/null; then |
|
5894 as_ln_s=ln |
|
5895 else |
|
5896 as_ln_s='cp -p' |
|
5897 fi |
|
5898 rm -f conf$$ conf$$.exe conf$$.file |
|
5899 |
|
5900 if mkdir -p . 2>/dev/null; then |
|
5901 as_mkdir_p=: |
|
5902 else |
|
5903 test -d ./-p && rmdir ./-p |
|
5904 as_mkdir_p=false |
|
5905 fi |
|
5906 |
|
5907 as_executable_p="test -f" |
|
5908 |
|
5909 # Sed expression to map a string onto a valid CPP name. |
|
5910 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
|
5911 |
|
5912 # Sed expression to map a string onto a valid variable name. |
|
5913 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
|
5914 |
|
5915 |
|
5916 # IFS |
|
5917 # We need space, tab and new line, in precisely that order. |
|
5918 as_nl=' |
|
5919 ' |
|
5920 IFS=" $as_nl" |
|
5921 |
|
5922 # CDPATH. |
|
5923 $as_unset CDPATH |
|
5924 |
|
5925 exec 6>&1 |
|
5926 |
|
5927 # Open the log real soon, to keep \$[0] and so on meaningful, and to |
|
5928 # report actual input values of CONFIG_FILES etc. instead of their |
|
5929 # values after options handling. Logging --version etc. is OK. |
|
5930 exec 5>>config.log |
|
5931 { |
|
5932 echo |
|
5933 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX |
|
5934 ## Running $as_me. ## |
|
5935 _ASBOX |
|
5936 } >&5 |
|
5937 cat >&5 <<_CSEOF |
|
5938 |
|
5939 This file was extended by $as_me, which was |
|
5940 generated by GNU Autoconf 2.59. Invocation command line was |
|
5941 |
|
5942 CONFIG_FILES = $CONFIG_FILES |
|
5943 CONFIG_HEADERS = $CONFIG_HEADERS |
|
5944 CONFIG_LINKS = $CONFIG_LINKS |
|
5945 CONFIG_COMMANDS = $CONFIG_COMMANDS |
|
5946 $ $0 $@ |
|
5947 |
|
5948 _CSEOF |
|
5949 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 |
|
5950 echo >&5 |
|
5951 _ACEOF |
|
5952 |
|
5953 # Files that config.status was made for. |
|
5954 if test -n "$ac_config_files"; then |
|
5955 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS |
|
5956 fi |
|
5957 |
|
5958 if test -n "$ac_config_headers"; then |
|
5959 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS |
|
5960 fi |
|
5961 |
|
5962 if test -n "$ac_config_links"; then |
|
5963 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS |
|
5964 fi |
|
5965 |
|
5966 if test -n "$ac_config_commands"; then |
|
5967 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS |
|
5968 fi |
|
5969 |
|
5970 cat >>$CONFIG_STATUS <<\_ACEOF |
|
5971 |
|
5972 ac_cs_usage="\ |
|
5973 \`$as_me' instantiates files from templates according to the |
|
5974 current configuration. |
|
5975 |
|
5976 Usage: $0 [OPTIONS] [FILE]... |
|
5977 |
|
5978 -h, --help print this help, then exit |
|
5979 -V, --version print version number, then exit |
|
5980 -q, --quiet do not print progress messages |
|
5981 -d, --debug don't remove temporary files |
|
5982 --recheck update $as_me by reconfiguring in the same conditions |
|
5983 --file=FILE[:TEMPLATE] |
|
5984 instantiate the configuration file FILE |
|
5985 --header=FILE[:TEMPLATE] |
|
5986 instantiate the configuration header FILE |
|
5987 |
|
5988 Configuration files: |
|
5989 $config_files |
|
5990 |
|
5991 Configuration headers: |
|
5992 $config_headers |
|
5993 |
|
5994 Configuration commands: |
|
5995 $config_commands |
|
5996 |
|
5997 Report bugs to <bug-autoconf@gnu.org>." |
|
5998 _ACEOF |
|
5999 |
|
6000 cat >>$CONFIG_STATUS <<_ACEOF |
|
6001 ac_cs_version="\\ |
|
6002 config.status |
|
6003 configured by $0, generated by GNU Autoconf 2.59, |
|
6004 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" |
|
6005 |
|
6006 Copyright (C) 2003 Free Software Foundation, Inc. |
|
6007 This config.status script is free software; the Free Software Foundation |
|
6008 gives unlimited permission to copy, distribute and modify it." |
|
6009 srcdir=$srcdir |
|
6010 INSTALL="$INSTALL" |
|
6011 _ACEOF |
|
6012 |
|
6013 cat >>$CONFIG_STATUS <<\_ACEOF |
|
6014 # If no file are specified by the user, then we need to provide default |
|
6015 # value. By we need to know if files were specified by the user. |
|
6016 ac_need_defaults=: |
|
6017 while test $# != 0 |
|
6018 do |
|
6019 case $1 in |
|
6020 --*=*) |
|
6021 ac_option=`expr "x$1" : 'x\([^=]*\)='` |
|
6022 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` |
|
6023 ac_shift=: |
|
6024 ;; |
|
6025 -*) |
|
6026 ac_option=$1 |
|
6027 ac_optarg=$2 |
|
6028 ac_shift=shift |
|
6029 ;; |
|
6030 *) # This is not an option, so the user has probably given explicit |
|
6031 # arguments. |
|
6032 ac_option=$1 |
|
6033 ac_need_defaults=false;; |
|
6034 esac |
|
6035 |
|
6036 case $ac_option in |
|
6037 # Handling of the options. |
|
6038 _ACEOF |
|
6039 cat >>$CONFIG_STATUS <<\_ACEOF |
|
6040 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
|
6041 ac_cs_recheck=: ;; |
|
6042 --version | --vers* | -V ) |
|
6043 echo "$ac_cs_version"; exit 0 ;; |
|
6044 --he | --h) |
|
6045 # Conflict between --help and --header |
|
6046 { { echo "$as_me:$LINENO: error: ambiguous option: $1 |
|
6047 Try \`$0 --help' for more information." >&5 |
|
6048 echo "$as_me: error: ambiguous option: $1 |
|
6049 Try \`$0 --help' for more information." >&2;} |
|
6050 { (exit 1); exit 1; }; };; |
|
6051 --help | --hel | -h ) |
|
6052 echo "$ac_cs_usage"; exit 0 ;; |
|
6053 --debug | --d* | -d ) |
|
6054 debug=: ;; |
|
6055 --file | --fil | --fi | --f ) |
|
6056 $ac_shift |
|
6057 CONFIG_FILES="$CONFIG_FILES $ac_optarg" |
|
6058 ac_need_defaults=false;; |
|
6059 --header | --heade | --head | --hea ) |
|
6060 $ac_shift |
|
6061 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" |
|
6062 ac_need_defaults=false;; |
|
6063 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
|
6064 | -silent | --silent | --silen | --sile | --sil | --si | --s) |
|
6065 ac_cs_silent=: ;; |
|
6066 |
|
6067 # This is an error. |
|
6068 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 |
|
6069 Try \`$0 --help' for more information." >&5 |
|
6070 echo "$as_me: error: unrecognized option: $1 |
|
6071 Try \`$0 --help' for more information." >&2;} |
|
6072 { (exit 1); exit 1; }; } ;; |
|
6073 |
|
6074 *) ac_config_targets="$ac_config_targets $1" ;; |
|
6075 |
|
6076 esac |
|
6077 shift |
|
6078 done |
|
6079 |
|
6080 ac_configure_extra_args= |
|
6081 |
|
6082 if $ac_cs_silent; then |
|
6083 exec 6>/dev/null |
|
6084 ac_configure_extra_args="$ac_configure_extra_args --silent" |
|
6085 fi |
|
6086 |
|
6087 _ACEOF |
|
6088 cat >>$CONFIG_STATUS <<_ACEOF |
|
6089 if \$ac_cs_recheck; then |
|
6090 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 |
|
6091 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
|
6092 fi |
|
6093 |
|
6094 _ACEOF |
|
6095 |
|
6096 cat >>$CONFIG_STATUS <<_ACEOF |
2764 # |
6097 # |
2765 # $0 $ac_configure_args |
6098 # INIT-COMMANDS section. |
2766 # |
6099 # |
2767 # Compiler output produced by configure, useful for debugging |
6100 |
2768 # configure, is in ./config.log if it exists. |
6101 |
2769 |
6102 |
2770 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]" |
6103 _ACEOF |
2771 for ac_option |
6104 |
|
6105 |
|
6106 |
|
6107 cat >>$CONFIG_STATUS <<\_ACEOF |
|
6108 for ac_config_target in $ac_config_targets |
2772 do |
6109 do |
2773 case "\$ac_option" in |
6110 case "$ac_config_target" in |
2774 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
6111 # Handling of arguments. |
2775 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion" |
6112 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
2776 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;; |
6113 "cgi/Makefile" ) CONFIG_FILES="$CONFIG_FILES cgi/Makefile" ;; |
2777 -version | --version | --versio | --versi | --vers | --ver | --ve | --v) |
6114 "authenticate/Makefile" ) CONFIG_FILES="$CONFIG_FILES authenticate/Makefile" ;; |
2778 echo "$CONFIG_STATUS generated by autoconf version 2.13" |
6115 "commands/Makefile" ) CONFIG_FILES="$CONFIG_FILES commands/Makefile" ;; |
2779 exit 0 ;; |
6116 "daemon/Makefile" ) CONFIG_FILES="$CONFIG_FILES daemon/Makefile" ;; |
2780 -help | --help | --hel | --he | --h) |
6117 "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; |
2781 echo "\$ac_cs_usage"; exit 0 ;; |
6118 "lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;; |
2782 *) echo "\$ac_cs_usage"; exit 1 ;; |
6119 "lib/cdb++/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/cdb++/Makefile" ;; |
|
6120 "lib/cgi/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/cgi/Makefile" ;; |
|
6121 "lib/cli++/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/cli++/Makefile" ;; |
|
6122 "lib/config/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/config/Makefile" ;; |
|
6123 "lib/courier-authlib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/courier-authlib/Makefile" ;; |
|
6124 "lib/fdbuf/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/fdbuf/Makefile" ;; |
|
6125 "lib/misc/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/misc/Makefile" ;; |
|
6126 "lib/mystring/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/mystring/Makefile" ;; |
|
6127 "lib/vdomain/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/vdomain/Makefile" ;; |
|
6128 "lib/vpwentry/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/vpwentry/Makefile" ;; |
|
6129 "lib/vpwtable/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/vpwtable/Makefile" ;; |
|
6130 "scripts/Makefile" ) CONFIG_FILES="$CONFIG_FILES scripts/Makefile" ;; |
|
6131 "php/Makefile" ) CONFIG_FILES="$CONFIG_FILES php/Makefile" ;; |
|
6132 "python/Makefile" ) CONFIG_FILES="$CONFIG_FILES python/Makefile" ;; |
|
6133 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;; |
|
6134 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; |
|
6135 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
|
6136 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
|
6137 { (exit 1); exit 1; }; };; |
2783 esac |
6138 esac |
2784 done |
6139 done |
2785 |
6140 |
2786 ac_given_srcdir=$srcdir |
6141 # If the user did not use the arguments to specify the items to instantiate, |
2787 ac_given_INSTALL="$INSTALL" |
6142 # then the envvar interface is used. Set only those that are not. |
2788 |
6143 # We use the long form for the default assignment because of an extremely |
2789 trap 'rm -fr `echo "Makefile |
6144 # bizarre bug on SunOS 4.1.3. |
2790 cgi/Makefile |
6145 if $ac_need_defaults; then |
2791 authenticate/Makefile |
6146 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files |
2792 commands/Makefile |
6147 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers |
2793 daemon/Makefile |
6148 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands |
2794 doc/Makefile |
6149 fi |
2795 lib/Makefile |
6150 |
2796 lib/cdb++/Makefile |
6151 # Have a temporary directory for convenience. Make it in the build tree |
2797 lib/cgi/Makefile |
6152 # simply because there is no reason to put it here, and in addition, |
2798 lib/cli/Makefile |
6153 # creating and moving files from /tmp can sometimes cause problems. |
2799 lib/config/Makefile |
6154 # Create a temporary directory, and hook for its removal unless debugging. |
2800 lib/courier-authlib/Makefile |
6155 $debug || |
2801 lib/fdbuf/Makefile |
6156 { |
2802 lib/misc/Makefile |
6157 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 |
2803 lib/mystring/Makefile |
6158 trap '{ (exit 1); exit 1; }' 1 2 13 15 |
2804 lib/vdomain/Makefile |
6159 } |
2805 lib/vpwentry/Makefile |
6160 |
2806 lib/vpwtable/Makefile |
6161 # Create a (secure) tmp directory for tmp files. |
2807 scripts/Makefile |
6162 |
2808 php/Makefile |
6163 { |
2809 python/Makefile config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 |
6164 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && |
2810 EOF |
6165 test -n "$tmp" && test -d "$tmp" |
2811 cat >> $CONFIG_STATUS <<EOF |
6166 } || |
2812 |
6167 { |
2813 # Protect against being on the right side of a sed subst in config.status. |
6168 tmp=./confstat$$-$RANDOM |
2814 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g; |
6169 (umask 077 && mkdir $tmp) |
2815 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF |
6170 } || |
2816 $ac_vpsub |
6171 { |
|
6172 echo "$me: cannot create a temporary directory in ." >&2 |
|
6173 { (exit 1); exit 1; } |
|
6174 } |
|
6175 |
|
6176 _ACEOF |
|
6177 |
|
6178 cat >>$CONFIG_STATUS <<_ACEOF |
|
6179 |
|
6180 # |
|
6181 # CONFIG_FILES section. |
|
6182 # |
|
6183 |
|
6184 # No need to generate the scripts if there are no CONFIG_FILES. |
|
6185 # This happens for instance when ./config.status config.h |
|
6186 if test -n "\$CONFIG_FILES"; then |
|
6187 # Protect against being on the right side of a sed subst in config.status. |
|
6188 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; |
|
6189 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF |
|
6190 s,@SHELL@,$SHELL,;t t |
|
6191 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t |
|
6192 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t |
|
6193 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t |
|
6194 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t |
|
6195 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t |
|
6196 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t |
|
6197 s,@exec_prefix@,$exec_prefix,;t t |
|
6198 s,@prefix@,$prefix,;t t |
|
6199 s,@program_transform_name@,$program_transform_name,;t t |
|
6200 s,@bindir@,$bindir,;t t |
|
6201 s,@sbindir@,$sbindir,;t t |
|
6202 s,@libexecdir@,$libexecdir,;t t |
|
6203 s,@datadir@,$datadir,;t t |
|
6204 s,@sysconfdir@,$sysconfdir,;t t |
|
6205 s,@sharedstatedir@,$sharedstatedir,;t t |
|
6206 s,@localstatedir@,$localstatedir,;t t |
|
6207 s,@libdir@,$libdir,;t t |
|
6208 s,@includedir@,$includedir,;t t |
|
6209 s,@oldincludedir@,$oldincludedir,;t t |
|
6210 s,@infodir@,$infodir,;t t |
|
6211 s,@mandir@,$mandir,;t t |
|
6212 s,@build_alias@,$build_alias,;t t |
|
6213 s,@host_alias@,$host_alias,;t t |
|
6214 s,@target_alias@,$target_alias,;t t |
|
6215 s,@DEFS@,$DEFS,;t t |
|
6216 s,@ECHO_C@,$ECHO_C,;t t |
|
6217 s,@ECHO_N@,$ECHO_N,;t t |
|
6218 s,@ECHO_T@,$ECHO_T,;t t |
|
6219 s,@LIBS@,$LIBS,;t t |
|
6220 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t |
|
6221 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t |
|
6222 s,@INSTALL_DATA@,$INSTALL_DATA,;t t |
|
6223 s,@PACKAGE@,$PACKAGE,;t t |
|
6224 s,@VERSION@,$VERSION,;t t |
|
6225 s,@ACLOCAL@,$ACLOCAL,;t t |
|
6226 s,@AUTOCONF@,$AUTOCONF,;t t |
|
6227 s,@AUTOMAKE@,$AUTOMAKE,;t t |
|
6228 s,@AUTOHEADER@,$AUTOHEADER,;t t |
|
6229 s,@MAKEINFO@,$MAKEINFO,;t t |
|
6230 s,@SET_MAKE@,$SET_MAKE,;t t |
|
6231 s,@KRB5_TRUE@,$KRB5_TRUE,;t t |
|
6232 s,@KRB5_FALSE@,$KRB5_FALSE,;t t |
|
6233 s,@VPWTABLE_CDB_TRUE@,$VPWTABLE_CDB_TRUE,;t t |
|
6234 s,@VPWTABLE_CDB_FALSE@,$VPWTABLE_CDB_FALSE,;t t |
|
6235 s,@VPWTABLE_GDBM_TRUE@,$VPWTABLE_GDBM_TRUE,;t t |
|
6236 s,@VPWTABLE_GDBM_FALSE@,$VPWTABLE_GDBM_FALSE,;t t |
|
6237 s,@FDBUF_NO_MYSTRING_TRUE@,$FDBUF_NO_MYSTRING_TRUE,;t t |
|
6238 s,@FDBUF_NO_MYSTRING_FALSE@,$FDBUF_NO_MYSTRING_FALSE,;t t |
|
6239 s,@CC@,$CC,;t t |
|
6240 s,@CFLAGS@,$CFLAGS,;t t |
|
6241 s,@LDFLAGS@,$LDFLAGS,;t t |
|
6242 s,@CPPFLAGS@,$CPPFLAGS,;t t |
|
6243 s,@ac_ct_CC@,$ac_ct_CC,;t t |
|
6244 s,@EXEEXT@,$EXEEXT,;t t |
|
6245 s,@OBJEXT@,$OBJEXT,;t t |
|
6246 s,@CXX@,$CXX,;t t |
|
6247 s,@CXXFLAGS@,$CXXFLAGS,;t t |
|
6248 s,@ac_ct_CXX@,$ac_ct_CXX,;t t |
|
6249 s,@RANLIB@,$RANLIB,;t t |
|
6250 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t |
|
6251 s,@STRIP@,$STRIP,;t t |
|
6252 s,@RM@,$RM,;t t |
|
6253 s,@MKDIR@,$MKDIR,;t t |
|
6254 s,@LN@,$LN,;t t |
|
6255 s,@PYTHON@,$PYTHON,;t t |
|
6256 s,@pythonlibdir@,$pythonlibdir,;t t |
|
6257 s,@WANTPYTHON_TRUE@,$WANTPYTHON_TRUE,;t t |
|
6258 s,@WANTPYTHON_FALSE@,$WANTPYTHON_FALSE,;t t |
|
6259 s,@phpdir@,$phpdir,;t t |
|
6260 s,@W3M@,$W3M,;t t |
|
6261 s,@LYNX@,$LYNX,;t t |
|
6262 s,@HTML2TXT@,$HTML2TXT,;t t |
|
6263 s,@POD2MAN@,$POD2MAN,;t t |
|
6264 s,@POD2HTML@,$POD2HTML,;t t |
|
6265 s,@SUFFIXES@,$SUFFIXES,;t t |
|
6266 s,@CPP@,$CPP,;t t |
|
6267 s,@EGREP@,$EGREP,;t t |
|
6268 s,@cgidir@,$cgidir,;t t |
|
6269 s,@LIBOBJS@,$LIBOBJS,;t t |
|
6270 s,@LTLIBOBJS@,$LTLIBOBJS,;t t |
|
6271 CEOF |
|
6272 |
|
6273 _ACEOF |
|
6274 |
|
6275 cat >>$CONFIG_STATUS <<\_ACEOF |
|
6276 # Split the substitutions into bite-sized pieces for seds with |
|
6277 # small command number limits, like on Digital OSF/1 and HP-UX. |
|
6278 ac_max_sed_lines=48 |
|
6279 ac_sed_frag=1 # Number of current file. |
|
6280 ac_beg=1 # First line for current file. |
|
6281 ac_end=$ac_max_sed_lines # Line after last line for current file. |
|
6282 ac_more_lines=: |
|
6283 ac_sed_cmds= |
|
6284 while $ac_more_lines; do |
|
6285 if test $ac_beg -gt 1; then |
|
6286 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag |
|
6287 else |
|
6288 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag |
|
6289 fi |
|
6290 if test ! -s $tmp/subs.frag; then |
|
6291 ac_more_lines=false |
|
6292 else |
|
6293 # The purpose of the label and of the branching condition is to |
|
6294 # speed up the sed processing (if there are no `@' at all, there |
|
6295 # is no need to browse any of the substitutions). |
|
6296 # These are the two extra sed commands mentioned above. |
|
6297 (echo ':t |
|
6298 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed |
|
6299 if test -z "$ac_sed_cmds"; then |
|
6300 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" |
|
6301 else |
|
6302 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" |
|
6303 fi |
|
6304 ac_sed_frag=`expr $ac_sed_frag + 1` |
|
6305 ac_beg=$ac_end |
|
6306 ac_end=`expr $ac_end + $ac_max_sed_lines` |
|
6307 fi |
|
6308 done |
|
6309 if test -z "$ac_sed_cmds"; then |
|
6310 ac_sed_cmds=cat |
|
6311 fi |
|
6312 fi # test -n "$CONFIG_FILES" |
|
6313 |
|
6314 _ACEOF |
|
6315 cat >>$CONFIG_STATUS <<\_ACEOF |
|
6316 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue |
|
6317 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
|
6318 case $ac_file in |
|
6319 - | *:- | *:-:* ) # input from stdin |
|
6320 cat >$tmp/stdin |
|
6321 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
|
6322 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
|
6323 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
|
6324 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
|
6325 * ) ac_file_in=$ac_file.in ;; |
|
6326 esac |
|
6327 |
|
6328 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. |
|
6329 ac_dir=`(dirname "$ac_file") 2>/dev/null || |
|
6330 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
6331 X"$ac_file" : 'X\(//\)[^/]' \| \ |
|
6332 X"$ac_file" : 'X\(//\)$' \| \ |
|
6333 X"$ac_file" : 'X\(/\)' \| \ |
|
6334 . : '\(.\)' 2>/dev/null || |
|
6335 echo X"$ac_file" | |
|
6336 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
|
6337 /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
|
6338 /^X\(\/\/\)$/{ s//\1/; q; } |
|
6339 /^X\(\/\).*/{ s//\1/; q; } |
|
6340 s/.*/./; q'` |
|
6341 { if $as_mkdir_p; then |
|
6342 mkdir -p "$ac_dir" |
|
6343 else |
|
6344 as_dir="$ac_dir" |
|
6345 as_dirs= |
|
6346 while test ! -d "$as_dir"; do |
|
6347 as_dirs="$as_dir $as_dirs" |
|
6348 as_dir=`(dirname "$as_dir") 2>/dev/null || |
|
6349 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
6350 X"$as_dir" : 'X\(//\)[^/]' \| \ |
|
6351 X"$as_dir" : 'X\(//\)$' \| \ |
|
6352 X"$as_dir" : 'X\(/\)' \| \ |
|
6353 . : '\(.\)' 2>/dev/null || |
|
6354 echo X"$as_dir" | |
|
6355 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
|
6356 /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
|
6357 /^X\(\/\/\)$/{ s//\1/; q; } |
|
6358 /^X\(\/\).*/{ s//\1/; q; } |
|
6359 s/.*/./; q'` |
|
6360 done |
|
6361 test ! -n "$as_dirs" || mkdir $as_dirs |
|
6362 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 |
|
6363 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} |
|
6364 { (exit 1); exit 1; }; }; } |
|
6365 |
|
6366 ac_builddir=. |
|
6367 |
|
6368 if test "$ac_dir" != .; then |
|
6369 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
|
6370 # A "../" for each directory in $ac_dir_suffix. |
|
6371 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` |
|
6372 else |
|
6373 ac_dir_suffix= ac_top_builddir= |
|
6374 fi |
|
6375 |
|
6376 case $srcdir in |
|
6377 .) # No --srcdir option. We are building in place. |
|
6378 ac_srcdir=. |
|
6379 if test -z "$ac_top_builddir"; then |
|
6380 ac_top_srcdir=. |
|
6381 else |
|
6382 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` |
|
6383 fi ;; |
|
6384 [\\/]* | ?:[\\/]* ) # Absolute path. |
|
6385 ac_srcdir=$srcdir$ac_dir_suffix; |
|
6386 ac_top_srcdir=$srcdir ;; |
|
6387 *) # Relative path. |
|
6388 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
|
6389 ac_top_srcdir=$ac_top_builddir$srcdir ;; |
|
6390 esac |
|
6391 |
|
6392 # Do not use `cd foo && pwd` to compute absolute paths, because |
|
6393 # the directories may not exist. |
|
6394 case `pwd` in |
|
6395 .) ac_abs_builddir="$ac_dir";; |
|
6396 *) |
|
6397 case "$ac_dir" in |
|
6398 .) ac_abs_builddir=`pwd`;; |
|
6399 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; |
|
6400 *) ac_abs_builddir=`pwd`/"$ac_dir";; |
|
6401 esac;; |
|
6402 esac |
|
6403 case $ac_abs_builddir in |
|
6404 .) ac_abs_top_builddir=${ac_top_builddir}.;; |
|
6405 *) |
|
6406 case ${ac_top_builddir}. in |
|
6407 .) ac_abs_top_builddir=$ac_abs_builddir;; |
|
6408 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; |
|
6409 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; |
|
6410 esac;; |
|
6411 esac |
|
6412 case $ac_abs_builddir in |
|
6413 .) ac_abs_srcdir=$ac_srcdir;; |
|
6414 *) |
|
6415 case $ac_srcdir in |
|
6416 .) ac_abs_srcdir=$ac_abs_builddir;; |
|
6417 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; |
|
6418 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; |
|
6419 esac;; |
|
6420 esac |
|
6421 case $ac_abs_builddir in |
|
6422 .) ac_abs_top_srcdir=$ac_top_srcdir;; |
|
6423 *) |
|
6424 case $ac_top_srcdir in |
|
6425 .) ac_abs_top_srcdir=$ac_abs_builddir;; |
|
6426 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; |
|
6427 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; |
|
6428 esac;; |
|
6429 esac |
|
6430 |
|
6431 |
|
6432 case $INSTALL in |
|
6433 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
|
6434 *) ac_INSTALL=$ac_top_builddir$INSTALL ;; |
|
6435 esac |
|
6436 |
|
6437 if test x"$ac_file" != x-; then |
|
6438 { echo "$as_me:$LINENO: creating $ac_file" >&5 |
|
6439 echo "$as_me: creating $ac_file" >&6;} |
|
6440 rm -f "$ac_file" |
|
6441 fi |
|
6442 # Let's still pretend it is `configure' which instantiates (i.e., don't |
|
6443 # use $as_me), people would be surprised to read: |
|
6444 # /* config.h. Generated by config.status. */ |
|
6445 if test x"$ac_file" = x-; then |
|
6446 configure_input= |
|
6447 else |
|
6448 configure_input="$ac_file. " |
|
6449 fi |
|
6450 configure_input=$configure_input"Generated from `echo $ac_file_in | |
|
6451 sed 's,.*/,,'` by configure." |
|
6452 |
|
6453 # First look for the input files in the build tree, otherwise in the |
|
6454 # src tree. |
|
6455 ac_file_inputs=`IFS=: |
|
6456 for f in $ac_file_in; do |
|
6457 case $f in |
|
6458 -) echo $tmp/stdin ;; |
|
6459 [\\/$]*) |
|
6460 # Absolute (can't be DOS-style, as IFS=:) |
|
6461 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
|
6462 echo "$as_me: error: cannot find input file: $f" >&2;} |
|
6463 { (exit 1); exit 1; }; } |
|
6464 echo "$f";; |
|
6465 *) # Relative |
|
6466 if test -f "$f"; then |
|
6467 # Build tree |
|
6468 echo "$f" |
|
6469 elif test -f "$srcdir/$f"; then |
|
6470 # Source tree |
|
6471 echo "$srcdir/$f" |
|
6472 else |
|
6473 # /dev/null tree |
|
6474 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
|
6475 echo "$as_me: error: cannot find input file: $f" >&2;} |
|
6476 { (exit 1); exit 1; }; } |
|
6477 fi;; |
|
6478 esac |
|
6479 done` || { (exit 1); exit 1; } |
|
6480 _ACEOF |
|
6481 cat >>$CONFIG_STATUS <<_ACEOF |
|
6482 sed "$ac_vpsub |
2817 $extrasub |
6483 $extrasub |
2818 s%@SHELL@%$SHELL%g |
6484 _ACEOF |
2819 s%@CFLAGS@%$CFLAGS%g |
6485 cat >>$CONFIG_STATUS <<\_ACEOF |
2820 s%@CPPFLAGS@%$CPPFLAGS%g |
6486 :t |
2821 s%@CXXFLAGS@%$CXXFLAGS%g |
6487 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
2822 s%@FFLAGS@%$FFLAGS%g |
6488 s,@configure_input@,$configure_input,;t t |
2823 s%@DEFS@%$DEFS%g |
6489 s,@srcdir@,$ac_srcdir,;t t |
2824 s%@LDFLAGS@%$LDFLAGS%g |
6490 s,@abs_srcdir@,$ac_abs_srcdir,;t t |
2825 s%@LIBS@%$LIBS%g |
6491 s,@top_srcdir@,$ac_top_srcdir,;t t |
2826 s%@exec_prefix@%$exec_prefix%g |
6492 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t |
2827 s%@prefix@%$prefix%g |
6493 s,@builddir@,$ac_builddir,;t t |
2828 s%@program_transform_name@%$program_transform_name%g |
6494 s,@abs_builddir@,$ac_abs_builddir,;t t |
2829 s%@bindir@%$bindir%g |
6495 s,@top_builddir@,$ac_top_builddir,;t t |
2830 s%@sbindir@%$sbindir%g |
6496 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t |
2831 s%@libexecdir@%$libexecdir%g |
6497 s,@INSTALL@,$ac_INSTALL,;t t |
2832 s%@datadir@%$datadir%g |
6498 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out |
2833 s%@sysconfdir@%$sysconfdir%g |
6499 rm -f $tmp/stdin |
2834 s%@sharedstatedir@%$sharedstatedir%g |
6500 if test x"$ac_file" != x-; then |
2835 s%@localstatedir@%$localstatedir%g |
6501 mv $tmp/out $ac_file |
2836 s%@libdir@%$libdir%g |
|
2837 s%@includedir@%$includedir%g |
|
2838 s%@oldincludedir@%$oldincludedir%g |
|
2839 s%@infodir@%$infodir%g |
|
2840 s%@mandir@%$mandir%g |
|
2841 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g |
|
2842 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g |
|
2843 s%@INSTALL_DATA@%$INSTALL_DATA%g |
|
2844 s%@PACKAGE@%$PACKAGE%g |
|
2845 s%@VERSION@%$VERSION%g |
|
2846 s%@ACLOCAL@%$ACLOCAL%g |
|
2847 s%@AUTOCONF@%$AUTOCONF%g |
|
2848 s%@AUTOMAKE@%$AUTOMAKE%g |
|
2849 s%@AUTOHEADER@%$AUTOHEADER%g |
|
2850 s%@MAKEINFO@%$MAKEINFO%g |
|
2851 s%@SET_MAKE@%$SET_MAKE%g |
|
2852 s%@KRB5_TRUE@%$KRB5_TRUE%g |
|
2853 s%@KRB5_FALSE@%$KRB5_FALSE%g |
|
2854 s%@CDBPROGS@%$CDBPROGS%g |
|
2855 s%@CDBSCRIPTS@%$CDBSCRIPTS%g |
|
2856 s%@VPWTABLE_CDB_TRUE@%$VPWTABLE_CDB_TRUE%g |
|
2857 s%@VPWTABLE_CDB_FALSE@%$VPWTABLE_CDB_FALSE%g |
|
2858 s%@VPWTABLE_GDBM_TRUE@%$VPWTABLE_GDBM_TRUE%g |
|
2859 s%@VPWTABLE_GDBM_FALSE@%$VPWTABLE_GDBM_FALSE%g |
|
2860 s%@FDBUF_NO_MYSTRING_TRUE@%$FDBUF_NO_MYSTRING_TRUE%g |
|
2861 s%@FDBUF_NO_MYSTRING_FALSE@%$FDBUF_NO_MYSTRING_FALSE%g |
|
2862 s%@CC@%$CC%g |
|
2863 s%@CXX@%$CXX%g |
|
2864 s%@RANLIB@%$RANLIB%g |
|
2865 s%@STRIP@%$STRIP%g |
|
2866 s%@RM@%$RM%g |
|
2867 s%@MKDIR@%$MKDIR%g |
|
2868 s%@LN@%$LN%g |
|
2869 s%@PYTHON@%$PYTHON%g |
|
2870 s%@pythonlibdir@%$pythonlibdir%g |
|
2871 s%@WANTPYTHON_TRUE@%$WANTPYTHON_TRUE%g |
|
2872 s%@WANTPYTHON_FALSE@%$WANTPYTHON_FALSE%g |
|
2873 s%@phpdir@%$phpdir%g |
|
2874 s%@W3M@%$W3M%g |
|
2875 s%@LYNX@%$LYNX%g |
|
2876 s%@HTML2TXT@%$HTML2TXT%g |
|
2877 s%@POD2MAN@%$POD2MAN%g |
|
2878 s%@POD2HTML@%$POD2HTML%g |
|
2879 s%@SUFFIXES@%$SUFFIXES%g |
|
2880 s%@CPP@%$CPP%g |
|
2881 s%@cgidir@%$cgidir%g |
|
2882 |
|
2883 CEOF |
|
2884 EOF |
|
2885 |
|
2886 cat >> $CONFIG_STATUS <<\EOF |
|
2887 |
|
2888 # Split the substitutions into bite-sized pieces for seds with |
|
2889 # small command number limits, like on Digital OSF/1 and HP-UX. |
|
2890 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script. |
|
2891 ac_file=1 # Number of current file. |
|
2892 ac_beg=1 # First line for current file. |
|
2893 ac_end=$ac_max_sed_cmds # Line after last line for current file. |
|
2894 ac_more_lines=: |
|
2895 ac_sed_cmds="" |
|
2896 while $ac_more_lines; do |
|
2897 if test $ac_beg -gt 1; then |
|
2898 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file |
|
2899 else |
6502 else |
2900 sed "${ac_end}q" conftest.subs > conftest.s$ac_file |
6503 cat $tmp/out |
|
6504 rm -f $tmp/out |
2901 fi |
6505 fi |
2902 if test ! -s conftest.s$ac_file; then |
6506 |
2903 ac_more_lines=false |
6507 done |
2904 rm -f conftest.s$ac_file |
6508 _ACEOF |
2905 else |
6509 cat >>$CONFIG_STATUS <<\_ACEOF |
2906 if test -z "$ac_sed_cmds"; then |
6510 |
2907 ac_sed_cmds="sed -f conftest.s$ac_file" |
6511 # |
2908 else |
6512 # CONFIG_HEADER section. |
2909 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file" |
6513 # |
2910 fi |
|
2911 ac_file=`expr $ac_file + 1` |
|
2912 ac_beg=$ac_end |
|
2913 ac_end=`expr $ac_end + $ac_max_sed_cmds` |
|
2914 fi |
|
2915 done |
|
2916 if test -z "$ac_sed_cmds"; then |
|
2917 ac_sed_cmds=cat |
|
2918 fi |
|
2919 EOF |
|
2920 |
|
2921 cat >> $CONFIG_STATUS <<EOF |
|
2922 |
|
2923 CONFIG_FILES=\${CONFIG_FILES-"Makefile |
|
2924 cgi/Makefile |
|
2925 authenticate/Makefile |
|
2926 commands/Makefile |
|
2927 daemon/Makefile |
|
2928 doc/Makefile |
|
2929 lib/Makefile |
|
2930 lib/cdb++/Makefile |
|
2931 lib/cgi/Makefile |
|
2932 lib/cli/Makefile |
|
2933 lib/config/Makefile |
|
2934 lib/courier-authlib/Makefile |
|
2935 lib/fdbuf/Makefile |
|
2936 lib/misc/Makefile |
|
2937 lib/mystring/Makefile |
|
2938 lib/vdomain/Makefile |
|
2939 lib/vpwentry/Makefile |
|
2940 lib/vpwtable/Makefile |
|
2941 scripts/Makefile |
|
2942 php/Makefile |
|
2943 python/Makefile"} |
|
2944 EOF |
|
2945 cat >> $CONFIG_STATUS <<\EOF |
|
2946 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then |
|
2947 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
|
2948 case "$ac_file" in |
|
2949 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'` |
|
2950 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; |
|
2951 *) ac_file_in="${ac_file}.in" ;; |
|
2952 esac |
|
2953 |
|
2954 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories. |
|
2955 |
|
2956 # Remove last slash and all that follows it. Not all systems have dirname. |
|
2957 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'` |
|
2958 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then |
|
2959 # The file is in a subdirectory. |
|
2960 test ! -d "$ac_dir" && mkdir "$ac_dir" |
|
2961 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`" |
|
2962 # A "../" for each directory in $ac_dir_suffix. |
|
2963 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'` |
|
2964 else |
|
2965 ac_dir_suffix= ac_dots= |
|
2966 fi |
|
2967 |
|
2968 case "$ac_given_srcdir" in |
|
2969 .) srcdir=. |
|
2970 if test -z "$ac_dots"; then top_srcdir=. |
|
2971 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;; |
|
2972 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;; |
|
2973 *) # Relative path. |
|
2974 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix" |
|
2975 top_srcdir="$ac_dots$ac_given_srcdir" ;; |
|
2976 esac |
|
2977 |
|
2978 case "$ac_given_INSTALL" in |
|
2979 [/$]*) INSTALL="$ac_given_INSTALL" ;; |
|
2980 *) INSTALL="$ac_dots$ac_given_INSTALL" ;; |
|
2981 esac |
|
2982 |
|
2983 echo creating "$ac_file" |
|
2984 rm -f "$ac_file" |
|
2985 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure." |
|
2986 case "$ac_file" in |
|
2987 *Makefile*) ac_comsub="1i\\ |
|
2988 # $configure_input" ;; |
|
2989 *) ac_comsub= ;; |
|
2990 esac |
|
2991 |
|
2992 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` |
|
2993 sed -e "$ac_comsub |
|
2994 s%@configure_input@%$configure_input%g |
|
2995 s%@srcdir@%$srcdir%g |
|
2996 s%@top_srcdir@%$top_srcdir%g |
|
2997 s%@INSTALL@%$INSTALL%g |
|
2998 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file |
|
2999 fi; done |
|
3000 rm -f conftest.s* |
|
3001 |
6514 |
3002 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where |
6515 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where |
3003 # NAME is the cpp macro being defined and VALUE is the value it is being given. |
6516 # NAME is the cpp macro being defined and VALUE is the value it is being given. |
3004 # |
6517 # |
3005 # ac_d sets the value in "#define NAME VALUE" lines. |
6518 # ac_d sets the value in "#define NAME VALUE" lines. |
3006 ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)' |
6519 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' |
3007 ac_dB='\([ ][ ]*\)[^ ]*%\1#\2' |
6520 ac_dB='[ ].*$,\1#\2' |
3008 ac_dC='\3' |
6521 ac_dC=' ' |
3009 ac_dD='%g' |
6522 ac_dD=',;t' |
3010 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE". |
6523 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". |
3011 ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' |
6524 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' |
3012 ac_uB='\([ ]\)%\1#\2define\3' |
6525 ac_uB='$,\1#\2define\3' |
3013 ac_uC=' ' |
6526 ac_uC=' ' |
3014 ac_uD='\4%g' |
6527 ac_uD=',;t' |
3015 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE". |
6528 |
3016 ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' |
6529 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue |
3017 ac_eB='$%\1#\2define\3' |
|
3018 ac_eC=' ' |
|
3019 ac_eD='%g' |
|
3020 |
|
3021 if test "${CONFIG_HEADERS+set}" != set; then |
|
3022 EOF |
|
3023 cat >> $CONFIG_STATUS <<EOF |
|
3024 CONFIG_HEADERS="config.h" |
|
3025 EOF |
|
3026 cat >> $CONFIG_STATUS <<\EOF |
|
3027 fi |
|
3028 for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then |
|
3029 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
6530 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
3030 case "$ac_file" in |
6531 case $ac_file in |
3031 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'` |
6532 - | *:- | *:-:* ) # input from stdin |
3032 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; |
6533 cat >$tmp/stdin |
3033 *) ac_file_in="${ac_file}.in" ;; |
6534 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
|
6535 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
|
6536 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
|
6537 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
|
6538 * ) ac_file_in=$ac_file.in ;; |
3034 esac |
6539 esac |
3035 |
6540 |
3036 echo creating $ac_file |
6541 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 |
3037 |
6542 echo "$as_me: creating $ac_file" >&6;} |
3038 rm -f conftest.frag conftest.in conftest.out |
6543 |
3039 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` |
6544 # First look for the input files in the build tree, otherwise in the |
3040 cat $ac_file_inputs > conftest.in |
6545 # src tree. |
3041 |
6546 ac_file_inputs=`IFS=: |
3042 EOF |
6547 for f in $ac_file_in; do |
3043 |
6548 case $f in |
3044 # Transform confdefs.h into a sed script conftest.vals that substitutes |
6549 -) echo $tmp/stdin ;; |
3045 # the proper values into config.h.in to produce config.h. And first: |
6550 [\\/$]*) |
3046 # Protect against being on the right side of a sed subst in config.status. |
6551 # Absolute (can't be DOS-style, as IFS=:) |
3047 # Protect against being in an unquoted here document in config.status. |
6552 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
3048 rm -f conftest.vals |
6553 echo "$as_me: error: cannot find input file: $f" >&2;} |
3049 cat > conftest.hdr <<\EOF |
6554 { (exit 1); exit 1; }; } |
3050 s/[\\&%]/\\&/g |
6555 # Do quote $f, to prevent DOS paths from being IFS'd. |
3051 s%[\\$`]%\\&%g |
6556 echo "$f";; |
3052 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp |
6557 *) # Relative |
3053 s%ac_d%ac_u%gp |
6558 if test -f "$f"; then |
3054 s%ac_u%ac_e%gp |
6559 # Build tree |
3055 EOF |
6560 echo "$f" |
3056 sed -n -f conftest.hdr confdefs.h > conftest.vals |
6561 elif test -f "$srcdir/$f"; then |
3057 rm -f conftest.hdr |
6562 # Source tree |
|
6563 echo "$srcdir/$f" |
|
6564 else |
|
6565 # /dev/null tree |
|
6566 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
|
6567 echo "$as_me: error: cannot find input file: $f" >&2;} |
|
6568 { (exit 1); exit 1; }; } |
|
6569 fi;; |
|
6570 esac |
|
6571 done` || { (exit 1); exit 1; } |
|
6572 # Remove the trailing spaces. |
|
6573 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in |
|
6574 |
|
6575 _ACEOF |
|
6576 |
|
6577 # Transform confdefs.h into two sed scripts, `conftest.defines' and |
|
6578 # `conftest.undefs', that substitutes the proper values into |
|
6579 # config.h.in to produce config.h. The first handles `#define' |
|
6580 # templates, and the second `#undef' templates. |
|
6581 # And first: Protect against being on the right side of a sed subst in |
|
6582 # config.status. Protect against being in an unquoted here document |
|
6583 # in config.status. |
|
6584 rm -f conftest.defines conftest.undefs |
|
6585 # Using a here document instead of a string reduces the quoting nightmare. |
|
6586 # Putting comments in sed scripts is not portable. |
|
6587 # |
|
6588 # `end' is used to avoid that the second main sed command (meant for |
|
6589 # 0-ary CPP macros) applies to n-ary macro definitions. |
|
6590 # See the Autoconf documentation for `clear'. |
|
6591 cat >confdef2sed.sed <<\_ACEOF |
|
6592 s/[\\&,]/\\&/g |
|
6593 s,[\\$`],\\&,g |
|
6594 t clear |
|
6595 : clear |
|
6596 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp |
|
6597 t end |
|
6598 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp |
|
6599 : end |
|
6600 _ACEOF |
|
6601 # If some macros were called several times there might be several times |
|
6602 # the same #defines, which is useless. Nevertheless, we may not want to |
|
6603 # sort them, since we want the *last* AC-DEFINE to be honored. |
|
6604 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines |
|
6605 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs |
|
6606 rm -f confdef2sed.sed |
3058 |
6607 |
3059 # This sed command replaces #undef with comments. This is necessary, for |
6608 # This sed command replaces #undef with comments. This is necessary, for |
3060 # example, in the case of _POSIX_SOURCE, which is predefined and required |
6609 # example, in the case of _POSIX_SOURCE, which is predefined and required |
3061 # on some systems where configure will not decide to define it. |
6610 # on some systems where configure will not decide to define it. |
3062 cat >> conftest.vals <<\EOF |
6611 cat >>conftest.undefs <<\_ACEOF |
3063 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */% |
6612 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, |
3064 EOF |
6613 _ACEOF |
3065 |
6614 |
3066 # Break up conftest.vals because some shells have a limit on |
6615 # Break up conftest.defines because some shells have a limit on the size |
3067 # the size of here documents, and old seds have small limits too. |
6616 # of here documents, and old seds have small limits too (100 cmds). |
3068 |
6617 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS |
|
6618 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS |
|
6619 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS |
|
6620 echo ' :' >>$CONFIG_STATUS |
3069 rm -f conftest.tail |
6621 rm -f conftest.tail |
3070 while : |
6622 while grep . conftest.defines >/dev/null |
3071 do |
6623 do |
3072 ac_lines=`grep -c . conftest.vals` |
6624 # Write a limited-size here document to $tmp/defines.sed. |
3073 # grep -c gives empty output for an empty file on some AIX systems. |
6625 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS |
3074 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi |
6626 # Speed up: don't consider the non `#define' lines. |
3075 # Write a limited-size here document to conftest.frag. |
6627 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS |
3076 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS |
6628 # Work around the forget-to-reset-the-flag bug. |
3077 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS |
6629 echo 't clr' >>$CONFIG_STATUS |
|
6630 echo ': clr' >>$CONFIG_STATUS |
|
6631 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS |
3078 echo 'CEOF |
6632 echo 'CEOF |
3079 sed -f conftest.frag conftest.in > conftest.out |
6633 sed -f $tmp/defines.sed $tmp/in >$tmp/out |
3080 rm -f conftest.in |
6634 rm -f $tmp/in |
3081 mv conftest.out conftest.in |
6635 mv $tmp/out $tmp/in |
3082 ' >> $CONFIG_STATUS |
6636 ' >>$CONFIG_STATUS |
3083 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail |
6637 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail |
3084 rm -f conftest.vals |
6638 rm -f conftest.defines |
3085 mv conftest.tail conftest.vals |
6639 mv conftest.tail conftest.defines |
3086 done |
6640 done |
3087 rm -f conftest.vals |
6641 rm -f conftest.defines |
3088 |
6642 echo ' fi # grep' >>$CONFIG_STATUS |
3089 cat >> $CONFIG_STATUS <<\EOF |
6643 echo >>$CONFIG_STATUS |
3090 rm -f conftest.frag conftest.h |
6644 |
3091 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h |
6645 # Break up conftest.undefs because some shells have a limit on the size |
3092 cat conftest.in >> conftest.h |
6646 # of here documents, and old seds have small limits too (100 cmds). |
3093 rm -f conftest.in |
6647 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS |
3094 if cmp -s $ac_file conftest.h 2>/dev/null; then |
6648 rm -f conftest.tail |
3095 echo "$ac_file is unchanged" |
6649 while grep . conftest.undefs >/dev/null |
3096 rm -f conftest.h |
6650 do |
|
6651 # Write a limited-size here document to $tmp/undefs.sed. |
|
6652 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS |
|
6653 # Speed up: don't consider the non `#undef' |
|
6654 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS |
|
6655 # Work around the forget-to-reset-the-flag bug. |
|
6656 echo 't clr' >>$CONFIG_STATUS |
|
6657 echo ': clr' >>$CONFIG_STATUS |
|
6658 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS |
|
6659 echo 'CEOF |
|
6660 sed -f $tmp/undefs.sed $tmp/in >$tmp/out |
|
6661 rm -f $tmp/in |
|
6662 mv $tmp/out $tmp/in |
|
6663 ' >>$CONFIG_STATUS |
|
6664 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail |
|
6665 rm -f conftest.undefs |
|
6666 mv conftest.tail conftest.undefs |
|
6667 done |
|
6668 rm -f conftest.undefs |
|
6669 |
|
6670 cat >>$CONFIG_STATUS <<\_ACEOF |
|
6671 # Let's still pretend it is `configure' which instantiates (i.e., don't |
|
6672 # use $as_me), people would be surprised to read: |
|
6673 # /* config.h. Generated by config.status. */ |
|
6674 if test x"$ac_file" = x-; then |
|
6675 echo "/* Generated by configure. */" >$tmp/config.h |
3097 else |
6676 else |
3098 # Remove last slash and all that follows it. Not all systems have dirname. |
6677 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h |
3099 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'` |
6678 fi |
3100 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then |
6679 cat $tmp/in >>$tmp/config.h |
3101 # The file is in a subdirectory. |
6680 rm -f $tmp/in |
3102 test ! -d "$ac_dir" && mkdir "$ac_dir" |
6681 if test x"$ac_file" != x-; then |
|
6682 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then |
|
6683 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 |
|
6684 echo "$as_me: $ac_file is unchanged" >&6;} |
|
6685 else |
|
6686 ac_dir=`(dirname "$ac_file") 2>/dev/null || |
|
6687 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
6688 X"$ac_file" : 'X\(//\)[^/]' \| \ |
|
6689 X"$ac_file" : 'X\(//\)$' \| \ |
|
6690 X"$ac_file" : 'X\(/\)' \| \ |
|
6691 . : '\(.\)' 2>/dev/null || |
|
6692 echo X"$ac_file" | |
|
6693 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
|
6694 /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
|
6695 /^X\(\/\/\)$/{ s//\1/; q; } |
|
6696 /^X\(\/\).*/{ s//\1/; q; } |
|
6697 s/.*/./; q'` |
|
6698 { if $as_mkdir_p; then |
|
6699 mkdir -p "$ac_dir" |
|
6700 else |
|
6701 as_dir="$ac_dir" |
|
6702 as_dirs= |
|
6703 while test ! -d "$as_dir"; do |
|
6704 as_dirs="$as_dir $as_dirs" |
|
6705 as_dir=`(dirname "$as_dir") 2>/dev/null || |
|
6706 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
6707 X"$as_dir" : 'X\(//\)[^/]' \| \ |
|
6708 X"$as_dir" : 'X\(//\)$' \| \ |
|
6709 X"$as_dir" : 'X\(/\)' \| \ |
|
6710 . : '\(.\)' 2>/dev/null || |
|
6711 echo X"$as_dir" | |
|
6712 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
|
6713 /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
|
6714 /^X\(\/\/\)$/{ s//\1/; q; } |
|
6715 /^X\(\/\).*/{ s//\1/; q; } |
|
6716 s/.*/./; q'` |
|
6717 done |
|
6718 test ! -n "$as_dirs" || mkdir $as_dirs |
|
6719 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 |
|
6720 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} |
|
6721 { (exit 1); exit 1; }; }; } |
|
6722 |
|
6723 rm -f $ac_file |
|
6724 mv $tmp/config.h $ac_file |
3103 fi |
6725 fi |
3104 rm -f $ac_file |
6726 else |
3105 mv conftest.h $ac_file |
6727 cat $tmp/config.h |
|
6728 rm -f $tmp/config.h |
3106 fi |
6729 fi |
3107 fi; done |
6730 done |
3108 |
6731 _ACEOF |
3109 EOF |
6732 cat >>$CONFIG_STATUS <<\_ACEOF |
3110 cat >> $CONFIG_STATUS <<EOF |
6733 |
3111 |
6734 # |
3112 |
6735 # CONFIG_COMMANDS section. |
3113 EOF |
6736 # |
3114 cat >> $CONFIG_STATUS <<\EOF |
6737 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue |
3115 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h |
6738 ac_dest=`echo "$ac_file" | sed 's,:.*,,'` |
3116 |
6739 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` |
3117 exit 0 |
6740 ac_dir=`(dirname "$ac_dest") 2>/dev/null || |
3118 EOF |
6741 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
6742 X"$ac_dest" : 'X\(//\)[^/]' \| \ |
|
6743 X"$ac_dest" : 'X\(//\)$' \| \ |
|
6744 X"$ac_dest" : 'X\(/\)' \| \ |
|
6745 . : '\(.\)' 2>/dev/null || |
|
6746 echo X"$ac_dest" | |
|
6747 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
|
6748 /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
|
6749 /^X\(\/\/\)$/{ s//\1/; q; } |
|
6750 /^X\(\/\).*/{ s//\1/; q; } |
|
6751 s/.*/./; q'` |
|
6752 { if $as_mkdir_p; then |
|
6753 mkdir -p "$ac_dir" |
|
6754 else |
|
6755 as_dir="$ac_dir" |
|
6756 as_dirs= |
|
6757 while test ! -d "$as_dir"; do |
|
6758 as_dirs="$as_dir $as_dirs" |
|
6759 as_dir=`(dirname "$as_dir") 2>/dev/null || |
|
6760 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
6761 X"$as_dir" : 'X\(//\)[^/]' \| \ |
|
6762 X"$as_dir" : 'X\(//\)$' \| \ |
|
6763 X"$as_dir" : 'X\(/\)' \| \ |
|
6764 . : '\(.\)' 2>/dev/null || |
|
6765 echo X"$as_dir" | |
|
6766 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
|
6767 /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
|
6768 /^X\(\/\/\)$/{ s//\1/; q; } |
|
6769 /^X\(\/\).*/{ s//\1/; q; } |
|
6770 s/.*/./; q'` |
|
6771 done |
|
6772 test ! -n "$as_dirs" || mkdir $as_dirs |
|
6773 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 |
|
6774 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} |
|
6775 { (exit 1); exit 1; }; }; } |
|
6776 |
|
6777 ac_builddir=. |
|
6778 |
|
6779 if test "$ac_dir" != .; then |
|
6780 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
|
6781 # A "../" for each directory in $ac_dir_suffix. |
|
6782 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` |
|
6783 else |
|
6784 ac_dir_suffix= ac_top_builddir= |
|
6785 fi |
|
6786 |
|
6787 case $srcdir in |
|
6788 .) # No --srcdir option. We are building in place. |
|
6789 ac_srcdir=. |
|
6790 if test -z "$ac_top_builddir"; then |
|
6791 ac_top_srcdir=. |
|
6792 else |
|
6793 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` |
|
6794 fi ;; |
|
6795 [\\/]* | ?:[\\/]* ) # Absolute path. |
|
6796 ac_srcdir=$srcdir$ac_dir_suffix; |
|
6797 ac_top_srcdir=$srcdir ;; |
|
6798 *) # Relative path. |
|
6799 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
|
6800 ac_top_srcdir=$ac_top_builddir$srcdir ;; |
|
6801 esac |
|
6802 |
|
6803 # Do not use `cd foo && pwd` to compute absolute paths, because |
|
6804 # the directories may not exist. |
|
6805 case `pwd` in |
|
6806 .) ac_abs_builddir="$ac_dir";; |
|
6807 *) |
|
6808 case "$ac_dir" in |
|
6809 .) ac_abs_builddir=`pwd`;; |
|
6810 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; |
|
6811 *) ac_abs_builddir=`pwd`/"$ac_dir";; |
|
6812 esac;; |
|
6813 esac |
|
6814 case $ac_abs_builddir in |
|
6815 .) ac_abs_top_builddir=${ac_top_builddir}.;; |
|
6816 *) |
|
6817 case ${ac_top_builddir}. in |
|
6818 .) ac_abs_top_builddir=$ac_abs_builddir;; |
|
6819 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; |
|
6820 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; |
|
6821 esac;; |
|
6822 esac |
|
6823 case $ac_abs_builddir in |
|
6824 .) ac_abs_srcdir=$ac_srcdir;; |
|
6825 *) |
|
6826 case $ac_srcdir in |
|
6827 .) ac_abs_srcdir=$ac_abs_builddir;; |
|
6828 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; |
|
6829 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; |
|
6830 esac;; |
|
6831 esac |
|
6832 case $ac_abs_builddir in |
|
6833 .) ac_abs_top_srcdir=$ac_top_srcdir;; |
|
6834 *) |
|
6835 case $ac_top_srcdir in |
|
6836 .) ac_abs_top_srcdir=$ac_abs_builddir;; |
|
6837 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; |
|
6838 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; |
|
6839 esac;; |
|
6840 esac |
|
6841 |
|
6842 |
|
6843 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5 |
|
6844 echo "$as_me: executing $ac_dest commands" >&6;} |
|
6845 case $ac_dest in |
|
6846 default-1 ) test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h ;; |
|
6847 esac |
|
6848 done |
|
6849 _ACEOF |
|
6850 |
|
6851 cat >>$CONFIG_STATUS <<\_ACEOF |
|
6852 |
|
6853 { (exit 0); exit 0; } |
|
6854 _ACEOF |
3119 chmod +x $CONFIG_STATUS |
6855 chmod +x $CONFIG_STATUS |
3120 rm -fr confdefs* $ac_clean_files |
6856 ac_clean_files=$ac_clean_files_save |
3121 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1 |
6857 |
3122 |
6858 |
|
6859 # configure is writing to config.log, and then calls config.status. |
|
6860 # config.status does its own redirection, appending to config.log. |
|
6861 # Unfortunately, on DOS this fails, as config.log is still kept open |
|
6862 # by configure, so config.status won't be able to write to it; its |
|
6863 # output is simply discarded. So we exec the FD to /dev/null, |
|
6864 # effectively closing config.log, so it can be properly (re)opened and |
|
6865 # appended to by config.status. When coming back to configure, we |
|
6866 # need to make the FD available again. |
|
6867 if test "$no_create" != yes; then |
|
6868 ac_cs_success=: |
|
6869 ac_config_status_args= |
|
6870 test "$silent" = yes && |
|
6871 ac_config_status_args="$ac_config_status_args --quiet" |
|
6872 exec 5>/dev/null |
|
6873 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
|
6874 exec 5>>config.log |
|
6875 # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
|
6876 # would make configure fail if this is the last instruction. |
|
6877 $ac_cs_success || { (exit 1); exit 1; } |
|
6878 fi |
|
6879 |