summaryrefslogtreecommitdiff
path: root/build.template
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2013-10-19 12:21:09 -0400
committerPaul Smith <psmith@gnu.org>2013-10-19 12:24:14 -0400
commitf4b746b8c23c257574b44e6bc0ad830c754f0c6b (patch)
tree89712cdb955967aea092bfa7ef1d33da5c723681 /build.template
parentd7f25cfda5806cb67dba012f0f9c715a9dcd65e4 (diff)
downloadgunmake-f4b746b8c23c257574b44e6bc0ad830c754f0c6b.tar.gz
[SV 40254] Modify build.sh to work properly with Guile support.
* guile.c (guile_gmake_setup) [HAVE_GUILE]: Define a stub function when Guile support is not enabled. * main.c (main) [HAVE_GUILE]: Always invoke guile_gmake_setup(). * Makefile.am: Make guile.c standard, not optional. * build.template: Add the Guile compiler and linker flags.
Diffstat (limited to 'build.template')
-rw-r--r--build.template8
1 files changed, 4 insertions, 4 deletions
diff --git a/build.template b/build.template
index 1a06ec6..1565b72 100644
--- a/build.template
+++ b/build.template
@@ -22,11 +22,11 @@
srcdir='@srcdir@'
CC='@CC@'
-CFLAGS='@CFLAGS@'
+CFLAGS='@CFLAGS@ @GUILE_CFLAGS@'
CPPFLAGS='@CPPFLAGS@'
-LDFLAGS='@LDFLAGS@'
+LDFLAGS='@AM_LDFLAGS@ @LDFLAGS@'
ALLOCA='@ALLOCA@'
-LOADLIBES='@LIBS@ @LIBINTL@'
+LOADLIBES='@LIBS@ @GUILE_LIBS@ @LIBINTL@'
eval extras=\'@LIBOBJS@\'
REMOTE='@REMOTE@'
GLOBLIB='@GLOBLIB@'
@@ -46,7 +46,7 @@ includedir=${prefix}/include
localedir=${prefix}/share/locale
aliaspath=${localedir}${PATH_SEPARATOR}.
-defines="-DALIASPATH=\"${aliaspath}\" -DLOCALEDIR=\"${localedir}\" -DLIBDIR=\"${libdir}\" -DINCLUDEDIR=\"${includedir}\""' @DEFS@'
+defines="-DLOCALEDIR=\"${localedir}\" -DLIBDIR=\"${libdir}\" -DINCLUDEDIR=\"${includedir}\""' @DEFS@'
# Exit as soon as any command fails.
set -e