[PATCH xserver 1/3] configure.ac: Use -Wl, -all_load when building Xorg on darwin

Jeremy Huddleston jeremyhu at apple.com
Mon Jan 9 01:07:42 PST 2012


Signed-off-by: Jeremy Huddleston <jeremyhu at apple.com>
---
 configure.ac |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/configure.ac b/configure.ac
index 6de92b4..cb942fa 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1680,6 +1680,13 @@ if test "x$XORG" = xyes; then
 	  gnu*)
 		XORG_OS_SUBDIR="hurd"
 		;;
+	  darwin*)
+		XORG_OS_SUBDIR="stub"
+		LDFLAGS="$LDFLAGS -Wl,-all_load"
+		AC_MSG_NOTICE([m4_text_wrap(m4_join([ ],
+		[Support for teh Xorg DDX on Mac OS X is in the early stages.],
+		[If you intended to build XQuartz, please reconfigure with the appropriate options]))])
+		;;
 	  *)
 		XORG_OS_SUBDIR="stub"
 		AC_MSG_NOTICE([m4_text_wrap(m4_join([ ],
-- 
1.7.7.4



More information about the xorg-devel mailing list