[asterisk-bugs] [Asterisk 0014645]: LOCALSTATEDIR default doesn't include PREFIX as documented by ./configure --help

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Mar 11 17:22:11 CDT 2009


The following issue has been SUBMITTED. 
====================================================================== 
http://bugs.digium.com/view.php?id=14645 
====================================================================== 
Reported By:                strk
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   14645
Category:                   Core/BuildSystem
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           SVN 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 181422 
Request Review:              
====================================================================== 
Date Submitted:             2009-03-11 17:22 CDT
Last Modified:              2009-03-11 17:22 CDT
====================================================================== 
Summary:                    LOCALSTATEDIR default doesn't include PREFIX as
documented by ./configure --help
Description: 
The standard autoconf way to set $(localstatedir) is $(prefix)/var
as reported by ./configure --help.

Users expect that behaviour, but the asterisk's configure.ac contains
code to intentionally change that default around line 50:

if test ${localstatedir} = '${prefix}/var'; then
     localstatedir=/var
fi

There is no comment above that forced change, nor any WARNING for
the user to take action (ie: explicitly specifying --localstatedir)


====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-03-11 17:22 strk           New Issue                                    
2009-03-11 17:22 strk           Asterisk Version          => SVN             
2009-03-11 17:22 strk           Regression                => No              
2009-03-11 17:22 strk           SVN Branch (only for SVN checkouts, not tarball
releases) =>  trunk          
2009-03-11 17:22 strk           SVN Revision (number only!) => 181422          
======================================================================




More information about the asterisk-bugs mailing list