OLD | NEW |
1 #! /bin/sh | 1 #! /bin/sh |
2 # Guess values for system-dependent variables and create Makefiles. | 2 # Guess values for system-dependent variables and create Makefiles. |
3 # Generated by GNU Autoconf 2.64. | 3 # Generated by GNU Autoconf 2.64. |
4 # | 4 # |
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, | 5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software | 6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software |
7 # Foundation, Inc. | 7 # Foundation, Inc. |
8 # | 8 # |
9 # This configure script is free software; the Free Software Foundation | 9 # This configure script is free software; the Free Software Foundation |
10 # gives unlimited permission to copy, distribute and modify it. | 10 # gives unlimited permission to copy, distribute and modify it. |
(...skipping 570 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
581 #ifdef HAVE_INTTYPES_H | 581 #ifdef HAVE_INTTYPES_H |
582 # include <inttypes.h> | 582 # include <inttypes.h> |
583 #endif | 583 #endif |
584 #ifdef HAVE_STDINT_H | 584 #ifdef HAVE_STDINT_H |
585 # include <stdint.h> | 585 # include <stdint.h> |
586 #endif | 586 #endif |
587 #ifdef HAVE_UNISTD_H | 587 #ifdef HAVE_UNISTD_H |
588 # include <unistd.h> | 588 # include <unistd.h> |
589 #endif" | 589 #endif" |
590 | 590 |
591 gl_header_list= | |
592 gl_func_list= | |
593 enable_option_checking=no | 591 enable_option_checking=no |
594 ac_subst_vars='am__EXEEXT_FALSE | 592 ac_subst_vars='LTLIBOBJS |
595 am__EXEEXT_TRUE | |
596 gltests_LTLIBOBJS | |
597 gltests_LIBOBJS | |
598 gl_LTLIBOBJS | |
599 gl_LIBOBJS | |
600 LTLIBOBJS | |
601 LIBOBJS | 593 LIBOBJS |
602 GDB_NM_FILE | 594 GDB_NM_FILE |
603 frags | 595 frags |
604 target_subdir | 596 target_subdir |
605 CONFIG_UNINSTALL | 597 CONFIG_UNINSTALL |
606 CONFIG_INSTALL | 598 CONFIG_INSTALL |
607 CONFIG_CLEAN | 599 CONFIG_CLEAN |
608 CONFIG_ALL | 600 CONFIG_ALL |
609 CONFIG_SRCS | 601 CONFIG_SRCS |
610 CONFIG_DEPS | 602 CONFIG_DEPS |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
647 TCL_PATCH_LEVEL | 639 TCL_PATCH_LEVEL |
648 TCL_VERSION | 640 TCL_VERSION |
649 WIN32LDAPP | 641 WIN32LDAPP |
650 GUI_CFLAGS_X | 642 GUI_CFLAGS_X |
651 LIBGUI | 643 LIBGUI |
652 WIN32LIBS | 644 WIN32LIBS |
653 SER_HARDWIRE | 645 SER_HARDWIRE |
654 WERROR_CFLAGS | 646 WERROR_CFLAGS |
655 WARN_CFLAGS | 647 WARN_CFLAGS |
656 SYSTEM_GDBINIT | 648 SYSTEM_GDBINIT |
657 TARGET_SYSTEM_ROOT_DEFINE | |
658 TARGET_SYSTEM_ROOT | 649 TARGET_SYSTEM_ROOT |
659 CONFIG_LDFLAGS | 650 CONFIG_LDFLAGS |
660 RDYNAMIC | 651 RDYNAMIC |
661 ALLOCA | 652 ALLOCA |
662 PYTHON_LIBS | 653 PYTHON_LIBS |
663 PYTHON_CPPFLAGS | 654 PYTHON_CPPFLAGS |
664 PYTHON_CFLAGS | 655 PYTHON_CFLAGS |
665 python_prog_path | 656 python_prog_path |
666 LTLIBEXPAT | 657 LTLIBEXPAT |
667 LIBEXPAT | 658 LIBEXPAT |
668 HAVE_LIBEXPAT | 659 HAVE_LIBEXPAT |
669 JIT_READER_DIR | 660 JIT_READER_DIR |
670 TARGET_PTR | 661 TARGET_PTR |
671 READLINE_TEXI_INCFLAG | 662 READLINE_TEXI_INCFLAG |
672 READLINE_CFLAGS | 663 READLINE_CFLAGS |
673 READLINE_DEPS | 664 READLINE_DEPS |
674 READLINE | 665 READLINE |
675 MIG | 666 MIG |
676 WINDRES | 667 WINDRES |
677 DLLTOOL | 668 DLLTOOL |
678 AR | 669 AR |
679 YFLAGS | 670 YFLAGS |
680 YACC | 671 YACC |
| 672 RANLIB |
681 LN_S | 673 LN_S |
| 674 INSTALL_DATA |
| 675 INSTALL_SCRIPT |
| 676 INSTALL_PROGRAM |
| 677 AWK |
682 REPORT_BUGS_TEXI | 678 REPORT_BUGS_TEXI |
683 REPORT_BUGS_TO | 679 REPORT_BUGS_TO |
684 PKGVERSION | 680 PKGVERSION |
685 TARGET_OBS | 681 TARGET_OBS |
686 subdirs | 682 subdirs |
687 GDB_DATADIR | 683 GDB_DATADIR |
688 DEBUGDIR | 684 DEBUGDIR |
689 am__fastdepCC_FALSE | |
690 am__fastdepCC_TRUE | |
691 AMDEPBACKSLASH | |
692 AMDEP_FALSE | |
693 AMDEP_TRUE | |
694 am__quote | |
695 am__include | |
696 am__untar | |
697 am__tar | |
698 AMTAR | |
699 AWK | |
700 mkdir_p | |
701 MKDIR_P | |
702 INSTALL_STRIP_PROGRAM | |
703 STRIP | |
704 install_sh | |
705 AUTOHEADER | |
706 AUTOMAKE | |
707 AUTOCONF | |
708 ACLOCAL | |
709 VERSION | |
710 CYGPATH_W | |
711 am__isrc | |
712 INSTALL_DATA | |
713 INSTALL_SCRIPT | |
714 INSTALL_PROGRAM | |
715 MAKEINFO_EXTRA_FLAGS | 685 MAKEINFO_EXTRA_FLAGS |
716 MAKEINFOFLAGS | 686 MAKEINFOFLAGS |
717 MAKEINFO | 687 MAKEINFO |
718 PACKAGE | 688 PACKAGE |
719 GNULIB_STDINT_H | 689 GNULIB_STDINT_H |
720 LIBGNU_LTLIBDEPS | |
721 LIBGNU_LIBDEPS | |
722 gltests_WITNESS | |
723 HAVE_WINT_T | |
724 HAVE_WCHAR_H | |
725 NEXT_AS_FIRST_DIRECTIVE_WCHAR_H | |
726 NEXT_WCHAR_H | |
727 REPLACE_WCWIDTH | |
728 REPLACE_WCSNRTOMBS | |
729 REPLACE_WCSRTOMBS | |
730 REPLACE_WCRTOMB | |
731 REPLACE_MBSNRTOWCS | |
732 REPLACE_MBSRTOWCS | |
733 REPLACE_MBRLEN | |
734 REPLACE_MBRTOWC | |
735 REPLACE_MBSINIT | |
736 REPLACE_WCTOB | |
737 REPLACE_BTOWC | |
738 REPLACE_MBSTATE_T | |
739 HAVE_DECL_WCWIDTH | |
740 HAVE_DECL_WCTOB | |
741 HAVE_WCSNRTOMBS | |
742 HAVE_WCSRTOMBS | |
743 HAVE_WCRTOMB | |
744 HAVE_MBSNRTOWCS | |
745 HAVE_MBSRTOWCS | |
746 HAVE_MBRLEN | |
747 HAVE_MBRTOWC | |
748 HAVE_MBSINIT | |
749 HAVE_BTOWC | |
750 GNULIB_WCWIDTH | |
751 GNULIB_WCSNRTOMBS | |
752 GNULIB_WCSRTOMBS | |
753 GNULIB_WCRTOMB | |
754 GNULIB_MBSNRTOWCS | |
755 GNULIB_MBSRTOWCS | |
756 GNULIB_MBRLEN | |
757 GNULIB_MBRTOWC | |
758 GNULIB_MBSINIT | |
759 GNULIB_WCTOB | |
760 GNULIB_BTOWC | |
761 NEXT_AS_FIRST_DIRECTIVE_STRING_H | |
762 NEXT_STRING_H | |
763 STDINT_H | |
764 WINT_T_SUFFIX | |
765 WCHAR_T_SUFFIX | |
766 SIG_ATOMIC_T_SUFFIX | |
767 SIZE_T_SUFFIX | |
768 PTRDIFF_T_SUFFIX | |
769 HAVE_SIGNED_WINT_T | |
770 HAVE_SIGNED_WCHAR_T | |
771 HAVE_SIGNED_SIG_ATOMIC_T | |
772 BITSIZEOF_WINT_T | |
773 BITSIZEOF_WCHAR_T | |
774 BITSIZEOF_SIG_ATOMIC_T | |
775 BITSIZEOF_SIZE_T | |
776 BITSIZEOF_PTRDIFF_T | |
777 HAVE_SYS_BITYPES_H | |
778 HAVE_SYS_INTTYPES_H | |
779 HAVE_STDINT_H | |
780 NEXT_AS_FIRST_DIRECTIVE_STDINT_H | |
781 NEXT_STDINT_H | |
782 HAVE_SYS_TYPES_H | |
783 HAVE_INTTYPES_H | |
784 HAVE_UNSIGNED_LONG_LONG_INT | |
785 HAVE_LONG_LONG_INT | |
786 NEXT_AS_FIRST_DIRECTIVE_STDDEF_H | |
787 NEXT_STDDEF_H | |
788 PRAGMA_SYSTEM_HEADER | |
789 INCLUDE_NEXT_AS_FIRST_DIRECTIVE | |
790 INCLUDE_NEXT | |
791 STDDEF_H | |
792 HAVE_WCHAR_T | |
793 REPLACE_NULL | |
794 APPLE_UNIVERSAL_BUILD | |
795 UNDEFINE_STRTOK_R | |
796 REPLACE_STRTOK_R | |
797 REPLACE_STRSIGNAL | |
798 REPLACE_STRNLEN | |
799 REPLACE_STRNDUP | |
800 REPLACE_STRNCAT | |
801 REPLACE_STRERROR | |
802 REPLACE_STRCASESTR | |
803 REPLACE_STRSTR | |
804 REPLACE_STRDUP | |
805 REPLACE_STPNCPY | |
806 REPLACE_MEMMEM | |
807 REPLACE_MEMCHR | |
808 HAVE_STRVERSCMP | |
809 HAVE_DECL_STRSIGNAL | |
810 HAVE_DECL_STRTOK_R | |
811 HAVE_STRCASESTR | |
812 HAVE_STRSEP | |
813 HAVE_STRPBRK | |
814 HAVE_DECL_STRNLEN | |
815 HAVE_DECL_STRNDUP | |
816 HAVE_DECL_STRDUP | |
817 HAVE_STRCHRNUL | |
818 HAVE_STPNCPY | |
819 HAVE_STPCPY | |
820 HAVE_RAWMEMCHR | |
821 HAVE_DECL_MEMRCHR | |
822 HAVE_MEMPCPY | |
823 HAVE_DECL_MEMMEM | |
824 HAVE_MEMCHR | |
825 HAVE_MBSLEN | |
826 GNULIB_STRVERSCMP | |
827 GNULIB_STRSIGNAL | |
828 GNULIB_STRERROR | |
829 GNULIB_MBSTOK_R | |
830 GNULIB_MBSSEP | |
831 GNULIB_MBSSPN | |
832 GNULIB_MBSPBRK | |
833 GNULIB_MBSCSPN | |
834 GNULIB_MBSCASESTR | |
835 GNULIB_MBSPCASECMP | |
836 GNULIB_MBSNCASECMP | |
837 GNULIB_MBSCASECMP | |
838 GNULIB_MBSSTR | |
839 GNULIB_MBSRCHR | |
840 GNULIB_MBSCHR | |
841 GNULIB_MBSNLEN | |
842 GNULIB_MBSLEN | |
843 GNULIB_STRTOK_R | |
844 GNULIB_STRCASESTR | |
845 GNULIB_STRSTR | |
846 GNULIB_STRSEP | |
847 GNULIB_STRPBRK | |
848 GNULIB_STRNLEN | |
849 GNULIB_STRNDUP | |
850 GNULIB_STRNCAT | |
851 GNULIB_STRDUP | |
852 GNULIB_STRCHRNUL | |
853 GNULIB_STPNCPY | |
854 GNULIB_STPCPY | |
855 GNULIB_RAWMEMCHR | |
856 GNULIB_MEMRCHR | |
857 GNULIB_MEMPCPY | |
858 GNULIB_MEMMEM | |
859 GNULIB_MEMCHR | |
860 GL_COND_LIBTOOL_FALSE | |
861 GL_COND_LIBTOOL_TRUE | |
862 CATOBJEXT | 690 CATOBJEXT |
863 GENCAT | 691 GENCAT |
864 INSTOBJEXT | 692 INSTOBJEXT |
865 DATADIRNAME | 693 DATADIRNAME |
866 CATALOGS | 694 CATALOGS |
867 POSUB | 695 POSUB |
868 GMSGFMT | 696 GMSGFMT |
869 XGETTEXT | 697 XGETTEXT |
870 INCINTL | 698 INCINTL |
871 LIBINTL_DEP | 699 LIBINTL_DEP |
872 LIBINTL | 700 LIBINTL |
873 USE_NLS | 701 USE_NLS |
874 SET_MAKE | 702 SET_MAKE |
875 GMAKE_FALSE | 703 GMAKE_FALSE |
876 GMAKE_TRUE | 704 GMAKE_TRUE |
877 MAKE | 705 MAKE |
878 CCDEPMODE | 706 CCDEPMODE |
879 DEPDIR | 707 DEPDIR |
880 am__leading_dot | 708 am__leading_dot |
881 target_os | 709 target_os |
882 target_vendor | 710 target_vendor |
883 target_cpu | 711 target_cpu |
884 target | 712 target |
885 RANLIB | |
886 EGREP | |
887 GREP | |
888 CPP | |
889 host_os | 713 host_os |
890 host_vendor | 714 host_vendor |
891 host_cpu | 715 host_cpu |
892 host | 716 host |
893 build_os | 717 build_os |
894 build_vendor | 718 build_vendor |
895 build_cpu | 719 build_cpu |
896 build | 720 build |
| 721 EGREP |
| 722 GREP |
| 723 CPP |
897 OBJEXT | 724 OBJEXT |
898 EXEEXT | 725 EXEEXT |
899 ac_ct_CC | 726 ac_ct_CC |
900 CPPFLAGS | 727 CPPFLAGS |
901 LDFLAGS | 728 LDFLAGS |
902 CFLAGS | 729 CFLAGS |
903 CC | 730 CC |
904 MAINT | 731 MAINT |
905 MAINTAINER_MODE_FALSE | 732 MAINTAINER_MODE_FALSE |
906 MAINTAINER_MODE_TRUE | 733 MAINTAINER_MODE_TRUE |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
941 PACKAGE_TARNAME | 768 PACKAGE_TARNAME |
942 PACKAGE_NAME | 769 PACKAGE_NAME |
943 PATH_SEPARATOR | 770 PATH_SEPARATOR |
944 SHELL' | 771 SHELL' |
945 ac_subst_files='host_makefile_frag' | 772 ac_subst_files='host_makefile_frag' |
946 ac_user_opts=' | 773 ac_user_opts=' |
947 enable_option_checking | 774 enable_option_checking |
948 enable_maintainer_mode | 775 enable_maintainer_mode |
949 enable_plugins | 776 enable_plugins |
950 enable_largefile | 777 enable_largefile |
951 enable_dependency_tracking | |
952 with_separate_debug_dir | 778 with_separate_debug_dir |
953 with_gdb_datadir | 779 with_gdb_datadir |
954 with_relocated_sources | 780 with_relocated_sources |
| 781 with_auto_load_dir |
| 782 with_auto_load_safe_path |
955 enable_targets | 783 enable_targets |
956 enable_64_bit_bfd | 784 enable_64_bit_bfd |
957 enable_gdbcli | 785 enable_gdbcli |
958 enable_gdbmi | 786 enable_gdbmi |
959 enable_tui | 787 enable_tui |
960 enable_gdbtk | 788 enable_gdbtk |
961 with_libunwind | 789 with_libunwind_ia64 |
962 with_curses | 790 with_curses |
963 enable_profiling | 791 enable_profiling |
964 with_pkgversion | 792 with_pkgversion |
965 with_bugurl | 793 with_bugurl |
966 with_zlib | 794 with_zlib |
967 with_libiconv_prefix | 795 with_libiconv_prefix |
968 with_iconv_bin | 796 with_iconv_bin |
969 with_system_readline | 797 with_system_readline |
970 with_jit_reader_dir | 798 with_jit_reader_dir |
971 with_expat | 799 with_expat |
(...skipping 650 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1622 cat <<\_ACEOF | 1450 cat <<\_ACEOF |
1623 | 1451 |
1624 Optional Features: | 1452 Optional Features: |
1625 --disable-option-checking ignore unrecognized --enable/--with options | 1453 --disable-option-checking ignore unrecognized --enable/--with options |
1626 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) | 1454 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
1627 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] | 1455 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
1628 --enable-maintainer-mode enable make rules and dependencies not useful | 1456 --enable-maintainer-mode enable make rules and dependencies not useful |
1629 (and sometimes confusing) to the casual installer | 1457 (and sometimes confusing) to the casual installer |
1630 --enable-plugins Enable support for plugins (defaults no) | 1458 --enable-plugins Enable support for plugins (defaults no) |
1631 --disable-largefile omit support for large files | 1459 --disable-largefile omit support for large files |
1632 --disable-dependency-tracking speeds up one-time build | |
1633 --enable-dependency-tracking do not reject slow dependency extractors | |
1634 --enable-targets=TARGETS | 1460 --enable-targets=TARGETS |
1635 alternative target configurations | 1461 alternative target configurations |
1636 --enable-64-bit-bfd 64-bit support (on hosts with narrower word sizes) | 1462 --enable-64-bit-bfd 64-bit support (on hosts with narrower word sizes) |
1637 --disable-gdbcli disable command-line interface (CLI) | 1463 --disable-gdbcli disable command-line interface (CLI) |
1638 --disable-gdbmi disable machine-interface (MI) | 1464 --disable-gdbmi disable machine-interface (MI) |
1639 --enable-tui enable full-screen terminal user interface (TUI) | 1465 --enable-tui enable full-screen terminal user interface (TUI) |
1640 --enable-gdbtk enable gdbtk graphical user interface (GUI) | 1466 --enable-gdbtk enable gdbtk graphical user interface (GUI) |
1641 --enable-profiling enable profiling of GDB | 1467 --enable-profiling enable profiling of GDB |
1642 --disable-rpath do not hardcode runtime library paths | 1468 --disable-rpath do not hardcode runtime library paths |
1643 --enable-werror treat compile warnings as errors | 1469 --enable-werror treat compile warnings as errors |
1644 --enable-build-warnings enable build-time compiler warnings if gcc is used | 1470 --enable-build-warnings enable build-time compiler warnings if gcc is used |
1645 --enable-gdb-build-warnings | 1471 --enable-gdb-build-warnings |
1646 enable GDB specific build-time compiler warnings if | 1472 enable GDB specific build-time compiler warnings if |
1647 gcc is used | 1473 gcc is used |
1648 --enable-sim link gdb with simulator | 1474 --enable-sim link gdb with simulator |
1649 --enable-multi-ice build the multi-ice-gdb-server | 1475 --enable-multi-ice build the multi-ice-gdb-server |
1650 --enable-gdbserver automatically build gdbserver (yes/no/auto, default | 1476 --enable-gdbserver automatically build gdbserver (yes/no/auto, default |
1651 is auto) | 1477 is auto) |
1652 | 1478 |
1653 Optional Packages: | 1479 Optional Packages: |
1654 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] | 1480 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
1655 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) | 1481 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
1656 --with-separate-debug-dir=PATH | 1482 --with-separate-debug-dir=PATH |
1657 look for global separate debug info in this path | 1483 look for global separate debug info in this path |
1658 [LIBDIR/debug] | 1484 [LIBDIR/debug] |
1659 --with-gdb-datadir=PATH look for global separate data files in this path | 1485 --with-gdb-datadir=PATH look for global separate data files in this path |
1660 [DATADIR/gdb] | 1486 [DATADIR/gdb] |
1661 --with-relocated-sources=PATH | 1487 --with-relocated-sources=PATH |
1662 automatically relocate this path for source files | 1488 automatically relocate this path for source files |
1663 --with-libunwind use libunwind frame unwinding support | 1489 --with-auto-load-dir=PATH |
| 1490 directories from which to load auto-loaded scripts |
| 1491 [$debugdir:$datadir/auto-load] |
| 1492 --with-auto-load-safe-path=PATH |
| 1493 directories safe to hold auto-loaded files |
| 1494 [--with-auto-load-dir] |
| 1495 --without-auto-load-safe-path |
| 1496 do not restrict auto-loaded files locations |
| 1497 --with-libunwind-ia64 use libunwind frame unwinding for ia64 targets |
1664 --with-curses use the curses library instead of the termcap | 1498 --with-curses use the curses library instead of the termcap |
1665 library | 1499 library |
1666 --with-pkgversion=PKG Use PKG in the version string in place of "GDB" | 1500 --with-pkgversion=PKG Use PKG in the version string in place of "GDB" |
1667 --with-bugurl=URL Direct users to URL to report a bug | 1501 --with-bugurl=URL Direct users to URL to report a bug |
1668 --with-zlib include zlib support (auto/yes/no) default=auto | 1502 --with-zlib include zlib support (auto/yes/no) default=auto |
1669 --with-libiconv-prefix=DIR | 1503 --with-libiconv-prefix=DIR |
1670 search for libiconv in DIR/include and DIR/lib | 1504 search for libiconv in DIR/include and DIR/lib |
1671 --with-iconv-bin=PATH specify where to find the iconv program | 1505 --with-iconv-bin=PATH specify where to find the iconv program |
1672 --with-system-readline use installed readline library | 1506 --with-system-readline use installed readline library |
1673 --with-jit-reader-dir=PATH | 1507 --with-jit-reader-dir=PATH |
(...skipping 342 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2016 fi | 1850 fi |
2017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 1851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2018 fi | 1852 fi |
2019 eval ac_res=\$$3 | 1853 eval ac_res=\$$3 |
2020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | 1854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
2021 $as_echo "$ac_res" >&6; } | 1855 $as_echo "$ac_res" >&6; } |
2022 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_
lineno;} | 1856 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_
lineno;} |
2023 | 1857 |
2024 } # ac_fn_c_check_header_compile | 1858 } # ac_fn_c_check_header_compile |
2025 | 1859 |
2026 # ac_fn_c_try_link LINENO | |
2027 # ----------------------- | |
2028 # Try to link conftest.$ac_ext, and return whether this succeeded. | |
2029 ac_fn_c_try_link () | |
2030 { | |
2031 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
2032 rm -f conftest.$ac_objext conftest$ac_exeext | |
2033 if { { ac_try="$ac_link" | |
2034 case "(($ac_try" in | |
2035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
2036 *) ac_try_echo=$ac_try;; | |
2037 esac | |
2038 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
2039 $as_echo "$ac_try_echo"; } >&5 | |
2040 (eval "$ac_link") 2>conftest.err | |
2041 ac_status=$? | |
2042 if test -s conftest.err; then | |
2043 grep -v '^ *+' conftest.err >conftest.er1 | |
2044 cat conftest.er1 >&5 | |
2045 mv -f conftest.er1 conftest.err | |
2046 fi | |
2047 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
2048 test $ac_status = 0; } && { | |
2049 test -z "$ac_c_werror_flag" || | |
2050 test ! -s conftest.err | |
2051 } && test -s conftest$ac_exeext && { | |
2052 test "$cross_compiling" = yes || | |
2053 $as_test_x conftest$ac_exeext | |
2054 }; then : | |
2055 ac_retval=0 | |
2056 else | |
2057 $as_echo "$as_me: failed program was:" >&5 | |
2058 sed 's/^/| /' conftest.$ac_ext >&5 | |
2059 | |
2060 ac_retval=1 | |
2061 fi | |
2062 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information | |
2063 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would | |
2064 # interfere with the next link command; also delete a directory that is | |
2065 # left behind by Apple's compiler. We do this before executing the actions. | |
2066 rm -rf conftest.dSYM conftest_ipa8_conftest.oo | |
2067 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_
lineno;} | |
2068 return $ac_retval | |
2069 | |
2070 } # ac_fn_c_try_link | |
2071 | |
2072 # ac_fn_c_check_func LINENO FUNC VAR | |
2073 # ---------------------------------- | |
2074 # Tests whether FUNC exists, setting the cache variable VAR accordingly | |
2075 ac_fn_c_check_func () | |
2076 { | |
2077 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
2078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | |
2079 $as_echo_n "checking for $2... " >&6; } | |
2080 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | |
2081 $as_echo_n "(cached) " >&6 | |
2082 else | |
2083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
2084 /* end confdefs.h. */ | |
2085 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. | |
2086 For example, HP-UX 11i <limits.h> declares gettimeofday. */ | |
2087 #define $2 innocuous_$2 | |
2088 | |
2089 /* System header to define __stub macros and hopefully few prototypes, | |
2090 which can conflict with char $2 (); below. | |
2091 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
2092 <limits.h> exists even on freestanding compilers. */ | |
2093 | |
2094 #ifdef __STDC__ | |
2095 # include <limits.h> | |
2096 #else | |
2097 # include <assert.h> | |
2098 #endif | |
2099 | |
2100 #undef $2 | |
2101 | |
2102 /* Override any GCC internal prototype to avoid an error. | |
2103 Use char because int might match the return type of a GCC | |
2104 builtin and then its argument prototype would still apply. */ | |
2105 #ifdef __cplusplus | |
2106 extern "C" | |
2107 #endif | |
2108 char $2 (); | |
2109 /* The GNU C library defines this for functions which it implements | |
2110 to always fail with ENOSYS. Some functions are actually named | |
2111 something starting with __ and the normal name is an alias. */ | |
2112 #if defined __stub_$2 || defined __stub___$2 | |
2113 choke me | |
2114 #endif | |
2115 | |
2116 int | |
2117 main () | |
2118 { | |
2119 return $2 (); | |
2120 ; | |
2121 return 0; | |
2122 } | |
2123 _ACEOF | |
2124 if ac_fn_c_try_link "$LINENO"; then : | |
2125 eval "$3=yes" | |
2126 else | |
2127 eval "$3=no" | |
2128 fi | |
2129 rm -f core conftest.err conftest.$ac_objext \ | |
2130 conftest$ac_exeext conftest.$ac_ext | |
2131 fi | |
2132 eval ac_res=\$$3 | |
2133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |
2134 $as_echo "$ac_res" >&6; } | |
2135 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_
lineno;} | |
2136 | |
2137 } # ac_fn_c_check_func | |
2138 | |
2139 # ac_fn_c_check_decl LINENO SYMBOL VAR | |
2140 # ------------------------------------ | |
2141 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly. | |
2142 ac_fn_c_check_decl () | |
2143 { | |
2144 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
2145 as_decl_name=`echo $2|sed 's/ *(.*//'` | |
2146 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` | |
2147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is dec
lared" >&5 | |
2148 $as_echo_n "checking whether $as_decl_name is declared... " >&6; } | |
2149 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | |
2150 $as_echo_n "(cached) " >&6 | |
2151 else | |
2152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
2153 /* end confdefs.h. */ | |
2154 $4 | |
2155 int | |
2156 main () | |
2157 { | |
2158 #ifndef $as_decl_name | |
2159 #ifdef __cplusplus | |
2160 (void) $as_decl_use; | |
2161 #else | |
2162 (void) $as_decl_name; | |
2163 #endif | |
2164 #endif | |
2165 | |
2166 ; | |
2167 return 0; | |
2168 } | |
2169 _ACEOF | |
2170 if ac_fn_c_try_compile "$LINENO"; then : | |
2171 eval "$3=yes" | |
2172 else | |
2173 eval "$3=no" | |
2174 fi | |
2175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
2176 fi | |
2177 eval ac_res=\$$3 | |
2178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |
2179 $as_echo "$ac_res" >&6; } | |
2180 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_
lineno;} | |
2181 | |
2182 } # ac_fn_c_check_decl | |
2183 | |
2184 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES | 1860 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES |
2185 # -------------------------------------------- | 1861 # -------------------------------------------- |
2186 # Tries to find the compile-time value of EXPR in a program that includes | 1862 # Tries to find the compile-time value of EXPR in a program that includes |
2187 # INCLUDES, setting VAR accordingly. Returns whether the value could be | 1863 # INCLUDES, setting VAR accordingly. Returns whether the value could be |
2188 # computed | 1864 # computed |
2189 ac_fn_c_compute_int () | 1865 ac_fn_c_compute_int () |
2190 { | 1866 { |
2191 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 1867 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
2192 if test "$cross_compiling" = yes; then | 1868 if test "$cross_compiling" = yes; then |
2193 # Depending upon the size, compute the lo and hi bounds. | 1869 # Depending upon the size, compute the lo and hi bounds. |
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2352 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | 2028 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
2353 conftest.$ac_objext conftest.beam conftest.$ac_ext | 2029 conftest.$ac_objext conftest.beam conftest.$ac_ext |
2354 rm -f conftest.val | 2030 rm -f conftest.val |
2355 | 2031 |
2356 fi | 2032 fi |
2357 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_
lineno;} | 2033 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_
lineno;} |
2358 return $ac_retval | 2034 return $ac_retval |
2359 | 2035 |
2360 } # ac_fn_c_compute_int | 2036 } # ac_fn_c_compute_int |
2361 | 2037 |
| 2038 # ac_fn_c_try_link LINENO |
| 2039 # ----------------------- |
| 2040 # Try to link conftest.$ac_ext, and return whether this succeeded. |
| 2041 ac_fn_c_try_link () |
| 2042 { |
| 2043 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 2044 rm -f conftest.$ac_objext conftest$ac_exeext |
| 2045 if { { ac_try="$ac_link" |
| 2046 case "(($ac_try" in |
| 2047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 2048 *) ac_try_echo=$ac_try;; |
| 2049 esac |
| 2050 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
| 2051 $as_echo "$ac_try_echo"; } >&5 |
| 2052 (eval "$ac_link") 2>conftest.err |
| 2053 ac_status=$? |
| 2054 if test -s conftest.err; then |
| 2055 grep -v '^ *+' conftest.err >conftest.er1 |
| 2056 cat conftest.er1 >&5 |
| 2057 mv -f conftest.er1 conftest.err |
| 2058 fi |
| 2059 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 2060 test $ac_status = 0; } && { |
| 2061 test -z "$ac_c_werror_flag" || |
| 2062 test ! -s conftest.err |
| 2063 } && test -s conftest$ac_exeext && { |
| 2064 test "$cross_compiling" = yes || |
| 2065 $as_test_x conftest$ac_exeext |
| 2066 }; then : |
| 2067 ac_retval=0 |
| 2068 else |
| 2069 $as_echo "$as_me: failed program was:" >&5 |
| 2070 sed 's/^/| /' conftest.$ac_ext >&5 |
| 2071 |
| 2072 ac_retval=1 |
| 2073 fi |
| 2074 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information |
| 2075 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would |
| 2076 # interfere with the next link command; also delete a directory that is |
| 2077 # left behind by Apple's compiler. We do this before executing the actions. |
| 2078 rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
| 2079 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_
lineno;} |
| 2080 return $ac_retval |
| 2081 |
| 2082 } # ac_fn_c_try_link |
| 2083 |
| 2084 # ac_fn_c_check_func LINENO FUNC VAR |
| 2085 # ---------------------------------- |
| 2086 # Tests whether FUNC exists, setting the cache variable VAR accordingly |
| 2087 ac_fn_c_check_func () |
| 2088 { |
| 2089 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 2090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
| 2091 $as_echo_n "checking for $2... " >&6; } |
| 2092 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
| 2093 $as_echo_n "(cached) " >&6 |
| 2094 else |
| 2095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 2096 /* end confdefs.h. */ |
| 2097 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. |
| 2098 For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
| 2099 #define $2 innocuous_$2 |
| 2100 |
| 2101 /* System header to define __stub macros and hopefully few prototypes, |
| 2102 which can conflict with char $2 (); below. |
| 2103 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
| 2104 <limits.h> exists even on freestanding compilers. */ |
| 2105 |
| 2106 #ifdef __STDC__ |
| 2107 # include <limits.h> |
| 2108 #else |
| 2109 # include <assert.h> |
| 2110 #endif |
| 2111 |
| 2112 #undef $2 |
| 2113 |
| 2114 /* Override any GCC internal prototype to avoid an error. |
| 2115 Use char because int might match the return type of a GCC |
| 2116 builtin and then its argument prototype would still apply. */ |
| 2117 #ifdef __cplusplus |
| 2118 extern "C" |
| 2119 #endif |
| 2120 char $2 (); |
| 2121 /* The GNU C library defines this for functions which it implements |
| 2122 to always fail with ENOSYS. Some functions are actually named |
| 2123 something starting with __ and the normal name is an alias. */ |
| 2124 #if defined __stub_$2 || defined __stub___$2 |
| 2125 choke me |
| 2126 #endif |
| 2127 |
| 2128 int |
| 2129 main () |
| 2130 { |
| 2131 return $2 (); |
| 2132 ; |
| 2133 return 0; |
| 2134 } |
| 2135 _ACEOF |
| 2136 if ac_fn_c_try_link "$LINENO"; then : |
| 2137 eval "$3=yes" |
| 2138 else |
| 2139 eval "$3=no" |
| 2140 fi |
| 2141 rm -f core conftest.err conftest.$ac_objext \ |
| 2142 conftest$ac_exeext conftest.$ac_ext |
| 2143 fi |
| 2144 eval ac_res=\$$3 |
| 2145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 2146 $as_echo "$ac_res" >&6; } |
| 2147 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_
lineno;} |
| 2148 |
| 2149 } # ac_fn_c_check_func |
| 2150 |
| 2151 # ac_fn_c_check_decl LINENO SYMBOL VAR |
| 2152 # ------------------------------------ |
| 2153 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly. |
| 2154 ac_fn_c_check_decl () |
| 2155 { |
| 2156 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 2157 as_decl_name=`echo $2|sed 's/ *(.*//'` |
| 2158 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` |
| 2159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is dec
lared" >&5 |
| 2160 $as_echo_n "checking whether $as_decl_name is declared... " >&6; } |
| 2161 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
| 2162 $as_echo_n "(cached) " >&6 |
| 2163 else |
| 2164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 2165 /* end confdefs.h. */ |
| 2166 $4 |
| 2167 int |
| 2168 main () |
| 2169 { |
| 2170 #ifndef $as_decl_name |
| 2171 #ifdef __cplusplus |
| 2172 (void) $as_decl_use; |
| 2173 #else |
| 2174 (void) $as_decl_name; |
| 2175 #endif |
| 2176 #endif |
| 2177 |
| 2178 ; |
| 2179 return 0; |
| 2180 } |
| 2181 _ACEOF |
| 2182 if ac_fn_c_try_compile "$LINENO"; then : |
| 2183 eval "$3=yes" |
| 2184 else |
| 2185 eval "$3=no" |
| 2186 fi |
| 2187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2188 fi |
| 2189 eval ac_res=\$$3 |
| 2190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
| 2191 $as_echo "$ac_res" >&6; } |
| 2192 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_
lineno;} |
| 2193 |
| 2194 } # ac_fn_c_check_decl |
| 2195 |
2362 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES | 2196 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES |
2363 # ---------------------------------------------------- | 2197 # ---------------------------------------------------- |
2364 # Tries to find if the field MEMBER exists in type AGGR, after including | 2198 # Tries to find if the field MEMBER exists in type AGGR, after including |
2365 # INCLUDES, setting cache variable VAR accordingly. | 2199 # INCLUDES, setting cache variable VAR accordingly. |
2366 ac_fn_c_check_member () | 2200 ac_fn_c_check_member () |
2367 { | 2201 { |
2368 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 2202 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
2369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 | 2203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 |
2370 $as_echo_n "checking for $2.$3... " >&6; } | 2204 $as_echo_n "checking for $2.$3... " >&6; } |
2371 if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then : | 2205 if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then : |
(...skipping 373 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2745 [\\/]* | ?:[\\/]* ) . "$cache_file";; | 2579 [\\/]* | ?:[\\/]* ) . "$cache_file";; |
2746 *) . "./$cache_file";; | 2580 *) . "./$cache_file";; |
2747 esac | 2581 esac |
2748 fi | 2582 fi |
2749 else | 2583 else |
2750 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 | 2584 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 |
2751 $as_echo "$as_me: creating cache $cache_file" >&6;} | 2585 $as_echo "$as_me: creating cache $cache_file" >&6;} |
2752 >$cache_file | 2586 >$cache_file |
2753 fi | 2587 fi |
2754 | 2588 |
2755 gl_header_list="$gl_header_list sys/mman.h" | |
2756 gl_func_list="$gl_func_list mprotect" | |
2757 gl_func_list="$gl_func_list memchr" | |
2758 gl_header_list="$gl_header_list stddef.h" | |
2759 gl_header_list="$gl_header_list stdint.h" | |
2760 gl_header_list="$gl_header_list wchar.h" | |
2761 gl_header_list="$gl_header_list string.h" | |
2762 # Check that the precious variables saved in the cache have kept the same | 2589 # Check that the precious variables saved in the cache have kept the same |
2763 # value. | 2590 # value. |
2764 ac_cache_corrupted=false | 2591 ac_cache_corrupted=false |
2765 for ac_var in $ac_precious_vars; do | 2592 for ac_var in $ac_precious_vars; do |
2766 eval ac_old_set=\$ac_cv_env_${ac_var}_set | 2593 eval ac_old_set=\$ac_cv_env_${ac_var}_set |
2767 eval ac_new_set=\$ac_env_${ac_var}_set | 2594 eval ac_new_set=\$ac_env_${ac_var}_set |
2768 eval ac_old_val=\$ac_cv_env_${ac_var}_value | 2595 eval ac_old_val=\$ac_cv_env_${ac_var}_value |
2769 eval ac_new_val=\$ac_env_${ac_var}_value | 2596 eval ac_new_val=\$ac_env_${ac_var}_value |
2770 case $ac_old_set,$ac_new_set in | 2597 case $ac_old_set,$ac_new_set in |
2771 set,) | 2598 set,) |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2849 MAINTAINER_MODE_FALSE='#' | 2676 MAINTAINER_MODE_FALSE='#' |
2850 else | 2677 else |
2851 MAINTAINER_MODE_TRUE='#' | 2678 MAINTAINER_MODE_TRUE='#' |
2852 MAINTAINER_MODE_FALSE= | 2679 MAINTAINER_MODE_FALSE= |
2853 fi | 2680 fi |
2854 | 2681 |
2855 MAINT=$MAINTAINER_MODE_TRUE | 2682 MAINT=$MAINTAINER_MODE_TRUE |
2856 | 2683 |
2857 | 2684 |
2858 | 2685 |
| 2686 # Provide more thorough testing by -lmcheck. |
| 2687 # Set it to 'true' for development snapshots, 'false' for releases or |
| 2688 # pre-releases. |
| 2689 development=false |
| 2690 |
2859 ac_ext=c | 2691 ac_ext=c |
2860 ac_cpp='$CPP $CPPFLAGS' | 2692 ac_cpp='$CPP $CPPFLAGS' |
2861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 2693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
2862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
LIBS >&5' | 2694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
LIBS >&5' |
2863 ac_compiler_gnu=$ac_cv_c_compiler_gnu | 2695 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
2864 if test -n "$ac_tool_prefix"; then | 2696 if test -n "$ac_tool_prefix"; then |
2865 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program nam
e with args. | 2697 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program nam
e with args. |
2866 set dummy ${ac_tool_prefix}gcc; ac_word=$2 | 2698 set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
2867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 2699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2868 $as_echo_n "checking for $ac_word... " >&6; } | 2700 $as_echo_n "checking for $ac_word... " >&6; } |
(...skipping 745 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3614 if test "x$ac_cv_prog_cc_c89" != xno; then : | 3446 if test "x$ac_cv_prog_cc_c89" != xno; then : |
3615 | 3447 |
3616 fi | 3448 fi |
3617 | 3449 |
3618 ac_ext=c | 3450 ac_ext=c |
3619 ac_cpp='$CPP $CPPFLAGS' | 3451 ac_cpp='$CPP $CPPFLAGS' |
3620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 3452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
LIBS >&5' | 3453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
LIBS >&5' |
3622 ac_compiler_gnu=$ac_cv_c_compiler_gnu | 3454 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3623 | 3455 |
3624 ac_aux_dir= | |
3625 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do | |
3626 for ac_t in install-sh install.sh shtool; do | |
3627 if test -f "$ac_dir/$ac_t"; then | |
3628 ac_aux_dir=$ac_dir | |
3629 ac_install_sh="$ac_aux_dir/$ac_t -c" | |
3630 break 2 | |
3631 fi | |
3632 done | |
3633 done | |
3634 if test -z "$ac_aux_dir"; then | |
3635 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$s
rcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 | |
3636 fi | |
3637 | |
3638 # These three variables are undocumented and unsupported, | |
3639 # and are intended to be withdrawn in a future Autoconf release. | |
3640 # They can cause serious problems if a builder's source tree is in a directory | |
3641 # whose full name contains unusual characters. | |
3642 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. | |
3643 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. | |
3644 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. | |
3645 | |
3646 | |
3647 # Make sure we can run config.sub. | |
3648 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || | |
3649 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 | |
3650 | |
3651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 | |
3652 $as_echo_n "checking build system type... " >&6; } | |
3653 if test "${ac_cv_build+set}" = set; then : | |
3654 $as_echo_n "(cached) " >&6 | |
3655 else | |
3656 ac_build_alias=$build_alias | |
3657 test "x$ac_build_alias" = x && | |
3658 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` | |
3659 test "x$ac_build_alias" = x && | |
3660 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5 | |
3661 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || | |
3662 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 | |
3663 | |
3664 fi | |
3665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 | |
3666 $as_echo "$ac_cv_build" >&6; } | |
3667 case $ac_cv_build in | |
3668 *-*-*) ;; | |
3669 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;; | |
3670 esac | |
3671 build=$ac_cv_build | |
3672 ac_save_IFS=$IFS; IFS='-' | |
3673 set x $ac_cv_build | |
3674 shift | |
3675 build_cpu=$1 | |
3676 build_vendor=$2 | |
3677 shift; shift | |
3678 # Remember, the first character of IFS is used to create $*, | |
3679 # except with old shells: | |
3680 build_os=$* | |
3681 IFS=$ac_save_IFS | |
3682 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac | |
3683 | |
3684 | |
3685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 | |
3686 $as_echo_n "checking host system type... " >&6; } | |
3687 if test "${ac_cv_host+set}" = set; then : | |
3688 $as_echo_n "(cached) " >&6 | |
3689 else | |
3690 if test "x$host_alias" = x; then | |
3691 ac_cv_host=$ac_cv_build | |
3692 else | |
3693 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || | |
3694 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 | |
3695 fi | |
3696 | |
3697 fi | |
3698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 | |
3699 $as_echo "$ac_cv_host" >&6; } | |
3700 case $ac_cv_host in | |
3701 *-*-*) ;; | |
3702 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;; | |
3703 esac | |
3704 host=$ac_cv_host | |
3705 ac_save_IFS=$IFS; IFS='-' | |
3706 set x $ac_cv_host | |
3707 shift | |
3708 host_cpu=$1 | |
3709 host_vendor=$2 | |
3710 shift; shift | |
3711 # Remember, the first character of IFS is used to create $*, | |
3712 # except with old shells: | |
3713 host_os=$* | |
3714 IFS=$ac_save_IFS | |
3715 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac | |
3716 | |
3717 | |
3718 | 3456 |
3719 ac_ext=c | 3457 ac_ext=c |
3720 ac_cpp='$CPP $CPPFLAGS' | 3458 ac_cpp='$CPP $CPPFLAGS' |
3721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 3459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
LIBS >&5' | 3460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
LIBS >&5' |
3723 ac_compiler_gnu=$ac_cv_c_compiler_gnu | 3461 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor"
>&5 | 3462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor"
>&5 |
3725 $as_echo_n "checking how to run the C preprocessor... " >&6; } | 3463 $as_echo_n "checking how to run the C preprocessor... " >&6; } |
3726 # On Suns, sometimes $CPP names a directory. | 3464 # On Suns, sometimes $CPP names a directory. |
3727 if test -n "$CPP" && test -d "$CPP"; then | 3465 if test -n "$CPP" && test -d "$CPP"; then |
(...skipping 380 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4108 cat >>confdefs.h <<_ACEOF | 3846 cat >>confdefs.h <<_ACEOF |
4109 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 3847 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
4110 _ACEOF | 3848 _ACEOF |
4111 | 3849 |
4112 fi | 3850 fi |
4113 | 3851 |
4114 done | 3852 done |
4115 | 3853 |
4116 | 3854 |
4117 | 3855 |
4118 | |
4119 | |
4120 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_co
nfig_h" "$ac_includes_default" | 3856 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_co
nfig_h" "$ac_includes_default" |
4121 if test "x$ac_cv_header_minix_config_h" = x""yes; then : | 3857 if test "x$ac_cv_header_minix_config_h" = x""yes; then : |
4122 MINIX=yes | 3858 MINIX=yes |
4123 else | 3859 else |
4124 MINIX= | 3860 MINIX= |
4125 fi | 3861 fi |
4126 | 3862 |
4127 | 3863 |
4128 if test "$MINIX" = yes; then | 3864 if test "$MINIX" = yes; then |
4129 | 3865 |
4130 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h | 3866 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h |
4131 | 3867 |
4132 | 3868 |
4133 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h | 3869 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h |
4134 | 3870 |
4135 | 3871 |
4136 $as_echo "#define _MINIX 1" >>confdefs.h | 3872 $as_echo "#define _MINIX 1" >>confdefs.h |
4137 | 3873 |
4138 fi | 3874 fi |
4139 | 3875 |
4140 case "$host_os" in | |
4141 hpux*) | |
4142 | |
4143 $as_echo "#define _XOPEN_SOURCE 500" >>confdefs.h | |
4144 | |
4145 ;; | |
4146 esac | |
4147 | |
4148 | 3876 |
4149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define
__EXTENSIONS__" >&5 | 3877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define
__EXTENSIONS__" >&5 |
4150 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } | 3878 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } |
4151 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then : | 3879 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then : |
4152 $as_echo_n "(cached) " >&6 | 3880 $as_echo_n "(cached) " >&6 |
4153 else | 3881 else |
4154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 3882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4155 /* end confdefs.h. */ | 3883 /* end confdefs.h. */ |
4156 | 3884 |
4157 # define __EXTENSIONS__ 1 | 3885 #» define __EXTENSIONS__ 1 |
4158 $ac_includes_default | 3886 » $ac_includes_default |
4159 int | 3887 int |
4160 main () | 3888 main () |
4161 { | 3889 { |
4162 | 3890 |
4163 ; | 3891 ; |
4164 return 0; | 3892 return 0; |
4165 } | 3893 } |
4166 _ACEOF | 3894 _ACEOF |
4167 if ac_fn_c_try_compile "$LINENO"; then : | 3895 if ac_fn_c_try_compile "$LINENO"; then : |
4168 ac_cv_safe_to_define___extensions__=yes | 3896 ac_cv_safe_to_define___extensions__=yes |
4169 else | 3897 else |
4170 ac_cv_safe_to_define___extensions__=no | 3898 ac_cv_safe_to_define___extensions__=no |
4171 fi | 3899 fi |
4172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 3900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
4173 fi | 3901 fi |
4174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensi
ons__" >&5 | 3902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensi
ons__" >&5 |
4175 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; } | 3903 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; } |
4176 test $ac_cv_safe_to_define___extensions__ = yes && | 3904 test $ac_cv_safe_to_define___extensions__ = yes && |
4177 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h | 3905 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h |
4178 | 3906 |
4179 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h | 3907 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h |
4180 | 3908 |
4181 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h | 3909 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h |
4182 | 3910 |
4183 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h | 3911 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h |
4184 | 3912 |
4185 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h | 3913 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h |
4186 | 3914 |
4187 | 3915 |
4188 if test -n "$ac_tool_prefix"; then | 3916 ac_aux_dir= |
4189 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program
name with args. | 3917 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
4190 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 | 3918 for ac_t in install-sh install.sh shtool; do |
4191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 3919 if test -f "$ac_dir/$ac_t"; then |
4192 $as_echo_n "checking for $ac_word... " >&6; } | 3920 ac_aux_dir=$ac_dir |
4193 if test "${ac_cv_prog_RANLIB+set}" = set; then : | 3921 ac_install_sh="$ac_aux_dir/$ac_t -c" |
| 3922 break 2 |
| 3923 fi |
| 3924 done |
| 3925 done |
| 3926 if test -z "$ac_aux_dir"; then |
| 3927 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$s
rcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 |
| 3928 fi |
| 3929 |
| 3930 # These three variables are undocumented and unsupported, |
| 3931 # and are intended to be withdrawn in a future Autoconf release. |
| 3932 # They can cause serious problems if a builder's source tree is in a directory |
| 3933 # whose full name contains unusual characters. |
| 3934 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. |
| 3935 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. |
| 3936 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. |
| 3937 |
| 3938 |
| 3939 # Make sure we can run config.sub. |
| 3940 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || |
| 3941 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 |
| 3942 |
| 3943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 |
| 3944 $as_echo_n "checking build system type... " >&6; } |
| 3945 if test "${ac_cv_build+set}" = set; then : |
4194 $as_echo_n "(cached) " >&6 | 3946 $as_echo_n "(cached) " >&6 |
4195 else | 3947 else |
4196 if test -n "$RANLIB"; then | 3948 ac_build_alias=$build_alias |
4197 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | 3949 test "x$ac_build_alias" = x && |
4198 else | 3950 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` |
4199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 3951 test "x$ac_build_alias" = x && |
4200 for as_dir in $PATH | 3952 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5 |
4201 do | 3953 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || |
4202 IFS=$as_save_IFS | 3954 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 |
4203 test -z "$as_dir" && as_dir=. | |
4204 for ac_exec_ext in '' $ac_executable_extensions; do | |
4205 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac
_exec_ext"; }; then | |
4206 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" | |
4207 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | |
4208 break 2 | |
4209 fi | |
4210 done | |
4211 done | |
4212 IFS=$as_save_IFS | |
4213 | 3955 |
4214 fi | 3956 fi |
4215 fi | 3957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 |
4216 RANLIB=$ac_cv_prog_RANLIB | 3958 $as_echo "$ac_cv_build" >&6; } |
4217 if test -n "$RANLIB"; then | 3959 case $ac_cv_build in |
4218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 | 3960 *-*-*) ;; |
4219 $as_echo "$RANLIB" >&6; } | 3961 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;; |
| 3962 esac |
| 3963 build=$ac_cv_build |
| 3964 ac_save_IFS=$IFS; IFS='-' |
| 3965 set x $ac_cv_build |
| 3966 shift |
| 3967 build_cpu=$1 |
| 3968 build_vendor=$2 |
| 3969 shift; shift |
| 3970 # Remember, the first character of IFS is used to create $*, |
| 3971 # except with old shells: |
| 3972 build_os=$* |
| 3973 IFS=$ac_save_IFS |
| 3974 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac |
| 3975 |
| 3976 |
| 3977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 |
| 3978 $as_echo_n "checking host system type... " >&6; } |
| 3979 if test "${ac_cv_host+set}" = set; then : |
| 3980 $as_echo_n "(cached) " >&6 |
4220 else | 3981 else |
4221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 3982 if test "x$host_alias" = x; then |
4222 $as_echo "no" >&6; } | 3983 ac_cv_host=$ac_cv_build |
| 3984 else |
| 3985 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || |
| 3986 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 |
4223 fi | 3987 fi |
4224 | 3988 |
| 3989 fi |
| 3990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 |
| 3991 $as_echo "$ac_cv_host" >&6; } |
| 3992 case $ac_cv_host in |
| 3993 *-*-*) ;; |
| 3994 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;; |
| 3995 esac |
| 3996 host=$ac_cv_host |
| 3997 ac_save_IFS=$IFS; IFS='-' |
| 3998 set x $ac_cv_host |
| 3999 shift |
| 4000 host_cpu=$1 |
| 4001 host_vendor=$2 |
| 4002 shift; shift |
| 4003 # Remember, the first character of IFS is used to create $*, |
| 4004 # except with old shells: |
| 4005 host_os=$* |
| 4006 IFS=$ac_save_IFS |
| 4007 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac |
4225 | 4008 |
4226 fi | |
4227 if test -z "$ac_cv_prog_RANLIB"; then | |
4228 ac_ct_RANLIB=$RANLIB | |
4229 # Extract the first word of "ranlib", so it can be a program name with args. | |
4230 set dummy ranlib; ac_word=$2 | |
4231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
4232 $as_echo_n "checking for $ac_word... " >&6; } | |
4233 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then : | |
4234 $as_echo_n "(cached) " >&6 | |
4235 else | |
4236 if test -n "$ac_ct_RANLIB"; then | |
4237 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. | |
4238 else | |
4239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
4240 for as_dir in $PATH | |
4241 do | |
4242 IFS=$as_save_IFS | |
4243 test -z "$as_dir" && as_dir=. | |
4244 for ac_exec_ext in '' $ac_executable_extensions; do | |
4245 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac
_exec_ext"; }; then | |
4246 ac_cv_prog_ac_ct_RANLIB="ranlib" | |
4247 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | |
4248 break 2 | |
4249 fi | |
4250 done | |
4251 done | |
4252 IFS=$as_save_IFS | |
4253 | |
4254 fi | |
4255 fi | |
4256 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB | |
4257 if test -n "$ac_ct_RANLIB"; then | |
4258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 | |
4259 $as_echo "$ac_ct_RANLIB" >&6; } | |
4260 else | |
4261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
4262 $as_echo "no" >&6; } | |
4263 fi | |
4264 | |
4265 if test "x$ac_ct_RANLIB" = x; then | |
4266 RANLIB=":" | |
4267 else | |
4268 case $cross_compiling:$ac_tool_warned in | |
4269 yes:) | |
4270 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed
with host triplet" >&5 | |
4271 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2
;} | |
4272 ac_tool_warned=yes ;; | |
4273 esac | |
4274 RANLIB=$ac_ct_RANLIB | |
4275 fi | |
4276 else | |
4277 RANLIB="$ac_cv_prog_RANLIB" | |
4278 fi | |
4279 | |
4280 | |
4281 | |
4282 | |
4283 | |
4284 | |
4285 | |
4286 | |
4287 | |
4288 # Code from module arg-nonnull: | |
4289 # Code from module c++defs: | |
4290 # Code from module extensions: | |
4291 | |
4292 # Code from module include_next: | |
4293 # Code from module memchr: | |
4294 # Code from module memmem: | |
4295 # Code from module memmem-simple: | |
4296 # Code from module multiarch: | |
4297 # Code from module stddef: | |
4298 # Code from module stdint: | |
4299 # Code from module string: | |
4300 # Code from module warn-on-use: | |
4301 # Code from module wchar: | |
4302 | 4009 |
4303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 | 4010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 |
4304 $as_echo_n "checking target system type... " >&6; } | 4011 $as_echo_n "checking target system type... " >&6; } |
4305 if test "${ac_cv_target+set}" = set; then : | 4012 if test "${ac_cv_target+set}" = set; then : |
4306 $as_echo_n "(cached) " >&6 | 4013 $as_echo_n "(cached) " >&6 |
4307 else | 4014 else |
4308 if test "x$target_alias" = x; then | 4015 if test "x$target_alias" = x; then |
4309 ac_cv_target=$ac_cv_host | 4016 ac_cv_target=$ac_cv_host |
4310 else | 4017 else |
4311 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || | 4018 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || |
(...skipping 362 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4674 # These three variables are undocumented and unsupported, | 4381 # These three variables are undocumented and unsupported, |
4675 # and are intended to be withdrawn in a future Autoconf release. | 4382 # and are intended to be withdrawn in a future Autoconf release. |
4676 # They can cause serious problems if a builder's source tree is in a directory | 4383 # They can cause serious problems if a builder's source tree is in a directory |
4677 # whose full name contains unusual characters. | 4384 # whose full name contains unusual characters. |
4678 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. | 4385 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. |
4679 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. | 4386 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. |
4680 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. | 4387 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. |
4681 | 4388 |
4682 | 4389 |
4683 | 4390 |
| 4391 test "$program_prefix" != NONE && |
| 4392 program_transform_name="s&^&$program_prefix&;$program_transform_name" |
| 4393 # Use a double $ so make ignores it. |
| 4394 test "$program_suffix" != NONE && |
| 4395 program_transform_name="s&\$&$program_suffix&;$program_transform_name" |
| 4396 # Double any \ or $. |
| 4397 # By default was `s,x,x', remove it if useless. |
| 4398 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' |
| 4399 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` |
| 4400 |
4684 | 4401 |
4685 # Dependency checking. | 4402 # Dependency checking. |
4686 rm -rf .tst 2>/dev/null | 4403 rm -rf .tst 2>/dev/null |
4687 mkdir .tst 2>/dev/null | 4404 mkdir .tst 2>/dev/null |
4688 if test -d .tst; then | 4405 if test -d .tst; then |
4689 am__leading_dot=. | 4406 am__leading_dot=. |
4690 else | 4407 else |
4691 am__leading_dot=_ | 4408 am__leading_dot=_ |
4692 fi | 4409 fi |
4693 rmdir .tst 2>/dev/null | 4410 rmdir .tst 2>/dev/null |
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 4593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
4877 $as_echo "yes" >&6; } | 4594 $as_echo "yes" >&6; } |
4878 SET_MAKE= | 4595 SET_MAKE= |
4879 else | 4596 else |
4880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 4597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
4881 $as_echo "no" >&6; } | 4598 $as_echo "no" >&6; } |
4882 SET_MAKE="MAKE=${MAKE-make}" | 4599 SET_MAKE="MAKE=${MAKE-make}" |
4883 fi | 4600 fi |
4884 | 4601 |
4885 | 4602 |
| 4603 # Configure gnulib. We need to build gnulib under some other |
| 4604 # directory not "gnulib", to avoid the problem of both GDB and |
| 4605 # GDBserver wanting to build it in the same directory, when building |
| 4606 # in the source dir. |
| 4607 |
| 4608 in_src="gnulib" |
| 4609 in_build="build-gnulib" |
| 4610 |
| 4611 # Remove --cache-file, --srcdir, and --disable-option-checking arguments |
| 4612 # so they do not pile up. |
| 4613 ac_sub_configure_args= |
| 4614 ac_prev= |
| 4615 eval "set x $ac_configure_args" |
| 4616 shift |
| 4617 for ac_arg |
| 4618 do |
| 4619 if test -n "$ac_prev"; then |
| 4620 ac_prev= |
| 4621 continue |
| 4622 fi |
| 4623 case $ac_arg in |
| 4624 -cache-file | --cache-file | --cache-fil | --cache-fi \ |
| 4625 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
| 4626 ac_prev=cache_file ;; |
| 4627 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
| 4628 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \ |
| 4629 | --c=*) |
| 4630 ;; |
| 4631 --config-cache | -C) |
| 4632 ;; |
| 4633 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
| 4634 ac_prev=srcdir ;; |
| 4635 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
| 4636 ;; |
| 4637 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
| 4638 ac_prev=prefix ;; |
| 4639 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
| 4640 ;; |
| 4641 --disable-option-checking) |
| 4642 ;; |
| 4643 *) |
| 4644 case $ac_arg in |
| 4645 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
| 4646 esac |
| 4647 as_fn_append ac_sub_configure_args " '$ac_arg'" ;; |
| 4648 esac |
| 4649 done |
| 4650 |
| 4651 # Always prepend --prefix to ensure using the same prefix |
| 4652 # in subdir configurations. |
| 4653 ac_arg="--prefix=$prefix" |
| 4654 case $ac_arg in |
| 4655 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
| 4656 esac |
| 4657 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args" |
| 4658 |
| 4659 # Pass --silent |
| 4660 if test "$silent" = yes; then |
| 4661 ac_sub_configure_args="--silent $ac_sub_configure_args" |
| 4662 fi |
| 4663 |
| 4664 # Always prepend --disable-option-checking to silence warnings, since |
| 4665 # different subdirs can have different --enable and --with options. |
| 4666 ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args" |
| 4667 |
| 4668 ac_popdir=`pwd` |
| 4669 ac_dir=$in_build |
| 4670 |
| 4671 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)" |
| 4672 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5 |
| 4673 $as_echo "$ac_msg" >&6 |
| 4674 as_dir="$ac_dir"; as_fn_mkdir_p |
| 4675 |
| 4676 case $srcdir in |
| 4677 [\\/]* | ?:[\\/]* ) |
| 4678 ac_srcdir=$srcdir/$in_src ;; |
| 4679 *) # Relative name. |
| 4680 ac_srcdir=../$srcdir/$in_src ;; |
| 4681 esac |
| 4682 |
| 4683 cd "$ac_dir" |
| 4684 |
| 4685 ac_sub_configure=$ac_srcdir/configure |
| 4686 |
| 4687 # Make the cache file name correct relative to the subdirectory. |
| 4688 case $cache_file in |
| 4689 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;; |
| 4690 *) # Relative name. |
| 4691 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;; |
| 4692 esac |
| 4693 |
| 4694 { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_
sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5 |
| 4695 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cach
e-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;} |
| 4696 # The eval makes quoting arguments work. |
| 4697 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \ |
| 4698 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" || |
| 4699 as_fn_error "$ac_sub_configure failed for $ac_dir" "$LINENO" 5 |
| 4700 |
| 4701 cd "$ac_popdir" |
| 4702 |
| 4703 |
4886 | 4704 |
4887 CONFIG_OBS= | 4705 CONFIG_OBS= |
4888 CONFIG_DEPS= | 4706 CONFIG_DEPS= |
4889 CONFIG_SRCS= | 4707 CONFIG_SRCS= |
4890 ENABLE_CFLAGS= | 4708 ENABLE_CFLAGS= |
4891 | 4709 |
4892 CONFIG_ALL= | 4710 CONFIG_ALL= |
4893 CONFIG_CLEAN= | 4711 CONFIG_CLEAN= |
4894 CONFIG_INSTALL= | 4712 CONFIG_INSTALL= |
4895 CONFIG_UNINSTALL= | 4713 CONFIG_UNINSTALL= |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4968 localedir='${datadir}/locale' | 4786 localedir='${datadir}/locale' |
4969 | 4787 |
4970 | 4788 |
4971 if test x"$USE_NLS" = xyes; then | 4789 if test x"$USE_NLS" = xyes; then |
4972 CONFIG_ALL="$CONFIG_ALL all-po" | 4790 CONFIG_ALL="$CONFIG_ALL all-po" |
4973 CONFIG_CLEAN="$CONFIG_CLEAN clean-po" | 4791 CONFIG_CLEAN="$CONFIG_CLEAN clean-po" |
4974 CONFIG_INSTALL="$CONFIG_INSTALL install-po" | 4792 CONFIG_INSTALL="$CONFIG_INSTALL install-po" |
4975 CONFIG_UNINSTALL="$CONFIG_UNINSTALL uninstall-po" | 4793 CONFIG_UNINSTALL="$CONFIG_UNINSTALL uninstall-po" |
4976 fi | 4794 fi |
4977 | 4795 |
4978 | 4796 GNULIB=build-gnulib/import |
4979 | |
4980 | |
4981 | |
4982 LIBC_FATAL_STDERR_=1 | |
4983 export LIBC_FATAL_STDERR_ | |
4984 | |
4985 | |
4986 | |
4987 | |
4988 | |
4989 for ac_header in $gl_header_list | |
4990 do : | |
4991 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | |
4992 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_include
s_default" | |
4993 eval as_val=\$$as_ac_Header | |
4994 if test "x$as_val" = x""yes; then : | |
4995 cat >>confdefs.h <<_ACEOF | |
4996 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | |
4997 _ACEOF | |
4998 | |
4999 fi | |
5000 | |
5001 done | |
5002 | |
5003 | |
5004 | |
5005 | |
5006 | |
5007 | |
5008 | |
5009 | |
5010 | |
5011 for ac_func in $gl_func_list | |
5012 do : | |
5013 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | |
5014 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | |
5015 eval as_val=\$$as_ac_var | |
5016 if test "x$as_val" = x""yes; then : | |
5017 cat >>confdefs.h <<_ACEOF | |
5018 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | |
5019 _ACEOF | |
5020 | |
5021 fi | |
5022 done | |
5023 | |
5024 | |
5025 | |
5026 | |
5027 | |
5028 | |
5029 GNULIB_MEMCHR=0; | |
5030 GNULIB_MEMMEM=0; | |
5031 GNULIB_MEMPCPY=0; | |
5032 GNULIB_MEMRCHR=0; | |
5033 GNULIB_RAWMEMCHR=0; | |
5034 GNULIB_STPCPY=0; | |
5035 GNULIB_STPNCPY=0; | |
5036 GNULIB_STRCHRNUL=0; | |
5037 GNULIB_STRDUP=0; | |
5038 GNULIB_STRNCAT=0; | |
5039 GNULIB_STRNDUP=0; | |
5040 GNULIB_STRNLEN=0; | |
5041 GNULIB_STRPBRK=0; | |
5042 GNULIB_STRSEP=0; | |
5043 GNULIB_STRSTR=0; | |
5044 GNULIB_STRCASESTR=0; | |
5045 GNULIB_STRTOK_R=0; | |
5046 GNULIB_MBSLEN=0; | |
5047 GNULIB_MBSNLEN=0; | |
5048 GNULIB_MBSCHR=0; | |
5049 GNULIB_MBSRCHR=0; | |
5050 GNULIB_MBSSTR=0; | |
5051 GNULIB_MBSCASECMP=0; | |
5052 GNULIB_MBSNCASECMP=0; | |
5053 GNULIB_MBSPCASECMP=0; | |
5054 GNULIB_MBSCASESTR=0; | |
5055 GNULIB_MBSCSPN=0; | |
5056 GNULIB_MBSPBRK=0; | |
5057 GNULIB_MBSSPN=0; | |
5058 GNULIB_MBSSEP=0; | |
5059 GNULIB_MBSTOK_R=0; | |
5060 GNULIB_STRERROR=0; | |
5061 GNULIB_STRSIGNAL=0; | |
5062 GNULIB_STRVERSCMP=0; | |
5063 HAVE_MBSLEN=0; | |
5064 HAVE_MEMCHR=1; | |
5065 HAVE_DECL_MEMMEM=1; | |
5066 HAVE_MEMPCPY=1; | |
5067 HAVE_DECL_MEMRCHR=1; | |
5068 HAVE_RAWMEMCHR=1; | |
5069 HAVE_STPCPY=1; | |
5070 HAVE_STPNCPY=1; | |
5071 HAVE_STRCHRNUL=1; | |
5072 HAVE_DECL_STRDUP=1; | |
5073 HAVE_DECL_STRNDUP=1; | |
5074 HAVE_DECL_STRNLEN=1; | |
5075 HAVE_STRPBRK=1; | |
5076 HAVE_STRSEP=1; | |
5077 HAVE_STRCASESTR=1; | |
5078 HAVE_DECL_STRTOK_R=1; | |
5079 HAVE_DECL_STRSIGNAL=1; | |
5080 HAVE_STRVERSCMP=1; | |
5081 REPLACE_MEMCHR=0; | |
5082 REPLACE_MEMMEM=0; | |
5083 REPLACE_STPNCPY=0; | |
5084 REPLACE_STRDUP=0; | |
5085 REPLACE_STRSTR=0; | |
5086 REPLACE_STRCASESTR=0; | |
5087 REPLACE_STRERROR=0; | |
5088 REPLACE_STRNCAT=0; | |
5089 REPLACE_STRNDUP=0; | |
5090 REPLACE_STRNLEN=0; | |
5091 REPLACE_STRSIGNAL=0; | |
5092 REPLACE_STRTOK_R=0; | |
5093 UNDEFINE_STRTOK_R=0; | |
5094 | |
5095 | |
5096 | |
5097 | |
5098 | |
5099 | |
5100 | |
5101 | |
5102 | |
5103 | |
5104 | |
5105 | |
5106 | |
5107 # Check for mmap(). Don't use AC_FUNC_MMAP, because it checks too much: it | |
5108 # fails on HP-UX 11, because MAP_FIXED mappings do not work. But this is | |
5109 # irrelevant for anonymous mappings. | |
5110 ac_fn_c_check_func "$LINENO" "mmap" "ac_cv_func_mmap" | |
5111 if test "x$ac_cv_func_mmap" = x""yes; then : | |
5112 gl_have_mmap=yes | |
5113 else | |
5114 gl_have_mmap=no | |
5115 fi | |
5116 | |
5117 | |
5118 # Try to allow MAP_ANONYMOUS. | |
5119 gl_have_mmap_anonymous=no | |
5120 if test $gl_have_mmap = yes; then | |
5121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MAP_ANONYMOUS" >&5 | |
5122 $as_echo_n "checking for MAP_ANONYMOUS... " >&6; } | |
5123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
5124 /* end confdefs.h. */ | |
5125 | |
5126 #include <sys/mman.h> | |
5127 #ifdef MAP_ANONYMOUS | |
5128 I cant identify this map. | |
5129 #endif | |
5130 | |
5131 _ACEOF | |
5132 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | |
5133 $EGREP "I cant identify this map." >/dev/null 2>&1; then : | |
5134 gl_have_mmap_anonymous=yes | |
5135 fi | |
5136 rm -f conftest* | |
5137 | |
5138 if test $gl_have_mmap_anonymous != yes; then | |
5139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
5140 /* end confdefs.h. */ | |
5141 | |
5142 #include <sys/mman.h> | |
5143 #ifdef MAP_ANON | |
5144 I cant identify this map. | |
5145 #endif | |
5146 | |
5147 _ACEOF | |
5148 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | |
5149 $EGREP "I cant identify this map." >/dev/null 2>&1; then : | |
5150 | |
5151 $as_echo "#define MAP_ANONYMOUS MAP_ANON" >>confdefs.h | |
5152 | |
5153 gl_have_mmap_anonymous=yes | |
5154 fi | |
5155 rm -f conftest* | |
5156 | |
5157 fi | |
5158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_have_mmap_anonymous" >&
5 | |
5159 $as_echo "$gl_have_mmap_anonymous" >&6; } | |
5160 if test $gl_have_mmap_anonymous = yes; then | |
5161 | |
5162 $as_echo "#define HAVE_MAP_ANONYMOUS 1" >>confdefs.h | |
5163 | |
5164 fi | |
5165 fi | |
5166 | |
5167 | |
5168 : | |
5169 | |
5170 | |
5171 | |
5172 | |
5173 | |
5174 | |
5175 : | |
5176 | |
5177 | |
5178 | |
5179 | |
5180 | |
5181 | |
5182 | |
5183 | |
5184 : | |
5185 | |
5186 | |
5187 | |
5188 | |
5189 | |
5190 if test $ac_cv_func_memchr = yes; then | |
5191 # Detect platform-specific bugs in some versions of glibc: | |
5192 # memchr should not dereference anything with length 0 | |
5193 # http://bugzilla.redhat.com/499689 | |
5194 # memchr should not dereference overestimated length after a match | |
5195 # http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=521737 | |
5196 # http://sourceware.org/bugzilla/show_bug.cgi?id=10162 | |
5197 # Assume that memchr works on platforms that lack mprotect. | |
5198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether memchr works" >&5 | |
5199 $as_echo_n "checking whether memchr works... " >&6; } | |
5200 if test "${gl_cv_func_memchr_works+set}" = set; then : | |
5201 $as_echo_n "(cached) " >&6 | |
5202 else | |
5203 if test "$cross_compiling" = yes; then : | |
5204 gl_cv_func_memchr_works="guessing no" | |
5205 else | |
5206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
5207 /* end confdefs.h. */ | |
5208 | |
5209 #include <string.h> | |
5210 #if HAVE_SYS_MMAN_H | |
5211 # include <fcntl.h> | |
5212 # include <unistd.h> | |
5213 # include <sys/types.h> | |
5214 # include <sys/mman.h> | |
5215 # ifndef MAP_FILE | |
5216 # define MAP_FILE 0 | |
5217 # endif | |
5218 #endif | |
5219 | |
5220 int | |
5221 main () | |
5222 { | |
5223 | |
5224 char *fence = NULL; | |
5225 #if HAVE_SYS_MMAN_H && HAVE_MPROTECT | |
5226 # if HAVE_MAP_ANONYMOUS | |
5227 const int flags = MAP_ANONYMOUS | MAP_PRIVATE; | |
5228 const int fd = -1; | |
5229 # else /* !HAVE_MAP_ANONYMOUS */ | |
5230 const int flags = MAP_FILE | MAP_PRIVATE; | |
5231 int fd = open ("/dev/zero", O_RDONLY, 0666); | |
5232 if (fd >= 0) | |
5233 # endif | |
5234 { | |
5235 int pagesize = getpagesize (); | |
5236 char *two_pages = | |
5237 (char *) mmap (NULL, 2 * pagesize, PROT_READ | PROT_WRITE, | |
5238 flags, fd, 0); | |
5239 if (two_pages != (char *)(-1) | |
5240 && mprotect (two_pages + pagesize, pagesize, PROT_NONE) == 0) | |
5241 fence = two_pages + pagesize; | |
5242 } | |
5243 #endif | |
5244 if (fence) | |
5245 { | |
5246 if (memchr (fence, 0, 0)) | |
5247 return 1; | |
5248 strcpy (fence - 9, "12345678"); | |
5249 if (memchr (fence - 9, 0, 79) != fence - 1) | |
5250 return 2; | |
5251 } | |
5252 return 0; | |
5253 | |
5254 ; | |
5255 return 0; | |
5256 } | |
5257 _ACEOF | |
5258 if ac_fn_c_try_run "$LINENO"; then : | |
5259 gl_cv_func_memchr_works=yes | |
5260 else | |
5261 gl_cv_func_memchr_works=no | |
5262 fi | |
5263 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | |
5264 conftest.$ac_objext conftest.beam conftest.$ac_ext | |
5265 fi | |
5266 | |
5267 fi | |
5268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_memchr_works" >&5 | |
5269 $as_echo "$gl_cv_func_memchr_works" >&6; } | |
5270 if test "$gl_cv_func_memchr_works" != yes; then | |
5271 REPLACE_MEMCHR=1 | |
5272 fi | |
5273 else | |
5274 HAVE_MEMCHR=0 | |
5275 fi | |
5276 if test $HAVE_MEMCHR = 0 || test $REPLACE_MEMCHR = 1; then | |
5277 | |
5278 | |
5279 | |
5280 | |
5281 | |
5282 | |
5283 | |
5284 | |
5285 gl_LIBOBJS="$gl_LIBOBJS memchr.$ac_objext" | |
5286 | |
5287 | |
5288 for ac_header in bp-sym.h | |
5289 do : | |
5290 ac_fn_c_check_header_mongrel "$LINENO" "bp-sym.h" "ac_cv_header_bp_sym_h" "$ac
_includes_default" | |
5291 if test "x$ac_cv_header_bp_sym_h" = x""yes; then : | |
5292 cat >>confdefs.h <<_ACEOF | |
5293 #define HAVE_BP_SYM_H 1 | |
5294 _ACEOF | |
5295 | |
5296 fi | |
5297 | |
5298 done | |
5299 | |
5300 | |
5301 fi | |
5302 | |
5303 | |
5304 ac_fn_c_check_decl "$LINENO" "memmem" "ac_cv_have_decl_memmem" "$ac_includ
es_default" | |
5305 if test "x$ac_cv_have_decl_memmem" = x""yes; then : | |
5306 ac_have_decl=1 | |
5307 else | |
5308 ac_have_decl=0 | |
5309 fi | |
5310 | |
5311 cat >>confdefs.h <<_ACEOF | |
5312 #define HAVE_DECL_MEMMEM $ac_have_decl | |
5313 _ACEOF | |
5314 | |
5315 | |
5316 | |
5317 | |
5318 | |
5319 | |
5320 | |
5321 | |
5322 | |
5323 | |
5324 | |
5325 | |
5326 | |
5327 | |
5328 for ac_func in memmem | |
5329 do : | |
5330 ac_fn_c_check_func "$LINENO" "memmem" "ac_cv_func_memmem" | |
5331 if test "x$ac_cv_func_memmem" = x""yes; then : | |
5332 cat >>confdefs.h <<_ACEOF | |
5333 #define HAVE_MEMMEM 1 | |
5334 _ACEOF | |
5335 | |
5336 else | |
5337 | |
5338 gl_LIBOBJS="$gl_LIBOBJS $ac_func.$ac_objext" | |
5339 | |
5340 fi | |
5341 done | |
5342 | |
5343 | |
5344 | |
5345 : | |
5346 | |
5347 | |
5348 | |
5349 | |
5350 | |
5351 if test $ac_cv_have_decl_memmem = no; then | |
5352 HAVE_DECL_MEMMEM=0 | |
5353 fi | |
5354 : | |
5355 | |
5356 | |
5357 gl_cv_c_multiarch=no | |
5358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
5359 /* end confdefs.h. */ | |
5360 #ifndef __APPLE_CC__ | |
5361 not a universal capable compiler | |
5362 #endif | |
5363 typedef int dummy; | |
5364 | |
5365 _ACEOF | |
5366 if ac_fn_c_try_compile "$LINENO"; then : | |
5367 | |
5368 arch= | |
5369 prev= | |
5370 for word in ${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}; do | |
5371 if test -n "$prev"; then | |
5372 case $word in | |
5373 i?86 | x86_64 | ppc | ppc64) | |
5374 if test -z "$arch" || test "$arch" = "$word"; then | |
5375 arch="$word" | |
5376 else | |
5377 gl_cv_c_multiarch=yes | |
5378 fi | |
5379 ;; | |
5380 esac | |
5381 prev= | |
5382 else | |
5383 if test "x$word" = "x-arch"; then | |
5384 prev=arch | |
5385 fi | |
5386 fi | |
5387 done | |
5388 | |
5389 fi | |
5390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
5391 if test $gl_cv_c_multiarch = yes; then | |
5392 | |
5393 $as_echo "#define AA_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h | |
5394 | |
5395 APPLE_UNIVERSAL_BUILD=1 | |
5396 else | |
5397 APPLE_UNIVERSAL_BUILD=0 | |
5398 fi | |
5399 | |
5400 | |
5401 | |
5402 REPLACE_NULL=0; | |
5403 HAVE_WCHAR_T=1; | |
5404 STDDEF_H=''; | |
5405 | |
5406 | |
5407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t" >&5 | |
5408 $as_echo_n "checking for wchar_t... " >&6; } | |
5409 if test "${gt_cv_c_wchar_t+set}" = set; then : | |
5410 $as_echo_n "(cached) " >&6 | |
5411 else | |
5412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
5413 /* end confdefs.h. */ | |
5414 #include <stddef.h> | |
5415 wchar_t foo = (wchar_t)'\0'; | |
5416 int | |
5417 main () | |
5418 { | |
5419 | |
5420 ; | |
5421 return 0; | |
5422 } | |
5423 _ACEOF | |
5424 if ac_fn_c_try_compile "$LINENO"; then : | |
5425 gt_cv_c_wchar_t=yes | |
5426 else | |
5427 gt_cv_c_wchar_t=no | |
5428 fi | |
5429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
5430 fi | |
5431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_wchar_t" >&5 | |
5432 $as_echo "$gt_cv_c_wchar_t" >&6; } | |
5433 if test $gt_cv_c_wchar_t = yes; then | |
5434 | |
5435 $as_echo "#define HAVE_WCHAR_T 1" >>confdefs.h | |
5436 | |
5437 fi | |
5438 | |
5439 | |
5440 | |
5441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the preprocessor sup
ports include_next" >&5 | |
5442 $as_echo_n "checking whether the preprocessor supports include_next... " >&6; } | |
5443 if test "${gl_cv_have_include_next+set}" = set; then : | |
5444 $as_echo_n "(cached) " >&6 | |
5445 else | |
5446 rm -rf conftestd1a conftestd1b conftestd2 | |
5447 mkdir conftestd1a conftestd1b conftestd2 | |
5448 cat <<EOF > conftestd1a/confte
st.h | |
5449 #define DEFINED_IN_CONFTESTD1 | |
5450 #include_next <conftest.h> | |
5451 #ifdef DEFINED_IN_CONFTESTD2 | |
5452 int foo; | |
5453 #else | |
5454 #error "include_next doesn't work" | |
5455 #endif | |
5456 EOF | |
5457 cat <<EOF > conftestd1b/conftest.h | |
5458 #define DEFINED_IN_CONFTESTD1 | |
5459 #include <stdio.h> | |
5460 #include_next <conftest.h> | |
5461 #ifdef DEFINED_IN_CONFTESTD2 | |
5462 int foo; | |
5463 #else | |
5464 #error "include_next doesn't work" | |
5465 #endif | |
5466 EOF | |
5467 cat <<EOF > conftestd2/conftest.h | |
5468 #ifndef DEFINED_IN_CONFTESTD1 | |
5469 #error "include_next test doesn't work" | |
5470 #endif | |
5471 #define DEFINED_IN_CONFTESTD2 | |
5472 EOF | |
5473 gl_save_CPPFLAGS="$CPPFLAGS" | |
5474 CPPFLAGS="$gl_save_CPPFLAGS -Iconftestd1b -Iconftestd2" | |
5475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
5476 /* end confdefs.h. */ | |
5477 #include <conftest.h> | |
5478 _ACEOF | |
5479 if ac_fn_c_try_compile "$LINENO"; then : | |
5480 gl_cv_have_include_next=yes | |
5481 else | |
5482 CPPFLAGS="$gl_save_CPPFLAGS -Iconftestd1a -Iconftestd2" | |
5483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
5484 /* end confdefs.h. */ | |
5485 #include <conftest.h> | |
5486 _ACEOF | |
5487 if ac_fn_c_try_compile "$LINENO"; then : | |
5488 gl_cv_have_include_next=buggy | |
5489 else | |
5490 gl_cv_have_include_next=no | |
5491 fi | |
5492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
5493 | |
5494 fi | |
5495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
5496 CPPFLAGS="$gl_save_CPPFLAGS" | |
5497 rm -rf conftestd1a conftestd1b conftestd2 | |
5498 | |
5499 fi | |
5500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_have_include_next" >&5 | |
5501 $as_echo "$gl_cv_have_include_next" >&6; } | |
5502 PRAGMA_SYSTEM_HEADER= | |
5503 if test $gl_cv_have_include_next = yes; then | |
5504 INCLUDE_NEXT=include_next | |
5505 INCLUDE_NEXT_AS_FIRST_DIRECTIVE=include_next | |
5506 if test -n "$GCC"; then | |
5507 PRAGMA_SYSTEM_HEADER='#pragma GCC system_header' | |
5508 fi | |
5509 else | |
5510 if test $gl_cv_have_include_next = buggy; then | |
5511 INCLUDE_NEXT=include | |
5512 INCLUDE_NEXT_AS_FIRST_DIRECTIVE=include_next | |
5513 else | |
5514 INCLUDE_NEXT=include | |
5515 INCLUDE_NEXT_AS_FIRST_DIRECTIVE=include | |
5516 fi | |
5517 fi | |
5518 | |
5519 | |
5520 | |
5521 | |
5522 | |
5523 | |
5524 | |
5525 | |
5526 | |
5527 | |
5528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long long int" >&5 | |
5529 $as_echo_n "checking for long long int... " >&6; } | |
5530 if test "${ac_cv_type_long_long_int+set}" = set; then : | |
5531 $as_echo_n "(cached) " >&6 | |
5532 else | |
5533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
5534 /* end confdefs.h. */ | |
5535 | |
5536 /* For now, do not test the preprocessor; as of 2007 there are too many | |
5537 implementations with broken preprocessors. Perhaps this can | |
5538 be revisited in 2012. In the meantime, code should not expect | |
5539 #if to work with literals wider than 32 bits. */ | |
5540 /* Test literals. */ | |
5541 long long int ll = 9223372036854775807ll; | |
5542 long long int nll = -9223372036854775807LL; | |
5543 unsigned long long int ull = 18446744073709551615ULL; | |
5544 /* Test constant expressions. */ | |
5545 typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll) | |
5546 ? 1 : -1)]; | |
5547 typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1 | |
5548 ? 1 : -1)]; | |
5549 int i = 63; | |
5550 int | |
5551 main () | |
5552 { | |
5553 /* Test availability of runtime routines for shift and division. */ | |
5554 long long int llmax = 9223372036854775807ll; | |
5555 unsigned long long int ullmax = 18446744073709551615ull; | |
5556 return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i) | |
5557 | (llmax / ll) | (llmax % ll) | |
5558 | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i) | |
5559 | (ullmax / ull) | (ullmax % ull)); | |
5560 ; | |
5561 return 0; | |
5562 } | |
5563 | |
5564 _ACEOF | |
5565 if ac_fn_c_try_link "$LINENO"; then : | |
5566 if test "$cross_compiling" = yes; then : | |
5567 ac_cv_type_long_long_int=yes | |
5568 else | |
5569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
5570 /* end confdefs.h. */ | |
5571 #include <limits.h> | |
5572 #ifndef LLONG_MAX | |
5573 # define HALF \ | |
5574 (1LL << (sizeof (long long int) * CHAR_BIT - 2)) | |
5575 # define LLONG_MAX (HALF - 1 + HALF) | |
5576 #endif | |
5577 int | |
5578 main () | |
5579 { | |
5580 long long int n = 1; | |
5581 int i; | |
5582 for (i = 0; ; i++) | |
5583 { | |
5584 long long int m = n << i; | |
5585 if (m >> i != n) | |
5586 return 1; | |
5587 if (LLONG_MAX / 2 < m) | |
5588 break; | |
5589 } | |
5590 return 0; | |
5591 ; | |
5592 return 0; | |
5593 } | |
5594 _ACEOF | |
5595 if ac_fn_c_try_run "$LINENO"; then : | |
5596 ac_cv_type_long_long_int=yes | |
5597 else | |
5598 ac_cv_type_long_long_int=no | |
5599 fi | |
5600 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | |
5601 conftest.$ac_objext conftest.beam conftest.$ac_ext | |
5602 fi | |
5603 | |
5604 else | |
5605 ac_cv_type_long_long_int=no | |
5606 fi | |
5607 rm -f core conftest.err conftest.$ac_objext \ | |
5608 conftest$ac_exeext conftest.$ac_ext | |
5609 fi | |
5610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_long_long_int" >&5 | |
5611 $as_echo "$ac_cv_type_long_long_int" >&6; } | |
5612 if test $ac_cv_type_long_long_int = yes; then | |
5613 | |
5614 $as_echo "#define HAVE_LONG_LONG_INT 1" >>confdefs.h | |
5615 | |
5616 fi | |
5617 | |
5618 | |
5619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned long long int"
>&5 | |
5620 $as_echo_n "checking for unsigned long long int... " >&6; } | |
5621 if test "${ac_cv_type_unsigned_long_long_int+set}" = set; then : | |
5622 $as_echo_n "(cached) " >&6 | |
5623 else | |
5624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
5625 /* end confdefs.h. */ | |
5626 | |
5627 /* For now, do not test the preprocessor; as of 2007 there are too many | |
5628 implementations with broken preprocessors. Perhaps this can | |
5629 be revisited in 2012. In the meantime, code should not expect | |
5630 #if to work with literals wider than 32 bits. */ | |
5631 /* Test literals. */ | |
5632 long long int ll = 9223372036854775807ll; | |
5633 long long int nll = -9223372036854775807LL; | |
5634 unsigned long long int ull = 18446744073709551615ULL; | |
5635 /* Test constant expressions. */ | |
5636 typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll) | |
5637 ? 1 : -1)]; | |
5638 typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1 | |
5639 ? 1 : -1)]; | |
5640 int i = 63; | |
5641 int | |
5642 main () | |
5643 { | |
5644 /* Test availability of runtime routines for shift and division. */ | |
5645 long long int llmax = 9223372036854775807ll; | |
5646 unsigned long long int ullmax = 18446744073709551615ull; | |
5647 return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i) | |
5648 | (llmax / ll) | (llmax % ll) | |
5649 | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i) | |
5650 | (ullmax / ull) | (ullmax % ull)); | |
5651 ; | |
5652 return 0; | |
5653 } | |
5654 | |
5655 _ACEOF | |
5656 if ac_fn_c_try_link "$LINENO"; then : | |
5657 ac_cv_type_unsigned_long_long_int=yes | |
5658 else | |
5659 ac_cv_type_unsigned_long_long_int=no | |
5660 fi | |
5661 rm -f core conftest.err conftest.$ac_objext \ | |
5662 conftest$ac_exeext conftest.$ac_ext | |
5663 fi | |
5664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_unsigned_long_long_
int" >&5 | |
5665 $as_echo "$ac_cv_type_unsigned_long_long_int" >&6; } | |
5666 if test $ac_cv_type_unsigned_long_long_int = yes; then | |
5667 | |
5668 $as_echo "#define HAVE_UNSIGNED_LONG_LONG_INT 1" >>confdefs.h | |
5669 | |
5670 fi | |
5671 | |
5672 | |
5673 | |
5674 | |
5675 | |
5676 | |
5677 | |
5678 | |
5679 | |
5680 | |
5681 | |
5682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C/C++ restrict keyword" >&
5 | |
5683 $as_echo_n "checking for C/C++ restrict keyword... " >&6; } | |
5684 if test "${ac_cv_c_restrict+set}" = set; then : | |
5685 $as_echo_n "(cached) " >&6 | |
5686 else | |
5687 ac_cv_c_restrict=no | |
5688 # The order here caters to the fact that C++ does not require restrict. | |
5689 for ac_kw in __restrict __restrict__ _Restrict restrict; do | |
5690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
5691 /* end confdefs.h. */ | |
5692 typedef int * int_ptr; | |
5693 int foo (int_ptr $ac_kw ip) { | |
5694 return ip[0]; | |
5695 } | |
5696 int | |
5697 main () | |
5698 { | |
5699 int s[1]; | |
5700 int * $ac_kw t = s; | |
5701 t[0] = 0; | |
5702 return foo(t) | |
5703 ; | |
5704 return 0; | |
5705 } | |
5706 _ACEOF | |
5707 if ac_fn_c_try_compile "$LINENO"; then : | |
5708 ac_cv_c_restrict=$ac_kw | |
5709 fi | |
5710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
5711 test "$ac_cv_c_restrict" != no && break | |
5712 done | |
5713 | |
5714 fi | |
5715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_restrict" >&5 | |
5716 $as_echo "$ac_cv_c_restrict" >&6; } | |
5717 | |
5718 case $ac_cv_c_restrict in | |
5719 restrict) ;; | |
5720 no) $as_echo "#define restrict /**/" >>confdefs.h | |
5721 ;; | |
5722 *) cat >>confdefs.h <<_ACEOF | |
5723 #define restrict $ac_cv_c_restrict | |
5724 _ACEOF | |
5725 ;; | |
5726 esac | |
5727 | |
5728 | |
5729 | |
5730 | |
5731 | |
5732 | |
5733 | |
5734 | |
5735 | |
5736 | |
5737 | |
5738 | |
5739 | |
5740 : | |
5741 | |
5742 | |
5743 | |
5744 | |
5745 | |
5746 | |
5747 | |
5748 if test $gl_cv_have_include_next = yes; then | |
5749 gl_cv_next_string_h='<'string.h'>' | |
5750 else | |
5751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <strin
g.h>" >&5 | |
5752 $as_echo_n "checking absolute name of <string.h>... " >&6; } | |
5753 if test "${gl_cv_next_string_h+set}" = set; then : | |
5754 $as_echo_n "(cached) " >&6 | |
5755 else | |
5756 | |
5757 if test $ac_cv_header_string_h = yes; then | |
5758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
5759 /* end confdefs.h. */ | |
5760 #include <string.h> | |
5761 | |
5762 _ACEOF | |
5763
case "$host_os" in | |
5764 aix*) gl_absname_cpp="$ac_cpp -C" ;; | |
5765 *) gl_absname_cpp="$ac_cpp" ;; | |
5766 esac | |
5767 gl_cv_next_string_h='"'`(eval "$
gl_absname_cpp conftest.$ac_ext") 2>&5 | | |
5768 sed -n '\#/string.h#{ | |
5769 s#.*"\(.*/string.h\)".*#\1# | |
5770 s#^/[^/]#//&# | |
5771 p | |
5772 q | |
5773 }'`'"' | |
5774 else | |
5775 gl_cv_next_string_h='<'string.h'>' | |
5776 fi | |
5777 | |
5778 fi | |
5779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_string_h" >&5 | |
5780 $as_echo "$gl_cv_next_string_h" >&6; } | |
5781 fi | |
5782 NEXT_STRING_H=$gl_cv_next_string_h | |
5783 | |
5784 if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = b
uggy; then | |
5785 # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' | |
5786 gl_next_as_first_directive='<'string.h'>' | |
5787 else | |
5788 # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' | |
5789 gl_next_as_first_directive=$gl_cv_next_string_h | |
5790 fi | |
5791 NEXT_AS_FIRST_DIRECTIVE_STRING_H=$gl_next_as_first_directive | |
5792 | |
5793 | |
5794 | |
5795 | |
5796 | |
5797 for gl_func in memmem mempcpy memrchr rawmemchr stpcpy stpncpy strchrnul str
dup strncat strndup strnlen strpbrk strsep strcasestr strtok_r strsignal
strverscmp; do | |
5798 as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh` | |
5799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declar
ed without a macro" >&5 | |
5800 $as_echo_n "checking whether $gl_func is declared without a macro... " >&6; } | |
5801 if { as_var=$as_gl_Symbol; eval "test \"\${$as_var+set}\" = set"; }; then : | |
5802 $as_echo_n "(cached) " >&6 | |
5803 else | |
5804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
5805 /* end confdefs.h. */ | |
5806 #include <string.h> | |
5807 | |
5808 int | |
5809 main () | |
5810 { | |
5811 #undef $gl_func | |
5812 (void) $gl_func; | |
5813 ; | |
5814 return 0; | |
5815 } | |
5816 _ACEOF | |
5817 if ac_fn_c_try_compile "$LINENO"; then : | |
5818 eval "$as_gl_Symbol=yes" | |
5819 else | |
5820 eval "$as_gl_Symbol=no" | |
5821 fi | |
5822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
5823 fi | |
5824 eval ac_res=\$$as_gl_Symbol | |
5825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |
5826 $as_echo "$ac_res" >&6; } | |
5827 eval as_val=\$$as_gl_Symbol | |
5828 if test "x$as_val" = x""yes; then : | |
5829 cat >>confdefs.h <<_ACEOF | |
5830 #define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1 | |
5831 _ACEOF | |
5832 | |
5833 eval ac_cv_have_decl_$gl_func=yes | |
5834 fi | |
5835 done | |
5836 | |
5837 | |
5838 | |
5839 GNULIB_BTOWC=0; | |
5840 GNULIB_WCTOB=0; | |
5841 GNULIB_MBSINIT=0; | |
5842 GNULIB_MBRTOWC=0; | |
5843 GNULIB_MBRLEN=0; | |
5844 GNULIB_MBSRTOWCS=0; | |
5845 GNULIB_MBSNRTOWCS=0; | |
5846 GNULIB_WCRTOMB=0; | |
5847 GNULIB_WCSRTOMBS=0; | |
5848 GNULIB_WCSNRTOMBS=0; | |
5849 GNULIB_WCWIDTH=0; | |
5850 HAVE_BTOWC=1; | |
5851 HAVE_MBSINIT=1; | |
5852 HAVE_MBRTOWC=1; | |
5853 HAVE_MBRLEN=1; | |
5854 HAVE_MBSRTOWCS=1; | |
5855 HAVE_MBSNRTOWCS=1; | |
5856 HAVE_WCRTOMB=1; | |
5857 HAVE_WCSRTOMBS=1; | |
5858 HAVE_WCSNRTOMBS=1; | |
5859 HAVE_DECL_WCTOB=1; | |
5860 HAVE_DECL_WCWIDTH=1; | |
5861 REPLACE_MBSTATE_T=0; | |
5862 REPLACE_BTOWC=0; | |
5863 REPLACE_WCTOB=0; | |
5864 REPLACE_MBSINIT=0; | |
5865 REPLACE_MBRTOWC=0; | |
5866 REPLACE_MBRLEN=0; | |
5867 REPLACE_MBSRTOWCS=0; | |
5868 REPLACE_MBSNRTOWCS=0; | |
5869 REPLACE_WCRTOMB=0; | |
5870 REPLACE_WCSRTOMBS=0; | |
5871 REPLACE_WCSNRTOMBS=0; | |
5872 REPLACE_WCWIDTH=0; | |
5873 | |
5874 | |
5875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether <wchar.h>
uses 'inline' correctly" >&5 | |
5876 $as_echo_n "checking whether <wchar.h> uses 'inline' correctly... " >&6; } | |
5877 if test "${gl_cv_header_wchar_h_correct_inline+set}" = set; then : | |
5878 $as_echo_n "(cached) " >&6 | |
5879 else | |
5880 gl_cv_header_wchar_h_correct_inline=yes | |
5881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
5882 /* end confdefs.h. */ | |
5883 | |
5884 #define wcstod renamed_wcstod | |
5885 #include <wchar.h> | |
5886 extern int zero (void); | |
5887 int main () { return zero(); } | |
5888 | |
5889 _ACEOF | |
5890 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 | |
5891 (eval $ac_compile) 2>&5 | |
5892 ac_status=$? | |
5893 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
5894 test $ac_status = 0; }; then | |
5895 mv conftest.$ac_objext conftest1.$ac_objext | |
5896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
5897 /* end confdefs.h. */ | |
5898 | |
5899 #define wcstod renamed_wcstod | |
5900 #include <wchar.h> | |
5901 int zero (void) { return 0; } | |
5902 | |
5903 _ACEOF | |
5904 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >
&5 | |
5905 (eval $ac_compile) 2>&5 | |
5906 ac_status=$? | |
5907 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
5908 test $ac_status = 0; }; then | |
5909 mv conftest.$ac_objext conftest2.$ac_objext | |
5910 if $CC -o conftest$ac_exeext $CFLAGS $LDFLAGS conftest1.$ac_objext conf
test2.$ac_objext $LIBS >&5 2>&1; then | |
5911 : | |
5912 else | |
5913 gl_cv_header_wchar_h_correct_inline=no | |
5914 fi | |
5915 fi | |
5916 fi | |
5917 rm -f conftest1.$ac_objext conftest2.$ac_objext conftest$ac_exeext | |
5918 | |
5919 fi | |
5920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_wchar_h_correct_i
nline" >&5 | |
5921 $as_echo "$gl_cv_header_wchar_h_correct_inline" >&6; } | |
5922 if test $gl_cv_header_wchar_h_correct_inline = no; then | |
5923 as_fn_error "<wchar.h> cannot be used with this compiler ($CC $CFLAGS $CPPFL
AGS). | |
5924 This is a known interoperability problem of glibc <= 2.5 with gcc >= 4.3 in | |
5925 C99 mode. You have four options: | |
5926 - Add the flag -fgnu89-inline to CC and reconfigure, or | |
5927 - Fix your include files, using parts of | |
5928 <http://sourceware.org/git/?p=glibc.git;a=commitdiff;h=b037a293a48718af30d70
6c2e18c929d0e69a621>, or | |
5929 - Use a gcc version older than 4.3, or | |
5930 - Don't use the flags -std=c99 or -std=gnu99. | |
5931 Configuration aborted." "$LINENO" 5 | |
5932 fi | |
5933 | |
5934 | |
5935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wint_t" >&5 | |
5936 $as_echo_n "checking for wint_t... " >&6; } | |
5937 if test "${gt_cv_c_wint_t+set}" = set; then : | |
5938 $as_echo_n "(cached) " >&6 | |
5939 else | |
5940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
5941 /* end confdefs.h. */ | |
5942 | |
5943 /* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before | |
5944 <wchar.h>. | |
5945 BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be included | |
5946 before <wchar.h>. */ | |
5947 #include <stddef.h> | |
5948 #include <stdio.h> | |
5949 #include <time.h> | |
5950 #include <wchar.h> | |
5951 wint_t foo = (wchar_t)'\0'; | |
5952 int | |
5953 main () | |
5954 { | |
5955 | |
5956 ; | |
5957 return 0; | |
5958 } | |
5959 _ACEOF | |
5960 if ac_fn_c_try_compile "$LINENO"; then : | |
5961 gt_cv_c_wint_t=yes | |
5962 else | |
5963 gt_cv_c_wint_t=no | |
5964 fi | |
5965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
5966 fi | |
5967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_wint_t" >&5 | |
5968 $as_echo "$gt_cv_c_wint_t" >&6; } | |
5969 if test $gt_cv_c_wint_t = yes; then | |
5970 | |
5971 $as_echo "#define HAVE_WINT_T 1" >>confdefs.h | |
5972 | |
5973 fi | |
5974 | |
5975 | |
5976 if false; then | |
5977 GL_COND_LIBTOOL_TRUE= | |
5978 GL_COND_LIBTOOL_FALSE='#' | |
5979 else | |
5980 GL_COND_LIBTOOL_TRUE='#' | |
5981 GL_COND_LIBTOOL_FALSE= | |
5982 fi | |
5983 | |
5984 gl_cond_libtool=false | |
5985 gl_libdeps= | |
5986 gl_ltlibdeps= | |
5987 gl_m4_base='gnulib/m4' | |
5988 | |
5989 | |
5990 | |
5991 | |
5992 | |
5993 | |
5994 | |
5995 | |
5996 | |
5997 gl_source_base='gnulib' | |
5998 # Code from module arg-nonnull: | |
5999 # Code from module c++defs: | |
6000 # Code from module extensions: | |
6001 # Code from module include_next: | |
6002 # Code from module memchr: | |
6003 | |
6004 | |
6005 | |
6006 | |
6007 GNULIB_MEMCHR=1 | |
6008 | |
6009 | |
6010 | |
6011 $as_echo "#define GNULIB_TEST_MEMCHR 1" >>confdefs.h | |
6012 | |
6013 | |
6014 | |
6015 # Code from module memmem: | |
6016 | |
6017 | |
6018 if test $ac_cv_have_decl_memmem = yes; then | |
6019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether memmem works in li
near time" >&5 | |
6020 $as_echo_n "checking whether memmem works in linear time... " >&6; } | |
6021 if test "${gl_cv_func_memmem_works+set}" = set; then : | |
6022 $as_echo_n "(cached) " >&6 | |
6023 else | |
6024 if test "$cross_compiling" = yes; then : | |
6025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
6026 /* end confdefs.h. */ | |
6027 | |
6028 #include <features.h> | |
6029 #ifdef __GNU_LIBRARY__ | |
6030 #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 9) || (__GLIBC__ > 2) | |
6031 Lucky user | |
6032 #endif | |
6033 #endif | |
6034 #ifdef __CYGWIN__ | |
6035 #include <cygwin/version.h> | |
6036 #if CYGWIN_VERSION_DLL_MAJOR >= 1007 | |
6037 Lucky user | |
6038 #endif | |
6039 #endif | |
6040 | |
6041 _ACEOF | |
6042 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | |
6043 $EGREP "Lucky user" >/dev/null 2>&1; then : | |
6044 gl_cv_func_memmem_works=yes | |
6045 else | |
6046 gl_cv_func_memmem_works="guessing no" | |
6047 fi | |
6048 rm -f conftest* | |
6049 | |
6050 | |
6051 else | |
6052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
6053 /* end confdefs.h. */ | |
6054 | |
6055 #include <signal.h> /* for signal */ | |
6056 #include <string.h> /* for memmem */ | |
6057 #include <stdlib.h> /* for malloc */ | |
6058 #include <unistd.h> /* for alarm */ | |
6059 | |
6060 int | |
6061 main () | |
6062 { | |
6063 size_t m = 1000000; | |
6064 char *haystack = (char *) malloc (2 * m + 1); | |
6065 char *needle = (char *) malloc (m + 1); | |
6066 void *result = 0; | |
6067 /* Failure to compile this test due to missing alarm is okay, | |
6068 since all such platforms (mingw) also lack memmem. */ | |
6069 signal (SIGALRM, SIG_DFL); | |
6070 alarm (5); | |
6071 /* Check for quadratic performance. */ | |
6072 if (haystack && needle) | |
6073 { | |
6074 memset (haystack, 'A', 2 * m); | |
6075 haystack[2 * m] = 'B'; | |
6076 memset (needle, 'A', m); | |
6077 needle[m] = 'B'; | |
6078 result = memmem (haystack, 2 * m + 1, needle, m + 1); | |
6079 } | |
6080 /* Check for empty needle behavior. */ | |
6081 return !result || !memmem ("a", 1, 0, 0); | |
6082 ; | |
6083 return 0; | |
6084 } | |
6085 _ACEOF | |
6086 if ac_fn_c_try_run "$LINENO"; then : | |
6087 gl_cv_func_memmem_works=yes | |
6088 else | |
6089 gl_cv_func_memmem_works=no | |
6090 fi | |
6091 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | |
6092 conftest.$ac_objext conftest.beam conftest.$ac_ext | |
6093 fi | |
6094 | |
6095 | |
6096 fi | |
6097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_memmem_works" >&5 | |
6098 $as_echo "$gl_cv_func_memmem_works" >&6; } | |
6099 if test "$gl_cv_func_memmem_works" != yes; then | |
6100 REPLACE_MEMMEM=1 | |
6101 | |
6102 | |
6103 | |
6104 | |
6105 | |
6106 | |
6107 | |
6108 | |
6109 gl_LIBOBJS="$gl_LIBOBJS memmem.$ac_objext" | |
6110 | |
6111 fi | |
6112 fi | |
6113 | |
6114 # Code from module memmem-simple: | |
6115 | |
6116 | |
6117 | |
6118 | |
6119 | |
6120 | |
6121 | |
6122 | |
6123 | |
6124 | |
6125 | |
6126 | |
6127 for ac_func in memmem | |
6128 do : | |
6129 ac_fn_c_check_func "$LINENO" "memmem" "ac_cv_func_memmem" | |
6130 if test "x$ac_cv_func_memmem" = x""yes; then : | |
6131 cat >>confdefs.h <<_ACEOF | |
6132 #define HAVE_MEMMEM 1 | |
6133 _ACEOF | |
6134 | |
6135 else | |
6136 | |
6137 gl_LIBOBJS="$gl_LIBOBJS $ac_func.$ac_objext" | |
6138 | |
6139 fi | |
6140 done | |
6141 | |
6142 | |
6143 | |
6144 : | |
6145 | |
6146 | |
6147 | |
6148 | |
6149 | |
6150 if test $ac_cv_have_decl_memmem = no; then | |
6151 HAVE_DECL_MEMMEM=0 | |
6152 fi | |
6153 : | |
6154 | |
6155 | |
6156 | |
6157 | |
6158 GNULIB_MEMMEM=1 | |
6159 | |
6160 | |
6161 | |
6162 $as_echo "#define GNULIB_TEST_MEMMEM 1" >>confdefs.h | |
6163 | |
6164 | |
6165 | |
6166 # Code from module multiarch: | |
6167 | |
6168 # Code from module stddef: | |
6169 | |
6170 | |
6171 | |
6172 if test $gt_cv_c_wchar_t = no; then | |
6173 HAVE_WCHAR_T=0 | |
6174 STDDEF_H=stddef.h | |
6175 fi | |
6176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NULL can be used in
arbitrary expressions" >&5 | |
6177 $as_echo_n "checking whether NULL can be used in arbitrary expressions... " >&6;
} | |
6178 if test "${gl_cv_decl_null_works+set}" = set; then : | |
6179 $as_echo_n "(cached) " >&6 | |
6180 else | |
6181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
6182 /* end confdefs.h. */ | |
6183 #include <stddef.h> | |
6184 int test[2 * (sizeof NULL == sizeof (void *)) -1]; | |
6185 | |
6186 int | |
6187 main () | |
6188 { | |
6189 | |
6190 ; | |
6191 return 0; | |
6192 } | |
6193 _ACEOF | |
6194 if ac_fn_c_try_compile "$LINENO"; then : | |
6195 gl_cv_decl_null_works=yes | |
6196 else | |
6197 gl_cv_decl_null_works=no | |
6198 fi | |
6199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
6200 fi | |
6201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_decl_null_works" >&5 | |
6202 $as_echo "$gl_cv_decl_null_works" >&6; } | |
6203 if test $gl_cv_decl_null_works = no; then | |
6204 REPLACE_NULL=1 | |
6205 STDDEF_H=stddef.h | |
6206 fi | |
6207 if test -n "$STDDEF_H"; then | |
6208 | |
6209 | |
6210 | |
6211 | |
6212 : | |
6213 | |
6214 | |
6215 | |
6216 | |
6217 | |
6218 | |
6219 | |
6220 if test $gl_cv_have_include_next = yes; then | |
6221 gl_cv_next_stddef_h='<'stddef.h'>' | |
6222 else | |
6223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <stdde
f.h>" >&5 | |
6224 $as_echo_n "checking absolute name of <stddef.h>... " >&6; } | |
6225 if test "${gl_cv_next_stddef_h+set}" = set; then : | |
6226 $as_echo_n "(cached) " >&6 | |
6227 else | |
6228 | |
6229 if test $ac_cv_header_stddef_h = yes; then | |
6230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
6231 /* end confdefs.h. */ | |
6232 #include <stddef.h> | |
6233 | |
6234 _ACEOF | |
6235
case "$host_os" in | |
6236 aix*) gl_absname_cpp="$ac_cpp -C" ;; | |
6237 *) gl_absname_cpp="$ac_cpp" ;; | |
6238 esac | |
6239 gl_cv_next_stddef_h='"'`(eval "$
gl_absname_cpp conftest.$ac_ext") 2>&5 | | |
6240 sed -n '\#/stddef.h#{ | |
6241 s#.*"\(.*/stddef.h\)".*#\1# | |
6242 s#^/[^/]#//&# | |
6243 p | |
6244 q | |
6245 }'`'"' | |
6246 else | |
6247 gl_cv_next_stddef_h='<'stddef.h'>' | |
6248 fi | |
6249 | |
6250 fi | |
6251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stddef_h" >&5 | |
6252 $as_echo "$gl_cv_next_stddef_h" >&6; } | |
6253 fi | |
6254 NEXT_STDDEF_H=$gl_cv_next_stddef_h | |
6255 | |
6256 if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = b
uggy; then | |
6257 # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' | |
6258 gl_next_as_first_directive='<'stddef.h'>' | |
6259 else | |
6260 # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' | |
6261 gl_next_as_first_directive=$gl_cv_next_stddef_h | |
6262 fi | |
6263 NEXT_AS_FIRST_DIRECTIVE_STDDEF_H=$gl_next_as_first_directive | |
6264 | |
6265 | |
6266 | |
6267 fi | |
6268 | |
6269 # Code from module stdint: | |
6270 | |
6271 | |
6272 | |
6273 if test $ac_cv_type_long_long_int = yes; then | |
6274 HAVE_LONG_LONG_INT=1 | |
6275 else | |
6276 HAVE_LONG_LONG_INT=0 | |
6277 fi | |
6278 | |
6279 | |
6280 if test $ac_cv_type_unsigned_long_long_int = yes; then | |
6281 HAVE_UNSIGNED_LONG_LONG_INT=1 | |
6282 else | |
6283 HAVE_UNSIGNED_LONG_LONG_INT=0 | |
6284 fi | |
6285 | |
6286 | |
6287 if test $ac_cv_header_inttypes_h = yes; then | |
6288 HAVE_INTTYPES_H=1 | |
6289 else | |
6290 HAVE_INTTYPES_H=0 | |
6291 fi | |
6292 | |
6293 | |
6294 if test $ac_cv_header_sys_types_h = yes; then | |
6295 HAVE_SYS_TYPES_H=1 | |
6296 else | |
6297 HAVE_SYS_TYPES_H=0 | |
6298 fi | |
6299 | |
6300 | |
6301 | |
6302 | |
6303 | |
6304 | |
6305 : | |
6306 | |
6307 | |
6308 | |
6309 | |
6310 | |
6311 | |
6312 | |
6313 if test $gl_cv_have_include_next = yes; then | |
6314 gl_cv_next_stdint_h='<'stdint.h'>' | |
6315 else | |
6316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <stdin
t.h>" >&5 | |
6317 $as_echo_n "checking absolute name of <stdint.h>... " >&6; } | |
6318 if test "${gl_cv_next_stdint_h+set}" = set; then : | |
6319 $as_echo_n "(cached) " >&6 | |
6320 else | |
6321 | |
6322 if test $ac_cv_header_stdint_h = yes; then | |
6323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
6324 /* end confdefs.h. */ | |
6325 #include <stdint.h> | |
6326 | |
6327 _ACEOF | |
6328
case "$host_os" in | |
6329 aix*) gl_absname_cpp="$ac_cpp -C" ;; | |
6330 *) gl_absname_cpp="$ac_cpp" ;; | |
6331 esac | |
6332 gl_cv_next_stdint_h='"'`(eval "$
gl_absname_cpp conftest.$ac_ext") 2>&5 | | |
6333 sed -n '\#/stdint.h#{ | |
6334 s#.*"\(.*/stdint.h\)".*#\1# | |
6335 s#^/[^/]#//&# | |
6336 p | |
6337 q | |
6338 }'`'"' | |
6339 else | |
6340 gl_cv_next_stdint_h='<'stdint.h'>' | |
6341 fi | |
6342 | |
6343 fi | |
6344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stdint_h" >&5 | |
6345 $as_echo "$gl_cv_next_stdint_h" >&6; } | |
6346 fi | |
6347 NEXT_STDINT_H=$gl_cv_next_stdint_h | |
6348 | |
6349 if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = b
uggy; then | |
6350 # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' | |
6351 gl_next_as_first_directive='<'stdint.h'>' | |
6352 else | |
6353 # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' | |
6354 gl_next_as_first_directive=$gl_cv_next_stdint_h | |
6355 fi | |
6356 NEXT_AS_FIRST_DIRECTIVE_STDINT_H=$gl_next_as_first_directive | |
6357 | |
6358 | |
6359 | |
6360 if test $ac_cv_header_stdint_h = yes; then | |
6361 HAVE_STDINT_H=1 | |
6362 else | |
6363 HAVE_STDINT_H=0 | |
6364 fi | |
6365 | |
6366 | |
6367 if test $ac_cv_header_stdint_h = yes; then | |
6368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stdint.h conforms
to C99" >&5 | |
6369 $as_echo_n "checking whether stdint.h conforms to C99... " >&6; } | |
6370 if test "${gl_cv_header_working_stdint_h+set}" = set; then : | |
6371 $as_echo_n "(cached) " >&6 | |
6372 else | |
6373 gl_cv_header_working_stdint_h=no | |
6374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
6375 /* end confdefs.h. */ | |
6376 | |
6377 | |
6378 #define __STDC_LIMIT_MACROS 1 /* to make it work also in C++ mode */ | |
6379 #define __STDC_CONSTANT_MACROS 1 /* to make it work also in C++ mode */ | |
6380 #define _GL_JUST_INCLUDE_SYSTEM_STDINT_H 1 /* work if build isn't clean */ | |
6381 #include <stdint.h> | |
6382 /* Dragonfly defines WCHAR_MIN, WCHAR_MAX only in <wchar.h>. */ | |
6383 #if !(defined WCHAR_MIN && defined WCHAR_MAX) | |
6384 #error "WCHAR_MIN, WCHAR_MAX not defined in <stdint.h>" | |
6385 #endif | |
6386 | |
6387 | |
6388 /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be | |
6389 included before <wchar.h>. */ | |
6390 #include <stddef.h> | |
6391 #include <signal.h> | |
6392 #if HAVE_WCHAR_H | |
6393 # include <stdio.h> | |
6394 # include <time.h> | |
6395 # include <wchar.h> | |
6396 #endif | |
6397 | |
6398 | |
6399 #ifdef INT8_MAX | |
6400 int8_t a1 = INT8_MAX; | |
6401 int8_t a1min = INT8_MIN; | |
6402 #endif | |
6403 #ifdef INT16_MAX | |
6404 int16_t a2 = INT16_MAX; | |
6405 int16_t a2min = INT16_MIN; | |
6406 #endif | |
6407 #ifdef INT32_MAX | |
6408 int32_t a3 = INT32_MAX; | |
6409 int32_t a3min = INT32_MIN; | |
6410 #endif | |
6411 #ifdef INT64_MAX | |
6412 int64_t a4 = INT64_MAX; | |
6413 int64_t a4min = INT64_MIN; | |
6414 #endif | |
6415 #ifdef UINT8_MAX | |
6416 uint8_t b1 = UINT8_MAX; | |
6417 #else | |
6418 typedef int b1[(unsigned char) -1 != 255 ? 1 : -1]; | |
6419 #endif | |
6420 #ifdef UINT16_MAX | |
6421 uint16_t b2 = UINT16_MAX; | |
6422 #endif | |
6423 #ifdef UINT32_MAX | |
6424 uint32_t b3 = UINT32_MAX; | |
6425 #endif | |
6426 #ifdef UINT64_MAX | |
6427 uint64_t b4 = UINT64_MAX; | |
6428 #endif | |
6429 int_least8_t c1 = INT8_C (0x7f); | |
6430 int_least8_t c1max = INT_LEAST8_MAX; | |
6431 int_least8_t c1min = INT_LEAST8_MIN; | |
6432 int_least16_t c2 = INT16_C (0x7fff); | |
6433 int_least16_t c2max = INT_LEAST16_MAX; | |
6434 int_least16_t c2min = INT_LEAST16_MIN; | |
6435 int_least32_t c3 = INT32_C (0x7fffffff); | |
6436 int_least32_t c3max = INT_LEAST32_MAX; | |
6437 int_least32_t c3min = INT_LEAST32_MIN; | |
6438 int_least64_t c4 = INT64_C (0x7fffffffffffffff); | |
6439 int_least64_t c4max = INT_LEAST64_MAX; | |
6440 int_least64_t c4min = INT_LEAST64_MIN; | |
6441 uint_least8_t d1 = UINT8_C (0xff); | |
6442 uint_least8_t d1max = UINT_LEAST8_MAX; | |
6443 uint_least16_t d2 = UINT16_C (0xffff); | |
6444 uint_least16_t d2max = UINT_LEAST16_MAX; | |
6445 uint_least32_t d3 = UINT32_C (0xffffffff); | |
6446 uint_least32_t d3max = UINT_LEAST32_MAX; | |
6447 uint_least64_t d4 = UINT64_C (0xffffffffffffffff); | |
6448 uint_least64_t d4max = UINT_LEAST64_MAX; | |
6449 int_fast8_t e1 = INT_FAST8_MAX; | |
6450 int_fast8_t e1min = INT_FAST8_MIN; | |
6451 int_fast16_t e2 = INT_FAST16_MAX; | |
6452 int_fast16_t e2min = INT_FAST16_MIN; | |
6453 int_fast32_t e3 = INT_FAST32_MAX; | |
6454 int_fast32_t e3min = INT_FAST32_MIN; | |
6455 int_fast64_t e4 = INT_FAST64_MAX; | |
6456 int_fast64_t e4min = INT_FAST64_MIN; | |
6457 uint_fast8_t f1 = UINT_FAST8_MAX; | |
6458 uint_fast16_t f2 = UINT_FAST16_MAX; | |
6459 uint_fast32_t f3 = UINT_FAST32_MAX; | |
6460 uint_fast64_t f4 = UINT_FAST64_MAX; | |
6461 #ifdef INTPTR_MAX | |
6462 intptr_t g = INTPTR_MAX; | |
6463 intptr_t gmin = INTPTR_MIN; | |
6464 #endif | |
6465 #ifdef UINTPTR_MAX | |
6466 uintptr_t h = UINTPTR_MAX; | |
6467 #endif | |
6468 intmax_t i = INTMAX_MAX; | |
6469 uintmax_t j = UINTMAX_MAX; | |
6470 | |
6471 #include <limits.h> /* for CHAR_BIT */ | |
6472 #define TYPE_MINIMUM(t) \ | |
6473 ((t) ((t) 0 < (t) -1 ? (t) 0 : ~ (t) 0 << (sizeof (t) * CHAR_BIT - 1))) | |
6474 #define TYPE_MAXIMUM(t) \ | |
6475 ((t) ((t) 0 < (t) -1 ? (t) -1 : ~ (~ (t) 0 << (sizeof (t) * CHAR_BIT - 1)))) | |
6476 struct s { | |
6477 int check_PTRDIFF: | |
6478 PTRDIFF_MIN == TYPE_MINIMUM (ptrdiff_t) | |
6479 && PTRDIFF_MAX == TYPE_MAXIMUM (ptrdiff_t) | |
6480 ? 1 : -1; | |
6481 /* Detect bug in FreeBSD 6.0 / ia64. */ | |
6482 int check_SIG_ATOMIC: | |
6483 SIG_ATOMIC_MIN == TYPE_MINIMUM (sig_atomic_t) | |
6484 && SIG_ATOMIC_MAX == TYPE_MAXIMUM (sig_atomic_t) | |
6485 ? 1 : -1; | |
6486 int check_SIZE: SIZE_MAX == TYPE_MAXIMUM (size_t) ? 1 : -1; | |
6487 int check_WCHAR: | |
6488 WCHAR_MIN == TYPE_MINIMUM (wchar_t) | |
6489 && WCHAR_MAX == TYPE_MAXIMUM (wchar_t) | |
6490 ? 1 : -1; | |
6491 /* Detect bug in mingw. */ | |
6492 int check_WINT: | |
6493 WINT_MIN == TYPE_MINIMUM (wint_t) | |
6494 && WINT_MAX == TYPE_MAXIMUM (wint_t) | |
6495 ? 1 : -1; | |
6496 | |
6497 /* Detect bugs in glibc 2.4 and Solaris 10 stdint.h, among others. */ | |
6498 int check_UINT8_C: | |
6499 (-1 < UINT8_C (0)) == (-1 < (uint_least8_t) 0) ? 1 : -1; | |
6500 int check_UINT16_C: | |
6501 (-1 < UINT16_C (0)) == (-1 < (uint_least16_t) 0) ? 1 : -1; | |
6502 | |
6503 /* Detect bugs in OpenBSD 3.9 stdint.h. */ | |
6504 #ifdef UINT8_MAX | |
6505 int check_uint8: (uint8_t) -1 == UINT8_MAX ? 1 : -1; | |
6506 #endif | |
6507 #ifdef UINT16_MAX | |
6508 int check_uint16: (uint16_t) -1 == UINT16_MAX ? 1 : -1; | |
6509 #endif | |
6510 #ifdef UINT32_MAX | |
6511 int check_uint32: (uint32_t) -1 == UINT32_MAX ? 1 : -1; | |
6512 #endif | |
6513 #ifdef UINT64_MAX | |
6514 int check_uint64: (uint64_t) -1 == UINT64_MAX ? 1 : -1; | |
6515 #endif | |
6516 int check_uint_least8: (uint_least8_t) -1 == UINT_LEAST8_MAX ? 1 : -1; | |
6517 int check_uint_least16: (uint_least16_t) -1 == UINT_LEAST16_MAX ? 1 : -1; | |
6518 int check_uint_least32: (uint_least32_t) -1 == UINT_LEAST32_MAX ? 1 : -1; | |
6519 int check_uint_least64: (uint_least64_t) -1 == UINT_LEAST64_MAX ? 1 : -1; | |
6520 int check_uint_fast8: (uint_fast8_t) -1 == UINT_FAST8_MAX ? 1 : -1; | |
6521 int check_uint_fast16: (uint_fast16_t) -1 == UINT_FAST16_MAX ? 1 : -1; | |
6522 int check_uint_fast32: (uint_fast32_t) -1 == UINT_FAST32_MAX ? 1 : -1; | |
6523 int check_uint_fast64: (uint_fast64_t) -1 == UINT_FAST64_MAX ? 1 : -1; | |
6524 int check_uintptr: (uintptr_t) -1 == UINTPTR_MAX ? 1 : -1; | |
6525 int check_uintmax: (uintmax_t) -1 == UINTMAX_MAX ? 1 : -1; | |
6526 int check_size: (size_t) -1 == SIZE_MAX ? 1 : -1; | |
6527 }; | |
6528 | |
6529 int | |
6530 main () | |
6531 { | |
6532 | |
6533 ; | |
6534 return 0; | |
6535 } | |
6536 _ACEOF | |
6537 if ac_fn_c_try_compile "$LINENO"; then : | |
6538 if test "$cross_compiling" =
yes; then : | |
6539 gl_cv_header_working_stdint_h=yes | |
6540 | |
6541 else | |
6542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
6543 /* end confdefs.h. */ | |
6544 | |
6545 | |
6546 #define __STDC_LIMIT_MACROS 1 /* to make it work also in C++ mode */ | |
6547 #define __STDC_CONSTANT_MACROS 1 /* to make it work also in C++ mode */ | |
6548 #define _GL_JUST_INCLUDE_SYSTEM_STDINT_H 1 /* work if build isn't clean */ | |
6549 #include <stdint.h> | |
6550 | |
6551 | |
6552 /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be | |
6553 included before <wchar.h>. */ | |
6554 #include <stddef.h> | |
6555 #include <signal.h> | |
6556 #if HAVE_WCHAR_H | |
6557 # include <stdio.h> | |
6558 # include <time.h> | |
6559 # include <wchar.h> | |
6560 #endif | |
6561 | |
6562 | |
6563 #include <stdio.h> | |
6564 #include <string.h> | |
6565 #define MVAL(macro) MVAL1(macro) | |
6566 #define MVAL1(expression) #expression | |
6567 static const char *macro_values[] = | |
6568 { | |
6569 #ifdef INT8_MAX | |
6570 MVAL (INT8_MAX), | |
6571 #endif | |
6572 #ifdef INT16_MAX | |
6573 MVAL (INT16_MAX), | |
6574 #endif | |
6575 #ifdef INT32_MAX | |
6576 MVAL (INT32_MAX), | |
6577 #endif | |
6578 #ifdef INT64_MAX | |
6579 MVAL (INT64_MAX), | |
6580 #endif | |
6581 #ifdef UINT8_MAX | |
6582 MVAL (UINT8_MAX), | |
6583 #endif | |
6584 #ifdef UINT16_MAX | |
6585 MVAL (UINT16_MAX), | |
6586 #endif | |
6587 #ifdef UINT32_MAX | |
6588 MVAL (UINT32_MAX), | |
6589 #endif | |
6590 #ifdef UINT64_MAX | |
6591 MVAL (UINT64_MAX), | |
6592 #endif | |
6593 NULL | |
6594 }; | |
6595 | |
6596 int | |
6597 main () | |
6598 { | |
6599 | |
6600 const char **mv; | |
6601 for (mv = macro_values; *mv != NULL; mv++) | |
6602 { | |
6603 const char *value = *mv; | |
6604 /* Test whether it looks like a cast expression. */ | |
6605 if (strncmp (value, "((unsigned int)"/*)*/, 15) == 0 | |
6606 || strncmp (value, "((unsigned short)"/*)*/, 17) == 0 | |
6607 || strncmp (value, "((unsigned char)"/*)*/, 16) == 0 | |
6608 || strncmp (value, "((int)"/*)*/, 6) == 0 | |
6609 || strncmp (value, "((signed short)"/*)*/, 15) == 0 | |
6610 || strncmp (value, "((signed char)"/*)*/, 14) == 0) | |
6611 return 1; | |
6612 } | |
6613 return 0; | |
6614 | |
6615 ; | |
6616 return 0; | |
6617 } | |
6618 _ACEOF | |
6619 if ac_fn_c_try_run "$LINENO"; then : | |
6620 gl_cv_header_working_stdint_h=yes | |
6621 fi | |
6622 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | |
6623 conftest.$ac_objext conftest.beam conftest.$ac_ext | |
6624 fi | |
6625 | |
6626 | |
6627 fi | |
6628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
6629 | |
6630 fi | |
6631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_working_stdint_h"
>&5 | |
6632 $as_echo "$gl_cv_header_working_stdint_h" >&6; } | |
6633 fi | |
6634 if test "$gl_cv_header_working_stdint_h" = yes; then | |
6635 STDINT_H= | |
6636 else | |
6637 for ac_header in sys/inttypes.h sys/bitypes.h | |
6638 do : | |
6639 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | |
6640 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_include
s_default" | |
6641 eval as_val=\$$as_ac_Header | |
6642 if test "x$as_val" = x""yes; then : | |
6643 cat >>confdefs.h <<_ACEOF | |
6644 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | |
6645 _ACEOF | |
6646 | |
6647 fi | |
6648 | |
6649 done | |
6650 | |
6651 if test $ac_cv_header_sys_inttypes_h = yes; then | |
6652 HAVE_SYS_INTTYPES_H=1 | |
6653 else | |
6654 HAVE_SYS_INTTYPES_H=0 | |
6655 fi | |
6656 | |
6657 if test $ac_cv_header_sys_bitypes_h = yes; then | |
6658 HAVE_SYS_BITYPES_H=1 | |
6659 else | |
6660 HAVE_SYS_BITYPES_H=0 | |
6661 fi | |
6662 | |
6663 | |
6664 | |
6665 : | |
6666 | |
6667 | |
6668 | |
6669 | |
6670 | |
6671 | |
6672 | |
6673 | |
6674 if test $APPLE_UNIVERSAL_BUILD = 0; then | |
6675 | |
6676 | |
6677 for gltype in ptrdiff_t size_t ; do | |
6678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bit size of $gltype" >
&5 | |
6679 $as_echo_n "checking for bit size of $gltype... " >&6; } | |
6680 if { as_var=gl_cv_bitsizeof_${gltype}; eval "test \"\${$as_var+set}\" = set"; };
then : | |
6681 $as_echo_n "(cached) " >&6 | |
6682 else | |
6683 if ac_fn_c_compute_int "$LINENO" "sizeof ($gltype) * CHAR_BIT" "result"
" | |
6684 /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be | |
6685 included before <wchar.h>. */ | |
6686 #include <stddef.h> | |
6687 #include <signal.h> | |
6688 #if HAVE_WCHAR_H | |
6689 # include <stdio.h> | |
6690 # include <time.h> | |
6691 # include <wchar.h> | |
6692 #endif | |
6693 | |
6694 #include <limits.h>"; then : | |
6695 | |
6696 else | |
6697 result=unknown | |
6698 fi | |
6699 | |
6700 eval gl_cv_bitsizeof_${gltype}=\$result | |
6701 | |
6702 fi | |
6703 eval ac_res=\$gl_cv_bitsizeof_${gltype} | |
6704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |
6705 $as_echo "$ac_res" >&6; } | |
6706 eval result=\$gl_cv_bitsizeof_${gltype} | |
6707 if test $result = unknown; then | |
6708 result=0 | |
6709 fi | |
6710 GLTYPE=`echo "$gltype" | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQ
RSTUVWXYZ_'` | |
6711 cat >>confdefs.h <<_ACEOF | |
6712 #define BITSIZEOF_${GLTYPE} $result | |
6713 _ACEOF | |
6714 | |
6715 eval BITSIZEOF_${GLTYPE}=\$result | |
6716 done | |
6717 | |
6718 | |
6719 fi | |
6720 | |
6721 | |
6722 for gltype in sig_atomic_t wchar_t wint_t ; do | |
6723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bit size of $gltype" >
&5 | |
6724 $as_echo_n "checking for bit size of $gltype... " >&6; } | |
6725 if { as_var=gl_cv_bitsizeof_${gltype}; eval "test \"\${$as_var+set}\" = set"; };
then : | |
6726 $as_echo_n "(cached) " >&6 | |
6727 else | |
6728 if ac_fn_c_compute_int "$LINENO" "sizeof ($gltype) * CHAR_BIT" "result"
" | |
6729 /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be | |
6730 included before <wchar.h>. */ | |
6731 #include <stddef.h> | |
6732 #include <signal.h> | |
6733 #if HAVE_WCHAR_H | |
6734 # include <stdio.h> | |
6735 # include <time.h> | |
6736 # include <wchar.h> | |
6737 #endif | |
6738 | |
6739 #include <limits.h>"; then : | |
6740 | |
6741 else | |
6742 result=unknown | |
6743 fi | |
6744 | |
6745 eval gl_cv_bitsizeof_${gltype}=\$result | |
6746 | |
6747 fi | |
6748 eval ac_res=\$gl_cv_bitsizeof_${gltype} | |
6749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |
6750 $as_echo "$ac_res" >&6; } | |
6751 eval result=\$gl_cv_bitsizeof_${gltype} | |
6752 if test $result = unknown; then | |
6753 result=0 | |
6754 fi | |
6755 GLTYPE=`echo "$gltype" | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQ
RSTUVWXYZ_'` | |
6756 cat >>confdefs.h <<_ACEOF | |
6757 #define BITSIZEOF_${GLTYPE} $result | |
6758 _ACEOF | |
6759 | |
6760 eval BITSIZEOF_${GLTYPE}=\$result | |
6761 done | |
6762 | |
6763 | |
6764 | |
6765 | |
6766 for gltype in sig_atomic_t wchar_t wint_t ; do | |
6767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gltype is signed"
>&5 | |
6768 $as_echo_n "checking whether $gltype is signed... " >&6; } | |
6769 if { as_var=gl_cv_type_${gltype}_signed; eval "test \"\${$as_var+set}\" = set";
}; then : | |
6770 $as_echo_n "(cached) " >&6 | |
6771 else | |
6772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
6773 /* end confdefs.h. */ | |
6774 | |
6775 /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be | |
6776 included before <wchar.h>. */ | |
6777 #include <stddef.h> | |
6778 #include <signal.h> | |
6779 #if HAVE_WCHAR_H | |
6780 # include <stdio.h> | |
6781 # include <time.h> | |
6782 # include <wchar.h> | |
6783 #endif | |
6784 | |
6785 int verify[2 * (($gltype) -1 < ($gltype) 0) - 1]; | |
6786 int | |
6787 main () | |
6788 { | |
6789 | |
6790 ; | |
6791 return 0; | |
6792 } | |
6793 _ACEOF | |
6794 if ac_fn_c_try_compile "$LINENO"; then : | |
6795 result=yes | |
6796 else | |
6797 result=no | |
6798 fi | |
6799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
6800 eval gl_cv_type_${gltype}_signed=\$result | |
6801 | |
6802 fi | |
6803 eval ac_res=\$gl_cv_type_${gltype}_signed | |
6804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |
6805 $as_echo "$ac_res" >&6; } | |
6806 eval result=\$gl_cv_type_${gltype}_signed | |
6807 GLTYPE=`echo $gltype | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRS
TUVWXYZ_'` | |
6808 if test "$result" = yes; then | |
6809 cat >>confdefs.h <<_ACEOF | |
6810 #define HAVE_SIGNED_${GLTYPE} 1 | |
6811 _ACEOF | |
6812 | |
6813 eval HAVE_SIGNED_${GLTYPE}=1 | |
6814 else | |
6815 eval HAVE_SIGNED_${GLTYPE}=0 | |
6816 fi | |
6817 done | |
6818 | |
6819 | |
6820 gl_cv_type_ptrdiff_t_signed=yes | |
6821 gl_cv_type_size_t_signed=no | |
6822 if test $APPLE_UNIVERSAL_BUILD = 0; then | |
6823 | |
6824 | |
6825 for gltype in ptrdiff_t size_t ; do | |
6826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $gltype integer litera
l suffix" >&5 | |
6827 $as_echo_n "checking for $gltype integer literal suffix... " >&6; } | |
6828 if { as_var=gl_cv_type_${gltype}_suffix; eval "test \"\${$as_var+set}\" = set";
}; then : | |
6829 $as_echo_n "(cached) " >&6 | |
6830 else | |
6831 eval gl_cv_type_${gltype}_suffix=no | |
6832 eval result=\$gl_cv_type_${gltype}_signed | |
6833 if test "$result" = yes; then | |
6834 glsufu= | |
6835 else | |
6836 glsufu=u | |
6837 fi | |
6838 for glsuf in "$glsufu" ${glsufu}l ${glsufu}ll ${glsufu}i64; do | |
6839 case $glsuf in | |
6840 '') gltype1='int';; | |
6841 l) gltype1='long int';; | |
6842 ll) gltype1='long long int';; | |
6843 i64) gltype1='__int64';; | |
6844 u) gltype1='unsigned int';; | |
6845 ul) gltype1='unsigned long int';; | |
6846 ull) gltype1='unsigned long long int';; | |
6847 ui64)gltype1='unsigned __int64';; | |
6848 esac | |
6849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
6850 /* end confdefs.h. */ | |
6851 | |
6852 /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be | |
6853 included before <wchar.h>. */ | |
6854 #include <stddef.h> | |
6855 #include <signal.h> | |
6856 #if HAVE_WCHAR_H | |
6857 # include <stdio.h> | |
6858 # include <time.h> | |
6859 # include <wchar.h> | |
6860 #endif | |
6861 | |
6862 extern $gltype foo; | |
6863 extern $gltype1 foo; | |
6864 int | |
6865 main () | |
6866 { | |
6867 | |
6868 ; | |
6869 return 0; | |
6870 } | |
6871 _ACEOF | |
6872 if ac_fn_c_try_compile "$LINENO"; then : | |
6873 eval gl_cv_type_${gltype}_suffix=\$glsuf | |
6874 fi | |
6875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
6876 eval result=\$gl_cv_type_${gltype}_suffix | |
6877 test "$result" != no && break | |
6878 done | |
6879 fi | |
6880 eval ac_res=\$gl_cv_type_${gltype}_suffix | |
6881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |
6882 $as_echo "$ac_res" >&6; } | |
6883 GLTYPE=`echo $gltype | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRS
TUVWXYZ_'` | |
6884 eval result=\$gl_cv_type_${gltype}_suffix | |
6885 test "$result" = no && result= | |
6886 eval ${GLTYPE}_SUFFIX=\$result | |
6887 cat >>confdefs.h <<_ACEOF | |
6888 #define ${GLTYPE}_SUFFIX $result | |
6889 _ACEOF | |
6890 | |
6891 done | |
6892 | |
6893 | |
6894 fi | |
6895 | |
6896 | |
6897 for gltype in sig_atomic_t wchar_t wint_t ; do | |
6898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $gltype integer litera
l suffix" >&5 | |
6899 $as_echo_n "checking for $gltype integer literal suffix... " >&6; } | |
6900 if { as_var=gl_cv_type_${gltype}_suffix; eval "test \"\${$as_var+set}\" = set";
}; then : | |
6901 $as_echo_n "(cached) " >&6 | |
6902 else | |
6903 eval gl_cv_type_${gltype}_suffix=no | |
6904 eval result=\$gl_cv_type_${gltype}_signed | |
6905 if test "$result" = yes; then | |
6906 glsufu= | |
6907 else | |
6908 glsufu=u | |
6909 fi | |
6910 for glsuf in "$glsufu" ${glsufu}l ${glsufu}ll ${glsufu}i64; do | |
6911 case $glsuf in | |
6912 '') gltype1='int';; | |
6913 l) gltype1='long int';; | |
6914 ll) gltype1='long long int';; | |
6915 i64) gltype1='__int64';; | |
6916 u) gltype1='unsigned int';; | |
6917 ul) gltype1='unsigned long int';; | |
6918 ull) gltype1='unsigned long long int';; | |
6919 ui64)gltype1='unsigned __int64';; | |
6920 esac | |
6921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
6922 /* end confdefs.h. */ | |
6923 | |
6924 /* BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be | |
6925 included before <wchar.h>. */ | |
6926 #include <stddef.h> | |
6927 #include <signal.h> | |
6928 #if HAVE_WCHAR_H | |
6929 # include <stdio.h> | |
6930 # include <time.h> | |
6931 # include <wchar.h> | |
6932 #endif | |
6933 | |
6934 extern $gltype foo; | |
6935 extern $gltype1 foo; | |
6936 int | |
6937 main () | |
6938 { | |
6939 | |
6940 ; | |
6941 return 0; | |
6942 } | |
6943 _ACEOF | |
6944 if ac_fn_c_try_compile "$LINENO"; then : | |
6945 eval gl_cv_type_${gltype}_suffix=\$glsuf | |
6946 fi | |
6947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
6948 eval result=\$gl_cv_type_${gltype}_suffix | |
6949 test "$result" != no && break | |
6950 done | |
6951 fi | |
6952 eval ac_res=\$gl_cv_type_${gltype}_suffix | |
6953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |
6954 $as_echo "$ac_res" >&6; } | |
6955 GLTYPE=`echo $gltype | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRS
TUVWXYZ_'` | |
6956 eval result=\$gl_cv_type_${gltype}_suffix | |
6957 test "$result" = no && result= | |
6958 eval ${GLTYPE}_SUFFIX=\$result | |
6959 cat >>confdefs.h <<_ACEOF | |
6960 #define ${GLTYPE}_SUFFIX $result | |
6961 _ACEOF | |
6962 | |
6963 done | |
6964 | |
6965 | |
6966 | |
6967 STDINT_H=stdint.h | |
6968 fi | |
6969 | |
6970 | |
6971 # Code from module string: | |
6972 | |
6973 | |
6974 | |
6975 # Code from module warn-on-use: | |
6976 # Code from module wchar: | |
6977 | |
6978 | |
6979 | |
6980 | |
6981 : | |
6982 | |
6983 | |
6984 | |
6985 | |
6986 | |
6987 | |
6988 | |
6989 | |
6990 | |
6991 : | |
6992 | |
6993 | |
6994 | |
6995 | |
6996 | |
6997 | |
6998 | |
6999 if test $gl_cv_have_include_next = yes; then | |
7000 gl_cv_next_wchar_h='<'wchar.h'>' | |
7001 else | |
7002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <wchar
.h>" >&5 | |
7003 $as_echo_n "checking absolute name of <wchar.h>... " >&6; } | |
7004 if test "${gl_cv_next_wchar_h+set}" = set; then : | |
7005 $as_echo_n "(cached) " >&6 | |
7006 else | |
7007 | |
7008 if test $ac_cv_header_wchar_h = yes; then | |
7009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
7010 /* end confdefs.h. */ | |
7011 #include <wchar.h> | |
7012 | |
7013 _ACEOF | |
7014
case "$host_os" in | |
7015 aix*) gl_absname_cpp="$ac_cpp -C" ;; | |
7016 *) gl_absname_cpp="$ac_cpp" ;; | |
7017 esac | |
7018 gl_cv_next_wchar_h='"'`(eval "$g
l_absname_cpp conftest.$ac_ext") 2>&5 | | |
7019 sed -n '\#/wchar.h#{ | |
7020 s#.*"\(.*/wchar.h\)".*#\1# | |
7021 s#^/[^/]#//&# | |
7022 p | |
7023 q | |
7024 }'`'"' | |
7025 else | |
7026 gl_cv_next_wchar_h='<'wchar.h'>' | |
7027 fi | |
7028 | |
7029 fi | |
7030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_wchar_h" >&5 | |
7031 $as_echo "$gl_cv_next_wchar_h" >&6; } | |
7032 fi | |
7033 NEXT_WCHAR_H=$gl_cv_next_wchar_h | |
7034 | |
7035 if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = b
uggy; then | |
7036 # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' | |
7037 gl_next_as_first_directive='<'wchar.h'>' | |
7038 else | |
7039 # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' | |
7040 gl_next_as_first_directive=$gl_cv_next_wchar_h | |
7041 fi | |
7042 NEXT_AS_FIRST_DIRECTIVE_WCHAR_H=$gl_next_as_first_directive | |
7043 | |
7044 | |
7045 | |
7046 if test $ac_cv_header_wchar_h = yes; then | |
7047 HAVE_WCHAR_H=1 | |
7048 else | |
7049 HAVE_WCHAR_H=0 | |
7050 fi | |
7051 | |
7052 | |
7053 | |
7054 if test $gt_cv_c_wint_t = yes; then | |
7055 HAVE_WINT_T=1 | |
7056 else | |
7057 HAVE_WINT_T=0 | |
7058 fi | |
7059 | |
7060 | |
7061 | |
7062 for gl_func in btowc wctob mbsinit mbrtowc mbrlen mbsrtowcs mbsnrtowcs wcrto
mb wcsrtombs wcsnrtombs wcwidth; do | |
7063 as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh` | |
7064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declar
ed without a macro" >&5 | |
7065 $as_echo_n "checking whether $gl_func is declared without a macro... " >&6; } | |
7066 if { as_var=$as_gl_Symbol; eval "test \"\${$as_var+set}\" = set"; }; then : | |
7067 $as_echo_n "(cached) " >&6 | |
7068 else | |
7069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
7070 /* end confdefs.h. */ | |
7071 | |
7072 /* Some systems require additional headers. */ | |
7073 #ifndef __GLIBC__ | |
7074 # include <stddef.h> | |
7075 # include <stdio.h> | |
7076 # include <time.h> | |
7077 #endif | |
7078 #include <wchar.h> | |
7079 | |
7080 int | |
7081 main () | |
7082 { | |
7083 #undef $gl_func | |
7084 (void) $gl_func; | |
7085 ; | |
7086 return 0; | |
7087 } | |
7088 _ACEOF | |
7089 if ac_fn_c_try_compile "$LINENO"; then : | |
7090 eval "$as_gl_Symbol=yes" | |
7091 else | |
7092 eval "$as_gl_Symbol=no" | |
7093 fi | |
7094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
7095 fi | |
7096 eval ac_res=\$$as_gl_Symbol | |
7097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |
7098 $as_echo "$ac_res" >&6; } | |
7099 eval as_val=\$$as_gl_Symbol | |
7100 if test "x$as_val" = x""yes; then : | |
7101 cat >>confdefs.h <<_ACEOF | |
7102 #define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1 | |
7103 _ACEOF | |
7104 | |
7105 eval ac_cv_have_decl_$gl_func=yes | |
7106 fi | |
7107 done | |
7108 | |
7109 | |
7110 # Code from module dummy: | |
7111 # End of code from modules | |
7112 | |
7113 | |
7114 | |
7115 | |
7116 | |
7117 | |
7118 | |
7119 | |
7120 | |
7121 gltests_libdeps= | |
7122 gltests_ltlibdeps= | |
7123 | |
7124 | |
7125 | |
7126 | |
7127 | |
7128 | |
7129 | |
7130 | |
7131 | |
7132 gl_source_base='tests' | |
7133 gltests_WITNESS=IN_`echo "${PACKAGE-$PACKAGE_TARNAME}" | LC_ALL=C tr abcdefghi
jklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ | LC_ALL=C sed -e 's/[^A-Z0-9_]/_/g
'`_GNULIB_TESTS | |
7134 | |
7135 gl_module_indicator_condition=$gltests_WITNESS | |
7136 | |
7137 | |
7138 | |
7139 | |
7140 | |
7141 | |
7142 | |
7143 | |
7144 | |
7145 LIBGNU_LIBDEPS="$gl_libdeps" | |
7146 | |
7147 LIBGNU_LTLIBDEPS="$gl_ltlibdeps" | |
7148 | |
7149 | |
7150 | 4797 |
7151 # For Makefile dependencies. | 4798 # For Makefile dependencies. |
7152 GNULIB_STDINT_H= | 4799 GNULIB_STDINT_H= |
7153 if test x"$STDINT_H" != x; then | 4800 if test x"$STDINT_H" != x; then |
7154 GNULIB_STDINT_H=gnulib/$STDINT_H | 4801 GNULIB_STDINT_H=$GNULIB/$STDINT_H |
7155 fi | 4802 fi |
7156 | 4803 |
7157 | 4804 |
7158 PACKAGE=gdb | 4805 PACKAGE=gdb |
7159 | 4806 |
7160 cat >>confdefs.h <<_ACEOF | 4807 cat >>confdefs.h <<_ACEOF |
7161 #define PACKAGE "$PACKAGE" | 4808 #define PACKAGE "$PACKAGE" |
7162 _ACEOF | 4809 _ACEOF |
7163 | 4810 |
7164 | 4811 |
(...skipping 16 matching lines...) Expand all Loading... |
7181 gdb_cv_have_makeinfo_click=no | 4828 gdb_cv_have_makeinfo_click=no |
7182 fi | 4829 fi |
7183 fi | 4830 fi |
7184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gdb_cv_have_makeinfo_click" >&
5 | 4831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gdb_cv_have_makeinfo_click" >&
5 |
7185 $as_echo "$gdb_cv_have_makeinfo_click" >&6; } | 4832 $as_echo "$gdb_cv_have_makeinfo_click" >&6; } |
7186 if test x"$gdb_cv_have_makeinfo_click" = xyes; then | 4833 if test x"$gdb_cv_have_makeinfo_click" = xyes; then |
7187 MAKEINFO_EXTRA_FLAGS="$MAKEINFO_EXTRA_FLAGS -DHAVE_MAKEINFO_CLICK" | 4834 MAKEINFO_EXTRA_FLAGS="$MAKEINFO_EXTRA_FLAGS -DHAVE_MAKEINFO_CLICK" |
7188 fi | 4835 fi |
7189 | 4836 |
7190 | 4837 |
7191 # GDB does not use automake, but gnulib does. This line lets us | |
7192 # generate its Makefile.in. | |
7193 am__api_version='1.11' | |
7194 | |
7195 # Find a good install program. We prefer a C program (faster), | |
7196 # so one script is as good as another. But avoid the broken or | |
7197 # incompatible versions: | |
7198 # SysV /etc/install, /usr/sbin/install | |
7199 # SunOS /usr/etc/install | |
7200 # IRIX /sbin/install | |
7201 # AIX /bin/install | |
7202 # AmigaOS /C/install, which installs bootblocks on floppy discs | |
7203 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | |
7204 # AFS /usr/afsws/bin/install, which mishandles nonexistent args | |
7205 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | |
7206 # OS/2's system install, which has a completely different semantic | |
7207 # ./install, which can be erroneously created by make from ./install.sh. | |
7208 # Reject install programs that cannot install multiple files. | |
7209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install"
>&5 | |
7210 $as_echo_n "checking for a BSD-compatible install... " >&6; } | |
7211 if test -z "$INSTALL"; then | |
7212 if test "${ac_cv_path_install+set}" = set; then : | |
7213 $as_echo_n "(cached) " >&6 | |
7214 else | |
7215 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
7216 for as_dir in $PATH | |
7217 do | |
7218 IFS=$as_save_IFS | |
7219 test -z "$as_dir" && as_dir=. | |
7220 # Account for people who put trailing slashes in PATH elements. | |
7221 case $as_dir/ in #(( | |
7222 ./ | .// | /[cC]/* | \ | |
7223 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ | |
7224 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ | |
7225 /usr/ucb/* ) ;; | |
7226 *) | |
7227 # OSF1 and SCO ODT 3.0 have their own names for install. | |
7228 # Don't use installbsd from OSF since it installs stuff as root | |
7229 # by default. | |
7230 for ac_prog in ginstall scoinst install; do | |
7231 for ac_exec_ext in '' $ac_executable_extensions; do | |
7232 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_p
rog$ac_exec_ext"; }; then | |
7233 if test $ac_prog = install && | |
7234 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | |
7235 # AIX install. It has an incompatible calling convention. | |
7236 : | |
7237 elif test $ac_prog = install && | |
7238 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | |
7239 # program-specific install script used by HP pwplus--don't use. | |
7240 : | |
7241 else | |
7242 rm -rf conftest.one conftest.two conftest.dir | |
7243 echo one > conftest.one | |
7244 echo two > conftest.two | |
7245 mkdir conftest.dir | |
7246 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd
`/conftest.dir" && | |
7247 test -s conftest.one && test -s conftest.two && | |
7248 test -s conftest.dir/conftest.one && | |
7249 test -s conftest.dir/conftest.two | |
7250 then | |
7251 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" | |
7252 break 3 | |
7253 fi | |
7254 fi | |
7255 fi | |
7256 done | |
7257 done | |
7258 ;; | |
7259 esac | |
7260 | |
7261 done | |
7262 IFS=$as_save_IFS | |
7263 | |
7264 rm -rf conftest.one conftest.two conftest.dir | |
7265 | |
7266 fi | |
7267 if test "${ac_cv_path_install+set}" = set; then | |
7268 INSTALL=$ac_cv_path_install | |
7269 else | |
7270 # As a last resort, use the slow shell script. Don't cache a | |
7271 # value for INSTALL within a source directory, because that will | |
7272 # break other packages using the cache if that directory is | |
7273 # removed, or if the value is a relative name. | |
7274 INSTALL=$ac_install_sh | |
7275 fi | |
7276 fi | |
7277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 | |
7278 $as_echo "$INSTALL" >&6; } | |
7279 | |
7280 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. | |
7281 # It thinks the first close brace ends the variable substitution. | |
7282 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' | |
7283 | |
7284 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' | |
7285 | |
7286 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | |
7287 | |
7288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is s
ane" >&5 | |
7289 $as_echo_n "checking whether build environment is sane... " >&6; } | |
7290 # Just in case | |
7291 sleep 1 | |
7292 echo timestamp > conftest.file | |
7293 # Reject unsafe characters in $srcdir or the absolute working directory | |
7294 # name. Accept space and tab only in the latter. | |
7295 am_lf=' | |
7296 ' | |
7297 case `pwd` in | |
7298 *[\\\"\#\$\&\'\`$am_lf]*) | |
7299 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;; | |
7300 esac | |
7301 case $srcdir in | |
7302 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) | |
7303 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; | |
7304 esac | |
7305 | |
7306 # Do `set' in a subshell so we don't clobber the current shell's | |
7307 # arguments. Must try -L first in case configure is actually a | |
7308 # symlink; some systems play weird games with the mod time of symlinks | |
7309 # (eg FreeBSD returns the mod time of the symlink's containing | |
7310 # directory). | |
7311 if ( | |
7312 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` | |
7313 if test "$*" = "X"; then | |
7314 # -L didn't work. | |
7315 set X `ls -t "$srcdir/configure" conftest.file` | |
7316 fi | |
7317 rm -f conftest.file | |
7318 if test "$*" != "X $srcdir/configure conftest.file" \ | |
7319 && test "$*" != "X conftest.file $srcdir/configure"; then | |
7320 | |
7321 # If neither matched, then we have a broken ls. This can happen | |
7322 # if, for instance, CONFIG_SHELL is bash and it inherits a | |
7323 # broken ls alias from the environment. This has actually | |
7324 # happened. Such a system could not be considered "sane". | |
7325 as_fn_error "ls -t appears to fail. Make sure there is not a broken | |
7326 alias in your environment" "$LINENO" 5 | |
7327 fi | |
7328 | |
7329 test "$2" = conftest.file | |
7330 ) | |
7331 then | |
7332 # Ok. | |
7333 : | |
7334 else | |
7335 as_fn_error "newly created file is older than distributed files! | |
7336 Check your system clock" "$LINENO" 5 | |
7337 fi | |
7338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | |
7339 $as_echo "yes" >&6; } | |
7340 test "$program_prefix" != NONE && | |
7341 program_transform_name="s&^&$program_prefix&;$program_transform_name" | |
7342 # Use a double $ so make ignores it. | |
7343 test "$program_suffix" != NONE && | |
7344 program_transform_name="s&\$&$program_suffix&;$program_transform_name" | |
7345 # Double any \ or $. | |
7346 # By default was `s,x,x', remove it if useless. | |
7347 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' | |
7348 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` | |
7349 | |
7350 # expand $ac_aux_dir to an absolute path | |
7351 am_aux_dir=`cd $ac_aux_dir && pwd` | |
7352 | |
7353 if test x"${MISSING+set}" != xset; then | |
7354 case $am_aux_dir in | |
7355 *\ * | *\ *) | |
7356 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; | |
7357 *) | |
7358 MISSING="\${SHELL} $am_aux_dir/missing" ;; | |
7359 esac | |
7360 fi | |
7361 # Use eval to expand $SHELL | |
7362 if eval "$MISSING --run true"; then | |
7363 am_missing_run="$MISSING --run " | |
7364 else | |
7365 am_missing_run= | |
7366 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old
or missing" >&5 | |
7367 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} | |
7368 fi | |
7369 | |
7370 if test x"${install_sh}" != xset; then | |
7371 case $am_aux_dir in | |
7372 *\ * | *\ *) | |
7373 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; | |
7374 *) | |
7375 install_sh="\${SHELL} $am_aux_dir/install-sh" | |
7376 esac | |
7377 fi | |
7378 | |
7379 # Installed binaries are usually stripped using `strip' when the user | |
7380 # run `make install-strip'. However `strip' might not be the right | |
7381 # tool to use in cross-compilation environments, therefore Automake | |
7382 # will honor the `STRIP' environment variable to overrule this program. | |
7383 if test "$cross_compiling" != no; then | |
7384 if test -n "$ac_tool_prefix"; then | |
7385 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program n
ame with args. | |
7386 set dummy ${ac_tool_prefix}strip; ac_word=$2 | |
7387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
7388 $as_echo_n "checking for $ac_word... " >&6; } | |
7389 if test "${ac_cv_prog_STRIP+set}" = set; then : | |
7390 $as_echo_n "(cached) " >&6 | |
7391 else | |
7392 if test -n "$STRIP"; then | |
7393 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. | |
7394 else | |
7395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
7396 for as_dir in $PATH | |
7397 do | |
7398 IFS=$as_save_IFS | |
7399 test -z "$as_dir" && as_dir=. | |
7400 for ac_exec_ext in '' $ac_executable_extensions; do | |
7401 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac
_exec_ext"; }; then | |
7402 ac_cv_prog_STRIP="${ac_tool_prefix}strip" | |
7403 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | |
7404 break 2 | |
7405 fi | |
7406 done | |
7407 done | |
7408 IFS=$as_save_IFS | |
7409 | |
7410 fi | |
7411 fi | |
7412 STRIP=$ac_cv_prog_STRIP | |
7413 if test -n "$STRIP"; then | |
7414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 | |
7415 $as_echo "$STRIP" >&6; } | |
7416 else | |
7417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
7418 $as_echo "no" >&6; } | |
7419 fi | |
7420 | |
7421 | |
7422 fi | |
7423 if test -z "$ac_cv_prog_STRIP"; then | |
7424 ac_ct_STRIP=$STRIP | |
7425 # Extract the first word of "strip", so it can be a program name with args. | |
7426 set dummy strip; ac_word=$2 | |
7427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
7428 $as_echo_n "checking for $ac_word... " >&6; } | |
7429 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : | |
7430 $as_echo_n "(cached) " >&6 | |
7431 else | |
7432 if test -n "$ac_ct_STRIP"; then | |
7433 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. | |
7434 else | |
7435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
7436 for as_dir in $PATH | |
7437 do | |
7438 IFS=$as_save_IFS | |
7439 test -z "$as_dir" && as_dir=. | |
7440 for ac_exec_ext in '' $ac_executable_extensions; do | |
7441 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac
_exec_ext"; }; then | |
7442 ac_cv_prog_ac_ct_STRIP="strip" | |
7443 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | |
7444 break 2 | |
7445 fi | |
7446 done | |
7447 done | |
7448 IFS=$as_save_IFS | |
7449 | |
7450 fi | |
7451 fi | |
7452 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP | |
7453 if test -n "$ac_ct_STRIP"; then | |
7454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 | |
7455 $as_echo "$ac_ct_STRIP" >&6; } | |
7456 else | |
7457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
7458 $as_echo "no" >&6; } | |
7459 fi | |
7460 | |
7461 if test "x$ac_ct_STRIP" = x; then | |
7462 STRIP=":" | |
7463 else | |
7464 case $cross_compiling:$ac_tool_warned in | |
7465 yes:) | |
7466 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed
with host triplet" >&5 | |
7467 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2
;} | |
7468 ac_tool_warned=yes ;; | |
7469 esac | |
7470 STRIP=$ac_ct_STRIP | |
7471 fi | |
7472 else | |
7473 STRIP="$ac_cv_prog_STRIP" | |
7474 fi | |
7475 | |
7476 fi | |
7477 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" | |
7478 | |
7479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&
5 | |
7480 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } | |
7481 if test -z "$MKDIR_P"; then | |
7482 if test "${ac_cv_path_mkdir+set}" = set; then : | |
7483 $as_echo_n "(cached) " >&6 | |
7484 else | |
7485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
7486 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin | |
7487 do | |
7488 IFS=$as_save_IFS | |
7489 test -z "$as_dir" && as_dir=. | |
7490 for ac_prog in mkdir gmkdir; do | |
7491 for ac_exec_ext in '' $ac_executable_extensions; do | |
7492 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_p
rog$ac_exec_ext"; } || continue | |
7493 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( | |
7494 'mkdir (GNU coreutils) '* | \ | |
7495 'mkdir (coreutils) '* | \ | |
7496 'mkdir (fileutils) '4.1*) | |
7497 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext | |
7498 break 3;; | |
7499 esac | |
7500 done | |
7501 done | |
7502 done | |
7503 IFS=$as_save_IFS | |
7504 | |
7505 fi | |
7506 | |
7507 if test "${ac_cv_path_mkdir+set}" = set; then | |
7508 MKDIR_P="$ac_cv_path_mkdir -p" | |
7509 else | |
7510 # As a last resort, use the slow shell script. Don't cache a | |
7511 # value for MKDIR_P within a source directory, because that will | |
7512 # break other packages using the cache if that directory is | |
7513 # removed, or if the value is a relative name. | |
7514 test -d ./--version && rmdir ./--version | |
7515 MKDIR_P="$ac_install_sh -d" | |
7516 fi | |
7517 fi | |
7518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 | |
7519 $as_echo "$MKDIR_P" >&6; } | |
7520 | |
7521 | |
7522 mkdir_p="$MKDIR_P" | |
7523 case $mkdir_p in | |
7524 [\\/$]* | ?:[\\/]*) ;; | |
7525 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; | |
7526 esac | |
7527 | |
7528 for ac_prog in gawk mawk nawk awk | |
7529 do | |
7530 # Extract the first word of "$ac_prog", so it can be a program name with args. | |
7531 set dummy $ac_prog; ac_word=$2 | |
7532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
7533 $as_echo_n "checking for $ac_word... " >&6; } | |
7534 if test "${ac_cv_prog_AWK+set}" = set; then : | |
7535 $as_echo_n "(cached) " >&6 | |
7536 else | |
7537 if test -n "$AWK"; then | |
7538 ac_cv_prog_AWK="$AWK" # Let the user override the test. | |
7539 else | |
7540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
7541 for as_dir in $PATH | |
7542 do | |
7543 IFS=$as_save_IFS | |
7544 test -z "$as_dir" && as_dir=. | |
7545 for ac_exec_ext in '' $ac_executable_extensions; do | |
7546 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac
_exec_ext"; }; then | |
7547 ac_cv_prog_AWK="$ac_prog" | |
7548 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >
&5 | |
7549 break 2 | |
7550 fi | |
7551 done | |
7552 done | |
7553 IFS=$as_save_IFS | |
7554 | |
7555 fi | |
7556 fi | |
7557 AWK=$ac_cv_prog_AWK | |
7558 if test -n "$AWK"; then | |
7559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 | |
7560 $as_echo "$AWK" >&6; } | |
7561 else | |
7562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
7563 $as_echo "no" >&6; } | |
7564 fi | |
7565 | |
7566 | |
7567 test -n "$AWK" && break | |
7568 done | |
7569 | |
7570 ac_config_commands="$ac_config_commands depfiles" | |
7571 | |
7572 | |
7573 am_make=${MAKE-make} | |
7574 cat > confinc << 'END' | |
7575 am__doit: | |
7576 @echo this is the am__doit target | |
7577 .PHONY: am__doit | |
7578 END | |
7579 # If we don't find an include directive, just comment out the code. | |
7580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $
am_make" >&5 | |
7581 $as_echo_n "checking for style of include used by $am_make... " >&6; } | |
7582 am__include="#" | |
7583 am__quote= | |
7584 _am_result=none | |
7585 # First try GNU make style include. | |
7586 echo "include confinc" > confmf | |
7587 # Ignore all kinds of additional output from `make'. | |
7588 case `$am_make -s -f confmf 2> /dev/null` in #( | |
7589 *the\ am__doit\ target*) | |
7590 am__include=include | |
7591 am__quote= | |
7592 _am_result=GNU | |
7593 ;; | |
7594 esac | |
7595 # Now try BSD make style include. | |
7596 if test "$am__include" = "#"; then | |
7597 echo '.include "confinc"' > confmf | |
7598 case `$am_make -s -f confmf 2> /dev/null` in #( | |
7599 *the\ am__doit\ target*) | |
7600 am__include=.include | |
7601 am__quote="\"" | |
7602 _am_result=BSD | |
7603 ;; | |
7604 esac | |
7605 fi | |
7606 | |
7607 | |
7608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 | |
7609 $as_echo "$_am_result" >&6; } | |
7610 rm -f confinc confmf | |
7611 | |
7612 # Check whether --enable-dependency-tracking was given. | |
7613 if test "${enable_dependency_tracking+set}" = set; then : | |
7614 enableval=$enable_dependency_tracking; | |
7615 fi | |
7616 | |
7617 if test "x$enable_dependency_tracking" != xno; then | |
7618 am_depcomp="$ac_aux_dir/depcomp" | |
7619 AMDEPBACKSLASH='\' | |
7620 fi | |
7621 if test "x$enable_dependency_tracking" != xno; then | |
7622 AMDEP_TRUE= | |
7623 AMDEP_FALSE='#' | |
7624 else | |
7625 AMDEP_TRUE='#' | |
7626 AMDEP_FALSE= | |
7627 fi | |
7628 | |
7629 | |
7630 if test "`cd $srcdir && pwd`" != "`pwd`"; then | |
7631 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output | |
7632 # is not polluted with repeated "-I." | |
7633 am__isrc=' -I$(srcdir)' | |
7634 # test to see if srcdir already configured | |
7635 if test -f $srcdir/config.status; then | |
7636 as_fn_error "source directory already configured; run \"make distclean\" the
re first" "$LINENO" 5 | |
7637 fi | |
7638 fi | |
7639 | |
7640 # test whether we have cygpath | |
7641 if test -z "$CYGPATH_W"; then | |
7642 if (cygpath --version) >/dev/null 2>/dev/null; then | |
7643 CYGPATH_W='cygpath -w' | |
7644 else | |
7645 CYGPATH_W=echo | |
7646 fi | |
7647 fi | |
7648 | |
7649 | |
7650 # Define the identity of the package. | |
7651 PACKAGE=gdb | |
7652 VERSION=UNUSED-VERSION | |
7653 | |
7654 | |
7655 # Some tools Automake needs. | |
7656 | |
7657 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} | |
7658 | |
7659 | |
7660 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} | |
7661 | |
7662 | |
7663 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} | |
7664 | |
7665 | |
7666 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} | |
7667 | |
7668 | |
7669 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} | |
7670 | |
7671 # We need awk for the "check" target. The system "awk" is bad on | |
7672 # some platforms. | |
7673 # Always define AMTAR for backward compatibility. | |
7674 | |
7675 AMTAR=${AMTAR-"${am_missing_run}tar"} | |
7676 | |
7677 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' | |
7678 | |
7679 | |
7680 | |
7681 | |
7682 depcc="$CC" am_compiler_list= | |
7683 | |
7684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&
5 | |
7685 $as_echo_n "checking dependency style of $depcc... " >&6; } | |
7686 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then : | |
7687 $as_echo_n "(cached) " >&6 | |
7688 else | |
7689 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then | |
7690 # We make a subdir and do the tests there. Otherwise we can end up | |
7691 # making bogus files that we don't know about and never remove. For | |
7692 # instance it was reported that on HP-UX the gcc test will end up | |
7693 # making a dummy file named `D' -- because `-MD' means `put the output | |
7694 # in D'. | |
7695 mkdir conftest.dir | |
7696 # Copy depcomp to subdir because otherwise we won't find it if we're | |
7697 # using a relative directory. | |
7698 cp "$am_depcomp" conftest.dir | |
7699 cd conftest.dir | |
7700 # We will build objects and dependencies in a subdirectory because | |
7701 # it helps to detect inapplicable dependency modes. For instance | |
7702 # both Tru64's cc and ICC support -MD to output dependencies as a | |
7703 # side effect of compilation, but ICC will put the dependencies in | |
7704 # the current directory while Tru64 will put them in the object | |
7705 # directory. | |
7706 mkdir sub | |
7707 | |
7708 am_cv_CC_dependencies_compiler_type=none | |
7709 if test "$am_compiler_list" = ""; then | |
7710 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` | |
7711 fi | |
7712 am__universal=false | |
7713 case " $depcc " in #( | |
7714 *\ -arch\ *\ -arch\ *) am__universal=true ;; | |
7715 esac | |
7716 | |
7717 for depmode in $am_compiler_list; do | |
7718 # Setup a source with many dependencies, because some compilers | |
7719 # like to wrap large dependency lists on column 80 (with \), and | |
7720 # we should not choose a depcomp mode which is confused by this. | |
7721 # | |
7722 # We need to recreate these files for each test, as the compiler may | |
7723 # overwrite some of them when testing with obscure command lines. | |
7724 # This happens at least with the AIX C compiler. | |
7725 : > sub/conftest.c | |
7726 for i in 1 2 3 4 5 6; do | |
7727 echo '#include "conftst'$i'.h"' >> sub/conftest.c | |
7728 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with | |
7729 # Solaris 8's {/usr,}/bin/sh. | |
7730 touch sub/conftst$i.h | |
7731 done | |
7732 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf | |
7733 | |
7734 # We check with `-c' and `-o' for the sake of the "dashmstdout" | |
7735 # mode. It turns out that the SunPro C++ compiler does not properly | |
7736 # handle `-M -o', and we need to detect this. Also, some Intel | |
7737 # versions had trouble with output in subdirs | |
7738 am__obj=sub/conftest.${OBJEXT-o} | |
7739 am__minus_obj="-o $am__obj" | |
7740 case $depmode in | |
7741 gcc) | |
7742 # This depmode causes a compiler race in universal mode. | |
7743 test "$am__universal" = false || continue | |
7744 ;; | |
7745 nosideeffect) | |
7746 # after this tag, mechanisms are not by side-effect, so they'll | |
7747 # only be used when explicitly requested | |
7748 if test "x$enable_dependency_tracking" = xyes; then | |
7749 continue | |
7750 else | |
7751 break | |
7752 fi | |
7753 ;; | |
7754 msvisualcpp | msvcmsys) | |
7755 # This compiler won't grok `-c -o', but also, the minuso test has | |
7756 # not run yet. These depmodes are late enough in the game, and | |
7757 # so weak that their functioning should not be impacted. | |
7758 am__obj=conftest.${OBJEXT-o} | |
7759 am__minus_obj= | |
7760 ;; | |
7761 none) break ;; | |
7762 esac | |
7763 if depmode=$depmode \ | |
7764 source=sub/conftest.c object=$am__obj \ | |
7765 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ | |
7766 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ | |
7767 >/dev/null 2>conftest.err && | |
7768 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && | |
7769 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && | |
7770 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && | |
7771 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then | |
7772 # icc doesn't choke on unknown options, it will just issue warnings | |
7773 # or remarks (even with -Werror). So we grep stderr for any message | |
7774 # that says an option was ignored or not supported. | |
7775 # When given -MP, icc 7.0 and 7.1 complain thusly: | |
7776 # icc: Command line warning: ignoring option '-M'; no argument required | |
7777 # The diagnosis changed in icc 8.0: | |
7778 # icc: Command line remark: option '-MP' not supported | |
7779 if (grep 'ignoring option' conftest.err || | |
7780 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else | |
7781 am_cv_CC_dependencies_compiler_type=$depmode | |
7782 break | |
7783 fi | |
7784 fi | |
7785 done | |
7786 | |
7787 cd .. | |
7788 rm -rf conftest.dir | |
7789 else | |
7790 am_cv_CC_dependencies_compiler_type=none | |
7791 fi | |
7792 | |
7793 fi | |
7794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler
_type" >&5 | |
7795 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } | |
7796 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type | |
7797 | |
7798 if | |
7799 test "x$enable_dependency_tracking" != xno \ | |
7800 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then | |
7801 am__fastdepCC_TRUE= | |
7802 am__fastdepCC_FALSE='#' | |
7803 else | |
7804 am__fastdepCC_TRUE='#' | |
7805 am__fastdepCC_FALSE= | |
7806 fi | |
7807 | |
7808 | |
7809 | |
7810 | |
7811 | 4838 |
7812 | 4839 |
7813 # Check whether --with-separate-debug-dir was given. | 4840 # Check whether --with-separate-debug-dir was given. |
7814 if test "${with_separate_debug_dir+set}" = set; then : | 4841 if test "${with_separate_debug_dir+set}" = set; then : |
7815 withval=$with_separate_debug_dir; | 4842 withval=$with_separate_debug_dir; |
7816 DEBUGDIR=$withval | 4843 DEBUGDIR=$withval |
7817 else | 4844 else |
7818 DEBUGDIR=${libdir}/debug | 4845 DEBUGDIR=${libdir}/debug |
7819 fi | 4846 fi |
7820 | 4847 |
(...skipping 27 matching lines...) Expand all Loading... |
7848 ;; | 4875 ;; |
7849 esac | 4876 esac |
7850 | 4877 |
7851 cat >>confdefs.h <<_ACEOF | 4878 cat >>confdefs.h <<_ACEOF |
7852 #define DEBUGDIR_RELOCATABLE $value | 4879 #define DEBUGDIR_RELOCATABLE $value |
7853 _ACEOF | 4880 _ACEOF |
7854 | 4881 |
7855 | 4882 |
7856 | 4883 |
7857 | 4884 |
| 4885 # We can't pass paths as command line arguments. |
| 4886 # Mingw32 tries to be clever and will convert the paths for us. |
| 4887 # For example -DBINDIR="/usr/local/bin" passed on the command line may get |
| 4888 # converted to -DBINDIR="E:/msys/mingw32/msys/1.0/local/bin". |
| 4889 # This breaks GDB's relocatable path conversions since paths passed in |
| 4890 # config.h would not get so translated, the path prefixes no longer match. |
| 4891 |
| 4892 test "x$prefix" = xNONE && prefix="$ac_default_prefix" |
| 4893 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
| 4894 ac_define_dir=`eval echo $bindir` |
| 4895 ac_define_dir=`eval echo $ac_define_dir` |
| 4896 |
| 4897 cat >>confdefs.h <<_ACEOF |
| 4898 #define BINDIR "$ac_define_dir" |
| 4899 _ACEOF |
| 4900 |
| 4901 |
| 4902 |
7858 # GDB's datadir relocation | 4903 # GDB's datadir relocation |
7859 | 4904 |
7860 | 4905 |
7861 | 4906 |
7862 # Check whether --with-gdb-datadir was given. | 4907 # Check whether --with-gdb-datadir was given. |
7863 if test "${with_gdb_datadir+set}" = set; then : | 4908 if test "${with_gdb_datadir+set}" = set; then : |
7864 withval=$with_gdb_datadir; | 4909 withval=$with_gdb_datadir; |
7865 GDB_DATADIR=$withval | 4910 GDB_DATADIR=$withval |
7866 else | 4911 else |
7867 GDB_DATADIR=${datadir}/gdb | 4912 GDB_DATADIR=${datadir}/gdb |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7916 | 4961 |
7917 cat >>confdefs.h <<_ACEOF | 4962 cat >>confdefs.h <<_ACEOF |
7918 #define RELOC_SRCDIR "$ac_define_dir" | 4963 #define RELOC_SRCDIR "$ac_define_dir" |
7919 _ACEOF | 4964 _ACEOF |
7920 | 4965 |
7921 | 4966 |
7922 | 4967 |
7923 fi | 4968 fi |
7924 | 4969 |
7925 | 4970 |
| 4971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default auto-load director
y" >&5 |
| 4972 $as_echo_n "checking for default auto-load directory... " >&6; } |
| 4973 |
| 4974 # Check whether --with-auto-load-dir was given. |
| 4975 if test "${with_auto_load_dir+set}" = set; then : |
| 4976 withval=$with_auto_load_dir; |
| 4977 else |
| 4978 with_auto_load_dir='$debugdir:$datadir/auto-load' |
| 4979 fi |
| 4980 |
| 4981 escape_dir=`echo $with_auto_load_dir | sed 's/[$]\(datadir\|debugdir\)\>/\\\\\\\
\\\\\&/g'` |
| 4982 |
| 4983 test "x$prefix" = xNONE && prefix="$ac_default_prefix" |
| 4984 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
| 4985 ac_define_dir=`eval echo $escape_dir` |
| 4986 ac_define_dir=`eval echo $ac_define_dir` |
| 4987 |
| 4988 cat >>confdefs.h <<_ACEOF |
| 4989 #define AUTO_LOAD_DIR "$ac_define_dir" |
| 4990 _ACEOF |
| 4991 |
| 4992 |
| 4993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_auto_load_dir" >&5 |
| 4994 $as_echo "$with_auto_load_dir" >&6; } |
| 4995 |
| 4996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default auto-load safe-pat
h" >&5 |
| 4997 $as_echo_n "checking for default auto-load safe-path... " >&6; } |
| 4998 |
| 4999 # Check whether --with-auto-load-safe-path was given. |
| 5000 if test "${with_auto_load_safe_path+set}" = set; then : |
| 5001 withval=$with_auto_load_safe_path; if test "$with_auto_load_safe_path" = "no";
then |
| 5002 with_auto_load_safe_path="/" |
| 5003 fi |
| 5004 else |
| 5005 with_auto_load_safe_path="$with_auto_load_dir" |
| 5006 fi |
| 5007 |
| 5008 escape_dir=`echo $with_auto_load_safe_path | sed 's/[$]\(datadir\|debugdir\)\>/\
\\\\\\\\\\\&/g'` |
| 5009 |
| 5010 test "x$prefix" = xNONE && prefix="$ac_default_prefix" |
| 5011 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
| 5012 ac_define_dir=`eval echo $escape_dir` |
| 5013 ac_define_dir=`eval echo $ac_define_dir` |
| 5014 |
| 5015 cat >>confdefs.h <<_ACEOF |
| 5016 #define AUTO_LOAD_SAFE_PATH "$ac_define_dir" |
| 5017 _ACEOF |
| 5018 |
| 5019 |
| 5020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_auto_load_safe_path" >&5 |
| 5021 $as_echo "$with_auto_load_safe_path" >&6; } |
| 5022 |
7926 | 5023 |
7927 | 5024 |
7928 subdirs="$subdirs testsuite" | 5025 subdirs="$subdirs testsuite" |
7929 | 5026 |
7930 | 5027 |
7931 # Check whether to support alternative target configurations | 5028 # Check whether to support alternative target configurations |
7932 # Check whether --enable-targets was given. | 5029 # Check whether --enable-targets was given. |
7933 if test "${enable_targets+set}" = set; then : | 5030 if test "${enable_targets+set}" = set; then : |
7934 enableval=$enable_targets; case "${enableval}" in | 5031 enableval=$enable_targets; case "${enableval}" in |
7935 yes | "") as_fn_error "enable-targets option must specify target names or 'all
'" "$LINENO" 5 | 5032 yes | "") as_fn_error "enable-targets option must specify target names or 'all
'" "$LINENO" 5 |
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8172 fi | 5269 fi |
8173 | 5270 |
8174 # We unconditionally disable gdbtk tests on selected platforms. | 5271 # We unconditionally disable gdbtk tests on selected platforms. |
8175 case $host_os in | 5272 case $host_os in |
8176 go32* | windows*) | 5273 go32* | windows*) |
8177 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: gdbtk isn't supported on $
host; disabling" >&5 | 5274 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: gdbtk isn't supported on $
host; disabling" >&5 |
8178 $as_echo "$as_me: WARNING: gdbtk isn't supported on $host; disabling" >&2;} | 5275 $as_echo "$as_me: WARNING: gdbtk isn't supported on $host; disabling" >&2;} |
8179 enable_gdbtk=no ;; | 5276 enable_gdbtk=no ;; |
8180 esac | 5277 esac |
8181 | 5278 |
8182 # Libunwind support. | 5279 # Libunwind support for ia64. |
8183 | 5280 |
8184 # Check whether --with-libunwind was given. | 5281 |
8185 if test "${with_libunwind+set}" = set; then : | 5282 # Check whether --with-libunwind-ia64 was given. |
8186 withval=$with_libunwind; case "${withval}" in | 5283 if test "${with_libunwind_ia64+set}" = set; then : |
8187 yes) enable_libunwind=yes ;; | 5284 withval=$with_libunwind_ia64; |
8188 no) enable_libunwind=no ;; | |
8189 *) as_fn_error "bad value ${withval} for GDB with-libunwind option" "$LINEN
O" 5 ;; | |
8190 esac | |
8191 else | 5285 else |
| 5286 with_libunwind_ia64=auto |
| 5287 fi |
8192 | 5288 |
8193 for ac_header in libunwind.h libunwind-ia64.h | 5289 |
| 5290 # Backward compatibility option. |
| 5291 if test "${with_libunwind+set}" = set; then |
| 5292 if test x"$with_libunwind_ia64" != xauto; then |
| 5293 as_fn_error "option --with-libunwind is deprecated, use --with-libunwind-ia6
4" "$LINENO" 5 |
| 5294 fi |
| 5295 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: option --with-libunwind is d
eprecated, use --with-libunwind-ia64" >&5 |
| 5296 $as_echo "$as_me: WARNING: option --with-libunwind is deprecated, use --with-lib
unwind-ia64" >&2;} |
| 5297 with_libunwind_ia64="$with_libunwind" |
| 5298 fi |
| 5299 |
| 5300 case "$with_libunwind_ia64" in |
| 5301 yes | no) |
| 5302 ;; |
| 5303 auto) |
| 5304 for ac_header in libunwind-ia64.h |
8194 do : | 5305 do : |
8195 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 5306 ac_fn_c_check_header_mongrel "$LINENO" "libunwind-ia64.h" "ac_cv_header_libunw
ind_ia64_h" "$ac_includes_default" |
8196 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_include
s_default" | 5307 if test "x$ac_cv_header_libunwind_ia64_h" = x""yes; then : |
8197 eval as_val=\$$as_ac_Header | |
8198 if test "x$as_val" = x""yes; then : | |
8199 cat >>confdefs.h <<_ACEOF | 5308 cat >>confdefs.h <<_ACEOF |
8200 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 5309 #define HAVE_LIBUNWIND_IA64_H 1 |
8201 _ACEOF | 5310 _ACEOF |
8202 | 5311 |
8203 fi | 5312 fi |
8204 | 5313 |
8205 done | 5314 done |
8206 | 5315 |
8207 if test x"$ac_cv_header_libunwind_h" = xyes -a x"$ac_cv_header_libunwind_ia64_
h" = xyes; then | 5316 with_libunwind_ia64=$ac_cv_header_libunwind_ia64_h |
8208 enable_libunwind=yes; | 5317 ;; |
8209 fi | 5318 *) |
| 5319 as_fn_error "bad value $with_libunwind_ia64 for GDB --with-libunwind-ia64 op
tion" "$LINENO" 5 |
| 5320 ;; |
| 5321 esac |
8210 | 5322 |
8211 fi | 5323 if test x"$with_libunwind_ia64" = xyes; then |
8212 | 5324 for ac_header in libunwind-ia64.h |
8213 | |
8214 if test x"$enable_libunwind" = xyes; then | |
8215 for ac_header in libunwind.h libunwind-ia64.h | |
8216 do : | 5325 do : |
8217 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 5326 ac_fn_c_check_header_mongrel "$LINENO" "libunwind-ia64.h" "ac_cv_header_libunw
ind_ia64_h" "$ac_includes_default" |
8218 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_include
s_default" | 5327 if test "x$ac_cv_header_libunwind_ia64_h" = x""yes; then : |
8219 eval as_val=\$$as_ac_Header | |
8220 if test "x$as_val" = x""yes; then : | |
8221 cat >>confdefs.h <<_ACEOF | 5328 cat >>confdefs.h <<_ACEOF |
8222 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 5329 #define HAVE_LIBUNWIND_IA64_H 1 |
8223 _ACEOF | 5330 _ACEOF |
8224 | 5331 |
8225 fi | 5332 fi |
8226 | 5333 |
8227 done | 5334 done |
8228 | 5335 |
8229 | 5336 if test x"$ac_cv_header_libunwind_ia64_h" != xyes; then |
8230 $as_echo "#define HAVE_LIBUNWIND 1" >>confdefs.h | 5337 as_fn_error "GDB option --with-libunwind-ia64 requires libunwind-ia64.h" "$L
INENO" 5 |
8231 | 5338 fi |
8232 CONFIG_OBS="$CONFIG_OBS libunwind-frame.o" | 5339 CONFIG_OBS="$CONFIG_OBS ia64-libunwind-tdep.o" |
8233 CONFIG_DEPS="$CONFIG_DEPS libunwind-frame.o" | 5340 CONFIG_DEPS="$CONFIG_DEPS ia64-libunwind-tdep.o" |
8234 CONFIG_SRCS="$CONFIG_SRCS libunwind-frame.c" | 5341 CONFIG_SRCS="$CONFIG_SRCS ia64-libunwind-tdep.c" |
8235 fi | 5342 fi |
8236 | 5343 |
8237 opt_curses=no | 5344 opt_curses=no |
8238 | 5345 |
8239 # Check whether --with-curses was given. | 5346 # Check whether --with-curses was given. |
8240 if test "${with_curses+set}" = set; then : | 5347 if test "${with_curses+set}" = set; then : |
8241 withval=$with_curses; opt_curses=$withval | 5348 withval=$with_curses; opt_curses=$withval |
8242 fi | 5349 fi |
8243 | 5350 |
8244 | 5351 |
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8476 $as_echo "$AWK" >&6; } | 5583 $as_echo "$AWK" >&6; } |
8477 else | 5584 else |
8478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 5585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
8479 $as_echo "no" >&6; } | 5586 $as_echo "no" >&6; } |
8480 fi | 5587 fi |
8481 | 5588 |
8482 | 5589 |
8483 test -n "$AWK" && break | 5590 test -n "$AWK" && break |
8484 done | 5591 done |
8485 | 5592 |
| 5593 # Find a good install program. We prefer a C program (faster), |
| 5594 # so one script is as good as another. But avoid the broken or |
| 5595 # incompatible versions: |
| 5596 # SysV /etc/install, /usr/sbin/install |
| 5597 # SunOS /usr/etc/install |
| 5598 # IRIX /sbin/install |
| 5599 # AIX /bin/install |
| 5600 # AmigaOS /C/install, which installs bootblocks on floppy discs |
| 5601 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
| 5602 # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
| 5603 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
| 5604 # OS/2's system install, which has a completely different semantic |
| 5605 # ./install, which can be erroneously created by make from ./install.sh. |
| 5606 # Reject install programs that cannot install multiple files. |
| 5607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install"
>&5 |
| 5608 $as_echo_n "checking for a BSD-compatible install... " >&6; } |
| 5609 if test -z "$INSTALL"; then |
| 5610 if test "${ac_cv_path_install+set}" = set; then : |
| 5611 $as_echo_n "(cached) " >&6 |
| 5612 else |
| 5613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 5614 for as_dir in $PATH |
| 5615 do |
| 5616 IFS=$as_save_IFS |
| 5617 test -z "$as_dir" && as_dir=. |
| 5618 # Account for people who put trailing slashes in PATH elements. |
| 5619 case $as_dir/ in #(( |
| 5620 ./ | .// | /[cC]/* | \ |
| 5621 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
| 5622 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ |
| 5623 /usr/ucb/* ) ;; |
| 5624 *) |
| 5625 # OSF1 and SCO ODT 3.0 have their own names for install. |
| 5626 # Don't use installbsd from OSF since it installs stuff as root |
| 5627 # by default. |
| 5628 for ac_prog in ginstall scoinst install; do |
| 5629 for ac_exec_ext in '' $ac_executable_extensions; do |
| 5630 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_p
rog$ac_exec_ext"; }; then |
| 5631 if test $ac_prog = install && |
| 5632 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
| 5633 # AIX install. It has an incompatible calling convention. |
| 5634 : |
| 5635 elif test $ac_prog = install && |
| 5636 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
| 5637 # program-specific install script used by HP pwplus--don't use. |
| 5638 : |
| 5639 else |
| 5640 rm -rf conftest.one conftest.two conftest.dir |
| 5641 echo one > conftest.one |
| 5642 echo two > conftest.two |
| 5643 mkdir conftest.dir |
| 5644 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd
`/conftest.dir" && |
| 5645 test -s conftest.one && test -s conftest.two && |
| 5646 test -s conftest.dir/conftest.one && |
| 5647 test -s conftest.dir/conftest.two |
| 5648 then |
| 5649 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
| 5650 break 3 |
| 5651 fi |
| 5652 fi |
| 5653 fi |
| 5654 done |
| 5655 done |
| 5656 ;; |
| 5657 esac |
| 5658 |
| 5659 done |
| 5660 IFS=$as_save_IFS |
| 5661 |
| 5662 rm -rf conftest.one conftest.two conftest.dir |
| 5663 |
| 5664 fi |
| 5665 if test "${ac_cv_path_install+set}" = set; then |
| 5666 INSTALL=$ac_cv_path_install |
| 5667 else |
| 5668 # As a last resort, use the slow shell script. Don't cache a |
| 5669 # value for INSTALL within a source directory, because that will |
| 5670 # break other packages using the cache if that directory is |
| 5671 # removed, or if the value is a relative name. |
| 5672 INSTALL=$ac_install_sh |
| 5673 fi |
| 5674 fi |
| 5675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 |
| 5676 $as_echo "$INSTALL" >&6; } |
| 5677 |
| 5678 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
| 5679 # It thinks the first close brace ends the variable substitution. |
| 5680 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
| 5681 |
| 5682 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
| 5683 |
| 5684 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
8486 | 5685 |
8487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 | 5686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 |
8488 $as_echo_n "checking whether ln -s works... " >&6; } | 5687 $as_echo_n "checking whether ln -s works... " >&6; } |
8489 LN_S=$as_ln_s | 5688 LN_S=$as_ln_s |
8490 if test "$LN_S" = "ln -s"; then | 5689 if test "$LN_S" = "ln -s"; then |
8491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 5690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
8492 $as_echo "yes" >&6; } | 5691 $as_echo "yes" >&6; } |
8493 else | 5692 else |
8494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 | 5693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 |
8495 $as_echo "no, using $LN_S" >&6; } | 5694 $as_echo "no, using $LN_S" >&6; } |
(...skipping 1222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
9718 | 6917 |
9719 # Check whether we should enable the TUI, but only do so if we really | 6918 # Check whether we should enable the TUI, but only do so if we really |
9720 # can. | 6919 # can. |
9721 if test x"$enable_tui" != xno; then | 6920 if test x"$enable_tui" != xno; then |
9722 if test -d $srcdir/tui; then | 6921 if test -d $srcdir/tui; then |
9723 if test "$curses_found" != no; then | 6922 if test "$curses_found" != no; then |
9724 CONFIG_OBS="$CONFIG_OBS \$(SUBDIR_TUI_OBS)" | 6923 CONFIG_OBS="$CONFIG_OBS \$(SUBDIR_TUI_OBS)" |
9725 CONFIG_DEPS="$CONFIG_DEPS \$(SUBDIR_TUI_DEPS)" | 6924 CONFIG_DEPS="$CONFIG_DEPS \$(SUBDIR_TUI_DEPS)" |
9726 CONFIG_SRCS="$CONFIG_SRCS \$(SUBDIR_TUI_SRCS)" | 6925 CONFIG_SRCS="$CONFIG_SRCS \$(SUBDIR_TUI_SRCS)" |
9727 ENABLE_CFLAGS="$ENABLE_CFLAGS \$(SUBDIR_TUI_CFLAGS)" | 6926 ENABLE_CFLAGS="$ENABLE_CFLAGS \$(SUBDIR_TUI_CFLAGS)" |
9728 CONFIG_ALL="${CONFIG_ALL} all-tui" | |
9729 CONFIG_CLEAN="${CONFIG_CLEAN} clean-tui" | |
9730 CONFIG_INSTALL="${CONFIG_INSTALL} install-tui" | |
9731 CONFIG_UNINSTALL="${CONFIG_UNINSTALL} uninstall-tui" | |
9732 else | 6927 else |
9733 if test x"$enable_tui" = xyes; then | 6928 if test x"$enable_tui" = xyes; then |
9734 as_fn_error "no enhanced curses library found; disable TUI" "$LINENO" 5 | 6929 as_fn_error "no enhanced curses library found; disable TUI" "$LINENO" 5 |
9735 else | 6930 else |
9736 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no enhanced curses lib
rary found; disabling TUI" >&5 | 6931 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no enhanced curses lib
rary found; disabling TUI" >&5 |
9737 $as_echo "$as_me: WARNING: no enhanced curses library found; disabling TUI" >&2;
} | 6932 $as_echo "$as_me: WARNING: no enhanced curses library found; disabling TUI" >&2;
} |
9738 fi | 6933 fi |
9739 fi | 6934 fi |
9740 fi | 6935 fi |
9741 fi | 6936 fi |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
9837 READLINE='$(READLINE_DIR)/libreadline.a' | 7032 READLINE='$(READLINE_DIR)/libreadline.a' |
9838 READLINE_DEPS='$(READLINE)' | 7033 READLINE_DEPS='$(READLINE)' |
9839 READLINE_CFLAGS='-I$(READLINE_SRC)/..' | 7034 READLINE_CFLAGS='-I$(READLINE_SRC)/..' |
9840 READLINE_TEXI_INCFLAG='-I $(READLINE_DIR)' | 7035 READLINE_TEXI_INCFLAG='-I $(READLINE_DIR)' |
9841 fi | 7036 fi |
9842 | 7037 |
9843 | 7038 |
9844 | 7039 |
9845 | 7040 |
9846 | 7041 |
| 7042 if $development; then |
| 7043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lmcheck" >&5 |
| 7044 $as_echo_n "checking for main in -lmcheck... " >&6; } |
| 7045 if test "${ac_cv_lib_mcheck_main+set}" = set; then : |
| 7046 $as_echo_n "(cached) " >&6 |
| 7047 else |
| 7048 ac_check_lib_save_LIBS=$LIBS |
| 7049 LIBS="-lmcheck $LIBS" |
| 7050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 7051 /* end confdefs.h. */ |
| 7052 |
| 7053 |
| 7054 int |
| 7055 main () |
| 7056 { |
| 7057 return main (); |
| 7058 ; |
| 7059 return 0; |
| 7060 } |
| 7061 _ACEOF |
| 7062 if ac_fn_c_try_link "$LINENO"; then : |
| 7063 ac_cv_lib_mcheck_main=yes |
| 7064 else |
| 7065 ac_cv_lib_mcheck_main=no |
| 7066 fi |
| 7067 rm -f core conftest.err conftest.$ac_objext \ |
| 7068 conftest$ac_exeext conftest.$ac_ext |
| 7069 LIBS=$ac_check_lib_save_LIBS |
| 7070 fi |
| 7071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mcheck_main" >&5 |
| 7072 $as_echo "$ac_cv_lib_mcheck_main" >&6; } |
| 7073 if test "x$ac_cv_lib_mcheck_main" = x""yes; then : |
| 7074 cat >>confdefs.h <<_ACEOF |
| 7075 #define HAVE_LIBMCHECK 1 |
| 7076 _ACEOF |
| 7077 |
| 7078 LIBS="-lmcheck $LIBS" |
| 7079 |
| 7080 fi |
| 7081 |
| 7082 fi |
| 7083 |
9847 # Generate jit-reader.h | 7084 # Generate jit-reader.h |
9848 | 7085 |
9849 # This is typedeffed to GDB_CORE_ADDR in jit-reader.h | 7086 # This is typedeffed to GDB_CORE_ADDR in jit-reader.h |
9850 TARGET_PTR= | 7087 TARGET_PTR= |
9851 | 7088 |
9852 # The cast to long int works around a bug in the HP C Compiler | 7089 # The cast to long int works around a bug in the HP C Compiler |
9853 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects | 7090 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
9854 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. | 7091 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
9855 # This bug is HP SR number 8606223364. | 7092 # This bug is HP SR number 8606223364. |
9856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned long long" >&
5 | 7093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned long long" >&
5 |
(...skipping 892 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10749 $as_echo_n "checking whether to use python... " >&6; } | 7986 $as_echo_n "checking whether to use python... " >&6; } |
10750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_python" >&5 | 7987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_python" >&5 |
10751 $as_echo "$with_python" >&6; } | 7988 $as_echo "$with_python" >&6; } |
10752 | 7989 |
10753 if test "${with_python}" = no; then | 7990 if test "${with_python}" = no; then |
10754 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: python support disabled; som
e features may be unavailable." >&5 | 7991 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: python support disabled; som
e features may be unavailable." >&5 |
10755 $as_echo "$as_me: WARNING: python support disabled; some features may be unavail
able." >&2;} | 7992 $as_echo "$as_me: WARNING: python support disabled; some features may be unavail
able." >&2;} |
10756 have_libpython=no | 7993 have_libpython=no |
10757 else | 7994 else |
10758 case "${with_python}" in | 7995 case "${with_python}" in |
10759 /*) | 7996 [\\/]* | ?:[\\/]*) |
10760 if test -d ${with_python}; then | 7997 if test -d ${with_python}; then |
10761 # Assume the python binary is ${with_python}/bin/python. | 7998 # Assume the python binary is ${with_python}/bin/python. |
10762 python_prog="${with_python}/bin/python" | 7999 python_prog="${with_python}/bin/python" |
10763 python_prefix= | 8000 python_prefix= |
10764 # If python does not exit ${with_python}/bin, then try in | 8001 # If python does not exit ${with_python}/bin, then try in |
10765 # ${with_python}. On Windows/MinGW, this is where the Python | 8002 # ${with_python}. On Windows/MinGW, this is where the Python |
10766 # executable is. | 8003 # executable is. |
10767 if test ! -x "${python_prog}"; then | 8004 if test ! -x "${python_prog}"; then |
10768 python_prog="${with_python}/python" | 8005 python_prog="${with_python}/python" |
10769 python_prefix= | 8006 python_prefix= |
(...skipping 836 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11606 if test $ac_cv_header_stdc = yes; then | 8843 if test $ac_cv_header_stdc = yes; then |
11607 | 8844 |
11608 $as_echo "#define STDC_HEADERS 1" >>confdefs.h | 8845 $as_echo "#define STDC_HEADERS 1" >>confdefs.h |
11609 | 8846 |
11610 fi | 8847 fi |
11611 | 8848 |
11612 # elf_hp.h is for HP/UX 64-bit shared library support. | 8849 # elf_hp.h is for HP/UX 64-bit shared library support. |
11613 # FIXME: kettenis/20030102: In most cases we include these (ctype.h, time.h) | 8850 # FIXME: kettenis/20030102: In most cases we include these (ctype.h, time.h) |
11614 # unconditionally, so what's the point in checking these? | 8851 # unconditionally, so what's the point in checking these? |
11615 for ac_header in nlist.h machine/reg.h poll.h sys/poll.h proc_service.h \ | 8852 for ac_header in nlist.h machine/reg.h poll.h sys/poll.h proc_service.h \ |
11616 thread_db.h gnu/libc-version.h signal.h stddef.h \ | 8853 thread_db.h signal.h stddef.h \ |
11617 stdlib.h string.h memory.h strings.h sys/fault.h \ | 8854 stdlib.h string.h memory.h strings.h sys/fault.h \ |
11618 sys/file.h sys/filio.h sys/ioctl.h sys/param.h \ | 8855 sys/file.h sys/filio.h sys/ioctl.h sys/param.h \ |
11619 sys/resource.h sys/procfs.h sys/ptrace.h ptrace.h \ | 8856 sys/resource.h sys/procfs.h sys/ptrace.h ptrace.h \ |
11620 sys/reg.h sys/debugreg.h sys/select.h sys/syscall.h \ | 8857 sys/reg.h sys/debugreg.h sys/select.h sys/syscall.h \ |
11621 sys/types.h sys/wait.h wait.h termios.h termio.h \ | 8858 sys/types.h sys/wait.h wait.h termios.h termio.h \ |
11622 sgtty.h unistd.h elf_hp.h ctype.h time.h locale.h \ | 8859 sgtty.h unistd.h elf_hp.h ctype.h time.h locale.h \ |
11623 » » dlfcn.h | 8860 » » dlfcn.h sys/socket.h sys/un.h |
11624 do : | 8861 do : |
11625 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 8862 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
11626 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_include
s_default" | 8863 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_include
s_default" |
11627 eval as_val=\$$as_ac_Header | 8864 eval as_val=\$$as_ac_Header |
11628 if test "x$as_val" = x""yes; then : | 8865 if test "x$as_val" = x""yes; then : |
11629 cat >>confdefs.h <<_ACEOF | 8866 cat >>confdefs.h <<_ACEOF |
11630 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 8867 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
11631 _ACEOF | 8868 _ACEOF |
11632 | 8869 |
11633 fi | 8870 fi |
(...skipping 1232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
12866 | 10103 |
12867 $as_echo "#define vfork fork" >>confdefs.h | 10104 $as_echo "#define vfork fork" >>confdefs.h |
12868 | 10105 |
12869 fi | 10106 fi |
12870 if test "x$ac_cv_func_fork_works" = xyes; then | 10107 if test "x$ac_cv_func_fork_works" = xyes; then |
12871 | 10108 |
12872 $as_echo "#define HAVE_WORKING_FORK 1" >>confdefs.h | 10109 $as_echo "#define HAVE_WORKING_FORK 1" >>confdefs.h |
12873 | 10110 |
12874 fi | 10111 fi |
12875 | 10112 |
12876 for ac_func in canonicalize_file_name realpath getrusage getuid \ | 10113 for ac_func in canonicalize_file_name realpath getrusage getuid getgid \ |
12877 » » getgid pipe poll pread64 resize_term sbrk setpgid setpgrp setsid
\ | 10114 » » pipe poll pread pread64 pwrite readlink resize_term \ |
| 10115 » » sbrk setpgid setpgrp setsid \ |
12878 sigaction sigprocmask sigsetmask socketpair syscall \ | 10116 sigaction sigprocmask sigsetmask socketpair syscall \ |
12879 ttrace wborder wresize setlocale iconvlist libiconvlist btowc \ | 10117 ttrace wborder wresize setlocale iconvlist libiconvlist btowc \ |
12880 » » setrlimit getrlimit posix_madvise waitpid | 10118 » » setrlimit getrlimit posix_madvise waitpid lstat |
12881 do : | 10119 do : |
12882 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 10120 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
12883 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | 10121 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
12884 eval as_val=\$$as_ac_var | 10122 eval as_val=\$$as_ac_var |
12885 if test "x$as_val" = x""yes; then : | 10123 if test "x$as_val" = x""yes; then : |
12886 cat >>confdefs.h <<_ACEOF | 10124 cat >>confdefs.h <<_ACEOF |
12887 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 10125 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
12888 _ACEOF | 10126 _ACEOF |
12889 | 10127 |
12890 fi | 10128 fi |
(...skipping 476 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
13367 if test "x$ac_cv_member_struct_reg_r_gs" = x""yes; then : | 10605 if test "x$ac_cv_member_struct_reg_r_gs" = x""yes; then : |
13368 | 10606 |
13369 cat >>confdefs.h <<_ACEOF | 10607 cat >>confdefs.h <<_ACEOF |
13370 #define HAVE_STRUCT_REG_R_GS 1 | 10608 #define HAVE_STRUCT_REG_R_GS 1 |
13371 _ACEOF | 10609 _ACEOF |
13372 | 10610 |
13373 | 10611 |
13374 fi | 10612 fi |
13375 | 10613 |
13376 | 10614 |
| 10615 # See if <sys/user.h> supports the %fs_base and %gs_bas amd64 segment registers. |
| 10616 # Older amd64 Linux's don't have the fs_base and gs_base members of |
| 10617 # `struct user_regs_struct'. |
| 10618 ac_fn_c_check_member "$LINENO" "struct user_regs_struct" "fs_base" "ac_cv_member
_struct_user_regs_struct_fs_base" "#include <sys/user.h> |
| 10619 " |
| 10620 if test "x$ac_cv_member_struct_user_regs_struct_fs_base" = x""yes; then : |
| 10621 |
| 10622 cat >>confdefs.h <<_ACEOF |
| 10623 #define HAVE_STRUCT_USER_REGS_STRUCT_FS_BASE 1 |
| 10624 _ACEOF |
| 10625 |
| 10626 |
| 10627 fi |
| 10628 ac_fn_c_check_member "$LINENO" "struct user_regs_struct" "gs_base" "ac_cv_member
_struct_user_regs_struct_gs_base" "#include <sys/user.h> |
| 10629 " |
| 10630 if test "x$ac_cv_member_struct_user_regs_struct_gs_base" = x""yes; then : |
| 10631 |
| 10632 cat >>confdefs.h <<_ACEOF |
| 10633 #define HAVE_STRUCT_USER_REGS_STRUCT_GS_BASE 1 |
| 10634 _ACEOF |
| 10635 |
| 10636 |
| 10637 fi |
| 10638 |
| 10639 |
13377 # See if <sys/ptrace.h> provides the PTRACE_GETREGS request. | 10640 # See if <sys/ptrace.h> provides the PTRACE_GETREGS request. |
13378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PTRACE_GETREGS" >&5 | 10641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PTRACE_GETREGS" >&5 |
13379 $as_echo_n "checking for PTRACE_GETREGS... " >&6; } | 10642 $as_echo_n "checking for PTRACE_GETREGS... " >&6; } |
13380 if test "${gdb_cv_have_ptrace_getregs+set}" = set; then : | 10643 if test "${gdb_cv_have_ptrace_getregs+set}" = set; then : |
13381 $as_echo_n "(cached) " >&6 | 10644 $as_echo_n "(cached) " >&6 |
13382 else | 10645 else |
13383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 10646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
13384 /* end confdefs.h. */ | 10647 /* end confdefs.h. */ |
13385 #include <sys/ptrace.h> | 10648 #include <sys/ptrace.h> |
13386 int | 10649 int |
(...skipping 1376 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
14763 gdb_cv_have_aix_thread_debug=no | 12026 gdb_cv_have_aix_thread_debug=no |
14764 fi | 12027 fi |
14765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 12028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
14766 fi | 12029 fi |
14767 | 12030 |
14768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gdb_cv_have_aix_thread_d
ebug" >&5 | 12031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gdb_cv_have_aix_thread_d
ebug" >&5 |
14769 $as_echo "$gdb_cv_have_aix_thread_debug" >&6; } | 12032 $as_echo "$gdb_cv_have_aix_thread_debug" >&6; } |
14770 if test $gdb_cv_have_aix_thread_debug = yes; then | 12033 if test $gdb_cv_have_aix_thread_debug = yes; then |
14771 CONFIG_SRCS="${CONFIG_SRCS} aix-thread.c" | 12034 CONFIG_SRCS="${CONFIG_SRCS} aix-thread.c" |
14772 CONFIG_OBS="${CONFIG_OBS} aix-thread.o" | 12035 CONFIG_OBS="${CONFIG_OBS} aix-thread.o" |
14773 CONFIG_LDFLAGS="${CONFIG_LDFLAGS} -lpthdebug" | 12036 LIBS="$LIBS -lpthdebug" |
14774 | 12037 |
14775 # Older versions of AIX do not provide the declaration for | 12038 # Older versions of AIX do not provide the declaration for |
14776 # the getthrds function (it appears that it was introduced | 12039 # the getthrds function (it appears that it was introduced |
14777 # with AIX 6.x). | 12040 # with AIX 6.x). |
14778 ac_fn_c_check_decl "$LINENO" "getthrds" "ac_cv_have_decl_getthrds" "#in
clude <procinfo.h> | 12041 ac_fn_c_check_decl "$LINENO" "getthrds" "ac_cv_have_decl_getthrds" "#in
clude <procinfo.h> |
14779 " | 12042 " |
14780 if test "x$ac_cv_have_decl_getthrds" = x""yes; then : | 12043 if test "x$ac_cv_have_decl_getthrds" = x""yes; then : |
14781 ac_have_decl=1 | 12044 ac_have_decl=1 |
14782 else | 12045 else |
14783 ac_have_decl=0 | 12046 ac_have_decl=0 |
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
14995 fi | 12258 fi |
14996 | 12259 |
14997 if $have_personality | 12260 if $have_personality |
14998 then | 12261 then |
14999 | 12262 |
15000 $as_echo "#define HAVE_PERSONALITY 1" >>confdefs.h | 12263 $as_echo "#define HAVE_PERSONALITY 1" >>confdefs.h |
15001 | 12264 |
15002 fi | 12265 fi |
15003 | 12266 |
15004 | 12267 |
15005 target_sysroot_reloc=0 | 12268 # Support for --with-sysroot is a copy of GDB_AC_WITH_DIR, |
| 12269 # except that the argument to --with-sysroot is optional. |
| 12270 # --with-sysroot (or --with-sysroot=yes) sets the default sysroot path. |
| 12271 if test "x$with_sysroot" = xyes; then |
| 12272 with_sysroot="${exec_prefix}/${target_alias}/sys-root" |
| 12273 fi |
15006 | 12274 |
15007 # Check whether --with-sysroot was given. | 12275 # Check whether --with-sysroot was given. |
15008 if test "${with_sysroot+set}" = set; then : | 12276 if test "${with_sysroot+set}" = set; then : |
15009 withval=$with_sysroot; | 12277 withval=$with_sysroot; TARGET_SYSTEM_ROOT=$withval |
15010 case ${with_sysroot} in | |
15011 yes) TARGET_SYSTEM_ROOT='${exec_prefix}/${target_alias}/sys-root' ;; | |
15012 *) TARGET_SYSTEM_ROOT=$with_sysroot ;; | |
15013 esac | |
15014 | |
15015 TARGET_SYSTEM_ROOT_DEFINE='-DTARGET_SYSTEM_ROOT=\"$(TARGET_SYSTEM_ROOT)\"' | |
15016 | |
15017 if test "x$prefix" = xNONE; then | |
15018 test_prefix=/usr/local | |
15019 else | |
15020 test_prefix=$prefix | |
15021 fi | |
15022 if test "x$exec_prefix" = xNONE || test "x$exec_prefix" = 'x${prefix}'; then | |
15023 test_exec_prefix=$test_prefix | |
15024 else | |
15025 test_exec_prefix=$exec_prefix | |
15026 fi | |
15027 case ${TARGET_SYSTEM_ROOT} in | |
15028 "${test_prefix}"|"${test_prefix}/"*|\ | |
15029 "${test_exec_prefix}"|"${test_exec_prefix}/"*|\ | |
15030 '${prefix}'|'${prefix}/'*|\ | |
15031 '${exec_prefix}'|'${exec_prefix}/'*) | |
15032 target_sysroot_reloc=1 | |
15033 ;; | |
15034 esac | |
15035 | |
15036 else | 12278 else |
15037 | 12279 TARGET_SYSTEM_ROOT= |
15038 TARGET_SYSTEM_ROOT= | |
15039 TARGET_SYSTEM_ROOT_DEFINE='-DTARGET_SYSTEM_ROOT=\"\"' | |
15040 | |
15041 fi | 12280 fi |
15042 | 12281 |
15043 TARGET_SYSTEM_ROOT_DEFINE="$TARGET_SYSTEM_ROOT_DEFINE -DTARGET_SYSTEM_ROOT_RELOC
ATABLE=$target_sysroot_reloc" | 12282 |
| 12283 test "x$prefix" = xNONE && prefix="$ac_default_prefix" |
| 12284 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
| 12285 ac_define_dir=`eval echo $TARGET_SYSTEM_ROOT` |
| 12286 ac_define_dir=`eval echo $ac_define_dir` |
| 12287 |
| 12288 cat >>confdefs.h <<_ACEOF |
| 12289 #define TARGET_SYSTEM_ROOT "$ac_define_dir" |
| 12290 _ACEOF |
15044 | 12291 |
15045 | 12292 |
15046 | 12293 |
| 12294 |
| 12295 if test "x$exec_prefix" = xNONE || test "x$exec_prefix" = 'x${prefix}'; then |
| 12296 if test "x$prefix" = xNONE; then |
| 12297 test_prefix=/usr/local |
| 12298 else |
| 12299 test_prefix=$prefix |
| 12300 fi |
| 12301 else |
| 12302 test_prefix=$exec_prefix |
| 12303 fi |
| 12304 value=0 |
| 12305 case ${ac_define_dir} in |
| 12306 "${test_prefix}"|"${test_prefix}/"*|\ |
| 12307 '${exec_prefix}'|'${exec_prefix}/'*) |
| 12308 value=1 |
| 12309 ;; |
| 12310 esac |
| 12311 |
| 12312 cat >>confdefs.h <<_ACEOF |
| 12313 #define TARGET_SYSTEM_ROOT_RELOCATABLE $value |
| 12314 _ACEOF |
| 12315 |
| 12316 |
| 12317 |
15047 | 12318 |
15048 | 12319 |
15049 # Check whether --with-system-gdbinit was given. | 12320 # Check whether --with-system-gdbinit was given. |
15050 if test "${with_system_gdbinit+set}" = set; then : | 12321 if test "${with_system_gdbinit+set}" = set; then : |
15051 withval=$with_system_gdbinit; | 12322 withval=$with_system_gdbinit; |
15052 SYSTEM_GDBINIT=$withval | 12323 SYSTEM_GDBINIT=$withval |
15053 else | 12324 else |
15054 SYSTEM_GDBINIT= | 12325 SYSTEM_GDBINIT= |
15055 fi | 12326 fi |
15056 | 12327 |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
15094 # Check whether --enable-werror was given. | 12365 # Check whether --enable-werror was given. |
15095 if test "${enable_werror+set}" = set; then : | 12366 if test "${enable_werror+set}" = set; then : |
15096 enableval=$enable_werror; case "${enableval}" in | 12367 enableval=$enable_werror; case "${enableval}" in |
15097 yes | y) ERROR_ON_WARNING="yes" ;; | 12368 yes | y) ERROR_ON_WARNING="yes" ;; |
15098 no | n) ERROR_ON_WARNING="no" ;; | 12369 no | n) ERROR_ON_WARNING="no" ;; |
15099 *) as_fn_error "bad value ${enableval} for --enable-werror" "$LINENO" 5 ;; | 12370 *) as_fn_error "bad value ${enableval} for --enable-werror" "$LINENO" 5 ;; |
15100 esac | 12371 esac |
15101 fi | 12372 fi |
15102 | 12373 |
15103 | 12374 |
| 12375 # Enable -Werror by default when using gcc. Turn it off for releases. |
| 12376 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" && $development; then |
| 12377 ERROR_ON_WARNING=yes |
| 12378 fi |
| 12379 |
15104 WERROR_CFLAGS="" | 12380 WERROR_CFLAGS="" |
15105 if test "${ERROR_ON_WARNING}" = yes ; then | 12381 if test "${ERROR_ON_WARNING}" = yes ; then |
15106 WERROR_CFLAGS="-Werror" | 12382 WERROR_CFLAGS="-Werror" |
15107 fi | 12383 fi |
15108 | 12384 |
15109 # The entries after -Wno-pointer-sign are disabled warnings which may | 12385 # The entries after -Wno-pointer-sign are disabled warnings which may |
15110 # be enabled in the future, which can not currently be used to build | 12386 # be enabled in the future, which can not currently be used to build |
15111 # GDB. | 12387 # GDB. |
15112 # NOTE: If you change this list, remember to update | 12388 # NOTE: If you change this list, remember to update |
15113 # gdb/doc/gdbint.texinfo. | 12389 # gdb/doc/gdbint.texinfo. |
15114 build_warnings="-Wall -Wdeclaration-after-statement -Wpointer-arith \ | 12390 build_warnings="-Wall -Wdeclaration-after-statement -Wpointer-arith \ |
15115 -Wformat-nonliteral -Wno-pointer-sign \ | 12391 -Wformat-nonliteral -Wno-pointer-sign \ |
15116 -Wno-unused -Wunused-value -Wunused-function \ | 12392 -Wno-unused -Wunused-value -Wunused-function \ |
15117 -Wno-switch -Wno-char-subscripts" | 12393 -Wno-switch -Wno-char-subscripts -Wmissing-prototypes \ |
| 12394 -Wdeclaration-after-statement" |
15118 | 12395 |
15119 # Enable -Wno-format by default when using gcc on mingw since many | 12396 # Enable -Wno-format by default when using gcc on mingw since many |
15120 # GCC versions complain about %I64. | 12397 # GCC versions complain about %I64. |
15121 case "${host}" in | 12398 case "${host}" in |
15122 *-*-mingw32*) build_warnings="$build_warnings -Wno-format" ;; | 12399 *-*-mingw32*) build_warnings="$build_warnings -Wno-format" ;; |
15123 esac | 12400 esac |
15124 | 12401 |
15125 # Check whether --enable-build-warnings was given. | 12402 # Check whether --enable-build-warnings was given. |
15126 if test "${enable_build_warnings+set}" = set; then : | 12403 if test "${enable_build_warnings+set}" = set; then : |
15127 enableval=$enable_build_warnings; case "${enableval}" in | 12404 enableval=$enable_build_warnings; case "${enableval}" in |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
15241 | 12518 |
15242 WIN32LIBS="$WIN32LIBS -lws2_32" | 12519 WIN32LIBS="$WIN32LIBS -lws2_32" |
15243 ;; | 12520 ;; |
15244 esac | 12521 esac |
15245 | 12522 |
15246 | 12523 |
15247 # Add ELF support to GDB, but only if BFD includes ELF support. | 12524 # Add ELF support to GDB, but only if BFD includes ELF support. |
15248 OLD_CFLAGS=$CFLAGS | 12525 OLD_CFLAGS=$CFLAGS |
15249 OLD_LDFLAGS=$LDFLAGS | 12526 OLD_LDFLAGS=$LDFLAGS |
15250 OLD_LIBS=$LIBS | 12527 OLD_LIBS=$LIBS |
15251 CFLAGS="$CFLAGS -I${srcdir}/../include -I../bfd -I${srcdir}/../bfd" | 12528 # Put the old CFLAGS/LDFLAGS last, in case the user's (C|LD)FLAGS |
15252 LDFLAGS="$LDFLAGS -L../bfd -L../libiberty" | 12529 # points somewhere with bfd, with -I/foo/lib and -L/foo/lib. We |
| 12530 # always want our bfd. |
| 12531 CFLAGS="-I${srcdir}/../include -I../bfd -I${srcdir}/../bfd $CFLAGS" |
| 12532 LDFLAGS="-L../bfd -L../libiberty $LDFLAGS" |
15253 intl=`echo $LIBINTL | sed 's,${top_builddir}/,,g'` | 12533 intl=`echo $LIBINTL | sed 's,${top_builddir}/,,g'` |
15254 # -ldl is provided by bfd/Makfile.am (LIBDL) <PLUGINS>. | 12534 # -ldl is provided by bfd/Makfile.am (LIBDL) <PLUGINS>. |
15255 if test "$plugins" = "yes"; then | 12535 if test "$plugins" = "yes"; then |
15256 LIBS="-ldl $LIBS" | 12536 LIBS="-ldl $LIBS" |
15257 fi | 12537 fi |
15258 LIBS="-lbfd -liberty $intl $LIBS" | 12538 LIBS="-lbfd -liberty $intl $LIBS" |
15259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELF support in BFD" >&5 | 12539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELF support in BFD" >&5 |
15260 $as_echo_n "checking for ELF support in BFD... " >&6; } | 12540 $as_echo_n "checking for ELF support in BFD... " >&6; } |
15261 if test "${gdb_cv_var_elf+set}" = set; then : | 12541 if test "${gdb_cv_var_elf+set}" = set; then : |
15262 $as_echo_n "(cached) " >&6 | 12542 $as_echo_n "(cached) " >&6 |
(...skipping 16 matching lines...) Expand all Loading... |
15279 gdb_cv_var_elf=yes | 12559 gdb_cv_var_elf=yes |
15280 else | 12560 else |
15281 gdb_cv_var_elf=no | 12561 gdb_cv_var_elf=no |
15282 fi | 12562 fi |
15283 rm -f core conftest.err conftest.$ac_objext \ | 12563 rm -f core conftest.err conftest.$ac_objext \ |
15284 conftest$ac_exeext conftest.$ac_ext | 12564 conftest$ac_exeext conftest.$ac_ext |
15285 fi | 12565 fi |
15286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gdb_cv_var_elf" >&5 | 12566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gdb_cv_var_elf" >&5 |
15287 $as_echo "$gdb_cv_var_elf" >&6; } | 12567 $as_echo "$gdb_cv_var_elf" >&6; } |
15288 if test $gdb_cv_var_elf = yes; then | 12568 if test $gdb_cv_var_elf = yes; then |
15289 CONFIG_OBS="$CONFIG_OBS elfread.o" | 12569 CONFIG_OBS="$CONFIG_OBS elfread.o stap-probe.o" |
15290 | 12570 |
15291 $as_echo "#define HAVE_ELF 1" >>confdefs.h | 12571 $as_echo "#define HAVE_ELF 1" >>confdefs.h |
15292 | 12572 |
15293 # -ldl is provided by bfd/Makfile.am (LIBDL) <PLUGINS>. | 12573 # -ldl is provided by bfd/Makfile.am (LIBDL) <PLUGINS>. |
15294 if test "$plugins" = "yes"; then | 12574 if test "$plugins" = "yes"; then |
15295 OLD_LIBS="-ldl $OLD_LIBS" | 12575 OLD_LIBS="-ldl $OLD_LIBS" |
15296 fi | 12576 fi |
15297 fi | 12577 fi |
15298 CFLAGS=$OLD_CFLAGS | 12578 CFLAGS=$OLD_CFLAGS |
15299 LDFLAGS=$OLD_LDFLAGS | 12579 LDFLAGS=$OLD_LDFLAGS |
(...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
15591 # of TCL_BUILD_LIB_SPEC. An extension should make use of TCL_LIB_SPEC | 12871 # of TCL_BUILD_LIB_SPEC. An extension should make use of TCL_LIB_SPEC |
15592 # instead of TCL_BUILD_LIB_SPEC since it will work with both an | 12872 # instead of TCL_BUILD_LIB_SPEC since it will work with both an |
15593 # installed and uninstalled version of Tcl. | 12873 # installed and uninstalled version of Tcl. |
15594 if test -f "${TCL_BIN_DIR}/Makefile" ; then | 12874 if test -f "${TCL_BIN_DIR}/Makefile" ; then |
15595 TCL_LIB_SPEC=${TCL_BUILD_LIB_SPEC} | 12875 TCL_LIB_SPEC=${TCL_BUILD_LIB_SPEC} |
15596 TCL_STUB_LIB_SPEC=${TCL_BUILD_STUB_LIB_SPEC} | 12876 TCL_STUB_LIB_SPEC=${TCL_BUILD_STUB_LIB_SPEC} |
15597 TCL_STUB_LIB_PATH=${TCL_BUILD_STUB_LIB_PATH} | 12877 TCL_STUB_LIB_PATH=${TCL_BUILD_STUB_LIB_PATH} |
15598 elif test "`uname -s`" = "Darwin"; then | 12878 elif test "`uname -s`" = "Darwin"; then |
15599 # If Tcl was built as a framework, attempt to use the libraries | 12879 # If Tcl was built as a framework, attempt to use the libraries |
15600 # from the framework at the given location so that linking works | 12880 # from the framework at the given location so that linking works |
15601 » # against Tcl.framework installed in an arbitary location. | 12881 » # against Tcl.framework installed in an arbitrary location. |
15602 case ${TCL_DEFS} in | 12882 case ${TCL_DEFS} in |
15603 *TCL_FRAMEWORK*) | 12883 *TCL_FRAMEWORK*) |
15604 if test -f "${TCL_BIN_DIR}/${TCL_LIB_FILE}"; then | 12884 if test -f "${TCL_BIN_DIR}/${TCL_LIB_FILE}"; then |
15605 for i in "`cd ${TCL_BIN_DIR}; pwd`" \ | 12885 for i in "`cd ${TCL_BIN_DIR}; pwd`" \ |
15606 "`cd ${TCL_BIN_DIR}/../..; pwd`"; do | 12886 "`cd ${TCL_BIN_DIR}/../..; pwd`"; do |
15607 if test "`basename "$i"`" = "${TCL_LIB_FILE}.framework";
then | 12887 if test "`basename "$i"`" = "${TCL_LIB_FILE}.framework";
then |
15608 TCL_LIB_SPEC="-F`dirname "$i"` -framework ${TCL_LIB_
FILE}" | 12888 TCL_LIB_SPEC="-F`dirname "$i"` -framework ${TCL_LIB_
FILE}" |
15609 break | 12889 break |
15610 fi | 12890 fi |
15611 done | 12891 done |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
15706 # of TK_BUILD_LIB_SPEC. An extension should make use of TK_LIB_SPEC | 12986 # of TK_BUILD_LIB_SPEC. An extension should make use of TK_LIB_SPEC |
15707 # instead of TK_BUILD_LIB_SPEC since it will work with both an | 12987 # instead of TK_BUILD_LIB_SPEC since it will work with both an |
15708 # installed and uninstalled version of Tcl. | 12988 # installed and uninstalled version of Tcl. |
15709 if test -f "${TK_BIN_DIR}/Makefile" ; then | 12989 if test -f "${TK_BIN_DIR}/Makefile" ; then |
15710 TK_LIB_SPEC=${TK_BUILD_LIB_SPEC} | 12990 TK_LIB_SPEC=${TK_BUILD_LIB_SPEC} |
15711 TK_STUB_LIB_SPEC=${TK_BUILD_STUB_LIB_SPEC} | 12991 TK_STUB_LIB_SPEC=${TK_BUILD_STUB_LIB_SPEC} |
15712 TK_STUB_LIB_PATH=${TK_BUILD_STUB_LIB_PATH} | 12992 TK_STUB_LIB_PATH=${TK_BUILD_STUB_LIB_PATH} |
15713 elif test "`uname -s`" = "Darwin"; then | 12993 elif test "`uname -s`" = "Darwin"; then |
15714 # If Tk was built as a framework, attempt to use the libraries | 12994 # If Tk was built as a framework, attempt to use the libraries |
15715 # from the framework at the given location so that linking works | 12995 # from the framework at the given location so that linking works |
15716 » # against Tk.framework installed in an arbitary location. | 12996 » # against Tk.framework installed in an arbitrary location. |
15717 case ${TK_DEFS} in | 12997 case ${TK_DEFS} in |
15718 *TK_FRAMEWORK*) | 12998 *TK_FRAMEWORK*) |
15719 if test -f "${TK_BIN_DIR}/${TK_LIB_FILE}"; then | 12999 if test -f "${TK_BIN_DIR}/${TK_LIB_FILE}"; then |
15720 for i in "`cd ${TK_BIN_DIR}; pwd`" \ | 13000 for i in "`cd ${TK_BIN_DIR}; pwd`" \ |
15721 "`cd ${TK_BIN_DIR}/../..; pwd`"; do | 13001 "`cd ${TK_BIN_DIR}/../..; pwd`"; do |
15722 if test "`basename "$i"`" = "${TK_LIB_FILE}.framework";
then | 13002 if test "`basename "$i"`" = "${TK_LIB_FILE}.framework";
then |
15723 TK_LIB_SPEC="-F`dirname "$i"` -framework ${TK_LIB_FI
LE}" | 13003 TK_LIB_SPEC="-F`dirname "$i"` -framework ${TK_LIB_FI
LE}" |
15724 break | 13004 break |
15725 fi | 13005 fi |
15726 done | 13006 done |
(...skipping 479 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
16206 done | 13486 done |
16207 ac_config_links="$ac_config_links $ac_config_links_1" | 13487 ac_config_links="$ac_config_links $ac_config_links_1" |
16208 | 13488 |
16209 | 13489 |
16210 | 13490 |
16211 | 13491 |
16212 | 13492 |
16213 $as_echo "#define GDB_DEFAULT_HOST_CHARSET \"UTF-8\"" >>confdefs.h | 13493 $as_echo "#define GDB_DEFAULT_HOST_CHARSET \"UTF-8\"" >>confdefs.h |
16214 | 13494 |
16215 | 13495 |
16216 ac_config_files="$ac_config_files Makefile .gdbinit:gdbinit.in doc/Makefile gnul
ib/Makefile data-directory/Makefile" | 13496 ac_config_files="$ac_config_files Makefile gdb-gdb.gdb doc/Makefile data-directo
ry/Makefile" |
16217 | 13497 |
16218 ac_config_commands="$ac_config_commands default" | 13498 ac_config_commands="$ac_config_commands default" |
16219 | 13499 |
16220 cat >confcache <<\_ACEOF | 13500 cat >confcache <<\_ACEOF |
16221 # This file is a shell script that caches the results of configure | 13501 # This file is a shell script that caches the results of configure |
16222 # tests run on this system so they can be shared between configure | 13502 # tests run on this system so they can be shared between configure |
16223 # scripts and configure runs, see configure's option --config-cache. | 13503 # scripts and configure runs, see configure's option --config-cache. |
16224 # It is not useful on other systems. If it contains results you don't | 13504 # It is not useful on other systems. If it contains results you don't |
16225 # want to keep, you may remove or edit it. | 13505 # want to keep, you may remove or edit it. |
16226 # | 13506 # |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
16315 | 13595 |
16316 | 13596 |
16317 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then | 13597 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then |
16318 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined. | 13598 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined. |
16319 Usually this means the macro was only invoked conditionally." "$LINENO" 5 | 13599 Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
16320 fi | 13600 fi |
16321 if test -z "${GMAKE_TRUE}" && test -z "${GMAKE_FALSE}"; then | 13601 if test -z "${GMAKE_TRUE}" && test -z "${GMAKE_FALSE}"; then |
16322 as_fn_error "conditional \"GMAKE\" was never defined. | 13602 as_fn_error "conditional \"GMAKE\" was never defined. |
16323 Usually this means the macro was only invoked conditionally." "$LINENO" 5 | 13603 Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
16324 fi | 13604 fi |
16325 if test -z "${GL_COND_LIBTOOL_TRUE}" && test -z "${GL_COND_LIBTOOL_FALSE}"; then | |
16326 as_fn_error "conditional \"GL_COND_LIBTOOL\" was never defined. | |
16327 Usually this means the macro was only invoked conditionally." "$LINENO" 5 | |
16328 fi | |
16329 | |
16330 gl_libobjs= | |
16331 gl_ltlibobjs= | |
16332 if test -n "$gl_LIBOBJS"; then | |
16333 # Remove the extension. | |
16334 sed_drop_objext='s/\.o$//;s/\.obj$//' | |
16335 for i in `for i in $gl_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_obj
ext" | sort | uniq`; do | |
16336 gl_libobjs="$gl_libobjs $i.$ac_objext" | |
16337 gl_ltlibobjs="$gl_ltlibobjs $i.lo" | |
16338 done | |
16339 fi | |
16340 gl_LIBOBJS=$gl_libobjs | |
16341 | |
16342 gl_LTLIBOBJS=$gl_ltlibobjs | |
16343 | |
16344 | |
16345 | |
16346 gltests_libobjs= | |
16347 gltests_ltlibobjs= | |
16348 if test -n "$gltests_LIBOBJS"; then | |
16349 # Remove the extension. | |
16350 sed_drop_objext='s/\.o$//;s/\.obj$//' | |
16351 for i in `for i in $gltests_LIBOBJS; do echo "$i"; done | sed -e "$sed_dro
p_objext" | sort | uniq`; do | |
16352 gltests_libobjs="$gltests_libobjs $i.$ac_objext" | |
16353 gltests_ltlibobjs="$gltests_ltlibobjs $i.lo" | |
16354 done | |
16355 fi | |
16356 gltests_LIBOBJS=$gltests_libobjs | |
16357 | |
16358 gltests_LTLIBOBJS=$gltests_ltlibobjs | |
16359 | |
16360 | |
16361 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then | |
16362 as_fn_error "conditional \"AMDEP\" was never defined. | |
16363 Usually this means the macro was only invoked conditionally." "$LINENO" 5 | |
16364 fi | |
16365 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then | |
16366 as_fn_error "conditional \"am__fastdepCC\" was never defined. | |
16367 Usually this means the macro was only invoked conditionally." "$LINENO" 5 | |
16368 fi | |
16369 if test -n "$EXEEXT"; then | |
16370 am__EXEEXT_TRUE= | |
16371 am__EXEEXT_FALSE='#' | |
16372 else | |
16373 am__EXEEXT_TRUE='#' | |
16374 am__EXEEXT_FALSE= | |
16375 fi | |
16376 | |
16377 | 13605 |
16378 | 13606 |
16379 : ${CONFIG_STATUS=./config.status} | 13607 : ${CONFIG_STATUS=./config.status} |
16380 ac_write_fail=0 | 13608 ac_write_fail=0 |
16381 ac_clean_files_save=$ac_clean_files | 13609 ac_clean_files_save=$ac_clean_files |
16382 ac_clean_files="$ac_clean_files $CONFIG_STATUS" | 13610 ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
16383 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 | 13611 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 |
16384 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} | 13612 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} |
16385 as_write_fail=0 | 13613 as_write_fail=0 |
16386 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 | 13614 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 |
(...skipping 468 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
16855 configured by $0, generated by GNU Autoconf 2.64, | 14083 configured by $0, generated by GNU Autoconf 2.64, |
16856 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\
\&/g'`\\" | 14084 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\
\&/g'`\\" |
16857 | 14085 |
16858 Copyright (C) 2009 Free Software Foundation, Inc. | 14086 Copyright (C) 2009 Free Software Foundation, Inc. |
16859 This config.status script is free software; the Free Software Foundation | 14087 This config.status script is free software; the Free Software Foundation |
16860 gives unlimited permission to copy, distribute and modify it." | 14088 gives unlimited permission to copy, distribute and modify it." |
16861 | 14089 |
16862 ac_pwd='$ac_pwd' | 14090 ac_pwd='$ac_pwd' |
16863 srcdir='$srcdir' | 14091 srcdir='$srcdir' |
16864 INSTALL='$INSTALL' | 14092 INSTALL='$INSTALL' |
16865 MKDIR_P='$MKDIR_P' | |
16866 AWK='$AWK' | 14093 AWK='$AWK' |
16867 test -n "\$AWK" || AWK=awk | 14094 test -n "\$AWK" || AWK=awk |
16868 _ACEOF | 14095 _ACEOF |
16869 | 14096 |
16870 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | 14097 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
16871 # The default lists apply if the user does not specify any file. | 14098 # The default lists apply if the user does not specify any file. |
16872 ac_need_defaults=: | 14099 ac_need_defaults=: |
16873 while test $# != 0 | 14100 while test $# != 0 |
16874 do | 14101 do |
16875 case $1 in | 14102 case $1 in |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
16956 _ASBOX | 14183 _ASBOX |
16957 $as_echo "$ac_log" | 14184 $as_echo "$ac_log" |
16958 } >&5 | 14185 } >&5 |
16959 | 14186 |
16960 _ACEOF | 14187 _ACEOF |
16961 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | 14188 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
16962 # | 14189 # |
16963 # INIT-COMMANDS | 14190 # INIT-COMMANDS |
16964 # | 14191 # |
16965 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR | 14192 ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR |
16966 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" | |
16967 | 14193 |
16968 _ACEOF | 14194 _ACEOF |
16969 | 14195 |
16970 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | 14196 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
16971 | 14197 |
16972 # Handling of arguments. | 14198 # Handling of arguments. |
16973 for ac_config_target in $ac_config_targets | 14199 for ac_config_target in $ac_config_targets |
16974 do | 14200 do |
16975 case $ac_config_target in | 14201 case $ac_config_target in |
16976 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.in" ;; | 14202 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.in" ;; |
16977 "depdir") CONFIG_COMMANDS="$CONFIG_COMMANDS depdir" ;; | 14203 "depdir") CONFIG_COMMANDS="$CONFIG_COMMANDS depdir" ;; |
16978 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; | |
16979 "jit-reader.h") CONFIG_FILES="$CONFIG_FILES jit-reader.h:jit-reader.in" ;; | 14204 "jit-reader.h") CONFIG_FILES="$CONFIG_FILES jit-reader.h:jit-reader.in" ;; |
16980 "$ac_config_links_1") CONFIG_LINKS="$CONFIG_LINKS $ac_config_links_1" ;; | 14205 "$ac_config_links_1") CONFIG_LINKS="$CONFIG_LINKS $ac_config_links_1" ;; |
16981 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; | 14206 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
16982 ".gdbinit") CONFIG_FILES="$CONFIG_FILES .gdbinit:gdbinit.in" ;; | 14207 "gdb-gdb.gdb") CONFIG_FILES="$CONFIG_FILES gdb-gdb.gdb" ;; |
16983 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; | 14208 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; |
16984 "gnulib/Makefile") CONFIG_FILES="$CONFIG_FILES gnulib/Makefile" ;; | |
16985 "data-directory/Makefile") CONFIG_FILES="$CONFIG_FILES data-directory/Makefi
le" ;; | 14209 "data-directory/Makefile") CONFIG_FILES="$CONFIG_FILES data-directory/Makefi
le" ;; |
16986 "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; | 14210 "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; |
16987 | 14211 |
16988 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; | 14212 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
16989 esac | 14213 esac |
16990 done | 14214 done |
16991 | 14215 |
16992 | 14216 |
16993 # If the user did not use the arguments to specify the items to instantiate, | 14217 # If the user did not use the arguments to specify the items to instantiate, |
16994 # then the envvar interface is used. Set only those that are not. | 14218 # then the envvar interface is used. Set only those that are not. |
(...skipping 455 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
17450 case $ac_mode in | 14674 case $ac_mode in |
17451 :F) | 14675 :F) |
17452 # | 14676 # |
17453 # CONFIG_FILE | 14677 # CONFIG_FILE |
17454 # | 14678 # |
17455 | 14679 |
17456 case $INSTALL in | 14680 case $INSTALL in |
17457 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; | 14681 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
17458 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; | 14682 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; |
17459 esac | 14683 esac |
17460 ac_MKDIR_P=$MKDIR_P | |
17461 case $MKDIR_P in | |
17462 [\\/$]* | ?:[\\/]* ) ;; | |
17463 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; | |
17464 esac | |
17465 _ACEOF | 14684 _ACEOF |
17466 | 14685 |
17467 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | 14686 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
17468 # If the template does not know about datarootdir, expand it. | 14687 # If the template does not know about datarootdir, expand it. |
17469 # FIXME: This hack should be removed a few years after 2.60. | 14688 # FIXME: This hack should be removed a few years after 2.60. |
17470 ac_datarootdir_hack=; ac_datarootdir_seen= | 14689 ac_datarootdir_hack=; ac_datarootdir_seen= |
17471 ac_sed_dataroot=' | 14690 ac_sed_dataroot=' |
17472 /datarootdir/ { | 14691 /datarootdir/ { |
17473 p | 14692 p |
17474 q | 14693 q |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
17509 s&@top_builddir@&$ac_top_builddir_sub&;t t | 14728 s&@top_builddir@&$ac_top_builddir_sub&;t t |
17510 s&@top_build_prefix@&$ac_top_build_prefix&;t t | 14729 s&@top_build_prefix@&$ac_top_build_prefix&;t t |
17511 s&@srcdir@&$ac_srcdir&;t t | 14730 s&@srcdir@&$ac_srcdir&;t t |
17512 s&@abs_srcdir@&$ac_abs_srcdir&;t t | 14731 s&@abs_srcdir@&$ac_abs_srcdir&;t t |
17513 s&@top_srcdir@&$ac_top_srcdir&;t t | 14732 s&@top_srcdir@&$ac_top_srcdir&;t t |
17514 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t | 14733 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t |
17515 s&@builddir@&$ac_builddir&;t t | 14734 s&@builddir@&$ac_builddir&;t t |
17516 s&@abs_builddir@&$ac_abs_builddir&;t t | 14735 s&@abs_builddir@&$ac_abs_builddir&;t t |
17517 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t | 14736 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
17518 s&@INSTALL@&$ac_INSTALL&;t t | 14737 s&@INSTALL@&$ac_INSTALL&;t t |
17519 s&@MKDIR_P@&$ac_MKDIR_P&;t t | |
17520 $ac_datarootdir_hack | 14738 $ac_datarootdir_hack |
17521 " | 14739 " |
17522 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | | 14740 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | |
17523 if $ac_cs_awk_getline; then | 14741 if $ac_cs_awk_getline; then |
17524 $AWK -f "$tmp/subs.awk" | 14742 $AWK -f "$tmp/subs.awk" |
17525 else | 14743 else |
17526 $AWK -f "$tmp/subs.awk" | $SHELL | 14744 $AWK -f "$tmp/subs.awk" | $SHELL |
17527 fi >$tmp/out \ | 14745 fi >$tmp/out \ |
17528 || as_fn_error "could not create $ac_file" "$LINENO" 5 | 14746 || as_fn_error "could not create $ac_file" "$LINENO" 5 |
17529 | 14747 |
(...skipping 28 matching lines...) Expand all Loading... |
17558 else | 14776 else |
17559 rm -f "$ac_file" | 14777 rm -f "$ac_file" |
17560 mv "$tmp/config.h" "$ac_file" \ | 14778 mv "$tmp/config.h" "$ac_file" \ |
17561 || as_fn_error "could not create $ac_file" "$LINENO" 5 | 14779 || as_fn_error "could not create $ac_file" "$LINENO" 5 |
17562 fi | 14780 fi |
17563 else | 14781 else |
17564 $as_echo "/* $configure_input */" \ | 14782 $as_echo "/* $configure_input */" \ |
17565 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ | 14783 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ |
17566 || as_fn_error "could not create -" "$LINENO" 5 | 14784 || as_fn_error "could not create -" "$LINENO" 5 |
17567 fi | 14785 fi |
17568 # Compute "$ac_file"'s index in $config_headers. | |
17569 _am_arg="$ac_file" | |
17570 _am_stamp_count=1 | |
17571 for _am_header in $config_headers :; do | |
17572 case $_am_header in | |
17573 $_am_arg | $_am_arg:* ) | |
17574 break ;; | |
17575 * ) | |
17576 _am_stamp_count=`expr $_am_stamp_count + 1` ;; | |
17577 esac | |
17578 done | |
17579 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || | |
17580 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
17581 X"$_am_arg" : 'X\(//\)[^/]' \| \ | |
17582 X"$_am_arg" : 'X\(//\)$' \| \ | |
17583 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || | |
17584 $as_echo X"$_am_arg" | | |
17585 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
17586 s//\1/ | |
17587 q | |
17588 } | |
17589 /^X\(\/\/\)[^/].*/{ | |
17590 s//\1/ | |
17591 q | |
17592 } | |
17593 /^X\(\/\/\)$/{ | |
17594 s//\1/ | |
17595 q | |
17596 } | |
17597 /^X\(\/\).*/{ | |
17598 s//\1/ | |
17599 q | |
17600 } | |
17601 s/.*/./; q'`/stamp-h$_am_stamp_count | |
17602 ;; | 14786 ;; |
17603 :L) | 14787 :L) |
17604 # | 14788 # |
17605 # CONFIG_LINK | 14789 # CONFIG_LINK |
17606 # | 14790 # |
17607 | 14791 |
17608 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then | 14792 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then |
17609 : | 14793 : |
17610 else | 14794 else |
17611 # Prefer the file from the source tree if names are identical. | 14795 # Prefer the file from the source tree if names are identical. |
(...skipping 21 matching lines...) Expand all Loading... |
17633 fi | 14817 fi |
17634 ;; | 14818 ;; |
17635 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 | 14819 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 |
17636 $as_echo "$as_me: executing $ac_file commands" >&6;} | 14820 $as_echo "$as_me: executing $ac_file commands" >&6;} |
17637 ;; | 14821 ;; |
17638 esac | 14822 esac |
17639 | 14823 |
17640 | 14824 |
17641 case $ac_file$ac_mode in | 14825 case $ac_file$ac_mode in |
17642 "depdir":C) $SHELL $ac_aux_dir/mkinstalldirs $DEPDIR ;; | 14826 "depdir":C) $SHELL $ac_aux_dir/mkinstalldirs $DEPDIR ;; |
17643 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { | |
17644 # Autoconf 2.62 quotes --file arguments for eval, but not when files | |
17645 # are listed without --file. Let's play safe and only enable the eval | |
17646 # if we detect the quoting. | |
17647 case $CONFIG_FILES in | |
17648 *\'*) eval set x "$CONFIG_FILES" ;; | |
17649 *) set x $CONFIG_FILES ;; | |
17650 esac | |
17651 shift | |
17652 for mf | |
17653 do | |
17654 # Strip MF so we end up with the name of the file. | |
17655 mf=`echo "$mf" | sed -e 's/:.*$//'` | |
17656 # Check whether this is an Automake generated Makefile or not. | |
17657 # We used to match only the files named `Makefile.in', but | |
17658 # some people rename them; so instead we look at the file content. | |
17659 # Grep'ing the first line is not enough: some people post-process | |
17660 # each Makefile.in and add a new line on top of each file to say so. | |
17661 # Grep'ing the whole file is not good either: AIX grep has a line | |
17662 # limit of 2048, but all sed's we know have understand at least 4000. | |
17663 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1
; then | |
17664 dirpart=`$as_dirname -- "$mf" || | |
17665 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
17666 X"$mf" : 'X\(//\)[^/]' \| \ | |
17667 X"$mf" : 'X\(//\)$' \| \ | |
17668 X"$mf" : 'X\(/\)' \| . 2>/dev/null || | |
17669 $as_echo X"$mf" | | |
17670 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
17671 s//\1/ | |
17672 q | |
17673 } | |
17674 /^X\(\/\/\)[^/].*/{ | |
17675 s//\1/ | |
17676 q | |
17677 } | |
17678 /^X\(\/\/\)$/{ | |
17679 s//\1/ | |
17680 q | |
17681 } | |
17682 /^X\(\/\).*/{ | |
17683 s//\1/ | |
17684 q | |
17685 } | |
17686 s/.*/./; q'` | |
17687 else | |
17688 continue | |
17689 fi | |
17690 # Extract the definition of DEPDIR, am__include, and am__quote | |
17691 # from the Makefile without running `make'. | |
17692 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` | |
17693 test -z "$DEPDIR" && continue | |
17694 am__include=`sed -n 's/^am__include = //p' < "$mf"` | |
17695 test -z "am__include" && continue | |
17696 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` | |
17697 # When using ansi2knr, U may be empty or an underscore; expand it | |
17698 U=`sed -n 's/^U = //p' < "$mf"` | |
17699 # Find all dependency output files, they are included files with | |
17700 # $(DEPDIR) in their names. We invoke sed twice because it is the | |
17701 # simplest approach to changing $(DEPDIR) to its actual value in the | |
17702 # expansion. | |
17703 for file in `sed -n " | |
17704 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ | |
17705 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do | |
17706 # Make sure the directory exists. | |
17707 test -f "$dirpart/$file" && continue | |
17708 fdir=`$as_dirname -- "$file" || | |
17709 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
17710 X"$file" : 'X\(//\)[^/]' \| \ | |
17711 X"$file" : 'X\(//\)$' \| \ | |
17712 X"$file" : 'X\(/\)' \| . 2>/dev/null || | |
17713 $as_echo X"$file" | | |
17714 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
17715 s//\1/ | |
17716 q | |
17717 } | |
17718 /^X\(\/\/\)[^/].*/{ | |
17719 s//\1/ | |
17720 q | |
17721 } | |
17722 /^X\(\/\/\)$/{ | |
17723 s//\1/ | |
17724 q | |
17725 } | |
17726 /^X\(\/\).*/{ | |
17727 s//\1/ | |
17728 q | |
17729 } | |
17730 s/.*/./; q'` | |
17731 as_dir=$dirpart/$fdir; as_fn_mkdir_p | |
17732 # echo "creating $dirpart/$file" | |
17733 echo '# dummy' > "$dirpart/$file" | |
17734 done | |
17735 done | |
17736 } | |
17737 ;; | |
17738 "default":C) | 14827 "default":C) |
17739 case x$CONFIG_HEADERS in | 14828 case x$CONFIG_HEADERS in |
17740 xconfig.h:config.in) | 14829 xconfig.h:config.in) |
17741 echo > stamp-h ;; | 14830 echo > stamp-h ;; |
17742 esac | 14831 esac |
17743 ;; | 14832 ;; |
17744 | 14833 |
17745 esac | 14834 esac |
17746 done # for ac_tag | 14835 done # for ac_tag |
17747 | 14836 |
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
17919 cd "$ac_popdir" | 15008 cd "$ac_popdir" |
17920 done | 15009 done |
17921 fi | 15010 fi |
17922 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then | 15011 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then |
17923 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_un
recognized_opts" >&5 | 15012 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_un
recognized_opts" >&5 |
17924 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} | 15013 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} |
17925 fi | 15014 fi |
17926 | 15015 |
17927 | 15016 |
17928 exit 0 | 15017 exit 0 |
OLD | NEW |