$OpenBSD: patch-tests_c_at,v 1.1.1.1 2006/12/18 20:35:46 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 ' | /lib/cpp || exit 77], +AT_CHECK([echo '#include ' | /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 ' | /lib/cpp || exit 77], +# Ignore if /usr/bin/cpp doesn't work +AT_CHECK([echo '#include ' | /usr/bin/cpp || exit 77], [], [ignore], [ignore]) AT_DATA([mycc],