Lines 1-6
Link Here
|
1 |
--- configure.orig 2024-07-25 15:24:13 UTC |
1 |
--- configure.orig 2025-02-06 16:40:51 UTC |
2 |
+++ configure |
2 |
+++ configure |
3 |
@@ -5101,8 +5101,6 @@ case "${host_os}" in |
3 |
@@ -5188,8 +5188,6 @@ case "${host_os}" in |
4 |
;; |
4 |
;; |
5 |
dragonfly*|freebsd*) |
5 |
dragonfly*|freebsd*) |
6 |
ac_default_prefix=/usr/local |
6 |
ac_default_prefix=/usr/local |
Lines 9-24
Link Here
|
9 |
;; |
9 |
;; |
10 |
openbsd*) |
10 |
openbsd*) |
11 |
ac_default_prefix=/usr/local |
11 |
ac_default_prefix=/usr/local |
12 |
@@ -21439,8 +21437,6 @@ printf "%s\n" "yes" >&6; } |
12 |
@@ -32418,8 +32416,6 @@ printf "%s\n" "yes" >&6; } |
13 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
13 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
14 |
printf "%s\n" "yes" >&6; } |
14 |
printf "%s\n" "yes" >&6; } |
15 |
|
15 |
|
16 |
-printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h |
16 |
-printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h |
17 |
- |
17 |
- |
18 |
else $as_nop |
18 |
else case e in #( |
19 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
19 |
e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
20 |
printf "%s\n" "no" >&6; } |
20 |
printf "%s\n" "no" >&6; } |
21 |
@@ -23085,6 +23081,8 @@ printf %s "checking for getifaddrs() support... " >&6; |
21 |
@@ -34169,6 +34165,8 @@ printf %s "checking for getifaddrs() support... " >&6; |
22 |
|
22 |
|
23 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
23 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
24 |
/* end confdefs.h. */ |
24 |
/* end confdefs.h. */ |
Lines 27-33
Link Here
|
27 |
#include <ifaddrs.h> |
27 |
#include <ifaddrs.h> |
28 |
int |
28 |
int |
29 |
main (void) |
29 |
main (void) |
30 |
@@ -31990,6 +31988,8 @@ for ver in ${LUA_VERSIONS:-5.4 5.3 5.2 5.1}; do |
30 |
@@ -43828,6 +43826,8 @@ for ver in ${LUA_VERSIONS:-5.4 5.3 5.2 5.1}; do |
31 |
|
31 |
|
32 |
for ver in ${LUA_VERSIONS:-5.4 5.3 5.2 5.1}; do |
32 |
for ver in ${LUA_VERSIONS:-5.4 5.3 5.2 5.1}; do |
33 |
|
33 |
|
Lines 36-45
Link Here
|
36 |
if test "x${PBX_LUA}" != "x1" -a "${USE_LUA}" != "no"; then |
36 |
if test "x${PBX_LUA}" != "x1" -a "${USE_LUA}" != "no"; then |
37 |
pbxlibdir="" |
37 |
pbxlibdir="" |
38 |
# if --with-LUA=DIR has been specified, use it. |
38 |
# if --with-LUA=DIR has been specified, use it. |
39 |
@@ -32004,14 +32004,14 @@ if test "x${PBX_LUA}" != "x1" -a "${USE_LUA}" != "no"; |
39 |
@@ -43842,14 +43842,14 @@ if test "x${PBX_LUA}" != "x1" -a "${USE_LUA}" != "no"; |
40 |
ast_ext_lib_check_save_CFLAGS="${CFLAGS}" |
40 |
ast_ext_lib_check_save_CFLAGS="${CFLAGS}" |
41 |
CFLAGS="${CFLAGS} " |
41 |
CFLAGS="${CFLAGS} " |
42 |
as_ac_Lib=`printf "%s\n" "ac_cv_lib_lua${ver}""_luaL_newstate" | $as_tr_sh` |
42 |
as_ac_Lib=`printf "%s\n" "ac_cv_lib_lua${ver}""_luaL_newstate" | sed "$as_sed_sh"` |
43 |
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for luaL_newstate in -llua${ver}" >&5 |
43 |
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for luaL_newstate in -llua${ver}" >&5 |
44 |
-printf %s "checking for luaL_newstate in -llua${ver}... " >&6; } |
44 |
-printf %s "checking for luaL_newstate in -llua${ver}... " >&6; } |
45 |
+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for luaL_newstate in -llua-${ver}" >&5 |
45 |
+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for luaL_newstate in -llua-${ver}" >&5 |
Lines 47-60
Link Here
|
47 |
if eval test \${$as_ac_Lib+y} |
47 |
if eval test \${$as_ac_Lib+y} |
48 |
then : |
48 |
then : |
49 |
printf %s "(cached) " >&6 |
49 |
printf %s "(cached) " >&6 |
50 |
else $as_nop |
50 |
else case e in #( |
51 |
ac_check_lib_save_LIBS=$LIBS |
51 |
e) ac_check_lib_save_LIBS=$LIBS |
52 |
-LIBS="-llua${ver} ${pbxlibdir} -lm $LIBS" |
52 |
-LIBS="-llua${ver} ${pbxlibdir} -lm $LIBS" |
53 |
+LIBS="-llua-${ver} ${pbxlibdir} -lm $LIBS" |
53 |
+LIBS="-llua-${ver} ${pbxlibdir} -lm $LIBS" |
54 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
54 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
55 |
/* end confdefs.h. */ |
55 |
/* end confdefs.h. */ |
56 |
|
56 |
|
57 |
@@ -32052,7 +32052,7 @@ fi |
57 |
@@ -43899,7 +43899,7 @@ fi |
58 |
|
58 |
|
59 |
# now check for the header. |
59 |
# now check for the header. |
60 |
if test "${AST_LUA_FOUND}" = "yes"; then |
60 |
if test "${AST_LUA_FOUND}" = "yes"; then |
Lines 63-80
Link Here
|
63 |
# if --with-LUA=DIR has been specified, use it. |
63 |
# if --with-LUA=DIR has been specified, use it. |
64 |
if test "x${LUA_DIR}" != "x"; then |
64 |
if test "x${LUA_DIR}" != "x"; then |
65 |
LUA_INCLUDE="-I${LUA_DIR}/include" |
65 |
LUA_INCLUDE="-I${LUA_DIR}/include" |
66 |
@@ -32062,8 +32062,8 @@ fi |
66 |
@@ -43909,8 +43909,8 @@ fi |
67 |
# check for the header |
67 |
# check for the header |
68 |
ast_ext_lib_check_saved_CPPFLAGS="${CPPFLAGS}" |
68 |
ast_ext_lib_check_saved_CPPFLAGS="${CPPFLAGS}" |
69 |
CPPFLAGS="${CPPFLAGS} ${LUA_INCLUDE}" |
69 |
CPPFLAGS="${CPPFLAGS} ${LUA_INCLUDE}" |
70 |
- as_ac_Header=`printf "%s\n" "ac_cv_header_lua${ver}/lua.h" | $as_tr_sh` |
70 |
- as_ac_Header=`printf "%s\n" "ac_cv_header_lua${ver}/lua.h" | sed "$as_sed_sh"` |
71 |
-ac_fn_c_check_header_compile "$LINENO" "lua${ver}/lua.h" "$as_ac_Header" "$ac_includes_default" |
71 |
-ac_fn_c_check_header_compile "$LINENO" "lua${ver}/lua.h" "$as_ac_Header" "$ac_includes_default" |
72 |
+ as_ac_Header=`printf "%s\n" "ac_cv_header_lua${vernodot}/lua.h" | $as_tr_sh` |
72 |
+ as_ac_Header=`printf "%s\n" "ac_cv_header_lua${vernodot}/lua.h" | $as_tr_sh` |
73 |
+ac_fn_c_check_header_compile "$LINENO" "lua${vernodot}/lua.h" "$as_ac_Header" "$ac_includes_default" |
73 |
+ac_fn_c_check_header_compile "$LINENO" "lua${vernodot}/lua.h" "$as_ac_Header" "$ac_includes_default" |
74 |
if eval test \"x\$"$as_ac_Header"\" = x"yes" |
74 |
if eval test \"x\$"$as_ac_Header"\" = x"yes" |
75 |
then : |
75 |
then : |
76 |
LUA_HEADER_FOUND=1 |
76 |
LUA_HEADER_FOUND=1 |
77 |
@@ -32090,9 +32090,9 @@ fi |
77 |
@@ -43938,9 +43938,9 @@ fi |
78 |
|
78 |
|
79 |
if test "x${PBX_LUA}" = "x1" ; then |
79 |
if test "x${PBX_LUA}" = "x1" ; then |
80 |
if test x"${LUA_DIR}" = x; then |
80 |
if test x"${LUA_DIR}" = x; then |
81 |
- |
|
|