Use system luajit or liblua
authorJean Baptiste Favre <debian@jbfavre.org>
Fri, 25 Nov 2016 16:49:34 +0000 (17:49 +0100)
committerJean Baptiste Favre <debian@jbfavre.org>
Mon, 6 Aug 2018 08:56:14 +0000 (09:56 +0100)
Gbp-Pq: Name 0004-force-use-luajit-system.patch

Makefile.in
build/luajit.m4 [new file with mode: 0644]
configure
configure.ac
doc/Makefile.in
example/Makefile.in
rc/Makefile.in
tools/Makefile.in

index 7d055e9d105fa649381f821f78c8e5428a253bd6..8d8c8befb6efa42f70f78851da99ae3e0800f5af 100644 (file)
@@ -338,9 +338,9 @@ LIPO = @LIPO@
 LN_S = @LN_S@
 LTLIBOBJS = @LTLIBOBJS@
 LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
-LUAJIT_CFLAGS = @LUAJIT_CFLAGS@
-LUAJIT_CPPFLAGS = @LUAJIT_CPPFLAGS@
-LUAJIT_LDFLAGS = @LUAJIT_LDFLAGS@
+LUA_CFLAGS = @LUA_CFLAGS@
+LUA_CPPFLAGS = @LUA_CPPFLAGS@
+LUA_LDFLAGS = @LUA_LDFLAGS@
 MAINT = @MAINT@
 MAKEINFO = @MAKEINFO@
 MANIFEST_TOOL = @MANIFEST_TOOL@
diff --git a/build/luajit.m4 b/build/luajit.m4
new file mode 100644 (file)
index 0000000..5c13ac2
--- /dev/null
@@ -0,0 +1,48 @@
+dnl -------------------------------------------------------- -*- autoconf -*-
+dnl Licensed to the Apache Software Foundation (ASF) under one or more
+dnl contributor license agreements.  See the NOTICE file distributed with
+dnl this work for additional information regarding copyright ownership.
+dnl The ASF licenses this file to You under the Apache License, Version 2.0
+dnl (the "License"); you may not use this file except in compliance with
+dnl the License.  You may obtain a copy of the License at
+dnl
+dnl     http://www.apache.org/licenses/LICENSE-2.0
+dnl
+dnl Unless required by applicable law or agreed to in writing, software
+dnl distributed under the License is distributed on an "AS IS" BASIS,
+dnl WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+dnl See the License for the specific language governing permissions and
+dnl limitations under the License.
+
+dnl
+dnl luajit.m4 Trafficserver's LuaJIT autoconf macros
+dnl
+
+dnl
+dnl TS_CHECK_LUA: look for LuaJIT libraries and headers. Fallback on Lua if LuaJIt not found
+dnl
+AC_DEFUN([TS_CHECK_LUA], [
+  PKG_CHECK_MODULES([LUAJIT], [luajit], [have_luajit=yes], [have_luajit=no])
+  PKG_CHECK_MODULES([LUALIB], [lua5.2], [have_lua=yes], [have_lua=no])
+  AS_IF(
+    [ test "x${have_luajit}" = "xyes" ],
+    [
+      AC_SUBST([LUA_LIBS],[$LUAJIT_LIBS])
+      AC_SUBST([LUA_CFLAGS],[$LUAJIT_CFLAGS])
+      AC_SUBST([LUA_CPPFLAGS],[$LUAJIT_CFLAGS])
+      AC_SUBST([LUA_LDFLAGS],[$LUAJIT_LDFLAGS])
+    ],
+    [
+      AS_IF(
+        [ test "x${have_lua}" = "xyes" ],
+        [
+          AC_SUBST([LUA_LIBS],[$LUALIB_LIBS])
+          AC_SUBST([LUA_CFLAGS],[$LUALIB_CFLAGS])
+          AC_SUBST([LUA_CPPFLAGS],[$LUALIB_CFLAGS])
+          AC_SUBST([LUA_LDFLAGS],[$LUALIB_LDFLAGS])
+        ],
+        [ AC_MSG_ERROR([Neither LuaJIT nor Lua package available]) ]
+      )
+    ]
+  )
+])
index 57ccfefdbf0d03c4f55ed2e7f38ff1fefefd9c7c..72a75e15b1fec3ce6a5d08a76bb953fa1b7892cf 100755 (executable)
--- a/configure
+++ b/configure
@@ -646,7 +646,7 @@ AM_LDFLAGS
 AM_CXXFLAGS
 AM_CFLAGS
 AM_CPPFLAGS
