summaryrefslogtreecommitdiff
path: root/i386/configfrag.ac
blob: 98fe2b136c4c81e8109641755d28f19f45be8eaf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
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