From 58452a6f37977878a69823f73321322699dc5744 Mon Sep 17 00:00:00 2001 From: stephena Date: Tue, 15 Jun 2010 17:57:54 +0000 Subject: [PATCH] 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 --- configure | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/configure b/configure index 22d384eb6..512bbd7cc 100755 --- a/configure +++ b/configure @@ -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"