-LUAJIT_CFLAGS
+LUA_CFLAGS
 BUILD_REMAP_STATS_PLUGIN_FALSE
 BUILD_REMAP_STATS_PLUGIN_TRUE
 has_in6_is_addr_unspecified
@@ -709,8 +709,8 @@ BUILD_TRAFFIC_TOP_FALSE
 BUILD_TRAFFIC_TOP_TRUE
 BUILD_HTTP_LOAD_FALSE
 BUILD_HTTP_LOAD_TRUE
-LUAJIT_CPPFLAGS
-LUAJIT_LDFLAGS
+LUA_CPPFLAGS
+LUA_LDFLAGS
 LIBREADLINE
 has_tcmalloc
 jemalloch
@@ -8192,22 +8192,22 @@ case $host_os in
   fi
 
 
-  if test "x$LUAJIT_LDFLAGS" = "x"; then
-    test "x$verbose" = "xyes" && echo "  setting LUAJIT_LDFLAGS to \"-m64\""
-    LUAJIT_LDFLAGS="-m64"
+  if test "x$LUA_LDFLAGS" = "x"; then
+    test "x$verbose" = "xyes" && echo "  setting LUA_LDFLAGS to \"-m64\""
+    LUA_LDFLAGS="-m64"
   else
     ats_addto_bugger="-m64"
     for i in $ats_addto_bugger; do
       ats_addto_duplicate="0"
-      for j in $LUAJIT_LDFLAGS; do
+      for j in $LUA_LDFLAGS; do
         if test "x$i" = "x$j"; then
           ats_addto_duplicate="1"
           break
         fi
       done
       if test $ats_addto_duplicate = "0"; then
-        test "x$verbose" = "xyes" && echo "  adding \"$i\" to LUAJIT_LDFLAGS"
-        LUAJIT_LDFLAGS="$LUAJIT_LDFLAGS $i"
+        test "x$verbose" = "xyes" && echo "  adding \"$i\" to LUA_LDFLAGS"
+        LUA_LDFLAGS="$LUA_LDFLAGS $i"
       fi
     done
   fi
@@ -20744,7 +20744,6 @@ fi
       debug_opt="-ggdb3 $common_opt -Qunused-arguments"
       release_opt="-g $common_opt $optimizing_flags -fno-strict-aliasing -Qunused-arguments"
       cxx_opt="-Wno-invalid-offsetof"
-      luajit_cflags="-Wno-parentheses-equality -Wno-tautological-compare -analyzer-disable-all-checks -Wno-varargs"
 
 fi
 
@@ -20770,7 +20769,6 @@ fi
       debug_opt="-g $common_opt"
       release_opt="-g $common_opt $optimizing_flags -fno-strict-aliasing"
       cxx_opt="-Wno-invalid-offsetof"
-      luajit_cflags="-Wno-parentheses-equality -Wno-tautological-compare -Wno-varargs"
 
 else
 
@@ -20840,7 +20838,6 @@ fi
       debug_opt="-ggdb3 $common_opt"
       release_opt="-g $common_opt $optimizing_flags -fno-strict-aliasing"
       cxx_opt="-Wno-invalid-offsetof"
-      luajit_cflags="-Wno-parentheses-equality -Wno-tautological-compare -Wno-varargs"
 
 fi
 
@@ -27408,19 +27405,6 @@ done
   fi
 
 
-# On Darwin LuaJIT requires magic link options, otherwise it will crash in luaL_openlibs() at startup. See
-# http://luajit.org/install.html.
-case $host_os_def in
-  darwin)
-    LUAJIT_LDFLAGS="-Wl,-pagezero_size,10000 -Wl,-image_base,100000000"
-    ;;
-esac
-
-# Flags for building and linking against our internal copy of LuaJIT.
-
-LUAJIT_CPPFLAGS='-I$(abs_top_srcdir)/lib/luajit/src'
-
-
 # We should be able to build http_load if epoll(2) is available.
  if test x"$ac_cv_func_epoll_ctl" = x"yes"; then
   BUILD_HTTP_LOAD_TRUE=
