Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/freebsd/poudriere.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryan Drewery <bryan@shatow.net>2018-01-29 22:35:39 +0300
committerBryan Drewery <bryan@shatow.net>2018-01-29 22:35:39 +0300
commit0da10c689ac596e10fded5534086faee4c015a71 (patch)
treebe2d9e31022997fe4314a94f58fec799d93a6d73 /Makefile.am
parentf16a43b7041acb7db197ac44faa3c44c5cbf2344 (diff)
Only enable sh libedit/history in maintainer mode
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index 5316d692..fa0cb364 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -157,11 +157,13 @@ timeout_SOURCES= src/libexec/poudriere/timeout/timeout.c
timestamp_SOURCES= src/libexec/poudriere/timestamp/timestamp.c
tsort_SOURCES= src/libexec/poudriere/tsort/tsort.c
-sh_CFLAGS= -DSHELL -std=gnu99 \
+sh_CFLAGS= -DSHELL -std=gnu99 ${sh_hist_CFLAGS} \
-include $(top_srcdir)/external/sh_compat/compat.h \
-I$(top_srcdir)/src \
-I$(top_srcdir)/external/sh
-sh_LDADD= -ledit
+sh_LDADD= ${sh_hist_LDADD}
+sh_hist_LDADD= @MAINTAINER_MODE_TRUE@ -ledit
+sh_hist_CFLAGS= @MAINTAINER_MODE_FALSE@ -DNO_HISTORY
sh_SOURCES= external/sh_compat/strchrnul.c \
external/sh_compat/utimensat.c \
external/sh/alias.c \