]> git.meshlink.io Git - catta/commitdiff
* using AC_GNU_SOURCE instead of -D _GNU_SOURCE
authorSebastien Estienne <sebastien.estienne@gmail.com>
Fri, 1 Jul 2005 14:18:12 +0000 (14:18 +0000)
committerSebastien Estienne <sebastien.estienne@gmail.com>
Fri, 1 Jul 2005 14:18:12 +0000 (14:18 +0000)
* fixed a typo? in dbus-protocol ("% s" -> " %s")

git-svn-id: file:///home/lennart/svn/public/avahi/trunk@159 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe

avahi-client/Makefile.am
avahi-common/Makefile.am
avahi-core/Makefile.am
avahi-daemon/Makefile.am
avahi-daemon/dbus-protocol.c
avahi-discover/Makefile.am
avahi-dnsconfd/Makefile.am
configure.ac

index f4d60a46b3670cb03a0e15ffdbdd84d20a7fd6b1..8f9dce0435612644300c9e2e11951c8695ccc777 100644 (file)
@@ -17,7 +17,7 @@
 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
 # USA.
 
-AM_CFLAGS=-I$(top_srcdir) -D_GNU_SOURCE
+AM_CFLAGS=-I$(top_srcdir)
 
 # GLIB 2.0
 AM_CFLAGS+=$(GLIB20_CFLAGS)
index b8532c0f65348befcbabdb084d2d466593f0f44c..ffadb3ce7604dd4251ad21785d5fab54cb3695d3 100644 (file)
@@ -17,7 +17,7 @@
 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
 # USA.
 
-AM_CFLAGS=-I$(top_srcdir) -D_GNU_SOURCE
+AM_CFLAGS=-I$(top_srcdir)
 
 # GLIB 2.0
 AM_CFLAGS+=$(GLIB20_CFLAGS)
index fb9ffeacfec8e2fa6b3613783043df8f435104fa..8280560ef7be7f8cfa8f5aa5a061dc8bf6c0f075 100644 (file)
@@ -17,7 +17,7 @@
 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
 # USA.
 
-AM_CFLAGS=-I$(top_srcdir) -D_GNU_SOURCE
+AM_CFLAGS=-I$(top_srcdir)
 
 # GLIB 2.0
 AM_CFLAGS+=$(GLIB20_CFLAGS)
index 6ad5421b1f0ebe9da74c9f489370ee0f74e8a2cd..9ea1733675f163336e95a206be7865c428bf84fb 100644 (file)
@@ -22,7 +22,6 @@ servicedir=$(pkgsysconfdir)/services
 
 AM_CFLAGS= \
        -I$(top_srcdir) \
-       -D_GNU_SOURCE \
        -DAVAHI_SERVICE_DIRECTORY=\"$(servicedir)\" \
        -DAVAHI_CONFIG_FILE=\"$(pkgsysconfdir)/avahi.conf\"
 
index 2d1db32902eacdcfd6094b690a87dc67d0206b54..4bd9caaa1b8cc3b0d272b10a5133240ceb9f8c48 100644 (file)
@@ -53,7 +53,7 @@ do_register (DBusConnection *conn, DBusMessage *message)
         return DBUS_HANDLER_RESULT_NOT_YET_HANDLED;
     }
 
-    g_message ("Register received from: %s (dbus:s)", s, dbus_message_get_sender (message));
+    g_message ("Register received from: %s (dbus: %s)", s, dbus_message_get_sender (message));
 
     return DBUS_HANDLER_RESULT_HANDLED;
 }
index 7b0c7fa2fdadf986bf6fdaf6155b131e881246e6..338f528924bbd1be588d7d3af3409c35e42cc434 100644 (file)
@@ -17,7 +17,7 @@
 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
 # USA.
 
-AM_CFLAGS=-I$(top_srcdir) -D_GNU_SOURCE
+AM_CFLAGS=-I$(top_srcdir)
 
 AM_CFLAGS+=$(GLIB20_CFLAGS) $(GTK20_CFLAGS) $(GLADE20_CFLAGS)
 AM_LDADD=$(GLIB20_LIBS) $(GTK20_LIBS) $(GLADE20_LIBS)
index d3bd833945ed6f1537a5969fb0f30fb0747667a2..5e55a941cf516dccec8435b68572b88c116154d5 100644 (file)
@@ -21,7 +21,6 @@ pkgsysconfdir=$(sysconfdir)/avahi
 
 AM_CFLAGS= \
        -I$(top_srcdir) \
-       -D_GNU_SOURCE \
        -DAVAHI_DNSCONF_SCRIPT=\"$(pkgsysconfdir)/dnsconf.action\"
 
 # GLIB 2.0
index 05b48c1e80ae819ef70ec9f556fa191639fb4378..65c0b116ad035969f02cca21f7ed54772fb3411a 100644 (file)
@@ -35,6 +35,7 @@ fi
 
 # Checks for programs.
 AC_PROG_CC
+AC_GNU_SOURCE
 AC_PROG_CPP
 AC_PROG_INSTALL
 AC_PROG_LN_S