Changeset 4497


Ignore:
Timestamp:
10/22/03 15:26:52 (18 years ago)
Author:
piso
Message:

ABL_JAVA_RUNTIME
ABL_JAVA_OPTIONS
ABL_CLASSPATH

Location:
trunk/j
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/j/configure

    r4486 r4497  
    11#! /bin/sh
    2 # From configure.ac Revision: 1.1 .
     2# From configure.ac Revision: 1.2 .
    33# Guess values for system-dependent variables and create Makefiles.
    44# Generated by GNU Autoconf 2.57.
     
    273273
    274274ac_unique_file="j.in"
    275 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA version PATHSEP JAVA JAVAC JAVACFLAGS JAR JAVA_RUNTIME CP CLASSPATH COMPILER_CLASSPATH JAVA_OPTIONS JPTY LIBOBJS LTLIBOBJS'
     275ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA version PATHSEP JAVA JAVAC JAVACFLAGS JAR JAVA_RUNTIME ABL_JAVA_RUNTIME ABL_JAVA_OPTIONS CP CLASSPATH ABL_CLASSPATH COMPILER_CLASSPATH JAVA_OPTIONS JPTY LIBOBJS LTLIBOBJS'
    276276ac_subst_files=''
    277277
     
    14931493
    14941494if test -f $JDK/jre/lib/rt.jar ; then
     1495    # SUN
    14951496    JAVA_RUNTIME=$JDK/jre/lib/rt.jar
     1497    ABL_JAVA_RUNTIME=$JAVA_RUNTIME
     1498    ABL_JAVA_OPTIONS=""
    14961499elif test -f $JDK/jre/lib/core.jar ; then
     1500    # IBM
    14971501    JAVA_RUNTIME=""
    14981502    for i in $JDK/jre/lib/*.jar ; do JAVA_RUNTIME=$JAVA_RUNTIME:$i ; done
     1503    ABL_JAVA_RUNTIME=$JAVA_RUNTIME
     1504    ABL_JAVA_OPTIONS="-Xss512K"
    14991505elif test -d $JDK/Classes ; then
     1506    # Mac OS X
    15001507    JAVA_RUNTIME=""
    15011508    for i in $JDK/Classes/*.jar ; do JAVA_RUNTIME=$JAVA_RUNTIME:$i ; done
     1509    ABL_JAVA_RUNTIME=$JAVA_RUNTIME
     1510    ABL_JAVA_OPTIONS=""
    15021511else
    15031512    { { echo "$as_me:$LINENO: error: unable to find Java runtime" >&5
     
    15111520
    15121521
     1522
     1523
    15131524test "x$prefix" = xNONE && prefix=/usr/local
    15141525
     
    15221533CP="-cp"
    15231534CLASSPATH="$JPATH:$JDK/lib/tools.jar"
     1535ABL_CLASSPATH=$JPATH
     1536
    15241537
    15251538
     
    22542267s,@JAR@,$JAR,;t t
    22552268s,@JAVA_RUNTIME@,$JAVA_RUNTIME,;t t
     2269s,@ABL_JAVA_RUNTIME@,$ABL_JAVA_RUNTIME,;t t
     2270s,@ABL_JAVA_OPTIONS@,$ABL_JAVA_OPTIONS,;t t
    22562271s,@CP@,$CP,;t t
    22572272s,@CLASSPATH@,$CLASSPATH,;t t
     2273s,@ABL_CLASSPATH@,$ABL_CLASSPATH,;t t
    22582274s,@COMPILER_CLASSPATH@,$COMPILER_CLASSPATH,;t t
    22592275s,@JAVA_OPTIONS@,$JAVA_OPTIONS,;t t
  • trunk/j/configure.ac

    r4485 r4497  
    22dnl
    33dnl  Copyright (C) 1998-2003 Peter Graves
    4 dnl  $Id: configure.ac,v 1.1 2003-10-21 18:28:22 piso Exp $
     4dnl  $Id: configure.ac,v 1.2 2003-10-22 15:26:16 piso Exp $
    55dnl
    66dnl  This program is free software; you can redistribute it and/or
     
    1818dnl  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
    1919
    20 AC_REVISION($Revision: 1.1 $)
     20AC_REVISION($Revision: 1.2 $)
    2121
    2222BOOTFILE=./configure-options
     
    131131
    132132
    133 dnl  Java runtime classes
     133dnl  Java runtime classes and options
    134134if test -f $JDK/jre/lib/rt.jar ; then
     135    # SUN
    135136    JAVA_RUNTIME=$JDK/jre/lib/rt.jar
     137    ABL_JAVA_RUNTIME=$JAVA_RUNTIME
     138    ABL_JAVA_OPTIONS=""
    136139elif test -f $JDK/jre/lib/core.jar ; then
     140    # IBM
    137141    JAVA_RUNTIME=""
    138142    for i in $JDK/jre/lib/*.jar ; do JAVA_RUNTIME=$JAVA_RUNTIME:$i ; done
     143    ABL_JAVA_RUNTIME=$JAVA_RUNTIME
     144    ABL_JAVA_OPTIONS="-Xss512K"
    139145elif test -d $JDK/Classes ; then
     146    # Mac OS X
    140147    JAVA_RUNTIME=""
    141148    for i in $JDK/Classes/*.jar ; do JAVA_RUNTIME=$JAVA_RUNTIME:$i ; done
     149    ABL_JAVA_RUNTIME=$JAVA_RUNTIME
     150    ABL_JAVA_OPTIONS=""
    142151else
    143152    AC_MSG_ERROR(unable to find Java runtime)
     
    147156fi
    148157AC_SUBST(JAVA_RUNTIME)
     158AC_SUBST(ABL_JAVA_RUNTIME)
     159AC_SUBST(ABL_JAVA_OPTIONS)
    149160
    150161
     
    164175CP="-cp"
    165176CLASSPATH="$JPATH:$JDK/lib/tools.jar"
     177ABL_CLASSPATH=$JPATH
    166178AC_SUBST(CP)
    167179AC_SUBST(CLASSPATH)
     180AC_SUBST(ABL_CLASSPATH)
    168181
    169182COMPILER_CLASSPATH="$srcdir/src:$JAVA_RUNTIME"
Note: See TracChangeset for help on using the changeset viewer.