mirror of
https://github.com/mirror/make.git
synced 2025-03-26 01:30:31 +08:00
* Makefile.am (HAVE_GUILE): Only use Guile options if HAVE_GUILE.
This commit is contained in:
parent
ef6aca5a38
commit
ec272f3a9c
12
Makefile.am
12
Makefile.am
@ -59,7 +59,15 @@ loadavg_SRCS = lib/getloadavg.c
|
|||||||
make_SOURCES = $(make_SRCS)
|
make_SOURCES = $(make_SRCS)
|
||||||
EXTRA_make_SOURCES = $(amiga_SRCS) $(vms_SRCS)
|
EXTRA_make_SOURCES = $(amiga_SRCS) $(vms_SRCS)
|
||||||
|
|
||||||
make_LDADD = $(LIBOBJS) $(GUILE_LIBS) lib/libgnu.a $(GETLOADAVG_LIBS) \
|
if HAVE_GUILE
|
||||||
|
_GUILE_CFLAGS = $(GUILE_CFLAGS)
|
||||||
|
_GUILE_LIBS = $(GUILE_LIBS)
|
||||||
|
else
|
||||||
|
_GUILE_CFLAGS =
|
||||||
|
_GUILE_LIBS =
|
||||||
|
endif
|
||||||
|
|
||||||
|
make_LDADD = $(LIBOBJS) $(_GUILE_LIBS) lib/libgnu.a $(GETLOADAVG_LIBS) \
|
||||||
@LIBINTL@
|
@LIBINTL@
|
||||||
|
|
||||||
localedir = $(datadir)/locale
|
localedir = $(datadir)/locale
|
||||||
@ -68,7 +76,7 @@ AM_CPPFLAGS = -Isrc -I$(top_srcdir)/src -Ilib -I$(top_srcdir)/lib \
|
|||||||
-DLIBDIR=\"$(libdir)\" -DINCLUDEDIR=\"$(includedir)\" \
|
-DLIBDIR=\"$(libdir)\" -DINCLUDEDIR=\"$(includedir)\" \
|
||||||
-DLOCALEDIR=\"$(localedir)\"
|
-DLOCALEDIR=\"$(localedir)\"
|
||||||
|
|
||||||
AM_CFLAGS = $(GUILE_CFLAGS)
|
AM_CFLAGS = $(_GUILE_CFLAGS)
|
||||||
|
|
||||||
if WINDOWSENV
|
if WINDOWSENV
|
||||||
make_SOURCES += $(w32_SRCS)
|
make_SOURCES += $(w32_SRCS)
|
||||||
|
Loading…
Reference in New Issue
Block a user