From ab59ca2d61776d1b67a3123a90ec02add5be1803 Mon Sep 17 00:00:00 2001 From: tilghman Date: Mon, 26 Jul 2010 19:15:59 +0000 Subject: 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 --- configure | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'configure') diff --git a/configure b/configure index 64dd20073..1c1af5045 100755 --- a/configure +++ b/configure @@ -1,5 +1,5 @@ #! /bin/sh -# From configure.ac Revision: 268815 . +# From configure.ac Revision: 278986 . # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.61 for asterisk 1.6.2. # @@ -6712,6 +6712,12 @@ GNU_MAKE=$ac_cv_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 + if test -n "$ac_tool_prefix"; then for ac_prog in strip gstrip do @@ -10250,7 +10256,7 @@ if test "${with_sounds_cache+set}" = set; then unset SOUNDS_CACHE_DIR ;; *) - if test "x${SOUNDS_CACHE_DIR}" = "x"; then + if test "x${withval}" = "x"; then SOUNDS_CACHE_DIR="${HOME}/.asterisk_sounds_cache" else SOUNDS_CACHE_DIR="${withval}" -- cgit v1.2.3