summaryrefslogtreecommitdiff
path: root/i386/configfrag.ac
diff options
context:
space:
mode:
authorThomas Schwinge <tschwinge@gnu.org>2006-10-15 11:19:50 +0000
committerThomas Schwinge <tschwinge@gnu.org>2009-06-18 00:26:45 +0200
commit1814b96941da2d56fae9548365420f62cd2cc88b (patch)
tree3798c5855ea5ec9ba9d1b54dfb30886924886fc8 /i386/configfrag.ac
parentace79060354a31257656c5c2ef33a6c5e173bc31 (diff)
2006-10-15 Thomas Schwinge <tschwinge@gnu.org>
[task #5956 --- ``Automake'ify GNU Mach's code base''] * i386/configure.in: Move file... * i386/configfrag.ac: ... here. * i386/configure: Remove file.
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