configure to edit.
* xrdb.c (get_user_db): Test it to decide whether or not to try to
retrieve the screen-dependent resources.
#undef HAVE_LIBXBSD
#undef HAVE_XRMSETDATABASE
+#undef HAVE_XSCREENRESOURCESTRING
+
#undef HAVE_RANDOM
#undef HAVE_BCOPY
free (xdefault);
}
-#ifdef XlibSpecificationRelease
-#if XlibSpecificationRelease >= 5
+#ifdef HAVE_XSCREENRESOURCESTRING
/* Get the screen-specific resources too. */
xdefs = XScreenResourceString (DefaultScreenOfDisplay (display));
if (xdefs != NULL)
XrmMergeDatabases (XrmGetStringDatabase (xdefs), &db);
XFree (xdefs);
}
-#endif
#endif
return db;