summaryrefslogtreecommitdiff
path: root/i386/configfrag.ac
diff options
context:
space:
mode:
Diffstat (limited to 'i386/configfrag.ac')
-rw-r--r--i386/configfrag.ac43
1 files changed, 43 insertions, 0 deletions
diff --git a/i386/configfrag.ac b/i386/configfrag.ac
new file mode 100644
index 0000000..98fe2b1
--- /dev/null
+++ b/i386/configfrag.ac
@@ -0,0 +1,43 @@
+dnl Configure script for i386
+dnl Copyright 1999, 2004, 2006 Free Software Foundation, Inc.
+
+dnl Permission to use, copy, modify and distribute this software and its
+dnl documentation is hereby granted, provided that both the copyright
+dnl notice and this permission notice appear in all copies of the
+dnl software, derivative works or modified versions, and any portions
+dnl thereof, and that both notices appear in supporting documentation.
+dnl
+dnl THE FREE SOFTWARE FOUNDATION ALLOWS FREE USE OF THIS SOFTWARE IN ITS
+dnl "AS IS" CONDITION. THE FREE SOFTWARE FOUNDATION DISCLAIMS ANY
+dnl LIABILITY OF ANY KIND FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE
+dnl USE OF THIS SOFTWARE.
+
+AC_PREREQ([2.57])
+
+m4_include([../version.m4])
+AC_INIT([AC_PACKAGE_NAME], [AC_PACKAGE_VERSION], [AC_PACKAGE_BUGREPORT], [AC_PACKAGE_TARNAME])
+AC_CONFIG_SRCDIR([i386/i386asm.sym])
+
+#
+# Options
+#
+AC_ARG_ENABLE([default-device-drivers],
+AS_HELP_STRING([--disable-default-device-drivers], [have all device drivers
+disabled that can be disabled and would otherwise have been enabled by default;
+then use the `--enable-*' options to enable only those you actually want to
+have enabled]))
+[if test x"$enable_default_device_drivers" != xno
+then enable_default_device_drivers=yes
+fi]
+
+AC_ARG_ENABLE([lpr],
+ AS_HELP_STRING([--disable-lpr], [disable use of lpr device]))
+[enable_lpr=${enable_lpr-$enable_default_device_drivers}
+if test x"$enable_lpr" = xyes
+then] AC_DEFINE([MACH_LPR], [], [enable mach lpr])
+[fi]
+
+AC_CONFIG_SUBDIRS([linux])
+
+AC_CONFIG_FILES([Makefile Makerules])
+AC_OUTPUT