From d38109ab121b2dce9a40d3f8649d0bc1df0ffab2 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Sun, 20 Sep 2015 23:33:45 +0200 Subject: [PATCH] build: Remove arch_cppflags. This workaround for Solaris is no longer needed as Solaris is unsupported for years. --- Makefile.real | 1 - configure.ac | 14 -------------- 2 files changed, 15 deletions(-) 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]) -- 2.39.5