summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2014-10-26 15:15:10 +0400
committerIgor Pashev <pashev.igor@gmail.com>2014-10-26 15:15:10 +0400
commit0e04bca260780b2ce04e123d09302ce98d9b597a (patch)
treed722e54357414907113757f277a7dda7e0092e5a
parent8e5d69ca367f7227b1124022d9ccd718fa82e7bc (diff)
downloadpcp-0e04bca260780b2ce04e123d09302ce98d9b597a.tar.gz
Dyson is Debian
-rwxr-xr-xconfigure5
-rw-r--r--configure.ac5
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)