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.
Commit
15e1dcd058b5b3e16fcde0e0f72f85471c28123d3b5d0d4d459b8ac8e636259b
Parent
d5499091eed2757…
1 file changed
+6
+6
| --- Makefile.classic | ||
| +++ Makefile.classic | ||
| @@ -45,10 +45,16 @@ | ||
| 45 | 45 | # To add support for HTTPS |
| 46 | 46 | TCC += -DFOSSIL_ENABLE_SSL |
| 47 | 47 | |
| 48 | 48 | # To enable legacy mv/rm support |
| 49 | 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 | |
| 50 | 56 | |
| 51 | 57 | #### We sometimes add the -static option here so that we can build a |
| 52 | 58 | # static executable that will run in a chroot jail. |
| 53 | 59 | #LIB = -static |
| 54 | 60 | TCC += -DFOSSIL_DYNAMIC_BUILD=1 |
| 55 | 61 |
| --- 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 |