aboutsummaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2001-05-22 06:33:06 +0000
committerGuy Harris <guy@alum.mit.edu>2001-05-22 06:33:06 +0000
commit0e00be586977dec9409a7b69439a13f4718947ed (patch)
tree88fed68f8ec9820f6a932a686853dac5114e45ee /configure.in
parentb8b6c4adf3046545f2e30aec82a3578b745845d6 (diff)
Cleanups to the "--with-ssl" configuration option, and changes to add
compiler flags on Solaris with GCC to cope with X11 header file inadequacies. svn path=/trunk/; revision=3433
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in11
1 files changed, 10 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index 1e41be1bfc..a789763a1f 100644
--- a/configure.in
+++ b/configure.in
@@ -1,4 +1,4 @@
-# $Id: configure.in,v 1.125 2001/05/16 21:32:04 ashokn Exp $
+# $Id: configure.in,v 1.126 2001/05/22 06:33:04 guy Exp $
dnl
dnl Process this file with autoconf 2.13 or later to produce a
dnl configure script; 2.12 doesn't generate a "configure" script that
@@ -117,7 +117,16 @@ then
;;
esac
else
+ case "$host_os" in
+ solaris*)
+ # the X11 headers don't automatically include prototype info
+ # and a lot don't include the return type
+ CFLAGS="$CFLAGS -Wno-return-type -DFUNCPROTO=15"
+ ;;
+ *)
AC_MSG_RESULT(none needed)
+ ;;
+ esac
fi
#