Mercurial > octave-nkf
comparison configure.in @ 8635:bef8f001032f
Further improvements for OCTAVE_HAVE_FRAMEWORK and the test for the MacOSX Carbon framework.
author | Thomas Treichl <Thomas.Treichl@gmx.net> |
---|---|
date | Thu, 29 Jan 2009 22:01:49 +0100 |
parents | 53fb843ca498 |
children | 2264092e9f39 |
comparison
equal
deleted
inserted
replaced
8634:cbd6545b0d85 | 8635:bef8f001032f |
---|---|
270 AC_SUBST(X11_LIBS) | 270 AC_SUBST(X11_LIBS) |
271 fi | 271 fi |
272 | 272 |
273 ### On MacOSX system the Carbon framework is used to determine ScreenSize | 273 ### On MacOSX system the Carbon framework is used to determine ScreenSize |
274 OCTAVE_HAVE_FRAMEWORK(Carbon, [#include <Carbon/Carbon.h>], [CGMainDisplayID ()], | 274 OCTAVE_HAVE_FRAMEWORK(Carbon, [#include <Carbon/Carbon.h>], [CGMainDisplayID ()], |
275 [have_carbon="yes"], [have_carbon="no"]) | 275 [have_framework_carbon="yes"], [have_framework_carbon="no"]) |
276 if test $have_carbon = "yes"; then | 276 if test $have_framework_carbon = "yes"; then |
277 AC_DEFINE(HAVE_FRAMEWORK_CARBON, 1, [Define if framework CARBON is available.]) | 277 AC_DEFINE(HAVE_FRAMEWORK_CARBON, 1, [Define if framework CARBON is available.]) |
278 LDFLAGS="$LDFLAGS -Wl,-framework -Wl,Carbon" | 278 LIBS="$LIBS -Wl,-framework -Wl,Carbon" |
279 AC_MSG_NOTICE([adding -Wl,-framework -Wl,Carbon to LDFLAGS]) | 279 AC_MSG_NOTICE([adding -Wl,-framework -Wl,Carbon to LIBS]) |
280 fi | 280 fi |
281 | 281 |
282 ### On Intel systems with gcc, we may need to compile with -mieee-fp | 282 ### On Intel systems with gcc, we may need to compile with -mieee-fp |
283 ### and -ffloat-store to get full support for IEEE floating point. | 283 ### and -ffloat-store to get full support for IEEE floating point. |
284 ### | 284 ### |