Opened 16 years ago

Closed 16 years ago

#2382 closed defect (fixed)

Fix INST_DATA setting from /usr/local/share to /usr/local/share/gdal

Reported by: warmerdam Owned by: warmerdam
Priority: normal Milestone: 1.5.2
Component: ConfigBuild Version: 1.5.0
Severity: normal Keywords:
Cc:

Description

It appears that for a while (since 1.5.0?) the GDAL support data files have been getting installed in /usr/local/share instead of /usr/local/share/gdal on unix.

Change History (3)

comment:1 by warmerdam, 16 years ago

Status: newassigned

The problem appears to be this test. Presumably due to an upgrade to a newer version of autoconf, the datadir value changed to '${datarootdir}' so the test and fix failed.

dnl ---------------------------------------------------------------------------
dnl If datadir is set to @prefix@/share, the modify it to be 
dnl @prefix@/share/gdal.  I wish we could default this.
dnl ---------------------------------------------------------------------------
if test "$datadir" = '${prefix}/share' ; then
  datadir='${prefix}/share/gdal'
fi

comment:2 by warmerdam, 16 years ago

Version: unspecified1.5.0

I have confirmed the problem existed since 1.5.0, but does not appear to have afflicted 1.4.x.

Fixed in trunk (r14492) and 1.5 branch (r14493).

comment:3 by warmerdam, 16 years ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.