From a8923cdd9a86a40f170a6215d1d142ae853a9914 Mon Sep 17 00:00:00 2001 From: "kenton@google.com" Date: Fri, 1 May 2009 21:53:10 +0000 Subject: More Sun CC hacks. Contributed by Monty Taylor. --- configure.ac | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'configure.ac') 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 -- cgit v1.2.3