configure.ac: drop obsolete GIT_VERSION

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult
2025-12-31 11:16:05 +01:00
parent 66fbe81f89
commit 6b07c9e4bc
3 changed files with 0 additions and 15 deletions

View File

@@ -171,15 +171,6 @@ AM_CONDITIONAL(LIBUDEV, test x$LIBUDEV = xyes)
PKG_CHECK_MODULES([SPICE_PROTOCOL], [spice-protocol >= 0.12.0])
# AC_CHECK_FILE is not supported when cross compiling
if test "$cross_compiling" = "no" ; then
AC_CHECK_FILE(.git, [
GIT_VERSION=`git log -1 --format=%h`
AC_DEFINE_UNQUOTED([GIT_VERSION], ["$GIT_VERSION"], [Defined if building from git])
]
)
fi
AC_CONFIG_FILES([
Makefile
src/Makefile

View File

@@ -1147,9 +1147,6 @@ qxl_pre_init (ScrnInfoPtr pScrn, int flags)
CHECK_POINT ();
xf86DrvMsg (scrnIndex, X_INFO, "PreInit complete\n");
#ifdef GIT_VERSION
xf86DrvMsg (scrnIndex, X_INFO, "git commit %s\n", GIT_VERSION);
#endif
return TRUE;
out:

View File

@@ -188,9 +188,6 @@ Bool qxl_pre_init_kms(ScrnInfoPtr pScrn, int flags)
pScrn->display->virtualY = qxl->virtual_y;
xf86DrvMsg (scrnIndex, X_INFO, "PreInit complete\n");
#ifdef GIT_VERSION
xf86DrvMsg (scrnIndex, X_INFO, "git commit %s\n", GIT_VERSION);
#endif
return TRUE;