diff options
Diffstat (limited to '')
-rw-r--r-- | audio/csound/scripts/check-fltk-threads.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/audio/csound/scripts/check-fltk-threads.sh b/audio/csound/scripts/check-fltk-threads.sh new file mode 100644 index 000000000000..5168db9e1bea --- /dev/null +++ b/audio/csound/scripts/check-fltk-threads.sh @@ -0,0 +1,10 @@ +#!/bin/sh + +if [ -z "$(fltk-config --ldflags | grep pthread)" ]; then + echo "FLTK does not have threading support enabled.e" + echo "Please remove the x11-toolkits/fltk port first and recompile csound again" + echo "The csound port will automatically install the x11-toolkits/fltk-threads port." + exit 1 +else + exit 0 +fi |