diff options
author | Bryan Drewery <bryan@shatow.net> | 2018-01-29 22:35:39 +0300 |
---|---|---|
committer | Bryan Drewery <bryan@shatow.net> | 2018-01-29 22:35:39 +0300 |
commit | 0da10c689ac596e10fded5534086faee4c015a71 (patch) | |
tree | be2d9e31022997fe4314a94f58fec799d93a6d73 /Makefile.am | |
parent | f16a43b7041acb7db197ac44faa3c44c5cbf2344 (diff) |
Only enable sh libedit/history in maintainer mode
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 6 |
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 \ |