summaryrefslogtreecommitdiff
path: root/configure.in
AgeCommit message (Collapse)Author
2009-06-182006-10-13 Thomas Schwinge <tschwinge@gnu.org>Thomas Schwinge
* configure.in: Move file... * configure.ac: ... here.
2009-06-182006-10-12 Thomas Schwinge <tschwinge@gnu.org>Thomas Schwinge
* version.m4: Rewrite. * configure.in: Adopt to the above. * i386/configure.in: Likewise. * i386/linux/configure.ac: Likewise. * linux/configure.in: Likewise.
2009-06-182006-09-20 Thomas Schwinge <tschwinge@gnu.org>Thomas Schwinge
* Drivers.macros (AC_DRIVER_ALIAS): Remove definition. (AC_DRIVER): Extend to take a `description' parameter and consider `$enable_default_device_drivers'. (AC_DRIVER_nodef): New definition. * configure.in (options kdb, kmsg): Remove redundancy. * i386/configure.in (option default-device-drivers): New option. (option lpr): Consider `$enable_default_device_drivers'. * i386/linux/configure.ac: Rework substantially. Remove all aliases. Rename some of the device driver options. (option default-device-drivers): New option. (linux_DRIVER): Take care about a `description' parameter and don't invoke AC_DRIVER_ALIAS. (linux_DRIVER_nodef): New definition. Adopt all usages of AC_DRIVER and linux_DRIVER to provide a `description' parameter. (g_NCR5380, NCR53c406a, eata_dma, wavelan, atp): Change from AC_DRIVER to AC_DRIVER_nodef to have these device drivers disabled by default. * doc/mach.texi: Add a note about the outdatedness to the configuration option table. * i386/README-Drivers: Update.
2009-06-182006-03-15 Thomas Schwinge <tschwinge@gnu.orgThomas Schwinge
* configure.in: Check for strip and gzip. * configure: Regenerated. * Makerules.in (GZIP, STRIP): New variables. (%.gz, %.stripped): New targets.
2009-06-182006-01-31 Thomas Schwinge <tschwinge@gnu.org>Thomas Schwinge
Cleanup of GNU Mach's build system. The system dependend parts are now handeled by the respective Makefile and no longer by the top-level one. * configure, i386/configure, i386/linux/configure, linux/configure: Regenerated. * Makefile.in: Various cleanups. (mach/machine, mach_machine): Targets removed. (AWK, CC, CFLAGS, CPPFLAGS, DEFINES, INCLUDES, INSTALL, INSTALL_DATA) (INSTALL_PROGRAM, LD, MIG, MIGFLAGS, NM): Variables moved into Makerules.in. Do not include $(sysdep)/Makefrag anymore. (all, check, clean, distclean, mostlyclean, maintainer-clean, install) (install-headers, install-kernel): Recurse into the system dependend subdirectory. (check): Add a basic test using mbchk. (clean, distclean): Be more explicit in what to delete. ($(systype)/%): New target. (kernel.o): Incorporate the system dependend archive. (installed-sysdep-headers-names, $(installed-sysdep-headers-names)): Variable and target moved into the system dependend Makefile.in. (install-headers, mkheaderdirs): Don't care for the system dependend header files. (%.symc, %.symc.o, %.h, %_user.c, %_interface.h, %_server.c): Targets moved into Makerules.in. Inclusion of dependency files: Likewise. (%.migs_d, %.migu_d, %.migsh_d, %.miguh_d, make-deps, %.d): Likewise. Include Makerules. * Makerules.in: New file, mainly based on Makefile.in. * configure.in: Do not substitute cross_compiling and not explicitly substitute LDFLAGS. Check for cpp, ranlib, ar and mbchk. Care for the mach/machine symbolic link. Add Makerules as a config file. * i386/Makefile.in: Various cleanups. Merge i386/Makefrag and the system dependent stuff from Makefile.in into this file. (all, check, install, install-headers, install-kernel): Recurse into the system dependend subdirectory. (sysdep.o): transformed to the new target sysdep.a. (linux/linux.o): Target removed. (clean, distclean): Be more explicit in what to delete. (linux/%): New target. (install-headers): Install the system dependend header files. (mkheaderdirs): New target. Include the top-level Makerules. * i386/Makefrag: File removed. * i386/Makerules.in: New file. * i386/configure.in: Synchronize AC_INIT to the top-level definition. Do not check for ld and make. Add Makerules as a config file. * i386/linux/Makefile.in: Various cleanups. Replace linux-objs with objfiles. (check, install, install-headers, install-kernel): New empty targets. Don't care about linux-flags if no_deps is true. Inclusion of dependency files removed and instead... Include the top-level Makerules. * i386/linux/Makerules.in: New file. * i386/linux/configure.ac: Synchronize AC_INIT to the top-level definition. Do not check for gcc and ld. Do not explicitly substitute LDFLAGS. Add Makerules as a config file. * linux/configure.in: Synchronize AC_INIT to the top-level definition. Do not create directories using a dummy file. * linux/dummy.in: File removed. * ddb/db_access.h: Include <machine/vm_param.h> instead of "vm_param.h". * kern/bootstrap.c: Likewise. * kern/thread.c: Likewise. * vm/vm_kern.c: Likewise. * vm/vm_object.c: Likewise. * vm/vm_resident.c: Likewise.
2009-06-182005-07-12 Guillem Jover <guillem@hadrons.org>Marcus Brinkmann
* configure: Regenerated. * i386/configure: Regenerated. * Drivers.macros (AC_DRIVER_CLASS): Use AH_TEMPLATE. (AC_DRIVER): Set the value for the AC_DEFINE and AC_DEFINE_UNQUOTED to 1. * aclocal.m4 (AC_PROG_CC_LOCAL, AC_PROG_CC_WORKS_LOCAL): Removed. * version.m4: New file. * Makefile.in: Use PACKAGE_VERSION, not VERSION. * doc/Makefile.in: Likewise. * version.c.in: Likewise. Use PACKAGE_NAME, not "GNUmach". * i386/linux/Makefile.in (configure): Change its source to configure.ac. * aclocal.m4: Add missing quotations. * Drivers.macros: Likewise. * configure.in: Likewise. Include version.m4 and use PACKAGE and VERSION m4 macros from it. * i386/configure.in: Likewise. (AC_INIT): Use new syntax and move source check to AC_CONFIG_SRCDIR. * i386/linux/configure.ac: Likewise. Use m4_sinclude, not sinclude. * linux/configure.in: Likewise. * i386/configure.in: Update AC_DEFINE to the new three argument form. * i386/linux/configure.ac: Move AC_DEFINE inside AC_ARG_ENABLE. * configure.in: Use AC_CONFIG_LINKS, not AC_LINK_FILES. * linux/configure.in: Likewise. * i386/configure.in: Call AC_CONFIG_FILES and use the new form of AC_OUTPUT. * i386/linux/configure.ac: Likewise. * linux/configure.in: Likewise * configure.in: Use AS_HELP_STRING in AC_ARG_ENABLE help strings. * Drivers.macros: Likewise. * i386/configure.in: Likewise. * i386/linux/configure.ac: Likewise. 2005-07-12 Neal H. Walfield <neal@cs.uml.edu> * configure.in: Update to use autoconf 2.57. Do not error out if host_os is not GNU. Update AC_DEFINEs to the required three argument form. Don't call AC_CHECK_TOOL(CC, gcc) and AC_PROG_CC_LOCAL, just use AC_PROG_CC. AC_SUBST(LDFLAGS). Refactor AC_CONFIG_SUBDIRS to not do variable substitution. Call AC_CONFIG_FILES and use the new form of AC_OUTPUT. * i386/configure.in: Require autoconf 2.57. * linux/configure.in: Likewise. * i386/linux/Drivers.in: Move from here... * i386/linux/configure.ac: ... to here to conform to the environment autoreconf expects. (hurd_host_CPU): New macro. Call AC_PROG_CC, not AC_PROG_CC_LOCAL. AC_SUBST(LD_FLAGS). (flashpoint): Update AC_DEFINE to the new three argument form. * Drivers.macros (AC_DRIVER): Update AC_DEFINE to the new three argument form.
2002-05-232002-05-22 Roland McGrath <roland@frob.com>Roland McGrath
* configure.in (VERSION): New substituted variable: set to 1.3 now. (version.c): Add it to AC_OUTPUT. * configure: Regenerated. * Makefile.in (version): New variable, set from that. Remove vpath directive for version.c, not found in build dir. (topfiles): version.c -> version.c.in * doc/Makefile.in (mach-version): Substituted instead of constant. * version.c: File removed, replaced with ... * version.c.in: ... this new file. (version): Make it const. Use @VERSION@ for the number.
2001-10-042001-10-04 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* doc: New directory. * doc/Makefile.in: New file. * doc/gpl.texi: Likewise. * doc/fdl.texi: Likewise. * doc/mach.texi: Likewise. * configure.in: Add doc/Makefile to AC_OUTPUT call. * configure: Regenerated. * Makefile.in (dist): Create directories doc and debian. (doc-files): New variable with documentation files. (debian-files): New variable with Debian packaging files. * debian/rules (stamp-build): Build documentation. (build-gnumach): Install the documentation into the gnumach package. * debian/postrm: New file to install info document. * debian/prerm: New file to install info document.
2001-07-292001-07-29 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* NEWS: Add items for this and other changes. * configure.in: Define MACH_KMSG by default and document this in the help output. * configure: Regenerated. * debian/rules: Do not enable kmsg explicitely.
1999-10-041999-10-04 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* configure.in: Remove AC_CHECK_TOOL(MAKE,...) check. * Makefile.in (MAKE): Variable removed. We require GNU make anyway, and it always sets MAKE.
1999-05-011999-04-30 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* i386/linux/Drivers.in: Don't create asm-${systype} symlinks here. * linux/configure.in: New file. Create them here instead. * linux/dummy.in: New file, used by configure. * linux/configure: New file (generated by autoconf). * configure.in: Configure in linux subdir. * configure: Regenerated.
1999-04-261999-02-27 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>Thomas Bushnell
* Makefile.in: Omit to detect if com or lpr is used, and don't use linux.o. (objfiles): Add $(systype)/sysdep.o. (clean): Chain the target to $(systype). (distclean): Likewise. (mostlyclean): Likewise. (maintainer-clean): Likewise. (install-headers): Likewise. (install-kernel): Likewise. * configure.in: AC_CONFIG_SUBDIRS ${systype} instead of linux. (--disable-linuxdev): Deleted. (--disable-com): Likewise. (--enable-lpr): Likewise. * i386/Makefile.in: New file. * i386/configure.in: Likewise. * i386/Makefrag (DEFINES): Add -DLINUX_DEV. (objfiles): Always add com.o. If MACH_LPR is defined, then add lpr.o. * linux/Drivers.in: Moved to ... * i386/linux/Drivers.in: ... here. Include ../../aclocal.m4. (mkdir_p): New function to create the linux include dirs. * linux/Makefile.in: Moved to ... * i386/linux/Makefile.in: ... here, and modify so that paths are valid. (clean): New target. (distclean): Likewise. (mostlyclean): Likewise. (maintainer-clean): Likewise. * linux/src/include/linux/autoconf.h: Removed. * linux/dev/include/linux/autoconf.h: Moved to ... * i386/linux/dev/include/linux/autoconf.h: ... here. * linux/dev/arch/i386/linux_emul.h: Moved to ... * i386/linux/dev/include/linux_emul.h: ... here. * linux/device-drivers.h.in: Moved to ... * i386/linux/device-drivers.h.in: ... here. * linux/aclocal.m4: Removed. * linux/configure: Likewise. 1999-02-06 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp> * configure.in: Enable com by default, because current kbd and mouse can't be linked without com. Reported by M. Meiarashi <mes@st.rim.or.jp>. 1999-02-01 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp> * linux/dev/glue/block.c (dev_getstat): Fix a missing `struct'. * device/cons.c (cninit): Don't call kmsginit. * kmsg.c (kmsg_buffer): Defined as static. (kmsg_write_offset): Likewise. (kmsg_read_offset): Likewise. (kmsg_read_queue): Likewise. (kmsg_in_use): Likewise. (kmsg_lock): Likewise. (kmsginit): Likewise, and call queue_init instead of setting PREV and NEXT manually. (kmsg_done_init): New variable. (kmsg_putchar): Call kmsginit if not initialized yet. (kmsggetstat): New function. * kmsg.h (kmsggetstat): Add the prototype. * i386/i386at/kd_event.c (kbdgetstat): Handle DEV_GET_SIZE. (kbdread): Check if the amount a user specify is a multiple of sizeof(kd_event). * i386/i386at/kd_mouse.c (mousegetstat): New function. (mouseread): Check if the amount a user specify is a multiple of sizeof(kd_event). * i386/i386at/conf.c (dev_name_list): Set the mouse getstat entry to mousegetstat and the kmsg getstat entry to kmsggetstat. Use MACH_COM instead of NCOM to determine if com is used. Use MACH_LPR instead of NLPR to determine if lpr is used. * configure.in (--enable-com): New option. (--enable-lpr): Likewise. * Makefile.in (enable_com): New variable. (enable_lpr): Likewise. * i386/Makefrag (i386at-files): Remove com.c. (objfiles): Add com.o if enable_com is yes, and lpr.o if enable_lpr is yes. 1998-12-02 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp> * configure.in: Fix linuxdev option handling. * linux/Drivers.in: Remove linuxdev option and fix linking files. * linux/Makefile.in: Replace @DEFS@ with -DLINUX_DEV. * linux/dev/arch/i386/kernel/irq.c: Include missing header files. * linux/dev/arch/i386/kernel/setup.c: Include <device-drivers.h>. * linux/dev/glue/kmem.c: Add printf declaration. * linux/dev/glue/misc.c: Include <linux/types.h>. * linux/dev/init/main.c: Call linux_sched_init instead of sched_init. * linux/dev/kernel/sched.c: Add timer_bh declaration. (tqueue_bh): Fix the argument. (linux_sched_init): Renamed from sched_init. 1998-12-06 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp> Add kmsg device. * Makefile.in (device-files): Add kmsg.c and kmsg.h. * configure.in (--enable-kmsg): New option. * device/cons.c: Include kmsg.h. (cninit): Call kmsginit if MACH_KMSG is defined. (cnputc): Call kmsg_putchar if MACH_KMSG is defined. * device/kmsg.c: New file. * device/kmsg.h: Likewise. * i386/i386at/conf.c (dev_name_list): Add kmsg entry. 1998-12-01 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp> * i386/i386at/i386at_ds_routines.c: Include <linux/device-drivers.h> only if LINUX_DEV is defined. Reported by UCHIYAMA Yasushi <uch@nop.or.jp>. * device/ds_routines.c: Likewise. * configure.in: AC_CONFIG_SUBDIRS(linux) instead of linuxdev. (--disable-linuxdev): New option. * linux/Makefile.in (CPPFLAGS): Remove -DLINUX_DEV, and add @DEFS@. (objfiles): Add linux.o only if LINUX_DEV is defined. * linux/Drivers.in (--disable-linuxdev): New option. * i386/Makefrag (DEFINES): Remove -DLINUX_DEV. 1998-11-30 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp> Clean up linux emulation code to make it architecture-independent as much as possible. * linux: Renamed from linuxdev. * Makefile.in (objfiles): Add linux.o instead of linuxdev.o. (MAKE): New variable. Used for the linux.o target. * configure.in: Add AC_CHECK_TOOL(MAKE, make). * i386/i386/spl.h: Include <i386/ipl.h>, for compatibility with OSF Mach 3.0. Suggested by Elgin Lee <ehl@funghi.com>. * linux/src: Renamed from linux/linux. * linux/dev: Renamed from linux/mach. * linux/Drivers.in (AC_INIT): Use dev/include/linux/autoconf.h, instead of mach/include/linux/autoconf.h. * Makefile.in (all): Target ../linux.o instead of ../linuxdev.o. * linux/dev/drivers/block/genhd.c: Include <machine/spl.h> instead of <i386/ipl.h>. * linux/dev/drivers/net/auto_irq.c: Remove unneeded header files, <i386/ipl.h> and <i386/pic.h>. * linux/dev/init/main.c: Many i386-dependent codes moved to ... * linux/dev/arch/i386/irq.c: ... here. * linux/dev/arch/i386/setup.c: New file. * linux/dev/arch/i386/linux_emul.h: Likewise. * linux/dev/arch/i386/glue/timer.c: Merged into sched.c. * linux/dev/arch/i386/glue/sched.c: Include <machine/spl.h> instead of <i386/ipl.h>, and moved to ... * linux/dev/kernel/sched.c: ... here. * linux/dev/arch/i386/glue/block.c: Include <machine/spl.h> and <linux_emul.h>, instead of i386-dependent header files, and moved to ... * linux/dev/glue/blocl.c: ... here. * linux/dev/arch/i386/glue/net.c: Include <machine/spl.h> and <linux_emul.h>, instead of i386-dependent header files, and moved to ... * linux/dev/glue/net.c: ... here. * linux/dev/arch/i386/glue/misc.c: Remove `x86' and moved to ... * linux/dev/glue/misc.c: ... here. * linux/dev/arch/i386/glue/kmem.c: Moved to ... * linux/dev/glue/kmem.c: ... here.
1998-10-241998-10-24 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* configure.in (--enable-kdb): Fix help text; handle --disable-kdb. Remove BUILD_CC checks and lex/yacc checks (which were for mig). (installed_clib): Remove these checks. (LD, NM, MIG): Use AC_CHECK_TOOL for these.
1997-04-23Wed Apr 23 13:21:23 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell
* configure.in (BUILD_CC): Use AC_CHECK_PROGS, not AC_CHECK_PROG, since we are checking multiple names. * configure.in (kdb): New --enable option. * Makefile.in (DEFINES): Add @DEFS@. * Makefile.in (clean, distclean, mostlyclean, maintainter-clean): New targets. (all-archs-configures): New variable. (MIG): Change to ./local-mig. (./local-mig): Change to build this instead of ./mig (check-clib-routines): Use nm -g in case there are local symbols. Suggested by Matthew Wilcox (willy@odie.barnet.ac.uk). Fri Apr 18 15:25:10 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> * configure.in: Add AC_PREREQ for version 2.12. * i386/Drivers.in: Likewise.
1997-04-17Wed Apr 16 16:55:36 1997 Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu>Thomas Bushnell
* configure.in: Replace AC_PROG_CC with AC_PROG_CC_LOCAL. If cross compiling do Lex/Yacc checks with BUILD_CC. Check CC and BUILD_CC for libraries having the needed support, and substitute discovery in installed_clib. * aclocal.m4: New file. These replacement macros are to handle the case where there is a cross compiler but no supporting files. * Makefile.in (installed-clib): Don't hardwire a Hurd libcrt.a. (cross_linkable): Only define cross-migcom variable when it will be possible to build it. (all, install): Use $(cross-migcom). (install): Install cross-migcom only if was to be built. (mkinstalldirs): Add $(bindir), $(includedir)/mach/exec (cross-lexxer.o lexxer.o): lexxer.o needs cpu.h. (./cross-migcom): Prevent dependency generation for cross-* MiG files unless they can actually be built.
1997-04-17Wed Apr 16 12:52:25 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell
* Makefile.in (cross-lexxer.o lexxer.o): Add pump-priming dependency on cpu.h. Reported by Marcus G. Daniels (marcus@cathcart.sysc.pdx.edu). * configure.in: Fail if configure target is not for GNU os. * Makefile.in (./cross-mig): New rule. (mkinstalldirs): Add $(libexecdir). * configure.in: Recognize i686. Reported by Marcus G. Daniels (marcus@cathcart.sysc.pdx.edu).
1997-04-14Baseline.Thomas Bushnell
1997-03-24prerelease workThomas Bushnell