Module: Mesa
Branch: main
Commit: 9c62aee027d69b9ecc9260885e2a50d922c97a9e
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=9c62aee027d69b9ecc9260885e2a50d922c97a9e

Author: Eric Engestrom <[email protected]>
Date:   Thu Nov 16 15:45:06 2023 +0000

util/xmlconfig: drop default SYSCONFDIR & DATADIR values

The only build system left is meson, which always defines these.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26228>

---

 src/util/xmlconfig.c | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/src/util/xmlconfig.c b/src/util/xmlconfig.c
index 7a753e37e05..8269f022940 100644
--- a/src/util/xmlconfig.c
+++ b/src/util/xmlconfig.c
@@ -1165,14 +1165,6 @@ initOptionCache(driOptionCache *cache, const 
driOptionCache *info)
    }
 }
 
-#ifndef SYSCONFDIR
-#define SYSCONFDIR "/etc"
-#endif
-
-#ifndef DATADIR
-#define DATADIR "/usr/share"
-#endif
-
 static const char *execname;
 
 void

Reply via email to