From 0e04bca260780b2ce04e123d09302ce98d9b597a Mon Sep 17 00:00:00 2001 From: Igor Pashev Date: Sun, 26 Oct 2014 15:15:10 +0400 Subject: Dyson is Debian --- configure | 5 ++--- configure.ac | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/configure b/configure index 3ee1fd1..6609a52 100755 --- a/configure +++ b/configure @@ -2819,11 +2819,10 @@ then CFLAGS="-fno-strict-aliasing" elif test $target_os = solaris then + test -f /etc/debian_version && target_distro=debian $as_echo "#define IS_SOLARIS 1" >>confdefs.h - export PATH="$PATH:/opt/SunStudioExpress/bin" - export CFLAGS_IF_GCC="-fPIC -fno-strict-aliasing" - export CFLAGS_IF_SUNCC="-fPIC -xalias_level=any" + export CFLAGS="-fPIC -fno-strict-aliasing -D_GNU_SOURCE -D__EXTENSIONS__" elif test $target_os = aix then $as_echo "#define IS_AIX 1" >>confdefs.h diff --git a/configure.ac b/configure.ac index b66ff56..208c027 100644 --- a/configure.ac +++ b/configure.ac @@ -178,10 +178,9 @@ then CFLAGS="-fno-strict-aliasing" elif test $target_os = solaris then + test -f /etc/debian_version && target_distro=debian AC_DEFINE(IS_SOLARIS) - export PATH="$PATH:/opt/SunStudioExpress/bin" - export CFLAGS_IF_GCC="-fPIC -fno-strict-aliasing" - export CFLAGS_IF_SUNCC="-fPIC -xalias_level=any" + export CFLAGS="-fPIC -fno-strict-aliasing -D_GNU_SOURCE -D__EXTENSIONS__" elif test $target_os = aix then AC_DEFINE(IS_AIX) -- cgit v1.2.3