[gdal-dev] configure: WARNING: unrecognized options: --with-macosx-framework
Ivan Lucena
lucena_ivan at hotmail.com
Thu Jan 5 12:03:33 PST 2017
Hi Even,
Your change fix the warning. Thanks.
The other issue I was having is that because on:
/frmts/pdf/GNUmakefile
LDFLAGS and CPPFLAGS defines libstdc++ while the result setting from ./configure is libc++.
I simply change the PDF driver makefile to use libc++ instead of libstdc++ and the GDAL macosx-framework build worked just fine. I don't know if we need to change that.
Thanks,
Ivan
________________________________
From: Even Rouault <even.rouault at spatialys.com>
Sent: Tuesday, January 3, 2017 5:55:49 AM
To: gdal-dev at lists.osgeo.org
Cc: Ivan Lucena
Subject: Re: [gdal-dev] configure: WARNING: unrecognized options: --with-macosx-framework
>
> Anyway, should I file a bug and commit the above path to the file
> "configure"?
configure should never been manually modified. It is regenerated by autoconf (currently 2.69) from configure.in
I've traced the issue to be linked to the following line in configure.in
AC_ARG_WITH(,[ --with-macosx-framework Build and install GDAL as a Mac OS X Framework],,)
Changing it to
AC_ARG_WITH(macosx-framework,[ --with-macosx-framework Build and install GDAL as a Mac OS X Framework],,)
seems to solve the issue.
Surprisingly, the AC_ARG_WITH(,[ ....]) syntax has been used since
https://trac.osgeo.org/gdal/changeset/10196 , so perhaps the warning has always existed, or autoconf is less tolerant now. Who knows.
Even
--
Spatialys - Geospatial professional services
http://www.spatialys.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20170105/62c43873/attachment.html>
More information about the gdal-dev
mailing list