[asterisk-bugs] [Asterisk 0016342]: [patch] configure fails to detect spandsp/expose.h when not in system include path

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Jun 24 10:17:15 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16342 
====================================================================== 
Reported By:                bklang
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   16342
Category:                   Core/BuildSystem
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     ready for testing
Asterisk Version:           SVN 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): 1.6.1 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-11-28 17:04 CST
Last Modified:              2010-06-24 10:17 CDT
====================================================================== 
Summary:                    [patch] configure fails to detect spandsp/expose.h
when not in system include path
Description: 
configure has a flag to specify the path to spandsp, if it is not installed
into the system default path.  This works well for most of the spandsp
checks (such as spandsp.h), however it fails to properly detect the
spandsp/expose.h header.  This is partly due to the fact that the autoconf
check is different (AC_CHECK_HEADER vs. AST_EXT_LIB_CHECK) and so does not
inherit the proper CFLAGS.
====================================================================== 

---------------------------------------------------------------------- 
 (0123824) bklang (reporter) - 2010-06-24 10:17
 https://issues.asterisk.org/view.php?id=16342#c123824 
---------------------------------------------------------------------- 
And from config.log:



configure:32071: checking spandsp.h presence
configure:32086: gcc -E  -I/opt/spandsp/include  conftest.c
configure:32092: $? = 0
configure:32106: result: yes
configure:32139: checking for spandsp.h
configure:32146: result: yes
configure:32199: checking for t38_terminal_init in -lspandsp
configure:32234: gcc -o conftest -g -O2    conftest.c -lspandsp
-L/opt/spandsp/lib -ltiff -lnsl -lm  >&5
configure:32240: $? = 0
configure:32259: result: yes
configure:32284: checking for spandsp.h
configure:32289: result: yes
configure:32554: checking spandsp/expose.h usability
configure:32571: gcc -c -g -O2    conftest.c >&5
conftest.c:246:28: spandsp/expose.h: No such file or directory 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-06-24 10:17 bklang         Note Added: 0123824                          
======================================================================




More information about the asterisk-bugs mailing list