From 114065e4c9ff7b1f9500b13781c7ba2268ab0157 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sat, 23 Sep 1995 06:49:50 +0000 Subject: (top_srcdir): Define properly in parent directory. --- Makeconf | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makeconf b/Makeconf index 81f9ce37..fb79f927 100644 --- a/Makeconf +++ b/Makeconf @@ -40,7 +40,11 @@ endif ifndef srcdir # We are building in the source directory itself. srcdir = . -top_srcdir = $(..:%/=%) +ifeq (.,$(dir)) +top_srcdir = . +else +top_srcdir = .. +endif endif # Include the configure-generated file of parameters. -- cgit v1.2.3