diff options
author | kenton@google.com <kenton@google.com@630680e5-0e50-0410-840e-4b1c322b438d> | 2009-05-01 21:53:10 +0000 |
---|---|---|
committer | kenton@google.com <kenton@google.com@630680e5-0e50-0410-840e-4b1c322b438d> | 2009-05-01 21:53:10 +0000 |
commit | a8923cdd9a86a40f170a6215d1d142ae853a9914 (patch) | |
tree | c4a7608f52987e20c7632446688d486a30136696 /configure.ac | |
parent | 2fd1208b34c2022e8f7768d5187bdad12c98d032 (diff) | |
download | protobuf-a8923cdd9a86a40f170a6215d1d142ae853a9914.tar.gz protobuf-a8923cdd9a86a40f170a6215d1d142ae853a9914.tar.bz2 protobuf-a8923cdd9a86a40f170a6215d1d142ae853a9914.zip |
More Sun CC hacks. Contributed by Monty Taylor.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/configure.ac b/configure.ac index fe46c352..b0d1e150 100644 --- a/configure.ac +++ b/configure.ac @@ -31,13 +31,8 @@ AC_LANG([C++]) ACX_USE_SYSTEM_EXTENSIONS AC_PROG_LIBTOOL AM_CONDITIONAL(GCC, test "$GCC" = yes) # let the Makefile know if we're gcc -AC_CHECK_DECL([__SUNPRO_C], [SUNCC="yes"], [SUNCC="no"]) - -AS_IF([test "$SUNCC" = "yes"],[ - CFLAGS="$CFLAGS -xO4 -xlibmil -xdepend -Xa -mt -xstrconst -D_FORTEC_" - CXXFLAGS="$CXXFLAGS -xO4 -xlibmil -mt -D_FORTEC_ -xlang=c99 -compat=5 -library=stlport4 -template=no%extdef" -]) +ACX_CHECK_SUNCC # Checks for header files. AC_HEADER_STDC |