Ticket #576: qt.setup.patch

File qt.setup.patch, 495 bytes (added by ewfalor, 14 years ago)

Check chicken-version and call appropriate getenv function

  • (a) qt.setup vs. (b) ../qt.setup.patchy

    a b  
    55
    66
    77(define QTDIR
    8   (or (getenv "QTDIR")
    9       (error "please set the QTDIR environment variable") ) )
     8  (or
     9    (if (version>=? (chicken-version) "4.6.7")
     10      (get-environment-variable "QTDIR")
     11      (getenv "QTDIR"))
     12    (error "please set the QTDIR environment variable") ) )
    1013
    1114(define prefix (program-path))
    1215(define libpath (make-pathname prefix "lib"))