/[autoconf]/autoconf/tests/base.at
ViewVC logotype

Diff of /autoconf/tests/base.at

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.30 by akim, Mon Oct 8 08:21:00 2001 UTC revision 1.31 by akim, Thu May 22 13:24:08 2003 UTC
# Line 192  AT_SETUP([AC_CACHE_CHECK]) Line 192  AT_SETUP([AC_CACHE_CHECK])
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
# Line 212  AT_DATA([configure.ac], Line 212  AT_DATA([configure.ac],
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  ]])  ]])

Legend:
Removed from v.1.30  
changed lines
  Added in v.1.31

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26