diff -r e79a60b3a7cb -r 7c3ff86ee9d4 configure --- a/configure Sun Apr 16 10:20:21 2023 +0200 +++ b/configure Tue May 23 11:11:28 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 @@ -465,8 +477,8 @@ do cat >> $TEMP_DIR/make.mk << __EOF__ -OBJ_EXT = o -LIB_EXT = a +OBJ_EXT = .o +LIB_EXT = .a PACKAGE_SCRIPT = package_osx.sh __EOF__ @@ -488,8 +500,8 @@ do cat >> $TEMP_DIR/make.mk << __EOF__ -OBJ_EXT = o -LIB_EXT = a +OBJ_EXT = .o +LIB_EXT = .a PACKAGE_SCRIPT = package_unix.sh __EOF__ @@ -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