1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-11-04 08:17:17 -05:00
Commit Graph

85 Commits

Author SHA1 Message Date
Jonas Fonseca
7eaa1bb2f9 CONFIG: Fix GC checking on Debian-based systems
This changes GC checking to use the EL_CHECK_OPTIONAL_LIBRARY macro to
reduce redundancy. This means that there is --with-gc instead of
--enable-gc so you can pass it a path, which is needed on Debian systems
where <gc.h> resides in /usr/include/gc/gc.h.

The macro is adapted accordingly to serve the above purpose. That is,
"$withval/include" and "$withval/lib" is only appended to CFLAGS and LIBS
if they exist (else "$withval" is appended to CFLAGS).
2006-01-31 04:28:25 +01:00
4aaafc4716 Inroduced garbage collector. Disabled by default 2006-01-30 22:09:13 +01:00
5c607c1ce8 Check for python 2006-01-29 16:48:33 +01:00
c518a9f06a Compilation fix when --without-openssl was used 2006-01-28 22:03:46 +01:00
Jonas Fonseca
20baf3b207 Newer versions of AsciiDoc (7.0.5 atleast) needs to be passed --unsafe
Detect this in configure and set ASCIIDOC_FLAGS accordingly.
2006-01-27 02:32:06 +01:00
20f587a725 Do not link -lfsplib when FSP is not enabled 2006-01-21 20:46:37 +01:00
Jonas Fonseca
e960992d06 Try to cleanup the spidermonkey configuring
Remove the entry in features.log all devoted to spidermonkey.
2006-01-20 16:31:59 +01:00
witekfl
943cbd1bc6 Do not link against -ljs when SEE is used and sm-scripting is disabled 2006-01-20 15:26:57 +01:00
Jonas Fonseca
206037eaa4 Handle the logic for util/{md5,sha1} in the Makefile 2006-01-19 02:08:07 +01:00
Jonas Fonseca
359d835050 Handle the logic for util/scanner in the Makefile; less CONFIG_* variables 2006-01-19 01:24:42 +01:00
Jonas Fonseca
9e592e2131 A few changes to improve configuration of FSP
- Use EL_ARG_DEPENDS(), the other way ended up in undefined symbols
   errors with --enable-fsp and no fsplib.
 - Also check for -lfsp in addition to -lfsplib.
 - This could probably also use a --with-fsplib or something to specify the
   path, had problems with that too, because fsplib-0.7 installed into
   /usr/local, ...
2006-01-16 22:03:31 +01:00
bb9b4437fa - FSP protocol 2006-01-16 11:40:13 +01:00
Jonas Fonseca
becf3b42ab Create .vimrc files both during all and init
Then make init doesn't have to always be run by configure.
2006-01-15 22:23:39 +01:00
Jonas Fonseca
943f9d7185 Create .gitignore file when builddir != srcdir
... so that cg-status will not list files in the builddir when it is
embedded in the srcdir.
2006-01-15 18:49:44 +01:00
Jonas Fonseca
2748d043f9 Autogenerate .vimrc files and put the master in config/vimrc
This changes the init target to be idempotent: most importantly it will now
never overwrite a Makefile if it exists. Additionally 'make init' will
generate the .vimrc files. Yay, no more stupid 'added fairies' commits! ;)
2006-01-15 18:38:58 +01:00
Jonas Fonseca
89f59dab70 Mist configure.in fixes and simplifications
- Remove AC_PROG_MAKE_SET; we's be using GNU.
 - Don't AC_SUBST() SPARSE; AC_PATH_PROGS() already does that.
 - Fix cleaning after previous builds by moving up builddir setting
   and only cleaning under $builddir/src/ so as not to launch infinite
   reruns of configure.
