aboutsummaryrefslogtreecommitdiffstats
path: root/m4/pth.m4
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--m4/pth.m45
1 files changed, 1 insertions, 4 deletions
diff --git a/m4/pth.m4 b/m4/pth.m4
index db951705..10f64e15 100644
--- a/m4/pth.m4
+++ b/m4/pth.m4
@@ -285,8 +285,6 @@ dnl fi
#include <pth.h>
])
define(_code2, [dnl
- int main(int argc, char *argv[])
- {
FILE *fp;
if (!(fp = fopen("conftestval", "w")))
exit(1);
@@ -299,7 +297,6 @@ dnl fi
fprintf(fp, "yes");
fclose(fp);
exit(0);
- }
])
_AC_PTH_VERBOSE([+ Performing Sanity Checks:])
_AC_PTH_VERBOSE([ o pre-processor test])
@@ -329,7 +326,7 @@ dnl fi
See config.log for possibly more details.])
fi
_AC_PTH_VERBOSE([ o run-time check])
- AC_TRY_RUN(_code1 _code2, _ok=`cat conftestval`, _ok=no, _ok=no)
+ AC_TRY_RUN(AC_LANG_PROGRAM(_code1, _code2), _ok=`cat conftestval`, _ok=no, _ok=no)
if test ".$_ok" != .yes; then
if test ".$_ok" = .no; then
_AC_PTH_ERROR([dnl