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

161 Commits

Author SHA1 Message Date
Jonas Fonseca
2a638f08cd Integrate Doxygen better in the build system
This change:

 - Adds a check for the doxygen program to configure.
 - Moves the Doxyfile from src/Doxyfile to doc/Doxyfile.in.
 - Generates a doc/Doxyfile from doc/Doxyfile.in inserting
   an absolute path to the source directory, so that it
   also works when builddir != srcdir.
 - Adds `make api` rule for running doxygen; it depends on
   api/doxygen file which is never created to force the rule
   to always run.
2007-08-08 19:05:44 +02:00
Witold Filipczyk
d83989343a configure.in, lua: check for lua51 first. When both lua50 and lua51
are installed lua51 is preferred.
2007-07-22 22:43:24 +02:00
Witold Filipczyk
4a3559e0b2 IPC: Check headers. 2007-07-15 14:00:24 +02:00
Kalle Olavi Niemitalo
83e3cb1efb configure.in: Actually the snapshots aren't daily. 2007-07-12 18:25:14 +02:00
Kalle Olavi Niemitalo
1a343f53a5 Don't treat spidermonkeydir="" and luadir="" as special.
Previously, an empty string as spidermonkeydir or luadir meant
that the LIBS and CFLAGS variables should be used unchanged.  A few
commits ago however, the configure script was changed to require
test -f "$spidermonkeydir$spidermonkeyinclude/jsapi.h" and
test -f "$luadir/include/lua$suffix/lua.h" to succeed.  These
commands interpret spidermonkeydir="" and luadir="" as the root
directory.  This behaviour was inconsistent with the part that
decides whether to add the directory to *_LIBS and *_CFLAGS or not.

The inconsistency could be solved in two ways.  Either (a) add an
exception so that the test -f is skipped if the variable is empty,
or (b) treat an empty string as the root directory throughout.

Because the Makefile of SpiderMonkey always installs to a subdirectory
of the specified include directory, and ELinks uses #include <jsapi.h>
without specifying that subdirectory in source code, it seems unlikely
that the SpiderMonkey header files would ever be in the default
include path.  I am therefore implementing solution (b) here.

I suppose similar considerations apply to Lua but did not check that
carefully.
2007-07-10 18:35:39 +02:00
Witold Filipczyk
f4384eaf10 Autoupdated configure.in and config/m4/*.m4. Obsolete macros removed. 2007-07-05 15:03:59 +02:00
Witold Filipczyk
286982f787 configure.in: X11 - try link an executable using -lX11. 2007-07-05 14:34:06 +02:00
Witold Filipczyk
84da0c5ccb configure.in: Speedup lua finding. 2007-07-03 18:20:14 +02:00
Witold Filipczyk
b2d783351b configure.in: Faster lookup for SpiderMonkey. 2007-07-03 14:21:32 +02:00
Kalle Olavi Niemitalo
d08f16de96 Bug 936: Allow Autoconf 2.59 too, for elinks.cz compatibility. 2007-07-02 20:41:01 +02:00
Kalle Olavi Niemitalo
75d794e538 Bug 936: Require Autoconf 2.61 or later. 2007-07-02 20:40:33 +02:00
Witold Filipczyk
81bef35b02 configure.in: Do not check for SEE without --enable-see.
Use #error instead of choke_on_see(), because choke_on_see could
be defined by some library (very unlikely).
2007-07-01 12:49:11 +02:00
Witold Filipczyk
a033323639 configure: Check for see-2.0 or later. 2007-06-30 18:42:27 +02:00
Kalle Olavi Niemitalo
cb4b6bc0ac Bug 755: Document that SpiderMonkey 1.5 RC3 no longer works.
The SpiderMonkey support in ELinks now uses JS_GetReservedSlot,
which was added in SpiderMonkey 1.5 RC3a, released on 2001-05-11.
So ELinks no longer supports earlier versions of SpiderMonkey.
However, be careful not to claim that ELinks needs "SpiderMonkey
1.5 RC3a or later", because we haven't tested 1.5 RC3a.
(I guess we didn't test zlib 1.2.0.2 either... oh, well.)
2007-06-29 18:24:02 +02:00
Witold Filipczyk
6d2f111a11 Bug 755: Check for JS_GetReservedSlot in configure.in
I'm not sure if JS_GetReservedSlot exists in all versions of the SpiderMonkey.
IMHO the configure script should check for JS_GetReservedSlot.
The patch in the attachment.
2007-06-29 18:23:56 +02:00
Kalle Olavi Niemitalo
2211994789 Check for gzclearerr in configure. Document needing zlib >= 1.2.0.2.
It was reported at elinks-dev on 2007-06-03 that Solaris 10 comes with
zlib 1.1.4, which does not include gzclearerr(), which ELinks nowadays
requires.  It would be possible to rewrite the decompression support
to use deflate() directly and avoid stdio, in which case gzclearerr()
would not be needed.  That will take some time however, so I'm not
attempting it for ELinks 0.12.0.  Instead, I'm just disabling gzip
decompression entirely if zlib is too old.
2007-06-11 20:55:50 +02:00
Kalle Olavi Niemitalo
75dbfdb7e2 ELinks 0.13.GIT.
There is a now separate elinks-0.12 branch for the upcoming 0.12.0 release.
2007-05-01 20:32:38 +02:00
Witold Filipczyk
1655de5699 BUILD_ID: Use cg-object-id when there is no cg-commit-id 2007-03-23 19:01:21 +01:00
Witold Filipczyk
9eb1c751ed configure.in: show espeak in features.log 2007-03-12 16:49:43 +01:00
Witold Filipczyk
0da23da6b2 Added espeak as another speech synthesis engine. 2007-03-03 13:55:25 +01:00
Witold Filipczyk
85c137490b Do not use Wno-always-true twice. 2007-02-26 18:27:29 +01:00
Witold Filipczyk
ac664a81c1 Merge with master except smb. 2007-02-23 18:47:14 +01:00
Kalle Olavi Niemitalo
a5656701ef Bug 844 doc: Don't ask users to provide a patch, as we already have one. 2007-02-22 11:05:39 +02:00
Kalle Olavi Niemitalo
67ee2205f3 Use -Wno-always-true only if $CC accepts it. GCC 4.1 doesn't. 2007-02-22 10:59:25 +02:00
Witold Filipczyk
d8ffd3b4b6 Do not show always evaluate as true warnings. 2007-02-22 01:44:20 +02:00
Witold Filipczyk
b8e77e793f Do not add LUA_CFLAGS to the CPPFLAGS. 2007-02-18 17:14:05 +02:00
Witold Filipczyk
7ce65798be Old CPPFLAGS was stored in CPPLFAGS_X. 2007-02-18 17:13:37 +02:00
Witold Filipczyk
2a6e5b27f7 Use PERL_CFLAGS only when necessary. 2007-02-18 17:10:24 +02:00
Witold Filipczyk
ca7a68aa76 Do not add GUILE_CFLAGS to the CPPFLAGS. 2007-02-18 17:10:04 +02:00
Witold Filipczyk
cf86e2e72f Added SEE_CFLAGS to the Makefile.config. Use SEE_CFLAGS only when necessary. 2007-02-18 17:09:32 +02:00
Witold Filipczyk
505d02525f Use X_CFLAGS only when necessary. 2007-02-18 17:08:33 +02:00
Witold Filipczyk
0f80b8e293 Do not pollute CPPFLAGS by PYTHON_CFLAGS. 2007-02-18 17:08:08 +02:00
Witold Filipczyk
2a8bff982b Do not show always evaluate as true warnings. 2007-02-18 09:58:18 +01:00
Witold Filipczyk
dc1b84bafd Do not add LUA_CFLAGS to the CPPFLAGS. 2007-02-17 18:19:10 +01:00
Witold Filipczyk
c96ec209c1 Old CPPFLAGS was stored in CPPLFAGS_X. 2007-02-17 18:12:53 +01:00
Witold Filipczyk
a35644bf3e Use PERL_CFLAGS only when necessary. 2007-02-17 18:08:00 +01:00
Witold Filipczyk
e9a2241b1b Do not add GUILE_CFLAGS to the CPPFLAGS. 2007-02-17 17:54:36 +01:00
Witold Filipczyk
de73f644ba Added SEE_CFLAGS to the Makefile.config. Use SEE_CFLAGS only when necessary. 2007-02-17 17:52:38 +01:00
Witold Filipczyk
dbd9536297 Use X_CFLAGS only when necessary. 2007-02-15 11:04:09 +01:00
Witold Filipczyk
2970056976 Do not pollute CPPFLAGS by PYTHON_CFLAGS. 2007-02-05 20:31:53 +01:00
Witold Filipczyk
9c3cdfd5cf The SMB protocol handling using libsmbclient. 2007-01-24 18:40:28 +01:00
Witold Filipczyk
f7b9be4aa1 bzip2: Used the patch from bug the 517.
Removed the bzip2-pipe.patch from contrib.
2007-01-07 16:17:43 +01:00
Witold Filipczyk
87e10dd412 epoll is fashionable.
Added the configuration option --enable-epoll. Use epoll instead of select.
2006-12-31 19:05:43 +01:00
Witold Filipczyk
e965d07055 speech: added flite - the alternative synthesis engine.
Added the document.speech.system option:
0 - festival
1 - flite

Flite is faster and uses less memory than Festival.
2006-12-26 22:40:22 +01:00
Witold Filipczyk
0ca94c10c1 bzip2: added the configure option --enable-bzip2-encoding
Use it with the patched bzlib. The patch in contrib.
Added the bzip2-pipe.patch.README.
2006-12-17 13:11:56 +01:00
Witold Filipczyk
4e93cbf496 Added the keybinding ('R' by default) for reading documents out using
the festival program. ELinks automatically scrolls down when read line
is at the bottom of the page. Press 'R' for start or stop reading.
2006-12-11 18:48:44 +01:00
Jonas Fonseca
eac924a917 Tidyup separation of configuration items 2006-12-10 01:30:16 +01:00
Kalle Olavi Niemitalo
432969a3a9 Bug 788: Define n_a variables if the POPpx macro of Perl needs them.
The configure script checks whether it is possible to compile a use of
POPpx without an n_a variable; if not, the source code then defines
those variables.  This is slower than including Perl's patchlevel.h
and comparing the version numbers to 5.8.8 but I expect this to be
more reliable as well.
2006-12-09 20:26:06 +02:00
Jonas Fonseca
a370e7ccac Improve CPPFLAGS usage
CPPFLAGS was dropped[1] back on 2004-04-24. Then a workaround was
introduced by commit 6d7e9bfe5b to fix
compilation on FreeBSD that used CPPFLAGS to store iconv related flags.
The use of CPPFLAGS with respect to the COMPILE "macro" reappeared in
40e257bedd on 2006-08-05.

This commit makes configure.in print CPPFLAGS and LDFLAGS. Before,
CPPFLAGS and CFLAGS was mixed together in the feature summary. It also
restores the use of CPPFLAGS storing iconv related flags but keeps the
use of the SAVE/RESTORE_FLAGS in the iconv macro.

Reported by Daniel E. Macks <dmacks@netspace.org> on 2005-11-22 in a mail
to elinks-users with the ID: <slrnem7tjs.lvk.dmacks@happy.netspace.org>.

[1] http://pasky.or.cz/gitweb.cgi?p=elinks-history.git;a=commit;h=ebad0e71572b41dac5376e148fe4b1b5cb9ccc33
2006-11-22 20:16:18 +01:00
Kalle Olavi Niemitalo
388de7bd65 Bug 841, CVE-2006-5925: Disable SMB earlier so that features.log is correct. 2006-11-18 22:17:58 +02:00