#!/bin/sh if [ "$help" = "1" ] then cat << EOF Linsys options: --linsys-with-jpeg - Enable the option to export JPEGs (disabled by default) EOF else if [ "$targetos" = "Darwin" ] || [ "$targetos" = "MinGW" ] then echo "- does not build on OS X or Windows: disabling" touch ../disable-linsys exit 0 fi touch config.mak for i in "$@" do case $i in --linsys-with-jpeg ) echo "WITH_JPEG=1" > config.mak ;; esac done exit 0 fi