* libltdl/ltdl.c (try_dlopen, lt_dlforeachfile): Use correct cpp

macro name, LT_DLSEARCH_PATH.
This commit is contained in:
Gary V. Vaughan 2004-09-01 08:51:35 +00:00
parent 5ecc2c7c3a
commit 23b9ddd8a3
2 changed files with 6 additions and 3 deletions

View File

@ -1,5 +1,8 @@
2004-09-01 Gary V. Vaughan <gary@gnu.org>
* libltdl/ltdl.c (try_dlopen, lt_dlforeachfile): Use correct cpp
macro name, LT_DLSEARCH_PATH.
* libltdl/ltdl.c (lt_dlexit, tryall_dlopen): Fix gcc parentheses
warning.
(foreach_dirinpath, try_dlopen, lt_dlpath_insertdir): Fix gcc

View File

@ -1063,7 +1063,7 @@ try_dlopen (lt_dlhandle *phandle, const char *filename)
file = find_file (search_path, base_name, &dir);
}
#endif
#if defined(LT_SYS_DLSEARCH_PATH)
#if defined(LT_DLSEARCH_PATH)
if (!file && sys_dlsearch_path)
{
file = find_file (sys_dlsearch_path, base_name, &dir);
@ -1260,7 +1260,7 @@ try_dlopen (lt_dlhandle *phandle, const char *filename)
&& !find_handle (getenv (LT_MODULE_PATH_VAR), base_name,
&newhandle)
#endif
#if defined(LT_SYS_DLSEARCH_PATH)
#if defined(LT_DLSEARCH_PATH)
&& !find_handle (sys_dlsearch_path, base_name, &newhandle)
#endif
)))
@ -1627,7 +1627,7 @@ lt_dlforeachfile (const char *search_path,
foreachfile_callback, func, data);
}
#endif
#if defined(LT_SYS_DLSEARCH_PATH)
#if defined(LT_DLSEARCH_PATH)
if (!is_done && sys_dlsearch_path)
{
is_done = foreach_dirinpath (sys_dlsearch_path, 0,