201 |
[m4_fatal([assert failed: $1], [$2])])]) |
[m4_fatal([assert failed: $1], [$2])])]) |
202 |
|
|
203 |
|
|
204 |
|
|
205 |
## ------------- ## |
## ------------- ## |
206 |
## 3. Warnings. ## |
## 3. Warnings. ## |
207 |
## ------------- ## |
## ------------- ## |
208 |
|
|
209 |
|
|
210 |
|
# _m4_warn(CATEGORY, MESSAGE, STACK-TRACE) |
211 |
|
# ---------------------------------------- |
212 |
|
# Report a MESSAGE to the user if the CATEGORY of warnings is enabled. |
213 |
|
# This is for traces only. |
214 |
|
# The STACK-TRACE is a \n-separated list of "LOCATION: MESSAGE". |
215 |
|
m4_define([_m4_warn], []) |
216 |
|
|
217 |
|
|
218 |
# m4_warn(CATEGORY, MESSAGE) |
# m4_warn(CATEGORY, MESSAGE) |
219 |
# -------------------------- |
# -------------------------- |
220 |
# Report a MESSAGE to the autoconf user if the CATEGORY of warnings |
# Report a MESSAGE to the user if the CATEGORY of warnings is enabled. |
221 |
# is requested (in fact, not disabled). This is for traces only. |
m4_define([m4_warn], |
222 |
m4_define([m4_warn], []) |
[_m4_warn([$1], [$2], |
223 |
|
m4_ifdef([m4_expansion_stack], |
224 |
|
[m4_defn([m4_expansion_stack]) |
225 |
|
m4_location[: the top level]])) |
226 |
|
]) |
227 |
|
|
228 |
|
|
229 |
|
|