@@ -28585,22 +28569,22 @@ iocore_include_dirs="\
 # can strip the coverage flags from Lua while keeping them by
 # default everywhere else.
 
-  if test "x$LUAJIT_CFLAGS" = "x"; then
-    test "x$verbose" = "xyes" && echo "  setting LUAJIT_CFLAGS to \"$CFLAGS $luajit_cflags\""
-    LUAJIT_CFLAGS="$CFLAGS $luajit_cflags"
+  if test "x$LUA_CFLAGS" = "x"; then
+    test "x$verbose" = "xyes" && echo "  setting LUA_CFLAGS to \"$CFLAGS $luajit_cflags\""
+    LUA_CFLAGS="$CFLAGS $luajit_cflags"
   else
     ats_addto_bugger="$CFLAGS $luajit_cflags"
     for i in $ats_addto_bugger; do
       ats_addto_duplicate="0"
-      for j in $LUAJIT_CFLAGS; do
+      for j in $LUA_CFLAGS; do
         if test "x$i" = "x$j"; then
           ats_addto_duplicate="1"
           break
         fi
       done
       if test $ats_addto_duplicate = "0"; then
-        test "x$verbose" = "xyes" && echo "  adding \"$i\" to LUAJIT_CFLAGS"
-        LUAJIT_CFLAGS="$LUAJIT_CFLAGS $i"
+        test "x$verbose" = "xyes" && echo "  adding \"$i\" to LUA_CFLAGS"
+        LUA_CFLAGS="$LUA_CFLAGS $i"
       fi
     done
   fi
@@ -28608,13 +28592,13 @@ iocore_include_dirs="\
 
 
 
-  if test "x$LUAJIT_CFLAGS" = "x"-fsanitize=address""; then
-    test "x$verbose" = "xyes" && echo "  nulling LUAJIT_CFLAGS"
-    LUAJIT_CFLAGS=""
+  if test "x$LUA_CFLAGS" = "x"-fsanitize=address""; then
+    test "x$verbose" = "xyes" && echo "  nulling LUA_CFLAGS"
+    LUA_CFLAGS=""
   else
     ats_new_bugger=""
     ats_removed=0
-    for i in $LUAJIT_CFLAGS; do
+    for i in $LUA_CFLAGS; do
       if test "x$i" != "x"-fsanitize=address""; then
         ats_new_bugger="$ats_new_bugger $i"
       else
@@ -28622,19 +28606,19 @@ iocore_include_dirs="\
       fi
     done
     if test $ats_removed = "1"; then
-      test "x$verbose" = "xyes" && echo "  removed \""-fsanitize=address"\" from LUAJIT_CFLAGS"
-      LUAJIT_CFLAGS=$ats_new_bugger
+      test "x$verbose" = "xyes" && echo "  removed \""-fsanitize=address"\" from LUA_CFLAGS"
+      LUA_CFLAGS=$ats_new_bugger
     fi
   fi
 
 
-  if test "x$LUAJIT_CFLAGS" = "x"-fsanitize=thread""; then
-    test "x$verbose" = "xyes" && echo "  nulling LUAJIT_CFLAGS"
-    LUAJIT_CFLAGS=""
+  if test "x$LUA_CFLAGS" = "x"-fsanitize=thread""; then
+    test "x$verbose" = "xyes" && echo "  nulling LUA_CFLAGS"
+    LUA_CFLAGS=""
   else
     ats_new_bugger=""
     ats_removed=0
-    for i in $LUAJIT_CFLAGS; do
+    for i in $LUA_CFLAGS; do
       if test "x$i" != "x"-fsanitize=thread""; then
         ats_new_bugger="$ats_new_bugger $i"
       else
@@ -28642,19 +28626,19 @@ iocore_include_dirs="\
       fi
     done
     if test $ats_removed = "1"; then
