/[m4]/m4/tests/testsuite.at
ViewVC logotype

Diff of /m4/tests/testsuite.at

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

revision 1.6 by akim, Mon Aug 27 07:49:30 2001 UTC revision 1.7 by akim, Mon Aug 27 08:02:19 2001 UTC
# Line 21  Line 21 
21  # We need a recent Autotest.  # We need a recent Autotest.
22  m4_version_prereq([2.52c])  m4_version_prereq([2.52c])
23    
24  # AT_CHECK_M4(FLAGS, [EXIT-STATUS = 0], STDOUT, STDERR)  # AT_CHECK_M4(FLAGS, [EXIT-STATUS], [STDOUT], [STDERR])
25  # -----------------------------------------------------  # -----------------------------------------------------
26  # Hide the impact of libtool on program_invocation_name, and hide  # Hide the impact of libtool on program_invocation_name, and hide
27  # the differences of paths when src != build.  # the differences of paths when src != build.
28  m4_define([AT_CHECK_M4],  m4_define([AT_CHECK_M4],
29  [AT_CHECK([M4PATH=$top_srcdir $M4 -M $top_builddir/modules -d $1],  [AT_CHECK([M4PATH=$top_srcdir m4 -M $top_builddir/modules -d $1],
30            [m4_default([$2], [0])],            [$2], [$3], [$4])
           [$3], [stderr])  
 AT_CHECK([[sed -e 's,^[^:]*[lt-]*m4[.ex]*:,m4:,' \  
                -e 's,m4: ../../,m4: ../,'        stderr >&2]], 0, [], [$4])  
31  ])  ])
32    
33    
34  # We use `dnl' in zillions of places...  # We use `dnl' in zillions of places...
35  m4_pattern_allow([^dnl$])  m4_pattern_allow([^dnl$])
36    
37  AT_INIT([$M4])  
38    
39    ## ----------- ##
40    ## The suite.  ##
41    ## ----------- ##
42    
43    AT_INIT([m4])
44    
45  # Hand crafted tests.  # Hand crafted tests.
46  m4_include([others.at])  m4_include([others.at])

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

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