diff options
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/configure b/configure new file mode 100755 index 0000000000..af77da7b35 --- /dev/null +++ b/configure @@ -0,0 +1,25 @@ +#!/bin/sh +# +# THIS SCRIPT DOESN'T DO ANYTHING YET! +# +# Some things this script could/should do when finished +# +# * detect the compiler name (g++/c++/...) +# * detect whether its a GNU compiler or not (for compiler settings) +# * detect the host platform and base settings on this: +# - #defines like -DUNIX and -DMACOSX +# - required libs like -lmingw32 +# * command line options to... +# - override the host settings (for cross compiles +# - select the desired backend (sdl, x11, ...) +# - whether to dump scripts (sets -DDUMP_SCRIPTS) +# - whether mad should be used (--enabled-mad) -> set LIBS/DEFINES +# * detect whether the chose backend is available (e.g. call sdl-config) +# * detect whether mad/ALSA/... are available +# * detect endianess and write that into config.h +# * detect size of data types and write that into config.h +# * .... + +echo "Implement me!" + + |