| 467 |
# include <unistd.h> |
# include <unistd.h> |
| 468 |
#endif" |
#endif" |
| 469 |
|
|
| 470 |
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar sl4includedir sl4libdir sl4libexecdir docdir sl4docdir sl4sharedir examplesdir moduledir systemrcdir modulercdir CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CC CFLAGS ac_ct_CC CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP LN_S RANLIB ac_ct_RANLIB YACC EGREP ECHO AR ac_ct_AR CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL LEX LEXLIB LEX_OUTPUT_ROOT SHLIBPATH_VAR MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT acx_pthread_config PTHREAD_CC PTHREAD_LIBS PTHREAD_CFLAGS TERMCAP_LIBS X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS XPM_CFLAGS XPM_LIBS XTOOLKIT_CFLAGS XTOOLKIT_LIBS LIBOBJS POW_LIB LTLIBOBJS' |
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT build build_cpu build_vendor build_os host host_cpu host_vendor host_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE sl4includedir sl4libdir sl4libexecdir docdir sl4docdir sl4sharedir examplesdir moduledir systemrcdir modulercdir CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CPP LN_S RANLIB ac_ct_RANLIB YACC EGREP ECHO AR ac_ct_AR CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL LEX LEXLIB LEX_OUTPUT_ROOT SHLIBPATH_VAR MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT acx_pthread_config PTHREAD_CC PTHREAD_LIBS PTHREAD_CFLAGS TERMCAP_LIBS X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS XPM_CFLAGS XPM_LIBS XTOOLKIT_CFLAGS XTOOLKIT_LIBS LIBOBJS POW_LIB LTLIBOBJS' |
| 471 |
ac_subst_files='' |
ac_subst_files='' |
| 472 |
|
|
| 473 |
# Initialize some variables set by options. |
# Initialize some variables set by options. |
| 908 |
ac_env_target_alias_value=$target_alias |
ac_env_target_alias_value=$target_alias |
| 909 |
ac_cv_env_target_alias_set=${target_alias+set} |
ac_cv_env_target_alias_set=${target_alias+set} |
| 910 |
ac_cv_env_target_alias_value=$target_alias |
ac_cv_env_target_alias_value=$target_alias |
|
ac_env_CXX_set=${CXX+set} |
|
|
ac_env_CXX_value=$CXX |
|
|
ac_cv_env_CXX_set=${CXX+set} |
|
|
ac_cv_env_CXX_value=$CXX |
|
|
ac_env_CXXFLAGS_set=${CXXFLAGS+set} |
|
|
ac_env_CXXFLAGS_value=$CXXFLAGS |
|
|
ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set} |
|
|
ac_cv_env_CXXFLAGS_value=$CXXFLAGS |
|
|
ac_env_LDFLAGS_set=${LDFLAGS+set} |
|
|
ac_env_LDFLAGS_value=$LDFLAGS |
|
|
ac_cv_env_LDFLAGS_set=${LDFLAGS+set} |
|
|
ac_cv_env_LDFLAGS_value=$LDFLAGS |
|
|
ac_env_CPPFLAGS_set=${CPPFLAGS+set} |
|
|
ac_env_CPPFLAGS_value=$CPPFLAGS |
|
|
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} |
|
|
ac_cv_env_CPPFLAGS_value=$CPPFLAGS |
|
| 911 |
ac_env_CC_set=${CC+set} |
ac_env_CC_set=${CC+set} |
| 912 |
ac_env_CC_value=$CC |
ac_env_CC_value=$CC |
| 913 |
ac_cv_env_CC_set=${CC+set} |
ac_cv_env_CC_set=${CC+set} |
| 916 |
ac_env_CFLAGS_value=$CFLAGS |
ac_env_CFLAGS_value=$CFLAGS |
| 917 |
ac_cv_env_CFLAGS_set=${CFLAGS+set} |
ac_cv_env_CFLAGS_set=${CFLAGS+set} |
| 918 |
ac_cv_env_CFLAGS_value=$CFLAGS |
ac_cv_env_CFLAGS_value=$CFLAGS |
| 919 |
|
ac_env_LDFLAGS_set=${LDFLAGS+set} |
| 920 |
|
ac_env_LDFLAGS_value=$LDFLAGS |
| 921 |
|
ac_cv_env_LDFLAGS_set=${LDFLAGS+set} |
| 922 |
|
ac_cv_env_LDFLAGS_value=$LDFLAGS |
| 923 |
|
ac_env_CPPFLAGS_set=${CPPFLAGS+set} |
| 924 |
|
ac_env_CPPFLAGS_value=$CPPFLAGS |
| 925 |
|
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} |
| 926 |
|
ac_cv_env_CPPFLAGS_value=$CPPFLAGS |
| 927 |
|
ac_env_CXX_set=${CXX+set} |
| 928 |
|
ac_env_CXX_value=$CXX |
| 929 |
|
ac_cv_env_CXX_set=${CXX+set} |
| 930 |
|
ac_cv_env_CXX_value=$CXX |
| 931 |
|
ac_env_CXXFLAGS_set=${CXXFLAGS+set} |
| 932 |
|
ac_env_CXXFLAGS_value=$CXXFLAGS |
| 933 |
|
ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set} |
| 934 |
|
ac_cv_env_CXXFLAGS_value=$CXXFLAGS |
| 935 |
ac_env_CPP_set=${CPP+set} |
ac_env_CPP_set=${CPP+set} |
| 936 |
ac_env_CPP_value=$CPP |
ac_env_CPP_value=$CPP |
| 937 |
ac_cv_env_CPP_set=${CPP+set} |
ac_cv_env_CPP_set=${CPP+set} |
| 1021 |
System types: |
System types: |
| 1022 |
--build=BUILD configure for building on BUILD [guessed] |
--build=BUILD configure for building on BUILD [guessed] |
| 1023 |
--host=HOST cross-compile to build programs to run on HOST [BUILD] |
--host=HOST cross-compile to build programs to run on HOST [BUILD] |
|
--target=TARGET configure for building compilers for TARGET [HOST] |
|
| 1024 |
_ACEOF |
_ACEOF |
| 1025 |
fi |
fi |
| 1026 |
|
|
| 1033 |
Optional Features: |
Optional Features: |
| 1034 |
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
| 1035 |
--enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
--enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
|
--enable-static[=PKGS] |
|
|
build static libraries [default=no] |
|
| 1036 |
--disable-dependency-tracking speeds up one-time build |
--disable-dependency-tracking speeds up one-time build |
| 1037 |
--enable-dependency-tracking do not reject slow dependency extractors |
--enable-dependency-tracking do not reject slow dependency extractors |
| 1038 |
|
--enable-static[=PKGS] |
| 1039 |
|
build static libraries [default=no] |
| 1040 |
--enable-shared[=PKGS] |
--enable-shared[=PKGS] |
| 1041 |
build shared libraries [default=yes] |
build shared libraries [default=yes] |
| 1042 |
--enable-fast-install[=PKGS] |
--enable-fast-install[=PKGS] |
| 1057 |
--with-xaw3d[=prefix] use Xaw3d for X widget set |
--with-xaw3d[=prefix] use Xaw3d for X widget set |
| 1058 |
|
|
| 1059 |
Some influential environment variables: |
Some influential environment variables: |
| 1060 |
CXX C++ compiler command |
CC C compiler command |
| 1061 |
CXXFLAGS C++ compiler flags |
CFLAGS C compiler flags |
| 1062 |
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
| 1063 |
nonstandard directory <lib dir> |
nonstandard directory <lib dir> |
| 1064 |
CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have |
CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have |
| 1065 |
headers in a nonstandard directory <include dir> |
headers in a nonstandard directory <include dir> |
| 1066 |
CC C compiler command |
CXX C++ compiler command |
| 1067 |
CFLAGS C compiler flags |
CXXFLAGS C++ compiler flags |
| 1068 |
CPP C preprocessor |
CPP C preprocessor |
| 1069 |
CXXCPP C++ preprocessor |
CXXCPP C++ preprocessor |
| 1070 |
F77 Fortran 77 compiler command |
F77 Fortran 77 compiler command |
| 1549 |
|
|
| 1550 |
|
|
| 1551 |
|
|
| 1552 |
|
|
| 1553 |
|
cat >>confdefs.h <<\_ACEOF |
| 1554 |
|
#define _GNU_SOURCE 1 |
| 1555 |
|
_ACEOF |
| 1556 |
|
|
| 1557 |
|
|
| 1558 |
|
ac_ext=c |
| 1559 |
|
ac_cpp='$CPP $CPPFLAGS' |
| 1560 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 1561 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 1562 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 1563 |
|
if test -n "$ac_tool_prefix"; then |
| 1564 |
|
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
| 1565 |
|
set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
| 1566 |
|
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 1567 |
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 1568 |
|
if test "${ac_cv_prog_CC+set}" = set; then |
| 1569 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 1570 |
|
else |
| 1571 |
|
if test -n "$CC"; then |
| 1572 |
|
ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1573 |
|
else |
| 1574 |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 1575 |
|
for as_dir in $PATH |
| 1576 |
|
do |
| 1577 |
|
IFS=$as_save_IFS |
| 1578 |
|
test -z "$as_dir" && as_dir=. |
| 1579 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 1580 |
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 1581 |
|
ac_cv_prog_CC="${ac_tool_prefix}gcc" |
| 1582 |
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 1583 |
|
break 2 |
| 1584 |
|
fi |
| 1585 |
|
done |
| 1586 |
|
done |
| 1587 |
|
|
| 1588 |
|
fi |
| 1589 |
|
fi |
| 1590 |
|
CC=$ac_cv_prog_CC |
| 1591 |
|
if test -n "$CC"; then |
| 1592 |
|
echo "$as_me:$LINENO: result: $CC" >&5 |
| 1593 |
|
echo "${ECHO_T}$CC" >&6 |
| 1594 |
|
else |
| 1595 |
|
echo "$as_me:$LINENO: result: no" >&5 |
| 1596 |
|
echo "${ECHO_T}no" >&6 |
| 1597 |
|
fi |
| 1598 |
|
|
| 1599 |
|
fi |
| 1600 |
|
if test -z "$ac_cv_prog_CC"; then |
| 1601 |
|
ac_ct_CC=$CC |
| 1602 |
|
# Extract the first word of "gcc", so it can be a program name with args. |
| 1603 |
|
set dummy gcc; ac_word=$2 |
| 1604 |
|
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 1605 |
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 1606 |
|
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
| 1607 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 1608 |
|
else |
| 1609 |
|
if test -n "$ac_ct_CC"; then |
| 1610 |
|
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
| 1611 |
|
else |
| 1612 |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 1613 |
|
for as_dir in $PATH |
| 1614 |
|
do |
| 1615 |
|
IFS=$as_save_IFS |
| 1616 |
|
test -z "$as_dir" && as_dir=. |
| 1617 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 1618 |
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 1619 |
|
ac_cv_prog_ac_ct_CC="gcc" |
| 1620 |
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 1621 |
|
break 2 |
| 1622 |
|
fi |
| 1623 |
|
done |
| 1624 |
|
done |
| 1625 |
|
|
| 1626 |
|
fi |
| 1627 |
|
fi |
| 1628 |
|
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
| 1629 |
|
if test -n "$ac_ct_CC"; then |
| 1630 |
|
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
| 1631 |
|
echo "${ECHO_T}$ac_ct_CC" >&6 |
| 1632 |
|
else |
| 1633 |
|
echo "$as_me:$LINENO: result: no" >&5 |
| 1634 |
|
echo "${ECHO_T}no" >&6 |
| 1635 |
|
fi |
| 1636 |
|
|
| 1637 |
|
CC=$ac_ct_CC |
| 1638 |
|
else |
| 1639 |
|
CC="$ac_cv_prog_CC" |
| 1640 |
|
fi |
| 1641 |
|
|
| 1642 |
|
if test -z "$CC"; then |
| 1643 |
|
if test -n "$ac_tool_prefix"; then |
| 1644 |
|
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
| 1645 |
|
set dummy ${ac_tool_prefix}cc; ac_word=$2 |
| 1646 |
|
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 1647 |
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 1648 |
|
if test "${ac_cv_prog_CC+set}" = set; then |
| 1649 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 1650 |
|
else |
| 1651 |
|
if test -n "$CC"; then |
| 1652 |
|
ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1653 |
|
else |
| 1654 |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 1655 |
|
for as_dir in $PATH |
| 1656 |
|
do |
| 1657 |
|
IFS=$as_save_IFS |
| 1658 |
|
test -z "$as_dir" && as_dir=. |
| 1659 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 1660 |
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 1661 |
|
ac_cv_prog_CC="${ac_tool_prefix}cc" |
| 1662 |
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 1663 |
|
break 2 |
| 1664 |
|
fi |
| 1665 |
|
done |
| 1666 |
|
done |
| 1667 |
|
|
| 1668 |
|
fi |
| 1669 |
|
fi |
| 1670 |
|
CC=$ac_cv_prog_CC |
| 1671 |
|
if test -n "$CC"; then |
| 1672 |
|
echo "$as_me:$LINENO: result: $CC" >&5 |
| 1673 |
|
echo "${ECHO_T}$CC" >&6 |
| 1674 |
|
else |
| 1675 |
|
echo "$as_me:$LINENO: result: no" >&5 |
| 1676 |
|
echo "${ECHO_T}no" >&6 |
| 1677 |
|
fi |
| 1678 |
|
|
| 1679 |
|
fi |
| 1680 |
|
if test -z "$ac_cv_prog_CC"; then |
| 1681 |
|
ac_ct_CC=$CC |
| 1682 |
|
# Extract the first word of "cc", so it can be a program name with args. |
| 1683 |
|
set dummy cc; ac_word=$2 |
| 1684 |
|
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 1685 |
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 1686 |
|
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
| 1687 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 1688 |
|
else |
| 1689 |
|
if test -n "$ac_ct_CC"; then |
| 1690 |
|
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
| 1691 |
|
else |
| 1692 |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 1693 |
|
for as_dir in $PATH |
| 1694 |
|
do |
| 1695 |
|
IFS=$as_save_IFS |
| 1696 |
|
test -z "$as_dir" && as_dir=. |
| 1697 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 1698 |
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 1699 |
|
ac_cv_prog_ac_ct_CC="cc" |
| 1700 |
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 1701 |
|
break 2 |
| 1702 |
|
fi |
| 1703 |
|
done |
| 1704 |
|
done |
| 1705 |
|
|
| 1706 |
|
fi |
| 1707 |
|
fi |
| 1708 |
|
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
| 1709 |
|
if test -n "$ac_ct_CC"; then |
| 1710 |
|
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
| 1711 |
|
echo "${ECHO_T}$ac_ct_CC" >&6 |
| 1712 |
|
else |
| 1713 |
|
echo "$as_me:$LINENO: result: no" >&5 |
| 1714 |
|
echo "${ECHO_T}no" >&6 |
| 1715 |
|
fi |
| 1716 |
|
|
| 1717 |
|
CC=$ac_ct_CC |
| 1718 |
|
else |
| 1719 |
|
CC="$ac_cv_prog_CC" |
| 1720 |
|
fi |
| 1721 |
|
|
| 1722 |
|
fi |
| 1723 |
|
if test -z "$CC"; then |
| 1724 |
|
# Extract the first word of "cc", so it can be a program name with args. |
| 1725 |
|
set dummy cc; ac_word=$2 |
| 1726 |
|
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 1727 |
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 1728 |
|
if test "${ac_cv_prog_CC+set}" = set; then |
| 1729 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 1730 |
|
else |
| 1731 |
|
if test -n "$CC"; then |
| 1732 |
|
ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1733 |
|
else |
| 1734 |
|
ac_prog_rejected=no |
| 1735 |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 1736 |
|
for as_dir in $PATH |
| 1737 |
|
do |
| 1738 |
|
IFS=$as_save_IFS |
| 1739 |
|
test -z "$as_dir" && as_dir=. |
| 1740 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 1741 |
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 1742 |
|
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
| 1743 |
|
ac_prog_rejected=yes |
| 1744 |
|
continue |
| 1745 |
|
fi |
| 1746 |
|
ac_cv_prog_CC="cc" |
| 1747 |
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 1748 |
|
break 2 |
| 1749 |
|
fi |
| 1750 |
|
done |
| 1751 |
|
done |
| 1752 |
|
|
| 1753 |
|
if test $ac_prog_rejected = yes; then |
| 1754 |
|
# We found a bogon in the path, so make sure we never use it. |
| 1755 |
|
set dummy $ac_cv_prog_CC |
| 1756 |
|
shift |
| 1757 |
|
if test $# != 0; then |
| 1758 |
|
# We chose a different compiler from the bogus one. |
| 1759 |
|
# However, it has the same basename, so the bogon will be chosen |
| 1760 |
|
# first if we set CC to just the basename; use the full file name. |
| 1761 |
|
shift |
| 1762 |
|
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
| 1763 |
|
fi |
| 1764 |
|
fi |
| 1765 |
|
fi |
| 1766 |
|
fi |
| 1767 |
|
CC=$ac_cv_prog_CC |
| 1768 |
|
if test -n "$CC"; then |
| 1769 |
|
echo "$as_me:$LINENO: result: $CC" >&5 |
| 1770 |
|
echo "${ECHO_T}$CC" >&6 |
| 1771 |
|
else |
| 1772 |
|
echo "$as_me:$LINENO: result: no" >&5 |
| 1773 |
|
echo "${ECHO_T}no" >&6 |
| 1774 |
|
fi |
| 1775 |
|
|
| 1776 |
|
fi |
| 1777 |
|
if test -z "$CC"; then |
| 1778 |
|
if test -n "$ac_tool_prefix"; then |
| 1779 |
|
for ac_prog in cl |
| 1780 |
|
do |
| 1781 |
|
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
| 1782 |
|
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
| 1783 |
|
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 1784 |
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 1785 |
|
if test "${ac_cv_prog_CC+set}" = set; then |
| 1786 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 1787 |
|
else |
| 1788 |
|
if test -n "$CC"; then |
| 1789 |
|
ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1790 |
|
else |
| 1791 |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 1792 |
|
for as_dir in $PATH |
| 1793 |
|
do |
| 1794 |
|
IFS=$as_save_IFS |
| 1795 |
|
test -z "$as_dir" && as_dir=. |
| 1796 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 1797 |
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 1798 |
|
ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
| 1799 |
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 1800 |
|
break 2 |
| 1801 |
|
fi |
| 1802 |
|
done |
| 1803 |
|
done |
| 1804 |
|
|
| 1805 |
|
fi |
| 1806 |
|
fi |
| 1807 |
|
CC=$ac_cv_prog_CC |
| 1808 |
|
if test -n "$CC"; then |
| 1809 |
|
echo "$as_me:$LINENO: result: $CC" >&5 |
| 1810 |
|
echo "${ECHO_T}$CC" >&6 |
| 1811 |
|
else |
| 1812 |
|
echo "$as_me:$LINENO: result: no" >&5 |
| 1813 |
|
echo "${ECHO_T}no" >&6 |
| 1814 |
|
fi |
| 1815 |
|
|
| 1816 |
|
test -n "$CC" && break |
| 1817 |
|
done |
| 1818 |
|
fi |
| 1819 |
|
if test -z "$CC"; then |
| 1820 |
|
ac_ct_CC=$CC |
| 1821 |
|
for ac_prog in cl |
| 1822 |
|
do |
| 1823 |
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
| 1824 |
|
set dummy $ac_prog; ac_word=$2 |
| 1825 |
|
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
| 1826 |
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
| 1827 |
|
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
| 1828 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 1829 |
|
else |
| 1830 |
|
if test -n "$ac_ct_CC"; then |
| 1831 |
|
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
| 1832 |
|
else |
| 1833 |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 1834 |
|
for as_dir in $PATH |
| 1835 |
|
do |
| 1836 |
|
IFS=$as_save_IFS |
| 1837 |
|
test -z "$as_dir" && as_dir=. |
| 1838 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
| 1839 |
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 1840 |
|
ac_cv_prog_ac_ct_CC="$ac_prog" |
| 1841 |
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 1842 |
|
break 2 |
| 1843 |
|
fi |
| 1844 |
|
done |
| 1845 |
|
done |
| 1846 |
|
|
| 1847 |
|
fi |
| 1848 |
|
fi |
| 1849 |
|
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
| 1850 |
|
if test -n "$ac_ct_CC"; then |
| 1851 |
|
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
| 1852 |
|
echo "${ECHO_T}$ac_ct_CC" >&6 |
| 1853 |
|
else |
| 1854 |
|
echo "$as_me:$LINENO: result: no" >&5 |
| 1855 |
|
echo "${ECHO_T}no" >&6 |
| 1856 |
|
fi |
| 1857 |
|
|
| 1858 |
|
test -n "$ac_ct_CC" && break |
| 1859 |
|
done |
| 1860 |
|
|
| 1861 |
|
CC=$ac_ct_CC |
| 1862 |
|
fi |
| 1863 |
|
|
| 1864 |
|
fi |
| 1865 |
|
|
| 1866 |
|
|
| 1867 |
|
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH |
| 1868 |
|
See \`config.log' for more details." >&5 |
| 1869 |
|
echo "$as_me: error: no acceptable C compiler found in \$PATH |
| 1870 |
|
See \`config.log' for more details." >&2;} |
| 1871 |
|
{ (exit 1); exit 1; }; } |
| 1872 |
|
|
| 1873 |
|
# Provide some information about the compiler. |
| 1874 |
|
echo "$as_me:$LINENO:" \ |
| 1875 |
|
"checking for C compiler version" >&5 |
| 1876 |
|
ac_compiler=`set X $ac_compile; echo $2` |
| 1877 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 |
| 1878 |
|
(eval $ac_compiler --version </dev/null >&5) 2>&5 |
| 1879 |
|
ac_status=$? |
| 1880 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 1881 |
|
(exit $ac_status); } |
| 1882 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 |
| 1883 |
|
(eval $ac_compiler -v </dev/null >&5) 2>&5 |
| 1884 |
|
ac_status=$? |
| 1885 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 1886 |
|
(exit $ac_status); } |
| 1887 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 |
| 1888 |
|
(eval $ac_compiler -V </dev/null >&5) 2>&5 |
| 1889 |
|
ac_status=$? |
| 1890 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 1891 |
|
(exit $ac_status); } |
| 1892 |
|
|
| 1893 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 1894 |
|
/* confdefs.h. */ |
| 1895 |
|
_ACEOF |
| 1896 |
|
cat confdefs.h >>conftest.$ac_ext |
| 1897 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 1898 |
|
/* end confdefs.h. */ |
| 1899 |
|
|
| 1900 |
|
int |
| 1901 |
|
main () |
| 1902 |
|
{ |
| 1903 |
|
|
| 1904 |
|
; |
| 1905 |
|
return 0; |
| 1906 |
|
} |
| 1907 |
|
_ACEOF |
| 1908 |
|
ac_clean_files_save=$ac_clean_files |
| 1909 |
|
ac_clean_files="$ac_clean_files a.out a.exe b.out" |
| 1910 |
|
# Try to create an executable without -o first, disregard a.out. |
| 1911 |
|
# It will help us diagnose broken compilers, and finding out an intuition |
| 1912 |
|
# of exeext. |
| 1913 |
|
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 |
| 1914 |
|
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 |
| 1915 |
|
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
| 1916 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 |
| 1917 |
|
(eval $ac_link_default) 2>&5 |
| 1918 |
|
ac_status=$? |
| 1919 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 1920 |
|
(exit $ac_status); }; then |
| 1921 |
|
# Find the output, starting from the most likely. This scheme is |
| 1922 |
|
# not robust to junk in `.', hence go to wildcards (a.*) only as a last |
| 1923 |
|
# resort. |
| 1924 |
|
|
| 1925 |
|
# Be careful to initialize this variable, since it used to be cached. |
| 1926 |
|
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. |
| 1927 |
|
ac_cv_exeext= |
| 1928 |
|
# b.out is created by i960 compilers. |
| 1929 |
|
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out |
| 1930 |
|
do |
| 1931 |
|
test -f "$ac_file" || continue |
| 1932 |
|
case $ac_file in |
| 1933 |
|
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) |
| 1934 |
|
;; |
| 1935 |
|
conftest.$ac_ext ) |
| 1936 |
|
# This is the source file. |
| 1937 |
|
;; |
| 1938 |
|
[ab].out ) |
| 1939 |
|
# We found the default executable, but exeext='' is most |
| 1940 |
|
# certainly right. |
| 1941 |
|
break;; |
| 1942 |
|
*.* ) |
| 1943 |
|
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
| 1944 |
|
# FIXME: I believe we export ac_cv_exeext for Libtool, |
| 1945 |
|
# but it would be cool to find out if it's true. Does anybody |
| 1946 |
|
# maintain Libtool? --akim. |
| 1947 |
|
export ac_cv_exeext |
| 1948 |
|
break;; |
| 1949 |
|
* ) |
| 1950 |
|
break;; |
| 1951 |
|
esac |
| 1952 |
|
done |
| 1953 |
|
else |
| 1954 |
|
echo "$as_me: failed program was:" >&5 |
| 1955 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 1956 |
|
|
| 1957 |
|
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables |
| 1958 |
|
See \`config.log' for more details." >&5 |
| 1959 |
|
echo "$as_me: error: C compiler cannot create executables |
| 1960 |
|
See \`config.log' for more details." >&2;} |
| 1961 |
|
{ (exit 77); exit 77; }; } |
| 1962 |
|
fi |
| 1963 |
|
|
| 1964 |
|
ac_exeext=$ac_cv_exeext |
| 1965 |
|
echo "$as_me:$LINENO: result: $ac_file" >&5 |
| 1966 |
|
echo "${ECHO_T}$ac_file" >&6 |
| 1967 |
|
|
| 1968 |
|
# Check the compiler produces executables we can run. If not, either |
| 1969 |
|
# the compiler is broken, or we cross compile. |
| 1970 |
|
echo "$as_me:$LINENO: checking whether the C compiler works" >&5 |
| 1971 |
|
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 |
| 1972 |
|
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 |
| 1973 |
|
# If not cross compiling, check that we can run a simple program. |
| 1974 |
|
if test "$cross_compiling" != yes; then |
| 1975 |
|
if { ac_try='./$ac_file' |
| 1976 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 1977 |
|
(eval $ac_try) 2>&5 |
| 1978 |
|
ac_status=$? |
| 1979 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 1980 |
|
(exit $ac_status); }; }; then |
| 1981 |
|
cross_compiling=no |
| 1982 |
|
else |
| 1983 |
|
if test "$cross_compiling" = maybe; then |
| 1984 |
|
cross_compiling=yes |
| 1985 |
|
else |
| 1986 |
|
{ { echo "$as_me:$LINENO: error: cannot run C compiled programs. |
| 1987 |
|
If you meant to cross compile, use \`--host'. |
| 1988 |
|
See \`config.log' for more details." >&5 |
| 1989 |
|
echo "$as_me: error: cannot run C compiled programs. |
| 1990 |
|
If you meant to cross compile, use \`--host'. |
| 1991 |
|
See \`config.log' for more details." >&2;} |
| 1992 |
|
{ (exit 1); exit 1; }; } |
| 1993 |
|
fi |
| 1994 |
|
fi |
| 1995 |
|
fi |
| 1996 |
|
echo "$as_me:$LINENO: result: yes" >&5 |
| 1997 |
|
echo "${ECHO_T}yes" >&6 |
| 1998 |
|
|
| 1999 |
|
rm -f a.out a.exe conftest$ac_cv_exeext b.out |
| 2000 |
|
ac_clean_files=$ac_clean_files_save |
| 2001 |
|
# Check the compiler produces executables we can run. If not, either |
| 2002 |
|
# the compiler is broken, or we cross compile. |
| 2003 |
|
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 |
| 2004 |
|
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 |
| 2005 |
|
echo "$as_me:$LINENO: result: $cross_compiling" >&5 |
| 2006 |
|
echo "${ECHO_T}$cross_compiling" >&6 |
| 2007 |
|
|
| 2008 |
|
echo "$as_me:$LINENO: checking for suffix of executables" >&5 |
| 2009 |
|
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 |
| 2010 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 2011 |
|
(eval $ac_link) 2>&5 |
| 2012 |
|
ac_status=$? |
| 2013 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2014 |
|
(exit $ac_status); }; then |
| 2015 |
|
# If both `conftest.exe' and `conftest' are `present' (well, observable) |
| 2016 |
|
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
| 2017 |
|
# work properly (i.e., refer to `conftest.exe'), while it won't with |
| 2018 |
|
# `rm'. |
| 2019 |
|
for ac_file in conftest.exe conftest conftest.*; do |
| 2020 |
|
test -f "$ac_file" || continue |
| 2021 |
|
case $ac_file in |
| 2022 |
|
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; |
| 2023 |
|
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
| 2024 |
|
export ac_cv_exeext |
| 2025 |
|
break;; |
| 2026 |
|
* ) break;; |
| 2027 |
|
esac |
| 2028 |
|
done |
| 2029 |
|
else |
| 2030 |
|
{ { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link |
| 2031 |
|
See \`config.log' for more details." >&5 |
| 2032 |
|
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link |
| 2033 |
|
See \`config.log' for more details." >&2;} |
| 2034 |
|
{ (exit 1); exit 1; }; } |
| 2035 |
|
fi |
| 2036 |
|
|
| 2037 |
|
rm -f conftest$ac_cv_exeext |
| 2038 |
|
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 |
| 2039 |
|
echo "${ECHO_T}$ac_cv_exeext" >&6 |
| 2040 |
|
|
| 2041 |
|
rm -f conftest.$ac_ext |
| 2042 |
|
EXEEXT=$ac_cv_exeext |
| 2043 |
|
ac_exeext=$EXEEXT |
| 2044 |
|
echo "$as_me:$LINENO: checking for suffix of object files" >&5 |
| 2045 |
|
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 |
| 2046 |
|
if test "${ac_cv_objext+set}" = set; then |
| 2047 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2048 |
|
else |
| 2049 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 2050 |
|
/* confdefs.h. */ |
| 2051 |
|
_ACEOF |
| 2052 |
|
cat confdefs.h >>conftest.$ac_ext |
| 2053 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 2054 |
|
/* end confdefs.h. */ |
| 2055 |
|
|
| 2056 |
|
int |
| 2057 |
|
main () |
| 2058 |
|
{ |
| 2059 |
|
|
| 2060 |
|
; |
| 2061 |
|
return 0; |
| 2062 |
|
} |
| 2063 |
|
_ACEOF |
| 2064 |
|
rm -f conftest.o conftest.obj |
| 2065 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 2066 |
|
(eval $ac_compile) 2>&5 |
| 2067 |
|
ac_status=$? |
| 2068 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2069 |
|
(exit $ac_status); }; then |
| 2070 |
|
for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do |
| 2071 |
|
case $ac_file in |
| 2072 |
|
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; |
| 2073 |
|
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
| 2074 |
|
break;; |
| 2075 |
|
esac |
| 2076 |
|
done |
| 2077 |
|
else |
| 2078 |
|
echo "$as_me: failed program was:" >&5 |
| 2079 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 2080 |
|
|
| 2081 |
|
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile |
| 2082 |
|
See \`config.log' for more details." >&5 |
| 2083 |
|
echo "$as_me: error: cannot compute suffix of object files: cannot compile |
| 2084 |
|
See \`config.log' for more details." >&2;} |
| 2085 |
|
{ (exit 1); exit 1; }; } |
| 2086 |
|
fi |
| 2087 |
|
|
| 2088 |
|
rm -f conftest.$ac_cv_objext conftest.$ac_ext |
| 2089 |
|
fi |
| 2090 |
|
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 |
| 2091 |
|
echo "${ECHO_T}$ac_cv_objext" >&6 |
| 2092 |
|
OBJEXT=$ac_cv_objext |
| 2093 |
|
ac_objext=$OBJEXT |
| 2094 |
|
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 |
| 2095 |
|
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 |
| 2096 |
|
if test "${ac_cv_c_compiler_gnu+set}" = set; then |
| 2097 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2098 |
|
else |
| 2099 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 2100 |
|
/* confdefs.h. */ |
| 2101 |
|
_ACEOF |
| 2102 |
|
cat confdefs.h >>conftest.$ac_ext |
| 2103 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 2104 |
|
/* end confdefs.h. */ |
| 2105 |
|
|
| 2106 |
|
int |
| 2107 |
|
main () |
| 2108 |
|
{ |
| 2109 |
|
#ifndef __GNUC__ |
| 2110 |
|
choke me |
| 2111 |
|
#endif |
| 2112 |
|
|
| 2113 |
|
; |
| 2114 |
|
return 0; |
| 2115 |
|
} |
| 2116 |
|
_ACEOF |
| 2117 |
|
rm -f conftest.$ac_objext |
| 2118 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 2119 |
|
(eval $ac_compile) 2>conftest.er1 |
| 2120 |
|
ac_status=$? |
| 2121 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 2122 |
|
rm -f conftest.er1 |
| 2123 |
|
cat conftest.err >&5 |
| 2124 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2125 |
|
(exit $ac_status); } && |
| 2126 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
| 2127 |
|
|| test ! -s conftest.err' |
| 2128 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2129 |
|
(eval $ac_try) 2>&5 |
| 2130 |
|
ac_status=$? |
| 2131 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2132 |
|
(exit $ac_status); }; } && |
| 2133 |
|
{ ac_try='test -s conftest.$ac_objext' |
| 2134 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2135 |
|
(eval $ac_try) 2>&5 |
| 2136 |
|
ac_status=$? |
| 2137 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2138 |
|
(exit $ac_status); }; }; then |
| 2139 |
|
ac_compiler_gnu=yes |
| 2140 |
|
else |
| 2141 |
|
echo "$as_me: failed program was:" >&5 |
| 2142 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 2143 |
|
|
| 2144 |
|
ac_compiler_gnu=no |
| 2145 |
|
fi |
| 2146 |
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2147 |
|
ac_cv_c_compiler_gnu=$ac_compiler_gnu |
| 2148 |
|
|
| 2149 |
|
fi |
| 2150 |
|
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
| 2151 |
|
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 |
| 2152 |
|
GCC=`test $ac_compiler_gnu = yes && echo yes` |
| 2153 |
|
ac_test_CFLAGS=${CFLAGS+set} |
| 2154 |
|
ac_save_CFLAGS=$CFLAGS |
| 2155 |
|
CFLAGS="-g" |
| 2156 |
|
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 |
| 2157 |
|
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 |
| 2158 |
|
if test "${ac_cv_prog_cc_g+set}" = set; then |
| 2159 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2160 |
|
else |
| 2161 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 2162 |
|
/* confdefs.h. */ |
| 2163 |
|
_ACEOF |
| 2164 |
|
cat confdefs.h >>conftest.$ac_ext |
| 2165 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 2166 |
|
/* end confdefs.h. */ |
| 2167 |
|
|
| 2168 |
|
int |
| 2169 |
|
main () |
| 2170 |
|
{ |
| 2171 |
|
|
| 2172 |
|
; |
| 2173 |
|
return 0; |
| 2174 |
|
} |
| 2175 |
|
_ACEOF |
| 2176 |
|
rm -f conftest.$ac_objext |
| 2177 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 2178 |
|
(eval $ac_compile) 2>conftest.er1 |
| 2179 |
|
ac_status=$? |
| 2180 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 2181 |
|
rm -f conftest.er1 |
| 2182 |
|
cat conftest.err >&5 |
| 2183 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2184 |
|
(exit $ac_status); } && |
| 2185 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
| 2186 |
|
|| test ! -s conftest.err' |
| 2187 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2188 |
|
(eval $ac_try) 2>&5 |
| 2189 |
|
ac_status=$? |
| 2190 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2191 |
|
(exit $ac_status); }; } && |
| 2192 |
|
{ ac_try='test -s conftest.$ac_objext' |
| 2193 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2194 |
|
(eval $ac_try) 2>&5 |
| 2195 |
|
ac_status=$? |
| 2196 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2197 |
|
(exit $ac_status); }; }; then |
| 2198 |
|
ac_cv_prog_cc_g=yes |
| 2199 |
|
else |
| 2200 |
|
echo "$as_me: failed program was:" >&5 |
| 2201 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 2202 |
|
|
| 2203 |
|
ac_cv_prog_cc_g=no |
| 2204 |
|
fi |
| 2205 |
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2206 |
|
fi |
| 2207 |
|
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
| 2208 |
|
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 |
| 2209 |
|
if test "$ac_test_CFLAGS" = set; then |
| 2210 |
|
CFLAGS=$ac_save_CFLAGS |
| 2211 |
|
elif test $ac_cv_prog_cc_g = yes; then |
| 2212 |
|
if test "$GCC" = yes; then |
| 2213 |
|
CFLAGS="-g -O2" |
| 2214 |
|
else |
| 2215 |
|
CFLAGS="-g" |
| 2216 |
|
fi |
| 2217 |
|
else |
| 2218 |
|
if test "$GCC" = yes; then |
| 2219 |
|
CFLAGS="-O2" |
| 2220 |
|
else |
| 2221 |
|
CFLAGS= |
| 2222 |
|
fi |
| 2223 |
|
fi |
| 2224 |
|
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 |
| 2225 |
|
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 |
| 2226 |
|
if test "${ac_cv_prog_cc_stdc+set}" = set; then |
| 2227 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2228 |
|
else |
| 2229 |
|
ac_cv_prog_cc_stdc=no |
| 2230 |
|
ac_save_CC=$CC |
| 2231 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 2232 |
|
/* confdefs.h. */ |
| 2233 |
|
_ACEOF |
| 2234 |
|
cat confdefs.h >>conftest.$ac_ext |
| 2235 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 2236 |
|
/* end confdefs.h. */ |
| 2237 |
|
#include <stdarg.h> |
| 2238 |
|
#include <stdio.h> |
| 2239 |
|
#include <sys/types.h> |
| 2240 |
|
#include <sys/stat.h> |
| 2241 |
|
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
| 2242 |
|
struct buf { int x; }; |
| 2243 |
|
FILE * (*rcsopen) (struct buf *, struct stat *, int); |
| 2244 |
|
static char *e (p, i) |
| 2245 |
|
char **p; |
| 2246 |
|
int i; |
| 2247 |
|
{ |
| 2248 |
|
return p[i]; |
| 2249 |
|
} |
| 2250 |
|
static char *f (char * (*g) (char **, int), char **p, ...) |
| 2251 |
|
{ |
| 2252 |
|
char *s; |
| 2253 |
|
va_list v; |
| 2254 |
|
va_start (v,p); |
| 2255 |
|
s = g (p, va_arg (v,int)); |
| 2256 |
|
va_end (v); |
| 2257 |
|
return s; |
| 2258 |
|
} |
| 2259 |
|
|
| 2260 |
|
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
| 2261 |
|
function prototypes and stuff, but not '\xHH' hex character constants. |
| 2262 |
|
These don't provoke an error unfortunately, instead are silently treated |
| 2263 |
|
as 'x'. The following induces an error, until -std1 is added to get |
| 2264 |
|
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
| 2265 |
|
array size at least. It's necessary to write '\x00'==0 to get something |
| 2266 |
|
that's true only with -std1. */ |
| 2267 |
|
int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
| 2268 |
|
|
| 2269 |
|
int test (int i, double x); |
| 2270 |
|
struct s1 {int (*f) (int a);}; |
| 2271 |
|
struct s2 {int (*f) (double a);}; |
| 2272 |
|
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
| 2273 |
|
int argc; |
| 2274 |
|
char **argv; |
| 2275 |
|
int |
| 2276 |
|
main () |
| 2277 |
|
{ |
| 2278 |
|
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
| 2279 |
|
; |
| 2280 |
|
return 0; |
| 2281 |
|
} |
| 2282 |
|
_ACEOF |
| 2283 |
|
# Don't try gcc -ansi; that turns off useful extensions and |
| 2284 |
|
# breaks some systems' header files. |
| 2285 |
|
# AIX -qlanglvl=ansi |
| 2286 |
|
# Ultrix and OSF/1 -std1 |
| 2287 |
|
# HP-UX 10.20 and later -Ae |
| 2288 |
|
# HP-UX older versions -Aa -D_HPUX_SOURCE |
| 2289 |
|
# SVR4 -Xc -D__EXTENSIONS__ |
| 2290 |
|
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
| 2291 |
|
do |
| 2292 |
|
CC="$ac_save_CC $ac_arg" |
| 2293 |
|
rm -f conftest.$ac_objext |
| 2294 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 2295 |
|
(eval $ac_compile) 2>conftest.er1 |
| 2296 |
|
ac_status=$? |
| 2297 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 2298 |
|
rm -f conftest.er1 |
| 2299 |
|
cat conftest.err >&5 |
| 2300 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2301 |
|
(exit $ac_status); } && |
| 2302 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
| 2303 |
|
|| test ! -s conftest.err' |
| 2304 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2305 |
|
(eval $ac_try) 2>&5 |
| 2306 |
|
ac_status=$? |
| 2307 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2308 |
|
(exit $ac_status); }; } && |
| 2309 |
|
{ ac_try='test -s conftest.$ac_objext' |
| 2310 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2311 |
|
(eval $ac_try) 2>&5 |
| 2312 |
|
ac_status=$? |
| 2313 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2314 |
|
(exit $ac_status); }; }; then |
| 2315 |
|
ac_cv_prog_cc_stdc=$ac_arg |
| 2316 |
|
break |
| 2317 |
|
else |
| 2318 |
|
echo "$as_me: failed program was:" >&5 |
| 2319 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 2320 |
|
|
| 2321 |
|
fi |
| 2322 |
|
rm -f conftest.err conftest.$ac_objext |
| 2323 |
|
done |
| 2324 |
|
rm -f conftest.$ac_ext conftest.$ac_objext |
| 2325 |
|
CC=$ac_save_CC |
| 2326 |
|
|
| 2327 |
|
fi |
| 2328 |
|
|
| 2329 |
|
case "x$ac_cv_prog_cc_stdc" in |
| 2330 |
|
x|xno) |
| 2331 |
|
echo "$as_me:$LINENO: result: none needed" >&5 |
| 2332 |
|
echo "${ECHO_T}none needed" >&6 ;; |
| 2333 |
|
*) |
| 2334 |
|
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 |
| 2335 |
|
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 |
| 2336 |
|
CC="$CC $ac_cv_prog_cc_stdc" ;; |
| 2337 |
|
esac |
| 2338 |
|
|
| 2339 |
|
# Some people use a C++ compiler to compile C. Since we use `exit', |
| 2340 |
|
# in C++ we need to declare it. In case someone uses the same compiler |
| 2341 |
|
# for both compiling C and C++ we need to have the C++ compiler decide |
| 2342 |
|
# the declaration of exit, since it's the most demanding environment. |
| 2343 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 2344 |
|
#ifndef __cplusplus |
| 2345 |
|
choke me |
| 2346 |
|
#endif |
| 2347 |
|
_ACEOF |
| 2348 |
|
rm -f conftest.$ac_objext |
| 2349 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 2350 |
|
(eval $ac_compile) 2>conftest.er1 |
| 2351 |
|
ac_status=$? |
| 2352 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 2353 |
|
rm -f conftest.er1 |
| 2354 |
|
cat conftest.err >&5 |
| 2355 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2356 |
|
(exit $ac_status); } && |
| 2357 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
| 2358 |
|
|| test ! -s conftest.err' |
| 2359 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2360 |
|
(eval $ac_try) 2>&5 |
| 2361 |
|
ac_status=$? |
| 2362 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2363 |
|
(exit $ac_status); }; } && |
| 2364 |
|
{ ac_try='test -s conftest.$ac_objext' |
| 2365 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2366 |
|
(eval $ac_try) 2>&5 |
| 2367 |
|
ac_status=$? |
| 2368 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2369 |
|
(exit $ac_status); }; }; then |
| 2370 |
|
for ac_declaration in \ |
| 2371 |
|
'' \ |
| 2372 |
|
'extern "C" void std::exit (int) throw (); using std::exit;' \ |
| 2373 |
|
'extern "C" void std::exit (int); using std::exit;' \ |
| 2374 |
|
'extern "C" void exit (int) throw ();' \ |
| 2375 |
|
'extern "C" void exit (int);' \ |
| 2376 |
|
'void exit (int);' |
| 2377 |
|
do |
| 2378 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 2379 |
|
/* confdefs.h. */ |
| 2380 |
|
_ACEOF |
| 2381 |
|
cat confdefs.h >>conftest.$ac_ext |
| 2382 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 2383 |
|
/* end confdefs.h. */ |
| 2384 |
|
$ac_declaration |
| 2385 |
|
#include <stdlib.h> |
| 2386 |
|
int |
| 2387 |
|
main () |
| 2388 |
|
{ |
| 2389 |
|
exit (42); |
| 2390 |
|
; |
| 2391 |
|
return 0; |
| 2392 |
|
} |
| 2393 |
|
_ACEOF |
| 2394 |
|
rm -f conftest.$ac_objext |
| 2395 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 2396 |
|
(eval $ac_compile) 2>conftest.er1 |
| 2397 |
|
ac_status=$? |
| 2398 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 2399 |
|
rm -f conftest.er1 |
| 2400 |
|
cat conftest.err >&5 |
| 2401 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2402 |
|
(exit $ac_status); } && |
| 2403 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
| 2404 |
|
|| test ! -s conftest.err' |
| 2405 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2406 |
|
(eval $ac_try) 2>&5 |
| 2407 |
|
ac_status=$? |
| 2408 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2409 |
|
(exit $ac_status); }; } && |
| 2410 |
|
{ ac_try='test -s conftest.$ac_objext' |
| 2411 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2412 |
|
(eval $ac_try) 2>&5 |
| 2413 |
|
ac_status=$? |
| 2414 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2415 |
|
(exit $ac_status); }; }; then |
| 2416 |
|
: |
| 2417 |
|
else |
| 2418 |
|
echo "$as_me: failed program was:" >&5 |
| 2419 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 2420 |
|
|
| 2421 |
|
continue |
| 2422 |
|
fi |
| 2423 |
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2424 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 2425 |
|
/* confdefs.h. */ |
| 2426 |
|
_ACEOF |
| 2427 |
|
cat confdefs.h >>conftest.$ac_ext |
| 2428 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 2429 |
|
/* end confdefs.h. */ |
| 2430 |
|
$ac_declaration |
| 2431 |
|
int |
| 2432 |
|
main () |
| 2433 |
|
{ |
| 2434 |
|
exit (42); |
| 2435 |
|
; |
| 2436 |
|
return 0; |
| 2437 |
|
} |
| 2438 |
|
_ACEOF |
| 2439 |
|
rm -f conftest.$ac_objext |
| 2440 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 2441 |
|
(eval $ac_compile) 2>conftest.er1 |
| 2442 |
|
ac_status=$? |
| 2443 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 2444 |
|
rm -f conftest.er1 |
| 2445 |
|
cat conftest.err >&5 |
| 2446 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2447 |
|
(exit $ac_status); } && |
| 2448 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
| 2449 |
|
|| test ! -s conftest.err' |
| 2450 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2451 |
|
(eval $ac_try) 2>&5 |
| 2452 |
|
ac_status=$? |
| 2453 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2454 |
|
(exit $ac_status); }; } && |
| 2455 |
|
{ ac_try='test -s conftest.$ac_objext' |
| 2456 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2457 |
|
(eval $ac_try) 2>&5 |
| 2458 |
|
ac_status=$? |
| 2459 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2460 |
|
(exit $ac_status); }; }; then |
| 2461 |
|
break |
| 2462 |
|
else |
| 2463 |
|
echo "$as_me: failed program was:" >&5 |
| 2464 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 2465 |
|
|
| 2466 |
|
fi |
| 2467 |
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2468 |
|
done |
| 2469 |
|
rm -f conftest* |
| 2470 |
|
if test -n "$ac_declaration"; then |
| 2471 |
|
echo '#ifdef __cplusplus' >>confdefs.h |
| 2472 |
|
echo $ac_declaration >>confdefs.h |
| 2473 |
|
echo '#endif' >>confdefs.h |
| 2474 |
|
fi |
| 2475 |
|
|
| 2476 |
|
else |
| 2477 |
|
echo "$as_me: failed program was:" >&5 |
| 2478 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 2479 |
|
|
| 2480 |
|
fi |
| 2481 |
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
| 2482 |
|
ac_ext=c |
| 2483 |
|
ac_cpp='$CPP $CPPFLAGS' |
| 2484 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 2485 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 2486 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 2487 |
|
|
| 2488 |
|
|
| 2489 |
|
echo "$as_me:$LINENO: checking for library containing strerror" >&5 |
| 2490 |
|
echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6 |
| 2491 |
|
if test "${ac_cv_search_strerror+set}" = set; then |
| 2492 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 2493 |
|
else |
| 2494 |
|
ac_func_search_save_LIBS=$LIBS |
| 2495 |
|
ac_cv_search_strerror=no |
| 2496 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 2497 |
|
/* confdefs.h. */ |
| 2498 |
|
_ACEOF |
| 2499 |
|
cat confdefs.h >>conftest.$ac_ext |
| 2500 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 2501 |
|
/* end confdefs.h. */ |
| 2502 |
|
|
| 2503 |
|
/* Override any gcc2 internal prototype to avoid an error. */ |
| 2504 |
|
#ifdef __cplusplus |
| 2505 |
|
extern "C" |
| 2506 |
|
#endif |
| 2507 |
|
/* We use char because int might match the return type of a gcc2 |
| 2508 |
|
builtin and then its argument prototype would still apply. */ |
| 2509 |
|
char strerror (); |
| 2510 |
|
int |
| 2511 |
|
main () |
| 2512 |
|
{ |
| 2513 |
|
strerror (); |
| 2514 |
|
; |
| 2515 |
|
return 0; |
| 2516 |
|
} |
| 2517 |
|
_ACEOF |
| 2518 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
| 2519 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 2520 |
|
(eval $ac_link) 2>conftest.er1 |
| 2521 |
|
ac_status=$? |
| 2522 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 2523 |
|
rm -f conftest.er1 |
| 2524 |
|
cat conftest.err >&5 |
| 2525 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2526 |
|
(exit $ac_status); } && |
| 2527 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
| 2528 |
|
|| test ! -s conftest.err' |
| 2529 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2530 |
|
(eval $ac_try) 2>&5 |
| 2531 |
|
ac_status=$? |
| 2532 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2533 |
|
(exit $ac_status); }; } && |
| 2534 |
|
{ ac_try='test -s conftest$ac_exeext' |
| 2535 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2536 |
|
(eval $ac_try) 2>&5 |
| 2537 |
|
ac_status=$? |
| 2538 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2539 |
|
(exit $ac_status); }; }; then |
| 2540 |
|
ac_cv_search_strerror="none required" |
| 2541 |
|
else |
| 2542 |
|
echo "$as_me: failed program was:" >&5 |
| 2543 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 2544 |
|
|
| 2545 |
|
fi |
| 2546 |
|
rm -f conftest.err conftest.$ac_objext \ |
| 2547 |
|
conftest$ac_exeext conftest.$ac_ext |
| 2548 |
|
if test "$ac_cv_search_strerror" = no; then |
| 2549 |
|
for ac_lib in cposix; do |
| 2550 |
|
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
| 2551 |
|
cat >conftest.$ac_ext <<_ACEOF |
| 2552 |
|
/* confdefs.h. */ |
| 2553 |
|
_ACEOF |
| 2554 |
|
cat confdefs.h >>conftest.$ac_ext |
| 2555 |
|
cat >>conftest.$ac_ext <<_ACEOF |
| 2556 |
|
/* end confdefs.h. */ |
| 2557 |
|
|
| 2558 |
|
/* Override any gcc2 internal prototype to avoid an error. */ |
| 2559 |
|
#ifdef __cplusplus |
| 2560 |
|
extern "C" |
| 2561 |
|
#endif |
| 2562 |
|
/* We use char because int might match the return type of a gcc2 |
| 2563 |
|
builtin and then its argument prototype would still apply. */ |
| 2564 |
|
char strerror (); |
| 2565 |
|
int |
| 2566 |
|
main () |
| 2567 |
|
{ |
| 2568 |
|
strerror (); |
| 2569 |
|
; |
| 2570 |
|
return 0; |
| 2571 |
|
} |
| 2572 |
|
_ACEOF |
| 2573 |
|
rm -f conftest.$ac_objext conftest$ac_exeext |
| 2574 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
| 2575 |
|
(eval $ac_link) 2>conftest.er1 |
| 2576 |
|
ac_status=$? |
| 2577 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
| 2578 |
|
rm -f conftest.er1 |
| 2579 |
|
cat conftest.err >&5 |
| 2580 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2581 |
|
(exit $ac_status); } && |
| 2582 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
| 2583 |
|
|| test ! -s conftest.err' |
| 2584 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2585 |
|
(eval $ac_try) 2>&5 |
| 2586 |
|
ac_status=$? |
| 2587 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2588 |
|
(exit $ac_status); }; } && |
| 2589 |
|
{ ac_try='test -s conftest$ac_exeext' |
| 2590 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
| 2591 |
|
(eval $ac_try) 2>&5 |
| 2592 |
|
ac_status=$? |
| 2593 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 2594 |
|
(exit $ac_status); }; }; then |
| 2595 |
|
ac_cv_search_strerror="-l$ac_lib" |
| 2596 |
|
break |
| 2597 |
|
else |
| 2598 |
|
echo "$as_me: failed program was:" >&5 |
| 2599 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
| 2600 |
|
|
| 2601 |
|
fi |
| 2602 |
|
rm -f conftest.err conftest.$ac_objext \ |
| 2603 |
|
conftest$ac_exeext conftest.$ac_ext |
| 2604 |
|
done |
| 2605 |
|
fi |
| 2606 |
|
LIBS=$ac_func_search_save_LIBS |
| 2607 |
|
fi |
| 2608 |
|
echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5 |
| 2609 |
|
echo "${ECHO_T}$ac_cv_search_strerror" >&6 |
| 2610 |
|
if test "$ac_cv_search_strerror" != no; then |
| 2611 |
|
test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS" |
| 2612 |
|
|
| 2613 |
|
fi |
| 2614 |
|
|
| 2615 |
# Make sure we can run config.sub. |
# Make sure we can run config.sub. |
| 2616 |
$ac_config_sub sun4 >/dev/null 2>&1 || |
$ac_config_sub sun4 >/dev/null 2>&1 || |
| 2617 |
{ { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 |
{ { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 |
| 2666 |
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
| 2667 |
|
|
| 2668 |
|
|
| 2669 |
echo "$as_me:$LINENO: checking target system type" >&5 |
case $host_os in |
| 2670 |
echo $ECHO_N "checking target system type... $ECHO_C" >&6 |
*cygwin* ) CYGWIN=yes;; |
| 2671 |
if test "${ac_cv_target+set}" = set; then |
* ) CYGWIN=no;; |
| 2672 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
esac |
|
else |
|
|
ac_cv_target_alias=$target_alias |
|
|
test "x$ac_cv_target_alias" = "x" && |
|
|
ac_cv_target_alias=$ac_cv_host_alias |
|
|
ac_cv_target=`$ac_config_sub $ac_cv_target_alias` || |
|
|
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5 |
|
|
echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;} |
|
|
{ (exit 1); exit 1; }; } |
|
|
|
|
|
fi |
|
|
echo "$as_me:$LINENO: result: $ac_cv_target" >&5 |
|
|
echo "${ECHO_T}$ac_cv_target" >&6 |
|
|
target=$ac_cv_target |
|
|
target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
|
|
target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
|
|
target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
|
| 2673 |
|
|
| 2674 |
|
|
|
# The aliases save the names the user supplied, while $host etc. |
|
|
# will get canonicalized. |
|
|
test -n "$target_alias" && |
|
|
test "$program_prefix$program_suffix$program_transform_name" = \ |
|
|
NONENONEs,x,x, && |
|
|
program_prefix=${target_alias}- |
|
| 2675 |
am__api_version="1.9" |
am__api_version="1.9" |
| 2676 |
# Find a good install program. We prefer a C program (faster), |
# Find a good install program. We prefer a C program (faster), |
| 2677 |
# so one script is as good as another. But avoid the broken or |
# so one script is as good as another. But avoid the broken or |
| 2934 |
fi |
fi |
| 2935 |
rmdir .tst 2>/dev/null |
rmdir .tst 2>/dev/null |
| 2936 |
|
|
| 2937 |
|
DEPDIR="${am__leading_dot}deps" |
| 2938 |
|
|
| 2939 |
|
ac_config_commands="$ac_config_commands depfiles" |
| 2940 |
|
|
| 2941 |
|
|
| 2942 |
|
am_make=${MAKE-make} |
| 2943 |
|
cat > confinc << 'END' |
| 2944 |
|
am__doit: |
| 2945 |
|
@echo done |
| 2946 |
|
.PHONY: am__doit |
| 2947 |
|
END |
| 2948 |
|
# If we don't find an include directive, just comment out the code. |
| 2949 |
|
echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 |
| 2950 |
|
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6 |
| 2951 |
|
am__include="#" |
| 2952 |
|
am__quote= |
| 2953 |
|
_am_result=none |
| 2954 |
|
# First try GNU make style include. |
| 2955 |
|
echo "include confinc" > confmf |
| 2956 |
|
# We grep out `Entering directory' and `Leaving directory' |
| 2957 |
|
# messages which can occur if `w' ends up in MAKEFLAGS. |
| 2958 |
|
# In particular we don't look at `^make:' because GNU make might |
| 2959 |
|
# be invoked under some other name (usually "gmake"), in which |
| 2960 |
|
# case it prints its new name instead of `make'. |
| 2961 |
|
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then |
| 2962 |
|
am__include=include |
| 2963 |
|
am__quote= |
| 2964 |
|
_am_result=GNU |
| 2965 |
|
fi |
| 2966 |
|
# Now try BSD make style include. |
| 2967 |
|
if test "$am__include" = "#"; then |
| 2968 |
|
echo '.include "confinc"' > confmf |
| 2969 |
|
if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then |
| 2970 |
|
am__include=.include |
| 2971 |
|
am__quote="\"" |
| 2972 |
|
_am_result=BSD |
| 2973 |
|
fi |
| 2974 |
|
fi |
| 2975 |
|
|
| 2976 |
|
|
| 2977 |
|
echo "$as_me:$LINENO: result: $_am_result" >&5 |
| 2978 |
|
echo "${ECHO_T}$_am_result" >&6 |
| 2979 |
|
rm -f confinc confmf |
| 2980 |
|
|
| 2981 |
|
# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given. |
| 2982 |
|
if test "${enable_dependency_tracking+set}" = set; then |
| 2983 |
|
enableval="$enable_dependency_tracking" |
| 2984 |
|
|
| 2985 |
|
fi; |
| 2986 |
|
if test "x$enable_dependency_tracking" != xno; then |
| 2987 |
|
am_depcomp="$ac_aux_dir/depcomp" |
| 2988 |
|
AMDEPBACKSLASH='\' |
| 2989 |
|
fi |
| 2990 |
|
|
| 2991 |
|
|
| 2992 |
|
if test "x$enable_dependency_tracking" != xno; then |
| 2993 |
|
AMDEP_TRUE= |
| 2994 |
|
AMDEP_FALSE='#' |
| 2995 |
|
else |
| 2996 |
|
AMDEP_TRUE='#' |
| 2997 |
|
AMDEP_FALSE= |
| 2998 |
|
fi |
| 2999 |
|
|
| 3000 |
|
|
| 3001 |
|
|
| 3002 |
# test to see if srcdir already configured |
# test to see if srcdir already configured |
| 3003 |
if test "`cd $srcdir && pwd`" != "`pwd`" && |
if test "`cd $srcdir && pwd`" != "`pwd`" && |
| 3004 |
test -f $srcdir/config.status; then |
test -f $srcdir/config.status; then |
| 3148 |
|
|
| 3149 |
|
|
| 3150 |
|
|
| 3151 |
|
depcc="$CC" am_compiler_list= |
| 3152 |
|
|
| 3153 |
|
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 |
| 3154 |
|
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 |
| 3155 |
|
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then |
| 3156 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
| 3157 |
|
else |
| 3158 |
|
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
| 3159 |
|
# We make a subdir and do the tests there. Otherwise we can end up |
| 3160 |
|
# making bogus files that we don't know about and never remove. For |
| 3161 |
|
# instance it was reported that on HP-UX the gcc test will end up |
| 3162 |
|
# making a dummy file named `D' -- because `-MD' means `put the output |
| 3163 |
|
# in D'. |
| 3164 |
|
mkdir conftest.dir |
| 3165 |
|
# Copy depcomp to subdir because otherwise we won't find it if we're |
| 3166 |
|
# using a relative directory. |
| 3167 |
|
cp "$am_depcomp" conftest.dir |
| 3168 |
|
cd conftest.dir |
| 3169 |
|
# We will build objects and dependencies in a subdirectory because |
| 3170 |
|
# it helps to detect inapplicable dependency modes. For instance |
| 3171 |
|
# both Tru64's cc and ICC support -MD to output dependencies as a |
| 3172 |
|
# side effect of compilation, but ICC will put the dependencies in |
| 3173 |
|
# the current directory while Tru64 will put them in the object |
| 3174 |
|
# directory. |
| 3175 |
|
mkdir sub |
| 3176 |
|
|
| 3177 |
|
am_cv_CC_dependencies_compiler_type=none |
| 3178 |
|
if test "$am_compiler_list" = ""; then |
| 3179 |
|
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
| 3180 |
|
fi |
| 3181 |
|
for depmode in $am_compiler_list; do |
| 3182 |
|
# Setup a source with many dependencies, because some compilers |
| 3183 |
|
# like to wrap large dependency lists on column 80 (with \), and |
| 3184 |
|
# we should not choose a depcomp mode which is confused by this. |
| 3185 |
|
# |
| 3186 |
|
# We need to recreate these files for each test, as the compiler may |
| 3187 |
|
# overwrite some of them when testing with obscure command lines. |
| 3188 |
|
# This happens at least with the AIX C compiler. |
| 3189 |
|
: > sub/conftest.c |
| 3190 |
|
for i in 1 2 3 4 5 6; do |
| 3191 |
|
echo '#include "conftst'$i'.h"' >> sub/conftest.c |
| 3192 |
|
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with |
| 3193 |
|
# Solaris 8's {/usr,}/bin/sh. |
| 3194 |
|
touch sub/conftst$i.h |
| 3195 |
|
done |
| 3196 |
|
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
| 3197 |
|
|
| 3198 |
|
case $depmode in |
| 3199 |
|
nosideeffect) |
| 3200 |
|
# after this tag, mechanisms are not by side-effect, so they'll |
| 3201 |
|
# only be used when explicitly requested |
| 3202 |
|
if test "x$enable_dependency_tracking" = xyes; then |
| 3203 |
|
continue |
| 3204 |
|
else |
| 3205 |
|
break |
| 3206 |
|
fi |
| 3207 |
|
;; |
| 3208 |
|
none) break ;; |
| 3209 |
|
esac |
| 3210 |
|
# We check with `-c' and `-o' for the sake of the "dashmstdout" |
| 3211 |
|
# mode. It turns out that the SunPro C++ compiler does not properly |
| 3212 |
|
# handle `-M -o', and we need to detect this. |
| 3213 |
|
if depmode=$depmode \ |
| 3214 |
|
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ |
| 3215 |
|
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
| 3216 |
|
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ |
| 3217 |
|
>/dev/null 2>conftest.err && |
| 3218 |
|
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
| 3219 |
|
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && |
| 3220 |
|
${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
| 3221 |
|
# icc doesn't choke on unknown options, it will just issue warnings |
| 3222 |
|
# or remarks (even with -Werror). So we grep stderr for any message |
| 3223 |
|
# that says an option was ignored or not supported. |
| 3224 |
|
# When given -MP, icc 7.0 and 7.1 complain thusly: |
| 3225 |
|
# icc: Command line warning: ignoring option '-M'; no argument required |
| 3226 |
|
# The diagnosis changed in icc 8.0: |
| 3227 |
|
# icc: Command line remark: option '-MP' not supported |
| 3228 |
|
if (grep 'ignoring option' conftest.err || |
| 3229 |
|
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else |
| 3230 |
|
am_cv_CC_dependencies_compiler_type=$depmode |
| 3231 |
|
break |
| 3232 |
|
fi |
| 3233 |
|
fi |
| 3234 |
|
done |
| 3235 |
|
|
| 3236 |
|
cd .. |
| 3237 |
|
rm -rf conftest.dir |
| 3238 |
|
else |
| 3239 |
|
am_cv_CC_dependencies_compiler_type=none |
| 3240 |
|
fi |
| 3241 |
|
|
| 3242 |
|
fi |
| 3243 |
|
echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 |
| 3244 |
|
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6 |
| 3245 |
|
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type |
| 3246 |
|
|
| 3247 |
|
|
| 3248 |
|
|
| 3249 |
|
if |
| 3250 |
|
test "x$enable_dependency_tracking" != xno \ |
| 3251 |
|
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then |
| 3252 |
|
am__fastdepCC_TRUE= |
| 3253 |
|
am__fastdepCC_FALSE='#' |
| 3254 |
|
else |
| 3255 |
|
am__fastdepCC_TRUE='#' |
| 3256 |
|
am__fastdepCC_FALSE= |
| 3257 |
|
fi |
| 3258 |
|
|
| 3259 |
|
|
| 3260 |
|
|
| 3261 |
ac_config_headers="$ac_config_headers config.h" |
ac_config_headers="$ac_config_headers config.h" |
| 3262 |
|
|
| 3429 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 3430 |
(exit $ac_status); } |
(exit $ac_status); } |
| 3431 |
|
|
|
cat >conftest.$ac_ext <<_ACEOF |
|
|
/* confdefs.h. */ |
|
|
_ACEOF |
|
|
cat confdefs.h >>conftest.$ac_ext |
|
|
cat >>conftest.$ac_ext <<_ACEOF |
|
|
/* end confdefs.h. */ |
|
|
|
|
|
int |
|
|
main () |
|
|
{ |
|
|
|
|
|
; |
|
|
return 0; |
|
|
} |
|
|
_ACEOF |
|
|
ac_clean_files_save=$ac_clean_files |
|
|
ac_clean_files="$ac_clean_files a.out a.exe b.out" |
|
|
# Try to create an executable without -o first, disregard a.out. |
|
|
# It will help us diagnose broken compilers, and finding out an intuition |
|
|
# of exeext. |
|
|
echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5 |
|
|
echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6 |
|
|
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 |
|
|
(eval $ac_link_default) 2>&5 |
|
|
ac_status=$? |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
(exit $ac_status); }; then |
|
|
# Find the output, starting from the most likely. This scheme is |
|
|
# not robust to junk in `.', hence go to wildcards (a.*) only as a last |
|
|
# resort. |
|
|
|
|
|
# Be careful to initialize this variable, since it used to be cached. |
|
|
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. |
|
|
ac_cv_exeext= |
|
|
# b.out is created by i960 compilers. |
|
|
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out |
|
|
do |
|
|
test -f "$ac_file" || continue |
|
|
case $ac_file in |
|
|
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) |
|
|
;; |
|
|
conftest.$ac_ext ) |
|
|
# This is the source file. |
|
|
;; |
|
|
[ab].out ) |
|
|
# We found the default executable, but exeext='' is most |
|
|
# certainly right. |
|
|
break;; |
|
|
*.* ) |
|
|
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
|
|
# FIXME: I believe we export ac_cv_exeext for Libtool, |
|
|
# but it would be cool to find out if it's true. Does anybody |
|
|
# maintain Libtool? --akim. |
|
|
export ac_cv_exeext |
|
|
break;; |
|
|
* ) |
|
|
break;; |
|
|
esac |
|
|
done |
|
|
else |
|
|
echo "$as_me: failed program was:" >&5 |
|
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
|
|
{ { echo "$as_me:$LINENO: error: C++ compiler cannot create executables |
|
|
See \`config.log' for more details." >&5 |
|
|
echo "$as_me: error: C++ compiler cannot create executables |
|
|
See \`config.log' for more details." >&2;} |
|
|
{ (exit 77); exit 77; }; } |
|
|
fi |
|
|
|
|
|
ac_exeext=$ac_cv_exeext |
|
|
echo "$as_me:$LINENO: result: $ac_file" >&5 |
|
|
echo "${ECHO_T}$ac_file" >&6 |
|
|
|
|
|
# Check the compiler produces executables we can run. If not, either |
|
|
# the compiler is broken, or we cross compile. |
|
|
echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5 |
|
|
echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6 |
|
|
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 |
|
|
# If not cross compiling, check that we can run a simple program. |
|
|
if test "$cross_compiling" != yes; then |
|
|
if { ac_try='./$ac_file' |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
(eval $ac_try) 2>&5 |
|
|
ac_status=$? |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
(exit $ac_status); }; }; then |
|
|
cross_compiling=no |
|
|
else |
|
|
if test "$cross_compiling" = maybe; then |
|
|
cross_compiling=yes |
|
|
else |
|
|
{ { echo "$as_me:$LINENO: error: cannot run C++ compiled programs. |
|
|
If you meant to cross compile, use \`--host'. |
|
|
See \`config.log' for more details." >&5 |
|
|
echo "$as_me: error: cannot run C++ compiled programs. |
|
|
If you meant to cross compile, use \`--host'. |
|
|
See \`config.log' for more details." >&2;} |
|
|
{ (exit 1); exit 1; }; } |
|
|
fi |
|
|
fi |
|
|
fi |
|
|
echo "$as_me:$LINENO: result: yes" >&5 |
|
|
echo "${ECHO_T}yes" >&6 |
|
|
|
|
|
rm -f a.out a.exe conftest$ac_cv_exeext b.out |
|
|
ac_clean_files=$ac_clean_files_save |
|
|
# Check the compiler produces executables we can run. If not, either |
|
|
# the compiler is broken, or we cross compile. |
|
|
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 |
|
|
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 |
|
|
echo "$as_me:$LINENO: result: $cross_compiling" >&5 |
|
|
echo "${ECHO_T}$cross_compiling" >&6 |
|
|
|
|
|
echo "$as_me:$LINENO: checking for suffix of executables" >&5 |
|
|
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 |
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
(eval $ac_link) 2>&5 |
|
|
ac_status=$? |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
(exit $ac_status); }; then |
|
|
# If both `conftest.exe' and `conftest' are `present' (well, observable) |
|
|
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
|
|
# work properly (i.e., refer to `conftest.exe'), while it won't with |
|
|
# `rm'. |
|
|
for ac_file in conftest.exe conftest conftest.*; do |
|
|
test -f "$ac_file" || continue |
|
|
case $ac_file in |
|
|
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; |
|
|
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
|
|
export ac_cv_exeext |
|
|
break;; |
|
|
* ) break;; |
|
|
esac |
|
|
done |
|
|
else |
|
|
{ { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link |
|
|
See \`config.log' for more details." >&5 |
|
|
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link |
|
|
See \`config.log' for more details." >&2;} |
|
|
{ (exit 1); exit 1; }; } |
|
|
fi |
|
|
|
|
|
rm -f conftest$ac_cv_exeext |
|
|
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 |
|
|
echo "${ECHO_T}$ac_cv_exeext" >&6 |
|
|
|
|
|
rm -f conftest.$ac_ext |
|
|
EXEEXT=$ac_cv_exeext |
|
|
ac_exeext=$EXEEXT |
|
|
echo "$as_me:$LINENO: checking for suffix of object files" >&5 |
|
|
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 |
|
|
if test "${ac_cv_objext+set}" = set; then |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
else |
|
|
cat >conftest.$ac_ext <<_ACEOF |
|
|
/* confdefs.h. */ |
|
|
_ACEOF |
|
|
cat confdefs.h >>conftest.$ac_ext |
|
|
cat >>conftest.$ac_ext <<_ACEOF |
|
|
/* end confdefs.h. */ |
|
|
|
|
|
int |
|
|
main () |
|
|
{ |
|
|
|
|
|
; |
|
|
return 0; |
|
|
} |
|
|
_ACEOF |
|
|
rm -f conftest.o conftest.obj |
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
(eval $ac_compile) 2>&5 |
|
|
ac_status=$? |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
(exit $ac_status); }; then |
|
|
for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do |
|
|
case $ac_file in |
|
|
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; |
|
|
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
|
|
break;; |
|
|
esac |
|
|
done |
|
|
else |
|
|
echo "$as_me: failed program was:" >&5 |
|
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
|
|
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile |
|
|
See \`config.log' for more details." >&5 |
|
|
echo "$as_me: error: cannot compute suffix of object files: cannot compile |
|
|
See \`config.log' for more details." >&2;} |
|
|
{ (exit 1); exit 1; }; } |
|
|
fi |
|
|
|
|
|
rm -f conftest.$ac_cv_objext conftest.$ac_ext |
|
|
fi |
|
|
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 |
|
|
echo "${ECHO_T}$ac_cv_objext" >&6 |
|
|
OBJEXT=$ac_cv_objext |
|
|
ac_objext=$OBJEXT |
|
| 3432 |
echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 |
echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 |
| 3433 |
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 |
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 |
| 3434 |
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then |
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then |
| 3670 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 3671 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 3672 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
DEPDIR="${am__leading_dot}deps" |
|
|
|
|
|
ac_config_commands="$ac_config_commands depfiles" |
|
|
|
|
|
|
|
|
am_make=${MAKE-make} |
|
|
cat > confinc << 'END' |
|
|
am__doit: |
|
|
@echo done |
|
|
.PHONY: am__doit |
|
|
END |
|
|
# If we don't find an include directive, just comment out the code. |
|
|
echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 |
|
|
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6 |
|
|
am__include="#" |
|
|
am__quote= |
|
|
_am_result=none |
|
|
# First try GNU make style include. |
|
|
echo "include confinc" > confmf |
|
|
# We grep out `Entering directory' and `Leaving directory' |
|
|
# messages which can occur if `w' ends up in MAKEFLAGS. |
|
|
# In particular we don't look at `^make:' because GNU make might |
|
|
# be invoked under some other name (usually "gmake"), in which |
|
|
# case it prints its new name instead of `make'. |
|
|
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then |
|
|
am__include=include |
|
|
am__quote= |
|
|
_am_result=GNU |
|
|
fi |
|
|
# Now try BSD make style include. |
|
|
if test "$am__include" = "#"; then |
|
|
echo '.include "confinc"' > confmf |
|
|
if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then |
|
|
am__include=.include |
|
|
am__quote="\"" |
|
|
_am_result=BSD |
|
|
fi |
|
|
fi |
|
|
|
|
|
|
|
|
echo "$as_me:$LINENO: result: $_am_result" >&5 |
|
|
echo "${ECHO_T}$_am_result" >&6 |
|
|
rm -f confinc confmf |
|
|
|
|
|
# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given. |
|
|
if test "${enable_dependency_tracking+set}" = set; then |
|
|
enableval="$enable_dependency_tracking" |
|
|
|
|
|
fi; |
|
|
if test "x$enable_dependency_tracking" != xno; then |
|
|
am_depcomp="$ac_aux_dir/depcomp" |
|
|
AMDEPBACKSLASH='\' |
|
|
fi |
|
|
|
|
|
|
|
|
if test "x$enable_dependency_tracking" != xno; then |
|
|
AMDEP_TRUE= |
|
|
AMDEP_FALSE='#' |
|
|
else |
|
|
AMDEP_TRUE='#' |
|
|
AMDEP_FALSE= |
|
|
fi |
|
|
|
|
|
|
|
|
|
|
| 3673 |
|
|
| 3674 |
depcc="$CXX" am_compiler_list= |
depcc="$CXX" am_compiler_list= |
| 3675 |
|
|
| 4509 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 4510 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 4511 |
|
|
|
depcc="$CC" am_compiler_list= |
|
|
|
|
|
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 |
|
|
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 |
|
|
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
else |
|
|
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
|
|
# We make a subdir and do the tests there. Otherwise we can end up |
|
|
# making bogus files that we don't know about and never remove. For |
|
|
# instance it was reported that on HP-UX the gcc test will end up |
|
|
# making a dummy file named `D' -- because `-MD' means `put the output |
|
|
# in D'. |
|
|
mkdir conftest.dir |
|
|
# Copy depcomp to subdir because otherwise we won't find it if we're |
|
|
# using a relative directory. |
|
|
cp "$am_depcomp" conftest.dir |
|
|
cd conftest.dir |
|
|
# We will build objects and dependencies in a subdirectory because |
|
|
# it helps to detect inapplicable dependency modes. For instance |
|
|
# both Tru64's cc and ICC support -MD to output dependencies as a |
|
|
# side effect of compilation, but ICC will put the dependencies in |
|
|
# the current directory while Tru64 will put them in the object |
|
|
# directory. |
|
|
mkdir sub |
|
|
|
|
|
am_cv_CC_dependencies_compiler_type=none |
|
|
if test "$am_compiler_list" = ""; then |
|
|
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
|
|
fi |
|
|
for depmode in $am_compiler_list; do |
|
|
# Setup a source with many dependencies, because some compilers |
|
|
# like to wrap large dependency lists on column 80 (with \), and |
|
|
# we should not choose a depcomp mode which is confused by this. |
|
|
# |
|
|
# We need to recreate these files for each test, as the compiler may |
|
|
# overwrite some of them when testing with obscure command lines. |
|
|
# This happens at least with the AIX C compiler. |
|
|
: > sub/conftest.c |
|
|
for i in 1 2 3 4 5 6; do |
|
|
echo '#include "conftst'$i'.h"' >> sub/conftest.c |
|
|
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with |
|
|
# Solaris 8's {/usr,}/bin/sh. |
|
|
touch sub/conftst$i.h |
|
|
done |
|
|
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
|
|
|
|
|
case $depmode in |
|
|
nosideeffect) |
|
|
# after this tag, mechanisms are not by side-effect, so they'll |
|
|
# only be used when explicitly requested |
|
|
if test "x$enable_dependency_tracking" = xyes; then |
|
|
continue |
|
|
else |
|
|
break |
|
|
fi |
|
|
;; |
|
|
none) break ;; |
|
|
esac |
|
|
# We check with `-c' and `-o' for the sake of the "dashmstdout" |
|
|
# mode. It turns out that the SunPro C++ compiler does not properly |
|
|
# handle `-M -o', and we need to detect this. |
|
|
if depmode=$depmode \ |
|
|
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ |
|
|
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
|
|
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ |
|
|
>/dev/null 2>conftest.err && |
|
|
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
|
|
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && |
|
|
${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
|
|
# icc doesn't choke on unknown options, it will just issue warnings |
|
|
# or remarks (even with -Werror). So we grep stderr for any message |
|
|
# that says an option was ignored or not supported. |
|
|
# When given -MP, icc 7.0 and 7.1 complain thusly: |
|
|
# icc: Command line warning: ignoring option '-M'; no argument required |
|
|
# The diagnosis changed in icc 8.0: |
|
|
# icc: Command line remark: option '-MP' not supported |
|
|
if (grep 'ignoring option' conftest.err || |
|
|
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else |
|
|
am_cv_CC_dependencies_compiler_type=$depmode |
|
|
break |
|
|
fi |
|
|
fi |
|
|
done |
|
|
|
|
|
cd .. |
|
|
rm -rf conftest.dir |
|
|
else |
|
|
am_cv_CC_dependencies_compiler_type=none |
|
|
fi |
|
|
|
|
|
fi |
|
|
echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 |
|
|
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6 |
|
|
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type |
|
|
|
|
|
|
|
|
|
|
|
if |
|
|
test "x$enable_dependency_tracking" != xno \ |
|
|
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then |
|
|
am__fastdepCC_TRUE= |
|
|
am__fastdepCC_FALSE='#' |
|
|
else |
|
|
am__fastdepCC_TRUE='#' |
|
|
am__fastdepCC_FALSE= |
|
|
fi |
|
|
|
|
|
|
|
| 4512 |
ac_ext=c |
ac_ext=c |
| 4513 |
ac_cpp='$CPP $CPPFLAGS' |
ac_cpp='$CPP $CPPFLAGS' |
| 4514 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 5524 |
# Allow CC to be a program name with arguments. |
# Allow CC to be a program name with arguments. |
| 5525 |
compiler=$CC |
compiler=$CC |
| 5526 |
|
|
|
|
|
| 5527 |
# Check whether --enable-libtool-lock or --disable-libtool-lock was given. |
# Check whether --enable-libtool-lock or --disable-libtool-lock was given. |
| 5528 |
if test "${enable_libtool_lock+set}" = set; then |
if test "${enable_libtool_lock+set}" = set; then |
| 5529 |
enableval="$enable_libtool_lock" |
enableval="$enable_libtool_lock" |
| 5555 |
;; |
;; |
| 5556 |
*-*-irix6*) |
*-*-irix6*) |
| 5557 |
# Find out which ABI we are using. |
# Find out which ABI we are using. |
| 5558 |
echo '#line 4720 "configure"' > conftest.$ac_ext |
echo '#line 5558 "configure"' > conftest.$ac_ext |
| 5559 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 5560 |
(eval $ac_compile) 2>&5 |
(eval $ac_compile) 2>&5 |
| 5561 |
ac_status=$? |
ac_status=$? |
| 6456 |
|
|
| 6457 |
|
|
| 6458 |
# Provide some information about the compiler. |
# Provide some information about the compiler. |
| 6459 |
echo "$as_me:5621:" \ |
echo "$as_me:6459:" \ |
| 6460 |
"checking for Fortran 77 compiler version" >&5 |
"checking for Fortran 77 compiler version" >&5 |
| 6461 |
ac_compiler=`set X $ac_compile; echo $2` |
ac_compiler=`set X $ac_compile; echo $2` |
| 6462 |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 |
| 7523 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
| 7524 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
| 7525 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
| 7526 |
(eval echo "\"\$as_me:6688: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:7526: $lt_compile\"" >&5) |
| 7527 |
(eval "$lt_compile" 2>conftest.err) |
(eval "$lt_compile" 2>conftest.err) |
| 7528 |
ac_status=$? |
ac_status=$? |
| 7529 |
cat conftest.err >&5 |
cat conftest.err >&5 |
| 7530 |
echo "$as_me:6692: \$? = $ac_status" >&5 |
echo "$as_me:7530: \$? = $ac_status" >&5 |
| 7531 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
if (exit $ac_status) && test -s "$ac_outfile"; then |
| 7532 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
| 7533 |
# So say no if there are warnings other than the usual output. |
# So say no if there are warnings other than the usual output. |
| 7707 |
esac |
esac |
| 7708 |
;; |
;; |
| 7709 |
|
|
|
freebsd*) |
|
|
case $cc_basename in |
|
|
icc* | ecc*) |
|
|
lt_prog_compiler_wl='-Wl,' |
|
|
lt_prog_compiler_pic='-KPIC' |
|
|
lt_prog_compiler_static='-static' |
|
|
;; |
|
|
ccc*) |
|
|
lt_prog_compiler_wl='-Wl,' |
|
|
# All Alpha code is PIC. |
|
|
lt_prog_compiler_static='-non_shared' |
|
|
;; |
|
|
esac |
|
|
;; |
|
|
|
|
| 7710 |
osf3* | osf4* | osf5*) |
osf3* | osf4* | osf5*) |
| 7711 |
lt_prog_compiler_wl='-Wl,' |
lt_prog_compiler_wl='-Wl,' |
| 7712 |
# All OSF/1 code is PIC. |
# All OSF/1 code is PIC. |
| 7791 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
| 7792 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
| 7793 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
| 7794 |
(eval echo "\"\$as_me:6971: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:7794: $lt_compile\"" >&5) |
| 7795 |
(eval "$lt_compile" 2>conftest.err) |
(eval "$lt_compile" 2>conftest.err) |
| 7796 |
ac_status=$? |
ac_status=$? |
| 7797 |
cat conftest.err >&5 |
cat conftest.err >&5 |
| 7798 |
echo "$as_me:6975: \$? = $ac_status" >&5 |
echo "$as_me:7798: \$? = $ac_status" >&5 |
| 7799 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
if (exit $ac_status) && test -s "$ac_outfile"; then |
| 7800 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
| 7801 |
# So say no if there are warnings other than the usual output. |
# So say no if there are warnings other than the usual output. |
| 7895 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
| 7896 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
| 7897 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
| 7898 |
(eval echo "\"\$as_me:7075: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:7898: $lt_compile\"" >&5) |
| 7899 |
(eval "$lt_compile" 2>out/conftest.err) |
(eval "$lt_compile" 2>out/conftest.err) |
| 7900 |
ac_status=$? |
ac_status=$? |
| 7901 |
cat out/conftest.err >&5 |
cat out/conftest.err >&5 |
| 7902 |
echo "$as_me:7079: \$? = $ac_status" >&5 |
echo "$as_me:7902: \$? = $ac_status" >&5 |
| 7903 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
| 7904 |
then |
then |
| 7905 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
| 9360 |
# before this can be enabled. |
# before this can be enabled. |
| 9361 |
hardcode_into_libs=yes |
hardcode_into_libs=yes |
| 9362 |
|
|
| 9363 |
|
# find out which ABI we are using |
| 9364 |
|
libsuff= |
| 9365 |
|
case "$host_cpu" in |
| 9366 |
|
x86_64*|s390x*|powerpc64*) |
| 9367 |
|
echo '#line 9367 "configure"' > conftest.$ac_ext |
| 9368 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 9369 |
|
(eval $ac_compile) 2>&5 |
| 9370 |
|
ac_status=$? |
| 9371 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 9372 |
|
(exit $ac_status); }; then |
| 9373 |
|
case `/usr/bin/file conftest.$ac_objext` in |
| 9374 |
|
*64-bit*) |
| 9375 |
|
libsuff=64 |
| 9376 |
|
sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" |
| 9377 |
|
;; |
| 9378 |
|
esac |
| 9379 |
|
fi |
| 9380 |
|
rm -rf conftest* |
| 9381 |
|
;; |
| 9382 |
|
esac |
| 9383 |
|
|
| 9384 |
# Append ld.so.conf contents to the search path |
# Append ld.so.conf contents to the search path |
| 9385 |
if test -f /etc/ld.so.conf; then |
if test -f /etc/ld.so.conf; then |
| 9386 |
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` |
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` |
| 9387 |
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" |
sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra" |
| 9388 |
fi |
fi |
| 9389 |
|
|
| 9390 |
# We used to test for /lib/ld.so.1 and disable shared libraries on |
# We used to test for /lib/ld.so.1 and disable shared libraries on |
| 10261 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
| 10262 |
lt_status=$lt_dlunknown |
lt_status=$lt_dlunknown |
| 10263 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
| 10264 |
#line 9420 "configure" |
#line 10264 "configure" |
| 10265 |
#include "confdefs.h" |
#include "confdefs.h" |
| 10266 |
|
|
| 10267 |
#if HAVE_DLFCN_H |
#if HAVE_DLFCN_H |
| 10361 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
| 10362 |
lt_status=$lt_dlunknown |
lt_status=$lt_dlunknown |
| 10363 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
| 10364 |
#line 9520 "configure" |
#line 10364 "configure" |
| 10365 |
#include "confdefs.h" |
#include "confdefs.h" |
| 10366 |
|
|
| 10367 |
#if HAVE_DLFCN_H |
#if HAVE_DLFCN_H |
| 12705 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
| 12706 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
| 12707 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
| 12708 |
(eval echo "\"\$as_me:11864: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:12708: $lt_compile\"" >&5) |
| 12709 |
(eval "$lt_compile" 2>conftest.err) |
(eval "$lt_compile" 2>conftest.err) |
| 12710 |
ac_status=$? |
ac_status=$? |
| 12711 |
cat conftest.err >&5 |
cat conftest.err >&5 |
| 12712 |
echo "$as_me:11868: \$? = $ac_status" >&5 |
echo "$as_me:12712: \$? = $ac_status" >&5 |
| 12713 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
if (exit $ac_status) && test -s "$ac_outfile"; then |
| 12714 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
| 12715 |
# So say no if there are warnings other than the usual output. |
# So say no if there are warnings other than the usual output. |
| 12809 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
| 12810 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
| 12811 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
| 12812 |
(eval echo "\"\$as_me:11968: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:12812: $lt_compile\"" >&5) |
| 12813 |
(eval "$lt_compile" 2>out/conftest.err) |
(eval "$lt_compile" 2>out/conftest.err) |
| 12814 |
ac_status=$? |
ac_status=$? |
| 12815 |
cat out/conftest.err >&5 |
cat out/conftest.err >&5 |
| 12816 |
echo "$as_me:11972: \$? = $ac_status" >&5 |
echo "$as_me:12816: \$? = $ac_status" >&5 |
| 12817 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
| 12818 |
then |
then |
| 12819 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
| 13341 |
# before this can be enabled. |
# before this can be enabled. |
| 13342 |
hardcode_into_libs=yes |
hardcode_into_libs=yes |
| 13343 |
|
|
| 13344 |
|
# find out which ABI we are using |
| 13345 |
|
libsuff= |
| 13346 |
|
case "$host_cpu" in |
| 13347 |
|
x86_64*|s390x*|powerpc64*) |
| 13348 |
|
echo '#line 13348 "configure"' > conftest.$ac_ext |
| 13349 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 13350 |
|
(eval $ac_compile) 2>&5 |
| 13351 |
|
ac_status=$? |
| 13352 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 13353 |
|
(exit $ac_status); }; then |
| 13354 |
|
case `/usr/bin/file conftest.$ac_objext` in |
| 13355 |
|
*64-bit*) |
| 13356 |
|
libsuff=64 |
| 13357 |
|
sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" |
| 13358 |
|
;; |
| 13359 |
|
esac |
| 13360 |
|
fi |
| 13361 |
|
rm -rf conftest* |
| 13362 |
|
;; |
| 13363 |
|
esac |
| 13364 |
|
|
| 13365 |
# Append ld.so.conf contents to the search path |
# Append ld.so.conf contents to the search path |
| 13366 |
if test -f /etc/ld.so.conf; then |
if test -f /etc/ld.so.conf; then |
| 13367 |
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` |
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` |
| 13368 |
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" |
sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra" |
| 13369 |
fi |
fi |
| 13370 |
|
|
| 13371 |
# We used to test for /lib/ld.so.1 and disable shared libraries on |
# We used to test for /lib/ld.so.1 and disable shared libraries on |
| 14316 |
esac |
esac |
| 14317 |
;; |
;; |
| 14318 |
|
|
|
freebsd*) |
|
|
case $cc_basename in |
|
|
icc* | ecc*) |
|
|
lt_prog_compiler_wl_F77='-Wl,' |
|
|
lt_prog_compiler_pic_F77='-KPIC' |
|
|
lt_prog_compiler_static_F77='-static' |
|
|
;; |
|
|
ccc*) |
|
|
lt_prog_compiler_wl_F77='-Wl,' |
|
|
# All Alpha code is PIC. |
|
|
lt_prog_compiler_static_F77='-non_shared' |
|
|
;; |
|
|
esac |
|
|
;; |
|
|
|
|
| 14319 |
osf3* | osf4* | osf5*) |
osf3* | osf4* | osf5*) |
| 14320 |
lt_prog_compiler_wl_F77='-Wl,' |
lt_prog_compiler_wl_F77='-Wl,' |
| 14321 |
# All OSF/1 code is PIC. |
# All OSF/1 code is PIC. |
| 14400 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
| 14401 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
| 14402 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
| 14403 |
(eval echo "\"\$as_me:13553: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:14403: $lt_compile\"" >&5) |
| 14404 |
(eval "$lt_compile" 2>conftest.err) |
(eval "$lt_compile" 2>conftest.err) |
| 14405 |
ac_status=$? |
ac_status=$? |
| 14406 |
cat conftest.err >&5 |
cat conftest.err >&5 |
| 14407 |
echo "$as_me:13557: \$? = $ac_status" >&5 |
echo "$as_me:14407: \$? = $ac_status" >&5 |
| 14408 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
if (exit $ac_status) && test -s "$ac_outfile"; then |
| 14409 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
| 14410 |
# So say no if there are warnings other than the usual output. |
# So say no if there are warnings other than the usual output. |
| 14504 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
| 14505 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
| 14506 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
| 14507 |
(eval echo "\"\$as_me:13657: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:14507: $lt_compile\"" >&5) |
| 14508 |
(eval "$lt_compile" 2>out/conftest.err) |
(eval "$lt_compile" 2>out/conftest.err) |
| 14509 |
ac_status=$? |
ac_status=$? |
| 14510 |
cat out/conftest.err >&5 |
cat out/conftest.err >&5 |
| 14511 |
echo "$as_me:13661: \$? = $ac_status" >&5 |
echo "$as_me:14511: \$? = $ac_status" >&5 |
| 14512 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
| 14513 |
then |
then |
| 14514 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
| 15949 |
# before this can be enabled. |
# before this can be enabled. |
| 15950 |
hardcode_into_libs=yes |
hardcode_into_libs=yes |
| 15951 |
|
|
| 15952 |
|
# find out which ABI we are using |
| 15953 |
|
libsuff= |
| 15954 |
|
case "$host_cpu" in |
| 15955 |
|
x86_64*|s390x*|powerpc64*) |
| 15956 |
|
echo '#line 15956 "configure"' > conftest.$ac_ext |
| 15957 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 15958 |
|
(eval $ac_compile) 2>&5 |
| 15959 |
|
ac_status=$? |
| 15960 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 15961 |
|
(exit $ac_status); }; then |
| 15962 |
|
case `/usr/bin/file conftest.$ac_objext` in |
| 15963 |
|
*64-bit*) |
| 15964 |
|
libsuff=64 |
| 15965 |
|
sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" |
| 15966 |
|
;; |
| 15967 |
|
esac |
| 15968 |
|
fi |
| 15969 |
|
rm -rf conftest* |
| 15970 |
|
;; |
| 15971 |
|
esac |
| 15972 |
|
|
| 15973 |
# Append ld.so.conf contents to the search path |
# Append ld.so.conf contents to the search path |
| 15974 |
if test -f /etc/ld.so.conf; then |
if test -f /etc/ld.so.conf; then |
| 15975 |
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` |
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` |
| 15976 |
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" |
sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra" |
| 15977 |
fi |
fi |
| 15978 |
|
|
| 15979 |
# We used to test for /lib/ld.so.1 and disable shared libraries on |
# We used to test for /lib/ld.so.1 and disable shared libraries on |
| 16732 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
| 16733 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
| 16734 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
| 16735 |
(eval echo "\"\$as_me:15864: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:16735: $lt_compile\"" >&5) |
| 16736 |
(eval "$lt_compile" 2>conftest.err) |
(eval "$lt_compile" 2>conftest.err) |
| 16737 |
ac_status=$? |
ac_status=$? |
| 16738 |
cat conftest.err >&5 |
cat conftest.err >&5 |
| 16739 |
echo "$as_me:15868: \$? = $ac_status" >&5 |
echo "$as_me:16739: \$? = $ac_status" >&5 |
| 16740 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
if (exit $ac_status) && test -s "$ac_outfile"; then |
| 16741 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
| 16742 |
# So say no if there are warnings other than the usual output. |
# So say no if there are warnings other than the usual output. |
| 16916 |
esac |
esac |
| 16917 |
;; |
;; |
| 16918 |
|
|
|
freebsd*) |
|
|
case $cc_basename in |
|
|
icc* | ecc*) |
|
|
lt_prog_compiler_wl_GCJ='-Wl,' |
|
|
lt_prog_compiler_pic_GCJ='-KPIC' |
|
|
lt_prog_compiler_static_GCJ='-static' |
|
|
;; |
|
|
ccc*) |
|
|
lt_prog_compiler_wl_GCJ='-Wl,' |
|
|
# All Alpha code is PIC. |
|
|
lt_prog_compiler_static_GCJ='-non_shared' |
|
|
;; |
|
|
esac |
|
|
;; |
|
|
|
|
| 16919 |
osf3* | osf4* | osf5*) |
osf3* | osf4* | osf5*) |
| 16920 |
lt_prog_compiler_wl_GCJ='-Wl,' |
lt_prog_compiler_wl_GCJ='-Wl,' |
| 16921 |
# All OSF/1 code is PIC. |
# All OSF/1 code is PIC. |
| 17000 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
| 17001 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
| 17002 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
| 17003 |
(eval echo "\"\$as_me:16147: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:17003: $lt_compile\"" >&5) |
| 17004 |
(eval "$lt_compile" 2>conftest.err) |
(eval "$lt_compile" 2>conftest.err) |
| 17005 |
ac_status=$? |
ac_status=$? |
| 17006 |
cat conftest.err >&5 |
cat conftest.err >&5 |
| 17007 |
echo "$as_me:16151: \$? = $ac_status" >&5 |
echo "$as_me:17007: \$? = $ac_status" >&5 |
| 17008 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
if (exit $ac_status) && test -s "$ac_outfile"; then |
| 17009 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
| 17010 |
# So say no if there are warnings other than the usual output. |
# So say no if there are warnings other than the usual output. |
| 17104 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
| 17105 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
| 17106 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
| 17107 |
(eval echo "\"\$as_me:16251: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:17107: $lt_compile\"" >&5) |
| 17108 |
(eval "$lt_compile" 2>out/conftest.err) |
(eval "$lt_compile" 2>out/conftest.err) |
| 17109 |
ac_status=$? |
ac_status=$? |
| 17110 |
cat out/conftest.err >&5 |
cat out/conftest.err >&5 |
| 17111 |
echo "$as_me:16255: \$? = $ac_status" >&5 |
echo "$as_me:17111: \$? = $ac_status" >&5 |
| 17112 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
| 17113 |
then |
then |
| 17114 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
| 18569 |
# before this can be enabled. |
# before this can be enabled. |
| 18570 |
hardcode_into_libs=yes |
hardcode_into_libs=yes |
| 18571 |
|
|
| 18572 |
|
# find out which ABI we are using |
| 18573 |
|
libsuff= |
| 18574 |
|
case "$host_cpu" in |
| 18575 |
|
x86_64*|s390x*|powerpc64*) |
| 18576 |
|
echo '#line 18576 "configure"' > conftest.$ac_ext |
| 18577 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
| 18578 |
|
(eval $ac_compile) 2>&5 |
| 18579 |
|
ac_status=$? |
| 18580 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| 18581 |
|
(exit $ac_status); }; then |
| 18582 |
|
case `/usr/bin/file conftest.$ac_objext` in |
| 18583 |
|
*64-bit*) |
| 18584 |
|
libsuff=64 |
| 18585 |
|
sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}" |
| 18586 |
|
;; |
| 18587 |
|
esac |
| 18588 |
|
fi |
| 18589 |
|
rm -rf conftest* |
| 18590 |
|
;; |
| 18591 |
|
esac |
| 18592 |
|
|
| 18593 |
# Append ld.so.conf contents to the search path |
# Append ld.so.conf contents to the search path |
| 18594 |
if test -f /etc/ld.so.conf; then |
if test -f /etc/ld.so.conf; then |
| 18595 |
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` |
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` |
| 18596 |
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" |
sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra" |
| 18597 |
fi |
fi |
| 18598 |
|
|
| 18599 |
# We used to test for /lib/ld.so.1 and disable shared libraries on |
# We used to test for /lib/ld.so.1 and disable shared libraries on |
| 20514 |
# which indicates that we try without any flags at all, and "pthread-config" |
# which indicates that we try without any flags at all, and "pthread-config" |
| 20515 |
# which is a program returning the flags for the Pth emulation library. |
# which is a program returning the flags for the Pth emulation library. |
| 20516 |
|
|
| 20517 |
acx_pthread_flags="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config" |
acx_pthread_flags="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config pthreadGC2" |
| 20518 |
|
|
| 20519 |
# The ordering *is* (sometimes) important. Some notes on the |
# The ordering *is* (sometimes) important. Some notes on the |
| 20520 |
# individual items follow: |
# individual items follow: |
| 21417 |
/usr/openwin/share/include' |
/usr/openwin/share/include' |
| 21418 |
|
|
| 21419 |
if test "$ac_x_includes" = no; then |
if test "$ac_x_includes" = no; then |
| 21420 |
# Guess where to find include files, by looking for Intrinsic.h. |
# Guess where to find include files, by looking for Xlib.h. |
| 21421 |
# First, try using that file with no special directory specified. |
# First, try using that file with no special directory specified. |
| 21422 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
| 21423 |
/* confdefs.h. */ |
/* confdefs.h. */ |
| 21425 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
| 21426 |
cat >>conftest.$ac_ext <<_ACEOF |
cat >>conftest.$ac_ext <<_ACEOF |
| 21427 |
/* end confdefs.h. */ |
/* end confdefs.h. */ |
| 21428 |
#include <X11/Intrinsic.h> |
#include <X11/Xlib.h> |
| 21429 |
_ACEOF |
_ACEOF |
| 21430 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
| 21431 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
| 21452 |
sed 's/^/| /' conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 21453 |
|
|
| 21454 |
for ac_dir in $ac_x_header_dirs; do |
for ac_dir in $ac_x_header_dirs; do |
| 21455 |
if test -r "$ac_dir/X11/Intrinsic.h"; then |
if test -r "$ac_dir/X11/Xlib.h"; then |
| 21456 |
ac_x_includes=$ac_dir |
ac_x_includes=$ac_dir |
| 21457 |
break |
break |
| 21458 |
fi |
fi |
| 21473 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
| 21474 |
cat >>conftest.$ac_ext <<_ACEOF |
cat >>conftest.$ac_ext <<_ACEOF |
| 21475 |
/* end confdefs.h. */ |
/* end confdefs.h. */ |
| 21476 |
#include <X11/Intrinsic.h> |
#include <X11/Xlib.h> |
| 21477 |
int |
int |
| 21478 |
main () |
main () |
| 21479 |
{ |
{ |
| 21480 |
XtMalloc (0) |
XrmInitialize () |
| 21481 |
; |
; |
| 21482 |
return 0; |
return 0; |
| 21483 |
} |
} |
| 23827 |
|
|
| 23828 |
|
|
| 23829 |
# Checks for header files. |
# Checks for header files. |
| 23830 |
|
# libsl4 : unistd.h, direct.h, sys/stat.h, sys/param.h, pthread.h, windows.h |
| 23831 |
|
|
| 23832 |
|
|
| 23833 |
|
|
| 24420 |
|
|
| 24421 |
|
|
| 24422 |
|
|
| 24423 |
for ac_header in fcntl.h float.h locale.h malloc.h stddef.h stdlib.h string.h strings.h sys/file.h sys/ioctl.h sys/param.h sys/time.h sys/timeb.h unistd.h \ |
|
| 24424 |
|
|
| 24425 |
|
for ac_header in unistd.h direct.h sys/stat.h sys/param.h pthread.h \ |
| 24426 |
|
fcntl.h float.h locale.h malloc.h stddef.h stdlib.h string.h strings.h sys/file.h sys/ioctl.h sys/time.h sys/timeb.h \ |
| 24427 |
termios.h vfork.h errno.h limits.h memory.h getopt.h pwd.h \ |
termios.h vfork.h errno.h limits.h memory.h getopt.h pwd.h \ |
| 24428 |
windows.h direct.h io.h process.h |
windows.h io.h process.h |
| 24429 |
do |
do |
| 24430 |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
| 24431 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
| 27770 |
done |
done |
| 27771 |
|
|
| 27772 |
|
|
| 27773 |
|
# libsl4 : mkdir, rmdir, getcwd, vasprintf, _vscprintf, vsnprintf, wvsprintf |
| 27774 |
|
|
| 27775 |
|
|
| 27776 |
|
|
| 27777 |
|
|
| 27778 |
|
|
| 27779 |
|
|
| 27804 |
|
|
| 27805 |
|
|
| 27806 |
|
|
| 27807 |
for ac_func in endpwent floor ftime getcwd gethostname gettimeofday memmove memset mkdir munmap pow putenv rmdir setenv setlocale sqrt strchr strdup strpbrk strrchr strstr strtol lrand48 \ |
for ac_func in mkdir rmdir getcwd vasprintf _vscprintf vsnprintf wvsprintf \ |
| 27808 |
bzero strerror strncpy snprintf lockf flock vsnprintf |
endpwent floor ftime gethostname gettimeofday memmove memset munmap pow putenv setenv setlocale sqrt strchr strdup strpbrk strrchr strstr strtol lrand48 \ |
| 27809 |
|
bzero strerror strncpy snprintf lockf flockf |
| 27810 |
do |
do |
| 27811 |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
| 27812 |
echo "$as_me:$LINENO: checking for $ac_func" >&5 |
echo "$as_me:$LINENO: checking for $ac_func" >&5 |
| 27913 |
CXXFLAGS="$CXXFLAGS $PTHREAD_CFLAGS" |
CXXFLAGS="$CXXFLAGS $PTHREAD_CFLAGS" |
| 27914 |
LIBS="$PTHREAD_LIBS $LIBS" |
LIBS="$PTHREAD_LIBS $LIBS" |
| 27915 |
|
|
| 27916 |
ac_config_files="$ac_config_files Makefile satellite4-config lib/Makefile lib/common/Makefile lib/shell/Makefile shell/Makefile etc/Makefile modules/Makefile modules/util/Makefile modules/system/Makefile modules/ispp/Makefile modules/gpm/Makefile modules/gpm/lib/Makefile modules/gpm/command/Makefile modules/gpm/gpm2ps/Makefile modules/gpm/gpmwin/Makefile modules/bps/Makefile modules/bps/command/Makefile modules/ncs/Makefile modules/ncs/lib/Makefile modules/ncs/lib/common/Makefile modules/ncs/lib/simulation/Makefile modules/ncs/lib/main/Makefile modules/ncs/command/Makefile modules/ncs/ncspp/Makefile modules/npe/Makefile modules/npe/lib/Makefile modules/npe/lib/common/Makefile modules/npe/lib/estimation/Makefile modules/npe/lib/user/Makefile modules/npe/lib/ncs/Makefile modules/npe/command/Makefile modules/dcm/Makefile modules/statistics/Makefile modules/statistics/script/Makefile modules/statistics/script/data/Makefile" |
ac_config_files="$ac_config_files Makefile satellite4-config lib/Makefile lib/libsl4/Makefile lib/common/Makefile lib/shell/Makefile shell/Makefile etc/Makefile modules/Makefile modules/util/Makefile modules/system/Makefile modules/ispp/Makefile modules/gpm/Makefile modules/gpm/lib/Makefile modules/gpm/command/Makefile modules/gpm/gpm2ps/Makefile modules/gpm/gpmwin/Makefile modules/bps/Makefile modules/bps/command/Makefile modules/ncs/Makefile modules/ncs/lib/Makefile modules/ncs/lib/common/Makefile modules/ncs/lib/simulation/Makefile modules/ncs/lib/main/Makefile modules/ncs/command/Makefile modules/ncs/ncspp/Makefile modules/npe/Makefile modules/npe/lib/Makefile modules/npe/lib/common/Makefile modules/npe/lib/estimation/Makefile modules/npe/lib/user/Makefile modules/npe/lib/ncs/Makefile modules/npe/command/Makefile modules/dcm/Makefile modules/statistics/Makefile modules/statistics/script/Makefile modules/statistics/script/data/Makefile" |
| 27917 |
|
|
| 27918 |
cat >confcache <<\_ACEOF |
cat >confcache <<\_ACEOF |
| 27919 |
# This file is a shell script that caches the results of configure |
# This file is a shell script that caches the results of configure |
| 28013 |
Usually this means the macro was only invoked conditionally." >&2;} |
Usually this means the macro was only invoked conditionally." >&2;} |
| 28014 |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
| 28015 |
fi |
fi |
| 28016 |
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then |
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then |
| 28017 |
{ { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined. |
{ { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. |
| 28018 |
Usually this means the macro was only invoked conditionally." >&5 |
Usually this means the macro was only invoked conditionally." >&5 |
| 28019 |
echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined. |
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. |
| 28020 |
Usually this means the macro was only invoked conditionally." >&2;} |
Usually this means the macro was only invoked conditionally." >&2;} |
| 28021 |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
| 28022 |
fi |
fi |
| 28023 |
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then |
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then |
| 28024 |
{ { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. |
{ { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined. |
| 28025 |
Usually this means the macro was only invoked conditionally." >&5 |
Usually this means the macro was only invoked conditionally." >&5 |
| 28026 |
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. |
echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined. |
| 28027 |
Usually this means the macro was only invoked conditionally." >&2;} |
Usually this means the macro was only invoked conditionally." >&2;} |
| 28028 |
{ (exit 1); exit 1; }; } |
{ (exit 1); exit 1; }; } |
| 28029 |
fi |
fi |
| 28481 |
"Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
"Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
| 28482 |
"satellite4-config" ) CONFIG_FILES="$CONFIG_FILES satellite4-config" ;; |
"satellite4-config" ) CONFIG_FILES="$CONFIG_FILES satellite4-config" ;; |
| 28483 |
"lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;; |
"lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;; |
| 28484 |
|
"lib/libsl4/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/libsl4/Makefile" ;; |
| 28485 |
"lib/common/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/common/Makefile" ;; |
"lib/common/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/common/Makefile" ;; |
| 28486 |
"lib/shell/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/shell/Makefile" ;; |
"lib/shell/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/shell/Makefile" ;; |
| 28487 |
"shell/Makefile" ) CONFIG_FILES="$CONFIG_FILES shell/Makefile" ;; |
"shell/Makefile" ) CONFIG_FILES="$CONFIG_FILES shell/Makefile" ;; |
| 28602 |
s,@ECHO_N@,$ECHO_N,;t t |
s,@ECHO_N@,$ECHO_N,;t t |
| 28603 |
s,@ECHO_T@,$ECHO_T,;t t |
s,@ECHO_T@,$ECHO_T,;t t |
| 28604 |
s,@LIBS@,$LIBS,;t t |
s,@LIBS@,$LIBS,;t t |
| 28605 |
|
s,@CC@,$CC,;t t |
| 28606 |
|
s,@CFLAGS@,$CFLAGS,;t t |
| 28607 |
|
s,@LDFLAGS@,$LDFLAGS,;t t |
| 28608 |
|
s,@CPPFLAGS@,$CPPFLAGS,;t t |
| 28609 |
|
s,@ac_ct_CC@,$ac_ct_CC,;t t |
| 28610 |
|
s,@EXEEXT@,$EXEEXT,;t t |
| 28611 |
|
s,@OBJEXT@,$OBJEXT,;t t |
| 28612 |
s,@build@,$build,;t t |
s,@build@,$build,;t t |
| 28613 |
s,@build_cpu@,$build_cpu,;t t |
s,@build_cpu@,$build_cpu,;t t |
| 28614 |
s,@build_vendor@,$build_vendor,;t t |
s,@build_vendor@,$build_vendor,;t t |
| 28617 |
s,@host_cpu@,$host_cpu,;t t |
s,@host_cpu@,$host_cpu,;t t |
| 28618 |
s,@host_vendor@,$host_vendor,;t t |
s,@host_vendor@,$host_vendor,;t t |
| 28619 |
s,@host_os@,$host_os,;t t |
s,@host_os@,$host_os,;t t |
|
s,@target@,$target,;t t |
|
|
s,@target_cpu@,$target_cpu,;t t |
|
|
s,@target_vendor@,$target_vendor,;t t |
|
|
s,@target_os@,$target_os,;t t |
|
| 28620 |
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t |
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t |
| 28621 |
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t |
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t |
| 28622 |
s,@INSTALL_DATA@,$INSTALL_DATA,;t t |
s,@INSTALL_DATA@,$INSTALL_DATA,;t t |
| 28639 |
s,@AMTAR@,$AMTAR,;t t |
s,@AMTAR@,$AMTAR,;t t |
| 28640 |
s,@am__tar@,$am__tar,;t t |
s,@am__tar@,$am__tar,;t t |
| 28641 |
s,@am__untar@,$am__untar,;t t |
s,@am__untar@,$am__untar,;t t |
| 28642 |
|
s,@DEPDIR@,$DEPDIR,;t t |
| 28643 |
|
s,@am__include@,$am__include,;t t |
| 28644 |
|
s,@am__quote@,$am__quote,;t t |
| 28645 |
|
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t |
| 28646 |
|
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t |
| 28647 |
|
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t |
| 28648 |
|
s,@CCDEPMODE@,$CCDEPMODE,;t t |
| 28649 |
|
s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t |
| 28650 |
|
s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t |
| 28651 |
s,@sl4includedir@,$sl4includedir,;t t |
s,@sl4includedir@,$sl4includedir,;t t |
| 28652 |
s,@sl4libdir@,$sl4libdir,;t t |
s,@sl4libdir@,$sl4libdir,;t t |
| 28653 |
s,@sl4libexecdir@,$sl4libexecdir,;t t |
s,@sl4libexecdir@,$sl4libexecdir,;t t |
| 28660 |
s,@modulercdir@,$modulercdir,;t t |
s,@modulercdir@,$modulercdir,;t t |
| 28661 |
s,@CXX@,$CXX,;t t |
s,@CXX@,$CXX,;t t |
| 28662 |
s,@CXXFLAGS@,$CXXFLAGS,;t t |
s,@CXXFLAGS@,$CXXFLAGS,;t t |
|
s,@LDFLAGS@,$LDFLAGS,;t t |
|
|
s,@CPPFLAGS@,$CPPFLAGS,;t t |
|
| 28663 |
s,@ac_ct_CXX@,$ac_ct_CXX,;t t |
s,@ac_ct_CXX@,$ac_ct_CXX,;t t |
|
s,@EXEEXT@,$EXEEXT,;t t |
|
|
s,@OBJEXT@,$OBJEXT,;t t |
|
|
s,@DEPDIR@,$DEPDIR,;t t |
|
|
s,@am__include@,$am__include,;t t |
|
|
s,@am__quote@,$am__quote,;t t |
|
|
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t |
|
|
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t |
|
|
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t |
|
| 28664 |
s,@CXXDEPMODE@,$CXXDEPMODE,;t t |
s,@CXXDEPMODE@,$CXXDEPMODE,;t t |
| 28665 |
s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t |
s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t |
| 28666 |
s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t |
s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t |
|
s,@CC@,$CC,;t t |
|
|
s,@CFLAGS@,$CFLAGS,;t t |
|
|
s,@ac_ct_CC@,$ac_ct_CC,;t t |
|
|
s,@CCDEPMODE@,$CCDEPMODE,;t t |
|
|
s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t |
|
|
s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t |
|
| 28667 |
s,@CPP@,$CPP,;t t |
s,@CPP@,$CPP,;t t |
| 28668 |
s,@LN_S@,$LN_S,;t t |
s,@LN_S@,$LN_S,;t t |
| 28669 |
s,@RANLIB@,$RANLIB,;t t |
s,@RANLIB@,$RANLIB,;t t |