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

Diff of /autoconf/tests/m4sugar.at

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

revision 1.24 by akim, Fri Aug 22 13:38:34 2003 UTC revision 1.25 by akim, Wed Aug 27 15:14:04 2003 UTC
# Line 44  AT_SETUP([[m4@&t@_warn]]) Line 44  AT_SETUP([[m4@&t@_warn]])
44  AT_DATA_M4SUGAR([script.4s],  AT_DATA_M4SUGAR([script.4s],
45  [[m4_init  [[m4_init
46  m4_defun([cross_warning],  m4_defun([cross_warning],
47  [m4_warn([cross],  [cross])  [m4_warn([cross],  [cross])])
 ])  
48    
49  m4_warn([obsolete],  [obsolete])  m4_divert_push([0])m4_wrap([m4_divert_pop([0])[]])dnl
50  cross_warning  m4_warn([obsolete],  [obsolete])dnl
51  m4_warn([syntax], [syntax])  cross_warning[]dnl
52    m4_warn([syntax], [syntax])dnl
53  ]])  ]])
54    
55  AT_CHECK_M4SUGAR([-o-], 0, [],  AT_CHECK_M4SUGAR([-o-], 0, [],
# Line 59  AT_CHECK_M4SUGAR([-o-], 0, [], Line 59  AT_CHECK_M4SUGAR([-o-], 0, [],
59  AT_CHECK_M4SUGAR([-o- -Wall -f], 0, [],  AT_CHECK_M4SUGAR([-o- -Wall -f], 0, [],
60  [script.4s:6: warning: obsolete  [script.4s:6: warning: obsolete
61  script.4s:7: warning: cross  script.4s:7: warning: cross
62  script.4s:4: cross_warning is expanded from...  script.4s:3: cross_warning is expanded from...
63  script.4s:7: the top level  script.4s:7: the top level
64  script.4s:8: warning: syntax  script.4s:8: warning: syntax
65  ])  ])
66    
67  AT_CHECK_M4SUGAR([-o- -Wnone,cross -f], 0, [],  AT_CHECK_M4SUGAR([-o- -Wnone,cross -f], 0, [],
68  [script.4s:7: warning: cross  [script.4s:7: warning: cross
69  script.4s:4: cross_warning is expanded from...  script.4s:3: cross_warning is expanded from...
70  script.4s:7: the top level  script.4s:7: the top level
71  ])  ])
72    
73  AT_CHECK_M4SUGAR([-o- -Wnone,cross,error -f], 1, [],  AT_CHECK_M4SUGAR([-o- -Wnone,cross,error -f], 1, [],
74  [[script.4s:7: warning: cross  [[script.4s:7: warning: cross
75  script.4s:4: cross_warning is expanded from...  script.4s:3: cross_warning is expanded from...
76  script.4s:7: the top level  script.4s:7: the top level
77  ]])  ]])
78    
# Line 100  m4_defun([baz], Line 100  m4_defun([baz],
100  [m4_require([foo])])  [m4_require([foo])])
101    
102  m4_init  m4_init
103    m4_divert_push([0])m4_wrap([m4_divert_pop([0])[]])dnl
104  baz  baz
105  ]])  ]])
106    
107  AT_CHECK_M4SUGAR([], 1, [],  AT_CHECK_M4SUGAR([], 1, [],
108  [[script.4s:11: error: m4@&t@_require: circular dependency of foo  [[script.4s:12: error: m4@&t@_require: circular dependency of foo
109  script.4s:11: foo is required by...  script.4s:12: foo is required by...
110  script.4s:5: bar is expanded from...  script.4s:5: bar is expanded from...
111  script.4s:11: bar is required by...  script.4s:12: bar is required by...
112  script.4s:2: foo is expanded from...  script.4s:2: foo is expanded from...
113  script.4s:11: foo is required by...  script.4s:12: foo is required by...
114  script.4s:8: baz is expanded from...  script.4s:8: baz is expanded from...
115  script.4s:11: the top level  script.4s:12: the top level
116  autom4te: m4 failed with exit status: 1  autom4te: m4 failed with exit status: 1
117  ]])  ]])
118  AT_CLEANUP  AT_CLEANUP

Legend:
Removed from v.1.24  
changed lines
  Added in v.1.25

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