Add ability to force use of built-in png and zlib library code, even on

systems where these libraries are available.  This is useful for testing,
and also for release builds (where we don't necessarily know if
zlib and libpng are installed).


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2051 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
This commit is contained in:
stephena 2010-06-15 17:57:54 +00:00
parent ad3a22b9e5
commit 58452a6f37
1 changed files with 4 additions and 0 deletions

4
configure vendored
View File

@ -197,6 +197,8 @@ Optional Features:
--disable-static
--enable-profile build binary with profiling info [disabled]
--disable-profile
--force-builtin-libpng force use of built-in libpng library [auto]
--force-builtin-zlib force use of built-in zlib library [auto]
Optional Libraries:
--with-sdl-prefix=DIR Prefix where the sdl-config script is installed (optional)
@ -236,6 +238,8 @@ for ac_option in $@; do
--disable-static) _build_static=no ;;
--enable-profile) _build_profile=yes ;;
--disable-profile) _build_profile=no ;;
--force-builtin-libpng) _libpng=no ;;
--force-builtin-zlib) _zlib=no ;;
--with-sdl-prefix=*)
arg=`echo $ac_option | cut -d '=' -f 2`
_sdlpath="$arg:$arg/bin"