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
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);
&& !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
)))
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,