* 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 f4d60a4..8f9dce0 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 b8532c0..ffadb3c 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 fb9ffea..8280560 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 6ad5421..9ea1733 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 2d1db32..4bd9caa 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 7b0c7fa..338f528 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 d3bd833..5e55a94 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 05b48c1..65c0b11 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