2006-01-14 15:00:26 +01:00
Jonas Fonseca
c7022f50e9 Also substitute CONFIG_GNUTLS_OPENSSEL_COMPAT 2006-01-13 01:40:02 +01:00
Jonas Fonseca
a0dc1238b9 Only set CONFIG_ECMASCRIPT_SMJS if CONFIG_SPIDERMONKEY is also defined 2006-01-13 01:33:40 +01:00
Laurent MONIN
fd39e595a3 CONFIG_SEE -> CONFIG_ECMASCRIPT_SEE. 2006-01-12 17:33:33 +01:00
Laurent MONIN
3f9bb0d7f9 CONFIG_BEOS -> CONFIG_OS_BEOS 2006-01-11 20:12:59 +01:00
Laurent MONIN
202965d338 CONFIG_WIN32 -> CONFIG_OS_WIN32 2006-01-11 20:10:27 +01:00
Laurent MONIN
86f5f2cf48 CONFIG_UNIX -> CONFIG_OS_UNIX 2006-01-11 20:10:27 +01:00
Laurent MONIN
9eafa94fd9 CONFIG_RISCOS -> CONFIG_OS_RISCOS 2006-01-11 20:10:26 +01:00
Laurent MONIN
b6ccfc0e07 CONFIG_OS2 -> CONFIG_OS_OS2 2006-01-11 20:10:26 +01:00
Laurent MONIN
a9b8abb70c 2006-01-11 14:14:11 +01:00
Laurent MONIN
52537b6733 2006-01-11 14:10:58 +01:00
Laurent MONIN
76751d1935 2006-01-11 14:10:51 +01:00
Laurent MONIN
5805586f0f 2006-01-11 14:10:41 +01:00
Laurent MONIN
4b2b5798ab 2006-01-11 14:07:17 +01:00
Laurent MONIN
f7a2dfc12a CONFIG_LUA -> CONFIG_SCRIPTING_LUA 2006-01-11 14:06:13 +01:00
Jonas Fonseca
1d2a6e4d1b Introduce CONFIG_ECMASCRIPT_SMJS used for Spidermonkey document scripting
It makes it possible to build with SEE document scripting and Spidermonkey
browser scripting.
2006-01-11 02:21:53 +01:00
witekfl
d8592e4f99 Alternative experimental ECMAScript engine. 2006-01-10 19:17:29 +01:00
Jonas Fonseca
eee912f2c1 elinks-0.12.GIT 2006-01-01 00:21:28 +01:00
Jonas Fonseca
06ce0f5ee6 elinks-0.11.0 2006-01-01 00:00:05 +01:00
Jonas Fonseca
61185ff34e Make ECMAScript browser scripting configurable
Either set CONFIG_SM_SCRIPTING in features.conf or pass to ./configure the
option --disable-sm-scripting. Now scripting is also enabled when needed
and not only if some other scripting backend is enabled.

Remove some remnants of SEE scripting backend.
2005-12-25 02:23:54 +01:00
Miciah Dashiel Butler Masters
5aaf1101e1 When checking the GCC version, use $CC instead of just gcc so that we
get the right version if the user sets CC.
2005-12-20 21:44:15 +00:00
Jonas Fonseca
9bc71ec8a9 Retire the SEE-based *.js scripting backend 2005-12-19 01:22:32 +01:00
Russ Rowan
3c9f192267 Colorize Pasky's build system a bit. 2005-12-15 02:44:15 -05:00
Jonas Fonseca
5882b24ea3 0.11rc0.GIT 2005-12-06 14:36:32 +01:00
Jonas Fonseca
e6b65b5431 0.11rc0 2005-12-06 14:34:52 +01:00
Jonas Fonseca
746cee981c Doh, revert -Wunused-parameter arg 2005-12-06 12:35:48 +01:00
Jonas Fonseca
df8aae9742 Add -Wunused-parameter to the gcc 4.* args
kahmalo reported that it spits out warnings for gcc version 4.1.0 20050716
(experimental).
2005-12-06 12:32:46 +01:00
Kalle Olavi Niemitalo
9dd84f8248 Check for GNUTLS 1.2 or newer (1.1 is too old)
The following patch makes the configure script of ELinks ignore an
installed GNUTLS that is too old.  If --with-gnutls was specified, this
results in a fatal error.

Tested with:
 - Debian libgnutls11-dev 1.0.16-14, configure --with-gnutls
   -> error at configure time
 - Debian libgnutls-dev 1.2.9-2, configure --with-gnutls
   -> compiles OK
2005-12-04 20:44:30 +01:00
Jonas Fonseca
68d692724c Add rules to check all .c files with sparse
... and things ain't looking too good. Lots of warnings.
2005-11-24 13:24:19 +01:00
Jonas Fonseca
44cf54f0fc Fix out-of-tree build when srcdir has no Makefile.config
By recursively 'bootstrapping' the builddir specific Makefiles we no longer
depend on running make in the srcdir.

The problem was pointed out by zas.
2005-10-26 00:34:13 +02:00
Jonas Fonseca
eaee3d5f44 Simplify the creation of out-of-tree Makefiles
They now always use the absolute path to the src Makefile.
Silence the mkinstalldir call.
2005-10-25 17:33:01 +02:00
Jonas Fonseca
9e97a100e2 Introduce 'make cleanall' and run it in the build dir when configuring
... but only if Makefile.config exists. cleanall will cause make to enter
even SUBDIR-no dirs and clean OBJS-no files. This should fix the linking
problem report by zas when running:

	./configure --enable-fastmem ; make ; \
	./configure --enable-debug ; make
2005-10-22 13:25:28 +02:00
Jonas Fonseca
0ba773e7a5 Add the basics for _browser_ (ecma)scripting ELinks with SEE
SEE is David Leonard's Simple Ecmascript Engine.  The SEE scripting backend
is very raw and not tested very much. The idea was to see what kind of
creature SEE is (and contradict pasky's aired opinion that no new features
are added anymore ;).

echo 'function goto_url() { return 'localhost'; }' > ~/.elinks/hooks.js
and get local for maximum security ...

FYI: SEE is smaller than Spidermonkey but doesn't have the same kind of
data-driven interface, although it looks like it is possible to build that.
2005-10-20 20:38:01 +02:00
Laurent MONIN
f28df73348 Fix a missing space. 2005-10-20 10:21:09 +02:00
Jonas Fonseca
c88afeb1c2 path_to_top -> top_builddir 2005-10-20 04:00:35 +02:00