diff --git a/CHANGES b/CHANGES index 67aec60..f510e78 100644 --- a/CHANGES +++ b/CHANGES @@ -11,6 +11,15 @@ Porting: When NETDB_INTERNAL is not available it should be set to -1. Thanks to Baruch Siach for sending a patch. +Building: + Makefile.in: procan.o build requires srcdir prefix for explicit source + file. + Thanks to Hongxu Jia and Andrew Schoolman for providing patches. + + Makefile.in: the CC define for procan.o build failed when CC had more + than one word. + Thanks to Hongxu Jia for providing an inital patch. + Testing: test.sh: lots of corrections and improvements diff --git a/Makefile.in b/Makefile.in index c01b1a4..631d31d 100644 --- a/Makefile.in +++ b/Makefile.in @@ -109,8 +109,8 @@ depend: $(CFILES) $(HFILES) socat: socat.o libxio.a $(CC) $(CFLAGS) $(LDFLAGS) -o $@ socat.o libxio.a $(CLIBS) -procan.o: procan.c - $(CC) $(CFLAGS) -c -D CC=\"$(CC)\" -o $@ procan.c +procan.o: $(srcdir)/procan.c + $(CC) $(CFLAGS) -c -D CC="\"$(CC)\"" -o $@ $(srcdir)/procan.c PROCAN_OBJS=procan_main.o procan.o procan-cdefs.o hostan.o error.o sycls.o sysutils.o utils.o vsnprintf_r.o snprinterr.o procan: $(PROCAN_OBJS)