+2005-04-22 Tollef Fog Heen <tfheen@err.no>
+
+ * main.c (main): Re-add PKG_CONFIG_LIBDIR support which was
+ removed by mistake.
+
2005-04-14 Tollef Fog Heen <tfheen@err.no>
* configure.in: Bump to 0.17.2
debug_spew ("PKG_CONFIG_DEBUG_SPEW variable enabling debug spew\n");
}
- search_path = getenv ("PKG_CONFIG_PATH");
- if (search_path)
+ if (getenv("PKG_CONFIG_LIBDIR") != NULL)
{
- add_search_dirs(search_path, G_SEARCHPATH_SEPARATOR_S);
+ add_search_dirs(getenv("PKG_CONFIG_LIBDIR"), G_SEARCHPATH_SEPARATOR_S);
+ }
+ else
+ {
+ search_path = getenv ("PKG_CONFIG_PATH");
+ if (search_path)
+ {
+ add_search_dirs(search_path, G_SEARCHPATH_SEPARATOR_S);
+ }
+
+ add_search_dirs(PKG_CONFIG_PC_PATH, G_SEARCHPATH_SEPARATOR_S);
}
-
- add_search_dirs(PKG_CONFIG_PC_PATH, G_SEARCHPATH_SEPARATOR_S);
#ifdef G_OS_WIN32
{