From 7ac9c144fa9e411e7afd27b10942b7897a2e5433 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Henrik=20Grubbstr=C3=B6m=20=28Grubba=29?=
 <grubba@grubba.org>
Date: Thu, 3 Dec 1998 04:16:05 +0100
Subject: [PATCH] Added workaround for AC_PROG_INSTALL being broken. Needed for
 FreeBSD ports support.

Rev: src/configure.in:1.255
---
 src/configure.in | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/src/configure.in b/src/configure.in
index 3c95b43e19..aa7b15f39d 100644
--- a/src/configure.in
+++ b/src/configure.in
@@ -1,4 +1,4 @@
-AC_REVISION("$Id: configure.in,v 1.254 1998/11/22 11:02:38 hubbe Exp $")
+AC_REVISION("$Id: configure.in,v 1.255 1998/12/03 03:16:05 grubba Exp $")
 AC_INIT(interpret.c)
 AC_CONFIG_HEADER(machine.h)
 
@@ -603,6 +603,15 @@ fi
 
 #############################################################################
 
+# The AC_PROG_INSTALL test is broken if $INSTALL is specified by hand.
+# The FreeBSD ports system does this...
+# Workaround:
+
+if test "x$INSTALL" = "x"; then :; else
+  # $INSTALL overrides ac_cv_path_install anyway...
+  ac_cv_path_install="$INSTALL"
+fi
+
 AC_PROG_INSTALL
 AC_PROG_CPP
 AC_PROG_RANLIB
-- 
GitLab