Skip to content

Commit

Permalink
Adding the dependency on BoehmGC. Guess what that means.
Browse files Browse the repository at this point in the history
  • Loading branch information
Pete Elmore committed Oct 31, 2009
1 parent 68bd110 commit dac1a0a
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ AC_CONFIG_HEADERS([config.h:config.h.in])
AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_SRCDIR([pez.c])

# AM_INIT_AUTOMAKE(pez, 1.4.3)
# AM_INIT_AUTOMAKE(pez, 1.5.0)
AM_INIT_AUTOMAKE

AC_PROG_LIBTOOL
Expand All @@ -23,15 +23,19 @@ AC_CHECK_PROG([RUBY], [ruby], 1, 0)
AC_CHECK_PROG([RLWRAP], [rlwrap], rlwrap,)

# Checks for libraries.
# FIXME: Replace `main' with a function in `-ldl':
AC_CHECK_LIB([dl], [dlopen])
# FIXME: Replace `main' with a function in `-lm':
AC_CHECK_LIB([m], [log])
AC_CHECK_LIB([m], [log], [],
[echo "Missing the standard C math library, -lm" >&2; exit 1])
AC_CHECK_LIB([dl], [dlopen], [],
[echo "Missing the dynamic library loading library, -ldl" >&2;
exit 1])
AC_CHECK_LIB([gc], [GC_malloc], [],
[echo "Missing the Boehm GC library, -lgc" >&2; exit 1])

# Checks for header files.
AC_HEADER_STDC
AC_HEADER_SYS_WAIT
AC_CHECK_HEADERS([memory.h stdlib.h string.h sys/time.h unistd.h limits.h])
AC_CHECK_HEADERS(
[memory.h stdlib.h string.h sys/time.h unistd.h limits.h gc/gc.h])

# Checks for typedefs, structures, and compiler characteristics.
AC_HEADER_TIME
Expand Down

0 comments on commit dac1a0a

Please sign in to comment.