diff options
author | Roland McGrath <roland@gnu.org> | 1995-09-23 06:49:50 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1995-09-23 06:49:50 +0000 |
commit | 114065e4c9ff7b1f9500b13781c7ba2268ab0157 (patch) | |
tree | 113fe01251bafe1c0b16a484b1ad54e07bb03496 /Makeconf | |
parent | a7cf4724335abfbe80632af5504563a26ee28e2c (diff) |
(top_srcdir): Define properly in parent directory.
Diffstat (limited to 'Makeconf')
-rw-r--r-- | Makeconf | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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. |