summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2010-01-23 20:18:43 +0800
committerChia-I Wu <[email protected]>2010-01-23 20:30:11 +0800
commit28c3e57c8354f988f49bac69a6866418e6009a5d (patch)
treeb7047a239d752c1c03739851dbb91894d976a746 /configure.ac
parent6c4431c092b06d31eee5ac7ed656ab6d6423c3ef (diff)
egl: Install drivers to ${libdir}/egl.
Install EGL drivers to EGL_DRIVER_INSTALL_DIR, which is default to ${libdir}/egl.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac7
1 files changed, 7 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 370bd1b9b7f..6f8b76d7ca9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1231,6 +1231,13 @@ yes)
esac
AC_SUBST([EGL_DISPLAYS])
+AC_ARG_WITH([egl-driver-dir],
+ [AS_HELP_STRING([--with-egl-driver-dir=DIR],
+ [directory for EGL drivers [[default=${libdir}/egl]]])],
+ [EGL_DRIVER_INSTALL_DIR="$withval"],
+ [EGL_DRIVER_INSTALL_DIR='${libdir}/egl'])
+AC_SUBST([EGL_DRIVER_INSTALL_DIR])
+
AC_ARG_WITH([xorg-driver-dir],
[AS_HELP_STRING([--with-xorg-driver-dir=DIR],
[Default xorg driver directory[[default=${libdir}/xorg/modules/drivers]]])],