1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

Upgrade to use cg-commit-id for getting build ID

The recent cogito-0.15 renamed commit-id to have the cg-prefix.
This commit is contained in:
Jonas Fonseca 2005-09-19 11:04:03 +02:00 committed by Jonas Fonseca
parent 2ce808cb0f
commit 5455795394
3 changed files with 4 additions and 4 deletions

View File

@ -42,7 +42,7 @@ BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
CATALOGS = @CATALOGS@
CATOBJEXT = @CATOBJEXT@
CC = @CC@
COMMIT_ID = @COMMIT_ID@
CG_COMMIT_ID = @CG_COMMIT_ID@
CONFDIR = @CONFDIR@
CONFIG_NLS = @CONFIG_NLS@
DATADIRNAME = @DATADIRNAME@

View File

@ -35,7 +35,7 @@ AC_PATH_PROGS(AWK, "$AWK")
AC_PROG_RANLIB
AC_PROG_INSTALL
AC_PATH_PROGS(COMMIT_ID, "commit-id")
AC_PATH_PROGS(CG_COMMIT_ID, "cg-commit-id")
CONFIG_ASCIIDOC="no"
CONFIG_POD2HTML="no"

View File

@ -84,8 +84,8 @@ ELINKSLIBS = \
util/libutil.a
# Get the GIT HEAD ID if possible
ifdef COMMIT_ID
BUILD_ID=$(shell $(COMMIT_ID) 2> /dev/null)
ifdef CG_COMMIT_ID
BUILD_ID=$(shell $(CG_COMMIT_ID) 2> /dev/null)
endif
INCLUDES += -DBUILD_ID="\"$(BUILD_ID)\""