home *** CD-ROM | disk | FTP | other *** search
- diff -rc bash-1.13.4-fsf/.machine bash-1.13.4-amiga/.machine
- *** bash-1.13.4-fsf/.machine Tue Aug 31 20:37:31 1993
- --- bash-1.13.4-amiga/.machine Sun Nov 21 14:41:24 1993
- ***************
- *** 1 ****
- ! bash last made for a sparc running SunOS4
- --- 1 ----
- ! bash last made for a amiga running amigados
- diff -rc bash-1.13.4-fsf/Makefile bash-1.13.4-amiga/Makefile
- *** bash-1.13.4-fsf/Makefile Tue Aug 31 18:52:30 1993
- --- bash-1.13.4-amiga/Makefile Sat Nov 20 15:48:47 1993
- ***************
- *** 18,25 ****
-
- # Force CPPNAME to be the name of your C preprocesor if Bash can't
- # find it. For instance, `CPPNAME=/usr/libexec/cpp' on 4.4 BSD.
- ! CPPNAME =
- ! CPP = `$(CPPMAGIC) $(GETCPPSYMS) $(CPPNAME)` -P
-
- # If all else fails, try this line instead.
- # CPP = $(CC) -E
- --- 18,26 ----
-
- # Force CPPNAME to be the name of your C preprocesor if Bash can't
- # find it. For instance, `CPPNAME=/usr/libexec/cpp' on 4.4 BSD.
- ! CPPNAME = /gcc/lib/gcc-lib/amigados/2.5.7/cpp
- ! #CPP = `$(CPPMAGIC) $(GETCPPSYMS) $(CPPNAME)` -P
- ! CPP = $(CPPNAME) `$(GETCPPSYMS)` -P
-
- # If all else fails, try this line instead.
- # CPP = $(CC) -E
- ***************
- *** 44,52 ****
- # much trouble with this, just forget it. It is for making
- # bash-Makefile pretty and readable; something that isn't strictly
- # necessary.
- ! # SQUASH_BLANKS = cat -s
- #
- ! SQUASH_BLANKS = $(GAWK) -f $(CAT_S)
-
- all: .notified bash-Makefile
- $(MAKE) $(MFLAGS) $(MAKEARGS) -f bash-Makefile
- --- 45,53 ----
- # much trouble with this, just forget it. It is for making
- # bash-Makefile pretty and readable; something that isn't strictly
- # necessary.
- ! SQUASH_BLANKS = cat -s
- #
- ! #SQUASH_BLANKS = $(GAWK) -f $(CAT_S)
-
- all: .notified bash-Makefile
- $(MAKE) $(MFLAGS) $(MAKEARGS) -f bash-Makefile
- diff -rc bash-1.13.4-fsf/bashline.c bash-1.13.4-amiga/bashline.c
- *** bash-1.13.4-fsf/bashline.c Fri Nov 12 15:55:36 1993
- --- bash-1.13.4-amiga/bashline.c Sat Nov 20 15:15:57 1993
- ***************
- *** 1569,1576 ****
- --- 1569,1578 ----
- bash_complete_username_internal (what_to_do)
- int what_to_do;
- {
- + #ifndef amigados
- bash_specific_completion
- (what_to_do, (Function *)username_completion_function);
- + #endif /* amigados */
- }
-
- static void
- diff -rc bash-1.13.4-fsf/builtins/Makefile bash-1.13.4-amiga/builtins/Makefile
- *** bash-1.13.4-fsf/builtins/Makefile Tue Aug 31 18:52:32 1993
- --- bash-1.13.4-amiga/builtins/Makefile Sat Nov 20 16:26:25 1993
- ***************
- *** 59,66 ****
-
- builtext.h builtins.c: $(MKBUILTINS) $(DEFS)
- $(RM) builtext.h builtins.c
- ! ./$(MKBUILTINS) -externfile builtext.h -structfile builtins.c \
- ! -noproduction $(DIRECTDEFINE) $(DEFS)
-
- mkbuiltins: mkbuiltins.c ../config.h
- $(CC) $(CFLAGS) -o $(MKBUILTINS) mkbuiltins.c
- --- 59,66 ----
-
- builtext.h builtins.c: $(MKBUILTINS) $(DEFS)
- $(RM) builtext.h builtins.c
- ! ./$(MKBUILTINS) -externfile - -noproduction $(DIRECTDEFINE) $(DEFS) >builtext.h
- ! ./$(MKBUILTINS) -structfile builtins.c -noproduction $(DIRECTDEFINE) $(DEFS)
-
- mkbuiltins: mkbuiltins.c ../config.h
- $(CC) $(CFLAGS) -o $(MKBUILTINS) mkbuiltins.c
- diff -rc bash-1.13.4-fsf/builtins/mkbuiltins.c bash-1.13.4-amiga/builtins/mkbuiltins.c
- *** bash-1.13.4-fsf/builtins/mkbuiltins.c Tue Aug 31 18:52:33 1993
- --- bash-1.13.4-amiga/builtins/mkbuiltins.c Sat Nov 20 15:16:04 1993
- ***************
- *** 201,207 ****
-
- if (extern_filename)
- {
- ! externfile = fopen (extern_filename, "w");
-
- if (!externfile)
- file_error (extern_filename);
- --- 201,210 ----
-
- if (extern_filename)
- {
- ! if (strcmp (extern_filename, "-") == 0)
- ! externfile = stdout;
- ! else
- ! externfile = fopen (extern_filename, "w");
-
- if (!externfile)
- file_error (extern_filename);
- ***************
- *** 242,248 ****
- unlink (temp_struct_filename);
- }
-
- ! if (externfile)
- fclose (externfile);
- }
-
- --- 245,251 ----
- unlink (temp_struct_filename);
- }
-
- ! if (externfile && externfile != stdout)
- fclose (externfile);
- }
-
- ***************
- *** 1049,1054 ****
- --- 1052,1058 ----
- /* Write the extern definition. */
- if (externfile)
- {
- + fprintf (externfile, "/* %s */\n", defs -> filename);
- if (builtin->function)
- fprintf (externfile, "extern int %s ();\n",
- builtin->function);
- diff -rc bash-1.13.4-fsf/builtins/psize.sh bash-1.13.4-amiga/builtins/psize.sh
- *** bash-1.13.4-fsf/builtins/psize.sh Tue Aug 31 18:52:34 1993
- --- bash-1.13.4-amiga/builtins/psize.sh Sat Nov 20 15:16:06 1993
- ***************
- *** 11,17 ****
- echo " */"
- echo ""
-
- ! ./psize.aux 2>/tmp/pipesize | sleep 3
-
- echo "#define PIPESIZE `cat /tmp/pipesize`"
-
- --- 11,20 ----
- echo " */"
- echo ""
-
- ! #./psize.aux 2>/tmp/pipesize | sleep 3
- ! # Begin Amiga hack
- ! echo 5120 >/tmp/pipesize
- ! #endif Amiga hack
-
- echo "#define PIPESIZE `cat /tmp/pipesize`"
-
- diff -rc bash-1.13.4-fsf/config.h bash-1.13.4-amiga/config.h
- *** bash-1.13.4-fsf/config.h Tue Aug 31 18:52:35 1993
- --- bash-1.13.4-amiga/config.h Sat Nov 20 16:07:25 1993
- ***************
- *** 52,58 ****
- --- 52,60 ----
-
- /* Define JOB_CONTROL if your operating system supports
- BSD-like job control. */
- + #ifndef amigados
- #define JOB_CONTROL
- + #endif /* amigados */
-
- /* Note that vanilla System V machines don't support BSD job control,
- although some do support Posix job control. */
- ***************
- *** 98,110 ****
- --- 100,122 ----
- #endif /* BANG_HISTORY && !HISTORY */
-
- /* The default value of the PATH variable. */
- + #ifdef amigados
- + #define DEFAULT_PATH_VALUE \
- + ":/c:/gcc:/usr/bin:/bin:/usr/local/bin:.:/local/bin"
- + #else
- #define DEFAULT_PATH_VALUE \
- ":/usr/gnu/bin:/usr/local/bin:/usr/ucb:/bin:/usr/bin:/etc:/usr/etc"
- + #endif /* amigados */
-
- /* The value for PATH when invoking `command -p'. This is only used when
- the Posix.2 confstr () function, or CS_PATH define are not present. */
- + #ifdef amigados
- + #define STANDARD_UTILS_PATH \
- + "/c:/gcc:/usr/bin:/bin:/usr/local/bin:.:/local/bin"
- + #else
- #define STANDARD_UTILS_PATH \
- "/bin:/usr/bin:/usr/ucb:/usr/sbin:/etc:/usr/etc"
- + #endif /* amigados */
-
- /* Define V9_ECHO if you want to give the echo builtin backslash-escape
- interpretation using the -e option, in the style of the Bell Labs 9th
- ***************
- *** 137,142 ****
- --- 149,174 ----
- /* Define DISABLED_BUILTINS if you want "builtin foo" to always run the
- shell builtin "foo", even if it has been disabled with "enable -n foo". */
- /* #define DISABLED_BUILTINS */
- +
- + #ifdef amigados
- + #define SYSTEM_NAME "amiga"
- + #define OS_NAME "amigados"
- + #define PPROMPT "bash$ "
- + #define SPROMPT "> "
- + #ifdef HOSTTYPE
- + # undef HOSTTYPE
- + #endif /* HOSTTYPE */
- + #define HOSTTYPE "amiga"
- + #ifndef MAINTAINER
- + # define MAINTAINER "phb@colombo.telesys-innov.fr"
- + #endif /* MAINTAINER */
- + #ifdef JOB_CONTROL
- + # undef JOB_CONTROL
- + #endif /* JOB_CONTROL */
- + #ifdef HAVE_BSD_SIGNALS
- + # undef HAVE_BSD_SIGNALS
- + #endif
- + #endif /* amigados */
-
- /* Define PROCESS_SUBSTITUTION if you want the K*rn shell-like process
- substitution features "<(file)". */
- diff -rc bash-1.13.4-fsf/cpp-Makefile bash-1.13.4-amiga/cpp-Makefile
- *** bash-1.13.4-fsf/cpp-Makefile Fri Nov 12 15:54:50 1993
- --- bash-1.13.4-amiga/cpp-Makefile Sat Nov 20 16:35:05 1993
- ***************
- *** 248,254 ****
- $(SIGHANDLER) $(SYSDEP) $(WAITH) $(GETWD) $(DUP2) $(STRERROR) \
- $(DIRENT) $(DIRENTH) $(STRINGH) $(VARARGSH) $(STRCHR) $(DEVFD) \
- -D$(Machine) -D$(OS)
- ! DEBUG_FLAGS = $(PROFILE_FLAGS) -O -g
- LDFLAGS = $(NOSHARE) $(SYSDEP_LD) $(EXTRA_LD_PATH) $(DEBUG_FLAGS)
- CFLAGS = $(DEBUG_FLAGS) $(SYSTEM_FLAGS) -DSHELL $(ALLOCA_CFLAGS) \
- $(MALLOC_CFLAGS)
- --- 248,254 ----
- $(SIGHANDLER) $(SYSDEP) $(WAITH) $(GETWD) $(DUP2) $(STRERROR) \
- $(DIRENT) $(DIRENTH) $(STRINGH) $(VARARGSH) $(STRCHR) $(DEVFD) \
- -D$(Machine) -D$(OS)
- ! DEBUG_FLAGS = $(PROFILE_FLAGS) -O
- LDFLAGS = $(NOSHARE) $(SYSDEP_LD) $(EXTRA_LD_PATH) $(DEBUG_FLAGS)
- CFLAGS = $(DEBUG_FLAGS) $(SYSTEM_FLAGS) -DSHELL $(ALLOCA_CFLAGS) \
- $(MALLOC_CFLAGS)
- ***************
- *** 289,295 ****
- $(MAKE) $(MFLAGS) CPPFLAGS='$(CPPFLAGS)' \
- CFLAGS='$(CFLAGS) '$(LIBINC_USAGE)' -I.' LDFLAGS='$(LDFLAGS)' \
- RANLIB='$(RANLIB)' AR='$(AR)' CC='$(CC)' RM='$(RM)' \
- ! DIRECTDEFINE='-D 'directory)
-
- /**/# Flags used when building libraries.
- LIBRARY_CFLAGS = $(DEBUG_FLAGS) $(SIGHANDLER) $(ALLOCA_CFLAGS) \
- --- 289,295 ----
- $(MAKE) $(MFLAGS) CPPFLAGS='$(CPPFLAGS)' \
- CFLAGS='$(CFLAGS) '$(LIBINC_USAGE)' -I.' LDFLAGS='$(LDFLAGS)' \
- RANLIB='$(RANLIB)' AR='$(AR)' CC='$(CC)' RM='$(RM)' \
- ! DIRECTDEFINE='-D builtins/')
-
- /**/# Flags used when building libraries.
- LIBRARY_CFLAGS = $(DEBUG_FLAGS) $(SIGHANDLER) $(ALLOCA_CFLAGS) \
- ***************
- *** 672,679 ****
- #endif
-
- /**/# The group of configuration flags. These are for shell.c
- ! CFG_FLAGS = -DPPROMPT=$(PPROMPT) -DSPROMPT=$(SPROMPT) -DOS_NAME='$(OS_NAME)'\
- ! -DSYSTEM_NAME='$(SYSTEM_NAME)' $(SIGLIST_FLAG) $(MAINTAIN_DEFINE)
-
- /**/# The directory which contains the source for malloc. The name must
- /**/# end in a slash, as in "./lib/malloc/".
- --- 672,678 ----
- #endif
-
- /**/# The group of configuration flags. These are for shell.c
- ! CFG_FLAGS = $(SIGLIST_FLAG)
-
- /**/# The directory which contains the source for malloc. The name must
- /**/# end in a slash, as in "./lib/malloc/".
- diff -rc bash-1.13.4-fsf/execute_cmd.c bash-1.13.4-amiga/execute_cmd.c
- *** bash-1.13.4-fsf/execute_cmd.c Fri Nov 12 15:55:41 1993
- --- bash-1.13.4-amiga/execute_cmd.c Tue Dec 14 19:38:01 1993
- ***************
- *** 1897,1904 ****
- if (nofork && pipe_in == NO_PIPE && pipe_out == NO_PIPE)
- pid = 0;
- else
- ! pid = make_child (savestring (command_line), async);
- !
- if (pid == 0)
- {
- int old_interactive;
- --- 1897,1905 ----
- if (nofork && pipe_in == NO_PIPE && pipe_out == NO_PIPE)
- pid = 0;
- else
- ! {
- ! pid = make_child (savestring (command_line), async);
- ! }
- if (pid == 0)
- {
- int old_interactive;
- diff -rc bash-1.13.4-fsf/lib/readline/Makefile bash-1.13.4-amiga/lib/readline/Makefile
- *** bash-1.13.4-fsf/lib/readline/Makefile Tue Aug 31 18:53:48 1993
- --- bash-1.13.4-amiga/lib/readline/Makefile Sun Nov 21 13:12:19 1993
- ***************
- *** 14,22 ****
- --- 14,27 ----
- # Please note that the values for INCLUDES, CC, AR, RM, CP,
- # RANLIB, and selfdir are passed in from ../Makefile, and do
- # not need to be defined here.
- + # (except for the Amiga case, for now... -fnf)
- +
- + CC = gcc
- + CFLAGS = -O2 -DHAVE_UNISTD_H
-
- # Here is a rule for making .o files from .c files that doesn't force
- # the type of the machine (like -sun3) into the flags.
- +
- .c.o:
- $(CC) -c $(CFLAGS) $(INCLUDES) $(LOCAL_DEFINES) $(CPPFLAGS) $*.c
-
- ***************
- *** 28,34 ****
-
- # Some systems need to define this (like older NeXT systems) in order
- # to prevent namespace conflicts.
- ! CFLAGS = # -DSTATIC_MALLOC
-
- # For libraries which include headers from other libraries.
- LOCAL_INCLUDES = -I. -I../
- --- 33,39 ----
-
- # Some systems need to define this (like older NeXT systems) in order
- # to prevent namespace conflicts.
- ! #CFLAGS = # -DSTATIC_MALLOC
-
- # For libraries which include headers from other libraries.
- LOCAL_INCLUDES = -I. -I../
- ***************
- *** 68,79 ****
- libreadline.a: $(OBJECTS)
- $(RM) -f $@
- $(AR) cq $@ $(OBJECTS)
- ! -if [ -f "$(RANLIB)" ]; then $(RANLIB) $@; fi
-
- libhistory.a: history.o
- $(RM) -f $@
- $(AR) cq $@ history.o
- ! -if [ -f "$(RANLIB)" ]; then $(RANLIB) $@; fi
-
- what-tar:
- @for file in $(THINGS_TO_TAR); do \
- --- 73,84 ----
- libreadline.a: $(OBJECTS)
- $(RM) -f $@
- $(AR) cq $@ $(OBJECTS)
- ! -if test -f "$(RANLIB)"; then $(RANLIB) $@; fi
-
- libhistory.a: history.o
- $(RM) -f $@
- $(AR) cq $@ history.o
- ! -if test -f "$(RANLIB)"; then $(RANLIB) $@; fi
-
- what-tar:
- @for file in $(THINGS_TO_TAR); do \
- ***************
- *** 96,102 ****
- $(CP) readline.h keymaps.h chardefs.h history.h $(incdir)/readline/
- -mv $(bindir)/libreadline.a $(bindir)/libreadline.old
- cp libreadline.a $(bindir)/libreadline.a
- ! if [ -f "$(RANLIB)" ]; then $(RANLIB) -t $(bindir)/libreadline.a; fi
-
- clean:
- rm -f $(OBJECTS) *.a
- --- 101,107 ----
- $(CP) readline.h keymaps.h chardefs.h history.h $(incdir)/readline/
- -mv $(bindir)/libreadline.a $(bindir)/libreadline.old
- cp libreadline.a $(bindir)/libreadline.a
- ! if test -f "$(RANLIB)" ; then $(RANLIB) -t $(bindir)/libreadline.a; fi
-
- clean:
- rm -f $(OBJECTS) *.a
- diff -rc bash-1.13.4-fsf/lib/readline/complete.c bash-1.13.4-amiga/lib/readline/complete.c
- *** bash-1.13.4-fsf/lib/readline/complete.c Tue Aug 31 18:53:50 1993
- --- bash-1.13.4-amiga/lib/readline/complete.c Sun Nov 21 13:24:33 1993
- ***************
- *** 1211,1213 ****
- --- 1211,1236 ----
- abort ();
- }
- #endif /* STATIC_MALLOC */
- +
- + #ifdef amigados
- + struct passwd *getpwent ()
- + {
- + static struct passwd fake_passwd = {
- + "root", /* pw_name */
- + "*nologin*", /* pw_passwd */
- + 0, /* pw_uid */
- + 0, /* pw_gid */
- + 0, /* pw_change */
- + "pw_class", /* pw_class */
- + "pw_gecos", /* pw_gecos */
- + "/", /* pw_dir */
- + "/bin/sh", /* pw_shell */
- + 0 /* pw_expire */
- + };
- + }
- +
- + int setpwent ()
- + {
- + }
- +
- + #endif /* amigados */
- diff -rc bash-1.13.4-fsf/lib/readline/rltty.c bash-1.13.4-amiga/lib/readline/rltty.c
- *** bash-1.13.4-fsf/lib/readline/rltty.c Tue Aug 31 18:53:50 1993
- --- bash-1.13.4-amiga/lib/readline/rltty.c Sun Nov 21 13:07:24 1993
- ***************
- *** 333,338 ****
- --- 333,341 ----
- # define DRAIN_OUTPUT(fd) tcdrain (fd)
- # define GETATTR(tty, tiop) (tcgetattr (tty, tiop))
- # define SETATTR(tty, tiop) (tcsetattr (tty, TCSANOW, tiop))
- + # if defined (amigados)
- + # define tcflow(fd, action) /* Not in current ixemul.library */
- + # endif
- #else
- # define TIOTYPE struct termio
- # define DRAIN_OUTPUT(fd)
- diff -rc bash-1.13.4-fsf/lib/tilde/tilde.c bash-1.13.4-amiga/lib/tilde/tilde.c
- *** bash-1.13.4-fsf/lib/tilde/tilde.c Tue Aug 31 18:53:53 1993
- --- bash-1.13.4-amiga/lib/tilde/tilde.c Sat Nov 20 15:17:06 1993
- ***************
- *** 242,247 ****
- --- 242,252 ----
- {
- /* Prepend $HOME to the rest of the string. */
- char *temp_home = (char *)getenv ("HOME");
- + #ifdef amigados
- + /* Default $HOME to s:, which is the semi-traditional place
- + for reconfiguration files and whatnot. -fnf */
- + temp_home = temp_home ? temp_home : "/s";
- + #endif
-
- /* If there is no HOME variable, look up the directory in
- the password database. */
- diff -rc bash-1.13.4-fsf/machines.h bash-1.13.4-amiga/machines.h
- *** bash-1.13.4-fsf/machines.h Fri Nov 12 15:55:44 1993
- --- bash-1.13.4-amiga/machines.h Sat Nov 20 15:31:05 1993
- ***************
- *** 1159,1170 ****
- # undef USE_GNU_MALLOC
- #endif /* drs6000 */
-
- /* ******************************************** */
- /* */
- /* System V Release 4 on the Commodore Amiga */
- /* */
- /* ******************************************** */
- ! #if defined (amiga)
- # define M_MACHINE "amiga"
- # define M_OS "USG"
- # define SYSDEP_CFLAGS -DUSGr4
- --- 1159,1194 ----
- # undef USE_GNU_MALLOC
- #endif /* drs6000 */
-
- + /* **************************************************************** */
- + /* */
- + /* Commodore Amiga running AmigaDOS */
- + /* */
- + /* **************************************************************** */
- +
- + #if defined (amiga) && defined (amigados)
- + #define M_MACHINE "amiga"
- + #define M_OS "amigados"
- + #if !defined (HAVE_GCC)
- + # define HAVE_GCC
- + #endif /* HAVE_GCC */
- + #define SYSDEP_CFLAGS -O2
- + #define REQUIRED_LIBRARIES
- + #define HAVE_SYS_SIGLIST
- + #define HAVE_ALLOCA
- + #undef USE_GNU_MALLOC
- + #undef HAVE_SETLINEBUF
- + #define HAVE_VFPRINTF
- + #if !defined (HAVE_RESOURCE)
- + # define HAVE_RESOURCE
- + #endif
- + #endif /* Commodore Amiga running AmigaDOS */
- +
- /* ******************************************** */
- /* */
- /* System V Release 4 on the Commodore Amiga */
- /* */
- /* ******************************************** */
- ! #if defined (amiga) && !defined (amigados)
- # define M_MACHINE "amiga"
- # define M_OS "USG"
- # define SYSDEP_CFLAGS -DUSGr4
- diff -rc bash-1.13.4-fsf/nojobs.c bash-1.13.4-amiga/nojobs.c
- *** bash-1.13.4-fsf/nojobs.c Fri Nov 12 15:55:47 1993
- --- bash-1.13.4-amiga/nojobs.c Tue Dec 14 19:38:03 1993
- ***************
- *** 294,300 ****
- --- 294,304 ----
- retry_fork:
- #endif /* _POSIX_VERSION */
-
- + #ifdef amigados
- + if ((pid = vfork ()) < 0)
- + #else
- if ((pid = fork ()) < 0)
- + #endif
- {
- #if defined (_POSIX_VERSION)
- /* Posix systems with a non-blocking waitpid () system call available
- ***************
- *** 314,319 ****
- --- 318,326 ----
-
- if (!pid)
- {
- + #if defined (_POSIX_VERSION)
- + extern sigset_t top_level_mask;
- + #endif
- #if defined (BUFFERED_INPUT)
- if (default_buffered_input > 0)
- {
- diff -rc bash-1.13.4-fsf/shell.c bash-1.13.4-amiga/shell.c
- *** bash-1.13.4-fsf/shell.c Fri Nov 12 15:55:55 1993
- --- bash-1.13.4-amiga/shell.c Sun Nov 21 13:29:56 1993
- ***************
- *** 1957,1963 ****
- --- 1957,1967 ----
- struct sockaddr sa;
-
- l = sizeof(sa);
- + #if defined (amigados)
- + return (0); /* fake it, no getpeername() yet in ixemul.library */
- + #else
- rv = getpeername(0, &sa, &l);
- + #endif
- if (rv < 0 && errno == ENOTSOCK)
- return 0;
- else
- diff -rc bash-1.13.4-fsf/support/getcppsyms.c bash-1.13.4-amiga/support/getcppsyms.c
- *** bash-1.13.4-fsf/support/getcppsyms.c Tue Aug 31 18:53:58 1993
- --- bash-1.13.4-amiga/support/getcppsyms.c Sat Nov 20 15:17:29 1993
- ***************
- *** 380,385 ****
- --- 380,391 ----
- #if defined (vax)
- printf (" -Dvax");
- #endif /* vax */
- + #if defined (amiga)
- + printf (" -Damiga");
- + #endif
- + #if defined (amigados)
- + printf (" -Damigados");
- + #endif
-
- printf ("\n");
- exit (0);
- diff -rc bash-1.13.4-fsf/support/mksysdefs bash-1.13.4-amiga/support/mksysdefs
- *** bash-1.13.4-fsf/support/mksysdefs Fri Nov 12 15:55:46 1993
- --- bash-1.13.4-amiga/support/mksysdefs Sat Nov 20 15:45:50 1993
- ***************
- *** 61,80 ****
- fi
-
- # Get name of maintainer.
- ! if (whoami) >/dev/null 2>&1 && (hostname) >/dev/null 2>&1; then
- ! WHOAMI=`whoami`@`hostname`;
- ! else
- ! WHOAMI=`who am i | awk '{ print $1; }'`
- ! fi
- !
- ! if [ "$WHOAMI" = "" ]; then
- ! WHOAMI=`id | sed 's/uid=[01-9]*(//' | sed 's/) [) A-Za-z01-9(=,]*//'`
- ! if (hostname) >/dev/null 2>&1; then
- ! WHOAMI=$WHOAMI@`hostname`
- ! elif [ -f /usr/bin/uuname -o -f /bin/uuname ]; then
- ! WHOAMI=`uuname -l`!$WHOAMI
- ! fi
- ! fi
-
- if [ "$WHOAMI" = "" ]; then
- WHOAMI=root
- --- 61,80 ----
- fi
-
- # Get name of maintainer.
- ! #if (whoami) >/dev/null 2>&1 && (hostname) >/dev/null 2>&1; then
- ! # WHOAMI=`whoami`@`hostname`;
- ! #else
- ! # WHOAMI=`who am i | awk '{ print $1; }'`
- ! #fi
- ! #
- ! #if [ "$WHOAMI" = "" ]; then
- ! # WHOAMI=`id | sed 's/uid=[01-9]*(//' | sed 's/) [) A-Za-z01-9(=,]*//'`
- ! # if (hostname) >/dev/null 2>&1; then
- ! # WHOAMI=$WHOAMI@`hostname`
- ! # elif [ -f /usr/bin/uuname -o -f /bin/uuname ]; then
- ! # WHOAMI=`uuname -l`!$WHOAMI
- ! # fi
- ! #fi
-
- if [ "$WHOAMI" = "" ]; then
- WHOAMI=root
- diff -rc bash-1.13.4-fsf/trap.c bash-1.13.4-amiga/trap.c
- *** bash-1.13.4-fsf/trap.c Fri Nov 12 15:56:03 1993
- --- bash-1.13.4-amiga/trap.c Sat Nov 20 15:17:33 1993
- ***************
- *** 145,151 ****
- /* Non-zero when we catch a trapped signal. */
- static int catch_flag = 0;
-
- ! #if !defined (USG) && !defined (USGr4)
- #define HAVE_BSD_SIGNALS
- #endif
-
- --- 145,151 ----
- /* Non-zero when we catch a trapped signal. */
- static int catch_flag = 0;
-
- ! #if !defined (USG) && !defined (USGr4) && !defined(amigados)
- #define HAVE_BSD_SIGNALS
- #endif
-
-