changeset 702:45764610984a

[project @ 1994-09-15 02:32:47 by jwe]
author jwe
date Thu, 15 Sep 1994 02:32:47 +0000
parents 0a81458ef677
children 21cc5b9b9ed6
files Makeconf.in acconfig.h configure.in
diffstat 3 files changed, 30 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/Makeconf.in	Thu Sep 15 02:23:24 1994 +0000
+++ b/Makeconf.in	Thu Sep 15 02:32:47 1994 +0000
@@ -23,6 +23,10 @@
 
 DEFAULT_PAGER = @DEFAULT_PAGER@
 
+WITH_DLD = @use_dld@
+
+OCTAVE_LITE = @lite_kernel@
+
 # Fortran to C translator and associated flags.
 
 F2C = @F2C@
--- a/acconfig.h	Thu Sep 15 02:23:24 1994 +0000
+++ b/acconfig.h	Thu Sep 15 02:32:47 1994 +0000
@@ -54,9 +54,9 @@
 /* Define if you don't have NPSOL. */
 #undef NPSOL_MISSING
 
-/* Define to make Octave look for info files and function files in the
-   directory tree as the sources. */
-#undef RUN_IN_PLACE
+/* Define to compile smaller kernel.  Only works if some form of
+   dynamic linking is also supported and used. */
+#undef OCTAVE_LITE
 
 /* Define if this is Octave. */
 #undef OCTAVE_SOURCE
@@ -64,6 +64,13 @@
 /* Define if you don't have QPSOL. */
 #undef QPSOL_MISSING
 
+/* Define to make Octave look for info files and function files in the
+   directory tree as the sources. */
+#undef RUN_IN_PLACE
+
+/* To quiet autoheader. */
+#undef SMART_PUTENV
+
 /* Define if using -fexternal-templates with g++. */
 #undef USE_EXTERNAL_TEMPLATES
 
--- a/configure.in	Thu Sep 15 02:23:24 1994 +0000
+++ b/configure.in	Thu Sep 15 02:32:47 1994 +0000
@@ -21,7 +21,7 @@
 dnl along with Octave; see the file COPYING.  If not, write to the Free
 dnl Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
 dnl
-AC_REVISION($Revision: 1.44 $)dnl
+AC_REVISION($Revision: 1.45 $)dnl
 AC_PREREQ(1.8)dnl
 AC_INIT(src/octave.cc)
 AC_CONFIG_HEADER(config.h kpathsea/c-auto.h)
@@ -72,6 +72,16 @@
 dnl Allow the user to experiment with dynamic linking using GNU dld.
 dnl
 AC_ENABLE(dld, use_dld=true, use_dld=false)dnl
+AC_SUBST(use_dld)dnl
+dnl
+dnl Allow compilation of smaller kernel.  This only works if some form
+dnl of dynamic linking is also supported and used.
+dnl
+AC_ENABLE(lite-kernel, lite_kernel=true, lite_kernel=false)dnl
+if $lite_kernel; then
+  AC_DEFINE(OCTAVE_LITE, 1)dnl
+fi
+AC_SUBST(lite_kernel)dnl
 dnl
 dnl some defaults
 dnl
@@ -169,7 +179,11 @@
   DYNAMIC_LD_OBJ='dynamic-ld.o'
   DLD_DIR=dld
   LIBDLD='../libdld.a'
-  LIBOCTDLD= # don't link them in if doing dynamic linking
+# don't link them in only if doing dynamic linking and small kernel
+# requested.
+  if $lite_kernel; then
+    LIBOCTDLD=
+  fi
   LD_STATIC_FLAG=-static
   AC_DEFINE(WITH_DLD, 1)dnl
 fi