diff configure.ac @ 15145:142e377e7e28

configure.ac: Don't run OCTAVE_CARBON_CGDISPLAYBITSPERPIXEL unless Carbon Framework is present. * configure.ac: Don't run OCTAVE_CARBON_CGDISPLAYBITSPERPIXEL unless Carbon Framework is present.
author Rik <rik@octave.org>
date Fri, 10 Aug 2012 13:09:11 -0700
parents e412d18d4fa5
children 2eb789da13c3
line wrap: on
line diff
--- a/configure.ac	Fri Aug 10 12:56:15 2012 -0700
+++ b/configure.ac	Fri Aug 10 13:09:11 2012 -0700
@@ -1995,7 +1995,9 @@
 esac
 
 ## Check for CGDisplayBitsPerPixel function on Mac OSX systems with Carbon
-OCTAVE_CARBON_CGDISPLAYBITSPERPIXEL
+if test $have_framework_carbon = "yes"; then
+  OCTAVE_CARBON_CGDISPLAYBITSPERPIXEL
+fi
 
 OCTAVE_SMART_PUTENV