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

90 Commits

Author SHA1 Message Date
Kalle Olavi Niemitalo
dc747a6ec3 configure: Don't try to link with Lua 5.1.
ELinks does not yet work with Lua 5.1 (see bug 742),
so the configure script should not suggest that it does.
When bug 742 is eventually fixed, ELinks should probably
prefer Lua 5.1 over 5.0, as the newer version seems likely
to be kept installed longer.
2008-02-09 13:27:33 +02:00
Kalle Olavi Niemitalo
9c39f43d1b Bug 54: Don't force 8-bit characters and no parity.
Actually, don't use the cfmakeraw function at all,
and don't look for it during configure either.

(cherry picked from commit 87f1661314
 but moved the NEWS entry into the 0.11.4rc0 section)
2008-02-08 00:32:07 +02:00
Jonas Fonseca
e1d82ba441 Fix expansion when setting LOCALEDIR
Use the localedir variable so configure's --localedir option is
honoured. Expand the variable twice to first expand the datadir
and then the prefix variable referenced by datadir.

Noticed by Witold, who also made a similar fix (modulo --localedir)
in elinks-0.12 098fb87065.
2008-02-07 11:43:11 +01:00
Jonas Fonseca
504eb26ae5 elinks-0.11.4rc0.GIT 2008-02-05 00:29:57 +01:00
Jonas Fonseca
cbae4b250d elinks-0.11.4rc0 2008-02-04 23:36:56 +01:00
Jonas Fonseca
c2a0d3b969 Use git tools instead of cogito for getting the build ID
The build ID now includes both last tagged version, commit generation
since last tagged version, as well as the leading characters of the
commit ID and a flag for dirty working tree.
2008-01-22 13:31:58 +01:00
Kalle Olavi Niemitalo
fa20852ce2 GCC 4.2.1 needs -Wno-address, not -Wno-always-true.
[ Backported from ELinks 0.12.GIT.  The 0.11 branch is still using
  older Autoconf macros.  ]
2007-11-11 10:19:19 +02:00
Kalle Olavi Niemitalo
8165e85d82 Use -Wno-always-true only if $CC accepts it. GCC 4.1 doesn't. 2007-11-11 10:05:39 +02:00
Witold Filipczyk
809b03efdf Do not show always evaluate as true warnings. 2007-11-11 10:05:32 +02:00
Kalle Olavi Niemitalo
e9f9d70492 configure.in: Actually the snapshots aren't daily. 2007-07-11 23:00:53 +03:00
Witold Filipczyk
2fe43f275d configure.in: X11 - try link an executable using -lX11.
[ Backported from commit 6bbd8e1686 in
  ELinks 0.12.GIT on 2007-07-05, for bug 959.  --KON ]
2007-07-10 16:10:02 +03:00
Kalle Olavi Niemitalo
96fc8419df Bug 936: Allow Autoconf 2.59 too, for elinks.cz compatibility.
[ From commit 045c5509f5 in ELinks
  0.12.GIT.  --KON ]
2007-07-02 22:54:18 +03:00
Kalle Olavi Niemitalo
c4873ba243 Bug 936: Require Autoconf 2.61 or later.
[ From commit b2d95b11f5 in ELinks
  0.12.GIT.  --KON ]
2007-07-02 22:53:44 +03:00
Miciah Dashiel Butler Masters
98f8f536c4 Update SpiderMonkey configure check Debian compatibility
Support the new libmozjs packages in Debian unstable that replace the
old libsmjs packages.

[ From commits b2ec6e0a3e and
  368504f736 in ELinks 0.12.GIT.  --KON ]
2007-05-28 09:59:28 +03:00
Kalle Olavi Niemitalo
d580626a3c configure.in: Advertise smb2.c to be included in ELinks 0.12.0.
Should have been in commit af82ab8af7.
Related to commit a5656701ef in ELinks 0.12.GIT.
2007-05-02 01:05:44 +03:00
Kalle Olavi Niemitalo
ba1f7d3b95 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.

[ Backported from commit 432969a3a9 in
  ELinks 0.12.GIT.  --KON ]
2007-05-02 00:47:11 +03:00
Jonas Fonseca
4f9a116fcf elinks-0.11.3.GIT 2007-04-15 22:40:29 +02:00
Jonas Fonseca
3e3948c795 elinks-0.11.3 2007-04-15 22:23:12 +02:00
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