~ubuntu-branches/ubuntu/saucy/goffice/saucy-proposed

« back to all changes in this revision

Viewing changes to .pc/no-nested-externs-error.patch/configure.ac

  • Committer: Package Import Robot
  • Author(s): Dmitry Smirnov
  • Date: 2013-08-30 14:03:56 UTC
  • mfrom: (1.2.35)
  • Revision ID: package-import@ubuntu.com-20130830140356-a1e30nbdku8kg4q0
Tags: 0.10.6-1
* New upstream release [August 2013].
* Dropped backported "pixbuf-fixes.patch".

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
 
6
6
m4_define([goffice_version_epoch], [0])
7
7
m4_define([goffice_version_major], [10])
8
 
m4_define([goffice_version_minor], [4])
 
8
m4_define([goffice_version_minor], [6])
9
9
m4_define([goffice_version_extra], [])
10
10
m4_define([goffice_full_version],
11
11
          [goffice_version_epoch.goffice_version_major.goffice_version_minor[]goffice_version_extra])
445
445
                SAVE_CFLAGS="$CFLAGS"
446
446
                CFLAGS="$CFLAGS $uwoption $option"
447
447
                AC_MSG_CHECKING([whether gcc understands $option])
 
448
                dnl Include a system header so we ignore Werror=... flags
 
449
                dnl that cause trouble.
448
450
                AC_COMPILE_IFELSE(
449
 
                        [AC_LANG_PROGRAM([], [])],
 
451
                        [AC_LANG_PROGRAM([[#include <stdio.h>]], [])],
450
452
                        [has_option=yes],
451
453
                        [has_option=no])
452
454
                CFLAGS="$SAVE_CFLAGS"