Summary: | ASTERISK-15031: new libpri features not detected with a custom libpri location | ||
Reporter: | Tzafrir Cohen (tzafrir) | Labels: | |
Date Opened: | 2009-10-25 10:42:16 | Date Closed: | |
Priority: | Minor | Regression? | No |
Status: | Open/New | Components: | Core/BuildSystem |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
Description: | I'm testing the new asterisk trunk and libpri. As I want to avoid installing libpri over the system copy, I use live_ast with LIVE_AST_LIBPRI_PATH set to the path in which I built libpri (and the include symlink added). Sadly, all the newer features of libpri don't seem to get detected. Looking a bit at the autoconf code I see in autoconf/ast_ext_lib.m4 the macro AST_EXT_LIB_SETUP_DEPENDENT . So far I fail to understand how it is supposed to detect its values. For the moment I resorted to brute force to make Asterisk realise I do have those things on my system: Index: autoconf/ast_ext_lib.m4 =================================================================== --- autoconf/ast_ext_lib.m4 (revision 225760) +++ autoconf/ast_ext_lib.m4 (working copy) @@ -51,8 +51,9 @@ fi done ]) -PBX_$1=0 +PBX_$1=1 AH_TEMPLATE(m4_bpatsubst([[HAVE_$1]], [(.*)]), [Define to 1 if you have the $2 library.]) +AC_DEFINE([HAVE_$1], [1]) AC_SUBST([$1_LIB]) AC_SUBST([$1_INCLUDE]) AC_SUBST([$1_DIR]) | ||
Comments: |