cgilua: tweak Config.in
authorPeter Korsgaard <jacmet@sunsite.dk>
Thu, 22 Jul 2010 07:35:38 +0000 (09:35 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Thu, 22 Jul 2010 07:35:38 +0000 (09:35 +0200)
Print a comment if largefile isn't available, and use select rather than
depends for the lua shared library option.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/cgilua/Config.in

index aba4c2422d357adff84daafa25d1445fa29fcf95..a74e49f53698eb400b64884eb00d22cb228b1f4b 100644 (file)
@@ -1,10 +1,13 @@
 config BR2_PACKAGE_CGILUA
        bool "cgilua"
        depends on BR2_LARGEFILE
-       depends on BR2_PACKAGE_LUA_SHARED_LIBRARY
+       select BR2_PACKAGE_LUA_SHARED_LIBRARY
        select BR2_PACKAGE_LUAFILESYSTEM
        help
          CGILua is a tool for creating dynamic HTML pages
          and manipulating input data from Web forms.
 
          http://luaforge.net/projects/cgilua/
+
+comment "cgilua requires a toolchain with LARGEFILE support"
+       depends on !BR2_LARGEFILE