Re: [AD] 4.2.0 Beta 3 woes

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On Thu, 2005-06-02 at 16:49 -0500, Shawn Walker wrote:
> Ok I added it, here's my new configure line, but I still have the same
> problem (yes, I did a make clean and a make depend):
> 
> ./configure --prefix=/usr/local --enable-shared=no --enable-modules=no
> --enable-static=yes --enable-asm=no --enable-vga=no
> 
> So, I tried this configure line:
> ./configure --prefix=/usr/local --enable-shared=no --enable-modules=no
> --enable-static=yes --enable-asm=no --enable-vga=no --enable-fbcon=no
> --enable-svgalib=no
> 
> Still, same problem. Wheee....

Yes, sorry, was just guessing. I don't know too much about the different
drivers..

The attached patch fixes it I think. (simply running make after applying
it should complete the build..)

I only wonder why it works here in linux, with the exact same configure
line.

-- 
Elias Pschernig
Index: tests/test.c
===================================================================
RCS file: /cvsroot/alleg/allegro/tests/test.c,v
retrieving revision 1.37
diff -u -p -r1.37 test.c
--- tests/test.c	16 May 2005 13:07:58 -0000	1.37
+++ tests/test.c	2 Jun 2005 21:56:21 -0000
@@ -1984,7 +1984,7 @@ void hscroll_test(void)
 
    if (gfx_driver->scroll == NULL)
       textout_ex(screen, font, "Hardware scrolling not supported", 32, 112, palette_color[15], -1);
- #ifdef GFX_MODEX
+ #ifdef GFX_HAS_VGA
    else if (gfx_driver->id == GFX_MODEX)
       textout_ex(screen, font, "PGUP/PGDN to adjust the split screen", 32, 112, palette_color[15], -1);
  #endif
@@ -2030,7 +2030,7 @@ void hscroll_test(void)
 
       scroll_screen(x, y);
 
-    #ifdef GFX_MODEX
+    #ifdef GFX_HAS_VGA
       if (gfx_driver->id == GFX_MODEX)
 	 split_modex_screen(split);
     #endif
@@ -2045,7 +2045,7 @@ void hscroll_test(void)
 
    scroll_screen(0, 0);
 
- #ifdef GFX_MODEX
+ #ifdef GFX_HAS_VGA
    if (gfx_driver->id == GFX_MODEX)
       split_modex_screen(0);
  #endif


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/