diff options
author | kraxel <kraxel> | 2006-08-16 08:04:26 +0000 |
---|---|---|
committer | kraxel <kraxel> | 2006-08-16 08:04:26 +0000 |
commit | 98180740659f64ece43a613147a4af133881bfff (patch) | |
tree | 199bc9c0b512416d736b12b7c83d78cd581cfd2d /mk/Autoconf.mk | |
parent | 302b504a141d089a648e422e14bedaea9ad6edaa (diff) | |
download | fbida-98180740659f64ece43a613147a4af133881bfff.tar.gz |
xorg 7.1
Diffstat (limited to 'mk/Autoconf.mk')
-rw-r--r-- | mk/Autoconf.mk | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/mk/Autoconf.mk b/mk/Autoconf.mk index aea4900..65cd915 100644 --- a/mk/Autoconf.mk +++ b/mk/Autoconf.mk @@ -106,8 +106,13 @@ ac_lib64 = $(shell \ # check for x11 ressource dir prefix ac_resdir = $(shell \ $(call ac_init,for X11 app-defaults prefix);\ - $(call ac_s_cmd, test -d /etc/X11/app-defaults &&\ - echo "/etc/X11" || echo "/usr/X11R6/lib/X11");\ + $(call ac_s_cmd, for dir in \ + /etc/X11/app-defaults \ + /usr/X11R6/lib/X11/app-defaults \ + /usr/share/X11/app-defaults \ + /usr/lib/X11/app-defaults \ + ; do test -d "$$dir" || continue;\ + dirname "$$dir"; break; done);\ $(call ac_fini)) # check if package is installed, via pkg-config |