mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-07 08:40:21 +02:00
(libpath.h): In SCM_BUILD_INFO, also include `buildstamp'.
This commit is contained in:
parent
0a3c6bb22a
commit
54f16aecf9
1 changed files with 8 additions and 6 deletions
|
@ -3,17 +3,17 @@
|
|||
## Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
|
||||
##
|
||||
## This file is part of GUILE.
|
||||
##
|
||||
##
|
||||
## GUILE is free software; you can redistribute it and/or modify
|
||||
## it under the terms of the GNU General Public License as
|
||||
## published by the Free Software Foundation; either version 2, or
|
||||
## (at your option) any later version.
|
||||
##
|
||||
##
|
||||
## GUILE is distributed in the hope that it will be useful, but
|
||||
## WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
## GNU General Public License for more details.
|
||||
##
|
||||
##
|
||||
## You should have received a copy of the GNU General Public
|
||||
## License along with GUILE; see the file COPYING. If not, write
|
||||
## to the Free Software Foundation, Inc., 59 Temple Place, Suite
|
||||
|
@ -120,7 +120,7 @@ libguile_la_DEPENDENCIES = @LIBLOBJS@
|
|||
libguile_la_LIBADD = @LIBLOBJS@ $(LIBLTDL) $(THREAD_LIBS_LOCAL)
|
||||
libguile_la_LDFLAGS = -version-info @LIBGUILE_INTERFACE_CURRENT@:@LIBGUILE_INTERFACE_REVISION@:@LIBGUILE_INTERFACE_AGE@ -export-dynamic -no-undefined
|
||||
|
||||
# These are headers visible as <guile/mumble.h>
|
||||
# These are headers visible as <guile/mumble.h>
|
||||
pkginclude_HEADERS = gh.h
|
||||
|
||||
# These are headers visible as <libguile/mumble.h>.
|
||||
|
@ -155,7 +155,7 @@ EXTRA_DIST = ChangeLog-gh ChangeLog-scm ChangeLog-threads \
|
|||
|
||||
## FIXME: Consider using timestamp file, to avoid unnecessary rebuilds.
|
||||
libpath.h: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
@echo "Generating libpath.h..."
|
||||
@echo "Generating libpath.h..."
|
||||
@rm -f libpath.tmp
|
||||
@echo '/* generated by Makefile */' > libpath.tmp
|
||||
@echo '#define SCM_PKGDATA_DIR "$(pkgdatadir)"' >> libpath.tmp
|
||||
|
@ -183,8 +183,10 @@ libpath.h: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
|||
@echo ' { "pkgincludedir", "$(includedir)/@PACKAGE@" }, \' \
|
||||
>> libpath.tmp
|
||||
@echo ' { "guileversion", "@GUILE_VERSION@" }, \' >> libpath.tmp
|
||||
@echo ' { "libguileinterface", "@LIBGUILE_INTERFACE@" }, \' >> libpath.tmp
|
||||
@echo ' { "libguileinterface", "@LIBGUILE_INTERFACE@" }, \' \
|
||||
>> libpath.tmp
|
||||
@echo ' { "LIBS", "@GUILE_LIBS@" }, \' >> libpath.tmp
|
||||
@echo ' { "buildstamp", "'"`date`"'" }, \' >> libpath.tmp
|
||||
@echo '}' >> libpath.tmp
|
||||
@mv libpath.tmp libpath.h
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue