Fossil SCM

Added -DUSE_LINENOISE to Makefile.classic, since it's built into Fossil, and that build system has no way to find or use libedit or libreadline intead.

wyoung 2018-10-03 21:51 trunk
Commit 15e1dcd058b5b3e16fcde0e0f72f85471c28123d3b5d0d4d459b8ac8e636259b
1 file changed +6
--- Makefile.classic
+++ Makefile.classic
@@ -45,10 +45,16 @@
4545
# To add support for HTTPS
4646
TCC += -DFOSSIL_ENABLE_SSL
4747
4848
# To enable legacy mv/rm support
4949
TCC += -DFOSSIL_ENABLE_LEGACY_MV_RM=1
50
+
51
+# We don't attempt to use libedit or libreadline in this simplified
52
+# build system (contrast auto.def and Makefile.in) so use the included
53
+# copy of linenoise. MinGW can't make use of this, but linenoise is
54
+# ifdef'd out elsewhere for that platform.
55
+TCC += -DUSE_LINENOISE=1
5056
5157
#### We sometimes add the -static option here so that we can build a
5258
# static executable that will run in a chroot jail.
5359
#LIB = -static
5460
TCC += -DFOSSIL_DYNAMIC_BUILD=1
5561
--- Makefile.classic
+++ Makefile.classic
@@ -45,10 +45,16 @@
45 # To add support for HTTPS
46 TCC += -DFOSSIL_ENABLE_SSL
47
48 # To enable legacy mv/rm support
49 TCC += -DFOSSIL_ENABLE_LEGACY_MV_RM=1
 
 
 
 
 
 
50
51 #### We sometimes add the -static option here so that we can build a
52 # static executable that will run in a chroot jail.
53 #LIB = -static
54 TCC += -DFOSSIL_DYNAMIC_BUILD=1
55
--- Makefile.classic
+++ Makefile.classic
@@ -45,10 +45,16 @@
45 # To add support for HTTPS
46 TCC += -DFOSSIL_ENABLE_SSL
47
48 # To enable legacy mv/rm support
49 TCC += -DFOSSIL_ENABLE_LEGACY_MV_RM=1
50
51 # We don't attempt to use libedit or libreadline in this simplified
52 # build system (contrast auto.def and Makefile.in) so use the included
53 # copy of linenoise. MinGW can't make use of this, but linenoise is
54 # ifdef'd out elsewhere for that platform.
55 TCC += -DUSE_LINENOISE=1
56
57 #### We sometimes add the -static option here so that we can build a
58 # static executable that will run in a chroot jail.
59 #LIB = -static
60 TCC += -DFOSSIL_DYNAMIC_BUILD=1
61

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button