summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhpa <hpa>2004-01-05 19:41:42 +0000
committerhpa <hpa>2004-01-05 19:41:42 +0000
commitb38a61cf7011efd095494c4894c319fa965f7bb9 (patch)
tree6770a75344c714cf3f823378ee77d73a2540eb77
parent454370c052fade3a73f3d18da4141fb646d206d9 (diff)
downloadtftp-hpa-b38a61cf7011efd095494c4894c319fa965f7bb9.tar.gz
Fixes to help tru64
-rw-r--r--Makefile2
-rw-r--r--aclocal.m42
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 <stdio.h>],
+ AC_TRY_LINK([#include <stdio.h>],
[printf("Hello, World!\n");],
AC_MSG_RESULT([yes]),
AC_MSG_RESULT([no])