[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:25:28 CDT 2009


The following issue has been UPDATED. 
====================================================================== 
http://bugs.digium.com/view.php?id=14645 
====================================================================== 
Reported By:                strk
Assigned To:                qwell
====================================================================== 
Project:                    Asterisk
Issue ID:                   14645
Category:                   Core/BuildSystem
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
Asterisk Version:           SVN 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 181422 
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-03-11 17:22 CDT
Last Modified:              2009-03-11 17:25 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)


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

---------------------------------------------------------------------- 
 (0101598) qwell (administrator) - 2009-03-11 17:25
 http://bugs.digium.com/view.php?id=14645#c101598 
---------------------------------------------------------------------- 
Already fixed in r181436. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-03-11 17:25 qwell          Note Added: 0101598                          
2009-03-11 17:25 qwell          Status                   new => resolved     
2009-03-11 17:25 qwell          Resolution               open => fixed       
2009-03-11 17:25 qwell          Assigned To               => qwell           
2009-03-11 17:25 qwell          Status                   resolved => closed  
======================================================================




More information about the asterisk-bugs mailing list