From: Andre Noll Date: Sun, 20 Sep 2015 21:33:45 +0000 (+0200) Subject: build: Remove arch_cppflags. X-Git-Tag: v0.5.6~71 X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=commitdiff_plain;h=d38109ab121b2dce9a40d3f8649d0bc1df0ffab2;hp=b184fbf41abbdd68ee148ea4dc6fc2969f05e87b build: Remove arch_cppflags. This workaround for Solaris is no longer needed as Solaris is unsupported for years. --- diff --git a/Makefile.real b/Makefile.real index 36d6e234..59579e27 100644 --- a/Makefile.real +++ b/Makefile.real @@ -87,7 +87,6 @@ CPPFLAGS += -DBUILD_DATE='"$(build_date)"' CPPFLAGS += -DUNAME_RS='"$(uname_rs)"' CPPFLAGS += -DCC_VERSION='"$(cc_version)"' CPPFLAGS += -DMAIN_INPUT_FILE_IS_$(*F) -CPPFLAGS += $(arch_cppflags) CPPFLAGS += -I/usr/local/include CPPFLAGS += -I$(cmdline_dir) CPPFLAGS += -I$(cmdlist_dir) diff --git a/configure.ac b/configure.ac index 2b2f2966..5960b087 100644 --- a/configure.ac +++ b/configure.ac @@ -65,20 +65,6 @@ AC_DEFUN([LIB_SUBST_FLAGS], [ AC_SUBST($1_ldflags) ]) -AC_PATH_PROG(UNAMEPATH, uname, no) -if test "$UNAMEPATH" = "no"; then - AC_MSG_ERROR(unable to determine system type) -fi -AC_MSG_CHECKING(os type) -OSTYPE="`$UNAMEPATH -s`" -AC_MSG_RESULT("$OSTYPE") - -if test "$OSTYPE" = "SunOS"; then - # needed on SunOS for socket magic - arch_cppflags="-D_XOPEN_SOURCE=500 -D__EXTENSIONS__" - AC_SUBST(arch_cppflags) -fi - AC_C_BIGENDIAN() AC_PATH_PROG([GENGETOPT], [gengetopt])