Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

#2 again. I hate autotools.

Signed-off-by: Vadim A. Misbakh-Soloviov <mva@mva.name>
  • Loading branch information...
commit fbd1aed1b0a066b13d58d480ce0c964bfd06560b 1 parent e1ce660
Vadim A. Misbakh-Soloviov msva authored
Showing with 7 additions and 4 deletions.
  1. +3 −1 configure.ac
  2. +4 −3 src/Makefile.am
4 configure.ac
View
@@ -7,7 +7,9 @@ AC_DISABLE_STATIC
AC_PROG_LIBTOOL
PKG_PROG_PKG_CONFIG
-PKG_CHECK_MODULES(LUA, lua, luajit)
+PKG_CHECK_MODULES(LUA, lua >= 5.1,, [
+ PKG_CHECK_MODULES(LUAJIT, luajit >= 2.0.0)
+])
PKG_CHECK_MODULES(CURL, libcurl)
AC_ARG_WITH(cmoddir,
7 src/Makefile.am
View
@@ -1,11 +1,12 @@
+ACLOCAL_AMFLAGS = "-I m4"
lib_LTLIBRARIES = cURL.la
cURL_la_SOURCES = Lua-cURL.c Lua-utility.c Lua-cURL-getinfo.c Lua-cURL-setopt.c \
Lua-cURL-callback.c Lua-cURL-post.c Lua-cURL-multi.c \
Lua-cURL-share.c Lua-cURL.h Lua-utility.h Lua-cURL-share.h
-
-cURL_la_LDFLAGS = @LUA_LIBS@ @CURL_LIBS@ -avoid-version -module
-cURL_la_CFLAGS = @LUA_CFLAGS@ @CURL_CFLAGS@
+
+cURL_la_LDFLAGS = @CURL_LIBS@ -avoid-version -module
+cURL_la_CFLAGS = @CURL_CFLAGS@
libdir = @CMOD_INSTALL@
Please sign in to comment.
Something went wrong with that request. Please try again.