www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1999/05/22/09:05:55

From: Martin Str|mberg <ams AT ludd DOT luth DOT se>
Message-Id: <199905221305.PAA02803@father.ludd.luth.se>
Subject: Re: Bash 2.03 final beta available
To: snowball3 AT bigfoot DOT com
Date: Sat, 22 May 1999 15:05:40 +0200 (MET DST)
Cc: djgpp-workers AT delorie DOT com (DJGPP-WORKERS)
X-Mailer: ELM [version 2.4ME+ PL15 (25)]
MIME-Version: 1.0
Reply-To: djgpp-workers AT delorie DOT com

Here's the neccessary changes to bash 2.0.3 to compile it in a non-LFN
aware environment (DOZE window where LFN=n and then running bash 1.14.7(1)).

Questions:

checking whether large file support needs explicit enabling... ./configure: getconf: command not found
./configure: getconf: command not found
./configure: getconf: command not found
./configure: getconf: command not found
./configure: getconf: command not found
./configure: getconf: command not found

What's this? But it doesn't seem to hurt, anyway.


Errors:

Add "doc/makefile.in".
Add "examples/loadables/makefile.in".
Add "lib/readline/terminal.c".


Make it compile in a non-LFN enabled environment:

Rename "config.h.in" to "config.h-in".

Apply the patches.

(I have made changes to configure; that's as far back in the chain
makefile, configure, autoconf(?)... I can handle. Please, if you know
how, put/move my changes further back in the chain, if possible.)

Remove "config.cache" and run "./configure".


Please forward the relevant changes to the GNU maintainer, if possible.


Bay Laurel, Under a Clouded Sky,

							MartinS

----- Pathes starts. ------
diff -ru bash2_03.org/gnu/bash-2.03/builtins/psize.sh bash2.03/gnu/bash-2.03/builtins/psize.sh
--- bash2_03.org/gnu/bash-2.03/builtins/psize.sh	Tue Mar 17 12:27:10 1998
+++ bash2.03/gnu/bash-2.03/builtins/psize.sh	Sat May 22 10:29:38 1999
@@ -3,7 +3,9 @@
 # psize.sh -- determine this system's pipe size, and write a define to
 #             pipesize.h so ulimit.c can use it.
 
-TMPDIR=/tmp
+if test "x$TMPDIR" == x; then
+    TMPDIR=/tmp
+fi
 TMPNAME=pipsize.$$
 TMPFILE=$TMPDIR/$TMPNAME
 
diff -ru bash2_03.org/gnu/bash-2.03/configure.in bash2.03/gnu/bash-2.03/configure.in
--- bash2_03.org/gnu/bash-2.03/configure.in	Thu Apr  1 11:07:28 1999
+++ bash2.03/gnu/bash-2.03/configure.in	Sat May 22 09:11:06 1999
@@ -94,7 +94,7 @@
 	prefer_curses=yes
 fi
 
-dnl optional shell features in config.h.in
+dnl optional shell features in config.h-in
 opt_minimal_config=no
 
 opt_job_control=yes
diff -ru bash2_03.org/gnu/bash-2.03/configure bash2.03/gnu/bash-2.03/configure
--- bash2_03.org/gnu/bash-2.03/configure	Mon May 10 10:50:08 1999
+++ bash2.03/gnu/bash-2.03/configure	Sat May 22 09:46:50 1999
@@ -7579,11 +7579,11 @@
 cat >> $CONFIG_STATUS <<\EOF
 fi
 for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
-  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
+  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile-in".
   case "$ac_file" in
   *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
        ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
-  *) ac_file_in="${ac_file}.in" ;;
+  *) ac_file_in="${ac_file}-in" ;;
   esac
 
   echo creating $ac_file
@@ -7595,7 +7595,7 @@
 EOF
 
 # Transform confdefs.h into a sed script conftest.vals that substitutes
-# the proper values into config.h.in to produce config.h.  And first:
+# the proper values into config.h-in to produce config.h.  And first:
 # Protect against being on the right side of a sed subst in config.status.
 # Protect against being in an unquoted here document in config.status.
 rm -f conftest.vals
