(install): Run test-installation.pl if possible.
authordrepper <drepper>
Tue, 11 Nov 1997 20:33:14 +0000 (20:33 +0000)
committerdrepper <drepper>
Tue, 11 Nov 1997 20:33:14 +0000 (20:33 +0000)
Makefile

index 22cea63..0d94985 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -124,6 +124,13 @@ ifeq (yes,$(build-shared))
 install:
        -test ! -x $(common-objpfx)elf/ldconfig || \
          $(common-objpfx)elf/ldconfig -d $(inst_slibdir) $(inst_libdir)
 install:
        -test ! -x $(common-objpfx)elf/ldconfig || \
          $(common-objpfx)elf/ldconfig -d $(inst_slibdir) $(inst_libdir)
+ifneq (no,$(PERL))
+ifeq (/usr,$(prefix))
+ifeq (,$(install_root))
+       CC=$(CC) $(PERL) test-installation.pl $(common-objpfx)
+endif
+endif
+endif
 endif
 endif
 
 endif
 endif