summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBill Spitzak <spitzak@gmail.com>1999-05-19 19:07:15 +0000
committerBill Spitzak <spitzak@gmail.com>1999-05-19 19:07:15 +0000
commit8abc94ba074ae2855590158a415c39f92af80ad5 (patch)
tree00e1b3b47c337ec0d63607e0c172c4f0310b65a2
parent7fad9c354ba170d285e0d0bdcf1fe7c045d9f4cc (diff)
Added Solaris switches suggested by Carlos O'Ryan (coryan@cs.wustl.edu)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@590 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
-rw-r--r--configure.in15
1 files changed, 13 insertions, 2 deletions
diff --git a/configure.in b/configure.in
index 7d9a2da93..722aede2d 100644
--- a/configure.in
+++ b/configure.in
@@ -1,7 +1,7 @@
dnl# -*- sh -*-
dnl# the "configure" script is made from this by running GNU "autoconf"
dnl#
-dnl# "$Id: configure.in,v 1.33.2.3 1999/05/14 09:08:05 bill Exp $"
+dnl# "$Id: configure.in,v 1.33.2.4 1999/05/19 19:07:15 bill Exp $"
dnl#
dnl# Configuration script for the Fast Light Tool Kit (FLTK).
dnl#
@@ -207,6 +207,17 @@ else
CXXFLAGS="+O2 +W336,501,736,740,749,829 $CXXFLAGS"
fi
;;
+ SunOS*)
+ # Solaris
+ if test -z "$DEBUGFLAG"; then
+ CFLAGS="-O"
+ CXXFLAGS="-O"
+ fi
+ if test $PICFLAG = 1; then
+ CFLAGS="-KPIC $CFLAGS"
+ CXXFLAGS="-PIC $CXXFLAGS"
+ fi
+ ;;
*)
# Running some other operating system; inform the user they
# should contribute the necessary options to fltk-bugs@easysw.com...
@@ -230,5 +241,5 @@ AC_CONFIG_HEADER(config.h:configh.in)
AC_OUTPUT(makeinclude)
dnl#
-dnl# End of "$Id: configure.in,v 1.33.2.3 1999/05/14 09:08:05 bill Exp $".
+dnl# End of "$Id: configure.in,v 1.33.2.4 1999/05/19 19:07:15 bill Exp $".
dnl#