Changeset 5d6ce1f
- Timestamp:
- May 25, 2015, 9:43:53 PM (9 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, gc_noraii, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, string, with_gc
- Children:
- 7e91d4f
- Parents:
- 49205cf
- Files:
-
- 1 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
Makefile.in
r49205cf r5d6ce1f 40 40 missing mkinstalldirs 41 41 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 42 am__aclocal_m4_deps = $(top_srcdir)/configure. in42 am__aclocal_m4_deps = $(top_srcdir)/configure.ac 43 43 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ 44 44 $(ACLOCAL_M4) … … 108 108 distcleancheck_listfiles = find . -type f -print 109 109 ACLOCAL = @ACLOCAL@ 110 ALLOCA = @ALLOCA@ 110 111 AMTAR = @AMTAR@ 111 112 AUTOCONF = @AUTOCONF@ … … 123 124 CPP = @CPP@ 124 125 CPPFLAGS = @CPPFLAGS@ 125 CPP_PATH = @CPP_PATH@126 126 CXX = @CXX@ 127 127 CXXDEPMODE = @CXXDEPMODE@ … … 143 143 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ 144 144 LDFLAGS = @LDFLAGS@ 145 LEX = @LEX@146 LEXLIB = @LEXLIB@147 LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@148 145 LIBOBJS = @LIBOBJS@ 149 146 LIBS = @LIBS@ … … 164 161 STRIP = @STRIP@ 165 162 VERSION = @VERSION@ 166 YACC = @YACC@167 YFLAGS = @YFLAGS@168 163 abs_builddir = @abs_builddir@ 169 164 abs_srcdir = @abs_srcdir@ … … 199 194 pdfdir = @pdfdir@ 200 195 prefix = @prefix@ 201 preludedir = @preludedir@202 196 program_transform_name = @program_transform_name@ 203 197 psdir = @psdir@ -
config.h.in
r49205cf r5d6ce1f 1 /* config.h.in. Generated from configure. inby autoheader. */1 /* config.h.in. Generated from configure.ac by autoheader. */ 2 2 3 3 /* Location of cfa command. */ … … 13 13 #undef CFA_PREFIX 14 14 15 /* Path/name of cpp preprocessor. */ 16 #undef CPP_PATH 15 /* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP 16 systems. This function is required for `alloca.c' support on those systems. 17 */ 18 #undef CRAY_STACKSEG_END 19 20 /* Define to 1 if using `alloca.c'. */ 21 #undef C_ALLOCA 17 22 18 23 /* Path/name of C compiler. */ 19 24 #undef GCC_PATH 20 25 26 /* Define to 1 if you have `alloca', as a function or macro. */ 27 #undef HAVE_ALLOCA 28 29 /* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix). 30 */ 31 #undef HAVE_ALLOCA_H 32 33 /* Define to 1 if you have the <fenv.h> header file. */ 34 #undef HAVE_FENV_H 35 36 /* Define to 1 if you have the <float.h> header file. */ 37 #undef HAVE_FLOAT_H 38 21 39 /* Define to 1 if you have the <inttypes.h> header file. */ 22 40 #undef HAVE_INTTYPES_H 23 41 42 /* Define to 1 if you have the <libintl.h> header file. */ 43 #undef HAVE_LIBINTL_H 44 45 /* Define to 1 if you have the <limits.h> header file. */ 46 #undef HAVE_LIMITS_H 47 48 /* Define to 1 if your system has a GNU libc compatible `malloc' function, and 49 to 0 otherwise. */ 50 #undef HAVE_MALLOC 51 24 52 /* Define to 1 if you have the <malloc.h> header file. */ 25 53 #undef HAVE_MALLOC_H … … 28 56 #undef HAVE_MEMORY_H 29 57 58 /* Define to 1 if you have the `memset' function. */ 59 #undef HAVE_MEMSET 60 61 /* Define to 1 if you have the `putenv' function. */ 62 #undef HAVE_PUTENV 63 64 /* Define to 1 if your system has a GNU libc compatible `realloc' function, 65 and to 0 otherwise. */ 66 #undef HAVE_REALLOC 67 68 /* Define to 1 if stdbool.h conforms to C99. */ 69 #undef HAVE_STDBOOL_H 70 71 /* Define to 1 if you have the <stddef.h> header file. */ 72 #undef HAVE_STDDEF_H 73 30 74 /* Define to 1 if you have the <stdint.h> header file. */ 31 75 #undef HAVE_STDINT_H … … 34 78 #undef HAVE_STDLIB_H 35 79 80 /* Define to 1 if you have the `strchr' function. */ 81 #undef HAVE_STRCHR 82 36 83 /* Define to 1 if you have the <strings.h> header file. */ 37 84 #undef HAVE_STRINGS_H … … 40 87 #undef HAVE_STRING_H 41 88 89 /* Define to 1 if you have the `strtol' function. */ 90 #undef HAVE_STRTOL 91 42 92 /* Define to 1 if you have the <sys/stat.h> header file. */ 43 93 #undef HAVE_SYS_STAT_H … … 49 99 #undef HAVE_UNISTD_H 50 100 101 /* Define to 1 if the system has the type `_Bool'. */ 102 #undef HAVE__BOOL 103 51 104 /* Name of package */ 52 105 #undef PACKAGE … … 70 123 #undef PACKAGE_VERSION 71 124 125 /* If using the C implementation of alloca, define if you know the 126 direction of stack growth for your system; otherwise it will be 127 automatically deduced at runtime. 128 STACK_DIRECTION > 0 => grows toward higher addresses 129 STACK_DIRECTION < 0 => grows toward lower addresses 130 STACK_DIRECTION = 0 => direction of growth unknown */ 131 #undef STACK_DIRECTION 132 72 133 /* Define to 1 if you have the ANSI C header files. */ 73 134 #undef STDC_HEADERS 74 135 75 /* Define to 1 if your <sys/time.h> declares `struct tm'. */76 #undef TM_IN_SYS_TIME77 78 136 /* Version number of package */ 79 137 #undef VERSION 80 138 81 /* Define to 1 if `lex' declares `yytext' as a `char *' by default, not a 82 `char[]'. */ 83 #undef YYTEXT_POINTER 84 85 /* Define to empty if `const' does not conform to ANSI C. */ 86 #undef const 139 /* Define for Solaris 2.5.1 so the uint32_t typedef from <sys/synch.h>, 140 <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the 141 #define below would cause a syntax error. */ 142 #undef _UINT32_T 143 144 /* Define for Solaris 2.5.1 so the uint8_t typedef from <sys/synch.h>, 145 <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the 146 #define below would cause a syntax error. */ 147 #undef _UINT8_T 87 148 88 149 /* Define to `__inline__' or `__inline' if that's what the C compiler … … 91 152 #undef inline 92 153 #endif 154 155 /* Define to the type of a signed integer type of width exactly 16 bits if 156 such a type exists and the standard includes do not define it. */ 157 #undef int16_t 158 159 /* Define to the type of a signed integer type of width exactly 32 bits if 160 such a type exists and the standard includes do not define it. */ 161 #undef int32_t 162 163 /* Define to the type of a signed integer type of width exactly 8 bits if such 164 a type exists and the standard includes do not define it. */ 165 #undef int8_t 166 167 /* Define to rpl_malloc if the replacement function should be used. */ 168 #undef malloc 169 170 /* Define to rpl_realloc if the replacement function should be used. */ 171 #undef realloc 172 173 /* Define to the equivalent of the C99 'restrict' keyword, or to 174 nothing if this is not supported. Do not define if restrict is 175 supported directly. */ 176 #undef restrict 177 /* Work around a bug in Sun C++: it does not support _Restrict or 178 __restrict__, even though the corresponding Sun C compiler ends up with 179 "#define restrict _Restrict" or "#define restrict __restrict__" in the 180 previous line. Perhaps some future version of Sun C++ will work with 181 restrict; if so, hopefully it defines __RESTRICT like Sun C does. */ 182 #if defined __SUNPRO_CC && !defined __RESTRICT 183 # define _Restrict 184 # define __restrict__ 185 #endif 186 187 /* Define to `unsigned int' if <sys/types.h> does not define. */ 188 #undef size_t 189 190 /* Define to the type of an unsigned integer type of width exactly 16 bits if 191 such a type exists and the standard includes do not define it. */ 192 #undef uint16_t 193 194 /* Define to the type of an unsigned integer type of width exactly 32 bits if 195 such a type exists and the standard includes do not define it. */ 196 #undef uint32_t 197 198 /* Define to the type of an unsigned integer type of width exactly 8 bits if 199 such a type exists and the standard includes do not define it. */ 200 #undef uint8_t -
configure
r49205cf r5d6ce1f 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2.68 for cfa-cc 1.0. 3 # Generated by GNU Autoconf 2.68 for cfa-cc 1.0.0. 4 4 # 5 5 # Report bugs to <cforall@plg.uwaterloo.ca>. … … 561 561 PACKAGE_NAME='cfa-cc' 562 562 PACKAGE_TARNAME='cfa-cc' 563 PACKAGE_VERSION='1.0 '564 PACKAGE_STRING='cfa-cc 1.0 '563 PACKAGE_VERSION='1.0.0' 564 PACKAGE_STRING='cfa-cc 1.0.0' 565 565 PACKAGE_BUGREPORT='cforall@plg.uwaterloo.ca' 566 566 PACKAGE_URL='' … … 607 607 LTLIBOBJS 608 608 LIBOBJS 609 CFA_LIBDIR 610 CFA_BINDIR 611 CFA_INCDIR 612 CFA_PREFIX 613 CPP_PATH 614 BACKEND_CC 615 GCC_PATH 616 preludedir 609 ALLOCA 617 610 EGREP 618 611 GREP 619 612 CPP 620 LEXLIB621 LEX_OUTPUT_ROOT622 LEX623 613 am__fastdepCC_FALSE 624 614 am__fastdepCC_TRUE … … 644 634 CXXFLAGS 645 635 CXX 646 YFLAGS 647 YACC 636 CFA_LIBDIR 637 CFA_BINDIR 638 CFA_INCDIR 639 CFA_PREFIX 640 BACKEND_CC 641 GCC_PATH 648 642 am__untar 649 643 am__tar … … 710 704 ac_user_opts=' 711 705 enable_option_checking 706 with_backend_compiler 712 707 enable_dependency_tracking 713 with_preludedir714 with_backend_compiler715 708 ' 716 709 ac_precious_vars='build_alias 717 710 host_alias 718 711 target_alias 719 YACC720 YFLAGS721 712 CXX 722 713 CXXFLAGS … … 1270 1261 # This message is too long to be a string in the A/UX 3.1 sh. 1271 1262 cat <<_ACEOF 1272 \`configure' configures cfa-cc 1.0 to adapt to many kinds of systems.1263 \`configure' configures cfa-cc 1.0.0 to adapt to many kinds of systems. 1273 1264 1274 1265 Usage: $0 [OPTION]... [VAR=VALUE]... … … 1336 1327 if test -n "$ac_init_help"; then 1337 1328 case $ac_init_help in 1338 short | recursive ) echo "Configuration of cfa-cc 1.0 :";;1329 short | recursive ) echo "Configuration of cfa-cc 1.0.0:";; 1339 1330 esac 1340 1331 cat <<\_ACEOF … … 1350 1341 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1351 1342 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1352 --with-preludedir=DIR DIR that contains prelude.cf and other necessary files1353 1343 --with-backend-compiler=PROGRAM PROGRAM that performs the final code compilation (must be gcc-compatible) 1354 1344 1355 1345 Some influential environment variables: 1356 YACC The `Yet Another Compiler Compiler' implementation to use.1357 Defaults to the first program found out of: `bison -y', `byacc',1358 `yacc'.1359 YFLAGS The list of arguments that will be passed by default to $YACC.1360 This script will default YFLAGS to the empty string to avoid a1361 default value of `-d' given by some make applications.1362 1346 CXX C++ compiler command 1363 1347 CXXFLAGS C++ compiler flags … … 1437 1421 if $ac_init_version; then 1438 1422 cat <<\_ACEOF 1439 cfa-cc configure 1.0 1423 cfa-cc configure 1.0.0 1440 1424 generated by GNU Autoconf 2.68 1441 1425 … … 1526 1510 1527 1511 } # ac_fn_c_try_compile 1512 1513 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES 1514 # ------------------------------------------- 1515 # Tests whether TYPE exists after having included INCLUDES, setting cache 1516 # variable VAR accordingly. 1517 ac_fn_c_check_type () 1518 { 1519 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1521 $as_echo_n "checking for $2... " >&6; } 1522 if eval \${$3+:} false; then : 1523 $as_echo_n "(cached) " >&6 1524 else 1525 eval "$3=no" 1526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1527 /* end confdefs.h. */ 1528 $4 1529 int 1530 main () 1531 { 1532 if (sizeof ($2)) 1533 return 0; 1534 ; 1535 return 0; 1536 } 1537 _ACEOF 1538 if ac_fn_c_try_compile "$LINENO"; then : 1539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1540 /* end confdefs.h. */ 1541 $4 1542 int 1543 main () 1544 { 1545 if (sizeof (($2))) 1546 return 0; 1547 ; 1548 return 0; 1549 } 1550 _ACEOF 1551 if ac_fn_c_try_compile "$LINENO"; then : 1552 1553 else 1554 eval "$3=yes" 1555 fi 1556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1557 fi 1558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1559 fi 1560 eval ac_res=\$$3 1561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1562 $as_echo "$ac_res" >&6; } 1563 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1564 1565 } # ac_fn_c_check_type 1566 1567 # ac_fn_c_try_cpp LINENO 1568 # ---------------------- 1569 # Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1570 ac_fn_c_try_cpp () 1571 { 1572 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1573 if { { ac_try="$ac_cpp conftest.$ac_ext" 1574 case "(($ac_try" in 1575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1576 *) ac_try_echo=$ac_try;; 1577 esac 1578 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1579 $as_echo "$ac_try_echo"; } >&5 1580 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1581 ac_status=$? 1582 if test -s conftest.err; then 1583 grep -v '^ *+' conftest.err >conftest.er1 1584 cat conftest.er1 >&5 1585 mv -f conftest.er1 conftest.err 1586 fi 1587 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1588 test $ac_status = 0; } > conftest.i && { 1589 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1590 test ! -s conftest.err 1591 }; then : 1592 ac_retval=0 1593 else 1594 $as_echo "$as_me: failed program was:" >&5 1595 sed 's/^/| /' conftest.$ac_ext >&5 1596 1597 ac_retval=1 1598 fi 1599 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1600 as_fn_set_status $ac_retval 1601 1602 } # ac_fn_c_try_cpp 1603 1604 # ac_fn_c_try_run LINENO 1605 # ---------------------- 1606 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1607 # that executables *can* be run. 1608 ac_fn_c_try_run () 1609 { 1610 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1611 if { { ac_try="$ac_link" 1612 case "(($ac_try" in 1613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1614 *) ac_try_echo=$ac_try;; 1615 esac 1616 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1617 $as_echo "$ac_try_echo"; } >&5 1618 (eval "$ac_link") 2>&5 1619 ac_status=$? 1620 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1621 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1622 { { case "(($ac_try" in 1623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1624 *) ac_try_echo=$ac_try;; 1625 esac 1626 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1627 $as_echo "$ac_try_echo"; } >&5 1628 (eval "$ac_try") 2>&5 1629 ac_status=$? 1630 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1631 test $ac_status = 0; }; }; then : 1632 ac_retval=0 1633 else 1634 $as_echo "$as_me: program exited with status $ac_status" >&5 1635 $as_echo "$as_me: failed program was:" >&5 1636 sed 's/^/| /' conftest.$ac_ext >&5 1637 1638 ac_retval=$ac_status 1639 fi 1640 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1641 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1642 as_fn_set_status $ac_retval 1643 1644 } # ac_fn_c_try_run 1645 1646 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1647 # ------------------------------------------------------- 1648 # Tests whether HEADER exists and can be compiled using the include files in 1649 # INCLUDES, setting the cache variable VAR accordingly. 1650 ac_fn_c_check_header_compile () 1651 { 1652 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1654 $as_echo_n "checking for $2... " >&6; } 1655 if eval \${$3+:} false; then : 1656 $as_echo_n "(cached) " >&6 1657 else 1658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1659 /* end confdefs.h. */ 1660 $4 1661 #include <$2> 1662 _ACEOF 1663 if ac_fn_c_try_compile "$LINENO"; then : 1664 eval "$3=yes" 1665 else 1666 eval "$3=no" 1667 fi 1668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1669 fi 1670 eval ac_res=\$$3 1671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1672 $as_echo "$ac_res" >&6; } 1673 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1674 1675 } # ac_fn_c_check_header_compile 1528 1676 1529 1677 # ac_fn_c_try_link LINENO … … 1573 1721 } # ac_fn_c_try_link 1574 1722 1575 # ac_fn_c_ try_cpp LINENO1576 # ---------------------- 1577 # T ry to preprocess conftest.$ac_ext, and return whether this succeeded.1578 ac_fn_c_ try_cpp()1723 # ac_fn_c_check_func LINENO FUNC VAR 1724 # ---------------------------------- 1725 # Tests whether FUNC exists, setting the cache variable VAR accordingly 1726 ac_fn_c_check_func () 1579 1727 { 1580 1728 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1581 if { { ac_try="$ac_cpp conftest.$ac_ext" 1582 case "(($ac_try" in 1583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1584 *) ac_try_echo=$ac_try;; 1585 esac 1586 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1587 $as_echo "$ac_try_echo"; } >&5 1588 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1589 ac_status=$? 1590 if test -s conftest.err; then 1591 grep -v '^ *+' conftest.err >conftest.er1 1592 cat conftest.er1 >&5 1593 mv -f conftest.er1 conftest.err 1594 fi 1595 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1596 test $ac_status = 0; } > conftest.i && { 1597 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1598 test ! -s conftest.err 1599 }; then : 1600 ac_retval=0 1601 else 1602 $as_echo "$as_me: failed program was:" >&5 1603 sed 's/^/| /' conftest.$ac_ext >&5 1604 1605 ac_retval=1 1606 fi 1729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1730 $as_echo_n "checking for $2... " >&6; } 1731 if eval \${$3+:} false; then : 1732 $as_echo_n "(cached) " >&6 1733 else 1734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1735 /* end confdefs.h. */ 1736 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1737 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1738 #define $2 innocuous_$2 1739 1740 /* System header to define __stub macros and hopefully few prototypes, 1741 which can conflict with char $2 (); below. 1742 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1743 <limits.h> exists even on freestanding compilers. */ 1744 1745 #ifdef __STDC__ 1746 # include <limits.h> 1747 #else 1748 # include <assert.h> 1749 #endif 1750 1751 #undef $2 1752 1753 /* Override any GCC internal prototype to avoid an error. 1754 Use char because int might match the return type of a GCC 1755 builtin and then its argument prototype would still apply. */ 1756 #ifdef __cplusplus 1757 extern "C" 1758 #endif 1759 char $2 (); 1760 /* The GNU C library defines this for functions which it implements 1761 to always fail with ENOSYS. Some functions are actually named 1762 something starting with __ and the normal name is an alias. */ 1763 #if defined __stub_$2 || defined __stub___$2 1764 choke me 1765 #endif 1766 1767 int 1768 main () 1769 { 1770 return $2 (); 1771 ; 1772 return 0; 1773 } 1774 _ACEOF 1775 if ac_fn_c_try_link "$LINENO"; then : 1776 eval "$3=yes" 1777 else 1778 eval "$3=no" 1779 fi 1780 rm -f core conftest.err conftest.$ac_objext \ 1781 conftest$ac_exeext conftest.$ac_ext 1782 fi 1783 eval ac_res=\$$3 1784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1785 $as_echo "$ac_res" >&6; } 1607 1786 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1608 as_fn_set_status $ac_retval 1609 1610 } # ac_fn_c_try_cpp 1787 1788 } # ac_fn_c_check_func 1611 1789 1612 1790 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES … … 1701 1879 } # ac_fn_c_check_header_mongrel 1702 1880 1703 # ac_fn_c_ try_run LINENO1704 # ---------------------- 1705 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes1706 # that executables *can* be run.1707 ac_fn_c_ try_run()1881 # ac_fn_c_find_intX_t LINENO BITS VAR 1882 # ----------------------------------- 1883 # Finds a signed integer type with width BITS, setting cache variable VAR 1884 # accordingly. 1885 ac_fn_c_find_intX_t () 1708 1886 { 1709 1887 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1710 if { { ac_try="$ac_link" 1711 case "(($ac_try" in 1712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1713 *) ac_try_echo=$ac_try;; 1714 esac 1715 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1716 $as_echo "$ac_try_echo"; } >&5 1717 (eval "$ac_link") 2>&5 1718 ac_status=$? 1719 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1720 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1721 { { case "(($ac_try" in 1722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1723 *) ac_try_echo=$ac_try;; 1724 esac 1725 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1726 $as_echo "$ac_try_echo"; } >&5 1727 (eval "$ac_try") 2>&5 1728 ac_status=$? 1729 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1730 test $ac_status = 0; }; }; then : 1731 ac_retval=0 1732 else 1733 $as_echo "$as_me: program exited with status $ac_status" >&5 1734 $as_echo "$as_me: failed program was:" >&5 1735 sed 's/^/| /' conftest.$ac_ext >&5 1736 1737 ac_retval=$ac_status 1738 fi 1739 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1740 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1741 as_fn_set_status $ac_retval 1742 1743 } # ac_fn_c_try_run 1744 1745 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1746 # ------------------------------------------------------- 1747 # Tests whether HEADER exists and can be compiled using the include files in 1748 # INCLUDES, setting the cache variable VAR accordingly. 1749 ac_fn_c_check_header_compile () 1750 { 1751 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1753 $as_echo_n "checking for $2... " >&6; } 1888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5 1889 $as_echo_n "checking for int$2_t... " >&6; } 1754 1890 if eval \${$3+:} false; then : 1755 1891 $as_echo_n "(cached) " >&6 1756 1892 else 1893 eval "$3=no" 1894 # Order is important - never check a type that is potentially smaller 1895 # than half of the expected target width. 1896 for ac_type in int$2_t 'int' 'long int' \ 1897 'long long int' 'short int' 'signed char'; do 1898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1899 /* end confdefs.h. */ 1900 $ac_includes_default 1901 enum { N = $2 / 2 - 1 }; 1902 int 1903 main () 1904 { 1905 static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))]; 1906 test_array [0] = 0 1907 1908 ; 1909 return 0; 1910 } 1911 _ACEOF 1912 if ac_fn_c_try_compile "$LINENO"; then : 1757 1913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1758 1914 /* end confdefs.h. */ 1759 $4 1760 #include <$2> 1915 $ac_includes_default 1916 enum { N = $2 / 2 - 1 }; 1917 int 1918 main () 1919 { 1920 static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1) 1921 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))]; 1922 test_array [0] = 0 1923 1924 ; 1925 return 0; 1926 } 1761 1927 _ACEOF 1762 1928 if ac_fn_c_try_compile "$LINENO"; then : 1763 eval "$3=yes" 1764 else 1765 eval "$3=no" 1929 1930 else 1931 case $ac_type in #( 1932 int$2_t) : 1933 eval "$3=yes" ;; #( 1934 *) : 1935 eval "$3=\$ac_type" ;; 1936 esac 1766 1937 fi 1767 1938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1939 fi 1940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1941 if eval test \"x\$"$3"\" = x"no"; then : 1942 1943 else 1944 break 1945 fi 1946 done 1768 1947 fi 1769 1948 eval ac_res=\$$3 … … 1772 1951 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1773 1952 1774 } # ac_fn_c_check_header_compile 1953 } # ac_fn_c_find_intX_t 1954 1955 # ac_fn_c_find_uintX_t LINENO BITS VAR 1956 # ------------------------------------ 1957 # Finds an unsigned integer type with width BITS, setting cache variable VAR 1958 # accordingly. 1959 ac_fn_c_find_uintX_t () 1960 { 1961 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5 1963 $as_echo_n "checking for uint$2_t... " >&6; } 1964 if eval \${$3+:} false; then : 1965 $as_echo_n "(cached) " >&6 1966 else 1967 eval "$3=no" 1968 # Order is important - never check a type that is potentially smaller 1969 # than half of the expected target width. 1970 for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \ 1971 'unsigned long long int' 'unsigned short int' 'unsigned char'; do 1972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1973 /* end confdefs.h. */ 1974 $ac_includes_default 1975 int 1976 main () 1977 { 1978 static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)]; 1979 test_array [0] = 0 1980 1981 ; 1982 return 0; 1983 } 1984 _ACEOF 1985 if ac_fn_c_try_compile "$LINENO"; then : 1986 case $ac_type in #( 1987 uint$2_t) : 1988 eval "$3=yes" ;; #( 1989 *) : 1990 eval "$3=\$ac_type" ;; 1991 esac 1992 fi 1993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1994 if eval test \"x\$"$3"\" = x"no"; then : 1995 1996 else 1997 break 1998 fi 1999 done 2000 fi 2001 eval ac_res=\$$3 2002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2003 $as_echo "$ac_res" >&6; } 2004 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2005 2006 } # ac_fn_c_find_uintX_t 1775 2007 cat >config.log <<_ACEOF 1776 2008 This file contains any messages produced by compilers while 1777 2009 running configure, to aid debugging if configure makes a mistake. 1778 2010 1779 It was created by cfa-cc $as_me 1.0 , which was2011 It was created by cfa-cc $as_me 1.0.0, which was 1780 2012 generated by GNU Autoconf 2.68. Invocation command line was 1781 2013 … … 2125 2357 2126 2358 2127 2128 2129 2359 am__api_version='1.11' 2130 2360 … … 2594 2824 # Define the identity of the package. 2595 2825 PACKAGE='cfa-cc' 2596 VERSION='1.0 '2826 VERSION='1.0.0' 2597 2827 2598 2828 … … 2634 2864 2635 2865 # do not follow GNU standard 2866 2636 2867 ac_config_headers="$ac_config_headers config.h" 2637 2868 2638 2869 2639 for ac_prog in 'bison -y' byacc 2640 do 2641 # Extract the first word of "$ac_prog", so it can be a program name with args. 2642 set dummy $ac_prog; ac_word=$2 2870 # Installation paths 2871 2872 2873 # Check whether --with-backend-compiler was given. 2874 if test "${with_backend_compiler+set}" = set; then : 2875 withval=$with_backend_compiler; backcompiler=$withval 2876 else 2877 backcompiler="" 2878 fi 2879 2880 if test x$backcompiler != x; then 2881 cat >>confdefs.h <<_ACEOF 2882 #define GCC_PATH "${backcompiler}" 2883 _ACEOF 2884 2885 BACKEND_CC=${backcompiler} 2886 else 2887 # Extract the first word of "gcc", so it can be a program name with args. 2888 set dummy gcc; ac_word=$2 2643 2889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2644 2890 $as_echo_n "checking for $ac_word... " >&6; } 2645 if ${ac_cv_p rog_YACC+:} false; then :2891 if ${ac_cv_path_GCC_PATH+:} false; then : 2646 2892 $as_echo_n "(cached) " >&6 2647 2893 else 2648 if test -n "$YACC"; then 2649 ac_cv_prog_YACC="$YACC" # Let the user override the test. 2650 else 2651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2894 case $GCC_PATH in 2895 [\\/]* | ?:[\\/]*) 2896 ac_cv_path_GCC_PATH="$GCC_PATH" # Let the user override the test with a path. 2897 ;; 2898 *) 2899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2652 2900 for as_dir in $PATH 2653 2901 do … … 2656 2904 for ac_exec_ext in '' $ac_executable_extensions; do 2657 2905 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2658 ac_cv_p rog_YACC="$ac_prog"2906 ac_cv_path_GCC_PATH="$as_dir/$ac_word$ac_exec_ext" 2659 2907 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2660 2908 break 2 … … 2664 2912 IFS=$as_save_IFS 2665 2913 2666 fi 2667 fi 2668 YACC=$ac_cv_prog_YACC 2669 if test -n "$YACC"; then 2670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5 2671 $as_echo "$YACC" >&6; } 2914 test -z "$ac_cv_path_GCC_PATH" && ac_cv_path_GCC_PATH="N/A" 2915 ;; 2916 esac 2917 fi 2918 GCC_PATH=$ac_cv_path_GCC_PATH 2919 if test -n "$GCC_PATH"; then 2920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCC_PATH" >&5 2921 $as_echo "$GCC_PATH" >&6; } 2672 2922 else 2673 2923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 … … 2676 2926 2677 2927 2678 test -n "$YACC" && break 2679 done 2680 test -n "$YACC" || YACC="yacc" 2681 2928 if test "$GCC_PATH" = "N/A"; then 2929 as_fn_error $? "some version of gcc is needed. Get it at ftp://ftp.gnu.org" "$LINENO" 5 2930 exit 1 2931 fi 2932 2933 cat >>confdefs.h <<_ACEOF 2934 #define GCC_PATH "${GCC_PATH}" 2935 _ACEOF 2936 2937 BACKEND_CC=${GCC_PATH} 2938 fi 2939 2940 2941 CFA_PREFIX= 2942 if test "x$prefix" = "xNONE"; then 2943 cfa_prefix=${ac_default_prefix} 2944 else 2945 cfa_prefix=${prefix} 2946 fi 2947 2948 cat >>confdefs.h <<_ACEOF 2949 #define CFA_PREFIX "${cfa_prefix}" 2950 _ACEOF 2951 2952 CFA_PREFIX=${cfa_prefix} 2953 2954 2955 CFA_INCDIR= 2956 if test "$includedir" = '${prefix}/include'; then 2957 cfa_incdir="${cfa_prefix}/include" 2958 else 2959 cfa_incdir=${$includedir} 2960 fi 2961 2962 cat >>confdefs.h <<_ACEOF 2963 #define CFA_INCDIR "${cfa_incdir}" 2964 _ACEOF 2965 2966 CFA_INCDIR=${cfa_incdir} 2967 2968 2969 CFA_BINDIR= 2970 if test "$bindir" = '${exec_prefix}/bin'; then 2971 cfa_bindir="${cfa_prefix}/bin" 2972 else 2973 cfa_bindir=${bindir} 2974 fi 2975 2976 cat >>confdefs.h <<_ACEOF 2977 #define CFA_BINDIR "${cfa_bindir}" 2978 _ACEOF 2979 2980 CFA_BINDIR=${cfa_bindir} 2981 2982 2983 CFA_LIBDIR= 2984 if test "$libdir" = '${exec_prefix}/lib'; then 2985 cfa_libdir=${cfa_prefix}/lib 2986 else 2987 cfa_libdir=${libdir} 2988 fi 2989 2990 cat >>confdefs.h <<_ACEOF 2991 #define CFA_LIBDIR "${cfa_libdir}" 2992 _ACEOF 2993 2994 CFA_LIBDIR=${cfa_libdir} 2995 2996 2997 # Checks for programs. 2682 2998 ac_ext=cpp 2683 2999 ac_cpp='$CXXCPP $CPPFLAGS' … … 3378 3694 3379 3695 3696 for ac_prog in gawk mawk nawk awk 3697 do 3698 # Extract the first word of "$ac_prog", so it can be a program name with args. 3699 set dummy $ac_prog; ac_word=$2 3700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3701 $as_echo_n "checking for $ac_word... " >&6; } 3702 if ${ac_cv_prog_AWK+:} false; then : 3703 $as_echo_n "(cached) " >&6 3704 else 3705 if test -n "$AWK"; then 3706 ac_cv_prog_AWK="$AWK" # Let the user override the test. 3707 else 3708 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3709 for as_dir in $PATH 3710 do 3711 IFS=$as_save_IFS 3712 test -z "$as_dir" && as_dir=. 3713 for ac_exec_ext in '' $ac_executable_extensions; do 3714 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3715 ac_cv_prog_AWK="$ac_prog" 3716 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3717 break 2 3718 fi 3719 done 3720 done 3721 IFS=$as_save_IFS 3722 3723 fi 3724 fi 3725 AWK=$ac_cv_prog_AWK 3726 if test -n "$AWK"; then 3727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 3728 $as_echo "$AWK" >&6; } 3729 else 3730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3731 $as_echo "no" >&6; } 3732 fi 3733 3734 3735 test -n "$AWK" && break 3736 done 3737 3380 3738 ac_ext=c 3381 3739 ac_cpp='$CPP $CPPFLAGS' … … 4045 4403 fi 4046 4404 4047 # ??? 4048 4049 for ac_prog in flex lex 4050 do 4051 # Extract the first word of "$ac_prog", so it can be a program name with args. 4052 set dummy $ac_prog; ac_word=$2 4053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4054 $as_echo_n "checking for $ac_word... " >&6; } 4055 if ${ac_cv_prog_LEX+:} false; then : 4056 $as_echo_n "(cached) " >&6 4057 else 4058 if test -n "$LEX"; then 4059 ac_cv_prog_LEX="$LEX" # Let the user override the test. 4060 else 4061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4062 for as_dir in $PATH 4063 do 4064 IFS=$as_save_IFS 4065 test -z "$as_dir" && as_dir=. 4066 for ac_exec_ext in '' $ac_executable_extensions; do 4067 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4068 ac_cv_prog_LEX="$ac_prog" 4069 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4070 break 2 4071 fi 4072 done 4073 done 4074 IFS=$as_save_IFS 4075 4076 fi 4077 fi 4078 LEX=$ac_cv_prog_LEX 4079 if test -n "$LEX"; then 4080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5 4081 $as_echo "$LEX" >&6; } 4082 else 4083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4084 $as_echo "no" >&6; } 4085 fi 4086 4087 4088 test -n "$LEX" && break 4089 done 4090 test -n "$LEX" || LEX=":" 4091 4092 if test "x$LEX" != "x:"; then 4093 cat >conftest.l <<_ACEOF 4094 %% 4095 a { ECHO; } 4096 b { REJECT; } 4097 c { yymore (); } 4098 d { yyless (1); } 4099 e { yyless (input () != 0); } 4100 f { unput (yytext[0]); } 4101 . { BEGIN INITIAL; } 4102 %% 4103 #ifdef YYTEXT_POINTER 4104 extern char *yytext; 4105 #endif 4106 int 4107 main (void) 4108 { 4109 return ! yylex () + ! yywrap (); 4110 } 4111 _ACEOF 4112 { { ac_try="$LEX conftest.l" 4113 case "(($ac_try" in 4114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4115 *) ac_try_echo=$ac_try;; 4116 esac 4117 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4118 $as_echo "$ac_try_echo"; } >&5 4119 (eval "$LEX conftest.l") 2>&5 4120 ac_status=$? 4121 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4122 test $ac_status = 0; } 4123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5 4124 $as_echo_n "checking lex output file root... " >&6; } 4125 if ${ac_cv_prog_lex_root+:} false; then : 4126 $as_echo_n "(cached) " >&6 4127 else 4128 4129 if test -f lex.yy.c; then 4130 ac_cv_prog_lex_root=lex.yy 4131 elif test -f lexyy.c; then 4132 ac_cv_prog_lex_root=lexyy 4133 else 4134 as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5 4135 fi 4136 fi 4137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5 4138 $as_echo "$ac_cv_prog_lex_root" >&6; } 4139 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root 4140 4141 if test -z "${LEXLIB+set}"; then 4142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5 4143 $as_echo_n "checking lex library... " >&6; } 4144 if ${ac_cv_lib_lex+:} false; then : 4145 $as_echo_n "(cached) " >&6 4146 else 4147 4148 ac_save_LIBS=$LIBS 4149 ac_cv_lib_lex='none needed' 4150 for ac_lib in '' -lfl -ll; do 4151 LIBS="$ac_lib $ac_save_LIBS" 4152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4153 /* end confdefs.h. */ 4154 `cat $LEX_OUTPUT_ROOT.c` 4155 _ACEOF 4156 if ac_fn_c_try_link "$LINENO"; then : 4157 ac_cv_lib_lex=$ac_lib 4158 fi 4159 rm -f core conftest.err conftest.$ac_objext \ 4160 conftest$ac_exeext conftest.$ac_ext 4161 test "$ac_cv_lib_lex" != 'none needed' && break 4162 done 4163 LIBS=$ac_save_LIBS 4164 4165 fi 4166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5 4167 $as_echo "$ac_cv_lib_lex" >&6; } 4168 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex 4169 fi 4170 4171 4172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5 4173 $as_echo_n "checking whether yytext is a pointer... " >&6; } 4174 if ${ac_cv_prog_lex_yytext_pointer+:} false; then : 4175 $as_echo_n "(cached) " >&6 4176 else 4177 # POSIX says lex can declare yytext either as a pointer or an array; the 4178 # default is implementation-dependent. Figure out which it is, since 4179 # not all implementations provide the %pointer and %array declarations. 4180 ac_cv_prog_lex_yytext_pointer=no 4181 ac_save_LIBS=$LIBS 4182 LIBS="$LEXLIB $ac_save_LIBS" 4183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4184 /* end confdefs.h. */ 4185 4186 #define YYTEXT_POINTER 1 4187 `cat $LEX_OUTPUT_ROOT.c` 4188 _ACEOF 4189 if ac_fn_c_try_link "$LINENO"; then : 4190 ac_cv_prog_lex_yytext_pointer=yes 4191 fi 4192 rm -f core conftest.err conftest.$ac_objext \ 4193 conftest$ac_exeext conftest.$ac_ext 4194 LIBS=$ac_save_LIBS 4195 4196 fi 4197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5 4198 $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; } 4199 if test $ac_cv_prog_lex_yytext_pointer = yes; then 4200 4201 $as_echo "#define YYTEXT_POINTER 1" >>confdefs.h 4202 4203 fi 4204 rm -f conftest.l $LEX_OUTPUT_ROOT.c 4205 4206 fi 4207 if test "$LEX" = :; then 4208 LEX=${am_missing_run}flex 4209 fi 4405 4406 4210 4407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 4211 4408 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } … … 4240 4437 4241 4438 4242 4439 # Checks for libraries. 4440 4441 # Checks for header files. 4243 4442 4244 4443 ac_ext=c … … 4639 4838 4640 4839 4641 for ac_header in malloc.h unistd.h 4840 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" 4841 if test "x$ac_cv_type_size_t" = xyes; then : 4842 4843 else 4844 4845 cat >>confdefs.h <<_ACEOF 4846 #define size_t unsigned int 4847 _ACEOF 4848 4849 fi 4850 4851 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 4852 # for constant arguments. Useless! 4853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5 4854 $as_echo_n "checking for working alloca.h... " >&6; } 4855 if ${ac_cv_working_alloca_h+:} false; then : 4856 $as_echo_n "(cached) " >&6 4857 else 4858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4859 /* end confdefs.h. */ 4860 #include <alloca.h> 4861 int 4862 main () 4863 { 4864 char *p = (char *) alloca (2 * sizeof (int)); 4865 if (p) return 0; 4866 ; 4867 return 0; 4868 } 4869 _ACEOF 4870 if ac_fn_c_try_link "$LINENO"; then : 4871 ac_cv_working_alloca_h=yes 4872 else 4873 ac_cv_working_alloca_h=no 4874 fi 4875 rm -f core conftest.err conftest.$ac_objext \ 4876 conftest$ac_exeext conftest.$ac_ext 4877 fi 4878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5 4879 $as_echo "$ac_cv_working_alloca_h" >&6; } 4880 if test $ac_cv_working_alloca_h = yes; then 4881 4882 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h 4883 4884 fi 4885 4886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5 4887 $as_echo_n "checking for alloca... " >&6; } 4888 if ${ac_cv_func_alloca_works+:} false; then : 4889 $as_echo_n "(cached) " >&6 4890 else 4891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4892 /* end confdefs.h. */ 4893 #ifdef __GNUC__ 4894 # define alloca __builtin_alloca 4895 #else 4896 # ifdef _MSC_VER 4897 # include <malloc.h> 4898 # define alloca _alloca 4899 # else 4900 # ifdef HAVE_ALLOCA_H 4901 # include <alloca.h> 4902 # else 4903 # ifdef _AIX 4904 #pragma alloca 4905 # else 4906 # ifndef alloca /* predefined by HP cc +Olibcalls */ 4907 void *alloca (size_t); 4908 # endif 4909 # endif 4910 # endif 4911 # endif 4912 #endif 4913 4914 int 4915 main () 4916 { 4917 char *p = (char *) alloca (1); 4918 if (p) return 0; 4919 ; 4920 return 0; 4921 } 4922 _ACEOF 4923 if ac_fn_c_try_link "$LINENO"; then : 4924 ac_cv_func_alloca_works=yes 4925 else 4926 ac_cv_func_alloca_works=no 4927 fi 4928 rm -f core conftest.err conftest.$ac_objext \ 4929 conftest$ac_exeext conftest.$ac_ext 4930 fi 4931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5 4932 $as_echo "$ac_cv_func_alloca_works" >&6; } 4933 4934 if test $ac_cv_func_alloca_works = yes; then 4935 4936 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h 4937 4938 else 4939 # The SVR3 libPW and SVR4 libucb both contain incompatible functions 4940 # that cause trouble. Some versions do not even contain alloca or 4941 # contain a buggy version. If you still want to use their alloca, 4942 # use ar to extract alloca.o from them instead of compiling alloca.c. 4943 4944 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext 4945 4946 $as_echo "#define C_ALLOCA 1" >>confdefs.h 4947 4948 4949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5 4950 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; } 4951 if ${ac_cv_os_cray+:} false; then : 4952 $as_echo_n "(cached) " >&6 4953 else 4954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4955 /* end confdefs.h. */ 4956 #if defined CRAY && ! defined CRAY2 4957 webecray 4958 #else 4959 wenotbecray 4960 #endif 4961 4962 _ACEOF 4963 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4964 $EGREP "webecray" >/dev/null 2>&1; then : 4965 ac_cv_os_cray=yes 4966 else 4967 ac_cv_os_cray=no 4968 fi 4969 rm -f conftest* 4970 4971 fi 4972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5 4973 $as_echo "$ac_cv_os_cray" >&6; } 4974 if test $ac_cv_os_cray = yes; then 4975 for ac_func in _getb67 GETB67 getb67; do 4976 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 4977 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 4978 if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 4979 4980 cat >>confdefs.h <<_ACEOF 4981 #define CRAY_STACKSEG_END $ac_func 4982 _ACEOF 4983 4984 break 4985 fi 4986 4987 done 4988 fi 4989 4990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5 4991 $as_echo_n "checking stack direction for C alloca... " >&6; } 4992 if ${ac_cv_c_stack_direction+:} false; then : 4993 $as_echo_n "(cached) " >&6 4994 else 4995 if test "$cross_compiling" = yes; then : 4996 ac_cv_c_stack_direction=0 4997 else 4998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4999 /* end confdefs.h. */ 5000 $ac_includes_default 5001 int 5002 find_stack_direction () 5003 { 5004 static char *addr = 0; 5005 auto char dummy; 5006 if (addr == 0) 5007 { 5008 addr = &dummy; 5009 return find_stack_direction (); 5010 } 5011 else 5012 return (&dummy > addr) ? 1 : -1; 5013 } 5014 5015 int 5016 main () 5017 { 5018 return find_stack_direction () < 0; 5019 } 5020 _ACEOF 5021 if ac_fn_c_try_run "$LINENO"; then : 5022 ac_cv_c_stack_direction=1 5023 else 5024 ac_cv_c_stack_direction=-1 5025 fi 5026 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 5027 conftest.$ac_objext conftest.beam conftest.$ac_ext 5028 fi 5029 5030 fi 5031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5 5032 $as_echo "$ac_cv_c_stack_direction" >&6; } 5033 cat >>confdefs.h <<_ACEOF 5034 #define STACK_DIRECTION $ac_cv_c_stack_direction 5035 _ACEOF 5036 5037 5038 fi 5039 5040 for ac_header in fenv.h float.h inttypes.h libintl.h limits.h malloc.h stddef.h stdlib.h string.h unistd.h 4642 5041 do : 4643 5042 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` … … 4653 5052 4654 5053 4655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 4656 $as_echo_n "checking for an ANSI C-conforming const... " >&6; } 4657 if ${ac_cv_c_const+:} false; then : 5054 # Checks for typedefs, structures, and compiler characteristics. 5055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5 5056 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; } 5057 if ${ac_cv_header_stdbool_h+:} false; then : 4658 5058 $as_echo_n "(cached) " >&6 4659 5059 else 4660 5060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4661 5061 /* end confdefs.h. */ 5062 5063 #include <stdbool.h> 5064 #ifndef bool 5065 "error: bool is not defined" 5066 #endif 5067 #ifndef false 5068 "error: false is not defined" 5069 #endif 5070 #if false 5071 "error: false is not 0" 5072 #endif 5073 #ifndef true 5074 "error: true is not defined" 5075 #endif 5076 #if true != 1 5077 "error: true is not 1" 5078 #endif 5079 #ifndef __bool_true_false_are_defined 5080 "error: __bool_true_false_are_defined is not defined" 5081 #endif 5082 5083 struct s { _Bool s: 1; _Bool t; } s; 5084 5085 char a[true == 1 ? 1 : -1]; 5086 char b[false == 0 ? 1 : -1]; 5087 char c[__bool_true_false_are_defined == 1 ? 1 : -1]; 5088 char d[(bool) 0.5 == true ? 1 : -1]; 5089 /* See body of main program for 'e'. */ 5090 char f[(_Bool) 0.0 == false ? 1 : -1]; 5091 char g[true]; 5092 char h[sizeof (_Bool)]; 5093 char i[sizeof s.t]; 5094 enum { j = false, k = true, l = false * true, m = true * 256 }; 5095 /* The following fails for 5096 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */ 5097 _Bool n[m]; 5098 char o[sizeof n == m * sizeof n[0] ? 1 : -1]; 5099 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1]; 5100 /* Catch a bug in an HP-UX C compiler. See 5101 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html 5102 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html 5103 */ 5104 _Bool q = true; 5105 _Bool *pq = &q; 4662 5106 4663 5107 int 4664 5108 main () 4665 5109 { 4666 /* FIXME: Include the comments suggested by Paul. */ 4667 #ifndef __cplusplus 4668 /* Ultrix mips cc rejects this. */ 4669 typedef int charset[2]; 4670 const charset cs; 4671 /* SunOS 4.1.1 cc rejects this. */ 4672 char const *const *pcpcc; 4673 char **ppc; 4674 /* NEC SVR4.0.2 mips cc rejects this. */ 4675 struct point {int x, y;}; 4676 static struct point const zero = {0,0}; 4677 /* AIX XL C 1.02.0.0 rejects this. 4678 It does not let you subtract one const X* pointer from another in 4679 an arm of an if-expression whose if-part is not a constant 4680 expression */ 4681 const char *g = "string"; 4682 pcpcc = &g + (g ? g-g : 0); 4683 /* HPUX 7.0 cc rejects these. */ 4684 ++pcpcc; 4685 ppc = (char**) pcpcc; 4686 pcpcc = (char const *const *) ppc; 4687 { /* SCO 3.2v4 cc rejects this. */ 4688 char *t; 4689 char const *s = 0 ? (char *) 0 : (char const *) 0; 4690 4691 *t++ = 0; 4692 if (s) return 0; 4693 } 4694 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ 4695 int x[] = {25, 17}; 4696 const int *foo = &x[0]; 4697 ++foo; 4698 } 4699 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ 4700 typedef const int *iptr; 4701 iptr p = 0; 4702 ++p; 4703 } 4704 { /* AIX XL C 1.02.0.0 rejects this saying 4705 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ 4706 struct s { int j; const int *ap[3]; }; 4707 struct s *b; b->j = 5; 4708 } 4709 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 4710 const int foo = 10; 4711 if (!foo) return 0; 4712 } 4713 return !cs[0] && !zero.x; 4714 #endif 5110 5111 bool e = &s; 5112 *pq |= q; 5113 *pq |= ! q; 5114 /* Refer to every declared value, to avoid compiler optimizations. */ 5115 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l 5116 + !m + !n + !o + !p + !q + !pq); 4715 5117 4716 5118 ; … … 4719 5121 _ACEOF 4720 5122 if ac_fn_c_try_compile "$LINENO"; then : 4721 ac_cv_ c_const=yes4722 else 4723 ac_cv_ c_const=no5123 ac_cv_header_stdbool_h=yes 5124 else 5125 ac_cv_header_stdbool_h=no 4724 5126 fi 4725 5127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4726 5128 fi 4727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 4728 $as_echo "$ac_cv_c_const" >&6; } 4729 if test $ac_cv_c_const = no; then 4730 4731 $as_echo "#define const /**/" >>confdefs.h 5129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5 5130 $as_echo "$ac_cv_header_stdbool_h" >&6; } 5131 ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default" 5132 if test "x$ac_cv_type__Bool" = xyes; then : 5133 5134 cat >>confdefs.h <<_ACEOF 5135 #define HAVE__BOOL 1 5136 _ACEOF 5137 5138 5139 fi 5140 5141 if test $ac_cv_header_stdbool_h = yes; then 5142 5143 $as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h 4732 5144 4733 5145 fi … … 4775 5187 esac 4776 5188 4777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5 4778 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; } 4779 if ${ac_cv_struct_tm+:} false; then : 5189 ac_fn_c_find_intX_t "$LINENO" "16" "ac_cv_c_int16_t" 5190 case $ac_cv_c_int16_t in #( 5191 no|yes) ;; #( 5192 *) 5193 5194 cat >>confdefs.h <<_ACEOF 5195 #define int16_t $ac_cv_c_int16_t 5196 _ACEOF 5197 ;; 5198 esac 5199 5200 ac_fn_c_find_intX_t "$LINENO" "32" "ac_cv_c_int32_t" 5201 case $ac_cv_c_int32_t in #( 5202 no|yes) ;; #( 5203 *) 5204 5205 cat >>confdefs.h <<_ACEOF 5206 #define int32_t $ac_cv_c_int32_t 5207 _ACEOF 5208 ;; 5209 esac 5210 5211 ac_fn_c_find_intX_t "$LINENO" "8" "ac_cv_c_int8_t" 5212 case $ac_cv_c_int8_t in #( 5213 no|yes) ;; #( 5214 *) 5215 5216 cat >>confdefs.h <<_ACEOF 5217 #define int8_t $ac_cv_c_int8_t 5218 _ACEOF 5219 ;; 5220 esac 5221 5222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C/C++ restrict keyword" >&5 5223 $as_echo_n "checking for C/C++ restrict keyword... " >&6; } 5224 if ${ac_cv_c_restrict+:} false; then : 4780 5225 $as_echo_n "(cached) " >&6 4781 5226 else 4782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5227 ac_cv_c_restrict=no 5228 # The order here caters to the fact that C++ does not require restrict. 5229 for ac_kw in __restrict __restrict__ _Restrict restrict; do 5230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4783 5231 /* end confdefs.h. */ 4784 #include <sys/types.h> 4785 #include <time.h> 4786 5232 typedef int * int_ptr; 5233 int foo (int_ptr $ac_kw ip) { 5234 return ip[0]; 5235 } 4787 5236 int 4788 5237 main () 4789 5238 { 4790 struct tm tm; 4791 int *p = &tm.tm_sec; 4792 return !p; 5239 int s[1]; 5240 int * $ac_kw t = s; 5241 t[0] = 0; 5242 return foo(t) 4793 5243 ; 4794 5244 return 0; … … 4796 5246 _ACEOF 4797 5247 if ac_fn_c_try_compile "$LINENO"; then : 4798 ac_cv_struct_tm=time.h 4799 else 4800 ac_cv_struct_tm=sys/time.h 5248 ac_cv_c_restrict=$ac_kw 4801 5249 fi 4802 5250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4803 fi 4804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5 4805 $as_echo "$ac_cv_struct_tm" >&6; } 4806 if test $ac_cv_struct_tm = sys/time.h; then 4807 4808 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h 4809 4810 fi 4811 4812 4813 test "${prefix}" != "NONE" || prefix=$ac_default_prefix 4814 4815 preludedir=${prefix}/share/cfa 4816 4817 # Check whether --with-preludedir was given. 4818 if test "${with_preludedir+set}" = set; then : 4819 withval=$with_preludedir; preludedir=$withval 4820 fi 4821 4822 4823 4824 4825 # Check whether --with-backend-compiler was given. 4826 if test "${with_backend_compiler+set}" = set; then : 4827 withval=$with_backend_compiler; backcompiler=$withval 4828 else 4829 backcompiler="" 4830 fi 4831 4832 if test x$backcompiler != x; then 4833 cat >>confdefs.h <<_ACEOF 4834 #define GCC_PATH "${backcompiler}" 4835 _ACEOF 4836 4837 BACKEND_CC=${backcompiler} 4838 else 4839 # Extract the first word of "gcc", so it can be a program name with args. 4840 set dummy gcc; ac_word=$2 4841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4842 $as_echo_n "checking for $ac_word... " >&6; } 4843 if ${ac_cv_path_GCC_PATH+:} false; then : 5251 test "$ac_cv_c_restrict" != no && break 5252 done 5253 5254 fi 5255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_restrict" >&5 5256 $as_echo "$ac_cv_c_restrict" >&6; } 5257 5258 case $ac_cv_c_restrict in 5259 restrict) ;; 5260 no) $as_echo "#define restrict /**/" >>confdefs.h 5261 ;; 5262 *) cat >>confdefs.h <<_ACEOF 5263 #define restrict $ac_cv_c_restrict 5264 _ACEOF 5265 ;; 5266 esac 5267 5268 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" 5269 if test "x$ac_cv_type_size_t" = xyes; then : 5270 5271 else 5272 5273 cat >>confdefs.h <<_ACEOF 5274 #define size_t unsigned int 5275 _ACEOF 5276 5277 fi 5278 5279 ac_fn_c_find_uintX_t "$LINENO" "16" "ac_cv_c_uint16_t" 5280 case $ac_cv_c_uint16_t in #( 5281 no|yes) ;; #( 5282 *) 5283 5284 5285 cat >>confdefs.h <<_ACEOF 5286 #define uint16_t $ac_cv_c_uint16_t 5287 _ACEOF 5288 ;; 5289 esac 5290 5291 ac_fn_c_find_uintX_t "$LINENO" "32" "ac_cv_c_uint32_t" 5292 case $ac_cv_c_uint32_t in #( 5293 no|yes) ;; #( 5294 *) 5295 5296 $as_echo "#define _UINT32_T 1" >>confdefs.h 5297 5298 5299 cat >>confdefs.h <<_ACEOF 5300 #define uint32_t $ac_cv_c_uint32_t 5301 _ACEOF 5302 ;; 5303 esac 5304 5305 ac_fn_c_find_uintX_t "$LINENO" "8" "ac_cv_c_uint8_t" 5306 case $ac_cv_c_uint8_t in #( 5307 no|yes) ;; #( 5308 *) 5309 5310 $as_echo "#define _UINT8_T 1" >>confdefs.h 5311 5312 5313 cat >>confdefs.h <<_ACEOF 5314 #define uint8_t $ac_cv_c_uint8_t 5315 _ACEOF 5316 ;; 5317 esac 5318 5319 5320 # Checks for library functions. 5321 for ac_header in stdlib.h 5322 do : 5323 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default" 5324 if test "x$ac_cv_header_stdlib_h" = xyes; then : 5325 cat >>confdefs.h <<_ACEOF 5326 #define HAVE_STDLIB_H 1 5327 _ACEOF 5328 5329 fi 5330 5331 done 5332 5333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5 5334 $as_echo_n "checking for GNU libc compatible malloc... " >&6; } 5335 if ${ac_cv_func_malloc_0_nonnull+:} false; then : 4844 5336 $as_echo_n "(cached) " >&6 4845 5337 else 4846 case $GCC_PATH in 4847 [\\/]* | ?:[\\/]*) 4848 ac_cv_path_GCC_PATH="$GCC_PATH" # Let the user override the test with a path. 4849 ;; 4850 *) 4851 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4852 for as_dir in $PATH 4853 do 4854 IFS=$as_save_IFS 4855 test -z "$as_dir" && as_dir=. 4856 for ac_exec_ext in '' $ac_executable_extensions; do 4857 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4858 ac_cv_path_GCC_PATH="$as_dir/$ac_word$ac_exec_ext" 4859 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4860 break 2 4861 fi 5338 if test "$cross_compiling" = yes; then : 5339 ac_cv_func_malloc_0_nonnull=no 5340 else 5341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5342 /* end confdefs.h. */ 5343 #if defined STDC_HEADERS || defined HAVE_STDLIB_H 5344 # include <stdlib.h> 5345 #else 5346 char *malloc (); 5347 #endif 5348 5349 int 5350 main () 5351 { 5352 return ! malloc (0); 5353 ; 5354 return 0; 5355 } 5356 _ACEOF 5357 if ac_fn_c_try_run "$LINENO"; then : 5358 ac_cv_func_malloc_0_nonnull=yes 5359 else 5360 ac_cv_func_malloc_0_nonnull=no 5361 fi 5362 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 5363 conftest.$ac_objext conftest.beam conftest.$ac_ext 5364 fi 5365 5366 fi 5367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5 5368 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; } 5369 if test $ac_cv_func_malloc_0_nonnull = yes; then : 5370 5371 $as_echo "#define HAVE_MALLOC 1" >>confdefs.h 5372 5373 else 5374 $as_echo "#define HAVE_MALLOC 0" >>confdefs.h 5375 5376 case " $LIBOBJS " in 5377 *" malloc.$ac_objext "* ) ;; 5378 *) LIBOBJS="$LIBOBJS malloc.$ac_objext" 5379 ;; 5380 esac 5381 5382 5383 $as_echo "#define malloc rpl_malloc" >>confdefs.h 5384 5385 fi 5386 5387 5388 for ac_header in stdlib.h 5389 do : 5390 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default" 5391 if test "x$ac_cv_header_stdlib_h" = xyes; then : 5392 cat >>confdefs.h <<_ACEOF 5393 #define HAVE_STDLIB_H 1 5394 _ACEOF 5395 5396 fi 5397 4862 5398 done 4863 done 4864 IFS=$as_save_IFS 4865 4866 test -z "$ac_cv_path_GCC_PATH" && ac_cv_path_GCC_PATH="N/A" 4867 ;; 5399 5400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5 5401 $as_echo_n "checking for GNU libc compatible realloc... " >&6; } 5402 if ${ac_cv_func_realloc_0_nonnull+:} false; then : 5403 $as_echo_n "(cached) " >&6 5404 else 5405 if test "$cross_compiling" = yes; then : 5406 ac_cv_func_realloc_0_nonnull=no 5407 else 5408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5409 /* end confdefs.h. */ 5410 #if defined STDC_HEADERS || defined HAVE_STDLIB_H 5411 # include <stdlib.h> 5412 #else 5413 char *realloc (); 5414 #endif 5415 5416 int 5417 main () 5418 { 5419 return ! realloc (0, 0); 5420 ; 5421 return 0; 5422 } 5423 _ACEOF 5424 if ac_fn_c_try_run "$LINENO"; then : 5425 ac_cv_func_realloc_0_nonnull=yes 5426 else 5427 ac_cv_func_realloc_0_nonnull=no 5428 fi 5429 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 5430 conftest.$ac_objext conftest.beam conftest.$ac_ext 5431 fi 5432 5433 fi 5434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_realloc_0_nonnull" >&5 5435 $as_echo "$ac_cv_func_realloc_0_nonnull" >&6; } 5436 if test $ac_cv_func_realloc_0_nonnull = yes; then : 5437 5438 $as_echo "#define HAVE_REALLOC 1" >>confdefs.h 5439 5440 else 5441 $as_echo "#define HAVE_REALLOC 0" >>confdefs.h 5442 5443 case " $LIBOBJS " in 5444 *" realloc.$ac_objext "* ) ;; 5445 *) LIBOBJS="$LIBOBJS realloc.$ac_objext" 5446 ;; 4868 5447 esac 4869 fi 4870 GCC_PATH=$ac_cv_path_GCC_PATH 4871 if test -n "$GCC_PATH"; then 4872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCC_PATH" >&5 4873 $as_echo "$GCC_PATH" >&6; } 4874 else 4875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4876 $as_echo "no" >&6; } 4877 fi 4878 4879 4880 if test "$GCC_PATH" = "N/A"; then 4881 as_fn_error $? "some version of gcc is needed. Get it at ftp://ftp.gnu.org" "$LINENO" 5 4882 exit 1 4883 fi 4884 4885 cat >>confdefs.h <<_ACEOF 4886 #define GCC_PATH "${GCC_PATH}" 4887 _ACEOF 4888 4889 BACKEND_CC=${GCC_PATH} 4890 fi 4891 4892 4893 # Extract the first word of "cpp", so it can be a program name with args. 4894 set dummy cpp; ac_word=$2 4895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4896 $as_echo_n "checking for $ac_word... " >&6; } 4897 if ${ac_cv_path_CPP_PATH+:} false; then : 4898 $as_echo_n "(cached) " >&6 4899 else 4900 case $CPP_PATH in 4901 [\\/]* | ?:[\\/]*) 4902 ac_cv_path_CPP_PATH="$CPP_PATH" # Let the user override the test with a path. 4903 ;; 4904 *) 4905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4906 for as_dir in $PATH 4907 do 4908 IFS=$as_save_IFS 4909 test -z "$as_dir" && as_dir=. 4910 for ac_exec_ext in '' $ac_executable_extensions; do 4911 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4912 ac_cv_path_CPP_PATH="$as_dir/$ac_word$ac_exec_ext" 4913 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4914 break 2 4915 fi 5448 5449 5450 $as_echo "#define realloc rpl_realloc" >>confdefs.h 5451 5452 fi 5453 5454 5455 for ac_func in memset putenv strchr strtol 5456 do : 5457 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 5458 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 5459 if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 5460 cat >>confdefs.h <<_ACEOF 5461 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 5462 _ACEOF 5463 5464 fi 4916 5465 done 4917 done4918 IFS=$as_save_IFS4919 4920 test -z "$ac_cv_path_CPP_PATH" && ac_cv_path_CPP_PATH="N/A"4921 ;;4922 esac4923 fi4924 CPP_PATH=$ac_cv_path_CPP_PATH4925 if test -n "$CPP_PATH"; then4926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP_PATH" >&54927 $as_echo "$CPP_PATH" >&6; }4928 else4929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&54930 $as_echo "no" >&6; }4931 fi4932 4933 4934 if test "$CPP_PATH" = "N/A"; then4935 as_fn_error $? "cpp not found" "$LINENO" 54936 exit 14937 fi4938 4939 cat >>confdefs.h <<_ACEOF4940 #define CPP_PATH "${CPP_PATH}"4941 _ACEOF4942 4943 4944 # Purify instrumenting4945 4946 CFA_PREFIX=4947 if test "x$prefix" = "xNONE"; then4948 cfa_prefix=${ac_default_prefix}4949 else4950 cfa_prefix=${prefix}4951 fi4952 4953 cat >>confdefs.h <<_ACEOF4954 #define CFA_PREFIX "${cfa_prefix}"4955 _ACEOF4956 4957 CFA_PREFIX=${cfa_prefix}4958 4959 4960 CFA_INCDIR=4961 if test "$includedir" = '${prefix}/include'; then4962 cfa_incdir="${cfa_prefix}/include"4963 else4964 cfa_incdir=${$includedir}4965 fi4966 4967 cat >>confdefs.h <<_ACEOF4968 #define CFA_INCDIR "${cfa_incdir}"4969 _ACEOF4970 4971 CFA_INCDIR=${cfa_incdir}4972 4973 4974 CFA_BINDIR=4975 if test "$bindir" = '${exec_prefix}/bin'; then4976 cfa_bindir="${cfa_prefix}/bin"4977 else4978 cfa_bindir=${bindir}4979 fi4980 4981 cat >>confdefs.h <<_ACEOF4982 #define CFA_BINDIR "${cfa_bindir}"4983 _ACEOF4984 4985 CFA_BINDIR=${cfa_bindir}4986 4987 4988 CFA_LIBDIR=4989 if test "$libdir" = '${exec_prefix}/lib'; then4990 cfa_libdir=${cfa_prefix}/lib4991 else4992 cfa_libdir=${libdir}4993 fi4994 4995 cat >>confdefs.h <<_ACEOF4996 #define CFA_LIBDIR "${cfa_libdir}"4997 _ACEOF4998 4999 CFA_LIBDIR=${cfa_libdir}5000 5466 5001 5467 5002 5468 ac_config_files="$ac_config_files Makefile src/Makefile driver/Makefile libcfa/Makefile src/examples/Makefile" 5469 5003 5470 5004 5471 cat >confcache <<\_ACEOF … … 5540 6007 # values after options handling. 5541 6008 ac_log=" 5542 This file was extended by cfa-cc $as_me 1.0 , which was6009 This file was extended by cfa-cc $as_me 1.0.0, which was 5543 6010 generated by GNU Autoconf 2.68. Invocation command line was 5544 6011 … … 5606 6073 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 5607 6074 ac_cs_version="\\ 5608 cfa-cc config.status 1.0 6075 cfa-cc config.status 1.0.0 5609 6076 configured by $0, generated by GNU Autoconf 2.68, 5610 6077 with options \\"\$ac_cs_config\\" … … 6470 6937 fi 6471 6938 6472 6473 6474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Cforall configuraton completed. Type \"make install\"." >&5 6475 $as_echo "Cforall configuraton completed. Type \"make install\"." >&6; } 6939 # Final text 6940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Cforall configuraton completed. Type \"make -j 8 install\"." >&5 6941 $as_echo "Cforall configuraton completed. Type \"make -j 8 install\"." >&6; } -
libcfa/prelude.cf
r49205cf r5d6ce1f 8 8 // Created On : Sat Nov 29 07:23:41 2014 9 9 // Last Modified By : Peter A. Buhr 10 // Last Modified On : Mon May 4 17:21:02201511 // Update Count : 7 010 // Last Modified On : Mon May 25 21:30:29 2015 11 // Update Count : 71 12 12 // 13 13
Note: See TracChangeset
for help on using the changeset viewer.