1
dnl @ ../doc/m4.texinfo:1859: Origin of test
2
dnl @ Copyright (C) 2006 Free Software Foundation
3
dnl @ This file is free software; the Free Software Foundation
4
dnl @ gives unlimited permission to copy and/or distribute it
5
dnl @ with or without modifications, as long as this notice
7
ifdef(`foo', ``foo' is defined', ``foo' is not defined')
8
dnl @result{}foo is not defined
11
ifdef(`foo', ``foo' is defined', ``foo' is not defined')
12
dnl @result{}foo is defined
13
ifdef(`no_such_macro', `yes', `no', `extra argument')
14
dnl @error{}m4:stdin:4: Warning: excess arguments to builtin `ifdef' ignored