Skip to content

Commit

Permalink
configure script: updated the freebsd and openbsd case statements to …
Browse files Browse the repository at this point in the history
…make it work for building without X11
  • Loading branch information
hoseec27 committed Feb 26, 2024
1 parent 96648ae commit df4aaff
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -742,16 +742,22 @@ case "$SYS" in
*freebsd*)
why "For FreeBSD, we ignore the <sys/select.h> file"
NEED_SELECT_H="undef"
who " To support X11, it also requires -lipc"
XLIBS=" -lipc"
if [ "$GUI_X11" = "define" ]
then
why " To support X11, it also requires -lipc"
XLIBS=" -lipc"
fi
;;

*openbsd*)
why "For OpenBSD, we ignore the <sys/select.h> file"
NEED_SELECT_H="undef"
TLIBS="-lcurses"
who " To support X11, it also requires -lipc"
XLIBS=" -lipc"
if [ "$GUI_X11" = "define" ]
then
why " To support X11, it also requires -lipc"
XLIBS=" -lipc"
fi
;;

*netbsd*)
Expand Down

0 comments on commit df4aaff

Please sign in to comment.