-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add tclstub support Initialize the stubs when needed. * Bump version * Add tclstub support To build with tclstub library run. You have to autogen.sh to create a fresh configure. NOCONFIGURE=1 ./autogen.sh ./configure --enable-tclstub And add any other flags you need. We ship the configure script to help distro's that do not run a full autogen.sh. But stubs is only available if you run autogen.sh (or the automake process).
- Loading branch information
Showing
4 changed files
with
42 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ dnl Copyright (c) 1998 - 2014, Johannes Zellner <[email protected]> | |
dnl This software is copyright under the BSD license. | ||
dnl --- | ||
|
||
AC_INIT([tclreadline], [2.3.6]) | ||
AC_INIT([tclreadline], [2.3.7]) | ||
AC_CONFIG_SRCDIR([tclreadline.c]) | ||
AC_CONFIG_HEADERS(config.h) | ||
AC_PREREQ(2.13) | ||
|
@@ -258,6 +258,20 @@ int main () { | |
AC_MSG_RESULT(no cross compiling) | ||
) | ||
|
||
AC_ARG_ENABLE(tclstub, | ||
[ --enable-tclstub build with TCL stub library], | ||
[dnl action if given | ||
case "${enableval}" in | ||
yes) enable_tclstub=true ;; | ||
no) enable_tclstub=false ;; | ||
*) AC_MSG_ERROR(bad value ${enableval} for --enable-tclstub) ;; | ||
esac | ||
], | ||
[dnl action if not given | ||
enable_tclstub=false | ||
] | ||
) | ||
AM_CONDITIONAL(USE_TCL_STUBS, test x$enable_tclstub = xtrue) | ||
|
||
AC_ARG_ENABLE(tclshrl, | ||
[ --enable-tclshrl build statically linked tclshrl], | ||
|
@@ -294,8 +308,8 @@ AC_ARG_ENABLE(wishrl, | |
) | ||
AM_CONDITIONAL(STATIC_WISHRL, test x$enable_static = xtrue) | ||
|
||
|
||
AC_SUBST(TCL_INCLUDE_DIR) | ||
AC_SUBST(TCL_STUB_LIB_SPEC) | ||
AC_SUBST(TCL_LIB_SPEC) | ||
AC_SUBST(READLINE_INCLUDE_DIR) | ||
AC_OUTPUT(Makefile tclreadline.h tclreadlineInit.tcl tclreadlineSetup.tcl tclreadline.n pkgIndex.tcl) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters