From b38a61cf7011efd095494c4894c319fa965f7bb9 Mon Sep 17 00:00:00 2001 From: hpa Date: Mon, 5 Jan 2004 19:41:42 +0000 Subject: [PATCH] Fixes to help tru64 --- Makefile | 2 +- aclocal.m4 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index dd860e6..d696eb2 100644 --- a/Makefile +++ b/Makefile @@ -46,7 +46,7 @@ release: $(MAKE) distclean MCONFIG: configure MCONFIG.in acconfig.h.in - ./configure + if test -x config.status; then ./config.status; else ./configure; fi acconfig.h: MCONFIG : Generated by side effect diff --git a/aclocal.m4 b/aclocal.m4 index 3fd7844..f53cea9 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -20,7 +20,7 @@ AC_DEFUN(PA_ADD_CFLAGS, [AC_MSG_CHECKING([if $CC accepts $1]) pa_add_cflags__old_cflags="$CFLAGS" CFLAGS="$CFLAGS $1" - AC_TRY_COMPILE([#include ], + AC_TRY_LINK([#include ], [printf("Hello, World!\n");], AC_MSG_RESULT([yes]), AC_MSG_RESULT([no])