| 401 return 1 |
401 return 1 |
| 402 } |
402 } |
| 403 dependency_motif() |
403 dependency_motif() |
| 404 { |
404 { |
| 405 printf "checking for motif... " |
405 printf "checking for motif... " |
| |
406 # dependency motif platform="bsd" |
| |
407 while true |
| |
408 do |
| |
409 if isnotplatform "bsd"; then |
| |
410 break |
| |
411 fi |
| |
412 CFLAGS="$CFLAGS -DUI_MOTIF -I/usr/local/include/X11" |
| |
413 LDFLAGS="$LDFLAGS -lXm -lXt -lX11 -lpthread" |
| |
414 echo yes |
| |
415 return 0 |
| |
416 done |
| |
417 |
| 406 # dependency motif |
418 # dependency motif |
| 407 while true |
419 while true |
| 408 do |
420 do |
| 409 CFLAGS="$CFLAGS -DUI_MOTIF" |
421 CFLAGS="$CFLAGS -DUI_MOTIF" |
| 410 LDFLAGS="$LDFLAGS -lXm -lXt -lX11 -lpthread" |
422 LDFLAGS="$LDFLAGS -lXm -lXt -lX11 -lpthread" |