Changeset 27100 in project


Ignore:
Timestamp:
07/21/12 18:33:18 (9 years ago)
Author:
megane
Message:

sdl: Install sdl.types if chicken version is >= 4.7.4

File:
1 edited

Legend:

Unmodified
Added
Removed
  • release/4/sdl/trunk/sdl.setup

    r27096 r27100  
    3939                          " -lSDL_gfx -lSDL_net -lSDL_ttf -lSDL_image"
    4040                          (escape-flags
    41                            (with-input-from-pipe "sdl-config --libs" read-line)))))
    42   (compile -s -O3 -d1 sdl.scm -j sdl -lSDL ,sdl-cflags ,sdl-lflags)
    43   (compile -s -O3 -d0 sdl.import.scm ,sdl-cflags ,sdl-lflags))
     41                           (with-input-from-pipe "sdl-config --libs" read-line))))
     42       (types? (version>=? (chicken-version) "4.7.4"))
     43       (files (append '("sdl.so" "sdl.import.so")
     44                      (if types? '("sdl.types") '()))))
     45  (compile ,@(if types? '(-emit-type-file sdl.types) '())
     46           -s -O3 -d1 sdl.scm -j sdl -lSDL ,sdl-cflags ,sdl-lflags)
     47  (compile -s -O3 -d0 sdl.import.scm ,sdl-cflags ,sdl-lflags)
    4448
    45 (install-extension 'sdl '("sdl.so" "sdl.import.so") '((version "0.5.5")))
     49  (install-extension 'sdl files '((version "0.5.5"))))
    4650
Note: See TracChangeset for help on using the changeset viewer.