Use a different way of getting a short git rev that is compatible to older git versions.

remotes/origin/master-1.1.x
Victor Julien 14 years ago
parent 878d3d87db
commit 627c02e300

@ -820,7 +820,7 @@ AC_CHECK_HEADER(pcap.h,,[AC_ERROR(pcap.h not found ...)])
else
GIT=`which git`
if test "$GIT" != ""; then
REVISION=`git describe --always`
REVISION=`git rev-parse --short HEAD`
CFLAGS="${CFLAGS} -DREVISION=\"${REVISION}\""
fi
fi

Loading…
Cancel
Save