diff options
-rw-r--r-- | m4/module.m4 | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/m4/module.m4 b/m4/module.m4 new file mode 100644 index 0000000..69767d9 --- /dev/null +++ b/m4/module.m4 @@ -0,0 +1,9 @@ +# DISP_MODULE(name, ld_flags) +# Create a new display module, namely a shared library called +# "./.libs/NAME.so.0". LD_FLAGS provides addotionnal libraries to link +# against. +AC_DEFUN([DISP_MODULE], + [noinst_LTLIBRARIES = $1.la + $1_la_SOUCES = $1.c + $1_la_LDFLAGS = -module -rpath @abs_srcdir@ $2 +]) |