Skip to content
This repository was archived by the owner on Sep 3, 2024. It is now read-only.

Commit 4d585a8

Browse files
Merge pull request #139 from youpong/support-macOS
Support macOS
2 parents 1868b25 + 6e53c0a commit 4d585a8

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

README.md

+6
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,15 @@
3535

3636
for building
3737

38+
* GNU getopt - 2.37.2 or later
3839
* GNU Make - 4.3 or later
3940
* GCC - 11.3.0 or later
4041

42+
for macOS, You can install gnu-getopt by runnning the following command.
43+
```
44+
$ brew install gnu-getopt
45+
```
46+
4147
for generating API documents
4248

4349
* Doxygen - 1.9.1 or later

configure

+2
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ LIB_DIR=/share/procfetch
1313

1414
if [[ -d "/usr/local/opt/gnu-getopt/bin" ]]; then
1515
PATH="/usr/local/opt/gnu-getopt/bin:$PATH"
16+
elif [[ -d "/opt/homebrew/opt/gnu-getopt/bin" ]]; then
17+
PATH="/opt/homebrew/opt/gnu-getopt/bin:$PATH"
1618
fi
1719

1820
function show_usage {

0 commit comments

Comments
 (0)