Changeset 2173
- Timestamp:
- 2001-03-14T04:15:23+13:00 (22 years ago)
- Location:
- trunk/gsdl
- Files:
-
- 1 added
- 15 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/acconfig.h
r1860 r2173 44 44 #undef MICO_DIR 45 45 46 /* Define MICO_VERSION if required */ 47 #undef MICO_VERSION 46 48 47 49 48 50 49 -
trunk/gsdl/config.h.in
r1860 r2173 105 105 #undef MICO_DIR 106 106 107 /* Define MICO_VERSION if required */ 108 #undef MICO_VERSION 109 107 110 /* Define if you have the ftime function. */ 108 111 #undef HAVE_FTIME -
trunk/gsdl/configure
r2051 r2173 990 990 fi 991 991 992 for ac_prog in mawk gawk nawk awk992 for ac_prog in gawk mawk nawk awk 993 993 do 994 994 # Extract the first word of "$ac_prog", so it can be a program name with args. … … 1222 1222 1223 1223 1224 #moved CORBA MICO directory test to get version of MICO 1225 if test $USE_CORBA = 1; then 1226 1227 if test $MICO_DIR = default; then 1228 #do something 1229 MICO_INC="-I packages/mico/mico/include" 1230 else 1231 #build the micotest program 1232 MICO_INC= "" 1233 if test $MICO_DIR != yes; then 1234 MICO_INC="-I $MICO_DIR" 1235 fi 1236 fi 1237 1238 #get MICO_VER value 1239 sh -c "$CC -c micotest.cpp -o micotest.o $MICO_INC 2>&1" > /dev/null 1240 sh -c "$CC -o micotest micotest.o -lstdc++ 2>&1" > /dev/null 1241 MICO_VER=`./micotest` || MICO_VER=0 1242 sh -c "rm micotest" 1243 sh -c "rm micotest.o" 1244 1245 #do test of MICO_VER 1246 if test MICO_VER != 0; then 1247 cat >> confdefs.h <<\EOF 1248 #define MICO_VER 1 1249 EOF 1250 1251 1252 fi 1253 #end USE_CORBA test 1254 fi 1255 1224 1256 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 1225 echo "configure:12 26: checking how to run the C preprocessor" >&51257 echo "configure:1258: checking how to run the C preprocessor" >&5 1226 1258 # On Suns, sometimes $CPP names a directory. 1227 1259 if test -n "$CPP" && test -d "$CPP"; then … … 1238 1270 # not just through cpp. 1239 1271 cat > conftest.$ac_ext <<EOF 1240 #line 12 41"configure"1272 #line 1273 "configure" 1241 1273 #include "confdefs.h" 1242 1274 #include <assert.h> … … 1244 1276 EOF 1245 1277 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1246 { (eval echo configure:12 47: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1278 { (eval echo configure:1279: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1247 1279 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1248 1280 if test -z "$ac_err"; then … … 1255 1287 CPP="${CC-cc} -E -traditional-cpp" 1256 1288 cat > conftest.$ac_ext <<EOF 1257 #line 12 58"configure"1289 #line 1290 "configure" 1258 1290 #include "confdefs.h" 1259 1291 #include <assert.h> … … 1261 1293 EOF 1262 1294 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1263 { (eval echo configure:12 64: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1295 { (eval echo configure:1296: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1264 1296 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1265 1297 if test -z "$ac_err"; then … … 1272 1304 CPP="${CC-cc} -nologo -E" 1273 1305 cat > conftest.$ac_ext <<EOF 1274 #line 1 275"configure"1306 #line 1307 "configure" 1275 1307 #include "confdefs.h" 1276 1308 #include <assert.h> … … 1278 1310 EOF 1279 1311 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1280 { (eval echo configure:1 281: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1312 { (eval echo configure:1313: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1281 1313 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1282 1314 if test -z "$ac_err"; then … … 1303 1335 1304 1336 echo $ac_n "checking for AIX""... $ac_c" 1>&6 1305 echo "configure:13 06: checking for AIX" >&51337 echo "configure:1338: checking for AIX" >&5 1306 1338 cat > conftest.$ac_ext <<EOF 1307 #line 13 08"configure"1339 #line 1340 "configure" 1308 1340 #include "confdefs.h" 1309 1341 #ifdef _AIX … … 1327 1359 1328 1360 echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&6 1329 echo "configure:13 30: checking for POSIXized ISC" >&51361 echo "configure:1362: checking for POSIXized ISC" >&5 1330 1362 if test -d /etc/conf/kconfig.d && 1331 1363 grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1 … … 1349 1381 ac_safe=`echo "minix/config.h" | sed 'y%./+-%__p_%'` 1350 1382 echo $ac_n "checking for minix/config.h""... $ac_c" 1>&6 1351 echo "configure:13 52: checking for minix/config.h" >&51383 echo "configure:1384: checking for minix/config.h" >&5 1352 1384 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 1353 1385 echo $ac_n "(cached) $ac_c" 1>&6 1354 1386 else 1355 1387 cat > conftest.$ac_ext <<EOF 1356 #line 13 57"configure"1388 #line 1389 "configure" 1357 1389 #include "confdefs.h" 1358 1390 #include <minix/config.h> 1359 1391 EOF 1360 1392 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1361 { (eval echo configure:13 62: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1393 { (eval echo configure:1394: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1362 1394 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1363 1395 if test -z "$ac_err"; then … … 1397 1429 1398 1430 echo $ac_n "checking for ${CC-cc} option to accept ANSI C""... $ac_c" 1>&6 1399 echo "configure:14 00: checking for ${CC-cc} option to accept ANSI C" >&51431 echo "configure:1432: checking for ${CC-cc} option to accept ANSI C" >&5 1400 1432 if eval "test \"`echo '$''{'ac_cv_prog_cc_stdc'+set}'`\" = set"; then 1401 1433 echo $ac_n "(cached) $ac_c" 1>&6 … … 1413 1445 CFLAGS="$ac_save_CFLAGS $ac_arg" 1414 1446 cat > conftest.$ac_ext <<EOF 1415 #line 14 16"configure"1447 #line 1448 "configure" 1416 1448 #include "confdefs.h" 1417 1449 #if !defined(__STDC__) || __STDC__ != 1 … … 1425 1457 ; return 0; } 1426 1458 EOF 1427 if { (eval echo configure:14 28: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then1459 if { (eval echo configure:1460: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1428 1460 rm -rf conftest* 1429 1461 ac_cv_prog_cc_stdc="$ac_arg"; break … … 1446 1478 1447 1479 echo $ac_n "checking for function prototypes""... $ac_c" 1>&6 1448 echo "configure:14 49: checking for function prototypes" >&51480 echo "configure:1481: checking for function prototypes" >&5 1449 1481 if test "$ac_cv_prog_cc_stdc" != no; then 1450 1482 echo "$ac_t""yes" 1>&6 … … 1460 1492 1461 1493 echo $ac_n "checking for working const""... $ac_c" 1>&6 1462 echo "configure:14 63: checking for working const" >&51494 echo "configure:1495: checking for working const" >&5 1463 1495 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then 1464 1496 echo $ac_n "(cached) $ac_c" 1>&6 1465 1497 else 1466 1498 cat > conftest.$ac_ext <<EOF 1467 #line 1 468"configure"1499 #line 1500 "configure" 1468 1500 #include "confdefs.h" 1469 1501 … … 1514 1546 ; return 0; } 1515 1547 EOF 1516 if { (eval echo configure:15 17: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then1548 if { (eval echo configure:1549: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1517 1549 rm -rf conftest* 1518 1550 ac_cv_c_const=yes … … 1535 1567 1536 1568 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 1537 echo "configure:15 38: checking for ANSI C header files" >&51569 echo "configure:1570: checking for ANSI C header files" >&5 1538 1570 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then 1539 1571 echo $ac_n "(cached) $ac_c" 1>&6 1540 1572 else 1541 1573 cat > conftest.$ac_ext <<EOF 1542 #line 15 43"configure"1574 #line 1575 "configure" 1543 1575 #include "confdefs.h" 1544 1576 #include <stdlib.h> … … 1548 1580 EOF 1549 1581 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1550 { (eval echo configure:15 51: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1582 { (eval echo configure:1583: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1551 1583 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1552 1584 if test -z "$ac_err"; then … … 1565 1597 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 1566 1598 cat > conftest.$ac_ext <<EOF 1567 #line 1 568"configure"1599 #line 1600 "configure" 1568 1600 #include "confdefs.h" 1569 1601 #include <string.h> … … 1583 1615 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 1584 1616 cat > conftest.$ac_ext <<EOF 1585 #line 1 586"configure"1617 #line 1618 "configure" 1586 1618 #include "confdefs.h" 1587 1619 #include <stdlib.h> … … 1604 1636 else 1605 1637 cat > conftest.$ac_ext <<EOF 1606 #line 16 07"configure"1638 #line 1639 "configure" 1607 1639 #include "confdefs.h" 1608 1640 #include <ctype.h> … … 1615 1647 1616 1648 EOF 1617 if { (eval echo configure:16 18: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null1649 if { (eval echo configure:1650: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 1618 1650 then 1619 1651 : … … 1639 1671 1640 1672 echo $ac_n "checking for off_t""... $ac_c" 1>&6 1641 echo "configure:16 42: checking for off_t" >&51673 echo "configure:1674: checking for off_t" >&5 1642 1674 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then 1643 1675 echo $ac_n "(cached) $ac_c" 1>&6 1644 1676 else 1645 1677 cat > conftest.$ac_ext <<EOF 1646 #line 16 47"configure"1678 #line 1679 "configure" 1647 1679 #include "confdefs.h" 1648 1680 #include <sys/types.h> … … 1672 1704 1673 1705 echo $ac_n "checking for size_t""... $ac_c" 1>&6 1674 echo "configure:1 675: checking for size_t" >&51706 echo "configure:1707: checking for size_t" >&5 1675 1707 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then 1676 1708 echo $ac_n "(cached) $ac_c" 1>&6 1677 1709 else 1678 1710 cat > conftest.$ac_ext <<EOF 1679 #line 1 680"configure"1711 #line 1712 "configure" 1680 1712 #include "confdefs.h" 1681 1713 #include <sys/types.h> … … 1705 1737 1706 1738 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 1707 echo "configure:17 08: checking whether time.h and sys/time.h may both be included" >&51739 echo "configure:1740: checking whether time.h and sys/time.h may both be included" >&5 1708 1740 if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then 1709 1741 echo $ac_n "(cached) $ac_c" 1>&6 1710 1742 else 1711 1743 cat > conftest.$ac_ext <<EOF 1712 #line 17 13"configure"1744 #line 1745 "configure" 1713 1745 #include "confdefs.h" 1714 1746 #include <sys/types.h> … … 1719 1751 ; return 0; } 1720 1752 EOF 1721 if { (eval echo configure:17 22: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then1753 if { (eval echo configure:1754: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1722 1754 rm -rf conftest* 1723 1755 ac_cv_header_time=yes … … 1740 1772 1741 1773 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 1742 echo "configure:17 43: checking whether struct tm is in sys/time.h or time.h" >&51774 echo "configure:1775: checking whether struct tm is in sys/time.h or time.h" >&5 1743 1775 if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then 1744 1776 echo $ac_n "(cached) $ac_c" 1>&6 1745 1777 else 1746 1778 cat > conftest.$ac_ext <<EOF 1747 #line 17 48"configure"1779 #line 1780 "configure" 1748 1780 #include "confdefs.h" 1749 1781 #include <sys/types.h> … … 1753 1785 ; return 0; } 1754 1786 EOF 1755 if { (eval echo configure:17 56: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then1787 if { (eval echo configure:1788: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1756 1788 rm -rf conftest* 1757 1789 ac_cv_struct_tm=time.h … … 1776 1808 if test "$ac_cv_prog_cc_stdc" = '-Xc'; then 1777 1809 cat > conftest.$ac_ext <<EOF 1778 #line 1 779"configure"1810 #line 1811 "configure" 1779 1811 #include "confdefs.h" 1780 1812 #include <stdio.h> … … 1784 1816 ; return 0; } 1785 1817 EOF 1786 if { (eval echo configure:1 787: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then1818 if { (eval echo configure:1819: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1787 1819 : 1788 1820 else … … 1797 1829 1798 1830 echo $ac_n "checking for main in -lg""... $ac_c" 1>&6 1799 echo "configure:18 00: checking for main in -lg" >&51831 echo "configure:1832: checking for main in -lg" >&5 1800 1832 ac_lib_var=`echo g'_'main | sed 'y%./+-%__p_%'` 1801 1833 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1805 1837 LIBS="-lg $LIBS" 1806 1838 cat > conftest.$ac_ext <<EOF 1807 #line 18 08"configure"1839 #line 1840 "configure" 1808 1840 #include "confdefs.h" 1809 1841 … … 1812 1844 ; return 0; } 1813 1845 EOF 1814 if { (eval echo configure:18 15: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1846 if { (eval echo configure:1847: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1815 1847 rm -rf conftest* 1816 1848 eval "ac_cv_lib_$ac_lib_var=yes" … … 1840 1872 1841 1873 echo $ac_n "checking for main in -lgdbm""... $ac_c" 1>&6 1842 echo "configure:18 43: checking for main in -lgdbm" >&51874 echo "configure:1875: checking for main in -lgdbm" >&5 1843 1875 ac_lib_var=`echo gdbm'_'main | sed 'y%./+-%__p_%'` 1844 1876 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1848 1880 LIBS="-lgdbm $LIBS" 1849 1881 cat > conftest.$ac_ext <<EOF 1850 #line 18 51"configure"1882 #line 1883 "configure" 1851 1883 #include "confdefs.h" 1852 1884 … … 1855 1887 ; return 0; } 1856 1888 EOF 1857 if { (eval echo configure:18 58: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1889 if { (eval echo configure:1890: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1858 1890 rm -rf conftest* 1859 1891 eval "ac_cv_lib_$ac_lib_var=yes" … … 1883 1915 1884 1916 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6 1885 echo "configure:1 886: checking for main in -lm" >&51917 echo "configure:1918: checking for main in -lm" >&5 1886 1918 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'` 1887 1919 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1891 1923 LIBS="-lm $LIBS" 1892 1924 cat > conftest.$ac_ext <<EOF 1893 #line 1 894"configure"1925 #line 1926 "configure" 1894 1926 #include "confdefs.h" 1895 1927 … … 1898 1930 ; return 0; } 1899 1931 EOF 1900 if { (eval echo configure:19 01: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1932 if { (eval echo configure:1933: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1901 1933 rm -rf conftest* 1902 1934 eval "ac_cv_lib_$ac_lib_var=yes" … … 1926 1958 1927 1959 echo $ac_n "checking for main in -lstdc++""... $ac_c" 1>&6 1928 echo "configure:19 29: checking for main in -lstdc++" >&51960 echo "configure:1961: checking for main in -lstdc++" >&5 1929 1961 ac_lib_var=`echo stdc++'_'main | sed 'y%./+-%__p_%'` 1930 1962 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1934 1966 LIBS="-lstdc++ $LIBS" 1935 1967 cat > conftest.$ac_ext <<EOF 1936 #line 19 37"configure"1968 #line 1969 "configure" 1937 1969 #include "confdefs.h" 1938 1970 … … 1941 1973 ; return 0; } 1942 1974 EOF 1943 if { (eval echo configure:19 44: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1975 if { (eval echo configure:1976: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1944 1976 rm -rf conftest* 1945 1977 eval "ac_cv_lib_$ac_lib_var=yes" … … 1969 2001 1970 2002 echo $ac_n "checking for main in -lcrypt""... $ac_c" 1>&6 1971 echo "configure: 1972: checking for main in -lcrypt" >&52003 echo "configure:2004: checking for main in -lcrypt" >&5 1972 2004 ac_lib_var=`echo crypt'_'main | sed 'y%./+-%__p_%'` 1973 2005 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1977 2009 LIBS="-lcrypt $LIBS" 1978 2010 cat > conftest.$ac_ext <<EOF 1979 #line 1980"configure"2011 #line 2012 "configure" 1980 2012 #include "confdefs.h" 1981 2013 … … 1984 2016 ; return 0; } 1985 2017 EOF 1986 if { (eval echo configure: 1987: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2018 if { (eval echo configure:2019: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1987 2019 rm -rf conftest* 1988 2020 eval "ac_cv_lib_$ac_lib_var=yes" … … 2018 2050 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 2019 2051 echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6 2020 echo "configure:20 21: checking for $ac_hdr that defines DIR" >&52052 echo "configure:2053: checking for $ac_hdr that defines DIR" >&5 2021 2053 if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then 2022 2054 echo $ac_n "(cached) $ac_c" 1>&6 2023 2055 else 2024 2056 cat > conftest.$ac_ext <<EOF 2025 #line 20 26"configure"2057 #line 2058 "configure" 2026 2058 #include "confdefs.h" 2027 2059 #include <sys/types.h> … … 2031 2063 ; return 0; } 2032 2064 EOF 2033 if { (eval echo configure:20 34: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then2065 if { (eval echo configure:2066: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2034 2066 rm -rf conftest* 2035 2067 eval "ac_cv_header_dirent_$ac_safe=yes" … … 2056 2088 if test $ac_header_dirent = dirent.h; then 2057 2089 echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6 2058 echo "configure:20 59: checking for opendir in -ldir" >&52090 echo "configure:2091: checking for opendir in -ldir" >&5 2059 2091 ac_lib_var=`echo dir'_'opendir | sed 'y%./+-%__p_%'` 2060 2092 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 2064 2096 LIBS="-ldir $LIBS" 2065 2097 cat > conftest.$ac_ext <<EOF 2066 #line 20 67"configure"2098 #line 2099 "configure" 2067 2099 #include "confdefs.h" 2068 2100 /* Override any gcc2 internal prototype to avoid an error. */ … … 2075 2107 ; return 0; } 2076 2108 EOF 2077 if { (eval echo configure:2 078: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2109 if { (eval echo configure:2110: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2078 2110 rm -rf conftest* 2079 2111 eval "ac_cv_lib_$ac_lib_var=yes" … … 2097 2129 else 2098 2130 echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6 2099 echo "configure:21 00: checking for opendir in -lx" >&52131 echo "configure:2132: checking for opendir in -lx" >&5 2100 2132 ac_lib_var=`echo x'_'opendir | sed 'y%./+-%__p_%'` 2101 2133 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 2105 2137 LIBS="-lx $LIBS" 2106 2138 cat > conftest.$ac_ext <<EOF 2107 #line 21 08"configure"2139 #line 2140 "configure" 2108 2140 #include "confdefs.h" 2109 2141 /* Override any gcc2 internal prototype to avoid an error. */ … … 2116 2148 ; return 0; } 2117 2149 EOF 2118 if { (eval echo configure:21 19: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2150 if { (eval echo configure:2151: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2119 2151 rm -rf conftest* 2120 2152 eval "ac_cv_lib_$ac_lib_var=yes" … … 2139 2171 2140 2172 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 2141 echo "configure:21 42: checking for ANSI C header files" >&52173 echo "configure:2174: checking for ANSI C header files" >&5 2142 2174 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then 2143 2175 echo $ac_n "(cached) $ac_c" 1>&6 2144 2176 else 2145 2177 cat > conftest.$ac_ext <<EOF 2146 #line 21 47"configure"2178 #line 2179 "configure" 2147 2179 #include "confdefs.h" 2148 2180 #include <stdlib.h> … … 2152 2184 EOF 2153 2185 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2154 { (eval echo configure:21 55: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2186 { (eval echo configure:2187: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2155 2187 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2156 2188 if test -z "$ac_err"; then … … 2169 2201 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 2170 2202 cat > conftest.$ac_ext <<EOF 2171 #line 2 172"configure"2203 #line 2204 "configure" 2172 2204 #include "confdefs.h" 2173 2205 #include <string.h> … … 2187 2219 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 2188 2220 cat > conftest.$ac_ext <<EOF 2189 #line 2 190"configure"2221 #line 2222 "configure" 2190 2222 #include "confdefs.h" 2191 2223 #include <stdlib.h> … … 2208 2240 else 2209 2241 cat > conftest.$ac_ext <<EOF 2210 #line 22 11"configure"2242 #line 2243 "configure" 2211 2243 #include "confdefs.h" 2212 2244 #include <ctype.h> … … 2219 2251 2220 2252 EOF 2221 if { (eval echo configure:22 22: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null2253 if { (eval echo configure:2254: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 2222 2254 then 2223 2255 : … … 2246 2278 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 2247 2279 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 2248 echo "configure:22 49: checking for $ac_hdr" >&52280 echo "configure:2281: checking for $ac_hdr" >&5 2249 2281 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2250 2282 echo $ac_n "(cached) $ac_c" 1>&6 2251 2283 else 2252 2284 cat > conftest.$ac_ext <<EOF 2253 #line 22 54"configure"2285 #line 2286 "configure" 2254 2286 #include "confdefs.h" 2255 2287 #include <$ac_hdr> 2256 2288 EOF 2257 2289 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2258 { (eval echo configure:22 59: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2290 { (eval echo configure:2291: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2259 2291 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2260 2292 if test -z "$ac_err"; then … … 2283 2315 2284 2316 cat > conftest.$ac_ext <<EOF 2285 #line 2 286"configure"2317 #line 2318 "configure" 2286 2318 #include "confdefs.h" 2287 2319 #include <stdio.h> … … 2298 2330 2299 2331 cat > conftest.$ac_ext <<EOF 2300 #line 23 01"configure"2332 #line 2333 "configure" 2301 2333 #include "confdefs.h" 2302 2334 #include <stdio.h> … … 2313 2345 2314 2346 cat > conftest.$ac_ext <<EOF 2315 #line 23 16"configure"2347 #line 2348 "configure" 2316 2348 #include "confdefs.h" 2317 2349 #include <sys/procfs.h> … … 2331 2363 # for constant arguments. Useless! 2332 2364 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 2333 echo "configure:23 34: checking for working alloca.h" >&52365 echo "configure:2366: checking for working alloca.h" >&5 2334 2366 if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then 2335 2367 echo $ac_n "(cached) $ac_c" 1>&6 2336 2368 else 2337 2369 cat > conftest.$ac_ext <<EOF 2338 #line 23 39"configure"2370 #line 2371 "configure" 2339 2371 #include "confdefs.h" 2340 2372 #include <alloca.h> … … 2343 2375 ; return 0; } 2344 2376 EOF 2345 if { (eval echo configure:23 46: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2377 if { (eval echo configure:2378: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2346 2378 rm -rf conftest* 2347 2379 ac_cv_header_alloca_h=yes … … 2364 2396 2365 2397 echo $ac_n "checking for alloca""... $ac_c" 1>&6 2366 echo "configure:23 67: checking for alloca" >&52398 echo "configure:2399: checking for alloca" >&5 2367 2399 if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then 2368 2400 echo $ac_n "(cached) $ac_c" 1>&6 2369 2401 else 2370 2402 cat > conftest.$ac_ext <<EOF 2371 #line 2 372"configure"2403 #line 2404 "configure" 2372 2404 #include "confdefs.h" 2373 2405 … … 2397 2429 ; return 0; } 2398 2430 EOF 2399 if { (eval echo configure:24 00: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2431 if { (eval echo configure:2432: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2400 2432 rm -rf conftest* 2401 2433 ac_cv_func_alloca_works=yes … … 2429 2461 2430 2462 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 2431 echo "configure:24 32: checking whether alloca needs Cray hooks" >&52463 echo "configure:2464: checking whether alloca needs Cray hooks" >&5 2432 2464 if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then 2433 2465 echo $ac_n "(cached) $ac_c" 1>&6 2434 2466 else 2435 2467 cat > conftest.$ac_ext <<EOF 2436 #line 24 37"configure"2468 #line 2469 "configure" 2437 2469 #include "confdefs.h" 2438 2470 #if defined(CRAY) && ! defined(CRAY2) … … 2459 2491 for ac_func in _getb67 GETB67 getb67; do 2460 2492 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 2461 echo "configure:24 62: checking for $ac_func" >&52493 echo "configure:2494: checking for $ac_func" >&5 2462 2494 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 2463 2495 echo $ac_n "(cached) $ac_c" 1>&6 2464 2496 else 2465 2497 cat > conftest.$ac_ext <<EOF 2466 #line 24 67"configure"2498 #line 2499 "configure" 2467 2499 #include "confdefs.h" 2468 2500 /* System header to define __stub macros and hopefully few prototypes, … … 2487 2519 ; return 0; } 2488 2520 EOF 2489 if { (eval echo configure:2 490: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2521 if { (eval echo configure:2522: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2490 2522 rm -rf conftest* 2491 2523 eval "ac_cv_func_$ac_func=yes" … … 2514 2546 2515 2547 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 2516 echo "configure:25 17: checking stack direction for C alloca" >&52548 echo "configure:2549: checking stack direction for C alloca" >&5 2517 2549 if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then 2518 2550 echo $ac_n "(cached) $ac_c" 1>&6 … … 2522 2554 else 2523 2555 cat > conftest.$ac_ext <<EOF 2524 #line 25 25"configure"2556 #line 2557 "configure" 2525 2557 #include "confdefs.h" 2526 2558 find_stack_direction () … … 2541 2573 } 2542 2574 EOF 2543 if { (eval echo configure:25 44: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null2575 if { (eval echo configure:2576: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 2544 2576 then 2545 2577 ac_cv_c_stack_direction=1 … … 2564 2596 if test $ac_cv_prog_gcc = yes; then 2565 2597 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6 2566 echo "configure:25 67: checking whether ${CC-cc} needs -traditional" >&52598 echo "configure:2599: checking whether ${CC-cc} needs -traditional" >&5 2567 2599 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then 2568 2600 echo $ac_n "(cached) $ac_c" 1>&6 … … 2570 2602 ac_pattern="Autoconf.*'x'" 2571 2603 cat > conftest.$ac_ext <<EOF 2572 #line 2 573"configure"2604 #line 2605 "configure" 2573 2605 #include "confdefs.h" 2574 2606 #include <sgtty.h> … … 2588 2620 if test $ac_cv_prog_gcc_traditional = no; then 2589 2621 cat > conftest.$ac_ext <<EOF 2590 #line 2 591"configure"2622 #line 2623 "configure" 2591 2623 #include "confdefs.h" 2592 2624 #include <termio.h> … … 2610 2642 2611 2643 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 2612 echo "configure:26 13: checking return type of signal handlers" >&52644 echo "configure:2645: checking return type of signal handlers" >&5 2613 2645 if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then 2614 2646 echo $ac_n "(cached) $ac_c" 1>&6 2615 2647 else 2616 2648 cat > conftest.$ac_ext <<EOF 2617 #line 26 18"configure"2649 #line 2650 "configure" 2618 2650 #include "confdefs.h" 2619 2651 #include <sys/types.h> … … 2632 2664 ; return 0; } 2633 2665 EOF 2634 if { (eval echo configure:26 35: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then2666 if { (eval echo configure:2667: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2635 2667 rm -rf conftest* 2636 2668 ac_cv_type_signal=void … … 2651 2683 2652 2684 echo $ac_n "checking for vprintf""... $ac_c" 1>&6 2653 echo "configure:26 54: checking for vprintf" >&52685 echo "configure:2686: checking for vprintf" >&5 2654 2686 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then 2655 2687 echo $ac_n "(cached) $ac_c" 1>&6 2656 2688 else 2657 2689 cat > conftest.$ac_ext <<EOF 2658 #line 26 59"configure"2690 #line 2691 "configure" 2659 2691 #include "confdefs.h" 2660 2692 /* System header to define __stub macros and hopefully few prototypes, … … 2679 2711 ; return 0; } 2680 2712 EOF 2681 if { (eval echo configure:2 682: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2713 if { (eval echo configure:2714: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2682 2714 rm -rf conftest* 2683 2715 eval "ac_cv_func_vprintf=yes" … … 2703 2735 if test "$ac_cv_func_vprintf" != yes; then 2704 2736 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6 2705 echo "configure:27 06: checking for _doprnt" >&52737 echo "configure:2738: checking for _doprnt" >&5 2706 2738 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then 2707 2739 echo $ac_n "(cached) $ac_c" 1>&6 2708 2740 else 2709 2741 cat > conftest.$ac_ext <<EOF 2710 #line 27 11"configure"2742 #line 2743 "configure" 2711 2743 #include "confdefs.h" 2712 2744 /* System header to define __stub macros and hopefully few prototypes, … … 2731 2763 ; return 0; } 2732 2764 EOF 2733 if { (eval echo configure:27 34: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2765 if { (eval echo configure:2766: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2734 2766 rm -rf conftest* 2735 2767 eval "ac_cv_func__doprnt=yes" … … 2758 2790 do 2759 2791 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 2760 echo "configure:27 61: checking for $ac_func" >&52792 echo "configure:2793: checking for $ac_func" >&5 2761 2793 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 2762 2794 echo $ac_n "(cached) $ac_c" 1>&6 2763 2795 else 2764 2796 cat > conftest.$ac_ext <<EOF 2765 #line 27 66"configure"2797 #line 2798 "configure" 2766 2798 #include "confdefs.h" 2767 2799 /* System header to define __stub macros and hopefully few prototypes, … … 2786 2818 ; return 0; } 2787 2819 EOF 2788 if { (eval echo configure:2 789: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2820 if { (eval echo configure:2821: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2789 2821 rm -rf conftest* 2790 2822 eval "ac_cv_func_$ac_func=yes" … … 2813 2845 do 2814 2846 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 2815 echo "configure:28 16: checking for $ac_func" >&52847 echo "configure:2848: checking for $ac_func" >&5 2816 2848 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 2817 2849 echo $ac_n "(cached) $ac_c" 1>&6 2818 2850 else 2819 2851 cat > conftest.$ac_ext <<EOF 2820 #line 28 21"configure"2852 #line 2853 "configure" 2821 2853 #include "confdefs.h" 2822 2854 /* System header to define __stub macros and hopefully few prototypes, … … 2841 2873 ; return 0; } 2842 2874 EOF 2843 if { (eval echo configure:28 44: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2875 if { (eval echo configure:2876: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2844 2876 rm -rf conftest* 2845 2877 eval "ac_cv_func_$ac_func=yes" … … 2872 2904 # --------------------------------------------------------------------------- 2873 2905 echo $ac_n "checking for HP-UX needing gmalloc""... $ac_c" 1>&6 2874 echo "configure:2 875: checking for HP-UX needing gmalloc" >&52906 echo "configure:2907: checking for HP-UX needing gmalloc" >&5 2875 2907 if test "`(uname -s) 2> /dev/null`" = 'HP-UX'; then 2876 2908 echo "$ac_t""yes" 1>&6 … … 2885 2917 do 2886 2918 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 2887 echo "configure:2 888: checking for $ac_func" >&52919 echo "configure:2920: checking for $ac_func" >&5 2888 2920 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 2889 2921 echo $ac_n "(cached) $ac_c" 1>&6 2890 2922 else 2891 2923 cat > conftest.$ac_ext <<EOF 2892 #line 2 893"configure"2924 #line 2925 "configure" 2893 2925 #include "confdefs.h" 2894 2926 /* System header to define __stub macros and hopefully few prototypes, … … 2913 2945 ; return 0; } 2914 2946 EOF 2915 if { (eval echo configure:29 16: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2947 if { (eval echo configure:2948: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2916 2948 rm -rf conftest* 2917 2949 eval "ac_cv_func_$ac_func=yes" … … 2940 2972 2941 2973 echo $ac_n "checking if malloc debugging is wanted""... $ac_c" 1>&6 2942 echo "configure:29 43: checking if malloc debugging is wanted" >&52974 echo "configure:2975: checking if malloc debugging is wanted" >&5 2943 2975 # Check whether --with-dmalloc or --without-dmalloc was given. 2944 2976 if test "${with_dmalloc+set}" = set; then … … 2961 2993 2962 2994 echo $ac_n "checking which of rx or regex is wanted""... $ac_c" 1>&6 2963 echo "configure:29 64: checking which of rx or regex is wanted" >&52995 echo "configure:2996: checking which of rx or regex is wanted" >&5 2964 2996 # Check whether --with-regex or --without-regex was given. 2965 2997 if test "${with_regex+set}" = set; then … … 2979 3011 echo "$ac_t""rx" 1>&6 2980 3012 echo $ac_n "checking for re_rx_search""... $ac_c" 1>&6 2981 echo "configure: 2982: checking for re_rx_search" >&53013 echo "configure:3014: checking for re_rx_search" >&5 2982 3014 if eval "test \"`echo '$''{'ac_cv_func_re_rx_search'+set}'`\" = set"; then 2983 3015 echo $ac_n "(cached) $ac_c" 1>&6 2984 3016 else 2985 3017 cat > conftest.$ac_ext <<EOF 2986 #line 2987"configure"3018 #line 3019 "configure" 2987 3019 #include "confdefs.h" 2988 3020 /* System header to define __stub macros and hopefully few prototypes, … … 3007 3039 ; return 0; } 3008 3040 EOF 3009 if { (eval echo configure:30 10: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3041 if { (eval echo configure:3042: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3010 3042 rm -rf conftest* 3011 3043 eval "ac_cv_func_re_rx_search=yes" … … 3047 3079 3048 3080 echo $ac_n "checking "that the GDBM library is available"""... $ac_c" 1>&6 3049 echo "configure:30 50: checking "that the GDBM library is available"" >&53081 echo "configure:3082: checking "that the GDBM library is available"" >&5 3050 3082 cat > conftest.$ac_ext <<EOF 3051 #line 30 52"configure"3083 #line 3084 "configure" 3052 3084 #include "confdefs.h" 3053 3085 #include <gdbm.h> … … 3057 3089 ; return 0; } 3058 3090 EOF 3059 if { (eval echo configure:30 60: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then3091 if { (eval echo configure:3092: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3060 3092 rm -rf conftest* 3061 3093 success=yes … … 3074 3106 3075 3107 echo $ac_n "checking "that Perl 5 is available"""... $ac_c" 1>&6 3076 echo "configure:3 077: checking "that Perl 5 is available"" >&53108 echo "configure:3109: checking "that Perl 5 is available"" >&5 3077 3109 success="no" 3078 3110 pl_path="$PATH" … … 3104 3136 success=no 3105 3137 echo $ac_n "checking "whether STL library has known faults"""... $ac_c" 1>&6 3106 echo "configure:31 07: checking "whether STL library has known faults"" >&53138 echo "configure:3139: checking "whether STL library has known faults"" >&5 3107 3139 3108 3140 cat > conftest.$ac_ext <<EOF 3109 #line 31 10"configure"3141 #line 3142 "configure" 3110 3142 #include "confdefs.h" 3111 3143 #include <vector> … … 3115 3147 ; return 0; } 3116 3148 EOF 3117 if { (eval echo configure:31 18: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then3149 if { (eval echo configure:3150: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3118 3150 rm -rf conftest* 3119 3151 success=yes … … 3126 3158 if test $success = "no"; then 3127 3159 cat > conftest.$ac_ext <<EOF 3128 #line 31 29"configure"3160 #line 3161 "configure" 3129 3161 #include "confdefs.h" 3130 3162 #include <vector.h> … … 3134 3166 ; return 0; } 3135 3167 EOF 3136 if { (eval echo configure:31 37: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then3168 if { (eval echo configure:3169: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3137 3169 rm -rf conftest* 3138 3170 success="yes" … … 3146 3178 if test $success = "no"; then 3147 3179 cat > conftest.$ac_ext <<EOF 3148 #line 31 49"configure"3180 #line 3181 "configure" 3149 3181 #include "confdefs.h" 3150 3182 #include <ospace\\std\\vector> … … 3154 3186 ; return 0; } 3155 3187 EOF 3156 if { (eval echo configure:31 57: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then3188 if { (eval echo configure:3189: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3157 3189 rm -rf conftest* 3158 3190 success="yes" … … 3339 3371 s%@SET_MAKE@%$SET_MAKE%g 3340 3372 s%@RANLIB@%$RANLIB%g 3373 s%@MICO_VER@%$MICO_VER%g 3341 3374 s%@CPP@%$CPP%g 3342 3375 s%@U@%$U%g -
trunk/gsdl/configure.in
r2051 r2173 56 56 AC_PROG_RANLIB 57 57 58 59 #moved CORBA MICO directory test to get version of MICO 60 if test $USE_CORBA = 1; then 61 62 if test $MICO_DIR = default; then 63 #do something 64 MICO_INC="-I packages/mico/mico/include" 65 else 66 #build the micotest program 67 MICO_INC= "" 68 if test $MICO_DIR != yes; then 69 MICO_INC="-I $MICO_DIR" 70 fi 71 fi 72 73 #get MICO_VER value 74 sh -c "$CC -c micotest.cpp -o micotest.o $MICO_INC 2>&1" > /dev/null 75 sh -c "$CC -o micotest micotest.o -lstdc++ 2>&1" > /dev/null 76 MICO_VER=`./micotest` || MICO_VER=0 77 sh -c "rm micotest" 78 sh -c "rm micotest.o" 79 80 #do test of MICO_VER 81 if test MICO_VER != 0; then 82 AC_DEFINE(MICO_VER) 83 AC_SUBST(MICO_VER) 84 fi 85 #end USE_CORBA test 86 fi 58 87 59 88 dnl Checks for typedefs, structures, and compiler characteristics. -
trunk/gsdl/lib/Makefile.in
r2126 r2173 36 36 MICO_DIR = @MICO_DIR@ 37 37 ifeq ($(MICO_DIR), default) 38 MICO_INC = -I../packages/mico/include 38 MICO_INC = -I../packages/mico/mico/include 39 MICO_PATH = ../bin/linux/ 39 40 else 40 41 ifeq ($(MICO_DIR), yes) … … 43 44 MICO_INC = -I$(MICO_DIR) 44 45 endif 46 MICO_PATH = 45 47 endif 46 MINCLUDES = -I/usr/include/g++-2/ -I/usr/lib/gcc-lib/i386-slackware-linux/egcs-2.91.66/include/ -I/usr/include -I. -I../packages/m ico/mico/include -I../packages/mg/lib $(MICO_INC) -I..48 MINCLUDES = -I/usr/include/g++-2/ -I/usr/lib/gcc-lib/i386-slackware-linux/egcs-2.91.66/include/ -I/usr/include -I. -I../packages/mg/lib $(MICO_INC) -I.. 47 49 RANLIB = @RANLIB@ 48 50 USE_CORBA = @USE_CORBA@ … … 52 54 53 55 ifneq ($(USE_CORBA), 0) 54 MCOMPILE = mico-c++ -x c++ $(MCFLAGS) $(DEFS) $(MINCLUDES) -c56 MCOMPILE = $(MICO_PATH)mico-c++ -x c++ $(MCFLAGS) $(DEFS) $(MINCLUDES) -c 55 57 else 56 58 MCOMPILE = $(COMPILE) … … 75 77 corbaconv_text_t.h corbatext_t.h 76 78 CORBASOURCES = \ 77 corbaiface.mpp corbatext_t.mpp corbaconv_text_t.mpp 79 corbaiface.mpp corbatext_t.mpp corbaconv_text_t.mpp corbaiface_skel.mpp 78 80 CORBAOBJECTS = \ 79 81 corbaiface.o corbatext_t.o corbaconv_text_t.o corbaiface_skel.o … … 114 116 115 117 clean: 116 rm -f $(OBJECTS) gsdllib.a 118 rm -f $(OBJECTS) gsdllib.a corbaiface_skel.mpp corbaiface.h corbaiface.mpp 117 119 118 120 distclean: clean -
trunk/gsdl/lib/corbaiface.idl
r2113 r2173 208 208 void hasCollection(in corbatext_t corbaCollection, inout boolean has, 209 209 inout corbaComError error); 210 boolean ping(in corbatext_t collection, inout corbaComError error);210 void ping(in corbatext_t collection, inout boolean wasSuccess, inout corbaComError error); 211 211 void getDocument(in corbatext_t collection, 212 212 inout corbaDocRequest request, inout corbaDocResponse response, -
trunk/gsdl/packages/Makefile.in
r2129 r2173 37 37 38 38 USE_CORBA=@USE_CORBA@ 39 MICO_DIR=@MICO_DIR@ 39 40 ifeq ($(USE_CORBA), 1) 41 ifeq ($(MICO_DIR), "default") 40 42 CORBA=mico/mico 43 else 44 CORBA= 45 endif 41 46 else 42 47 CORBA= … … 50 55 (cd $$odir && $(MAKE) $(MDEFINES) $@) || exit 1; \ 51 56 done 52 ifeq ($( USE_CORBA), 1)57 ifeq ($(CORBA), "mico/mico") 53 58 cd mico/mico; $(MAKE) $(MDEFINES) install 54 59 mkdir -p ../bin/linux -
trunk/gsdl/packages/configure
r2169 r2173 33 33 USE_CORBA=true 34 34 ;; 35 --with-micodir=*) 36 if test $1 = ""; then 37 $1 = "default" 38 fi 39 MICO_DIR=$1 40 ;; 35 41 --bindir=*) 36 42 bindir=`echo $1 | sed s/--bindir=//` … … 60 66 61 67 62 echo "" 63 echo "Configuring MICO CORBA" 64 if test x$USE_CORBA = xtrue ; then 65 # configure the MICO CORBA ORB 66 echo "" 68 if test -n "$USE_CORBA"; then 69 if test $MICO_DIR = default; then 70 # configure the MICO CORBA ORB 71 echo "" 72 echo "Configuring MICO CORBA" 73 echo "" 67 74 68 cd "$PACKAGES/mico" 69 gzip -dc mico-2.3.5.tar.gz | tar -xf - 70 cd mico 71 ./configure $CACHE_FILE --prefix=$PACKAGES/mico/ --disable-coss --disable-naming --disable-relship --disable-events --disable-streams --disable-property --disable-trader --disable-time --disable-debug --enable-optimize --enable-final --enable-speed-tune 72 sed 's/tools//' $PACKAGES/mico/mico/Makefile | sed 's/ldconfig//' >$PACKAGES/mico/mico/Makefile.out 73 mv $PACKAGES/mico/mico/Makefile.out $PACKAGES/mico/mico/Makefile 75 cd "$PACKAGES/mico" 76 gzip -dc mico-2.3.5.tar.gz | tar -xf - 77 cd mico 78 ./configure $CACHE_FILE --prefix=$PACKAGES/mico/ --disable-coss --disable-naming --disable-relship --disable-events --disable-streams --disable-property --disable-trader --disable-time --disable-debug --enable-optimize --enable-final --enable-speed-tune 79 sed 's/tools//' $PACKAGES/mico/mico/Makefile | sed 's/ldconfig//' >$PACKAGES/mico/mico/Makefile.out 80 mv $PACKAGES/mico/mico/Makefile.out $PACKAGES/mico/mico/Makefile 81 else 82 #MICO is on the system path 83 echo "" 84 echo "Taking MICO from system paths" 85 echo "" 86 fi 74 87 else 75 88 echo "corba support disabled - mico compiler not required." -
trunk/gsdl/src/colservr/Makefile.in
r2170 r2173 72 72 ifeq ($(MICO_DIR), default) 73 73 MICO_INC = -I../../packages/mico/include 74 MICO_PATH = ../../bin/linux/ 74 75 else 75 76 ifeq ($(MICO_DIR), yes) 76 77 MICO_INC = 78 MICO_PATH = 77 79 else 78 80 MICO_INC = -I$(MICO_DIR) 81 MICO_PATH = 79 82 endif 80 83 endif … … 96 99 CPPLINK = $(CPP) $(LDFLAGS) -o $@ 97 100 98 MCOMPILE = ../../bin/linux/mico-c++ -x c++ $(MCFLAGS) $(DEFS) $(MINCLUDES) -c99 MLINK = ../../bin/linux/mico-ld $(LDFLAGS) -lmico2.2.7 -o $@101 MCOMPILE = $(MICO_PATH)mico-c++ -x c++ $(MCFLAGS) $(DEFS) $(MINCLUDES) -c 102 MLINK = $(MICO_PATH)mico-ld $(LDFLAGS) -lmico2.2.7 -o $@ 100 103 101 104 .SUFFIXES: -
trunk/gsdl/src/colservr/collectserver.cpp
r1860 r2173 126 126 } 127 127 128 void collectserver::ping (bool &wasSuccess, comerror_t &error, ostream &logout) { 129 // if we've not been properly configured, then it is a foregone 130 // conclusion that we cannot be active 131 if (this->configinfo.collection == "null") 132 { 133 wasSuccess = false; 134 } 135 // if no build date exists, then the collection was probably not built; 136 // ditto if the number of documents is zero, then something is pretty 137 // wrong 138 else if (this->collectinfo.buildDate == 0 || 139 this->collectinfo.numDocs == 0) 140 { 141 wasSuccess = false; 142 } 143 // it is probably okay 144 else 145 wasSuccess = true; 146 } 147 128 148 129 149 bool collectserver::init (ostream &logout) { -
trunk/gsdl/src/colservr/collectserver.h
r1860 r2173 98 98 text_t get_collection_name () {return configinfo.collection;} 99 99 100 // ping indicates whether the collection has appropriate data structures 101 // to be active or not 102 void ping(bool &wasSuccess, comerror_t &err, ostream &logout); 103 100 104 // init should be called after the collection name has been set and 101 105 // all initialisation is done. init returns true if the initialisation -
trunk/gsdl/src/colservr/corbaServer.mpp
r2126 r2173 187 187 } 188 188 189 CORBA::Boolean ping(const struct corbatext_t &corbaCollect, corbaComError &corbaError)189 void ping(const struct corbatext_t &corbaCollect, CORBA::Boolean &wasSuccess, corbaComError &corbaError) 190 190 { 191 191 text_t collection; … … 200 200 201 201 corbaError = (corbaComError) error; 202 logout.close(); 203 204 return success; 202 wasSuccess = (CORBA::Boolean) success; 203 logout.close(); 205 204 } 206 205 -
trunk/gsdl/src/recpt/Makefile.in
r2171 r2173 65 65 endif 66 66 MICO_DIR = @MICO_DIR@ 67 MICO_VER = @MICO_VER@ 67 68 ifeq ($(MICO_DIR), yes) 68 69 MICO_INC = 69 70 MICO_LIB = 71 MICO_PATH = 70 72 else 71 73 ifeq ($(MICO_DIR), default) 72 74 MICO_DIR = ../../packages/mico/include 75 MICO_PATH = ../../bin/linux/ 73 76 endif 74 77 MICO_INC = -I$(MICO_DIR) 75 78 MICO_LIB = -L$(MICO_DIR) 79 MICO_PATH = 76 80 endif 77 81 MINCLUDES = -I. -I../../lib -I../colservr $(MICO_INC) … … 89 93 CPPLINK = $(CPP) $(LDFLAGS) -o $@ 90 94 91 MCOMPILE = ../../bin/linux/mico-c++ -x c++ $(MCFLAGS) $(DEFS) $(MINCLUDES) -c92 MLINK = ../../bin/linux/mico-ld -static $(LDFLAGS) $(MICO_LIB) -o $@93 MLIBS = $(LIBS) -L../../lib/ -lmico 2.3.5 -lmicoaux2.3.595 MCOMPILE = $(MICO_PATH)mico-c++ -x c++ $(MCFLAGS) $(DEFS) $(MINCLUDES) -c 96 MLINK = $(MICO_PATH)mico-ld -static $(LDFLAGS) $(MICO_LIB) -o $@ 97 MLIBS = $(LIBS) -L../../lib/ -lmico$(MICO_VER) -lmicoaux$(MICO_VER) 94 98 95 99 .SUFFIXES: -
trunk/gsdl/src/recpt/corbaproto.mpp
r2122 r2173 389 389 390 390 // execute the corba transaction 391 lclient->configure(corbaKey, corbaCfgline, error); 392 393 391 lclient->configure(corbaKey, corbaCfgline, error); 394 392 395 393 if (key=="gsdlhome") … … 541 539 void corbaproto::ping (const text_t &collection, bool &wassuccess, 542 540 comerror_t &err, ostream &/*logout*/) { 543 // 541 // cout << "Corbaproto::Ping" << endl; 544 542 545 543 corbatext_t corbaCollect; 546 544 corbaComError corbaError; 547 boolsuccess;545 CORBA::Boolean success; 548 546 549 547 // get the corba client reference … … 555 553 556 554 // execute the corba transaction 557 success = lclient->ping(corbaCollect, corbaError);555 lclient->ping(corbaCollect, success, corbaError); 558 556 559 557 // convert the response back to normal form -
trunk/gsdl/src/recpt/nullproto.cpp
r2113 r2173 105 105 106 106 void nullproto::ping (const text_t &collection, bool &wassuccess, 107 comerror_t &err, ostream &/*logout*/) { 108 wassuccess = (cset->getCollectServer(collection) != NULL); 109 err = noError; 107 comerror_t &err, ostream &logout) { 108 collectserver *cserver = cset->getCollectServer(collection); 109 if (cserver != NULL) cserver->ping(wassuccess, err, logout); 110 else err = protocolError; 110 111 } 111 112
Note:
See TracChangeset
for help on using the changeset viewer.