home *** CD-ROM | disk | FTP | other *** search
- diff -rc make-3.70-fsf/Makefile.in make-3.70-amiga/Makefile.in
- *** make-3.70-fsf/Makefile.in Mon Jan 3 23:03:41 1994
- --- make-3.70-amiga/Makefile.in Mon Feb 21 13:48:08 1994
- ***************
- *** 76,82 ****
- extras = @LIBOBJS@
-
- # Common prefix for machine-independent installed files.
- ! prefix = /usr/local
- # Common prefix for machine-dependent installed files.
- exec_prefix = $(prefix)
-
- --- 76,82 ----
- extras = @LIBOBJS@
-
- # Common prefix for machine-independent installed files.
- ! prefix = /gnu
- # Common prefix for machine-dependent installed files.
- exec_prefix = $(prefix)
-
- diff -rc make-3.70-fsf/arscan.c make-3.70-amiga/arscan.c
- *** make-3.70-fsf/arscan.c Thu Dec 16 23:24:39 1993
- --- make-3.70-amiga/arscan.c Mon Feb 21 13:08:02 1994
- ***************
- *** 22,27 ****
- --- 22,30 ----
- #else
- #include <sys/file.h>
- #endif
- + #ifdef amigados
- + #include <stdlib.h>
- + #endif
-
- #ifndef NO_ARCHIVES
-
- diff -rc make-3.70-fsf/configure make-3.70-amiga/configure
- *** make-3.70-fsf/configure Thu Dec 23 23:46:30 1993
- --- make-3.70-amiga/configure Mon Feb 21 14:34:53 1994
- ***************
- *** 102,108 ****
- srcdirdefaulted=yes
- # Try the directory containing this script, then `..'.
- prog=$0
- ! confdir=`echo $prog|sed 's%/[^/][^/]*$%%'`
- test "X$confdir" = "X$prog" && confdir=.
- srcdir=$confdir
- if test ! -r $srcdir/$unique_file; then
- --- 102,108 ----
- srcdirdefaulted=yes
- # Try the directory containing this script, then `..'.
- prog=$0
- ! confdir=`echo $prog| sed 's|/$||' | sed 's|//|/|' | sed 's|/[^/]*$||'`
- test "X$confdir" = "X$prog" && confdir=.
- srcdir=$confdir
- if test ! -r $srcdir/$unique_file; then
- ***************
- *** 130,137 ****
-
-
- # We want these before the checks, so the checks can modify their values.
- ! test -z "$CFLAGS" && CFLAGS=-g
- ! test -z "$LDFLAGS" && LDFLAGS=-g
-
- if test -z "$CC"; then
- # Extract the first word of `gcc', so it can be a program name with args.
- --- 130,137 ----
-
-
- # We want these before the checks, so the checks can modify their values.
- ! test -z "$CFLAGS" && CFLAGS=-O2
- ! test -z "$LDFLAGS" && LDFLAGS=
-
- if test -z "$CC"; then
- # Extract the first word of `gcc', so it can be a program name with args.
- ***************
- *** 296,302 ****
-
- echo checking for POSIXized ISC
- if test -d /etc/conf/kconfig.d &&
- ! grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1
- then
- ISC=1 # If later tests want to check for ISC.
-
- --- 296,302 ----
-
- echo checking for POSIXized ISC
- if test -d /etc/conf/kconfig.d &&
- ! grep _POSIX_VERSION /gnu/include/sys/unistd.h >/dev/null 2>&1
- then
- ISC=1 # If later tests want to check for ISC.
-
- ***************
- *** 1361,1367 ****
- }
- EOF
- eval $compile
- ! if test -s conftest && (./conftest; exit) 2>/dev/null; then
- :
- else
-
- --- 1361,1367 ----
- }
- EOF
- eval $compile
- ! if true; then
- :
- else
-
- ***************
- *** 1467,1473 ****
- # There is a commonly available library for RS/6000 AIX.
- # Since it is not a standard part of AIX, it might be installed locally.
- LIBS_old="$LIBS"
- ! LIBS="-L/usr/local/lib $LIBS"
- LIBS_save="${LIBS}"
- LIBS="${LIBS} -lgetloadavg"
- have_lib=""
- --- 1467,1473 ----
- # There is a commonly available library for RS/6000 AIX.
- # Since it is not a standard part of AIX, it might be installed locally.
- LIBS_old="$LIBS"
- ! LIBS="-L/local/lib $LIBS"
- LIBS_save="${LIBS}"
- LIBS="${LIBS} -lgetloadavg"
- have_lib=""
- ***************
- *** 2095,2101 ****
-
-
- echo checking for location of SCCS get command
- ! if test -f /usr/sccs/get; then
- SCCS_GET=/usr/sccs/get
-
- {
- --- 2095,2101 ----
-
-
- echo checking for location of SCCS get command
- ! if false; then
- SCCS_GET=/usr/sccs/get
-
- {
- ***************
- *** 2125,2131 ****
-
- fi
- ac_clean_files="$ac_clean_files s.conftest conftoast" # Remove these later.
- ! if ( /usr/sccs/admin -n s.conftest || admin -n s.conftest ) >/dev/null 2>&1 &&
- test -f s.conftest; then
- # We successfully created an SCCS file.
- echo checking if SCCS get command understands -G
- --- 2125,2131 ----
-
- fi
- ac_clean_files="$ac_clean_files s.conftest conftoast" # Remove these later.
- ! if ( false || admin -n s.conftest ) >/dev/null 2>&1 &&
- test -f s.conftest; then
- # We successfully created an SCCS file.
- echo checking if SCCS get command understands -G
- diff -rc make-3.70-fsf/dir.c make-3.70-amiga/dir.c
- *** make-3.70-fsf/dir.c Wed Jun 2 20:56:37 1993
- --- make-3.70-amiga/dir.c Mon Feb 21 13:11:20 1994
- ***************
- *** 492,498 ****
- --- 492,502 ----
-
- /* Hooks for globbing. */
-
- + #ifndef amigados
- #include <glob.h>
- + #else
- + #include "glob.h"
- + #endif
-
- /* Structure describing state of iterating through a directory hash table. */
-
- diff -rc make-3.70-fsf/function.c make-3.70-amiga/function.c
- *** make-3.70-fsf/function.c Fri Oct 29 21:50:48 1993
- --- make-3.70-amiga/function.c Mon Feb 21 13:11:22 1994
- ***************
- *** 21,26 ****
- --- 21,29 ----
- #include "dep.h"
- #include "commands.h"
- #include "job.h"
- + #ifdef amigados
- + #include <stdlib.h>
- + #endif
-
- static char *string_glob ();
-
- diff -rc make-3.70-fsf/getloadavg.c make-3.70-amiga/getloadavg.c
- *** make-3.70-fsf/getloadavg.c Wed Nov 3 13:06:04 1993
- --- make-3.70-amiga/getloadavg.c Mon Feb 21 13:11:23 1994
- ***************
- *** 472,477 ****
- --- 472,481 ----
- {
- int elem = 0; /* Return value. */
-
- + #ifdef __amigados
- + #define NO_GET_LOAD_AVG
- + #endif
- +
- #ifdef NO_GET_LOAD_AVG
- #define LDAV_DONE
- /* Set errno to zero to indicate that there was no particular error;
- diff -rc make-3.70-fsf/getopt.c make-3.70-amiga/getopt.c
- *** make-3.70-fsf/getopt.c Sat Dec 25 00:42:52 1993
- --- make-3.70-amiga/getopt.c Mon Feb 21 13:11:25 1994
- ***************
- *** 48,53 ****
- --- 48,56 ----
- #endif
-
- #include <stdio.h>
- + #ifdef amigados
- + #include <string.h>
- + #endif
-
- /* Comment out all this code if we are using the GNU C Library, and are not
- actually compiling the library itself. This code is part of the GNU C
- diff -rc make-3.70-fsf/glob/fnmatch.h make-3.70-amiga/glob/fnmatch.h
- *** make-3.70-fsf/glob/fnmatch.h Tue Dec 14 20:02:10 1993
- --- make-3.70-amiga/glob/fnmatch.h Mon Feb 21 13:11:26 1994
- ***************
- *** 42,48 ****
- --- 42,50 ----
- #undef FNM_PERIOD
-
- /* Bits set in the FLAGS argument to `fnmatch'. */
- + #ifndef FNM_PATHNAME
- #define FNM_PATHNAME (1 << 0) /* No wildcard can ever match `/'. */
- + #endif
- #define FNM_NOESCAPE (1 << 1) /* Backslashes don't quote special chars. */
- #define FNM_PERIOD (1 << 2) /* Leading `.' is matched only explicitly. */
-
- diff -rc make-3.70-fsf/job.c make-3.70-amiga/job.c
- *** make-3.70-fsf/job.c Thu Oct 14 19:08:36 1993
- --- make-3.70-amiga/job.c Mon Feb 21 15:11:44 1994
- ***************
- *** 23,29 ****
- #include "variable.h"
-
- /* Default path to search for executables. */
- ! static char default_path[] = ":/bin:/usr/bin";
-
- /* Default shell to use. */
- char default_shell[] = "/bin/sh";
- --- 23,29 ----
- #include "variable.h"
-
- /* Default path to search for executables. */
- ! static char default_path[] = ":/bin";
-
- /* Default shell to use. */
- char default_shell[] = "/bin/sh";
- ***************
- *** 46,52 ****
- #endif
-
- #ifdef HAVE_WAITPID
- ! #define WAIT_NOHANG(status) waitpid (-1, (status), WNOHANG)
- #else /* Don't have waitpid. */
- #ifdef HAVE_WAIT3
- #ifndef wait3
- --- 46,52 ----
- #endif
-
- #ifdef HAVE_WAITPID
- ! #define WAIT_NOHANG(status) waitpid (-1, (int *)(status), WNOHANG)
- #else /* Don't have waitpid. */
- #ifdef HAVE_WAIT3
- #ifndef wait3
- ***************
- *** 269,275 ****
- pid = WAIT_NOHANG (&status);
- else
- #endif
- ! pid = wait (&status);
- }
- else
- pid = 0;
- --- 269,275 ----
- pid = WAIT_NOHANG (&status);
- else
- #endif
- ! pid = wait ((int *)&status);
- }
- else
- pid = 0;
- diff -rc make-3.70-fsf/main.c make-3.70-amiga/main.c
- *** make-3.70-fsf/main.c Thu Dec 16 20:10:36 1993
- --- make-3.70-amiga/main.c Mon Feb 21 13:11:28 1994
- ***************
- *** 22,27 ****
- --- 22,30 ----
- #include "variable.h"
- #include "job.h"
- #include "getopt.h"
- + #ifdef amigados
- + #include <stdlib.h>
- + #endif
-
-
- extern void print_variable_data_base ();
- diff -rc make-3.70-fsf/read.c make-3.70-amiga/read.c
- *** make-3.70-fsf/read.c Thu Dec 23 22:56:05 1993
- --- make-3.70-amiga/read.c Mon Feb 21 13:47:04 1994
- ***************
- *** 81,90 ****
- --- 81,99 ----
-
- static char *default_include_directories[] =
- {
- + #ifndef amigados
- INCLUDEDIR,
- "/usr/gnu/include",
- "/usr/local/include",
- "/usr/include",
- + #else
- + "/gnu/include",
- + "/gnu/g++-include",
- + "/gnu/os-include",
- + "/local/include",
- + "/local/g++-include",
- + "/local/os-include",
- + #endif
- 0
- };
-
- diff -rc make-3.70-fsf/remake.c make-3.70-amiga/remake.c
- *** make-3.70-fsf/remake.c Wed Oct 27 22:14:26 1993
- --- make-3.70-amiga/remake.c Mon Feb 21 13:46:44 1994
- ***************
- *** 961,968 ****
- --- 961,975 ----
- {
- static char *dirs[] =
- {
- + #ifndef amigados
- "/lib",
- "/usr/lib",
- + #else
- + "/gnu/lib",
- + "/gnu/lib/libb",
- + "/local/lib",
- + "/local/lib/libb",
- + #endif
- LIBDIR, /* Defined by configuration. */
- 0
- };
- ***************
- *** 971,977 ****
- --- 978,988 ----
- time_t mtime;
-
- /* Buffer to construct possible names in. */
- + #ifndef amigados
- char *buf = xmalloc (sizeof (LIBDIR) + 8 + strlen (libname) + 4 + 2 + 1);
- + #else
- + char *buf = xmalloc (8 + strlen (libname) + 9 + 2 + 1);
- + #endif
- char *file, **dp;
-
- /* Look first for `libNAME.a' in the current directory. */
- diff -rc make-3.70-fsf/remote-cstms.c make-3.70-amiga/remote-cstms.c
- *** make-3.70-fsf/remote-cstms.c Thu Feb 4 18:31:53 1993
- --- make-3.70-amiga/remote-cstms.c Mon Feb 21 13:51:49 1994
- ***************
- *** 35,41 ****
-
- /* File name of the Customs `export' client command.
- A full path name can be used to avoid some path-searching overhead. */
- ! #define EXPORT_COMMAND "/usr/local/bin/export"
-
- /* ExportPermit gotten by start_remote_job_p, and used by start_remote_job. */
- static ExportPermit permit;
- --- 35,41 ----
-
- /* File name of the Customs `export' client command.
- A full path name can be used to avoid some path-searching overhead. */
- ! #define EXPORT_COMMAND "/gnu/bin/export"
-
- /* ExportPermit gotten by start_remote_job_p, and used by start_remote_job. */
- static ExportPermit permit;
-