← Back to team overview

ayatana-commits team mailing list archive

[Branch ~notify-osd-developers/notify-osd/main] Rev 401: added autoconf macro AC_PROG_C_C99 replacing -std=c99, fixes LP: #361788

 

------------------------------------------------------------
revno: 401
committer: Mirco Müller <mirco.mueller@xxxxxxxxxx>
branch nick: notify-osd
timestamp: Tue 2009-09-29 15:28:52 +0200
message:
  added autoconf macro AC_PROG_C_C99 replacing -std=c99, fixes LP: #361788
modified:
  configure.in
  tests/Makefile.am


--
lp:notify-osd
https://code.launchpad.net/~notify-osd-developers/notify-osd/main

Your team ayatana-commits is subscribed to branch lp:notify-osd.
To unsubscribe from this branch go to https://code.launchpad.net/~notify-osd-developers/notify-osd/main/+edit-subscription.
=== modified file 'configure.in'
--- configure.in	2009-09-24 13:09:49 +0000
+++ configure.in	2009-09-29 13:28:52 +0000
@@ -14,6 +14,7 @@
 AM_PROG_LIBTOOL
 AC_SUBST(ACLOCAL_AMFLAGS, "$ACLOCAL_FLAGS -I m4")
 AC_PROG_CC
+AC_PROG_CC_C99
 AM_PROG_CC_C_O
 AC_PROG_INSTALL
 
@@ -125,7 +126,7 @@
 AM_CONDITIONAL(BUILD_MONO_EXAMPLES, test "x$csharp_examples" != "xno")
 
 dnl CFLAGS
-CFLAGS="$CFLAGS -Wall -Werror -std=c99"
+CFLAGS="$CFLAGS -Wall -Werror"
 
 AC_OUTPUT([
 Makefile

=== modified file 'tests/Makefile.am'
--- tests/Makefile.am	2009-08-25 13:17:46 +0000
+++ tests/Makefile.am	2009-09-29 13:28:52 +0000
@@ -54,7 +54,7 @@
 
 test_modules_CFLAGS =		\
 	$(GCOV_CFLAGS)		\
-	-Wall -Werror -std=c99  \
+	-Wall -Werror		\
 	$(GLIB_CFLAGS)		\
 	$(GTK_CFLAGS)		\
 	-DWNCK_I_KNOW_THIS_IS_UNSTABLE \
@@ -89,7 +89,7 @@
 
 AM_CFLAGS = \
 	$(GCOV_CFLAGS) \
-	-Wall -Werror -std=c99  \
+	-Wall -Werror	\
 	$(GLIB_CFLAGS)		\
 	-I$(top_srcdir)/src -I$(top_srcdir)/egg -I$(top_srcdir)
 
@@ -120,7 +120,7 @@
 	test-raico.c
 
 test_raico_CFLAGS = \
-	-Wall -Werror -O0 -ggdb -std=c99  \
+	-Wall -Werror -O0 -ggdb \
 	$(GTK_CFLAGS) \
 	-I$(top_srcdir)/src \
 	-I$(top_srcdir)/
@@ -138,7 +138,7 @@
 	test-tile.c
 
 test_tile_CFLAGS = \
-	-Wall -Werror -O0 -ggdb -std=c99  \
+	-Wall -Werror -O0 -ggdb \
 	$(GTK_CFLAGS) \
 	-I$(top_srcdir)/src \
 	-I$(top_srcdir)
@@ -155,7 +155,7 @@
 	test-grow-bubble.c
 
 test_grow_bubble_CFLAGS = \
-	-Wall -Werror -O0 -ggdb -std=c99  \
+	-Wall -Werror -O0 -ggdb \
 	$(GTK_CFLAGS) \
 	-I$(top_srcdir)/src \
 	-I$(top_srcdir)
@@ -172,7 +172,7 @@
 	test-scroll-text.c
 
 test_scroll_text_CFLAGS = \
-	-Wall -Werror -O0 -ggdb -std=c99  \
+	-Wall -Werror -O0 -ggdb \
 	$(GTK_CFLAGS) \
 	-I$(top_srcdir)/src \
 	-I$(top_srcdir)/