Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
2023-05-31 OSS Consortium <[email protected]>

* opensource COBOL 4J v1.0.11 released.

2023-04-28 OSS Consortium <[email protected]>

* opensource COBOL 4J v1.0.10 released.
Expand Down
12 changes: 12 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,18 @@ NEWS - user visible changes -*- outline -*-

-----------------------------------------------------------------------

* opensource COBOL 4J 1.0.11

** New Features
(1) Add -j and -java-source-dir options to control the file paths where Java files are generated
(2) Add -o and -class-file-dir options to control the file paths where class files are generated

** Bug fixes
(1) Fix a bug related to RELATIVE files
(2) Fix a minor bug

-----------------------------------------------------------------------

* opensource COBOL 4J 1.0.10

** Bug fixes
Expand Down
20 changes: 3 additions & 17 deletions cobj/cobj.c
Original file line number Diff line number Diff line change
Expand Up @@ -765,10 +765,8 @@ static void cobc_print_usage(void) {
puts(_(" -free_1col_aster Use free(1col_aster) source "
"format"));
puts(_(" -g Enable Java compiler debug"));
puts(_(" -o <dir> Place class files into <dir>"));
puts(_(" -class-file-dir=<dir> Place class files into <dir>"));
puts(_(" -j <dir> Place java files into <dir>"));
puts(_(" -java-source-dir=<dir> Place java files into <dir>"));
puts(_(" -o <dir>, -class-file-dir=<dir> Place class files into <dir>"));
puts(_(" -j <dir>, -java-source-dir=<dir> Place Java files into <dir>"));
puts(_(" -E Preprocess only; do not compile "
"or link"));
puts(_(" -C Translation only; convert COBOL "
Expand Down Expand Up @@ -834,18 +832,6 @@ static int process_command_line(const int argc, char *argv[]) {
}
}

/*while(c = getopt(argc, argv, short_options)) {
switch(c) {
case 'o':
output_name = strdup(optarg);
break;

case 'j':
java_source_dir = strdup(optarg);
break;
}
}*/

while ((c = getopt_long_only(argc, argv, short_options, long_options,
&idx)) >= 0) {
switch (c) {
Expand Down Expand Up @@ -942,7 +928,7 @@ static int process_command_line(const int argc, char *argv[]) {

case 'j':
/* -j : the directory where java files are stored */
/* -java-file-dir : the directory where java files are stored */
/* -java-source-dir : the directory where java files are stored */
java_source_dir = strdup(optarg);
break;

Expand Down
26 changes: 13 additions & 13 deletions configure
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.71 for opensource COBOL 4J 1.0.10.
# Generated by GNU Autoconf 2.71 for opensource COBOL 4J 1.0.11.
#
# Report bugs to <[email protected]>.
#
Expand Down Expand Up @@ -620,9 +620,9 @@ MAKEFLAGS=

# Identity of this package.
PACKAGE_NAME='opensource COBOL 4J'
PACKAGE_TARNAME='opensource-cobol-4j-1.0.10'
PACKAGE_VERSION='1.0.10'
PACKAGE_STRING='opensource COBOL 4J 1.0.10'
PACKAGE_TARNAME='opensource-cobol-4j-1.0.11'
PACKAGE_VERSION='1.0.11'
PACKAGE_STRING='opensource COBOL 4J 1.0.11'
PACKAGE_BUGREPORT='[email protected]'
PACKAGE_URL=''

Expand Down Expand Up @@ -1414,7 +1414,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
\`configure' configures opensource COBOL 4J 1.0.10 to adapt to many kinds of systems.
\`configure' configures opensource COBOL 4J 1.0.11 to adapt to many kinds of systems.

Usage: $0 [OPTION]... [VAR=VALUE]...

Expand Down Expand Up @@ -1464,7 +1464,7 @@ Fine tuning of the installation directories:
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
--mandir=DIR man documentation [DATAROOTDIR/man]
--docdir=DIR documentation root
[DATAROOTDIR/doc/opensource-cobol-4j-1.0.10]
[DATAROOTDIR/doc/opensource-cobol-4j-1.0.11]
--htmldir=DIR html documentation [DOCDIR]
--dvidir=DIR dvi documentation [DOCDIR]
--pdfdir=DIR pdf documentation [DOCDIR]
Expand All @@ -1486,7 +1486,7 @@ fi

if test -n "$ac_init_help"; then
case $ac_init_help in
short | recursive ) echo "Configuration of opensource COBOL 4J 1.0.10:";;
short | recursive ) echo "Configuration of opensource COBOL 4J 1.0.11:";;
esac
cat <<\_ACEOF

Expand Down Expand Up @@ -1617,7 +1617,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
opensource COBOL 4J configure 1.0.10
opensource COBOL 4J configure 1.0.11
generated by GNU Autoconf 2.71

Copyright (C) 2021 Free Software Foundation, Inc.
Expand Down Expand Up @@ -2105,7 +2105,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by opensource COBOL 4J $as_me 1.0.10, which was
It was created by opensource COBOL 4J $as_me 1.0.11, which was
generated by GNU Autoconf 2.71. Invocation command line was

$ $0$ac_configure_args_raw
Expand Down Expand Up @@ -3403,8 +3403,8 @@ fi


# Define the identity of the package.
PACKAGE='opensource-cobol-4j-1.0.10'
VERSION='1.0.10'
PACKAGE='opensource-cobol-4j-1.0.11'
VERSION='1.0.11'


printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
Expand Down Expand Up @@ -25367,7 +25367,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
This file was extended by opensource COBOL 4J $as_me 1.0.10, which was
This file was extended by opensource COBOL 4J $as_me 1.0.11, which was
generated by GNU Autoconf 2.71. Invocation command line was

CONFIG_FILES = $CONFIG_FILES
Expand Down Expand Up @@ -25435,7 +25435,7 @@ ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config='$ac_cs_config_escaped'
ac_cs_version="\\
opensource COBOL 4J config.status 1.0.10
opensource COBOL 4J config.status 1.0.11
configured by $0, generated by GNU Autoconf 2.71,
with options \\"\$ac_cs_config\\"

Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

AC_PREREQ(2.59)

AC_INIT([opensource COBOL 4J],[1.0.10],[[email protected]],[opensource-cobol-4j-1.0.10])
AC_INIT([opensource COBOL 4J],[1.0.11],[[email protected]],[opensource-cobol-4j-1.0.11])
AC_CONFIG_SRCDIR([libcob.h])
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_TESTDIR([tests])
Expand Down
Loading