diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2014-02-15 15:18:09 +0100 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2014-02-15 15:18:09 +0100 |
commit | 6d4668bdaf393aa45d9adb640774f998c6b4aa58 (patch) | |
tree | 29c84032a504246770a26f2c5df44c54db863568 /configure.ac | |
parent | a0be14cce5ba22614d92712b44d609c73d066892 (diff) | |
download | sciteco-6d4668bdaf393aa45d9adb640774f998c6b4aa58.tar.gz |
added EMCurses/Emscripten support
by building with Emscripten support, SciTECO may be
embedded into web pages.
* sciteco.html is not a piece of documentation but a sample SciTECO embedding
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 491217b..d2df4c6 100644 --- a/configure.ac +++ b/configure.ac @@ -112,7 +112,7 @@ AC_ARG_WITH(scinterm, SCINTERM_PATH=`canonicalize $SCINTERM_PATH` AC_ARG_WITH(interface, - AS_HELP_STRING([--with-interface=ncurses|pdcurses|gtk], + AS_HELP_STRING([--with-interface=ncurses|pdcurses|emcurses|gtk], [Specify user interface [default=ncurses]]), [INTERFACE=$withval], [INTERFACE=ncurses]) @@ -132,6 +132,12 @@ case $INTERFACE in AC_DEFINE(PDCURSES_WIN32A, , [PDCurses supports Win32a extensions]) ]) ;; + emcurses) + # EMCurses is the PDCurses/Emscripten port + # However, ordinary library checks do not work + # under Emscripten + LIBS="$LIBS -lpdcurses" + ;; esac AC_CHECK_HEADERS([curses.h], , [ |