diff -ru bash2_03.org/gnu/bash-2.03/execute_cmd.c bash2.03/gnu/bash-2.03/execute_cmd.c
--- bash2_03.org/gnu/bash-2.03/execute_cmd.c	Thu Mar 25 19:18:32 1999
+++ bash2.03/gnu/bash-2.03/execute_cmd.c	Sat May 22 10:00:48 1999
@@ -76,7 +76,7 @@
 
 #include "memalloc.h"
 #include "shell.h"
-#include <y.tab.h>	/* use <...> so we pick it up from the build directory */
+#include <y-tab.h>	/* use <...> so we pick it up from the build directory */
 #include "flags.h"
 #include "builtins.h"
 #include "hashlib.h"
diff -ru bash2_03.org/gnu/bash-2.03/makefile.in bash2.03/gnu/bash-2.03/makefile.in
--- bash2_03.org/gnu/bash-2.03/makefile.in	Wed Apr 28 11:33:34 1999
+++ bash2.03/gnu/bash-2.03/makefile.in	Sat May 22 09:58:26 1999
@@ -286,7 +286,7 @@
 DOS_OBJECTS = $(DOS_SOURCES:.c=.o)
 
 # The main source code for the Bourne Again SHell.
-CSOURCES = shell.c eval.c parse.y general.c make_cmd.c print_cmd.c y.tab.c \
+CSOURCES = shell.c eval.c parse.y general.c make_cmd.c print_cmd.c y-tab.c \
 	   dispose_cmd.c execute_cmd.c variables.c $(GLOBC) version.c \
 	   expr.c copy_cmd.c flags.c subst.c hashcmd.c hashlib.c mailcheck.c \
 	   test.c trap.c alias.c jobs.c nojobs.c $(ALLOC_FILES) braces.c \
@@ -313,7 +313,7 @@
 JOBS_O = @JOBS_O@
 
 # Matching object files.
-OBJECTS	 = shell.o eval.o y.tab.o general.o make_cmd.o print_cmd.o $(GLOBO) \
+OBJECTS	 = shell.o eval.o y-tab.o general.o make_cmd.o print_cmd.o $(GLOBO) \
 	   dispose_cmd.o execute_cmd.o variables.o copy_cmd.o error.o \
 	   expr.o flags.o $(JOBS_O) subst.o hashcmd.o hashlib.o mailcheck.o \
 	   trap.o input.o unwind_prot.o pathexp.o sig.o test.o version.o \
@@ -428,22 +428,22 @@
 
 # old rules
 GRAM_H = parser-built
-y.tab.o: y.tab.c ${GRAM_H} command.h stdc.h input.h
-${GRAM_H}:	y.tab.h
-	@-if test -f y.tab.h ; then \
-		cmp -s $@ y.tab.h 2>/dev/null || cp -p y.tab.h $@; \
+y-tab.o: y-tab.c ${GRAM_H} command.h stdc.h input.h
+${GRAM_H}:	y-tab.h
+	@-if test -f y-tab.h ; then \
+		cmp -s $@ y-tab.h 2>/dev/null || cp -p y-tab.h $@; \
 	fi
-y.tab.c y.tab.h: parse.y
-#	-if test -f y.tab.h; then mv -f y.tab.h old-y.tab.h; fi
-	$(YACC) -d $(srcdir)/parse.y
-#	-if cmp -s old-y.tab.h y.tab.h; then mv old-y.tab.h y.tab.h; else cp -p y.tab.h ${GRAM_H}; fi
+y-tab.c y-tab.h: parse.y
+#	-if test -f y-tab.h; then mv -f y-tab.h old-y-tab.h; fi
+	$(YACC) -d $(srcdir)/parse.y -o y-tab.c
+#	-if cmp -s old-y-tab.h y-tab.h; then mv old-y-tab.h y-tab.h; else cp -p y-tab.h ${GRAM_H}; fi
 
 # experimental new rules - work with GNU make but not BSD (or OSF) make
-#y.tab.o: y.tab.c y.tab.h
-#y.tab.c y.tab.h: parse.y command.h stdc.h input.h
-#	-if test -f y.tab.h; then mv -f y.tab.h old-y.tab.h; fi
+#y-tab.o: y-tab.c y-tab.h
+#y-tab.c y-tab.h: parse.y command.h stdc.h input.h
+#	-if test -f y-tab.h; then mv -f y-tab.h old-y-tab.h; fi
 #	$(YACC) -d $(srcdir)/parse.y
-#	-if cmp -s old-y.tab.h y.tab.h; then mv old-y.tab.h y.tab.h; fi
+#	-if cmp -s old-y-tab.h y-tab.h; then mv old-y-tab.h y-tab.h; fi
 
 $(READLINE_LIBRARY): config.h $(READLINE_SOURCE)
 	@echo making $@ in ${RL_LIBDIR}
@@ -514,14 +514,14 @@
 
 config.h:	stamp-h 
 
-stamp-h:	config.status $(srcdir)/config.h.in $(srcdir)/config-top.h $(srcdir)/config-bot.h
+stamp-h:	config.status $(srcdir)/config.h-in $(srcdir)/config-top.h $(srcdir)/config-bot.h
 	CONFIG_FILES= CONFIG_HEADERS=config.h $(SHELL) ./config.status
 
 config.status:	$(srcdir)/configure
 	$(SHELL) ./config.status --recheck
 
 # comment out for distribution
-$(srcdir)/configure:	$(srcdir)/configure.in $(srcdir)/aclocal.m4 $(srcdir)/config.h.in
+$(srcdir)/configure:	$(srcdir)/configure.in $(srcdir)/aclocal.m4 $(srcdir)/config.h-in
 	cd $(srcdir) && autoconf
 
 # for chet
@@ -618,7 +618,7 @@
 maintainer-clean:	basic-clean
 	@echo This command is intended for maintainers to use.
 	@echo It deletes files that may require special tools to rebuild.
-	$(RM) y.tab.c y.tab.h parser-built.h tags TAGS
+	$(RM) y.tab.c y.tab.h y-tab.c y-tab.h parser-built.h tags TAGS
 	( cd $(DOCDIR) && $(MAKE) $(MFLAGS) $@ )
 	( cd builtins && $(MAKE) $(MFLAGS) $@ )
 	-(cd $(RL_LIBDIR) && $(MAKE) $(MFLAGS) $@)
@@ -667,7 +667,7 @@
 # to be changed
 shell.o: config-top.h
 input.o: config-top.h
-y.tab.o: config-top.h
+y-tab.o: config-top.h
 jobs.o: config-top.h
 nojobs.o: config-top.h
 execute_cmd.o: config-top.h
@@ -757,13 +757,13 @@
 make_cmd.o: command.h stdc.h general.h error.h flags.h make_cmd.h
 make_cmd.o: variables.h array.h hashlib.h subst.h input.h externs.h
 make_cmd.o: jobs.h quit.h siglist.h
-y.tab.o: config.h bashtypes.h bashansi.h ansi_stdlib.h memalloc.h
-y.tab.o: shell.h config.h bashjmp.h posixjmp.h command.h stdc.h error.h
-y.tab.o: general.h bashtypes.h variables.h array.h hashlib.h
-y.tab.o: quit.h maxpath.h unwind_prot.h dispose_cmd.h
-y.tab.o: make_cmd.h subst.h sig.h pathnames.h externs.h
-y.tab.o: trap.h flags.h parser.h input.h mailcheck.h $(DEFSRC)/common.h
-y.tab.o: $(DEFDIR)/builtext.h bashline.h bashhist.h jobs.h siglist.h alias.h
+y-tab.o: config.h bashtypes.h bashansi.h ansi_stdlib.h memalloc.h
+y-tab.o: shell.h config.h bashjmp.h posixjmp.h command.h stdc.h error.h
+y-tab.o: general.h bashtypes.h variables.h array.h hashlib.h
+y-tab.o: quit.h maxpath.h unwind_prot.h dispose_cmd.h
+y-tab.o: make_cmd.h subst.h sig.h pathnames.h externs.h
+y-tab.o: trap.h flags.h parser.h input.h mailcheck.h $(DEFSRC)/common.h
+y-tab.o: $(DEFDIR)/builtext.h bashline.h bashhist.h jobs.h siglist.h alias.h
 pathexp.o: config.h bashtypes.h bashansi.h ansi_stdlib.h
 pathexp.o: shell.h config.h bashjmp.h posixjmp.h command.h stdc.h error.h
 pathexp.o: general.h bashtypes.h variables.h array.h hashlib.h
