~ubuntu-branches/ubuntu/oneiric/fprint-demo/oneiric

« back to all changes in this revision

Viewing changes to configure.ac

  • Committer: Bazaar Package Importer
  • Author(s): Rohan Garg
  • Date: 2010-08-15 03:30:56 UTC
  • mfrom: (2.1.4 sid)
  • Revision ID: james.westby@ubuntu.com-20100815033056-50rsaehk8krticuk
Tags: 20080303git-5ubuntu1
* Merge with debian (lp: #603831), remaining changes
  - Add dh_icons in debian/rules to install icons
  - Build-depend on debhelper >= 5.0.51~ for dh_icons
  - Add usr/share/applications to debian/dirs

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
AC_SUBST(GTK_LIBS)
15
15
AC_SUBST(GTK_CFLAGS)
16
16
 
17
 
AC_CONFIG_FILES([Makefile] [src/Makefile])
 
17
# Restore gnu89 inline semantics on gcc 4.3 and newer
 
18
saved_cflags="$CFLAGS"
 
19
CFLAGS="$CFLAGS -fgnu89-inline"
 
20
AC_COMPILE_IFELSE(AC_LANG_PROGRAM([]), inline_cflags="-fgnu89-inline", inline_cflags="")
 
21
CFLAGS="$saved_cflags"
 
22
 
 
23
AM_CFLAGS="-std=gnu99 $inline_cflags -Wall -Wundef -Wunused -Wstrict-prototypes -Werror-implicit-function-declaration -Wno-pointer-sign -Wshadow"
 
24
AC_SUBST(AM_CFLAGS)
 
25
 
 
26
AC_CONFIG_FILES([Makefile] [src/Makefile] [icons/Makefile])
18
27
AC_OUTPUT
19
28