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.roua...@spatialys.com>
Sent: Tuesday, January 3, 2017 5:55:49 AM
To: gdal-dev@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
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to