Skip to content

Commit

Permalink
Ticket #27: build failing on M1 Mac
Browse files Browse the repository at this point in the history
  • Loading branch information
andershenja committed May 16, 2023
1 parent 09af528 commit d4e97f3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -4366,7 +4366,7 @@ printf %s "checking Checking if libproj can be found in proj-path... " >&6; }
if [ "$TMP" = "" ]; then
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
printf "%s\n" "no" >&6; }
as_fn_error $? "Could not identify libproj in directory $check_proj_proj_inc, aborting!" "$LINENO" 5
as_fn_error $? "Could not identify libproj in directory $check_proj_proj_lib, aborting!" "$LINENO" 5
else
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
printf "%s\n" "yes" >&6; }
Expand Down Expand Up @@ -4416,9 +4416,9 @@ printf "%s\n" "$check_proj_proj_homebrewprefix" >&6; }
fi
if [ "$check_proj_proj_homebrewprefix" != "" ]; then
PROJ_LDFLAGS="-L$check_proj_proj_lib"
PROJ_LDFLAGS="-L$check_proj_proj_homebrewprefix/lib"
PROJ_LIBS="-lproj"
PROJ_CFLAGS="-I$HOMEBREWPREFIX/include"
PROJ_CFLAGS="-I$check_proj_proj_homebrewprefix/include"
fi
fi
fi
Expand Down
6 changes: 3 additions & 3 deletions tools/m4/check_proj.m4
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ if [[ "$check_proj_proj_with_proj" != "no" ]]; then
TMP=`ls -1 "$check_proj_proj_lib"/libproj.* 2>/dev/null`
if [[ "$TMP" = "" ]]; then
AC_MSG_RESULT([no])
AC_MSG_ERROR([Could not identify libproj in directory $check_proj_proj_inc, aborting!])
AC_MSG_ERROR([Could not identify libproj in directory $check_proj_proj_lib, aborting!])
else
AC_MSG_RESULT([yes])
fi
Expand Down Expand Up @@ -180,9 +180,9 @@ if [[ "$check_proj_proj_with_proj" != "no" ]]; then
fi
if [[ "$check_proj_proj_homebrewprefix" != "" ]]; then
PROJ_LDFLAGS="-L$check_proj_proj_lib"
PROJ_LDFLAGS="-L$check_proj_proj_homebrewprefix/lib"
PROJ_LIBS="-lproj"
PROJ_CFLAGS="-I$HOMEBREWPREFIX/include"
PROJ_CFLAGS="-I$check_proj_proj_homebrewprefix/include"
fi
fi
fi
Expand Down

0 comments on commit d4e97f3

Please sign in to comment.