summaryrefslogtreecommitdiff
path: root/www/elinks/patches/patch-aa
blob: 4ff054389e3566ab6ee8ac1f42c0cb32f5935754 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-aa,v 1.1 2003/04/29 23:28:45 jtb Exp $

--- configure.orig
+++ configure
@@ -4211,7 +4211,7 @@
 			if test "$xyz_piggyswitch" = "cow"; then
 				LIBS="-llua40 -llualib40 -lm $LIBS_X"
 			else
-				LIBS="-llua -llualib -lm $LIBS_X"
+				LIBS="-llua4 -llualib4 -lm $LIBS_X"
 			fi
 
 			if test ! -z "$luadir"; then
@@ -4229,7 +4229,7 @@
 			cat > conftest.$ac_ext <<EOF
 #line 4231 "configure"
 #include "confdefs.h"
-#include <lua.h>
+#include <lua4.h>
 int main() {
 lua_open(0)
 ; return 0; }