Skip to content

Commit

Permalink
Add homebrew path to locations searched for pcre.
Browse files Browse the repository at this point in the history
  • Loading branch information
wyld-sw committed Dec 28, 2023
1 parent 33a5b8d commit d5bf3a5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion configure
Original file line number Diff line number Diff line change
Expand Up @@ -3744,7 +3744,7 @@ if test "$pcreenable" = "1"; then
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for PCRE directory" >&5
printf %s "checking for PCRE directory... " >&6; }
if test -z "$pcredir"; then
for maindir in ~ /usr/local /usr/local/opt /usr/pkg /sw /opt/local /opt /usr
for maindir in ~ /opt /opt/homebrew /opt/local /sw /usr /usr/local /usr/local/opt /usr/pkg
do
for dir in $maindir $maindir/pcre
do
Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ AC_ARG_WITH(pcre,
if test "$pcreenable" = "1"; then
AC_MSG_CHECKING([for PCRE directory])
if test -z "$pcredir"; then
for maindir in ~ /usr/local /usr/local/opt /usr/pkg /sw /opt/local /opt /usr
for maindir in ~ /opt /opt/homebrew /opt/local /sw /usr /usr/local /usr/local/opt /usr/pkg
do
for dir in $maindir $maindir/pcre
do
Expand Down

0 comments on commit d5bf3a5

Please sign in to comment.