~ubuntu-branches/ubuntu/precise/rpm/precise-proposed

« back to all changes in this revision

Viewing changes to debian/patches/lua-libname.patch

  • Committer: Bazaar Package Importer
  • Author(s): Michal Čihař
  • Date: 2010-06-28 11:12:30 UTC
  • mfrom: (17.2.5 sid)
  • Revision ID: james.westby@ubuntu.com-20100628111230-8ggjjhgpvrnr3ybx
Tags: 4.8.1-5
Fix compilation on hurd and kfreebsd (Closes: #587366).

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
Forwarded: http://rpm.org/ticket/88
4
4
--- a/configure.ac
5
5
+++ b/configure.ac
6
 
@@ -808,7 +808,7 @@
7
 
 AC_ARG_WITH(lua, [  --with-lua              build with lua support ],,[with_lua=yes])
 
6
@@ -805,7 +805,7 @@
 
7
 AC_ARG_WITH(lua, [AS_HELP_STRING([--with-lua],[build with lua support])],,[with_lua=yes])
8
8
 AS_IF([test "$with_lua" = yes],[
9
9
   AC_CHECK_HEADER([lua.h],[
10
10
-    AC_CHECK_LIB(lua,[luaL_openlibs],[with_lua=yes],[
12
12
       AC_MSG_ERROR([--with-lua given, but liblua not found])
13
13
     ], 
14
14
     [-lm])
15
 
@@ -820,7 +820,7 @@
 
15
@@ -817,7 +817,7 @@
16
16
 AS_IF([test "$with_lua" = yes],[
17
17
   AC_DEFINE(WITH_LUA, 1, [Build with lua support?])
18
18
   WITH_LUA_INCLUDE=