summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure5
1 files changed, 2 insertions, 3 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