modules: use only host system module file extension in searches.
commit0e0b031066a7974c19a48f87ff51fcb5c7502fce
authorGary V. Vaughan <gary@gnu.org>
Wed, 26 Nov 2014 16:04:45 +0000 (26 16:04 +0000)
committerGary V. Vaughan <gary@gnu.org>
Wed, 26 Nov 2014 16:04:45 +0000 (26 16:04 +0000)
treefb9511c583966c612766fb9c8e3255d6adda507e
parent3834539812ee0415494f2bfd1aa1d67745b1b293
modules: use only host system module file extension in searches.

* configure.ac (SYS_SHREXT): Define to host system module file
extension.
* m4/module.c (suffixes), m4/path.c (FILE_SUFFIXES): Use it
instead of listing suffixes for all supported host systems.
Reported by Pavel Raiskup

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
configure.ac
m4/module.c
m4/path.c