192 |
AT_DATA([configure.ac], |
AT_DATA([configure.ac], |
193 |
[[AC_INIT |
[[AC_INIT |
194 |
AC_CACHE_CHECK([for nothing], |
AC_CACHE_CHECK([for nothing], |
195 |
[ac_nothing], |
[ac_nothing], |
196 |
[ac_nothing=found]) |
[ac_nothing=found]) |
197 |
]]) |
]]) |
198 |
|
|
199 |
AT_CHECK_AUTOCONF |
AT_CHECK_AUTOCONF |
212 |
[[AC_INIT |
[[AC_INIT |
213 |
|
|
214 |
if AC_TRY_COMMAND([(echo "The Cat in the Hat"; |
if AC_TRY_COMMAND([(echo "The Cat in the Hat"; |
215 |
echo "The Hat in the Cat" >&2) |
echo "The Hat in the Cat" >&2) |
216 |
| grep \^The\ Cat\ in\ the\ Hat\$ >/dev/null]); then |
| grep \^The\ Cat\ in\ the\ Hat\$ >/dev/null]); then |
217 |
: |
: |
218 |
else |
else |
219 |
AC_MSG_ERROR([Didn't see the Cat in the Hat!]) |
AC_MSG_ERROR([Didn't see the Cat in the Hat!]) |
220 |
fi |
fi |
221 |
|
|
222 |
if AC_TRY_COMMAND([(echo "The Cat in the Hat"; |
if AC_TRY_COMMAND([(echo "The Cat in the Hat"; |
223 |
echo "The Hat in the Cat" >&2) |
echo "The Hat in the Cat" >&2) |
224 |
| grep \^The\ Hat\ in\ the\ Cat\$ >/dev/null]); then |
| grep \^The\ Hat\ in\ the\ Cat\$ >/dev/null]); then |
225 |
AC_MSG_ERROR([Saw the Hat in the Cat!]) |
AC_MSG_ERROR([Saw the Hat in the Cat!]) |
226 |
fi |
fi |
227 |
]]) |
]]) |