summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGary V. Vaughan <gary@gnu.org>2014-11-26 20:33:27 +0000
committerGary V. Vaughan <gary@gnu.org>2014-11-26 20:33:27 +0000
commite3740596954495555727057bd0486241cefdd4a4 (patch)
tree13779630ffeaa0c25696ff0ee8eaa7ae18de3dc1
parent15ed81cd88deaeb83b6c6f60d6fd0556aa5b96c7 (diff)
downloadm4-e3740596954495555727057bd0486241cefdd4a4.tar.gz
modules: Use LT_MODULE_EXT for host module file extension.
* m4/module.c (m4__module_open): Use LT_MODULE_EXT instead of no longer calculated SYS_SHREXT. * m4/path.c (FILE_SUFFIXES): Likewise. Signed-off-by: Gary V. Vaughan <gary@gnu.org>
-rw-r--r--m4/module.c2
-rw-r--r--m4/path.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/m4/module.c b/m4/module.c
index 82c87edc..563cf446 100644
--- a/m4/module.c
+++ b/m4/module.c
@@ -278,7 +278,7 @@ compare_builtin_CB (const void *a, const void *b)
m4_module *
m4__module_open (m4 *context, const char *name, m4_obstack *obs)
{
- static const char * suffixes[] = { "", SYS_SHREXT, NULL };
+ static const char * suffixes[] = { "", LT_MODULE_EXT, NULL };
m4_module * module = NULL;
assert (context);
diff --git a/m4/path.c b/m4/path.c
index 112cf68d..ca5e261c 100644
--- a/m4/path.c
+++ b/m4/path.c
@@ -45,7 +45,7 @@ static const char *FILE_SUFFIXES[] = {
"",
".m4f",
".m4",
- SYS_SHREXT,
+ LT_MODULE_EXT,
NULL
};