From 9fe0a0589d0a1ee9b748f45d71e50a2a0ad16e7d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Grubbstr=C3=B6m=20=28Grubba=29?= <grubba@grubba.org> Date: Sat, 16 Aug 1997 20:55:03 +0200 Subject: [PATCH] Now checks that the INSTALL program works. Rev: src/configure.in:1.105 --- src/configure.in | 35 ++++++++++++++++++++++++++++++++++- 1 file changed, 34 insertions(+), 1 deletion(-) diff --git a/src/configure.in b/src/configure.in index e9a651205b..31f2140c63 100644 --- a/src/configure.in +++ b/src/configure.in @@ -1,4 +1,4 @@ -AC_REVISION("$Id: configure.in,v 1.104 1997/08/10 00:49:52 grubba Exp $") +AC_REVISION("$Id: configure.in,v 1.105 1997/08/16 18:55:03 grubba Exp $") AC_INIT(interpret.c) AC_CONFIG_HEADER(machine.h) @@ -295,6 +295,39 @@ AC_SET_MAKE ############################################################################# +# installbsd seems to be broken on some versions of AIX +# +# /grubba 1997-08-16 + +case "$ac_cv_path_install" in + *installbsd*) + AC_MSG_CHECKING(if $ac_cv_path_install works) + AC_CACHE_VAL(pike_cv_install_works, +[ + if $ac_cv_path_install "$srcdir/configure.in" ./conftest >/dev/null 2>&1 + then + if cmp "$srcdir/configure.in" ./conftest >/dev/null 2>&1; then + pike_cv_install_works=yes; + else + pike_cv_install_works=no; + fi + else + pike_cv_install_works=no; + fi + if test -f ./conftest; then + rm -f ./conftest + fi +]) + AC_MSG_RESULT($pike_cv_install_works) + if test "$pike_cv_install_works" = "no"; then + echo "Warning: Falling back to $ac_install_sh" + INSTALL="$ac_install_sh" + fi + ;; +esac + +############################################################################# + AC_MSG_CHECKING(for yacc clone that handles %pure_parser) AC_CACHE_VAL(pike_cv_prog_working_yacc, [ -- GitLab