* Fixed a typo in the configuration summary.

git-svn-id: svn://svn.zoy.org/elk/trunk@118 55e467fa-43c5-0310-a8a2-de718669efc6
This commit is contained in:
sam 2003-09-07 11:18:38 +00:00
parent 9f4dc9b28f
commit 27e5b94103
1 changed files with 14 additions and 45 deletions

View File

@ -82,9 +82,6 @@ AC_EGREP_HEADER(FIONREAD, termios.h, [
]) ])
]) ])
# What is the name of the a.out include file?
AC_DEFINE(AOUT_H, <a.out.h>, [FIXME HARD])
# If getdtablesize() is available to determine the maximum number of open # If getdtablesize() is available to determine the maximum number of open
# files per process, set getdtablesize=yes. # files per process, set getdtablesize=yes.
# Alternatively, if POSIX-style sysconf() can be called with _SC_OPEN_MAX, # Alternatively, if POSIX-style sysconf() can be called with _SC_OPEN_MAX,
@ -149,6 +146,7 @@ if false; then
fi fi
AC_CHECK_LIB(elf, elf_begin, ac_cv_my_have_elf=yes, ac_cv_my_have_elf=no) AC_CHECK_LIB(elf, elf_begin, ac_cv_my_have_elf=yes, ac_cv_my_have_elf=no)
AM_CONDITIONAL(HAVE_LIBELF, test "${ac_cv_my_have_elf}" = "yes")
if false; then if false; then
AC_DEFINE(MACH_O, 1, [FIXME HARD]) AC_DEFINE(MACH_O, 1, [FIXME HARD])
@ -166,49 +164,20 @@ if test "${ac_cv_my_have_elf}" = "yes"; then
AC_DEFINE(HAVE_LIBELF, 1, Define if you have libelf.) AC_DEFINE(HAVE_LIBELF, 1, Define if you have libelf.)
ELK_LIBS="${ELK_LIBS} -lelf" ELK_LIBS="${ELK_LIBS} -lelf"
ac_cv_my_can_dump=yes ac_cv_my_can_dump=yes
ac_cv_my_can_load_lib=yes
else else
ac_cv_my_can_dump=no ac_cv_my_can_dump=no
ac_cv_my_can_load_lib=no
dnl AC_MSG_ERROR([could not handle the native object format, if you are running Linux please install the libelf development headers]) dnl AC_MSG_ERROR([could not handle the native object format, if you are running Linux please install the libelf development headers])
fi fi
# Which mechanism should be used to dynamically load object files? # Which mechanism should be used to dynamically load object files?
# Possible values currently are: ac_cv_my_can_load_lib=no
# AC_CHECK_HEADERS(dlfcn.h, ac_cv_my_can_load_lib=yes)
# ld BSD-style incremental loading based on ld -A AC_CHECK_HEADERS(a.out.h, ac_cv_my_can_load_lib=yes)
# rld NeXT-style rld_load()
# shl HP-UX shl_load()
# dl SysVR4/SunOS5 dlopen()
#
# Leave load_obj empty if dynamic loading is not supported.
if test "${ac_cv_my_can_load_lib}" = "yes"; then if test "${ac_cv_my_can_load_lib}" = "yes"; then
AC_DEFINE(CAN_LOAD_LIB, 1, [FIXME HARD]) AC_DEFINE(CAN_LOAD_LIB, 1, [FIXME HARD])
fi fi
if false; then
AC_DEFINE(USE_LD, 1, [FIXME HARD])
fi
if false; then
AC_DEFINE(USE_RLD, 1, [FIXME HARD])
fi
if false; then
AC_DEFINE(USE_SHL, 1, [FIXME HARD])
fi
AC_DEFINE(USE_DLOPEN, 1, [FIXME HARD])
# Linker options to produce a shared object from a .o file.
# Only used if load_obj=dl.
AC_DEFINE(LDFLAGS_SHARED, "-shared", [FIXME HARD])
# The libraries against which dynamically loaded files are resolved
# at the time they are loaded.
AC_DEFINE(LOAD_LIBRARIES, "", [FIXME HARD])
# Additional flags to be passed to the linker for an incremental
# linker run (ld -A). Ignored unless load_obj=ld.
AC_DEFINE(INC_LDFLAGS, "-x -static", [FIXME HARD])
# Systems with "aout_format=ecoff" may require a call to the cacheflush # Systems with "aout_format=ecoff" may require a call to the cacheflush
# system call after an object file has been loaded. Which include file # system call after an object file has been loaded. Which include file
# has to be included in this case? # has to be included in this case?
@ -506,7 +475,7 @@ cat << EOF
Elk configuration summary Elk configuration summary
------------------------- -------------------------
build C++ plugins: ${ac_cv_my_have_cxx} build C++ plugins: ${ac_cv_my_have_cxx}
libgdbm support: ${ac_cv_my_have_xaw} libgdbm support: ${ac_cv_my_have_gdbm}
X11 support: ${ac_cv_my_have_x11} X11 support: ${ac_cv_my_have_x11}
Xaw support: ${ac_cv_my_have_xaw} Xaw support: ${ac_cv_my_have_xaw}
Motif support: ${ac_cv_my_have_motif} Motif support: ${ac_cv_my_have_motif}