-      test "x$verbose" = "xyes" && echo "  removed \""-fsanitize=thread"\" from LUAJIT_CFLAGS"
-      LUAJIT_CFLAGS=$ats_new_bugger
+      test "x$verbose" = "xyes" && echo "  removed \""-fsanitize=thread"\" from LUA_CFLAGS"
+      LUA_CFLAGS=$ats_new_bugger
     fi
   fi
 
 
-  if test "x$LUAJIT_CFLAGS" = "x"-fsanitize=memory""; then
-    test "x$verbose" = "xyes" && echo "  nulling LUAJIT_CFLAGS"
-    LUAJIT_CFLAGS=""
+  if test "x$LUA_CFLAGS" = "x"-fsanitize=memory""; then
+    test "x$verbose" = "xyes" && echo "  nulling LUA_CFLAGS"
+    LUA_CFLAGS=""
   else
     ats_new_bugger=""
     ats_removed=0
-    for i in $LUAJIT_CFLAGS; do
+    for i in $LUA_CFLAGS; do
       if test "x$i" != "x"-fsanitize=memory""; then
         ats_new_bugger="$ats_new_bugger $i"
       else
@@ -28662,19 +28646,19 @@ iocore_include_dirs="\
       fi
     done
     if test $ats_removed = "1"; then
-      test "x$verbose" = "xyes" && echo "  removed \""-fsanitize=memory"\" from LUAJIT_CFLAGS"
-      LUAJIT_CFLAGS=$ats_new_bugger
+      test "x$verbose" = "xyes" && echo "  removed \""-fsanitize=memory"\" from LUA_CFLAGS"
+      LUA_CFLAGS=$ats_new_bugger
     fi
   fi
 
 
-  if test "x$LUAJIT_CFLAGS" = "x"-fprofile-instr-generate""; then
-    test "x$verbose" = "xyes" && echo "  nulling LUAJIT_CFLAGS"
-    LUAJIT_CFLAGS=""
+  if test "x$LUA_CFLAGS" = "x"-fprofile-instr-generate""; then
+    test "x$verbose" = "xyes" && echo "  nulling LUA_CFLAGS"
+    LUA_CFLAGS=""
   else
     ats_new_bugger=""
     ats_removed=0
-    for i in $LUAJIT_CFLAGS; do
+    for i in $LUA_CFLAGS; do
       if test "x$i" != "x"-fprofile-instr-generate""; then
         ats_new_bugger="$ats_new_bugger $i"
       else
@@ -28682,19 +28666,19 @@ iocore_include_dirs="\
       fi
     done
     if test $ats_removed = "1"; then
-      test "x$verbose" = "xyes" && echo "  removed \""-fprofile-instr-generate"\" from LUAJIT_CFLAGS"
-      LUAJIT_CFLAGS=$ats_new_bugger
+      test "x$verbose" = "xyes" && echo "  removed \""-fprofile-instr-generate"\" from LUA_CFLAGS"
+      LUA_CFLAGS=$ats_new_bugger
     fi
   fi
 
 
-  if test "x$LUAJIT_CFLAGS" = "x"-fcoverage-mapping""; then
-    test "x$verbose" = "xyes" && echo "  nulling LUAJIT_CFLAGS"
-    LUAJIT_CFLAGS=""
+  if test "x$LUA_CFLAGS" = "x"-fcoverage-mapping""; then
+    test "x$verbose" = "xyes" && echo "  nulling LUA_CFLAGS"
+    LUA_CFLAGS=""
   else
     ats_new_bugger=""
     ats_removed=0
-    for i in $LUAJIT_CFLAGS; do
+    for i in $LUA_CFLAGS; do
       if test "x$i" != "x"-fcoverage-mapping""; then
         ats_new_bugger="$ats_new_bugger $i"
       else
@@ -28702,19 +28686,19 @@ iocore_include_dirs="\
       fi
     done
     if test $ats_removed = "1"; then
