mirror of
https://github.com/X11Libre/xf86-video-qxl.git
synced 2026-03-24 01:24:24 +00:00
configure.ac: drop obsolete GIT_VERSION
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user