You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by pi...@apache.org on 2007/05/22 11:40:41 UTC
svn commit: r540510 - in /webservices/axis2/trunk/c/util: configure.ac
include/platforms/unix/axutil_unix.h
Author: pini
Date: Tue May 22 02:40:40 2007
New Revision: 540510
URL: http://svn.apache.org/viewvc?view=rev&rev=540510
Log:
Solaris changes (configure.ac)
Modified:
webservices/axis2/trunk/c/util/configure.ac
webservices/axis2/trunk/c/util/include/platforms/unix/axutil_unix.h
Modified: webservices/axis2/trunk/c/util/configure.ac
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/util/configure.ac?view=diff&rev=540510&r1=540509&r2=540510
==============================================================================
--- webservices/axis2/trunk/c/util/configure.ac (original)
+++ webservices/axis2/trunk/c/util/configure.ac Tue May 22 02:40:40 2007
@@ -100,6 +100,55 @@
AC_FUNC_REALLOC
#AC_CHECK_FUNCS([memmove])
+# System-dependent adjustments.
+cygwin=no
+darwin=no
+solaris=no
+no_undefined=no
+
+case "${host_cpu}" in
+alpha*)
+ if test x"$GCC" = xyes
+ then
+ CFLAGS="$CFLAGS -mfp-rounding-mode=d -mieee"
+ CXXFLAGS="$CXXFLAGS -mfp-rounding-mode=d -mieee"
+ else
+ CFLAGS="$CFLAGS -fprm d -ieee -underflow_to_zero"
+ CXXFLAGS="$CXXFLAGS -fprm d -ieee -underflow_to_zero"
+ fi
+ ;;
+*)
+ ;;
+esac
+
+case "${host_os}" in
+cygwin)
+ cygwin=yes
+ no_undefined=yes
+ ;;
+darwin*)
+ darwin=yes
+ if test x"$GCC" = xyes
+ then
+ CFLAGS="$CFLAGS -Wno-long-double"
+ CXXFLAGS="$CXXFLAGS -Wno-long-double"
+ fi
+ ;;
+solaris*)
+ solaris=yes
+ AC_DEFINE(AXIS2_SOLARIS,1,[I is solaris])
+
+ ;;
+*)
+ ;;
+esac
+
+AM_CONDITIONAL(HOST_OS_CYGWIN, test x$cygwin = xyes)
+AM_CONDITIONAL(HOST_OS_DARWIN, test x$darwin = xyes)
+AM_CONDITIONAL(HOST_OS_SOLARIS, test x$solaris = xyes)
+AM_CONDITIONAL(NO_UNDEFINED, test x$no_undefined = xyes)
+
+
AC_MSG_CHECKING(whether to build guththila xml parser library)
AC_ARG_ENABLE(guththila, [ --enable-guththila build guththila xml parser library wrapper. default=no],
[ case "${enableval}" in
Modified: webservices/axis2/trunk/c/util/include/platforms/unix/axutil_unix.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/util/include/platforms/unix/axutil_unix.h?view=diff&rev=540510&r1=540509&r2=540510
==============================================================================
--- webservices/axis2/trunk/c/util/include/platforms/unix/axutil_unix.h (original)
+++ webservices/axis2/trunk/c/util/include/platforms/unix/axutil_unix.h Tue May 22 02:40:40 2007
@@ -133,6 +133,7 @@
/* dir handling */
+#include <sys/types.h>
#include <dirent.h>
#define AXIS2_STRRCHR(x, y) (strrchr(x, y))
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org