summaryrefslogtreecommitdiff
path: root/m4/module.c
diff options
context:
space:
mode:
Diffstat (limited to 'm4/module.c')
-rw-r--r--m4/module.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/m4/module.c b/m4/module.c
index be6a58dd..838c5f91 100644
--- a/m4/module.c
+++ b/m4/module.c
@@ -286,10 +286,6 @@ m4__module_open (m4 *context, const char *name, m4_obstack *obs)
char *filepath = m4_path_search (context, name, suffixes);
void *handle = NULL;
- /* Use system module search path if m4_path_search fails. */
- if (!filepath)
- filepath = xstrdup (name);
-
if (filepath)
{
handle = dlopen (filepath, RTLD_NOW|RTLD_GLOBAL);