~ubuntu-branches/ubuntu/quantal/sunpinyin/quantal

« back to all changes in this revision

Viewing changes to SConstruct

  • Committer: Package Import Robot
  • Author(s): YunQiang Su
  • Date: 2012-04-11 03:06:40 UTC
  • mfrom: (1.1.4) (1.2.8 sid)
  • Revision ID: package-import@ubuntu.com-20120411030640-8mxepz5e6wffy87c
Tags: 2.0.3+git20120404-1
* Medium urgency for fixing RC bug.
* New upstream commit: fix FTBFS with gcc-4.7 (Closes: #667385).
* Add Multi-Arch: same to libsunpinyin3, -dev and -dbg.
* Add YunQiang Su to uploaders.

Show diffs side-by-side

added added

removed removed

Lines of Context:
313
313
    conf.CheckCHeader('sys/param.h')
314
314
    conf.CheckCHeader('sys/stat.h')
315
315
    conf.CheckCHeader('sys/types.h')
316
 
    conf.CheckCHeader('unistd.h')
 
316
    if conf.CheckCHeader('unistd.h'):
 
317
        conf.Define('DHAVE_UNISTD_H', 1)
317
318
    conf.CheckCHeader('wchar.h')
318
319
 
319
320
    # add essential package requirements