-      test "x$verbose" = "xyes" && echo "  removed \""-fcoverage-mapping"\" from LUAJIT_CFLAGS"
-      LUAJIT_CFLAGS=$ats_new_bugger
+      test "x$verbose" = "xyes" && echo "  removed \""-fcoverage-mapping"\" from LUA_CFLAGS"
+      LUA_CFLAGS=$ats_new_bugger
     fi
   fi
 
 
-  if test "x$LUAJIT_CFLAGS" = "x"--coverage""; then
-    test "x$verbose" = "xyes" && echo "  nulling LUAJIT_CFLAGS"
-    LUAJIT_CFLAGS=""
+  if test "x$LUA_CFLAGS" = "x"--coverage""; then
+    test "x$verbose" = "xyes" && echo "  nulling LUA_CFLAGS"
+    LUA_CFLAGS=""
   else
     ats_new_bugger=""
     ats_removed=0
-    for i in $LUAJIT_CFLAGS; do
+    for i in $LUA_CFLAGS; do
       if test "x$i" != "x"--coverage""; then
         ats_new_bugger="$ats_new_bugger $i"
       else
@@ -28722,8 +28706,8 @@ iocore_include_dirs="\
       fi
     done
     if test $ats_removed = "1"; then
-      test "x$verbose" = "xyes" && echo "  removed \""--coverage"\" from LUAJIT_CFLAGS"
-      LUAJIT_CFLAGS=$ats_new_bugger
+      test "x$verbose" = "xyes" && echo "  removed \""--coverage"\" from LUA_CFLAGS"
+      LUA_CFLAGS=$ats_new_bugger
     fi
   fi
 
@@ -31487,9 +31471,9 @@ fi
     SHARED_LDFLAGS:     $SHARED_LDFLAGS
     OPENSSL_LDFLAGS:    $OPENSSL_LDFLAGS
     OPENSSL_INCLUDES:   $OPENSSL_INCLUDES
-    LUAJIT_CFLAGS:      $LUAJIT_CFLAGS
-    LUAJIT_CPPFLAGS:    $LUAJIT_CPPFLAGS
-    LUAJIT_LDFLAGS:     $LUAJIT_LDFLAGS
+    LUA_CFLAGS:         $LUA_CFLAGS
+    LUA_CPPFLAGS:       $LUA_CPPFLAGS
+    LUA_LDFLAGS:        $LUA_LDFLAGS
 " >&5
 $as_echo "$as_me: Build option summary:
     CC:                 $CC
@@ -31506,7 +31490,7 @@ $as_echo "$as_me: Build option summary:
     SHARED_LDFLAGS:     $SHARED_LDFLAGS
     OPENSSL_LDFLAGS:    $OPENSSL_LDFLAGS
     OPENSSL_INCLUDES:   $OPENSSL_INCLUDES
-    LUAJIT_CFLAGS:      $LUAJIT_CFLAGS
-    LUAJIT_CPPFLAGS:    $LUAJIT_CPPFLAGS
-    LUAJIT_LDFLAGS:     $LUAJIT_LDFLAGS
+    LUA_CFLAGS:         $LUA_CFLAGS
+    LUA_CPPFLAGS:       $LUA_CPPFLAGS
+    LUA_LDFLAGS:        $LUA_LDFLAGS
 " >&6;}
index cd201a4bd76d6437ad73d763022790b318342ac1..06a5c2b5bd64e097a1c42587542b78fd40c16e44 100644 (file)
@@ -647,7 +647,7 @@ case $host_os in
       *amd64*)
         TS_ADDTO(AM_CFLAGS, [-m64])
         TS_ADDTO(AM_CXXFLAGS, [-m64])
-        TS_ADDTO(LUAJIT_LDFLAGS, [-m64])
+        TS_ADDTO(LUA_LDFLAGS, [-m64])
         ;;
     esac
     ;;
@@ -815,7 +815,6 @@ case $host_os_def in
       debug_opt="-ggdb3 $common_opt -Qunused-arguments"
       release_opt="-g $common_opt $optimizing_flags -fno-strict-aliasing -Qunused-arguments"
       cxx_opt="-Wno-invalid-offsetof"
