openbsd-ports/devel/autoconf/2.68/patches/patch-tests_c_at
2011-05-12 00:10:33 +00:00

22 lines
738 B
Plaintext

$OpenBSD: patch-tests_c_at,v 1.1 2011/05/12 00:10:33 sthen Exp $
--- tests/c.at.orig Sat Oct 31 13:33:00 2009
+++ tests/c.at Mon Mar 8 12:26:48 2010
@@ -141,7 +141,7 @@ AT_CLEANUP
AT_SETUP([AC_PROG_CPP without warnings])
# Ignore if /lib/cpp doesn't work
-AT_CHECK([[echo '#include <stdio.h>' | /lib/cpp || exit 77]],
+AT_CHECK([[echo '#include <stdio.h>' | /usr/bin/cpp || exit 77]],
[], [ignore], [ignore])
# A cpp which exit status is meaningless.
@@ -181,7 +181,7 @@ AT_CLEANUP
AT_SETUP([AC_PROG_CPP via CC])
# Ignore if /lib/cpp doesn't work
-AT_CHECK([[echo '#include <stdio.h>' | /lib/cpp || exit 77]],
+AT_CHECK([[echo '#include <stdio.h>' | /usr/bin/cpp || exit 77]],
[], [ignore], [ignore])
AT_DATA([mycc],