From 89376b7141edb6f927fb940c27391cda6e67c785 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 19 Feb 2009 19:55:40 +0000 Subject: Initial import. --- m4/rtems-check-libargs.m4 | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 m4/rtems-check-libargs.m4 (limited to 'm4/rtems-check-libargs.m4') diff --git a/m4/rtems-check-libargs.m4 b/m4/rtems-check-libargs.m4 new file mode 100644 index 0000000..27e67e1 --- /dev/null +++ b/m4/rtems-check-libargs.m4 @@ -0,0 +1,9 @@ +# This macro can be provided as a 5th argument +# to AC_CHECK_LIB() so that linking an RTEMS +# application works. Without that, linking would +# fail because the application usually supplies +# rtems_bsdnet_config. +# In order to link, we create a dummy symbol. +AC_DEFUN([TILLAC_RTEMS_CHECK_LIB_ARGS], + [[-Wl,--defsym,rtems_bsdnet_config=0]]dnl +) -- cgit v1.2.3