Skip to content

Commit

Permalink
Added Solaris switches suggested by Carlos O'Ryan (coryan@cs.wustl.edu)
Browse files Browse the repository at this point in the history
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@590 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
  • Loading branch information
spitzak committed May 19, 1999
1 parent 7fad9c3 commit 8abc94b
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions 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#
Expand Down Expand Up @@ -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...
Expand All @@ -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#

0 comments on commit 8abc94b

Please sign in to comment.