aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2010-07-26 19:15:59 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2010-07-26 19:15:59 +0000
commitab59ca2d61776d1b67a3123a90ec02add5be1803 (patch)
tree33f5124fc375e3adf3b8f8805614ac850af60077 /configure.ac
parent84033bcfff057b66838fd27161e62f35430f9835 (diff)
Use a special Makefile for noobs who still have GNU Make 3.80.
(Closes issue #17716) Reported by: farisraouf git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@279561 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 7e3901a6d..84aaf8ab0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -176,6 +176,12 @@ AC_PROG_LN_S
AC_PROG_RANLIB
AST_CHECK_GNU_MAKE
+if test ${ac_cv_GNU_MAKE_VERSION_MAJOR} -gt 2 -a ${ac_cv_GNU_MAKE_VERSION_MINOR} -gt 80; then
+ $LN_S -f sounds/Makefile.381 sounds/Makefile
+else
+ $LN_S -f sounds/Makefile.380 sounds/Makefile
+fi
+
AC_CHECK_TOOLS([STRIP], [strip gstrip], :)
AC_CHECK_TOOLS([AR], [ar gar], :)