# Public domain REGISTER("--enable-static", "Produce a static binary [default: no]") CHECK(cc) CHECK(pthreads) CHECK(sdl) CHECK(opengl) CHECK(freetype) CHECK(agar, 1.3) CHECK(agar-dev, 1.3) C_DEFINE(_USE_AGAR_TYPES) if [ "${HAVE_AGAR}" != "yes" ]; then echo "This demo requires Agar installed on your system." exit 1 fi if [ "${HAVE_AGAR_DEV}" != "yes" ]; then echo "This demo requires Agar-DEV installed on your system." exit 1 fi if [ "${enable_static}" = "yes" ]; then MDEFINE(LDFLAGS, "-static") fi