From c336c7e25c91352c311e3da8f1b881d4e1875b2c Mon Sep 17 00:00:00 2001 From: Robert Ginda Date: Tue, 4 Aug 2015 14:46:50 -0700 Subject: Initial add of Android.mk files. These files were initially generated by the third party "androgenizer", but then updated and cleaned up by hand. The changes to the generated files were: * Hand edited some Android.mk files to add the lib prefix, changed build types, fix references to the dbus library. * Remove Android.mk files for avahi-glib and avahi-gobject since we're not going to need them. * Remove outdated LOCAL_PRELINK_MODULE variable. * Remove LOCAL_MODULE_TAGS from static modules. * Convert literal tabs to 4 spaces. * Dump a warning and exit from update_android_mk.sh, since we've diverged from the generated output. Change user/group (in config.h) from "avahi" to "system". Bug: 22827641 Change-Id: I84c3d7a96e091797f4380003045836f8183531ad --- .gitignore | 3 - Android.mk | 60 +------- avahi-client/Android.mk | 64 ++++++++ avahi-common/Android.mk | 57 +++++++ avahi-common/Makefile.am | 2 +- avahi-core/Android.mk | 83 ++++++++++ avahi-daemon/Android.mk | 91 +++++++++++ avahi-daemon/Makefile.am | 2 +- avahi-daemon/glob.h | 2 +- avahi-daemon/main.h | 4 + avahi-utils/Android.mk | 53 +++++++ config.h | 393 +++++++++++++++++++++++++++++++++++++++++++++++ 12 files changed, 749 insertions(+), 65 deletions(-) create mode 100644 avahi-client/Android.mk create mode 100644 avahi-common/Android.mk create mode 100644 avahi-core/Android.mk create mode 100644 avahi-daemon/Android.mk create mode 100644 avahi-utils/Android.mk create mode 100644 config.h diff --git a/.gitignore b/.gitignore index 77e6429..b93fdd3 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,3 @@ -Android.mk intltool-extract.in intltool-merge.in intltool-update.in @@ -19,13 +18,11 @@ aclocal.m4 *.cache compile config.guess -config.h config.h.in config.log config.rpath config.status config.sub -configure depcomp install-sh libtool diff --git a/Android.mk b/Android.mk index f52c33e..5053e7d 100644 --- a/Android.mk +++ b/Android.mk @@ -1,59 +1 @@ -LOCAL_PATH:= $(call my-dir) - -include $(CLEAR_VARS) - -AVAHI_BUILT_SOURCES := \ - avahi-common/Android.mk \ - avahi-core/Android.mk \ - avahi-client-uninstalled.pc \ - avahi-client/Android.mk \ - avahi-utils/Android.mk \ - avahi-glib/Android.mk \ - avahi-glib-uninstalled.pc \ - avahi-gobject/Android.mk \ - avahi-gobject-uninstalled.pc \ - avahi-daemon/Android.mk - -avahi-configure-real: - cd $(AVAHI_TOP) ; \ - CC="$(CONFIGURE_CC)" \ - CFLAGS="$(CONFIGURE_CFLAGS)" \ - LD=$(TARGET_LD) \ - LDFLAGS="$(CONFIGURE_LDFLAGS)" \ - CPP=$(CONFIGURE_CPP) \ - CPPFLAGS="$(CONFIGURE_CPPFLAGS)" \ - PKG_CONFIG_LIBDIR=$(CONFIGURE_PKG_CONFIG_LIBDIR) \ - PKG_CONFIG_TOP_BUILD_DIR=$(PKG_CONFIG_TOP_BUILD_DIR) \ - $(AVAHI_TOP)/$(CONFIGURE) --host=arm-linux-androideabi \ - --with-distro=none \ - --disable-qt3 --disable-qt4 \ - --disable-gtk --disable-gtk3 \ - --disable-gdbm \ - --disable-python --disable-pygtk --disable-python-dbus \ - --disable-mono --disable-monodoc --disable-doxygen-doc \ - --disable-doxygen-dot --disable-manpages \ ---localstatedir=/data/data/org.freedesktop.telepathy/files/ \ ---sysconfdir=/data/data/org.freedesktop.telepathy/files/ \ - ac_cv_func_dbus_connection_close=yes \ - ac_cv_func_dbus_bus_get_private=yes \ - ac_cv_lib_expat_XML_ParserCreate=yes \ - --disable-Werror && \ - for file in $(AVAHI_BUILT_SOURCES); do \ - rm -f $$file && \ - make -C $$(dirname $$file) $$(basename $$file) ; \ - done - -avahi-configure: avahi-configure-real - -.PHONY: avahi-configure - -CONFIGURE_TARGETS += avahi-configure - -#include all the subdirs... --include $(AVAHI_TOP)/avahi-common/Android.mk --include $(AVAHI_TOP)/avahi-client/Android.mk --include $(AVAHI_TOP)/avahi-core/Android.mk --include $(AVAHI_TOP)/avahi-daemon/Android.mk --include $(AVAHI_TOP)/avahi-glib/Android.mk --include $(AVAHI_TOP)/avahi-gobject/Android.mk --include $(AVAHI_TOP)/avahi-utils/Android.mk +include $(call all-subdir-makefiles) diff --git a/avahi-client/Android.mk b/avahi-client/Android.mk new file mode 100644 index 0000000..6a5bc69 --- /dev/null +++ b/avahi-client/Android.mk @@ -0,0 +1,64 @@ +LOCAL_PATH:=$(call my-dir) +include $(CLEAR_VARS) + +LOCAL_MODULE:=libavahi-client + +LOCAL_MODULE_TAGS:=eng debug + +LOCAL_SRC_FILES := \ + client.c \ + entrygroup.c \ + browser.c \ + resolver.c \ + xdg-config.c \ + check-nss.c \ + ../avahi-common/dbus.c \ + ../avahi-common/dbus-watch-glue.c + +LOCAL_SHARED_LIBRARIES:=\ + libdbus \ + libavahi-common \ + libdl + +LOCAL_CFLAGS := \ + -DHAVE_CONFIG_H \ + -g \ + -O2 \ + -fstack-protector \ + -std=c99 \ + -Wall \ + -W \ + -Wextra \ + -pedantic \ + -pipe \ + -Wformat \ + -Wold-style-definition \ + -Wdeclaration-after-statement \ + -Wfloat-equal \ + -Wmissing-declarations \ + -Wmissing-prototypes \ + -Wstrict-prototypes \ + -Wredundant-decls \ + -Wmissing-noreturn \ + -Wshadow \ + -Wendif-labels \ + -Wpointer-arith \ + -Wbad-function-cast \ + -Wcast-qual \ + -Wcast-align \ + -Wwrite-strings \ + -fdiagnostics-show-option \ + -Wno-cast-qual \ + -fno-strict-aliasing \ + -DDEBUG_TRAP=__asm__\(\"int\ $3\"\) \ + -DDBUS_VERSION_MAJOR=1 \ + -DDBUS_VERSION_MINOR=6 \ + -DDBUS_VERSION_MICRO=18 \ + -DDBUS_API_SUBJECT_TO_CHANGE \ + -DDBUS_SYSTEM_BUS_DEFAULT_ADDRESS=\"unix:path=/var/run/dbus/system_bus_socket\" + +LOCAL_C_INCLUDES := \ + $(LOCAL_PATH) \ + external/avahi + +include $(BUILD_SHARED_LIBRARY) diff --git a/avahi-common/Android.mk b/avahi-common/Android.mk new file mode 100644 index 0000000..788e350 --- /dev/null +++ b/avahi-common/Android.mk @@ -0,0 +1,57 @@ +LOCAL_PATH:=$(call my-dir) +include $(CLEAR_VARS) + +LOCAL_MODULE:=libavahi-common + +LOCAL_SRC_FILES := \ + avahi-malloc.c \ + address.c \ + alternative.c \ + error.c \ + strlst.c \ + domain.c \ + timeval.c \ + simple-watch.c \ + thread-watch.c \ + rlist.c \ + utf8.c \ + i18n.c + +LOCAL_CFLAGS := \ + -DHAVE_CONFIG_H \ + -g \ + -O2 \ + -fstack-protector \ + -std=c99 \ + -Wall \ + -W \ + -Wextra \ + -pedantic \ + -pipe \ + -Wformat \ + -Wold-style-definition \ + -Wdeclaration-after-statement \ + -Wfloat-equal \ + -Wmissing-declarations \ + -Wmissing-prototypes \ + -Wstrict-prototypes \ + -Wredundant-decls \ + -Wmissing-noreturn \ + -Wshadow \ + -Wendif-labels \ + -Wpointer-arith \ + -Wbad-function-cast \ + -Wcast-qual \ + -Wcast-align \ + -Wwrite-strings \ + -fdiagnostics-show-option \ + -Wno-cast-qual \ + -fno-strict-aliasing \ + -DDEBUG_TRAP=__asm__\(\"int\ $3\"\) \ + -DAVAHI_LOCALEDIR=\"/usr/local/share/locale\" + +LOCAL_C_INCLUDES := \ + $(LOCAL_PATH) \ + external/avahi + +include $(BUILD_STATIC_LIBRARY) diff --git a/avahi-common/Makefile.am b/avahi-common/Makefile.am index 52c0c22..d6e4838 100644 --- a/avahi-common/Makefile.am +++ b/avahi-common/Makefile.am @@ -129,7 +129,7 @@ noinst_HEADERS = \ endif Android.mk: Makefile.am - androgenizer -:PROJECT avahi -:SHARED avahi-common -:TAGS eng debug \ + androgenizer -:PROJECT avahi -:STATIC avahi-common -:TAGS eng debug \ -:REL_TOP $(top_srcdir) -:ABS_TOP $(abs_top_srcdir) \ -:SOURCES $(libavahi_common_la_SOURCES) \ -:CFLAGS $(DEFS) $(CFLAGS) $(DEFAULT_INCLUDES) $(INCLUDES) \ diff --git a/avahi-core/Android.mk b/avahi-core/Android.mk new file mode 100644 index 0000000..3d74496 --- /dev/null +++ b/avahi-core/Android.mk @@ -0,0 +1,83 @@ +LOCAL_PATH:=$(call my-dir) +include $(CLEAR_VARS) + +LOCAL_MODULE:=libavahi-core + +LOCAL_SRC_FILES := \ + timeeventq.c \ + iface.c \ + server.c \ + entry.c \ + prioq.c \ + cache.c \ + socket.c \ + response-sched.c \ + query-sched.c \ + probe-sched.c \ + announce.c \ + browse.c \ + rrlist.c \ + resolve-host-name.c \ + resolve-address.c \ + browse-domain.c \ + browse-service-type.c \ + browse-service.c \ + resolve-service.c \ + dns.c \ + rr.c \ + log.c \ + browse-dns-server.c \ + fdutil.c \ + util.c \ + hashmap.c \ + wide-area.c \ + multicast-lookup.c \ + querier.c \ + addr-util.c \ + domain-util.c \ + iface-linux.c \ + netlink.c + +LOCAL_SHARED_LIBRARIES:=\ + libavahi-common \ + liblog + +LOCAL_CFLAGS := \ + -DHAVE_CONFIG_H \ + -g \ + -O2 \ + -fstack-protector \ + -std=c99 \ + -Wall \ + -W \ + -Wextra \ + -pedantic \ + -pipe \ + -Wformat \ + -Wold-style-definition \ + -Wdeclaration-after-statement \ + -Wfloat-equal \ + -Wmissing-declarations \ + -Wmissing-prototypes \ + -Wstrict-prototypes \ + -Wredundant-decls \ + -Wmissing-noreturn \ + -Wshadow \ + -Wendif-labels \ + -Wpointer-arith \ + -Wbad-function-cast \ + -Wcast-qual \ + -Wcast-align \ + -Wwrite-strings \ + -fdiagnostics-show-option \ + -Wno-cast-qual \ + -fno-strict-aliasing \ + -DDEBUG_TRAP=__asm__\(\"int\ $3\"\) + +LOCAL_C_INCLUDES := \ + $(LOCAL_PATH) \ + external/avahi + +LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/.. + +include $(BUILD_STATIC_LIBRARY) diff --git a/avahi-daemon/Android.mk b/avahi-daemon/Android.mk new file mode 100644 index 0000000..4bad2fe --- /dev/null +++ b/avahi-daemon/Android.mk @@ -0,0 +1,91 @@ +LOCAL_PATH:=$(call my-dir) +include $(CLEAR_VARS) + +LOCAL_MODULE:=avahi-daemon + +LOCAL_MODULE_TAGS:=eng debug + +LOCAL_SRC_FILES := \ + main.c \ + simple-protocol.c \ + static-services.c \ + static-hosts.c \ + ini-file-parser.c \ + setproctitle.c \ + sd-daemon.c \ + glob.c \ + ../avahi-client/check-nss.c \ + dbus-protocol.c \ + dbus-util.c \ + dbus-async-address-resolver.c \ + dbus-async-host-name-resolver.c \ + dbus-async-service-resolver.c \ + dbus-domain-browser.c \ + dbus-entry-group.c \ + dbus-service-browser.c \ + dbus-service-type-browser.c \ + dbus-sync-address-resolver.c \ + dbus-sync-host-name-resolver.c \ + dbus-sync-service-resolver.c \ + dbus-record-browser.c \ + ../avahi-common/dbus.c \ + ../avahi-common/dbus-watch-glue.c + +LOCAL_SHARED_LIBRARIES:=\ + libavahi-common \ + libavahi-core \ + libexpat \ + libdl \ + libdaemon \ + libdbus + +LOCAL_CFLAGS := \ + -DHAVE_CONFIG_H \ + -g \ + -O2 \ + -fstack-protector \ + -std=c99 \ + -Wall \ + -W \ + -Wextra \ + -pedantic \ + -pipe \ + -Wformat \ + -Wold-style-definition \ + -Wdeclaration-after-statement \ + -Wfloat-equal \ + -Wmissing-declarations \ + -Wmissing-prototypes \ + -Wstrict-prototypes \ + -Wredundant-decls \ + -Wmissing-noreturn \ + -Wshadow \ + -Wendif-labels \ + -Wpointer-arith \ + -Wbad-function-cast \ + -Wcast-qual \ + -Wcast-align \ + -Wwrite-strings \ + -fdiagnostics-show-option \ + -Wno-cast-qual \ + -fno-strict-aliasing \ + -DDEBUG_TRAP=__asm__\(\"int\ $3\"\) \ + -DAVAHI_DAEMON_RUNTIME_DIR=\"/data/misc/avahi/daemon/\" \ + -DAVAHI_SOCKET=\"/dev/socket/avahi\" \ + -DAVAHI_SERVICE_DIR=\"/data/misc/avahi/services\" \ + -DAVAHI_CONFIG_FILE=\"/system/etc/avahi/avahi-daemon.conf\" \ + -DAVAHI_HOSTS_FILE=\"/system/etc/avahi/avahi-hosts\" \ + -DAVAHI_DBUS_INTROSPECTION_DIR=\"/usr/local/share/dbus/interfaces\" \ + -DAVAHI_CONFIG_DIR=\"/system/etc/avahi\" \ + -DUSE_EXPAT_H \ + -DDBUS_VERSION_MAJOR=1 \ + -DDBUS_VERSION_MINOR=6 \ + -DDBUS_VERSION_MICRO=18 \ + -DDBUS_API_SUBJECT_TO_CHANGE \ + -DDBUS_SYSTEM_BUS_DEFAULT_ADDRESS=\"unix:path=/dev/socket/dbus\" + +LOCAL_C_INCLUDES := \ + $(LOCAL_PATH) \ + external/avahi + +include $(BUILD_EXECUTABLE) diff --git a/avahi-daemon/Makefile.am b/avahi-daemon/Makefile.am index 82c0ccf..a8392dc 100644 --- a/avahi-daemon/Makefile.am +++ b/avahi-daemon/Makefile.am @@ -155,7 +155,7 @@ endif Android.mk: Makefile.am androgenizer -:PROJECT avahi -:SHARED avahi-daemon -:TAGS eng debug \ -:REL_TOP $(top_srcdir) -:ABS_TOP $(abs_top_srcdir) \ - -:SOURCES $(avahi_daemon_SOURCES) glob.c \ + -:SOURCES $(avahi_daemon_SOURCES) \ -:CFLAGS $(DEFS) $(CFLAGS) $(DEFAULT_INCLUDES) $(INCLUDES) \ $(AM_CFLAGS) $(avahi_daemon_CFLAGS) -DBUILD_AS_ANDROID_SERVICE \ -:CPPFLAGS $(CPPFLAGS) $(AM_CPPFLAGS) $(avahi_daemon_CPPFLAGS) \ diff --git a/avahi-daemon/glob.h b/avahi-daemon/glob.h index 2ced62c..aa11320 100644 --- a/avahi-daemon/glob.h +++ b/avahi-daemon/glob.h @@ -45,7 +45,7 @@ #define _GLOB_H_ #include -#include +#include #ifndef _SIZE_T_DECLARED typedef __size_t size_t; diff --git a/avahi-daemon/main.h b/avahi-daemon/main.h index ef04c2d..4d10b83 100644 --- a/avahi-daemon/main.h +++ b/avahi-daemon/main.h @@ -28,4 +28,8 @@ extern AvahiSimplePoll *simple_poll_api; extern int nss_support; +#ifdef BUILD_AS_ANDROID_SERVICE +int avahi_main(int argc, char *argv[]); +#endif + #endif diff --git a/avahi-utils/Android.mk b/avahi-utils/Android.mk new file mode 100644 index 0000000..e85a943 --- /dev/null +++ b/avahi-utils/Android.mk @@ -0,0 +1,53 @@ +LOCAL_PATH:=$(call my-dir) +include $(CLEAR_VARS) + +LOCAL_MODULE:=avahi-browse + +LOCAL_MODULE_TAGS:=eng debug + +LOCAL_SRC_FILES := \ + avahi-browse.c \ + sigint.c + +LOCAL_SHARED_LIBRARIES:=\ + libavahi-client \ + libavahi-common \ + libdbus + +LOCAL_CFLAGS := \ + -DHAVE_CONFIG_H \ + -g \ + -O2 \ + -fstack-protector \ + -std=c99 \ + -Wall \ + -W \ + -Wextra \ + -pedantic \ + -pipe \ + -Wformat \ + -Wold-style-definition \ + -Wdeclaration-after-statement \ + -Wfloat-equal \ + -Wmissing-declarations \ + -Wmissing-prototypes \ + -Wstrict-prototypes \ + -Wredundant-decls \ + -Wmissing-noreturn \ + -Wshadow \ + -Wendif-labels \ + -Wpointer-arith \ + -Wbad-function-cast \ + -Wcast-qual \ + -Wcast-align \ + -Wwrite-strings \ + -fdiagnostics-show-option \ + -Wno-cast-qual \ + -fno-strict-aliasing \ + -DDEBUG_TRAP=__asm__\(\"int\ $3\"\) + +LOCAL_C_INCLUDES := \ + $(LOCAL_PATH) \ + external/avahi + +include $(BUILD_EXECUTABLE) diff --git a/config.h b/config.h new file mode 100644 index 0000000..d3e66c4 --- /dev/null +++ b/config.h @@ -0,0 +1,393 @@ +/* config.h. Generated from config.h.in by configure. */ +/* config.h.in. Generated from configure.ac by autoheader. */ + +/* Group for running the avahi-autoipd daemon */ +#define AVAHI_AUTOIPD_GROUP "avahi-autoipd" + +/* User for running the avahi-autoipd daemon */ +#define AVAHI_AUTOIPD_USER "avahi-autoipd" + +/* Group for Avahi */ +#define AVAHI_GROUP "system" + +/* Privileged access group for Avahi clients */ +#define AVAHI_PRIV_ACCESS_GROUP "system" + +/* User for running the Avahi daemon */ +#define AVAHI_USER "system" + +/* Enable chroot() usage */ +/* #undef ENABLE_CHROOT */ + +/* always defined to indicate that i18n is enabled */ +//#define ENABLE_NLS 1 + +/* Define if SSP C support is enabled. */ +#define ENABLE_SSP_CC 1 + +/* Define if SSP C++ support is enabled. */ +#define ENABLE_SSP_CXX 1 + +/* Gettext package */ +#define GETTEXT_PACKAGE "avahi" + +/* Define to 1 if you have the header file. */ +#define HAVE_ARPA_INET_H 1 + +/* Define to 1 if you have the `bind_textdomain_codeset' function. */ +#define HAVE_BIND_TEXTDOMAIN_CODESET 1 + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_BSDXML_H */ + +/* Define to 1 if your system has a working `chown' function. */ +#define HAVE_CHOWN 1 + +/* Define to 1 if you have the `chroot' function. */ +#define HAVE_CHROOT 1 + +/* Support for DBM */ +/* #undef HAVE_DBM */ + +/* Whether we have D-Bus or not */ +#define HAVE_DBUS 1 + +/* Define to 1 if you have the `dbus_bus_get_private' function. */ +#define HAVE_DBUS_BUS_GET_PRIVATE 1 + +/* Define to 1 if you have the `dbus_connection_close' function. */ +#define HAVE_DBUS_CONNECTION_CLOSE 1 + +/* Define to 1 if you have the `dcgettext' function. */ +#define HAVE_DCGETTEXT 1 + +/* Define to 1 if you have the declaration of `environ', and to 0 if you + don't. */ +#define HAVE_DECL_ENVIRON 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_DLFCN_H 1 + +/* Have dlopen() */ +#define HAVE_DLOPEN 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_EXPAT_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_FCNTL_H 1 + +/* Define if you have gcc -fvisibility=hidden support */ +#define HAVE_GCC_VISIBILITY 1 + +/* Support for GDBM */ +/* #undef HAVE_GDBM */ + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_GDBM_H */ + +/* Define to 1 if you have the `gethostbyname' function. */ +#define HAVE_GETHOSTBYNAME 1 + +/* Define to 1 if you have the `gethostname' function. */ +#define HAVE_GETHOSTNAME 1 + +/* Define to 1 if you have the `getprogname' function. */ +/* #undef HAVE_GETPROGNAME */ + +/* Define if the GNU gettext() function is already present or preinstalled. */ +#define HAVE_GETTEXT 1 + +/* Define to 1 if you have the `gettimeofday' function. */ +#define HAVE_GETTIMEOFDAY 1 + +/* Enable Linux inotify() usage */ +#define HAVE_INOTIFY 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_INTTYPES_H 1 + +/* Enable BSD kqueue() usage */ +/* #undef HAVE_KQUEUE */ + +/* Define if your file defines LC_MESSAGES. */ +#define HAVE_LC_MESSAGES 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_LIMITS_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_LOCALE_H 1 + +/* Define to 1 if you have the `memchr' function. */ +#define HAVE_MEMCHR 1 + +/* Define to 1 if you have the `memmove' function. */ +#define HAVE_MEMMOVE 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_MEMORY_H 1 + +/* Define to 1 if you have the `memset' function. */ +#define HAVE_MEMSET 1 + +/* Define to 1 if you have the `mkdir' function. */ +#define HAVE_MKDIR 1 + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_NDBM_H */ + +/* Define to 1 if you have the header file. */ +#define HAVE_NETDB_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_NETINET_IN_H 1 + +/* Support for Linux netlink */ +#define HAVE_NETLINK /**/ + +/* Support for PF_ROUTE */ +/* #undef HAVE_PF_ROUTE */ + +/* Define if you have POSIX threads libraries and header files. */ +#define HAVE_PTHREAD 1 + +/* Define to 1 if you have the `putenv' function. */ +#define HAVE_PUTENV 1 + +/* Define to 1 if you have the `select' function. */ +#define HAVE_SELECT 1 + +/* Define to 1 if you have the `setegid' function. */ +#define HAVE_SETEGID 1 + +/* Define to 1 if you have the `seteuid' function. */ +#define HAVE_SETEUID 1 + +/* Define to 1 if you have the `setproctitle' function. */ +/* #undef HAVE_SETPROCTITLE */ + +/* Define to 1 if you have the `setregid' function. */ +#define HAVE_SETREGID 1 + +/* Define to 1 if you have the `setresgid' function. */ +#define HAVE_SETRESGID 1 + +/* Define to 1 if you have the `setresuid' function. */ +#define HAVE_SETRESUID 1 + +/* Define to 1 if you have the `setreuid' function. */ +#define HAVE_SETREUID 1 + +/* Define to 1 if you have the `socket' function. */ +#define HAVE_SOCKET 1 + +/* Define to 1 if `stat' has the bug that it succeeds when given the + zero-length file name argument. */ +/* #undef HAVE_STAT_EMPTY_STRING_BUG */ + +/* Define to 1 if stdbool.h conforms to C99. */ +#define HAVE_STDBOOL_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_STDINT_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_STDLIB_H 1 + +/* Define to 1 if you have the `strcasecmp' function. */ +#define HAVE_STRCASECMP 1 + +/* Define to 1 if you have the `strchr' function. */ +#define HAVE_STRCHR 1 + +/* Define to 1 if you have the `strcspn' function. */ +#define HAVE_STRCSPN 1 + +/* Define to 1 if you have the `strdup' function. */ +#define HAVE_STRDUP 1 + +/* Define to 1 if you have the `strerror' function. */ +#define HAVE_STRERROR 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_STRINGS_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_STRING_H 1 + +/* Define to 1 if you have the `strlcpy' function. */ +/* #undef HAVE_STRLCPY */ + +/* Define to 1 if you have the `strncasecmp' function. */ +#define HAVE_STRNCASECMP 1 + +/* Define to 1 if you have the `strrchr' function. */ +#define HAVE_STRRCHR 1 + +/* Define to 1 if you have the `strspn' function. */ +#define HAVE_STRSPN 1 + +/* Define to 1 if you have the `strstr' function. */ +#define HAVE_STRSTR 1 + +/* Support for struct ip_mreq */ +/* #undef HAVE_STRUCT_IP_MREQ */ + +/* Support for struct ip_mreqn */ +#define HAVE_STRUCT_IP_MREQN /**/ + +/* Define if there is a struct lifconf. */ +/* #undef HAVE_STRUCT_LIFCONF */ + +/* Define to 1 if you have the header file. */ +#define HAVE_SYSLOG_H 1 + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_SYS_CAPABILITY_H */ + +/* Support for sys/filio.h */ +/* #undef HAVE_SYS_FILIO_H */ + +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_INOTIFY_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_IOCTL_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_PRCTL_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_SELECT_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_SOCKET_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_STAT_H 1 + +/* Support for sys/sysctl.h */ +#define HAVE_SYS_SYSCTL_H /**/ + +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_TIME_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_TYPES_H 1 + +/* Define to 1 if you have that is POSIX.1 compatible. */ +#define HAVE_SYS_WAIT_H 1 + +/* Define to 1 if you have the `uname' function. */ +#define HAVE_UNAME 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_UNISTD_H 1 + +/* Support for visibility hidden */ +#define HAVE_VISIBILITY_HIDDEN /**/ + +/* Define to 1 if the system has the type `_Bool'. */ +#define HAVE__BOOL 1 + +/* Define to 1 if `lstat' dereferences a symlink specified with a trailing + slash. */ +#define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 + +/* Define to the sub-directory in which libtool stores uninstalled libraries. + */ +#define LT_OBJDIR ".libs/" + +/* Name of package */ +#define PACKAGE "avahi" + +/* Define to the address where bug reports for this package should be sent. */ +#define PACKAGE_BUGREPORT "avahi (at) lists (dot) freedesktop (dot) org" + +/* Define to the full name of this package. */ +#define PACKAGE_NAME "avahi" + +/* Define to the full name and version of this package. */ +#define PACKAGE_STRING "avahi 0.6.31" + +/* Define to the one symbol short name of this package. */ +#define PACKAGE_TARNAME "avahi" + +/* Define to the home page for this package. */ +#define PACKAGE_URL "" + +/* Define to the version of this package. */ +#define PACKAGE_VERSION "0.6.31" + +/* Define to necessary symbol if this constant uses a non-standard name on + your system. */ +/* #undef PTHREAD_CREATE_JOINABLE */ + +/* Define to the type of arg 1 for `select'. */ +#define SELECT_TYPE_ARG1 int + +/* Define to the type of args 2, 3 and 4 for `select'. */ +#define SELECT_TYPE_ARG234 (fd_set *) + +/* Define to the type of arg 5 for `select'. */ +#define SELECT_TYPE_ARG5 (struct timeval *) + +/* Define to 1 if you have the ANSI C header files. */ +#define STDC_HEADERS 1 + +/* Define to 1 if you can safely include both and . */ +#define TIME_WITH_SYS_TIME 1 + +/* Enable extensions on AIX 3, Interix. */ +#ifndef _ALL_SOURCE +# define _ALL_SOURCE 1 +#endif +/* Enable GNU extensions on systems that have them. */ +#ifndef _GNU_SOURCE +# define _GNU_SOURCE 1 +#endif +/* Enable threading extensions on Solaris. */ +#ifndef _POSIX_PTHREAD_SEMANTICS +# define _POSIX_PTHREAD_SEMANTICS 1 +#endif +/* Enable extensions on HP NonStop. */ +#ifndef _TANDEM_SOURCE +# define _TANDEM_SOURCE 1 +#endif +/* Enable general extensions on Solaris. */ +#ifndef __EXTENSIONS__ +# define __EXTENSIONS__ 1 +#endif + + +/* Version number of package */ +#define VERSION "0.6.31" + +/* Define to 1 if on MINIX. */ +/* #undef _MINIX */ + +/* Define to 2 if the system does not provide POSIX.1 features except with + this defined. */ +/* #undef _POSIX_1_SOURCE */ + +/* Define to 1 if you need to in order for `stat' and other things to work. */ +/* #undef _POSIX_SOURCE */ + +/* Define to empty if `const' does not conform to ANSI C. */ +/* #undef const */ + +/* Define to `int' if doesn't define. */ +/* #undef gid_t */ + +/* Define to `int' if does not define. */ +/* #undef mode_t */ + +/* Define to `int' if does not define. */ +/* #undef pid_t */ + +/* Define to `unsigned int' if does not define. */ +/* #undef size_t */ + +/* Define to `int' if doesn't define. */ +/* #undef uid_t */ -- cgit v1.2.3