#424: AC_CONFIG_AUX_DIR added in configure.in of 6.4.x causes rpmbuild failure
----------------------+-----------------------------------------------------
Reporter: neteler | Owner: grass-dev@lists.osgeo.org
Type: defect | Status: new
Priority: major | Milestone: 6.4.0
Component: default | Version: 6.4.0 RCs
Resolution: | Keywords:
Platform: Linux | Cpu: All
----------------------+-----------------------------------------------------
Comment (by glynn):
Replying to [ticket:424 neteler]:
> The following addition to configure.in of 6.4.x:
> +AC_CONFIG_AUX_DIR($SRCDIR)
> leads to this error when creating a (Mandriva) RPM from 6.4.0RC1:
> + cputoolize -c .
> libtoolize: cannot handle variables in AC_CONFIG_AUX_DIR
This looks like a problem with the RPM spec file. GRASS doesn't use
libtool. The build process shouldn't be concerning itself with the
contents of those scripts, just running configure.
> Do we really need AC_CONFIG_AUX_DIR (e.g., in GRASS 6.3 it wasn't
needed) or can it be conditionalized?
It's needed, and I don't think that it can be conditionalised.
#424: AC_CONFIG_AUX_DIR added in configure.in of 6.4.x causes rpmbuild failure
----------------------+-----------------------------------------------------
Reporter: neteler | Owner: grass-dev@lists.osgeo.org
Type: defect | Status: closed
Priority: major | Milestone: 6.4.0
Component: default | Version: 6.4.0 RCs
Resolution: wontfix | Keywords:
Platform: Linux | Cpu: All
----------------------+-----------------------------------------------------
Changes (by neteler):
* status: new => closed
* resolution: => wontfix
Comment:
Replying to [comment:2 glynn]:
> Replying to [ticket:424 neteler]:
> > libtoolize: cannot handle variables in AC_CONFIG_AUX_DIR
...
> It's needed, and I don't think that it can be conditionalised.
OK, changing in the SPEC file
%configure
to
./configure
works around the problem since libtool(ize) is then not used.