aaaa
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@617 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
parent
32cc042a9a
commit
437fe7192f
5 changed files with 11 additions and 2 deletions
|
|
@ -37,8 +37,8 @@ dnl
|
|||
new_object([external/*.c])dnl
|
||||
dnl
|
||||
ifdef([target],[],[define([target],esyscmd([uname -s | xargs printf '%s']))])dnl
|
||||
syscmd([test -f ]cf/target.m4)dnl
|
||||
ifelse(sysval,[0],[include(cf/target.m4)],[errprint([M4 for your target (]cf/target.m4[) was not found, please make one
|
||||
syscmd([test -f ]m4/ostype/target.m4)dnl
|
||||
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
|
||||
dnl
|
||||
include(m4/toplevel/options.m4)dnl
|
||||
|
|
|
|||
9
configure
vendored
9
configure
vendored
|
|
@ -1,6 +1,15 @@
|
|||
#!/bin/sh
|
||||
# $Id$
|
||||
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
|
||||
echo "(M4 exited with non-zero status)"
|
||||
rm -f Makefile
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue