1265N/A# Copyright (c) 2006, 2012, Oracle
and/or its affiliates. All rights reserved.
98N/A# Permission is hereby granted, free of charge, to any person obtaining a
919N/A# copy of this software and associated documentation files (the "Software"),
919N/A# to deal in the Software without restriction, including without limitation
919N/A# the rights to use, copy, modify, merge, publish, distribute, sublicense,
919N/A#
and/or sell copies of the Software, and to permit persons to whom the
919N/A# Software is furnished to do so, subject to the following conditions:
919N/A# The above copyright notice and this permission notice (including the next
919N/A# paragraph) shall be included in all copies or substantial portions of the
919N/A# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
919N/A# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
919N/A# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
919N/A# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
919N/A# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
919N/A# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
919N/A# DEALINGS IN THE SOFTWARE.
1265N/A@@ -37,6 +37,7 @@ SUBDIRS = \
1265N/Aindex 9e07c44..460da17 100644
1265N/A@@ -1191,6 +1191,10 @@ AC_DEFINE(XINPUT, 1, [Support X Input extension])
606N/A XI_INC='-I$(top_srcdir)/Xi'
851N/A+XEXT_LIB="${XEXT_LIB} ${IA_LIB}"
235N/A AM_CONDITIONAL(XF86UTILS, test "x$XF86UTILS" = xyes)
851N/A AM_CONDITIONAL(XAA, test "x$XAA" = xyes)
851N/A AM_CONDITIONAL(VGAHW, test "x$VGAHW" = xyes)
98N/A+# Add Sun IA extension
1265N/Aindex aa3d97e..87004df 100644
1124N/A@@ -125,6 +125,7 @@ static ModuleDefault ModuleDefaults[] = {
606N/A {.name = "dri2", .toLoad = TRUE, .load_opt=NULL},
606N/A+ {.name = "ia", .toLoad = TRUE, .load_opt=NULL},
606N/A {.name = NULL, .toLoad = FALSE, .load_opt=NULL}
1265N/Aindex a5be3ae..02a6d0d 100644
1265N/A libdixmods_la_CFLAGS = -DXFree86LOADER $(AM_CFLAGS)
98N/A+# Sun IA extension module additions
908N/A+libia_la_CPPFLAGS = $(AM_CPPFLAGS) -I$(top_builddir)/IA
606N/A+libia_la_LDFLAGS = -avoid-version
235N/A+#define SolarisIAExtension
705N/A extern Bool noTestExtensions;
1088N/A@@ -153,6 +154,9 @@ extern Bool noSELinuxExtension;
235N/A extern Bool noXvExtension;
705N/A extern Bool noGEExtension;
235N/A+#ifdef SolarisIAExtension
1088N/A@@ -184,6 +188,10 @@ typedef void (*InitExtension)(INITARGS);
235N/A+#ifdef SolarisIAExtension
235N/A /* FIXME: this whole block of externs should be from the appropriate headers */
1124N/A@@ -304,6 +312,9 @@ static ExtensionToggle ExtensionToggleList[] =
705N/A { "SECURITY", &noSecurityExtension },
235N/A+#ifdef SolarisIAExtension
235N/A+ { IANAME /* "SolarisIA" */, &noIAExtension },
705N/A { "X-Resource", &noResExtension },
1124N/A@@ -470,6 +481,9 @@ InitExtensions(int argc, char *argv[])
705N/A GlxPushProvider(&__glXDRISWRastProvider);
606N/A if (!noGlxExtension) GlxExtensionInit();
235N/A+#ifdef SolarisIAExtension
235N/A+ if (!noIAExtension) IAExtensionInit();
705N/A #else /* XFree86LOADER */