[Home]

Summary:ASTERISK-13729: LOCALSTATEDIR default doesn't include PREFIX as documented by ./configure --help
Reporter:Sandro Santilli (strk)Labels:
Date Opened:2009-03-11 17:22:10Date Closed:2009-03-11 17:25:28
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/BuildSystem
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
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)



****** ADDITIONAL INFORMATION ******

Other bug reports affected by this bug are:
8605
9034
8555

I'd of course prefer if PREFIX would be used always, but I see there's
lots of resistance by developers :)
Comments:By: Jason Parker (jparker) 2009-03-11 17:25:28

Already fixed in r181436.