[asterisk-bugs] [Asterisk 0017045]: Configure script inconsistent in using CFLAGS when detecting header files
Asterisk Bug Tracker
noreply at bugs.digium.com
Wed Mar 17 13:36:16 CDT 2010
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=17045
======================================================================
Reported By: pprindeville
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 17045
Category: Core/BuildSystem
Reproducibility: always
Severity: minor
Priority: normal
Status: feedback
Asterisk Version: 1.6.2.6
JIRA:
Regression: No
Reviewboard Link:
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Request Review:
======================================================================
Date Submitted: 2010-03-16 20:15 CDT
Last Modified: 2010-03-17 13:36 CDT
======================================================================
Summary: Configure script inconsistent in using CFLAGS when
detecting header files
Description:
Building with cross-compiler tools, we get:
configure:34069: checking libpri.h usability
configure:34086:
/home/digium/trunk/build_i586/staging_dir/bin/i586-linux-uclibc-gcc -c -Os
-pipe -fomit-frame-pointer -march=k6-2 -fno-align-functions
-fno-align-loops -fno-align-jumps -fno-align-labels -isysroot
/home/digium/trunk/build_i586/staging_dir -isystem
/home/digium/trunk/build_i586/staging_dir/usr/include -D_GNU_SOURCE
conftest.c>&5
configure:34093: $? = 0
configure:34107: result: yes
configure:34111: checking libpri.h presence
configure:34126:
/home/digium/trunk/build_i586/staging_dir/bin/i586-linux-uclibc-cpp
conftest.c
conftest.c:206:20: error: libpri.h: No such file or directory
configure:34133: $? = 1
note that on line 34086 $(CC) is invoked with $(CFLAGS) and works
properly.
On line 34126, however, $(CPP) is invoked without $(CFLAGS) and fails.
Should CPPFLAGS be forced to CFLAGS if it's not explicitly set?
======================================================================
----------------------------------------------------------------------
(0119522) pprindeville (reporter) - 2010-03-17 13:36
https://issues.asterisk.org/view.php?id=17045#c119522
----------------------------------------------------------------------
I'm just doing what I was told to do (which isn't to say that I don't
sometimes get conflicting directions. :-) )
Issue History
Date Modified Username Field Change
======================================================================
2010-03-17 13:36 pprindeville Note Added: 0119522
======================================================================
More information about the asterisk-bugs
mailing list