mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2026-01-06 17:39:45 +00:00
aaaa
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@617 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
@@ -37,8 +37,8 @@ dnl
|
|||||||
new_object([external/*.c])dnl
|
new_object([external/*.c])dnl
|
||||||
dnl
|
dnl
|
||||||
ifdef([target],[],[define([target],esyscmd([uname -s | xargs printf '%s']))])dnl
|
ifdef([target],[],[define([target],esyscmd([uname -s | xargs printf '%s']))])dnl
|
||||||
syscmd([test -f ]cf/target.m4)dnl
|
syscmd([test -f ]m4/ostype/target.m4)dnl
|
||||||
ifelse(sysval,[0],[include(cf/target.m4)],[errprint([M4 for your target (]cf/target.m4[) was not found, please make one
|
ifelse(sysval,[0],[include(m4/ostype/target.m4)],[errprint([M4 for your target (]m4/ostype/target.m4[) was not found, please make one
|
||||||
])m4exit(1)])dnl
|
])m4exit(1)])dnl
|
||||||
dnl
|
dnl
|
||||||
include(m4/toplevel/options.m4)dnl
|
include(m4/toplevel/options.m4)dnl
|
||||||
|
|||||||
9
configure
vendored
9
configure
vendored
@@ -1,6 +1,15 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
# $Id$
|
||||||
FLAGS="-Duse_freetype2 -Duse_stb_image -Dbuild_opengl -Dbuild_vulkan"
|
FLAGS="-Duse_freetype2 -Duse_stb_image -Dbuild_opengl -Dbuild_vulkan"
|
||||||
|
|
||||||
|
for i in $@; do
|
||||||
|
case "$i")
|
||||||
|
--help|-h)
|
||||||
|
echo "Configuration utility for Milsko Toolkit"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
done
|
||||||
|
|
||||||
if ! m4 $FLAGS Makefile.m4 > Makefile; then
|
if ! m4 $FLAGS Makefile.m4 > Makefile; then
|
||||||
echo "(M4 exited with non-zero status)"
|
echo "(M4 exited with non-zero status)"
|
||||||
rm -f Makefile
|
rm -f Makefile
|
||||||
|
|||||||
Reference in New Issue
Block a user