]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
BuildSystem: Avoid obsolete warning with HELP_STRING on autoconf. 57/3057/1
authorAlexander Traud <pabstraud@compuserve.com>
Tue, 21 Jun 2016 13:01:40 +0000 (15:01 +0200)
committerAlexander Traud <pabstraud@compuserve.com>
Tue, 21 Jun 2016 13:14:19 +0000 (08:14 -0500)
Some configure scripts used both AC_HELP_STRING and its replacement
AS_HELP_STRING. For consistency and to avoid obsolete warnings, those were
changed to AS_HELP_STRING.

ASTERISK-26046

Change-Id: I8aad4fd2bdee40aa2a31ce3339a1eb33ff4f5b0f

autoconf/ast_ext_lib.m4
autoconf/ast_prog_ld.m4
configure.ac

index 8f35f4bad830fc6fbcf353dd094d3688a06af2a1..2c73b40c5def04c256df596b8014022c30f32b33 100644 (file)
@@ -11,7 +11,7 @@ AC_DEFUN([AST_EXT_LIB_SETUP],
     $1_DESCRIP="$2"
     $1_OPTION="$3"
     PBX_$1=0
-    AC_ARG_WITH([$3], AC_HELP_STRING([--with-$3=PATH],[use $2 files in PATH$4]),
+    AC_ARG_WITH([$3], AS_HELP_STRING([--with-$3=PATH],[use $2 files in PATH$4]),
     [
        case ${withval} in
        n|no)
index 9177fedb3657f4f803b7c3bd1a6599037dbe075a..b69c2c2ac0862456815466eaa935b6a24d6bc05a 100644 (file)
@@ -3,7 +3,7 @@
 # find the pathname to the GNU or non-GNU linker
 AC_DEFUN([AST_PROG_LD],
 [AC_ARG_WITH([gnu-ld],
-    [AC_HELP_STRING([--with-gnu-ld],
+    [AS_HELP_STRING([--with-gnu-ld],
        [assume the C compiler uses GNU ld @<:@default=no@:>@])],
     [test "$withval" = no || with_gnu_ld=yes],
     [with_gnu_ld=no])
index f2e42ba1f20e975f59c1cee4a4f12922d9304cb5..1ecedd4d060b78e769ee92921a2fabb481fca4d0 100644 (file)
@@ -1230,7 +1230,7 @@ AC_SUBST(AST_NATIVE_ARCH)
 
 dnl Check to see if rpath should be set in LDFLAGS
 AC_ARG_ENABLE(rpath,
-       [AC_HELP_STRING([--disable-rpath],
+       [AS_HELP_STRING([--disable-rpath],
                        [Disables rpath linker option checking])],
        [case "${enableval}" in
                y|ye|yes) check_rpath=yes ;;