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

72 Commits

Author SHA1 Message Date
Witold Filipczyk
421d04093a Bugfix for bug 768
[ Backported from commit 49ce097505 in
  ELinks 0.12.GIT.  The configure.in of 0.11 does not use $PYTHON and
  $python_prefix.  --KON ]
2007-04-02 23:05:08 +03:00
Miciah Dashiel Butler Masters
ba73ca408d Update Lua configure check for 5.0
Use the new names instead of the deprecated names to increase
the likelihood that later versions, which might lack the
backwards-compatibility wrappers, will work.
2006-11-27 18:36:52 +01:00
witekfl
569694a8be >& is bashism 2006-11-27 18:27:55 +01:00
Petr Baudis
90ce4ed5d4 Cure few of my ie.-vs-e.g. sins 2006-11-27 18:07:07 +01:00
Jonas Fonseca
974e48f714 BUILD: Always show manual and manpage build info, remove AC_SUBST dups 2006-11-27 17:55:18 +01:00
witekfl
79275b060e Compilation fix when --without-openssl was used 2006-11-27 17:05:06 +01:00
Jonas Fonseca
1f3b2f366b elinks-0.11.2.GIT 2006-11-19 14:41:44 +01:00
Jonas Fonseca
b2c77a07b0 elinks-0.11.2 2006-11-19 14:40:42 +01:00
Kalle Olavi Niemitalo
6f14725204 Bug 841, CVE-2006-5925: Prevent enabling the SMB protocol.
src/protocol/smb/smb.c: Added #error directives so that this
vulnerable code cannot be accidentally compiled in.

features.conf: Disable CONFIG_SMB by default and explain why.

configure.in: If the user set CONFIG_SMB in features.conf or
--enable-smb in the command line, disable them and warn the user.

(This commit combines f915c31127 and
388de7bd65 from ELinks 0.12.GIT.)
2006-11-18 22:37:51 +02:00
Jonas Fonseca
205f346d49 Use internal OFF_T_FORMAT instead of PRId64
... since the latter is for printing int64_T and we don't check for that and
we use PRId64 only for printing values having the off_t types.

Besides off_t has it's own ELinks specific defaults so it should be safer
to use an internal format string. If off_t is 8 bytes use "lld" else use
"ld".

Reported-by: Andy Tanenbaum <ast@cs.vu.nl>
2006-08-05 00:39:14 +02:00
Jonas Fonseca
f5d26a34cb elinks-0.11.1.GIT 2006-01-29 14:03:48 +01:00
Jonas Fonseca
8abfea7054 elinks-0.11.1 2006-01-29 14:00:40 +01:00
Jonas Fonseca
e5ba160c77 Detect whether asciidoc supports --unsafe; set ASCIIDOC_FLAGS accordingly 2006-01-29 11:44:40 +01:00
7832b29030 Do not link -lfsplib when FSP is not enabled 2006-01-29 11:26:40 +01:00
Jonas Fonseca
cbd22ecaca 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-29 11:13:22 +01:00
9341c9085e - FSP protocol 2006-01-29 11:03:53 +01:00
Jonas Fonseca
183f0e3ba4 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-29 10:47:15 +01:00
Jonas Fonseca
564b67883b 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-29 10:33:14 +01:00
Jonas Fonseca
3c9c1eba1a Also substitute CONFIG_GNUTLS_OPENSSEL_COMPAT 2006-01-29 10:23:06 +01:00
Jonas Fonseca
6267716766 elinks-0.11.0.GIT 2006-01-01 00:37: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
Jonas Fonseca
db99a74777 Add support for out-of-tree builds
Involves prefixing with $(srcdir) to some of the build rule variables. For
the builddir we create Makefiles which simply include the srcdir Makefile.
Add list make rule to get list of Makefiles to generate (find will get it
wrong for builddirs nested in srcdir).

There are still a few minor issues like the file paths echoed during make
install ...
2005-10-20 03:49:40 +02:00
Jonas Fonseca
3713389032 Add support for rerunning the autotools
Adaptation of automakes ...
2005-10-03 01:29:52 +02:00
Jonas Fonseca
4f57cd0c6f Make some of the AC_SUBST() variables implicit 2005-10-03 00:50:16 +02:00
Petr Baudis
d8bc3f7b15 Merge with /srv/git/elinks.git 2005-09-26 16:09:29 +02:00
Petr Baudis
87938bbeca Rename locale no to nb
Apparently new name for the locale, makes new gettexts happy. Pointed
out by darix and probably someone else too.
2005-09-26 16:09:00 +02:00
Strahinya Radich
f86a009108 Add Serbian translation 2005-09-23 14:51:14 +02:00
Jonas Fonseca
5455795394 Upgrade to use cg-commit-id for getting build ID
The recent cogito-0.15 renamed commit-id to have the cg-prefix.
2005-09-19 11:04:03 +02:00
Petr Baudis
67ba923af4 Generate doc/man/man1/elinks.1. 2005-09-17 20:43:57 +02:00
Petr Baudis
c94471fde8 Throw in install-sh, missing, and mkinstalldirs, and detect BSD install
presence in the configure script.
2005-09-17 20:00:58 +02:00
Jonas Fonseca
9921e58aba Put the commit ID in the version string
Finally, we are able to identify the builds more accurately. Now we check
if commit-id (cogito tool) is available and pass the output to vernum.c
compilation which then exports it as a build_id string.

The first line of --version is now a bit long, we should probably move the
build date to a second indented line or something.
2005-09-17 14:45:59 +02:00
Jonas Fonseca
a7e8926622 Move notice of GNUTLS >= 1.2 requirement to NEWS file 2005-09-17 11:54:14 +02:00
Petr Baudis
a87d775eeb Merge with git+ssh://pasky.or.cz/srv/git/elinks.git 2005-09-17 08:45:23 +02:00
Petr Baudis
8623d1ce8c Mention that the GNUTLS SSL support is 1.2+
Suggested by Miernik.
2005-09-17 03:53:27 +02:00