Changeset 5d6ce1f


Ignore:
Timestamp:
May 25, 2015, 9:43:53 PM (9 years ago)
Author:
Peter A. Buhr <pabuhr@…>
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
Message:

fix configure.ac

Files:
1 added
4 edited

Legend:

Unmodified
Added
Removed
  • Makefile.in

    r49205cf r5d6ce1f  
    4040        missing mkinstalldirs
    4141ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
    42 am__aclocal_m4_deps = $(top_srcdir)/configure.in
     42am__aclocal_m4_deps = $(top_srcdir)/configure.ac
    4343am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
    4444        $(ACLOCAL_M4)
     
    108108distcleancheck_listfiles = find . -type f -print
    109109ACLOCAL = @ACLOCAL@
     110ALLOCA = @ALLOCA@
    110111AMTAR = @AMTAR@
    111112AUTOCONF = @AUTOCONF@
     
    123124CPP = @CPP@
    124125CPPFLAGS = @CPPFLAGS@
    125 CPP_PATH = @CPP_PATH@
    126126CXX = @CXX@
    127127CXXDEPMODE = @CXXDEPMODE@
     
    143143INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
    144144LDFLAGS = @LDFLAGS@
    145 LEX = @LEX@
    146 LEXLIB = @LEXLIB@
    147 LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
    148145LIBOBJS = @LIBOBJS@
    149146LIBS = @LIBS@
     
    164161STRIP = @STRIP@
    165162VERSION = @VERSION@
    166 YACC = @YACC@
    167 YFLAGS = @YFLAGS@
    168163abs_builddir = @abs_builddir@
    169164abs_srcdir = @abs_srcdir@
     
    199194pdfdir = @pdfdir@
    200195prefix = @prefix@
    201 preludedir = @preludedir@
    202196program_transform_name = @program_transform_name@
    203197psdir = @psdir@
  • config.h.in

    r49205cf r5d6ce1f  
    1 /* config.h.in.  Generated from configure.in by autoheader.  */
     1/* config.h.in.  Generated from configure.ac by autoheader.  */
    22
    33/* Location of cfa command. */
     
    1313#undef CFA_PREFIX
    1414
    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
    1722
    1823/* Path/name of C compiler. */
    1924#undef GCC_PATH
    2025
     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
    2139/* Define to 1 if you have the <inttypes.h> header file. */
    2240#undef HAVE_INTTYPES_H
    2341
     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
    2452/* Define to 1 if you have the <malloc.h> header file. */
    2553#undef HAVE_MALLOC_H
     
    2856#undef HAVE_MEMORY_H
    2957
     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
    3074/* Define to 1 if you have the <stdint.h> header file. */
    3175#undef HAVE_STDINT_H
     
    3478#undef HAVE_STDLIB_H
    3579
     80/* Define to 1 if you have the `strchr' function. */
     81#undef HAVE_STRCHR
     82
    3683/* Define to 1 if you have the <strings.h> header file. */
    3784#undef HAVE_STRINGS_H
     
    4087#undef HAVE_STRING_H
    4188
     89/* Define to 1 if you have the `strtol' function. */
     90#undef HAVE_STRTOL
     91
    4292/* Define to 1 if you have the <sys/stat.h> header file. */
    4393#undef HAVE_SYS_STAT_H
     
    4999#undef HAVE_UNISTD_H
    50100
     101/* Define to 1 if the system has the type `_Bool'. */
     102#undef HAVE__BOOL
     103
    51104/* Name of package */
    52105#undef PACKAGE
     
    70123#undef PACKAGE_VERSION
    71124
     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
    72133/* Define to 1 if you have the ANSI C header files. */
    73134#undef STDC_HEADERS
    74135
    75 /* Define to 1 if your <sys/time.h> declares `struct tm'. */
    76 #undef TM_IN_SYS_TIME
    77 
    78136/* Version number of package */
    79137#undef VERSION
    80138
    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
    87148
    88149/* Define to `__inline__' or `__inline' if that's what the C compiler
     
    91152#undef inline
    92153#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  
    11#! /bin/sh
    22# 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.
    44#
    55# Report bugs to <cforall@plg.uwaterloo.ca>.
     
    561561PACKAGE_NAME='cfa-cc'
    562562PACKAGE_TARNAME='cfa-cc'
    563 PACKAGE_VERSION='1.0'
    564 PACKAGE_STRING='cfa-cc 1.0'
     563PACKAGE_VERSION='1.0.0'
     564PACKAGE_STRING='cfa-cc 1.0.0'
    565565PACKAGE_BUGREPORT='cforall@plg.uwaterloo.ca'
    566566PACKAGE_URL=''
     
    607607LTLIBOBJS
    608608LIBOBJS
    609 CFA_LIBDIR
    610 CFA_BINDIR
    611 CFA_INCDIR
    612 CFA_PREFIX
    613 CPP_PATH
    614 BACKEND_CC
    615 GCC_PATH
    616 preludedir
     609ALLOCA
    617610EGREP
    618611GREP
    619612CPP
    620 LEXLIB
    621 LEX_OUTPUT_ROOT
    622 LEX
    623613am__fastdepCC_FALSE
    624614am__fastdepCC_TRUE
     
    644634CXXFLAGS
    645635CXX
    646 YFLAGS
    647 YACC
     636CFA_LIBDIR
     637CFA_BINDIR
     638CFA_INCDIR
     639CFA_PREFIX
     640BACKEND_CC
     641GCC_PATH
    648642am__untar
    649643am__tar
     
    710704ac_user_opts='
    711705enable_option_checking
     706with_backend_compiler
    712707enable_dependency_tracking
    713 with_preludedir
    714 with_backend_compiler
    715708'
    716709      ac_precious_vars='build_alias
    717710host_alias
    718711target_alias
    719 YACC
    720 YFLAGS
    721712CXX
    722713CXXFLAGS
     
    12701261  # This message is too long to be a string in the A/UX 3.1 sh.
    12711262  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.
    12731264
    12741265Usage: $0 [OPTION]... [VAR=VALUE]...
     
    13361327if test -n "$ac_init_help"; then
    13371328  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:";;
    13391330   esac
    13401331  cat <<\_ACEOF
     
    13501341  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
    13511342  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
    1352   --with-preludedir=DIR      DIR that contains prelude.cf and other necessary files
    13531343  --with-backend-compiler=PROGRAM     PROGRAM that performs the final code compilation (must be gcc-compatible)
    13541344
    13551345Some 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 a
    1361               default value of `-d' given by some make applications.
    13621346  CXX         C++ compiler command
    13631347  CXXFLAGS    C++ compiler flags
     
    14371421if $ac_init_version; then
    14381422  cat <<\_ACEOF
    1439 cfa-cc configure 1.0
     1423cfa-cc configure 1.0.0
    14401424generated by GNU Autoconf 2.68
    14411425
     
    15261510
    15271511} # 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.
     1517ac_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; }
     1522if eval \${$3+:} false; then :
     1523  $as_echo_n "(cached) " >&6
     1524else
     1525  eval "$3=no"
     1526  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1527/* end confdefs.h.  */
     1528$4
     1529int
     1530main ()
     1531{
     1532if (sizeof ($2))
     1533         return 0;
     1534  ;
     1535  return 0;
     1536}
     1537_ACEOF
     1538if ac_fn_c_try_compile "$LINENO"; then :
     1539  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1540/* end confdefs.h.  */
     1541$4
     1542int
     1543main ()
     1544{
     1545if (sizeof (($2)))
     1546            return 0;
     1547  ;
     1548  return 0;
     1549}
     1550_ACEOF
     1551if ac_fn_c_try_compile "$LINENO"; then :
     1552
     1553else
     1554  eval "$3=yes"
     1555fi
     1556rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     1557fi
     1558rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     1559fi
     1560eval 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.
     1570ac_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"
     1574case "(($ac_try" in
     1575  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1576  *) ac_try_echo=$ac_try;;
     1577esac
     1578eval 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
     1593else
     1594  $as_echo "$as_me: failed program was:" >&5
     1595sed 's/^/| /' conftest.$ac_ext >&5
     1596
     1597    ac_retval=1
     1598fi
     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.
     1608ac_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"
     1612case "(($ac_try" in
     1613  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1614  *) ac_try_echo=$ac_try;;
     1615esac
     1616eval 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;;
     1625esac
     1626eval 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
     1633else
     1634  $as_echo "$as_me: program exited with status $ac_status" >&5
     1635       $as_echo "$as_me: failed program was:" >&5
     1636sed 's/^/| /' conftest.$ac_ext >&5
     1637
     1638       ac_retval=$ac_status
     1639fi
     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.
     1650ac_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; }
     1655if eval \${$3+:} false; then :
     1656  $as_echo_n "(cached) " >&6
     1657else
     1658  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1659/* end confdefs.h.  */
     1660$4
     1661#include <$2>
     1662_ACEOF
     1663if ac_fn_c_try_compile "$LINENO"; then :
     1664  eval "$3=yes"
     1665else
     1666  eval "$3=no"
     1667fi
     1668rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     1669fi
     1670eval 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
    15281676
    15291677# ac_fn_c_try_link LINENO
     
    15731721} # ac_fn_c_try_link
    15741722
    1575 # ac_fn_c_try_cpp LINENO
    1576 # ----------------------
    1577 # Try 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
     1726ac_fn_c_check_func ()
    15791727{
    15801728  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; }
     1731if eval \${$3+:} false; then :
     1732  $as_echo_n "(cached) " >&6
     1733else
     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
     1757extern "C"
     1758#endif
     1759char $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
     1764choke me
     1765#endif
     1766
     1767int
     1768main ()
     1769{
     1770return $2 ();
     1771  ;
     1772  return 0;
     1773}
     1774_ACEOF
     1775if ac_fn_c_try_link "$LINENO"; then :
     1776  eval "$3=yes"
     1777else
     1778  eval "$3=no"
     1779fi
     1780rm -f core conftest.err conftest.$ac_objext \
     1781    conftest$ac_exeext conftest.$ac_ext
     1782fi
     1783eval ac_res=\$$3
     1784               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     1785$as_echo "$ac_res" >&6; }
    16071786  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
    16111789
    16121790# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
     
    17011879} # ac_fn_c_check_header_mongrel
    17021880
    1703 # ac_fn_c_try_run LINENO
    1704 # ----------------------
    1705 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
    1706 # 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.
     1885ac_fn_c_find_intX_t ()
    17081886{
    17091887  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; }
    17541890if eval \${$3+:} false; then :
    17551891  $as_echo_n "(cached) " >&6
    17561892else
     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 };
     1902int
     1903main ()
     1904{
     1905static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))];
     1906test_array [0] = 0
     1907
     1908  ;
     1909  return 0;
     1910}
     1911_ACEOF
     1912if ac_fn_c_try_compile "$LINENO"; then :
    17571913  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    17581914/* end confdefs.h.  */
    1759 $4
    1760 #include <$2>
     1915$ac_includes_default
     1916                enum { N = $2 / 2 - 1 };
     1917int
     1918main ()
     1919{
     1920static 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))];
     1922test_array [0] = 0
     1923
     1924  ;
     1925  return 0;
     1926}
    17611927_ACEOF
    17621928if ac_fn_c_try_compile "$LINENO"; then :
    1763   eval "$3=yes"
    1764 else
    1765   eval "$3=no"
     1929
     1930else
     1931  case $ac_type in #(
     1932  int$2_t) :
     1933    eval "$3=yes" ;; #(
     1934  *) :
     1935    eval "$3=\$ac_type" ;;
     1936esac
    17661937fi
    17671938rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     1939fi
     1940rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     1941       if eval test \"x\$"$3"\" = x"no"; then :
     1942
     1943else
     1944  break
     1945fi
     1946     done
    17681947fi
    17691948eval ac_res=\$$3
     
    17721951  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    17731952
    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.
     1959ac_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; }
     1964if eval \${$3+:} false; then :
     1965  $as_echo_n "(cached) " >&6
     1966else
     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
     1975int
     1976main ()
     1977{
     1978static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
     1979test_array [0] = 0
     1980
     1981  ;
     1982  return 0;
     1983}
     1984_ACEOF
     1985if 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" ;;
     1991esac
     1992fi
     1993rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     1994       if eval test \"x\$"$3"\" = x"no"; then :
     1995
     1996else
     1997  break
     1998fi
     1999     done
     2000fi
     2001eval 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
    17752007cat >config.log <<_ACEOF
    17762008This file contains any messages produced by compilers while
    17772009running configure, to aid debugging if configure makes a mistake.
    17782010
    1779 It was created by cfa-cc $as_me 1.0, which was
     2011It was created by cfa-cc $as_me 1.0.0, which was
    17802012generated by GNU Autoconf 2.68.  Invocation command line was
    17812013
     
    21252357
    21262358
    2127 
    2128 
    21292359am__api_version='1.11'
    21302360
     
    25942824# Define the identity of the package.
    25952825 PACKAGE='cfa-cc'
    2596  VERSION='1.0'
     2826 VERSION='1.0.0'
    25972827
    25982828
     
    26342864
    26352865                # do not follow GNU standard
     2866
    26362867ac_config_headers="$ac_config_headers config.h"
    26372868
    26382869
    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.
     2874if test "${with_backend_compiler+set}" = set; then :
     2875  withval=$with_backend_compiler; backcompiler=$withval
     2876else
     2877  backcompiler=""
     2878fi
     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.
     2888set dummy gcc; ac_word=$2
    26432889{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    26442890$as_echo_n "checking for $ac_word... " >&6; }
    2645 if ${ac_cv_prog_YACC+:} false; then :
     2891if ${ac_cv_path_GCC_PATH+:} false; then :
    26462892  $as_echo_n "(cached) " >&6
    26472893else
    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
    26522900for as_dir in $PATH
    26532901do
     
    26562904    for ac_exec_ext in '' $ac_executable_extensions; do
    26572905  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    2658     ac_cv_prog_YACC="$ac_prog"
     2906    ac_cv_path_GCC_PATH="$as_dir/$ac_word$ac_exec_ext"
    26592907    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    26602908    break 2
     
    26642912IFS=$as_save_IFS
    26652913
    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  ;;
     2916esac
     2917fi
     2918GCC_PATH=$ac_cv_path_GCC_PATH
     2919if test -n "$GCC_PATH"; then
     2920  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCC_PATH" >&5
     2921$as_echo "$GCC_PATH" >&6; }
    26722922else
    26732923  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     
    26762926
    26772927
    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
     2933cat >>confdefs.h <<_ACEOF
     2934#define GCC_PATH "${GCC_PATH}"
     2935_ACEOF
     2936
     2937     BACKEND_CC=${GCC_PATH}
     2938  fi
     2939
     2940
     2941CFA_PREFIX=
     2942if test "x$prefix" = "xNONE"; then
     2943        cfa_prefix=${ac_default_prefix}
     2944else
     2945        cfa_prefix=${prefix}
     2946fi
     2947
     2948cat >>confdefs.h <<_ACEOF
     2949#define CFA_PREFIX "${cfa_prefix}"
     2950_ACEOF
     2951
     2952CFA_PREFIX=${cfa_prefix}
     2953
     2954
     2955CFA_INCDIR=
     2956if test "$includedir" = '${prefix}/include'; then
     2957        cfa_incdir="${cfa_prefix}/include"
     2958else
     2959        cfa_incdir=${$includedir}
     2960fi
     2961
     2962cat >>confdefs.h <<_ACEOF
     2963#define CFA_INCDIR "${cfa_incdir}"
     2964_ACEOF
     2965
     2966CFA_INCDIR=${cfa_incdir}
     2967
     2968
     2969CFA_BINDIR=
     2970if test "$bindir" = '${exec_prefix}/bin'; then
     2971        cfa_bindir="${cfa_prefix}/bin"
     2972else
     2973        cfa_bindir=${bindir}
     2974fi
     2975
     2976cat >>confdefs.h <<_ACEOF
     2977#define CFA_BINDIR "${cfa_bindir}"
     2978_ACEOF
     2979
     2980CFA_BINDIR=${cfa_bindir}
     2981
     2982
     2983CFA_LIBDIR=
     2984if test "$libdir" = '${exec_prefix}/lib'; then
     2985        cfa_libdir=${cfa_prefix}/lib
     2986else
     2987        cfa_libdir=${libdir}
     2988fi
     2989
     2990cat >>confdefs.h <<_ACEOF
     2991#define CFA_LIBDIR "${cfa_libdir}"
     2992_ACEOF
     2993
     2994CFA_LIBDIR=${cfa_libdir}
     2995
     2996
     2997# Checks for programs.
    26822998ac_ext=cpp
    26832999ac_cpp='$CXXCPP $CPPFLAGS'
     
    33783694
    33793695
     3696for ac_prog in gawk mawk nawk awk
     3697do
     3698  # Extract the first word of "$ac_prog", so it can be a program name with args.
     3699set 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; }
     3702if ${ac_cv_prog_AWK+:} false; then :
     3703  $as_echo_n "(cached) " >&6
     3704else
     3705  if test -n "$AWK"; then
     3706  ac_cv_prog_AWK="$AWK" # Let the user override the test.
     3707else
     3708as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     3709for as_dir in $PATH
     3710do
     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
     3719done
     3720  done
     3721IFS=$as_save_IFS
     3722
     3723fi
     3724fi
     3725AWK=$ac_cv_prog_AWK
     3726if test -n "$AWK"; then
     3727  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
     3728$as_echo "$AWK" >&6; }
     3729else
     3730  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3731$as_echo "no" >&6; }
     3732fi
     3733
     3734
     3735  test -n "$AWK" && break
     3736done
     3737
    33803738ac_ext=c
    33813739ac_cpp='$CPP $CPPFLAGS'
     
    40454403fi
    40464404
    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
    42104407{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
    42114408$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
     
    42404437
    42414438
    4242 
     4439# Checks for libraries.
     4440
     4441# Checks for header files.
    42434442
    42444443ac_ext=c
     
    46394838
    46404839
    4641 for ac_header in malloc.h unistd.h
     4840ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
     4841if test "x$ac_cv_type_size_t" = xyes; then :
     4842
     4843else
     4844
     4845cat >>confdefs.h <<_ACEOF
     4846#define size_t unsigned int
     4847_ACEOF
     4848
     4849fi
     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; }
     4855if ${ac_cv_working_alloca_h+:} false; then :
     4856  $as_echo_n "(cached) " >&6
     4857else
     4858  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     4859/* end confdefs.h.  */
     4860#include <alloca.h>
     4861int
     4862main ()
     4863{
     4864char *p = (char *) alloca (2 * sizeof (int));
     4865                          if (p) return 0;
     4866  ;
     4867  return 0;
     4868}
     4869_ACEOF
     4870if ac_fn_c_try_link "$LINENO"; then :
     4871  ac_cv_working_alloca_h=yes
     4872else
     4873  ac_cv_working_alloca_h=no
     4874fi
     4875rm -f core conftest.err conftest.$ac_objext \
     4876    conftest$ac_exeext conftest.$ac_ext
     4877fi
     4878{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
     4879$as_echo "$ac_cv_working_alloca_h" >&6; }
     4880if test $ac_cv_working_alloca_h = yes; then
     4881
     4882$as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
     4883
     4884fi
     4885
     4886{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
     4887$as_echo_n "checking for alloca... " >&6; }
     4888if ${ac_cv_func_alloca_works+:} false; then :
     4889  $as_echo_n "(cached) " >&6
     4890else
     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 */
     4907void *alloca (size_t);
     4908#    endif
     4909#   endif
     4910#  endif
     4911# endif
     4912#endif
     4913
     4914int
     4915main ()
     4916{
     4917char *p = (char *) alloca (1);
     4918                                    if (p) return 0;
     4919  ;
     4920  return 0;
     4921}
     4922_ACEOF
     4923if ac_fn_c_try_link "$LINENO"; then :
     4924  ac_cv_func_alloca_works=yes
     4925else
     4926  ac_cv_func_alloca_works=no
     4927fi
     4928rm -f core conftest.err conftest.$ac_objext \
     4929    conftest$ac_exeext conftest.$ac_ext
     4930fi
     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
     4934if test $ac_cv_func_alloca_works = yes; then
     4935
     4936$as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
     4937
     4938else
     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
     4944ALLOCA=\${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; }
     4951if ${ac_cv_os_cray+:} false; then :
     4952  $as_echo_n "(cached) " >&6
     4953else
     4954  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     4955/* end confdefs.h.  */
     4956#if defined CRAY && ! defined CRAY2
     4957webecray
     4958#else
     4959wenotbecray
     4960#endif
     4961
     4962_ACEOF
     4963if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
     4964  $EGREP "webecray" >/dev/null 2>&1; then :
     4965  ac_cv_os_cray=yes
     4966else
     4967  ac_cv_os_cray=no
     4968fi
     4969rm -f conftest*
     4970
     4971fi
     4972{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
     4973$as_echo "$ac_cv_os_cray" >&6; }
     4974if 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`
     4977ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
     4978if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
     4979
     4980cat >>confdefs.h <<_ACEOF
     4981#define CRAY_STACKSEG_END $ac_func
     4982_ACEOF
     4983
     4984    break
     4985fi
     4986
     4987  done
     4988fi
     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; }
     4992if ${ac_cv_c_stack_direction+:} false; then :
     4993  $as_echo_n "(cached) " >&6
     4994else
     4995  if test "$cross_compiling" = yes; then :
     4996  ac_cv_c_stack_direction=0
     4997else
     4998  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     4999/* end confdefs.h.  */
     5000$ac_includes_default
     5001int
     5002find_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
     5015int
     5016main ()
     5017{
     5018  return find_stack_direction () < 0;
     5019}
     5020_ACEOF
     5021if ac_fn_c_try_run "$LINENO"; then :
     5022  ac_cv_c_stack_direction=1
     5023else
     5024  ac_cv_c_stack_direction=-1
     5025fi
     5026rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
     5027  conftest.$ac_objext conftest.beam conftest.$ac_ext
     5028fi
     5029
     5030fi
     5031{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
     5032$as_echo "$ac_cv_c_stack_direction" >&6; }
     5033cat >>confdefs.h <<_ACEOF
     5034#define STACK_DIRECTION $ac_cv_c_stack_direction
     5035_ACEOF
     5036
     5037
     5038fi
     5039
     5040for ac_header in fenv.h float.h inttypes.h libintl.h limits.h malloc.h stddef.h stdlib.h string.h unistd.h
    46425041do :
    46435042  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     
    46535052
    46545053
    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; }
     5057if ${ac_cv_header_stdbool_h+:} false; then :
    46585058  $as_echo_n "(cached) " >&6
    46595059else
    46605060  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    46615061/* 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;
    46625106
    46635107int
    46645108main ()
    46655109{
    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);
    47155117
    47165118  ;
     
    47195121_ACEOF
    47205122if ac_fn_c_try_compile "$LINENO"; then :
    4721   ac_cv_c_const=yes
    4722 else
    4723   ac_cv_c_const=no
     5123  ac_cv_header_stdbool_h=yes
     5124else
     5125  ac_cv_header_stdbool_h=no
    47245126fi
    47255127rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    47265128fi
    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; }
     5131ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
     5132if test "x$ac_cv_type__Bool" = xyes; then :
     5133
     5134cat >>confdefs.h <<_ACEOF
     5135#define HAVE__BOOL 1
     5136_ACEOF
     5137
     5138
     5139fi
     5140
     5141if test $ac_cv_header_stdbool_h = yes; then
     5142
     5143$as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
    47325144
    47335145fi
     
    47755187esac
    47765188
    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 :
     5189ac_fn_c_find_intX_t "$LINENO" "16" "ac_cv_c_int16_t"
     5190case $ac_cv_c_int16_t in #(
     5191  no|yes) ;; #(
     5192  *)
     5193
     5194cat >>confdefs.h <<_ACEOF
     5195#define int16_t $ac_cv_c_int16_t
     5196_ACEOF
     5197;;
     5198esac
     5199
     5200ac_fn_c_find_intX_t "$LINENO" "32" "ac_cv_c_int32_t"
     5201case $ac_cv_c_int32_t in #(
     5202  no|yes) ;; #(
     5203  *)
     5204
     5205cat >>confdefs.h <<_ACEOF
     5206#define int32_t $ac_cv_c_int32_t
     5207_ACEOF
     5208;;
     5209esac
     5210
     5211ac_fn_c_find_intX_t "$LINENO" "8" "ac_cv_c_int8_t"
     5212case $ac_cv_c_int8_t in #(
     5213  no|yes) ;; #(
     5214  *)
     5215
     5216cat >>confdefs.h <<_ACEOF
     5217#define int8_t $ac_cv_c_int8_t
     5218_ACEOF
     5219;;
     5220esac
     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; }
     5224if ${ac_cv_c_restrict+:} false; then :
    47805225  $as_echo_n "(cached) " >&6
    47815226else
    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
    47835231/* end confdefs.h.  */
    4784 #include <sys/types.h>
    4785 #include <time.h>
    4786 
     5232typedef int * int_ptr;
     5233        int foo (int_ptr $ac_kw ip) {
     5234        return ip[0];
     5235       }
    47875236int
    47885237main ()
    47895238{
    4790 struct tm tm;
    4791                                      int *p = &tm.tm_sec;
    4792                                      return !p;
     5239int s[1];
     5240        int * $ac_kw t = s;
     5241        t[0] = 0;
     5242        return foo(t)
    47935243  ;
    47945244  return 0;
     
    47965246_ACEOF
    47975247if 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
    48015249fi
    48025250rm -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
     5254fi
     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
     5268ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
     5269if test "x$ac_cv_type_size_t" = xyes; then :
     5270
     5271else
     5272
     5273cat >>confdefs.h <<_ACEOF
     5274#define size_t unsigned int
     5275_ACEOF
     5276
     5277fi
     5278
     5279ac_fn_c_find_uintX_t "$LINENO" "16" "ac_cv_c_uint16_t"
     5280case $ac_cv_c_uint16_t in #(
     5281  no|yes) ;; #(
     5282  *)
     5283
     5284
     5285cat >>confdefs.h <<_ACEOF
     5286#define uint16_t $ac_cv_c_uint16_t
     5287_ACEOF
     5288;;
     5289  esac
     5290
     5291ac_fn_c_find_uintX_t "$LINENO" "32" "ac_cv_c_uint32_t"
     5292case $ac_cv_c_uint32_t in #(
     5293  no|yes) ;; #(
     5294  *)
     5295
     5296$as_echo "#define _UINT32_T 1" >>confdefs.h
     5297
     5298
     5299cat >>confdefs.h <<_ACEOF
     5300#define uint32_t $ac_cv_c_uint32_t
     5301_ACEOF
     5302;;
     5303  esac
     5304
     5305ac_fn_c_find_uintX_t "$LINENO" "8" "ac_cv_c_uint8_t"
     5306case $ac_cv_c_uint8_t in #(
     5307  no|yes) ;; #(
     5308  *)
     5309
     5310$as_echo "#define _UINT8_T 1" >>confdefs.h
     5311
     5312
     5313cat >>confdefs.h <<_ACEOF
     5314#define uint8_t $ac_cv_c_uint8_t
     5315_ACEOF
     5316;;
     5317  esac
     5318
     5319
     5320# Checks for library functions.
     5321for ac_header in stdlib.h
     5322do :
     5323  ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
     5324if test "x$ac_cv_header_stdlib_h" = xyes; then :
     5325  cat >>confdefs.h <<_ACEOF
     5326#define HAVE_STDLIB_H 1
     5327_ACEOF
     5328
     5329fi
     5330
     5331done
     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; }
     5335if ${ac_cv_func_malloc_0_nonnull+:} false; then :
    48445336  $as_echo_n "(cached) " >&6
    48455337else
    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
     5340else
     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
     5346char *malloc ();
     5347#endif
     5348
     5349int
     5350main ()
     5351{
     5352return ! malloc (0);
     5353  ;
     5354  return 0;
     5355}
     5356_ACEOF
     5357if ac_fn_c_try_run "$LINENO"; then :
     5358  ac_cv_func_malloc_0_nonnull=yes
     5359else
     5360  ac_cv_func_malloc_0_nonnull=no
     5361fi
     5362rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
     5363  conftest.$ac_objext conftest.beam conftest.$ac_ext
     5364fi
     5365
     5366fi
     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; }
     5369if test $ac_cv_func_malloc_0_nonnull = yes; then :
     5370
     5371$as_echo "#define HAVE_MALLOC 1" >>confdefs.h
     5372
     5373else
     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 ;;
     5380esac
     5381
     5382
     5383$as_echo "#define malloc rpl_malloc" >>confdefs.h
     5384
     5385fi
     5386
     5387
     5388for ac_header in stdlib.h
     5389do :
     5390  ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
     5391if test "x$ac_cv_header_stdlib_h" = xyes; then :
     5392  cat >>confdefs.h <<_ACEOF
     5393#define HAVE_STDLIB_H 1
     5394_ACEOF
     5395
     5396fi
     5397
    48625398done
    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; }
     5402if ${ac_cv_func_realloc_0_nonnull+:} false; then :
     5403  $as_echo_n "(cached) " >&6
     5404else
     5405  if test "$cross_compiling" = yes; then :
     5406  ac_cv_func_realloc_0_nonnull=no
     5407else
     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
     5413char *realloc ();
     5414#endif
     5415
     5416int
     5417main ()
     5418{
     5419return ! realloc (0, 0);
     5420  ;
     5421  return 0;
     5422}
     5423_ACEOF
     5424if ac_fn_c_try_run "$LINENO"; then :
     5425  ac_cv_func_realloc_0_nonnull=yes
     5426else
     5427  ac_cv_func_realloc_0_nonnull=no
     5428fi
     5429rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
     5430  conftest.$ac_objext conftest.beam conftest.$ac_ext
     5431fi
     5432
     5433fi
     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; }
     5436if test $ac_cv_func_realloc_0_nonnull = yes; then :
     5437
     5438$as_echo "#define HAVE_REALLOC 1" >>confdefs.h
     5439
     5440else
     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 ;;
    48685447esac
    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
     5452fi
     5453
     5454
     5455for ac_func in memset putenv strchr strtol
     5456do :
     5457  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
     5458ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
     5459if 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
     5464fi
    49165465done
    4917   done
    4918 IFS=$as_save_IFS
    4919 
    4920   test -z "$ac_cv_path_CPP_PATH" && ac_cv_path_CPP_PATH="N/A"
    4921   ;;
    4922 esac
    4923 fi
    4924 CPP_PATH=$ac_cv_path_CPP_PATH
    4925 if test -n "$CPP_PATH"; then
    4926   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP_PATH" >&5
    4927 $as_echo "$CPP_PATH" >&6; }
    4928 else
    4929   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    4930 $as_echo "no" >&6; }
    4931 fi
    4932 
    4933 
    4934 if test "$CPP_PATH" = "N/A"; then
    4935    as_fn_error $? "cpp not found" "$LINENO" 5
    4936    exit 1
    4937 fi
    4938 
    4939 cat >>confdefs.h <<_ACEOF
    4940 #define CPP_PATH "${CPP_PATH}"
    4941 _ACEOF
    4942 
    4943 
    4944 # Purify instrumenting
    4945 
    4946 CFA_PREFIX=
    4947 if test "x$prefix" = "xNONE"; then
    4948         cfa_prefix=${ac_default_prefix}
    4949 else
    4950         cfa_prefix=${prefix}
    4951 fi
    4952 
    4953 cat >>confdefs.h <<_ACEOF
    4954 #define CFA_PREFIX "${cfa_prefix}"
    4955 _ACEOF
    4956 
    4957 CFA_PREFIX=${cfa_prefix}
    4958 
    4959 
    4960 CFA_INCDIR=
    4961 if test "$includedir" = '${prefix}/include'; then
    4962         cfa_incdir="${cfa_prefix}/include"
    4963 else
    4964         cfa_incdir=${$includedir}
    4965 fi
    4966 
    4967 cat >>confdefs.h <<_ACEOF
    4968 #define CFA_INCDIR "${cfa_incdir}"
    4969 _ACEOF
    4970 
    4971 CFA_INCDIR=${cfa_incdir}
    4972 
    4973 
    4974 CFA_BINDIR=
    4975 if test "$bindir" = '${exec_prefix}/bin'; then
    4976         cfa_bindir="${cfa_prefix}/bin"
    4977 else
    4978         cfa_bindir=${bindir}
    4979 fi
    4980 
    4981 cat >>confdefs.h <<_ACEOF
    4982 #define CFA_BINDIR "${cfa_bindir}"
    4983 _ACEOF
    4984 
    4985 CFA_BINDIR=${cfa_bindir}
    4986 
    4987 
    4988 CFA_LIBDIR=
    4989 if test "$libdir" = '${exec_prefix}/lib'; then
    4990         cfa_libdir=${cfa_prefix}/lib
    4991 else
    4992         cfa_libdir=${libdir}
    4993 fi
    4994 
    4995 cat >>confdefs.h <<_ACEOF
    4996 #define CFA_LIBDIR "${cfa_libdir}"
    4997 _ACEOF
    4998 
    4999 CFA_LIBDIR=${cfa_libdir}
    50005466
    50015467
    50025468ac_config_files="$ac_config_files Makefile src/Makefile driver/Makefile libcfa/Makefile src/examples/Makefile"
     5469
    50035470
    50045471cat >confcache <<\_ACEOF
     
    55406007# values after options handling.
    55416008ac_log="
    5542 This file was extended by cfa-cc $as_me 1.0, which was
     6009This file was extended by cfa-cc $as_me 1.0.0, which was
    55436010generated by GNU Autoconf 2.68.  Invocation command line was
    55446011
     
    56066073ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
    56076074ac_cs_version="\\
    5608 cfa-cc config.status 1.0
     6075cfa-cc config.status 1.0.0
    56096076configured by $0, generated by GNU Autoconf 2.68,
    56106077  with options \\"\$ac_cs_config\\"
     
    64706937fi
    64716938
    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  
    88// Created On       : Sat Nov 29 07:23:41 2014
    99// Last Modified By : Peter A. Buhr
    10 // Last Modified On : Mon May  4 17:21:02 2015
    11 // Update Count     : 70
     10// Last Modified On : Mon May 25 21:30:29 2015
     11// Update Count     : 71
    1212//
    1313
Note: See TracChangeset for help on using the changeset viewer.