diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2008-10-14 15:49:57 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2008-10-14 15:49:57 +0300 |
commit | 085dcab72fc44cab5b1a7d810071bb8c0ea0afc2 (patch) | |
tree | e72953d876eb2613f78f6a87cd1cb8391b35b1f8 | |
parent | bedeef1edaa4f2af99fbaecc6adfab75de1cd03a (diff) | |
download | librpm-tizen-085dcab72fc44cab5b1a7d810071bb8c0ea0afc2.tar.gz librpm-tizen-085dcab72fc44cab5b1a7d810071bb8c0ea0afc2.tar.bz2 librpm-tizen-085dcab72fc44cab5b1a7d810071bb8c0ea0afc2.zip |
Move luaext include fiddling out of toplevel configure
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | rpmio/Makefile.am | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 27f5ca0c8..68aba1eb9 100644 --- a/configure.ac +++ b/configure.ac @@ -758,7 +758,7 @@ AS_IF([test "$with_lua" = yes],[ AS_IF([test "$with_lua" = yes],[ AC_DEFINE(WITH_LUA, 1, [Build with lua support?]) - WITH_LUA_INCLUDE="-I\${top_srcdir}/luaext" + WITH_LUA_INCLUDE= WITH_LUA_LIB="-llua -lm" ]) AC_SUBST(WITH_LUA_LIB) diff --git a/rpmio/Makefile.am b/rpmio/Makefile.am index 766e69aca..5edb68b0d 100644 --- a/rpmio/Makefile.am +++ b/rpmio/Makefile.am @@ -33,6 +33,7 @@ librpmio_la_LIBADD = \ -lpthread if WITH_LUAEXT +AM_CPPFLAGS += -I$(top_builddir)/luaext/ librpmio_la_LIBADD += $(top_builddir)/luaext/libluaext.la endif |