1969 |
shuffled. Otherwise, attempt to open FILENAME as a module. */ |
shuffled. Otherwise, attempt to open FILENAME as a module. */ |
1970 |
if (prefix) |
if (prefix) |
1971 |
{ |
{ |
1972 |
error += tryall_dlopen_module (handle, 0, prefix, filename); |
error += tryall_dlopen_module (handle, |
1973 |
|
(const char *) 0, prefix, filename); |
1974 |
} |
} |
1975 |
else if (tryall_dlopen (handle, filename) != 0) |
else if (tryall_dlopen (handle, filename) != 0) |
1976 |
{ |
{ |
2004 |
/* try to open the installed module */ |
/* try to open the installed module */ |
2005 |
if (installed && libdir) |
if (installed && libdir) |
2006 |
{ |
{ |
2007 |
if (tryall_dlopen_module (handle, 0, libdir, dlname) == 0) |
if (tryall_dlopen_module (handle, |
2008 |
|
(const char *) 0, libdir, dlname) == 0) |
2009 |
return 0; |
return 0; |
2010 |
} |
} |
2011 |
|
|
2018 |
|
|
2019 |
/* maybe it was moved to another directory */ |
/* maybe it was moved to another directory */ |
2020 |
{ |
{ |
2021 |
if (tryall_dlopen_module (handle, 0, dir, dlname) == 0) |
if (tryall_dlopen_module (handle, |
2022 |
|
(const char *) 0, dir, dlname) == 0) |
2023 |
return 0; |
return 0; |
2024 |
} |
} |
2025 |
} |
} |