$NetBSD: patch-aa,v 1.1.1.1 2004/01/22 11:09:54 recht Exp $

--- configure.orig	2003-12-13 18:28:39.000000000 -0800
+++ configure	2003-12-13 18:30:09.000000000 -0800
@@ -4262,7 +4262,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
@@ -4280,7 +4280,7 @@
 			cat > conftest.$ac_ext <<EOF
 #line 4282 "configure"
 #include "confdefs.h"
-#include <lua.h>
+#include <lua4.h>
 int main() {
 lua_open(0)
 ; return 0; }
