From 8abc94ba074ae2855590158a415c39f92af80ad5 Mon Sep 17 00:00:00 2001 From: Bill Spitzak Date: Wed, 19 May 1999 19:07:15 +0000 Subject: 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 --- configure.in | 15 +++++++++++++-- 1 file 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# -- cgit v1.2.3