]> git.puffer.fish Git - mirror/frr.git/commit
build: fix "pragma weak" mixups
authorDavid Lamparter <equinox@opensourcerouting.org>
Sun, 27 Jan 2013 03:46:02 +0000 (04:46 +0100)
committerDavid Lamparter <equinox@opensourcerouting.org>
Sat, 9 Feb 2013 02:00:12 +0000 (03:00 +0100)
commitb2baffe8d255890b85d93aee653bed2c18371128
tree59fd3cada2ac805f46641e4aaf6ee98edddee0bd
parentb0baf0740e3d6a01980cef7ea0af0a61c10b1bcd
build: fix "pragma weak" mixups

Not only was there a minor typo in the "pragma weak" preprocessor
checks, but also were the tests not behaving as needed - they only
indicated support for the /first/ method of implementing weak aliases,
which on Linux is __attribute__ and not #pragma.

* m4/ax_sys_weak_alias.m4: set defines for _all_ weak alias methods
* zebra/kernel_null.c: fix typo

Cc: Doug VanLeuven <roamdad@sonic.net>
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
m4/ax_sys_weak_alias.m4
zebra/kernel_null.c