@@ -896,8 +896,8 @@
 bashline.o: $(RL_LIBSRC)/chardefs.h $(RL_LIBSRC)/readline.h
 bracecomp.o: $(RL_LIBSRC)/keymaps.h $(RL_LIBSRC)/chardefs.h
 bracecomp.o: $(RL_LIBSRC)/readline.h $(RL_LIBSRC)/rlstdc.h
-y.tab.o: $(RL_LIBSRC)/keymaps.h $(RL_LIBSRC)/chardefs.h
-y.tab.o: $(RL_LIBSRC)/readline.h $(RL_LIBSRC)/rlstdc.h
+y-tab.o: $(RL_LIBSRC)/keymaps.h $(RL_LIBSRC)/chardefs.h
+y-tab.o: $(RL_LIBSRC)/readline.h $(RL_LIBSRC)/rlstdc.h
 subst.o: $(RL_LIBSRC)/keymaps.h $(RL_LIBSRC)/chardefs.h
 subst.o: $(RL_LIBSRC)/readline.h $(RL_LIBSRC)/rlstdc.h
 
@@ -905,7 +905,7 @@
 subst.o: $(HIST_LIBSRC)/history.h $(HIST_LIBSRC)/rlstdc.h
 bashline.o: $(HIST_LIBSRC)/history.h $(HIST_LIBSRC)/rlstdc.h
 bashhist.o: $(HIST_LIBSRC)/history.h $(HIST_LIBSRC)/rlstdc.h
-y.tab.o: $(HIST_LIBSRC)/history.h $(HIST_LIBSRC)/rlstdc.h
+y-tab.o: $(HIST_LIBSRC)/history.h $(HIST_LIBSRC)/rlstdc.h
 
 execute_cmd.o: $(TILDE_LIBSRC)/tilde.h
 general.o: $(TILDE_LIBSRC)/tilde.h
diff -ru bash2_03.org/gnu/bash-2.03/print_cmd.c bash2.03/gnu/bash-2.03/print_cmd.c
--- bash2_03.org/gnu/bash-2.03/print_cmd.c	Tue Jan 12 12:46:18 1999
+++ bash2.03/gnu/bash-2.03/print_cmd.c	Sat May 22 10:00:20 1999
@@ -39,7 +39,7 @@
 #include "bashansi.h"
 
 #include "shell.h"
-#include <y.tab.h>	/* use <...> so we pick it up from the build directory */
+#include <y-tab.h>	/* use <...> so we pick it up from the build directory */
 #include "stdc.h"
 #include "builtins/common.h"
 
diff -ru bash2_03.org/gnu/bash-2.03/readme.djgpp bash2.03/gnu/bash-2.03/readme.djgpp
--- bash2_03.org/gnu/bash-2.03/readme.djgpp	Wed May 19 11:45:30 1999
+++ bash2.03/gnu/bash-2.03/readme.djgpp	Sat May 22 12:27:56 1999
@@ -155,6 +155,7 @@
 * the GCC compiler and binutils
 * rm, ln, mv, cp, and possibly others from the Fileutils
 * sed
+* gawk
 
 Unzip the source package with the option to preserve directories 
 (the -d option in the old PKUNZIP, the -directories option in newer

----- Pathes ends. ------

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019