Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
edzer committed Jan 11, 2024
1 parent 7cd821b commit 8ea8c39
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -3477,9 +3477,9 @@ int main(void) {
}
_EOCONF
#AC_CHECK_LIB(proj,proj_context_create,,proj6ok=no)
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking PROJ: checking whether PROJ and sqlite3 are available for linking:" >&5
printf %s "checking PROJ: checking whether PROJ and sqlite3 are available for linking:... " >&6; }
${CXX} ${CPPFLAGS} ${LDFLAGS} -o proj_conf_test proj_conf_test.cpp ${LIBS} -lsqlite3 2> errors.txt
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking PROJ: checking whether linking against PROJ works:" >&5
printf %s "checking PROJ: checking whether linking against PROJ works:... " >&6; }
${CXX} ${CPPFLAGS} ${LDFLAGS} -o proj_conf_test proj_conf_test.cpp ${LIBS} 2> errors.txt
if test `echo $?` -ne 0 ; then
proj6ok=no
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
Expand Down
4 changes: 2 additions & 2 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,8 @@ int main(void) {
}
_EOCONF]
#AC_CHECK_LIB(proj,proj_context_create,,proj6ok=no)
AC_MSG_CHECKING(PROJ: checking whether PROJ and sqlite3 are available for linking:)
${CXX} ${CPPFLAGS} ${LDFLAGS} -o proj_conf_test proj_conf_test.cpp ${LIBS} -lsqlite3 2> errors.txt
AC_MSG_CHECKING(PROJ: checking whether linking against PROJ works:)
${CXX} ${CPPFLAGS} ${LDFLAGS} -o proj_conf_test proj_conf_test.cpp ${LIBS} 2> errors.txt
if test `echo $?` -ne 0 ; then
proj6ok=no
AC_MSG_RESULT(no)
Expand Down

1 comment on commit 8ea8c39

@jeroen
Copy link
Contributor

@jeroen jeroen commented on 8ea8c39 Jan 11, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe you can cat errors.txt that you generate here, in case of a failure? That way we can see what is the problem.

Please sign in to comment.