From: <ca...@us...> - 2008-06-16 05:35:25
|
Revision: 1417 http://ganglia.svn.sourceforge.net/ganglia/?rev=1417&view=rev Author: carenas Date: 2008-06-15 22:35:32 -0700 (Sun, 15 Jun 2008) Log Message: ----------- build: solaris: use c99 support from Sun Studio Modified Paths: -------------- trunk/monitor-core/configure.in trunk/monitor-core/libmetrics/configure.in Modified: trunk/monitor-core/configure.in =================================================================== --- trunk/monitor-core/configure.in 2008-06-16 02:37:16 UTC (rev 1416) +++ trunk/monitor-core/configure.in 2008-06-16 05:35:32 UTC (rev 1417) @@ -541,7 +541,7 @@ if test "$ac_cv_prog_gcc" = yes; then CFLAGS="$CFLAGS -D__EXTENSIONS__ -D_POSIX_C_SOURCE=200112L -DHAVE_STRERROR" else - CFLAGS="$CFLAGS -D__STDC__ -D_POSIX_C_SOURCE=200112L -DHAVE_STRERROR" + CFLAGS="$CFLAGS -xc99 -D_POSIX_C_SOURCE=200112L -DHAVE_STRERROR" fi AC_DEFINE(SOLARIS,1,SOLARIS);; *freebsd*) CFLAGS="-pthread $CFLAGS -D_REENTRANT" Modified: trunk/monitor-core/libmetrics/configure.in =================================================================== --- trunk/monitor-core/libmetrics/configure.in 2008-06-16 02:37:16 UTC (rev 1416) +++ trunk/monitor-core/libmetrics/configure.in 2008-06-16 05:35:32 UTC (rev 1417) @@ -121,7 +121,7 @@ if test "$ac_cv_prog_gcc" = yes; then CFLAGS="$CFLAGS -D__EXTENSIONS__ -DHAVE_STRERROR" else - CFLAGS="$CFLAGS -D__STDC__ -DHAVE_STRERROR" + CFLAGS="$CFLAGS -xc99 -DHAVE_STRERROR" fi AC_DEFINE(SOLARIS,1,SOLARIS);; *freebsd*) OS="freebsd" This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |