1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-11 22:31:12 +02:00

* configure.in: Add option and checks for dynamic linking.

This commit is contained in:
Marius Vollmer 1996-12-08 17:06:38 +00:00
parent 496f55cd25
commit abb2a7d007
2 changed files with 293 additions and 117 deletions

399
libguile/configure vendored

File diff suppressed because it is too large Load diff

View file

@ -16,6 +16,12 @@ if test "$enableval" != n && test "$enableval" != no; then
LIBOBJS="backtrace.o stacks.o debug.o srcprop.o $LIBOBJS"
fi
AC_ARG_ENABLE(dynamic-linking,
[ --enable-dynamic-linking Include support for dynamic linking])
if test "$enableval" != n && test "$enableval" != no && test "$enableval" != ""; then
AC_DEFINE(DYNAMIC_LINKING)
fi
#--------------------------------------------------------------------
AC_PROG_CC
@ -50,6 +56,11 @@ AC_STRUCT_ST_BLKSIZE
AC_STRUCT_ST_BLOCKS
GUILE_STRUCT_UTIMBUF
# Checks for dynamic linking
AC_CHECK_LIB(dl,dlopen)
AC_CHECK_LIB(dld,dld_link)
AC_CHECK_FUNCS(shl_load)
#--------------------------------------------------------------------
#
# Which way does the stack grow?