mirror of
https://github.com/openwrt/telephony.git
synced 2025-12-21 19:14:34 +04:00
Since OpenWrt updated autoconf to 2.71 configure fails, because "$ac_dir" is now empty when configure attempts to run "./tools/versioncheck". With previous autoconf "$ac_dir" contained "autoconf" at this point in the script. As a workaround "$ac_dir" is replaced with "$ac_aux_dir", which incidentally contains "autoconf". Also a build dependency is added for gettext-full, as it provides iconv.m4. Previously this was provided by libiconv, but not anymore. Without iconv.m4 autoreconf fails. Some patches were refreshed to allow CI to pass. Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
12 lines
289 B
Diff
12 lines
289 B
Diff
--- a/autoconf/acinclude.m4
|
|
+++ b/autoconf/acinclude.m4
|
|
@@ -497,7 +497,7 @@ AC_DEFUN([CS_GET_VERSION], [
|
|
SCCP_REVISION="unknown"
|
|
|
|
CURRENT=`pwd`
|
|
- BASE=`dirname $ac_dir`
|
|
+ BASE=`dirname $ac_aux_dir`
|
|
cd $BASE >/dev/null
|
|
. ./tools/versioncheck silent
|
|
cd $CURRENT >/dev/null
|