diff options
-rw-r--r-- | .cvsignore | 1 | ||||
-rwxr-xr-x | configure | 18 |
2 files changed, 18 insertions, 1 deletions
diff --git a/.cvsignore b/.cvsignore index 33b17e0c0f..abc6d8292e 100644 --- a/.cvsignore +++ b/.cvsignore @@ -4,5 +4,6 @@ ChangeLog build.rules config.h +config.mak scummvm ScummVM.app @@ -26,6 +26,8 @@ _alsa=auto _build_scumm=yes _build_simon=yes _build_sky=yes +# binary names +_ranlib=ranlib echocheck () { @@ -192,9 +194,13 @@ printf "Checking hosttype... " hosttype=`uname -s` echo $hosttype case $hosttype in - Linux) + Linux | OpenBSD | FreeBSD | NetBSD | BSD/OS | SunOS | HP-UX) echo "#define UNIX" >> config.h ;; + IRIX) + echo "#define UNIX" >> config.h + ranlib=ar -r + ;; Darwin) echo "#define UNIX" >> config.h echo "#define MACOSX" >> config.h @@ -325,3 +331,13 @@ echo "$_alsa" # echo "" >> config.h echo "#endif /* CONFIG_H */" >> config.h + +echo "Creating config.mak" +cat > config.mak << EOF +# -------- Generated by configure ----------- + +CXX = $CXX +LIBS = $LIBS +RANLIB = $_ranlib + +EOF |