diff --git a/FL/Fl_Menu_.H b/FL/Fl_Menu_.H index c64058b5b..12d0fe989 100644 --- a/FL/Fl_Menu_.H +++ b/FL/Fl_Menu_.H @@ -1,5 +1,5 @@ // -// "$Id: Fl_Menu_.H,v 1.7.2.4.2.4 2002/08/14 16:49:38 easysw Exp $" +// "$Id: Fl_Menu_.H,v 1.7.2.4.2.5 2002/11/14 13:57:40 easysw Exp $" // // Menu base class header file for the Fast Light Tool Kit (FLTK). // @@ -69,7 +69,7 @@ public: int mode(int i) const {return menu_[i].flags;} const Fl_Menu_Item *mvalue() const {return value_;} - int value() const {return value_-menu_;} + int value() const {return (int)(value_-menu_);} int value(const Fl_Menu_Item*); int value(int i) {return value(menu_+i);} const char *text() const {return value_ ? value_->text : 0;} @@ -93,5 +93,5 @@ public: #endif // -// End of "$Id: Fl_Menu_.H,v 1.7.2.4.2.4 2002/08/14 16:49:38 easysw Exp $". +// End of "$Id: Fl_Menu_.H,v 1.7.2.4.2.5 2002/11/14 13:57:40 easysw Exp $". // diff --git a/configure.in b/configure.in index 5ddf6b6d2..ee9c2ed01 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.31.2.92 2002/11/08 19:50:35 easysw Exp $" +dnl "$Id: configure.in,v 1.33.2.31.2.93 2002/11/14 13:57:39 easysw Exp $" dnl dnl Configuration script for the Fast Light Tool Kit (FLTK). dnl @@ -779,6 +779,17 @@ else OPTIM="$OPTIM +W336,501,736,740,749,829" ;; + OSF1*) + # Running Digital/Tru64 UNIX; these options should work for the + # Digital/Compaq/NewHP compilers. + if test -z "$DEBUGFLAG"; then + if test "x$with_optim" != x; then + OPTIM="$with_optim $OPTIM" + else + OPTIM="-O2 $OPTIM" + fi + fi + ;; SunOS*) # Solaris if test -z "$DEBUGFLAG"; then @@ -837,5 +848,5 @@ dnl Make sure the fltk-config script is executable... chmod +x fltk-config dnl -dnl End of "$Id: configure.in,v 1.33.2.31.2.92 2002/11/08 19:50:35 easysw Exp $". +dnl End of "$Id: configure.in,v 1.33.2.31.2.93 2002/11/14 13:57:39 easysw Exp $". dnl