The package rpms/celestia.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/celestia.git/commit/?id=f6b0a9d69....
Change:
+%ifarch x86_64 aarch64
Thanks.
Full change:
============
commit b4c20c93bebdc18bd669ff82cd9325f2c959b8fe
Author: Mattia Verga <mattia.verga(a)proton.me>
Date: Sun Mar 5 16:50:46 2023 +0100
Upload missing sources
[skip changelog]
diff --git a/.gitignore b/.gitignore
index 6d71509..a9c26e3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,3 +5,4 @@ celestia-1.5.1.tar.gz
/celestia-1.6.1-clean.tar.xz
/celestia-1.6.2-beta3-clean.tar.xz
/1.6.2-beta3.tar.gz
+/Celestia-ebfcdb1248a9f35e5efdbf24e56e9f07418e55ff.tar.gz
diff --git a/sources b/sources
index 701bd90..749ff13 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (1.6.2-beta3.tar.gz) =
46e804559935a597e60f24b959cf9c0cf3236ca64cdec8311bd2d2923f6585c1060168893ebe3ad71aff1729beed5eeaa75bbb12eac1542b8d756aeb3c77030a
+SHA512 (Celestia-ebfcdb1248a9f35e5efdbf24e56e9f07418e55ff.tar.gz) =
4a948ca8c522a111e87f7431ce8a7e09423aaabf8cb5206de0815dfd20eba78e88477df2aa96e79a9a7c3f69ec5c834e9fc9118d4c55444cbb9d5e1275fecedb
commit f6b0a9d69def0f0fcd8f57d5fb7af29fd8d23a4b
Author: Mattia Verga <mattia.verga(a)proton.me>
Date: Sun Mar 5 16:38:45 2023 +0100
Update to
... git snapshot of 1.7 preview
- Update license tag to SPDX
- Provide gtk (default) and qt GUIs only
- Stop building on ix86
- Enable ffmpeg and libavif support
diff --git a/celestia-1.6.1-gcc47.patch b/celestia-1.6.1-gcc47.patch
deleted file mode 100644
index 385f39a..0000000
--- a/celestia-1.6.1-gcc47.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-diff -up celestia-1.6.1/src/celengine/frametree.h.gcc47
celestia-1.6.1/src/celengine/frametree.h
---- celestia-1.6.1/src/celengine/frametree.h.gcc47 2012-03-22 12:56:56.096087430 -0400
-+++ celestia-1.6.1/src/celengine/frametree.h 2012-03-22 12:57:04.333022427 -0400
-@@ -13,6 +13,7 @@
- #ifndef _CELENGINE_FRAMETREE_H_
- #define _CELENGINE_FRAMETREE_H_
-
-+#include <unistd.h>
- #include <vector>
-
- class Star;
-diff -up celestia-1.6.1/src/celengine/planetgrid.cpp.gcc47
celestia-1.6.1/src/celengine/planetgrid.cpp
---- celestia-1.6.1/src/celengine/planetgrid.cpp.gcc47 2012-03-22 12:53:01.496950513
-0400
-+++ celestia-1.6.1/src/celengine/planetgrid.cpp 2012-03-22 12:53:08.812891865 -0400
-@@ -12,6 +12,7 @@
-
- #include <cstdio>
- #include <cmath>
-+#include <celmath/mathlib.h>
- #include <celmath/intersect.h>
- #include "planetgrid.h"
- #include "body.h"
diff --git a/celestia-1.6.1-gcc48.patch b/celestia-1.6.1-gcc48.patch
deleted file mode 100644
index a100fc8..0000000
--- a/celestia-1.6.1-gcc48.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-diff -Naur celestia-1.6.1.orig/src/celengine/image.cpp
celestia-1.6.1/src/celengine/image.cpp
---- celestia-1.6.1.orig/src/celengine/image.cpp 2011-06-05 18:11:09.000000000 +0200
-+++ celestia-1.6.1/src/celengine/image.cpp 2013-08-22 06:34:16.238358718 +0200
-@@ -33,6 +33,8 @@
-
- #ifdef JPEG_SUPPORT
-
-+#include <cstring> /* for memcpy */
-+
- #ifndef PNG_SUPPORT
- #include "setjmp.h"
- #endif // PNG_SUPPORT
-diff -Naur celestia-1.6.1.orig/src/celengine/texture.cpp
celestia-1.6.1/src/celengine/texture.cpp
---- celestia-1.6.1.orig/src/celengine/texture.cpp 2011-06-05 18:11:09.000000000 +0200
-+++ celestia-1.6.1/src/celengine/texture.cpp 2013-08-22 06:34:16.239358735 +0200
-@@ -27,6 +27,7 @@
- #include <fstream>
- #include <cstdlib>
- #include <cstdio>
-+#include <cstring>
- #include <cassert>
-
- #ifndef _WIN32
-diff -Naur celestia-1.6.1.orig/src/celutil/basictypes.h
celestia-1.6.1/src/celutil/basictypes.h
---- celestia-1.6.1.orig/src/celutil/basictypes.h 2011-06-05 18:11:15.000000000 +0200
-+++ celestia-1.6.1/src/celutil/basictypes.h 2013-08-22 06:34:16.239358735 +0200
-@@ -31,7 +31,9 @@
- #include <limits>
- typedef int64_t int64;
- typedef uint64_t uint64;
-+#ifndef INT64_MAX
- #define INT64_MAX 9223372036854775807LL
-+#endif
- #ifndef UINT64_MAX
- #define UINT64_MAX 0xffffffffffffffffULL
- #endif
diff --git a/celestia-1.6.1-link-order.patch b/celestia-1.6.1-link-order.patch
deleted file mode 100644
index 03537d3..0000000
--- a/celestia-1.6.1-link-order.patch
+++ /dev/null
@@ -1,29 +0,0 @@
---- celestia-1.6.1/src/celestia/Makefile.in.link 2011-06-06 03:34:28.000000000 +0900
-+++ celestia-1.6.1/src/celestia/Makefile.in 2019-08-14 00:48:44.715120048 +0900
-@@ -477,7 +477,7 @@
- @ENABLE_KDE_TRUE@ $(LIBSOCKET) -lDCOP kde/libkdegui.a
-
- @ENABLE_KDE_TRUE@celestia_LDFLAGS = $(all_libraries) $(KDE_RPATH)
--@ENABLE_GTK_TRUE@celestiaGTKLIBS = $(GTK_LIBS) gtk/libgtkgui.a
-+@ENABLE_GTK_TRUE@celestiaGTKLIBS = gtk/libgtkgui.a $(GTK_LIBS)
- COMMONSOURCES = \
- celestiacore.cpp \
- configfile.cpp \
-@@ -530,14 +530,14 @@
- celestia_LDADD = \
- $(celestiaKDELIBS) \
- $(celestiaGTKLIBS) \
-- $(DL_LIBS) \
-- $(LUA_LIBS) \
-- $(THEORA_LIBS) \
- ../celengine/libcelengine.a \
- ../celtxf/libceltxf.a \
- ../cel3ds/libcel3ds.a \
- ../celmath/libcelmath.a \
- ../celutil/libcelutil.a \
-+ $(DL_LIBS) \
-+ $(LUA_LIBS) \
-+ $(THEORA_LIBS) \
- $(SPICE_LIBS)
-
- noinst_HEADERS = $(wildcard *.h)
diff --git a/celestia-1.6.1-lua-5.2.patch b/celestia-1.6.1-lua-5.2.patch
deleted file mode 100644
index 0ecb9b1..0000000
--- a/celestia-1.6.1-lua-5.2.patch
+++ /dev/null
@@ -1,3639 +0,0 @@
-diff -Naur celestia-1.6.1.orig/configure celestia-1.6.1/configure
---- celestia-1.6.1.orig/configure 2011-06-05 20:33:27.000000000 +0200
-+++ celestia-1.6.1/configure 2013-08-22 06:31:25.124482730 +0200
-@@ -28444,6 +28444,3350 @@
- pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
- elif test -n "$PKG_CONFIG"; then
- if test -n "$PKG_CONFIG" && \
-+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors
\"lua5.2 >= 5.2.0\""; } >&5
-+ ($PKG_CONFIG --exists --print-errors "lua5.2 >= 5.2.0") 2>&5
-+ ac_status=$?
-+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-+ test $ac_status = 0; }; then
-+ pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua5.2 >= 5.2.0"
2>/dev/null`
-+else
-+ pkg_failed=yes
-+fi
-+ else
-+ pkg_failed=untried
-+fi
-+if test -n "$LUA_LIBS"; then
-+ pkg_cv_LUA_LIBS="$LUA_LIBS"
-+ elif test -n "$PKG_CONFIG"; then
-+ if test -n "$PKG_CONFIG" && \
-+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors
\"lua5.2 >= 5.2.0\""; } >&5
-+ ($PKG_CONFIG --exists --print-errors "lua5.2 >= 5.2.0") 2>&5
-+ ac_status=$?
-+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-+ test $ac_status = 0; }; then
-+ pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua5.2 >= 5.2.0" 2>/dev/null`
-+else
-+ pkg_failed=yes
-+fi
-+ else
-+ pkg_failed=untried
-+fi
-+
-+
-+
-+if test $pkg_failed = yes; then
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+
-+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
-+ _pkg_short_errors_supported=yes
-+else
-+ _pkg_short_errors_supported=no
-+fi
-+ if test $_pkg_short_errors_supported = yes; then
-+ LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua5.2 >=
5.2.0" 2>&1`
-+ else
-+ LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua5.2 >= 5.2.0"
2>&1`
-+ fi
-+ # Put the nasty error message in config.log where it belongs
-+ echo "$LUA_PKG_ERRORS" >&5
-+
-+
-+pkg_failed=no
-+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
-+$as_echo_n "checking for LUA... " >&6; }
-+
-+if test -n "$LUA_CFLAGS"; then
-+ pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
-+ elif test -n "$PKG_CONFIG"; then
-+ if test -n "$PKG_CONFIG" && \
-+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors
\"lua >= 5.2.0\""; } >&5
-+ ($PKG_CONFIG --exists --print-errors "lua >= 5.2.0") 2>&5
-+ ac_status=$?
-+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-+ test $ac_status = 0; }; then
-+ pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua >= 5.2.0" 2>/dev/null`
-+else
-+ pkg_failed=yes
-+fi
-+ else
-+ pkg_failed=untried
-+fi
-+if test -n "$LUA_LIBS"; then
-+ pkg_cv_LUA_LIBS="$LUA_LIBS"
-+ elif test -n "$PKG_CONFIG"; then
-+ if test -n "$PKG_CONFIG" && \
-+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors
\"lua >= 5.2.0\""; } >&5
-+ ($PKG_CONFIG --exists --print-errors "lua >= 5.2.0") 2>&5
-+ ac_status=$?
-+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-+ test $ac_status = 0; }; then
-+ pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua >= 5.2.0" 2>/dev/null`
-+else
-+ pkg_failed=yes
-+fi
-+ else
-+ pkg_failed=untried
-+fi
-+
-+
-+
-+if test $pkg_failed = yes; then
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+
-+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
-+ _pkg_short_errors_supported=yes
-+else
-+ _pkg_short_errors_supported=no
-+fi
-+ if test $_pkg_short_errors_supported = yes; then
-+ LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua >=
5.2.0" 2>&1`
-+ else
-+ LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua >= 5.2.0"
2>&1`
-+ fi
-+ # Put the nasty error message in config.log where it belongs
-+ echo "$LUA_PKG_ERRORS" >&5
-+
-+
-+pkg_failed=no
-+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
-+$as_echo_n "checking for LUA... " >&6; }
-+
-+if test -n "$LUA_CFLAGS"; then
-+ pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
-+ elif test -n "$PKG_CONFIG"; then
-+ if test -n "$PKG_CONFIG" && \
-+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors
\"lua5.1 >= 5.1.0\""; } >&5
-+ ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1.0") 2>&5
-+ ac_status=$?
-+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-+ test $ac_status = 0; }; then
-+ pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua5.1 >= 5.1.0"
2>/dev/null`
-+else
-+ pkg_failed=yes
-+fi
-+ else
-+ pkg_failed=untried
-+fi
-+if test -n "$LUA_LIBS"; then
-+ pkg_cv_LUA_LIBS="$LUA_LIBS"
-+ elif test -n "$PKG_CONFIG"; then
-+ if test -n "$PKG_CONFIG" && \
-+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors
\"lua5.1 >= 5.1.0\""; } >&5
-+ ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1.0") 2>&5
-+ ac_status=$?
-+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-+ test $ac_status = 0; }; then
-+ pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua5.1 >= 5.1.0" 2>/dev/null`
-+else
-+ pkg_failed=yes
-+fi
-+ else
-+ pkg_failed=untried
-+fi
-+
-+
-+
-+if test $pkg_failed = yes; then
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+
-+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
-+ _pkg_short_errors_supported=yes
-+else
-+ _pkg_short_errors_supported=no
-+fi
-+ if test $_pkg_short_errors_supported = yes; then
-+ LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua5.1 >=
5.1.0" 2>&1`
-+ else
-+ LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua5.1 >= 5.1.0"
2>&1`
-+ fi
-+ # Put the nasty error message in config.log where it belongs
-+ echo "$LUA_PKG_ERRORS" >&5
-+
-+
-+pkg_failed=no
-+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
-+$as_echo_n "checking for LUA... " >&6; }
-+
-+if test -n "$LUA_CFLAGS"; then
-+ pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
-+ elif test -n "$PKG_CONFIG"; then
-+ if test -n "$PKG_CONFIG" && \
-+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors
\"lua >= 5.1.0\""; } >&5
-+ ($PKG_CONFIG --exists --print-errors "lua >= 5.1.0") 2>&5
-+ ac_status=$?
-+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-+ test $ac_status = 0; }; then
-+ pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua >= 5.1.0" 2>/dev/null`
-+else
-+ pkg_failed=yes
-+fi
-+ else
-+ pkg_failed=untried
-+fi
-+if test -n "$LUA_LIBS"; then
-+ pkg_cv_LUA_LIBS="$LUA_LIBS"
-+ elif test -n "$PKG_CONFIG"; then
-+ if test -n "$PKG_CONFIG" && \
-+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors
\"lua >= 5.1.0\""; } >&5
-+ ($PKG_CONFIG --exists --print-errors "lua >= 5.1.0") 2>&5
-+ ac_status=$?
-+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-+ test $ac_status = 0; }; then
-+ pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua >= 5.1.0" 2>/dev/null`
-+else
-+ pkg_failed=yes
-+fi
-+ else
-+ pkg_failed=untried
-+fi
-+
-+
-+
-+if test $pkg_failed = yes; then
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+
-+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
-+ _pkg_short_errors_supported=yes
-+else
-+ _pkg_short_errors_supported=no
-+fi
-+ if test $_pkg_short_errors_supported = yes; then
-+ LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua >=
5.1.0" 2>&1`
-+ else
-+ LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua >= 5.1.0"
2>&1`
-+ fi
-+ # Put the nasty error message in config.log where it belongs
-+ echo "$LUA_PKG_ERRORS" >&5
-+
-+
-+pkg_failed=no
-+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
-+$as_echo_n "checking for LUA... " >&6; }
-+
-+if test -n "$LUA_CFLAGS"; then
-+ pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
-+ elif test -n "$PKG_CONFIG"; then
-+ if test -n "$PKG_CONFIG" && \
-+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors
\"lua50 >= 5.0.0 lua50 < 5.1.0\""; } >&5
-+ ($PKG_CONFIG --exists --print-errors "lua50 >= 5.0.0 lua50 < 5.1.0")
2>&5
-+ ac_status=$?
-+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-+ test $ac_status = 0; }; then
-+ pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua50 >= 5.0.0 lua50 < 5.1.0"
2>/dev/null`
-+else
-+ pkg_failed=yes
-+fi
-+ else
-+ pkg_failed=untried
-+fi
-+if test -n "$LUA_LIBS"; then
-+ pkg_cv_LUA_LIBS="$LUA_LIBS"
-+ elif test -n "$PKG_CONFIG"; then
-+ if test -n "$PKG_CONFIG" && \
-+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors
\"lua50 >= 5.0.0 lua50 < 5.1.0\""; } >&5
-+ ($PKG_CONFIG --exists --print-errors "lua50 >= 5.0.0 lua50 < 5.1.0")
2>&5
-+ ac_status=$?
-+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-+ test $ac_status = 0; }; then
-+ pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua50 >= 5.0.0 lua50 < 5.1.0"
2>/dev/null`
-+else
-+ pkg_failed=yes
-+fi
-+ else
-+ pkg_failed=untried
-+fi
-+
-+
-+
-+if test $pkg_failed = yes; then
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+
-+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
-+ _pkg_short_errors_supported=yes
-+else
-+ _pkg_short_errors_supported=no
-+fi
-+ if test $_pkg_short_errors_supported = yes; then
-+ LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua50 >=
5.0.0 lua50 < 5.1.0" 2>&1`
-+ else
-+ LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua50 >= 5.0.0 lua50 <
5.1.0" 2>&1`
-+ fi
-+ # Put the nasty error message in config.log where it belongs
-+ echo "$LUA_PKG_ERRORS" >&5
-+
-+
-+pkg_failed=no
-+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
-+$as_echo_n "checking for LUA... " >&6; }
-+
-+if test -n "$LUA_CFLAGS"; then
-+ pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
-+ elif test -n "$PKG_CONFIG"; then
-+ if test -n "$PKG_CONFIG" && \
-+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors
\"lua >= 5.0.0 lua < 5.1.0\""; } >&5
-+ ($PKG_CONFIG --exists --print-errors "lua >= 5.0.0 lua < 5.1.0")
2>&5
-+ ac_status=$?
-+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-+ test $ac_status = 0; }; then
-+ pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua >= 5.0.0 lua < 5.1.0"
2>/dev/null`
-+else
-+ pkg_failed=yes
-+fi
-+ else
-+ pkg_failed=untried
-+fi
-+if test -n "$LUA_LIBS"; then
-+ pkg_cv_LUA_LIBS="$LUA_LIBS"
-+ elif test -n "$PKG_CONFIG"; then
-+ if test -n "$PKG_CONFIG" && \
-+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors
\"lua >= 5.0.0 lua < 5.1.0\""; } >&5
-+ ($PKG_CONFIG --exists --print-errors "lua >= 5.0.0 lua < 5.1.0")
2>&5
-+ ac_status=$?
-+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-+ test $ac_status = 0; }; then
-+ pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua >= 5.0.0 lua < 5.1.0"
2>/dev/null`
-+else
-+ pkg_failed=yes
-+fi
-+ else
-+ pkg_failed=untried
-+fi
-+
-+
-+
-+if test $pkg_failed = yes; then
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+
-+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
-+ _pkg_short_errors_supported=yes
-+else
-+ _pkg_short_errors_supported=no
-+fi
-+ if test $_pkg_short_errors_supported = yes; then
-+ LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua >= 5.0.0
lua < 5.1.0" 2>&1`
-+ else
-+ LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua >= 5.0.0 lua <
5.1.0" 2>&1`
-+ fi
-+ # Put the nasty error message in config.log where it belongs
-+ echo "$LUA_PKG_ERRORS" >&5
-+
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+elif test $pkg_failed = untried; then
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+else
-+ LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
-+ LUA_LIBS=$pkg_cv_LUA_LIBS
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-+$as_echo "yes" >&6; }
-+ LUA_VER=0x050000
-+fi
-+
-+elif test $pkg_failed = untried; then
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+
-+pkg_failed=no
-+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
-+$as_echo_n "checking for LUA... " >&6; }
-+
-+if test -n "$LUA_CFLAGS"; then
-+ pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
-+ elif test -n "$PKG_CONFIG"; then
-+ if test -n "$PKG_CONFIG" && \
-+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors
\"lua >= 5.0.0 lua < 5.1.0\""; } >&5
-+ ($PKG_CONFIG --exists --print-errors "lua >= 5.0.0 lua < 5.1.0")
2>&5
-+ ac_status=$?
-+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-+ test $ac_status = 0; }; then
-+ pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua >= 5.0.0 lua < 5.1.0"
2>/dev/null`
-+else
-+ pkg_failed=yes
-+fi
-+ else
-+ pkg_failed=untried
-+fi
-+if test -n "$LUA_LIBS"; then
-+ pkg_cv_LUA_LIBS="$LUA_LIBS"
-+ elif test -n "$PKG_CONFIG"; then
-+ if test -n "$PKG_CONFIG" && \
-+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors
\"lua >= 5.0.0 lua < 5.1.0\""; } >&5
-+ ($PKG_CONFIG --exists --print-errors "lua >= 5.0.0 lua < 5.1.0")
2>&5
-+ ac_status=$?
-+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-+ test $ac_status = 0; }; then
-+ pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua >= 5.0.0 lua < 5.1.0"
2>/dev/null`
-+else
-+ pkg_failed=yes
-+fi
-+ else
-+ pkg_failed=untried
-+fi
-+
-+
-+
-+if test $pkg_failed = yes; then
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+
-+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
-+ _pkg_short_errors_supported=yes
-+else
-+ _pkg_short_errors_supported=no
-+fi
-+ if test $_pkg_short_errors_supported = yes; then
-+ LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua >= 5.0.0
lua < 5.1.0" 2>&1`
-+ else
-+ LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua >= 5.0.0 lua <
5.1.0" 2>&1`
-+ fi
-+ # Put the nasty error message in config.log where it belongs
-+ echo "$LUA_PKG_ERRORS" >&5
-+
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+elif test $pkg_failed = untried; then
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+else
-+ LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
-+ LUA_LIBS=$pkg_cv_LUA_LIBS
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-+$as_echo "yes" >&6; }
-+ LUA_VER=0x050000
-+fi
-+
-+else
-+ LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
-+ LUA_LIBS=$pkg_cv_LUA_LIBS
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-+$as_echo "yes" >&6; }
-+ LUA_VER=0x050000
-+fi
-+
-+elif test $pkg_failed = untried; then
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+
-+pkg_failed=no
-+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
-+$as_echo_n "checking for LUA... " >&6; }
-+
-+if test -n "$LUA_CFLAGS"; then
-+ pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
-+ elif test -n "$PKG_CONFIG"; then
-+ if test -n "$PKG_CONFIG" && \
-+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors
\"lua50 >= 5.0.0 lua50 < 5.1.0\""; } >&5
-+ ($PKG_CONFIG --exists --print-errors "lua50 >= 5.0.0 lua50 < 5.1.0")
2>&5
-+ ac_status=$?
-+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-+ test $ac_status = 0; }; then
-+ pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua50 >= 5.0.0 lua50 < 5.1.0"
2>/dev/null`
-+else
-+ pkg_failed=yes
-+fi
-+ else
-+ pkg_failed=untried
-+fi
-+if test -n "$LUA_LIBS"; then
-+ pkg_cv_LUA_LIBS="$LUA_LIBS"
-+ elif test -n "$PKG_CONFIG"; then
-+ if test -n "$PKG_CONFIG" && \
-+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors
\"lua50 >= 5.0.0 lua50 < 5.1.0\""; } >&5
-+ ($PKG_CONFIG --exists --print-errors "lua50 >= 5.0.0 lua50 < 5.1.0")
2>&5
-+ ac_status=$?
-+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-+ test $ac_status = 0; }; then
-+ pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua50 >= 5.0.0 lua50 < 5.1.0"
2>/dev/null`
-+else
-+ pkg_failed=yes
-+fi
-+ else
-+ pkg_failed=untried
-+fi
-+
-+
-+
-+if test $pkg_failed = yes; then
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+
-+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
-+ _pkg_short_errors_supported=yes
-+else
-+ _pkg_short_errors_supported=no
-+fi
-+ if test $_pkg_short_errors_supported = yes; then
-+ LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua50 >=
5.0.0 lua50 < 5.1.0" 2>&1`
-+ else
-+ LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua50 >= 5.0.0 lua50 <
5.1.0" 2>&1`
-+ fi
-+ # Put the nasty error message in config.log where it belongs
-+ echo "$LUA_PKG_ERRORS" >&5
-+
-+
-+pkg_failed=no
-+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
-+$as_echo_n "checking for LUA... " >&6; }
-+
-+if test -n "$LUA_CFLAGS"; then
-+ pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
-+ elif test -n "$PKG_CONFIG"; then
-+ if test -n "$PKG_CONFIG" && \
-+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors
\"lua >= 5.0.0 lua < 5.1.0\""; } >&5
-+ ($PKG_CONFIG --exists --print-errors "lua >= 5.0.0 lua < 5.1.0")
2>&5
-+ ac_status=$?
-+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-+ test $ac_status = 0; }; then
-+ pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua >= 5.0.0 lua < 5.1.0"
2>/dev/null`
-+else
-+ pkg_failed=yes
-+fi
-+ else
-+ pkg_failed=untried
-+fi
-+if test -n "$LUA_LIBS"; then
-+ pkg_cv_LUA_LIBS="$LUA_LIBS"
-+ elif test -n "$PKG_CONFIG"; then
-+ if test -n "$PKG_CONFIG" && \
-+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors
\"lua >= 5.0.0 lua < 5.1.0\""; } >&5
-+ ($PKG_CONFIG --exists --print-errors "lua >= 5.0.0 lua < 5.1.0")
2>&5
-+ ac_status=$?
-+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-+ test $ac_status = 0; }; then
-+ pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua >= 5.0.0 lua < 5.1.0"
2>/dev/null`
-+else
-+ pkg_failed=yes
-+fi
-+ else
-+ pkg_failed=untried
-+fi
-+
-+
-+
-+if test $pkg_failed = yes; then
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+
-+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
-+ _pkg_short_errors_supported=yes
-+else
-+ _pkg_short_errors_supported=no
-+fi
-+ if test $_pkg_short_errors_supported = yes; then
-+ LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua >= 5.0.0
lua < 5.1.0" 2>&1`
-+ else
-+ LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua >= 5.0.0 lua <
5.1.0" 2>&1`
-+ fi
-+ # Put the nasty error message in config.log where it belongs
-+ echo "$LUA_PKG_ERRORS" >&5
-+
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+elif test $pkg_failed = untried; then
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+else
-+ LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
-+ LUA_LIBS=$pkg_cv_LUA_LIBS
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-+$as_echo "yes" >&6; }
-+ LUA_VER=0x050000
-+fi
-+
-+elif test $pkg_failed = untried; then
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+
-+pkg_failed=no
-+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
-+$as_echo_n "checking for LUA... " >&6; }
-+
-+if test -n "$LUA_CFLAGS"; then
-+ pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
-+ elif test -n "$PKG_CONFIG"; then
-+ if test -n "$PKG_CONFIG" && \
-+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors
\"lua >= 5.0.0 lua < 5.1.0\""; } >&5
-+ ($PKG_CONFIG --exists --print-errors "lua >= 5.0.0 lua < 5.1.0")
2>&5
-+ ac_status=$?
-+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-+ test $ac_status = 0; }; then
-+ pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua >= 5.0.0 lua < 5.1.0"
2>/dev/null`
-+else
-+ pkg_failed=yes
-+fi
-+ else
-+ pkg_failed=untried
-+fi
-+if test -n "$LUA_LIBS"; then
-+ pkg_cv_LUA_LIBS="$LUA_LIBS"
-+ elif test -n "$PKG_CONFIG"; then
-+ if test -n "$PKG_CONFIG" && \
-+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors
\"lua >= 5.0.0 lua < 5.1.0\""; } >&5
-+ ($PKG_CONFIG --exists --print-errors "lua >= 5.0.0 lua < 5.1.0")
2>&5
-+ ac_status=$?
-+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-+ test $ac_status = 0; }; then
-+ pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua >= 5.0.0 lua < 5.1.0"
2>/dev/null`
-+else
-+ pkg_failed=yes
-+fi
-+ else
-+ pkg_failed=untried
-+fi
-+
-+
-+
-+if test $pkg_failed = yes; then
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+
-+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
-+ _pkg_short_errors_supported=yes
-+else
-+ _pkg_short_errors_supported=no
-+fi
-+ if test $_pkg_short_errors_supported = yes; then
-+ LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua >= 5.0.0
lua < 5.1.0" 2>&1`
-+ else
-+ LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua >= 5.0.0 lua <
5.1.0" 2>&1`
-+ fi
-+ # Put the nasty error message in config.log where it belongs
-+ echo "$LUA_PKG_ERRORS" >&5
-+
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+elif test $pkg_failed = untried; then
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+else
-+ LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
-+ LUA_LIBS=$pkg_cv_LUA_LIBS
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-+$as_echo "yes" >&6; }
-+ LUA_VER=0x050000
-+fi
-+
-+else
-+ LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
-+ LUA_LIBS=$pkg_cv_LUA_LIBS
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-+$as_echo "yes" >&6; }
-+ LUA_VER=0x050000
-+fi
-+
-+else
-+ LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
-+ LUA_LIBS=$pkg_cv_LUA_LIBS
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-+$as_echo "yes" >&6; }
-+ LUA_VER=0x050100
-+fi
-+
-+elif test $pkg_failed = untried; then
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+
-+pkg_failed=no
-+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
-+$as_echo_n "checking for LUA... " >&6; }
-+
-+if test -n "$LUA_CFLAGS"; then
-+ pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
-+ elif test -n "$PKG_CONFIG"; then
-+ if test -n "$PKG_CONFIG" && \
-+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors
\"lua >= 5.1.0\""; } >&5
-+ ($PKG_CONFIG --exists --print-errors "lua >= 5.1.0") 2>&5
-+ ac_status=$?
-+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-+ test $ac_status = 0; }; then
-+ pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua >= 5.1.0" 2>/dev/null`
-+else
-+ pkg_failed=yes
-+fi
-+ else
-+ pkg_failed=untried
-+fi
-+if test -n "$LUA_LIBS"; then
-+ pkg_cv_LUA_LIBS="$LUA_LIBS"
-+ elif test -n "$PKG_CONFIG"; then
-+ if test -n "$PKG_CONFIG" && \
-+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors
\"lua >= 5.1.0\""; } >&5
-+ ($PKG_CONFIG --exists --print-errors "lua >= 5.1.0") 2>&5
-+ ac_status=$?
-+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-+ test $ac_status = 0; }; then
-+ pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua >= 5.1.0" 2>/dev/null`
-+else
-+ pkg_failed=yes
-+fi
-+ else
-+ pkg_failed=untried
-+fi
-+
-+
-+
-+if test $pkg_failed = yes; then
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+
-+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
-+ _pkg_short_errors_supported=yes
-+else
-+ _pkg_short_errors_supported=no
-+fi
-+ if test $_pkg_short_errors_supported = yes; then
-+ LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua >=
5.1.0" 2>&1`
-+ else
-+ LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua >= 5.1.0"
2>&1`
-+ fi
-+ # Put the nasty error message in config.log where it belongs
-+ echo "$LUA_PKG_ERRORS" >&5
-+
-+
-+pkg_failed=no
-+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
-+$as_echo_n "checking for LUA... " >&6; }
-+
-+if test -n "$LUA_CFLAGS"; then
-+ pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
-+ elif test -n "$PKG_CONFIG"; then
-+ if test -n "$PKG_CONFIG" && \
-+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors
\"lua50 >= 5.0.0 lua50 < 5.1.0\""; } >&5
-+ ($PKG_CONFIG --exists --print-errors "lua50 >= 5.0.0 lua50 < 5.1.0")
2>&5
-+ ac_status=$?
-+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-+ test $ac_status = 0; }; then
-+ pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua50 >= 5.0.0 lua50 < 5.1.0"
2>/dev/null`
-+else
-+ pkg_failed=yes
-+fi
-+ else
-+ pkg_failed=untried
-+fi
-+if test -n "$LUA_LIBS"; then
-+ pkg_cv_LUA_LIBS="$LUA_LIBS"
-+ elif test -n "$PKG_CONFIG"; then
-+ if test -n "$PKG_CONFIG" && \
-+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors
\"lua50 >= 5.0.0 lua50 < 5.1.0\""; } >&5
-+ ($PKG_CONFIG --exists --print-errors "lua50 >= 5.0.0 lua50 < 5.1.0")
2>&5
-+ ac_status=$?
-+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-+ test $ac_status = 0; }; then
-+ pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua50 >= 5.0.0 lua50 < 5.1.0"
2>/dev/null`
-+else
-+ pkg_failed=yes
-+fi
-+ else
-+ pkg_failed=untried
-+fi
-+
-+
-+
-+if test $pkg_failed = yes; then
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+
-+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
-+ _pkg_short_errors_supported=yes
-+else
-+ _pkg_short_errors_supported=no
-+fi
-+ if test $_pkg_short_errors_supported = yes; then
-+ LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua50 >=
5.0.0 lua50 < 5.1.0" 2>&1`
-+ else
-+ LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua50 >= 5.0.0 lua50 <
5.1.0" 2>&1`
-+ fi
-+ # Put the nasty error message in config.log where it belongs
-+ echo "$LUA_PKG_ERRORS" >&5
-+
-+
-+pkg_failed=no
-+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
-+$as_echo_n "checking for LUA... " >&6; }
-+
-+if test -n "$LUA_CFLAGS"; then
-+ pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
-+ elif test -n "$PKG_CONFIG"; then
-+ if test -n "$PKG_CONFIG" && \
-+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors
\"lua >= 5.0.0 lua < 5.1.0\""; } >&5
-+ ($PKG_CONFIG --exists --print-errors "lua >= 5.0.0 lua < 5.1.0")
2>&5
-+ ac_status=$?
-+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-+ test $ac_status = 0; }; then
-+ pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua >= 5.0.0 lua < 5.1.0"
2>/dev/null`
-+else
-+ pkg_failed=yes
-+fi
-+ else
-+ pkg_failed=untried
-+fi
-+if test -n "$LUA_LIBS"; then
-+ pkg_cv_LUA_LIBS="$LUA_LIBS"
-+ elif test -n "$PKG_CONFIG"; then
-+ if test -n "$PKG_CONFIG" && \
-+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors
\"lua >= 5.0.0 lua < 5.1.0\""; } >&5
-+ ($PKG_CONFIG --exists --print-errors "lua >= 5.0.0 lua < 5.1.0")
2>&5
-+ ac_status=$?
-+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-+ test $ac_status = 0; }; then
-+ pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua >= 5.0.0 lua < 5.1.0"
2>/dev/null`
-+else
-+ pkg_failed=yes
-+fi
-+ else
-+ pkg_failed=untried
-+fi
-+
-+
-+
-+if test $pkg_failed = yes; then
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+
-+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
-+ _pkg_short_errors_supported=yes
-+else
-+ _pkg_short_errors_supported=no
-+fi
-+ if test $_pkg_short_errors_supported = yes; then
-+ LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua >= 5.0.0
lua < 5.1.0" 2>&1`
-+ else
-+ LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua >= 5.0.0 lua <
5.1.0" 2>&1`
-+ fi
-+ # Put the nasty error message in config.log where it belongs
-+ echo "$LUA_PKG_ERRORS" >&5
-+
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+elif test $pkg_failed = untried; then
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+else
-+ LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
-+ LUA_LIBS=$pkg_cv_LUA_LIBS
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-+$as_echo "yes" >&6; }
-+ LUA_VER=0x050000
-+fi
-+
-+elif test $pkg_failed = untried; then
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+
-+pkg_failed=no
-+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
-+$as_echo_n "checking for LUA... " >&6; }
-+
-+if test -n "$LUA_CFLAGS"; then
-+ pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
-+ elif test -n "$PKG_CONFIG"; then
-+ if test -n "$PKG_CONFIG" && \
-+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors
\"lua >= 5.0.0 lua < 5.1.0\""; } >&5
-+ ($PKG_CONFIG --exists --print-errors "lua >= 5.0.0 lua < 5.1.0")
2>&5
-+ ac_status=$?
-+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-+ test $ac_status = 0; }; then
-+ pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua >= 5.0.0 lua < 5.1.0"
2>/dev/null`
-+else
-+ pkg_failed=yes
-+fi
-+ else
-+ pkg_failed=untried
-+fi
-+if test -n "$LUA_LIBS"; then
-+ pkg_cv_LUA_LIBS="$LUA_LIBS"
-+ elif test -n "$PKG_CONFIG"; then
-+ if test -n "$PKG_CONFIG" && \
-+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors
\"lua >= 5.0.0 lua < 5.1.0\""; } >&5
-+ ($PKG_CONFIG --exists --print-errors "lua >= 5.0.0 lua < 5.1.0")
2>&5
-+ ac_status=$?
-+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-+ test $ac_status = 0; }; then
-+ pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua >= 5.0.0 lua < 5.1.0"
2>/dev/null`
-+else
-+ pkg_failed=yes
-+fi
-+ else
-+ pkg_failed=untried
-+fi
-+
-+
-+
-+if test $pkg_failed = yes; then
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+
-+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
-+ _pkg_short_errors_supported=yes
-+else
-+ _pkg_short_errors_supported=no
-+fi
-+ if test $_pkg_short_errors_supported = yes; then
-+ LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua >= 5.0.0
lua < 5.1.0" 2>&1`
-+ else
-+ LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua >= 5.0.0 lua <
5.1.0" 2>&1`
-+ fi
-+ # Put the nasty error message in config.log where it belongs
-+ echo "$LUA_PKG_ERRORS" >&5
-+
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+elif test $pkg_failed = untried; then
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+else
-+ LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
-+ LUA_LIBS=$pkg_cv_LUA_LIBS
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-+$as_echo "yes" >&6; }
-+ LUA_VER=0x050000
-+fi
-+
-+else
-+ LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
-+ LUA_LIBS=$pkg_cv_LUA_LIBS
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-+$as_echo "yes" >&6; }
-+ LUA_VER=0x050000
-+fi
-+
-+elif test $pkg_failed = untried; then
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+
-+pkg_failed=no
-+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
-+$as_echo_n "checking for LUA... " >&6; }
-+
-+if test -n "$LUA_CFLAGS"; then
-+ pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
-+ elif test -n "$PKG_CONFIG"; then
-+ if test -n "$PKG_CONFIG" && \
-+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors
\"lua50 >= 5.0.0 lua50 < 5.1.0\""; } >&5
-+ ($PKG_CONFIG --exists --print-errors "lua50 >= 5.0.0 lua50 < 5.1.0")
2>&5
-+ ac_status=$?
-+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-+ test $ac_status = 0; }; then
-+ pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua50 >= 5.0.0 lua50 < 5.1.0"
2>/dev/null`
-+else
-+ pkg_failed=yes
-+fi
-+ else
-+ pkg_failed=untried
-+fi
-+if test -n "$LUA_LIBS"; then
-+ pkg_cv_LUA_LIBS="$LUA_LIBS"
-+ elif test -n "$PKG_CONFIG"; then
-+ if test -n "$PKG_CONFIG" && \
-+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors
\"lua50 >= 5.0.0 lua50 < 5.1.0\""; } >&5
-+ ($PKG_CONFIG --exists --print-errors "lua50 >= 5.0.0 lua50 < 5.1.0")
2>&5
-+ ac_status=$?
-+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-+ test $ac_status = 0; }; then
-+ pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua50 >= 5.0.0 lua50 < 5.1.0"
2>/dev/null`
-+else
-+ pkg_failed=yes
-+fi
-+ else
-+ pkg_failed=untried
-+fi
-+
-+
-+
-+if test $pkg_failed = yes; then
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+
-+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
-+ _pkg_short_errors_supported=yes
-+else
-+ _pkg_short_errors_supported=no
-+fi
-+ if test $_pkg_short_errors_supported = yes; then
-+ LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua50 >=
5.0.0 lua50 < 5.1.0" 2>&1`
-+ else
-+ LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua50 >= 5.0.0 lua50 <
5.1.0" 2>&1`
-+ fi
-+ # Put the nasty error message in config.log where it belongs
-+ echo "$LUA_PKG_ERRORS" >&5
-+
-+
-+pkg_failed=no
-+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
-+$as_echo_n "checking for LUA... " >&6; }
-+
-+if test -n "$LUA_CFLAGS"; then
-+ pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
-+ elif test -n "$PKG_CONFIG"; then
-+ if test -n "$PKG_CONFIG" && \
-+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors
\"lua >= 5.0.0 lua < 5.1.0\""; } >&5
-+ ($PKG_CONFIG --exists --print-errors "lua >= 5.0.0 lua < 5.1.0")
2>&5
-+ ac_status=$?
-+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-+ test $ac_status = 0; }; then
-+ pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua >= 5.0.0 lua < 5.1.0"
2>/dev/null`
-+else
-+ pkg_failed=yes
-+fi
-+ else
-+ pkg_failed=untried
-+fi
-+if test -n "$LUA_LIBS"; then
-+ pkg_cv_LUA_LIBS="$LUA_LIBS"
-+ elif test -n "$PKG_CONFIG"; then
-+ if test -n "$PKG_CONFIG" && \
-+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors
\"lua >= 5.0.0 lua < 5.1.0\""; } >&5
-+ ($PKG_CONFIG --exists --print-errors "lua >= 5.0.0 lua < 5.1.0")
2>&5
-+ ac_status=$?
-+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-+ test $ac_status = 0; }; then
-+ pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua >= 5.0.0 lua < 5.1.0"
2>/dev/null`
-+else
-+ pkg_failed=yes
-+fi
-+ else
-+ pkg_failed=untried
-+fi
-+
-+
-+
-+if test $pkg_failed = yes; then
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+
-+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
-+ _pkg_short_errors_supported=yes
-+else
-+ _pkg_short_errors_supported=no
-+fi
-+ if test $_pkg_short_errors_supported = yes; then
-+ LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua >= 5.0.0
lua < 5.1.0" 2>&1`
-+ else
-+ LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua >= 5.0.0 lua <
5.1.0" 2>&1`
-+ fi
-+ # Put the nasty error message in config.log where it belongs
-+ echo "$LUA_PKG_ERRORS" >&5
-+
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+elif test $pkg_failed = untried; then
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+else
-+ LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
-+ LUA_LIBS=$pkg_cv_LUA_LIBS
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-+$as_echo "yes" >&6; }
-+ LUA_VER=0x050000
-+fi
-+
-+elif test $pkg_failed = untried; then
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+
-+pkg_failed=no
-+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
-+$as_echo_n "checking for LUA... " >&6; }
-+
-+if test -n "$LUA_CFLAGS"; then
-+ pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
-+ elif test -n "$PKG_CONFIG"; then
-+ if test -n "$PKG_CONFIG" && \
-+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors
\"lua >= 5.0.0 lua < 5.1.0\""; } >&5
-+ ($PKG_CONFIG --exists --print-errors "lua >= 5.0.0 lua < 5.1.0")
2>&5
-+ ac_status=$?
-+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-+ test $ac_status = 0; }; then
-+ pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua >= 5.0.0 lua < 5.1.0"
2>/dev/null`
-+else
-+ pkg_failed=yes
-+fi
-+ else
-+ pkg_failed=untried
-+fi
-+if test -n "$LUA_LIBS"; then
-+ pkg_cv_LUA_LIBS="$LUA_LIBS"
-+ elif test -n "$PKG_CONFIG"; then
-+ if test -n "$PKG_CONFIG" && \
-+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors
\"lua >= 5.0.0 lua < 5.1.0\""; } >&5
-+ ($PKG_CONFIG --exists --print-errors "lua >= 5.0.0 lua < 5.1.0")
2>&5
-+ ac_status=$?
-+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-+ test $ac_status = 0; }; then
-+ pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua >= 5.0.0 lua < 5.1.0"
2>/dev/null`
-+else
-+ pkg_failed=yes
-+fi
-+ else
-+ pkg_failed=untried
-+fi
-+
-+
-+
-+if test $pkg_failed = yes; then
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+
-+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
-+ _pkg_short_errors_supported=yes
-+else
-+ _pkg_short_errors_supported=no
-+fi
-+ if test $_pkg_short_errors_supported = yes; then
-+ LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua >= 5.0.0
lua < 5.1.0" 2>&1`
-+ else
-+ LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua >= 5.0.0 lua <
5.1.0" 2>&1`
-+ fi
-+ # Put the nasty error message in config.log where it belongs
-+ echo "$LUA_PKG_ERRORS" >&5
-+
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+elif test $pkg_failed = untried; then
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+else
-+ LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
-+ LUA_LIBS=$pkg_cv_LUA_LIBS
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-+$as_echo "yes" >&6; }
-+ LUA_VER=0x050000
-+fi
-+
-+else
-+ LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
-+ LUA_LIBS=$pkg_cv_LUA_LIBS
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-+$as_echo "yes" >&6; }
-+ LUA_VER=0x050000
-+fi
-+
-+else
-+ LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
-+ LUA_LIBS=$pkg_cv_LUA_LIBS
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-+$as_echo "yes" >&6; }
-+ LUA_VER=0x050100
-+fi
-+
-+else
-+ LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
-+ LUA_LIBS=$pkg_cv_LUA_LIBS
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-+$as_echo "yes" >&6; }
-+ LUA_VER=0x050100
-+fi
-+
-+elif test $pkg_failed = untried; then
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+
-+pkg_failed=no
-+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
-+$as_echo_n "checking for LUA... " >&6; }
-+
-+if test -n "$LUA_CFLAGS"; then
-+ pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
-+ elif test -n "$PKG_CONFIG"; then
-+ if test -n "$PKG_CONFIG" && \
-+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors
\"lua5.1 >= 5.1.0\""; } >&5
-+ ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1.0") 2>&5
-+ ac_status=$?
-+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-+ test $ac_status = 0; }; then
-+ pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua5.1 >= 5.1.0"
2>/dev/null`
-+else
-+ pkg_failed=yes
-+fi
-+ else
-+ pkg_failed=untried
-+fi
-+if test -n "$LUA_LIBS"; then
-+ pkg_cv_LUA_LIBS="$LUA_LIBS"
-+ elif test -n "$PKG_CONFIG"; then
-+ if test -n "$PKG_CONFIG" && \
-+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors
\"lua5.1 >= 5.1.0\""; } >&5
-+ ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1.0") 2>&5
-+ ac_status=$?
-+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-+ test $ac_status = 0; }; then
-+ pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua5.1 >= 5.1.0" 2>/dev/null`
-+else
-+ pkg_failed=yes
-+fi
-+ else
-+ pkg_failed=untried
-+fi
-+
-+
-+
-+if test $pkg_failed = yes; then
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+
-+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
-+ _pkg_short_errors_supported=yes
-+else
-+ _pkg_short_errors_supported=no
-+fi
-+ if test $_pkg_short_errors_supported = yes; then
-+ LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua5.1 >=
5.1.0" 2>&1`
-+ else
-+ LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua5.1 >= 5.1.0"
2>&1`
-+ fi
-+ # Put the nasty error message in config.log where it belongs
-+ echo "$LUA_PKG_ERRORS" >&5
-+
-+
-+pkg_failed=no
-+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
-+$as_echo_n "checking for LUA... " >&6; }
-+
-+if test -n "$LUA_CFLAGS"; then
-+ pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
-+ elif test -n "$PKG_CONFIG"; then
-+ if test -n "$PKG_CONFIG" && \
-+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors
\"lua >= 5.1.0\""; } >&5
-+ ($PKG_CONFIG --exists --print-errors "lua >= 5.1.0") 2>&5
-+ ac_status=$?
-+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-+ test $ac_status = 0; }; then
-+ pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua >= 5.1.0" 2>/dev/null`
-+else
-+ pkg_failed=yes
-+fi
-+ else
-+ pkg_failed=untried
-+fi
-+if test -n "$LUA_LIBS"; then
-+ pkg_cv_LUA_LIBS="$LUA_LIBS"
-+ elif test -n "$PKG_CONFIG"; then
-+ if test -n "$PKG_CONFIG" && \
-+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors
\"lua >= 5.1.0\""; } >&5
-+ ($PKG_CONFIG --exists --print-errors "lua >= 5.1.0") 2>&5
-+ ac_status=$?
-+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-+ test $ac_status = 0; }; then
-+ pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua >= 5.1.0" 2>/dev/null`
-+else
-+ pkg_failed=yes
-+fi
-+ else
-+ pkg_failed=untried
-+fi
-+
-+
-+
-+if test $pkg_failed = yes; then
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+
-+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
-+ _pkg_short_errors_supported=yes
-+else
-+ _pkg_short_errors_supported=no
-+fi
-+ if test $_pkg_short_errors_supported = yes; then
-+ LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua >=
5.1.0" 2>&1`
-+ else
-+ LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua >= 5.1.0"
2>&1`
-+ fi
-+ # Put the nasty error message in config.log where it belongs
-+ echo "$LUA_PKG_ERRORS" >&5
-+
-+
-+pkg_failed=no
-+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
-+$as_echo_n "checking for LUA... " >&6; }
-+
-+if test -n "$LUA_CFLAGS"; then
-+ pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
-+ elif test -n "$PKG_CONFIG"; then
-+ if test -n "$PKG_CONFIG" && \
-+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors
\"lua50 >= 5.0.0 lua50 < 5.1.0\""; } >&5
-+ ($PKG_CONFIG --exists --print-errors "lua50 >= 5.0.0 lua50 < 5.1.0")
2>&5
-+ ac_status=$?
-+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-+ test $ac_status = 0; }; then
-+ pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua50 >= 5.0.0 lua50 < 5.1.0"
2>/dev/null`
-+else
-+ pkg_failed=yes
-+fi
-+ else
-+ pkg_failed=untried
-+fi
-+if test -n "$LUA_LIBS"; then
-+ pkg_cv_LUA_LIBS="$LUA_LIBS"
-+ elif test -n "$PKG_CONFIG"; then
-+ if test -n "$PKG_CONFIG" && \
-+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors
\"lua50 >= 5.0.0 lua50 < 5.1.0\""; } >&5
-+ ($PKG_CONFIG --exists --print-errors "lua50 >= 5.0.0 lua50 < 5.1.0")
2>&5
-+ ac_status=$?
-+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-+ test $ac_status = 0; }; then
-+ pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua50 >= 5.0.0 lua50 < 5.1.0"
2>/dev/null`
-+else
-+ pkg_failed=yes
-+fi
-+ else
-+ pkg_failed=untried
-+fi
-+
-+
-+
-+if test $pkg_failed = yes; then
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+
-+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
-+ _pkg_short_errors_supported=yes
-+else
-+ _pkg_short_errors_supported=no
-+fi
-+ if test $_pkg_short_errors_supported = yes; then
-+ LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua50 >=
5.0.0 lua50 < 5.1.0" 2>&1`
-+ else
-+ LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua50 >= 5.0.0 lua50 <
5.1.0" 2>&1`
-+ fi
-+ # Put the nasty error message in config.log where it belongs
-+ echo "$LUA_PKG_ERRORS" >&5
-+
-+
-+pkg_failed=no
-+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
-+$as_echo_n "checking for LUA... " >&6; }
-+
-+if test -n "$LUA_CFLAGS"; then
-+ pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
-+ elif test -n "$PKG_CONFIG"; then
-+ if test -n "$PKG_CONFIG" && \
-+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors
\"lua >= 5.0.0 lua < 5.1.0\""; } >&5
-+ ($PKG_CONFIG --exists --print-errors "lua >= 5.0.0 lua < 5.1.0")
2>&5
-+ ac_status=$?
-+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-+ test $ac_status = 0; }; then
-+ pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua >= 5.0.0 lua < 5.1.0"
2>/dev/null`
-+else
-+ pkg_failed=yes
-+fi
-+ else
-+ pkg_failed=untried
-+fi
-+if test -n "$LUA_LIBS"; then
-+ pkg_cv_LUA_LIBS="$LUA_LIBS"
-+ elif test -n "$PKG_CONFIG"; then
-+ if test -n "$PKG_CONFIG" && \
-+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors
\"lua >= 5.0.0 lua < 5.1.0\""; } >&5
-+ ($PKG_CONFIG --exists --print-errors "lua >= 5.0.0 lua < 5.1.0")
2>&5
-+ ac_status=$?
-+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-+ test $ac_status = 0; }; then
-+ pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua >= 5.0.0 lua < 5.1.0"
2>/dev/null`
-+else
-+ pkg_failed=yes
-+fi
-+ else
-+ pkg_failed=untried
-+fi
-+
-+
-+
-+if test $pkg_failed = yes; then
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+
-+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
-+ _pkg_short_errors_supported=yes
-+else
-+ _pkg_short_errors_supported=no
-+fi
-+ if test $_pkg_short_errors_supported = yes; then
-+ LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua >= 5.0.0
lua < 5.1.0" 2>&1`
-+ else
-+ LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua >= 5.0.0 lua <
5.1.0" 2>&1`
-+ fi
-+ # Put the nasty error message in config.log where it belongs
-+ echo "$LUA_PKG_ERRORS" >&5
-+
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+elif test $pkg_failed = untried; then
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+else
-+ LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
-+ LUA_LIBS=$pkg_cv_LUA_LIBS
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-+$as_echo "yes" >&6; }
-+ LUA_VER=0x050000
-+fi
-+
-+elif test $pkg_failed = untried; then
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+
-+pkg_failed=no
-+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
-+$as_echo_n "checking for LUA... " >&6; }
-+
-+if test -n "$LUA_CFLAGS"; then
-+ pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
-+ elif test -n "$PKG_CONFIG"; then
-+ if test -n "$PKG_CONFIG" && \
-+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors
\"lua >= 5.0.0 lua < 5.1.0\""; } >&5
-+ ($PKG_CONFIG --exists --print-errors "lua >= 5.0.0 lua < 5.1.0")
2>&5
-+ ac_status=$?
-+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-+ test $ac_status = 0; }; then
-+ pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua >= 5.0.0 lua < 5.1.0"
2>/dev/null`
-+else
-+ pkg_failed=yes
-+fi
-+ else
-+ pkg_failed=untried
-+fi
-+if test -n "$LUA_LIBS"; then
-+ pkg_cv_LUA_LIBS="$LUA_LIBS"
-+ elif test -n "$PKG_CONFIG"; then
-+ if test -n "$PKG_CONFIG" && \
-+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors
\"lua >= 5.0.0 lua < 5.1.0\""; } >&5
-+ ($PKG_CONFIG --exists --print-errors "lua >= 5.0.0 lua < 5.1.0")
2>&5
-+ ac_status=$?
-+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-+ test $ac_status = 0; }; then
-+ pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua >= 5.0.0 lua < 5.1.0"
2>/dev/null`
-+else
-+ pkg_failed=yes
-+fi
-+ else
-+ pkg_failed=untried
-+fi
-+
-+
-+
-+if test $pkg_failed = yes; then
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+
-+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
-+ _pkg_short_errors_supported=yes
-+else
-+ _pkg_short_errors_supported=no
-+fi
-+ if test $_pkg_short_errors_supported = yes; then
-+ LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua >= 5.0.0
lua < 5.1.0" 2>&1`
-+ else
-+ LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua >= 5.0.0 lua <
5.1.0" 2>&1`
-+ fi
-+ # Put the nasty error message in config.log where it belongs
-+ echo "$LUA_PKG_ERRORS" >&5
-+
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+elif test $pkg_failed = untried; then
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+else
-+ LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
-+ LUA_LIBS=$pkg_cv_LUA_LIBS
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-+$as_echo "yes" >&6; }
-+ LUA_VER=0x050000
-+fi
-+
-+else
-+ LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
-+ LUA_LIBS=$pkg_cv_LUA_LIBS
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-+$as_echo "yes" >&6; }
-+ LUA_VER=0x050000
-+fi
-+
-+elif test $pkg_failed = untried; then
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+
-+pkg_failed=no
-+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
-+$as_echo_n "checking for LUA... " >&6; }
-+
-+if test -n "$LUA_CFLAGS"; then
-+ pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
-+ elif test -n "$PKG_CONFIG"; then
-+ if test -n "$PKG_CONFIG" && \
-+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors
\"lua50 >= 5.0.0 lua50 < 5.1.0\""; } >&5
-+ ($PKG_CONFIG --exists --print-errors "lua50 >= 5.0.0 lua50 < 5.1.0")
2>&5
-+ ac_status=$?
-+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-+ test $ac_status = 0; }; then
-+ pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua50 >= 5.0.0 lua50 < 5.1.0"
2>/dev/null`
-+else
-+ pkg_failed=yes
-+fi
-+ else
-+ pkg_failed=untried
-+fi
-+if test -n "$LUA_LIBS"; then
-+ pkg_cv_LUA_LIBS="$LUA_LIBS"
-+ elif test -n "$PKG_CONFIG"; then
-+ if test -n "$PKG_CONFIG" && \
-+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors
\"lua50 >= 5.0.0 lua50 < 5.1.0\""; } >&5
-+ ($PKG_CONFIG --exists --print-errors "lua50 >= 5.0.0 lua50 < 5.1.0")
2>&5
-+ ac_status=$?
-+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-+ test $ac_status = 0; }; then
-+ pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua50 >= 5.0.0 lua50 < 5.1.0"
2>/dev/null`
-+else
-+ pkg_failed=yes
-+fi
-+ else
-+ pkg_failed=untried
-+fi
-+
-+
-+
-+if test $pkg_failed = yes; then
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+
-+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
-+ _pkg_short_errors_supported=yes
-+else
-+ _pkg_short_errors_supported=no
-+fi
-+ if test $_pkg_short_errors_supported = yes; then
-+ LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua50 >=
5.0.0 lua50 < 5.1.0" 2>&1`
-+ else
-+ LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua50 >= 5.0.0 lua50 <
5.1.0" 2>&1`
-+ fi
-+ # Put the nasty error message in config.log where it belongs
-+ echo "$LUA_PKG_ERRORS" >&5
-+
-+
-+pkg_failed=no
-+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
-+$as_echo_n "checking for LUA... " >&6; }
-+
-+if test -n "$LUA_CFLAGS"; then
-+ pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
-+ elif test -n "$PKG_CONFIG"; then
-+ if test -n "$PKG_CONFIG" && \
-+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors
\"lua >= 5.0.0 lua < 5.1.0\""; } >&5
-+ ($PKG_CONFIG --exists --print-errors "lua >= 5.0.0 lua < 5.1.0")
2>&5
-+ ac_status=$?
-+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-+ test $ac_status = 0; }; then
-+ pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua >= 5.0.0 lua < 5.1.0"
2>/dev/null`
-+else
-+ pkg_failed=yes
-+fi
-+ else
-+ pkg_failed=untried
-+fi
-+if test -n "$LUA_LIBS"; then
-+ pkg_cv_LUA_LIBS="$LUA_LIBS"
-+ elif test -n "$PKG_CONFIG"; then
-+ if test -n "$PKG_CONFIG" && \
-+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors
\"lua >= 5.0.0 lua < 5.1.0\""; } >&5
-+ ($PKG_CONFIG --exists --print-errors "lua >= 5.0.0 lua < 5.1.0")
2>&5
-+ ac_status=$?
-+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-+ test $ac_status = 0; }; then
-+ pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua >= 5.0.0 lua < 5.1.0"
2>/dev/null`
-+else
-+ pkg_failed=yes
-+fi
-+ else
-+ pkg_failed=untried
-+fi
-+
-+
-+
-+if test $pkg_failed = yes; then
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+
-+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
-+ _pkg_short_errors_supported=yes
-+else
-+ _pkg_short_errors_supported=no
-+fi
-+ if test $_pkg_short_errors_supported = yes; then
-+ LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua >= 5.0.0
lua < 5.1.0" 2>&1`
-+ else
-+ LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua >= 5.0.0 lua <
5.1.0" 2>&1`
-+ fi
-+ # Put the nasty error message in config.log where it belongs
-+ echo "$LUA_PKG_ERRORS" >&5
-+
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+elif test $pkg_failed = untried; then
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+else
-+ LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
-+ LUA_LIBS=$pkg_cv_LUA_LIBS
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-+$as_echo "yes" >&6; }
-+ LUA_VER=0x050000
-+fi
-+
-+elif test $pkg_failed = untried; then
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+
-+pkg_failed=no
-+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
-+$as_echo_n "checking for LUA... " >&6; }
-+
-+if test -n "$LUA_CFLAGS"; then
-+ pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
-+ elif test -n "$PKG_CONFIG"; then
-+ if test -n "$PKG_CONFIG" && \
-+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors
\"lua >= 5.0.0 lua < 5.1.0\""; } >&5
-+ ($PKG_CONFIG --exists --print-errors "lua >= 5.0.0 lua < 5.1.0")
2>&5
-+ ac_status=$?
-+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-+ test $ac_status = 0; }; then
-+ pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua >= 5.0.0 lua < 5.1.0"
2>/dev/null`
-+else
-+ pkg_failed=yes
-+fi
-+ else
-+ pkg_failed=untried
-+fi
-+if test -n "$LUA_LIBS"; then
-+ pkg_cv_LUA_LIBS="$LUA_LIBS"
-+ elif test -n "$PKG_CONFIG"; then
-+ if test -n "$PKG_CONFIG" && \
-+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors
\"lua >= 5.0.0 lua < 5.1.0\""; } >&5
-+ ($PKG_CONFIG --exists --print-errors "lua >= 5.0.0 lua < 5.1.0")
2>&5
-+ ac_status=$?
-+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-+ test $ac_status = 0; }; then
-+ pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua >= 5.0.0 lua < 5.1.0"
2>/dev/null`
-+else
-+ pkg_failed=yes
-+fi
-+ else
-+ pkg_failed=untried
-+fi
-+
-+
-+
-+if test $pkg_failed = yes; then
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+
-+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
-+ _pkg_short_errors_supported=yes
-+else
-+ _pkg_short_errors_supported=no
-+fi
-+ if test $_pkg_short_errors_supported = yes; then
-+ LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua >= 5.0.0
lua < 5.1.0" 2>&1`
-+ else
-+ LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua >= 5.0.0 lua <
5.1.0" 2>&1`
-+ fi
-+ # Put the nasty error message in config.log where it belongs
-+ echo "$LUA_PKG_ERRORS" >&5
-+
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+elif test $pkg_failed = untried; then
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+else
-+ LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
-+ LUA_LIBS=$pkg_cv_LUA_LIBS
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-+$as_echo "yes" >&6; }
-+ LUA_VER=0x050000
-+fi
-+
-+else
-+ LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
-+ LUA_LIBS=$pkg_cv_LUA_LIBS
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-+$as_echo "yes" >&6; }
-+ LUA_VER=0x050000
-+fi
-+
-+else
-+ LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
-+ LUA_LIBS=$pkg_cv_LUA_LIBS
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-+$as_echo "yes" >&6; }
-+ LUA_VER=0x050100
-+fi
-+
-+elif test $pkg_failed = untried; then
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+
-+pkg_failed=no
-+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
-+$as_echo_n "checking for LUA... " >&6; }
-+
-+if test -n "$LUA_CFLAGS"; then
-+ pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
-+ elif test -n "$PKG_CONFIG"; then
-+ if test -n "$PKG_CONFIG" && \
-+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors
\"lua >= 5.1.0\""; } >&5
-+ ($PKG_CONFIG --exists --print-errors "lua >= 5.1.0") 2>&5
-+ ac_status=$?
-+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-+ test $ac_status = 0; }; then
-+ pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua >= 5.1.0" 2>/dev/null`
-+else
-+ pkg_failed=yes
-+fi
-+ else
-+ pkg_failed=untried
-+fi
-+if test -n "$LUA_LIBS"; then
-+ pkg_cv_LUA_LIBS="$LUA_LIBS"
-+ elif test -n "$PKG_CONFIG"; then
-+ if test -n "$PKG_CONFIG" && \
-+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors
\"lua >= 5.1.0\""; } >&5
-+ ($PKG_CONFIG --exists --print-errors "lua >= 5.1.0") 2>&5
-+ ac_status=$?
-+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-+ test $ac_status = 0; }; then
-+ pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua >= 5.1.0" 2>/dev/null`
-+else
-+ pkg_failed=yes
-+fi
-+ else
-+ pkg_failed=untried
-+fi
-+
-+
-+
-+if test $pkg_failed = yes; then
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+
-+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
-+ _pkg_short_errors_supported=yes
-+else
-+ _pkg_short_errors_supported=no
-+fi
-+ if test $_pkg_short_errors_supported = yes; then
-+ LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua >=
5.1.0" 2>&1`
-+ else
-+ LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua >= 5.1.0"
2>&1`
-+ fi
-+ # Put the nasty error message in config.log where it belongs
-+ echo "$LUA_PKG_ERRORS" >&5
-+
-+
-+pkg_failed=no
-+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
-+$as_echo_n "checking for LUA... " >&6; }
-+
-+if test -n "$LUA_CFLAGS"; then
-+ pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
-+ elif test -n "$PKG_CONFIG"; then
-+ if test -n "$PKG_CONFIG" && \
-+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors
\"lua50 >= 5.0.0 lua50 < 5.1.0\""; } >&5
-+ ($PKG_CONFIG --exists --print-errors "lua50 >= 5.0.0 lua50 < 5.1.0")
2>&5
-+ ac_status=$?
-+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-+ test $ac_status = 0; }; then
-+ pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua50 >= 5.0.0 lua50 < 5.1.0"
2>/dev/null`
-+else
-+ pkg_failed=yes
-+fi
-+ else
-+ pkg_failed=untried
-+fi
-+if test -n "$LUA_LIBS"; then
-+ pkg_cv_LUA_LIBS="$LUA_LIBS"
-+ elif test -n "$PKG_CONFIG"; then
-+ if test -n "$PKG_CONFIG" && \
-+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors
\"lua50 >= 5.0.0 lua50 < 5.1.0\""; } >&5
-+ ($PKG_CONFIG --exists --print-errors "lua50 >= 5.0.0 lua50 < 5.1.0")
2>&5
-+ ac_status=$?
-+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-+ test $ac_status = 0; }; then
-+ pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua50 >= 5.0.0 lua50 < 5.1.0"
2>/dev/null`
-+else
-+ pkg_failed=yes
-+fi
-+ else
-+ pkg_failed=untried
-+fi
-+
-+
-+
-+if test $pkg_failed = yes; then
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+
-+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
-+ _pkg_short_errors_supported=yes
-+else
-+ _pkg_short_errors_supported=no
-+fi
-+ if test $_pkg_short_errors_supported = yes; then
-+ LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua50 >=
5.0.0 lua50 < 5.1.0" 2>&1`
-+ else
-+ LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua50 >= 5.0.0 lua50 <
5.1.0" 2>&1`
-+ fi
-+ # Put the nasty error message in config.log where it belongs
-+ echo "$LUA_PKG_ERRORS" >&5
-+
-+
-+pkg_failed=no
-+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
-+$as_echo_n "checking for LUA... " >&6; }
-+
-+if test -n "$LUA_CFLAGS"; then
-+ pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
-+ elif test -n "$PKG_CONFIG"; then
-+ if test -n "$PKG_CONFIG" && \
-+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors
\"lua >= 5.0.0 lua < 5.1.0\""; } >&5
-+ ($PKG_CONFIG --exists --print-errors "lua >= 5.0.0 lua < 5.1.0")
2>&5
-+ ac_status=$?
-+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-+ test $ac_status = 0; }; then
-+ pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua >= 5.0.0 lua < 5.1.0"
2>/dev/null`
-+else
-+ pkg_failed=yes
-+fi
-+ else
-+ pkg_failed=untried
-+fi
-+if test -n "$LUA_LIBS"; then
-+ pkg_cv_LUA_LIBS="$LUA_LIBS"
-+ elif test -n "$PKG_CONFIG"; then
-+ if test -n "$PKG_CONFIG" && \
-+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors
\"lua >= 5.0.0 lua < 5.1.0\""; } >&5
-+ ($PKG_CONFIG --exists --print-errors "lua >= 5.0.0 lua < 5.1.0")
2>&5
-+ ac_status=$?
-+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-+ test $ac_status = 0; }; then
-+ pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua >= 5.0.0 lua < 5.1.0"
2>/dev/null`
-+else
-+ pkg_failed=yes
-+fi
-+ else
-+ pkg_failed=untried
-+fi
-+
-+
-+
-+if test $pkg_failed = yes; then
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+
-+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
-+ _pkg_short_errors_supported=yes
-+else
-+ _pkg_short_errors_supported=no
-+fi
-+ if test $_pkg_short_errors_supported = yes; then
-+ LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua >= 5.0.0
lua < 5.1.0" 2>&1`
-+ else
-+ LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua >= 5.0.0 lua <
5.1.0" 2>&1`
-+ fi
-+ # Put the nasty error message in config.log where it belongs
-+ echo "$LUA_PKG_ERRORS" >&5
-+
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+elif test $pkg_failed = untried; then
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+else
-+ LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
-+ LUA_LIBS=$pkg_cv_LUA_LIBS
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-+$as_echo "yes" >&6; }
-+ LUA_VER=0x050000
-+fi
-+
-+elif test $pkg_failed = untried; then
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+
-+pkg_failed=no
-+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
-+$as_echo_n "checking for LUA... " >&6; }
-+
-+if test -n "$LUA_CFLAGS"; then
-+ pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
-+ elif test -n "$PKG_CONFIG"; then
-+ if test -n "$PKG_CONFIG" && \
-+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors
\"lua >= 5.0.0 lua < 5.1.0\""; } >&5
-+ ($PKG_CONFIG --exists --print-errors "lua >= 5.0.0 lua < 5.1.0")
2>&5
-+ ac_status=$?
-+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-+ test $ac_status = 0; }; then
-+ pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua >= 5.0.0 lua < 5.1.0"
2>/dev/null`
-+else
-+ pkg_failed=yes
-+fi
-+ else
-+ pkg_failed=untried
-+fi
-+if test -n "$LUA_LIBS"; then
-+ pkg_cv_LUA_LIBS="$LUA_LIBS"
-+ elif test -n "$PKG_CONFIG"; then
-+ if test -n "$PKG_CONFIG" && \
-+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors
\"lua >= 5.0.0 lua < 5.1.0\""; } >&5
-+ ($PKG_CONFIG --exists --print-errors "lua >= 5.0.0 lua < 5.1.0")
2>&5
-+ ac_status=$?
-+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-+ test $ac_status = 0; }; then
-+ pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua >= 5.0.0 lua < 5.1.0"
2>/dev/null`
-+else
-+ pkg_failed=yes
-+fi
-+ else
-+ pkg_failed=untried
-+fi
-+
-+
-+
-+if test $pkg_failed = yes; then
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+
-+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
-+ _pkg_short_errors_supported=yes
-+else
-+ _pkg_short_errors_supported=no
-+fi
-+ if test $_pkg_short_errors_supported = yes; then
-+ LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua >= 5.0.0
lua < 5.1.0" 2>&1`
-+ else
-+ LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua >= 5.0.0 lua <
5.1.0" 2>&1`
-+ fi
-+ # Put the nasty error message in config.log where it belongs
-+ echo "$LUA_PKG_ERRORS" >&5
-+
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+elif test $pkg_failed = untried; then
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+else
-+ LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
-+ LUA_LIBS=$pkg_cv_LUA_LIBS
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-+$as_echo "yes" >&6; }
-+ LUA_VER=0x050000
-+fi
-+
-+else
-+ LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
-+ LUA_LIBS=$pkg_cv_LUA_LIBS
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-+$as_echo "yes" >&6; }
-+ LUA_VER=0x050000
-+fi
-+
-+elif test $pkg_failed = untried; then
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+
-+pkg_failed=no
-+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
-+$as_echo_n "checking for LUA... " >&6; }
-+
-+if test -n "$LUA_CFLAGS"; then
-+ pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
-+ elif test -n "$PKG_CONFIG"; then
-+ if test -n "$PKG_CONFIG" && \
-+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors
\"lua50 >= 5.0.0 lua50 < 5.1.0\""; } >&5
-+ ($PKG_CONFIG --exists --print-errors "lua50 >= 5.0.0 lua50 < 5.1.0")
2>&5
-+ ac_status=$?
-+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-+ test $ac_status = 0; }; then
-+ pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua50 >= 5.0.0 lua50 < 5.1.0"
2>/dev/null`
-+else
-+ pkg_failed=yes
-+fi
-+ else
-+ pkg_failed=untried
-+fi
-+if test -n "$LUA_LIBS"; then
-+ pkg_cv_LUA_LIBS="$LUA_LIBS"
-+ elif test -n "$PKG_CONFIG"; then
-+ if test -n "$PKG_CONFIG" && \
-+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors
\"lua50 >= 5.0.0 lua50 < 5.1.0\""; } >&5
-+ ($PKG_CONFIG --exists --print-errors "lua50 >= 5.0.0 lua50 < 5.1.0")
2>&5
-+ ac_status=$?
-+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-+ test $ac_status = 0; }; then
-+ pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua50 >= 5.0.0 lua50 < 5.1.0"
2>/dev/null`
-+else
-+ pkg_failed=yes
-+fi
-+ else
-+ pkg_failed=untried
-+fi
-+
-+
-+
-+if test $pkg_failed = yes; then
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+
-+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
-+ _pkg_short_errors_supported=yes
-+else
-+ _pkg_short_errors_supported=no
-+fi
-+ if test $_pkg_short_errors_supported = yes; then
-+ LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua50 >=
5.0.0 lua50 < 5.1.0" 2>&1`
-+ else
-+ LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua50 >= 5.0.0 lua50 <
5.1.0" 2>&1`
-+ fi
-+ # Put the nasty error message in config.log where it belongs
-+ echo "$LUA_PKG_ERRORS" >&5
-+
-+
-+pkg_failed=no
-+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
-+$as_echo_n "checking for LUA... " >&6; }
-+
-+if test -n "$LUA_CFLAGS"; then
-+ pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
-+ elif test -n "$PKG_CONFIG"; then
-+ if test -n "$PKG_CONFIG" && \
-+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors
\"lua >= 5.0.0 lua < 5.1.0\""; } >&5
-+ ($PKG_CONFIG --exists --print-errors "lua >= 5.0.0 lua < 5.1.0")
2>&5
-+ ac_status=$?
-+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-+ test $ac_status = 0; }; then
-+ pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua >= 5.0.0 lua < 5.1.0"
2>/dev/null`
-+else
-+ pkg_failed=yes
-+fi
-+ else
-+ pkg_failed=untried
-+fi
-+if test -n "$LUA_LIBS"; then
-+ pkg_cv_LUA_LIBS="$LUA_LIBS"
-+ elif test -n "$PKG_CONFIG"; then
-+ if test -n "$PKG_CONFIG" && \
-+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors
\"lua >= 5.0.0 lua < 5.1.0\""; } >&5
-+ ($PKG_CONFIG --exists --print-errors "lua >= 5.0.0 lua < 5.1.0")
2>&5
-+ ac_status=$?
-+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-+ test $ac_status = 0; }; then
-+ pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua >= 5.0.0 lua < 5.1.0"
2>/dev/null`
-+else
-+ pkg_failed=yes
-+fi
-+ else
-+ pkg_failed=untried
-+fi
-+
-+
-+
-+if test $pkg_failed = yes; then
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+
-+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
-+ _pkg_short_errors_supported=yes
-+else
-+ _pkg_short_errors_supported=no
-+fi
-+ if test $_pkg_short_errors_supported = yes; then
-+ LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua >= 5.0.0
lua < 5.1.0" 2>&1`
-+ else
-+ LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua >= 5.0.0 lua <
5.1.0" 2>&1`
-+ fi
-+ # Put the nasty error message in config.log where it belongs
-+ echo "$LUA_PKG_ERRORS" >&5
-+
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+elif test $pkg_failed = untried; then
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+else
-+ LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
-+ LUA_LIBS=$pkg_cv_LUA_LIBS
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-+$as_echo "yes" >&6; }
-+ LUA_VER=0x050000
-+fi
-+
-+elif test $pkg_failed = untried; then
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+
-+pkg_failed=no
-+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
-+$as_echo_n "checking for LUA... " >&6; }
-+
-+if test -n "$LUA_CFLAGS"; then
-+ pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
-+ elif test -n "$PKG_CONFIG"; then
-+ if test -n "$PKG_CONFIG" && \
-+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors
\"lua >= 5.0.0 lua < 5.1.0\""; } >&5
-+ ($PKG_CONFIG --exists --print-errors "lua >= 5.0.0 lua < 5.1.0")
2>&5
-+ ac_status=$?
-+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-+ test $ac_status = 0; }; then
-+ pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua >= 5.0.0 lua < 5.1.0"
2>/dev/null`
-+else
-+ pkg_failed=yes
-+fi
-+ else
-+ pkg_failed=untried
-+fi
-+if test -n "$LUA_LIBS"; then
-+ pkg_cv_LUA_LIBS="$LUA_LIBS"
-+ elif test -n "$PKG_CONFIG"; then
-+ if test -n "$PKG_CONFIG" && \
-+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors
\"lua >= 5.0.0 lua < 5.1.0\""; } >&5
-+ ($PKG_CONFIG --exists --print-errors "lua >= 5.0.0 lua < 5.1.0")
2>&5
-+ ac_status=$?
-+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-+ test $ac_status = 0; }; then
-+ pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua >= 5.0.0 lua < 5.1.0"
2>/dev/null`
-+else
-+ pkg_failed=yes
-+fi
-+ else
-+ pkg_failed=untried
-+fi
-+
-+
-+
-+if test $pkg_failed = yes; then
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+
-+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
-+ _pkg_short_errors_supported=yes
-+else
-+ _pkg_short_errors_supported=no
-+fi
-+ if test $_pkg_short_errors_supported = yes; then
-+ LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua >= 5.0.0
lua < 5.1.0" 2>&1`
-+ else
-+ LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua >= 5.0.0 lua <
5.1.0" 2>&1`
-+ fi
-+ # Put the nasty error message in config.log where it belongs
-+ echo "$LUA_PKG_ERRORS" >&5
-+
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+elif test $pkg_failed = untried; then
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+else
-+ LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
-+ LUA_LIBS=$pkg_cv_LUA_LIBS
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-+$as_echo "yes" >&6; }
-+ LUA_VER=0x050000
-+fi
-+
-+else
-+ LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
-+ LUA_LIBS=$pkg_cv_LUA_LIBS
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-+$as_echo "yes" >&6; }
-+ LUA_VER=0x050000
-+fi
-+
-+else
-+ LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
-+ LUA_LIBS=$pkg_cv_LUA_LIBS
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-+$as_echo "yes" >&6; }
-+ LUA_VER=0x050100
-+fi
-+
-+else
-+ LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
-+ LUA_LIBS=$pkg_cv_LUA_LIBS
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-+$as_echo "yes" >&6; }
-+ LUA_VER=0x050100
-+fi
-+
-+else
-+ LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
-+ LUA_LIBS=$pkg_cv_LUA_LIBS
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-+$as_echo "yes" >&6; }
-+ LUA_VER=0x050200
-+fi
-+
-+elif test $pkg_failed = untried; then
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+
-+pkg_failed=no
-+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
-+$as_echo_n "checking for LUA... " >&6; }
-+
-+if test -n "$LUA_CFLAGS"; then
-+ pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
-+ elif test -n "$PKG_CONFIG"; then
-+ if test -n "$PKG_CONFIG" && \
-+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors
\"lua >= 5.2.0\""; } >&5
-+ ($PKG_CONFIG --exists --print-errors "lua >= 5.2.0") 2>&5
-+ ac_status=$?
-+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-+ test $ac_status = 0; }; then
-+ pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua >= 5.2.0" 2>/dev/null`
-+else
-+ pkg_failed=yes
-+fi
-+ else
-+ pkg_failed=untried
-+fi
-+if test -n "$LUA_LIBS"; then
-+ pkg_cv_LUA_LIBS="$LUA_LIBS"
-+ elif test -n "$PKG_CONFIG"; then
-+ if test -n "$PKG_CONFIG" && \
-+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors
\"lua >= 5.2.0\""; } >&5
-+ ($PKG_CONFIG --exists --print-errors "lua >= 5.2.0") 2>&5
-+ ac_status=$?
-+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-+ test $ac_status = 0; }; then
-+ pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua >= 5.2.0" 2>/dev/null`
-+else
-+ pkg_failed=yes
-+fi
-+ else
-+ pkg_failed=untried
-+fi
-+
-+
-+
-+if test $pkg_failed = yes; then
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+
-+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
-+ _pkg_short_errors_supported=yes
-+else
-+ _pkg_short_errors_supported=no
-+fi
-+ if test $_pkg_short_errors_supported = yes; then
-+ LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua >=
5.2.0" 2>&1`
-+ else
-+ LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua >= 5.2.0"
2>&1`
-+ fi
-+ # Put the nasty error message in config.log where it belongs
-+ echo "$LUA_PKG_ERRORS" >&5
-+
-+
-+pkg_failed=no
-+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
-+$as_echo_n "checking for LUA... " >&6; }
-+
-+if test -n "$LUA_CFLAGS"; then
-+ pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
-+ elif test -n "$PKG_CONFIG"; then
-+ if test -n "$PKG_CONFIG" && \
-+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors
\"lua5.1 >= 5.1.0\""; } >&5
-+ ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1.0") 2>&5
-+ ac_status=$?
-+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-+ test $ac_status = 0; }; then
-+ pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua5.1 >= 5.1.0"
2>/dev/null`
-+else
-+ pkg_failed=yes
-+fi
-+ else
-+ pkg_failed=untried
-+fi
-+if test -n "$LUA_LIBS"; then
-+ pkg_cv_LUA_LIBS="$LUA_LIBS"
-+ elif test -n "$PKG_CONFIG"; then
-+ if test -n "$PKG_CONFIG" && \
-+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors
\"lua5.1 >= 5.1.0\""; } >&5
-+ ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1.0") 2>&5
-+ ac_status=$?
-+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-+ test $ac_status = 0; }; then
-+ pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua5.1 >= 5.1.0" 2>/dev/null`
-+else
-+ pkg_failed=yes
-+fi
-+ else
-+ pkg_failed=untried
-+fi
-+
-+
-+
-+if test $pkg_failed = yes; then
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+
-+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
-+ _pkg_short_errors_supported=yes
-+else
-+ _pkg_short_errors_supported=no
-+fi
-+ if test $_pkg_short_errors_supported = yes; then
-+ LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua5.1 >=
5.1.0" 2>&1`
-+ else
-+ LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua5.1 >= 5.1.0"
2>&1`
-+ fi
-+ # Put the nasty error message in config.log where it belongs
-+ echo "$LUA_PKG_ERRORS" >&5
-+
-+
-+pkg_failed=no
-+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
-+$as_echo_n "checking for LUA... " >&6; }
-+
-+if test -n "$LUA_CFLAGS"; then
-+ pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
-+ elif test -n "$PKG_CONFIG"; then
-+ if test -n "$PKG_CONFIG" && \
-+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors
\"lua >= 5.1.0\""; } >&5
-+ ($PKG_CONFIG --exists --print-errors "lua >= 5.1.0") 2>&5
-+ ac_status=$?
-+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-+ test $ac_status = 0; }; then
-+ pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua >= 5.1.0" 2>/dev/null`
-+else
-+ pkg_failed=yes
-+fi
-+ else
-+ pkg_failed=untried
-+fi
-+if test -n "$LUA_LIBS"; then
-+ pkg_cv_LUA_LIBS="$LUA_LIBS"
-+ elif test -n "$PKG_CONFIG"; then
-+ if test -n "$PKG_CONFIG" && \
-+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors
\"lua >= 5.1.0\""; } >&5
-+ ($PKG_CONFIG --exists --print-errors "lua >= 5.1.0") 2>&5
-+ ac_status=$?
-+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-+ test $ac_status = 0; }; then
-+ pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua >= 5.1.0" 2>/dev/null`
-+else
-+ pkg_failed=yes
-+fi
-+ else
-+ pkg_failed=untried
-+fi
-+
-+
-+
-+if test $pkg_failed = yes; then
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+
-+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
-+ _pkg_short_errors_supported=yes
-+else
-+ _pkg_short_errors_supported=no
-+fi
-+ if test $_pkg_short_errors_supported = yes; then
-+ LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua >=
5.1.0" 2>&1`
-+ else
-+ LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua >= 5.1.0"
2>&1`
-+ fi
-+ # Put the nasty error message in config.log where it belongs
-+ echo "$LUA_PKG_ERRORS" >&5
-+
-+
-+pkg_failed=no
-+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
-+$as_echo_n "checking for LUA... " >&6; }
-+
-+if test -n "$LUA_CFLAGS"; then
-+ pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
-+ elif test -n "$PKG_CONFIG"; then
-+ if test -n "$PKG_CONFIG" && \
-+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors
\"lua50 >= 5.0.0 lua50 < 5.1.0\""; } >&5
-+ ($PKG_CONFIG --exists --print-errors "lua50 >= 5.0.0 lua50 < 5.1.0")
2>&5
-+ ac_status=$?
-+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-+ test $ac_status = 0; }; then
-+ pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua50 >= 5.0.0 lua50 < 5.1.0"
2>/dev/null`
-+else
-+ pkg_failed=yes
-+fi
-+ else
-+ pkg_failed=untried
-+fi
-+if test -n "$LUA_LIBS"; then
-+ pkg_cv_LUA_LIBS="$LUA_LIBS"
-+ elif test -n "$PKG_CONFIG"; then
-+ if test -n "$PKG_CONFIG" && \
-+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors
\"lua50 >= 5.0.0 lua50 < 5.1.0\""; } >&5
-+ ($PKG_CONFIG --exists --print-errors "lua50 >= 5.0.0 lua50 < 5.1.0")
2>&5
-+ ac_status=$?
-+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-+ test $ac_status = 0; }; then
-+ pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua50 >= 5.0.0 lua50 < 5.1.0"
2>/dev/null`
-+else
-+ pkg_failed=yes
-+fi
-+ else
-+ pkg_failed=untried
-+fi
-+
-+
-+
-+if test $pkg_failed = yes; then
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+
-+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
-+ _pkg_short_errors_supported=yes
-+else
-+ _pkg_short_errors_supported=no
-+fi
-+ if test $_pkg_short_errors_supported = yes; then
-+ LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua50 >=
5.0.0 lua50 < 5.1.0" 2>&1`
-+ else
-+ LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua50 >= 5.0.0 lua50 <
5.1.0" 2>&1`
-+ fi
-+ # Put the nasty error message in config.log where it belongs
-+ echo "$LUA_PKG_ERRORS" >&5
-+
-+
-+pkg_failed=no
-+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
-+$as_echo_n "checking for LUA... " >&6; }
-+
-+if test -n "$LUA_CFLAGS"; then
-+ pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
-+ elif test -n "$PKG_CONFIG"; then
-+ if test -n "$PKG_CONFIG" && \
-+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors
\"lua >= 5.0.0 lua < 5.1.0\""; } >&5
-+ ($PKG_CONFIG --exists --print-errors "lua >= 5.0.0 lua < 5.1.0")
2>&5
-+ ac_status=$?
-+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-+ test $ac_status = 0; }; then
-+ pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua >= 5.0.0 lua < 5.1.0"
2>/dev/null`
-+else
-+ pkg_failed=yes
-+fi
-+ else
-+ pkg_failed=untried
-+fi
-+if test -n "$LUA_LIBS"; then
-+ pkg_cv_LUA_LIBS="$LUA_LIBS"
-+ elif test -n "$PKG_CONFIG"; then
-+ if test -n "$PKG_CONFIG" && \
-+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors
\"lua >= 5.0.0 lua < 5.1.0\""; } >&5
-+ ($PKG_CONFIG --exists --print-errors "lua >= 5.0.0 lua < 5.1.0")
2>&5
-+ ac_status=$?
-+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-+ test $ac_status = 0; }; then
-+ pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua >= 5.0.0 lua < 5.1.0"
2>/dev/null`
-+else
-+ pkg_failed=yes
-+fi
-+ else
-+ pkg_failed=untried
-+fi
-+
-+
-+
-+if test $pkg_failed = yes; then
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+
-+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
-+ _pkg_short_errors_supported=yes
-+else
-+ _pkg_short_errors_supported=no
-+fi
-+ if test $_pkg_short_errors_supported = yes; then
-+ LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua >= 5.0.0
lua < 5.1.0" 2>&1`
-+ else
-+ LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua >= 5.0.0 lua <
5.1.0" 2>&1`
-+ fi
-+ # Put the nasty error message in config.log where it belongs
-+ echo "$LUA_PKG_ERRORS" >&5
-+
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+elif test $pkg_failed = untried; then
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+else
-+ LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
-+ LUA_LIBS=$pkg_cv_LUA_LIBS
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-+$as_echo "yes" >&6; }
-+ LUA_VER=0x050000
-+fi
-+
-+elif test $pkg_failed = untried; then
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+
-+pkg_failed=no
-+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
-+$as_echo_n "checking for LUA... " >&6; }
-+
-+if test -n "$LUA_CFLAGS"; then
-+ pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
-+ elif test -n "$PKG_CONFIG"; then
-+ if test -n "$PKG_CONFIG" && \
-+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors
\"lua >= 5.0.0 lua < 5.1.0\""; } >&5
-+ ($PKG_CONFIG --exists --print-errors "lua >= 5.0.0 lua < 5.1.0")
2>&5
-+ ac_status=$?
-+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-+ test $ac_status = 0; }; then
-+ pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua >= 5.0.0 lua < 5.1.0"
2>/dev/null`
-+else
-+ pkg_failed=yes
-+fi
-+ else
-+ pkg_failed=untried
-+fi
-+if test -n "$LUA_LIBS"; then
-+ pkg_cv_LUA_LIBS="$LUA_LIBS"
-+ elif test -n "$PKG_CONFIG"; then
-+ if test -n "$PKG_CONFIG" && \
-+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors
\"lua >= 5.0.0 lua < 5.1.0\""; } >&5
-+ ($PKG_CONFIG --exists --print-errors "lua >= 5.0.0 lua < 5.1.0")
2>&5
-+ ac_status=$?
-+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-+ test $ac_status = 0; }; then
-+ pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua >= 5.0.0 lua < 5.1.0"
2>/dev/null`
-+else
-+ pkg_failed=yes
-+fi
-+ else
-+ pkg_failed=untried
-+fi
-+
-+
-+
-+if test $pkg_failed = yes; then
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+
-+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
-+ _pkg_short_errors_supported=yes
-+else
-+ _pkg_short_errors_supported=no
-+fi
-+ if test $_pkg_short_errors_supported = yes; then
-+ LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua >= 5.0.0
lua < 5.1.0" 2>&1`
-+ else
-+ LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua >= 5.0.0 lua <
5.1.0" 2>&1`
-+ fi
-+ # Put the nasty error message in config.log where it belongs
-+ echo "$LUA_PKG_ERRORS" >&5
-+
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+elif test $pkg_failed = untried; then
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+else
-+ LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
-+ LUA_LIBS=$pkg_cv_LUA_LIBS
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-+$as_echo "yes" >&6; }
-+ LUA_VER=0x050000
-+fi
-+
-+else
-+ LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
-+ LUA_LIBS=$pkg_cv_LUA_LIBS
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-+$as_echo "yes" >&6; }
-+ LUA_VER=0x050000
-+fi
-+
-+elif test $pkg_failed = untried; then
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+
-+pkg_failed=no
-+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
-+$as_echo_n "checking for LUA... " >&6; }
-+
-+if test -n "$LUA_CFLAGS"; then
-+ pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
-+ elif test -n "$PKG_CONFIG"; then
-+ if test -n "$PKG_CONFIG" && \
-+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors
\"lua50 >= 5.0.0 lua50 < 5.1.0\""; } >&5
-+ ($PKG_CONFIG --exists --print-errors "lua50 >= 5.0.0 lua50 < 5.1.0")
2>&5
-+ ac_status=$?
-+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-+ test $ac_status = 0; }; then
-+ pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua50 >= 5.0.0 lua50 < 5.1.0"
2>/dev/null`
-+else
-+ pkg_failed=yes
-+fi
-+ else
-+ pkg_failed=untried
-+fi
-+if test -n "$LUA_LIBS"; then
-+ pkg_cv_LUA_LIBS="$LUA_LIBS"
-+ elif test -n "$PKG_CONFIG"; then
-+ if test -n "$PKG_CONFIG" && \
-+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors
\"lua50 >= 5.0.0 lua50 < 5.1.0\""; } >&5
-+ ($PKG_CONFIG --exists --print-errors "lua50 >= 5.0.0 lua50 < 5.1.0")
2>&5
-+ ac_status=$?
-+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-+ test $ac_status = 0; }; then
-+ pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua50 >= 5.0.0 lua50 < 5.1.0"
2>/dev/null`
-+else
-+ pkg_failed=yes
-+fi
-+ else
-+ pkg_failed=untried
-+fi
-+
-+
-+
-+if test $pkg_failed = yes; then
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+
-+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
-+ _pkg_short_errors_supported=yes
-+else
-+ _pkg_short_errors_supported=no
-+fi
-+ if test $_pkg_short_errors_supported = yes; then
-+ LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua50 >=
5.0.0 lua50 < 5.1.0" 2>&1`
-+ else
-+ LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua50 >= 5.0.0 lua50 <
5.1.0" 2>&1`
-+ fi
-+ # Put the nasty error message in config.log where it belongs
-+ echo "$LUA_PKG_ERRORS" >&5
-+
-+
-+pkg_failed=no
-+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
-+$as_echo_n "checking for LUA... " >&6; }
-+
-+if test -n "$LUA_CFLAGS"; then
-+ pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
-+ elif test -n "$PKG_CONFIG"; then
-+ if test -n "$PKG_CONFIG" && \
-+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors
\"lua >= 5.0.0 lua < 5.1.0\""; } >&5
-+ ($PKG_CONFIG --exists --print-errors "lua >= 5.0.0 lua < 5.1.0")
2>&5
-+ ac_status=$?
-+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-+ test $ac_status = 0; }; then
-+ pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua >= 5.0.0 lua < 5.1.0"
2>/dev/null`
-+else
-+ pkg_failed=yes
-+fi
-+ else
-+ pkg_failed=untried
-+fi
-+if test -n "$LUA_LIBS"; then
-+ pkg_cv_LUA_LIBS="$LUA_LIBS"
-+ elif test -n "$PKG_CONFIG"; then
-+ if test -n "$PKG_CONFIG" && \
-+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors
\"lua >= 5.0.0 lua < 5.1.0\""; } >&5
-+ ($PKG_CONFIG --exists --print-errors "lua >= 5.0.0 lua < 5.1.0")
2>&5
-+ ac_status=$?
-+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-+ test $ac_status = 0; }; then
-+ pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua >= 5.0.0 lua < 5.1.0"
2>/dev/null`
-+else
-+ pkg_failed=yes
-+fi
-+ else
-+ pkg_failed=untried
-+fi
-+
-+
-+
-+if test $pkg_failed = yes; then
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+
-+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
-+ _pkg_short_errors_supported=yes
-+else
-+ _pkg_short_errors_supported=no
-+fi
-+ if test $_pkg_short_errors_supported = yes; then
-+ LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua >= 5.0.0
lua < 5.1.0" 2>&1`
-+ else
-+ LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua >= 5.0.0 lua <
5.1.0" 2>&1`
-+ fi
-+ # Put the nasty error message in config.log where it belongs
-+ echo "$LUA_PKG_ERRORS" >&5
-+
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+elif test $pkg_failed = untried; then
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+else
-+ LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
-+ LUA_LIBS=$pkg_cv_LUA_LIBS
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-+$as_echo "yes" >&6; }
-+ LUA_VER=0x050000
-+fi
-+
-+elif test $pkg_failed = untried; then
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+
-+pkg_failed=no
-+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
-+$as_echo_n "checking for LUA... " >&6; }
-+
-+if test -n "$LUA_CFLAGS"; then
-+ pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
-+ elif test -n "$PKG_CONFIG"; then
-+ if test -n "$PKG_CONFIG" && \
-+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors
\"lua >= 5.0.0 lua < 5.1.0\""; } >&5
-+ ($PKG_CONFIG --exists --print-errors "lua >= 5.0.0 lua < 5.1.0")
2>&5
-+ ac_status=$?
-+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-+ test $ac_status = 0; }; then
-+ pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua >= 5.0.0 lua < 5.1.0"
2>/dev/null`
-+else
-+ pkg_failed=yes
-+fi
-+ else
-+ pkg_failed=untried
-+fi
-+if test -n "$LUA_LIBS"; then
-+ pkg_cv_LUA_LIBS="$LUA_LIBS"
-+ elif test -n "$PKG_CONFIG"; then
-+ if test -n "$PKG_CONFIG" && \
-+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors
\"lua >= 5.0.0 lua < 5.1.0\""; } >&5
-+ ($PKG_CONFIG --exists --print-errors "lua >= 5.0.0 lua < 5.1.0")
2>&5
-+ ac_status=$?
-+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-+ test $ac_status = 0; }; then
-+ pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua >= 5.0.0 lua < 5.1.0"
2>/dev/null`
-+else
-+ pkg_failed=yes
-+fi
-+ else
-+ pkg_failed=untried
-+fi
-+
-+
-+
-+if test $pkg_failed = yes; then
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+
-+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
-+ _pkg_short_errors_supported=yes
-+else
-+ _pkg_short_errors_supported=no
-+fi
-+ if test $_pkg_short_errors_supported = yes; then
-+ LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua >= 5.0.0
lua < 5.1.0" 2>&1`
-+ else
-+ LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua >= 5.0.0 lua <
5.1.0" 2>&1`
-+ fi
-+ # Put the nasty error message in config.log where it belongs
-+ echo "$LUA_PKG_ERRORS" >&5
-+
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+elif test $pkg_failed = untried; then
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+else
-+ LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
-+ LUA_LIBS=$pkg_cv_LUA_LIBS
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-+$as_echo "yes" >&6; }
-+ LUA_VER=0x050000
-+fi
-+
-+else
-+ LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
-+ LUA_LIBS=$pkg_cv_LUA_LIBS
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-+$as_echo "yes" >&6; }
-+ LUA_VER=0x050000
-+fi
-+
-+else
-+ LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
-+ LUA_LIBS=$pkg_cv_LUA_LIBS
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-+$as_echo "yes" >&6; }
-+ LUA_VER=0x050100
-+fi
-+
-+elif test $pkg_failed = untried; then
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+
-+pkg_failed=no
-+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
-+$as_echo_n "checking for LUA... " >&6; }
-+
-+if test -n "$LUA_CFLAGS"; then
-+ pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
-+ elif test -n "$PKG_CONFIG"; then
-+ if test -n "$PKG_CONFIG" && \
-+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors
\"lua >= 5.1.0\""; } >&5
-+ ($PKG_CONFIG --exists --print-errors "lua >= 5.1.0") 2>&5
-+ ac_status=$?
-+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-+ test $ac_status = 0; }; then
-+ pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua >= 5.1.0" 2>/dev/null`
-+else
-+ pkg_failed=yes
-+fi
-+ else
-+ pkg_failed=untried
-+fi
-+if test -n "$LUA_LIBS"; then
-+ pkg_cv_LUA_LIBS="$LUA_LIBS"
-+ elif test -n "$PKG_CONFIG"; then
-+ if test -n "$PKG_CONFIG" && \
-+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors
\"lua >= 5.1.0\""; } >&5
-+ ($PKG_CONFIG --exists --print-errors "lua >= 5.1.0") 2>&5
-+ ac_status=$?
-+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-+ test $ac_status = 0; }; then
-+ pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua >= 5.1.0" 2>/dev/null`
-+else
-+ pkg_failed=yes
-+fi
-+ else
-+ pkg_failed=untried
-+fi
-+
-+
-+
-+if test $pkg_failed = yes; then
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+
-+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
-+ _pkg_short_errors_supported=yes
-+else
-+ _pkg_short_errors_supported=no
-+fi
-+ if test $_pkg_short_errors_supported = yes; then
-+ LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua >=
5.1.0" 2>&1`
-+ else
-+ LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua >= 5.1.0"
2>&1`
-+ fi
-+ # Put the nasty error message in config.log where it belongs
-+ echo "$LUA_PKG_ERRORS" >&5
-+
-+
-+pkg_failed=no
-+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
-+$as_echo_n "checking for LUA... " >&6; }
-+
-+if test -n "$LUA_CFLAGS"; then
-+ pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
-+ elif test -n "$PKG_CONFIG"; then
-+ if test -n "$PKG_CONFIG" && \
-+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors
\"lua50 >= 5.0.0 lua50 < 5.1.0\""; } >&5
-+ ($PKG_CONFIG --exists --print-errors "lua50 >= 5.0.0 lua50 < 5.1.0")
2>&5
-+ ac_status=$?
-+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-+ test $ac_status = 0; }; then
-+ pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua50 >= 5.0.0 lua50 < 5.1.0"
2>/dev/null`
-+else
-+ pkg_failed=yes
-+fi
-+ else
-+ pkg_failed=untried
-+fi
-+if test -n "$LUA_LIBS"; then
-+ pkg_cv_LUA_LIBS="$LUA_LIBS"
-+ elif test -n "$PKG_CONFIG"; then
-+ if test -n "$PKG_CONFIG" && \
-+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors
\"lua50 >= 5.0.0 lua50 < 5.1.0\""; } >&5
-+ ($PKG_CONFIG --exists --print-errors "lua50 >= 5.0.0 lua50 < 5.1.0")
2>&5
-+ ac_status=$?
-+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-+ test $ac_status = 0; }; then
-+ pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua50 >= 5.0.0 lua50 < 5.1.0"
2>/dev/null`
-+else
-+ pkg_failed=yes
-+fi
-+ else
-+ pkg_failed=untried
-+fi
-+
-+
-+
-+if test $pkg_failed = yes; then
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+
-+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
-+ _pkg_short_errors_supported=yes
-+else
-+ _pkg_short_errors_supported=no
-+fi
-+ if test $_pkg_short_errors_supported = yes; then
-+ LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua50 >=
5.0.0 lua50 < 5.1.0" 2>&1`
-+ else
-+ LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua50 >= 5.0.0 lua50 <
5.1.0" 2>&1`
-+ fi
-+ # Put the nasty error message in config.log where it belongs
-+ echo "$LUA_PKG_ERRORS" >&5
-+
-+
-+pkg_failed=no
-+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
-+$as_echo_n "checking for LUA... " >&6; }
-+
-+if test -n "$LUA_CFLAGS"; then
-+ pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
-+ elif test -n "$PKG_CONFIG"; then
-+ if test -n "$PKG_CONFIG" && \
-+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors
\"lua >= 5.0.0 lua < 5.1.0\""; } >&5
-+ ($PKG_CONFIG --exists --print-errors "lua >= 5.0.0 lua < 5.1.0")
2>&5
-+ ac_status=$?
-+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-+ test $ac_status = 0; }; then
-+ pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua >= 5.0.0 lua < 5.1.0"
2>/dev/null`
-+else
-+ pkg_failed=yes
-+fi
-+ else
-+ pkg_failed=untried
-+fi
-+if test -n "$LUA_LIBS"; then
-+ pkg_cv_LUA_LIBS="$LUA_LIBS"
-+ elif test -n "$PKG_CONFIG"; then
-+ if test -n "$PKG_CONFIG" && \
-+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors
\"lua >= 5.0.0 lua < 5.1.0\""; } >&5
-+ ($PKG_CONFIG --exists --print-errors "lua >= 5.0.0 lua < 5.1.0")
2>&5
-+ ac_status=$?
-+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-+ test $ac_status = 0; }; then
-+ pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua >= 5.0.0 lua < 5.1.0"
2>/dev/null`
-+else
-+ pkg_failed=yes
-+fi
-+ else
-+ pkg_failed=untried
-+fi
-+
-+
-+
-+if test $pkg_failed = yes; then
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+
-+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
-+ _pkg_short_errors_supported=yes
-+else
-+ _pkg_short_errors_supported=no
-+fi
-+ if test $_pkg_short_errors_supported = yes; then
-+ LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua >= 5.0.0
lua < 5.1.0" 2>&1`
-+ else
-+ LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua >= 5.0.0 lua <
5.1.0" 2>&1`
-+ fi
-+ # Put the nasty error message in config.log where it belongs
-+ echo "$LUA_PKG_ERRORS" >&5
-+
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+elif test $pkg_failed = untried; then
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+else
-+ LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
-+ LUA_LIBS=$pkg_cv_LUA_LIBS
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-+$as_echo "yes" >&6; }
-+ LUA_VER=0x050000
-+fi
-+
-+elif test $pkg_failed = untried; then
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+
-+pkg_failed=no
-+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
-+$as_echo_n "checking for LUA... " >&6; }
-+
-+if test -n "$LUA_CFLAGS"; then
-+ pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
-+ elif test -n "$PKG_CONFIG"; then
-+ if test -n "$PKG_CONFIG" && \
-+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors
\"lua >= 5.0.0 lua < 5.1.0\""; } >&5
-+ ($PKG_CONFIG --exists --print-errors "lua >= 5.0.0 lua < 5.1.0")
2>&5
-+ ac_status=$?
-+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-+ test $ac_status = 0; }; then
-+ pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua >= 5.0.0 lua < 5.1.0"
2>/dev/null`
-+else
-+ pkg_failed=yes
-+fi
-+ else
-+ pkg_failed=untried
-+fi
-+if test -n "$LUA_LIBS"; then
-+ pkg_cv_LUA_LIBS="$LUA_LIBS"
-+ elif test -n "$PKG_CONFIG"; then
-+ if test -n "$PKG_CONFIG" && \
-+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors
\"lua >= 5.0.0 lua < 5.1.0\""; } >&5
-+ ($PKG_CONFIG --exists --print-errors "lua >= 5.0.0 lua < 5.1.0")
2>&5
-+ ac_status=$?
-+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-+ test $ac_status = 0; }; then
-+ pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua >= 5.0.0 lua < 5.1.0"
2>/dev/null`
-+else
-+ pkg_failed=yes
-+fi
-+ else
-+ pkg_failed=untried
-+fi
-+
-+
-+
-+if test $pkg_failed = yes; then
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+
-+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
-+ _pkg_short_errors_supported=yes
-+else
-+ _pkg_short_errors_supported=no
-+fi
-+ if test $_pkg_short_errors_supported = yes; then
-+ LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua >= 5.0.0
lua < 5.1.0" 2>&1`
-+ else
-+ LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua >= 5.0.0 lua <
5.1.0" 2>&1`
-+ fi
-+ # Put the nasty error message in config.log where it belongs
-+ echo "$LUA_PKG_ERRORS" >&5
-+
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+elif test $pkg_failed = untried; then
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+else
-+ LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
-+ LUA_LIBS=$pkg_cv_LUA_LIBS
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-+$as_echo "yes" >&6; }
-+ LUA_VER=0x050000
-+fi
-+
-+else
-+ LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
-+ LUA_LIBS=$pkg_cv_LUA_LIBS
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-+$as_echo "yes" >&6; }
-+ LUA_VER=0x050000
-+fi
-+
-+elif test $pkg_failed = untried; then
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+
-+pkg_failed=no
-+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
-+$as_echo_n "checking for LUA... " >&6; }
-+
-+if test -n "$LUA_CFLAGS"; then
-+ pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
-+ elif test -n "$PKG_CONFIG"; then
-+ if test -n "$PKG_CONFIG" && \
-+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors
\"lua50 >= 5.0.0 lua50 < 5.1.0\""; } >&5
-+ ($PKG_CONFIG --exists --print-errors "lua50 >= 5.0.0 lua50 < 5.1.0")
2>&5
-+ ac_status=$?
-+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-+ test $ac_status = 0; }; then
-+ pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua50 >= 5.0.0 lua50 < 5.1.0"
2>/dev/null`
-+else
-+ pkg_failed=yes
-+fi
-+ else
-+ pkg_failed=untried
-+fi
-+if test -n "$LUA_LIBS"; then
-+ pkg_cv_LUA_LIBS="$LUA_LIBS"
-+ elif test -n "$PKG_CONFIG"; then
-+ if test -n "$PKG_CONFIG" && \
-+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors
\"lua50 >= 5.0.0 lua50 < 5.1.0\""; } >&5
-+ ($PKG_CONFIG --exists --print-errors "lua50 >= 5.0.0 lua50 < 5.1.0")
2>&5
-+ ac_status=$?
-+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-+ test $ac_status = 0; }; then
-+ pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua50 >= 5.0.0 lua50 < 5.1.0"
2>/dev/null`
-+else
-+ pkg_failed=yes
-+fi
-+ else
-+ pkg_failed=untried
-+fi
-+
-+
-+
-+if test $pkg_failed = yes; then
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+
-+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
-+ _pkg_short_errors_supported=yes
-+else
-+ _pkg_short_errors_supported=no
-+fi
-+ if test $_pkg_short_errors_supported = yes; then
-+ LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua50 >=
5.0.0 lua50 < 5.1.0" 2>&1`
-+ else
-+ LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua50 >= 5.0.0 lua50 <
5.1.0" 2>&1`
-+ fi
-+ # Put the nasty error message in config.log where it belongs
-+ echo "$LUA_PKG_ERRORS" >&5
-+
-+
-+pkg_failed=no
-+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
-+$as_echo_n "checking for LUA... " >&6; }
-+
-+if test -n "$LUA_CFLAGS"; then
-+ pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
-+ elif test -n "$PKG_CONFIG"; then
-+ if test -n "$PKG_CONFIG" && \
-+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors
\"lua >= 5.0.0 lua < 5.1.0\""; } >&5
-+ ($PKG_CONFIG --exists --print-errors "lua >= 5.0.0 lua < 5.1.0")
2>&5
-+ ac_status=$?
-+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-+ test $ac_status = 0; }; then
-+ pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua >= 5.0.0 lua < 5.1.0"
2>/dev/null`
-+else
-+ pkg_failed=yes
-+fi
-+ else
-+ pkg_failed=untried
-+fi
-+if test -n "$LUA_LIBS"; then
-+ pkg_cv_LUA_LIBS="$LUA_LIBS"
-+ elif test -n "$PKG_CONFIG"; then
-+ if test -n "$PKG_CONFIG" && \
-+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors
\"lua >= 5.0.0 lua < 5.1.0\""; } >&5
-+ ($PKG_CONFIG --exists --print-errors "lua >= 5.0.0 lua < 5.1.0")
2>&5
-+ ac_status=$?
-+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-+ test $ac_status = 0; }; then
-+ pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua >= 5.0.0 lua < 5.1.0"
2>/dev/null`
-+else
-+ pkg_failed=yes
-+fi
-+ else
-+ pkg_failed=untried
-+fi
-+
-+
-+
-+if test $pkg_failed = yes; then
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+
-+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
-+ _pkg_short_errors_supported=yes
-+else
-+ _pkg_short_errors_supported=no
-+fi
-+ if test $_pkg_short_errors_supported = yes; then
-+ LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua >= 5.0.0
lua < 5.1.0" 2>&1`
-+ else
-+ LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua >= 5.0.0 lua <
5.1.0" 2>&1`
-+ fi
-+ # Put the nasty error message in config.log where it belongs
-+ echo "$LUA_PKG_ERRORS" >&5
-+
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+elif test $pkg_failed = untried; then
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+else
-+ LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
-+ LUA_LIBS=$pkg_cv_LUA_LIBS
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-+$as_echo "yes" >&6; }
-+ LUA_VER=0x050000
-+fi
-+
-+elif test $pkg_failed = untried; then
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+
-+pkg_failed=no
-+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
-+$as_echo_n "checking for LUA... " >&6; }
-+
-+if test -n "$LUA_CFLAGS"; then
-+ pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
-+ elif test -n "$PKG_CONFIG"; then
-+ if test -n "$PKG_CONFIG" && \
-+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors
\"lua >= 5.0.0 lua < 5.1.0\""; } >&5
-+ ($PKG_CONFIG --exists --print-errors "lua >= 5.0.0 lua < 5.1.0")
2>&5
-+ ac_status=$?
-+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-+ test $ac_status = 0; }; then
-+ pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua >= 5.0.0 lua < 5.1.0"
2>/dev/null`
-+else
-+ pkg_failed=yes
-+fi
-+ else
-+ pkg_failed=untried
-+fi
-+if test -n "$LUA_LIBS"; then
-+ pkg_cv_LUA_LIBS="$LUA_LIBS"
-+ elif test -n "$PKG_CONFIG"; then
-+ if test -n "$PKG_CONFIG" && \
-+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors
\"lua >= 5.0.0 lua < 5.1.0\""; } >&5
-+ ($PKG_CONFIG --exists --print-errors "lua >= 5.0.0 lua < 5.1.0")
2>&5
-+ ac_status=$?
-+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-+ test $ac_status = 0; }; then
-+ pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua >= 5.0.0 lua < 5.1.0"
2>/dev/null`
-+else
-+ pkg_failed=yes
-+fi
-+ else
-+ pkg_failed=untried
-+fi
-+
-+
-+
-+if test $pkg_failed = yes; then
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+
-+if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
-+ _pkg_short_errors_supported=yes
-+else
-+ _pkg_short_errors_supported=no
-+fi
-+ if test $_pkg_short_errors_supported = yes; then
-+ LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua >= 5.0.0
lua < 5.1.0" 2>&1`
-+ else
-+ LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua >= 5.0.0 lua <
5.1.0" 2>&1`
-+ fi
-+ # Put the nasty error message in config.log where it belongs
-+ echo "$LUA_PKG_ERRORS" >&5
-+
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+elif test $pkg_failed = untried; then
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+else
-+ LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
-+ LUA_LIBS=$pkg_cv_LUA_LIBS
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-+$as_echo "yes" >&6; }
-+ LUA_VER=0x050000
-+fi
-+
-+else
-+ LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
-+ LUA_LIBS=$pkg_cv_LUA_LIBS
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-+$as_echo "yes" >&6; }
-+ LUA_VER=0x050000
-+fi
-+
-+else
-+ LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
-+ LUA_LIBS=$pkg_cv_LUA_LIBS
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-+$as_echo "yes" >&6; }
-+ LUA_VER=0x050100
-+fi
-+
-+else
-+ LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
-+ LUA_LIBS=$pkg_cv_LUA_LIBS
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-+$as_echo "yes" >&6; }
-+ LUA_VER=0x050100
-+fi
-+
-+elif test $pkg_failed = untried; then
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-+$as_echo "no" >&6; }
-+
-+pkg_failed=no
-+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
-+$as_echo_n "checking for LUA... " >&6; }
-+
-+if test -n "$LUA_CFLAGS"; then
-+ pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
-+ elif test -n "$PKG_CONFIG"; then
-+ if test -n "$PKG_CONFIG" && \
- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors
\"lua5.1 >= 5.1.0\""; } >&5
- ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1.0") 2>&5
- ac_status=$?
-@@ -29486,6 +32830,22 @@
- $as_echo "yes" >&6; }
- LUA_VER=0x050100
- fi
-+
-+else
-+ LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
-+ LUA_LIBS=$pkg_cv_LUA_LIBS
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-+$as_echo "yes" >&6; }
-+ LUA_VER=0x050200
-+fi
-+
-+else
-+ LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
-+ LUA_LIBS=$pkg_cv_LUA_LIBS
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-+$as_echo "yes" >&6; }
-+ LUA_VER=0x050200
-+fi
- if (test "$LUA_VER" = "0x050000"); then
-
- pkg_failed=no
-diff -Naur celestia-1.6.1.orig/configure.in celestia-1.6.1/configure.in
---- celestia-1.6.1.orig/configure.in 2011-06-05 18:11:45.000000000 +0200
-+++ celestia-1.6.1/configure.in 2013-08-22 06:31:25.111482511 +0200
-@@ -375,13 +375,17 @@
-
- if (test "$enable_lua" != "no"); then
- LUA_VER=0
-- PKG_CHECK_MODULES(LUA, lua5.1 >= 5.1.0, LUA_VER=0x050100,
-- [ PKG_CHECK_MODULES(LUA, lua >= 5.1.0, LUA_VER=0x050100,
-- [ PKG_CHECK_MODULES(LUA, lua50 >= 5.0.0 lua50 < 5.1.0, LUA_VER=0x050000,
-- [ PKG_CHECK_MODULES(LUA, lua >= 5.0.0 lua < 5.1.0, LUA_VER=0x050000,
AC_MSG_RESULT([no])) ]
-- ) ]
-+ PKG_CHECK_MODULES(LUA, lua5.2 >= 5.2.0, LUA_VER=0x050200,
-+ [ PKG_CHECK_MODULES(LUA, lua >= 5.2.0, LUA_VER=0x050200,
-+ [ PKG_CHECK_MODULES(LUA, lua5.1 >= 5.1.0, LUA_VER=0x050100,
-+ [ PKG_CHECK_MODULES(LUA, lua >= 5.1.0, LUA_VER=0x050100,
-+ [ PKG_CHECK_MODULES(LUA, lua50 >= 5.0.0 lua50 < 5.1.0, LUA_VER=0x050000,
-+ [ PKG_CHECK_MODULES(LUA, lua >= 5.0.0 lua < 5.1.0, LUA_VER=0x050000,
AC_MSG_RESULT([no])) ]
-+ ) ]
-+ ) ]
-+ ) ]
- ) ]
-- )
-+ )
- if (test "$LUA_VER" = "0x050000"); then
- PKG_CHECK_MODULES(LUALIB, lualib50 >= 5.0.0 lualib50 < 5.1.0, ,
- [ PKG_CHECK_MODULES(LUALIB, lualib >= 5.0.0 lualib < 5.1.0, ,
AC_MSG_RESULT([no])) ]
-diff -Naur celestia-1.6.1.orig/src/celengine/scriptorbit.cpp
celestia-1.6.1/src/celengine/scriptorbit.cpp
---- celestia-1.6.1.orig/src/celengine/scriptorbit.cpp 2011-06-05 18:11:09.000000000
+0200
-+++ celestia-1.6.1/src/celengine/scriptorbit.cpp 2013-08-22 06:31:25.112482528 +0200
-@@ -73,8 +73,7 @@
-
- if (!moduleName.empty())
- {
-- lua_pushstring(luaState, "require");
-- lua_gettable(luaState, LUA_GLOBALSINDEX);
-+ lua_getglobal(luaState, "require");
- if (!lua_isfunction(luaState, -1))
- {
- clog << "Cannot load ScriptedOrbit package: 'require'
function is unavailable\n";
-@@ -92,8 +91,7 @@
- }
-
- // Get the orbit generator function
-- lua_pushstring(luaState, funcName.c_str());
-- lua_gettable(luaState, LUA_GLOBALSINDEX);
-+ lua_getglobal(luaState, funcName.c_str());
-
- if (lua_isfunction(luaState, -1) == 0)
- {
-@@ -157,9 +155,8 @@
- luaOrbitObjectName = GenerateScriptObjectName();
-
- // Attach the name to the script orbit
-- lua_pushstring(luaState, luaOrbitObjectName.c_str());
- lua_pushvalue(luaState, -2); // dup the orbit object on top of stack
-- lua_settable(luaState, LUA_GLOBALSINDEX);
-+ lua_setglobal(luaState, luaOrbitObjectName.c_str());
-
- // Now, call orbit object methods to get the bounding radius
- // and valid time range.
-@@ -206,8 +203,7 @@
- {
- Point3d pos(0.0, 0.0, 0.0);
-
-- lua_pushstring(luaState, luaOrbitObjectName.c_str());
-- lua_gettable(luaState, LUA_GLOBALSINDEX);
-+ lua_getglobal(luaState, luaOrbitObjectName.c_str());
- if (lua_istable(luaState, -1))
- {
- lua_pushstring(luaState, "position");
-diff -Naur celestia-1.6.1.orig/src/celengine/scriptrotation.cpp
celestia-1.6.1/src/celengine/scriptrotation.cpp
---- celestia-1.6.1.orig/src/celengine/scriptrotation.cpp 2011-06-05 18:11:09.000000000
+0200
-+++ celestia-1.6.1/src/celengine/scriptrotation.cpp 2013-08-22 06:31:25.112482528 +0200
-@@ -74,8 +74,7 @@
-
- if (!moduleName.empty())
- {
-- lua_pushstring(luaState, "require");
-- lua_gettable(luaState, LUA_GLOBALSINDEX);
-+ lua_getglobal(luaState, "require");
- if (!lua_isfunction(luaState, -1))
- {
- clog << "Cannot load ScriptedRotation package: 'require'
function is unavailable\n";
-@@ -93,8 +92,7 @@
- }
-
- // Get the rotation generator function
-- lua_pushstring(luaState, funcName.c_str());
-- lua_gettable(luaState, LUA_GLOBALSINDEX);
-+ lua_getglobal(luaState, funcName.c_str());
-
- if (lua_isfunction(luaState, -1) == 0)
- {
-@@ -131,9 +129,8 @@
- luaRotationObjectName = GenerateScriptObjectName();
-
- // Attach the name to the script rotation
-- lua_pushstring(luaState, luaRotationObjectName.c_str());
- lua_pushvalue(luaState, -2); // dup the rotation object on top of stack
-- lua_settable(luaState, LUA_GLOBALSINDEX);
-+ lua_setglobal(luaState, luaRotationObjectName.c_str());
-
- // Get the rest of the rotation parameters; they are all optional.
- period = SafeGetLuaNumber(luaState, -1, "period", 0.0);
-@@ -160,8 +157,7 @@
- {
- if (tjd != lastTime || !cacheable)
- {
-- lua_pushstring(luaState, luaRotationObjectName.c_str());
-- lua_gettable(luaState, LUA_GLOBALSINDEX);
-+ lua_getglobal(luaState, luaRotationObjectName.c_str());
- if (lua_istable(luaState, -1))
- {
- lua_pushstring(luaState, "orientation");
-diff -Naur celestia-1.6.1.orig/src/celestia/celx.cpp
celestia-1.6.1/src/celestia/celx.cpp
---- celestia-1.6.1.orig/src/celestia/celx.cpp 2011-06-05 18:11:13.000000000 +0200
-+++ celestia-1.6.1/src/celestia/celx.cpp 2013-08-22 06:31:25.114482561 +0200
-@@ -51,6 +51,10 @@
- #include "celx.h"
- #include "celestiacore.h"
-
-+#ifndef lua_open
-+#define lua_open() luaL_newstate()
-+#endif
-+
- using namespace std;
-
- const char* CelxLua::ClassNames[] =
-@@ -294,14 +298,7 @@
-
- static void getField(lua_State* l, int index, const char* key)
- {
-- // When we move to Lua 5.1, this will be replaced by:
-- // lua_getfield(l, index, key);
-- lua_pushstring(l, key);
--
-- if (index != LUA_GLOBALSINDEX && index != LUA_REGISTRYINDEX)
-- lua_gettable(l, index - 1);
-- else
-- lua_gettable(l, index);
-+ lua_getfield(l, index, key);
- }
-
-
-@@ -583,8 +580,7 @@
- lua_pop(state,1);
- }
- }
-- lua_pushstring(costate, CleanupCallback);
-- lua_gettable(costate, LUA_GLOBALSINDEX);
-+ lua_getglobal(costate, CleanupCallback);
- if (lua_isnil(costate, -1))
- {
- return;
-@@ -654,7 +650,11 @@
- // luaL_error(L, "too many arguments to resume");
- lua_xmove(L, co, narg);
-
-+#if LUA_VER >= 0x050200
-+ status = lua_resume(co, NULL, narg);
-+#else
- status = lua_resume(co, narg);
-+#endif
- #if LUA_VER >= 0x050100
- if (status == 0 || status == LUA_YIELD)
- #else
-@@ -768,8 +768,7 @@
- int stack_top = lua_gettop(costate);
- #endif
- bool result = true;
-- lua_pushstring(costate, KbdCallback);
-- lua_gettable(costate, LUA_GLOBALSINDEX);
-+ lua_getglobal(costate, KbdCallback);
- lua_pushstring(costate, c_p);
- timeout = getTime() + 1.0;
- if (lua_pcall(costate, 1, 1, 0) != 0)
-@@ -961,8 +960,11 @@
- lua_pushstring(state, streamname.c_str());
- lua_settable(state, LUA_REGISTRYINDEX);
- }
--
-+#if LUA_VER >= 0x050200
-+ int status = lua_load(state, readStreamChunk, &info, streamname.c_str(), NULL);
-+#else
- int status = lua_load(state, readStreamChunk, &info, streamname.c_str());
-+#endif
- if (status != 0)
- cout << "Error loading script: " << lua_tostring(state,
-1) << '\n';
-
-@@ -3157,8 +3159,7 @@
- if (lua_toboolean(l, 2))
- {
- // Check for existence of charEntered:
-- lua_pushstring(l, KbdCallback);
-- lua_gettable(l, LUA_GLOBALSINDEX);
-+ lua_getglobal(l, KbdCallback);
- if (lua_isnil(l, -1))
- {
- Celx_DoError(l, "script requested keyboard, but did not provide
callback");
-@@ -3559,16 +3560,14 @@
- return false;
- }
-
-- lua_pushstring(state, "KM_PER_MICROLY");
- lua_pushnumber(state, (lua_Number)KM_PER_LY/1e6);
-- lua_settable(state, LUA_GLOBALSINDEX);
-+ lua_setglobal(state, "KM_PER_MICROLY");
-
- loadLuaLibs(state);
-
- // Create the celestia object
-- lua_pushstring(state, "celestia");
- celestia_new(state, appCore);
-- lua_settable(state, LUA_GLOBALSINDEX);
-+ lua_setglobal(state, "celestia");
- // add reference to appCore in the registry
- lua_pushstring(state, "celestia-appcore");
- lua_pushlightuserdata(state, static_cast<void*>(appCore));
-@@ -3604,7 +3603,7 @@
- void LuaState::setLuaPath(const string& s)
- {
- #if LUA_VER >= 0x050100
-- lua_getfield(state, LUA_GLOBALSINDEX, "package");
-+ lua_getglobal(state, "package");
- lua_pushstring(state, s.c_str());
- lua_setfield(state, -2, "path");
- lua_pop(state, 1);
-@@ -4118,7 +4117,7 @@
- openLuaLibrary(state, LUA_LOADLIBNAME, luaopen_package);
-
- // Disallow loadlib
-- lua_getfield(state, LUA_GLOBALSINDEX, "package");
-+ lua_getglobal(state, "package");
- lua_pushnil(state);
- lua_setfield(state, -2, "loadlib");
- lua_pop(state, 1);
-diff -Naur celestia-1.6.1.orig/src/celestia/celx_gl.cpp
celestia-1.6.1/src/celestia/celx_gl.cpp
---- celestia-1.6.1.orig/src/celestia/celx_gl.cpp 2011-06-05 18:11:13.000000000 +0200
-+++ celestia-1.6.1/src/celestia/celx_gl.cpp 2013-08-22 06:31:25.114482561 +0200
-@@ -221,7 +221,6 @@
- void LoadLuaGraphicsLibrary(lua_State* l)
- {
- CelxLua celx(l);
-- lua_pushstring(l, "gl");
- lua_newtable(l);
-
- celx.registerMethod("Frustum", gl_Frustum);
-@@ -259,11 +258,10 @@
- celx.registerValue("NEAREST", GL_NEAREST);
- celx.registerValue("SRC_ALPHA", GL_SRC_ALPHA);
- celx.registerValue("ONE_MINUS_SRC_ALPHA", GL_ONE_MINUS_SRC_ALPHA);
-- lua_settable(l, LUA_GLOBALSINDEX);
-+ lua_setglobal(l, "gl");
-
-- lua_pushstring(l, "glu");
- lua_newtable(l);
- celx.registerMethod("LookAt", glu_LookAt);
- celx.registerMethod("Ortho2D", glu_Ortho2D);
-- lua_settable(l, LUA_GLOBALSINDEX);
-+ lua_setglobal(l, "glu");
- }
diff --git a/celestia-1.6.1-zlib.patch b/celestia-1.6.1-zlib.patch
deleted file mode 100644
index 7566a2d..0000000
--- a/celestia-1.6.1-zlib.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -up celestia-1.6.1/src/celestia/imagecapture.cpp.zlib
celestia-1.6.1/src/celestia/imagecapture.cpp
---- celestia-1.6.1/src/celestia/imagecapture.cpp.zlib 2012-03-22 13:02:36.968386333
-0400
-+++ celestia-1.6.1/src/celestia/imagecapture.cpp 2012-03-22 13:02:43.201336755 -0400
-@@ -31,6 +31,8 @@ extern "C" {
- #include "png.h"
- #endif
-
-+#include <zlib.h>
-+
- // Define png_jmpbuf() in case we are using a pre-1.0.6 version of libpng
- #ifndef png_jmpbuf
- #define png_jmpbuf(png_ptr) png_ptr->jmpbuf
diff --git a/celestia-1.6.2-beta3-lua-5.4.patch b/celestia-1.6.2-beta3-lua-5.4.patch
deleted file mode 100644
index 0fd2a68..0000000
--- a/celestia-1.6.2-beta3-lua-5.4.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-diff -up Celestia-1.6.2-beta3/configure.ac.lua54 Celestia-1.6.2-beta3/configure.ac
---- Celestia-1.6.2-beta3/configure.ac.lua54 2020-06-10 03:22:53.000000000 -0400
-+++ Celestia-1.6.2-beta3/configure.ac 2020-07-13 14:16:08.599339105 -0400
-@@ -376,13 +376,14 @@ AC_ARG_WITH([lua],
-
- if (test "$enable_lua" != "no"); then
- LUA_VER=0
-+ PKG_CHECK_MODULES(LUA, lua5.4 >= 5.4.0, LUA_VER=0x050400, [
- PKG_CHECK_MODULES(LUA, lua5.3 >= 5.3.0, LUA_VER=0x050300, [
- PKG_CHECK_MODULES(LUA, lua >= 5.3.0, LUA_VER=0x050300, [
- PKG_CHECK_MODULES(LUA, lua5.2 >= 5.2.0, LUA_VER=0x050200, [
- PKG_CHECK_MODULES(LUA, lua >= 5.2.0, LUA_VER=0x050200, [
- PKG_CHECK_MODULES(LUA, lua5.1 >= 5.1.0, LUA_VER=0x050100, [
- PKG_CHECK_MODULES(LUA, lua >= 5.1.0, LUA_VER=0x050100, AC_MSG_RESULT([no])) ]
-- ) ] ) ] ) ] ) ] )
-+ ) ] ) ] ) ] ) ] ) ] )
- if (test "$LUA_VER" = "0"); then
- if (test "x$enable_lua" != "xauto"); then
- AC_ERROR([Lua not found (explicitly enabled)!])
-diff -up Celestia-1.6.2-beta3/src/celestia/celx.cpp.lua54
Celestia-1.6.2-beta3/src/celestia/celx.cpp
---- Celestia-1.6.2-beta3/src/celestia/celx.cpp.lua54 2020-07-13 15:39:06.725303570 -0400
-+++ Celestia-1.6.2-beta3/src/celestia/celx.cpp 2020-07-13 15:40:47.950709672 -0400
-@@ -669,7 +669,10 @@ static int resumeLuaThread(lua_State *L,
- //if (!lua_checkstack(co, narg))
- // luaL_error(L, "too many arguments to resume");
- lua_xmove(L, co, narg);
--#if LUA_VERSION_NUM >= 502
-+#if LUA_VERSION_NUM >= 504
-+ int nres;
-+ status = lua_resume(co, NULL, narg, &nres);
-+#elif LUA_VERSION_NUM >= 502
- status = lua_resume(co, NULL, narg);
- #else
- status = lua_resume(co, narg);
diff --git a/celestia-lua-52-fix.patch b/celestia-lua-52-fix.patch
deleted file mode 100644
index 62e26ce..0000000
--- a/celestia-lua-52-fix.patch
+++ /dev/null
@@ -1,16 +0,0 @@
---- celestia-1.6.1.orig/src/celestia/celx.cpp 2014-02-09 23:23:10.308810741 +0000
-+++ celestia-1.6.1/src/celestia/celx.cpp 2014-02-09 23:24:57.627017784 +0000
-@@ -272,9 +272,13 @@
- const char* name,
- lua_CFunction func)
- {
-+#if LUA_VER >= 0x050200
-+ luaL_requiref(l, name, func, 1);
-+#else
- lua_pushcfunction(l, func);
- lua_pushstring(l, name);
- lua_call(l, 1, 0);
-+#endif
- }
- #endif
-
diff --git a/celestia-r128.patch b/celestia-r128.patch
new file mode 100644
index 0000000..0d2e526
--- /dev/null
+++ b/celestia-r128.patch
@@ -0,0 +1,11 @@
+diff -udHrN -- a/src/celutil/r128util.cpp b/src/celutil/r128util.cpp
+--- a/src/celutil/r128util.cpp 2023-03-05 14:02:05.000000000 +0100
++++ b/src/celutil/r128util.cpp 2023-03-05 15:47:03.744930545 +0100
+@@ -17,6 +17,7 @@
+ #include <cassert>
+ #include <cmath>
+ #include <cstddef>
++#include <cstdint>
+
+ #define R128_IMPLEMENTATION
+ #include "r128util.h"
diff --git a/celestia.desktop b/celestia.desktop
deleted file mode 100644
index 80cbd76..0000000
--- a/celestia.desktop
+++ /dev/null
@@ -1,11 +0,0 @@
-[Desktop Entry]
-Name=Celestia space simulator
-GenericName=Space simulator
-Comment=A real-time space simulator
-Categories=Application;Astronomy;Science;Education
-Icon=celestia
-Exec=celestia
-Terminal=false
-Type=Application
-Encoding=UTF-8
-StartupNotify=true
diff --git a/celestia.spec b/celestia.spec
index fafffaa..83e1176 100644
--- a/celestia.spec
+++ b/celestia.spec
@@ -1,44 +1,55 @@
-%global betaver beta3
+#%%global gittag 1.6.2
+%global commit ebfcdb1248a9f35e5efdbf24e56e9f07418e55ff
+%global shortcommit %(c=%{commit}; echo ${c:0:7})
+%global date 20230305
Name: celestia
+%if "%{?gittag}"
Version: 1.6.2
+%else
+Version: 1.7.0~%{date}%{shortcommit}
+%endif
Release: %autorelease
Summary: OpenGL real-time visual space simulation
-License: GPLv2+ and CC-BY
-# Previously, JPL images, Scott Hudson's asteroid models, and Shrox's Mars rover
models were removed.
-# This is no longer necessary as their licensing is now open.
-# See README-LEGAL.JPL, README-LEGAL.ScottHudsonModels, and README-LEGAL.ShroxModels
-Source0:
https://github.com/CelestiaProject/Celestia/archive/%{version}-%{betaver}...
-Source3: celestia.desktop
-Source4: README-LEGAL.JPL
-Source5: README-LEGAL.ScottHudsonModels
-Source6: README-LEGAL.ShroxModels
+# Bundled R128 is under Unlicense
+License: GPL-2.0-or-later AND MIT AND Unlicense
URL:
https://celestia.space/
-Patch0: celestia-1.6.1-gcc47.patch
-Patch2: celestia-1.6.1-lua-5.2.patch
-Patch5: celestia-1.6.1-link-order.patch
-Patch6: celestia-1.6.2-beta3-lua-5.4.patch
+%if "%{?gittag}"
+Source0:
https://github.com/CelestiaProject/Celestia/archive/%{gittag}/Celestia-%{...
+%else
+Source0:
https://github.com/CelestiaProject/Celestia/archive/%{commit}/Celestia-%{...
+%endif
+Patch: celestia-r128.patch
+
+#
https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval
+ExcludeArch: %{ix86}
+
+BuildRequires: cmake
BuildRequires: gcc
BuildRequires: gcc-c++
-BuildRequires: zlib-devel
-BuildRequires: gtkglext-devel
-BuildRequires: libgnomeui-devel
-BuildRequires: freeglut-devel
-BuildRequires: libpng-devel
-BuildRequires: libjpeg-devel
BuildRequires: desktop-file-utils
-BuildRequires: libGLU-devel
-BuildRequires: libXt-devel
-BuildRequires: libXmu-devel
-BuildRequires: lua-devel
BuildRequires: gettext-devel
-BuildRequires: autoconf, automake, libtool
-BuildRequires: make
-Requires(pre): GConf2
-Requires(post): GConf2
-Requires(preun): GConf2
+BuildRequires: libappstream-glib
+BuildRequires: ImageMagick
+
+BuildRequires: ffmpeg-free-devel
+BuildRequires: pkgconfig(eigen3)
+BuildRequires: pkgconfig(epoxy)
+BuildRequires: pkgconfig(fmt)
+BuildRequires: pkgconfig(freetype2)
+BuildRequires: pkgconfig(gl)
+BuildRequires: pkgconfig(glesv2)
+BuildRequires: pkgconfig(libavif)
+BuildRequires: pkgconfig(libjpeg)
+BuildRequires: pkgconfig(libpng)
+%ifarch x86_64 aarch64
+BuildRequires: pkgconfig(luajit)
+%else
+BuildRequires: pkgconfig(lua)
+%endif
+
+Provides: bundled(r128) = 1.6.0
-%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}}
%description
Celestia is a real-time space simulation which lets you experience the
@@ -52,128 +63,164 @@ down to spacecraft only a few meters across. A
'point-and-goto'
interface makes it simple to navigate through the universe to the
object you want to visit.
-%prep
-%setup -q -n Celestia-%{version}-%{betaver}
-# %%patch0 -p1 -b .gcc47
-# %%patch2 -p1 -b .lua-52
-# %%patch5 -p1 -b .link
-%patch6 -p1 -b .lua54
-cp %{SOURCE4} %{SOURCE5} %{SOURCE6} .
+%package common
+Summary: Common files for %{name}
+Requires: celestia-data
+Requires: dejavu-sans-fonts
+
+Obsoletes: %{name} < 1.6.3
+
+%description common
+This package provides files common to all GUIs for %{name}.
-autoreconf -ifv .
-%if 0
-# Make sure we compile with the right CFLAGS/CXXFLAGS (from Hans de Goede).
-sed -i 's/CFLAGS="\$CFLAGS \$CELESTIAFLAGS
\$CELESTIA_CFLAGS"/CFLAGS="\$CFLAGS \$CELESTIAFLAGS"/' configure
-sed -i 's/CXXFLAGS="\$CXXFLAGS \$CELESTIAFLAGS
\$CELESTIA_CXXFLAGS"/CXXFLAGS="\$CXXFLAGS \$CELESTIAFLAGS"/' configure
+%package qt
+Summary: QT interface for %{name}
+Requires: %{name}-common%{?_isa} = %{version}-%{release}
-# Avoid re-running the autotools
-touch -r aclocal.m4 configure configure.in
+%if %{defined flatpak}
+BuildRequires: qt5-qtbase-devel
+BuildRequires: qt5-qtbase-private-devel
+%else
+BuildRequires: qt6-qtbase-devel
+BuildRequires: qt6-qt5compat-devel
+BuildRequires: qt6-qtbase-private-devel
%endif
+BuildRequires: pkgconfig(wayland-protocols)
+BuildRequires: pkgconfig(wayland-scanner)
+
+%description qt
+This package provides the QT GUI for %{name}.
+
+
+%package gtk
+Summary: GTK interface for %{name}
+Requires: %{name}-common%{?_isa} = %{version}-%{release}
+
+Provides: %{name} = %{version}-%{release}
+
+BuildRequires: cairo-devel
+BuildRequires: gtk2-devel
+BuildRequires: gtkglext-devel
+
+%description gtk
+This package provides the GTK GUI for %{name}.
+
+
+%package doc
+Summary: Documentation files for %{name}
+BuildArch: noarch
+Requires: %{name} = %{version}-%{release}
-# Fix permissions
-chmod -x src/celengine/precession.cpp
+%description doc
+The %{name}-doc package contains documentation for %{name}.
+
+
+%prep
+%if "%{?gittag}"
+%autosetup -p1
+%else
+%autosetup -n Celestia-%{commit} -p1
+%endif
+
+# Change default config
+sed -i 's|# LeapSecondsFile "|LeapSecondsFile "|g' celestia.cfg
%build
-export GTK_LIBS="$( pkg-config --libs gtkglext-x11-1.0 libgnomeui-2.0 )"
-%configure --with-gnome --with-lua
-make %{?_smp_mflags}
+%cmake -DENABLE_DATA=ON \
+ -DENABLE_QT=ON \
+ -DENABLE_GTK=ON \
+ -DENABLE_FFMPEG=ON \
+ -DENABLE_LIBAVIF=ON \
+ -DUSE_QT6=ON \
+ -DUSE_WAYLAND=ON \
+ -DGIT_COMMIT="%{shortcommit}"
+# -DENABLE_GLES=ON \ Disabled due to missing support on QT
+# -DUSE_GTK3=ON \ is broken
+
+%cmake_build
+
+# create standard size icons
+convert src/celestia/qt/Celestia.ico hi-apps-celestia.png
+
%install
-GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 %make_install
-
-install -p -m 644 -D src/celestia/kde/data/hi48-app-celestia.png \
- $RPM_BUILD_ROOT%{_datadir}/pixmaps/celestia.png
-rm $RPM_BUILD_ROOT%{_datadir}/celestia/{controls.txt,COPYING}
-ln -s %{_pkgdocdir}/controls.txt $RPM_BUILD_ROOT%{_datadir}/%{name}/
-ln -s %{_pkgdocdir}/COPYING $RPM_BUILD_ROOT%{_datadir}/%{name}/
-#rm -r $RPM_BUILD_ROOT%%{_datadir}/celestia/manual
-
-install -p -m 644 -D models/*.3ds $RPM_BUILD_ROOT%{_datadir}/%{name}/models/
-
-rm $RPM_BUILD_ROOT%{_datadir}/applications/celestia.desktop
-
-desktop-file-install \
- --dir $RPM_BUILD_ROOT%{_datadir}/applications \
- --add-category Application \
- --add-category Education \
- %{SOURCE3}
-
-# Register as an application to be visible in the software center
-#
-# NOTE: It would be *awesome* if this file was maintained by the upstream
-# project, translated and installed into the right place during `make install`.
-#
-# See
http://www.freedesktop.org/software/appstream/docs/ for more details.
-#
-mkdir -p $RPM_BUILD_ROOT%{_datadir}/appdata
-cat > $RPM_BUILD_ROOT%{_datadir}/appdata/%{name}.appdata.xml <<EOF
-<?xml version="1.0" encoding="UTF-8"?>
-<!-- Copyright 2014 Richard Hughes <richard(a)hughsie.com> -->
-<!--
-EmailAddress: claurel(a)gmail.com
-SentUpstream: 2013-09-30
--->
-<application>
- <id type="desktop">celestia.desktop</id>
- <metadata_license>CC0-1.0</metadata_license>
- <description>
- <p>
- Celestia provides photo-realistic, real-time, three-dimensional viewing of
- the Solar System, the galaxy and the universe.
- </p>
- <p>
- It is an easy to use, freely-distributed, multi-platform, open source,
- software package which has become a valuable tool for astronomy education.
- Used in homes, schools, museums and planetariums around the world, it also
- is used as a visualization tool by space mission designers.
- </p>
- </description>
- <url
type="homepage">http://www.shatters.net/celestia/</url>
- <screenshots>
- <screenshot
type="default">https://raw.githubusercontent.com/hughsie/fed...
-
<
screenshot>https://raw.githubusercontent.com/hughsie/fedora-appstream/...
-
<
screenshot>https://raw.githubusercontent.com/hughsie/fedora-appstream/...
- </screenshots>
- <updatecontact>claurel(a)gmail.com</updatecontact>
-</application>
-EOF
+%cmake_install
+
+# fix icon name used in GTK app
+mv %{buildroot}%{_datadir}/pixmaps/celestia{,-logo}.png
+# use standard size and location for desktop icons
+for f in hi-apps-celestia-*.png ; do
+ d=$(identify -format "%wx%h" $f) ;
+ install -D -m0644 $f %{buildroot}%{_datadir}/icons/hicolor/$d/apps/celestia.png ;
+done
%find_lang %{name} --all-name
-%pre
-if [ "$1" -gt 1 ]; then
- GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` \
- gconftool-2 --makefile-uninstall-rule \
- %{_sysconfdir}/gconf/schemas/%{name}.schemas &>/dev/null || :
- killall -HUP gconfd-2 &>/dev/null || :
-fi
-
-%post
-GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` \
- gconftool-2 --makefile-install-rule \
- %{_sysconfdir}/gconf/schemas/%{name}.schemas &>/dev/null || :
-
-%preun
-if [ "$1" -eq "0" ] ; then
- GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` \
- gconftool-2 --makefile-uninstall-rule \
- %{_sysconfdir}/gconf/schemas/%{name}.schemas &>/dev/null || :
- killall -HUP gconfd-2 &>/dev/null || :
-fi
-
-%files -f %{name}.lang
+rm %{buildroot}%{_datadir}/celestia/{controls.txt,COPYING}
+
+# Use system provided fonts
+rm -Rf %{buildroot}%{_datadir}/%{name}/fonts
+pushd %{buildroot}%{_datadir}/%{name}
+ln -s %{_datadir}/fonts/dejavu-sans-fonts fonts
+popd
+
+
+%pretrans common -p <lua>
+path = "%{_datadir}/%{name}/fonts"
+st = posix.stat(path)
+if st and st.type == "directory" then
+ status = os.rename(path, path .. ".rpmmoved")
+ if not status then
+ suffix = 0
+ while not status do
+ suffix = suffix + 1
+ status = os.rename(path .. ".rpmmoved", path .. ".rpmmoved." ..
suffix)
+ end
+ os.rename(path, path .. ".rpmmoved")
+ end
+end
+
+
+%check
+# Menu entry
+desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}-{gtk,qt}.desktop
+
+# Appdata file check
+appstream-util validate-relax --nonet
%{buildroot}%{_datadir}/metainfo/space.%{name}.%{name}_{gtk,qt}.metainfo.xml
+
+
+# No file in the main celestia package
+# it's just a metapackage to provide a clean upgrade path from celestia < 1.7
+# requiring by default celestia-gtk
+
+%files common -f %{name}.lang
%doc AUTHORS ChangeLog README controls.txt coding-standards.html
-%doc devguide.txt
-%license COPYING README-LEGAL.JPL README-LEGAL.ScottHudsonModels
README-LEGAL.ShroxModels
-%{_bindir}/*
-%{_sysconfdir}/gconf/schemas/*
-%{_datadir}/appdata/%{name}.appdata.xml
-%{_datadir}/applications/%{name}.desktop
+%doc CONTRIBUTING.md devguide.txt
+%license COPYING
+%{_libdir}/lib%{name}.so.1.7*
+%{_datadir}/icons/hicolor/*/apps/%{name}.png
+%{_datadir}/pixmaps/%{name}-logo.png
%{_datadir}/%{name}
-%{_datadir}/pixmaps/%{name}.png
+%exclude %{_datadir}/%{name}/help
+%ghost %{_datadir}/%{name}/fonts.rpmmoved
+
+%files qt
+%{_bindir}/%{name}-qt
+%{_mandir}/man1/%{name}-qt.1*
+%{_datadir}/metainfo/space.%{name}.%{name}_qt.metainfo.xml
+%{_datadir}/applications/%{name}-qt.desktop
+
+%files gtk
+%{_bindir}/%{name}-gtk
+%{_mandir}/man1/%{name}-gtk.1*
+%{_datadir}/metainfo/space.%{name}.%{name}_gtk.metainfo.xml
+%{_datadir}/applications/%{name}-gtk.desktop
+
+%files doc
+%{_datadir}/%{name}/help
%changelog
commit 78a1c4148b0636e94a27fadecc23ab4a40696b5f
Author: Mattia Verga <mattia.verga(a)proton.me>
Date: Sun Mar 5 16:34:31 2023 +0100
Convert to %autorelease and %autochangelog
[skip changelog]
diff --git a/celestia.spec b/celestia.spec
index 477bc4a..fafffaa 100644
--- a/celestia.spec
+++ b/celestia.spec
@@ -2,7 +2,7 @@
Name: celestia
Version: 1.6.2
-Release: 0.9.%{betaver}%{?dist}
+Release: %autorelease
Summary: OpenGL real-time visual space simulation
License: GPLv2+ and CC-BY
# Previously, JPL images, Scott Hudson's asteroid models, and Shrox's Mars rover
models were removed.
@@ -177,280 +177,4 @@ fi
%changelog
-* Wed Jan 18 2023 Fedora Release Engineering <releng(a)fedoraproject.org> -
1.6.2-0.9.beta3
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
-
-* Wed Jul 20 2022 Fedora Release Engineering <releng(a)fedoraproject.org> -
1.6.2-0.8.beta3
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
-
-* Wed Jan 19 2022 Fedora Release Engineering <releng(a)fedoraproject.org> -
1.6.2-0.7.beta3
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
-
-* Wed Jul 21 2021 Fedora Release Engineering <releng(a)fedoraproject.org> -
1.6.2-0.6.beta3
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
-
-* Tue Jan 26 2021 Fedora Release Engineering <releng(a)fedoraproject.org> -
1.6.2-0.5.beta3
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
-
-* Fri Aug 21 2020 Tom Callaway <spot(a)fedoraproject.org> - 1.6.2-0.4.beta3
-- Shrox's models are now CC-BY, switch to upstream tarball!
-
-* Thu Aug 20 2020 Tom Callaway <spot(a)fedoraproject.org> - 1.6.2-0.3.beta3
-- Successfully relicensed Scott Hudson's asteroid models to a FOSS & GPLv2+
compatible license
-- generated new clean tarball
-
-* Mon Jul 27 2020 Fedora Release Engineering <releng(a)fedoraproject.org> -
1.6.2-0.2.beta3
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
-
-* Mon Jul 13 2020 Tom Callaway <spot(a)fedoraproject.org> - 1.6.2-0.1.beta3
-- update to 1.6.2-beta3
-- fixes for lua 5.4
-
-* Tue Jan 28 2020 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.6.1-33
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
-
-* Fri Aug 23 2019 Mamoru TASAKA <mtasaka(a)fedoraproject.org> - 1.6.1-32
-- Fix FTBFS, fix linkage order
-
-* Wed Jul 24 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.6.1-31
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
-
-* Thu Jan 31 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.6.1-30
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
-
-* Tue Jul 31 2018 Florian Weimer <fweimer(a)redhat.com> - 1.6.1-29
-- Rebuild with fixed binutils
-
-* Thu Jul 12 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.6.1-28
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
-
-* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.6.1-27
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
-
-* Wed Aug 02 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.6.1-26
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
-
-* Wed Jul 26 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.6.1-25
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
-
-* Mon May 15 2017 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
1.6.1-24
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_26_27_Mass_Rebuild
-
-* Fri Feb 10 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.6.1-23
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
-
-* Wed Feb 03 2016 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.6.1-22
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
-
-* Wed Jun 17 2015 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
1.6.1-21
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
-
-* Sat May 02 2015 Kalev Lember <kalevlember(a)gmail.com> - 1.6.1-20
-- Rebuilt for GCC 5 C++11 ABI change
-
-* Thu Mar 26 2015 Richard Hughes <rhughes(a)redhat.com> - 1.6.1-19
-- Add an AppData file for the software center
-
-* Sun Nov 16 2014 Matias Kreder <mkreder(a)gmail.com> - 1.6.1-18
-- Repackaged source with .tar.xz
-
-* Fri Aug 15 2014 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
1.6.1-17
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
-
-* Thu Jul 03 2014 Richard Hughes <richard(a)hughsie.com> - 1.6.1-16
-- Fix startup, thanks to a patch from Chris Rankin
-- Resolves: #1045632
-
-* Sat Jun 07 2014 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
1.6.1-15
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
-
-* Thu Aug 22 2013 Ralf Corsépius <corsepiu(a)fedoraproject.org> - 1.6.1-14
-- FTBS, RHBZ#992048:
- - celestia-1.6.1-lua-5.2.patch: Add autoconf-2.67 generated snippets.
- Avoid running autotools (package config is incompatible to modern autotools).
- - Add celestia-1.6.1-gcc4.8.patch: Tweaks for building with gcc-4.8.x.
-- Address docdir changes (RHBZ#993693).
-- Fix permissons on source files.
-
-* Sat Aug 03 2013 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
1.6.1-13
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
-
-* Tue May 14 2013 Tom Callaway <spot(a)fedoraproject.org> - 1.6.1-12
-- rebuild for lua 5.2
-
-* Thu Feb 14 2013 Rahul Sundaram <sundaram(a)fedoraproject.org> - 1.6.1-11
-- remove vendor tag from desktop file.
https://fedorahosted.org/fpc/ticket/247
-- clean up spec to follow current guidelines
-- fix desktop file to follow specification
-
-* Wed Feb 13 2013 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
1.6.1-10
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
-
-* Fri Jan 18 2013 Adam Tkac <atkac redhat com> - 1.6.1-9
-- rebuild due to "jpeg8-ABI" feature drop
-
-* Mon Jan 14 2013 Tom Callaway <spot(a)fedoraproject.org> - 1.6.1-8
-- remove non-free (or unlicensed) files (bz 888210)
-
-* Fri Dec 21 2012 Adam Tkac <atkac redhat com> - 1.6.1-7
-- rebuild against new libjpeg
-
-* Wed Jul 18 2012 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
1.6.1-6
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
-
-* Thu Mar 22 2012 Tom Callaway <spot(a)fedoraproject.org> - 1.6.1-5
-- fix compile issues (gcc 4.7, zlib)
-
-* Tue Feb 28 2012 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
1.6.1-4
-- Rebuilt for c++ ABI breakage
-
-* Thu Jan 12 2012 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
1.6.1-3
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
-
-* Tue Dec 06 2011 Adam Jackson <ajax(a)redhat.com> - 1.6.1-2
-- Rebuild for new libpng
-
-* Mon Nov 14 2011 Peter Robinson <pbrobinson(a)fedoraproject.org> - 1.6.1-1
-- Update to 1.6.1
-
-* Wed Feb 09 2011 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
1.6.0-3
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
-
-* Wed Dec 15 2010 Hans de Goede <hdegoede(a)redhat.com> - 1.6.0-2
-- Fix the license button in the about dialog not working
-
-* Wed Dec 8 2010 Hans de Goede <hdegoede(a)redhat.com> - 1.6.0-1
-- New upstream release 1.6.0 (#655565)
-- Fix building with gcc-4.5 (#631077)
-
-* Fri Jul 24 2009 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
1.5.1-2
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
-
-* Sun Apr 12 2009 Lubomir Rintel <lkundrak(a)v3.sk> - 1.5.1-1
-- New upstream release
-
-* Sun Mar 1 2009 Lubomir Rintel <lkundrak(a)v3.sk> - 1.5.0-3
-- Fix build with GCC 4.4
-
-* Mon Feb 23 2009 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
1.5.0-2
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
-
-* Sat Mar 1 2008 Marek Mahut <mmahut(a)fedoraproject.org> - 1.5.0-1
-- Upstream release 1.5.0 and dropping unnecessary patches
-- celestia-1.5.0-gcc43.patch (#434441)
-- Moving to education category (#220793)
-
-* Tue Feb 19 2008 Fedora Release Engineering <rel-eng(a)fedoraproject.org> - 1.4.1-8
-- Autorebuild for GCC 4.3
-
-* Wed Nov 22 2006 Steven Pritchard <steve(a)kspei.com> 1.4.1-7
-- Really fix the cmod models problem (#203525). (Thanks to Hans de Goede.)
-- Hopefully really handle the gconf schema properly.
-
-* Mon Aug 28 2006 Steven Pritchard <steve(a)kspei.com> 1.4.1-6
-- Add --disable-schemas-install to configure.
-
-* Tue Aug 22 2006 Steven Pritchard <steve(a)kspei.com> 1.4.1-5
-- Turn on -fno-strict-aliasing to work around bug #203525.
-
-* Mon Jul 31 2006 Steven Pritchard <steve(a)kspei.com> 1.4.1-4
-- We modified configure.in, so now we need automake17 and gettext-devel.
-
-* Mon Jul 31 2006 Nick Urbanik <nicku(a)nicku.org> 1.4.1-3
-- Test errorMessage to see if it is null before copying it!
- This change suggested by Hank Ramsey and added to
- celestia-1.4.1-lua51-resume.patch
-- Added developers documentation
-- Incorporate patch suggested by Hank Ramsey to eliminate segfault
- when loading .celx files: celestia-1.4.1-lua51-resume.patch
-- Update to add lua
-- Incorporate
-
http://www.archlinux.org/pipermail/tur-users/attachments/20060603/7dea8cd...
-
-* Fri May 19 2006 Steven Pritchard <steve(a)kspei.com> 1.4.1-2
-- Include accidentally dropped 3ds models.
-
-* Tue Mar 28 2006 Steven Pritchard <steve(a)kspei.com> 1.4.1-1
-- Update to 1.4.1
-- Use "pkg-config --libs gtkglext-x11-1.0 libgnomeui-2.0" instead of
- "pkg-config --libs gtk+-2.0"
-
-* Fri Feb 10 2006 Steven Pritchard <steve(a)kspei.com> 1.4.0.20060210cvs-1
-- Update to today's CVS snapshot
-
-* Fri Feb 10 2006 Steven Pritchard <steve(a)kspei.com> 1.4.0-3
-- Add celestia-1.4.0-compile.patch to fix a bug when compiling with g++ 4.1
-
-* Thu Jan 05 2006 Steven Pritchard <steve(a)kspei.com> 1.4.0-2
-- Add BR: libGLU-devel, libXt-devel, libXmu-devel
-- Add -lpangox-1.0 to GTK_LIBS
-
-* Mon Dec 26 2005 Steven Pritchard <steve(a)kspei.com> 1.4.0-1
-- Update to 1.4.0
-- Remove celestia-1.3.2-compile.patch (seems to be applied upstream)
-- Use find_lang magic
-- Remove duplicate desktop file
-- Fix Help -> Controls
-
-* Sat Dec 03 2005 Steven Pritchard <steve(a)kspei.com> 1.3.2-5
-- BR libGL-devel instead of xorg-x11-Mesa-libGL
-
-* Sun May 22 2005 Jeremy Katz <katzj(a)redhat.com> - 1.3.2-4
-- rebuild on all arches
-
-* Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
-- rebuilt
-
-* Wed Nov 10 2004 Matthias Saou <
http://freshrpms.net/> 1.3.2-2
-- Bump release to provide Extras upgrade path.
-
-* Wed Nov 10 2004 Marius L. Jøhndal <mariuslj at ifi.uio.no> - 0:1.3.2-0.fdr.2
-- Fixed FC3 compilation.
-
-* Sat Aug 28 2004 Marius L. Jøhndal <mariuslj at ifi.uio.no> - 0:1.3.2-0.fdr.1
-- Updated to 1.3.2.
-- Switched to using GNOME frontend.
-- Updated desktop file.
-- Minor editing of description text.
-- Converted spec file to UTF-8.
-
-* Thu Nov 27 2003 Marius L. Jøhndal <mariuslj at ifi.uio.no> - 0:1.3.0-0.fdr.4
-- Added build req gtkglarea (bug 740).
-
-* Thu Nov 27 2003 Marius L. Jøhndal <mariuslj at ifi.uio.no> - 0:1.3.0-0.fdr.3
-- Added Encoding=UTF-8 to desktop file (bug 740).
-- Added work-around for linking problems on FC1 (bug 740).
-- Updated {minor,numbered}moons.asc (bug 740).
-
-* Wed Oct 8 2003 Marius L. Jøhndal <mariuslj at ifi.uio.no> - 0:1.3.0-0.fdr.2
-- Replaced source tarball with proper release tarball.
-- Added BuildRequires gnome-libs-devel for gnomeConf.sh.
-- Build with freeglut instead of glut.
-
-* Wed Sep 17 2003 Marius L. Jøhndal <mariuslj at ifi.uio.no> - 0:1.3.0-0.fdr.1
-- Initial Fedora RPM release.
-
-* Thu Apr 17 2003 Matthias Saou <matthias.saou(a)est.une.marmotte.net>
-- Update to 1.3.0.
-- Added numberedmoons.ssc addon.
-
-* Mon Mar 31 2003 Matthias Saou <matthias.saou(a)est.une.marmotte.net>
-- Rebuilt for Red Hat Linux 9.
-
-* Tue Jan 14 2003 Matthias Saou <matthias.saou(a)est.une.marmotte.net>
-- Update to 1.2.5.
-- Included "Minor Moons of the Giant Planets" extra file.
-- New icon from the KDE part of the source.
-
-* Sat Sep 28 2002 Matthias Saou <matthias.saou(a)est.une.marmotte.net>
-- Rebuilt for Red Hat Linux 8.0.
-- New style menu entry.
-
-* Wed Jul 3 2002 Matthias Saou <matthias.saou(a)est.une.marmotte.net>
-- Rebuilt to remove the NVidia dependency (oops!).
-
-* Wed May 15 2002 Matthias Saou <matthias.saou(a)est.une.marmotte.net>
-- Sorry, I'm a maniac ;-)
-
-* Tue May 14 2002 Julien MOUTTE <julien(a)moutte.net>
-- Initial RPM release.
+%autochangelog
diff --git a/changelog b/changelog
new file mode 100644
index 0000000..41029a1
--- /dev/null
+++ b/changelog
@@ -0,0 +1,277 @@
+* Wed Jan 18 2023 Fedora Release Engineering <releng(a)fedoraproject.org> -
1.6.2-0.9.beta3
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
+
+* Wed Jul 20 2022 Fedora Release Engineering <releng(a)fedoraproject.org> -
1.6.2-0.8.beta3
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
+
+* Wed Jan 19 2022 Fedora Release Engineering <releng(a)fedoraproject.org> -
1.6.2-0.7.beta3
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
+
+* Wed Jul 21 2021 Fedora Release Engineering <releng(a)fedoraproject.org> -
1.6.2-0.6.beta3
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
+
+* Tue Jan 26 2021 Fedora Release Engineering <releng(a)fedoraproject.org> -
1.6.2-0.5.beta3
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
+
+* Fri Aug 21 2020 Tom Callaway <spot(a)fedoraproject.org> - 1.6.2-0.4.beta3
+- Shrox's models are now CC-BY, switch to upstream tarball!
+
+* Thu Aug 20 2020 Tom Callaway <spot(a)fedoraproject.org> - 1.6.2-0.3.beta3
+- Successfully relicensed Scott Hudson's asteroid models to a FOSS & GPLv2+
compatible license
+- generated new clean tarball
+
+* Mon Jul 27 2020 Fedora Release Engineering <releng(a)fedoraproject.org> -
1.6.2-0.2.beta3
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
+
+* Mon Jul 13 2020 Tom Callaway <spot(a)fedoraproject.org> - 1.6.2-0.1.beta3
+- update to 1.6.2-beta3
+- fixes for lua 5.4
+
+* Tue Jan 28 2020 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.6.1-33
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
+
+* Fri Aug 23 2019 Mamoru TASAKA <mtasaka(a)fedoraproject.org> - 1.6.1-32
+- Fix FTBFS, fix linkage order
+
+* Wed Jul 24 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.6.1-31
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
+
+* Thu Jan 31 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.6.1-30
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
+
+* Tue Jul 31 2018 Florian Weimer <fweimer(a)redhat.com> - 1.6.1-29
+- Rebuild with fixed binutils
+
+* Thu Jul 12 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.6.1-28
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
+
+* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.6.1-27
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
+
+* Wed Aug 02 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.6.1-26
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
+
+* Wed Jul 26 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.6.1-25
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
+
+* Mon May 15 2017 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
1.6.1-24
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_26_27_Mass_Rebuild
+
+* Fri Feb 10 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.6.1-23
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
+
+* Wed Feb 03 2016 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.6.1-22
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
+
+* Wed Jun 17 2015 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
1.6.1-21
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
+
+* Sat May 02 2015 Kalev Lember <kalevlember(a)gmail.com> - 1.6.1-20
+- Rebuilt for GCC 5 C++11 ABI change
+
+* Thu Mar 26 2015 Richard Hughes <rhughes(a)redhat.com> - 1.6.1-19
+- Add an AppData file for the software center
+
+* Sun Nov 16 2014 Matias Kreder <mkreder(a)gmail.com> - 1.6.1-18
+- Repackaged source with .tar.xz
+
+* Fri Aug 15 2014 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
1.6.1-17
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
+
+* Thu Jul 03 2014 Richard Hughes <richard(a)hughsie.com> - 1.6.1-16
+- Fix startup, thanks to a patch from Chris Rankin
+- Resolves: #1045632
+
+* Sat Jun 07 2014 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
1.6.1-15
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
+
+* Thu Aug 22 2013 Ralf Corsépius <corsepiu(a)fedoraproject.org> - 1.6.1-14
+- FTBS, RHBZ#992048:
+ - celestia-1.6.1-lua-5.2.patch: Add autoconf-2.67 generated snippets.
+ Avoid running autotools (package config is incompatible to modern autotools).
+ - Add celestia-1.6.1-gcc4.8.patch: Tweaks for building with gcc-4.8.x.
+- Address docdir changes (RHBZ#993693).
+- Fix permissons on source files.
+
+* Sat Aug 03 2013 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
1.6.1-13
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
+
+* Tue May 14 2013 Tom Callaway <spot(a)fedoraproject.org> - 1.6.1-12
+- rebuild for lua 5.2
+
+* Thu Feb 14 2013 Rahul Sundaram <sundaram(a)fedoraproject.org> - 1.6.1-11
+- remove vendor tag from desktop file.
https://fedorahosted.org/fpc/ticket/247
+- clean up spec to follow current guidelines
+- fix desktop file to follow specification
+
+* Wed Feb 13 2013 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
1.6.1-10
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
+
+* Fri Jan 18 2013 Adam Tkac <atkac redhat com> - 1.6.1-9
+- rebuild due to "jpeg8-ABI" feature drop
+
+* Mon Jan 14 2013 Tom Callaway <spot(a)fedoraproject.org> - 1.6.1-8
+- remove non-free (or unlicensed) files (bz 888210)
+
+* Fri Dec 21 2012 Adam Tkac <atkac redhat com> - 1.6.1-7
+- rebuild against new libjpeg
+
+* Wed Jul 18 2012 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
1.6.1-6
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
+
+* Thu Mar 22 2012 Tom Callaway <spot(a)fedoraproject.org> - 1.6.1-5
+- fix compile issues (gcc 4.7, zlib)
+
+* Tue Feb 28 2012 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
1.6.1-4
+- Rebuilt for c++ ABI breakage
+
+* Thu Jan 12 2012 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
1.6.1-3
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
+
+* Tue Dec 06 2011 Adam Jackson <ajax(a)redhat.com> - 1.6.1-2
+- Rebuild for new libpng
+
+* Mon Nov 14 2011 Peter Robinson <pbrobinson(a)fedoraproject.org> - 1.6.1-1
+- Update to 1.6.1
+
+* Wed Feb 09 2011 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
1.6.0-3
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
+
+* Wed Dec 15 2010 Hans de Goede <hdegoede(a)redhat.com> - 1.6.0-2
+- Fix the license button in the about dialog not working
+
+* Wed Dec 8 2010 Hans de Goede <hdegoede(a)redhat.com> - 1.6.0-1
+- New upstream release 1.6.0 (#655565)
+- Fix building with gcc-4.5 (#631077)
+
+* Fri Jul 24 2009 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
1.5.1-2
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
+
+* Sun Apr 12 2009 Lubomir Rintel <lkundrak(a)v3.sk> - 1.5.1-1
+- New upstream release
+
+* Sun Mar 1 2009 Lubomir Rintel <lkundrak(a)v3.sk> - 1.5.0-3
+- Fix build with GCC 4.4
+
+* Mon Feb 23 2009 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
1.5.0-2
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
+
+* Sat Mar 1 2008 Marek Mahut <mmahut(a)fedoraproject.org> - 1.5.0-1
+- Upstream release 1.5.0 and dropping unnecessary patches
+- celestia-1.5.0-gcc43.patch (#434441)
+- Moving to education category (#220793)
+
+* Tue Feb 19 2008 Fedora Release Engineering <rel-eng(a)fedoraproject.org> - 1.4.1-8
+- Autorebuild for GCC 4.3
+
+* Wed Nov 22 2006 Steven Pritchard <steve(a)kspei.com> 1.4.1-7
+- Really fix the cmod models problem (#203525). (Thanks to Hans de Goede.)
+- Hopefully really handle the gconf schema properly.
+
+* Mon Aug 28 2006 Steven Pritchard <steve(a)kspei.com> 1.4.1-6
+- Add --disable-schemas-install to configure.
+
+* Tue Aug 22 2006 Steven Pritchard <steve(a)kspei.com> 1.4.1-5
+- Turn on -fno-strict-aliasing to work around bug #203525.
+
+* Mon Jul 31 2006 Steven Pritchard <steve(a)kspei.com> 1.4.1-4
+- We modified configure.in, so now we need automake17 and gettext-devel.
+
+* Mon Jul 31 2006 Nick Urbanik <nicku(a)nicku.org> 1.4.1-3
+- Test errorMessage to see if it is null before copying it!
+ This change suggested by Hank Ramsey and added to
+ celestia-1.4.1-lua51-resume.patch
+- Added developers documentation
+- Incorporate patch suggested by Hank Ramsey to eliminate segfault
+ when loading .celx files: celestia-1.4.1-lua51-resume.patch
+- Update to add lua
+- Incorporate
+
http://www.archlinux.org/pipermail/tur-users/attachments/20060603/7dea8cd...
+
+* Fri May 19 2006 Steven Pritchard <steve(a)kspei.com> 1.4.1-2
+- Include accidentally dropped 3ds models.
+
+* Tue Mar 28 2006 Steven Pritchard <steve(a)kspei.com> 1.4.1-1
+- Update to 1.4.1
+- Use "pkg-config --libs gtkglext-x11-1.0 libgnomeui-2.0" instead of
+ "pkg-config --libs gtk+-2.0"
+
+* Fri Feb 10 2006 Steven Pritchard <steve(a)kspei.com> 1.4.0.20060210cvs-1
+- Update to today's CVS snapshot
+
+* Fri Feb 10 2006 Steven Pritchard <steve(a)kspei.com> 1.4.0-3
+- Add celestia-1.4.0-compile.patch to fix a bug when compiling with g++ 4.1
+
+* Thu Jan 05 2006 Steven Pritchard <steve(a)kspei.com> 1.4.0-2
+- Add BR: libGLU-devel, libXt-devel, libXmu-devel
+- Add -lpangox-1.0 to GTK_LIBS
+
+* Mon Dec 26 2005 Steven Pritchard <steve(a)kspei.com> 1.4.0-1
+- Update to 1.4.0
+- Remove celestia-1.3.2-compile.patch (seems to be applied upstream)
+- Use find_lang magic
+- Remove duplicate desktop file
+- Fix Help -> Controls
+
+* Sat Dec 03 2005 Steven Pritchard <steve(a)kspei.com> 1.3.2-5
+- BR libGL-devel instead of xorg-x11-Mesa-libGL
+
+* Sun May 22 2005 Jeremy Katz <katzj(a)redhat.com> - 1.3.2-4
+- rebuild on all arches
+
+* Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
+- rebuilt
+
+* Wed Nov 10 2004 Matthias Saou <
http://freshrpms.net/> 1.3.2-2
+- Bump release to provide Extras upgrade path.
+
+* Wed Nov 10 2004 Marius L. Jøhndal <mariuslj at ifi.uio.no> - 0:1.3.2-0.fdr.2
+- Fixed FC3 compilation.
+
+* Sat Aug 28 2004 Marius L. Jøhndal <mariuslj at ifi.uio.no> - 0:1.3.2-0.fdr.1
+- Updated to 1.3.2.
+- Switched to using GNOME frontend.
+- Updated desktop file.
+- Minor editing of description text.
+- Converted spec file to UTF-8.
+
+* Thu Nov 27 2003 Marius L. Jøhndal <mariuslj at ifi.uio.no> - 0:1.3.0-0.fdr.4
+- Added build req gtkglarea (bug 740).
+
+* Thu Nov 27 2003 Marius L. Jøhndal <mariuslj at ifi.uio.no> - 0:1.3.0-0.fdr.3
+- Added Encoding=UTF-8 to desktop file (bug 740).
+- Added work-around for linking problems on FC1 (bug 740).
+- Updated {minor,numbered}moons.asc (bug 740).
+
+* Wed Oct 8 2003 Marius L. Jøhndal <mariuslj at ifi.uio.no> - 0:1.3.0-0.fdr.2
+- Replaced source tarball with proper release tarball.
+- Added BuildRequires gnome-libs-devel for gnomeConf.sh.
+- Build with freeglut instead of glut.
+
+* Wed Sep 17 2003 Marius L. Jøhndal <mariuslj at ifi.uio.no> - 0:1.3.0-0.fdr.1
+- Initial Fedora RPM release.
+
+* Thu Apr 17 2003 Matthias Saou <matthias.saou(a)est.une.marmotte.net>
+- Update to 1.3.0.
+- Added numberedmoons.ssc addon.
+
+* Mon Mar 31 2003 Matthias Saou <matthias.saou(a)est.une.marmotte.net>
+- Rebuilt for Red Hat Linux 9.
+
+* Tue Jan 14 2003 Matthias Saou <matthias.saou(a)est.une.marmotte.net>
+- Update to 1.2.5.
+- Included "Minor Moons of the Giant Planets" extra file.
+- New icon from the KDE part of the source.
+
+* Sat Sep 28 2002 Matthias Saou <matthias.saou(a)est.une.marmotte.net>
+- Rebuilt for Red Hat Linux 8.0.
+- New style menu entry.
+
+* Wed Jul 3 2002 Matthias Saou <matthias.saou(a)est.une.marmotte.net>
+- Rebuilt to remove the NVidia dependency (oops!).
+
+* Wed May 15 2002 Matthias Saou <matthias.saou(a)est.une.marmotte.net>
+- Sorry, I'm a maniac ;-)
+
+* Tue May 14 2002 Julien MOUTTE <julien(a)moutte.net>
+- Initial RPM release.
commit 7ace467882a1ed3d502b9ef9e41fe40243db4d55
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Wed Jan 18 23:40:34 2023 +0000
Rebuilt for
https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org>
diff --git a/celestia.spec b/celestia.spec
index 5225d92..477bc4a 100644
--- a/celestia.spec
+++ b/celestia.spec
@@ -2,7 +2,7 @@
Name: celestia
Version: 1.6.2
-Release: 0.8.%{betaver}%{?dist}
+Release: 0.9.%{betaver}%{?dist}
Summary: OpenGL real-time visual space simulation
License: GPLv2+ and CC-BY
# Previously, JPL images, Scott Hudson's asteroid models, and Shrox's Mars rover
models were removed.
@@ -177,6 +177,9 @@ fi
%changelog
+* Wed Jan 18 2023 Fedora Release Engineering <releng(a)fedoraproject.org> -
1.6.2-0.9.beta3
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
+
* Wed Jul 20 2022 Fedora Release Engineering <releng(a)fedoraproject.org> -
1.6.2-0.8.beta3
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild