aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorJonathan Gray2004-07-27 12:16:03 +0000
committerJonathan Gray2004-07-27 12:16:03 +0000
commit3cf5c78c42a287a73ddd6ddb82f9c455f83c5309 (patch)
treee339be3fe57425f3e41c389014055a658bcccdc5 /configure
parentc8cbe16c7a4758d161abd31a311c6540b6355543 (diff)
downloadscummvm-rg350-3cf5c78c42a287a73ddd6ddb82f9c455f83c5309.tar.gz
scummvm-rg350-3cf5c78c42a287a73ddd6ddb82f9c455f83c5309.tar.bz2
scummvm-rg350-3cf5c78c42a287a73ddd6ddb82f9c455f83c5309.zip
Given Makefile now depends on the configure script output move these default parameters out to the configure script
svn-id: r14352
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure25
1 files changed, 19 insertions, 6 deletions
diff --git a/configure b/configure
index 3b1e4ba110..4933404534 100755
--- a/configure
+++ b/configure
@@ -2,17 +2,11 @@
#
# 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 do a debug build (with -g) or an optimized build (-O3 etc.)
# * detect whether the chosen backend is available (e.g. call sdl-config)
-# * generate a config.mak file for use in makefiles
# * ....
# TODO: We should really use mktemp(1) to determine a random tmp file name.
@@ -47,6 +41,15 @@ _nasm=auto
_backend=sdl
_ranlib=ranlib
_install=install
+_ar="ar cru"
+_mkdir="mkdir -p"
+_echo=printf
+_cat=cat
+_rm="rm -f"
+_rm_rec="$_rm -r"
+_zip="zip -q"
+_cp=cp
+_win32path="C:/scummvm"
_sdlconfig=sdl-config
_sdlpath="$PATH"
_nasmpath="$PATH"
@@ -1044,6 +1047,16 @@ CXXFLAGS += $CXXFLAGS
LIBS += $LIBS
RANLIB := $_ranlib
INSTALL := $_install
+AR := $_ar
+MKDIR := $_mkdir
+ECHO := $_echo
+CAT := $_cat
+RM := $_rm
+RM_REC := $_rm_rec
+ZIP := $_zip
+CP := $_cp
+WIN32PATH=$_win32path
+
BACKEND := $_backend
MODULES += $MODULES
MODULE_DIRS += $MODULE_DIRS