Skip to content

Commit fe6b720

Browse files
committed
- next release is 1.4.13
- allow --with-lua with a package-name for pkg-config git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1370 152afb58-edef-0310-8abb-c4023f1b3aa9
1 parent 3a152b3 commit fe6b720

File tree

3 files changed

+17
-24
lines changed

3 files changed

+17
-24
lines changed

NEWS

+10
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,16 @@
33
NEWS
44
====
55

6+
- 1.4.13 -
7+
8+
* added initgroups in spawn-fcgi (#871)
9+
* added apr1 support htpasswd in mod-auth (#870)
10+
* fixed segfault in splitted CRLF CRLF sequences
11+
(introduced in 1.4.12) (#876)
12+
* fixed compilation of LOCK support in mod-webdav
13+
* fixed fragments in request-URLs (#869)
14+
* fixed pkg-config check for lua5.1 on debian
15+
616
- 1.4.12 - 2006-09-23
717

818
* added experimental LOCK support for webdav

SConstruct

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import string
55
from stat import *
66

77
package = 'lighttpd'
8-
version = '1.4.11'
8+
version = '1.4.13'
99

1010
def checkCHeaders(autoconf, hdrs):
1111
p = re.compile('[^A-Z0-9]')

configure.in

+6-23
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# -*- Autoconf -*-
22
# Process this file with autoconf to produce a configure script.
33
AC_PREREQ(2.57)
4-
AC_INIT(lighttpd, 1.4.12, [email protected])
4+
AC_INIT(lighttpd, 1.4.13, [email protected])
55
AC_CONFIG_SRCDIR([src/server.c])
66

77
AC_CANONICAL_TARGET
@@ -381,30 +381,13 @@ AC_ARG_WITH(lua, AC_HELP_STRING([--with-lua],[lua engine for mod_cml]),
381381

382382
AC_MSG_RESULT($WITH_LUA)
383383
if test "$WITH_LUA" != "no"; then
384-
AC_PATH_PROG(LUACONFIG, lua-config)
385-
386-
if test x"$LUACONFIG" != x; then
387-
LUA_CFLAGS=`$LUACONFIG --include`
388-
LUA_LIBS=`$LUACONFIG --libs --extralibs`
384+
if test "$WITH_LUA" == "yes"; then
385+
WITH_LUA=lua
386+
fi
387+
PKG_CHECK_MODULES(LUA, $WITH_LUA >= 5.1, [
389388
AC_DEFINE([HAVE_LUA], [1], [liblua])
390389
AC_DEFINE([HAVE_LUA_H], [1], [lua.h])
391-
else
392-
AC_CHECK_LIB(lua, lua_open, [
393-
AC_CHECK_HEADERS([lua.h],[
394-
LUA_LIBS="-llua -llualib"
395-
AC_DEFINE([HAVE_LUA], [1], [liblua])
396-
AC_DEFINE([HAVE_LUA_H], [1], [lua.h])
397-
])
398-
])
399-
fi
400-
401-
if test x"$LUA_LIBS" = x; then
402-
# try pkgconfig
403-
PKG_CHECK_MODULES(LUA, lua >= 5.0, [
404-
AC_DEFINE([HAVE_LUA], [1], [liblua])
405-
AC_DEFINE([HAVE_LUA_H], [1], [lua.h])
406-
])
407-
fi
390+
])
408391

409392
AC_SUBST(LUA_CFLAGS)
410393
AC_SUBST(LUA_LIBS)

0 commit comments

Comments
 (0)