21029732 PKG_CONFIG_PATH should be included in CONFIGURE_ENV and BUILD_ENV
21029735 shared-macros should define service manifest and method macros
21093823 sample-manifest should omit or comment "standard" directories and certain files
21144358 configure scripts usually detect wrong host for 64-bit builds
21157847 shared-macros.mk instructions have a typo for studio c99 mode
22067225 common make-rules desired for simplifying makefiles
22067806 transforms needs expanding for desktop services
Fix pure 64-bit x86 builds on Solaris, change default port, and ensure endian.h
is included when appropriate. No change is necessary for SPARC.
--- configure.in 2015-10-28 16:05:06.799975827 -0700
+++ configure.in 2015-10-28 16:04:45.893833006 -0700
@@ -38,6 +38,11 @@
*ppc64* | *powerpc64* | *x86_64*)
CFLAGS="$CFLAGS -m64"
;;
+ *)
+ ;;
+esac
+
+case $target in
*solaris*)
CFLAGS="$CFLAGS -DSOLARIS"
;;
--- configure.in 2010-07-08 13:35:18.000000000 -0700
+++ configure.in 2012-04-10 17:37:23.820532000 -0700
@@ -143,7 +143,9 @@
#
# The default port that the TCS daemon listens on
#
-AC_SUBST(TCSD_DEFAULT_PORT, 30003)
+#AC_SUBST(TCSD_DEFAULT_PORT, 30003)
+# 0 designates UNIX Domain socket. For TCP sockets, 30003 is the traditional TCP port.
+AC_SUBST(TCSD_DEFAULT_PORT, 0)
#
# The RPC mechanism to build into both libtspi and the tcsd
#
@@ -351,6 +353,7 @@
AC_C_BIGENDIAN([AC_DEFINE(_BIG_ENDIAN, 1, [big-endian host])])
AC_CHECK_DECL(htole32, [AC_DEFINE(HTOLE_DEFINED, 1, [htole32 function is available])])
+AC_CHECK_HEADER(endian.h, [AC_DEFINE(HAVE_ENDIAN_H, 1, [endian.h header])])
AC_CHECK_HEADER(sys/byteorder.h, [AC_DEFINE(HAVE_BYTEORDER_H, 1, [sys/byteorder.h header])])
AC_CHECK_FUNC(daemon, [ AC_DEFINE(HAVE_DAEMON, 1, [daemon function is available]) ])