autogen.sh
author Sunny Sachanandani <sunnysachanandani@gmail.com>
Fri, 09 Jul 2010 21:36:41 +0530
changeset 4590 1ad70fb49fcb
parent 3377 c8d350c981ff
child 5409 30205e106bba
permissions -rwxr-xr-x
Fix so many things that there is little place in this column to list them all but the result is that blending modes just work now for drawing primitives.

Fixes involved:
1. Fix handling of alpha channel when SDL_BLENDMODE_NONE is set.
2. Make xrendercolor use floating-point values for color channels and then convert to 16 bit ints.
3. Fix handling of visuals in SDL_x11modes.c so that a 32 bit ARGB visual is used.
4. Fix the background pixel value in SDL_x11window.c so that the window background has an alpha value of 0xFF and not 0.
     1 #!/bin/sh
     2 #
     3 echo "Generating build information using autoconf"
     4 echo "This may take a while ..."
     5 
     6 # Generate SDL_revision.h
     7 sh build-scripts/updaterev.sh
     8 
     9 # Regenerate configuration files
    10 cat acinclude/* >aclocal.m4
    11 found=false
    12 for autoconf in autoconf autoconf259 autoconf-2.59
    13 do if which $autoconf >/dev/null 2>&1; then $autoconf && found=true; break; fi
    14 done
    15 if test x$found = xfalse; then
    16     echo "Couldn't find autoconf, aborting"
    17     exit 1
    18 fi
    19 (cd test; sh autogen.sh)
    20 
    21 # Run configure for this platform
    22 echo "Now you are ready to run ./configure"