checking proj_api.h usability... no
checking proj_api.h presence... no
checking for proj_api.h... no
configure: error: cannot find proj_api.h, bailing out➜ ~ ll /usr/local/include/proj_api.h
-rw-r--r-- 1 root root 8.2K Mar 24 16:56 /usr/local/include/proj_api.h
➜ ~ ll /usr/local/include/proj
total 296K
-rw-r--r-- 1 root root 15K Mar 24 16:56 common.hpp
-rw-r--r-- 1 root root 73K Mar 24 16:56 coordinateoperation.hpp
-rw-r--r-- 1 root root 25K Mar 24 16:56 coordinatesystem.hpp
-rw-r--r-- 1 root root 51K Mar 24 16:56 crs.hpp
-rw-r--r-- 1 root root 28K Mar 24 16:56 datum.hpp
-rw-r--r-- 1 root root 37K Mar 24 16:56 io.hpp
-rw-r--r-- 1 root root 16K Mar 24 16:56 metadata.hpp
-rw-r--r-- 1 root root 15K Mar 24 16:56 nn.hpp
-rw-r--r-- 1 root root 24K Mar 24 16:56 util.hpp
➜ ~ cat /usr/local/lib/pkgconfig/proj.pc
prefix=/usr/local
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include
Name: proj
Description: Cartographic Projections Library.
Requires:
Version: 6.0.0
Libs: -L${libdir} -lproj
Cflags: -I${includedir}if test x"$enable_proj" != "xno"; then
for ac_header in proj_api.h
do :
ac_fn_c_check_header_mongrel "$LINENO" "proj_api.h" "ac_cv_header_proj_api_h" "$ac_includes_default"
if test "x$ac_cv_header_proj_api_h" = xyes; then :
cat >>confdefs.h <<_ACEOF
#define HAVE_PROJ_API_H 1
_ACEOF
else
as_fn_error $? "cannot find proj_api.h, bailing out" "$LINENO" 5
fiAC_ARG_ENABLE(proj, [AS_HELP_STRING(
[--enable-proj], [enables PROJ.4 inclusion [default=yes]])],
[], [enable_proj=yes])
if test x"$enable_proj" != "xno"; then
AC_CHECK_HEADERS(proj_api.h,, [AC_MSG_ERROR([cannot find proj_api.h, bailing out])])
AC_SEARCH_LIBS(pj_init_plus,proj,,AC_MSG_ERROR(['libproj' is required but it doesn't seem to be installed on this system.]),-lm)
AC_SEARCH_LIBS(pj_init_ctx,proj,,AC_MSG_ERROR(['libproj' is required but the version on this system does not support the required features (Version 4.8.0 or later is needed).]),-lm)
else
AC_DEFINE(OMIT_PROJ)
fi