# 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
])