Changeset 15550 in project


Ignore:
Timestamp:
08/23/09 18:02:33 (10 years ago)
Author:
sjamaan
Message:

Remove X-specific features

Location:
release/4/imlib2/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • release/4/imlib2/trunk/imlib2.scm

    r15549 r15550  
    6262(define-foreign-type updates    c-pointer)
    6363(define-foreign-type context    c-pointer)
    64 (cond-expand (with-x
    65               (define-foreign-type visual       (c-pointer "Visual")))
    66              (else))
    6764
    6865(define-syntax define-foreign-enum&string
     
    451448  (foreign-lambda image imlib_context_get_image))
    452449
    453 (cond-expand (with-x
    454               (define imlib-context-set-visual
    455                 (foreign-lambda void imlib_context_set_visual visual)))
    456              (else))
    457 
    458450(define imlib-context-set-cliprect
    459451  (foreign-lambda void imlib_context_set_cliprect int int int int))
  • release/4/imlib2/trunk/imlib2.setup

    r15549 r15550  
    55
    66(define with-x?
    7   (test-compile "#include <Imlib.h>\nint main(){ return 0; }" #:ldflags "`imlib2-config --libs`" "`imlib2-config --cflags`" RPATH-FLAGS))
     7  (test-compile "#include <Imlib2.h>\n int main(){ return 0; }" #:ldflags "`imlib2-config --libs`" #:cflags "`imlib2-config --cflags`"))
    88
    99(if with-x?
Note: See TracChangeset for help on using the changeset viewer.