diff --git a/configure.ac b/configure.ac index c251661..d66711c 100644 --- a/configure.ac +++ b/configure.ac @@ -62,9 +62,7 @@ case "${host_os}" in SHLIB_SUFFIX=so AC_DEFINE(LINUX, 1, if compiling on Linux) ;; - *solaris*) # set compile flags for Solaris - CPPFLAGS="${CPPFLAGS} -D_POSIX_C_SOURCE=199506L -D_XPG4_2 -D_XPG5 -D__EXTENSIONS__" - # for checking for some network functions on Solaris + *solaris*) # for checking for some network functions on Solaris LDFLAGS="$LDFLAGS -lnsl" # assume we are using CC if not using g++, add -norunpath to link flags in this case if test "$GXX" != "yes"; then @@ -251,11 +249,7 @@ else fi ;; *solaris*) if test "$GXX" = "yes"; then - if test "$host_cpu" = "sparc"; then - CXXFLAGS="$CXXFLAGS -mcpu=v8 -m32" - else - CXXFLAGS="$CXXFLAGS -m32" - fi + CXXFLAGS="$CXXFLAGS -m32" else CXXFLAGS="$CXXFLAGS -xarch=generic" fi