]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
PR modula2/109879 WholeIO.ReadCard and ReadInt should consume leading space
authorGaius Mulley <gaiusmod2@gmail.com>
Tue, 16 May 2023 23:18:56 +0000 (00:18 +0100)
committerGaius Mulley <gaiusmod2@gmail.com>
Tue, 16 May 2023 23:18:56 +0000 (00:18 +0100)
The Read{TYPE} procedures in LongIO, LongWholeIO, RealIO, ShortWholeIO and
WholeIO all require skip space functionality.  A new module TextUtil
is supplied with this functionality and the previous modules have been
changed to call SkipSpaces.

gcc/m2/ChangeLog:

PR modula2/109879
* gm2-libs-iso/LongIO.mod (ReadReal): Call SkipSpaces.
* gm2-libs-iso/LongWholeIO.mod (ReadInt): Call SkipSpaces.
(ReadCard): Call SkipSpaces.
* gm2-libs-iso/RealIO.mod (ReadReal): Call SkipSpaces.
* gm2-libs-iso/ShortWholeIO.mod: (ReadInt): Call SkipSpaces.
(ReadCard): Call SkipSpaces.
* gm2-libs-iso/TextIO.mod: Import SkipSpaces.
* gm2-libs-iso/WholeIO.mod (ReadInt): Call SkipSpaces.
(ReadCard): Call SkipSpaces.
* gm2-libs-iso/TextUtil.def: New file.
* gm2-libs-iso/TextUtil.mod: New file.

libgm2/ChangeLog:

PR modula2/109879
* Makefile.in: Regenerate.
* aclocal.m4: Regenerate.
* libm2cor/Makefile.in: Regenerate.
* libm2iso/Makefile.am (M2DEFS): Add TextUtil.def.
(M2MODS): Add TextUtil.mod.
* libm2iso/Makefile.in: Regenerate.
* libm2log/Makefile.in: Regenerate.
* libm2min/Makefile.in: Regenerate.
* libm2pim/Makefile.in: Regenerate.

gcc/testsuite/ChangeLog:

PR modula2/109879
* gm2/isolib/run/pass/testreadint.mod: New test.

Signed-off-by: Gaius Mulley <gaiusmod2@gmail.com>
17 files changed:
gcc/m2/gm2-libs-iso/LongIO.mod
gcc/m2/gm2-libs-iso/LongWholeIO.mod
gcc/m2/gm2-libs-iso/RealIO.mod
gcc/m2/gm2-libs-iso/ShortWholeIO.mod
gcc/m2/gm2-libs-iso/TextIO.mod
gcc/m2/gm2-libs-iso/TextUtil.def [new file with mode: 0644]
gcc/m2/gm2-libs-iso/TextUtil.mod [new file with mode: 0644]
gcc/m2/gm2-libs-iso/WholeIO.mod
gcc/testsuite/gm2/isolib/run/pass/testreadint.mod [new file with mode: 0644]
libgm2/Makefile.in
libgm2/aclocal.m4
libgm2/libm2cor/Makefile.in
libgm2/libm2iso/Makefile.am
libgm2/libm2iso/Makefile.in
libgm2/libm2log/Makefile.in
libgm2/libm2min/Makefile.in
libgm2/libm2pim/Makefile.in

index dd62e32cb4ee7fee4c259ebd5dd7275cb754022a..40a2a601b63d17fc6d6040ee3b41d1ea5b3cc013 100644 (file)
@@ -30,6 +30,7 @@ FROM DynamicStrings IMPORT String, char, KillString, Length, InitString, ConCatC
 FROM LongConv IMPORT ScanReal ;
 FROM StringChan IMPORT writeString, writeFieldWidth ;
 FROM ldtoa IMPORT strtold ;
+FROM TextUtil IMPORT SkipSpaces ;
 
 
   (* The text form of a signed fixed-point real number is
@@ -55,6 +56,7 @@ VAR
    s        : String ;
    error    : BOOLEAN ;
 BEGIN
+   SkipSpaces (cid) ;
    ReadChar(cid, ch) ;
    nextState := ScanReal ;
    REPEAT
index 825d290f606f3c222a429766678eab10393c00f2..252026cd3fe8cdca488f710a1eb7c8a72ddfec58 100644 (file)
@@ -33,6 +33,7 @@ FROM StringConvert IMPORT LongIntegerToString, LongCardinalToString ;
 FROM WholeConv IMPORT ScanInt, ScanCard ;
 FROM StringChan IMPORT writeString ;
 FROM IOConsts IMPORT ReadResults ;
+FROM TextUtil IMPORT SkipSpaces ;
 
 
 (* Input and output of whole numbers in decimal text form
@@ -63,6 +64,7 @@ VAR
    ch       : CHAR ;
    negative : BOOLEAN ;
 BEGIN
+   SkipSpaces (cid) ;
    ReadChar(cid, ch) ;
    negative := FALSE ;
    c := 0 ;
@@ -133,6 +135,7 @@ VAR
    ch       : CHAR ;
    c        : LONGCARD ;
 BEGIN
+   SkipSpaces (cid) ;
    ReadChar(cid, ch) ;
    c := 0 ;
    nextState := ScanCard ;
index cf94487550ded6f9db98f0134e89cab3401d557b..ec2cc5b5fe52effd23320b7101443add54f8a431 100644 (file)
@@ -30,6 +30,7 @@ FROM DynamicStrings IMPORT String, char, KillString, Length, InitString, ConCatC
 FROM RealConv IMPORT ScanReal ;
 FROM StringChan IMPORT writeString, writeFieldWidth ;
 FROM dtoa IMPORT strtod ;
+FROM TextUtil IMPORT SkipSpaces ;
 
 
   (* The text form of a signed fixed-point real number is
@@ -55,6 +56,7 @@ VAR
    s        : String ;
    error    : BOOLEAN ;
 BEGIN
+   SkipSpaces (cid) ;
    ReadChar(cid, ch) ;
    nextState := ScanReal ;
    REPEAT
index ca2cd90934f9982a8b9df91b85459e603d0e0de4..ac244fa3610eb8483efafecc01bae339ea5a2de2 100644 (file)
@@ -33,6 +33,7 @@ FROM StringConvert IMPORT IntegerToString, CardinalToString ;
 FROM WholeConv IMPORT ScanInt, ScanCard ;
 FROM StringChan IMPORT writeString ;
 FROM IOConsts IMPORT ReadResults ;
+FROM TextUtil IMPORT SkipSpaces ;
 
 
 (* Input and output of whole numbers in decimal text form
@@ -63,6 +64,7 @@ VAR
    ch       : CHAR ;
    negative : BOOLEAN ;
 BEGIN
+   SkipSpaces (cid) ;
    ReadChar(cid, ch) ;
    negative := FALSE ;
    c := 0 ;
@@ -133,6 +135,7 @@ VAR
    ch       : CHAR ;
    c        : SHORTCARD ;
 BEGIN
+   SkipSpaces (cid) ;
    ReadChar(cid, ch) ;
    c := 0 ;
    nextState := ScanCard ;
index 75998300bed013496658d5c55321e0d805ccdbd3..a6ca17edecb6e09f9b57514e33cb7b937a4d9e6f 100644 (file)
@@ -31,28 +31,13 @@ IMPORT IOChan, IOConsts, CharClass, ASCII ;
 FROM SYSTEM IMPORT ADR ;
 FROM FIO IMPORT FlushOutErr ;
 FROM libc IMPORT printf ;
+FROM TextUtil IMPORT SkipSpaces, EofOrEoln, CharAvailable ;
 
 
 CONST
    DebugState = FALSE ;
 
 
-  (* The following procedures do not read past line marks *)
-
-PROCEDURE CharAvailable (cid: IOChan.ChanId) : BOOLEAN ;
-BEGIN
-   RETURN( (IOChan.ReadResult (cid) = IOConsts.notKnown) OR
-           (IOChan.ReadResult (cid) = IOConsts.allRight) )
-END CharAvailable ;
-
-
-PROCEDURE EofOrEoln (cid: IOChan.ChanId) : BOOLEAN ;
-BEGIN
-   RETURN( (IOChan.ReadResult (cid) = IOConsts.endOfLine) OR
-           (IOChan.ReadResult (cid) = IOConsts.endOfInput) )
-END EofOrEoln ;
-
-
 (*
    DumpState
 *)
@@ -176,27 +161,6 @@ BEGIN
 END ReadString ;
 
 
-(*
-   SkipSpaces - skips any spaces.
-*)
-
-PROCEDURE SkipSpaces (cid: IOChan.ChanId) ;
-VAR
-   ch : CHAR ;
-   res: IOConsts.ReadResults ;
-BEGIN
-   WHILE CharAvailable (cid) DO
-      IOChan.Look(cid, ch, res) ;
-      IF (res=IOConsts.allRight) AND CharClass.IsWhiteSpace (ch)
-      THEN
-         IOChan.Skip (cid)
-      ELSE
-         RETURN
-      END
-   END
-END SkipSpaces ;
-
-
 PROCEDURE ReadToken (cid: IOChan.ChanId; VAR s: ARRAY OF CHAR);
   (* Skips leading spaces, and then removes characters from
      the input stream cid before the next space or line mark,
diff --git a/gcc/m2/gm2-libs-iso/TextUtil.def b/gcc/m2/gm2-libs-iso/TextUtil.def
new file mode 100644 (file)
index 0000000..45272e9
--- /dev/null
@@ -0,0 +1,56 @@
+(* TextUtil.def provides simple text manipulation routines.
+
+Copyright (C) 2023 Free Software Foundation, Inc.
+Contributed by Gaius Mulley <gaius.mulley@southwales.ac.uk>.
+
+This file is part of GNU Modula-2.
+
+GNU Modula-2 is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 3, or (at your option)
+any later version.
+
+GNU Modula-2 is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+General Public License for more details.
+
+Under Section 7 of GPL version 3, you are granted additional
+permissions described in the GCC Runtime Library Exception, version
+3.1, as published by the Free Software Foundation.
+
+You should have received a copy of the GNU General Public License and
+a copy of the GCC Runtime Library Exception along with this program;
+see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
+<http://www.gnu.org/licenses/>.  *)
+
+DEFINITION MODULE TextUtil ;
+
+(*
+    Title      : TextUtil
+    Author     : Gaius Mulley
+    System     : GNU Modula-2
+    Date       : Tue May 16 18:22:44 2023
+    Revision   : $Version$
+    Description: provides text manmipulation routines.
+*)
+
+IMPORT IOChan ;
+
+
+(*
+   SkipSpaces - skips any spaces.
+*)
+
+PROCEDURE SkipSpaces (cid: IOChan.ChanId) ;
+
+
+(* The following procedures do not read past line marks.  *)
+
+PROCEDURE CharAvailable (cid: IOChan.ChanId) : BOOLEAN ;
+
+
+PROCEDURE EofOrEoln (cid: IOChan.ChanId) : BOOLEAN ;
+
+
+END TextUtil.
diff --git a/gcc/m2/gm2-libs-iso/TextUtil.mod b/gcc/m2/gm2-libs-iso/TextUtil.mod
new file mode 100644 (file)
index 0000000..6f6c02e
--- /dev/null
@@ -0,0 +1,42 @@
+IMPLEMENTATION MODULE TextUtil ;
+
+IMPORT IOChan, CharClass, IOConsts ;
+
+(*
+   SkipSpaces - skips any spaces.
+*)
+
+PROCEDURE SkipSpaces (cid: IOChan.ChanId) ;
+VAR
+   ch : CHAR ;
+   res: IOConsts.ReadResults ;
+BEGIN
+   WHILE CharAvailable (cid) DO
+      IOChan.Look (cid, ch, res) ;
+      IF (res = IOConsts.allRight) AND CharClass.IsWhiteSpace (ch)
+      THEN
+         IOChan.Skip (cid)
+      ELSE
+         RETURN
+      END
+   END
+END SkipSpaces ;
+
+
+(* The following procedures do not read past line marks.  *)
+
+PROCEDURE CharAvailable (cid: IOChan.ChanId) : BOOLEAN ;
+BEGIN
+   RETURN( (IOChan.ReadResult (cid) = IOConsts.notKnown) OR
+           (IOChan.ReadResult (cid) = IOConsts.allRight) )
+END CharAvailable ;
+
+
+PROCEDURE EofOrEoln (cid: IOChan.ChanId) : BOOLEAN ;
+BEGIN
+   RETURN( (IOChan.ReadResult (cid) = IOConsts.endOfLine) OR
+           (IOChan.ReadResult (cid) = IOConsts.endOfInput) )
+END EofOrEoln ;
+
+
+END TextUtil.
index 9fc879e20a3c963506c580a9008b634bbd0bf30c..0bfe1a8fc0a491345550a234b28dc3ae9184b589 100644 (file)
@@ -33,6 +33,7 @@ FROM StringConvert IMPORT IntegerToString, CardinalToString ;
 FROM WholeConv IMPORT ScanInt, ScanCard ;
 FROM StringChan IMPORT writeString ;
 FROM IOConsts IMPORT ReadResults ;
+FROM TextUtil IMPORT SkipSpaces ;
 
 
 (* Input and output of whole numbers in decimal text form
@@ -40,7 +41,7 @@ FROM IOConsts IMPORT ReadResults ;
      type IOConsts.ReadResults.
 *)
 
-IMPORT IOChan;
+IMPORT IOChan ;
 
 (* The text form of a signed whole number is
      ["+" | "-"], decimal digit, {decimal digit}
@@ -63,6 +64,7 @@ VAR
    ch       : CHAR ;
    negative : BOOLEAN ;
 BEGIN
+   SkipSpaces (cid) ;
    ReadChar(cid, ch) ;
    negative := FALSE ;
    c := 0 ;
@@ -133,6 +135,7 @@ VAR
    ch       : CHAR ;
    c        : CARDINAL ;
 BEGIN
+   SkipSpaces (cid) ;
    ReadChar(cid, ch) ;
    c := 0 ;
    nextState := ScanCard ;
diff --git a/gcc/testsuite/gm2/isolib/run/pass/testreadint.mod b/gcc/testsuite/gm2/isolib/run/pass/testreadint.mod
new file mode 100644 (file)
index 0000000..54073fd
--- /dev/null
@@ -0,0 +1,89 @@
+MODULE testreadint ;
+
+FROM ChanConsts IMPORT OpenResults, old, read, write ;
+FROM IOChan IMPORT ChanId ;
+FROM StdChans IMPORT StdOutChan ;
+IMPORT StreamFile ;
+FROM TextIO IMPORT SkipLine, WriteLn, WriteString ;
+FROM WholeIO IMPORT ReadCard, ReadInt, WriteCard, WriteInt ;
+FROM libc IMPORT printf, exit ;
+
+
+CONST
+   TestFileName = "testdata" ;
+
+
+PROCEDURE Assert (condition: BOOLEAN; name, result: ARRAY OF CHAR) ;
+BEGIN
+   IF NOT condition
+   THEN
+      code := 1 ;
+      printf ("assert failed, procedure: %s failed to read number: %s\n", name, result)
+   END
+END Assert ;
+
+
+PROCEDURE StressReadInt ;
+VAR
+   in,
+   out   : ChanId ;
+   result: OpenResults ;
+   int   : INTEGER ;
+   card  : CARDINAL ;
+BEGIN
+   (* Create a new file and use WriteCard to populate the file.  *)
+   printf ("creating test file: %s\n", TestFileName) ;
+
+   StreamFile.Open (out, TestFileName, write+old, result);
+   IF result = opened
+   THEN
+      WriteString (out, ' ') ;
+      WriteCard (out, 123, 3) ;
+      WriteLn (out) ;
+      WriteCard (out, 456, 3) ;
+      WriteLn (out) ;
+      StreamFile.Close (out)
+   ELSE
+      printf ("unable to create: %s\n", TestFileName) ;
+      exit (1)
+   END ;
+
+   (* Now attempt to read the data using ReadCard.  *)
+   printf ("reading test file using ReadCard: %s\n", TestFileName) ;
+   StreamFile.Open (in, TestFileName, read, result) ;
+   IF result = opened
+   THEN
+      ReadCard (in, card) ;
+      printf ("first cardinal: %d\n", card) ;
+      Assert (card = 123, "ReadCard", "123") ;
+      SkipLine (in) ;
+      ReadCard (in, card) ;
+      printf ("second cardinal: %d\n", card) ;
+      Assert (card = 456, "ReadCard", "456") ;
+      StreamFile.Close (in)
+   END ;
+
+   (* Now attempt to read the data using ReadInt.  *)
+   printf ("reading test file using ReadInt: %s\n", TestFileName) ;
+   StreamFile.Open (in, TestFileName, read, result) ;
+   IF result = opened
+   THEN
+      ReadInt (in, int) ;
+      printf ("first integer: %d\n", int) ;
+      Assert (int = 123, "ReadInt", "123") ;
+      SkipLine (in) ;
+      ReadInt (in, int) ;
+      printf ("second integer: %d\n", int) ;
+      Assert (int = 456, "ReadInt", "456") ;
+      StreamFile.Close (in)
+   END
+END StressReadInt ;
+
+
+VAR
+   code: INTEGER ;
+BEGIN
+   code := 0 ;
+   StressReadInt ;
+   exit (code)
+END testreadint.
index d9950065de19687f8d434261a150b79e71fa2a36..2b9592b349071209e69f44f09b5a4670761d6949 100644 (file)
@@ -90,15 +90,15 @@ host_triplet = @host@
 target_triplet = @target@
 subdir = .
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
-am__aclocal_m4_deps = $(top_srcdir)/../config/acx.m4 \
+am__aclocal_m4_deps = $(top_srcdir)/../libtool.m4 \
+       $(top_srcdir)/../ltoptions.m4 $(top_srcdir)/../ltsugar.m4 \
+       $(top_srcdir)/../ltversion.m4 $(top_srcdir)/../lt~obsolete.m4 \
+       $(top_srcdir)/../config/acx.m4 \
        $(top_srcdir)/../config/depstand.m4 \
        $(top_srcdir)/../config/lead-dot.m4 \
        $(top_srcdir)/../config/multi.m4 \
        $(top_srcdir)/../config/no-executables.m4 \
-       $(top_srcdir)/../config/override.m4 \
-       $(top_srcdir)/../libtool.m4 $(top_srcdir)/../ltoptions.m4 \
-       $(top_srcdir)/../ltsugar.m4 $(top_srcdir)/../ltversion.m4 \
-       $(top_srcdir)/../lt~obsolete.m4 $(top_srcdir)/configure.ac
+       $(top_srcdir)/../config/override.m4 $(top_srcdir)/configure.ac
 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
        $(ACLOCAL_M4)
 DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \
index 832065fbb9be36758a0b0265609450ebd0381d16..c352303012d2bc3ca3e9f3b09f80a5585472a366 100644 (file)
@@ -1187,14 +1187,14 @@ AC_SUBST([am__tar])
 AC_SUBST([am__untar])
 ]) # _AM_PROG_TAR
 
+m4_include([../libtool.m4])
+m4_include([../ltoptions.m4])
+m4_include([../ltsugar.m4])
+m4_include([../ltversion.m4])
+m4_include([../lt~obsolete.m4])
 m4_include([../config/acx.m4])
 m4_include([../config/depstand.m4])
 m4_include([../config/lead-dot.m4])
 m4_include([../config/multi.m4])
 m4_include([../config/no-executables.m4])
 m4_include([../config/override.m4])
-m4_include([../libtool.m4])
-m4_include([../ltoptions.m4])
-m4_include([../ltsugar.m4])
-m4_include([../ltversion.m4])
-m4_include([../lt~obsolete.m4])
index 9d643d5f8f666e4b2f3e0c508292d9063e247177..a6b05cf71f292aafb7a017c6ef0986dde814e832 100644 (file)
@@ -107,15 +107,15 @@ host_triplet = @host@
 target_triplet = @target@
 subdir = libm2cor
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
-am__aclocal_m4_deps = $(top_srcdir)/../config/acx.m4 \
+am__aclocal_m4_deps = $(top_srcdir)/../libtool.m4 \
+       $(top_srcdir)/../ltoptions.m4 $(top_srcdir)/../ltsugar.m4 \
+       $(top_srcdir)/../ltversion.m4 $(top_srcdir)/../lt~obsolete.m4 \
+       $(top_srcdir)/../config/acx.m4 \
        $(top_srcdir)/../config/depstand.m4 \
        $(top_srcdir)/../config/lead-dot.m4 \
        $(top_srcdir)/../config/multi.m4 \
        $(top_srcdir)/../config/no-executables.m4 \
-       $(top_srcdir)/../config/override.m4 \
-       $(top_srcdir)/../libtool.m4 $(top_srcdir)/../ltoptions.m4 \
-       $(top_srcdir)/../ltsugar.m4 $(top_srcdir)/../ltversion.m4 \
-       $(top_srcdir)/../lt~obsolete.m4 $(top_srcdir)/configure.ac
+       $(top_srcdir)/../config/override.m4 $(top_srcdir)/configure.ac
 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
        $(ACLOCAL_M4)
 DIST_COMMON = $(srcdir)/Makefile.am
index d48ef0692ab45d764b92b3fa33ffafa9c0874ba3..8c70f5c5ee0071a093f56dcc96dd203f4d730291 100644 (file)
@@ -134,6 +134,7 @@ M2DEFS = ChanConsts.def  CharClass.def \
          SWholeIO.def  SysClock.def \
          SYSTEM.def  TermFile.def \
          TERMINATION.def  TextIO.def \
+         TextUtil.def \
          WholeConv.def  WholeIO.def \
          WholeStr.def  wrapsock.def \
          wraptime.def
@@ -173,6 +174,7 @@ M2MODS = ChanConsts.mod  CharClass.mod \
          SWholeIO.mod  SysClock.mod \
          SYSTEM.mod  TermFile.mod \
          TERMINATION.mod  TextIO.mod \
+         TextUtil.mod \
          WholeConv.mod  WholeIO.mod \
          WholeStr.mod
 
index b8936e745fefaa381593446cac58cf6e71f13e9f..163b87a521ea83326bdd1230cd69f0e1675772b2 100644 (file)
@@ -107,15 +107,15 @@ host_triplet = @host@
 target_triplet = @target@
 subdir = libm2iso
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
-am__aclocal_m4_deps = $(top_srcdir)/../config/acx.m4 \
+am__aclocal_m4_deps = $(top_srcdir)/../libtool.m4 \
+       $(top_srcdir)/../ltoptions.m4 $(top_srcdir)/../ltsugar.m4 \
+       $(top_srcdir)/../ltversion.m4 $(top_srcdir)/../lt~obsolete.m4 \
+       $(top_srcdir)/../config/acx.m4 \
        $(top_srcdir)/../config/depstand.m4 \
        $(top_srcdir)/../config/lead-dot.m4 \
        $(top_srcdir)/../config/multi.m4 \
        $(top_srcdir)/../config/no-executables.m4 \
-       $(top_srcdir)/../config/override.m4 \
-       $(top_srcdir)/../libtool.m4 $(top_srcdir)/../ltoptions.m4 \
-       $(top_srcdir)/../ltsugar.m4 $(top_srcdir)/../ltversion.m4 \
-       $(top_srcdir)/../lt~obsolete.m4 $(top_srcdir)/configure.ac
+       $(top_srcdir)/../config/override.m4 $(top_srcdir)/configure.ac
 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
        $(ACLOCAL_M4)
 DIST_COMMON = $(srcdir)/Makefile.am
@@ -176,8 +176,8 @@ libm2iso_la_LIBADD =
 @BUILD_ISOLIB_TRUE@    Storage.lo StreamFile.lo StringChan.lo \
 @BUILD_ISOLIB_TRUE@    Strings.lo SWholeIO.lo SysClock.lo \
 @BUILD_ISOLIB_TRUE@    SYSTEM.lo TermFile.lo TERMINATION.lo \
-@BUILD_ISOLIB_TRUE@    TextIO.lo WholeConv.lo WholeIO.lo \
-@BUILD_ISOLIB_TRUE@    WholeStr.lo
+@BUILD_ISOLIB_TRUE@    TextIO.lo TextUtil.lo WholeConv.lo \
+@BUILD_ISOLIB_TRUE@    WholeIO.lo WholeStr.lo
 @BUILD_ISOLIB_TRUE@am_libm2iso_la_OBJECTS = $(am__objects_1) \
 @BUILD_ISOLIB_TRUE@    ErrnoCategory.lo wraptime.lo RTco.lo \
 @BUILD_ISOLIB_TRUE@    libm2iso_la-wrapsock.lo
@@ -512,6 +512,7 @@ FLAGS_TO_PASS = $(AM_MAKEFLAGS)
 @BUILD_ISOLIB_TRUE@         SWholeIO.def  SysClock.def \
 @BUILD_ISOLIB_TRUE@         SYSTEM.def  TermFile.def \
 @BUILD_ISOLIB_TRUE@         TERMINATION.def  TextIO.def \
+@BUILD_ISOLIB_TRUE@         TextUtil.def \
 @BUILD_ISOLIB_TRUE@         WholeConv.def  WholeIO.def \
 @BUILD_ISOLIB_TRUE@         WholeStr.def  wrapsock.def \
 @BUILD_ISOLIB_TRUE@         wraptime.def
@@ -551,6 +552,7 @@ FLAGS_TO_PASS = $(AM_MAKEFLAGS)
 @BUILD_ISOLIB_TRUE@         SWholeIO.mod  SysClock.mod \
 @BUILD_ISOLIB_TRUE@         SYSTEM.mod  TermFile.mod \
 @BUILD_ISOLIB_TRUE@         TERMINATION.mod  TextIO.mod \
+@BUILD_ISOLIB_TRUE@         TextUtil.mod \
 @BUILD_ISOLIB_TRUE@         WholeConv.mod  WholeIO.mod \
 @BUILD_ISOLIB_TRUE@         WholeStr.mod
 
index fa98b1d8ff1d48c439b6bb1c5b502f07b79f27f3..b5b0ad6ed8809d7040eaa7b0ffc075ee94309410 100644 (file)
@@ -107,15 +107,15 @@ host_triplet = @host@
 target_triplet = @target@
 subdir = libm2log
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
-am__aclocal_m4_deps = $(top_srcdir)/../config/acx.m4 \
+am__aclocal_m4_deps = $(top_srcdir)/../libtool.m4 \
+       $(top_srcdir)/../ltoptions.m4 $(top_srcdir)/../ltsugar.m4 \
+       $(top_srcdir)/../ltversion.m4 $(top_srcdir)/../lt~obsolete.m4 \
+       $(top_srcdir)/../config/acx.m4 \
        $(top_srcdir)/../config/depstand.m4 \
        $(top_srcdir)/../config/lead-dot.m4 \
        $(top_srcdir)/../config/multi.m4 \
        $(top_srcdir)/../config/no-executables.m4 \
-       $(top_srcdir)/../config/override.m4 \
-       $(top_srcdir)/../libtool.m4 $(top_srcdir)/../ltoptions.m4 \
-       $(top_srcdir)/../ltsugar.m4 $(top_srcdir)/../ltversion.m4 \
-       $(top_srcdir)/../lt~obsolete.m4 $(top_srcdir)/configure.ac
+       $(top_srcdir)/../config/override.m4 $(top_srcdir)/configure.ac
 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
        $(ACLOCAL_M4)
 DIST_COMMON = $(srcdir)/Makefile.am
index 1c0bebdc3044cfd7ff524e79c27ed572991f3c82..42cba0e37b9f32c89d95f8125937ee8b4e2af4c5 100644 (file)
@@ -107,15 +107,15 @@ host_triplet = @host@
 target_triplet = @target@
 subdir = libm2min
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
-am__aclocal_m4_deps = $(top_srcdir)/../config/acx.m4 \
+am__aclocal_m4_deps = $(top_srcdir)/../libtool.m4 \
+       $(top_srcdir)/../ltoptions.m4 $(top_srcdir)/../ltsugar.m4 \
+       $(top_srcdir)/../ltversion.m4 $(top_srcdir)/../lt~obsolete.m4 \
+       $(top_srcdir)/../config/acx.m4 \
        $(top_srcdir)/../config/depstand.m4 \
        $(top_srcdir)/../config/lead-dot.m4 \
        $(top_srcdir)/../config/multi.m4 \
        $(top_srcdir)/../config/no-executables.m4 \
-       $(top_srcdir)/../config/override.m4 \
-       $(top_srcdir)/../libtool.m4 $(top_srcdir)/../ltoptions.m4 \
-       $(top_srcdir)/../ltsugar.m4 $(top_srcdir)/../ltversion.m4 \
-       $(top_srcdir)/../lt~obsolete.m4 $(top_srcdir)/configure.ac
+       $(top_srcdir)/../config/override.m4 $(top_srcdir)/configure.ac
 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
        $(ACLOCAL_M4)
 DIST_COMMON = $(srcdir)/Makefile.am
index e5a97976d9321b7a2c9d7f14c2203dfb699338fd..40126da4c93562ed2442baa0b086c871440635ae 100644 (file)
@@ -107,15 +107,15 @@ host_triplet = @host@
 target_triplet = @target@
 subdir = libm2pim
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
-am__aclocal_m4_deps = $(top_srcdir)/../config/acx.m4 \
+am__aclocal_m4_deps = $(top_srcdir)/../libtool.m4 \
+       $(top_srcdir)/../ltoptions.m4 $(top_srcdir)/../ltsugar.m4 \
+       $(top_srcdir)/../ltversion.m4 $(top_srcdir)/../lt~obsolete.m4 \
+       $(top_srcdir)/../config/acx.m4 \
        $(top_srcdir)/../config/depstand.m4 \
        $(top_srcdir)/../config/lead-dot.m4 \
        $(top_srcdir)/../config/multi.m4 \
        $(top_srcdir)/../config/no-executables.m4 \
-       $(top_srcdir)/../config/override.m4 \
-       $(top_srcdir)/../libtool.m4 $(top_srcdir)/../ltoptions.m4 \
-       $(top_srcdir)/../ltsugar.m4 $(top_srcdir)/../ltversion.m4 \
-       $(top_srcdir)/../lt~obsolete.m4 $(top_srcdir)/configure.ac
+       $(top_srcdir)/../config/override.m4 $(top_srcdir)/configure.ac
 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
        $(ACLOCAL_M4)
 DIST_COMMON = $(srcdir)/Makefile.am