chore, extradite common DSO options into AM_MODFLAGS

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
chore, add -avoid-version to AM_MODFLAGS so DSOs install as .so

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, distribute modules into `pkglibdir', mimicking automake's take on this

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
chore, PEBKAC, also add INCLDTL to CPPFLAGS and LIBADD_DL to LDFLAGS as recommended in the autobook

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
Merge branch 'bld/dist' into next

* bld/dist:
  chore, PEBKAC, also add INCLDTL to CPPFLAGS and LIBADD_DL to LDFLAGS as recommended in the autobook
  minor, distribute modules into `pkglibdir', mimicking automake's take on this
  chore, add -avoid-version to AM_MODFLAGS so DSOs install as .so
  chore, extradite common DSO options into AM_MODFLAGS
Merge branch 'next'

* next:
  chore, PEBKAC, also add INCLDTL to CPPFLAGS and LIBADD_DL to LDFLAGS as recommended in the autobook
  minor, distribute modules into `pkglibdir', mimicking automake's take on this
  chore, add -avoid-version to AM_MODFLAGS so DSOs install as .so
  chore, extradite common DSO options into AM_MODFLAGS