31 lines
854 B
Plaintext
31 lines
854 B
Plaintext
$OpenBSD: patch-tests_c_at,v 1.2 2006/07/21 12:27:48 espie Exp $
|
|
--- tests/c.at.orig Wed Mar 8 21:47:02 2006
|
|
+++ tests/c.at Sat Jul 8 17:18:23 2006
|
|
@@ -141,13 +141,13 @@ 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.
|
|
AT_DATA([mycpp],
|
|
[[#! /bin/sh
|
|
-/lib/cpp "$@"
|
|
+/usr/bin/cpp "$@"
|
|
exit 0
|
|
]])
|
|
|
|
@@ -178,8 +178,8 @@ 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],
|
|
+# Ignore if /usr/bin/cpp doesn't work
|
|
+AT_CHECK([echo '#include <stdio.h>' | /usr/bin/cpp || exit 77],
|
|
[], [ignore], [ignore])
|
|
|
|
AT_DATA([mycc],
|