-      luajit_cflags="-Wno-parentheses-equality -Wno-tautological-compare -analyzer-disable-all-checks -Wno-varargs"
     ])
 
     AS_IF([test "x$ax_cv_c_compiler_vendor" = "xgnu"], [
@@ -837,7 +836,6 @@ case $host_os_def in
       debug_opt="-g $common_opt"
       release_opt="-g $common_opt $optimizing_flags -fno-strict-aliasing"
       cxx_opt="-Wno-invalid-offsetof"
-      luajit_cflags="-Wno-parentheses-equality -Wno-tautological-compare -Wno-varargs"
     ], [
       AC_MSG_WARN([clang is the only supported compiler on Darwin])
     ])
@@ -858,7 +856,6 @@ case $host_os_def in
       debug_opt="-ggdb3 $common_opt"
       release_opt="-g $common_opt $optimizing_flags -fno-strict-aliasing"
       cxx_opt="-Wno-invalid-offsetof"
-      luajit_cflags="-Wno-parentheses-equality -Wno-tautological-compare -Wno-varargs"
     ])
 
     AS_IF([test "x$ax_cv_c_compiler_vendor" = "xgnu"], [
@@ -1186,6 +1183,11 @@ TS_CHECK_ZLIB
 # Check for lzma presence and usability
 TS_CHECK_LZMA
 
+#
+# Check for luajit presence and usability
+TS_CHECK_LUA
+TS_ADDTO(CPPFLAGS, [$LUA_CFLAGS])
+
 #
 # Tcl macros provided by build/tcl.m4
 #
@@ -1491,18 +1493,6 @@ TS_CHECK_TCMALLOC
 # Check for libreadline/libedit
 AX_LIB_READLINE
 
-# On Darwin LuaJIT requires magic link options, otherwise it will crash in luaL_openlibs() at startup. See
-# http://luajit.org/install.html.
-case $host_os_def in
-  darwin)
-    LUAJIT_LDFLAGS="-Wl,-pagezero_size,10000 -Wl,-image_base,100000000"
-    ;;
-esac
-
-# Flags for building and linking against our internal copy of LuaJIT.
-AC_SUBST([LUAJIT_LDFLAGS])
-AC_SUBST([LUAJIT_CPPFLAGS], ['-I$(abs_top_srcdir)/lib/luajit/src'])
-
 # We should be able to build http_load if epoll(2) is available.
 AM_CONDITIONAL([BUILD_HTTP_LOAD], [test x"$ac_cv_func_epoll_ctl" = x"yes"])
 
@@ -1909,20 +1899,6 @@ iocore_include_dirs="\
 -I\$(abs_top_srcdir)/iocore/utils \
 -I\$(abs_top_srcdir)/iocore/dns"
 
-# Flags for buildit LuaJIT itself. We take the latest version
-# of the generic flags, plus any Lua-specific flags so that we
-# can strip the coverage flags from Lua while keeping them by
-# default everywhere else.
-TS_ADDTO(LUAJIT_CFLAGS, [$CFLAGS $luajit_cflags])
-AC_SUBST([LUAJIT_CFLAGS])
-
-TS_REMOVEFROM(LUAJIT_CFLAGS, "-fsanitize=address")
-TS_REMOVEFROM(LUAJIT_CFLAGS, "-fsanitize=thread")
-TS_REMOVEFROM(LUAJIT_CFLAGS, "-fsanitize=memory")
-TS_REMOVEFROM(LUAJIT_CFLAGS, "-fprofile-instr-generate")
-TS_REMOVEFROM(LUAJIT_CFLAGS, "-fcoverage-mapping")
-TS_REMOVEFROM(LUAJIT_CFLAGS, "--coverage")
-
 AC_SUBST([AM_CPPFLAGS])
 AC_SUBST([AM_CFLAGS])
 AC_SUBST([AM_CXXFLAGS])
@@ -2023,7 +1999,8 @@ AC_MSG_NOTICE([Build option summary:
     SHARED_LDFLAGS:     $SHARED_LDFLAGS
     OPENSSL_LDFLAGS:    $OPENSSL_LDFLAGS
     OPENSSL_INCLUDES:   $OPENSSL_INCLUDES
-    LUAJIT_CFLAGS:      $LUAJIT_CFLAGS
-    LUAJIT_CPPFLAGS:    $LUAJIT_CPPFLAGS
-    LUAJIT_LDFLAGS:     $LUAJIT_LDFLAGS
+    LUA_LIBS:           $LUA_LIBS
+    LUA_CFLAGS:         $LUA_CFLAGS
+    LUA_CPPFLAGS:       $LUA_CPPFLAGS
+    LUA_LDFLAGS:        $LUA_LDFLAGS
 ])
index 730b7e9305a09491bb41d55e3753e4823b47101e..eafaf5e99f4b99f8013b8bba85e43285a0026dc4 100644 (file)
@@ -275,9 +275,9 @@ LIPO = @LIPO@
 LN_S = @LN_S@
 LTLIBOBJS = @LTLIBOBJS@
 LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
-LUAJIT_CFLAGS = @LUAJIT_CFLAGS@
-LUAJIT_CPPFLAGS = @LUAJIT_CPPFLAGS@
-LUAJIT_LDFLAGS = @LUAJIT_LDFLAGS@
+LUA_CFLAGS = @LUA_CFLAGS@
+LUA_CPPFLAGS = @LUA_CPPFLAGS@
+LUA_LDFLAGS = @LUA_LDFLAGS@
 MAINT = @MAINT@
 MAKEINFO = @MAKEINFO@
 MANIFEST_TOOL = @MANIFEST_TOOL@
index 9097b69ed7a71da3ba31348e292f03f5d9632840..62584c2e818cf13621941b46e68a8dc429651364 100644 (file)
@@ -811,9 +811,9 @@ LIPO = @LIPO@
 LN_S = @LN_S@
 LTLIBOBJS = @LTLIBOBJS@
 LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
-LUAJIT_CFLAGS = @LUAJIT_CFLAGS@
-LUAJIT_CPPFLAGS = @LUAJIT_CPPFLAGS@
-LUAJIT_LDFLAGS = @LUAJIT_LDFLAGS@
+LUA_CFLAGS = @LUA_CFLAGS@
+LUA_CPPFLAGS = @LUA_CPPFLAGS@
+LUA_LDFLAGS = @LUA_LDFLAGS@
 MAINT = @MAINT@
 MAKEINFO = @MAKEINFO@
 MANIFEST_TOOL = @MANIFEST_TOOL@
index 2adbaa21667b9673815a2bc3f880717dccf55009..fe90115c3e2008969d8993eb978aba84a42bb0ba 100644 (file)
@@ -282,9 +282,9 @@ LIPO = @LIPO@
 LN_S = @LN_S@
 LTLIBOBJS = @LTLIBOBJS@
 LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
-LUAJIT_CFLAGS = @LUAJIT_CFLAGS@
-LUAJIT_CPPFLAGS = @LUAJIT_CPPFLAGS@
-LUAJIT_LDFLAGS = @LUAJIT_LDFLAGS@
+LUA_CFLAGS = @LUA_CFLAGS@
+LUA_CPPFLAGS = @LUA_CPPFLAGS@
+LUA_LDFLAGS = @LUA_LDFLAGS@
 MAINT = @MAINT@
 MAKEINFO = @MAKEINFO@
 MANIFEST_TOOL = @MANIFEST_TOOL@
index 864b99626d6e3c408779c9e4e97c51633c628b66..b826061e6bfd6ad95a959d799729d31fc61f75d8 100644 (file)
@@ -364,9 +364,9 @@ LIPO = @LIPO@
 LN_S = @LN_S@
 LTLIBOBJS = @LTLIBOBJS@
 LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
-LUAJIT_CFLAGS = @LUAJIT_CFLAGS@
-LUAJIT_CPPFLAGS = @LUAJIT_CPPFLAGS@
-LUAJIT_LDFLAGS = @LUAJIT_LDFLAGS@
+LUA_CFLAGS = @LUA_CFLAGS@
+LUA_CPPFLAGS = @LUA_CPPFLAGS@
+LUA_LDFLAGS = @LUA_LDFLAGS@
 MAINT = @MAINT@
 MAKEINFO = @MAKEINFO@
 MANIFEST_TOOL = @MANIFEST_TOOL@