diff -r 2cb06c231057 -r bc63cb601f6d configure --- a/configure Mon May 22 19:44:27 2023 +0200 +++ b/configure Mon May 22 21:21:20 2023 +0200 @@ -403,6 +403,18 @@ dependency_motif() { printf "checking for motif... " + # dependency motif platform="bsd" + while true + do + if isnotplatform "bsd"; then + break + fi + CFLAGS="$CFLAGS -DUI_MOTIF -I/usr/local/include/X11" + LDFLAGS="$LDFLAGS -lXm -lXt -lX11 -lpthread" + echo yes + return 0 + done + # dependency motif while true do @@ -499,6 +511,22 @@ break done +while true +do + if isnotplatform "bsd"; then + break + fi + while true + do + + CFLAGS="$CFLAGS -I/usr/local/include" + LDFLAGS="$LDFLAGS -L/usr/local/lib" + + break + done + + break +done # add general dependency flags to config.mk echo >> $TEMP_DIR/config.mk