VirtualBox

Changeset 7699

Show
Ignore:
Timestamp:
04/02/08 17:00:32 (8 months ago)
Author:
vboxsync
Message:

configure: fixed SDL detection

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/configure

    r7522 r7699  
    916916    cat > .tmp_src.cc << EOF 
    917917#include <cstdio> 
    918 #include <SDL/SDL.h> 
    919 #include <SDL/SDL_main.h> 
     918#include <SDL.h> 
     919#include <SDL_main.h> 
    920920extern "C" int main(void) 
    921921{ 
     
    954954  cat > .tmp_src.cc << EOF 
    955955#include <cstdio> 
    956 #include <SDL/SDL_ttf.h> 
     956#include <SDL_ttf.h> 
    957957#ifndef SDL_TTF_MAJOR_VERSION 
    958958#define SDL_TTF_MAJOR_VERSION TTF_MAJOR_VERSION 
     
    973973} 
    974974EOF 
    975   if test_compile "-lSDL_ttf" SDL_ttf SDL_ttf; then 
     975  if test_compile "-lSDL_ttf $I_INCSDL" SDL_ttf SDL_ttf; then 
    976976    test_execute 
    977977  fi 

© 2008 Sun Microsystems, Inc.
ContactPrivacy policy