diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 2001-04-13 19:13:14 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2001-04-13 19:13:14 +0000 |
| commit | 022ba3679f3837eb551c587aa6001b95409e0955 (patch) | |
| tree | 66c806b69f167913edb2ac4526dd8db572c0958f /configure.in | |
| parent | b8a8c98f04c752e69c17f2709c7496489b839611 (diff) | |
AIX changes...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1430 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'configure.in')
| -rw-r--r-- | configure.in | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/configure.in b/configure.in index 4b05cf97b..95dfc831d 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.25 2001/02/21 21:37:30 easysw Exp $" +dnl "$Id: configure.in,v 1.33.2.26 2001/04/13 19:13:14 easysw Exp $" dnl dnl Configuration script for the Fast Light Tool Kit (FLTK). dnl @@ -81,6 +81,12 @@ if eval "test x$enable_shared = xyes"; then DSONAME="libfltk.so.1" DSOCOMMAND="\$(CXX) -Wl,-soname,\$@ -shared \$(OPTIM) -o" ;; + AIX*) + PICFLAG=0 + + echo "Warning: shared libraries are not currently supported under AIX." + echo " Building static libraries." + ;; *) echo "Warning: shared libraries may not be supported. Trying -shared" echo " option with compiler." @@ -311,6 +317,12 @@ else CXXFLAGS="-PIC $CXXFLAGS" fi ;; + AIX*) + if test -z "$DEBUGFLAG"; then + CFLAGS="-O2 $CFLAGS" + CXXFLAGS="-O2 $CXXFLAGS" + fi + ;; *) # Running some other operating system; inform the user they # should contribute the necessary options to fltk-bugs@fltk.org... @@ -334,5 +346,5 @@ AC_CONFIG_HEADER(config.h:configh.in) AC_OUTPUT(makeinclude) dnl -dnl End of "$Id: configure.in,v 1.33.2.25 2001/02/21 21:37:30 easysw Exp $". +dnl End of "$Id: configure.in,v 1.33.2.26 2001/04/13 19:13:14 easysw Exp $". dnl |
