VirtualBox

Changeset 7699 in vbox for trunk/configure


Ignore:
Timestamp:
Apr 2, 2008 3:00:32 PM (17 years ago)
Author:
vboxsync
Message:

configure: fixed SDL detection

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette