Lines 3713-3718
Link Here
|
3713 |
CFLAGS="$CFLAGS -DMISSING_DLFCN_H" |
3713 |
CFLAGS="$CFLAGS -DMISSING_DLFCN_H" |
3714 |
fi |
3714 |
fi |
|
|
3715 |
CFLAGS="$CFLAGS -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H=1" |
3716 |
|
3715 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 |
3717 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 |
3716 |
$as_echo_n "checking whether byte ordering is bigendian... " >&6; } |
3718 |
$as_echo_n "checking whether byte ordering is bigendian... " >&6; } |
3717 |
if ${ac_cv_c_bigendian+:} false; then : |
3719 |
if ${ac_cv_c_bigendian+:} false; then : |
Lines 4002-4011
Link Here
|
4002 |
PROJ_SETTING=missing |
4004 |
PROJ_SETTING=missing |
4003 |
fi |
4005 |
fi |
4004 |
for ac_header in projects.h |
4006 |
for ac_header in proj_api.h |
4005 |
do : |
4007 |
do : |
4006 |
ac_fn_c_check_header_mongrel "$LINENO" "projects.h" "ac_cv_header_projects_h" "$ac_includes_default" |
4008 |
ac_fn_c_check_header_mongrel "$LINENO" "proj_api.h" "ac_cv_header_proj_api_h" "$ac_includes_default" |
4007 |
if test "x$ac_cv_header_projects_h" = xyes; then : |
4009 |
if test "x$ac_cv_header_proj_api_h" = xyes; then : |
4008 |
cat >>confdefs.h <<_ACEOF |
4010 |
cat >>confdefs.h <<_ACEOF |
4009 |
#define HAVE_PROJECTS_H 1 |
4011 |
#define HAVE_PROJECTS_H 1 |
4010 |
_ACEOF |
4012 |
_ACEOF |
Lines 4016-4025
Link Here
|
4016 |
if test $PROJ_SETTING = missing ; then |
4018 |
if test $PROJ_SETTING = missing ; then |
4017 |
as_fn_error $? "Unable to find external PROJ.4 library, give path or use default internal library." "$LINENO" 5 |
4019 |
as_fn_error $? "Unable to find external PROJ library, give path or use default internal library." "$LINENO" 5 |
4018 |
fi |
4020 |
fi |
4019 |
if test "$ac_cv_header_projects_h" = no ; then |
4021 |
if test "$ac_cv_header_proj_api_h" = no ; then |
4020 |
as_fn_error $? "Unable to find external PROJ.4 projects.h file, give path or use default internal library." "$LINENO" 5 |
4022 |
as_fn_error $? "Unable to find external PROJ proj_api.h file, give path or use default internal library." "$LINENO" 5 |
4021 |
fi |
4023 |
fi |
4022 |
PROJ_SETTING=external |
4024 |
PROJ_SETTING=external |
Lines 4027-4037
Link Here
|
4027 |
elif test "$with_proj" != "no" -a "$with_proj" != "" ; then |
4029 |
elif test "$with_proj" != "no" -a "$with_proj" != "" ; then |
4028 |
if test -r $with_proj/include/projects.h ; then |
4030 |
if test -r $with_proj/include/proj_api.h ; then |
4029 |
echo "checking for $with_proj/include/projects.h ... found" |
4031 |
echo "checking for $with_proj/include/proj_api.h ... found" |
4030 |
PROJ_INCLUDE=-I$with_proj/include |
4032 |
PROJ_INCLUDE=-I$with_proj/include |
4031 |
else |
4033 |
else |
4032 |
as_fn_error $? "Unable to find $with_proj/include/projects.h" "$LINENO" 5 |
4034 |
as_fn_error $? "Unable to find $with_proj/include/proj_api.h" "$LINENO" 5 |
4033 |
fi |
4035 |
fi |
4034 |
if test -r $with_proj/lib/libproj.so ; then |
4036 |
if test -r $with_proj/lib/libproj.so ; then |