Changeset 42336618
- Timestamp:
- May 27, 2015, 1:51:38 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:
- f7d59bf
- Parents:
- 4d51835
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
Makefile.am
r4d51835 r42336618 1 AUTOMAKE_OPTIONS=foreign 1 2 SUBDIRS = driver src libcfa # order important, src before libcfa because cfa-cpp used to build prelude 2 3 -
Makefile.in
r4d51835 r42336618 37 37 $(top_srcdir)/configure $(top_srcdir)/driver/Makefile.in \ 38 38 $(top_srcdir)/libcfa/Makefile.in $(top_srcdir)/src/Makefile.in \ 39 $(top_srcdir)/src/examples/Makefile.in INSTALL install-sh\40 missing39 $(top_srcdir)/src/examples/Makefile.in COPYING INSTALL \ 40 install-sh missing 41 41 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 42 42 am__aclocal_m4_deps = $(top_srcdir)/configure.ac … … 204 204 top_builddir = @top_builddir@ 205 205 top_srcdir = @top_srcdir@ 206 AUTOMAKE_OPTIONS = foreign 206 207 SUBDIRS = driver src libcfa # order important, src before libcfa because cfa-cpp used to build prelude 207 208 -
config.h.in
r4d51835 r42336618 46 46 #undef HAVE_LIMITS_H 47 47 48 /* Define to 1 if your system has a GNU libc compatible `malloc' function, and49 to 0 otherwise. */50 #undef HAVE_MALLOC51 52 48 /* Define to 1 if you have the <malloc.h> header file. */ 53 49 #undef HAVE_MALLOC_H … … 61 57 /* Define to 1 if you have the `putenv' function. */ 62 58 #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_REALLOC67 59 68 60 /* Define to 1 if stdbool.h conforms to C99. */ … … 165 157 #undef int8_t 166 158 167 /* Define to rpl_malloc if the replacement function should be used. */168 #undef malloc169 170 /* Define to rpl_realloc if the replacement function should be used. */171 #undef realloc172 173 159 /* Define to the equivalent of the C99 'restrict' keyword, or to 174 160 nothing if this is not supported. Do not define if restrict is -
configure
r4d51835 r42336618 5320 5320 5321 5321 # Checks for library functions. 5322 for ac_header in stdlib.h5323 do :5324 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"5325 if test "x$ac_cv_header_stdlib_h" = xyes; then :5326 cat >>confdefs.h <<_ACEOF5327 #define HAVE_STDLIB_H 15328 _ACEOF5329 5330 fi5331 5332 done5333 5334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&55335 $as_echo_n "checking for GNU libc compatible malloc... " >&6; }5336 if ${ac_cv_func_malloc_0_nonnull+:} false; then :5337 $as_echo_n "(cached) " >&65338 else5339 if test "$cross_compiling" = yes; then :5340 ac_cv_func_malloc_0_nonnull=no5341 else5342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext5343 /* end confdefs.h. */5344 #if defined STDC_HEADERS || defined HAVE_STDLIB_H5345 # include <stdlib.h>5346 #else5347 char *malloc ();5348 #endif5349 5350 int5351 main ()5352 {5353 return ! malloc (0);5354 ;5355 return 0;5356 }5357 _ACEOF5358 if ac_fn_c_try_run "$LINENO"; then :5359 ac_cv_func_malloc_0_nonnull=yes5360 else5361 ac_cv_func_malloc_0_nonnull=no5362 fi5363 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \5364 conftest.$ac_objext conftest.beam conftest.$ac_ext5365 fi5366 5367 fi5368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&55369 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }5370 if test $ac_cv_func_malloc_0_nonnull = yes; then :5371 5372 $as_echo "#define HAVE_MALLOC 1" >>confdefs.h5373 5374 else5375 $as_echo "#define HAVE_MALLOC 0" >>confdefs.h5376 5377 case " $LIBOBJS " in5378 *" malloc.$ac_objext "* ) ;;5379 *) LIBOBJS="$LIBOBJS malloc.$ac_objext"5380 ;;5381 esac5382 5383 5384 $as_echo "#define malloc rpl_malloc" >>confdefs.h5385 5386 fi5387 5388 5389 for ac_header in stdlib.h5390 do :5391 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"5392 if test "x$ac_cv_header_stdlib_h" = xyes; then :5393 cat >>confdefs.h <<_ACEOF5394 #define HAVE_STDLIB_H 15395 _ACEOF5396 5397 fi5398 5399 done5400 5401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&55402 $as_echo_n "checking for GNU libc compatible realloc... " >&6; }5403 if ${ac_cv_func_realloc_0_nonnull+:} false; then :5404 $as_echo_n "(cached) " >&65405 else5406 if test "$cross_compiling" = yes; then :5407 ac_cv_func_realloc_0_nonnull=no5408 else5409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext5410 /* end confdefs.h. */5411 #if defined STDC_HEADERS || defined HAVE_STDLIB_H5412 # include <stdlib.h>5413 #else5414 char *realloc ();5415 #endif5416 5417 int5418 main ()5419 {5420 return ! realloc (0, 0);5421 ;5422 return 0;5423 }5424 _ACEOF5425 if ac_fn_c_try_run "$LINENO"; then :5426 ac_cv_func_realloc_0_nonnull=yes5427 else5428 ac_cv_func_realloc_0_nonnull=no5429 fi5430 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \5431 conftest.$ac_objext conftest.beam conftest.$ac_ext5432 fi5433 5434 fi5435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_realloc_0_nonnull" >&55436 $as_echo "$ac_cv_func_realloc_0_nonnull" >&6; }5437 if test $ac_cv_func_realloc_0_nonnull = yes; then :5438 5439 $as_echo "#define HAVE_REALLOC 1" >>confdefs.h5440 5441 else5442 $as_echo "#define HAVE_REALLOC 0" >>confdefs.h5443 5444 case " $LIBOBJS " in5445 *" realloc.$ac_objext "* ) ;;5446 *) LIBOBJS="$LIBOBJS realloc.$ac_objext"5447 ;;5448 esac5449 5450 5451 $as_echo "#define realloc rpl_realloc" >>confdefs.h5452 5453 fi5454 5455 5456 5322 for ac_func in memset putenv strchr strtol 5457 5323 do : -
configure.ac
r4d51835 r42336618 3 3 4 4 AC_PREREQ([2.68]) 5 AC_INIT( cfa-cc, 1.0.0, cforall@plg.uwaterloo.ca)5 AC_INIT([cfa-cc],[1.0.0],[cforall@plg.uwaterloo.ca]) 6 6 #AM_INIT_AUTOMAKE([foreign]) # do not follow GNU standard 7 7 AM_INIT_AUTOMAKE … … 94 94 95 95 # Checks for library functions. 96 AC_FUNC_MALLOC97 AC_FUNC_REALLOC98 96 AC_CHECK_FUNCS([memset putenv strchr strtol]) 99 97
Note: See TracChangeset
for help on using the changeset viewer.