If there's a default, turn it on, even when the option isn't specified.
authorTilghman Lesher <tilghman@meg.abyt.es>
Fri, 4 Jun 2010 01:36:46 +0000 (01:36 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Fri, 4 Jun 2010 01:36:46 +0000 (01:36 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@267819 65c4cc65-6c06-0410-ace0-fbb531ad65f3

autoconf/ast_ext_lib.m4
configure

index 112b90f..80b28bf 100644 (file)
@@ -53,7 +53,8 @@ AC_ARG_WITH([$1], AC_HELP_STRING([--with-$1=PATH], [use $3 in PATH]),
                fi
                ;;
        esac
-       ])
+       ],
+       [m4_ifval($4, [$2="$4"])])
 AC_SUBST($2)
 ])
 
index bbcce92..ad5711a 100755 (executable)
--- a/configure
+++ b/configure
@@ -1,5 +1,5 @@
 #! /bin/sh
-# From configure.ac Revision: 267399 .
+# From configure.ac Revision: 267775 .
 # Guess values for system-dependent variables and create Makefiles.
 # Generated by GNU Autoconf 2.61 for asterisk trunk.
 #
@@ -11049,6 +11049,8 @@ if test "${with_sounds_cache+set}" = set; then
                ;;
        esac
 
+else
+  SOUNDS_CACHE_DIR="${HOME}/.asterisk_sounds_cache"
 fi