Mercurial > hg > xemacs-beta
comparison configure @ 1259:d9c553868a01
[xemacs-hg @ 2003-02-05 10:07:26 by stephent]
fix --srcdir <87y94voxmm.fsf@tleepslib.sk.tsukuba.ac.jp>
darwin configure fixes <873cn3qcgh.fsf_-_@tleepslib.sk.tsukuba.ac.jp>
restore USE_XFONTSET <877kcfqcnz.fsf@tleepslib.sk.tsukuba.ac.jp>
| author | stephent |
|---|---|
| date | Wed, 05 Feb 2003 10:07:33 +0000 |
| parents | 6041a741b6d6 |
| children | 465bd3c7d932 |
comparison
equal
deleted
inserted
replaced
| 1258:473e76fb6d95 | 1259:d9c553868a01 |
|---|---|
| 59 set -o posix | 59 set -o posix |
| 60 unset CDPATH | 60 unset CDPATH |
| 61 else | 61 else |
| 62 if test -n "$CDPATH"; then CDPATH="."; export CDPATH; fi | 62 if test -n "$CDPATH"; then CDPATH="."; export CDPATH; fi |
| 63 fi | 63 fi |
| 64 | |
| 65 for xe_parse_arg in ""; do | |
| 66 case $xe_parse_arg in | |
| 67 --srcdir) (echo "$progname: Usage error:" | |
| 68 echo " " "The \`--srcdir' option requires a boolean value: \`yes' or \`no'." | |
| 69 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 ;; | |
| 70 --srcdir=*) srcdir=`echo $xe_parse_arg | sed -e 's/--srcdir=//'` ;; | |
| 71 *) ;; | |
| 72 esac | |
| 73 done | |
| 64 | 74 |
| 65 exec_prefix=NONE | 75 exec_prefix=NONE |
| 66 host=NONE | 76 host=NONE |
| 67 no_create= | 77 no_create= |
| 68 nonopt=NONE | 78 nonopt=NONE |
| 71 program_prefix=NONE | 81 program_prefix=NONE |
| 72 program_suffix=NONE | 82 program_suffix=NONE |
| 73 program_transform_name=s,x,x, | 83 program_transform_name=s,x,x, |
| 74 silent= | 84 silent= |
| 75 site= | 85 site= |
| 76 srcdir= | |
| 77 target=NONE | 86 target=NONE |
| 78 verbose= | 87 verbose= |
| 79 x_includes=NONE | 88 x_includes=NONE |
| 80 x_libraries=NONE | 89 x_libraries=NONE |
| 81 | 90 |
| 259 pdump="" | 268 pdump="" |
| 260 with_dragndrop_default="no" | 269 with_dragndrop_default="no" |
| 261 with_ipv6_cname="no" | 270 with_ipv6_cname="no" |
| 262 | 271 |
| 263 | 272 |
| 264 | |
| 265 | |
| 266 arguments="$@" | 273 arguments="$@" |
| 267 | 274 |
| 268 quoted_sed_magic=s/"'"/"'"'"'"'"'"'"'"/g | 275 quoted_sed_magic=s/"'"/"'"'"'"'"'"'"'"/g |
| 269 quoted_arguments= | 276 quoted_arguments= |
| 270 for i in "$@"; do | 277 for i in "$@"; do |
| 281 | 288 |
| 282 while test $# != 0; do | 289 while test $# != 0; do |
| 283 arg="$1"; shift | 290 arg="$1"; shift |
| 284 case "$arg" in | 291 case "$arg" in |
| 285 --no-create|--no-recursion) ;; | 292 --no-create|--no-recursion) ;; |
| 293 --srcdir=*) ;; | |
| 286 -* ) | 294 -* ) |
| 287 case "$arg" in | 295 case "$arg" in |
| 288 -*=*) | 296 -*=*) |
| 289 opt=`echo '' $arg | sed -e 's:^ ::' -e 's:^-*\([^=]*\)=.*$:\1:'` | 297 opt=`echo '' $arg | sed -e 's:^ ::' -e 's:^-*\([^=]*\)=.*$:\1:'` |
| 290 val=`echo '' $arg | sed -e 's:^ ::' -e 's:^-*[^=]*=\(.*\)$:\1:'` | 298 val=`echo '' $arg | sed -e 's:^ ::' -e 's:^-*[^=]*=\(.*\)$:\1:'` |
| 375 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 ;; | 383 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 ;; |
| 376 esac | 384 esac |
| 377 eval "$opt=\"$val\"" ;; | 385 eval "$opt=\"$val\"" ;; |
| 378 | 386 |
| 379 | 387 |
| 380 srcdir | \ | 388 compiler | \ |
| 381 compiler | \ | |
| 382 xemacs_compiler | \ | 389 xemacs_compiler | \ |
| 383 cflags | \ | 390 cflags | \ |
| 384 cflags_warning | \ | 391 cflags_warning | \ |
| 385 cpp | \ | 392 cpp | \ |
| 386 cppflags | \ | 393 cppflags | \ |
| 824 break | 831 break |
| 825 fi | 832 fi |
| 826 done | 833 done |
| 827 if test -z "$srcdir" ; then | 834 if test -z "$srcdir" ; then |
| 828 (echo "$progname: Usage error:" | 835 (echo "$progname: Usage error:" |
| 829 echo " " "Neither the current directory nor its parent seem to | 836 echo " " "None of the path to configure, the current directory, |
| 830 contain the XEmacs sources. If you do not want to build XEmacs in its | 837 and its parent seem to contain the XEmacs sources. If you do not want |
| 831 source tree, you should run \`$progname' in the directory in which | 838 to build XEmacs in its source tree, you should run \`$progname' in the |
| 832 you wish to build XEmacs, using the \`--srcdir' option to say where the | 839 directory in which you wish to build XEmacs, using the \`--srcdir' option |
| 833 sources may be found." | 840 to say where the sources may be found." |
| 834 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 | 841 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 |
| 835 fi | 842 fi |
| 836 ;; | 843 ;; |
| 837 | 844 |
| 838 * ) | 845 * ) |
| 857 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 | 864 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 |
| 858 fi | 865 fi |
| 859 fi | 866 fi |
| 860 | 867 |
| 861 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 | 868 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 |
| 862 echo "configure:863: checking whether ln -s works" >&5 | 869 echo "configure:870: checking whether ln -s works" >&5 |
| 863 | 870 |
| 864 rm -f conftestdata | 871 rm -f conftestdata |
| 865 if ln -s X conftestdata 2>/dev/null | 872 if ln -s X conftestdata 2>/dev/null |
| 866 then | 873 then |
| 867 rm -f conftestdata | 874 rm -f conftestdata |
| 1143 } | 1150 } |
| 1144 | 1151 |
| 1145 | 1152 |
| 1146 | 1153 |
| 1147 echo $ac_n "checking "host system type"""... $ac_c" 1>&6 | 1154 echo $ac_n "checking "host system type"""... $ac_c" 1>&6 |
| 1148 echo "configure:1149: checking "host system type"" >&5 | 1155 echo "configure:1156: checking "host system type"" >&5 |
| 1149 internal_configuration=`echo $configuration | sed 's/-\(workshop\)//'` | 1156 internal_configuration=`echo $configuration | sed 's/-\(workshop\)//'` |
| 1150 canonical=`${CONFIG_SHELL-/bin/sh} $srcdir/config.sub "$internal_configuration"` | 1157 canonical=`${CONFIG_SHELL-/bin/sh} $srcdir/config.sub "$internal_configuration"` |
| 1151 configuration=`echo "$configuration" | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` | 1158 configuration=`echo "$configuration" | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` |
| 1152 canonical=`echo "$canonical" | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` | 1159 canonical=`echo "$canonical" | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` |
| 1153 echo "$ac_t""$configuration" 1>&6 | 1160 echo "$ac_t""$configuration" 1>&6 |
| 1578 fi | 1585 fi |
| 1579 | 1586 |
| 1580 | 1587 |
| 1581 if test -z "$pdump"; then | 1588 if test -z "$pdump"; then |
| 1582 case "$opsys" in | 1589 case "$opsys" in |
| 1583 linux* ) pdump=yes ;; *-*-darwin* ) pdump=yes ;; *) pdump=no ;; | 1590 linux* ) pdump=yes ;; darwin ) pdump=yes ;; *) pdump=no ;; |
| 1584 esac | 1591 esac |
| 1585 fi | 1592 fi |
| 1586 | 1593 |
| 1587 if test -z "$dynamic"; then | 1594 if test -z "$dynamic"; then |
| 1588 case "$opsys" in | 1595 case "$opsys" in |
| 1592 fi | 1599 fi |
| 1593 if test "$dynamic" = "yes"; then | 1600 if test "$dynamic" = "yes"; then |
| 1594 case "$opsys" in | 1601 case "$opsys" in |
| 1595 hpux* | sunos4* | sco5 ) opsys="${opsys}-shr" ;; | 1602 hpux* | sunos4* | sco5 ) opsys="${opsys}-shr" ;; |
| 1596 decosf* ) ld_call_shared="-call_shared" ;; | 1603 decosf* ) ld_call_shared="-call_shared" ;; |
| 1604 darwin ) { test "$extra_verbose" = "yes" && cat << \EOF | |
| 1605 Defining DLSYM_NEEDS_UNDERSCORE | |
| 1606 EOF | |
| 1607 cat >> confdefs.h <<\EOF | |
| 1608 #define DLSYM_NEEDS_UNDERSCORE 1 | |
| 1609 EOF | |
| 1610 } | |
| 1611 ;; | |
| 1597 esac | 1612 esac |
| 1598 else case "$opsys" in | 1613 else case "$opsys" in |
| 1599 sol2 ) | 1614 sol2 ) |
| 1600 echo "Static linking is not supported on Solaris 2." | 1615 echo "Static linking is not supported on Solaris 2." |
| 1601 echo "Rerun configure without specifying --dynamic=no." | 1616 echo "Rerun configure without specifying --dynamic=no." |
| 1667 xe_save_CFLAGS="$CFLAGS" | 1682 xe_save_CFLAGS="$CFLAGS" |
| 1668 | 1683 |
| 1669 # Extract the first word of "gcc", so it can be a program name with args. | 1684 # Extract the first word of "gcc", so it can be a program name with args. |
| 1670 set dummy gcc; ac_word=$2 | 1685 set dummy gcc; ac_word=$2 |
| 1671 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1686 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1672 echo "configure:1673: checking for $ac_word" >&5 | 1687 echo "configure:1688: checking for $ac_word" >&5 |
| 1673 | 1688 |
| 1674 if test -n "$CC"; then | 1689 if test -n "$CC"; then |
| 1675 ac_cv_prog_CC="$CC" # Let the user override the test. | 1690 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1676 else | 1691 else |
| 1677 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1692 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
| 1694 | 1709 |
| 1695 if test -z "$CC"; then | 1710 if test -z "$CC"; then |
| 1696 # Extract the first word of "cc", so it can be a program name with args. | 1711 # Extract the first word of "cc", so it can be a program name with args. |
| 1697 set dummy cc; ac_word=$2 | 1712 set dummy cc; ac_word=$2 |
| 1698 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1713 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1699 echo "configure:1700: checking for $ac_word" >&5 | 1714 echo "configure:1715: checking for $ac_word" >&5 |
| 1700 | 1715 |
| 1701 if test -n "$CC"; then | 1716 if test -n "$CC"; then |
| 1702 ac_cv_prog_CC="$CC" # Let the user override the test. | 1717 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1703 else | 1718 else |
| 1704 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1719 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
| 1742 case "`uname -s`" in | 1757 case "`uname -s`" in |
| 1743 *win32* | *WIN32*) | 1758 *win32* | *WIN32*) |
| 1744 # Extract the first word of "cl", so it can be a program name with args. | 1759 # Extract the first word of "cl", so it can be a program name with args. |
| 1745 set dummy cl; ac_word=$2 | 1760 set dummy cl; ac_word=$2 |
| 1746 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1761 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1747 echo "configure:1748: checking for $ac_word" >&5 | 1762 echo "configure:1763: checking for $ac_word" >&5 |
| 1748 | 1763 |
| 1749 if test -n "$CC"; then | 1764 if test -n "$CC"; then |
| 1750 ac_cv_prog_CC="$CC" # Let the user override the test. | 1765 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1751 else | 1766 else |
| 1752 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1767 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
| 1771 fi | 1786 fi |
| 1772 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1787 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
| 1773 fi | 1788 fi |
| 1774 | 1789 |
| 1775 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1790 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
| 1776 echo "configure:1777: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1791 echo "configure:1792: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
| 1777 | 1792 |
| 1778 ac_ext=c | 1793 ac_ext=c |
| 1779 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1794 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
| 1780 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1795 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
| 1781 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $libs_gtk $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1796 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $libs_gtk $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
| 1784 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1799 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
| 1785 cross_compiling=no | 1800 cross_compiling=no |
| 1786 | 1801 |
| 1787 cat > conftest.$ac_ext << EOF | 1802 cat > conftest.$ac_ext << EOF |
| 1788 | 1803 |
| 1789 #line 1790 "configure" | 1804 #line 1805 "configure" |
| 1790 #include "confdefs.h" | 1805 #include "confdefs.h" |
| 1791 | 1806 |
| 1792 main(){return(0);} | 1807 main(){return(0);} |
| 1793 EOF | 1808 EOF |
| 1794 if { (eval echo configure:1795: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 1809 if { (eval echo configure:1810: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 1795 ac_cv_prog_cc_works=yes | 1810 ac_cv_prog_cc_works=yes |
| 1796 # If we can't run a trivial program, we are probably using a cross compiler. | 1811 # If we can't run a trivial program, we are probably using a cross compiler. |
| 1797 if (./conftest; exit) 2>/dev/null; then | 1812 if (./conftest; exit) 2>/dev/null; then |
| 1798 ac_cv_prog_cc_cross=no | 1813 ac_cv_prog_cc_cross=no |
| 1799 else | 1814 else |
| 1817 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1832 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
| 1818 if test $ac_cv_prog_cc_works = no; then | 1833 if test $ac_cv_prog_cc_works = no; then |
| 1819 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1834 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
| 1820 fi | 1835 fi |
| 1821 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1836 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
| 1822 echo "configure:1823: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1837 echo "configure:1838: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
| 1823 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1838 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
| 1824 cross_compiling=$ac_cv_prog_cc_cross | 1839 cross_compiling=$ac_cv_prog_cc_cross |
| 1825 | 1840 |
| 1826 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1841 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
| 1827 echo "configure:1828: checking whether we are using GNU C" >&5 | 1842 echo "configure:1843: checking whether we are using GNU C" >&5 |
| 1828 | 1843 |
| 1829 cat > conftest.c <<EOF | 1844 cat > conftest.c <<EOF |
| 1830 #ifdef __GNUC__ | 1845 #ifdef __GNUC__ |
| 1831 yes; | 1846 yes; |
| 1832 #endif | 1847 #endif |
| 1833 EOF | 1848 EOF |
| 1834 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1835: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1849 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1850: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
| 1835 ac_cv_prog_gcc=yes | 1850 ac_cv_prog_gcc=yes |
| 1836 else | 1851 else |
| 1837 ac_cv_prog_gcc=no | 1852 ac_cv_prog_gcc=no |
| 1838 fi | 1853 fi |
| 1839 | 1854 |
| 1847 | 1862 |
| 1848 ac_test_CFLAGS="${CFLAGS+set}" | 1863 ac_test_CFLAGS="${CFLAGS+set}" |
| 1849 ac_save_CFLAGS="$CFLAGS" | 1864 ac_save_CFLAGS="$CFLAGS" |
| 1850 CFLAGS= | 1865 CFLAGS= |
| 1851 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1866 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
| 1852 echo "configure:1853: checking whether ${CC-cc} accepts -g" >&5 | 1867 echo "configure:1868: checking whether ${CC-cc} accepts -g" >&5 |
| 1853 | 1868 |
| 1854 echo 'void f(){}' > conftest.c | 1869 echo 'void f(){}' > conftest.c |
| 1855 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1870 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
| 1856 ac_cv_prog_cc_g=yes | 1871 ac_cv_prog_cc_g=yes |
| 1857 else | 1872 else |
| 1880 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then | 1895 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then |
| 1881 CC=${NON_GNU_CC-cc} | 1896 CC=${NON_GNU_CC-cc} |
| 1882 # Extract the first word of "gcc", so it can be a program name with args. | 1897 # Extract the first word of "gcc", so it can be a program name with args. |
| 1883 set dummy gcc; ac_word=$2 | 1898 set dummy gcc; ac_word=$2 |
| 1884 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1899 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1885 echo "configure:1886: checking for $ac_word" >&5 | 1900 echo "configure:1901: checking for $ac_word" >&5 |
| 1886 | 1901 |
| 1887 if test -n "$CC"; then | 1902 if test -n "$CC"; then |
| 1888 ac_cv_prog_CC="$CC" # Let the user override the test. | 1903 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1889 else | 1904 else |
| 1890 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1905 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
| 1907 | 1922 |
| 1908 if test -z "$CC"; then | 1923 if test -z "$CC"; then |
| 1909 # Extract the first word of "cc", so it can be a program name with args. | 1924 # Extract the first word of "cc", so it can be a program name with args. |
| 1910 set dummy cc; ac_word=$2 | 1925 set dummy cc; ac_word=$2 |
| 1911 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1926 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1912 echo "configure:1913: checking for $ac_word" >&5 | 1927 echo "configure:1928: checking for $ac_word" >&5 |
| 1913 | 1928 |
| 1914 if test -n "$CC"; then | 1929 if test -n "$CC"; then |
| 1915 ac_cv_prog_CC="$CC" # Let the user override the test. | 1930 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1916 else | 1931 else |
| 1917 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1932 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
| 1955 case "`uname -s`" in | 1970 case "`uname -s`" in |
| 1956 *win32* | *WIN32*) | 1971 *win32* | *WIN32*) |
| 1957 # Extract the first word of "cl", so it can be a program name with args. | 1972 # Extract the first word of "cl", so it can be a program name with args. |
| 1958 set dummy cl; ac_word=$2 | 1973 set dummy cl; ac_word=$2 |
| 1959 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1974 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1960 echo "configure:1961: checking for $ac_word" >&5 | 1975 echo "configure:1976: checking for $ac_word" >&5 |
| 1961 | 1976 |
| 1962 if test -n "$CC"; then | 1977 if test -n "$CC"; then |
| 1963 ac_cv_prog_CC="$CC" # Let the user override the test. | 1978 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1964 else | 1979 else |
| 1965 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1980 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
| 1984 fi | 1999 fi |
| 1985 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 2000 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
| 1986 fi | 2001 fi |
| 1987 | 2002 |
| 1988 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 2003 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
| 1989 echo "configure:1990: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 2004 echo "configure:2005: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
| 1990 | 2005 |
| 1991 ac_ext=c | 2006 ac_ext=c |
| 1992 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 2007 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
| 1993 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 2008 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
| 1994 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $libs_gtk $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 2009 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $libs_gtk $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
| 1997 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 2012 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
| 1998 cross_compiling=no | 2013 cross_compiling=no |
| 1999 | 2014 |
| 2000 cat > conftest.$ac_ext << EOF | 2015 cat > conftest.$ac_ext << EOF |
| 2001 | 2016 |
| 2002 #line 2003 "configure" | 2017 #line 2018 "configure" |
| 2003 #include "confdefs.h" | 2018 #include "confdefs.h" |
| 2004 | 2019 |
| 2005 main(){return(0);} | 2020 main(){return(0);} |
| 2006 EOF | 2021 EOF |
| 2007 if { (eval echo configure:2008: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2022 if { (eval echo configure:2023: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 2008 ac_cv_prog_cc_works=yes | 2023 ac_cv_prog_cc_works=yes |
| 2009 # If we can't run a trivial program, we are probably using a cross compiler. | 2024 # If we can't run a trivial program, we are probably using a cross compiler. |
| 2010 if (./conftest; exit) 2>/dev/null; then | 2025 if (./conftest; exit) 2>/dev/null; then |
| 2011 ac_cv_prog_cc_cross=no | 2026 ac_cv_prog_cc_cross=no |
| 2012 else | 2027 else |
| 2030 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 2045 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
| 2031 if test $ac_cv_prog_cc_works = no; then | 2046 if test $ac_cv_prog_cc_works = no; then |
| 2032 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 2047 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
| 2033 fi | 2048 fi |
| 2034 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 2049 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
| 2035 echo "configure:2036: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 2050 echo "configure:2051: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
| 2036 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 2051 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
| 2037 cross_compiling=$ac_cv_prog_cc_cross | 2052 cross_compiling=$ac_cv_prog_cc_cross |
| 2038 | 2053 |
| 2039 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 2054 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
| 2040 echo "configure:2041: checking whether we are using GNU C" >&5 | 2055 echo "configure:2056: checking whether we are using GNU C" >&5 |
| 2041 | 2056 |
| 2042 cat > conftest.c <<EOF | 2057 cat > conftest.c <<EOF |
| 2043 #ifdef __GNUC__ | 2058 #ifdef __GNUC__ |
| 2044 yes; | 2059 yes; |
| 2045 #endif | 2060 #endif |
| 2046 EOF | 2061 EOF |
| 2047 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2048: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 2062 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2063: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
| 2048 ac_cv_prog_gcc=yes | 2063 ac_cv_prog_gcc=yes |
| 2049 else | 2064 else |
| 2050 ac_cv_prog_gcc=no | 2065 ac_cv_prog_gcc=no |
| 2051 fi | 2066 fi |
| 2052 | 2067 |
| 2060 | 2075 |
| 2061 ac_test_CFLAGS="${CFLAGS+set}" | 2076 ac_test_CFLAGS="${CFLAGS+set}" |
| 2062 ac_save_CFLAGS="$CFLAGS" | 2077 ac_save_CFLAGS="$CFLAGS" |
| 2063 CFLAGS= | 2078 CFLAGS= |
| 2064 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 2079 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
| 2065 echo "configure:2066: checking whether ${CC-cc} accepts -g" >&5 | 2080 echo "configure:2081: checking whether ${CC-cc} accepts -g" >&5 |
| 2066 | 2081 |
| 2067 echo 'void f(){}' > conftest.c | 2082 echo 'void f(){}' > conftest.c |
| 2068 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 2083 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
| 2069 ac_cv_prog_cc_g=yes | 2084 ac_cv_prog_cc_g=yes |
| 2070 else | 2085 else |
| 2093 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then | 2108 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then |
| 2094 CC=gcc | 2109 CC=gcc |
| 2095 # Extract the first word of "gcc", so it can be a program name with args. | 2110 # Extract the first word of "gcc", so it can be a program name with args. |
| 2096 set dummy gcc; ac_word=$2 | 2111 set dummy gcc; ac_word=$2 |
| 2097 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2112 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 2098 echo "configure:2099: checking for $ac_word" >&5 | 2113 echo "configure:2114: checking for $ac_word" >&5 |
| 2099 | 2114 |
| 2100 if test -n "$CC"; then | 2115 if test -n "$CC"; then |
| 2101 ac_cv_prog_CC="$CC" # Let the user override the test. | 2116 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 2102 else | 2117 else |
| 2103 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 2118 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
| 2120 | 2135 |
| 2121 if test -z "$CC"; then | 2136 if test -z "$CC"; then |
| 2122 # Extract the first word of "cc", so it can be a program name with args. | 2137 # Extract the first word of "cc", so it can be a program name with args. |
| 2123 set dummy cc; ac_word=$2 | 2138 set dummy cc; ac_word=$2 |
| 2124 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2139 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 2125 echo "configure:2126: checking for $ac_word" >&5 | 2140 echo "configure:2141: checking for $ac_word" >&5 |
| 2126 | 2141 |
| 2127 if test -n "$CC"; then | 2142 if test -n "$CC"; then |
| 2128 ac_cv_prog_CC="$CC" # Let the user override the test. | 2143 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 2129 else | 2144 else |
| 2130 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 2145 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
| 2168 case "`uname -s`" in | 2183 case "`uname -s`" in |
| 2169 *win32* | *WIN32*) | 2184 *win32* | *WIN32*) |
| 2170 # Extract the first word of "cl", so it can be a program name with args. | 2185 # Extract the first word of "cl", so it can be a program name with args. |
| 2171 set dummy cl; ac_word=$2 | 2186 set dummy cl; ac_word=$2 |
| 2172 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2187 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 2173 echo "configure:2174: checking for $ac_word" >&5 | 2188 echo "configure:2189: checking for $ac_word" >&5 |
| 2174 | 2189 |
| 2175 if test -n "$CC"; then | 2190 if test -n "$CC"; then |
| 2176 ac_cv_prog_CC="$CC" # Let the user override the test. | 2191 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 2177 else | 2192 else |
| 2178 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 2193 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
| 2197 fi | 2212 fi |
| 2198 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 2213 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
| 2199 fi | 2214 fi |
| 2200 | 2215 |
| 2201 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 2216 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
| 2202 echo "configure:2203: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 2217 echo "configure:2218: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
| 2203 | 2218 |
| 2204 ac_ext=c | 2219 ac_ext=c |
| 2205 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 2220 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
| 2206 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 2221 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
| 2207 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $libs_gtk $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 2222 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $libs_gtk $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
| 2210 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 2225 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
| 2211 cross_compiling=no | 2226 cross_compiling=no |
| 2212 | 2227 |
| 2213 cat > conftest.$ac_ext << EOF | 2228 cat > conftest.$ac_ext << EOF |
| 2214 | 2229 |
| 2215 #line 2216 "configure" | 2230 #line 2231 "configure" |
| 2216 #include "confdefs.h" | 2231 #include "confdefs.h" |
| 2217 | 2232 |
| 2218 main(){return(0);} | 2233 main(){return(0);} |
| 2219 EOF | 2234 EOF |
| 2220 if { (eval echo configure:2221: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2235 if { (eval echo configure:2236: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 2221 ac_cv_prog_cc_works=yes | 2236 ac_cv_prog_cc_works=yes |
| 2222 # If we can't run a trivial program, we are probably using a cross compiler. | 2237 # If we can't run a trivial program, we are probably using a cross compiler. |
| 2223 if (./conftest; exit) 2>/dev/null; then | 2238 if (./conftest; exit) 2>/dev/null; then |
| 2224 ac_cv_prog_cc_cross=no | 2239 ac_cv_prog_cc_cross=no |
| 2225 else | 2240 else |
| 2243 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 2258 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
| 2244 if test $ac_cv_prog_cc_works = no; then | 2259 if test $ac_cv_prog_cc_works = no; then |
| 2245 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 2260 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
| 2246 fi | 2261 fi |
| 2247 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 2262 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
| 2248 echo "configure:2249: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 2263 echo "configure:2264: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
| 2249 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 2264 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
| 2250 cross_compiling=$ac_cv_prog_cc_cross | 2265 cross_compiling=$ac_cv_prog_cc_cross |
| 2251 | 2266 |
| 2252 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 2267 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
| 2253 echo "configure:2254: checking whether we are using GNU C" >&5 | 2268 echo "configure:2269: checking whether we are using GNU C" >&5 |
| 2254 | 2269 |
| 2255 cat > conftest.c <<EOF | 2270 cat > conftest.c <<EOF |
| 2256 #ifdef __GNUC__ | 2271 #ifdef __GNUC__ |
| 2257 yes; | 2272 yes; |
| 2258 #endif | 2273 #endif |
| 2259 EOF | 2274 EOF |
| 2260 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2261: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 2275 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2276: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
| 2261 ac_cv_prog_gcc=yes | 2276 ac_cv_prog_gcc=yes |
| 2262 else | 2277 else |
| 2263 ac_cv_prog_gcc=no | 2278 ac_cv_prog_gcc=no |
| 2264 fi | 2279 fi |
| 2265 | 2280 |
| 2273 | 2288 |
| 2274 ac_test_CFLAGS="${CFLAGS+set}" | 2289 ac_test_CFLAGS="${CFLAGS+set}" |
| 2275 ac_save_CFLAGS="$CFLAGS" | 2290 ac_save_CFLAGS="$CFLAGS" |
| 2276 CFLAGS= | 2291 CFLAGS= |
| 2277 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 2292 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
| 2278 echo "configure:2279: checking whether ${CC-cc} accepts -g" >&5 | 2293 echo "configure:2294: checking whether ${CC-cc} accepts -g" >&5 |
| 2279 | 2294 |
| 2280 echo 'void f(){}' > conftest.c | 2295 echo 'void f(){}' > conftest.c |
| 2281 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 2296 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
| 2282 ac_cv_prog_cc_g=yes | 2297 ac_cv_prog_cc_g=yes |
| 2283 else | 2298 else |
| 2306 fi | 2321 fi |
| 2307 CFLAGS="$xe_save_CFLAGS" | 2322 CFLAGS="$xe_save_CFLAGS" |
| 2308 | 2323 |
| 2309 if test "$GCC" = "yes"; then | 2324 if test "$GCC" = "yes"; then |
| 2310 cat > conftest.$ac_ext <<EOF | 2325 cat > conftest.$ac_ext <<EOF |
| 2311 #line 2312 "configure" | 2326 #line 2327 "configure" |
| 2312 #include "confdefs.h" | 2327 #include "confdefs.h" |
| 2313 int main () { | 2328 int main () { |
| 2314 #if __GNUC__ >= 3 | 2329 #if __GNUC__ >= 3 |
| 2315 return 11; | 2330 return 11; |
| 2316 #else | 2331 #else |
| 2317 return 0; | 2332 return 0; |
| 2318 #endif | 2333 #endif |
| 2319 } | 2334 } |
| 2320 EOF | 2335 EOF |
| 2321 if { (eval echo configure:2322: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 2336 if { (eval echo configure:2337: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 2322 then | 2337 then |
| 2323 : | 2338 : |
| 2324 else | 2339 else |
| 2325 conftest_rc="$?" | 2340 conftest_rc="$?" |
| 2326 echo "configure: failed program was:" >&5 | 2341 echo "configure: failed program was:" >&5 |
| 2337 test -n "$CPP" -a -d "$CPP" && CPP= | 2352 test -n "$CPP" -a -d "$CPP" && CPP= |
| 2338 | 2353 |
| 2339 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" | 2354 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" |
| 2340 | 2355 |
| 2341 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 | 2356 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 |
| 2342 echo "configure:2343: checking how to run the C preprocessor" >&5 | 2357 echo "configure:2358: checking how to run the C preprocessor" >&5 |
| 2343 # On Suns, sometimes $CPP names a directory. | 2358 # On Suns, sometimes $CPP names a directory. |
| 2344 if test -n "$CPP" && test -d "$CPP"; then | 2359 if test -n "$CPP" && test -d "$CPP"; then |
| 2345 CPP= | 2360 CPP= |
| 2346 fi | 2361 fi |
| 2347 if test -z "$CPP"; then | 2362 if test -z "$CPP"; then |
| 2350 # substituted into the Makefile and "${CC-cc}" will confuse make. | 2365 # substituted into the Makefile and "${CC-cc}" will confuse make. |
| 2351 CPP="${CC-cc} -E" | 2366 CPP="${CC-cc} -E" |
| 2352 # On the NeXT, cc -E runs the code through the compiler's parser, | 2367 # On the NeXT, cc -E runs the code through the compiler's parser, |
| 2353 # not just through cpp. | 2368 # not just through cpp. |
| 2354 cat > conftest.$ac_ext <<EOF | 2369 cat > conftest.$ac_ext <<EOF |
| 2355 #line 2356 "configure" | 2370 #line 2371 "configure" |
| 2356 #include "confdefs.h" | 2371 #include "confdefs.h" |
| 2357 #include <assert.h> | 2372 #include <assert.h> |
| 2358 Syntax Error | 2373 Syntax Error |
| 2359 EOF | 2374 EOF |
| 2360 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2375 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 2361 { (eval echo configure:2362: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2376 { (eval echo configure:2377: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 2362 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2377 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 2363 if test -z "$ac_err"; then | 2378 if test -z "$ac_err"; then |
| 2364 : | 2379 : |
| 2365 else | 2380 else |
| 2366 echo "$ac_err" >&5 | 2381 echo "$ac_err" >&5 |
| 2367 echo "configure: failed program was:" >&5 | 2382 echo "configure: failed program was:" >&5 |
| 2368 cat conftest.$ac_ext >&5 | 2383 cat conftest.$ac_ext >&5 |
| 2369 rm -rf conftest* | 2384 rm -rf conftest* |
| 2370 CPP="${CC-cc} -E -traditional-cpp" | 2385 CPP="${CC-cc} -E -traditional-cpp" |
| 2371 cat > conftest.$ac_ext <<EOF | 2386 cat > conftest.$ac_ext <<EOF |
| 2372 #line 2373 "configure" | 2387 #line 2388 "configure" |
| 2373 #include "confdefs.h" | 2388 #include "confdefs.h" |
| 2374 #include <assert.h> | 2389 #include <assert.h> |
| 2375 Syntax Error | 2390 Syntax Error |
| 2376 EOF | 2391 EOF |
| 2377 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2392 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 2378 { (eval echo configure:2379: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2393 { (eval echo configure:2394: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 2379 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2394 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 2380 if test -z "$ac_err"; then | 2395 if test -z "$ac_err"; then |
| 2381 : | 2396 : |
| 2382 else | 2397 else |
| 2383 echo "$ac_err" >&5 | 2398 echo "$ac_err" >&5 |
| 2384 echo "configure: failed program was:" >&5 | 2399 echo "configure: failed program was:" >&5 |
| 2385 cat conftest.$ac_ext >&5 | 2400 cat conftest.$ac_ext >&5 |
| 2386 rm -rf conftest* | 2401 rm -rf conftest* |
| 2387 CPP="${CC-cc} -nologo -E" | 2402 CPP="${CC-cc} -nologo -E" |
| 2388 cat > conftest.$ac_ext <<EOF | 2403 cat > conftest.$ac_ext <<EOF |
| 2389 #line 2390 "configure" | 2404 #line 2405 "configure" |
| 2390 #include "confdefs.h" | 2405 #include "confdefs.h" |
| 2391 #include <assert.h> | 2406 #include <assert.h> |
| 2392 Syntax Error | 2407 Syntax Error |
| 2393 EOF | 2408 EOF |
| 2394 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2409 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 2395 { (eval echo configure:2396: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2410 { (eval echo configure:2411: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 2396 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2411 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 2397 if test -z "$ac_err"; then | 2412 if test -z "$ac_err"; then |
| 2398 : | 2413 : |
| 2399 else | 2414 else |
| 2400 echo "$ac_err" >&5 | 2415 echo "$ac_err" >&5 |
| 2416 echo "$ac_t""$CPP" 1>&6 | 2431 echo "$ac_t""$CPP" 1>&6 |
| 2417 | 2432 |
| 2418 | 2433 |
| 2419 | 2434 |
| 2420 echo $ac_n "checking for AIX""... $ac_c" 1>&6 | 2435 echo $ac_n "checking for AIX""... $ac_c" 1>&6 |
| 2421 echo "configure:2422: checking for AIX" >&5 | 2436 echo "configure:2437: checking for AIX" >&5 |
| 2422 cat > conftest.$ac_ext <<EOF | 2437 cat > conftest.$ac_ext <<EOF |
| 2423 #line 2424 "configure" | 2438 #line 2439 "configure" |
| 2424 #include "confdefs.h" | 2439 #include "confdefs.h" |
| 2425 #ifdef _AIX | 2440 #ifdef _AIX |
| 2426 yes | 2441 yes |
| 2427 #endif | 2442 #endif |
| 2428 | 2443 |
| 2445 rm -f conftest* | 2460 rm -f conftest* |
| 2446 | 2461 |
| 2447 | 2462 |
| 2448 | 2463 |
| 2449 echo $ac_n "checking for GNU libc""... $ac_c" 1>&6 | 2464 echo $ac_n "checking for GNU libc""... $ac_c" 1>&6 |
| 2450 echo "configure:2451: checking for GNU libc" >&5 | 2465 echo "configure:2466: checking for GNU libc" >&5 |
| 2451 cat > conftest.$ac_ext <<EOF | 2466 cat > conftest.$ac_ext <<EOF |
| 2452 #line 2453 "configure" | 2467 #line 2468 "configure" |
| 2453 #include "confdefs.h" | 2468 #include "confdefs.h" |
| 2454 #include <features.h> | 2469 #include <features.h> |
| 2455 int main() { | 2470 int main() { |
| 2456 | 2471 |
| 2457 #if ! (defined __GLIBC__ || defined __GNU_LIBRARY__) | 2472 #if ! (defined __GLIBC__ || defined __GNU_LIBRARY__) |
| 2459 ******* ======= ******** &&&&&&&& | 2474 ******* ======= ******** &&&&&&&& |
| 2460 #endif | 2475 #endif |
| 2461 | 2476 |
| 2462 ; return 0; } | 2477 ; return 0; } |
| 2463 EOF | 2478 EOF |
| 2464 if { (eval echo configure:2465: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2479 if { (eval echo configure:2480: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 2465 rm -rf conftest* | 2480 rm -rf conftest* |
| 2466 have_glibc=yes | 2481 have_glibc=yes |
| 2467 else | 2482 else |
| 2468 echo "configure: failed program was:" >&5 | 2483 echo "configure: failed program was:" >&5 |
| 2469 cat conftest.$ac_ext >&5 | 2484 cat conftest.$ac_ext >&5 |
| 2536 | 2551 |
| 2537 ;; | 2552 ;; |
| 2538 esac | 2553 esac |
| 2539 | 2554 |
| 2540 cat > conftest.$ac_ext <<EOF | 2555 cat > conftest.$ac_ext <<EOF |
| 2541 #line 2542 "configure" | 2556 #line 2557 "configure" |
| 2542 #include "confdefs.h" | 2557 #include "confdefs.h" |
| 2543 int main () { | 2558 int main () { |
| 2544 #if defined __SUNPRO_C | 2559 #if defined __SUNPRO_C |
| 2545 return 11; | 2560 return 11; |
| 2546 #elif defined __DECC | 2561 #elif defined __DECC |
| 2550 #else | 2565 #else |
| 2551 return 0; | 2566 return 0; |
| 2552 #endif | 2567 #endif |
| 2553 } | 2568 } |
| 2554 EOF | 2569 EOF |
| 2555 if { (eval echo configure:2556: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 2570 if { (eval echo configure:2571: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 2556 then | 2571 then |
| 2557 : | 2572 : |
| 2558 else | 2573 else |
| 2559 conftest_rc="$?" | 2574 conftest_rc="$?" |
| 2560 echo "configure: failed program was:" >&5 | 2575 echo "configure: failed program was:" >&5 |
| 2802 | 2817 |
| 2803 test "$__DECC" = "yes" && c_switch_site="$c_switch_site -std1" && if test "$extra_verbose" = "yes"; then echo " Appending \"-std1\" to \$c_switch_site"; fi | 2818 test "$__DECC" = "yes" && c_switch_site="$c_switch_site -std1" && if test "$extra_verbose" = "yes"; then echo " Appending \"-std1\" to \$c_switch_site"; fi |
| 2804 | 2819 |
| 2805 if test "$__USLC__" = yes; then | 2820 if test "$__USLC__" = yes; then |
| 2806 echo $ac_n "checking for whether the -Kalloca compiler flag is needed""... $ac_c" 1>&6 | 2821 echo $ac_n "checking for whether the -Kalloca compiler flag is needed""... $ac_c" 1>&6 |
| 2807 echo "configure:2808: checking for whether the -Kalloca compiler flag is needed" >&5 | 2822 echo "configure:2823: checking for whether the -Kalloca compiler flag is needed" >&5 |
| 2808 need_kalloca=no | 2823 need_kalloca=no |
| 2809 cat > conftest.$ac_ext <<EOF | 2824 cat > conftest.$ac_ext <<EOF |
| 2810 #line 2811 "configure" | 2825 #line 2826 "configure" |
| 2811 #include "confdefs.h" | 2826 #include "confdefs.h" |
| 2812 | 2827 |
| 2813 int main() { | 2828 int main() { |
| 2814 void *x = alloca(4); | 2829 void *x = alloca(4); |
| 2815 ; return 0; } | 2830 ; return 0; } |
| 2816 EOF | 2831 EOF |
| 2817 if { (eval echo configure:2818: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2832 if { (eval echo configure:2833: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 2818 rm -rf conftest* | 2833 rm -rf conftest* |
| 2819 : | 2834 : |
| 2820 else | 2835 else |
| 2821 echo "configure: failed program was:" >&5 | 2836 echo "configure: failed program was:" >&5 |
| 2822 cat conftest.$ac_ext >&5 | 2837 cat conftest.$ac_ext >&5 |
| 2823 rm -rf conftest* | 2838 rm -rf conftest* |
| 2824 | 2839 |
| 2825 xe_save_c_switch_system="$c_switch_system" | 2840 xe_save_c_switch_system="$c_switch_system" |
| 2826 c_switch_system="$c_switch_system -Kalloca" | 2841 c_switch_system="$c_switch_system -Kalloca" |
| 2827 cat > conftest.$ac_ext <<EOF | 2842 cat > conftest.$ac_ext <<EOF |
| 2828 #line 2829 "configure" | 2843 #line 2844 "configure" |
| 2829 #include "confdefs.h" | 2844 #include "confdefs.h" |
| 2830 | 2845 |
| 2831 int main() { | 2846 int main() { |
| 2832 void *x = alloca(4); | 2847 void *x = alloca(4); |
| 2833 ; return 0; } | 2848 ; return 0; } |
| 2834 EOF | 2849 EOF |
| 2835 if { (eval echo configure:2836: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2850 if { (eval echo configure:2851: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 2836 rm -rf conftest* | 2851 rm -rf conftest* |
| 2837 need_kalloca=yes | 2852 need_kalloca=yes |
| 2838 else | 2853 else |
| 2839 echo "configure: failed program was:" >&5 | 2854 echo "configure: failed program was:" >&5 |
| 2840 cat conftest.$ac_ext >&5 | 2855 cat conftest.$ac_ext >&5 |
| 2890 | 2905 |
| 2891 CFLAGS="$cflags_warning $CFLAGS" | 2906 CFLAGS="$cflags_warning $CFLAGS" |
| 2892 | 2907 |
| 2893 if test "$GCC" = "yes"; then | 2908 if test "$GCC" = "yes"; then |
| 2894 echo $ac_n "checking for buggy gcc versions""... $ac_c" 1>&6 | 2909 echo $ac_n "checking for buggy gcc versions""... $ac_c" 1>&6 |
| 2895 echo "configure:2896: checking for buggy gcc versions" >&5 | 2910 echo "configure:2911: checking for buggy gcc versions" >&5 |
| 2896 GCC_VERSION=`$CC --version` | 2911 GCC_VERSION=`$CC --version` |
| 2897 case `uname -s`:`uname -m`:$GCC_VERSION in | 2912 case `uname -s`:`uname -m`:$GCC_VERSION in |
| 2898 *:sun4*:2.8.1|*:sun4*:egcs-2.90.*) | 2913 *:sun4*:2.8.1|*:sun4*:egcs-2.90.*) |
| 2899 case "$CFLAGS" in | 2914 case "$CFLAGS" in |
| 2900 *-O2*|*-O3*) | 2915 *-O2*|*-O3*) |
| 2948 echo "$ac_t""no" 1>&6 | 2963 echo "$ac_t""no" 1>&6 |
| 2949 fi | 2964 fi |
| 2950 | 2965 |
| 2951 if test "$pdump" != "yes"; then | 2966 if test "$pdump" != "yes"; then |
| 2952 echo $ac_n "checking for \"-z nocombreloc\" linker flag""... $ac_c" 1>&6 | 2967 echo $ac_n "checking for \"-z nocombreloc\" linker flag""... $ac_c" 1>&6 |
| 2953 echo "configure:2954: checking for \"-z nocombreloc\" linker flag" >&5 | 2968 echo "configure:2969: checking for \"-z nocombreloc\" linker flag" >&5 |
| 2954 case "`ld --help 2>&1`" in | 2969 case "`ld --help 2>&1`" in |
| 2955 *-z\ nocombreloc* ) echo "$ac_t""yes" 1>&6 | 2970 *-z\ nocombreloc* ) echo "$ac_t""yes" 1>&6 |
| 2956 ld_switch_site="-z nocombreloc $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z nocombreloc\" to \$ld_switch_site"; fi ;; | 2971 ld_switch_site="-z nocombreloc $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z nocombreloc\" to \$ld_switch_site"; fi ;; |
| 2957 *) echo "$ac_t""no" 1>&6 ;; | 2972 *) echo "$ac_t""no" 1>&6 ;; |
| 2958 esac | 2973 esac |
| 3037 test "$pdump" = "yes" && extra_objs="$extra_objs dumper.o" && if test "$extra_verbose" = "yes"; then | 3052 test "$pdump" = "yes" && extra_objs="$extra_objs dumper.o" && if test "$extra_verbose" = "yes"; then |
| 3038 echo " xemacs will be linked with \"dumper.o\"" | 3053 echo " xemacs will be linked with \"dumper.o\"" |
| 3039 fi | 3054 fi |
| 3040 | 3055 |
| 3041 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 | 3056 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 |
| 3042 echo "configure:3043: checking for dynodump" >&5 | 3057 echo "configure:3058: checking for dynodump" >&5 |
| 3043 if test "$unexec" != "unexsol2.o"; then | 3058 if test "$unexec" != "unexsol2.o"; then |
| 3044 echo "$ac_t""no" 1>&6 | 3059 echo "$ac_t""no" 1>&6 |
| 3045 else | 3060 else |
| 3046 echo "$ac_t""yes" 1>&6 | 3061 echo "$ac_t""yes" 1>&6 |
| 3047 { test "$extra_verbose" = "yes" && cat << \EOF | 3062 { test "$extra_verbose" = "yes" && cat << \EOF |
| 3075 for f in "/usr/lpp/X11/bin/smt.exp" "/usr/bin/X11/smt.exp"; do | 3090 for f in "/usr/lpp/X11/bin/smt.exp" "/usr/bin/X11/smt.exp"; do |
| 3076 if test -r "$f"; then start_flags="${start_flags},-bI:${f}"; break; fi | 3091 if test -r "$f"; then start_flags="${start_flags},-bI:${f}"; break; fi |
| 3077 done | 3092 done |
| 3078 | 3093 |
| 3079 echo $ac_n "checking for terminateAndUnload in -lC""... $ac_c" 1>&6 | 3094 echo $ac_n "checking for terminateAndUnload in -lC""... $ac_c" 1>&6 |
| 3080 echo "configure:3081: checking for terminateAndUnload in -lC" >&5 | 3095 echo "configure:3096: checking for terminateAndUnload in -lC" >&5 |
| 3081 ac_lib_var=`echo C'_'terminateAndUnload | sed 'y%./+-%__p_%'` | 3096 ac_lib_var=`echo C'_'terminateAndUnload | sed 'y%./+-%__p_%'` |
| 3082 | 3097 |
| 3083 xe_check_libs=" -lC " | 3098 xe_check_libs=" -lC " |
| 3084 cat > conftest.$ac_ext <<EOF | 3099 cat > conftest.$ac_ext <<EOF |
| 3085 #line 3086 "configure" | 3100 #line 3101 "configure" |
| 3086 #include "confdefs.h" | 3101 #include "confdefs.h" |
| 3087 /* Override any gcc2 internal prototype to avoid an error. */ | 3102 /* Override any gcc2 internal prototype to avoid an error. */ |
| 3088 /* We use char because int might match the return type of a gcc2 | 3103 /* We use char because int might match the return type of a gcc2 |
| 3089 builtin and then its argument prototype would still apply. */ | 3104 builtin and then its argument prototype would still apply. */ |
| 3090 char terminateAndUnload(); | 3105 char terminateAndUnload(); |
| 3091 | 3106 |
| 3092 int main() { | 3107 int main() { |
| 3093 terminateAndUnload() | 3108 terminateAndUnload() |
| 3094 ; return 0; } | 3109 ; return 0; } |
| 3095 EOF | 3110 EOF |
| 3096 if { (eval echo configure:3097: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3111 if { (eval echo configure:3112: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 3097 rm -rf conftest* | 3112 rm -rf conftest* |
| 3098 eval "ac_cv_lib_$ac_lib_var=yes" | 3113 eval "ac_cv_lib_$ac_lib_var=yes" |
| 3099 else | 3114 else |
| 3100 echo "configure: failed program was:" >&5 | 3115 echo "configure: failed program was:" >&5 |
| 3101 cat conftest.$ac_ext >&5 | 3116 cat conftest.$ac_ext >&5 |
| 3199 esac | 3214 esac |
| 3200 fi | 3215 fi |
| 3201 | 3216 |
| 3202 if test "$add_runtime_path" = "yes"; then | 3217 if test "$add_runtime_path" = "yes"; then |
| 3203 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 | 3218 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 |
| 3204 echo "configure:3205: checking "for runtime libraries flag"" >&5 | 3219 echo "configure:3220: checking "for runtime libraries flag"" >&5 |
| 3205 case "$opsys" in | 3220 case "$opsys" in |
| 3206 sol2 ) dash_r="-R" ;; | 3221 sol2 ) dash_r="-R" ;; |
| 3207 decosf* | linux* | irix*) dash_r="-rpath " ;; | 3222 decosf* | linux* | irix*) dash_r="-rpath " ;; |
| 3208 *) | 3223 *) |
| 3209 dash_r="" | 3224 dash_r="" |
| 3221 esac | 3236 esac |
| 3222 shift | 3237 shift |
| 3223 done | 3238 done |
| 3224 fi | 3239 fi |
| 3225 cat > conftest.$ac_ext <<EOF | 3240 cat > conftest.$ac_ext <<EOF |
| 3226 #line 3227 "configure" | 3241 #line 3242 "configure" |
| 3227 #include "confdefs.h" | 3242 #include "confdefs.h" |
| 3228 | 3243 |
| 3229 int main() { | 3244 int main() { |
| 3230 | 3245 |
| 3231 ; return 0; } | 3246 ; return 0; } |
| 3232 EOF | 3247 EOF |
| 3233 if { (eval echo configure:3234: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3248 if { (eval echo configure:3249: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 3234 rm -rf conftest* | 3249 rm -rf conftest* |
| 3235 dash_r="$try_dash_r" | 3250 dash_r="$try_dash_r" |
| 3236 else | 3251 else |
| 3237 echo "configure: failed program was:" >&5 | 3252 echo "configure: failed program was:" >&5 |
| 3238 cat conftest.$ac_ext >&5 | 3253 cat conftest.$ac_ext >&5 |
| 3329 else | 3344 else |
| 3330 doug_lea_malloc=no | 3345 doug_lea_malloc=no |
| 3331 fi | 3346 fi |
| 3332 after_morecore_hook_exists=yes | 3347 after_morecore_hook_exists=yes |
| 3333 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 | 3348 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 |
| 3334 echo "configure:3335: checking for malloc_set_state" >&5 | 3349 echo "configure:3350: checking for malloc_set_state" >&5 |
| 3335 | 3350 |
| 3336 cat > conftest.$ac_ext <<EOF | 3351 cat > conftest.$ac_ext <<EOF |
| 3337 #line 3338 "configure" | 3352 #line 3353 "configure" |
| 3338 #include "confdefs.h" | 3353 #include "confdefs.h" |
| 3339 /* System header to define __stub macros and hopefully few prototypes, | 3354 /* System header to define __stub macros and hopefully few prototypes, |
| 3340 which can conflict with char malloc_set_state(); below. */ | 3355 which can conflict with char malloc_set_state(); below. */ |
| 3341 #include <assert.h> | 3356 #include <assert.h> |
| 3342 /* Override any gcc2 internal prototype to avoid an error. */ | 3357 /* Override any gcc2 internal prototype to avoid an error. */ |
| 3355 malloc_set_state(); | 3370 malloc_set_state(); |
| 3356 #endif | 3371 #endif |
| 3357 | 3372 |
| 3358 ; return 0; } | 3373 ; return 0; } |
| 3359 EOF | 3374 EOF |
| 3360 if { (eval echo configure:3361: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3375 if { (eval echo configure:3376: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 3361 rm -rf conftest* | 3376 rm -rf conftest* |
| 3362 eval "ac_cv_func_malloc_set_state=yes" | 3377 eval "ac_cv_func_malloc_set_state=yes" |
| 3363 else | 3378 else |
| 3364 echo "configure: failed program was:" >&5 | 3379 echo "configure: failed program was:" >&5 |
| 3365 cat conftest.$ac_ext >&5 | 3380 cat conftest.$ac_ext >&5 |
| 3375 echo "$ac_t""no" 1>&6 | 3390 echo "$ac_t""no" 1>&6 |
| 3376 doug_lea_malloc=no | 3391 doug_lea_malloc=no |
| 3377 fi | 3392 fi |
| 3378 | 3393 |
| 3379 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 | 3394 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 |
| 3380 echo "configure:3381: checking whether __after_morecore_hook exists" >&5 | 3395 echo "configure:3396: checking whether __after_morecore_hook exists" >&5 |
| 3381 cat > conftest.$ac_ext <<EOF | 3396 cat > conftest.$ac_ext <<EOF |
| 3382 #line 3383 "configure" | 3397 #line 3398 "configure" |
| 3383 #include "confdefs.h" | 3398 #include "confdefs.h" |
| 3384 extern void (* __after_morecore_hook)(); | 3399 extern void (* __after_morecore_hook)(); |
| 3385 int main() { | 3400 int main() { |
| 3386 __after_morecore_hook = 0 | 3401 __after_morecore_hook = 0 |
| 3387 ; return 0; } | 3402 ; return 0; } |
| 3388 EOF | 3403 EOF |
| 3389 if { (eval echo configure:3390: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3404 if { (eval echo configure:3405: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 3390 rm -rf conftest* | 3405 rm -rf conftest* |
| 3391 echo "$ac_t""yes" 1>&6 | 3406 echo "$ac_t""yes" 1>&6 |
| 3392 else | 3407 else |
| 3393 echo "configure: failed program was:" >&5 | 3408 echo "configure: failed program was:" >&5 |
| 3394 cat conftest.$ac_ext >&5 | 3409 cat conftest.$ac_ext >&5 |
| 3440 | 3455 |
| 3441 | 3456 |
| 3442 # Extract the first word of "ranlib", so it can be a program name with args. | 3457 # Extract the first word of "ranlib", so it can be a program name with args. |
| 3443 set dummy ranlib; ac_word=$2 | 3458 set dummy ranlib; ac_word=$2 |
| 3444 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 3459 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 3445 echo "configure:3446: checking for $ac_word" >&5 | 3460 echo "configure:3461: checking for $ac_word" >&5 |
| 3446 | 3461 |
| 3447 if test -n "$RANLIB"; then | 3462 if test -n "$RANLIB"; then |
| 3448 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | 3463 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
| 3449 else | 3464 else |
| 3450 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 3465 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
| 3495 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | 3510 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
| 3496 # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 3511 # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
| 3497 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 3512 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
| 3498 # ./install, which can be erroneously created by make from ./install.sh. | 3513 # ./install, which can be erroneously created by make from ./install.sh. |
| 3499 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | 3514 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
| 3500 echo "configure:3501: checking for a BSD compatible install" >&5 | 3515 echo "configure:3516: checking for a BSD compatible install" >&5 |
| 3501 if test -z "$INSTALL"; then | 3516 if test -z "$INSTALL"; then |
| 3502 | 3517 |
| 3503 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" | 3518 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" |
| 3504 for ac_dir in $PATH; do | 3519 for ac_dir in $PATH; do |
| 3505 # Account for people who put trailing slashes in PATH elements. | 3520 # Account for people who put trailing slashes in PATH elements. |
| 3549 for ac_prog in 'bison -y' byacc | 3564 for ac_prog in 'bison -y' byacc |
| 3550 do | 3565 do |
| 3551 # Extract the first word of "$ac_prog", so it can be a program name with args. | 3566 # Extract the first word of "$ac_prog", so it can be a program name with args. |
| 3552 set dummy $ac_prog; ac_word=$2 | 3567 set dummy $ac_prog; ac_word=$2 |
| 3553 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 3568 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 3554 echo "configure:3555: checking for $ac_word" >&5 | 3569 echo "configure:3570: checking for $ac_word" >&5 |
| 3555 | 3570 |
| 3556 if test -n "$YACC"; then | 3571 if test -n "$YACC"; then |
| 3557 ac_cv_prog_YACC="$YACC" # Let the user override the test. | 3572 ac_cv_prog_YACC="$YACC" # Let the user override the test. |
| 3558 else | 3573 else |
| 3559 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 3574 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
| 3581 | 3596 |
| 3582 for ac_hdr in a.out.h elf.h cygwin/version.h fcntl.h inttypes.h libgen.h locale.h wchar.h mach/mach.h sys/param.h sys/pstat.h sys/time.h sys/timeb.h sys/times.h sys/un.h ulimit.h unistd.h | 3597 for ac_hdr in a.out.h elf.h cygwin/version.h fcntl.h inttypes.h libgen.h locale.h wchar.h mach/mach.h sys/param.h sys/pstat.h sys/time.h sys/timeb.h sys/times.h sys/un.h ulimit.h unistd.h |
| 3583 do | 3598 do |
| 3584 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 3599 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 3585 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 3600 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 3586 echo "configure:3587: checking for $ac_hdr" >&5 | 3601 echo "configure:3602: checking for $ac_hdr" >&5 |
| 3587 | 3602 |
| 3588 cat > conftest.$ac_ext <<EOF | 3603 cat > conftest.$ac_ext <<EOF |
| 3589 #line 3590 "configure" | 3604 #line 3605 "configure" |
| 3590 #include "confdefs.h" | 3605 #include "confdefs.h" |
| 3591 #include <$ac_hdr> | 3606 #include <$ac_hdr> |
| 3592 EOF | 3607 EOF |
| 3593 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3608 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 3594 { (eval echo configure:3595: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3609 { (eval echo configure:3610: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 3595 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 3610 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 3596 if test -z "$ac_err"; then | 3611 if test -z "$ac_err"; then |
| 3597 rm -rf conftest* | 3612 rm -rf conftest* |
| 3598 eval "ac_cv_header_$ac_safe=yes" | 3613 eval "ac_cv_header_$ac_safe=yes" |
| 3599 else | 3614 else |
| 3619 echo "$ac_t""no" 1>&6 | 3634 echo "$ac_t""no" 1>&6 |
| 3620 fi | 3635 fi |
| 3621 done | 3636 done |
| 3622 | 3637 |
| 3623 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 | 3638 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 |
| 3624 echo "configure:3625: checking for sys/wait.h that is POSIX.1 compatible" >&5 | 3639 echo "configure:3640: checking for sys/wait.h that is POSIX.1 compatible" >&5 |
| 3625 | 3640 |
| 3626 cat > conftest.$ac_ext <<EOF | 3641 cat > conftest.$ac_ext <<EOF |
| 3627 #line 3628 "configure" | 3642 #line 3643 "configure" |
| 3628 #include "confdefs.h" | 3643 #include "confdefs.h" |
| 3629 #include <sys/types.h> | 3644 #include <sys/types.h> |
| 3630 #include <sys/wait.h> | 3645 #include <sys/wait.h> |
| 3631 #ifndef WEXITSTATUS | 3646 #ifndef WEXITSTATUS |
| 3632 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) | 3647 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) |
| 3638 int s; | 3653 int s; |
| 3639 wait (&s); | 3654 wait (&s); |
| 3640 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; | 3655 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; |
| 3641 ; return 0; } | 3656 ; return 0; } |
| 3642 EOF | 3657 EOF |
| 3643 if { (eval echo configure:3644: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3658 if { (eval echo configure:3659: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3644 rm -rf conftest* | 3659 rm -rf conftest* |
| 3645 ac_cv_header_sys_wait_h=yes | 3660 ac_cv_header_sys_wait_h=yes |
| 3646 else | 3661 else |
| 3647 echo "configure: failed program was:" >&5 | 3662 echo "configure: failed program was:" >&5 |
| 3648 cat conftest.$ac_ext >&5 | 3663 cat conftest.$ac_ext >&5 |
| 3662 } | 3677 } |
| 3663 | 3678 |
| 3664 fi | 3679 fi |
| 3665 | 3680 |
| 3666 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 | 3681 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 |
| 3667 echo "configure:3668: checking for ANSI C header files" >&5 | 3682 echo "configure:3683: checking for ANSI C header files" >&5 |
| 3668 | 3683 |
| 3669 cat > conftest.$ac_ext <<EOF | 3684 cat > conftest.$ac_ext <<EOF |
| 3670 #line 3671 "configure" | 3685 #line 3686 "configure" |
| 3671 #include "confdefs.h" | 3686 #include "confdefs.h" |
| 3672 #include <stdlib.h> | 3687 #include <stdlib.h> |
| 3673 #include <stdarg.h> | 3688 #include <stdarg.h> |
| 3674 #include <string.h> | 3689 #include <string.h> |
| 3675 #include <float.h> | 3690 #include <float.h> |
| 3676 EOF | 3691 EOF |
| 3677 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3692 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 3678 { (eval echo configure:3679: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3693 { (eval echo configure:3694: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 3679 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 3694 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 3680 if test -z "$ac_err"; then | 3695 if test -z "$ac_err"; then |
| 3681 rm -rf conftest* | 3696 rm -rf conftest* |
| 3682 ac_cv_header_stdc=yes | 3697 ac_cv_header_stdc=yes |
| 3683 else | 3698 else |
| 3690 rm -f conftest* | 3705 rm -f conftest* |
| 3691 | 3706 |
| 3692 if test $ac_cv_header_stdc = yes; then | 3707 if test $ac_cv_header_stdc = yes; then |
| 3693 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 3708 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
| 3694 cat > conftest.$ac_ext <<EOF | 3709 cat > conftest.$ac_ext <<EOF |
| 3695 #line 3696 "configure" | 3710 #line 3711 "configure" |
| 3696 #include "confdefs.h" | 3711 #include "confdefs.h" |
| 3697 #include <string.h> | 3712 #include <string.h> |
| 3698 EOF | 3713 EOF |
| 3699 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3714 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 3700 egrep "memchr" >/dev/null 2>&1; then | 3715 egrep "memchr" >/dev/null 2>&1; then |
| 3708 fi | 3723 fi |
| 3709 | 3724 |
| 3710 if test $ac_cv_header_stdc = yes; then | 3725 if test $ac_cv_header_stdc = yes; then |
| 3711 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 3726 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
| 3712 cat > conftest.$ac_ext <<EOF | 3727 cat > conftest.$ac_ext <<EOF |
| 3713 #line 3714 "configure" | 3728 #line 3729 "configure" |
| 3714 #include "confdefs.h" | 3729 #include "confdefs.h" |
| 3715 #include <stdlib.h> | 3730 #include <stdlib.h> |
| 3716 EOF | 3731 EOF |
| 3717 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3732 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 3718 egrep "free" >/dev/null 2>&1; then | 3733 egrep "free" >/dev/null 2>&1; then |
| 3726 fi | 3741 fi |
| 3727 | 3742 |
| 3728 if test $ac_cv_header_stdc = yes; then | 3743 if test $ac_cv_header_stdc = yes; then |
| 3729 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 3744 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
| 3730 cat > conftest.$ac_ext <<EOF | 3745 cat > conftest.$ac_ext <<EOF |
| 3731 #line 3732 "configure" | 3746 #line 3747 "configure" |
| 3732 #include "confdefs.h" | 3747 #include "confdefs.h" |
| 3733 #include <ctype.h> | 3748 #include <ctype.h> |
| 3734 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 3749 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
| 3735 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 3750 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
| 3736 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 3751 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
| 3737 int main () { int i; for (i = 0; i < 256; i++) | 3752 int main () { int i; for (i = 0; i < 256; i++) |
| 3738 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); | 3753 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); |
| 3739 exit (0); } | 3754 exit (0); } |
| 3740 | 3755 |
| 3741 EOF | 3756 EOF |
| 3742 if { (eval echo configure:3743: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 3757 if { (eval echo configure:3758: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 3743 then | 3758 then |
| 3744 : | 3759 : |
| 3745 else | 3760 else |
| 3746 conftest_rc="$?" | 3761 conftest_rc="$?" |
| 3747 echo "configure: failed program was:" >&5 | 3762 echo "configure: failed program was:" >&5 |
| 3763 } | 3778 } |
| 3764 | 3779 |
| 3765 fi | 3780 fi |
| 3766 | 3781 |
| 3767 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 | 3782 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 |
| 3768 echo "configure:3769: checking whether time.h and sys/time.h may both be included" >&5 | 3783 echo "configure:3784: checking whether time.h and sys/time.h may both be included" >&5 |
| 3769 | 3784 |
| 3770 cat > conftest.$ac_ext <<EOF | 3785 cat > conftest.$ac_ext <<EOF |
| 3771 #line 3772 "configure" | 3786 #line 3787 "configure" |
| 3772 #include "confdefs.h" | 3787 #include "confdefs.h" |
| 3773 #include <sys/types.h> | 3788 #include <sys/types.h> |
| 3774 #include <sys/time.h> | 3789 #include <sys/time.h> |
| 3775 #include <time.h> | 3790 #include <time.h> |
| 3776 int main() { | 3791 int main() { |
| 3777 struct tm *tp; | 3792 struct tm *tp; |
| 3778 ; return 0; } | 3793 ; return 0; } |
| 3779 EOF | 3794 EOF |
| 3780 if { (eval echo configure:3781: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3795 if { (eval echo configure:3796: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3781 rm -rf conftest* | 3796 rm -rf conftest* |
| 3782 ac_cv_header_time=yes | 3797 ac_cv_header_time=yes |
| 3783 else | 3798 else |
| 3784 echo "configure: failed program was:" >&5 | 3799 echo "configure: failed program was:" >&5 |
| 3785 cat conftest.$ac_ext >&5 | 3800 cat conftest.$ac_ext >&5 |
| 3799 } | 3814 } |
| 3800 | 3815 |
| 3801 fi | 3816 fi |
| 3802 | 3817 |
| 3803 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 | 3818 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 |
| 3804 echo "configure:3805: checking for sys_siglist declaration in signal.h or unistd.h" >&5 | 3819 echo "configure:3820: checking for sys_siglist declaration in signal.h or unistd.h" >&5 |
| 3805 | 3820 |
| 3806 cat > conftest.$ac_ext <<EOF | 3821 cat > conftest.$ac_ext <<EOF |
| 3807 #line 3808 "configure" | 3822 #line 3823 "configure" |
| 3808 #include "confdefs.h" | 3823 #include "confdefs.h" |
| 3809 #include <sys/types.h> | 3824 #include <sys/types.h> |
| 3810 #include <signal.h> | 3825 #include <signal.h> |
| 3811 /* NetBSD declares sys_siglist in unistd.h. */ | 3826 /* NetBSD declares sys_siglist in unistd.h. */ |
| 3812 #ifdef HAVE_UNISTD_H | 3827 #ifdef HAVE_UNISTD_H |
| 3814 #endif | 3829 #endif |
| 3815 int main() { | 3830 int main() { |
| 3816 char *msg = *(sys_siglist + 1); | 3831 char *msg = *(sys_siglist + 1); |
| 3817 ; return 0; } | 3832 ; return 0; } |
| 3818 EOF | 3833 EOF |
| 3819 if { (eval echo configure:3820: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3834 if { (eval echo configure:3835: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3820 rm -rf conftest* | 3835 rm -rf conftest* |
| 3821 ac_cv_decl_sys_siglist=yes | 3836 ac_cv_decl_sys_siglist=yes |
| 3822 else | 3837 else |
| 3823 echo "configure: failed program was:" >&5 | 3838 echo "configure: failed program was:" >&5 |
| 3824 cat conftest.$ac_ext >&5 | 3839 cat conftest.$ac_ext >&5 |
| 3840 fi | 3855 fi |
| 3841 | 3856 |
| 3842 | 3857 |
| 3843 | 3858 |
| 3844 echo $ac_n "checking for utime""... $ac_c" 1>&6 | 3859 echo $ac_n "checking for utime""... $ac_c" 1>&6 |
| 3845 echo "configure:3846: checking for utime" >&5 | 3860 echo "configure:3861: checking for utime" >&5 |
| 3846 cat > conftest.$ac_ext <<EOF | 3861 cat > conftest.$ac_ext <<EOF |
| 3847 #line 3848 "configure" | 3862 #line 3863 "configure" |
| 3848 #include "confdefs.h" | 3863 #include "confdefs.h" |
| 3849 #include <sys/types.h> | 3864 #include <sys/types.h> |
| 3850 #include <utime.h> | 3865 #include <utime.h> |
| 3851 int main() { | 3866 int main() { |
| 3852 struct utimbuf x; x.actime = x.modtime = 0; utime ("/", &x); | 3867 struct utimbuf x; x.actime = x.modtime = 0; utime ("/", &x); |
| 3853 ; return 0; } | 3868 ; return 0; } |
| 3854 EOF | 3869 EOF |
| 3855 if { (eval echo configure:3856: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3870 if { (eval echo configure:3871: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3856 rm -rf conftest* | 3871 rm -rf conftest* |
| 3857 echo "$ac_t""yes" 1>&6 | 3872 echo "$ac_t""yes" 1>&6 |
| 3858 { test "$extra_verbose" = "yes" && cat << \EOF | 3873 { test "$extra_verbose" = "yes" && cat << \EOF |
| 3859 Defining HAVE_UTIME | 3874 Defining HAVE_UTIME |
| 3860 EOF | 3875 EOF |
| 3869 rm -rf conftest* | 3884 rm -rf conftest* |
| 3870 echo "$ac_t""no" 1>&6 | 3885 echo "$ac_t""no" 1>&6 |
| 3871 for ac_func in utimes | 3886 for ac_func in utimes |
| 3872 do | 3887 do |
| 3873 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 3888 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 3874 echo "configure:3875: checking for $ac_func" >&5 | 3889 echo "configure:3890: checking for $ac_func" >&5 |
| 3875 | 3890 |
| 3876 cat > conftest.$ac_ext <<EOF | 3891 cat > conftest.$ac_ext <<EOF |
| 3877 #line 3878 "configure" | 3892 #line 3893 "configure" |
| 3878 #include "confdefs.h" | 3893 #include "confdefs.h" |
| 3879 /* System header to define __stub macros and hopefully few prototypes, | 3894 /* System header to define __stub macros and hopefully few prototypes, |
| 3880 which can conflict with char $ac_func(); below. */ | 3895 which can conflict with char $ac_func(); below. */ |
| 3881 #include <assert.h> | 3896 #include <assert.h> |
| 3882 /* Override any gcc2 internal prototype to avoid an error. */ | 3897 /* Override any gcc2 internal prototype to avoid an error. */ |
| 3895 $ac_func(); | 3910 $ac_func(); |
| 3896 #endif | 3911 #endif |
| 3897 | 3912 |
| 3898 ; return 0; } | 3913 ; return 0; } |
| 3899 EOF | 3914 EOF |
| 3900 if { (eval echo configure:3901: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3915 if { (eval echo configure:3916: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 3901 rm -rf conftest* | 3916 rm -rf conftest* |
| 3902 eval "ac_cv_func_$ac_func=yes" | 3917 eval "ac_cv_func_$ac_func=yes" |
| 3903 else | 3918 else |
| 3904 echo "configure: failed program was:" >&5 | 3919 echo "configure: failed program was:" >&5 |
| 3905 cat conftest.$ac_ext >&5 | 3920 cat conftest.$ac_ext >&5 |
| 3927 fi | 3942 fi |
| 3928 rm -f conftest* | 3943 rm -f conftest* |
| 3929 | 3944 |
| 3930 | 3945 |
| 3931 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 | 3946 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 |
| 3932 echo "configure:3933: checking return type of signal handlers" >&5 | 3947 echo "configure:3948: checking return type of signal handlers" >&5 |
| 3933 | 3948 |
| 3934 cat > conftest.$ac_ext <<EOF | 3949 cat > conftest.$ac_ext <<EOF |
| 3935 #line 3936 "configure" | 3950 #line 3951 "configure" |
| 3936 #include "confdefs.h" | 3951 #include "confdefs.h" |
| 3937 #include <sys/types.h> | 3952 #include <sys/types.h> |
| 3938 #include <signal.h> | 3953 #include <signal.h> |
| 3939 #ifdef signal | 3954 #ifdef signal |
| 3940 #undef signal | 3955 #undef signal |
| 3947 | 3962 |
| 3948 int main() { | 3963 int main() { |
| 3949 int i; | 3964 int i; |
| 3950 ; return 0; } | 3965 ; return 0; } |
| 3951 EOF | 3966 EOF |
| 3952 if { (eval echo configure:3953: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3967 if { (eval echo configure:3968: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3953 rm -rf conftest* | 3968 rm -rf conftest* |
| 3954 ac_cv_type_signal=void | 3969 ac_cv_type_signal=void |
| 3955 else | 3970 else |
| 3956 echo "configure: failed program was:" >&5 | 3971 echo "configure: failed program was:" >&5 |
| 3957 cat conftest.$ac_ext >&5 | 3972 cat conftest.$ac_ext >&5 |
| 3969 EOF | 3984 EOF |
| 3970 } | 3985 } |
| 3971 | 3986 |
| 3972 | 3987 |
| 3973 echo $ac_n "checking for size_t""... $ac_c" 1>&6 | 3988 echo $ac_n "checking for size_t""... $ac_c" 1>&6 |
| 3974 echo "configure:3975: checking for size_t" >&5 | 3989 echo "configure:3990: checking for size_t" >&5 |
| 3975 | 3990 |
| 3976 cat > conftest.$ac_ext <<EOF | 3991 cat > conftest.$ac_ext <<EOF |
| 3977 #line 3978 "configure" | 3992 #line 3993 "configure" |
| 3978 #include "confdefs.h" | 3993 #include "confdefs.h" |
| 3979 #include <sys/types.h> | 3994 #include <sys/types.h> |
| 3980 #if STDC_HEADERS | 3995 #if STDC_HEADERS |
| 3981 #include <stdlib.h> | 3996 #include <stdlib.h> |
| 3982 #include <stddef.h> | 3997 #include <stddef.h> |
| 4003 } | 4018 } |
| 4004 | 4019 |
| 4005 fi | 4020 fi |
| 4006 | 4021 |
| 4007 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 | 4022 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 |
| 4008 echo "configure:4009: checking for pid_t" >&5 | 4023 echo "configure:4024: checking for pid_t" >&5 |
| 4009 | 4024 |
| 4010 cat > conftest.$ac_ext <<EOF | 4025 cat > conftest.$ac_ext <<EOF |
| 4011 #line 4012 "configure" | 4026 #line 4027 "configure" |
| 4012 #include "confdefs.h" | 4027 #include "confdefs.h" |
| 4013 #include <sys/types.h> | 4028 #include <sys/types.h> |
| 4014 #if STDC_HEADERS | 4029 #if STDC_HEADERS |
| 4015 #include <stdlib.h> | 4030 #include <stdlib.h> |
| 4016 #include <stddef.h> | 4031 #include <stddef.h> |
| 4037 } | 4052 } |
| 4038 | 4053 |
| 4039 fi | 4054 fi |
| 4040 | 4055 |
| 4041 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 | 4056 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 |
| 4042 echo "configure:4043: checking for uid_t in sys/types.h" >&5 | 4057 echo "configure:4058: checking for uid_t in sys/types.h" >&5 |
| 4043 | 4058 |
| 4044 cat > conftest.$ac_ext <<EOF | 4059 cat > conftest.$ac_ext <<EOF |
| 4045 #line 4046 "configure" | 4060 #line 4061 "configure" |
| 4046 #include "confdefs.h" | 4061 #include "confdefs.h" |
| 4047 #include <sys/types.h> | 4062 #include <sys/types.h> |
| 4048 EOF | 4063 EOF |
| 4049 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 4064 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 4050 egrep "uid_t" >/dev/null 2>&1; then | 4065 egrep "uid_t" >/dev/null 2>&1; then |
| 4076 } | 4091 } |
| 4077 | 4092 |
| 4078 fi | 4093 fi |
| 4079 | 4094 |
| 4080 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 | 4095 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 |
| 4081 echo "configure:4082: checking for mode_t" >&5 | 4096 echo "configure:4097: checking for mode_t" >&5 |
| 4082 | 4097 |
| 4083 cat > conftest.$ac_ext <<EOF | 4098 cat > conftest.$ac_ext <<EOF |
| 4084 #line 4085 "configure" | 4099 #line 4100 "configure" |
| 4085 #include "confdefs.h" | 4100 #include "confdefs.h" |
| 4086 #include <sys/types.h> | 4101 #include <sys/types.h> |
| 4087 #if STDC_HEADERS | 4102 #if STDC_HEADERS |
| 4088 #include <stdlib.h> | 4103 #include <stdlib.h> |
| 4089 #include <stddef.h> | 4104 #include <stddef.h> |
| 4110 } | 4125 } |
| 4111 | 4126 |
| 4112 fi | 4127 fi |
| 4113 | 4128 |
| 4114 echo $ac_n "checking for off_t""... $ac_c" 1>&6 | 4129 echo $ac_n "checking for off_t""... $ac_c" 1>&6 |
| 4115 echo "configure:4116: checking for off_t" >&5 | 4130 echo "configure:4131: checking for off_t" >&5 |
| 4116 | 4131 |
| 4117 cat > conftest.$ac_ext <<EOF | 4132 cat > conftest.$ac_ext <<EOF |
| 4118 #line 4119 "configure" | 4133 #line 4134 "configure" |
| 4119 #include "confdefs.h" | 4134 #include "confdefs.h" |
| 4120 #include <sys/types.h> | 4135 #include <sys/types.h> |
| 4121 #if STDC_HEADERS | 4136 #if STDC_HEADERS |
| 4122 #include <stdlib.h> | 4137 #include <stdlib.h> |
| 4123 #include <stddef.h> | 4138 #include <stddef.h> |
| 4144 } | 4159 } |
| 4145 | 4160 |
| 4146 fi | 4161 fi |
| 4147 | 4162 |
| 4148 echo $ac_n "checking for ssize_t""... $ac_c" 1>&6 | 4163 echo $ac_n "checking for ssize_t""... $ac_c" 1>&6 |
| 4149 echo "configure:4150: checking for ssize_t" >&5 | 4164 echo "configure:4165: checking for ssize_t" >&5 |
| 4150 | 4165 |
| 4151 cat > conftest.$ac_ext <<EOF | 4166 cat > conftest.$ac_ext <<EOF |
| 4152 #line 4153 "configure" | 4167 #line 4168 "configure" |
| 4153 #include "confdefs.h" | 4168 #include "confdefs.h" |
| 4154 #include <sys/types.h> | 4169 #include <sys/types.h> |
| 4155 #if STDC_HEADERS | 4170 #if STDC_HEADERS |
| 4156 #include <stdlib.h> | 4171 #include <stdlib.h> |
| 4157 #include <stddef.h> | 4172 #include <stddef.h> |
| 4179 | 4194 |
| 4180 fi | 4195 fi |
| 4181 | 4196 |
| 4182 | 4197 |
| 4183 echo $ac_n "checking for socklen_t""... $ac_c" 1>&6 | 4198 echo $ac_n "checking for socklen_t""... $ac_c" 1>&6 |
| 4184 echo "configure:4185: checking for socklen_t" >&5 | 4199 echo "configure:4200: checking for socklen_t" >&5 |
| 4185 cat > conftest.$ac_ext <<EOF | 4200 cat > conftest.$ac_ext <<EOF |
| 4186 #line 4187 "configure" | 4201 #line 4202 "configure" |
| 4187 #include "confdefs.h" | 4202 #include "confdefs.h" |
| 4188 #include <sys/socket.h> | 4203 #include <sys/socket.h> |
| 4189 socklen_t x; | 4204 socklen_t x; |
| 4190 | 4205 |
| 4191 int main() { | 4206 int main() { |
| 4192 | 4207 |
| 4193 ; return 0; } | 4208 ; return 0; } |
| 4194 EOF | 4209 EOF |
| 4195 if { (eval echo configure:4196: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4210 if { (eval echo configure:4211: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 4196 rm -rf conftest* | 4211 rm -rf conftest* |
| 4197 echo "$ac_t""yes" 1>&6 | 4212 echo "$ac_t""yes" 1>&6 |
| 4198 else | 4213 else |
| 4199 echo "configure: failed program was:" >&5 | 4214 echo "configure: failed program was:" >&5 |
| 4200 cat conftest.$ac_ext >&5 | 4215 cat conftest.$ac_ext >&5 |
| 4201 rm -rf conftest* | 4216 rm -rf conftest* |
| 4202 | 4217 |
| 4203 cat > conftest.$ac_ext <<EOF | 4218 cat > conftest.$ac_ext <<EOF |
| 4204 #line 4205 "configure" | 4219 #line 4220 "configure" |
| 4205 #include "confdefs.h" | 4220 #include "confdefs.h" |
| 4206 #include <sys/socket.h> | 4221 #include <sys/socket.h> |
| 4207 int accept (int, struct sockaddr *, size_t *); | 4222 int accept (int, struct sockaddr *, size_t *); |
| 4208 | 4223 |
| 4209 int main() { | 4224 int main() { |
| 4210 | 4225 |
| 4211 ; return 0; } | 4226 ; return 0; } |
| 4212 EOF | 4227 EOF |
| 4213 if { (eval echo configure:4214: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4228 if { (eval echo configure:4229: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 4214 rm -rf conftest* | 4229 rm -rf conftest* |
| 4215 | 4230 |
| 4216 echo "$ac_t""size_t" 1>&6 | 4231 echo "$ac_t""size_t" 1>&6 |
| 4217 { test "$extra_verbose" = "yes" && cat << \EOF | 4232 { test "$extra_verbose" = "yes" && cat << \EOF |
| 4218 Defining socklen_t = size_t | 4233 Defining socklen_t = size_t |
| 4240 rm -f conftest* | 4255 rm -f conftest* |
| 4241 fi | 4256 fi |
| 4242 rm -f conftest* | 4257 rm -f conftest* |
| 4243 | 4258 |
| 4244 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 | 4259 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 |
| 4245 echo "configure:4246: checking for struct timeval" >&5 | 4260 echo "configure:4261: checking for struct timeval" >&5 |
| 4246 cat > conftest.$ac_ext <<EOF | 4261 cat > conftest.$ac_ext <<EOF |
| 4247 #line 4248 "configure" | 4262 #line 4263 "configure" |
| 4248 #include "confdefs.h" | 4263 #include "confdefs.h" |
| 4249 #ifdef TIME_WITH_SYS_TIME | 4264 #ifdef TIME_WITH_SYS_TIME |
| 4250 #include <sys/time.h> | 4265 #include <sys/time.h> |
| 4251 #include <time.h> | 4266 #include <time.h> |
| 4252 #else | 4267 #else |
| 4258 #endif | 4273 #endif |
| 4259 int main() { | 4274 int main() { |
| 4260 static struct timeval x; x.tv_sec = x.tv_usec; | 4275 static struct timeval x; x.tv_sec = x.tv_usec; |
| 4261 ; return 0; } | 4276 ; return 0; } |
| 4262 EOF | 4277 EOF |
| 4263 if { (eval echo configure:4264: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4278 if { (eval echo configure:4279: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 4264 rm -rf conftest* | 4279 rm -rf conftest* |
| 4265 echo "$ac_t""yes" 1>&6 | 4280 echo "$ac_t""yes" 1>&6 |
| 4266 HAVE_TIMEVAL=yes | 4281 HAVE_TIMEVAL=yes |
| 4267 { test "$extra_verbose" = "yes" && cat << \EOF | 4282 { test "$extra_verbose" = "yes" && cat << \EOF |
| 4268 Defining HAVE_TIMEVAL | 4283 Defining HAVE_TIMEVAL |
| 4280 HAVE_TIMEVAL=no | 4295 HAVE_TIMEVAL=no |
| 4281 fi | 4296 fi |
| 4282 rm -f conftest* | 4297 rm -f conftest* |
| 4283 | 4298 |
| 4284 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 | 4299 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 |
| 4285 echo "configure:4286: checking whether struct tm is in sys/time.h or time.h" >&5 | 4300 echo "configure:4301: checking whether struct tm is in sys/time.h or time.h" >&5 |
| 4286 | 4301 |
| 4287 cat > conftest.$ac_ext <<EOF | 4302 cat > conftest.$ac_ext <<EOF |
| 4288 #line 4289 "configure" | 4303 #line 4304 "configure" |
| 4289 #include "confdefs.h" | 4304 #include "confdefs.h" |
| 4290 #include <sys/types.h> | 4305 #include <sys/types.h> |
| 4291 #include <time.h> | 4306 #include <time.h> |
| 4292 int main() { | 4307 int main() { |
| 4293 struct tm *tp; tp->tm_sec; | 4308 struct tm *tp; tp->tm_sec; |
| 4294 ; return 0; } | 4309 ; return 0; } |
| 4295 EOF | 4310 EOF |
| 4296 if { (eval echo configure:4297: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4311 if { (eval echo configure:4312: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 4297 rm -rf conftest* | 4312 rm -rf conftest* |
| 4298 ac_cv_struct_tm=time.h | 4313 ac_cv_struct_tm=time.h |
| 4299 else | 4314 else |
| 4300 echo "configure: failed program was:" >&5 | 4315 echo "configure: failed program was:" >&5 |
| 4301 cat conftest.$ac_ext >&5 | 4316 cat conftest.$ac_ext >&5 |
| 4315 } | 4330 } |
| 4316 | 4331 |
| 4317 fi | 4332 fi |
| 4318 | 4333 |
| 4319 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 | 4334 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 |
| 4320 echo "configure:4321: checking for tm_zone in struct tm" >&5 | 4335 echo "configure:4336: checking for tm_zone in struct tm" >&5 |
| 4321 | 4336 |
| 4322 cat > conftest.$ac_ext <<EOF | 4337 cat > conftest.$ac_ext <<EOF |
| 4323 #line 4324 "configure" | 4338 #line 4339 "configure" |
| 4324 #include "confdefs.h" | 4339 #include "confdefs.h" |
| 4325 #include <sys/types.h> | 4340 #include <sys/types.h> |
| 4326 #include <$ac_cv_struct_tm> | 4341 #include <$ac_cv_struct_tm> |
| 4327 int main() { | 4342 int main() { |
| 4328 struct tm tm; tm.tm_zone; | 4343 struct tm tm; tm.tm_zone; |
| 4329 ; return 0; } | 4344 ; return 0; } |
| 4330 EOF | 4345 EOF |
| 4331 if { (eval echo configure:4332: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4346 if { (eval echo configure:4347: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 4332 rm -rf conftest* | 4347 rm -rf conftest* |
| 4333 ac_cv_struct_tm_zone=yes | 4348 ac_cv_struct_tm_zone=yes |
| 4334 else | 4349 else |
| 4335 echo "configure: failed program was:" >&5 | 4350 echo "configure: failed program was:" >&5 |
| 4336 cat conftest.$ac_ext >&5 | 4351 cat conftest.$ac_ext >&5 |
| 4349 EOF | 4364 EOF |
| 4350 } | 4365 } |
| 4351 | 4366 |
| 4352 else | 4367 else |
| 4353 echo $ac_n "checking for tzname""... $ac_c" 1>&6 | 4368 echo $ac_n "checking for tzname""... $ac_c" 1>&6 |
| 4354 echo "configure:4355: checking for tzname" >&5 | 4369 echo "configure:4370: checking for tzname" >&5 |
| 4355 | 4370 |
| 4356 cat > conftest.$ac_ext <<EOF | 4371 cat > conftest.$ac_ext <<EOF |
| 4357 #line 4358 "configure" | 4372 #line 4373 "configure" |
| 4358 #include "confdefs.h" | 4373 #include "confdefs.h" |
| 4359 #include <time.h> | 4374 #include <time.h> |
| 4360 #ifndef tzname /* For SGI. */ | 4375 #ifndef tzname /* For SGI. */ |
| 4361 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ | 4376 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ |
| 4362 #endif | 4377 #endif |
| 4363 int main() { | 4378 int main() { |
| 4364 atoi(*tzname); | 4379 atoi(*tzname); |
| 4365 ; return 0; } | 4380 ; return 0; } |
| 4366 EOF | 4381 EOF |
| 4367 if { (eval echo configure:4368: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4382 if { (eval echo configure:4383: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 4368 rm -rf conftest* | 4383 rm -rf conftest* |
| 4369 ac_cv_var_tzname=yes | 4384 ac_cv_var_tzname=yes |
| 4370 else | 4385 else |
| 4371 echo "configure: failed program was:" >&5 | 4386 echo "configure: failed program was:" >&5 |
| 4372 cat conftest.$ac_ext >&5 | 4387 cat conftest.$ac_ext >&5 |
| 4388 fi | 4403 fi |
| 4389 fi | 4404 fi |
| 4390 | 4405 |
| 4391 | 4406 |
| 4392 echo $ac_n "checking for working const""... $ac_c" 1>&6 | 4407 echo $ac_n "checking for working const""... $ac_c" 1>&6 |
| 4393 echo "configure:4394: checking for working const" >&5 | 4408 echo "configure:4409: checking for working const" >&5 |
| 4394 | 4409 |
| 4395 cat > conftest.$ac_ext <<EOF | 4410 cat > conftest.$ac_ext <<EOF |
| 4396 #line 4397 "configure" | 4411 #line 4412 "configure" |
| 4397 #include "confdefs.h" | 4412 #include "confdefs.h" |
| 4398 | 4413 |
| 4399 int main() { | 4414 int main() { |
| 4400 | 4415 |
| 4401 /* Ultrix mips cc rejects this. */ | 4416 /* Ultrix mips cc rejects this. */ |
| 4440 const int foo = 10; | 4455 const int foo = 10; |
| 4441 } | 4456 } |
| 4442 | 4457 |
| 4443 ; return 0; } | 4458 ; return 0; } |
| 4444 EOF | 4459 EOF |
| 4445 if { (eval echo configure:4446: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4460 if { (eval echo configure:4461: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 4446 rm -rf conftest* | 4461 rm -rf conftest* |
| 4447 ac_cv_c_const=yes | 4462 ac_cv_c_const=yes |
| 4448 else | 4463 else |
| 4449 echo "configure: failed program was:" >&5 | 4464 echo "configure: failed program was:" >&5 |
| 4450 cat conftest.$ac_ext >&5 | 4465 cat conftest.$ac_ext >&5 |
| 4465 | 4480 |
| 4466 fi | 4481 fi |
| 4467 | 4482 |
| 4468 | 4483 |
| 4469 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 | 4484 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
| 4470 echo "configure:4471: checking whether ${MAKE-make} sets \${MAKE}" >&5 | 4485 echo "configure:4486: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
| 4471 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` | 4486 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
| 4472 | 4487 |
| 4473 cat > conftestmake <<\EOF | 4488 cat > conftestmake <<\EOF |
| 4474 all: | 4489 all: |
| 4475 @echo 'ac_maketemp="${MAKE}"' | 4490 @echo 'ac_maketemp="${MAKE}"' |
| 4490 SET_MAKE="MAKE=${MAKE-make}" | 4505 SET_MAKE="MAKE=${MAKE-make}" |
| 4491 fi | 4506 fi |
| 4492 | 4507 |
| 4493 | 4508 |
| 4494 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 | 4509 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 |
| 4495 echo "configure:4496: checking whether byte ordering is bigendian" >&5 | 4510 echo "configure:4511: checking whether byte ordering is bigendian" >&5 |
| 4496 | 4511 |
| 4497 ac_cv_c_bigendian=unknown | 4512 ac_cv_c_bigendian=unknown |
| 4498 # See if sys/param.h defines the BYTE_ORDER macro. | 4513 # See if sys/param.h defines the BYTE_ORDER macro. |
| 4499 cat > conftest.$ac_ext <<EOF | 4514 cat > conftest.$ac_ext <<EOF |
| 4500 #line 4501 "configure" | 4515 #line 4516 "configure" |
| 4501 #include "confdefs.h" | 4516 #include "confdefs.h" |
| 4502 #include <sys/types.h> | 4517 #include <sys/types.h> |
| 4503 #include <sys/param.h> | 4518 #include <sys/param.h> |
| 4504 int main() { | 4519 int main() { |
| 4505 | 4520 |
| 4506 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN | 4521 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN |
| 4507 bogus endian macros | 4522 bogus endian macros |
| 4508 #endif | 4523 #endif |
| 4509 ; return 0; } | 4524 ; return 0; } |
| 4510 EOF | 4525 EOF |
| 4511 if { (eval echo configure:4512: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4526 if { (eval echo configure:4527: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 4512 rm -rf conftest* | 4527 rm -rf conftest* |
| 4513 # It does; now see whether it defined to BIG_ENDIAN or not. | 4528 # It does; now see whether it defined to BIG_ENDIAN or not. |
| 4514 cat > conftest.$ac_ext <<EOF | 4529 cat > conftest.$ac_ext <<EOF |
| 4515 #line 4516 "configure" | 4530 #line 4531 "configure" |
| 4516 #include "confdefs.h" | 4531 #include "confdefs.h" |
| 4517 #include <sys/types.h> | 4532 #include <sys/types.h> |
| 4518 #include <sys/param.h> | 4533 #include <sys/param.h> |
| 4519 int main() { | 4534 int main() { |
| 4520 | 4535 |
| 4521 #if BYTE_ORDER != BIG_ENDIAN | 4536 #if BYTE_ORDER != BIG_ENDIAN |
| 4522 not big endian | 4537 not big endian |
| 4523 #endif | 4538 #endif |
| 4524 ; return 0; } | 4539 ; return 0; } |
| 4525 EOF | 4540 EOF |
| 4526 if { (eval echo configure:4527: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4541 if { (eval echo configure:4542: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 4527 rm -rf conftest* | 4542 rm -rf conftest* |
| 4528 ac_cv_c_bigendian=yes | 4543 ac_cv_c_bigendian=yes |
| 4529 else | 4544 else |
| 4530 echo "configure: failed program was:" >&5 | 4545 echo "configure: failed program was:" >&5 |
| 4531 cat conftest.$ac_ext >&5 | 4546 cat conftest.$ac_ext >&5 |
| 4538 cat conftest.$ac_ext >&5 | 4553 cat conftest.$ac_ext >&5 |
| 4539 fi | 4554 fi |
| 4540 rm -f conftest* | 4555 rm -f conftest* |
| 4541 if test $ac_cv_c_bigendian = unknown; then | 4556 if test $ac_cv_c_bigendian = unknown; then |
| 4542 cat > conftest.$ac_ext <<EOF | 4557 cat > conftest.$ac_ext <<EOF |
| 4543 #line 4544 "configure" | 4558 #line 4559 "configure" |
| 4544 #include "confdefs.h" | 4559 #include "confdefs.h" |
| 4545 main () { | 4560 main () { |
| 4546 /* Are we little or big endian? From Harbison&Steele. */ | 4561 /* Are we little or big endian? From Harbison&Steele. */ |
| 4547 union | 4562 union |
| 4548 { | 4563 { |
| 4551 } u; | 4566 } u; |
| 4552 u.l = 1; | 4567 u.l = 1; |
| 4553 exit (u.c[sizeof (long) - 1] == 1); | 4568 exit (u.c[sizeof (long) - 1] == 1); |
| 4554 } | 4569 } |
| 4555 EOF | 4570 EOF |
| 4556 if { (eval echo configure:4557: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4571 if { (eval echo configure:4572: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 4557 then | 4572 then |
| 4558 ac_cv_c_bigendian=no | 4573 ac_cv_c_bigendian=no |
| 4559 else | 4574 else |
| 4560 conftest_rc="$?" | 4575 conftest_rc="$?" |
| 4561 echo "configure: failed program was:" >&5 | 4576 echo "configure: failed program was:" >&5 |
| 4578 | 4593 |
| 4579 fi | 4594 fi |
| 4580 | 4595 |
| 4581 | 4596 |
| 4582 echo $ac_n "checking size of short""... $ac_c" 1>&6 | 4597 echo $ac_n "checking size of short""... $ac_c" 1>&6 |
| 4583 echo "configure:4584: checking size of short" >&5 | 4598 echo "configure:4599: checking size of short" >&5 |
| 4584 | 4599 |
| 4585 cat > conftest.$ac_ext <<EOF | 4600 cat > conftest.$ac_ext <<EOF |
| 4586 #line 4587 "configure" | 4601 #line 4602 "configure" |
| 4587 #include "confdefs.h" | 4602 #include "confdefs.h" |
| 4588 #include <stdio.h> | 4603 #include <stdio.h> |
| 4604 #include <sys/types.h> | |
| 4589 main() | 4605 main() |
| 4590 { | 4606 { |
| 4591 FILE *f=fopen("conftestval", "w"); | 4607 FILE *f=fopen("conftestval", "w"); |
| 4592 if (!f) exit(1); | 4608 if (!f) exit(1); |
| 4593 fprintf(f, "%d\n", sizeof(short)); | 4609 fprintf(f, "%d\n", sizeof(short)); |
| 4594 exit(0); | 4610 exit(0); |
| 4595 } | 4611 } |
| 4596 EOF | 4612 EOF |
| 4597 if { (eval echo configure:4598: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4613 if { (eval echo configure:4614: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 4598 then | 4614 then |
| 4599 ac_cv_sizeof_short=`cat conftestval` | 4615 ac_cv_sizeof_short=`cat conftestval` |
| 4600 else | 4616 else |
| 4601 conftest_rc="$?" | 4617 conftest_rc="$?" |
| 4602 echo "configure: failed program was:" >&5 | 4618 echo "configure: failed program was:" >&5 |
| 4620 echo "*** PANIC *** Configure tests are not working - compiler is broken." | 4636 echo "*** PANIC *** Configure tests are not working - compiler is broken." |
| 4621 echo "*** PANIC *** Please examine config.log for compilation errors." | 4637 echo "*** PANIC *** Please examine config.log for compilation errors." |
| 4622 exit 1 | 4638 exit 1 |
| 4623 fi | 4639 fi |
| 4624 echo $ac_n "checking size of int""... $ac_c" 1>&6 | 4640 echo $ac_n "checking size of int""... $ac_c" 1>&6 |
| 4625 echo "configure:4626: checking size of int" >&5 | 4641 echo "configure:4642: checking size of int" >&5 |
| 4626 | 4642 |
| 4627 cat > conftest.$ac_ext <<EOF | 4643 cat > conftest.$ac_ext <<EOF |
| 4628 #line 4629 "configure" | 4644 #line 4645 "configure" |
| 4629 #include "confdefs.h" | 4645 #include "confdefs.h" |
| 4630 #include <stdio.h> | 4646 #include <stdio.h> |
| 4647 #include <sys/types.h> | |
| 4631 main() | 4648 main() |
| 4632 { | 4649 { |
| 4633 FILE *f=fopen("conftestval", "w"); | 4650 FILE *f=fopen("conftestval", "w"); |
| 4634 if (!f) exit(1); | 4651 if (!f) exit(1); |
| 4635 fprintf(f, "%d\n", sizeof(int)); | 4652 fprintf(f, "%d\n", sizeof(int)); |
| 4636 exit(0); | 4653 exit(0); |
| 4637 } | 4654 } |
| 4638 EOF | 4655 EOF |
| 4639 if { (eval echo configure:4640: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4656 if { (eval echo configure:4657: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 4640 then | 4657 then |
| 4641 ac_cv_sizeof_int=`cat conftestval` | 4658 ac_cv_sizeof_int=`cat conftestval` |
| 4642 else | 4659 else |
| 4643 conftest_rc="$?" | 4660 conftest_rc="$?" |
| 4644 echo "configure: failed program was:" >&5 | 4661 echo "configure: failed program was:" >&5 |
| 4656 EOF | 4673 EOF |
| 4657 } | 4674 } |
| 4658 | 4675 |
| 4659 | 4676 |
| 4660 echo $ac_n "checking size of long""... $ac_c" 1>&6 | 4677 echo $ac_n "checking size of long""... $ac_c" 1>&6 |
| 4661 echo "configure:4662: checking size of long" >&5 | 4678 echo "configure:4679: checking size of long" >&5 |
| 4662 | 4679 |
| 4663 cat > conftest.$ac_ext <<EOF | 4680 cat > conftest.$ac_ext <<EOF |
| 4664 #line 4665 "configure" | 4681 #line 4682 "configure" |
| 4665 #include "confdefs.h" | 4682 #include "confdefs.h" |
| 4666 #include <stdio.h> | 4683 #include <stdio.h> |
| 4684 #include <sys/types.h> | |
| 4667 main() | 4685 main() |
| 4668 { | 4686 { |
| 4669 FILE *f=fopen("conftestval", "w"); | 4687 FILE *f=fopen("conftestval", "w"); |
| 4670 if (!f) exit(1); | 4688 if (!f) exit(1); |
| 4671 fprintf(f, "%d\n", sizeof(long)); | 4689 fprintf(f, "%d\n", sizeof(long)); |
| 4672 exit(0); | 4690 exit(0); |
| 4673 } | 4691 } |
| 4674 EOF | 4692 EOF |
| 4675 if { (eval echo configure:4676: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4693 if { (eval echo configure:4694: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 4676 then | 4694 then |
| 4677 ac_cv_sizeof_long=`cat conftestval` | 4695 ac_cv_sizeof_long=`cat conftestval` |
| 4678 else | 4696 else |
| 4679 conftest_rc="$?" | 4697 conftest_rc="$?" |
| 4680 echo "configure: failed program was:" >&5 | 4698 echo "configure: failed program was:" >&5 |
| 4692 EOF | 4710 EOF |
| 4693 } | 4711 } |
| 4694 | 4712 |
| 4695 | 4713 |
| 4696 echo $ac_n "checking size of long long""... $ac_c" 1>&6 | 4714 echo $ac_n "checking size of long long""... $ac_c" 1>&6 |
| 4697 echo "configure:4698: checking size of long long" >&5 | 4715 echo "configure:4716: checking size of long long" >&5 |
| 4698 | 4716 |
| 4699 cat > conftest.$ac_ext <<EOF | 4717 cat > conftest.$ac_ext <<EOF |
| 4700 #line 4701 "configure" | 4718 #line 4719 "configure" |
| 4701 #include "confdefs.h" | 4719 #include "confdefs.h" |
| 4702 #include <stdio.h> | 4720 #include <stdio.h> |
| 4721 #include <sys/types.h> | |
| 4703 main() | 4722 main() |
| 4704 { | 4723 { |
| 4705 FILE *f=fopen("conftestval", "w"); | 4724 FILE *f=fopen("conftestval", "w"); |
| 4706 if (!f) exit(1); | 4725 if (!f) exit(1); |
| 4707 fprintf(f, "%d\n", sizeof(long long)); | 4726 fprintf(f, "%d\n", sizeof(long long)); |
| 4708 exit(0); | 4727 exit(0); |
| 4709 } | 4728 } |
| 4710 EOF | 4729 EOF |
| 4711 if { (eval echo configure:4712: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4730 if { (eval echo configure:4731: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 4712 then | 4731 then |
| 4713 ac_cv_sizeof_long_long=`cat conftestval` | 4732 ac_cv_sizeof_long_long=`cat conftestval` |
| 4714 else | 4733 else |
| 4715 conftest_rc="$?" | 4734 conftest_rc="$?" |
| 4716 echo "configure: failed program was:" >&5 | 4735 echo "configure: failed program was:" >&5 |
| 4728 EOF | 4747 EOF |
| 4729 } | 4748 } |
| 4730 | 4749 |
| 4731 | 4750 |
| 4732 echo $ac_n "checking size of void *""... $ac_c" 1>&6 | 4751 echo $ac_n "checking size of void *""... $ac_c" 1>&6 |
| 4733 echo "configure:4734: checking size of void *" >&5 | 4752 echo "configure:4753: checking size of void *" >&5 |
| 4734 | 4753 |
| 4735 cat > conftest.$ac_ext <<EOF | 4754 cat > conftest.$ac_ext <<EOF |
| 4736 #line 4737 "configure" | 4755 #line 4756 "configure" |
| 4737 #include "confdefs.h" | 4756 #include "confdefs.h" |
| 4738 #include <stdio.h> | 4757 #include <stdio.h> |
| 4758 #include <sys/types.h> | |
| 4739 main() | 4759 main() |
| 4740 { | 4760 { |
| 4741 FILE *f=fopen("conftestval", "w"); | 4761 FILE *f=fopen("conftestval", "w"); |
| 4742 if (!f) exit(1); | 4762 if (!f) exit(1); |
| 4743 fprintf(f, "%d\n", sizeof(void *)); | 4763 fprintf(f, "%d\n", sizeof(void *)); |
| 4744 exit(0); | 4764 exit(0); |
| 4745 } | 4765 } |
| 4746 EOF | 4766 EOF |
| 4747 if { (eval echo configure:4748: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4767 if { (eval echo configure:4768: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 4748 then | 4768 then |
| 4749 ac_cv_sizeof_void_p=`cat conftestval` | 4769 ac_cv_sizeof_void_p=`cat conftestval` |
| 4750 else | 4770 else |
| 4751 conftest_rc="$?" | 4771 conftest_rc="$?" |
| 4752 echo "configure: failed program was:" >&5 | 4772 echo "configure: failed program was:" >&5 |
| 4765 } | 4785 } |
| 4766 | 4786 |
| 4767 | 4787 |
| 4768 | 4788 |
| 4769 echo $ac_n "checking for long file names""... $ac_c" 1>&6 | 4789 echo $ac_n "checking for long file names""... $ac_c" 1>&6 |
| 4770 echo "configure:4771: checking for long file names" >&5 | 4790 echo "configure:4791: checking for long file names" >&5 |
| 4771 | 4791 |
| 4772 ac_cv_sys_long_file_names=yes | 4792 ac_cv_sys_long_file_names=yes |
| 4773 # Test for long file names in all the places we know might matter: | 4793 # Test for long file names in all the places we know might matter: |
| 4774 # . the current directory, where building will happen | 4794 # . the current directory, where building will happen |
| 4775 # $prefix/lib where we will be installing things | 4795 # $prefix/lib where we will be installing things |
| 4811 | 4831 |
| 4812 fi | 4832 fi |
| 4813 | 4833 |
| 4814 | 4834 |
| 4815 echo $ac_n "checking for sin""... $ac_c" 1>&6 | 4835 echo $ac_n "checking for sin""... $ac_c" 1>&6 |
| 4816 echo "configure:4817: checking for sin" >&5 | 4836 echo "configure:4837: checking for sin" >&5 |
| 4817 | 4837 |
| 4818 cat > conftest.$ac_ext <<EOF | 4838 cat > conftest.$ac_ext <<EOF |
| 4819 #line 4820 "configure" | 4839 #line 4840 "configure" |
| 4820 #include "confdefs.h" | 4840 #include "confdefs.h" |
| 4821 /* System header to define __stub macros and hopefully few prototypes, | 4841 /* System header to define __stub macros and hopefully few prototypes, |
| 4822 which can conflict with char sin(); below. */ | 4842 which can conflict with char sin(); below. */ |
| 4823 #include <assert.h> | 4843 #include <assert.h> |
| 4824 /* Override any gcc2 internal prototype to avoid an error. */ | 4844 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4837 sin(); | 4857 sin(); |
| 4838 #endif | 4858 #endif |
| 4839 | 4859 |
| 4840 ; return 0; } | 4860 ; return 0; } |
| 4841 EOF | 4861 EOF |
| 4842 if { (eval echo configure:4843: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4862 if { (eval echo configure:4863: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 4843 rm -rf conftest* | 4863 rm -rf conftest* |
| 4844 eval "ac_cv_func_sin=yes" | 4864 eval "ac_cv_func_sin=yes" |
| 4845 else | 4865 else |
| 4846 echo "configure: failed program was:" >&5 | 4866 echo "configure: failed program was:" >&5 |
| 4847 cat conftest.$ac_ext >&5 | 4867 cat conftest.$ac_ext >&5 |
| 4855 : | 4875 : |
| 4856 else | 4876 else |
| 4857 echo "$ac_t""no" 1>&6 | 4877 echo "$ac_t""no" 1>&6 |
| 4858 | 4878 |
| 4859 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 | 4879 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 |
| 4860 echo "configure:4861: checking for sin in -lm" >&5 | 4880 echo "configure:4881: checking for sin in -lm" >&5 |
| 4861 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` | 4881 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` |
| 4862 | 4882 |
| 4863 xe_check_libs=" -lm " | 4883 xe_check_libs=" -lm " |
| 4864 cat > conftest.$ac_ext <<EOF | 4884 cat > conftest.$ac_ext <<EOF |
| 4865 #line 4866 "configure" | 4885 #line 4886 "configure" |
| 4866 #include "confdefs.h" | 4886 #include "confdefs.h" |
| 4867 /* Override any gcc2 internal prototype to avoid an error. */ | 4887 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4868 /* We use char because int might match the return type of a gcc2 | 4888 /* We use char because int might match the return type of a gcc2 |
| 4869 builtin and then its argument prototype would still apply. */ | 4889 builtin and then its argument prototype would still apply. */ |
| 4870 char sin(); | 4890 char sin(); |
| 4871 | 4891 |
| 4872 int main() { | 4892 int main() { |
| 4873 sin() | 4893 sin() |
| 4874 ; return 0; } | 4894 ; return 0; } |
| 4875 EOF | 4895 EOF |
| 4876 if { (eval echo configure:4877: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4896 if { (eval echo configure:4897: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 4877 rm -rf conftest* | 4897 rm -rf conftest* |
| 4878 eval "ac_cv_lib_$ac_lib_var=yes" | 4898 eval "ac_cv_lib_$ac_lib_var=yes" |
| 4879 else | 4899 else |
| 4880 echo "configure: failed program was:" >&5 | 4900 echo "configure: failed program was:" >&5 |
| 4881 cat conftest.$ac_ext >&5 | 4901 cat conftest.$ac_ext >&5 |
| 4906 | 4926 |
| 4907 fi | 4927 fi |
| 4908 | 4928 |
| 4909 | 4929 |
| 4910 cat > conftest.$ac_ext <<EOF | 4930 cat > conftest.$ac_ext <<EOF |
| 4911 #line 4912 "configure" | 4931 #line 4932 "configure" |
| 4912 #include "confdefs.h" | 4932 #include "confdefs.h" |
| 4913 #include <math.h> | 4933 #include <math.h> |
| 4914 int main() { | 4934 int main() { |
| 4915 return atanh(1.0) + asinh(1.0) + acosh(1.0); | 4935 return atanh(1.0) + asinh(1.0) + acosh(1.0); |
| 4916 ; return 0; } | 4936 ; return 0; } |
| 4917 EOF | 4937 EOF |
| 4918 if { (eval echo configure:4919: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4938 if { (eval echo configure:4939: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 4919 rm -rf conftest* | 4939 rm -rf conftest* |
| 4920 { test "$extra_verbose" = "yes" && cat << \EOF | 4940 { test "$extra_verbose" = "yes" && cat << \EOF |
| 4921 Defining HAVE_INVERSE_HYPERBOLIC | 4941 Defining HAVE_INVERSE_HYPERBOLIC |
| 4922 EOF | 4942 EOF |
| 4923 cat >> confdefs.h <<\EOF | 4943 cat >> confdefs.h <<\EOF |
| 4932 rm -f conftest* | 4952 rm -f conftest* |
| 4933 | 4953 |
| 4934 for ac_func in mkstemp | 4954 for ac_func in mkstemp |
| 4935 do | 4955 do |
| 4936 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 4956 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 4937 echo "configure:4938: checking for $ac_func" >&5 | 4957 echo "configure:4958: checking for $ac_func" >&5 |
| 4938 | 4958 |
| 4939 cat > conftest.$ac_ext <<EOF | 4959 cat > conftest.$ac_ext <<EOF |
| 4940 #line 4941 "configure" | 4960 #line 4961 "configure" |
| 4941 #include "confdefs.h" | 4961 #include "confdefs.h" |
| 4942 /* System header to define __stub macros and hopefully few prototypes, | 4962 /* System header to define __stub macros and hopefully few prototypes, |
| 4943 which can conflict with char $ac_func(); below. */ | 4963 which can conflict with char $ac_func(); below. */ |
| 4944 #include <assert.h> | 4964 #include <assert.h> |
| 4945 /* Override any gcc2 internal prototype to avoid an error. */ | 4965 /* Override any gcc2 internal prototype to avoid an error. */ |
| 4958 $ac_func(); | 4978 $ac_func(); |
| 4959 #endif | 4979 #endif |
| 4960 | 4980 |
| 4961 ; return 0; } | 4981 ; return 0; } |
| 4962 EOF | 4982 EOF |
| 4963 if { (eval echo configure:4964: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4983 if { (eval echo configure:4984: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 4964 rm -rf conftest* | 4984 rm -rf conftest* |
| 4965 eval "ac_cv_func_$ac_func=yes" | 4985 eval "ac_cv_func_$ac_func=yes" |
| 4966 else | 4986 else |
| 4967 echo "configure: failed program was:" >&5 | 4987 echo "configure: failed program was:" >&5 |
| 4968 cat conftest.$ac_ext >&5 | 4988 cat conftest.$ac_ext >&5 |
| 4987 fi | 5007 fi |
| 4988 done | 5008 done |
| 4989 | 5009 |
| 4990 | 5010 |
| 4991 echo "checking type of mail spool file locking" 1>&6 | 5011 echo "checking type of mail spool file locking" 1>&6 |
| 4992 echo "configure:4993: checking type of mail spool file locking" >&5 | 5012 echo "configure:5013: checking type of mail spool file locking" >&5 |
| 4993 for ac_func in lockf flock | 5013 for ac_func in lockf flock |
| 4994 do | 5014 do |
| 4995 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 5015 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 4996 echo "configure:4997: checking for $ac_func" >&5 | 5016 echo "configure:5017: checking for $ac_func" >&5 |
| 4997 | 5017 |
| 4998 cat > conftest.$ac_ext <<EOF | 5018 cat > conftest.$ac_ext <<EOF |
| 4999 #line 5000 "configure" | 5019 #line 5020 "configure" |
| 5000 #include "confdefs.h" | 5020 #include "confdefs.h" |
| 5001 /* System header to define __stub macros and hopefully few prototypes, | 5021 /* System header to define __stub macros and hopefully few prototypes, |
| 5002 which can conflict with char $ac_func(); below. */ | 5022 which can conflict with char $ac_func(); below. */ |
| 5003 #include <assert.h> | 5023 #include <assert.h> |
| 5004 /* Override any gcc2 internal prototype to avoid an error. */ | 5024 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5017 $ac_func(); | 5037 $ac_func(); |
| 5018 #endif | 5038 #endif |
| 5019 | 5039 |
| 5020 ; return 0; } | 5040 ; return 0; } |
| 5021 EOF | 5041 EOF |
| 5022 if { (eval echo configure:5023: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5042 if { (eval echo configure:5043: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5023 rm -rf conftest* | 5043 rm -rf conftest* |
| 5024 eval "ac_cv_func_$ac_func=yes" | 5044 eval "ac_cv_func_$ac_func=yes" |
| 5025 else | 5045 else |
| 5026 echo "configure: failed program was:" >&5 | 5046 echo "configure: failed program was:" >&5 |
| 5027 cat conftest.$ac_ext >&5 | 5047 cat conftest.$ac_ext >&5 |
| 5099 { echo "Error:" "locking mail locking requested but not available." >&2; exit 1; } | 5119 { echo "Error:" "locking mail locking requested but not available." >&2; exit 1; } |
| 5100 | 5120 |
| 5101 case "$opsys" in decosf*) | 5121 case "$opsys" in decosf*) |
| 5102 | 5122 |
| 5103 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 | 5123 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 |
| 5104 echo "configure:5105: checking for cma_open in -lpthreads" >&5 | 5124 echo "configure:5125: checking for cma_open in -lpthreads" >&5 |
| 5105 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` | 5125 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` |
| 5106 | 5126 |
| 5107 xe_check_libs=" -lpthreads " | 5127 xe_check_libs=" -lpthreads " |
| 5108 cat > conftest.$ac_ext <<EOF | 5128 cat > conftest.$ac_ext <<EOF |
| 5109 #line 5110 "configure" | 5129 #line 5130 "configure" |
| 5110 #include "confdefs.h" | 5130 #include "confdefs.h" |
| 5111 /* Override any gcc2 internal prototype to avoid an error. */ | 5131 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5112 /* We use char because int might match the return type of a gcc2 | 5132 /* We use char because int might match the return type of a gcc2 |
| 5113 builtin and then its argument prototype would still apply. */ | 5133 builtin and then its argument prototype would still apply. */ |
| 5114 char cma_open(); | 5134 char cma_open(); |
| 5115 | 5135 |
| 5116 int main() { | 5136 int main() { |
| 5117 cma_open() | 5137 cma_open() |
| 5118 ; return 0; } | 5138 ; return 0; } |
| 5119 EOF | 5139 EOF |
| 5120 if { (eval echo configure:5121: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5140 if { (eval echo configure:5141: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5121 rm -rf conftest* | 5141 rm -rf conftest* |
| 5122 eval "ac_cv_lib_$ac_lib_var=yes" | 5142 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5123 else | 5143 else |
| 5124 echo "configure: failed program was:" >&5 | 5144 echo "configure: failed program was:" >&5 |
| 5125 cat conftest.$ac_ext >&5 | 5145 cat conftest.$ac_ext >&5 |
| 5152 c_switch_site="$c_switch_site -threads" ;; | 5172 c_switch_site="$c_switch_site -threads" ;; |
| 5153 esac | 5173 esac |
| 5154 | 5174 |
| 5155 | 5175 |
| 5156 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 | 5176 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 |
| 5157 echo "configure:5158: checking whether the -xildoff compiler flag is required" >&5 | 5177 echo "configure:5178: checking whether the -xildoff compiler flag is required" >&5 |
| 5158 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then | 5178 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then |
| 5159 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; | 5179 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; |
| 5160 then echo "$ac_t""no" 1>&6; | 5180 then echo "$ac_t""no" 1>&6; |
| 5161 else echo "$ac_t""yes" 1>&6; ld_switch_site="$ld_switch_site -xildoff" && if test "$extra_verbose" = "yes"; then echo " Appending \"-xildoff\" to \$ld_switch_site"; fi | 5181 else echo "$ac_t""yes" 1>&6; ld_switch_site="$ld_switch_site -xildoff" && if test "$extra_verbose" = "yes"; then echo " Appending \"-xildoff\" to \$ld_switch_site"; fi |
| 5162 fi | 5182 fi |
| 5164 fi | 5184 fi |
| 5165 | 5185 |
| 5166 if test "$opsys" = "sol2"; then | 5186 if test "$opsys" = "sol2"; then |
| 5167 if test "$os_release" -ge 56; then | 5187 if test "$os_release" -ge 56; then |
| 5168 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 | 5188 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 |
| 5169 echo "configure:5170: checking for \"-z ignore\" linker flag" >&5 | 5189 echo "configure:5190: checking for \"-z ignore\" linker flag" >&5 |
| 5170 case "`ld -h 2>&1`" in | 5190 case "`ld -h 2>&1`" in |
| 5171 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 | 5191 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 |
| 5172 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; | 5192 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; |
| 5173 *) echo "$ac_t""no" 1>&6 ;; | 5193 *) echo "$ac_t""no" 1>&6 ;; |
| 5174 esac | 5194 esac |
| 5175 fi | 5195 fi |
| 5176 fi | 5196 fi |
| 5177 | 5197 |
| 5178 | 5198 |
| 5179 echo "checking "for specified window system"" 1>&6 | 5199 echo "checking "for specified window system"" 1>&6 |
| 5180 echo "configure:5181: checking "for specified window system"" >&5 | 5200 echo "configure:5201: checking "for specified window system"" >&5 |
| 5181 | 5201 |
| 5182 | 5202 |
| 5183 GNOME_CONFIG=no | 5203 GNOME_CONFIG=no |
| 5184 GTK_CONFIG=no | 5204 GTK_CONFIG=no |
| 5185 | 5205 |
| 5186 if test "$with_gnome" != "no"; then | 5206 if test "$with_gnome" != "no"; then |
| 5187 echo $ac_n "checking for GNOME configuration script""... $ac_c" 1>&6 | 5207 echo $ac_n "checking for GNOME configuration script""... $ac_c" 1>&6 |
| 5188 echo "configure:5189: checking for GNOME configuration script" >&5 | 5208 echo "configure:5209: checking for GNOME configuration script" >&5 |
| 5189 for possible in gnome-config | 5209 for possible in gnome-config |
| 5190 do | 5210 do |
| 5191 possible_version=`${possible} --version 2> /dev/null` | 5211 possible_version=`${possible} --version 2> /dev/null` |
| 5192 if test "x${possible_version}" != "x"; then | 5212 if test "x${possible_version}" != "x"; then |
| 5193 GNOME_CONFIG="${possible}" | 5213 GNOME_CONFIG="${possible}" |
| 5214 c_switch_gtk="$c_switch_gtk ${GNOME_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GNOME_CFLAGS}\" to \$c_switch_gtk"; fi | 5234 c_switch_gtk="$c_switch_gtk ${GNOME_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GNOME_CFLAGS}\" to \$c_switch_gtk"; fi |
| 5215 fi | 5235 fi |
| 5216 | 5236 |
| 5217 if test "$with_gtk" != "no";then | 5237 if test "$with_gtk" != "no";then |
| 5218 echo $ac_n "checking for GTK configuration script""... $ac_c" 1>&6 | 5238 echo $ac_n "checking for GTK configuration script""... $ac_c" 1>&6 |
| 5219 echo "configure:5220: checking for GTK configuration script" >&5 | 5239 echo "configure:5240: checking for GTK configuration script" >&5 |
| 5220 for possible in gtk12-config gtk14-config gtk-config | 5240 for possible in gtk12-config gtk14-config gtk-config |
| 5221 do | 5241 do |
| 5222 possible_version=`${possible} --version 2> /dev/null` | 5242 possible_version=`${possible} --version 2> /dev/null` |
| 5223 if test "x${possible_version}" != "x"; then | 5243 if test "x${possible_version}" != "x"; then |
| 5224 GTK_CONFIG="${possible}" | 5244 GTK_CONFIG="${possible}" |
| 5236 echo "$ac_t""${GTK_CONFIG}" 1>&6 | 5256 echo "$ac_t""${GTK_CONFIG}" 1>&6 |
| 5237 fi | 5257 fi |
| 5238 | 5258 |
| 5239 if test "${GTK_CONFIG}" != "no"; then | 5259 if test "${GTK_CONFIG}" != "no"; then |
| 5240 echo $ac_n "checking gtk version""... $ac_c" 1>&6 | 5260 echo $ac_n "checking gtk version""... $ac_c" 1>&6 |
| 5241 echo "configure:5242: checking gtk version" >&5 | 5261 echo "configure:5262: checking gtk version" >&5 |
| 5242 GTK_VERSION=`${GTK_CONFIG} --version` | 5262 GTK_VERSION=`${GTK_CONFIG} --version` |
| 5243 echo "$ac_t""${GTK_VERSION}" 1>&6 | 5263 echo "$ac_t""${GTK_VERSION}" 1>&6 |
| 5244 | 5264 |
| 5245 echo $ac_n "checking gtk libs""... $ac_c" 1>&6 | 5265 echo $ac_n "checking gtk libs""... $ac_c" 1>&6 |
| 5246 echo "configure:5247: checking gtk libs" >&5 | 5266 echo "configure:5267: checking gtk libs" >&5 |
| 5247 GTK_LIBS=`${GTK_CONFIG} --libs` | 5267 GTK_LIBS=`${GTK_CONFIG} --libs` |
| 5248 libs_gtk="$libs_gtk ${GTK_LIBS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_LIBS}\" to \$libs_gtk"; fi | 5268 libs_gtk="$libs_gtk ${GTK_LIBS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_LIBS}\" to \$libs_gtk"; fi |
| 5249 echo "$ac_t""${GTK_LIBS}" 1>&6 | 5269 echo "$ac_t""${GTK_LIBS}" 1>&6 |
| 5250 | 5270 |
| 5251 echo $ac_n "checking gtk cflags""... $ac_c" 1>&6 | 5271 echo $ac_n "checking gtk cflags""... $ac_c" 1>&6 |
| 5252 echo "configure:5253: checking gtk cflags" >&5 | 5272 echo "configure:5273: checking gtk cflags" >&5 |
| 5253 GTK_CFLAGS=`${GTK_CONFIG} --cflags` | 5273 GTK_CFLAGS=`${GTK_CONFIG} --cflags` |
| 5254 if test "$GCC" = "yes"; then | 5274 if test "$GCC" = "yes"; then |
| 5255 GTK_CFLAGS="${GTK_CFLAGS} -Wno-shadow" | 5275 GTK_CFLAGS="${GTK_CFLAGS} -Wno-shadow" |
| 5256 fi | 5276 fi |
| 5257 c_switch_gtk="$c_switch_gtk ${GTK_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_CFLAGS}\" to \$c_switch_gtk"; fi | 5277 c_switch_gtk="$c_switch_gtk ${GTK_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_CFLAGS}\" to \$c_switch_gtk"; fi |
| 5258 echo "$ac_t""${GTK_CFLAGS}" 1>&6 | 5278 echo "$ac_t""${GTK_CFLAGS}" 1>&6 |
| 5259 | 5279 |
| 5260 | 5280 |
| 5261 echo $ac_n "checking for main in -lgdk_imlib""... $ac_c" 1>&6 | 5281 echo $ac_n "checking for main in -lgdk_imlib""... $ac_c" 1>&6 |
| 5262 echo "configure:5263: checking for main in -lgdk_imlib" >&5 | 5282 echo "configure:5283: checking for main in -lgdk_imlib" >&5 |
| 5263 ac_lib_var=`echo gdk_imlib'_'main | sed 'y%./+-%__p_%'` | 5283 ac_lib_var=`echo gdk_imlib'_'main | sed 'y%./+-%__p_%'` |
| 5264 | 5284 |
| 5265 xe_check_libs=" -lgdk_imlib " | 5285 xe_check_libs=" -lgdk_imlib " |
| 5266 cat > conftest.$ac_ext <<EOF | 5286 cat > conftest.$ac_ext <<EOF |
| 5267 #line 5268 "configure" | 5287 #line 5288 "configure" |
| 5268 #include "confdefs.h" | 5288 #include "confdefs.h" |
| 5269 | 5289 |
| 5270 int main() { | 5290 int main() { |
| 5271 main() | 5291 main() |
| 5272 ; return 0; } | 5292 ; return 0; } |
| 5273 EOF | 5293 EOF |
| 5274 if { (eval echo configure:5275: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5294 if { (eval echo configure:5295: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5275 rm -rf conftest* | 5295 rm -rf conftest* |
| 5276 eval "ac_cv_lib_$ac_lib_var=yes" | 5296 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5277 else | 5297 else |
| 5278 echo "configure: failed program was:" >&5 | 5298 echo "configure: failed program was:" >&5 |
| 5279 cat conftest.$ac_ext >&5 | 5299 cat conftest.$ac_ext >&5 |
| 5291 fi | 5311 fi |
| 5292 | 5312 |
| 5293 | 5313 |
| 5294 | 5314 |
| 5295 echo $ac_n "checking for Imlib_init in -lImlib""... $ac_c" 1>&6 | 5315 echo $ac_n "checking for Imlib_init in -lImlib""... $ac_c" 1>&6 |
| 5296 echo "configure:5297: checking for Imlib_init in -lImlib" >&5 | 5316 echo "configure:5317: checking for Imlib_init in -lImlib" >&5 |
| 5297 ac_lib_var=`echo Imlib'_'Imlib_init | sed 'y%./+-%__p_%'` | 5317 ac_lib_var=`echo Imlib'_'Imlib_init | sed 'y%./+-%__p_%'` |
| 5298 | 5318 |
| 5299 xe_check_libs=" -lImlib " | 5319 xe_check_libs=" -lImlib " |
| 5300 cat > conftest.$ac_ext <<EOF | 5320 cat > conftest.$ac_ext <<EOF |
| 5301 #line 5302 "configure" | 5321 #line 5322 "configure" |
| 5302 #include "confdefs.h" | 5322 #include "confdefs.h" |
| 5303 /* Override any gcc2 internal prototype to avoid an error. */ | 5323 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5304 /* We use char because int might match the return type of a gcc2 | 5324 /* We use char because int might match the return type of a gcc2 |
| 5305 builtin and then its argument prototype would still apply. */ | 5325 builtin and then its argument prototype would still apply. */ |
| 5306 char Imlib_init(); | 5326 char Imlib_init(); |
| 5307 | 5327 |
| 5308 int main() { | 5328 int main() { |
| 5309 Imlib_init() | 5329 Imlib_init() |
| 5310 ; return 0; } | 5330 ; return 0; } |
| 5311 EOF | 5331 EOF |
| 5312 if { (eval echo configure:5313: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5332 if { (eval echo configure:5333: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5313 rm -rf conftest* | 5333 rm -rf conftest* |
| 5314 eval "ac_cv_lib_$ac_lib_var=yes" | 5334 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5315 else | 5335 else |
| 5316 echo "configure: failed program was:" >&5 | 5336 echo "configure: failed program was:" >&5 |
| 5317 cat conftest.$ac_ext >&5 | 5337 cat conftest.$ac_ext >&5 |
| 5330 | 5350 |
| 5331 | 5351 |
| 5332 for ac_func in gdk_imlib_init | 5352 for ac_func in gdk_imlib_init |
| 5333 do | 5353 do |
| 5334 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 5354 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 5335 echo "configure:5336: checking for $ac_func" >&5 | 5355 echo "configure:5356: checking for $ac_func" >&5 |
| 5336 | 5356 |
| 5337 cat > conftest.$ac_ext <<EOF | 5357 cat > conftest.$ac_ext <<EOF |
| 5338 #line 5339 "configure" | 5358 #line 5359 "configure" |
| 5339 #include "confdefs.h" | 5359 #include "confdefs.h" |
| 5340 /* System header to define __stub macros and hopefully few prototypes, | 5360 /* System header to define __stub macros and hopefully few prototypes, |
| 5341 which can conflict with char $ac_func(); below. */ | 5361 which can conflict with char $ac_func(); below. */ |
| 5342 #include <assert.h> | 5362 #include <assert.h> |
| 5343 /* Override any gcc2 internal prototype to avoid an error. */ | 5363 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5356 $ac_func(); | 5376 $ac_func(); |
| 5357 #endif | 5377 #endif |
| 5358 | 5378 |
| 5359 ; return 0; } | 5379 ; return 0; } |
| 5360 EOF | 5380 EOF |
| 5361 if { (eval echo configure:5362: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5381 if { (eval echo configure:5382: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5362 rm -rf conftest* | 5382 rm -rf conftest* |
| 5363 eval "ac_cv_func_$ac_func=yes" | 5383 eval "ac_cv_func_$ac_func=yes" |
| 5364 else | 5384 else |
| 5365 echo "configure: failed program was:" >&5 | 5385 echo "configure: failed program was:" >&5 |
| 5366 cat conftest.$ac_ext >&5 | 5386 cat conftest.$ac_ext >&5 |
| 5422 LDFLAGS="${LDFLAGS} ${GTK_LIBS}" | 5442 LDFLAGS="${LDFLAGS} ${GTK_LIBS}" |
| 5423 for ac_hdr in glade/glade.h glade.h | 5443 for ac_hdr in glade/glade.h glade.h |
| 5424 do | 5444 do |
| 5425 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5445 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 5426 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5446 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 5427 echo "configure:5428: checking for $ac_hdr" >&5 | 5447 echo "configure:5448: checking for $ac_hdr" >&5 |
| 5428 | 5448 |
| 5429 cat > conftest.$ac_ext <<EOF | 5449 cat > conftest.$ac_ext <<EOF |
| 5430 #line 5431 "configure" | 5450 #line 5451 "configure" |
| 5431 #include "confdefs.h" | 5451 #include "confdefs.h" |
| 5432 #include <$ac_hdr> | 5452 #include <$ac_hdr> |
| 5433 EOF | 5453 EOF |
| 5434 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5454 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 5435 { (eval echo configure:5436: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5455 { (eval echo configure:5456: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 5436 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5456 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 5437 if test -z "$ac_err"; then | 5457 if test -z "$ac_err"; then |
| 5438 rm -rf conftest* | 5458 rm -rf conftest* |
| 5439 eval "ac_cv_header_$ac_safe=yes" | 5459 eval "ac_cv_header_$ac_safe=yes" |
| 5440 else | 5460 else |
| 5461 fi | 5481 fi |
| 5462 done | 5482 done |
| 5463 | 5483 |
| 5464 | 5484 |
| 5465 echo $ac_n "checking for main in -lxml""... $ac_c" 1>&6 | 5485 echo $ac_n "checking for main in -lxml""... $ac_c" 1>&6 |
| 5466 echo "configure:5467: checking for main in -lxml" >&5 | 5486 echo "configure:5487: checking for main in -lxml" >&5 |
| 5467 ac_lib_var=`echo xml'_'main | sed 'y%./+-%__p_%'` | 5487 ac_lib_var=`echo xml'_'main | sed 'y%./+-%__p_%'` |
| 5468 | 5488 |
| 5469 xe_check_libs=" -lxml " | 5489 xe_check_libs=" -lxml " |
| 5470 cat > conftest.$ac_ext <<EOF | 5490 cat > conftest.$ac_ext <<EOF |
| 5471 #line 5472 "configure" | 5491 #line 5492 "configure" |
| 5472 #include "confdefs.h" | 5492 #include "confdefs.h" |
| 5473 | 5493 |
| 5474 int main() { | 5494 int main() { |
| 5475 main() | 5495 main() |
| 5476 ; return 0; } | 5496 ; return 0; } |
| 5477 EOF | 5497 EOF |
| 5478 if { (eval echo configure:5479: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5498 if { (eval echo configure:5499: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5479 rm -rf conftest* | 5499 rm -rf conftest* |
| 5480 eval "ac_cv_lib_$ac_lib_var=yes" | 5500 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5481 else | 5501 else |
| 5482 echo "configure: failed program was:" >&5 | 5502 echo "configure: failed program was:" >&5 |
| 5483 cat conftest.$ac_ext >&5 | 5503 cat conftest.$ac_ext >&5 |
| 5495 fi | 5515 fi |
| 5496 | 5516 |
| 5497 | 5517 |
| 5498 | 5518 |
| 5499 echo $ac_n "checking for main in -lglade""... $ac_c" 1>&6 | 5519 echo $ac_n "checking for main in -lglade""... $ac_c" 1>&6 |
| 5500 echo "configure:5501: checking for main in -lglade" >&5 | 5520 echo "configure:5521: checking for main in -lglade" >&5 |
| 5501 ac_lib_var=`echo glade'_'main | sed 'y%./+-%__p_%'` | 5521 ac_lib_var=`echo glade'_'main | sed 'y%./+-%__p_%'` |
| 5502 | 5522 |
| 5503 xe_check_libs=" -lglade " | 5523 xe_check_libs=" -lglade " |
| 5504 cat > conftest.$ac_ext <<EOF | 5524 cat > conftest.$ac_ext <<EOF |
| 5505 #line 5506 "configure" | 5525 #line 5526 "configure" |
| 5506 #include "confdefs.h" | 5526 #include "confdefs.h" |
| 5507 | 5527 |
| 5508 int main() { | 5528 int main() { |
| 5509 main() | 5529 main() |
| 5510 ; return 0; } | 5530 ; return 0; } |
| 5511 EOF | 5531 EOF |
| 5512 if { (eval echo configure:5513: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5532 if { (eval echo configure:5533: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5513 rm -rf conftest* | 5533 rm -rf conftest* |
| 5514 eval "ac_cv_lib_$ac_lib_var=yes" | 5534 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5515 else | 5535 else |
| 5516 echo "configure: failed program was:" >&5 | 5536 echo "configure: failed program was:" >&5 |
| 5517 cat conftest.$ac_ext >&5 | 5537 cat conftest.$ac_ext >&5 |
| 5529 fi | 5549 fi |
| 5530 | 5550 |
| 5531 | 5551 |
| 5532 | 5552 |
| 5533 echo $ac_n "checking for main in -lglade-gnome""... $ac_c" 1>&6 | 5553 echo $ac_n "checking for main in -lglade-gnome""... $ac_c" 1>&6 |
| 5534 echo "configure:5535: checking for main in -lglade-gnome" >&5 | 5554 echo "configure:5555: checking for main in -lglade-gnome" >&5 |
| 5535 ac_lib_var=`echo glade-gnome'_'main | sed 'y%./+-%__p_%'` | 5555 ac_lib_var=`echo glade-gnome'_'main | sed 'y%./+-%__p_%'` |
| 5536 | 5556 |
| 5537 xe_check_libs=" -lglade-gnome " | 5557 xe_check_libs=" -lglade-gnome " |
| 5538 cat > conftest.$ac_ext <<EOF | 5558 cat > conftest.$ac_ext <<EOF |
| 5539 #line 5540 "configure" | 5559 #line 5560 "configure" |
| 5540 #include "confdefs.h" | 5560 #include "confdefs.h" |
| 5541 | 5561 |
| 5542 int main() { | 5562 int main() { |
| 5543 main() | 5563 main() |
| 5544 ; return 0; } | 5564 ; return 0; } |
| 5545 EOF | 5565 EOF |
| 5546 if { (eval echo configure:5547: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5566 if { (eval echo configure:5567: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5547 rm -rf conftest* | 5567 rm -rf conftest* |
| 5548 eval "ac_cv_lib_$ac_lib_var=yes" | 5568 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5549 else | 5569 else |
| 5550 echo "configure: failed program was:" >&5 | 5570 echo "configure: failed program was:" >&5 |
| 5551 cat conftest.$ac_ext >&5 | 5571 cat conftest.$ac_ext >&5 |
| 5562 echo "$ac_t""no" 1>&6 | 5582 echo "$ac_t""no" 1>&6 |
| 5563 fi | 5583 fi |
| 5564 | 5584 |
| 5565 | 5585 |
| 5566 cat > conftest.$ac_ext <<EOF | 5586 cat > conftest.$ac_ext <<EOF |
| 5567 #line 5568 "configure" | 5587 #line 5588 "configure" |
| 5568 #include "confdefs.h" | 5588 #include "confdefs.h" |
| 5569 #include <glade/glade-xml.h> | 5589 #include <glade/glade-xml.h> |
| 5570 EOF | 5590 EOF |
| 5571 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 5591 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 5572 egrep "char \*txtdomain;" >/dev/null 2>&1; then | 5592 egrep "char \*txtdomain;" >/dev/null 2>&1; then |
| 5621 # If we find X, set shell vars x_includes and x_libraries to the | 5641 # If we find X, set shell vars x_includes and x_libraries to the |
| 5622 # paths, otherwise set no_x=yes. | 5642 # paths, otherwise set no_x=yes. |
| 5623 # Uses ac_ vars as temps to allow command line to override cache and checks. | 5643 # Uses ac_ vars as temps to allow command line to override cache and checks. |
| 5624 # --without-x overrides everything else, but does not touch the cache. | 5644 # --without-x overrides everything else, but does not touch the cache. |
| 5625 echo $ac_n "checking for X""... $ac_c" 1>&6 | 5645 echo $ac_n "checking for X""... $ac_c" 1>&6 |
| 5626 echo "configure:5627: checking for X" >&5 | 5646 echo "configure:5647: checking for X" >&5 |
| 5627 | 5647 |
| 5628 # Check whether --with-x or --without-x was given. | 5648 # Check whether --with-x or --without-x was given. |
| 5629 if test "${with_x+set}" = set; then | 5649 if test "${with_x+set}" = set; then |
| 5630 withval="$with_x" | 5650 withval="$with_x" |
| 5631 : | 5651 : |
| 5681 # Guess where to find include files, by looking for this one X11 .h file. | 5701 # Guess where to find include files, by looking for this one X11 .h file. |
| 5682 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h | 5702 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h |
| 5683 | 5703 |
| 5684 # First, try using that file with no special directory specified. | 5704 # First, try using that file with no special directory specified. |
| 5685 cat > conftest.$ac_ext <<EOF | 5705 cat > conftest.$ac_ext <<EOF |
| 5686 #line 5687 "configure" | 5706 #line 5707 "configure" |
| 5687 #include "confdefs.h" | 5707 #include "confdefs.h" |
| 5688 #include <$x_direct_test_include> | 5708 #include <$x_direct_test_include> |
| 5689 EOF | 5709 EOF |
| 5690 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5710 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 5691 { (eval echo configure:5692: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5711 { (eval echo configure:5712: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 5692 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5712 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 5693 if test -z "$ac_err"; then | 5713 if test -z "$ac_err"; then |
| 5694 rm -rf conftest* | 5714 rm -rf conftest* |
| 5695 # We can compile using X headers with no special include directory. | 5715 # We can compile using X headers with no special include directory. |
| 5696 ac_x_includes= | 5716 ac_x_includes= |
| 5755 # See if we find them without any special options. | 5775 # See if we find them without any special options. |
| 5756 # Don't add to $LIBS permanently. | 5776 # Don't add to $LIBS permanently. |
| 5757 ac_save_LIBS="$LIBS" | 5777 ac_save_LIBS="$LIBS" |
| 5758 LIBS="-l$x_direct_test_library $LIBS" | 5778 LIBS="-l$x_direct_test_library $LIBS" |
| 5759 cat > conftest.$ac_ext <<EOF | 5779 cat > conftest.$ac_ext <<EOF |
| 5760 #line 5761 "configure" | 5780 #line 5781 "configure" |
| 5761 #include "confdefs.h" | 5781 #include "confdefs.h" |
| 5762 | 5782 |
| 5763 int main() { | 5783 int main() { |
| 5764 ${x_direct_test_function}() | 5784 ${x_direct_test_function}() |
| 5765 ; return 0; } | 5785 ; return 0; } |
| 5766 EOF | 5786 EOF |
| 5767 if { (eval echo configure:5768: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5787 if { (eval echo configure:5788: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5768 rm -rf conftest* | 5788 rm -rf conftest* |
| 5769 LIBS="$ac_save_LIBS" | 5789 LIBS="$ac_save_LIBS" |
| 5770 # We can link X programs with no special library path. | 5790 # We can link X programs with no special library path. |
| 5771 ac_x_libraries= | 5791 ac_x_libraries= |
| 5772 else | 5792 else |
| 5871 # For Solaris; some versions of Sun CC require a space after -R and | 5891 # For Solaris; some versions of Sun CC require a space after -R and |
| 5872 # others require no space. Words are not sufficient . . . . | 5892 # others require no space. Words are not sufficient . . . . |
| 5873 case "`(uname -sr) 2>/dev/null`" in | 5893 case "`(uname -sr) 2>/dev/null`" in |
| 5874 "SunOS 5"*) | 5894 "SunOS 5"*) |
| 5875 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 | 5895 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 |
| 5876 echo "configure:5877: checking whether -R must be followed by a space" >&5 | 5896 echo "configure:5897: checking whether -R must be followed by a space" >&5 |
| 5877 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" | 5897 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" |
| 5878 cat > conftest.$ac_ext <<EOF | 5898 cat > conftest.$ac_ext <<EOF |
| 5879 #line 5880 "configure" | 5899 #line 5900 "configure" |
| 5880 #include "confdefs.h" | 5900 #include "confdefs.h" |
| 5881 | 5901 |
| 5882 int main() { | 5902 int main() { |
| 5883 | 5903 |
| 5884 ; return 0; } | 5904 ; return 0; } |
| 5885 EOF | 5905 EOF |
| 5886 if { (eval echo configure:5887: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5906 if { (eval echo configure:5907: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5887 rm -rf conftest* | 5907 rm -rf conftest* |
| 5888 ac_R_nospace=yes | 5908 ac_R_nospace=yes |
| 5889 else | 5909 else |
| 5890 echo "configure: failed program was:" >&5 | 5910 echo "configure: failed program was:" >&5 |
| 5891 cat conftest.$ac_ext >&5 | 5911 cat conftest.$ac_ext >&5 |
| 5897 echo "$ac_t""no" 1>&6 | 5917 echo "$ac_t""no" 1>&6 |
| 5898 X_LIBS="$X_LIBS -R$x_libraries" | 5918 X_LIBS="$X_LIBS -R$x_libraries" |
| 5899 else | 5919 else |
| 5900 LIBS="$ac_xsave_LIBS -R $x_libraries" | 5920 LIBS="$ac_xsave_LIBS -R $x_libraries" |
| 5901 cat > conftest.$ac_ext <<EOF | 5921 cat > conftest.$ac_ext <<EOF |
| 5902 #line 5903 "configure" | 5922 #line 5923 "configure" |
| 5903 #include "confdefs.h" | 5923 #include "confdefs.h" |
| 5904 | 5924 |
| 5905 int main() { | 5925 int main() { |
| 5906 | 5926 |
| 5907 ; return 0; } | 5927 ; return 0; } |
| 5908 EOF | 5928 EOF |
| 5909 if { (eval echo configure:5910: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5929 if { (eval echo configure:5930: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5910 rm -rf conftest* | 5930 rm -rf conftest* |
| 5911 ac_R_space=yes | 5931 ac_R_space=yes |
| 5912 else | 5932 else |
| 5913 echo "configure: failed program was:" >&5 | 5933 echo "configure: failed program was:" >&5 |
| 5914 cat conftest.$ac_ext >&5 | 5934 cat conftest.$ac_ext >&5 |
| 5940 if test "$with_dnet" = "no" ; then | 5960 if test "$with_dnet" = "no" ; then |
| 5941 ac_cv_lib_dnet_dnet_ntoa=no | 5961 ac_cv_lib_dnet_dnet_ntoa=no |
| 5942 else | 5962 else |
| 5943 | 5963 |
| 5944 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 | 5964 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 |
| 5945 echo "configure:5946: checking for dnet_ntoa in -ldnet" >&5 | 5965 echo "configure:5966: checking for dnet_ntoa in -ldnet" >&5 |
| 5946 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 5966 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
| 5947 | 5967 |
| 5948 xe_check_libs=" -ldnet " | 5968 xe_check_libs=" -ldnet " |
| 5949 cat > conftest.$ac_ext <<EOF | 5969 cat > conftest.$ac_ext <<EOF |
| 5950 #line 5951 "configure" | 5970 #line 5971 "configure" |
| 5951 #include "confdefs.h" | 5971 #include "confdefs.h" |
| 5952 /* Override any gcc2 internal prototype to avoid an error. */ | 5972 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5953 /* We use char because int might match the return type of a gcc2 | 5973 /* We use char because int might match the return type of a gcc2 |
| 5954 builtin and then its argument prototype would still apply. */ | 5974 builtin and then its argument prototype would still apply. */ |
| 5955 char dnet_ntoa(); | 5975 char dnet_ntoa(); |
| 5956 | 5976 |
| 5957 int main() { | 5977 int main() { |
| 5958 dnet_ntoa() | 5978 dnet_ntoa() |
| 5959 ; return 0; } | 5979 ; return 0; } |
| 5960 EOF | 5980 EOF |
| 5961 if { (eval echo configure:5962: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5981 if { (eval echo configure:5982: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5962 rm -rf conftest* | 5982 rm -rf conftest* |
| 5963 eval "ac_cv_lib_$ac_lib_var=yes" | 5983 eval "ac_cv_lib_$ac_lib_var=yes" |
| 5964 else | 5984 else |
| 5965 echo "configure: failed program was:" >&5 | 5985 echo "configure: failed program was:" >&5 |
| 5966 cat conftest.$ac_ext >&5 | 5986 cat conftest.$ac_ext >&5 |
| 5980 fi | 6000 fi |
| 5981 | 6001 |
| 5982 if test $ac_cv_lib_dnet_dnet_ntoa = no; then | 6002 if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
| 5983 | 6003 |
| 5984 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 | 6004 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 |
| 5985 echo "configure:5986: checking for dnet_ntoa in -ldnet_stub" >&5 | 6005 echo "configure:6006: checking for dnet_ntoa in -ldnet_stub" >&5 |
| 5986 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 6006 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
| 5987 | 6007 |
| 5988 xe_check_libs=" -ldnet_stub " | 6008 xe_check_libs=" -ldnet_stub " |
| 5989 cat > conftest.$ac_ext <<EOF | 6009 cat > conftest.$ac_ext <<EOF |
| 5990 #line 5991 "configure" | 6010 #line 6011 "configure" |
| 5991 #include "confdefs.h" | 6011 #include "confdefs.h" |
| 5992 /* Override any gcc2 internal prototype to avoid an error. */ | 6012 /* Override any gcc2 internal prototype to avoid an error. */ |
| 5993 /* We use char because int might match the return type of a gcc2 | 6013 /* We use char because int might match the return type of a gcc2 |
| 5994 builtin and then its argument prototype would still apply. */ | 6014 builtin and then its argument prototype would still apply. */ |
| 5995 char dnet_ntoa(); | 6015 char dnet_ntoa(); |
| 5996 | 6016 |
| 5997 int main() { | 6017 int main() { |
| 5998 dnet_ntoa() | 6018 dnet_ntoa() |
| 5999 ; return 0; } | 6019 ; return 0; } |
| 6000 EOF | 6020 EOF |
| 6001 if { (eval echo configure:6002: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6021 if { (eval echo configure:6022: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6002 rm -rf conftest* | 6022 rm -rf conftest* |
| 6003 eval "ac_cv_lib_$ac_lib_var=yes" | 6023 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6004 else | 6024 else |
| 6005 echo "configure: failed program was:" >&5 | 6025 echo "configure: failed program was:" >&5 |
| 6006 cat conftest.$ac_ext >&5 | 6026 cat conftest.$ac_ext >&5 |
| 6025 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) | 6045 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) |
| 6026 # needs -lnsl. | 6046 # needs -lnsl. |
| 6027 # The nsl library prevents programs from opening the X display | 6047 # The nsl library prevents programs from opening the X display |
| 6028 # on Irix 5.2, according to dickey@clark.net. | 6048 # on Irix 5.2, according to dickey@clark.net. |
| 6029 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 | 6049 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
| 6030 echo "configure:6031: checking for gethostbyname" >&5 | 6050 echo "configure:6051: checking for gethostbyname" >&5 |
| 6031 | 6051 |
| 6032 cat > conftest.$ac_ext <<EOF | 6052 cat > conftest.$ac_ext <<EOF |
| 6033 #line 6034 "configure" | 6053 #line 6054 "configure" |
| 6034 #include "confdefs.h" | 6054 #include "confdefs.h" |
| 6035 /* System header to define __stub macros and hopefully few prototypes, | 6055 /* System header to define __stub macros and hopefully few prototypes, |
| 6036 which can conflict with char gethostbyname(); below. */ | 6056 which can conflict with char gethostbyname(); below. */ |
| 6037 #include <assert.h> | 6057 #include <assert.h> |
| 6038 /* Override any gcc2 internal prototype to avoid an error. */ | 6058 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6051 gethostbyname(); | 6071 gethostbyname(); |
| 6052 #endif | 6072 #endif |
| 6053 | 6073 |
| 6054 ; return 0; } | 6074 ; return 0; } |
| 6055 EOF | 6075 EOF |
| 6056 if { (eval echo configure:6057: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6076 if { (eval echo configure:6077: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6057 rm -rf conftest* | 6077 rm -rf conftest* |
| 6058 eval "ac_cv_func_gethostbyname=yes" | 6078 eval "ac_cv_func_gethostbyname=yes" |
| 6059 else | 6079 else |
| 6060 echo "configure: failed program was:" >&5 | 6080 echo "configure: failed program was:" >&5 |
| 6061 cat conftest.$ac_ext >&5 | 6081 cat conftest.$ac_ext >&5 |
| 6072 fi | 6092 fi |
| 6073 | 6093 |
| 6074 if test $ac_cv_func_gethostbyname = no; then | 6094 if test $ac_cv_func_gethostbyname = no; then |
| 6075 | 6095 |
| 6076 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 | 6096 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
| 6077 echo "configure:6078: checking for gethostbyname in -lnsl" >&5 | 6097 echo "configure:6098: checking for gethostbyname in -lnsl" >&5 |
| 6078 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` | 6098 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
| 6079 | 6099 |
| 6080 xe_check_libs=" -lnsl " | 6100 xe_check_libs=" -lnsl " |
| 6081 cat > conftest.$ac_ext <<EOF | 6101 cat > conftest.$ac_ext <<EOF |
| 6082 #line 6083 "configure" | 6102 #line 6103 "configure" |
| 6083 #include "confdefs.h" | 6103 #include "confdefs.h" |
| 6084 /* Override any gcc2 internal prototype to avoid an error. */ | 6104 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6085 /* We use char because int might match the return type of a gcc2 | 6105 /* We use char because int might match the return type of a gcc2 |
| 6086 builtin and then its argument prototype would still apply. */ | 6106 builtin and then its argument prototype would still apply. */ |
| 6087 char gethostbyname(); | 6107 char gethostbyname(); |
| 6088 | 6108 |
| 6089 int main() { | 6109 int main() { |
| 6090 gethostbyname() | 6110 gethostbyname() |
| 6091 ; return 0; } | 6111 ; return 0; } |
| 6092 EOF | 6112 EOF |
| 6093 if { (eval echo configure:6094: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6113 if { (eval echo configure:6114: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6094 rm -rf conftest* | 6114 rm -rf conftest* |
| 6095 eval "ac_cv_lib_$ac_lib_var=yes" | 6115 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6096 else | 6116 else |
| 6097 echo "configure: failed program was:" >&5 | 6117 echo "configure: failed program was:" >&5 |
| 6098 cat conftest.$ac_ext >&5 | 6118 cat conftest.$ac_ext >&5 |
| 6118 # on later versions), says simon@lia.di.epfl.ch: it contains | 6138 # on later versions), says simon@lia.di.epfl.ch: it contains |
| 6119 # gethostby* variants that don't use the nameserver (or something). | 6139 # gethostby* variants that don't use the nameserver (or something). |
| 6120 # -lsocket must be given before -lnsl if both are needed. | 6140 # -lsocket must be given before -lnsl if both are needed. |
| 6121 # We assume that if connect needs -lnsl, so does gethostbyname. | 6141 # We assume that if connect needs -lnsl, so does gethostbyname. |
| 6122 echo $ac_n "checking for connect""... $ac_c" 1>&6 | 6142 echo $ac_n "checking for connect""... $ac_c" 1>&6 |
| 6123 echo "configure:6124: checking for connect" >&5 | 6143 echo "configure:6144: checking for connect" >&5 |
| 6124 | 6144 |
| 6125 cat > conftest.$ac_ext <<EOF | 6145 cat > conftest.$ac_ext <<EOF |
| 6126 #line 6127 "configure" | 6146 #line 6147 "configure" |
| 6127 #include "confdefs.h" | 6147 #include "confdefs.h" |
| 6128 /* System header to define __stub macros and hopefully few prototypes, | 6148 /* System header to define __stub macros and hopefully few prototypes, |
| 6129 which can conflict with char connect(); below. */ | 6149 which can conflict with char connect(); below. */ |
| 6130 #include <assert.h> | 6150 #include <assert.h> |
| 6131 /* Override any gcc2 internal prototype to avoid an error. */ | 6151 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6144 connect(); | 6164 connect(); |
| 6145 #endif | 6165 #endif |
| 6146 | 6166 |
| 6147 ; return 0; } | 6167 ; return 0; } |
| 6148 EOF | 6168 EOF |
| 6149 if { (eval echo configure:6150: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6169 if { (eval echo configure:6170: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6150 rm -rf conftest* | 6170 rm -rf conftest* |
| 6151 eval "ac_cv_func_connect=yes" | 6171 eval "ac_cv_func_connect=yes" |
| 6152 else | 6172 else |
| 6153 echo "configure: failed program was:" >&5 | 6173 echo "configure: failed program was:" >&5 |
| 6154 cat conftest.$ac_ext >&5 | 6174 cat conftest.$ac_ext >&5 |
| 6167 if test $ac_cv_func_connect = no; then | 6187 if test $ac_cv_func_connect = no; then |
| 6168 | 6188 |
| 6169 xe_msg_checking="for connect in -lsocket" | 6189 xe_msg_checking="for connect in -lsocket" |
| 6170 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 6190 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
| 6171 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6191 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
| 6172 echo "configure:6173: checking "$xe_msg_checking"" >&5 | 6192 echo "configure:6193: checking "$xe_msg_checking"" >&5 |
| 6173 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` | 6193 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` |
| 6174 | 6194 |
| 6175 xe_check_libs=" -lsocket $X_EXTRA_LIBS" | 6195 xe_check_libs=" -lsocket $X_EXTRA_LIBS" |
| 6176 cat > conftest.$ac_ext <<EOF | 6196 cat > conftest.$ac_ext <<EOF |
| 6177 #line 6178 "configure" | 6197 #line 6198 "configure" |
| 6178 #include "confdefs.h" | 6198 #include "confdefs.h" |
| 6179 /* Override any gcc2 internal prototype to avoid an error. */ | 6199 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6180 /* We use char because int might match the return type of a gcc2 | 6200 /* We use char because int might match the return type of a gcc2 |
| 6181 builtin and then its argument prototype would still apply. */ | 6201 builtin and then its argument prototype would still apply. */ |
| 6182 char connect(); | 6202 char connect(); |
| 6183 | 6203 |
| 6184 int main() { | 6204 int main() { |
| 6185 connect() | 6205 connect() |
| 6186 ; return 0; } | 6206 ; return 0; } |
| 6187 EOF | 6207 EOF |
| 6188 if { (eval echo configure:6189: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6208 if { (eval echo configure:6209: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6189 rm -rf conftest* | 6209 rm -rf conftest* |
| 6190 eval "ac_cv_lib_$ac_lib_var=yes" | 6210 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6191 else | 6211 else |
| 6192 echo "configure: failed program was:" >&5 | 6212 echo "configure: failed program was:" >&5 |
| 6193 cat conftest.$ac_ext >&5 | 6213 cat conftest.$ac_ext >&5 |
| 6207 | 6227 |
| 6208 fi | 6228 fi |
| 6209 | 6229 |
| 6210 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. | 6230 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. |
| 6211 echo $ac_n "checking for remove""... $ac_c" 1>&6 | 6231 echo $ac_n "checking for remove""... $ac_c" 1>&6 |
| 6212 echo "configure:6213: checking for remove" >&5 | 6232 echo "configure:6233: checking for remove" >&5 |
| 6213 | 6233 |
| 6214 cat > conftest.$ac_ext <<EOF | 6234 cat > conftest.$ac_ext <<EOF |
| 6215 #line 6216 "configure" | 6235 #line 6236 "configure" |
| 6216 #include "confdefs.h" | 6236 #include "confdefs.h" |
| 6217 /* System header to define __stub macros and hopefully few prototypes, | 6237 /* System header to define __stub macros and hopefully few prototypes, |
| 6218 which can conflict with char remove(); below. */ | 6238 which can conflict with char remove(); below. */ |
| 6219 #include <assert.h> | 6239 #include <assert.h> |
| 6220 /* Override any gcc2 internal prototype to avoid an error. */ | 6240 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6233 remove(); | 6253 remove(); |
| 6234 #endif | 6254 #endif |
| 6235 | 6255 |
| 6236 ; return 0; } | 6256 ; return 0; } |
| 6237 EOF | 6257 EOF |
| 6238 if { (eval echo configure:6239: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6258 if { (eval echo configure:6259: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6239 rm -rf conftest* | 6259 rm -rf conftest* |
| 6240 eval "ac_cv_func_remove=yes" | 6260 eval "ac_cv_func_remove=yes" |
| 6241 else | 6261 else |
| 6242 echo "configure: failed program was:" >&5 | 6262 echo "configure: failed program was:" >&5 |
| 6243 cat conftest.$ac_ext >&5 | 6263 cat conftest.$ac_ext >&5 |
| 6254 fi | 6274 fi |
| 6255 | 6275 |
| 6256 if test $ac_cv_func_remove = no; then | 6276 if test $ac_cv_func_remove = no; then |
| 6257 | 6277 |
| 6258 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 | 6278 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 |
| 6259 echo "configure:6260: checking for remove in -lposix" >&5 | 6279 echo "configure:6280: checking for remove in -lposix" >&5 |
| 6260 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` | 6280 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` |
| 6261 | 6281 |
| 6262 xe_check_libs=" -lposix " | 6282 xe_check_libs=" -lposix " |
| 6263 cat > conftest.$ac_ext <<EOF | 6283 cat > conftest.$ac_ext <<EOF |
| 6264 #line 6265 "configure" | 6284 #line 6285 "configure" |
| 6265 #include "confdefs.h" | 6285 #include "confdefs.h" |
| 6266 /* Override any gcc2 internal prototype to avoid an error. */ | 6286 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6267 /* We use char because int might match the return type of a gcc2 | 6287 /* We use char because int might match the return type of a gcc2 |
| 6268 builtin and then its argument prototype would still apply. */ | 6288 builtin and then its argument prototype would still apply. */ |
| 6269 char remove(); | 6289 char remove(); |
| 6270 | 6290 |
| 6271 int main() { | 6291 int main() { |
| 6272 remove() | 6292 remove() |
| 6273 ; return 0; } | 6293 ; return 0; } |
| 6274 EOF | 6294 EOF |
| 6275 if { (eval echo configure:6276: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6295 if { (eval echo configure:6296: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6276 rm -rf conftest* | 6296 rm -rf conftest* |
| 6277 eval "ac_cv_lib_$ac_lib_var=yes" | 6297 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6278 else | 6298 else |
| 6279 echo "configure: failed program was:" >&5 | 6299 echo "configure: failed program was:" >&5 |
| 6280 cat conftest.$ac_ext >&5 | 6300 cat conftest.$ac_ext >&5 |
| 6294 | 6314 |
| 6295 fi | 6315 fi |
| 6296 | 6316 |
| 6297 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. | 6317 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
| 6298 echo $ac_n "checking for shmat""... $ac_c" 1>&6 | 6318 echo $ac_n "checking for shmat""... $ac_c" 1>&6 |
| 6299 echo "configure:6300: checking for shmat" >&5 | 6319 echo "configure:6320: checking for shmat" >&5 |
| 6300 | 6320 |
| 6301 cat > conftest.$ac_ext <<EOF | 6321 cat > conftest.$ac_ext <<EOF |
| 6302 #line 6303 "configure" | 6322 #line 6323 "configure" |
| 6303 #include "confdefs.h" | 6323 #include "confdefs.h" |
| 6304 /* System header to define __stub macros and hopefully few prototypes, | 6324 /* System header to define __stub macros and hopefully few prototypes, |
| 6305 which can conflict with char shmat(); below. */ | 6325 which can conflict with char shmat(); below. */ |
| 6306 #include <assert.h> | 6326 #include <assert.h> |
| 6307 /* Override any gcc2 internal prototype to avoid an error. */ | 6327 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6320 shmat(); | 6340 shmat(); |
| 6321 #endif | 6341 #endif |
| 6322 | 6342 |
| 6323 ; return 0; } | 6343 ; return 0; } |
| 6324 EOF | 6344 EOF |
| 6325 if { (eval echo configure:6326: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6345 if { (eval echo configure:6346: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6326 rm -rf conftest* | 6346 rm -rf conftest* |
| 6327 eval "ac_cv_func_shmat=yes" | 6347 eval "ac_cv_func_shmat=yes" |
| 6328 else | 6348 else |
| 6329 echo "configure: failed program was:" >&5 | 6349 echo "configure: failed program was:" >&5 |
| 6330 cat conftest.$ac_ext >&5 | 6350 cat conftest.$ac_ext >&5 |
| 6341 fi | 6361 fi |
| 6342 | 6362 |
| 6343 if test $ac_cv_func_shmat = no; then | 6363 if test $ac_cv_func_shmat = no; then |
| 6344 | 6364 |
| 6345 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 | 6365 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 |
| 6346 echo "configure:6347: checking for shmat in -lipc" >&5 | 6366 echo "configure:6367: checking for shmat in -lipc" >&5 |
| 6347 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` | 6367 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` |
| 6348 | 6368 |
| 6349 xe_check_libs=" -lipc " | 6369 xe_check_libs=" -lipc " |
| 6350 cat > conftest.$ac_ext <<EOF | 6370 cat > conftest.$ac_ext <<EOF |
| 6351 #line 6352 "configure" | 6371 #line 6372 "configure" |
| 6352 #include "confdefs.h" | 6372 #include "confdefs.h" |
| 6353 /* Override any gcc2 internal prototype to avoid an error. */ | 6373 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6354 /* We use char because int might match the return type of a gcc2 | 6374 /* We use char because int might match the return type of a gcc2 |
| 6355 builtin and then its argument prototype would still apply. */ | 6375 builtin and then its argument prototype would still apply. */ |
| 6356 char shmat(); | 6376 char shmat(); |
| 6357 | 6377 |
| 6358 int main() { | 6378 int main() { |
| 6359 shmat() | 6379 shmat() |
| 6360 ; return 0; } | 6380 ; return 0; } |
| 6361 EOF | 6381 EOF |
| 6362 if { (eval echo configure:6363: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6382 if { (eval echo configure:6383: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6363 rm -rf conftest* | 6383 rm -rf conftest* |
| 6364 eval "ac_cv_lib_$ac_lib_var=yes" | 6384 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6365 else | 6385 else |
| 6366 echo "configure: failed program was:" >&5 | 6386 echo "configure: failed program was:" >&5 |
| 6367 cat conftest.$ac_ext >&5 | 6387 cat conftest.$ac_ext >&5 |
| 6393 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. | 6413 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. |
| 6394 | 6414 |
| 6395 xe_msg_checking="for IceConnectionNumber in -lICE" | 6415 xe_msg_checking="for IceConnectionNumber in -lICE" |
| 6396 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 6416 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
| 6397 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6417 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
| 6398 echo "configure:6399: checking "$xe_msg_checking"" >&5 | 6418 echo "configure:6419: checking "$xe_msg_checking"" >&5 |
| 6399 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` | 6419 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` |
| 6400 | 6420 |
| 6401 xe_check_libs=" -lICE $X_EXTRA_LIBS" | 6421 xe_check_libs=" -lICE $X_EXTRA_LIBS" |
| 6402 cat > conftest.$ac_ext <<EOF | 6422 cat > conftest.$ac_ext <<EOF |
| 6403 #line 6404 "configure" | 6423 #line 6424 "configure" |
| 6404 #include "confdefs.h" | 6424 #include "confdefs.h" |
| 6405 /* Override any gcc2 internal prototype to avoid an error. */ | 6425 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6406 /* We use char because int might match the return type of a gcc2 | 6426 /* We use char because int might match the return type of a gcc2 |
| 6407 builtin and then its argument prototype would still apply. */ | 6427 builtin and then its argument prototype would still apply. */ |
| 6408 char IceConnectionNumber(); | 6428 char IceConnectionNumber(); |
| 6409 | 6429 |
| 6410 int main() { | 6430 int main() { |
| 6411 IceConnectionNumber() | 6431 IceConnectionNumber() |
| 6412 ; return 0; } | 6432 ; return 0; } |
| 6413 EOF | 6433 EOF |
| 6414 if { (eval echo configure:6415: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6434 if { (eval echo configure:6435: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6415 rm -rf conftest* | 6435 rm -rf conftest* |
| 6416 eval "ac_cv_lib_$ac_lib_var=yes" | 6436 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6417 else | 6437 else |
| 6418 echo "configure: failed program was:" >&5 | 6438 echo "configure: failed program was:" >&5 |
| 6419 cat conftest.$ac_ext >&5 | 6439 cat conftest.$ac_ext >&5 |
| 6576 EOF | 6596 EOF |
| 6577 } | 6597 } |
| 6578 | 6598 |
| 6579 | 6599 |
| 6580 echo "checking for X defines extracted by xmkmf" 1>&6 | 6600 echo "checking for X defines extracted by xmkmf" 1>&6 |
| 6581 echo "configure:6582: checking for X defines extracted by xmkmf" >&5 | 6601 echo "configure:6602: checking for X defines extracted by xmkmf" >&5 |
| 6582 rm -fr conftestdir | 6602 rm -fr conftestdir |
| 6583 if mkdir conftestdir; then | 6603 if mkdir conftestdir; then |
| 6584 cd conftestdir | 6604 cd conftestdir |
| 6585 cat > Imakefile <<'EOF' | 6605 cat > Imakefile <<'EOF' |
| 6586 xetest: | 6606 xetest: |
| 6625 done | 6645 done |
| 6626 fi | 6646 fi |
| 6627 | 6647 |
| 6628 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` | 6648 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` |
| 6629 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 | 6649 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 |
| 6630 echo "configure:6631: checking for X11/Intrinsic.h" >&5 | 6650 echo "configure:6651: checking for X11/Intrinsic.h" >&5 |
| 6631 | 6651 |
| 6632 cat > conftest.$ac_ext <<EOF | 6652 cat > conftest.$ac_ext <<EOF |
| 6633 #line 6634 "configure" | 6653 #line 6654 "configure" |
| 6634 #include "confdefs.h" | 6654 #include "confdefs.h" |
| 6635 #include <X11/Intrinsic.h> | 6655 #include <X11/Intrinsic.h> |
| 6636 EOF | 6656 EOF |
| 6637 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6657 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 6638 { (eval echo configure:6639: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6658 { (eval echo configure:6659: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 6639 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6659 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 6640 if test -z "$ac_err"; then | 6660 if test -z "$ac_err"; then |
| 6641 rm -rf conftest* | 6661 rm -rf conftest* |
| 6642 eval "ac_cv_header_$ac_safe=yes" | 6662 eval "ac_cv_header_$ac_safe=yes" |
| 6643 else | 6663 else |
| 6657 fi | 6677 fi |
| 6658 | 6678 |
| 6659 | 6679 |
| 6660 | 6680 |
| 6661 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 | 6681 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 |
| 6662 echo "configure:6663: checking for XOpenDisplay in -lX11" >&5 | 6682 echo "configure:6683: checking for XOpenDisplay in -lX11" >&5 |
| 6663 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` | 6683 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` |
| 6664 | 6684 |
| 6665 xe_check_libs=" -lX11 " | 6685 xe_check_libs=" -lX11 " |
| 6666 cat > conftest.$ac_ext <<EOF | 6686 cat > conftest.$ac_ext <<EOF |
| 6667 #line 6668 "configure" | 6687 #line 6688 "configure" |
| 6668 #include "confdefs.h" | 6688 #include "confdefs.h" |
| 6669 /* Override any gcc2 internal prototype to avoid an error. */ | 6689 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6670 /* We use char because int might match the return type of a gcc2 | 6690 /* We use char because int might match the return type of a gcc2 |
| 6671 builtin and then its argument prototype would still apply. */ | 6691 builtin and then its argument prototype would still apply. */ |
| 6672 char XOpenDisplay(); | 6692 char XOpenDisplay(); |
| 6673 | 6693 |
| 6674 int main() { | 6694 int main() { |
| 6675 XOpenDisplay() | 6695 XOpenDisplay() |
| 6676 ; return 0; } | 6696 ; return 0; } |
| 6677 EOF | 6697 EOF |
| 6678 if { (eval echo configure:6679: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6698 if { (eval echo configure:6699: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6679 rm -rf conftest* | 6699 rm -rf conftest* |
| 6680 eval "ac_cv_lib_$ac_lib_var=yes" | 6700 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6681 else | 6701 else |
| 6682 echo "configure: failed program was:" >&5 | 6702 echo "configure: failed program was:" >&5 |
| 6683 cat conftest.$ac_ext >&5 | 6703 cat conftest.$ac_ext >&5 |
| 6698 if test "$have_lib_x11" != "yes"; then | 6718 if test "$have_lib_x11" != "yes"; then |
| 6699 | 6719 |
| 6700 xe_msg_checking="for XGetFontProperty in -lX11" | 6720 xe_msg_checking="for XGetFontProperty in -lX11" |
| 6701 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" | 6721 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" |
| 6702 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6722 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
| 6703 echo "configure:6704: checking "$xe_msg_checking"" >&5 | 6723 echo "configure:6724: checking "$xe_msg_checking"" >&5 |
| 6704 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` | 6724 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` |
| 6705 | 6725 |
| 6706 xe_check_libs=" -lX11 -b i486-linuxaout" | 6726 xe_check_libs=" -lX11 -b i486-linuxaout" |
| 6707 cat > conftest.$ac_ext <<EOF | 6727 cat > conftest.$ac_ext <<EOF |
| 6708 #line 6709 "configure" | 6728 #line 6729 "configure" |
| 6709 #include "confdefs.h" | 6729 #include "confdefs.h" |
| 6710 /* Override any gcc2 internal prototype to avoid an error. */ | 6730 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6711 /* We use char because int might match the return type of a gcc2 | 6731 /* We use char because int might match the return type of a gcc2 |
| 6712 builtin and then its argument prototype would still apply. */ | 6732 builtin and then its argument prototype would still apply. */ |
| 6713 char XGetFontProperty(); | 6733 char XGetFontProperty(); |
| 6714 | 6734 |
| 6715 int main() { | 6735 int main() { |
| 6716 XGetFontProperty() | 6736 XGetFontProperty() |
| 6717 ; return 0; } | 6737 ; return 0; } |
| 6718 EOF | 6738 EOF |
| 6719 if { (eval echo configure:6720: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6739 if { (eval echo configure:6740: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6720 rm -rf conftest* | 6740 rm -rf conftest* |
| 6721 eval "ac_cv_lib_$ac_lib_var=yes" | 6741 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6722 else | 6742 else |
| 6723 echo "configure: failed program was:" >&5 | 6743 echo "configure: failed program was:" >&5 |
| 6724 cat conftest.$ac_ext >&5 | 6744 cat conftest.$ac_ext >&5 |
| 6741 libs_x="-lX11" | 6761 libs_x="-lX11" |
| 6742 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" | 6762 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" |
| 6743 | 6763 |
| 6744 | 6764 |
| 6745 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 | 6765 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 |
| 6746 echo "configure:6747: checking for XShapeSelectInput in -lXext" >&5 | 6766 echo "configure:6767: checking for XShapeSelectInput in -lXext" >&5 |
| 6747 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` | 6767 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` |
| 6748 | 6768 |
| 6749 xe_check_libs=" -lXext " | 6769 xe_check_libs=" -lXext " |
| 6750 cat > conftest.$ac_ext <<EOF | 6770 cat > conftest.$ac_ext <<EOF |
| 6751 #line 6752 "configure" | 6771 #line 6772 "configure" |
| 6752 #include "confdefs.h" | 6772 #include "confdefs.h" |
| 6753 /* Override any gcc2 internal prototype to avoid an error. */ | 6773 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6754 /* We use char because int might match the return type of a gcc2 | 6774 /* We use char because int might match the return type of a gcc2 |
| 6755 builtin and then its argument prototype would still apply. */ | 6775 builtin and then its argument prototype would still apply. */ |
| 6756 char XShapeSelectInput(); | 6776 char XShapeSelectInput(); |
| 6757 | 6777 |
| 6758 int main() { | 6778 int main() { |
| 6759 XShapeSelectInput() | 6779 XShapeSelectInput() |
| 6760 ; return 0; } | 6780 ; return 0; } |
| 6761 EOF | 6781 EOF |
| 6762 if { (eval echo configure:6763: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6782 if { (eval echo configure:6783: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6763 rm -rf conftest* | 6783 rm -rf conftest* |
| 6764 eval "ac_cv_lib_$ac_lib_var=yes" | 6784 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6765 else | 6785 else |
| 6766 echo "configure: failed program was:" >&5 | 6786 echo "configure: failed program was:" >&5 |
| 6767 cat conftest.$ac_ext >&5 | 6787 cat conftest.$ac_ext >&5 |
| 6780 | 6800 |
| 6781 | 6801 |
| 6782 | 6802 |
| 6783 | 6803 |
| 6784 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 | 6804 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 |
| 6785 echo "configure:6786: checking for XtOpenDisplay in -lXt" >&5 | 6805 echo "configure:6806: checking for XtOpenDisplay in -lXt" >&5 |
| 6786 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` | 6806 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` |
| 6787 | 6807 |
| 6788 xe_check_libs=" -lXt " | 6808 xe_check_libs=" -lXt " |
| 6789 cat > conftest.$ac_ext <<EOF | 6809 cat > conftest.$ac_ext <<EOF |
| 6790 #line 6791 "configure" | 6810 #line 6811 "configure" |
| 6791 #include "confdefs.h" | 6811 #include "confdefs.h" |
| 6792 /* Override any gcc2 internal prototype to avoid an error. */ | 6812 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6793 /* We use char because int might match the return type of a gcc2 | 6813 /* We use char because int might match the return type of a gcc2 |
| 6794 builtin and then its argument prototype would still apply. */ | 6814 builtin and then its argument prototype would still apply. */ |
| 6795 char XtOpenDisplay(); | 6815 char XtOpenDisplay(); |
| 6796 | 6816 |
| 6797 int main() { | 6817 int main() { |
| 6798 XtOpenDisplay() | 6818 XtOpenDisplay() |
| 6799 ; return 0; } | 6819 ; return 0; } |
| 6800 EOF | 6820 EOF |
| 6801 if { (eval echo configure:6802: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6821 if { (eval echo configure:6822: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6802 rm -rf conftest* | 6822 rm -rf conftest* |
| 6803 eval "ac_cv_lib_$ac_lib_var=yes" | 6823 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6804 else | 6824 else |
| 6805 echo "configure: failed program was:" >&5 | 6825 echo "configure: failed program was:" >&5 |
| 6806 cat conftest.$ac_ext >&5 | 6826 cat conftest.$ac_ext >&5 |
| 6819 fi | 6839 fi |
| 6820 | 6840 |
| 6821 | 6841 |
| 6822 | 6842 |
| 6823 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 | 6843 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 |
| 6824 echo "configure:6825: checking the version of X11 being used" >&5 | 6844 echo "configure:6845: checking the version of X11 being used" >&5 |
| 6825 cat > conftest.$ac_ext <<EOF | 6845 cat > conftest.$ac_ext <<EOF |
| 6826 #line 6827 "configure" | 6846 #line 6847 "configure" |
| 6827 #include "confdefs.h" | 6847 #include "confdefs.h" |
| 6828 #include <X11/Intrinsic.h> | 6848 #include <X11/Intrinsic.h> |
| 6829 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } | 6849 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } |
| 6830 EOF | 6850 EOF |
| 6831 if { (eval echo configure:6832: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 6851 if { (eval echo configure:6852: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 6832 then | 6852 then |
| 6833 ./conftest foobar; x11_release=$? | 6853 ./conftest foobar; x11_release=$? |
| 6834 else | 6854 else |
| 6835 conftest_rc="$?" | 6855 conftest_rc="$?" |
| 6836 echo "configure: failed program was:" >&5 | 6856 echo "configure: failed program was:" >&5 |
| 6857 fi | 6877 fi |
| 6858 | 6878 |
| 6859 for ac_func in XConvertCase | 6879 for ac_func in XConvertCase |
| 6860 do | 6880 do |
| 6861 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 6881 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 6862 echo "configure:6863: checking for $ac_func" >&5 | 6882 echo "configure:6883: checking for $ac_func" >&5 |
| 6863 | 6883 |
| 6864 cat > conftest.$ac_ext <<EOF | 6884 cat > conftest.$ac_ext <<EOF |
| 6865 #line 6866 "configure" | 6885 #line 6886 "configure" |
| 6866 #include "confdefs.h" | 6886 #include "confdefs.h" |
| 6867 /* System header to define __stub macros and hopefully few prototypes, | 6887 /* System header to define __stub macros and hopefully few prototypes, |
| 6868 which can conflict with char $ac_func(); below. */ | 6888 which can conflict with char $ac_func(); below. */ |
| 6869 #include <assert.h> | 6889 #include <assert.h> |
| 6870 /* Override any gcc2 internal prototype to avoid an error. */ | 6890 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6883 $ac_func(); | 6903 $ac_func(); |
| 6884 #endif | 6904 #endif |
| 6885 | 6905 |
| 6886 ; return 0; } | 6906 ; return 0; } |
| 6887 EOF | 6907 EOF |
| 6888 if { (eval echo configure:6889: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6908 if { (eval echo configure:6909: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6889 rm -rf conftest* | 6909 rm -rf conftest* |
| 6890 eval "ac_cv_func_$ac_func=yes" | 6910 eval "ac_cv_func_$ac_func=yes" |
| 6891 else | 6911 else |
| 6892 echo "configure: failed program was:" >&5 | 6912 echo "configure: failed program was:" >&5 |
| 6893 cat conftest.$ac_ext >&5 | 6913 cat conftest.$ac_ext >&5 |
| 6915 | 6935 |
| 6916 for ac_hdr in X11/Xlocale.h | 6936 for ac_hdr in X11/Xlocale.h |
| 6917 do | 6937 do |
| 6918 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 6938 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 6919 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 6939 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 6920 echo "configure:6921: checking for $ac_hdr" >&5 | 6940 echo "configure:6941: checking for $ac_hdr" >&5 |
| 6921 | 6941 |
| 6922 cat > conftest.$ac_ext <<EOF | 6942 cat > conftest.$ac_ext <<EOF |
| 6923 #line 6924 "configure" | 6943 #line 6944 "configure" |
| 6924 #include "confdefs.h" | 6944 #include "confdefs.h" |
| 6925 #include <$ac_hdr> | 6945 #include <$ac_hdr> |
| 6926 EOF | 6946 EOF |
| 6927 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6947 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 6928 { (eval echo configure:6929: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6948 { (eval echo configure:6949: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 6929 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6949 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 6930 if test -z "$ac_err"; then | 6950 if test -z "$ac_err"; then |
| 6931 rm -rf conftest* | 6951 rm -rf conftest* |
| 6932 eval "ac_cv_header_$ac_safe=yes" | 6952 eval "ac_cv_header_$ac_safe=yes" |
| 6933 else | 6953 else |
| 6956 | 6976 |
| 6957 | 6977 |
| 6958 for ac_func in XRegisterIMInstantiateCallback | 6978 for ac_func in XRegisterIMInstantiateCallback |
| 6959 do | 6979 do |
| 6960 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 6980 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 6961 echo "configure:6962: checking for $ac_func" >&5 | 6981 echo "configure:6982: checking for $ac_func" >&5 |
| 6962 | 6982 |
| 6963 cat > conftest.$ac_ext <<EOF | 6983 cat > conftest.$ac_ext <<EOF |
| 6964 #line 6965 "configure" | 6984 #line 6985 "configure" |
| 6965 #include "confdefs.h" | 6985 #include "confdefs.h" |
| 6966 /* System header to define __stub macros and hopefully few prototypes, | 6986 /* System header to define __stub macros and hopefully few prototypes, |
| 6967 which can conflict with char $ac_func(); below. */ | 6987 which can conflict with char $ac_func(); below. */ |
| 6968 #include <assert.h> | 6988 #include <assert.h> |
| 6969 /* Override any gcc2 internal prototype to avoid an error. */ | 6989 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6982 $ac_func(); | 7002 $ac_func(); |
| 6983 #endif | 7003 #endif |
| 6984 | 7004 |
| 6985 ; return 0; } | 7005 ; return 0; } |
| 6986 EOF | 7006 EOF |
| 6987 if { (eval echo configure:6988: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7007 if { (eval echo configure:7008: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 6988 rm -rf conftest* | 7008 rm -rf conftest* |
| 6989 eval "ac_cv_func_$ac_func=yes" | 7009 eval "ac_cv_func_$ac_func=yes" |
| 6990 else | 7010 else |
| 6991 echo "configure: failed program was:" >&5 | 7011 echo "configure: failed program was:" >&5 |
| 6992 cat conftest.$ac_ext >&5 | 7012 cat conftest.$ac_ext >&5 |
| 7010 echo "$ac_t""no" 1>&6 | 7030 echo "$ac_t""no" 1>&6 |
| 7011 fi | 7031 fi |
| 7012 done | 7032 done |
| 7013 | 7033 |
| 7014 echo $ac_n "checking for standard XRegisterIMInstantiateCallback prototype""... $ac_c" 1>&6 | 7034 echo $ac_n "checking for standard XRegisterIMInstantiateCallback prototype""... $ac_c" 1>&6 |
| 7015 echo "configure:7016: checking for standard XRegisterIMInstantiateCallback prototype" >&5 | 7035 echo "configure:7036: checking for standard XRegisterIMInstantiateCallback prototype" >&5 |
| 7016 cat > conftest.$ac_ext <<EOF | 7036 cat > conftest.$ac_ext <<EOF |
| 7017 #line 7018 "configure" | 7037 #line 7038 "configure" |
| 7018 #include "confdefs.h" | 7038 #include "confdefs.h" |
| 7019 | 7039 |
| 7020 #define NeedFunctionPrototypes 1 | 7040 #define NeedFunctionPrototypes 1 |
| 7021 #include <X11/Xlib.h> | 7041 #include <X11/Xlib.h> |
| 7022 extern Bool XRegisterIMInstantiateCallback( | 7042 extern Bool XRegisterIMInstantiateCallback( |
| 7024 | 7044 |
| 7025 int main() { | 7045 int main() { |
| 7026 | 7046 |
| 7027 ; return 0; } | 7047 ; return 0; } |
| 7028 EOF | 7048 EOF |
| 7029 if { (eval echo configure:7030: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 7049 if { (eval echo configure:7050: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 7030 rm -rf conftest* | 7050 rm -rf conftest* |
| 7031 echo "$ac_t""yes" 1>&6 | 7051 echo "$ac_t""yes" 1>&6 |
| 7032 else | 7052 else |
| 7033 echo "configure: failed program was:" >&5 | 7053 echo "configure: failed program was:" >&5 |
| 7034 cat conftest.$ac_ext >&5 | 7054 cat conftest.$ac_ext >&5 |
| 7045 fi | 7065 fi |
| 7046 rm -f conftest* | 7066 rm -f conftest* |
| 7047 | 7067 |
| 7048 test -z "$with_xmu" && { | 7068 test -z "$with_xmu" && { |
| 7049 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 | 7069 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 |
| 7050 echo "configure:7051: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 | 7070 echo "configure:7071: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 |
| 7051 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` | 7071 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` |
| 7052 | 7072 |
| 7053 xe_check_libs=" -lXmu " | 7073 xe_check_libs=" -lXmu " |
| 7054 cat > conftest.$ac_ext <<EOF | 7074 cat > conftest.$ac_ext <<EOF |
| 7055 #line 7056 "configure" | 7075 #line 7076 "configure" |
| 7056 #include "confdefs.h" | 7076 #include "confdefs.h" |
| 7057 /* Override any gcc2 internal prototype to avoid an error. */ | 7077 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7058 /* We use char because int might match the return type of a gcc2 | 7078 /* We use char because int might match the return type of a gcc2 |
| 7059 builtin and then its argument prototype would still apply. */ | 7079 builtin and then its argument prototype would still apply. */ |
| 7060 char XmuReadBitmapDataFromFile(); | 7080 char XmuReadBitmapDataFromFile(); |
| 7061 | 7081 |
| 7062 int main() { | 7082 int main() { |
| 7063 XmuReadBitmapDataFromFile() | 7083 XmuReadBitmapDataFromFile() |
| 7064 ; return 0; } | 7084 ; return 0; } |
| 7065 EOF | 7085 EOF |
| 7066 if { (eval echo configure:7067: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7086 if { (eval echo configure:7087: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 7067 rm -rf conftest* | 7087 rm -rf conftest* |
| 7068 eval "ac_cv_lib_$ac_lib_var=yes" | 7088 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7069 else | 7089 else |
| 7070 echo "configure: failed program was:" >&5 | 7090 echo "configure: failed program was:" >&5 |
| 7071 cat conftest.$ac_ext >&5 | 7091 cat conftest.$ac_ext >&5 |
| 7100 | 7120 |
| 7101 fi | 7121 fi |
| 7102 | 7122 |
| 7103 | 7123 |
| 7104 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 | 7124 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 |
| 7105 echo "configure:7106: checking for main in -lXbsd" >&5 | 7125 echo "configure:7126: checking for main in -lXbsd" >&5 |
| 7106 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` | 7126 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` |
| 7107 | 7127 |
| 7108 xe_check_libs=" -lXbsd " | 7128 xe_check_libs=" -lXbsd " |
| 7109 cat > conftest.$ac_ext <<EOF | 7129 cat > conftest.$ac_ext <<EOF |
| 7110 #line 7111 "configure" | 7130 #line 7131 "configure" |
| 7111 #include "confdefs.h" | 7131 #include "confdefs.h" |
| 7112 | 7132 |
| 7113 int main() { | 7133 int main() { |
| 7114 main() | 7134 main() |
| 7115 ; return 0; } | 7135 ; return 0; } |
| 7116 EOF | 7136 EOF |
| 7117 if { (eval echo configure:7118: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7137 if { (eval echo configure:7138: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 7118 rm -rf conftest* | 7138 rm -rf conftest* |
| 7119 eval "ac_cv_lib_$ac_lib_var=yes" | 7139 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7120 else | 7140 else |
| 7121 echo "configure: failed program was:" >&5 | 7141 echo "configure: failed program was:" >&5 |
| 7122 cat conftest.$ac_ext >&5 | 7142 cat conftest.$ac_ext >&5 |
| 7149 fi | 7169 fi |
| 7150 | 7170 |
| 7151 fi | 7171 fi |
| 7152 if test "$with_msw" != "no"; then | 7172 if test "$with_msw" != "no"; then |
| 7153 echo "checking for MS-Windows" 1>&6 | 7173 echo "checking for MS-Windows" 1>&6 |
| 7154 echo "configure:7155: checking for MS-Windows" >&5 | 7174 echo "configure:7175: checking for MS-Windows" >&5 |
| 7155 | 7175 |
| 7156 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 | 7176 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 |
| 7157 echo "configure:7158: checking for main in -lgdi32" >&5 | 7177 echo "configure:7178: checking for main in -lgdi32" >&5 |
| 7158 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` | 7178 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` |
| 7159 | 7179 |
| 7160 xe_check_libs=" -lgdi32 " | 7180 xe_check_libs=" -lgdi32 " |
| 7161 cat > conftest.$ac_ext <<EOF | 7181 cat > conftest.$ac_ext <<EOF |
| 7162 #line 7163 "configure" | 7182 #line 7183 "configure" |
| 7163 #include "confdefs.h" | 7183 #include "confdefs.h" |
| 7164 | 7184 |
| 7165 int main() { | 7185 int main() { |
| 7166 main() | 7186 main() |
| 7167 ; return 0; } | 7187 ; return 0; } |
| 7168 EOF | 7188 EOF |
| 7169 if { (eval echo configure:7170: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7189 if { (eval echo configure:7190: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 7170 rm -rf conftest* | 7190 rm -rf conftest* |
| 7171 eval "ac_cv_lib_$ac_lib_var=yes" | 7191 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7172 else | 7192 else |
| 7173 echo "configure: failed program was:" >&5 | 7193 echo "configure: failed program was:" >&5 |
| 7174 cat conftest.$ac_ext >&5 | 7194 cat conftest.$ac_ext >&5 |
| 7215 test "$with_toolbars" != "no" && with_toolbars=msw | 7235 test "$with_toolbars" != "no" && with_toolbars=msw |
| 7216 test "$with_dialogs" != "no" && with_dialogs=msw | 7236 test "$with_dialogs" != "no" && with_dialogs=msw |
| 7217 test "$with_widgets" != "no" && with_widgets=msw | 7237 test "$with_widgets" != "no" && with_widgets=msw |
| 7218 fi | 7238 fi |
| 7219 cat > conftest.$ac_ext <<EOF | 7239 cat > conftest.$ac_ext <<EOF |
| 7220 #line 7221 "configure" | 7240 #line 7241 "configure" |
| 7221 #include "confdefs.h" | 7241 #include "confdefs.h" |
| 7222 #include <fcntl.h> | 7242 #include <fcntl.h> |
| 7223 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } | 7243 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } |
| 7224 EOF | 7244 EOF |
| 7225 if { (eval echo configure:7226: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 7245 if { (eval echo configure:7246: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 7226 then | 7246 then |
| 7227 { test "$extra_verbose" = "yes" && cat << \EOF | 7247 { test "$extra_verbose" = "yes" && cat << \EOF |
| 7228 Defining HAVE_MSG_SELECT | 7248 Defining HAVE_MSG_SELECT |
| 7229 EOF | 7249 EOF |
| 7230 cat >> confdefs.h <<\EOF | 7250 cat >> confdefs.h <<\EOF |
| 7281 fi | 7301 fi |
| 7282 | 7302 |
| 7283 if test "$with_x11" = "yes"; then | 7303 if test "$with_x11" = "yes"; then |
| 7284 ac_safe=`echo "X11/extensions/shape.h" | sed 'y%./+-%__p_%'` | 7304 ac_safe=`echo "X11/extensions/shape.h" | sed 'y%./+-%__p_%'` |
| 7285 echo $ac_n "checking for X11/extensions/shape.h""... $ac_c" 1>&6 | 7305 echo $ac_n "checking for X11/extensions/shape.h""... $ac_c" 1>&6 |
| 7286 echo "configure:7287: checking for X11/extensions/shape.h" >&5 | 7306 echo "configure:7307: checking for X11/extensions/shape.h" >&5 |
| 7287 | 7307 |
| 7288 cat > conftest.$ac_ext <<EOF | 7308 cat > conftest.$ac_ext <<EOF |
| 7289 #line 7290 "configure" | 7309 #line 7310 "configure" |
| 7290 #include "confdefs.h" | 7310 #include "confdefs.h" |
| 7291 #include <X11/extensions/shape.h> | 7311 #include <X11/extensions/shape.h> |
| 7292 EOF | 7312 EOF |
| 7293 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7313 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 7294 { (eval echo configure:7295: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7314 { (eval echo configure:7315: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 7295 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7315 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 7296 if test -z "$ac_err"; then | 7316 if test -z "$ac_err"; then |
| 7297 rm -rf conftest* | 7317 rm -rf conftest* |
| 7298 eval "ac_cv_header_$ac_safe=yes" | 7318 eval "ac_cv_header_$ac_safe=yes" |
| 7299 else | 7319 else |
| 7339 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" | 7359 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" |
| 7340 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" | 7360 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" |
| 7341 esac | 7361 esac |
| 7342 | 7362 |
| 7343 echo "checking for WM_COMMAND option" 1>&6 | 7363 echo "checking for WM_COMMAND option" 1>&6 |
| 7344 echo "configure:7345: checking for WM_COMMAND option" >&5; | 7364 echo "configure:7365: checking for WM_COMMAND option" >&5; |
| 7345 if test "$with_wmcommand" != "no"; then | 7365 if test "$with_wmcommand" != "no"; then |
| 7346 { test "$extra_verbose" = "yes" && cat << \EOF | 7366 { test "$extra_verbose" = "yes" && cat << \EOF |
| 7347 Defining HAVE_WMCOMMAND | 7367 Defining HAVE_WMCOMMAND |
| 7348 EOF | 7368 EOF |
| 7349 cat >> confdefs.h <<\EOF | 7369 cat >> confdefs.h <<\EOF |
| 7354 fi | 7374 fi |
| 7355 | 7375 |
| 7356 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no | 7376 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no |
| 7357 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` | 7377 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` |
| 7358 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 | 7378 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 |
| 7359 echo "configure:7360: checking for X11/Xauth.h" >&5 | 7379 echo "configure:7380: checking for X11/Xauth.h" >&5 |
| 7360 | 7380 |
| 7361 cat > conftest.$ac_ext <<EOF | 7381 cat > conftest.$ac_ext <<EOF |
| 7362 #line 7363 "configure" | 7382 #line 7383 "configure" |
| 7363 #include "confdefs.h" | 7383 #include "confdefs.h" |
| 7364 #include <X11/Xauth.h> | 7384 #include <X11/Xauth.h> |
| 7365 EOF | 7385 EOF |
| 7366 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7386 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 7367 { (eval echo configure:7368: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7387 { (eval echo configure:7388: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 7368 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7388 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 7369 if test -z "$ac_err"; then | 7389 if test -z "$ac_err"; then |
| 7370 rm -rf conftest* | 7390 rm -rf conftest* |
| 7371 eval "ac_cv_header_$ac_safe=yes" | 7391 eval "ac_cv_header_$ac_safe=yes" |
| 7372 else | 7392 else |
| 7385 with_xauth=no | 7405 with_xauth=no |
| 7386 fi | 7406 fi |
| 7387 } | 7407 } |
| 7388 test -z "$with_xauth" && { | 7408 test -z "$with_xauth" && { |
| 7389 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 | 7409 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 |
| 7390 echo "configure:7391: checking for XauGetAuthByAddr in -lXau" >&5 | 7410 echo "configure:7411: checking for XauGetAuthByAddr in -lXau" >&5 |
| 7391 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` | 7411 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` |
| 7392 | 7412 |
| 7393 xe_check_libs=" -lXau " | 7413 xe_check_libs=" -lXau " |
| 7394 cat > conftest.$ac_ext <<EOF | 7414 cat > conftest.$ac_ext <<EOF |
| 7395 #line 7396 "configure" | 7415 #line 7416 "configure" |
| 7396 #include "confdefs.h" | 7416 #include "confdefs.h" |
| 7397 /* Override any gcc2 internal prototype to avoid an error. */ | 7417 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7398 /* We use char because int might match the return type of a gcc2 | 7418 /* We use char because int might match the return type of a gcc2 |
| 7399 builtin and then its argument prototype would still apply. */ | 7419 builtin and then its argument prototype would still apply. */ |
| 7400 char XauGetAuthByAddr(); | 7420 char XauGetAuthByAddr(); |
| 7401 | 7421 |
| 7402 int main() { | 7422 int main() { |
| 7403 XauGetAuthByAddr() | 7423 XauGetAuthByAddr() |
| 7404 ; return 0; } | 7424 ; return 0; } |
| 7405 EOF | 7425 EOF |
| 7406 if { (eval echo configure:7407: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7426 if { (eval echo configure:7427: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 7407 rm -rf conftest* | 7427 rm -rf conftest* |
| 7408 eval "ac_cv_lib_$ac_lib_var=yes" | 7428 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7409 else | 7429 else |
| 7410 echo "configure: failed program was:" >&5 | 7430 echo "configure: failed program was:" >&5 |
| 7411 cat conftest.$ac_ext >&5 | 7431 cat conftest.$ac_ext >&5 |
| 7448 test -n "$xemacs_compiler" && XEMACS_CC="$xemacs_compiler" | 7468 test -n "$xemacs_compiler" && XEMACS_CC="$xemacs_compiler" |
| 7449 : ${XEMACS_CC:="$CC"} | 7469 : ${XEMACS_CC:="$CC"} |
| 7450 | 7470 |
| 7451 if test "$with_modules" != "no"; then | 7471 if test "$with_modules" != "no"; then |
| 7452 echo "checking for module support" 1>&6 | 7472 echo "checking for module support" 1>&6 |
| 7453 echo "configure:7454: checking for module support" >&5 | 7473 echo "configure:7474: checking for module support" >&5 |
| 7454 | 7474 |
| 7455 if test "$with_msw" = "yes"; then | 7475 if test "$with_msw" = "yes"; then |
| 7456 have_dl=yes; | 7476 have_dl=yes; |
| 7457 else | 7477 else |
| 7458 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` | 7478 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` |
| 7459 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 | 7479 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 |
| 7460 echo "configure:7461: checking for dlfcn.h" >&5 | 7480 echo "configure:7481: checking for dlfcn.h" >&5 |
| 7461 | 7481 |
| 7462 cat > conftest.$ac_ext <<EOF | 7482 cat > conftest.$ac_ext <<EOF |
| 7463 #line 7464 "configure" | 7483 #line 7484 "configure" |
| 7464 #include "confdefs.h" | 7484 #include "confdefs.h" |
| 7465 #include <dlfcn.h> | 7485 #include <dlfcn.h> |
| 7466 EOF | 7486 EOF |
| 7467 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7487 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 7468 { (eval echo configure:7469: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7488 { (eval echo configure:7489: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 7469 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7489 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 7470 if test -z "$ac_err"; then | 7490 if test -z "$ac_err"; then |
| 7471 rm -rf conftest* | 7491 rm -rf conftest* |
| 7472 eval "ac_cv_header_$ac_safe=yes" | 7492 eval "ac_cv_header_$ac_safe=yes" |
| 7473 else | 7493 else |
| 7480 rm -f conftest* | 7500 rm -f conftest* |
| 7481 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 7501 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
| 7482 echo "$ac_t""yes" 1>&6 | 7502 echo "$ac_t""yes" 1>&6 |
| 7483 | 7503 |
| 7484 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 | 7504 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 |
| 7485 echo "configure:7486: checking for dlopen in -lc" >&5 | 7505 echo "configure:7506: checking for dlopen in -lc" >&5 |
| 7486 cat > conftest.$ac_ext <<EOF | 7506 cat > conftest.$ac_ext <<EOF |
| 7487 #line 7488 "configure" | 7507 #line 7508 "configure" |
| 7488 #include "confdefs.h" | 7508 #include "confdefs.h" |
| 7489 #include <dlfcn.h> | 7509 #include <dlfcn.h> |
| 7490 int main() { | 7510 int main() { |
| 7491 dlopen ("", 0); | 7511 dlopen ("", 0); |
| 7492 ; return 0; } | 7512 ; return 0; } |
| 7493 EOF | 7513 EOF |
| 7494 if { (eval echo configure:7495: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7514 if { (eval echo configure:7515: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 7495 rm -rf conftest* | 7515 rm -rf conftest* |
| 7496 have_dl=yes | 7516 have_dl=yes |
| 7497 else | 7517 else |
| 7498 echo "configure: failed program was:" >&5 | 7518 echo "configure: failed program was:" >&5 |
| 7499 cat conftest.$ac_ext >&5 | 7519 cat conftest.$ac_ext >&5 |
| 7500 rm -rf conftest* | 7520 rm -rf conftest* |
| 7501 | 7521 |
| 7502 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 | 7522 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
| 7503 echo "configure:7504: checking for dlopen in -ldl" >&5 | 7523 echo "configure:7524: checking for dlopen in -ldl" >&5 |
| 7504 ac_save_LIBS="$LIBS" | 7524 ac_save_LIBS="$LIBS" |
| 7505 LIBS="-ldl $LIBS" | 7525 LIBS="-ldl $LIBS" |
| 7506 cat > conftest.$ac_ext <<EOF | 7526 cat > conftest.$ac_ext <<EOF |
| 7507 #line 7508 "configure" | 7527 #line 7528 "configure" |
| 7508 #include "confdefs.h" | 7528 #include "confdefs.h" |
| 7509 #include <dlfcn.h> | 7529 #include <dlfcn.h> |
| 7510 int main() { | 7530 int main() { |
| 7511 dlopen ("", 0); | 7531 dlopen ("", 0); |
| 7512 ; return 0; } | 7532 ; return 0; } |
| 7513 EOF | 7533 EOF |
| 7514 if { (eval echo configure:7515: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7534 if { (eval echo configure:7535: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 7515 rm -rf conftest* | 7535 rm -rf conftest* |
| 7516 have_dl=yes | 7536 have_dl=yes |
| 7517 else | 7537 else |
| 7518 echo "configure: failed program was:" >&5 | 7538 echo "configure: failed program was:" >&5 |
| 7519 cat conftest.$ac_ext >&5 | 7539 cat conftest.$ac_ext >&5 |
| 7538 } | 7558 } |
| 7539 | 7559 |
| 7540 else | 7560 else |
| 7541 | 7561 |
| 7542 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 | 7562 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 |
| 7543 echo "configure:7544: checking for shl_load in -ldld" >&5 | 7563 echo "configure:7564: checking for shl_load in -ldld" >&5 |
| 7544 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` | 7564 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` |
| 7545 | 7565 |
| 7546 xe_check_libs=" -ldld " | 7566 xe_check_libs=" -ldld " |
| 7547 cat > conftest.$ac_ext <<EOF | 7567 cat > conftest.$ac_ext <<EOF |
| 7548 #line 7549 "configure" | 7568 #line 7569 "configure" |
| 7549 #include "confdefs.h" | 7569 #include "confdefs.h" |
| 7550 /* Override any gcc2 internal prototype to avoid an error. */ | 7570 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7551 /* We use char because int might match the return type of a gcc2 | 7571 /* We use char because int might match the return type of a gcc2 |
| 7552 builtin and then its argument prototype would still apply. */ | 7572 builtin and then its argument prototype would still apply. */ |
| 7553 char shl_load(); | 7573 char shl_load(); |
| 7554 | 7574 |
| 7555 int main() { | 7575 int main() { |
| 7556 shl_load() | 7576 shl_load() |
| 7557 ; return 0; } | 7577 ; return 0; } |
| 7558 EOF | 7578 EOF |
| 7559 if { (eval echo configure:7560: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7579 if { (eval echo configure:7580: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 7560 rm -rf conftest* | 7580 rm -rf conftest* |
| 7561 eval "ac_cv_lib_$ac_lib_var=yes" | 7581 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7562 else | 7582 else |
| 7563 echo "configure: failed program was:" >&5 | 7583 echo "configure: failed program was:" >&5 |
| 7564 cat conftest.$ac_ext >&5 | 7584 cat conftest.$ac_ext >&5 |
| 7581 | 7601 |
| 7582 else | 7602 else |
| 7583 echo "$ac_t""no" 1>&6 | 7603 echo "$ac_t""no" 1>&6 |
| 7584 | 7604 |
| 7585 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 | 7605 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 |
| 7586 echo "configure:7587: checking for dld_init in -ldld" >&5 | 7606 echo "configure:7607: checking for dld_init in -ldld" >&5 |
| 7587 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` | 7607 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` |
| 7588 | 7608 |
| 7589 xe_check_libs=" -ldld " | 7609 xe_check_libs=" -ldld " |
| 7590 cat > conftest.$ac_ext <<EOF | 7610 cat > conftest.$ac_ext <<EOF |
| 7591 #line 7592 "configure" | 7611 #line 7612 "configure" |
| 7592 #include "confdefs.h" | 7612 #include "confdefs.h" |
| 7593 /* Override any gcc2 internal prototype to avoid an error. */ | 7613 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7594 /* We use char because int might match the return type of a gcc2 | 7614 /* We use char because int might match the return type of a gcc2 |
| 7595 builtin and then its argument prototype would still apply. */ | 7615 builtin and then its argument prototype would still apply. */ |
| 7596 char dld_init(); | 7616 char dld_init(); |
| 7597 | 7617 |
| 7598 int main() { | 7618 int main() { |
| 7599 dld_init() | 7619 dld_init() |
| 7600 ; return 0; } | 7620 ; return 0; } |
| 7601 EOF | 7621 EOF |
| 7602 if { (eval echo configure:7603: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7622 if { (eval echo configure:7623: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 7603 rm -rf conftest* | 7623 rm -rf conftest* |
| 7604 eval "ac_cv_lib_$ac_lib_var=yes" | 7624 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7605 else | 7625 else |
| 7606 echo "configure: failed program was:" >&5 | 7626 echo "configure: failed program was:" >&5 |
| 7607 cat conftest.$ac_ext >&5 | 7627 cat conftest.$ac_ext >&5 |
| 7642 ld_dynamic_link_flags= | 7662 ld_dynamic_link_flags= |
| 7643 xehost=$canonical | 7663 xehost=$canonical |
| 7644 xealias=$internal_configuration | 7664 xealias=$internal_configuration |
| 7645 | 7665 |
| 7646 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 | 7666 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 |
| 7647 echo "configure:7648: checking how to build dynamic libraries for ${xehost}" >&5 | 7667 echo "configure:7668: checking how to build dynamic libraries for ${xehost}" >&5 |
| 7648 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. | 7668 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. |
| 7649 case "$xehost" in | 7669 case "$xehost" in |
| 7650 *-*-linux-gnu*) ;; | 7670 *-*-linux-gnu*) ;; |
| 7651 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` | 7671 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` |
| 7652 esac | 7672 esac |
| 7670 # Now see if the compiler is really GCC. | 7690 # Now see if the compiler is really GCC. |
| 7671 if test "$GCC" = "yes"; then | 7691 if test "$GCC" = "yes"; then |
| 7672 XEGCC=yes | 7692 XEGCC=yes |
| 7673 else | 7693 else |
| 7674 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 | 7694 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 |
| 7675 echo "configure:7676: checking checking whether we are using GNU C" >&5 | 7695 echo "configure:7696: checking checking whether we are using GNU C" >&5 |
| 7676 cat > conftest.$ac_ext <<EOF | 7696 cat > conftest.$ac_ext <<EOF |
| 7677 #line 7678 "configure" | 7697 #line 7698 "configure" |
| 7678 #include "confdefs.h" | 7698 #include "confdefs.h" |
| 7679 | 7699 |
| 7680 #ifdef __GNUC__ | 7700 #ifdef __GNUC__ |
| 7681 yes; | 7701 yes; |
| 7682 #endif | 7702 #endif |
| 7694 | 7714 |
| 7695 echo "$ac_t""${XEGCC}" 1>&6 | 7715 echo "$ac_t""${XEGCC}" 1>&6 |
| 7696 fi | 7716 fi |
| 7697 | 7717 |
| 7698 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 | 7718 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 |
| 7699 echo "configure:7700: checking how to produce PIC code" >&5 | 7719 echo "configure:7720: checking how to produce PIC code" >&5 |
| 7700 wl= | 7720 wl= |
| 7701 | 7721 |
| 7702 can_build_shared=yes | 7722 can_build_shared=yes |
| 7703 cygwin_warn= | 7723 cygwin_warn= |
| 7704 if test "$XEGCC" = yes; then | 7724 if test "$XEGCC" = yes; then |
| 7800 if test -n "$dll_cflags"; then | 7820 if test -n "$dll_cflags"; then |
| 7801 echo "$ac_t""${dll_cflags}" 1>&6 | 7821 echo "$ac_t""${dll_cflags}" 1>&6 |
| 7802 | 7822 |
| 7803 # Check to make sure the dll_cflags actually works. | 7823 # Check to make sure the dll_cflags actually works. |
| 7804 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 | 7824 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 |
| 7805 echo "configure:7806: checking if PIC flag ${dll_cflags} really works" >&5 | 7825 echo "configure:7826: checking if PIC flag ${dll_cflags} really works" >&5 |
| 7806 save_CFLAGS="$CFLAGS" | 7826 save_CFLAGS="$CFLAGS" |
| 7807 CFLAGS="$CFLAGS $dll_cflags -DPIC" | 7827 CFLAGS="$CFLAGS $dll_cflags -DPIC" |
| 7808 cat > conftest.$ac_ext <<EOF | 7828 cat > conftest.$ac_ext <<EOF |
| 7809 #line 7810 "configure" | 7829 #line 7830 "configure" |
| 7810 #include "confdefs.h" | 7830 #include "confdefs.h" |
| 7811 | 7831 |
| 7812 int main() { | 7832 int main() { |
| 7813 int x=0; | 7833 int x=0; |
| 7814 ; return 0; } | 7834 ; return 0; } |
| 7815 EOF | 7835 EOF |
| 7816 if { (eval echo configure:7817: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 7836 if { (eval echo configure:7837: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 7817 rm -rf conftest* | 7837 rm -rf conftest* |
| 7818 | 7838 |
| 7819 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also | 7839 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also |
| 7820 # reports no error. So, we need to grep stderr for (Bundled). | 7840 # reports no error. So, we need to grep stderr for (Bundled). |
| 7821 if grep '(Bundled)' config.log >/dev/null; then | 7841 if grep '(Bundled)' config.log >/dev/null; then |
| 7846 if test "$can_build_shared" = "yes"; then | 7866 if test "$can_build_shared" = "yes"; then |
| 7847 cc_produces_so=no | 7867 cc_produces_so=no |
| 7848 xldf= | 7868 xldf= |
| 7849 xcldf= | 7869 xcldf= |
| 7850 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 | 7870 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 |
| 7851 echo "configure:7852: checking if C compiler can produce shared libraries" >&5 | 7871 echo "configure:7872: checking if C compiler can produce shared libraries" >&5 |
| 7852 if test "$XEGCC" = yes; then | 7872 if test "$XEGCC" = yes; then |
| 7853 xcldf="-shared" | 7873 xcldf="-shared" |
| 7854 xldf="-shared" | 7874 xldf="-shared" |
| 7855 else # Not using GCC | 7875 else # Not using GCC |
| 7856 case "$xehost_os" in | 7876 case "$xehost_os" in |
| 7897 LDFLAGS="$xcldf $LDFLAGS" | 7917 LDFLAGS="$xcldf $LDFLAGS" |
| 7898 LIBS= | 7918 LIBS= |
| 7899 xe_libs= | 7919 xe_libs= |
| 7900 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 7920 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
| 7901 cat > conftest.$ac_ext <<EOF | 7921 cat > conftest.$ac_ext <<EOF |
| 7902 #line 7903 "configure" | 7922 #line 7923 "configure" |
| 7903 #include "confdefs.h" | 7923 #include "confdefs.h" |
| 7904 | 7924 |
| 7905 int main() { | 7925 int main() { |
| 7906 int x=0; | 7926 int x=0; |
| 7907 ; return 0; } | 7927 ; return 0; } |
| 7908 EOF | 7928 EOF |
| 7909 if { (eval echo configure:7910: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7929 if { (eval echo configure:7930: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 7910 rm -rf conftest* | 7930 rm -rf conftest* |
| 7911 cc_produces_so=yes | 7931 cc_produces_so=yes |
| 7912 else | 7932 else |
| 7913 echo "configure: failed program was:" >&5 | 7933 echo "configure: failed program was:" >&5 |
| 7914 cat conftest.$ac_ext >&5 | 7934 cat conftest.$ac_ext >&5 |
| 7929 if test -z "$LTLD"; then | 7949 if test -z "$LTLD"; then |
| 7930 ac_prog=ld | 7950 ac_prog=ld |
| 7931 if test "$XEGCC" = yes; then | 7951 if test "$XEGCC" = yes; then |
| 7932 # Check if gcc -print-prog-name=ld gives a path. | 7952 # Check if gcc -print-prog-name=ld gives a path. |
| 7933 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 | 7953 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 |
| 7934 echo "configure:7935: checking for ld used by GCC" >&5 | 7954 echo "configure:7955: checking for ld used by GCC" >&5 |
| 7935 ac_prog=`($CC -print-prog-name=ld) 2>&5` | 7955 ac_prog=`($CC -print-prog-name=ld) 2>&5` |
| 7936 case "$ac_prog" in | 7956 case "$ac_prog" in |
| 7937 # Accept absolute paths. | 7957 # Accept absolute paths. |
| 7938 /*) | 7958 /*) |
| 7939 if test -z "$LTLD"; then | 7959 if test -z "$LTLD"; then |
| 7955 with_gnu_ld=unknown | 7975 with_gnu_ld=unknown |
| 7956 ;; | 7976 ;; |
| 7957 esac | 7977 esac |
| 7958 else | 7978 else |
| 7959 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 | 7979 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 |
| 7960 echo "configure:7961: checking for GNU ld" >&5 | 7980 echo "configure:7981: checking for GNU ld" >&5 |
| 7961 fi | 7981 fi |
| 7962 | 7982 |
| 7963 if test -z "$LTLD"; then | 7983 if test -z "$LTLD"; then |
| 7964 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 7984 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
| 7965 for ac_dir in $PATH; do | 7985 for ac_dir in $PATH; do |
| 7993 | 8013 |
| 7994 ld_dynamic_link_flags= | 8014 ld_dynamic_link_flags= |
| 7995 | 8015 |
| 7996 # Check to see if it really is or isn't GNU ld. | 8016 # Check to see if it really is or isn't GNU ld. |
| 7997 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 | 8017 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 |
| 7998 echo "configure:7999: checking if the linker is GNU ld" >&5 | 8018 echo "configure:8019: checking if the linker is GNU ld" >&5 |
| 7999 # I'd rather use --version here, but apparently some GNU ld's only accept -v. | 8019 # I'd rather use --version here, but apparently some GNU ld's only accept -v. |
| 8000 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then | 8020 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then |
| 8001 xe_gnu_ld=yes | 8021 xe_gnu_ld=yes |
| 8002 else | 8022 else |
| 8003 xe_gnu_ld=no | 8023 xe_gnu_ld=no |
| 8021 ld_shlibs=yes | 8041 ld_shlibs=yes |
| 8022 else | 8042 else |
| 8023 # OK - only NOW do we futz about with ld. | 8043 # OK - only NOW do we futz about with ld. |
| 8024 # See if the linker supports building shared libraries. | 8044 # See if the linker supports building shared libraries. |
| 8025 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 | 8045 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 |
| 8026 echo "configure:8027: checking whether the linker supports shared libraries" >&5 | 8046 echo "configure:8047: checking whether the linker supports shared libraries" >&5 |
| 8027 dll_ld=$CC | 8047 dll_ld=$CC |
| 8028 dll_ldflags=$LDFLAGS | 8048 dll_ldflags=$LDFLAGS |
| 8029 ld_shlibs=yes | 8049 ld_shlibs=yes |
| 8030 can_build_shared=yes | 8050 can_build_shared=yes |
| 8031 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then | 8051 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then |
| 8229 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi | 8249 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi |
| 8230 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi | 8250 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi |
| 8231 for ac_func in dlerror _dlerror | 8251 for ac_func in dlerror _dlerror |
| 8232 do | 8252 do |
| 8233 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8253 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 8234 echo "configure:8235: checking for $ac_func" >&5 | 8254 echo "configure:8255: checking for $ac_func" >&5 |
| 8235 | 8255 |
| 8236 cat > conftest.$ac_ext <<EOF | 8256 cat > conftest.$ac_ext <<EOF |
| 8237 #line 8238 "configure" | 8257 #line 8258 "configure" |
| 8238 #include "confdefs.h" | 8258 #include "confdefs.h" |
| 8239 /* System header to define __stub macros and hopefully few prototypes, | 8259 /* System header to define __stub macros and hopefully few prototypes, |
| 8240 which can conflict with char $ac_func(); below. */ | 8260 which can conflict with char $ac_func(); below. */ |
| 8241 #include <assert.h> | 8261 #include <assert.h> |
| 8242 /* Override any gcc2 internal prototype to avoid an error. */ | 8262 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8255 $ac_func(); | 8275 $ac_func(); |
| 8256 #endif | 8276 #endif |
| 8257 | 8277 |
| 8258 ; return 0; } | 8278 ; return 0; } |
| 8259 EOF | 8279 EOF |
| 8260 if { (eval echo configure:8261: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8280 if { (eval echo configure:8281: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 8261 rm -rf conftest* | 8281 rm -rf conftest* |
| 8262 eval "ac_cv_func_$ac_func=yes" | 8282 eval "ac_cv_func_$ac_func=yes" |
| 8263 else | 8283 else |
| 8264 echo "configure: failed program was:" >&5 | 8284 echo "configure: failed program was:" >&5 |
| 8265 cat conftest.$ac_ext >&5 | 8285 cat conftest.$ac_ext >&5 |
| 8317 | 8337 |
| 8318 if test "$with_tooltalk" != "no" ; then | 8338 if test "$with_tooltalk" != "no" ; then |
| 8319 for dir in "" "Tt/" "desktop/" ; do | 8339 for dir in "" "Tt/" "desktop/" ; do |
| 8320 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` | 8340 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` |
| 8321 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 | 8341 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 |
| 8322 echo "configure:8323: checking for ${dir}tt_c.h" >&5 | 8342 echo "configure:8343: checking for ${dir}tt_c.h" >&5 |
| 8323 | 8343 |
| 8324 cat > conftest.$ac_ext <<EOF | 8344 cat > conftest.$ac_ext <<EOF |
| 8325 #line 8326 "configure" | 8345 #line 8346 "configure" |
| 8326 #include "confdefs.h" | 8346 #include "confdefs.h" |
| 8327 #include <${dir}tt_c.h> | 8347 #include <${dir}tt_c.h> |
| 8328 EOF | 8348 EOF |
| 8329 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8349 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8330 { (eval echo configure:8331: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8350 { (eval echo configure:8351: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8331 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8351 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 8332 if test -z "$ac_err"; then | 8352 if test -z "$ac_err"; then |
| 8333 rm -rf conftest* | 8353 rm -rf conftest* |
| 8334 eval "ac_cv_header_$ac_safe=yes" | 8354 eval "ac_cv_header_$ac_safe=yes" |
| 8335 else | 8355 else |
| 8361 for extra_libs in "" "-lI18N -lce" "-lcxx"; do | 8381 for extra_libs in "" "-lI18N -lce" "-lcxx"; do |
| 8362 | 8382 |
| 8363 xe_msg_checking="for tt_message_create in -ltt" | 8383 xe_msg_checking="for tt_message_create in -ltt" |
| 8364 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" | 8384 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" |
| 8365 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 8385 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
| 8366 echo "configure:8367: checking "$xe_msg_checking"" >&5 | 8386 echo "configure:8387: checking "$xe_msg_checking"" >&5 |
| 8367 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` | 8387 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` |
| 8368 | 8388 |
| 8369 xe_check_libs=" -ltt $extra_libs" | 8389 xe_check_libs=" -ltt $extra_libs" |
| 8370 cat > conftest.$ac_ext <<EOF | 8390 cat > conftest.$ac_ext <<EOF |
| 8371 #line 8372 "configure" | 8391 #line 8392 "configure" |
| 8372 #include "confdefs.h" | 8392 #include "confdefs.h" |
| 8373 /* Override any gcc2 internal prototype to avoid an error. */ | 8393 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8374 /* We use char because int might match the return type of a gcc2 | 8394 /* We use char because int might match the return type of a gcc2 |
| 8375 builtin and then its argument prototype would still apply. */ | 8395 builtin and then its argument prototype would still apply. */ |
| 8376 char tt_message_create(); | 8396 char tt_message_create(); |
| 8377 | 8397 |
| 8378 int main() { | 8398 int main() { |
| 8379 tt_message_create() | 8399 tt_message_create() |
| 8380 ; return 0; } | 8400 ; return 0; } |
| 8381 EOF | 8401 EOF |
| 8382 if { (eval echo configure:8383: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8402 if { (eval echo configure:8403: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 8383 rm -rf conftest* | 8403 rm -rf conftest* |
| 8384 eval "ac_cv_lib_$ac_lib_var=yes" | 8404 eval "ac_cv_lib_$ac_lib_var=yes" |
| 8385 else | 8405 else |
| 8386 echo "configure: failed program was:" >&5 | 8406 echo "configure: failed program was:" >&5 |
| 8387 cat conftest.$ac_ext >&5 | 8407 cat conftest.$ac_ext >&5 |
| 8431 libs_x="$tt_libs $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$tt_libs\" to \$libs_x"; fi | 8451 libs_x="$tt_libs $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$tt_libs\" to \$libs_x"; fi |
| 8432 fi | 8452 fi |
| 8433 | 8453 |
| 8434 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` | 8454 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` |
| 8435 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 | 8455 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 |
| 8436 echo "configure:8437: checking for Dt/Dt.h" >&5 | 8456 echo "configure:8457: checking for Dt/Dt.h" >&5 |
| 8437 | 8457 |
| 8438 cat > conftest.$ac_ext <<EOF | 8458 cat > conftest.$ac_ext <<EOF |
| 8439 #line 8440 "configure" | 8459 #line 8460 "configure" |
| 8440 #include "confdefs.h" | 8460 #include "confdefs.h" |
| 8441 #include <Dt/Dt.h> | 8461 #include <Dt/Dt.h> |
| 8442 EOF | 8462 EOF |
| 8443 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8463 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8444 { (eval echo configure:8445: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8464 { (eval echo configure:8465: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8445 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8465 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 8446 if test -z "$ac_err"; then | 8466 if test -z "$ac_err"; then |
| 8447 rm -rf conftest* | 8467 rm -rf conftest* |
| 8448 eval "ac_cv_header_$ac_safe=yes" | 8468 eval "ac_cv_header_$ac_safe=yes" |
| 8449 else | 8469 else |
| 8462 with_cde=no | 8482 with_cde=no |
| 8463 fi | 8483 fi |
| 8464 } | 8484 } |
| 8465 test -z "$with_cde" && { | 8485 test -z "$with_cde" && { |
| 8466 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 | 8486 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 |
| 8467 echo "configure:8468: checking for DtDndDragStart in -lDtSvc" >&5 | 8487 echo "configure:8488: checking for DtDndDragStart in -lDtSvc" >&5 |
| 8468 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` | 8488 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` |
| 8469 | 8489 |
| 8470 xe_check_libs=" -lDtSvc " | 8490 xe_check_libs=" -lDtSvc " |
| 8471 cat > conftest.$ac_ext <<EOF | 8491 cat > conftest.$ac_ext <<EOF |
| 8472 #line 8473 "configure" | 8492 #line 8493 "configure" |
| 8473 #include "confdefs.h" | 8493 #include "confdefs.h" |
| 8474 /* Override any gcc2 internal prototype to avoid an error. */ | 8494 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8475 /* We use char because int might match the return type of a gcc2 | 8495 /* We use char because int might match the return type of a gcc2 |
| 8476 builtin and then its argument prototype would still apply. */ | 8496 builtin and then its argument prototype would still apply. */ |
| 8477 char DtDndDragStart(); | 8497 char DtDndDragStart(); |
| 8478 | 8498 |
| 8479 int main() { | 8499 int main() { |
| 8480 DtDndDragStart() | 8500 DtDndDragStart() |
| 8481 ; return 0; } | 8501 ; return 0; } |
| 8482 EOF | 8502 EOF |
| 8483 if { (eval echo configure:8484: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8503 if { (eval echo configure:8504: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 8484 rm -rf conftest* | 8504 rm -rf conftest* |
| 8485 eval "ac_cv_lib_$ac_lib_var=yes" | 8505 eval "ac_cv_lib_$ac_lib_var=yes" |
| 8486 else | 8506 else |
| 8487 echo "configure: failed program was:" >&5 | 8507 echo "configure: failed program was:" >&5 |
| 8488 cat conftest.$ac_ext >&5 | 8508 cat conftest.$ac_ext >&5 |
| 8559 dragndrop_proto="$dragndrop_proto GTK" && if test "$extra_verbose" = "yes"; then echo " Appending \"GTK\" to \$dragndrop_proto"; fi | 8579 dragndrop_proto="$dragndrop_proto GTK" && if test "$extra_verbose" = "yes"; then echo " Appending \"GTK\" to \$dragndrop_proto"; fi |
| 8560 fi | 8580 fi |
| 8561 | 8581 |
| 8562 if test "$with_dragndrop" != "no" ; then | 8582 if test "$with_dragndrop" != "no" ; then |
| 8563 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 | 8583 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 |
| 8564 echo "configure:8565: checking if drag and drop API is needed" >&5 | 8584 echo "configure:8585: checking if drag and drop API is needed" >&5 |
| 8565 if test -n "$dragndrop_proto" ; then | 8585 if test -n "$dragndrop_proto" ; then |
| 8566 with_dragndrop=yes | 8586 with_dragndrop=yes |
| 8567 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 | 8587 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 |
| 8568 { test "$extra_verbose" = "yes" && cat << \EOF | 8588 { test "$extra_verbose" = "yes" && cat << \EOF |
| 8569 Defining HAVE_DRAGNDROP | 8589 Defining HAVE_DRAGNDROP |
| 8579 echo "$ac_t""no" 1>&6 | 8599 echo "$ac_t""no" 1>&6 |
| 8580 fi | 8600 fi |
| 8581 fi | 8601 fi |
| 8582 | 8602 |
| 8583 echo "checking for LDAP" 1>&6 | 8603 echo "checking for LDAP" 1>&6 |
| 8584 echo "configure:8585: checking for LDAP" >&5 | 8604 echo "configure:8605: checking for LDAP" >&5 |
| 8585 ldap_libs= | 8605 ldap_libs= |
| 8586 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` | 8606 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` |
| 8587 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 | 8607 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 |
| 8588 echo "configure:8589: checking for ldap.h" >&5 | 8608 echo "configure:8609: checking for ldap.h" >&5 |
| 8589 | 8609 |
| 8590 cat > conftest.$ac_ext <<EOF | 8610 cat > conftest.$ac_ext <<EOF |
| 8591 #line 8592 "configure" | 8611 #line 8612 "configure" |
| 8592 #include "confdefs.h" | 8612 #include "confdefs.h" |
| 8593 #include <ldap.h> | 8613 #include <ldap.h> |
| 8594 EOF | 8614 EOF |
| 8595 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8615 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8596 { (eval echo configure:8597: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8616 { (eval echo configure:8617: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8597 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8617 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 8598 if test -z "$ac_err"; then | 8618 if test -z "$ac_err"; then |
| 8599 rm -rf conftest* | 8619 rm -rf conftest* |
| 8600 eval "ac_cv_header_$ac_safe=yes" | 8620 eval "ac_cv_header_$ac_safe=yes" |
| 8601 else | 8621 else |
| 8614 with_ldap=no | 8634 with_ldap=no |
| 8615 fi | 8635 fi |
| 8616 } | 8636 } |
| 8617 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` | 8637 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` |
| 8618 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 | 8638 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 |
| 8619 echo "configure:8620: checking for lber.h" >&5 | 8639 echo "configure:8640: checking for lber.h" >&5 |
| 8620 | 8640 |
| 8621 cat > conftest.$ac_ext <<EOF | 8641 cat > conftest.$ac_ext <<EOF |
| 8622 #line 8623 "configure" | 8642 #line 8643 "configure" |
| 8623 #include "confdefs.h" | 8643 #include "confdefs.h" |
| 8624 #include <lber.h> | 8644 #include <lber.h> |
| 8625 EOF | 8645 EOF |
| 8626 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8646 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8627 { (eval echo configure:8628: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8647 { (eval echo configure:8648: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8628 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8648 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 8629 if test -z "$ac_err"; then | 8649 if test -z "$ac_err"; then |
| 8630 rm -rf conftest* | 8650 rm -rf conftest* |
| 8631 eval "ac_cv_header_$ac_safe=yes" | 8651 eval "ac_cv_header_$ac_safe=yes" |
| 8632 else | 8652 else |
| 8646 fi | 8666 fi |
| 8647 } | 8667 } |
| 8648 if test "$with_ldap" != "no"; then | 8668 if test "$with_ldap" != "no"; then |
| 8649 | 8669 |
| 8650 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 | 8670 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 |
| 8651 echo "configure:8652: checking for ldap_search in -lldap" >&5 | 8671 echo "configure:8672: checking for ldap_search in -lldap" >&5 |
| 8652 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` | 8672 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` |
| 8653 | 8673 |
| 8654 xe_check_libs=" -lldap " | 8674 xe_check_libs=" -lldap " |
| 8655 cat > conftest.$ac_ext <<EOF | 8675 cat > conftest.$ac_ext <<EOF |
| 8656 #line 8657 "configure" | 8676 #line 8677 "configure" |
| 8657 #include "confdefs.h" | 8677 #include "confdefs.h" |
| 8658 /* Override any gcc2 internal prototype to avoid an error. */ | 8678 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8659 /* We use char because int might match the return type of a gcc2 | 8679 /* We use char because int might match the return type of a gcc2 |
| 8660 builtin and then its argument prototype would still apply. */ | 8680 builtin and then its argument prototype would still apply. */ |
| 8661 char ldap_search(); | 8681 char ldap_search(); |
| 8662 | 8682 |
| 8663 int main() { | 8683 int main() { |
| 8664 ldap_search() | 8684 ldap_search() |
| 8665 ; return 0; } | 8685 ; return 0; } |
| 8666 EOF | 8686 EOF |
| 8667 if { (eval echo configure:8668: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8687 if { (eval echo configure:8688: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 8668 rm -rf conftest* | 8688 rm -rf conftest* |
| 8669 eval "ac_cv_lib_$ac_lib_var=yes" | 8689 eval "ac_cv_lib_$ac_lib_var=yes" |
| 8670 else | 8690 else |
| 8671 echo "configure: failed program was:" >&5 | 8691 echo "configure: failed program was:" >&5 |
| 8672 cat conftest.$ac_ext >&5 | 8692 cat conftest.$ac_ext >&5 |
| 8687 | 8707 |
| 8688 test "$with_ldap_nolber" = "no" && { | 8708 test "$with_ldap_nolber" = "no" && { |
| 8689 xe_msg_checking="for ldap_open in -lldap" | 8709 xe_msg_checking="for ldap_open in -lldap" |
| 8690 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" | 8710 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" |
| 8691 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 8711 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
| 8692 echo "configure:8693: checking "$xe_msg_checking"" >&5 | 8712 echo "configure:8713: checking "$xe_msg_checking"" >&5 |
| 8693 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 8713 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
| 8694 | 8714 |
| 8695 xe_check_libs=" -lldap -llber" | 8715 xe_check_libs=" -lldap -llber" |
| 8696 cat > conftest.$ac_ext <<EOF | 8716 cat > conftest.$ac_ext <<EOF |
| 8697 #line 8698 "configure" | 8717 #line 8718 "configure" |
| 8698 #include "confdefs.h" | 8718 #include "confdefs.h" |
| 8699 /* Override any gcc2 internal prototype to avoid an error. */ | 8719 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8700 /* We use char because int might match the return type of a gcc2 | 8720 /* We use char because int might match the return type of a gcc2 |
| 8701 builtin and then its argument prototype would still apply. */ | 8721 builtin and then its argument prototype would still apply. */ |
| 8702 char ldap_open(); | 8722 char ldap_open(); |
| 8703 | 8723 |
| 8704 int main() { | 8724 int main() { |
| 8705 ldap_open() | 8725 ldap_open() |
| 8706 ; return 0; } | 8726 ; return 0; } |
| 8707 EOF | 8727 EOF |
| 8708 if { (eval echo configure:8709: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8728 if { (eval echo configure:8729: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 8709 rm -rf conftest* | 8729 rm -rf conftest* |
| 8710 eval "ac_cv_lib_$ac_lib_var=yes" | 8730 eval "ac_cv_lib_$ac_lib_var=yes" |
| 8711 else | 8731 else |
| 8712 echo "configure: failed program was:" >&5 | 8732 echo "configure: failed program was:" >&5 |
| 8713 cat conftest.$ac_ext >&5 | 8733 cat conftest.$ac_ext >&5 |
| 8728 } | 8748 } |
| 8729 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && { | 8749 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && { |
| 8730 xe_msg_checking="for ldap_open in -lldap" | 8750 xe_msg_checking="for ldap_open in -lldap" |
| 8731 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" | 8751 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" |
| 8732 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 8752 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
| 8733 echo "configure:8734: checking "$xe_msg_checking"" >&5 | 8753 echo "configure:8754: checking "$xe_msg_checking"" >&5 |
| 8734 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 8754 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
| 8735 | 8755 |
| 8736 xe_check_libs=" -lldap -llber -lkrb" | 8756 xe_check_libs=" -lldap -llber -lkrb" |
| 8737 cat > conftest.$ac_ext <<EOF | 8757 cat > conftest.$ac_ext <<EOF |
| 8738 #line 8739 "configure" | 8758 #line 8759 "configure" |
| 8739 #include "confdefs.h" | 8759 #include "confdefs.h" |
| 8740 /* Override any gcc2 internal prototype to avoid an error. */ | 8760 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8741 /* We use char because int might match the return type of a gcc2 | 8761 /* We use char because int might match the return type of a gcc2 |
| 8742 builtin and then its argument prototype would still apply. */ | 8762 builtin and then its argument prototype would still apply. */ |
| 8743 char ldap_open(); | 8763 char ldap_open(); |
| 8744 | 8764 |
| 8745 int main() { | 8765 int main() { |
| 8746 ldap_open() | 8766 ldap_open() |
| 8747 ; return 0; } | 8767 ; return 0; } |
| 8748 EOF | 8768 EOF |
| 8749 if { (eval echo configure:8750: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8769 if { (eval echo configure:8770: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 8750 rm -rf conftest* | 8770 rm -rf conftest* |
| 8751 eval "ac_cv_lib_$ac_lib_var=yes" | 8771 eval "ac_cv_lib_$ac_lib_var=yes" |
| 8752 else | 8772 else |
| 8753 echo "configure: failed program was:" >&5 | 8773 echo "configure: failed program was:" >&5 |
| 8754 cat conftest.$ac_ext >&5 | 8774 cat conftest.$ac_ext >&5 |
| 8769 } | 8789 } |
| 8770 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && { | 8790 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && { |
| 8771 xe_msg_checking="for ldap_open in -lldap" | 8791 xe_msg_checking="for ldap_open in -lldap" |
| 8772 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" | 8792 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" |
| 8773 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 8793 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
| 8774 echo "configure:8775: checking "$xe_msg_checking"" >&5 | 8794 echo "configure:8795: checking "$xe_msg_checking"" >&5 |
| 8775 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 8795 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
| 8776 | 8796 |
| 8777 xe_check_libs=" -lldap -llber -lkrb -ldes" | 8797 xe_check_libs=" -lldap -llber -lkrb -ldes" |
| 8778 cat > conftest.$ac_ext <<EOF | 8798 cat > conftest.$ac_ext <<EOF |
| 8779 #line 8780 "configure" | 8799 #line 8800 "configure" |
| 8780 #include "confdefs.h" | 8800 #include "confdefs.h" |
| 8781 /* Override any gcc2 internal prototype to avoid an error. */ | 8801 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8782 /* We use char because int might match the return type of a gcc2 | 8802 /* We use char because int might match the return type of a gcc2 |
| 8783 builtin and then its argument prototype would still apply. */ | 8803 builtin and then its argument prototype would still apply. */ |
| 8784 char ldap_open(); | 8804 char ldap_open(); |
| 8785 | 8805 |
| 8786 int main() { | 8806 int main() { |
| 8787 ldap_open() | 8807 ldap_open() |
| 8788 ; return 0; } | 8808 ; return 0; } |
| 8789 EOF | 8809 EOF |
| 8790 if { (eval echo configure:8791: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8810 if { (eval echo configure:8811: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 8791 rm -rf conftest* | 8811 rm -rf conftest* |
| 8792 eval "ac_cv_lib_$ac_lib_var=yes" | 8812 eval "ac_cv_lib_$ac_lib_var=yes" |
| 8793 else | 8813 else |
| 8794 echo "configure: failed program was:" >&5 | 8814 echo "configure: failed program was:" >&5 |
| 8795 cat conftest.$ac_ext >&5 | 8815 cat conftest.$ac_ext >&5 |
| 8834 fi | 8854 fi |
| 8835 save_LIBS="$LIBS" LIBS="$LIBS $ldap_libs" | 8855 save_LIBS="$LIBS" LIBS="$LIBS $ldap_libs" |
| 8836 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result | 8856 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result |
| 8837 do | 8857 do |
| 8838 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8858 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 8839 echo "configure:8840: checking for $ac_func" >&5 | 8859 echo "configure:8860: checking for $ac_func" >&5 |
| 8840 | 8860 |
| 8841 cat > conftest.$ac_ext <<EOF | 8861 cat > conftest.$ac_ext <<EOF |
| 8842 #line 8843 "configure" | 8862 #line 8863 "configure" |
| 8843 #include "confdefs.h" | 8863 #include "confdefs.h" |
| 8844 /* System header to define __stub macros and hopefully few prototypes, | 8864 /* System header to define __stub macros and hopefully few prototypes, |
| 8845 which can conflict with char $ac_func(); below. */ | 8865 which can conflict with char $ac_func(); below. */ |
| 8846 #include <assert.h> | 8866 #include <assert.h> |
| 8847 /* Override any gcc2 internal prototype to avoid an error. */ | 8867 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8860 $ac_func(); | 8880 $ac_func(); |
| 8861 #endif | 8881 #endif |
| 8862 | 8882 |
| 8863 ; return 0; } | 8883 ; return 0; } |
| 8864 EOF | 8884 EOF |
| 8865 if { (eval echo configure:8866: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8885 if { (eval echo configure:8886: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 8866 rm -rf conftest* | 8886 rm -rf conftest* |
| 8867 eval "ac_cv_func_$ac_func=yes" | 8887 eval "ac_cv_func_$ac_func=yes" |
| 8868 else | 8888 else |
| 8869 echo "configure: failed program was:" >&5 | 8889 echo "configure: failed program was:" >&5 |
| 8870 cat conftest.$ac_ext >&5 | 8890 cat conftest.$ac_ext >&5 |
| 8899 | 8919 |
| 8900 | 8920 |
| 8901 postgresql_libs= | 8921 postgresql_libs= |
| 8902 if test "$with_postgresql" != "no"; then | 8922 if test "$with_postgresql" != "no"; then |
| 8903 echo "checking for PostgreSQL" 1>&6 | 8923 echo "checking for PostgreSQL" 1>&6 |
| 8904 echo "configure:8905: checking for PostgreSQL" >&5 | 8924 echo "configure:8925: checking for PostgreSQL" >&5 |
| 8905 | 8925 |
| 8906 for header_dir in "" "pgsql/" "postgresql/"; do | 8926 for header_dir in "" "pgsql/" "postgresql/"; do |
| 8907 ac_safe=`echo "${header_dir}libpq-fe.h" | sed 'y%./+-%__p_%'` | 8927 ac_safe=`echo "${header_dir}libpq-fe.h" | sed 'y%./+-%__p_%'` |
| 8908 echo $ac_n "checking for ${header_dir}libpq-fe.h""... $ac_c" 1>&6 | 8928 echo $ac_n "checking for ${header_dir}libpq-fe.h""... $ac_c" 1>&6 |
| 8909 echo "configure:8910: checking for ${header_dir}libpq-fe.h" >&5 | 8929 echo "configure:8930: checking for ${header_dir}libpq-fe.h" >&5 |
| 8910 | 8930 |
| 8911 cat > conftest.$ac_ext <<EOF | 8931 cat > conftest.$ac_ext <<EOF |
| 8912 #line 8913 "configure" | 8932 #line 8933 "configure" |
| 8913 #include "confdefs.h" | 8933 #include "confdefs.h" |
| 8914 #include <${header_dir}libpq-fe.h> | 8934 #include <${header_dir}libpq-fe.h> |
| 8915 EOF | 8935 EOF |
| 8916 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8936 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8917 { (eval echo configure:8918: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8937 { (eval echo configure:8938: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8918 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8938 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 8919 if test -z "$ac_err"; then | 8939 if test -z "$ac_err"; then |
| 8920 rm -rf conftest* | 8940 rm -rf conftest* |
| 8921 eval "ac_cv_header_$ac_safe=yes" | 8941 eval "ac_cv_header_$ac_safe=yes" |
| 8922 else | 8942 else |
| 8936 | 8956 |
| 8937 done | 8957 done |
| 8938 | 8958 |
| 8939 test -n "$libpq_fe_h_file" && { | 8959 test -n "$libpq_fe_h_file" && { |
| 8940 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6 | 8960 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6 |
| 8941 echo "configure:8942: checking for PQconnectdb in -lpq" >&5 | 8961 echo "configure:8962: checking for PQconnectdb in -lpq" >&5 |
| 8942 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'` | 8962 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'` |
| 8943 | 8963 |
| 8944 xe_check_libs=" -lpq " | 8964 xe_check_libs=" -lpq " |
| 8945 cat > conftest.$ac_ext <<EOF | 8965 cat > conftest.$ac_ext <<EOF |
| 8946 #line 8947 "configure" | 8966 #line 8967 "configure" |
| 8947 #include "confdefs.h" | 8967 #include "confdefs.h" |
| 8948 /* Override any gcc2 internal prototype to avoid an error. */ | 8968 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8949 /* We use char because int might match the return type of a gcc2 | 8969 /* We use char because int might match the return type of a gcc2 |
| 8950 builtin and then its argument prototype would still apply. */ | 8970 builtin and then its argument prototype would still apply. */ |
| 8951 char PQconnectdb(); | 8971 char PQconnectdb(); |
| 8952 | 8972 |
| 8953 int main() { | 8973 int main() { |
| 8954 PQconnectdb() | 8974 PQconnectdb() |
| 8955 ; return 0; } | 8975 ; return 0; } |
| 8956 EOF | 8976 EOF |
| 8957 if { (eval echo configure:8958: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8977 if { (eval echo configure:8978: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 8958 rm -rf conftest* | 8978 rm -rf conftest* |
| 8959 eval "ac_cv_lib_$ac_lib_var=yes" | 8979 eval "ac_cv_lib_$ac_lib_var=yes" |
| 8960 else | 8980 else |
| 8961 echo "configure: failed program was:" >&5 | 8981 echo "configure: failed program was:" >&5 |
| 8962 cat conftest.$ac_ext >&5 | 8982 cat conftest.$ac_ext >&5 |
| 8985 EOF | 9005 EOF |
| 8986 } | 9006 } |
| 8987 | 9007 |
| 8988 | 9008 |
| 8989 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6 | 9009 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6 |
| 8990 echo "configure:8991: checking for PQconnectStart in -lpq" >&5 | 9010 echo "configure:9011: checking for PQconnectStart in -lpq" >&5 |
| 8991 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'` | 9011 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'` |
| 8992 | 9012 |
| 8993 xe_check_libs=" -lpq " | 9013 xe_check_libs=" -lpq " |
| 8994 cat > conftest.$ac_ext <<EOF | 9014 cat > conftest.$ac_ext <<EOF |
| 8995 #line 8996 "configure" | 9015 #line 9016 "configure" |
| 8996 #include "confdefs.h" | 9016 #include "confdefs.h" |
| 8997 /* Override any gcc2 internal prototype to avoid an error. */ | 9017 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8998 /* We use char because int might match the return type of a gcc2 | 9018 /* We use char because int might match the return type of a gcc2 |
| 8999 builtin and then its argument prototype would still apply. */ | 9019 builtin and then its argument prototype would still apply. */ |
| 9000 char PQconnectStart(); | 9020 char PQconnectStart(); |
| 9001 | 9021 |
| 9002 int main() { | 9022 int main() { |
| 9003 PQconnectStart() | 9023 PQconnectStart() |
| 9004 ; return 0; } | 9024 ; return 0; } |
| 9005 EOF | 9025 EOF |
| 9006 if { (eval echo configure:9007: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9026 if { (eval echo configure:9027: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 9007 rm -rf conftest* | 9027 rm -rf conftest* |
| 9008 eval "ac_cv_lib_$ac_lib_var=yes" | 9028 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9009 else | 9029 else |
| 9010 echo "configure: failed program was:" >&5 | 9030 echo "configure: failed program was:" >&5 |
| 9011 cat conftest.$ac_ext >&5 | 9031 cat conftest.$ac_ext >&5 |
| 9052 | 9072 |
| 9053 | 9073 |
| 9054 | 9074 |
| 9055 if test "$window_system" != "none"; then | 9075 if test "$window_system" != "none"; then |
| 9056 echo "checking for graphics libraries" 1>&6 | 9076 echo "checking for graphics libraries" 1>&6 |
| 9057 echo "configure:9058: checking for graphics libraries" >&5 | 9077 echo "configure:9078: checking for graphics libraries" >&5 |
| 9058 | 9078 |
| 9059 libpath_xpm= | 9079 libpath_xpm= |
| 9060 incpath_xpm= | 9080 incpath_xpm= |
| 9061 case "$opsys" in | 9081 case "$opsys" in |
| 9062 cygwin*) | 9082 cygwin*) |
| 9078 xpm_problem="" | 9098 xpm_problem="" |
| 9079 if test -z "$with_xpm"; then | 9099 if test -z "$with_xpm"; then |
| 9080 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi | 9100 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi |
| 9081 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi | 9101 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi |
| 9082 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 | 9102 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 |
| 9083 echo "configure:9084: checking for Xpm - no older than 3.4f" >&5 | 9103 echo "configure:9104: checking for Xpm - no older than 3.4f" >&5 |
| 9084 xe_check_libs=-lXpm | 9104 xe_check_libs=-lXpm |
| 9085 cat > conftest.$ac_ext <<EOF | 9105 cat > conftest.$ac_ext <<EOF |
| 9086 #line 9087 "configure" | 9106 #line 9107 "configure" |
| 9087 #include "confdefs.h" | 9107 #include "confdefs.h" |
| 9088 #define XPM_NUMBERS | 9108 #define XPM_NUMBERS |
| 9089 #include <X11/xpm.h> | 9109 #include <X11/xpm.h> |
| 9090 int main(int c, char **v) { | 9110 int main(int c, char **v) { |
| 9091 return c == 1 ? 0 : | 9111 return c == 1 ? 0 : |
| 9092 XpmIncludeVersion != XpmLibraryVersion() ? 1 : | 9112 XpmIncludeVersion != XpmLibraryVersion() ? 1 : |
| 9093 XpmIncludeVersion < 30406 ? 2 : 0 ;} | 9113 XpmIncludeVersion < 30406 ? 2 : 0 ;} |
| 9094 EOF | 9114 EOF |
| 9095 if { (eval echo configure:9096: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9115 if { (eval echo configure:9116: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 9096 then | 9116 then |
| 9097 ./conftest dummy_arg; xpm_status=$?; | 9117 ./conftest dummy_arg; xpm_status=$?; |
| 9098 if test "$xpm_status" = "0"; then | 9118 if test "$xpm_status" = "0"; then |
| 9099 with_xpm=yes; | 9119 with_xpm=yes; |
| 9100 else | 9120 else |
| 9134 | 9154 |
| 9135 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi | 9155 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi |
| 9136 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi | 9156 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi |
| 9137 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi | 9157 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi |
| 9138 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 | 9158 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 |
| 9139 echo "configure:9140: checking for \"FOR_MSW\" xpm" >&5 | 9159 echo "configure:9160: checking for \"FOR_MSW\" xpm" >&5 |
| 9140 xe_check_libs=-lXpm | 9160 xe_check_libs=-lXpm |
| 9141 cat > conftest.$ac_ext <<EOF | 9161 cat > conftest.$ac_ext <<EOF |
| 9142 #line 9143 "configure" | 9162 #line 9163 "configure" |
| 9143 #include "confdefs.h" | 9163 #include "confdefs.h" |
| 9144 | 9164 |
| 9145 int main() { | 9165 int main() { |
| 9146 XpmCreatePixmapFromData() | 9166 XpmCreatePixmapFromData() |
| 9147 ; return 0; } | 9167 ; return 0; } |
| 9148 EOF | 9168 EOF |
| 9149 if { (eval echo configure:9150: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9169 if { (eval echo configure:9170: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 9150 rm -rf conftest* | 9170 rm -rf conftest* |
| 9151 xpm_for_msw=no | 9171 xpm_for_msw=no |
| 9152 else | 9172 else |
| 9153 echo "configure: failed program was:" >&5 | 9173 echo "configure: failed program was:" >&5 |
| 9154 cat conftest.$ac_ext >&5 | 9174 cat conftest.$ac_ext >&5 |
| 9170 fi | 9190 fi |
| 9171 fi | 9191 fi |
| 9172 | 9192 |
| 9173 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 9193 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
| 9174 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 9194 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
| 9175 echo "configure:9176: checking for compface.h" >&5 | 9195 echo "configure:9196: checking for compface.h" >&5 |
| 9176 | 9196 |
| 9177 cat > conftest.$ac_ext <<EOF | 9197 cat > conftest.$ac_ext <<EOF |
| 9178 #line 9179 "configure" | 9198 #line 9199 "configure" |
| 9179 #include "confdefs.h" | 9199 #include "confdefs.h" |
| 9180 #include <compface.h> | 9200 #include <compface.h> |
| 9181 EOF | 9201 EOF |
| 9182 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9202 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9183 { (eval echo configure:9184: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9203 { (eval echo configure:9204: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9184 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9204 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 9185 if test -z "$ac_err"; then | 9205 if test -z "$ac_err"; then |
| 9186 rm -rf conftest* | 9206 rm -rf conftest* |
| 9187 eval "ac_cv_header_$ac_safe=yes" | 9207 eval "ac_cv_header_$ac_safe=yes" |
| 9188 else | 9208 else |
| 9201 with_xface=no | 9221 with_xface=no |
| 9202 fi | 9222 fi |
| 9203 } | 9223 } |
| 9204 test -z "$with_xface" && { | 9224 test -z "$with_xface" && { |
| 9205 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 9225 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
| 9206 echo "configure:9207: checking for UnGenFace in -lcompface" >&5 | 9226 echo "configure:9227: checking for UnGenFace in -lcompface" >&5 |
| 9207 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 9227 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
| 9208 | 9228 |
| 9209 xe_check_libs=" -lcompface " | 9229 xe_check_libs=" -lcompface " |
| 9210 cat > conftest.$ac_ext <<EOF | 9230 cat > conftest.$ac_ext <<EOF |
| 9211 #line 9212 "configure" | 9231 #line 9232 "configure" |
| 9212 #include "confdefs.h" | 9232 #include "confdefs.h" |
| 9213 /* Override any gcc2 internal prototype to avoid an error. */ | 9233 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9214 /* We use char because int might match the return type of a gcc2 | 9234 /* We use char because int might match the return type of a gcc2 |
| 9215 builtin and then its argument prototype would still apply. */ | 9235 builtin and then its argument prototype would still apply. */ |
| 9216 char UnGenFace(); | 9236 char UnGenFace(); |
| 9217 | 9237 |
| 9218 int main() { | 9238 int main() { |
| 9219 UnGenFace() | 9239 UnGenFace() |
| 9220 ; return 0; } | 9240 ; return 0; } |
| 9221 EOF | 9241 EOF |
| 9222 if { (eval echo configure:9223: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9242 if { (eval echo configure:9243: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 9223 rm -rf conftest* | 9243 rm -rf conftest* |
| 9224 eval "ac_cv_lib_$ac_lib_var=yes" | 9244 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9225 else | 9245 else |
| 9226 echo "configure: failed program was:" >&5 | 9246 echo "configure: failed program was:" >&5 |
| 9227 cat conftest.$ac_ext >&5 | 9247 cat conftest.$ac_ext >&5 |
| 9266 fi | 9286 fi |
| 9267 | 9287 |
| 9268 if test "$with_png $with_tiff" != "no no"; then | 9288 if test "$with_png $with_tiff" != "no no"; then |
| 9269 | 9289 |
| 9270 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 | 9290 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 |
| 9271 echo "configure:9272: checking for inflate in -lc" >&5 | 9291 echo "configure:9292: checking for inflate in -lc" >&5 |
| 9272 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` | 9292 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` |
| 9273 | 9293 |
| 9274 xe_check_libs=" -lc " | 9294 xe_check_libs=" -lc " |
| 9275 cat > conftest.$ac_ext <<EOF | 9295 cat > conftest.$ac_ext <<EOF |
| 9276 #line 9277 "configure" | 9296 #line 9297 "configure" |
| 9277 #include "confdefs.h" | 9297 #include "confdefs.h" |
| 9278 /* Override any gcc2 internal prototype to avoid an error. */ | 9298 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9279 /* We use char because int might match the return type of a gcc2 | 9299 /* We use char because int might match the return type of a gcc2 |
| 9280 builtin and then its argument prototype would still apply. */ | 9300 builtin and then its argument prototype would still apply. */ |
| 9281 char inflate(); | 9301 char inflate(); |
| 9282 | 9302 |
| 9283 int main() { | 9303 int main() { |
| 9284 inflate() | 9304 inflate() |
| 9285 ; return 0; } | 9305 ; return 0; } |
| 9286 EOF | 9306 EOF |
| 9287 if { (eval echo configure:9288: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9307 if { (eval echo configure:9308: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 9288 rm -rf conftest* | 9308 rm -rf conftest* |
| 9289 eval "ac_cv_lib_$ac_lib_var=yes" | 9309 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9290 else | 9310 else |
| 9291 echo "configure: failed program was:" >&5 | 9311 echo "configure: failed program was:" >&5 |
| 9292 cat conftest.$ac_ext >&5 | 9312 cat conftest.$ac_ext >&5 |
| 9301 : | 9321 : |
| 9302 else | 9322 else |
| 9303 echo "$ac_t""no" 1>&6 | 9323 echo "$ac_t""no" 1>&6 |
| 9304 | 9324 |
| 9305 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 | 9325 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 |
| 9306 echo "configure:9307: checking for inflate in -lz" >&5 | 9326 echo "configure:9327: checking for inflate in -lz" >&5 |
| 9307 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` | 9327 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` |
| 9308 | 9328 |
| 9309 xe_check_libs=" -lz " | 9329 xe_check_libs=" -lz " |
| 9310 cat > conftest.$ac_ext <<EOF | 9330 cat > conftest.$ac_ext <<EOF |
| 9311 #line 9312 "configure" | 9331 #line 9332 "configure" |
| 9312 #include "confdefs.h" | 9332 #include "confdefs.h" |
| 9313 /* Override any gcc2 internal prototype to avoid an error. */ | 9333 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9314 /* We use char because int might match the return type of a gcc2 | 9334 /* We use char because int might match the return type of a gcc2 |
| 9315 builtin and then its argument prototype would still apply. */ | 9335 builtin and then its argument prototype would still apply. */ |
| 9316 char inflate(); | 9336 char inflate(); |
| 9317 | 9337 |
| 9318 int main() { | 9338 int main() { |
| 9319 inflate() | 9339 inflate() |
| 9320 ; return 0; } | 9340 ; return 0; } |
| 9321 EOF | 9341 EOF |
| 9322 if { (eval echo configure:9323: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9342 if { (eval echo configure:9343: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 9323 rm -rf conftest* | 9343 rm -rf conftest* |
| 9324 eval "ac_cv_lib_$ac_lib_var=yes" | 9344 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9325 else | 9345 else |
| 9326 echo "configure: failed program was:" >&5 | 9346 echo "configure: failed program was:" >&5 |
| 9327 cat conftest.$ac_ext >&5 | 9347 cat conftest.$ac_ext >&5 |
| 9336 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi | 9356 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi |
| 9337 else | 9357 else |
| 9338 echo "$ac_t""no" 1>&6 | 9358 echo "$ac_t""no" 1>&6 |
| 9339 | 9359 |
| 9340 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 | 9360 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 |
| 9341 echo "configure:9342: checking for inflate in -lgz" >&5 | 9361 echo "configure:9362: checking for inflate in -lgz" >&5 |
| 9342 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` | 9362 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` |
| 9343 | 9363 |
| 9344 xe_check_libs=" -lgz " | 9364 xe_check_libs=" -lgz " |
| 9345 cat > conftest.$ac_ext <<EOF | 9365 cat > conftest.$ac_ext <<EOF |
| 9346 #line 9347 "configure" | 9366 #line 9367 "configure" |
| 9347 #include "confdefs.h" | 9367 #include "confdefs.h" |
| 9348 /* Override any gcc2 internal prototype to avoid an error. */ | 9368 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9349 /* We use char because int might match the return type of a gcc2 | 9369 /* We use char because int might match the return type of a gcc2 |
| 9350 builtin and then its argument prototype would still apply. */ | 9370 builtin and then its argument prototype would still apply. */ |
| 9351 char inflate(); | 9371 char inflate(); |
| 9352 | 9372 |
| 9353 int main() { | 9373 int main() { |
| 9354 inflate() | 9374 inflate() |
| 9355 ; return 0; } | 9375 ; return 0; } |
| 9356 EOF | 9376 EOF |
| 9357 if { (eval echo configure:9358: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9377 if { (eval echo configure:9378: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 9358 rm -rf conftest* | 9378 rm -rf conftest* |
| 9359 eval "ac_cv_lib_$ac_lib_var=yes" | 9379 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9360 else | 9380 else |
| 9361 echo "configure: failed program was:" >&5 | 9381 echo "configure: failed program was:" >&5 |
| 9362 cat conftest.$ac_ext >&5 | 9382 cat conftest.$ac_ext >&5 |
| 9382 | 9402 |
| 9383 fi | 9403 fi |
| 9384 | 9404 |
| 9385 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` | 9405 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` |
| 9386 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 | 9406 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 |
| 9387 echo "configure:9388: checking for jpeglib.h" >&5 | 9407 echo "configure:9408: checking for jpeglib.h" >&5 |
| 9388 | 9408 |
| 9389 cat > conftest.$ac_ext <<EOF | 9409 cat > conftest.$ac_ext <<EOF |
| 9390 #line 9391 "configure" | 9410 #line 9411 "configure" |
| 9391 #include "confdefs.h" | 9411 #include "confdefs.h" |
| 9392 #include <jpeglib.h> | 9412 #include <jpeglib.h> |
| 9393 EOF | 9413 EOF |
| 9394 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9414 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9395 { (eval echo configure:9396: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9415 { (eval echo configure:9416: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9396 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9416 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 9397 if test -z "$ac_err"; then | 9417 if test -z "$ac_err"; then |
| 9398 rm -rf conftest* | 9418 rm -rf conftest* |
| 9399 eval "ac_cv_header_$ac_safe=yes" | 9419 eval "ac_cv_header_$ac_safe=yes" |
| 9400 else | 9420 else |
| 9413 with_jpeg=no | 9433 with_jpeg=no |
| 9414 fi | 9434 fi |
| 9415 } | 9435 } |
| 9416 test -z "$with_jpeg" && { | 9436 test -z "$with_jpeg" && { |
| 9417 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 | 9437 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 |
| 9418 echo "configure:9419: checking for jpeg_destroy_decompress in -ljpeg" >&5 | 9438 echo "configure:9439: checking for jpeg_destroy_decompress in -ljpeg" >&5 |
| 9419 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` | 9439 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` |
| 9420 | 9440 |
| 9421 xe_check_libs=" -ljpeg " | 9441 xe_check_libs=" -ljpeg " |
| 9422 cat > conftest.$ac_ext <<EOF | 9442 cat > conftest.$ac_ext <<EOF |
| 9423 #line 9424 "configure" | 9443 #line 9444 "configure" |
| 9424 #include "confdefs.h" | 9444 #include "confdefs.h" |
| 9425 /* Override any gcc2 internal prototype to avoid an error. */ | 9445 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9426 /* We use char because int might match the return type of a gcc2 | 9446 /* We use char because int might match the return type of a gcc2 |
| 9427 builtin and then its argument prototype would still apply. */ | 9447 builtin and then its argument prototype would still apply. */ |
| 9428 char jpeg_destroy_decompress(); | 9448 char jpeg_destroy_decompress(); |
| 9429 | 9449 |
| 9430 int main() { | 9450 int main() { |
| 9431 jpeg_destroy_decompress() | 9451 jpeg_destroy_decompress() |
| 9432 ; return 0; } | 9452 ; return 0; } |
| 9433 EOF | 9453 EOF |
| 9434 if { (eval echo configure:9435: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9454 if { (eval echo configure:9455: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 9435 rm -rf conftest* | 9455 rm -rf conftest* |
| 9436 eval "ac_cv_lib_$ac_lib_var=yes" | 9456 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9437 else | 9457 else |
| 9438 echo "configure: failed program was:" >&5 | 9458 echo "configure: failed program was:" >&5 |
| 9439 cat conftest.$ac_ext >&5 | 9459 cat conftest.$ac_ext >&5 |
| 9465 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi | 9485 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi |
| 9466 fi | 9486 fi |
| 9467 | 9487 |
| 9468 png_problem="" | 9488 png_problem="" |
| 9469 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 | 9489 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 |
| 9470 echo "configure:9471: checking for pow" >&5 | 9490 echo "configure:9491: checking for pow" >&5 |
| 9471 | 9491 |
| 9472 cat > conftest.$ac_ext <<EOF | 9492 cat > conftest.$ac_ext <<EOF |
| 9473 #line 9474 "configure" | 9493 #line 9494 "configure" |
| 9474 #include "confdefs.h" | 9494 #include "confdefs.h" |
| 9475 /* System header to define __stub macros and hopefully few prototypes, | 9495 /* System header to define __stub macros and hopefully few prototypes, |
| 9476 which can conflict with char pow(); below. */ | 9496 which can conflict with char pow(); below. */ |
| 9477 #include <assert.h> | 9497 #include <assert.h> |
| 9478 /* Override any gcc2 internal prototype to avoid an error. */ | 9498 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9491 pow(); | 9511 pow(); |
| 9492 #endif | 9512 #endif |
| 9493 | 9513 |
| 9494 ; return 0; } | 9514 ; return 0; } |
| 9495 EOF | 9515 EOF |
| 9496 if { (eval echo configure:9497: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9516 if { (eval echo configure:9517: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 9497 rm -rf conftest* | 9517 rm -rf conftest* |
| 9498 eval "ac_cv_func_pow=yes" | 9518 eval "ac_cv_func_pow=yes" |
| 9499 else | 9519 else |
| 9500 echo "configure: failed program was:" >&5 | 9520 echo "configure: failed program was:" >&5 |
| 9501 cat conftest.$ac_ext >&5 | 9521 cat conftest.$ac_ext >&5 |
| 9512 with_png=no | 9532 with_png=no |
| 9513 fi | 9533 fi |
| 9514 } | 9534 } |
| 9515 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` | 9535 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` |
| 9516 echo $ac_n "checking for png.h""... $ac_c" 1>&6 | 9536 echo $ac_n "checking for png.h""... $ac_c" 1>&6 |
| 9517 echo "configure:9518: checking for png.h" >&5 | 9537 echo "configure:9538: checking for png.h" >&5 |
| 9518 | 9538 |
| 9519 cat > conftest.$ac_ext <<EOF | 9539 cat > conftest.$ac_ext <<EOF |
| 9520 #line 9521 "configure" | 9540 #line 9541 "configure" |
| 9521 #include "confdefs.h" | 9541 #include "confdefs.h" |
| 9522 #include <png.h> | 9542 #include <png.h> |
| 9523 EOF | 9543 EOF |
| 9524 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9544 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9525 { (eval echo configure:9526: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9545 { (eval echo configure:9546: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9526 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9546 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 9527 if test -z "$ac_err"; then | 9547 if test -z "$ac_err"; then |
| 9528 rm -rf conftest* | 9548 rm -rf conftest* |
| 9529 eval "ac_cv_header_$ac_safe=yes" | 9549 eval "ac_cv_header_$ac_safe=yes" |
| 9530 else | 9550 else |
| 9543 with_png=no | 9563 with_png=no |
| 9544 fi | 9564 fi |
| 9545 } | 9565 } |
| 9546 test -z "$with_png" && { | 9566 test -z "$with_png" && { |
| 9547 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 | 9567 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 |
| 9548 echo "configure:9549: checking for png_read_image in -lpng" >&5 | 9568 echo "configure:9569: checking for png_read_image in -lpng" >&5 |
| 9549 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` | 9569 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` |
| 9550 | 9570 |
| 9551 xe_check_libs=" -lpng " | 9571 xe_check_libs=" -lpng " |
| 9552 cat > conftest.$ac_ext <<EOF | 9572 cat > conftest.$ac_ext <<EOF |
| 9553 #line 9554 "configure" | 9573 #line 9574 "configure" |
| 9554 #include "confdefs.h" | 9574 #include "confdefs.h" |
| 9555 /* Override any gcc2 internal prototype to avoid an error. */ | 9575 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9556 /* We use char because int might match the return type of a gcc2 | 9576 /* We use char because int might match the return type of a gcc2 |
| 9557 builtin and then its argument prototype would still apply. */ | 9577 builtin and then its argument prototype would still apply. */ |
| 9558 char png_read_image(); | 9578 char png_read_image(); |
| 9559 | 9579 |
| 9560 int main() { | 9580 int main() { |
| 9561 png_read_image() | 9581 png_read_image() |
| 9562 ; return 0; } | 9582 ; return 0; } |
| 9563 EOF | 9583 EOF |
| 9564 if { (eval echo configure:9565: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9584 if { (eval echo configure:9585: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 9565 rm -rf conftest* | 9585 rm -rf conftest* |
| 9566 eval "ac_cv_lib_$ac_lib_var=yes" | 9586 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9567 else | 9587 else |
| 9568 echo "configure: failed program was:" >&5 | 9588 echo "configure: failed program was:" >&5 |
| 9569 cat conftest.$ac_ext >&5 | 9589 cat conftest.$ac_ext >&5 |
| 9582 fi | 9602 fi |
| 9583 | 9603 |
| 9584 } | 9604 } |
| 9585 if test -z "$with_png"; then | 9605 if test -z "$with_png"; then |
| 9586 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 | 9606 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 |
| 9587 echo "configure:9588: checking for workable png version information" >&5 | 9607 echo "configure:9608: checking for workable png version information" >&5 |
| 9588 xe_check_libs="-lpng -lz" | 9608 xe_check_libs="-lpng -lz" |
| 9589 cat > conftest.$ac_ext <<EOF | 9609 cat > conftest.$ac_ext <<EOF |
| 9590 #line 9591 "configure" | 9610 #line 9611 "configure" |
| 9591 #include "confdefs.h" | 9611 #include "confdefs.h" |
| 9592 #include <png.h> | 9612 #include <png.h> |
| 9593 int main(int c, char **v) { | 9613 int main(int c, char **v) { |
| 9594 if (c == 1) return 0; | 9614 if (c == 1) return 0; |
| 9595 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; | 9615 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; |
| 9596 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} | 9616 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} |
| 9597 EOF | 9617 EOF |
| 9598 if { (eval echo configure:9599: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9618 if { (eval echo configure:9619: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 9599 then | 9619 then |
| 9600 ./conftest dummy_arg; png_status=$?; | 9620 ./conftest dummy_arg; png_status=$?; |
| 9601 if test "$png_status" = "0"; then | 9621 if test "$png_status" = "0"; then |
| 9602 with_png=yes; | 9622 with_png=yes; |
| 9603 else | 9623 else |
| 9636 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi | 9656 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi |
| 9637 fi | 9657 fi |
| 9638 | 9658 |
| 9639 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` | 9659 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` |
| 9640 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 | 9660 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 |
| 9641 echo "configure:9642: checking for tiffio.h" >&5 | 9661 echo "configure:9662: checking for tiffio.h" >&5 |
| 9642 | 9662 |
| 9643 cat > conftest.$ac_ext <<EOF | 9663 cat > conftest.$ac_ext <<EOF |
| 9644 #line 9645 "configure" | 9664 #line 9665 "configure" |
| 9645 #include "confdefs.h" | 9665 #include "confdefs.h" |
| 9646 #include <tiffio.h> | 9666 #include <tiffio.h> |
| 9647 EOF | 9667 EOF |
| 9648 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9668 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9649 { (eval echo configure:9650: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9669 { (eval echo configure:9670: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9650 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9670 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 9651 if test -z "$ac_err"; then | 9671 if test -z "$ac_err"; then |
| 9652 rm -rf conftest* | 9672 rm -rf conftest* |
| 9653 eval "ac_cv_header_$ac_safe=yes" | 9673 eval "ac_cv_header_$ac_safe=yes" |
| 9654 else | 9674 else |
| 9667 with_tiff=no | 9687 with_tiff=no |
| 9668 fi | 9688 fi |
| 9669 } | 9689 } |
| 9670 test -z "$with_tiff" && { | 9690 test -z "$with_tiff" && { |
| 9671 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 | 9691 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 |
| 9672 echo "configure:9673: checking for TIFFClientOpen in -ltiff" >&5 | 9692 echo "configure:9693: checking for TIFFClientOpen in -ltiff" >&5 |
| 9673 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` | 9693 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` |
| 9674 | 9694 |
| 9675 xe_check_libs=" -ltiff " | 9695 xe_check_libs=" -ltiff " |
| 9676 cat > conftest.$ac_ext <<EOF | 9696 cat > conftest.$ac_ext <<EOF |
| 9677 #line 9678 "configure" | 9697 #line 9698 "configure" |
| 9678 #include "confdefs.h" | 9698 #include "confdefs.h" |
| 9679 /* Override any gcc2 internal prototype to avoid an error. */ | 9699 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9680 /* We use char because int might match the return type of a gcc2 | 9700 /* We use char because int might match the return type of a gcc2 |
| 9681 builtin and then its argument prototype would still apply. */ | 9701 builtin and then its argument prototype would still apply. */ |
| 9682 char TIFFClientOpen(); | 9702 char TIFFClientOpen(); |
| 9683 | 9703 |
| 9684 int main() { | 9704 int main() { |
| 9685 TIFFClientOpen() | 9705 TIFFClientOpen() |
| 9686 ; return 0; } | 9706 ; return 0; } |
| 9687 EOF | 9707 EOF |
| 9688 if { (eval echo configure:9689: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9708 if { (eval echo configure:9709: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 9689 rm -rf conftest* | 9709 rm -rf conftest* |
| 9690 eval "ac_cv_lib_$ac_lib_var=yes" | 9710 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9691 else | 9711 else |
| 9692 echo "configure: failed program was:" >&5 | 9712 echo "configure: failed program was:" >&5 |
| 9693 cat conftest.$ac_ext >&5 | 9713 cat conftest.$ac_ext >&5 |
| 9722 | 9742 |
| 9723 | 9743 |
| 9724 if test "$with_gtk" = "yes"; then | 9744 if test "$with_gtk" = "yes"; then |
| 9725 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 9745 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
| 9726 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 9746 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
| 9727 echo "configure:9728: checking for compface.h" >&5 | 9747 echo "configure:9748: checking for compface.h" >&5 |
| 9728 | 9748 |
| 9729 cat > conftest.$ac_ext <<EOF | 9749 cat > conftest.$ac_ext <<EOF |
| 9730 #line 9731 "configure" | 9750 #line 9751 "configure" |
| 9731 #include "confdefs.h" | 9751 #include "confdefs.h" |
| 9732 #include <compface.h> | 9752 #include <compface.h> |
| 9733 EOF | 9753 EOF |
| 9734 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9754 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9735 { (eval echo configure:9736: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9755 { (eval echo configure:9756: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9736 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9756 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 9737 if test -z "$ac_err"; then | 9757 if test -z "$ac_err"; then |
| 9738 rm -rf conftest* | 9758 rm -rf conftest* |
| 9739 eval "ac_cv_header_$ac_safe=yes" | 9759 eval "ac_cv_header_$ac_safe=yes" |
| 9740 else | 9760 else |
| 9753 with_xface=no | 9773 with_xface=no |
| 9754 fi | 9774 fi |
| 9755 } | 9775 } |
| 9756 test -z "$with_xface" && { | 9776 test -z "$with_xface" && { |
| 9757 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 9777 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
| 9758 echo "configure:9759: checking for UnGenFace in -lcompface" >&5 | 9778 echo "configure:9779: checking for UnGenFace in -lcompface" >&5 |
| 9759 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 9779 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
| 9760 | 9780 |
| 9761 xe_check_libs=" -lcompface " | 9781 xe_check_libs=" -lcompface " |
| 9762 cat > conftest.$ac_ext <<EOF | 9782 cat > conftest.$ac_ext <<EOF |
| 9763 #line 9764 "configure" | 9783 #line 9784 "configure" |
| 9764 #include "confdefs.h" | 9784 #include "confdefs.h" |
| 9765 /* Override any gcc2 internal prototype to avoid an error. */ | 9785 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9766 /* We use char because int might match the return type of a gcc2 | 9786 /* We use char because int might match the return type of a gcc2 |
| 9767 builtin and then its argument prototype would still apply. */ | 9787 builtin and then its argument prototype would still apply. */ |
| 9768 char UnGenFace(); | 9788 char UnGenFace(); |
| 9769 | 9789 |
| 9770 int main() { | 9790 int main() { |
| 9771 UnGenFace() | 9791 UnGenFace() |
| 9772 ; return 0; } | 9792 ; return 0; } |
| 9773 EOF | 9793 EOF |
| 9774 if { (eval echo configure:9775: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9794 if { (eval echo configure:9795: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 9775 rm -rf conftest* | 9795 rm -rf conftest* |
| 9776 eval "ac_cv_lib_$ac_lib_var=yes" | 9796 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9777 else | 9797 else |
| 9778 echo "configure: failed program was:" >&5 | 9798 echo "configure: failed program was:" >&5 |
| 9779 cat conftest.$ac_ext >&5 | 9799 cat conftest.$ac_ext >&5 |
| 9808 | 9828 |
| 9809 | 9829 |
| 9810 | 9830 |
| 9811 if test "$with_x11" = "yes"; then | 9831 if test "$with_x11" = "yes"; then |
| 9812 echo "checking for X11 graphics libraries" 1>&6 | 9832 echo "checking for X11 graphics libraries" 1>&6 |
| 9813 echo "configure:9814: checking for X11 graphics libraries" >&5 | 9833 echo "configure:9834: checking for X11 graphics libraries" >&5 |
| 9814 fi | 9834 fi |
| 9815 | 9835 |
| 9816 case "$with_widgets" in | 9836 case "$with_widgets" in |
| 9817 "yes" | "athena") detect_athena=yes ;; | 9837 "yes" | "athena") detect_athena=yes ;; |
| 9818 *) detect_athena=no ;; | 9838 *) detect_athena=no ;; |
| 9819 esac | 9839 esac |
| 9820 | 9840 |
| 9821 if test "$with_x11" = "yes" -a "$detect_athena" = "yes" ; then | 9841 if test "$with_x11" = "yes" -a "$detect_athena" = "yes" ; then |
| 9822 echo "checking for the Athena widgets" 1>&6 | 9842 echo "checking for the Athena widgets" 1>&6 |
| 9823 echo "configure:9824: checking for the Athena widgets" >&5 | 9843 echo "configure:9844: checking for the Athena widgets" >&5 |
| 9824 | 9844 |
| 9825 case "$with_athena" in | 9845 case "$with_athena" in |
| 9826 "xaw" | "") athena_variant=Xaw athena_3d=no ;; | 9846 "xaw" | "") athena_variant=Xaw athena_3d=no ;; |
| 9827 "3d") athena_variant=Xaw3d athena_3d=yes ;; | 9847 "3d") athena_variant=Xaw3d athena_3d=yes ;; |
| 9828 "next") athena_variant=neXtaw athena_3d=yes ;; | 9848 "next") athena_variant=neXtaw athena_3d=yes ;; |
| 9832 esac | 9852 esac |
| 9833 | 9853 |
| 9834 if test "$athena_3d" = "no"; then | 9854 if test "$athena_3d" = "no"; then |
| 9835 | 9855 |
| 9836 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6 | 9856 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6 |
| 9837 echo "configure:9838: checking for XawScrollbarSetThumb in -l$athena_variant" >&5 | 9857 echo "configure:9858: checking for XawScrollbarSetThumb in -l$athena_variant" >&5 |
| 9838 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` | 9858 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` |
| 9839 | 9859 |
| 9840 xe_check_libs=" -l$athena_variant " | 9860 xe_check_libs=" -l$athena_variant " |
| 9841 cat > conftest.$ac_ext <<EOF | 9861 cat > conftest.$ac_ext <<EOF |
| 9842 #line 9843 "configure" | 9862 #line 9863 "configure" |
| 9843 #include "confdefs.h" | 9863 #include "confdefs.h" |
| 9844 /* Override any gcc2 internal prototype to avoid an error. */ | 9864 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9845 /* We use char because int might match the return type of a gcc2 | 9865 /* We use char because int might match the return type of a gcc2 |
| 9846 builtin and then its argument prototype would still apply. */ | 9866 builtin and then its argument prototype would still apply. */ |
| 9847 char XawScrollbarSetThumb(); | 9867 char XawScrollbarSetThumb(); |
| 9848 | 9868 |
| 9849 int main() { | 9869 int main() { |
| 9850 XawScrollbarSetThumb() | 9870 XawScrollbarSetThumb() |
| 9851 ; return 0; } | 9871 ; return 0; } |
| 9852 EOF | 9872 EOF |
| 9853 if { (eval echo configure:9854: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9873 if { (eval echo configure:9874: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 9854 rm -rf conftest* | 9874 rm -rf conftest* |
| 9855 eval "ac_cv_lib_$ac_lib_var=yes" | 9875 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9856 else | 9876 else |
| 9857 echo "configure: failed program was:" >&5 | 9877 echo "configure: failed program was:" >&5 |
| 9858 cat conftest.$ac_ext >&5 | 9878 cat conftest.$ac_ext >&5 |
| 9864 | 9884 |
| 9865 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | 9885 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then |
| 9866 echo "$ac_t""yes" 1>&6 | 9886 echo "$ac_t""yes" 1>&6 |
| 9867 | 9887 |
| 9868 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 | 9888 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 |
| 9869 echo "configure:9870: checking for threeDClassRec in -l$athena_variant" >&5 | 9889 echo "configure:9890: checking for threeDClassRec in -l$athena_variant" >&5 |
| 9870 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` | 9890 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` |
| 9871 | 9891 |
| 9872 xe_check_libs=" -l$athena_variant " | 9892 xe_check_libs=" -l$athena_variant " |
| 9873 cat > conftest.$ac_ext <<EOF | 9893 cat > conftest.$ac_ext <<EOF |
| 9874 #line 9875 "configure" | 9894 #line 9895 "configure" |
| 9875 #include "confdefs.h" | 9895 #include "confdefs.h" |
| 9876 /* Override any gcc2 internal prototype to avoid an error. */ | 9896 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9877 /* We use char because int might match the return type of a gcc2 | 9897 /* We use char because int might match the return type of a gcc2 |
| 9878 builtin and then its argument prototype would still apply. */ | 9898 builtin and then its argument prototype would still apply. */ |
| 9879 char threeDClassRec(); | 9899 char threeDClassRec(); |
| 9880 | 9900 |
| 9881 int main() { | 9901 int main() { |
| 9882 threeDClassRec() | 9902 threeDClassRec() |
| 9883 ; return 0; } | 9903 ; return 0; } |
| 9884 EOF | 9904 EOF |
| 9885 if { (eval echo configure:9886: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9905 if { (eval echo configure:9906: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 9886 rm -rf conftest* | 9906 rm -rf conftest* |
| 9887 eval "ac_cv_lib_$ac_lib_var=yes" | 9907 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9888 else | 9908 else |
| 9889 echo "configure: failed program was:" >&5 | 9909 echo "configure: failed program was:" >&5 |
| 9890 cat conftest.$ac_ext >&5 | 9910 cat conftest.$ac_ext >&5 |
| 9911 | 9931 |
| 9912 | 9932 |
| 9913 else | 9933 else |
| 9914 | 9934 |
| 9915 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 | 9935 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 |
| 9916 echo "configure:9917: checking for threeDClassRec in -l$athena_variant" >&5 | 9936 echo "configure:9937: checking for threeDClassRec in -l$athena_variant" >&5 |
| 9917 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` | 9937 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` |
| 9918 | 9938 |
| 9919 xe_check_libs=" -l$athena_variant " | 9939 xe_check_libs=" -l$athena_variant " |
| 9920 cat > conftest.$ac_ext <<EOF | 9940 cat > conftest.$ac_ext <<EOF |
| 9921 #line 9922 "configure" | 9941 #line 9942 "configure" |
| 9922 #include "confdefs.h" | 9942 #include "confdefs.h" |
| 9923 /* Override any gcc2 internal prototype to avoid an error. */ | 9943 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9924 /* We use char because int might match the return type of a gcc2 | 9944 /* We use char because int might match the return type of a gcc2 |
| 9925 builtin and then its argument prototype would still apply. */ | 9945 builtin and then its argument prototype would still apply. */ |
| 9926 char threeDClassRec(); | 9946 char threeDClassRec(); |
| 9927 | 9947 |
| 9928 int main() { | 9948 int main() { |
| 9929 threeDClassRec() | 9949 threeDClassRec() |
| 9930 ; return 0; } | 9950 ; return 0; } |
| 9931 EOF | 9951 EOF |
| 9932 if { (eval echo configure:9933: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9952 if { (eval echo configure:9953: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 9933 rm -rf conftest* | 9953 rm -rf conftest* |
| 9934 eval "ac_cv_lib_$ac_lib_var=yes" | 9954 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9935 else | 9955 else |
| 9936 echo "configure: failed program was:" >&5 | 9956 echo "configure: failed program was:" >&5 |
| 9937 cat conftest.$ac_ext >&5 | 9957 cat conftest.$ac_ext >&5 |
| 9945 echo "$ac_t""yes" 1>&6 | 9965 echo "$ac_t""yes" 1>&6 |
| 9946 athena_lib=$athena_variant | 9966 athena_lib=$athena_variant |
| 9947 else | 9967 else |
| 9948 echo "$ac_t""no" 1>&6 | 9968 echo "$ac_t""no" 1>&6 |
| 9949 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6 | 9969 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6 |
| 9950 echo "configure:9951: checking for threeDClassRec in -lXaw" >&5 | 9970 echo "configure:9971: checking for threeDClassRec in -lXaw" >&5 |
| 9951 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'` | 9971 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'` |
| 9952 | 9972 |
| 9953 xe_check_libs=" -lXaw " | 9973 xe_check_libs=" -lXaw " |
| 9954 cat > conftest.$ac_ext <<EOF | 9974 cat > conftest.$ac_ext <<EOF |
| 9955 #line 9956 "configure" | 9975 #line 9976 "configure" |
| 9956 #include "confdefs.h" | 9976 #include "confdefs.h" |
| 9957 /* Override any gcc2 internal prototype to avoid an error. */ | 9977 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9958 /* We use char because int might match the return type of a gcc2 | 9978 /* We use char because int might match the return type of a gcc2 |
| 9959 builtin and then its argument prototype would still apply. */ | 9979 builtin and then its argument prototype would still apply. */ |
| 9960 char threeDClassRec(); | 9980 char threeDClassRec(); |
| 9961 | 9981 |
| 9962 int main() { | 9982 int main() { |
| 9963 threeDClassRec() | 9983 threeDClassRec() |
| 9964 ; return 0; } | 9984 ; return 0; } |
| 9965 EOF | 9985 EOF |
| 9966 if { (eval echo configure:9967: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9986 if { (eval echo configure:9987: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 9967 rm -rf conftest* | 9987 rm -rf conftest* |
| 9968 eval "ac_cv_lib_$ac_lib_var=yes" | 9988 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9969 else | 9989 else |
| 9970 echo "configure: failed program was:" >&5 | 9990 echo "configure: failed program was:" >&5 |
| 9971 cat conftest.$ac_ext >&5 | 9991 cat conftest.$ac_ext >&5 |
| 9992 fi | 10012 fi |
| 9993 | 10013 |
| 9994 if test "$athena_3d" = "no"; then | 10014 if test "$athena_3d" = "no"; then |
| 9995 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` | 10015 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` |
| 9996 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 | 10016 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 |
| 9997 echo "configure:9998: checking for X11/Xaw/ThreeD.h" >&5 | 10017 echo "configure:10018: checking for X11/Xaw/ThreeD.h" >&5 |
| 9998 | 10018 |
| 9999 cat > conftest.$ac_ext <<EOF | 10019 cat > conftest.$ac_ext <<EOF |
| 10000 #line 10001 "configure" | 10020 #line 10021 "configure" |
| 10001 #include "confdefs.h" | 10021 #include "confdefs.h" |
| 10002 #include <X11/Xaw/ThreeD.h> | 10022 #include <X11/Xaw/ThreeD.h> |
| 10003 EOF | 10023 EOF |
| 10004 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10024 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 10005 { (eval echo configure:10006: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10025 { (eval echo configure:10026: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 10006 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10026 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 10007 if test -z "$ac_err"; then | 10027 if test -z "$ac_err"; then |
| 10008 rm -rf conftest* | 10028 rm -rf conftest* |
| 10009 eval "ac_cv_header_$ac_safe=yes" | 10029 eval "ac_cv_header_$ac_safe=yes" |
| 10010 else | 10030 else |
| 10020 echo "configure: warning: Could not find a non-3d Athena header set." 1>&2 | 10040 echo "configure: warning: Could not find a non-3d Athena header set." 1>&2 |
| 10021 else | 10041 else |
| 10022 echo "$ac_t""no" 1>&6 | 10042 echo "$ac_t""no" 1>&6 |
| 10023 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'` | 10043 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'` |
| 10024 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6 | 10044 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6 |
| 10025 echo "configure:10026: checking for X11/Xaw/XawInit.h" >&5 | 10045 echo "configure:10046: checking for X11/Xaw/XawInit.h" >&5 |
| 10026 | 10046 |
| 10027 cat > conftest.$ac_ext <<EOF | 10047 cat > conftest.$ac_ext <<EOF |
| 10028 #line 10029 "configure" | 10048 #line 10049 "configure" |
| 10029 #include "confdefs.h" | 10049 #include "confdefs.h" |
| 10030 #include <X11/Xaw/XawInit.h> | 10050 #include <X11/Xaw/XawInit.h> |
| 10031 EOF | 10051 EOF |
| 10032 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10052 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 10033 { (eval echo configure:10034: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10053 { (eval echo configure:10054: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 10034 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10054 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 10035 if test -z "$ac_err"; then | 10055 if test -z "$ac_err"; then |
| 10036 rm -rf conftest* | 10056 rm -rf conftest* |
| 10037 eval "ac_cv_header_$ac_safe=yes" | 10057 eval "ac_cv_header_$ac_safe=yes" |
| 10038 else | 10058 else |
| 10054 fi | 10074 fi |
| 10055 | 10075 |
| 10056 else | 10076 else |
| 10057 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` | 10077 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` |
| 10058 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6 | 10078 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6 |
| 10059 echo "configure:10060: checking for X11/$athena_variant/XawInit.h" >&5 | 10079 echo "configure:10080: checking for X11/$athena_variant/XawInit.h" >&5 |
| 10060 | 10080 |
| 10061 cat > conftest.$ac_ext <<EOF | 10081 cat > conftest.$ac_ext <<EOF |
| 10062 #line 10063 "configure" | 10082 #line 10083 "configure" |
| 10063 #include "confdefs.h" | 10083 #include "confdefs.h" |
| 10064 #include <X11/$athena_variant/XawInit.h> | 10084 #include <X11/$athena_variant/XawInit.h> |
| 10065 EOF | 10085 EOF |
| 10066 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10086 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 10067 { (eval echo configure:10068: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10087 { (eval echo configure:10088: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 10068 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10088 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 10069 if test -z "$ac_err"; then | 10089 if test -z "$ac_err"; then |
| 10070 rm -rf conftest* | 10090 rm -rf conftest* |
| 10071 eval "ac_cv_header_$ac_safe=yes" | 10091 eval "ac_cv_header_$ac_safe=yes" |
| 10072 else | 10092 else |
| 10079 rm -f conftest* | 10099 rm -f conftest* |
| 10080 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10100 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
| 10081 echo "$ac_t""yes" 1>&6 | 10101 echo "$ac_t""yes" 1>&6 |
| 10082 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` | 10102 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` |
| 10083 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6 | 10103 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6 |
| 10084 echo "configure:10085: checking for X11/$athena_variant/ThreeD.h" >&5 | 10104 echo "configure:10105: checking for X11/$athena_variant/ThreeD.h" >&5 |
| 10085 | 10105 |
| 10086 cat > conftest.$ac_ext <<EOF | 10106 cat > conftest.$ac_ext <<EOF |
| 10087 #line 10088 "configure" | 10107 #line 10108 "configure" |
| 10088 #include "confdefs.h" | 10108 #include "confdefs.h" |
| 10089 #include <X11/$athena_variant/ThreeD.h> | 10109 #include <X11/$athena_variant/ThreeD.h> |
| 10090 EOF | 10110 EOF |
| 10091 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10111 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 10092 { (eval echo configure:10093: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10112 { (eval echo configure:10113: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 10093 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10113 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 10094 if test -z "$ac_err"; then | 10114 if test -z "$ac_err"; then |
| 10095 rm -rf conftest* | 10115 rm -rf conftest* |
| 10096 eval "ac_cv_header_$ac_safe=yes" | 10116 eval "ac_cv_header_$ac_safe=yes" |
| 10097 else | 10117 else |
| 10115 | 10135 |
| 10116 | 10136 |
| 10117 if test -z "$athena_h_path"; then | 10137 if test -z "$athena_h_path"; then |
| 10118 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` | 10138 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` |
| 10119 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6 | 10139 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6 |
| 10120 echo "configure:10121: checking for $athena_variant/XawInit.h" >&5 | 10140 echo "configure:10141: checking for $athena_variant/XawInit.h" >&5 |
| 10121 | 10141 |
| 10122 cat > conftest.$ac_ext <<EOF | 10142 cat > conftest.$ac_ext <<EOF |
| 10123 #line 10124 "configure" | 10143 #line 10144 "configure" |
| 10124 #include "confdefs.h" | 10144 #include "confdefs.h" |
| 10125 #include <$athena_variant/XawInit.h> | 10145 #include <$athena_variant/XawInit.h> |
| 10126 EOF | 10146 EOF |
| 10127 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10147 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 10128 { (eval echo configure:10129: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10148 { (eval echo configure:10149: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 10129 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10149 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 10130 if test -z "$ac_err"; then | 10150 if test -z "$ac_err"; then |
| 10131 rm -rf conftest* | 10151 rm -rf conftest* |
| 10132 eval "ac_cv_header_$ac_safe=yes" | 10152 eval "ac_cv_header_$ac_safe=yes" |
| 10133 else | 10153 else |
| 10140 rm -f conftest* | 10160 rm -f conftest* |
| 10141 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10161 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
| 10142 echo "$ac_t""yes" 1>&6 | 10162 echo "$ac_t""yes" 1>&6 |
| 10143 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` | 10163 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` |
| 10144 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6 | 10164 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6 |
| 10145 echo "configure:10146: checking for $athena_variant/ThreeD.h" >&5 | 10165 echo "configure:10166: checking for $athena_variant/ThreeD.h" >&5 |
| 10146 | 10166 |
| 10147 cat > conftest.$ac_ext <<EOF | 10167 cat > conftest.$ac_ext <<EOF |
| 10148 #line 10149 "configure" | 10168 #line 10169 "configure" |
| 10149 #include "confdefs.h" | 10169 #include "confdefs.h" |
| 10150 #include <$athena_variant/ThreeD.h> | 10170 #include <$athena_variant/ThreeD.h> |
| 10151 EOF | 10171 EOF |
| 10152 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10172 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 10153 { (eval echo configure:10154: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10173 { (eval echo configure:10174: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 10154 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10174 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 10155 if test -z "$ac_err"; then | 10175 if test -z "$ac_err"; then |
| 10156 rm -rf conftest* | 10176 rm -rf conftest* |
| 10157 eval "ac_cv_header_$ac_safe=yes" | 10177 eval "ac_cv_header_$ac_safe=yes" |
| 10158 else | 10178 else |
| 10177 fi | 10197 fi |
| 10178 | 10198 |
| 10179 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then | 10199 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then |
| 10180 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` | 10200 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` |
| 10181 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6 | 10201 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6 |
| 10182 echo "configure:10183: checking for X11/Xaw3d/XawInit.h" >&5 | 10202 echo "configure:10203: checking for X11/Xaw3d/XawInit.h" >&5 |
| 10183 | 10203 |
| 10184 cat > conftest.$ac_ext <<EOF | 10204 cat > conftest.$ac_ext <<EOF |
| 10185 #line 10186 "configure" | 10205 #line 10206 "configure" |
| 10186 #include "confdefs.h" | 10206 #include "confdefs.h" |
| 10187 #include <X11/Xaw3d/XawInit.h> | 10207 #include <X11/Xaw3d/XawInit.h> |
| 10188 EOF | 10208 EOF |
| 10189 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10209 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 10190 { (eval echo configure:10191: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10210 { (eval echo configure:10211: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 10191 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10211 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 10192 if test -z "$ac_err"; then | 10212 if test -z "$ac_err"; then |
| 10193 rm -rf conftest* | 10213 rm -rf conftest* |
| 10194 eval "ac_cv_header_$ac_safe=yes" | 10214 eval "ac_cv_header_$ac_safe=yes" |
| 10195 else | 10215 else |
| 10202 rm -f conftest* | 10222 rm -f conftest* |
| 10203 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10223 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
| 10204 echo "$ac_t""yes" 1>&6 | 10224 echo "$ac_t""yes" 1>&6 |
| 10205 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` | 10225 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` |
| 10206 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6 | 10226 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6 |
| 10207 echo "configure:10208: checking for X11/Xaw3d/ThreeD.h" >&5 | 10227 echo "configure:10228: checking for X11/Xaw3d/ThreeD.h" >&5 |
| 10208 | 10228 |
| 10209 cat > conftest.$ac_ext <<EOF | 10229 cat > conftest.$ac_ext <<EOF |
| 10210 #line 10211 "configure" | 10230 #line 10231 "configure" |
| 10211 #include "confdefs.h" | 10231 #include "confdefs.h" |
| 10212 #include <X11/Xaw3d/ThreeD.h> | 10232 #include <X11/Xaw3d/ThreeD.h> |
| 10213 EOF | 10233 EOF |
| 10214 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10234 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 10215 { (eval echo configure:10216: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10235 { (eval echo configure:10236: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 10216 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10236 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 10217 if test -z "$ac_err"; then | 10237 if test -z "$ac_err"; then |
| 10218 rm -rf conftest* | 10238 rm -rf conftest* |
| 10219 eval "ac_cv_header_$ac_safe=yes" | 10239 eval "ac_cv_header_$ac_safe=yes" |
| 10220 else | 10240 else |
| 10242 fi | 10262 fi |
| 10243 | 10263 |
| 10244 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then | 10264 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then |
| 10245 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` | 10265 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` |
| 10246 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6 | 10266 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6 |
| 10247 echo "configure:10248: checking for Xaw3d/XawInit.h" >&5 | 10267 echo "configure:10268: checking for Xaw3d/XawInit.h" >&5 |
| 10248 | 10268 |
| 10249 cat > conftest.$ac_ext <<EOF | 10269 cat > conftest.$ac_ext <<EOF |
| 10250 #line 10251 "configure" | 10270 #line 10271 "configure" |
| 10251 #include "confdefs.h" | 10271 #include "confdefs.h" |
| 10252 #include <Xaw3d/XawInit.h> | 10272 #include <Xaw3d/XawInit.h> |
| 10253 EOF | 10273 EOF |
| 10254 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10274 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 10255 { (eval echo configure:10256: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10275 { (eval echo configure:10276: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 10256 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10276 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 10257 if test -z "$ac_err"; then | 10277 if test -z "$ac_err"; then |
| 10258 rm -rf conftest* | 10278 rm -rf conftest* |
| 10259 eval "ac_cv_header_$ac_safe=yes" | 10279 eval "ac_cv_header_$ac_safe=yes" |
| 10260 else | 10280 else |
| 10267 rm -f conftest* | 10287 rm -f conftest* |
| 10268 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10288 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
| 10269 echo "$ac_t""yes" 1>&6 | 10289 echo "$ac_t""yes" 1>&6 |
| 10270 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` | 10290 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` |
| 10271 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6 | 10291 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6 |
| 10272 echo "configure:10273: checking for Xaw3d/ThreeD.h" >&5 | 10292 echo "configure:10293: checking for Xaw3d/ThreeD.h" >&5 |
| 10273 | 10293 |
| 10274 cat > conftest.$ac_ext <<EOF | 10294 cat > conftest.$ac_ext <<EOF |
| 10275 #line 10276 "configure" | 10295 #line 10296 "configure" |
| 10276 #include "confdefs.h" | 10296 #include "confdefs.h" |
| 10277 #include <Xaw3d/ThreeD.h> | 10297 #include <Xaw3d/ThreeD.h> |
| 10278 EOF | 10298 EOF |
| 10279 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10299 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 10280 { (eval echo configure:10281: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10300 { (eval echo configure:10301: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 10281 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10301 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 10282 if test -z "$ac_err"; then | 10302 if test -z "$ac_err"; then |
| 10283 rm -rf conftest* | 10303 rm -rf conftest* |
| 10284 eval "ac_cv_header_$ac_safe=yes" | 10304 eval "ac_cv_header_$ac_safe=yes" |
| 10285 else | 10305 else |
| 10307 fi | 10327 fi |
| 10308 | 10328 |
| 10309 if test -z "$athena_h_path"; then | 10329 if test -z "$athena_h_path"; then |
| 10310 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` | 10330 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` |
| 10311 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 | 10331 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 |
| 10312 echo "configure:10313: checking for X11/Xaw/ThreeD.h" >&5 | 10332 echo "configure:10333: checking for X11/Xaw/ThreeD.h" >&5 |
| 10313 | 10333 |
| 10314 cat > conftest.$ac_ext <<EOF | 10334 cat > conftest.$ac_ext <<EOF |
| 10315 #line 10316 "configure" | 10335 #line 10336 "configure" |
| 10316 #include "confdefs.h" | 10336 #include "confdefs.h" |
| 10317 #include <X11/Xaw/ThreeD.h> | 10337 #include <X11/Xaw/ThreeD.h> |
| 10318 EOF | 10338 EOF |
| 10319 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10339 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 10320 { (eval echo configure:10321: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10340 { (eval echo configure:10341: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 10321 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10341 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 10322 if test -z "$ac_err"; then | 10342 if test -z "$ac_err"; then |
| 10323 rm -rf conftest* | 10343 rm -rf conftest* |
| 10324 eval "ac_cv_header_$ac_safe=yes" | 10344 eval "ac_cv_header_$ac_safe=yes" |
| 10325 else | 10345 else |
| 10354 have_xaw=no | 10374 have_xaw=no |
| 10355 fi | 10375 fi |
| 10356 if test "$with_x11" = "yes"; then | 10376 if test "$with_x11" = "yes"; then |
| 10357 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` | 10377 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` |
| 10358 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 | 10378 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 |
| 10359 echo "configure:10360: checking for Xm/Xm.h" >&5 | 10379 echo "configure:10380: checking for Xm/Xm.h" >&5 |
| 10360 | 10380 |
| 10361 cat > conftest.$ac_ext <<EOF | 10381 cat > conftest.$ac_ext <<EOF |
| 10362 #line 10363 "configure" | 10382 #line 10383 "configure" |
| 10363 #include "confdefs.h" | 10383 #include "confdefs.h" |
| 10364 #include <Xm/Xm.h> | 10384 #include <Xm/Xm.h> |
| 10365 EOF | 10385 EOF |
| 10366 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10386 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 10367 { (eval echo configure:10368: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10387 { (eval echo configure:10388: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 10368 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10388 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 10369 if test -z "$ac_err"; then | 10389 if test -z "$ac_err"; then |
| 10370 rm -rf conftest* | 10390 rm -rf conftest* |
| 10371 eval "ac_cv_header_$ac_safe=yes" | 10391 eval "ac_cv_header_$ac_safe=yes" |
| 10372 else | 10392 else |
| 10379 rm -f conftest* | 10399 rm -f conftest* |
| 10380 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10400 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
| 10381 echo "$ac_t""yes" 1>&6 | 10401 echo "$ac_t""yes" 1>&6 |
| 10382 | 10402 |
| 10383 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 | 10403 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 |
| 10384 echo "configure:10385: checking for XmStringFree in -lXm" >&5 | 10404 echo "configure:10405: checking for XmStringFree in -lXm" >&5 |
| 10385 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` | 10405 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` |
| 10386 | 10406 |
| 10387 xe_check_libs=" -lXm " | 10407 xe_check_libs=" -lXm " |
| 10388 cat > conftest.$ac_ext <<EOF | 10408 cat > conftest.$ac_ext <<EOF |
| 10389 #line 10390 "configure" | 10409 #line 10410 "configure" |
| 10390 #include "confdefs.h" | 10410 #include "confdefs.h" |
| 10391 /* Override any gcc2 internal prototype to avoid an error. */ | 10411 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10392 /* We use char because int might match the return type of a gcc2 | 10412 /* We use char because int might match the return type of a gcc2 |
| 10393 builtin and then its argument prototype would still apply. */ | 10413 builtin and then its argument prototype would still apply. */ |
| 10394 char XmStringFree(); | 10414 char XmStringFree(); |
| 10395 | 10415 |
| 10396 int main() { | 10416 int main() { |
| 10397 XmStringFree() | 10417 XmStringFree() |
| 10398 ; return 0; } | 10418 ; return 0; } |
| 10399 EOF | 10419 EOF |
| 10400 if { (eval echo configure:10401: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10420 if { (eval echo configure:10421: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 10401 rm -rf conftest* | 10421 rm -rf conftest* |
| 10402 eval "ac_cv_lib_$ac_lib_var=yes" | 10422 eval "ac_cv_lib_$ac_lib_var=yes" |
| 10403 else | 10423 else |
| 10404 echo "configure: failed program was:" >&5 | 10424 echo "configure: failed program was:" >&5 |
| 10405 cat conftest.$ac_ext >&5 | 10425 cat conftest.$ac_ext >&5 |
| 10424 fi | 10444 fi |
| 10425 | 10445 |
| 10426 | 10446 |
| 10427 if test "$have_motif" = "yes"; then | 10447 if test "$have_motif" = "yes"; then |
| 10428 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 | 10448 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 |
| 10429 echo "configure:10430: checking for Lesstif" >&5 | 10449 echo "configure:10450: checking for Lesstif" >&5 |
| 10430 cat > conftest.$ac_ext <<EOF | 10450 cat > conftest.$ac_ext <<EOF |
| 10431 #line 10432 "configure" | 10451 #line 10452 "configure" |
| 10432 #include "confdefs.h" | 10452 #include "confdefs.h" |
| 10433 #include <Xm/Xm.h> | 10453 #include <Xm/Xm.h> |
| 10434 #ifdef LESSTIF_VERSION | 10454 #ifdef LESSTIF_VERSION |
| 10435 yes | 10455 yes |
| 10436 #endif | 10456 #endif |
| 10799 | 10819 |
| 10800 fi | 10820 fi |
| 10801 | 10821 |
| 10802 if test "$with_mule" = "yes" ; then | 10822 if test "$with_mule" = "yes" ; then |
| 10803 echo "checking for Mule-related features" 1>&6 | 10823 echo "checking for Mule-related features" 1>&6 |
| 10804 echo "configure:10805: checking for Mule-related features" >&5 | 10824 echo "configure:10825: checking for Mule-related features" >&5 |
| 10805 { test "$extra_verbose" = "yes" && cat << \EOF | 10825 { test "$extra_verbose" = "yes" && cat << \EOF |
| 10806 Defining MULE | 10826 Defining MULE |
| 10807 EOF | 10827 EOF |
| 10808 cat >> confdefs.h <<\EOF | 10828 cat >> confdefs.h <<\EOF |
| 10809 #define MULE 1 | 10829 #define MULE 1 |
| 10813 | 10833 |
| 10814 for ac_hdr in libintl.h | 10834 for ac_hdr in libintl.h |
| 10815 do | 10835 do |
| 10816 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 10836 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 10817 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 10837 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 10818 echo "configure:10819: checking for $ac_hdr" >&5 | 10838 echo "configure:10839: checking for $ac_hdr" >&5 |
| 10819 | 10839 |
| 10820 cat > conftest.$ac_ext <<EOF | 10840 cat > conftest.$ac_ext <<EOF |
| 10821 #line 10822 "configure" | 10841 #line 10842 "configure" |
| 10822 #include "confdefs.h" | 10842 #include "confdefs.h" |
| 10823 #include <$ac_hdr> | 10843 #include <$ac_hdr> |
| 10824 EOF | 10844 EOF |
| 10825 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10845 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 10826 { (eval echo configure:10827: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10846 { (eval echo configure:10847: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 10827 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10847 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 10828 if test -z "$ac_err"; then | 10848 if test -z "$ac_err"; then |
| 10829 rm -rf conftest* | 10849 rm -rf conftest* |
| 10830 eval "ac_cv_header_$ac_safe=yes" | 10850 eval "ac_cv_header_$ac_safe=yes" |
| 10831 else | 10851 else |
| 10852 fi | 10872 fi |
| 10853 done | 10873 done |
| 10854 | 10874 |
| 10855 | 10875 |
| 10856 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 | 10876 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 |
| 10857 echo "configure:10858: checking for strerror in -lintl" >&5 | 10877 echo "configure:10878: checking for strerror in -lintl" >&5 |
| 10858 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` | 10878 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` |
| 10859 | 10879 |
| 10860 xe_check_libs=" -lintl " | 10880 xe_check_libs=" -lintl " |
| 10861 cat > conftest.$ac_ext <<EOF | 10881 cat > conftest.$ac_ext <<EOF |
| 10862 #line 10863 "configure" | 10882 #line 10883 "configure" |
| 10863 #include "confdefs.h" | 10883 #include "confdefs.h" |
| 10864 /* Override any gcc2 internal prototype to avoid an error. */ | 10884 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10865 /* We use char because int might match the return type of a gcc2 | 10885 /* We use char because int might match the return type of a gcc2 |
| 10866 builtin and then its argument prototype would still apply. */ | 10886 builtin and then its argument prototype would still apply. */ |
| 10867 char strerror(); | 10887 char strerror(); |
| 10868 | 10888 |
| 10869 int main() { | 10889 int main() { |
| 10870 strerror() | 10890 strerror() |
| 10871 ; return 0; } | 10891 ; return 0; } |
| 10872 EOF | 10892 EOF |
| 10873 if { (eval echo configure:10874: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10893 if { (eval echo configure:10894: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 10874 rm -rf conftest* | 10894 rm -rf conftest* |
| 10875 eval "ac_cv_lib_$ac_lib_var=yes" | 10895 eval "ac_cv_lib_$ac_lib_var=yes" |
| 10876 else | 10896 else |
| 10877 echo "configure: failed program was:" >&5 | 10897 echo "configure: failed program was:" >&5 |
| 10878 cat conftest.$ac_ext >&5 | 10898 cat conftest.$ac_ext >&5 |
| 10901 fi | 10921 fi |
| 10902 | 10922 |
| 10903 | 10923 |
| 10904 | 10924 |
| 10905 echo "checking for Mule input methods" 1>&6 | 10925 echo "checking for Mule input methods" 1>&6 |
| 10906 echo "configure:10907: checking for Mule input methods" >&5 | 10926 echo "configure:10927: checking for Mule input methods" >&5 |
| 10907 case "$with_xim" in "" | "yes" ) | 10927 case "$with_xim" in "" | "yes" ) |
| 10908 echo "checking for XIM" 1>&6 | 10928 echo "checking for XIM" 1>&6 |
| 10909 echo "configure:10910: checking for XIM" >&5 | 10929 echo "configure:10930: checking for XIM" >&5 |
| 10910 | 10930 |
| 10911 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 | 10931 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 |
| 10912 echo "configure:10913: checking for XOpenIM in -lX11" >&5 | 10932 echo "configure:10933: checking for XOpenIM in -lX11" >&5 |
| 10913 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` | 10933 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` |
| 10914 | 10934 |
| 10915 xe_check_libs=" -lX11 " | 10935 xe_check_libs=" -lX11 " |
| 10916 cat > conftest.$ac_ext <<EOF | 10936 cat > conftest.$ac_ext <<EOF |
| 10917 #line 10918 "configure" | 10937 #line 10938 "configure" |
| 10918 #include "confdefs.h" | 10938 #include "confdefs.h" |
| 10919 /* Override any gcc2 internal prototype to avoid an error. */ | 10939 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10920 /* We use char because int might match the return type of a gcc2 | 10940 /* We use char because int might match the return type of a gcc2 |
| 10921 builtin and then its argument prototype would still apply. */ | 10941 builtin and then its argument prototype would still apply. */ |
| 10922 char XOpenIM(); | 10942 char XOpenIM(); |
| 10923 | 10943 |
| 10924 int main() { | 10944 int main() { |
| 10925 XOpenIM() | 10945 XOpenIM() |
| 10926 ; return 0; } | 10946 ; return 0; } |
| 10927 EOF | 10947 EOF |
| 10928 if { (eval echo configure:10929: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10948 if { (eval echo configure:10949: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 10929 rm -rf conftest* | 10949 rm -rf conftest* |
| 10930 eval "ac_cv_lib_$ac_lib_var=yes" | 10950 eval "ac_cv_lib_$ac_lib_var=yes" |
| 10931 else | 10951 else |
| 10932 echo "configure: failed program was:" >&5 | 10952 echo "configure: failed program was:" >&5 |
| 10933 cat conftest.$ac_ext >&5 | 10953 cat conftest.$ac_ext >&5 |
| 10947 | 10967 |
| 10948 | 10968 |
| 10949 if test "$have_motif $have_lesstif" = "yes no"; then | 10969 if test "$have_motif $have_lesstif" = "yes no"; then |
| 10950 | 10970 |
| 10951 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 | 10971 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 |
| 10952 echo "configure:10953: checking for XmImMbLookupString in -lXm" >&5 | 10972 echo "configure:10973: checking for XmImMbLookupString in -lXm" >&5 |
| 10953 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` | 10973 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` |
| 10954 | 10974 |
| 10955 xe_check_libs=" -lXm " | 10975 xe_check_libs=" -lXm " |
| 10956 cat > conftest.$ac_ext <<EOF | 10976 cat > conftest.$ac_ext <<EOF |
| 10957 #line 10958 "configure" | 10977 #line 10978 "configure" |
| 10958 #include "confdefs.h" | 10978 #include "confdefs.h" |
| 10959 /* Override any gcc2 internal prototype to avoid an error. */ | 10979 /* Override any gcc2 internal prototype to avoid an error. */ |
| 10960 /* We use char because int might match the return type of a gcc2 | 10980 /* We use char because int might match the return type of a gcc2 |
| 10961 builtin and then its argument prototype would still apply. */ | 10981 builtin and then its argument prototype would still apply. */ |
| 10962 char XmImMbLookupString(); | 10982 char XmImMbLookupString(); |
| 10963 | 10983 |
| 10964 int main() { | 10984 int main() { |
| 10965 XmImMbLookupString() | 10985 XmImMbLookupString() |
| 10966 ; return 0; } | 10986 ; return 0; } |
| 10967 EOF | 10987 EOF |
| 10968 if { (eval echo configure:10969: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10988 if { (eval echo configure:10989: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 10969 rm -rf conftest* | 10989 rm -rf conftest* |
| 10970 eval "ac_cv_lib_$ac_lib_var=yes" | 10990 eval "ac_cv_lib_$ac_lib_var=yes" |
| 10971 else | 10991 else |
| 10972 echo "configure: failed program was:" >&5 | 10992 echo "configure: failed program was:" >&5 |
| 10973 cat conftest.$ac_ext >&5 | 10993 cat conftest.$ac_ext >&5 |
| 11028 fi | 11048 fi |
| 11029 fi | 11049 fi |
| 11030 | 11050 |
| 11031 if test "$with_xfs" = "yes" ; then | 11051 if test "$with_xfs" = "yes" ; then |
| 11032 echo "checking for XFontSet" 1>&6 | 11052 echo "checking for XFontSet" 1>&6 |
| 11033 echo "configure:11034: checking for XFontSet" >&5 | 11053 echo "configure:11054: checking for XFontSet" >&5 |
| 11034 | 11054 |
| 11035 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 | 11055 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 |
| 11036 echo "configure:11037: checking for XmbDrawString in -lX11" >&5 | 11056 echo "configure:11057: checking for XmbDrawString in -lX11" >&5 |
| 11037 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` | 11057 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` |
| 11038 | 11058 |
| 11039 xe_check_libs=" -lX11 " | 11059 xe_check_libs=" -lX11 " |
| 11040 cat > conftest.$ac_ext <<EOF | 11060 cat > conftest.$ac_ext <<EOF |
| 11041 #line 11042 "configure" | 11061 #line 11062 "configure" |
| 11042 #include "confdefs.h" | 11062 #include "confdefs.h" |
| 11043 /* Override any gcc2 internal prototype to avoid an error. */ | 11063 /* Override any gcc2 internal prototype to avoid an error. */ |
| 11044 /* We use char because int might match the return type of a gcc2 | 11064 /* We use char because int might match the return type of a gcc2 |
| 11045 builtin and then its argument prototype would still apply. */ | 11065 builtin and then its argument prototype would still apply. */ |
| 11046 char XmbDrawString(); | 11066 char XmbDrawString(); |
| 11047 | 11067 |
| 11048 int main() { | 11068 int main() { |
| 11049 XmbDrawString() | 11069 XmbDrawString() |
| 11050 ; return 0; } | 11070 ; return 0; } |
| 11051 EOF | 11071 EOF |
| 11052 if { (eval echo configure:11053: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11072 if { (eval echo configure:11073: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 11053 rm -rf conftest* | 11073 rm -rf conftest* |
| 11054 eval "ac_cv_lib_$ac_lib_var=yes" | 11074 eval "ac_cv_lib_$ac_lib_var=yes" |
| 11055 else | 11075 else |
| 11056 echo "configure: failed program was:" >&5 | 11076 echo "configure: failed program was:" >&5 |
| 11057 cat conftest.$ac_ext >&5 | 11077 cat conftest.$ac_ext >&5 |
| 11087 fi | 11107 fi |
| 11088 fi | 11108 fi |
| 11089 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support | 11109 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support |
| 11090 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` | 11110 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` |
| 11091 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 | 11111 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 |
| 11092 echo "configure:11093: checking for wnn/jllib.h" >&5 | 11112 echo "configure:11113: checking for wnn/jllib.h" >&5 |
| 11093 | 11113 |
| 11094 cat > conftest.$ac_ext <<EOF | 11114 cat > conftest.$ac_ext <<EOF |
| 11095 #line 11096 "configure" | 11115 #line 11116 "configure" |
| 11096 #include "confdefs.h" | 11116 #include "confdefs.h" |
| 11097 #include <wnn/jllib.h> | 11117 #include <wnn/jllib.h> |
| 11098 EOF | 11118 EOF |
| 11099 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11119 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 11100 { (eval echo configure:11101: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11120 { (eval echo configure:11121: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 11101 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11121 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 11102 if test -z "$ac_err"; then | 11122 if test -z "$ac_err"; then |
| 11103 rm -rf conftest* | 11123 rm -rf conftest* |
| 11104 eval "ac_cv_header_$ac_safe=yes" | 11124 eval "ac_cv_header_$ac_safe=yes" |
| 11105 else | 11125 else |
| 11118 with_wnn=no | 11138 with_wnn=no |
| 11119 fi | 11139 fi |
| 11120 } | 11140 } |
| 11121 test -z "$with_wnn" && { ac_safe=`echo "wnn/commonhd.h" | sed 'y%./+-%__p_%'` | 11141 test -z "$with_wnn" && { ac_safe=`echo "wnn/commonhd.h" | sed 'y%./+-%__p_%'` |
| 11122 echo $ac_n "checking for wnn/commonhd.h""... $ac_c" 1>&6 | 11142 echo $ac_n "checking for wnn/commonhd.h""... $ac_c" 1>&6 |
| 11123 echo "configure:11124: checking for wnn/commonhd.h" >&5 | 11143 echo "configure:11144: checking for wnn/commonhd.h" >&5 |
| 11124 | 11144 |
| 11125 cat > conftest.$ac_ext <<EOF | 11145 cat > conftest.$ac_ext <<EOF |
| 11126 #line 11127 "configure" | 11146 #line 11147 "configure" |
| 11127 #include "confdefs.h" | 11147 #include "confdefs.h" |
| 11128 #include <wnn/commonhd.h> | 11148 #include <wnn/commonhd.h> |
| 11129 EOF | 11149 EOF |
| 11130 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11150 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 11131 { (eval echo configure:11132: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11151 { (eval echo configure:11152: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 11132 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11152 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 11133 if test -z "$ac_err"; then | 11153 if test -z "$ac_err"; then |
| 11134 rm -rf conftest* | 11154 rm -rf conftest* |
| 11135 eval "ac_cv_header_$ac_safe=yes" | 11155 eval "ac_cv_header_$ac_safe=yes" |
| 11136 else | 11156 else |
| 11151 } | 11171 } |
| 11152 if test "$with_wnn" != "no"; then | 11172 if test "$with_wnn" != "no"; then |
| 11153 for ac_func in crypt | 11173 for ac_func in crypt |
| 11154 do | 11174 do |
| 11155 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11175 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 11156 echo "configure:11157: checking for $ac_func" >&5 | 11176 echo "configure:11177: checking for $ac_func" >&5 |
| 11157 | 11177 |
| 11158 cat > conftest.$ac_ext <<EOF | 11178 cat > conftest.$ac_ext <<EOF |
| 11159 #line 11160 "configure" | 11179 #line 11180 "configure" |
| 11160 #include "confdefs.h" | 11180 #include "confdefs.h" |
| 11161 /* System header to define __stub macros and hopefully few prototypes, | 11181 /* System header to define __stub macros and hopefully few prototypes, |
| 11162 which can conflict with char $ac_func(); below. */ | 11182 which can conflict with char $ac_func(); below. */ |
| 11163 #include <assert.h> | 11183 #include <assert.h> |
| 11164 /* Override any gcc2 internal prototype to avoid an error. */ | 11184 /* Override any gcc2 internal prototype to avoid an error. */ |
| 11177 $ac_func(); | 11197 $ac_func(); |
| 11178 #endif | 11198 #endif |
| 11179 | 11199 |
| 11180 ; return 0; } | 11200 ; return 0; } |
| 11181 EOF | 11201 EOF |
| 11182 if { (eval echo configure:11183: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11202 if { (eval echo configure:11203: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 11183 rm -rf conftest* | 11203 rm -rf conftest* |
| 11184 eval "ac_cv_func_$ac_func=yes" | 11204 eval "ac_cv_func_$ac_func=yes" |
| 11185 else | 11205 else |
| 11186 echo "configure: failed program was:" >&5 | 11206 echo "configure: failed program was:" >&5 |
| 11187 cat conftest.$ac_ext >&5 | 11207 cat conftest.$ac_ext >&5 |
| 11206 fi | 11226 fi |
| 11207 done | 11227 done |
| 11208 | 11228 |
| 11209 test "$ac_cv_func_crypt" != "yes" && { | 11229 test "$ac_cv_func_crypt" != "yes" && { |
| 11210 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 | 11230 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 |
| 11211 echo "configure:11212: checking for crypt in -lcrypt" >&5 | 11231 echo "configure:11232: checking for crypt in -lcrypt" >&5 |
| 11212 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` | 11232 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` |
| 11213 | 11233 |
| 11214 xe_check_libs=" -lcrypt " | 11234 xe_check_libs=" -lcrypt " |
| 11215 cat > conftest.$ac_ext <<EOF | 11235 cat > conftest.$ac_ext <<EOF |
| 11216 #line 11217 "configure" | 11236 #line 11237 "configure" |
| 11217 #include "confdefs.h" | 11237 #include "confdefs.h" |
| 11218 /* Override any gcc2 internal prototype to avoid an error. */ | 11238 /* Override any gcc2 internal prototype to avoid an error. */ |
| 11219 /* We use char because int might match the return type of a gcc2 | 11239 /* We use char because int might match the return type of a gcc2 |
| 11220 builtin and then its argument prototype would still apply. */ | 11240 builtin and then its argument prototype would still apply. */ |
| 11221 char crypt(); | 11241 char crypt(); |
| 11222 | 11242 |
| 11223 int main() { | 11243 int main() { |
| 11224 crypt() | 11244 crypt() |
| 11225 ; return 0; } | 11245 ; return 0; } |
| 11226 EOF | 11246 EOF |
| 11227 if { (eval echo configure:11228: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11247 if { (eval echo configure:11248: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 11228 rm -rf conftest* | 11248 rm -rf conftest* |
| 11229 eval "ac_cv_lib_$ac_lib_var=yes" | 11249 eval "ac_cv_lib_$ac_lib_var=yes" |
| 11230 else | 11250 else |
| 11231 echo "configure: failed program was:" >&5 | 11251 echo "configure: failed program was:" >&5 |
| 11232 cat conftest.$ac_ext >&5 | 11252 cat conftest.$ac_ext >&5 |
| 11257 } | 11277 } |
| 11258 fi | 11278 fi |
| 11259 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then | 11279 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then |
| 11260 | 11280 |
| 11261 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 | 11281 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 |
| 11262 echo "configure:11263: checking for jl_dic_list_e in -lwnn" >&5 | 11282 echo "configure:11283: checking for jl_dic_list_e in -lwnn" >&5 |
| 11263 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 11283 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
| 11264 | 11284 |
| 11265 xe_check_libs=" -lwnn " | 11285 xe_check_libs=" -lwnn " |
| 11266 cat > conftest.$ac_ext <<EOF | 11286 cat > conftest.$ac_ext <<EOF |
| 11267 #line 11268 "configure" | 11287 #line 11288 "configure" |
| 11268 #include "confdefs.h" | 11288 #include "confdefs.h" |
| 11269 /* Override any gcc2 internal prototype to avoid an error. */ | 11289 /* Override any gcc2 internal prototype to avoid an error. */ |
| 11270 /* We use char because int might match the return type of a gcc2 | 11290 /* We use char because int might match the return type of a gcc2 |
| 11271 builtin and then its argument prototype would still apply. */ | 11291 builtin and then its argument prototype would still apply. */ |
| 11272 char jl_dic_list_e(); | 11292 char jl_dic_list_e(); |
| 11273 | 11293 |
| 11274 int main() { | 11294 int main() { |
| 11275 jl_dic_list_e() | 11295 jl_dic_list_e() |
| 11276 ; return 0; } | 11296 ; return 0; } |
| 11277 EOF | 11297 EOF |
| 11278 if { (eval echo configure:11279: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11298 if { (eval echo configure:11299: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 11279 rm -rf conftest* | 11299 rm -rf conftest* |
| 11280 eval "ac_cv_lib_$ac_lib_var=yes" | 11300 eval "ac_cv_lib_$ac_lib_var=yes" |
| 11281 else | 11301 else |
| 11282 echo "configure: failed program was:" >&5 | 11302 echo "configure: failed program was:" >&5 |
| 11283 cat conftest.$ac_ext >&5 | 11303 cat conftest.$ac_ext >&5 |
| 11291 echo "$ac_t""yes" 1>&6 | 11311 echo "$ac_t""yes" 1>&6 |
| 11292 libwnn=wnn | 11312 libwnn=wnn |
| 11293 else | 11313 else |
| 11294 echo "$ac_t""no" 1>&6 | 11314 echo "$ac_t""no" 1>&6 |
| 11295 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 | 11315 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 |
| 11296 echo "configure:11297: checking for jl_dic_list_e in -lwnn4" >&5 | 11316 echo "configure:11317: checking for jl_dic_list_e in -lwnn4" >&5 |
| 11297 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 11317 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
| 11298 | 11318 |
| 11299 xe_check_libs=" -lwnn4 " | 11319 xe_check_libs=" -lwnn4 " |
| 11300 cat > conftest.$ac_ext <<EOF | 11320 cat > conftest.$ac_ext <<EOF |
| 11301 #line 11302 "configure" | 11321 #line 11322 "configure" |
| 11302 #include "confdefs.h" | 11322 #include "confdefs.h" |
| 11303 /* Override any gcc2 internal prototype to avoid an error. */ | 11323 /* Override any gcc2 internal prototype to avoid an error. */ |
| 11304 /* We use char because int might match the return type of a gcc2 | 11324 /* We use char because int might match the return type of a gcc2 |
| 11305 builtin and then its argument prototype would still apply. */ | 11325 builtin and then its argument prototype would still apply. */ |
| 11306 char jl_dic_list_e(); | 11326 char jl_dic_list_e(); |
| 11307 | 11327 |
| 11308 int main() { | 11328 int main() { |
| 11309 jl_dic_list_e() | 11329 jl_dic_list_e() |
| 11310 ; return 0; } | 11330 ; return 0; } |
| 11311 EOF | 11331 EOF |
| 11312 if { (eval echo configure:11313: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11332 if { (eval echo configure:11333: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 11313 rm -rf conftest* | 11333 rm -rf conftest* |
| 11314 eval "ac_cv_lib_$ac_lib_var=yes" | 11334 eval "ac_cv_lib_$ac_lib_var=yes" |
| 11315 else | 11335 else |
| 11316 echo "configure: failed program was:" >&5 | 11336 echo "configure: failed program was:" >&5 |
| 11317 cat conftest.$ac_ext >&5 | 11337 cat conftest.$ac_ext >&5 |
| 11325 echo "$ac_t""yes" 1>&6 | 11345 echo "$ac_t""yes" 1>&6 |
| 11326 libwnn=wnn4 | 11346 libwnn=wnn4 |
| 11327 else | 11347 else |
| 11328 echo "$ac_t""no" 1>&6 | 11348 echo "$ac_t""no" 1>&6 |
| 11329 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 | 11349 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 |
| 11330 echo "configure:11331: checking for jl_dic_list_e in -lwnn6" >&5 | 11350 echo "configure:11351: checking for jl_dic_list_e in -lwnn6" >&5 |
| 11331 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 11351 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
| 11332 | 11352 |
| 11333 xe_check_libs=" -lwnn6 " | 11353 xe_check_libs=" -lwnn6 " |
| 11334 cat > conftest.$ac_ext <<EOF | 11354 cat > conftest.$ac_ext <<EOF |
| 11335 #line 11336 "configure" | 11355 #line 11356 "configure" |
| 11336 #include "confdefs.h" | 11356 #include "confdefs.h" |
| 11337 /* Override any gcc2 internal prototype to avoid an error. */ | 11357 /* Override any gcc2 internal prototype to avoid an error. */ |
| 11338 /* We use char because int might match the return type of a gcc2 | 11358 /* We use char because int might match the return type of a gcc2 |
| 11339 builtin and then its argument prototype would still apply. */ | 11359 builtin and then its argument prototype would still apply. */ |
| 11340 char jl_dic_list_e(); | 11360 char jl_dic_list_e(); |
| 11341 | 11361 |
| 11342 int main() { | 11362 int main() { |
| 11343 jl_dic_list_e() | 11363 jl_dic_list_e() |
| 11344 ; return 0; } | 11364 ; return 0; } |
| 11345 EOF | 11365 EOF |
| 11346 if { (eval echo configure:11347: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11366 if { (eval echo configure:11367: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 11347 rm -rf conftest* | 11367 rm -rf conftest* |
| 11348 eval "ac_cv_lib_$ac_lib_var=yes" | 11368 eval "ac_cv_lib_$ac_lib_var=yes" |
| 11349 else | 11369 else |
| 11350 echo "configure: failed program was:" >&5 | 11370 echo "configure: failed program was:" >&5 |
| 11351 cat conftest.$ac_ext >&5 | 11371 cat conftest.$ac_ext >&5 |
| 11359 echo "$ac_t""yes" 1>&6 | 11379 echo "$ac_t""yes" 1>&6 |
| 11360 libwnn=wnn6 | 11380 libwnn=wnn6 |
| 11361 else | 11381 else |
| 11362 echo "$ac_t""no" 1>&6 | 11382 echo "$ac_t""no" 1>&6 |
| 11363 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 | 11383 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 |
| 11364 echo "configure:11365: checking for dic_list_e in -lwnn6_fromsrc" >&5 | 11384 echo "configure:11385: checking for dic_list_e in -lwnn6_fromsrc" >&5 |
| 11365 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` | 11385 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` |
| 11366 | 11386 |
| 11367 xe_check_libs=" -lwnn6_fromsrc " | 11387 xe_check_libs=" -lwnn6_fromsrc " |
| 11368 cat > conftest.$ac_ext <<EOF | 11388 cat > conftest.$ac_ext <<EOF |
| 11369 #line 11370 "configure" | 11389 #line 11390 "configure" |
| 11370 #include "confdefs.h" | 11390 #include "confdefs.h" |
| 11371 /* Override any gcc2 internal prototype to avoid an error. */ | 11391 /* Override any gcc2 internal prototype to avoid an error. */ |
| 11372 /* We use char because int might match the return type of a gcc2 | 11392 /* We use char because int might match the return type of a gcc2 |
| 11373 builtin and then its argument prototype would still apply. */ | 11393 builtin and then its argument prototype would still apply. */ |
| 11374 char dic_list_e(); | 11394 char dic_list_e(); |
| 11375 | 11395 |
| 11376 int main() { | 11396 int main() { |
| 11377 dic_list_e() | 11397 dic_list_e() |
| 11378 ; return 0; } | 11398 ; return 0; } |
| 11379 EOF | 11399 EOF |
| 11380 if { (eval echo configure:11381: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11400 if { (eval echo configure:11401: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 11381 rm -rf conftest* | 11401 rm -rf conftest* |
| 11382 eval "ac_cv_lib_$ac_lib_var=yes" | 11402 eval "ac_cv_lib_$ac_lib_var=yes" |
| 11383 else | 11403 else |
| 11384 echo "configure: failed program was:" >&5 | 11404 echo "configure: failed program was:" >&5 |
| 11385 cat conftest.$ac_ext >&5 | 11405 cat conftest.$ac_ext >&5 |
| 11420 | 11440 |
| 11421 libs_x="-l$libwnn $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l$libwnn\" to \$libs_x"; fi | 11441 libs_x="-l$libwnn $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l$libwnn\" to \$libs_x"; fi |
| 11422 if test "$with_wnn6" != "no"; then | 11442 if test "$with_wnn6" != "no"; then |
| 11423 | 11443 |
| 11424 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 | 11444 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 |
| 11425 echo "configure:11426: checking for jl_fi_dic_list in -l$libwnn" >&5 | 11445 echo "configure:11446: checking for jl_fi_dic_list in -l$libwnn" >&5 |
| 11426 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` | 11446 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` |
| 11427 | 11447 |
| 11428 xe_check_libs=" -l$libwnn " | 11448 xe_check_libs=" -l$libwnn " |
| 11429 cat > conftest.$ac_ext <<EOF | 11449 cat > conftest.$ac_ext <<EOF |
| 11430 #line 11431 "configure" | 11450 #line 11451 "configure" |
| 11431 #include "confdefs.h" | 11451 #include "confdefs.h" |
| 11432 /* Override any gcc2 internal prototype to avoid an error. */ | 11452 /* Override any gcc2 internal prototype to avoid an error. */ |
| 11433 /* We use char because int might match the return type of a gcc2 | 11453 /* We use char because int might match the return type of a gcc2 |
| 11434 builtin and then its argument prototype would still apply. */ | 11454 builtin and then its argument prototype would still apply. */ |
| 11435 char jl_fi_dic_list(); | 11455 char jl_fi_dic_list(); |
| 11436 | 11456 |
| 11437 int main() { | 11457 int main() { |
| 11438 jl_fi_dic_list() | 11458 jl_fi_dic_list() |
| 11439 ; return 0; } | 11459 ; return 0; } |
| 11440 EOF | 11460 EOF |
| 11441 if { (eval echo configure:11442: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11461 if { (eval echo configure:11462: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 11442 rm -rf conftest* | 11462 rm -rf conftest* |
| 11443 eval "ac_cv_lib_$ac_lib_var=yes" | 11463 eval "ac_cv_lib_$ac_lib_var=yes" |
| 11444 else | 11464 else |
| 11445 echo "configure: failed program was:" >&5 | 11465 echo "configure: failed program was:" >&5 |
| 11446 cat conftest.$ac_ext >&5 | 11466 cat conftest.$ac_ext >&5 |
| 11471 | 11491 |
| 11472 canna_includes_found=no | 11492 canna_includes_found=no |
| 11473 if test "$with_canna" != "no"; then | 11493 if test "$with_canna" != "no"; then |
| 11474 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 11494 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
| 11475 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 11495 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
| 11476 echo "configure:11477: checking for canna/jrkanji.h" >&5 | 11496 echo "configure:11497: checking for canna/jrkanji.h" >&5 |
| 11477 | 11497 |
| 11478 cat > conftest.$ac_ext <<EOF | 11498 cat > conftest.$ac_ext <<EOF |
| 11479 #line 11480 "configure" | 11499 #line 11500 "configure" |
| 11480 #include "confdefs.h" | 11500 #include "confdefs.h" |
| 11481 #include <canna/jrkanji.h> | 11501 #include <canna/jrkanji.h> |
| 11482 EOF | 11502 EOF |
| 11483 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11503 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 11484 { (eval echo configure:11485: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11504 { (eval echo configure:11505: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 11485 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11505 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 11486 if test -z "$ac_err"; then | 11506 if test -z "$ac_err"; then |
| 11487 rm -rf conftest* | 11507 rm -rf conftest* |
| 11488 eval "ac_cv_header_$ac_safe=yes" | 11508 eval "ac_cv_header_$ac_safe=yes" |
| 11489 else | 11509 else |
| 11506 -d "/usr/local/canna/include"; then | 11526 -d "/usr/local/canna/include"; then |
| 11507 save_c_switch_site="$c_switch_site" | 11527 save_c_switch_site="$c_switch_site" |
| 11508 c_switch_site="$c_switch_site -I/usr/local/canna/include" | 11528 c_switch_site="$c_switch_site -I/usr/local/canna/include" |
| 11509 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 11529 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
| 11510 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 11530 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
| 11511 echo "configure:11512: checking for canna/jrkanji.h" >&5 | 11531 echo "configure:11532: checking for canna/jrkanji.h" >&5 |
| 11512 | 11532 |
| 11513 cat > conftest.$ac_ext <<EOF | 11533 cat > conftest.$ac_ext <<EOF |
| 11514 #line 11515 "configure" | 11534 #line 11535 "configure" |
| 11515 #include "confdefs.h" | 11535 #include "confdefs.h" |
| 11516 #include <canna/jrkanji.h> | 11536 #include <canna/jrkanji.h> |
| 11517 EOF | 11537 EOF |
| 11518 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11538 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 11519 { (eval echo configure:11520: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11539 { (eval echo configure:11540: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 11520 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11540 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 11521 if test -z "$ac_err"; then | 11541 if test -z "$ac_err"; then |
| 11522 rm -rf conftest* | 11542 rm -rf conftest* |
| 11523 eval "ac_cv_header_$ac_safe=yes" | 11543 eval "ac_cv_header_$ac_safe=yes" |
| 11524 else | 11544 else |
| 11542 fi | 11562 fi |
| 11543 fi | 11563 fi |
| 11544 | 11564 |
| 11545 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` | 11565 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` |
| 11546 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 | 11566 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 |
| 11547 echo "configure:11548: checking for canna/RK.h" >&5 | 11567 echo "configure:11568: checking for canna/RK.h" >&5 |
| 11548 | 11568 |
| 11549 cat > conftest.$ac_ext <<EOF | 11569 cat > conftest.$ac_ext <<EOF |
| 11550 #line 11551 "configure" | 11570 #line 11571 "configure" |
| 11551 #include "confdefs.h" | 11571 #include "confdefs.h" |
| 11552 #include <canna/RK.h> | 11572 #include <canna/RK.h> |
| 11553 EOF | 11573 EOF |
| 11554 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11574 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 11555 { (eval echo configure:11556: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11575 { (eval echo configure:11576: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 11556 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11576 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 11557 if test -z "$ac_err"; then | 11577 if test -z "$ac_err"; then |
| 11558 rm -rf conftest* | 11578 rm -rf conftest* |
| 11559 eval "ac_cv_header_$ac_safe=yes" | 11579 eval "ac_cv_header_$ac_safe=yes" |
| 11560 else | 11580 else |
| 11573 with_canna=no | 11593 with_canna=no |
| 11574 fi | 11594 fi |
| 11575 } | 11595 } |
| 11576 test -z "$with_canna" && { | 11596 test -z "$with_canna" && { |
| 11577 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 | 11597 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 |
| 11578 echo "configure:11579: checking for RkBgnBun in -lRKC" >&5 | 11598 echo "configure:11599: checking for RkBgnBun in -lRKC" >&5 |
| 11579 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` | 11599 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` |
| 11580 | 11600 |
| 11581 xe_check_libs=" -lRKC " | 11601 xe_check_libs=" -lRKC " |
| 11582 cat > conftest.$ac_ext <<EOF | 11602 cat > conftest.$ac_ext <<EOF |
| 11583 #line 11584 "configure" | 11603 #line 11604 "configure" |
| 11584 #include "confdefs.h" | 11604 #include "confdefs.h" |
| 11585 /* Override any gcc2 internal prototype to avoid an error. */ | 11605 /* Override any gcc2 internal prototype to avoid an error. */ |
| 11586 /* We use char because int might match the return type of a gcc2 | 11606 /* We use char because int might match the return type of a gcc2 |
| 11587 builtin and then its argument prototype would still apply. */ | 11607 builtin and then its argument prototype would still apply. */ |
| 11588 char RkBgnBun(); | 11608 char RkBgnBun(); |
| 11589 | 11609 |
| 11590 int main() { | 11610 int main() { |
| 11591 RkBgnBun() | 11611 RkBgnBun() |
| 11592 ; return 0; } | 11612 ; return 0; } |
| 11593 EOF | 11613 EOF |
| 11594 if { (eval echo configure:11595: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11614 if { (eval echo configure:11615: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 11595 rm -rf conftest* | 11615 rm -rf conftest* |
| 11596 eval "ac_cv_lib_$ac_lib_var=yes" | 11616 eval "ac_cv_lib_$ac_lib_var=yes" |
| 11597 else | 11617 else |
| 11598 echo "configure: failed program was:" >&5 | 11618 echo "configure: failed program was:" >&5 |
| 11599 cat conftest.$ac_ext >&5 | 11619 cat conftest.$ac_ext >&5 |
| 11612 fi | 11632 fi |
| 11613 | 11633 |
| 11614 } | 11634 } |
| 11615 test -z "$with_canna" && { | 11635 test -z "$with_canna" && { |
| 11616 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 | 11636 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 |
| 11617 echo "configure:11618: checking for jrKanjiControl in -lcanna" >&5 | 11637 echo "configure:11638: checking for jrKanjiControl in -lcanna" >&5 |
| 11618 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` | 11638 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` |
| 11619 | 11639 |
| 11620 xe_check_libs=" -lcanna " | 11640 xe_check_libs=" -lcanna " |
| 11621 cat > conftest.$ac_ext <<EOF | 11641 cat > conftest.$ac_ext <<EOF |
| 11622 #line 11623 "configure" | 11642 #line 11643 "configure" |
| 11623 #include "confdefs.h" | 11643 #include "confdefs.h" |
| 11624 /* Override any gcc2 internal prototype to avoid an error. */ | 11644 /* Override any gcc2 internal prototype to avoid an error. */ |
| 11625 /* We use char because int might match the return type of a gcc2 | 11645 /* We use char because int might match the return type of a gcc2 |
| 11626 builtin and then its argument prototype would still apply. */ | 11646 builtin and then its argument prototype would still apply. */ |
| 11627 char jrKanjiControl(); | 11647 char jrKanjiControl(); |
| 11628 | 11648 |
| 11629 int main() { | 11649 int main() { |
| 11630 jrKanjiControl() | 11650 jrKanjiControl() |
| 11631 ; return 0; } | 11651 ; return 0; } |
| 11632 EOF | 11652 EOF |
| 11633 if { (eval echo configure:11634: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11653 if { (eval echo configure:11654: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 11634 rm -rf conftest* | 11654 rm -rf conftest* |
| 11635 eval "ac_cv_lib_$ac_lib_var=yes" | 11655 eval "ac_cv_lib_$ac_lib_var=yes" |
| 11636 else | 11656 else |
| 11637 echo "configure: failed program was:" >&5 | 11657 echo "configure: failed program was:" >&5 |
| 11638 cat conftest.$ac_ext >&5 | 11658 cat conftest.$ac_ext >&5 |
| 11674 | 11694 |
| 11675 if test "$need_motif" = "yes" ; then | 11695 if test "$need_motif" = "yes" ; then |
| 11676 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi | 11696 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi |
| 11677 | 11697 |
| 11678 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 | 11698 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 |
| 11679 echo "configure:11680: checking for layout_object_getvalue in -li18n" >&5 | 11699 echo "configure:11700: checking for layout_object_getvalue in -li18n" >&5 |
| 11680 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` | 11700 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` |
| 11681 | 11701 |
| 11682 xe_check_libs=" -li18n " | 11702 xe_check_libs=" -li18n " |
| 11683 cat > conftest.$ac_ext <<EOF | 11703 cat > conftest.$ac_ext <<EOF |
| 11684 #line 11685 "configure" | 11704 #line 11705 "configure" |
| 11685 #include "confdefs.h" | 11705 #include "confdefs.h" |
| 11686 /* Override any gcc2 internal prototype to avoid an error. */ | 11706 /* Override any gcc2 internal prototype to avoid an error. */ |
| 11687 /* We use char because int might match the return type of a gcc2 | 11707 /* We use char because int might match the return type of a gcc2 |
| 11688 builtin and then its argument prototype would still apply. */ | 11708 builtin and then its argument prototype would still apply. */ |
| 11689 char layout_object_getvalue(); | 11709 char layout_object_getvalue(); |
| 11690 | 11710 |
| 11691 int main() { | 11711 int main() { |
| 11692 layout_object_getvalue() | 11712 layout_object_getvalue() |
| 11693 ; return 0; } | 11713 ; return 0; } |
| 11694 EOF | 11714 EOF |
| 11695 if { (eval echo configure:11696: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11715 if { (eval echo configure:11716: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 11696 rm -rf conftest* | 11716 rm -rf conftest* |
| 11697 eval "ac_cv_lib_$ac_lib_var=yes" | 11717 eval "ac_cv_lib_$ac_lib_var=yes" |
| 11698 else | 11718 else |
| 11699 echo "configure: failed program was:" >&5 | 11719 echo "configure: failed program was:" >&5 |
| 11700 cat conftest.$ac_ext >&5 | 11720 cat conftest.$ac_ext >&5 |
| 11777 | 11797 |
| 11778 | 11798 |
| 11779 for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp ftime getaddrinfo gethostname getnameinfo getpagesize gettimeofday getcwd getwd link logb lrand48 matherr mkdir mktime perror poll random readlink rename res_init rint rmdir select setitimer setpgid setlocale setsid sigblock sighold sigprocmask snprintf stpcpy strerror strlwr strupr symlink tzset ulimit usleep waitpid vsnprintf fsync ftruncate umask wcslen wcscmp | 11799 for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp ftime getaddrinfo gethostname getnameinfo getpagesize gettimeofday getcwd getwd link logb lrand48 matherr mkdir mktime perror poll random readlink rename res_init rint rmdir select setitimer setpgid setlocale setsid sigblock sighold sigprocmask snprintf stpcpy strerror strlwr strupr symlink tzset ulimit usleep waitpid vsnprintf fsync ftruncate umask wcslen wcscmp |
| 11780 do | 11800 do |
| 11781 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11801 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 11782 echo "configure:11783: checking for $ac_func" >&5 | 11802 echo "configure:11803: checking for $ac_func" >&5 |
| 11783 | 11803 |
| 11784 cat > conftest.$ac_ext <<EOF | 11804 cat > conftest.$ac_ext <<EOF |
| 11785 #line 11786 "configure" | 11805 #line 11806 "configure" |
| 11786 #include "confdefs.h" | 11806 #include "confdefs.h" |
| 11787 /* System header to define __stub macros and hopefully few prototypes, | 11807 /* System header to define __stub macros and hopefully few prototypes, |
| 11788 which can conflict with char $ac_func(); below. */ | 11808 which can conflict with char $ac_func(); below. */ |
| 11789 #include <assert.h> | 11809 #include <assert.h> |
| 11790 /* Override any gcc2 internal prototype to avoid an error. */ | 11810 /* Override any gcc2 internal prototype to avoid an error. */ |
| 11803 $ac_func(); | 11823 $ac_func(); |
| 11804 #endif | 11824 #endif |
| 11805 | 11825 |
| 11806 ; return 0; } | 11826 ; return 0; } |
| 11807 EOF | 11827 EOF |
| 11808 if { (eval echo configure:11809: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11828 if { (eval echo configure:11829: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 11809 rm -rf conftest* | 11829 rm -rf conftest* |
| 11810 eval "ac_cv_func_$ac_func=yes" | 11830 eval "ac_cv_func_$ac_func=yes" |
| 11811 else | 11831 else |
| 11812 echo "configure: failed program was:" >&5 | 11832 echo "configure: failed program was:" >&5 |
| 11813 cat conftest.$ac_ext >&5 | 11833 cat conftest.$ac_ext >&5 |
| 11844 | 11864 |
| 11845 | 11865 |
| 11846 for ac_func in getpt _getpty grantpt unlockpt ptsname killpg tcgetpgrp | 11866 for ac_func in getpt _getpty grantpt unlockpt ptsname killpg tcgetpgrp |
| 11847 do | 11867 do |
| 11848 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11868 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 11849 echo "configure:11850: checking for $ac_func" >&5 | 11869 echo "configure:11870: checking for $ac_func" >&5 |
| 11850 | 11870 |
| 11851 cat > conftest.$ac_ext <<EOF | 11871 cat > conftest.$ac_ext <<EOF |
| 11852 #line 11853 "configure" | 11872 #line 11873 "configure" |
| 11853 #include "confdefs.h" | 11873 #include "confdefs.h" |
| 11854 /* System header to define __stub macros and hopefully few prototypes, | 11874 /* System header to define __stub macros and hopefully few prototypes, |
| 11855 which can conflict with char $ac_func(); below. */ | 11875 which can conflict with char $ac_func(); below. */ |
| 11856 #include <assert.h> | 11876 #include <assert.h> |
| 11857 /* Override any gcc2 internal prototype to avoid an error. */ | 11877 /* Override any gcc2 internal prototype to avoid an error. */ |
| 11870 $ac_func(); | 11890 $ac_func(); |
| 11871 #endif | 11891 #endif |
| 11872 | 11892 |
| 11873 ; return 0; } | 11893 ; return 0; } |
| 11874 EOF | 11894 EOF |
| 11875 if { (eval echo configure:11876: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11895 if { (eval echo configure:11896: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 11876 rm -rf conftest* | 11896 rm -rf conftest* |
| 11877 eval "ac_cv_func_$ac_func=yes" | 11897 eval "ac_cv_func_$ac_func=yes" |
| 11878 else | 11898 else |
| 11879 echo "configure: failed program was:" >&5 | 11899 echo "configure: failed program was:" >&5 |
| 11880 cat conftest.$ac_ext >&5 | 11900 cat conftest.$ac_ext >&5 |
| 11899 fi | 11919 fi |
| 11900 done | 11920 done |
| 11901 | 11921 |
| 11902 | 11922 |
| 11903 echo $ac_n "checking for openpty""... $ac_c" 1>&6 | 11923 echo $ac_n "checking for openpty""... $ac_c" 1>&6 |
| 11904 echo "configure:11905: checking for openpty" >&5 | 11924 echo "configure:11925: checking for openpty" >&5 |
| 11905 | 11925 |
| 11906 cat > conftest.$ac_ext <<EOF | 11926 cat > conftest.$ac_ext <<EOF |
| 11907 #line 11908 "configure" | 11927 #line 11928 "configure" |
| 11908 #include "confdefs.h" | 11928 #include "confdefs.h" |
| 11909 /* System header to define __stub macros and hopefully few prototypes, | 11929 /* System header to define __stub macros and hopefully few prototypes, |
| 11910 which can conflict with char openpty(); below. */ | 11930 which can conflict with char openpty(); below. */ |
| 11911 #include <assert.h> | 11931 #include <assert.h> |
| 11912 /* Override any gcc2 internal prototype to avoid an error. */ | 11932 /* Override any gcc2 internal prototype to avoid an error. */ |
| 11925 openpty(); | 11945 openpty(); |
| 11926 #endif | 11946 #endif |
| 11927 | 11947 |
| 11928 ; return 0; } | 11948 ; return 0; } |
| 11929 EOF | 11949 EOF |
| 11930 if { (eval echo configure:11931: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11950 if { (eval echo configure:11951: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 11931 rm -rf conftest* | 11951 rm -rf conftest* |
| 11932 eval "ac_cv_func_openpty=yes" | 11952 eval "ac_cv_func_openpty=yes" |
| 11933 else | 11953 else |
| 11934 echo "configure: failed program was:" >&5 | 11954 echo "configure: failed program was:" >&5 |
| 11935 cat conftest.$ac_ext >&5 | 11955 cat conftest.$ac_ext >&5 |
| 11944 else | 11964 else |
| 11945 echo "$ac_t""no" 1>&6 | 11965 echo "$ac_t""no" 1>&6 |
| 11946 | 11966 |
| 11947 | 11967 |
| 11948 echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6 | 11968 echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6 |
| 11949 echo "configure:11950: checking for openpty in -lutil" >&5 | 11969 echo "configure:11970: checking for openpty in -lutil" >&5 |
| 11950 ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'` | 11970 ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'` |
| 11951 | 11971 |
| 11952 xe_check_libs=" -lutil " | 11972 xe_check_libs=" -lutil " |
| 11953 cat > conftest.$ac_ext <<EOF | 11973 cat > conftest.$ac_ext <<EOF |
| 11954 #line 11955 "configure" | 11974 #line 11975 "configure" |
| 11955 #include "confdefs.h" | 11975 #include "confdefs.h" |
| 11956 /* Override any gcc2 internal prototype to avoid an error. */ | 11976 /* Override any gcc2 internal prototype to avoid an error. */ |
| 11957 /* We use char because int might match the return type of a gcc2 | 11977 /* We use char because int might match the return type of a gcc2 |
| 11958 builtin and then its argument prototype would still apply. */ | 11978 builtin and then its argument prototype would still apply. */ |
| 11959 char openpty(); | 11979 char openpty(); |
| 11960 | 11980 |
| 11961 int main() { | 11981 int main() { |
| 11962 openpty() | 11982 openpty() |
| 11963 ; return 0; } | 11983 ; return 0; } |
| 11964 EOF | 11984 EOF |
| 11965 if { (eval echo configure:11966: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11985 if { (eval echo configure:11986: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 11966 rm -rf conftest* | 11986 rm -rf conftest* |
| 11967 eval "ac_cv_lib_$ac_lib_var=yes" | 11987 eval "ac_cv_lib_$ac_lib_var=yes" |
| 11968 else | 11988 else |
| 11969 echo "configure: failed program was:" >&5 | 11989 echo "configure: failed program was:" >&5 |
| 11970 cat conftest.$ac_ext >&5 | 11990 cat conftest.$ac_ext >&5 |
| 11995 | 12015 |
| 11996 for ac_hdr in libutil.h util.h | 12016 for ac_hdr in libutil.h util.h |
| 11997 do | 12017 do |
| 11998 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12018 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 11999 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12019 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 12000 echo "configure:12001: checking for $ac_hdr" >&5 | 12020 echo "configure:12021: checking for $ac_hdr" >&5 |
| 12001 | 12021 |
| 12002 cat > conftest.$ac_ext <<EOF | 12022 cat > conftest.$ac_ext <<EOF |
| 12003 #line 12004 "configure" | 12023 #line 12024 "configure" |
| 12004 #include "confdefs.h" | 12024 #include "confdefs.h" |
| 12005 #include <$ac_hdr> | 12025 #include <$ac_hdr> |
| 12006 EOF | 12026 EOF |
| 12007 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12027 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 12008 { (eval echo configure:12009: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12028 { (eval echo configure:12029: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 12009 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12029 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 12010 if test -z "$ac_err"; then | 12030 if test -z "$ac_err"; then |
| 12011 rm -rf conftest* | 12031 rm -rf conftest* |
| 12012 eval "ac_cv_header_$ac_safe=yes" | 12032 eval "ac_cv_header_$ac_safe=yes" |
| 12013 else | 12033 else |
| 12040 case "$opsys" in | 12060 case "$opsys" in |
| 12041 hpux*) for ac_hdr in sys/ptyio.h | 12061 hpux*) for ac_hdr in sys/ptyio.h |
| 12042 do | 12062 do |
| 12043 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12063 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 12044 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12064 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 12045 echo "configure:12046: checking for $ac_hdr" >&5 | 12065 echo "configure:12066: checking for $ac_hdr" >&5 |
| 12046 | 12066 |
| 12047 cat > conftest.$ac_ext <<EOF | 12067 cat > conftest.$ac_ext <<EOF |
| 12048 #line 12049 "configure" | 12068 #line 12069 "configure" |
| 12049 #include "confdefs.h" | 12069 #include "confdefs.h" |
| 12050 #include <$ac_hdr> | 12070 #include <$ac_hdr> |
| 12051 EOF | 12071 EOF |
| 12052 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12072 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 12053 { (eval echo configure:12054: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12073 { (eval echo configure:12074: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 12054 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12074 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 12055 if test -z "$ac_err"; then | 12075 if test -z "$ac_err"; then |
| 12056 rm -rf conftest* | 12076 rm -rf conftest* |
| 12057 eval "ac_cv_header_$ac_safe=yes" | 12077 eval "ac_cv_header_$ac_safe=yes" |
| 12058 else | 12078 else |
| 12081 ;; | 12101 ;; |
| 12082 *) for ac_hdr in pty.h | 12102 *) for ac_hdr in pty.h |
| 12083 do | 12103 do |
| 12084 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12104 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 12085 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12105 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 12086 echo "configure:12087: checking for $ac_hdr" >&5 | 12106 echo "configure:12107: checking for $ac_hdr" >&5 |
| 12087 | 12107 |
| 12088 cat > conftest.$ac_ext <<EOF | 12108 cat > conftest.$ac_ext <<EOF |
| 12089 #line 12090 "configure" | 12109 #line 12110 "configure" |
| 12090 #include "confdefs.h" | 12110 #include "confdefs.h" |
| 12091 #include <$ac_hdr> | 12111 #include <$ac_hdr> |
| 12092 EOF | 12112 EOF |
| 12093 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12113 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 12094 { (eval echo configure:12095: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12114 { (eval echo configure:12115: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 12095 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12115 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 12096 if test -z "$ac_err"; then | 12116 if test -z "$ac_err"; then |
| 12097 rm -rf conftest* | 12117 rm -rf conftest* |
| 12098 eval "ac_cv_header_$ac_safe=yes" | 12118 eval "ac_cv_header_$ac_safe=yes" |
| 12099 else | 12119 else |
| 12122 | 12142 |
| 12123 test "$ac_cv_header_pty_h" = "no" && for ac_hdr in sys/pty.h | 12143 test "$ac_cv_header_pty_h" = "no" && for ac_hdr in sys/pty.h |
| 12124 do | 12144 do |
| 12125 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12145 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 12126 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12146 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 12127 echo "configure:12128: checking for $ac_hdr" >&5 | 12147 echo "configure:12148: checking for $ac_hdr" >&5 |
| 12128 | 12148 |
| 12129 cat > conftest.$ac_ext <<EOF | 12149 cat > conftest.$ac_ext <<EOF |
| 12130 #line 12131 "configure" | 12150 #line 12151 "configure" |
| 12131 #include "confdefs.h" | 12151 #include "confdefs.h" |
| 12132 #include <$ac_hdr> | 12152 #include <$ac_hdr> |
| 12133 EOF | 12153 EOF |
| 12134 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12154 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 12135 { (eval echo configure:12136: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12155 { (eval echo configure:12156: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 12136 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12156 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 12137 if test -z "$ac_err"; then | 12157 if test -z "$ac_err"; then |
| 12138 rm -rf conftest* | 12158 rm -rf conftest* |
| 12139 eval "ac_cv_header_$ac_safe=yes" | 12159 eval "ac_cv_header_$ac_safe=yes" |
| 12140 else | 12160 else |
| 12166 | 12186 |
| 12167 for ac_hdr in stropts.h | 12187 for ac_hdr in stropts.h |
| 12168 do | 12188 do |
| 12169 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12189 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 12170 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12190 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 12171 echo "configure:12172: checking for $ac_hdr" >&5 | 12191 echo "configure:12192: checking for $ac_hdr" >&5 |
| 12172 | 12192 |
| 12173 cat > conftest.$ac_ext <<EOF | 12193 cat > conftest.$ac_ext <<EOF |
| 12174 #line 12175 "configure" | 12194 #line 12195 "configure" |
| 12175 #include "confdefs.h" | 12195 #include "confdefs.h" |
| 12176 #include <$ac_hdr> | 12196 #include <$ac_hdr> |
| 12177 EOF | 12197 EOF |
| 12178 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12198 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 12179 { (eval echo configure:12180: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12199 { (eval echo configure:12200: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 12180 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12200 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 12181 if test -z "$ac_err"; then | 12201 if test -z "$ac_err"; then |
| 12182 rm -rf conftest* | 12202 rm -rf conftest* |
| 12183 eval "ac_cv_header_$ac_safe=yes" | 12203 eval "ac_cv_header_$ac_safe=yes" |
| 12184 else | 12204 else |
| 12207 | 12227 |
| 12208 if test "$ac_cv_header_stropts_h" = "yes"; then | 12228 if test "$ac_cv_header_stropts_h" = "yes"; then |
| 12209 for ac_func in isastream | 12229 for ac_func in isastream |
| 12210 do | 12230 do |
| 12211 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 12231 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 12212 echo "configure:12213: checking for $ac_func" >&5 | 12232 echo "configure:12233: checking for $ac_func" >&5 |
| 12213 | 12233 |
| 12214 cat > conftest.$ac_ext <<EOF | 12234 cat > conftest.$ac_ext <<EOF |
| 12215 #line 12216 "configure" | 12235 #line 12236 "configure" |
| 12216 #include "confdefs.h" | 12236 #include "confdefs.h" |
| 12217 /* System header to define __stub macros and hopefully few prototypes, | 12237 /* System header to define __stub macros and hopefully few prototypes, |
| 12218 which can conflict with char $ac_func(); below. */ | 12238 which can conflict with char $ac_func(); below. */ |
| 12219 #include <assert.h> | 12239 #include <assert.h> |
| 12220 /* Override any gcc2 internal prototype to avoid an error. */ | 12240 /* Override any gcc2 internal prototype to avoid an error. */ |
| 12233 $ac_func(); | 12253 $ac_func(); |
| 12234 #endif | 12254 #endif |
| 12235 | 12255 |
| 12236 ; return 0; } | 12256 ; return 0; } |
| 12237 EOF | 12257 EOF |
| 12238 if { (eval echo configure:12239: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12258 if { (eval echo configure:12259: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 12239 rm -rf conftest* | 12259 rm -rf conftest* |
| 12240 eval "ac_cv_func_$ac_func=yes" | 12260 eval "ac_cv_func_$ac_func=yes" |
| 12241 else | 12261 else |
| 12242 echo "configure: failed program was:" >&5 | 12262 echo "configure: failed program was:" >&5 |
| 12243 cat conftest.$ac_ext >&5 | 12263 cat conftest.$ac_ext >&5 |
| 12264 | 12284 |
| 12265 for ac_hdr in strtio.h | 12285 for ac_hdr in strtio.h |
| 12266 do | 12286 do |
| 12267 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12287 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 12268 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12288 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 12269 echo "configure:12270: checking for $ac_hdr" >&5 | 12289 echo "configure:12290: checking for $ac_hdr" >&5 |
| 12270 | 12290 |
| 12271 cat > conftest.$ac_ext <<EOF | 12291 cat > conftest.$ac_ext <<EOF |
| 12272 #line 12273 "configure" | 12292 #line 12293 "configure" |
| 12273 #include "confdefs.h" | 12293 #include "confdefs.h" |
| 12274 #include <$ac_hdr> | 12294 #include <$ac_hdr> |
| 12275 EOF | 12295 EOF |
| 12276 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12296 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 12277 { (eval echo configure:12278: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12297 { (eval echo configure:12298: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 12278 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12298 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 12279 if test -z "$ac_err"; then | 12299 if test -z "$ac_err"; then |
| 12280 rm -rf conftest* | 12300 rm -rf conftest* |
| 12281 eval "ac_cv_header_$ac_safe=yes" | 12301 eval "ac_cv_header_$ac_safe=yes" |
| 12282 else | 12302 else |
| 12305 fi | 12325 fi |
| 12306 | 12326 |
| 12307 for ac_func in getloadavg | 12327 for ac_func in getloadavg |
| 12308 do | 12328 do |
| 12309 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 12329 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 12310 echo "configure:12311: checking for $ac_func" >&5 | 12330 echo "configure:12331: checking for $ac_func" >&5 |
| 12311 | 12331 |
| 12312 cat > conftest.$ac_ext <<EOF | 12332 cat > conftest.$ac_ext <<EOF |
| 12313 #line 12314 "configure" | 12333 #line 12334 "configure" |
| 12314 #include "confdefs.h" | 12334 #include "confdefs.h" |
| 12315 /* System header to define __stub macros and hopefully few prototypes, | 12335 /* System header to define __stub macros and hopefully few prototypes, |
| 12316 which can conflict with char $ac_func(); below. */ | 12336 which can conflict with char $ac_func(); below. */ |
| 12317 #include <assert.h> | 12337 #include <assert.h> |
| 12318 /* Override any gcc2 internal prototype to avoid an error. */ | 12338 /* Override any gcc2 internal prototype to avoid an error. */ |
| 12331 $ac_func(); | 12351 $ac_func(); |
| 12332 #endif | 12352 #endif |
| 12333 | 12353 |
| 12334 ; return 0; } | 12354 ; return 0; } |
| 12335 EOF | 12355 EOF |
| 12336 if { (eval echo configure:12337: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12356 if { (eval echo configure:12357: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 12337 rm -rf conftest* | 12357 rm -rf conftest* |
| 12338 eval "ac_cv_func_$ac_func=yes" | 12358 eval "ac_cv_func_$ac_func=yes" |
| 12339 else | 12359 else |
| 12340 echo "configure: failed program was:" >&5 | 12360 echo "configure: failed program was:" >&5 |
| 12341 cat conftest.$ac_ext >&5 | 12361 cat conftest.$ac_ext >&5 |
| 12364 if test "$ac_cv_func_getloadavg" = "yes"; then | 12384 if test "$ac_cv_func_getloadavg" = "yes"; then |
| 12365 for ac_hdr in sys/loadavg.h | 12385 for ac_hdr in sys/loadavg.h |
| 12366 do | 12386 do |
| 12367 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12387 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 12368 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12388 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 12369 echo "configure:12370: checking for $ac_hdr" >&5 | 12389 echo "configure:12390: checking for $ac_hdr" >&5 |
| 12370 | 12390 |
| 12371 cat > conftest.$ac_ext <<EOF | 12391 cat > conftest.$ac_ext <<EOF |
| 12372 #line 12373 "configure" | 12392 #line 12393 "configure" |
| 12373 #include "confdefs.h" | 12393 #include "confdefs.h" |
| 12374 #include <$ac_hdr> | 12394 #include <$ac_hdr> |
| 12375 EOF | 12395 EOF |
| 12376 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12396 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 12377 { (eval echo configure:12378: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12397 { (eval echo configure:12398: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 12378 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12398 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 12379 if test -z "$ac_err"; then | 12399 if test -z "$ac_err"; then |
| 12380 rm -rf conftest* | 12400 rm -rf conftest* |
| 12381 eval "ac_cv_header_$ac_safe=yes" | 12401 eval "ac_cv_header_$ac_safe=yes" |
| 12382 else | 12402 else |
| 12408 echo " xemacs will be linked with \"getloadavg.o\"" | 12428 echo " xemacs will be linked with \"getloadavg.o\"" |
| 12409 fi | 12429 fi |
| 12410 | 12430 |
| 12411 | 12431 |
| 12412 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 | 12432 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 |
| 12413 echo "configure:12414: checking for kstat_open in -lkstat" >&5 | 12433 echo "configure:12434: checking for kstat_open in -lkstat" >&5 |
| 12414 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` | 12434 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` |
| 12415 | 12435 |
| 12416 xe_check_libs=" -lkstat " | 12436 xe_check_libs=" -lkstat " |
| 12417 cat > conftest.$ac_ext <<EOF | 12437 cat > conftest.$ac_ext <<EOF |
| 12418 #line 12419 "configure" | 12438 #line 12439 "configure" |
| 12419 #include "confdefs.h" | 12439 #include "confdefs.h" |
| 12420 /* Override any gcc2 internal prototype to avoid an error. */ | 12440 /* Override any gcc2 internal prototype to avoid an error. */ |
| 12421 /* We use char because int might match the return type of a gcc2 | 12441 /* We use char because int might match the return type of a gcc2 |
| 12422 builtin and then its argument prototype would still apply. */ | 12442 builtin and then its argument prototype would still apply. */ |
| 12423 char kstat_open(); | 12443 char kstat_open(); |
| 12424 | 12444 |
| 12425 int main() { | 12445 int main() { |
| 12426 kstat_open() | 12446 kstat_open() |
| 12427 ; return 0; } | 12447 ; return 0; } |
| 12428 EOF | 12448 EOF |
| 12429 if { (eval echo configure:12430: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12449 if { (eval echo configure:12450: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 12430 rm -rf conftest* | 12450 rm -rf conftest* |
| 12431 eval "ac_cv_lib_$ac_lib_var=yes" | 12451 eval "ac_cv_lib_$ac_lib_var=yes" |
| 12432 else | 12452 else |
| 12433 echo "configure: failed program was:" >&5 | 12453 echo "configure: failed program was:" >&5 |
| 12434 cat conftest.$ac_ext >&5 | 12454 cat conftest.$ac_ext >&5 |
| 12459 | 12479 |
| 12460 for ac_hdr in kstat.h | 12480 for ac_hdr in kstat.h |
| 12461 do | 12481 do |
| 12462 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12482 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 12463 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12483 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 12464 echo "configure:12465: checking for $ac_hdr" >&5 | 12484 echo "configure:12485: checking for $ac_hdr" >&5 |
| 12465 | 12485 |
| 12466 cat > conftest.$ac_ext <<EOF | 12486 cat > conftest.$ac_ext <<EOF |
| 12467 #line 12468 "configure" | 12487 #line 12488 "configure" |
| 12468 #include "confdefs.h" | 12488 #include "confdefs.h" |
| 12469 #include <$ac_hdr> | 12489 #include <$ac_hdr> |
| 12470 EOF | 12490 EOF |
| 12471 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12491 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 12472 { (eval echo configure:12473: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12492 { (eval echo configure:12493: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 12473 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12493 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 12474 if test -z "$ac_err"; then | 12494 if test -z "$ac_err"; then |
| 12475 rm -rf conftest* | 12495 rm -rf conftest* |
| 12476 eval "ac_cv_header_$ac_safe=yes" | 12496 eval "ac_cv_header_$ac_safe=yes" |
| 12477 else | 12497 else |
| 12499 done | 12519 done |
| 12500 | 12520 |
| 12501 | 12521 |
| 12502 | 12522 |
| 12503 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 | 12523 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 |
| 12504 echo "configure:12505: checking for kvm_read in -lkvm" >&5 | 12524 echo "configure:12525: checking for kvm_read in -lkvm" >&5 |
| 12505 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` | 12525 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` |
| 12506 | 12526 |
| 12507 xe_check_libs=" -lkvm " | 12527 xe_check_libs=" -lkvm " |
| 12508 cat > conftest.$ac_ext <<EOF | 12528 cat > conftest.$ac_ext <<EOF |
| 12509 #line 12510 "configure" | 12529 #line 12530 "configure" |
| 12510 #include "confdefs.h" | 12530 #include "confdefs.h" |
| 12511 /* Override any gcc2 internal prototype to avoid an error. */ | 12531 /* Override any gcc2 internal prototype to avoid an error. */ |
| 12512 /* We use char because int might match the return type of a gcc2 | 12532 /* We use char because int might match the return type of a gcc2 |
| 12513 builtin and then its argument prototype would still apply. */ | 12533 builtin and then its argument prototype would still apply. */ |
| 12514 char kvm_read(); | 12534 char kvm_read(); |
| 12515 | 12535 |
| 12516 int main() { | 12536 int main() { |
| 12517 kvm_read() | 12537 kvm_read() |
| 12518 ; return 0; } | 12538 ; return 0; } |
| 12519 EOF | 12539 EOF |
| 12520 if { (eval echo configure:12521: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12540 if { (eval echo configure:12541: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 12521 rm -rf conftest* | 12541 rm -rf conftest* |
| 12522 eval "ac_cv_lib_$ac_lib_var=yes" | 12542 eval "ac_cv_lib_$ac_lib_var=yes" |
| 12523 else | 12543 else |
| 12524 echo "configure: failed program was:" >&5 | 12544 echo "configure: failed program was:" >&5 |
| 12525 cat conftest.$ac_ext >&5 | 12545 cat conftest.$ac_ext >&5 |
| 12549 | 12569 |
| 12550 | 12570 |
| 12551 fi | 12571 fi |
| 12552 | 12572 |
| 12553 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 | 12573 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 |
| 12554 echo "configure:12555: checking whether netdb declares h_errno" >&5 | 12574 echo "configure:12575: checking whether netdb declares h_errno" >&5 |
| 12555 cat > conftest.$ac_ext <<EOF | 12575 cat > conftest.$ac_ext <<EOF |
| 12556 #line 12557 "configure" | 12576 #line 12577 "configure" |
| 12557 #include "confdefs.h" | 12577 #include "confdefs.h" |
| 12558 #include <netdb.h> | 12578 #include <netdb.h> |
| 12559 int main() { | 12579 int main() { |
| 12560 return h_errno; | 12580 return h_errno; |
| 12561 ; return 0; } | 12581 ; return 0; } |
| 12562 EOF | 12582 EOF |
| 12563 if { (eval echo configure:12564: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12583 if { (eval echo configure:12584: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 12564 rm -rf conftest* | 12584 rm -rf conftest* |
| 12565 echo "$ac_t""yes" 1>&6 | 12585 echo "$ac_t""yes" 1>&6 |
| 12566 { test "$extra_verbose" = "yes" && cat << \EOF | 12586 { test "$extra_verbose" = "yes" && cat << \EOF |
| 12567 Defining HAVE_H_ERRNO | 12587 Defining HAVE_H_ERRNO |
| 12568 EOF | 12588 EOF |
| 12578 echo "$ac_t""no" 1>&6 | 12598 echo "$ac_t""no" 1>&6 |
| 12579 fi | 12599 fi |
| 12580 rm -f conftest* | 12600 rm -f conftest* |
| 12581 | 12601 |
| 12582 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 | 12602 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 |
| 12583 echo "configure:12584: checking for sigsetjmp" >&5 | 12603 echo "configure:12604: checking for sigsetjmp" >&5 |
| 12584 cat > conftest.$ac_ext <<EOF | 12604 cat > conftest.$ac_ext <<EOF |
| 12585 #line 12586 "configure" | 12605 #line 12606 "configure" |
| 12586 #include "confdefs.h" | 12606 #include "confdefs.h" |
| 12587 #include <setjmp.h> | 12607 #include <setjmp.h> |
| 12588 int main() { | 12608 int main() { |
| 12589 sigjmp_buf bar; sigsetjmp (bar, 0); | 12609 sigjmp_buf bar; sigsetjmp (bar, 0); |
| 12590 ; return 0; } | 12610 ; return 0; } |
| 12591 EOF | 12611 EOF |
| 12592 if { (eval echo configure:12593: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 12612 if { (eval echo configure:12613: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 12593 rm -rf conftest* | 12613 rm -rf conftest* |
| 12594 echo "$ac_t""yes" 1>&6 | 12614 echo "$ac_t""yes" 1>&6 |
| 12595 { test "$extra_verbose" = "yes" && cat << \EOF | 12615 { test "$extra_verbose" = "yes" && cat << \EOF |
| 12596 Defining HAVE_SIGSETJMP | 12616 Defining HAVE_SIGSETJMP |
| 12597 EOF | 12617 EOF |
| 12607 echo "$ac_t""no" 1>&6 | 12627 echo "$ac_t""no" 1>&6 |
| 12608 fi | 12628 fi |
| 12609 rm -f conftest* | 12629 rm -f conftest* |
| 12610 | 12630 |
| 12611 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 | 12631 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 |
| 12612 echo "configure:12613: checking whether localtime caches TZ" >&5 | 12632 echo "configure:12633: checking whether localtime caches TZ" >&5 |
| 12613 | 12633 |
| 12614 if test "$ac_cv_func_tzset" = "yes"; then | 12634 if test "$ac_cv_func_tzset" = "yes"; then |
| 12615 cat > conftest.$ac_ext <<EOF | 12635 cat > conftest.$ac_ext <<EOF |
| 12616 #line 12617 "configure" | 12636 #line 12637 "configure" |
| 12617 #include "confdefs.h" | 12637 #include "confdefs.h" |
| 12618 #include <time.h> | 12638 #include <time.h> |
| 12619 #if STDC_HEADERS | 12639 #if STDC_HEADERS |
| 12620 # include <stdlib.h> | 12640 # include <stdlib.h> |
| 12621 #endif | 12641 #endif |
| 12646 if (localtime (&now)->tm_hour != hour_unset) | 12666 if (localtime (&now)->tm_hour != hour_unset) |
| 12647 exit (1); | 12667 exit (1); |
| 12648 exit (0); | 12668 exit (0); |
| 12649 } | 12669 } |
| 12650 EOF | 12670 EOF |
| 12651 if { (eval echo configure:12652: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12671 if { (eval echo configure:12672: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 12652 then | 12672 then |
| 12653 emacs_cv_localtime_cache=no | 12673 emacs_cv_localtime_cache=no |
| 12654 else | 12674 else |
| 12655 conftest_rc="$?" | 12675 conftest_rc="$?" |
| 12656 echo "configure: failed program was:" >&5 | 12676 echo "configure: failed program was:" >&5 |
| 12676 | 12696 |
| 12677 fi | 12697 fi |
| 12678 | 12698 |
| 12679 if test "$HAVE_TIMEVAL" = "yes"; then | 12699 if test "$HAVE_TIMEVAL" = "yes"; then |
| 12680 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 | 12700 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 |
| 12681 echo "configure:12682: checking whether gettimeofday accepts one or two arguments" >&5 | 12701 echo "configure:12702: checking whether gettimeofday accepts one or two arguments" >&5 |
| 12682 cat > conftest.$ac_ext <<EOF | 12702 cat > conftest.$ac_ext <<EOF |
| 12683 #line 12684 "configure" | 12703 #line 12704 "configure" |
| 12684 #include "confdefs.h" | 12704 #include "confdefs.h" |
| 12685 | 12705 |
| 12686 #ifdef TIME_WITH_SYS_TIME | 12706 #ifdef TIME_WITH_SYS_TIME |
| 12687 #include <sys/time.h> | 12707 #include <sys/time.h> |
| 12688 #include <time.h> | 12708 #include <time.h> |
| 12699 struct timeval time; | 12719 struct timeval time; |
| 12700 gettimeofday (&time, 0); | 12720 gettimeofday (&time, 0); |
| 12701 | 12721 |
| 12702 ; return 0; } | 12722 ; return 0; } |
| 12703 EOF | 12723 EOF |
| 12704 if { (eval echo configure:12705: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12724 if { (eval echo configure:12725: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 12705 rm -rf conftest* | 12725 rm -rf conftest* |
| 12706 echo "$ac_t""two" 1>&6 | 12726 echo "$ac_t""two" 1>&6 |
| 12707 else | 12727 else |
| 12708 echo "configure: failed program was:" >&5 | 12728 echo "configure: failed program was:" >&5 |
| 12709 cat conftest.$ac_ext >&5 | 12729 cat conftest.$ac_ext >&5 |
| 12721 rm -f conftest* | 12741 rm -f conftest* |
| 12722 fi | 12742 fi |
| 12723 | 12743 |
| 12724 | 12744 |
| 12725 echo $ac_n "checking for inline""... $ac_c" 1>&6 | 12745 echo $ac_n "checking for inline""... $ac_c" 1>&6 |
| 12726 echo "configure:12727: checking for inline" >&5 | 12746 echo "configure:12747: checking for inline" >&5 |
| 12727 | 12747 |
| 12728 ac_cv_c_inline=no | 12748 ac_cv_c_inline=no |
| 12729 for ac_kw in inline __inline__ __inline; do | 12749 for ac_kw in inline __inline__ __inline; do |
| 12730 cat > conftest.$ac_ext <<EOF | 12750 cat > conftest.$ac_ext <<EOF |
| 12731 #line 12732 "configure" | 12751 #line 12752 "configure" |
| 12732 #include "confdefs.h" | 12752 #include "confdefs.h" |
| 12733 | 12753 |
| 12734 int main() { | 12754 int main() { |
| 12735 } $ac_kw foo() { | 12755 } $ac_kw foo() { |
| 12736 ; return 0; } | 12756 ; return 0; } |
| 12737 EOF | 12757 EOF |
| 12738 if { (eval echo configure:12739: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 12758 if { (eval echo configure:12759: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 12739 rm -rf conftest* | 12759 rm -rf conftest* |
| 12740 ac_cv_c_inline=$ac_kw; break | 12760 ac_cv_c_inline=$ac_kw; break |
| 12741 else | 12761 else |
| 12742 echo "configure: failed program was:" >&5 | 12762 echo "configure: failed program was:" >&5 |
| 12743 cat conftest.$ac_ext >&5 | 12763 cat conftest.$ac_ext >&5 |
| 12774 | 12794 |
| 12775 if test "$__DECC" != "yes"; then | 12795 if test "$__DECC" != "yes"; then |
| 12776 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 12796 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
| 12777 # for constant arguments. Useless! | 12797 # for constant arguments. Useless! |
| 12778 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 | 12798 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 |
| 12779 echo "configure:12780: checking for working alloca.h" >&5 | 12799 echo "configure:12800: checking for working alloca.h" >&5 |
| 12780 | 12800 |
| 12781 cat > conftest.$ac_ext <<EOF | 12801 cat > conftest.$ac_ext <<EOF |
| 12782 #line 12783 "configure" | 12802 #line 12803 "configure" |
| 12783 #include "confdefs.h" | 12803 #include "confdefs.h" |
| 12784 #include <alloca.h> | 12804 #include <alloca.h> |
| 12785 int main() { | 12805 int main() { |
| 12786 char *p = alloca(2 * sizeof(int)); | 12806 char *p = alloca(2 * sizeof(int)); |
| 12787 ; return 0; } | 12807 ; return 0; } |
| 12788 EOF | 12808 EOF |
| 12789 if { (eval echo configure:12790: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12809 if { (eval echo configure:12810: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 12790 rm -rf conftest* | 12810 rm -rf conftest* |
| 12791 ac_cv_header_alloca_h=yes | 12811 ac_cv_header_alloca_h=yes |
| 12792 else | 12812 else |
| 12793 echo "configure: failed program was:" >&5 | 12813 echo "configure: failed program was:" >&5 |
| 12794 cat conftest.$ac_ext >&5 | 12814 cat conftest.$ac_ext >&5 |
| 12808 } | 12828 } |
| 12809 | 12829 |
| 12810 fi | 12830 fi |
| 12811 | 12831 |
| 12812 echo $ac_n "checking for alloca""... $ac_c" 1>&6 | 12832 echo $ac_n "checking for alloca""... $ac_c" 1>&6 |
| 12813 echo "configure:12814: checking for alloca" >&5 | 12833 echo "configure:12834: checking for alloca" >&5 |
| 12814 | 12834 |
| 12815 cat > conftest.$ac_ext <<EOF | 12835 cat > conftest.$ac_ext <<EOF |
| 12816 #line 12817 "configure" | 12836 #line 12837 "configure" |
| 12817 #include "confdefs.h" | 12837 #include "confdefs.h" |
| 12818 | 12838 |
| 12819 #ifdef __GNUC__ | 12839 #ifdef __GNUC__ |
| 12820 # define alloca __builtin_alloca | 12840 # define alloca __builtin_alloca |
| 12821 #else | 12841 #else |
| 12839 | 12859 |
| 12840 int main() { | 12860 int main() { |
| 12841 char *p = (char *) alloca(1); | 12861 char *p = (char *) alloca(1); |
| 12842 ; return 0; } | 12862 ; return 0; } |
| 12843 EOF | 12863 EOF |
| 12844 if { (eval echo configure:12845: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12864 if { (eval echo configure:12865: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 12845 rm -rf conftest* | 12865 rm -rf conftest* |
| 12846 ac_cv_func_alloca_works=yes | 12866 ac_cv_func_alloca_works=yes |
| 12847 else | 12867 else |
| 12848 echo "configure: failed program was:" >&5 | 12868 echo "configure: failed program was:" >&5 |
| 12849 cat conftest.$ac_ext >&5 | 12869 cat conftest.$ac_ext >&5 |
| 12878 EOF | 12898 EOF |
| 12879 } | 12899 } |
| 12880 | 12900 |
| 12881 | 12901 |
| 12882 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 | 12902 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 |
| 12883 echo "configure:12884: checking whether alloca needs Cray hooks" >&5 | 12903 echo "configure:12904: checking whether alloca needs Cray hooks" >&5 |
| 12884 | 12904 |
| 12885 cat > conftest.$ac_ext <<EOF | 12905 cat > conftest.$ac_ext <<EOF |
| 12886 #line 12887 "configure" | 12906 #line 12907 "configure" |
| 12887 #include "confdefs.h" | 12907 #include "confdefs.h" |
| 12888 #if defined(CRAY) && ! defined(CRAY2) | 12908 #if defined(CRAY) && ! defined(CRAY2) |
| 12889 webecray | 12909 webecray |
| 12890 #else | 12910 #else |
| 12891 wenotbecray | 12911 wenotbecray |
| 12905 | 12925 |
| 12906 echo "$ac_t""$ac_cv_os_cray" 1>&6 | 12926 echo "$ac_t""$ac_cv_os_cray" 1>&6 |
| 12907 if test $ac_cv_os_cray = yes; then | 12927 if test $ac_cv_os_cray = yes; then |
| 12908 for ac_func in _getb67 GETB67 getb67; do | 12928 for ac_func in _getb67 GETB67 getb67; do |
| 12909 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 12929 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 12910 echo "configure:12911: checking for $ac_func" >&5 | 12930 echo "configure:12931: checking for $ac_func" >&5 |
| 12911 | 12931 |
| 12912 cat > conftest.$ac_ext <<EOF | 12932 cat > conftest.$ac_ext <<EOF |
| 12913 #line 12914 "configure" | 12933 #line 12934 "configure" |
| 12914 #include "confdefs.h" | 12934 #include "confdefs.h" |
| 12915 /* System header to define __stub macros and hopefully few prototypes, | 12935 /* System header to define __stub macros and hopefully few prototypes, |
| 12916 which can conflict with char $ac_func(); below. */ | 12936 which can conflict with char $ac_func(); below. */ |
| 12917 #include <assert.h> | 12937 #include <assert.h> |
| 12918 /* Override any gcc2 internal prototype to avoid an error. */ | 12938 /* Override any gcc2 internal prototype to avoid an error. */ |
| 12931 $ac_func(); | 12951 $ac_func(); |
| 12932 #endif | 12952 #endif |
| 12933 | 12953 |
| 12934 ; return 0; } | 12954 ; return 0; } |
| 12935 EOF | 12955 EOF |
| 12936 if { (eval echo configure:12937: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12956 if { (eval echo configure:12957: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 12937 rm -rf conftest* | 12957 rm -rf conftest* |
| 12938 eval "ac_cv_func_$ac_func=yes" | 12958 eval "ac_cv_func_$ac_func=yes" |
| 12939 else | 12959 else |
| 12940 echo "configure: failed program was:" >&5 | 12960 echo "configure: failed program was:" >&5 |
| 12941 cat conftest.$ac_ext >&5 | 12961 cat conftest.$ac_ext >&5 |
| 12961 | 12981 |
| 12962 done | 12982 done |
| 12963 fi | 12983 fi |
| 12964 | 12984 |
| 12965 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 | 12985 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 |
| 12966 echo "configure:12967: checking stack direction for C alloca" >&5 | 12986 echo "configure:12987: checking stack direction for C alloca" >&5 |
| 12967 | 12987 |
| 12968 cat > conftest.$ac_ext <<EOF | 12988 cat > conftest.$ac_ext <<EOF |
| 12969 #line 12970 "configure" | 12989 #line 12990 "configure" |
| 12970 #include "confdefs.h" | 12990 #include "confdefs.h" |
| 12971 find_stack_direction () | 12991 find_stack_direction () |
| 12972 { | 12992 { |
| 12973 static char *addr = 0; | 12993 static char *addr = 0; |
| 12974 auto char dummy; | 12994 auto char dummy; |
| 12983 main () | 13003 main () |
| 12984 { | 13004 { |
| 12985 exit (find_stack_direction() < 0); | 13005 exit (find_stack_direction() < 0); |
| 12986 } | 13006 } |
| 12987 EOF | 13007 EOF |
| 12988 if { (eval echo configure:12989: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 13008 if { (eval echo configure:13009: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 12989 then | 13009 then |
| 12990 ac_cv_c_stack_direction=1 | 13010 ac_cv_c_stack_direction=1 |
| 12991 else | 13011 else |
| 12992 conftest_rc="$?" | 13012 conftest_rc="$?" |
| 12993 echo "configure: failed program was:" >&5 | 13013 echo "configure: failed program was:" >&5 |
| 13012 echo " xemacs will be linked with \"$ALLOCA\"" | 13032 echo " xemacs will be linked with \"$ALLOCA\"" |
| 13013 fi | 13033 fi |
| 13014 fi | 13034 fi |
| 13015 | 13035 |
| 13016 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 | 13036 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 |
| 13017 echo "configure:13018: checking for working strcoll" >&5 | 13037 echo "configure:13038: checking for working strcoll" >&5 |
| 13018 | 13038 |
| 13019 cat > conftest.$ac_ext <<EOF | 13039 cat > conftest.$ac_ext <<EOF |
| 13020 #line 13021 "configure" | 13040 #line 13041 "configure" |
| 13021 #include "confdefs.h" | 13041 #include "confdefs.h" |
| 13022 #include <string.h> | 13042 #include <string.h> |
| 13023 main () | 13043 main () |
| 13024 { | 13044 { |
| 13025 exit (strcoll ("abc", "def") >= 0 || | 13045 exit (strcoll ("abc", "def") >= 0 || |
| 13026 strcoll ("ABC", "DEF") >= 0 || | 13046 strcoll ("ABC", "DEF") >= 0 || |
| 13027 strcoll ("123", "456") >= 0); | 13047 strcoll ("123", "456") >= 0); |
| 13028 } | 13048 } |
| 13029 EOF | 13049 EOF |
| 13030 if { (eval echo configure:13031: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 13050 if { (eval echo configure:13051: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 13031 then | 13051 then |
| 13032 ac_cv_func_strcoll_works=yes | 13052 ac_cv_func_strcoll_works=yes |
| 13033 else | 13053 else |
| 13034 conftest_rc="$?" | 13054 conftest_rc="$?" |
| 13035 echo "configure: failed program was:" >&5 | 13055 echo "configure: failed program was:" >&5 |
| 13053 | 13073 |
| 13054 | 13074 |
| 13055 for ac_func in getpgrp | 13075 for ac_func in getpgrp |
| 13056 do | 13076 do |
| 13057 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 13077 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 13058 echo "configure:13059: checking for $ac_func" >&5 | 13078 echo "configure:13079: checking for $ac_func" >&5 |
| 13059 | 13079 |
| 13060 cat > conftest.$ac_ext <<EOF | 13080 cat > conftest.$ac_ext <<EOF |
| 13061 #line 13062 "configure" | 13081 #line 13082 "configure" |
| 13062 #include "confdefs.h" | 13082 #include "confdefs.h" |
| 13063 /* System header to define __stub macros and hopefully few prototypes, | 13083 /* System header to define __stub macros and hopefully few prototypes, |
| 13064 which can conflict with char $ac_func(); below. */ | 13084 which can conflict with char $ac_func(); below. */ |
| 13065 #include <assert.h> | 13085 #include <assert.h> |
| 13066 /* Override any gcc2 internal prototype to avoid an error. */ | 13086 /* Override any gcc2 internal prototype to avoid an error. */ |
| 13079 $ac_func(); | 13099 $ac_func(); |
| 13080 #endif | 13100 #endif |
| 13081 | 13101 |
| 13082 ; return 0; } | 13102 ; return 0; } |
| 13083 EOF | 13103 EOF |
| 13084 if { (eval echo configure:13085: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13104 if { (eval echo configure:13105: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 13085 rm -rf conftest* | 13105 rm -rf conftest* |
| 13086 eval "ac_cv_func_$ac_func=yes" | 13106 eval "ac_cv_func_$ac_func=yes" |
| 13087 else | 13107 else |
| 13088 echo "configure: failed program was:" >&5 | 13108 echo "configure: failed program was:" >&5 |
| 13089 cat conftest.$ac_ext >&5 | 13109 cat conftest.$ac_ext >&5 |
| 13107 echo "$ac_t""no" 1>&6 | 13127 echo "$ac_t""no" 1>&6 |
| 13108 fi | 13128 fi |
| 13109 done | 13129 done |
| 13110 | 13130 |
| 13111 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 | 13131 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 |
| 13112 echo "configure:13113: checking whether getpgrp takes no argument" >&5 | 13132 echo "configure:13133: checking whether getpgrp takes no argument" >&5 |
| 13113 | 13133 |
| 13114 cat > conftest.$ac_ext <<EOF | 13134 cat > conftest.$ac_ext <<EOF |
| 13115 #line 13116 "configure" | 13135 #line 13136 "configure" |
| 13116 #include "confdefs.h" | 13136 #include "confdefs.h" |
| 13117 | 13137 |
| 13118 /* | 13138 /* |
| 13119 * If this system has a BSD-style getpgrp(), | 13139 * If this system has a BSD-style getpgrp(), |
| 13120 * which takes a pid argument, exit unsuccessfully. | 13140 * which takes a pid argument, exit unsuccessfully. |
| 13165 exit(s>>8); | 13185 exit(s>>8); |
| 13166 } | 13186 } |
| 13167 } | 13187 } |
| 13168 | 13188 |
| 13169 EOF | 13189 EOF |
| 13170 if { (eval echo configure:13171: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 13190 if { (eval echo configure:13191: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 13171 then | 13191 then |
| 13172 ac_cv_func_getpgrp_void=yes | 13192 ac_cv_func_getpgrp_void=yes |
| 13173 else | 13193 else |
| 13174 conftest_rc="$?" | 13194 conftest_rc="$?" |
| 13175 echo "configure: failed program was:" >&5 | 13195 echo "configure: failed program was:" >&5 |
| 13192 | 13212 |
| 13193 fi | 13213 fi |
| 13194 | 13214 |
| 13195 | 13215 |
| 13196 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 | 13216 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 |
| 13197 echo "configure:13198: checking for working mmap" >&5 | 13217 echo "configure:13218: checking for working mmap" >&5 |
| 13198 case "$opsys" in ultrix* ) have_mmap=no ;; *) | 13218 case "$opsys" in ultrix* ) have_mmap=no ;; *) |
| 13199 cat > conftest.$ac_ext <<EOF | 13219 cat > conftest.$ac_ext <<EOF |
| 13200 #line 13201 "configure" | 13220 #line 13221 "configure" |
| 13201 #include "confdefs.h" | 13221 #include "confdefs.h" |
| 13202 #include <stdio.h> | 13222 #include <stdio.h> |
| 13203 #include <unistd.h> | 13223 #include <unistd.h> |
| 13204 #include <fcntl.h> | 13224 #include <fcntl.h> |
| 13205 #include <sys/mman.h> | 13225 #include <sys/mman.h> |
| 13228 return 0; | 13248 return 0; |
| 13229 perror ("conftest: mmap failed"); | 13249 perror ("conftest: mmap failed"); |
| 13230 return 1; | 13250 return 1; |
| 13231 } | 13251 } |
| 13232 EOF | 13252 EOF |
| 13233 if { (eval echo configure:13234: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 13253 if { (eval echo configure:13254: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 13234 then | 13254 then |
| 13235 have_mmap=yes | 13255 have_mmap=yes |
| 13236 else | 13256 else |
| 13237 conftest_rc="$?" | 13257 conftest_rc="$?" |
| 13238 echo "configure: failed program was:" >&5 | 13258 echo "configure: failed program was:" >&5 |
| 13257 esac | 13277 esac |
| 13258 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no | 13278 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no |
| 13259 if test "$rel_alloc $have_mmap" = "default yes"; then | 13279 if test "$rel_alloc $have_mmap" = "default yes"; then |
| 13260 if test "$doug_lea_malloc" = "yes"; then | 13280 if test "$doug_lea_malloc" = "yes"; then |
| 13261 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6 | 13281 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6 |
| 13262 echo "configure:13263: checking for M_MMAP_THRESHOLD" >&5 | 13282 echo "configure:13283: checking for M_MMAP_THRESHOLD" >&5 |
| 13263 cat > conftest.$ac_ext <<EOF | 13283 cat > conftest.$ac_ext <<EOF |
| 13264 #line 13265 "configure" | 13284 #line 13285 "configure" |
| 13265 #include "confdefs.h" | 13285 #include "confdefs.h" |
| 13266 #include <malloc.h> | 13286 #include <malloc.h> |
| 13267 int main() { | 13287 int main() { |
| 13268 | 13288 |
| 13269 #ifndef M_MMAP_THRESHOLD | 13289 #ifndef M_MMAP_THRESHOLD |
| 13271 !@+$%^&*_)(_ - unlikely to compile... | 13291 !@+$%^&*_)(_ - unlikely to compile... |
| 13272 #endif | 13292 #endif |
| 13273 | 13293 |
| 13274 ; return 0; } | 13294 ; return 0; } |
| 13275 EOF | 13295 EOF |
| 13276 if { (eval echo configure:13277: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 13296 if { (eval echo configure:13297: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 13277 rm -rf conftest* | 13297 rm -rf conftest* |
| 13278 rel_alloc=no; echo "$ac_t""yes" 1>&6; | 13298 rel_alloc=no; echo "$ac_t""yes" 1>&6; |
| 13279 else | 13299 else |
| 13280 echo "configure: failed program was:" >&5 | 13300 echo "configure: failed program was:" >&5 |
| 13281 cat conftest.$ac_ext >&5 | 13301 cat conftest.$ac_ext >&5 |
| 13296 } | 13316 } |
| 13297 | 13317 |
| 13298 | 13318 |
| 13299 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` | 13319 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` |
| 13300 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 | 13320 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 |
| 13301 echo "configure:13302: checking for termios.h" >&5 | 13321 echo "configure:13322: checking for termios.h" >&5 |
| 13302 | 13322 |
| 13303 cat > conftest.$ac_ext <<EOF | 13323 cat > conftest.$ac_ext <<EOF |
| 13304 #line 13305 "configure" | 13324 #line 13325 "configure" |
| 13305 #include "confdefs.h" | 13325 #include "confdefs.h" |
| 13306 #include <termios.h> | 13326 #include <termios.h> |
| 13307 EOF | 13327 EOF |
| 13308 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13328 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 13309 { (eval echo configure:13310: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13329 { (eval echo configure:13330: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 13310 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13330 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 13311 if test -z "$ac_err"; then | 13331 if test -z "$ac_err"; then |
| 13312 rm -rf conftest* | 13332 rm -rf conftest* |
| 13313 eval "ac_cv_header_$ac_safe=yes" | 13333 eval "ac_cv_header_$ac_safe=yes" |
| 13314 else | 13334 else |
| 13347 | 13367 |
| 13348 else | 13368 else |
| 13349 echo "$ac_t""no" 1>&6 | 13369 echo "$ac_t""no" 1>&6 |
| 13350 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` | 13370 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` |
| 13351 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 | 13371 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 |
| 13352 echo "configure:13353: checking for termio.h" >&5 | 13372 echo "configure:13373: checking for termio.h" >&5 |
| 13353 | 13373 |
| 13354 cat > conftest.$ac_ext <<EOF | 13374 cat > conftest.$ac_ext <<EOF |
| 13355 #line 13356 "configure" | 13375 #line 13376 "configure" |
| 13356 #include "confdefs.h" | 13376 #include "confdefs.h" |
| 13357 #include <termio.h> | 13377 #include <termio.h> |
| 13358 EOF | 13378 EOF |
| 13359 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13379 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 13360 { (eval echo configure:13361: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13380 { (eval echo configure:13381: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 13361 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13381 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 13362 if test -z "$ac_err"; then | 13382 if test -z "$ac_err"; then |
| 13363 rm -rf conftest* | 13383 rm -rf conftest* |
| 13364 eval "ac_cv_header_$ac_safe=yes" | 13384 eval "ac_cv_header_$ac_safe=yes" |
| 13365 else | 13385 else |
| 13387 fi | 13407 fi |
| 13388 | 13408 |
| 13389 | 13409 |
| 13390 | 13410 |
| 13391 echo $ac_n "checking for socket""... $ac_c" 1>&6 | 13411 echo $ac_n "checking for socket""... $ac_c" 1>&6 |
| 13392 echo "configure:13393: checking for socket" >&5 | 13412 echo "configure:13413: checking for socket" >&5 |
| 13393 | 13413 |
| 13394 cat > conftest.$ac_ext <<EOF | 13414 cat > conftest.$ac_ext <<EOF |
| 13395 #line 13396 "configure" | 13415 #line 13416 "configure" |
| 13396 #include "confdefs.h" | 13416 #include "confdefs.h" |
| 13397 /* System header to define __stub macros and hopefully few prototypes, | 13417 /* System header to define __stub macros and hopefully few prototypes, |
| 13398 which can conflict with char socket(); below. */ | 13418 which can conflict with char socket(); below. */ |
| 13399 #include <assert.h> | 13419 #include <assert.h> |
| 13400 /* Override any gcc2 internal prototype to avoid an error. */ | 13420 /* Override any gcc2 internal prototype to avoid an error. */ |
| 13413 socket(); | 13433 socket(); |
| 13414 #endif | 13434 #endif |
| 13415 | 13435 |
| 13416 ; return 0; } | 13436 ; return 0; } |
| 13417 EOF | 13437 EOF |
| 13418 if { (eval echo configure:13419: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13438 if { (eval echo configure:13439: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 13419 rm -rf conftest* | 13439 rm -rf conftest* |
| 13420 eval "ac_cv_func_socket=yes" | 13440 eval "ac_cv_func_socket=yes" |
| 13421 else | 13441 else |
| 13422 echo "configure: failed program was:" >&5 | 13442 echo "configure: failed program was:" >&5 |
| 13423 cat conftest.$ac_ext >&5 | 13443 cat conftest.$ac_ext >&5 |
| 13428 | 13448 |
| 13429 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then | 13449 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then |
| 13430 echo "$ac_t""yes" 1>&6 | 13450 echo "$ac_t""yes" 1>&6 |
| 13431 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` | 13451 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` |
| 13432 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 | 13452 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 |
| 13433 echo "configure:13434: checking for netinet/in.h" >&5 | 13453 echo "configure:13454: checking for netinet/in.h" >&5 |
| 13434 | 13454 |
| 13435 cat > conftest.$ac_ext <<EOF | 13455 cat > conftest.$ac_ext <<EOF |
| 13436 #line 13437 "configure" | 13456 #line 13457 "configure" |
| 13437 #include "confdefs.h" | 13457 #include "confdefs.h" |
| 13438 #include <netinet/in.h> | 13458 #include <netinet/in.h> |
| 13439 EOF | 13459 EOF |
| 13440 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13460 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 13441 { (eval echo configure:13442: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13461 { (eval echo configure:13462: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 13442 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13462 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 13443 if test -z "$ac_err"; then | 13463 if test -z "$ac_err"; then |
| 13444 rm -rf conftest* | 13464 rm -rf conftest* |
| 13445 eval "ac_cv_header_$ac_safe=yes" | 13465 eval "ac_cv_header_$ac_safe=yes" |
| 13446 else | 13466 else |
| 13453 rm -f conftest* | 13473 rm -f conftest* |
| 13454 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 13474 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
| 13455 echo "$ac_t""yes" 1>&6 | 13475 echo "$ac_t""yes" 1>&6 |
| 13456 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` | 13476 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` |
| 13457 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 | 13477 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 |
| 13458 echo "configure:13459: checking for arpa/inet.h" >&5 | 13478 echo "configure:13479: checking for arpa/inet.h" >&5 |
| 13459 | 13479 |
| 13460 cat > conftest.$ac_ext <<EOF | 13480 cat > conftest.$ac_ext <<EOF |
| 13461 #line 13462 "configure" | 13481 #line 13482 "configure" |
| 13462 #include "confdefs.h" | 13482 #include "confdefs.h" |
| 13463 #include <arpa/inet.h> | 13483 #include <arpa/inet.h> |
| 13464 EOF | 13484 EOF |
| 13465 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13485 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 13466 { (eval echo configure:13467: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13486 { (eval echo configure:13487: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 13467 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13487 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 13468 if test -z "$ac_err"; then | 13488 if test -z "$ac_err"; then |
| 13469 rm -rf conftest* | 13489 rm -rf conftest* |
| 13470 eval "ac_cv_header_$ac_safe=yes" | 13490 eval "ac_cv_header_$ac_safe=yes" |
| 13471 else | 13491 else |
| 13486 #define HAVE_SOCKETS 1 | 13506 #define HAVE_SOCKETS 1 |
| 13487 EOF | 13507 EOF |
| 13488 } | 13508 } |
| 13489 | 13509 |
| 13490 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 | 13510 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 |
| 13491 echo "configure:13492: checking "for sun_len member in struct sockaddr_un"" >&5 | 13511 echo "configure:13512: checking "for sun_len member in struct sockaddr_un"" >&5 |
| 13492 cat > conftest.$ac_ext <<EOF | 13512 cat > conftest.$ac_ext <<EOF |
| 13493 #line 13494 "configure" | 13513 #line 13514 "configure" |
| 13494 #include "confdefs.h" | 13514 #include "confdefs.h" |
| 13495 | 13515 |
| 13496 #include <sys/types.h> | 13516 #include <sys/types.h> |
| 13497 #include <sys/socket.h> | 13517 #include <sys/socket.h> |
| 13498 #include <sys/un.h> | 13518 #include <sys/un.h> |
| 13499 | 13519 |
| 13500 int main() { | 13520 int main() { |
| 13501 static struct sockaddr_un x; x.sun_len = 1; | 13521 static struct sockaddr_un x; x.sun_len = 1; |
| 13502 ; return 0; } | 13522 ; return 0; } |
| 13503 EOF | 13523 EOF |
| 13504 if { (eval echo configure:13505: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13524 if { (eval echo configure:13525: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 13505 rm -rf conftest* | 13525 rm -rf conftest* |
| 13506 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 13526 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
| 13507 Defining HAVE_SOCKADDR_SUN_LEN | 13527 Defining HAVE_SOCKADDR_SUN_LEN |
| 13508 EOF | 13528 EOF |
| 13509 cat >> confdefs.h <<\EOF | 13529 cat >> confdefs.h <<\EOF |
| 13517 rm -rf conftest* | 13537 rm -rf conftest* |
| 13518 echo "$ac_t""no" 1>&6 | 13538 echo "$ac_t""no" 1>&6 |
| 13519 fi | 13539 fi |
| 13520 rm -f conftest* | 13540 rm -f conftest* |
| 13521 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 | 13541 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 |
| 13522 echo "configure:13523: checking "for ip_mreq struct in netinet/in.h"" >&5 | 13542 echo "configure:13543: checking "for ip_mreq struct in netinet/in.h"" >&5 |
| 13523 cat > conftest.$ac_ext <<EOF | 13543 cat > conftest.$ac_ext <<EOF |
| 13524 #line 13525 "configure" | 13544 #line 13545 "configure" |
| 13525 #include "confdefs.h" | 13545 #include "confdefs.h" |
| 13526 | 13546 |
| 13527 #include <sys/types.h> | 13547 #include <sys/types.h> |
| 13528 #include <netinet/in.h> | 13548 #include <netinet/in.h> |
| 13529 | 13549 |
| 13530 int main() { | 13550 int main() { |
| 13531 static struct ip_mreq x; | 13551 static struct ip_mreq x; |
| 13532 ; return 0; } | 13552 ; return 0; } |
| 13533 EOF | 13553 EOF |
| 13534 if { (eval echo configure:13535: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13554 if { (eval echo configure:13555: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 13535 rm -rf conftest* | 13555 rm -rf conftest* |
| 13536 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 13556 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
| 13537 Defining HAVE_MULTICAST | 13557 Defining HAVE_MULTICAST |
| 13538 EOF | 13558 EOF |
| 13539 cat >> confdefs.h <<\EOF | 13559 cat >> confdefs.h <<\EOF |
| 13560 echo "$ac_t""no" 1>&6 | 13580 echo "$ac_t""no" 1>&6 |
| 13561 fi | 13581 fi |
| 13562 | 13582 |
| 13563 | 13583 |
| 13564 echo $ac_n "checking for msgget""... $ac_c" 1>&6 | 13584 echo $ac_n "checking for msgget""... $ac_c" 1>&6 |
| 13565 echo "configure:13566: checking for msgget" >&5 | 13585 echo "configure:13586: checking for msgget" >&5 |
| 13566 | 13586 |
| 13567 cat > conftest.$ac_ext <<EOF | 13587 cat > conftest.$ac_ext <<EOF |
| 13568 #line 13569 "configure" | 13588 #line 13589 "configure" |
| 13569 #include "confdefs.h" | 13589 #include "confdefs.h" |
| 13570 /* System header to define __stub macros and hopefully few prototypes, | 13590 /* System header to define __stub macros and hopefully few prototypes, |
| 13571 which can conflict with char msgget(); below. */ | 13591 which can conflict with char msgget(); below. */ |
| 13572 #include <assert.h> | 13592 #include <assert.h> |
| 13573 /* Override any gcc2 internal prototype to avoid an error. */ | 13593 /* Override any gcc2 internal prototype to avoid an error. */ |
| 13586 msgget(); | 13606 msgget(); |
| 13587 #endif | 13607 #endif |
| 13588 | 13608 |
| 13589 ; return 0; } | 13609 ; return 0; } |
| 13590 EOF | 13610 EOF |
| 13591 if { (eval echo configure:13592: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13611 if { (eval echo configure:13612: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 13592 rm -rf conftest* | 13612 rm -rf conftest* |
| 13593 eval "ac_cv_func_msgget=yes" | 13613 eval "ac_cv_func_msgget=yes" |
| 13594 else | 13614 else |
| 13595 echo "configure: failed program was:" >&5 | 13615 echo "configure: failed program was:" >&5 |
| 13596 cat conftest.$ac_ext >&5 | 13616 cat conftest.$ac_ext >&5 |
| 13601 | 13621 |
| 13602 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then | 13622 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then |
| 13603 echo "$ac_t""yes" 1>&6 | 13623 echo "$ac_t""yes" 1>&6 |
| 13604 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` | 13624 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` |
| 13605 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 | 13625 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 |
| 13606 echo "configure:13607: checking for sys/ipc.h" >&5 | 13626 echo "configure:13627: checking for sys/ipc.h" >&5 |
| 13607 | 13627 |
| 13608 cat > conftest.$ac_ext <<EOF | 13628 cat > conftest.$ac_ext <<EOF |
| 13609 #line 13610 "configure" | 13629 #line 13630 "configure" |
| 13610 #include "confdefs.h" | 13630 #include "confdefs.h" |
| 13611 #include <sys/ipc.h> | 13631 #include <sys/ipc.h> |
| 13612 EOF | 13632 EOF |
| 13613 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13633 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 13614 { (eval echo configure:13615: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13634 { (eval echo configure:13635: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 13615 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13635 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 13616 if test -z "$ac_err"; then | 13636 if test -z "$ac_err"; then |
| 13617 rm -rf conftest* | 13637 rm -rf conftest* |
| 13618 eval "ac_cv_header_$ac_safe=yes" | 13638 eval "ac_cv_header_$ac_safe=yes" |
| 13619 else | 13639 else |
| 13626 rm -f conftest* | 13646 rm -f conftest* |
| 13627 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 13647 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
| 13628 echo "$ac_t""yes" 1>&6 | 13648 echo "$ac_t""yes" 1>&6 |
| 13629 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` | 13649 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` |
| 13630 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 | 13650 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 |
| 13631 echo "configure:13632: checking for sys/msg.h" >&5 | 13651 echo "configure:13652: checking for sys/msg.h" >&5 |
| 13632 | 13652 |
| 13633 cat > conftest.$ac_ext <<EOF | 13653 cat > conftest.$ac_ext <<EOF |
| 13634 #line 13635 "configure" | 13654 #line 13655 "configure" |
| 13635 #include "confdefs.h" | 13655 #include "confdefs.h" |
| 13636 #include <sys/msg.h> | 13656 #include <sys/msg.h> |
| 13637 EOF | 13657 EOF |
| 13638 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13658 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 13639 { (eval echo configure:13640: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13659 { (eval echo configure:13660: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 13640 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13660 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 13641 if test -z "$ac_err"; then | 13661 if test -z "$ac_err"; then |
| 13642 rm -rf conftest* | 13662 rm -rf conftest* |
| 13643 eval "ac_cv_header_$ac_safe=yes" | 13663 eval "ac_cv_header_$ac_safe=yes" |
| 13644 else | 13664 else |
| 13672 fi | 13692 fi |
| 13673 | 13693 |
| 13674 | 13694 |
| 13675 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` | 13695 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` |
| 13676 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 | 13696 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 |
| 13677 echo "configure:13678: checking for dirent.h" >&5 | 13697 echo "configure:13698: checking for dirent.h" >&5 |
| 13678 | 13698 |
| 13679 cat > conftest.$ac_ext <<EOF | 13699 cat > conftest.$ac_ext <<EOF |
| 13680 #line 13681 "configure" | 13700 #line 13701 "configure" |
| 13681 #include "confdefs.h" | 13701 #include "confdefs.h" |
| 13682 #include <dirent.h> | 13702 #include <dirent.h> |
| 13683 EOF | 13703 EOF |
| 13684 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13704 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 13685 { (eval echo configure:13686: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13705 { (eval echo configure:13706: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 13686 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13706 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 13687 if test -z "$ac_err"; then | 13707 if test -z "$ac_err"; then |
| 13688 rm -rf conftest* | 13708 rm -rf conftest* |
| 13689 eval "ac_cv_header_$ac_safe=yes" | 13709 eval "ac_cv_header_$ac_safe=yes" |
| 13690 else | 13710 else |
| 13707 | 13727 |
| 13708 else | 13728 else |
| 13709 echo "$ac_t""no" 1>&6 | 13729 echo "$ac_t""no" 1>&6 |
| 13710 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` | 13730 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` |
| 13711 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 | 13731 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 |
| 13712 echo "configure:13713: checking for sys/dir.h" >&5 | 13732 echo "configure:13733: checking for sys/dir.h" >&5 |
| 13713 | 13733 |
| 13714 cat > conftest.$ac_ext <<EOF | 13734 cat > conftest.$ac_ext <<EOF |
| 13715 #line 13716 "configure" | 13735 #line 13736 "configure" |
| 13716 #include "confdefs.h" | 13736 #include "confdefs.h" |
| 13717 #include <sys/dir.h> | 13737 #include <sys/dir.h> |
| 13718 EOF | 13738 EOF |
| 13719 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13739 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 13720 { (eval echo configure:13721: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13740 { (eval echo configure:13741: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 13721 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13741 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 13722 if test -z "$ac_err"; then | 13742 if test -z "$ac_err"; then |
| 13723 rm -rf conftest* | 13743 rm -rf conftest* |
| 13724 eval "ac_cv_header_$ac_safe=yes" | 13744 eval "ac_cv_header_$ac_safe=yes" |
| 13725 else | 13745 else |
| 13748 fi | 13768 fi |
| 13749 | 13769 |
| 13750 | 13770 |
| 13751 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` | 13771 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` |
| 13752 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 | 13772 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 |
| 13753 echo "configure:13754: checking for nlist.h" >&5 | 13773 echo "configure:13774: checking for nlist.h" >&5 |
| 13754 | 13774 |
| 13755 cat > conftest.$ac_ext <<EOF | 13775 cat > conftest.$ac_ext <<EOF |
| 13756 #line 13757 "configure" | 13776 #line 13777 "configure" |
| 13757 #include "confdefs.h" | 13777 #include "confdefs.h" |
| 13758 #include <nlist.h> | 13778 #include <nlist.h> |
| 13759 EOF | 13779 EOF |
| 13760 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13780 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 13761 { (eval echo configure:13762: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13781 { (eval echo configure:13782: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 13762 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13782 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 13763 if test -z "$ac_err"; then | 13783 if test -z "$ac_err"; then |
| 13764 rm -rf conftest* | 13784 rm -rf conftest* |
| 13765 eval "ac_cv_header_$ac_safe=yes" | 13785 eval "ac_cv_header_$ac_safe=yes" |
| 13766 else | 13786 else |
| 13786 fi | 13806 fi |
| 13787 | 13807 |
| 13788 | 13808 |
| 13789 | 13809 |
| 13790 echo "checking "for sound support"" 1>&6 | 13810 echo "checking "for sound support"" 1>&6 |
| 13791 echo "configure:13792: checking "for sound support"" >&5 | 13811 echo "configure:13812: checking "for sound support"" >&5 |
| 13792 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes | 13812 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes |
| 13793 | 13813 |
| 13794 if test "$with_native_sound" != "no"; then | 13814 if test "$with_native_sound" != "no"; then |
| 13795 if test -n "$native_sound_lib"; then | 13815 if test -n "$native_sound_lib"; then |
| 13796 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` | 13816 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` |
| 13797 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 | 13817 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 |
| 13798 echo "configure:13799: checking for multimedia/audio_device.h" >&5 | 13818 echo "configure:13819: checking for multimedia/audio_device.h" >&5 |
| 13799 | 13819 |
| 13800 cat > conftest.$ac_ext <<EOF | 13820 cat > conftest.$ac_ext <<EOF |
| 13801 #line 13802 "configure" | 13821 #line 13822 "configure" |
| 13802 #include "confdefs.h" | 13822 #include "confdefs.h" |
| 13803 #include <multimedia/audio_device.h> | 13823 #include <multimedia/audio_device.h> |
| 13804 EOF | 13824 EOF |
| 13805 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13825 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 13806 { (eval echo configure:13807: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13826 { (eval echo configure:13827: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 13807 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13827 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 13808 if test -z "$ac_err"; then | 13828 if test -z "$ac_err"; then |
| 13809 rm -rf conftest* | 13829 rm -rf conftest* |
| 13810 eval "ac_cv_header_$ac_safe=yes" | 13830 eval "ac_cv_header_$ac_safe=yes" |
| 13811 else | 13831 else |
| 13849 case "$canonical" in | 13869 case "$canonical" in |
| 13850 *-sgi-* ) | 13870 *-sgi-* ) |
| 13851 if test -z "$native_sound_lib"; then | 13871 if test -z "$native_sound_lib"; then |
| 13852 | 13872 |
| 13853 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 | 13873 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 |
| 13854 echo "configure:13855: checking for ALopenport in -laudio" >&5 | 13874 echo "configure:13875: checking for ALopenport in -laudio" >&5 |
| 13855 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` | 13875 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` |
| 13856 | 13876 |
| 13857 xe_check_libs=" -laudio " | 13877 xe_check_libs=" -laudio " |
| 13858 cat > conftest.$ac_ext <<EOF | 13878 cat > conftest.$ac_ext <<EOF |
| 13859 #line 13860 "configure" | 13879 #line 13880 "configure" |
| 13860 #include "confdefs.h" | 13880 #include "confdefs.h" |
| 13861 /* Override any gcc2 internal prototype to avoid an error. */ | 13881 /* Override any gcc2 internal prototype to avoid an error. */ |
| 13862 /* We use char because int might match the return type of a gcc2 | 13882 /* We use char because int might match the return type of a gcc2 |
| 13863 builtin and then its argument prototype would still apply. */ | 13883 builtin and then its argument prototype would still apply. */ |
| 13864 char ALopenport(); | 13884 char ALopenport(); |
| 13865 | 13885 |
| 13866 int main() { | 13886 int main() { |
| 13867 ALopenport() | 13887 ALopenport() |
| 13868 ; return 0; } | 13888 ; return 0; } |
| 13869 EOF | 13889 EOF |
| 13870 if { (eval echo configure:13871: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13890 if { (eval echo configure:13891: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 13871 rm -rf conftest* | 13891 rm -rf conftest* |
| 13872 eval "ac_cv_lib_$ac_lib_var=yes" | 13892 eval "ac_cv_lib_$ac_lib_var=yes" |
| 13873 else | 13893 else |
| 13874 echo "configure: failed program was:" >&5 | 13894 echo "configure: failed program was:" >&5 |
| 13875 cat conftest.$ac_ext >&5 | 13895 cat conftest.$ac_ext >&5 |
| 13896 fi ;; | 13916 fi ;; |
| 13897 hppa*-hp-hpux* ) | 13917 hppa*-hp-hpux* ) |
| 13898 if test -z "$native_sound_lib"; then | 13918 if test -z "$native_sound_lib"; then |
| 13899 | 13919 |
| 13900 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 | 13920 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 |
| 13901 echo "configure:13902: checking for AOpenAudio in -lAlib" >&5 | 13921 echo "configure:13922: checking for AOpenAudio in -lAlib" >&5 |
| 13902 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` | 13922 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` |
| 13903 | 13923 |
| 13904 xe_check_libs=" -lAlib " | 13924 xe_check_libs=" -lAlib " |
| 13905 cat > conftest.$ac_ext <<EOF | 13925 cat > conftest.$ac_ext <<EOF |
| 13906 #line 13907 "configure" | 13926 #line 13927 "configure" |
| 13907 #include "confdefs.h" | 13927 #include "confdefs.h" |
| 13908 /* Override any gcc2 internal prototype to avoid an error. */ | 13928 /* Override any gcc2 internal prototype to avoid an error. */ |
| 13909 /* We use char because int might match the return type of a gcc2 | 13929 /* We use char because int might match the return type of a gcc2 |
| 13910 builtin and then its argument prototype would still apply. */ | 13930 builtin and then its argument prototype would still apply. */ |
| 13911 char AOpenAudio(); | 13931 char AOpenAudio(); |
| 13912 | 13932 |
| 13913 int main() { | 13933 int main() { |
| 13914 AOpenAudio() | 13934 AOpenAudio() |
| 13915 ; return 0; } | 13935 ; return 0; } |
| 13916 EOF | 13936 EOF |
| 13917 if { (eval echo configure:13918: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13937 if { (eval echo configure:13938: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 13918 rm -rf conftest* | 13938 rm -rf conftest* |
| 13919 eval "ac_cv_lib_$ac_lib_var=yes" | 13939 eval "ac_cv_lib_$ac_lib_var=yes" |
| 13920 else | 13940 else |
| 13921 echo "configure: failed program was:" >&5 | 13941 echo "configure: failed program was:" >&5 |
| 13922 cat conftest.$ac_ext >&5 | 13942 cat conftest.$ac_ext >&5 |
| 13960 | 13980 |
| 13961 if test -z "$sound_found"; then | 13981 if test -z "$sound_found"; then |
| 13962 for dir in "machine" "sys" "linux"; do | 13982 for dir in "machine" "sys" "linux"; do |
| 13963 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` | 13983 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` |
| 13964 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 | 13984 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 |
| 13965 echo "configure:13966: checking for ${dir}/soundcard.h" >&5 | 13985 echo "configure:13986: checking for ${dir}/soundcard.h" >&5 |
| 13966 | 13986 |
| 13967 cat > conftest.$ac_ext <<EOF | 13987 cat > conftest.$ac_ext <<EOF |
| 13968 #line 13969 "configure" | 13988 #line 13989 "configure" |
| 13969 #include "confdefs.h" | 13989 #include "confdefs.h" |
| 13970 #include <${dir}/soundcard.h> | 13990 #include <${dir}/soundcard.h> |
| 13971 EOF | 13991 EOF |
| 13972 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13992 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 13973 { (eval echo configure:13974: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13993 { (eval echo configure:13994: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 13974 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13994 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 13975 if test -z "$ac_err"; then | 13995 if test -z "$ac_err"; then |
| 13976 rm -rf conftest* | 13996 rm -rf conftest* |
| 13977 eval "ac_cv_header_$ac_safe=yes" | 13997 eval "ac_cv_header_$ac_safe=yes" |
| 13978 else | 13998 else |
| 14022 fi | 14042 fi |
| 14023 | 14043 |
| 14024 if test "$with_nas_sound" != "no"; then | 14044 if test "$with_nas_sound" != "no"; then |
| 14025 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'` | 14045 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'` |
| 14026 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6 | 14046 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6 |
| 14027 echo "configure:14028: checking for audio/audiolib.h" >&5 | 14047 echo "configure:14048: checking for audio/audiolib.h" >&5 |
| 14028 | 14048 |
| 14029 cat > conftest.$ac_ext <<EOF | 14049 cat > conftest.$ac_ext <<EOF |
| 14030 #line 14031 "configure" | 14050 #line 14051 "configure" |
| 14031 #include "confdefs.h" | 14051 #include "confdefs.h" |
| 14032 #include <audio/audiolib.h> | 14052 #include <audio/audiolib.h> |
| 14033 EOF | 14053 EOF |
| 14034 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14054 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 14035 { (eval echo configure:14036: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14055 { (eval echo configure:14056: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 14036 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14056 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 14037 if test -z "$ac_err"; then | 14057 if test -z "$ac_err"; then |
| 14038 rm -rf conftest* | 14058 rm -rf conftest* |
| 14039 eval "ac_cv_header_$ac_safe=yes" | 14059 eval "ac_cv_header_$ac_safe=yes" |
| 14040 else | 14060 else |
| 14048 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 14068 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
| 14049 echo "$ac_t""yes" 1>&6 | 14069 echo "$ac_t""yes" 1>&6 |
| 14050 | 14070 |
| 14051 | 14071 |
| 14052 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6 | 14072 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6 |
| 14053 echo "configure:14054: checking for AuOpenServer in -laudio" >&5 | 14073 echo "configure:14074: checking for AuOpenServer in -laudio" >&5 |
| 14054 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'` | 14074 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'` |
| 14055 | 14075 |
| 14056 xe_check_libs=" -laudio " | 14076 xe_check_libs=" -laudio " |
| 14057 cat > conftest.$ac_ext <<EOF | 14077 cat > conftest.$ac_ext <<EOF |
| 14058 #line 14059 "configure" | 14078 #line 14079 "configure" |
| 14059 #include "confdefs.h" | 14079 #include "confdefs.h" |
| 14060 /* Override any gcc2 internal prototype to avoid an error. */ | 14080 /* Override any gcc2 internal prototype to avoid an error. */ |
| 14061 /* We use char because int might match the return type of a gcc2 | 14081 /* We use char because int might match the return type of a gcc2 |
| 14062 builtin and then its argument prototype would still apply. */ | 14082 builtin and then its argument prototype would still apply. */ |
| 14063 char AuOpenServer(); | 14083 char AuOpenServer(); |
| 14064 | 14084 |
| 14065 int main() { | 14085 int main() { |
| 14066 AuOpenServer() | 14086 AuOpenServer() |
| 14067 ; return 0; } | 14087 ; return 0; } |
| 14068 EOF | 14088 EOF |
| 14069 if { (eval echo configure:14070: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14089 if { (eval echo configure:14090: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 14070 rm -rf conftest* | 14090 rm -rf conftest* |
| 14071 eval "ac_cv_lib_$ac_lib_var=yes" | 14091 eval "ac_cv_lib_$ac_lib_var=yes" |
| 14072 else | 14092 else |
| 14073 echo "configure: failed program was:" >&5 | 14093 echo "configure: failed program was:" >&5 |
| 14074 cat conftest.$ac_ext >&5 | 14094 cat conftest.$ac_ext >&5 |
| 14103 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then | 14123 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then |
| 14104 echo " xemacs will be linked with \"nas.o\"" | 14124 echo " xemacs will be linked with \"nas.o\"" |
| 14105 fi | 14125 fi |
| 14106 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi | 14126 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi |
| 14107 cat > conftest.$ac_ext <<EOF | 14127 cat > conftest.$ac_ext <<EOF |
| 14108 #line 14109 "configure" | 14128 #line 14129 "configure" |
| 14109 #include "confdefs.h" | 14129 #include "confdefs.h" |
| 14110 #include <audio/Xtutil.h> | 14130 #include <audio/Xtutil.h> |
| 14111 EOF | 14131 EOF |
| 14112 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 14132 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 14113 egrep "AuXtErrorJump" >/dev/null 2>&1; then | 14133 egrep "AuXtErrorJump" >/dev/null 2>&1; then |
| 14134 | 14154 |
| 14135 if test "$with_esd_sound" != "no"; then | 14155 if test "$with_esd_sound" != "no"; then |
| 14136 # Extract the first word of "esd-config", so it can be a program name with args. | 14156 # Extract the first word of "esd-config", so it can be a program name with args. |
| 14137 set dummy esd-config; ac_word=$2 | 14157 set dummy esd-config; ac_word=$2 |
| 14138 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 14158 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 14139 echo "configure:14140: checking for $ac_word" >&5 | 14159 echo "configure:14160: checking for $ac_word" >&5 |
| 14140 | 14160 |
| 14141 if test -n "$have_esd_config"; then | 14161 if test -n "$have_esd_config"; then |
| 14142 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. | 14162 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. |
| 14143 else | 14163 else |
| 14144 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 14164 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
| 14163 if test "$have_esd_config" = "yes"; then | 14183 if test "$have_esd_config" = "yes"; then |
| 14164 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" | 14184 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" |
| 14165 c_switch_site="$c_switch_site `esd-config --cflags`" && if test "$extra_verbose" = "yes"; then echo " Appending \"`esd-config --cflags`\" to \$c_switch_site"; fi | 14185 c_switch_site="$c_switch_site `esd-config --cflags`" && if test "$extra_verbose" = "yes"; then echo " Appending \"`esd-config --cflags`\" to \$c_switch_site"; fi |
| 14166 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi | 14186 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi |
| 14167 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6 | 14187 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6 |
| 14168 echo "configure:14169: checking for esd_play_stream" >&5 | 14188 echo "configure:14189: checking for esd_play_stream" >&5 |
| 14169 | 14189 |
| 14170 cat > conftest.$ac_ext <<EOF | 14190 cat > conftest.$ac_ext <<EOF |
| 14171 #line 14172 "configure" | 14191 #line 14192 "configure" |
| 14172 #include "confdefs.h" | 14192 #include "confdefs.h" |
| 14173 /* System header to define __stub macros and hopefully few prototypes, | 14193 /* System header to define __stub macros and hopefully few prototypes, |
| 14174 which can conflict with char esd_play_stream(); below. */ | 14194 which can conflict with char esd_play_stream(); below. */ |
| 14175 #include <assert.h> | 14195 #include <assert.h> |
| 14176 /* Override any gcc2 internal prototype to avoid an error. */ | 14196 /* Override any gcc2 internal prototype to avoid an error. */ |
| 14189 esd_play_stream(); | 14209 esd_play_stream(); |
| 14190 #endif | 14210 #endif |
| 14191 | 14211 |
| 14192 ; return 0; } | 14212 ; return 0; } |
| 14193 EOF | 14213 EOF |
| 14194 if { (eval echo configure:14195: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14214 if { (eval echo configure:14215: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 14195 rm -rf conftest* | 14215 rm -rf conftest* |
| 14196 eval "ac_cv_func_esd_play_stream=yes" | 14216 eval "ac_cv_func_esd_play_stream=yes" |
| 14197 else | 14217 else |
| 14198 echo "configure: failed program was:" >&5 | 14218 echo "configure: failed program was:" >&5 |
| 14199 cat conftest.$ac_ext >&5 | 14219 cat conftest.$ac_ext >&5 |
| 14240 | 14260 |
| 14241 test -z "$with_tty" && with_tty=yes | 14261 test -z "$with_tty" && with_tty=yes |
| 14242 | 14262 |
| 14243 if test "$with_tty" = "yes" ; then | 14263 if test "$with_tty" = "yes" ; then |
| 14244 echo "checking for TTY-related features" 1>&6 | 14264 echo "checking for TTY-related features" 1>&6 |
| 14245 echo "configure:14246: checking for TTY-related features" >&5 | 14265 echo "configure:14266: checking for TTY-related features" >&5 |
| 14246 { test "$extra_verbose" = "yes" && cat << \EOF | 14266 { test "$extra_verbose" = "yes" && cat << \EOF |
| 14247 Defining HAVE_TTY | 14267 Defining HAVE_TTY |
| 14248 EOF | 14268 EOF |
| 14249 cat >> confdefs.h <<\EOF | 14269 cat >> confdefs.h <<\EOF |
| 14250 #define HAVE_TTY 1 | 14270 #define HAVE_TTY 1 |
| 14253 | 14273 |
| 14254 | 14274 |
| 14255 if test -z "$with_ncurses"; then | 14275 if test -z "$with_ncurses"; then |
| 14256 | 14276 |
| 14257 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 | 14277 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 |
| 14258 echo "configure:14259: checking for tgetent in -lncurses" >&5 | 14278 echo "configure:14279: checking for tgetent in -lncurses" >&5 |
| 14259 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` | 14279 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` |
| 14260 | 14280 |
| 14261 xe_check_libs=" -lncurses " | 14281 xe_check_libs=" -lncurses " |
| 14262 cat > conftest.$ac_ext <<EOF | 14282 cat > conftest.$ac_ext <<EOF |
| 14263 #line 14264 "configure" | 14283 #line 14284 "configure" |
| 14264 #include "confdefs.h" | 14284 #include "confdefs.h" |
| 14265 /* Override any gcc2 internal prototype to avoid an error. */ | 14285 /* Override any gcc2 internal prototype to avoid an error. */ |
| 14266 /* We use char because int might match the return type of a gcc2 | 14286 /* We use char because int might match the return type of a gcc2 |
| 14267 builtin and then its argument prototype would still apply. */ | 14287 builtin and then its argument prototype would still apply. */ |
| 14268 char tgetent(); | 14288 char tgetent(); |
| 14269 | 14289 |
| 14270 int main() { | 14290 int main() { |
| 14271 tgetent() | 14291 tgetent() |
| 14272 ; return 0; } | 14292 ; return 0; } |
| 14273 EOF | 14293 EOF |
| 14274 if { (eval echo configure:14275: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14294 if { (eval echo configure:14295: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 14275 rm -rf conftest* | 14295 rm -rf conftest* |
| 14276 eval "ac_cv_lib_$ac_lib_var=yes" | 14296 eval "ac_cv_lib_$ac_lib_var=yes" |
| 14277 else | 14297 else |
| 14278 echo "configure: failed program was:" >&5 | 14298 echo "configure: failed program was:" >&5 |
| 14279 cat conftest.$ac_ext >&5 | 14299 cat conftest.$ac_ext >&5 |
| 14302 EOF | 14322 EOF |
| 14303 } | 14323 } |
| 14304 | 14324 |
| 14305 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 14325 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
| 14306 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 14326 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
| 14307 echo "configure:14308: checking for ncurses/curses.h" >&5 | 14327 echo "configure:14328: checking for ncurses/curses.h" >&5 |
| 14308 | 14328 |
| 14309 cat > conftest.$ac_ext <<EOF | 14329 cat > conftest.$ac_ext <<EOF |
| 14310 #line 14311 "configure" | 14330 #line 14331 "configure" |
| 14311 #include "confdefs.h" | 14331 #include "confdefs.h" |
| 14312 #include <ncurses/curses.h> | 14332 #include <ncurses/curses.h> |
| 14313 EOF | 14333 EOF |
| 14314 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14334 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 14315 { (eval echo configure:14316: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14335 { (eval echo configure:14336: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 14316 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14336 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 14317 if test -z "$ac_err"; then | 14337 if test -z "$ac_err"; then |
| 14318 rm -rf conftest* | 14338 rm -rf conftest* |
| 14319 eval "ac_cv_header_$ac_safe=yes" | 14339 eval "ac_cv_header_$ac_safe=yes" |
| 14320 else | 14340 else |
| 14332 echo "$ac_t""no" 1>&6 | 14352 echo "$ac_t""no" 1>&6 |
| 14333 fi | 14353 fi |
| 14334 | 14354 |
| 14335 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` | 14355 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` |
| 14336 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 | 14356 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 |
| 14337 echo "configure:14338: checking for ncurses/term.h" >&5 | 14357 echo "configure:14358: checking for ncurses/term.h" >&5 |
| 14338 | 14358 |
| 14339 cat > conftest.$ac_ext <<EOF | 14359 cat > conftest.$ac_ext <<EOF |
| 14340 #line 14341 "configure" | 14360 #line 14361 "configure" |
| 14341 #include "confdefs.h" | 14361 #include "confdefs.h" |
| 14342 #include <ncurses/term.h> | 14362 #include <ncurses/term.h> |
| 14343 EOF | 14363 EOF |
| 14344 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14364 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 14345 { (eval echo configure:14346: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14365 { (eval echo configure:14366: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 14346 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14366 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 14347 if test -z "$ac_err"; then | 14367 if test -z "$ac_err"; then |
| 14348 rm -rf conftest* | 14368 rm -rf conftest* |
| 14349 eval "ac_cv_header_$ac_safe=yes" | 14369 eval "ac_cv_header_$ac_safe=yes" |
| 14350 else | 14370 else |
| 14370 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then | 14390 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then |
| 14371 save_c_switch_site="$c_switch_site" | 14391 save_c_switch_site="$c_switch_site" |
| 14372 c_switch_site="$c_switch_site -I/usr/include/ncurses" | 14392 c_switch_site="$c_switch_site -I/usr/include/ncurses" |
| 14373 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 14393 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
| 14374 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 14394 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
| 14375 echo "configure:14376: checking for ncurses/curses.h" >&5 | 14395 echo "configure:14396: checking for ncurses/curses.h" >&5 |
| 14376 | 14396 |
| 14377 cat > conftest.$ac_ext <<EOF | 14397 cat > conftest.$ac_ext <<EOF |
| 14378 #line 14379 "configure" | 14398 #line 14399 "configure" |
| 14379 #include "confdefs.h" | 14399 #include "confdefs.h" |
| 14380 #include <ncurses/curses.h> | 14400 #include <ncurses/curses.h> |
| 14381 EOF | 14401 EOF |
| 14382 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14402 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 14383 { (eval echo configure:14384: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14403 { (eval echo configure:14404: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 14384 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14404 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 14385 if test -z "$ac_err"; then | 14405 if test -z "$ac_err"; then |
| 14386 rm -rf conftest* | 14406 rm -rf conftest* |
| 14387 eval "ac_cv_header_$ac_safe=yes" | 14407 eval "ac_cv_header_$ac_safe=yes" |
| 14388 else | 14408 else |
| 14413 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 14433 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
| 14414 else | 14434 else |
| 14415 for lib in curses termlib termcap; do | 14435 for lib in curses termlib termcap; do |
| 14416 | 14436 |
| 14417 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 | 14437 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 |
| 14418 echo "configure:14419: checking for tgetent in -l$lib" >&5 | 14438 echo "configure:14439: checking for tgetent in -l$lib" >&5 |
| 14419 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` | 14439 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` |
| 14420 | 14440 |
| 14421 xe_check_libs=" -l$lib " | 14441 xe_check_libs=" -l$lib " |
| 14422 cat > conftest.$ac_ext <<EOF | 14442 cat > conftest.$ac_ext <<EOF |
| 14423 #line 14424 "configure" | 14443 #line 14444 "configure" |
| 14424 #include "confdefs.h" | 14444 #include "confdefs.h" |
| 14425 /* Override any gcc2 internal prototype to avoid an error. */ | 14445 /* Override any gcc2 internal prototype to avoid an error. */ |
| 14426 /* We use char because int might match the return type of a gcc2 | 14446 /* We use char because int might match the return type of a gcc2 |
| 14427 builtin and then its argument prototype would still apply. */ | 14447 builtin and then its argument prototype would still apply. */ |
| 14428 char tgetent(); | 14448 char tgetent(); |
| 14429 | 14449 |
| 14430 int main() { | 14450 int main() { |
| 14431 tgetent() | 14451 tgetent() |
| 14432 ; return 0; } | 14452 ; return 0; } |
| 14433 EOF | 14453 EOF |
| 14434 if { (eval echo configure:14435: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14454 if { (eval echo configure:14455: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 14435 rm -rf conftest* | 14455 rm -rf conftest* |
| 14436 eval "ac_cv_lib_$ac_lib_var=yes" | 14456 eval "ac_cv_lib_$ac_lib_var=yes" |
| 14437 else | 14457 else |
| 14438 echo "configure: failed program was:" >&5 | 14458 echo "configure: failed program was:" >&5 |
| 14439 cat conftest.$ac_ext >&5 | 14459 cat conftest.$ac_ext >&5 |
| 14460 if test -n "$libs_termcap"; then | 14480 if test -n "$libs_termcap"; then |
| 14461 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 14481 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
| 14462 else | 14482 else |
| 14463 | 14483 |
| 14464 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 | 14484 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 |
| 14465 echo "configure:14466: checking for tgetent in -lcurses" >&5 | 14485 echo "configure:14486: checking for tgetent in -lcurses" >&5 |
| 14466 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` | 14486 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` |
| 14467 | 14487 |
| 14468 xe_check_libs=" -lcurses " | 14488 xe_check_libs=" -lcurses " |
| 14469 cat > conftest.$ac_ext <<EOF | 14489 cat > conftest.$ac_ext <<EOF |
| 14470 #line 14471 "configure" | 14490 #line 14491 "configure" |
| 14471 #include "confdefs.h" | 14491 #include "confdefs.h" |
| 14472 /* Override any gcc2 internal prototype to avoid an error. */ | 14492 /* Override any gcc2 internal prototype to avoid an error. */ |
| 14473 /* We use char because int might match the return type of a gcc2 | 14493 /* We use char because int might match the return type of a gcc2 |
| 14474 builtin and then its argument prototype would still apply. */ | 14494 builtin and then its argument prototype would still apply. */ |
| 14475 char tgetent(); | 14495 char tgetent(); |
| 14476 | 14496 |
| 14477 int main() { | 14497 int main() { |
| 14478 tgetent() | 14498 tgetent() |
| 14479 ; return 0; } | 14499 ; return 0; } |
| 14480 EOF | 14500 EOF |
| 14481 if { (eval echo configure:14482: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14501 if { (eval echo configure:14502: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 14482 rm -rf conftest* | 14502 rm -rf conftest* |
| 14483 eval "ac_cv_lib_$ac_lib_var=yes" | 14503 eval "ac_cv_lib_$ac_lib_var=yes" |
| 14484 else | 14504 else |
| 14485 echo "configure: failed program was:" >&5 | 14505 echo "configure: failed program was:" >&5 |
| 14486 cat conftest.$ac_ext >&5 | 14506 cat conftest.$ac_ext >&5 |
| 14494 echo "$ac_t""yes" 1>&6 | 14514 echo "$ac_t""yes" 1>&6 |
| 14495 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi | 14515 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi |
| 14496 else | 14516 else |
| 14497 echo "$ac_t""no" 1>&6 | 14517 echo "$ac_t""no" 1>&6 |
| 14498 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 | 14518 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 |
| 14499 echo "configure:14500: checking for tgetent in -ltermcap" >&5 | 14519 echo "configure:14520: checking for tgetent in -ltermcap" >&5 |
| 14500 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` | 14520 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` |
| 14501 | 14521 |
| 14502 xe_check_libs=" -ltermcap " | 14522 xe_check_libs=" -ltermcap " |
| 14503 cat > conftest.$ac_ext <<EOF | 14523 cat > conftest.$ac_ext <<EOF |
| 14504 #line 14505 "configure" | 14524 #line 14525 "configure" |
| 14505 #include "confdefs.h" | 14525 #include "confdefs.h" |
| 14506 /* Override any gcc2 internal prototype to avoid an error. */ | 14526 /* Override any gcc2 internal prototype to avoid an error. */ |
| 14507 /* We use char because int might match the return type of a gcc2 | 14527 /* We use char because int might match the return type of a gcc2 |
| 14508 builtin and then its argument prototype would still apply. */ | 14528 builtin and then its argument prototype would still apply. */ |
| 14509 char tgetent(); | 14529 char tgetent(); |
| 14510 | 14530 |
| 14511 int main() { | 14531 int main() { |
| 14512 tgetent() | 14532 tgetent() |
| 14513 ; return 0; } | 14533 ; return 0; } |
| 14514 EOF | 14534 EOF |
| 14515 if { (eval echo configure:14516: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14535 if { (eval echo configure:14536: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 14516 rm -rf conftest* | 14536 rm -rf conftest* |
| 14517 eval "ac_cv_lib_$ac_lib_var=yes" | 14537 eval "ac_cv_lib_$ac_lib_var=yes" |
| 14518 else | 14538 else |
| 14519 echo "configure: failed program was:" >&5 | 14539 echo "configure: failed program was:" >&5 |
| 14520 cat conftest.$ac_ext >&5 | 14540 cat conftest.$ac_ext >&5 |
| 14558 } | 14578 } |
| 14559 | 14579 |
| 14560 | 14580 |
| 14561 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` | 14581 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` |
| 14562 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 | 14582 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 |
| 14563 echo "configure:14564: checking for gpm.h" >&5 | 14583 echo "configure:14584: checking for gpm.h" >&5 |
| 14564 | 14584 |
| 14565 cat > conftest.$ac_ext <<EOF | 14585 cat > conftest.$ac_ext <<EOF |
| 14566 #line 14567 "configure" | 14586 #line 14587 "configure" |
| 14567 #include "confdefs.h" | 14587 #include "confdefs.h" |
| 14568 #include <gpm.h> | 14588 #include <gpm.h> |
| 14569 EOF | 14589 EOF |
| 14570 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14590 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 14571 { (eval echo configure:14572: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14591 { (eval echo configure:14592: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 14572 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14592 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 14573 if test -z "$ac_err"; then | 14593 if test -z "$ac_err"; then |
| 14574 rm -rf conftest* | 14594 rm -rf conftest* |
| 14575 eval "ac_cv_header_$ac_safe=yes" | 14595 eval "ac_cv_header_$ac_safe=yes" |
| 14576 else | 14596 else |
| 14589 with_gpm=no | 14609 with_gpm=no |
| 14590 fi | 14610 fi |
| 14591 } | 14611 } |
| 14592 test -z "$with_gpm" && { | 14612 test -z "$with_gpm" && { |
| 14593 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 | 14613 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 |
| 14594 echo "configure:14595: checking for Gpm_Open in -lgpm" >&5 | 14614 echo "configure:14615: checking for Gpm_Open in -lgpm" >&5 |
| 14595 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` | 14615 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` |
| 14596 | 14616 |
| 14597 xe_check_libs=" -lgpm " | 14617 xe_check_libs=" -lgpm " |
| 14598 cat > conftest.$ac_ext <<EOF | 14618 cat > conftest.$ac_ext <<EOF |
| 14599 #line 14600 "configure" | 14619 #line 14620 "configure" |
| 14600 #include "confdefs.h" | 14620 #include "confdefs.h" |
| 14601 /* Override any gcc2 internal prototype to avoid an error. */ | 14621 /* Override any gcc2 internal prototype to avoid an error. */ |
| 14602 /* We use char because int might match the return type of a gcc2 | 14622 /* We use char because int might match the return type of a gcc2 |
| 14603 builtin and then its argument prototype would still apply. */ | 14623 builtin and then its argument prototype would still apply. */ |
| 14604 char Gpm_Open(); | 14624 char Gpm_Open(); |
| 14605 | 14625 |
| 14606 int main() { | 14626 int main() { |
| 14607 Gpm_Open() | 14627 Gpm_Open() |
| 14608 ; return 0; } | 14628 ; return 0; } |
| 14609 EOF | 14629 EOF |
| 14610 if { (eval echo configure:14611: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14630 if { (eval echo configure:14631: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 14611 rm -rf conftest* | 14631 rm -rf conftest* |
| 14612 eval "ac_cv_lib_$ac_lib_var=yes" | 14632 eval "ac_cv_lib_$ac_lib_var=yes" |
| 14613 else | 14633 else |
| 14614 echo "configure: failed program was:" >&5 | 14634 echo "configure: failed program was:" >&5 |
| 14615 cat conftest.$ac_ext >&5 | 14635 cat conftest.$ac_ext >&5 |
| 14648 done | 14668 done |
| 14649 fi | 14669 fi |
| 14650 | 14670 |
| 14651 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ | 14671 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ |
| 14652 != "no no no" && echo "checking for database support" 1>&6 | 14672 != "no no no" && echo "checking for database support" 1>&6 |
| 14653 echo "configure:14654: checking for database support" >&5 | 14673 echo "configure:14674: checking for database support" >&5 |
| 14654 | 14674 |
| 14655 if test "$with_database_gdbm $with_database_dbm" != "no no"; then | 14675 if test "$with_database_gdbm $with_database_dbm" != "no no"; then |
| 14656 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` | 14676 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` |
| 14657 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 | 14677 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 |
| 14658 echo "configure:14659: checking for ndbm.h" >&5 | 14678 echo "configure:14679: checking for ndbm.h" >&5 |
| 14659 | 14679 |
| 14660 cat > conftest.$ac_ext <<EOF | 14680 cat > conftest.$ac_ext <<EOF |
| 14661 #line 14662 "configure" | 14681 #line 14682 "configure" |
| 14662 #include "confdefs.h" | 14682 #include "confdefs.h" |
| 14663 #include <ndbm.h> | 14683 #include <ndbm.h> |
| 14664 EOF | 14684 EOF |
| 14665 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14685 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 14666 { (eval echo configure:14667: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14686 { (eval echo configure:14687: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 14667 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14687 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 14668 if test -z "$ac_err"; then | 14688 if test -z "$ac_err"; then |
| 14669 rm -rf conftest* | 14689 rm -rf conftest* |
| 14670 eval "ac_cv_header_$ac_safe=yes" | 14690 eval "ac_cv_header_$ac_safe=yes" |
| 14671 else | 14691 else |
| 14691 fi | 14711 fi |
| 14692 | 14712 |
| 14693 if test "$with_database_gdbm" != "no"; then | 14713 if test "$with_database_gdbm" != "no"; then |
| 14694 | 14714 |
| 14695 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 | 14715 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 |
| 14696 echo "configure:14697: checking for dbm_open in -lgdbm" >&5 | 14716 echo "configure:14717: checking for dbm_open in -lgdbm" >&5 |
| 14697 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` | 14717 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` |
| 14698 | 14718 |
| 14699 xe_check_libs=" -lgdbm " | 14719 xe_check_libs=" -lgdbm " |
| 14700 cat > conftest.$ac_ext <<EOF | 14720 cat > conftest.$ac_ext <<EOF |
| 14701 #line 14702 "configure" | 14721 #line 14722 "configure" |
| 14702 #include "confdefs.h" | 14722 #include "confdefs.h" |
| 14703 /* Override any gcc2 internal prototype to avoid an error. */ | 14723 /* Override any gcc2 internal prototype to avoid an error. */ |
| 14704 /* We use char because int might match the return type of a gcc2 | 14724 /* We use char because int might match the return type of a gcc2 |
| 14705 builtin and then its argument prototype would still apply. */ | 14725 builtin and then its argument prototype would still apply. */ |
| 14706 char dbm_open(); | 14726 char dbm_open(); |
| 14707 | 14727 |
| 14708 int main() { | 14728 int main() { |
| 14709 dbm_open() | 14729 dbm_open() |
| 14710 ; return 0; } | 14730 ; return 0; } |
| 14711 EOF | 14731 EOF |
| 14712 if { (eval echo configure:14713: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14732 if { (eval echo configure:14733: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 14713 rm -rf conftest* | 14733 rm -rf conftest* |
| 14714 eval "ac_cv_lib_$ac_lib_var=yes" | 14734 eval "ac_cv_lib_$ac_lib_var=yes" |
| 14715 else | 14735 else |
| 14716 echo "configure: failed program was:" >&5 | 14736 echo "configure: failed program was:" >&5 |
| 14717 cat conftest.$ac_ext >&5 | 14737 cat conftest.$ac_ext >&5 |
| 14735 | 14755 |
| 14736 fi | 14756 fi |
| 14737 | 14757 |
| 14738 if test "$with_database_dbm" != "no"; then | 14758 if test "$with_database_dbm" != "no"; then |
| 14739 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 14759 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
| 14740 echo "configure:14741: checking for dbm_open" >&5 | 14760 echo "configure:14761: checking for dbm_open" >&5 |
| 14741 | 14761 |
| 14742 cat > conftest.$ac_ext <<EOF | 14762 cat > conftest.$ac_ext <<EOF |
| 14743 #line 14744 "configure" | 14763 #line 14764 "configure" |
| 14744 #include "confdefs.h" | 14764 #include "confdefs.h" |
| 14745 /* System header to define __stub macros and hopefully few prototypes, | 14765 /* System header to define __stub macros and hopefully few prototypes, |
| 14746 which can conflict with char dbm_open(); below. */ | 14766 which can conflict with char dbm_open(); below. */ |
| 14747 #include <assert.h> | 14767 #include <assert.h> |
| 14748 /* Override any gcc2 internal prototype to avoid an error. */ | 14768 /* Override any gcc2 internal prototype to avoid an error. */ |
| 14761 dbm_open(); | 14781 dbm_open(); |
| 14762 #endif | 14782 #endif |
| 14763 | 14783 |
| 14764 ; return 0; } | 14784 ; return 0; } |
| 14765 EOF | 14785 EOF |
| 14766 if { (eval echo configure:14767: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14786 if { (eval echo configure:14787: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 14767 rm -rf conftest* | 14787 rm -rf conftest* |
| 14768 eval "ac_cv_func_dbm_open=yes" | 14788 eval "ac_cv_func_dbm_open=yes" |
| 14769 else | 14789 else |
| 14770 echo "configure: failed program was:" >&5 | 14790 echo "configure: failed program was:" >&5 |
| 14771 cat conftest.$ac_ext >&5 | 14791 cat conftest.$ac_ext >&5 |
| 14780 else | 14800 else |
| 14781 echo "$ac_t""no" 1>&6 | 14801 echo "$ac_t""no" 1>&6 |
| 14782 | 14802 |
| 14783 | 14803 |
| 14784 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 | 14804 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 |
| 14785 echo "configure:14786: checking for dbm_open in -ldbm" >&5 | 14805 echo "configure:14806: checking for dbm_open in -ldbm" >&5 |
| 14786 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` | 14806 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` |
| 14787 | 14807 |
| 14788 xe_check_libs=" -ldbm " | 14808 xe_check_libs=" -ldbm " |
| 14789 cat > conftest.$ac_ext <<EOF | 14809 cat > conftest.$ac_ext <<EOF |
| 14790 #line 14791 "configure" | 14810 #line 14811 "configure" |
| 14791 #include "confdefs.h" | 14811 #include "confdefs.h" |
| 14792 /* Override any gcc2 internal prototype to avoid an error. */ | 14812 /* Override any gcc2 internal prototype to avoid an error. */ |
| 14793 /* We use char because int might match the return type of a gcc2 | 14813 /* We use char because int might match the return type of a gcc2 |
| 14794 builtin and then its argument prototype would still apply. */ | 14814 builtin and then its argument prototype would still apply. */ |
| 14795 char dbm_open(); | 14815 char dbm_open(); |
| 14796 | 14816 |
| 14797 int main() { | 14817 int main() { |
| 14798 dbm_open() | 14818 dbm_open() |
| 14799 ; return 0; } | 14819 ; return 0; } |
| 14800 EOF | 14820 EOF |
| 14801 if { (eval echo configure:14802: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14821 if { (eval echo configure:14822: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 14802 rm -rf conftest* | 14822 rm -rf conftest* |
| 14803 eval "ac_cv_lib_$ac_lib_var=yes" | 14823 eval "ac_cv_lib_$ac_lib_var=yes" |
| 14804 else | 14824 else |
| 14805 echo "configure: failed program was:" >&5 | 14825 echo "configure: failed program was:" >&5 |
| 14806 cat conftest.$ac_ext >&5 | 14826 cat conftest.$ac_ext >&5 |
| 14837 } | 14857 } |
| 14838 | 14858 |
| 14839 | 14859 |
| 14840 if test "$with_database_berkdb" != "no"; then | 14860 if test "$with_database_berkdb" != "no"; then |
| 14841 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 | 14861 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 |
| 14842 echo "configure:14843: checking for Berkeley db.h" >&5 | 14862 echo "configure:14863: checking for Berkeley db.h" >&5 |
| 14843 for header in "db/db.h" "db.h"; do | 14863 for header in "db/db.h" "db.h"; do |
| 14844 cat > conftest.$ac_ext <<EOF | 14864 cat > conftest.$ac_ext <<EOF |
| 14845 #line 14846 "configure" | 14865 #line 14866 "configure" |
| 14846 #include "confdefs.h" | 14866 #include "confdefs.h" |
| 14847 | 14867 |
| 14848 #include <stdlib.h> | 14868 #include <stdlib.h> |
| 14849 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) | 14869 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) |
| 14850 #ifdef HAVE_INTTYPES_H | 14870 #ifdef HAVE_INTTYPES_H |
| 14862 | 14882 |
| 14863 int main() { | 14883 int main() { |
| 14864 | 14884 |
| 14865 ; return 0; } | 14885 ; return 0; } |
| 14866 EOF | 14886 EOF |
| 14867 if { (eval echo configure:14868: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 14887 if { (eval echo configure:14888: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 14868 rm -rf conftest* | 14888 rm -rf conftest* |
| 14869 db_h_file="$header"; break | 14889 db_h_file="$header"; break |
| 14870 else | 14890 else |
| 14871 echo "configure: failed program was:" >&5 | 14891 echo "configure: failed program was:" >&5 |
| 14872 cat conftest.$ac_ext >&5 | 14892 cat conftest.$ac_ext >&5 |
| 14878 else echo "$ac_t""$db_h_file" 1>&6 | 14898 else echo "$ac_t""$db_h_file" 1>&6 |
| 14879 fi | 14899 fi |
| 14880 | 14900 |
| 14881 if test "$with_database_berkdb" != "no"; then | 14901 if test "$with_database_berkdb" != "no"; then |
| 14882 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 | 14902 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 |
| 14883 echo "configure:14884: checking for Berkeley DB version" >&5 | 14903 echo "configure:14904: checking for Berkeley DB version" >&5 |
| 14884 cat > conftest.$ac_ext <<EOF | 14904 cat > conftest.$ac_ext <<EOF |
| 14885 #line 14886 "configure" | 14905 #line 14906 "configure" |
| 14886 #include "confdefs.h" | 14906 #include "confdefs.h" |
| 14887 #include <$db_h_file> | 14907 #include <$db_h_file> |
| 14888 #if DB_VERSION_MAJOR > 1 | 14908 #if DB_VERSION_MAJOR > 1 |
| 14889 yes | 14909 yes |
| 14890 #endif | 14910 #endif |
| 14892 EOF | 14912 EOF |
| 14893 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 14913 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 14894 egrep "yes" >/dev/null 2>&1; then | 14914 egrep "yes" >/dev/null 2>&1; then |
| 14895 rm -rf conftest* | 14915 rm -rf conftest* |
| 14896 cat > conftest.$ac_ext <<EOF | 14916 cat > conftest.$ac_ext <<EOF |
| 14897 #line 14898 "configure" | 14917 #line 14918 "configure" |
| 14898 #include "confdefs.h" | 14918 #include "confdefs.h" |
| 14899 #include <$db_h_file> | 14919 #include <$db_h_file> |
| 14900 #if DB_VERSION_MAJOR > 2 | 14920 #if DB_VERSION_MAJOR > 2 |
| 14901 yes | 14921 yes |
| 14902 #endif | 14922 #endif |
| 14919 echo "$ac_t""1" 1>&6; dbfunc=dbopen | 14939 echo "$ac_t""1" 1>&6; dbfunc=dbopen |
| 14920 fi | 14940 fi |
| 14921 rm -f conftest* | 14941 rm -f conftest* |
| 14922 | 14942 |
| 14923 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 | 14943 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 |
| 14924 echo "configure:14925: checking for $dbfunc" >&5 | 14944 echo "configure:14945: checking for $dbfunc" >&5 |
| 14925 | 14945 |
| 14926 cat > conftest.$ac_ext <<EOF | 14946 cat > conftest.$ac_ext <<EOF |
| 14927 #line 14928 "configure" | 14947 #line 14948 "configure" |
| 14928 #include "confdefs.h" | 14948 #include "confdefs.h" |
| 14929 /* System header to define __stub macros and hopefully few prototypes, | 14949 /* System header to define __stub macros and hopefully few prototypes, |
| 14930 which can conflict with char $dbfunc(); below. */ | 14950 which can conflict with char $dbfunc(); below. */ |
| 14931 #include <assert.h> | 14951 #include <assert.h> |
| 14932 /* Override any gcc2 internal prototype to avoid an error. */ | 14952 /* Override any gcc2 internal prototype to avoid an error. */ |
| 14945 $dbfunc(); | 14965 $dbfunc(); |
| 14946 #endif | 14966 #endif |
| 14947 | 14967 |
| 14948 ; return 0; } | 14968 ; return 0; } |
| 14949 EOF | 14969 EOF |
| 14950 if { (eval echo configure:14951: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14970 if { (eval echo configure:14971: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 14951 rm -rf conftest* | 14971 rm -rf conftest* |
| 14952 eval "ac_cv_func_$dbfunc=yes" | 14972 eval "ac_cv_func_$dbfunc=yes" |
| 14953 else | 14973 else |
| 14954 echo "configure: failed program was:" >&5 | 14974 echo "configure: failed program was:" >&5 |
| 14955 cat conftest.$ac_ext >&5 | 14975 cat conftest.$ac_ext >&5 |
| 14964 else | 14984 else |
| 14965 echo "$ac_t""no" 1>&6 | 14985 echo "$ac_t""no" 1>&6 |
| 14966 | 14986 |
| 14967 | 14987 |
| 14968 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 | 14988 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 |
| 14969 echo "configure:14970: checking for $dbfunc in -ldb" >&5 | 14989 echo "configure:14990: checking for $dbfunc in -ldb" >&5 |
| 14970 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` | 14990 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` |
| 14971 | 14991 |
| 14972 xe_check_libs=" -ldb " | 14992 xe_check_libs=" -ldb " |
| 14973 cat > conftest.$ac_ext <<EOF | 14993 cat > conftest.$ac_ext <<EOF |
| 14974 #line 14975 "configure" | 14994 #line 14995 "configure" |
| 14975 #include "confdefs.h" | 14995 #include "confdefs.h" |
| 14976 /* Override any gcc2 internal prototype to avoid an error. */ | 14996 /* Override any gcc2 internal prototype to avoid an error. */ |
| 14977 /* We use char because int might match the return type of a gcc2 | 14997 /* We use char because int might match the return type of a gcc2 |
| 14978 builtin and then its argument prototype would still apply. */ | 14998 builtin and then its argument prototype would still apply. */ |
| 14979 char $dbfunc(); | 14999 char $dbfunc(); |
| 14980 | 15000 |
| 14981 int main() { | 15001 int main() { |
| 14982 $dbfunc() | 15002 $dbfunc() |
| 14983 ; return 0; } | 15003 ; return 0; } |
| 14984 EOF | 15004 EOF |
| 14985 if { (eval echo configure:14986: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15005 if { (eval echo configure:15006: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 14986 rm -rf conftest* | 15006 rm -rf conftest* |
| 14987 eval "ac_cv_lib_$ac_lib_var=yes" | 15007 eval "ac_cv_lib_$ac_lib_var=yes" |
| 14988 else | 15008 else |
| 14989 echo "configure: failed program was:" >&5 | 15009 echo "configure: failed program was:" >&5 |
| 14990 cat conftest.$ac_ext >&5 | 15010 cat conftest.$ac_ext >&5 |
| 15041 fi | 15061 fi |
| 15042 | 15062 |
| 15043 if test "$with_socks" = "yes"; then | 15063 if test "$with_socks" = "yes"; then |
| 15044 | 15064 |
| 15045 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 | 15065 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 |
| 15046 echo "configure:15047: checking for SOCKSinit in -lsocks" >&5 | 15066 echo "configure:15067: checking for SOCKSinit in -lsocks" >&5 |
| 15047 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` | 15067 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` |
| 15048 | 15068 |
| 15049 xe_check_libs=" -lsocks " | 15069 xe_check_libs=" -lsocks " |
| 15050 cat > conftest.$ac_ext <<EOF | 15070 cat > conftest.$ac_ext <<EOF |
| 15051 #line 15052 "configure" | 15071 #line 15072 "configure" |
| 15052 #include "confdefs.h" | 15072 #include "confdefs.h" |
| 15053 /* Override any gcc2 internal prototype to avoid an error. */ | 15073 /* Override any gcc2 internal prototype to avoid an error. */ |
| 15054 /* We use char because int might match the return type of a gcc2 | 15074 /* We use char because int might match the return type of a gcc2 |
| 15055 builtin and then its argument prototype would still apply. */ | 15075 builtin and then its argument prototype would still apply. */ |
| 15056 char SOCKSinit(); | 15076 char SOCKSinit(); |
| 15057 | 15077 |
| 15058 int main() { | 15078 int main() { |
| 15059 SOCKSinit() | 15079 SOCKSinit() |
| 15060 ; return 0; } | 15080 ; return 0; } |
| 15061 EOF | 15081 EOF |
| 15062 if { (eval echo configure:15063: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15082 if { (eval echo configure:15083: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 15063 rm -rf conftest* | 15083 rm -rf conftest* |
| 15064 eval "ac_cv_lib_$ac_lib_var=yes" | 15084 eval "ac_cv_lib_$ac_lib_var=yes" |
| 15065 else | 15085 else |
| 15066 echo "configure: failed program was:" >&5 | 15086 echo "configure: failed program was:" >&5 |
| 15067 cat conftest.$ac_ext >&5 | 15087 cat conftest.$ac_ext >&5 |
| 15111 | 15131 |
| 15112 LIBS="-Bstatic -lut -Bdynamic $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-Bstatic -lut -Bdynamic\" to \$LIBS"; fi | 15132 LIBS="-Bstatic -lut -Bdynamic $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-Bstatic -lut -Bdynamic\" to \$LIBS"; fi |
| 15113 fi | 15133 fi |
| 15114 | 15134 |
| 15115 cat > conftest.$ac_ext <<EOF | 15135 cat > conftest.$ac_ext <<EOF |
| 15116 #line 15117 "configure" | 15136 #line 15137 "configure" |
| 15117 #include "confdefs.h" | 15137 #include "confdefs.h" |
| 15118 int main(int c,char *v[]){return 0;} | 15138 int main(int c,char *v[]){return 0;} |
| 15119 EOF | 15139 EOF |
| 15120 if { (eval echo configure:15121: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 15140 if { (eval echo configure:15141: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
| 15121 then | 15141 then |
| 15122 : | 15142 : |
| 15123 else | 15143 else |
| 15124 conftest_rc="$?" | 15144 conftest_rc="$?" |
| 15125 echo "configure: failed program was:" >&5 | 15145 echo "configure: failed program was:" >&5 |
