patches/ggz-client-libs-05-m4.diff
author yippi
Fri, 28 May 2010 23:39:20 +0000
changeset 18055 01fd9c376ba6
permissions -rw-r--r--
2010-05-28 Brian Cameron <[email protected]> * base-specs/clutter.spec, patches/clutter-02-annotations.diff: Added patch so that clutter will build with gobject-introspection > 0.6.10. * base-specs/gobject-introspection.spec: Bump to 0.6.12.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
18055
01fd9c376ba6 2010-05-28 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
     1
--- ggz-client-libs-0.0.14.1/m4/ggz/system.m4-orig	2010-05-26 14:35:02.746796832 -0500
01fd9c376ba6 2010-05-28 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
     2
+++ ggz-client-libs-0.0.14.1/m4/ggz/system.m4	2010-05-26 14:35:45.418836512 -0500
01fd9c376ba6 2010-05-28 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
     3
@@ -108,8 +108,11 @@ AM_ICONV
01fd9c376ba6 2010-05-28 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
     4
 AC_CHECK_LIB(intl, gettext, [LIB_GETTEXT="-lintl $LIBICONV"])
01fd9c376ba6 2010-05-28 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
     5
 save_libs=$LIBS
01fd9c376ba6 2010-05-28 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
     6
 LIBS="$LIB_GETTEXT"
01fd9c376ba6 2010-05-28 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
     7
+
01fd9c376ba6 2010-05-28 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
     8
 save_cflags=$CFLAGS
01fd9c376ba6 2010-05-28 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
     9
-CFLAGS="$CFLAGS -fno-builtin"
01fd9c376ba6 2010-05-28 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    10
+if test "$GCC" = yes; then
01fd9c376ba6 2010-05-28 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    11
+  CFLAGS="$CFLAGS -fno-builtin"
01fd9c376ba6 2010-05-28 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    12
+fi
01fd9c376ba6 2010-05-28 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    13
 AC_CHECK_FUNCS([gettext ngettext], [], [intl=0])
01fd9c376ba6 2010-05-28 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    14
 LIBS=$save_libs
01fd9c376ba6 2010-05-28 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    15
 CFLAGS=$save_cflags