diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 33 |
1 files changed, 24 insertions, 9 deletions
diff --git a/configure.ac b/configure.ac index d4106ae7..b8842201 100644 --- a/configure.ac +++ b/configure.ac @@ -24,7 +24,7 @@ AC_USE_SYSTEM_EXTENSIONS AC_CONFIG_SRCDIR([Makefile.am]) AM_INIT_AUTOMAKE([dist-bzip2]) -AM_CONFIG_HEADER([libdrm/config.h]) +AM_CONFIG_HEADER([config.h]) AC_DISABLE_STATIC AC_PROG_LIBTOOL @@ -183,24 +183,39 @@ if test "x$INTEL" != "xno"; then else INTEL=no fi + else + INTEL=yes fi fi AM_CONDITIONAL(HAVE_INTEL, [test "x$INTEL" != "xno"]) +AC_ARG_WITH([kernel-source], + [AS_HELP_STRING([--with-kernel-source], + [specify path to linux kernel source])], + [kernel_source="$with_kernel_source"]) +AC_SUBST(kernel_source) AC_SUBST(WARN_CFLAGS) AC_OUTPUT([ Makefile - libdrm/Makefile - libdrm/intel/Makefile - libdrm/intel/libdrm_intel.pc - libdrm/radeon/Makefile - libdrm/radeon/libdrm_radeon.pc - libdrm/nouveau/Makefile - libdrm/nouveau/libdrm_nouveau.pc - shared-core/Makefile + intel/Makefile + intel/libdrm_intel.pc + radeon/Makefile + radeon/libdrm_radeon.pc + nouveau/Makefile + nouveau/libdrm_nouveau.pc tests/Makefile tests/modeprint/Makefile tests/modetest/Makefile + include/Makefile + include/drm/Makefile libdrm.pc]) + +echo "" +echo "$PACKAGE_STRING will be compiled with:" +echo "" +echo " Intel API $INTEL" +echo " Radeon API $RADEON" +echo " Nouveau API $NOUVEAU" +echo "" |