From 06874232a8d5990046006f317b72e30acbeb8b6e Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sat, 1 May 1999 00:34:46 +0000 Subject: 1999-04-30 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. * aclocal.m4 (hurd_SYSTYPE): New macro. * i386/linux/Drivers.in: Use it. * i386/linux/configure: Regenerated. --- i386/linux/Drivers.in | 33 ++------------------------------- 1 file changed, 2 insertions(+), 31 deletions(-) (limited to 'i386/linux') diff --git a/i386/linux/Drivers.in b/i386/linux/Drivers.in index c7f9903..5254cfc 100644 --- a/i386/linux/Drivers.in +++ b/i386/linux/Drivers.in @@ -6,7 +6,7 @@ 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 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 @@ -37,12 +37,7 @@ i686) AC_DEFINE(CONFIG_M686) AC_DEFINE(CPU, 486) ;; esac - -case "$host_cpu" in -i[[3456]]86) systype=i386 ;; -esac - -AC_SUBST(systype) +hurd_SYSTYPE AC_CHECK_TOOL(CC, gcc) AC_PROG_CC_LOCAL @@ -50,30 +45,6 @@ AC_PROG_CC_LOCAL AC_CHECK_TOOL(LD, ld) -dnl XXX: Autoconf is weak in linking files from non-current directories. -dnl So I hardcode the following shell script. - -mkdir_p () -{ - if test ! -d `dirname $1`; then - mkdir_p `dirname $1` - fi - mkdir $1; -} - -if test ! -d ../../linux/src/include; then - mkdir_p ../../linux/src/include -fi -if test ! -d ../../linux/dev/include; then - mkdir_p ../../linux/dev/include -fi - -ln -sf ../../../i386/linux/${srcdir}/../../linux/src/include/asm-${systype} \ - ../../linux/src/include/asm -ln -sf ../../../i386/linux/${srcdir}/../../linux/dev/include/asm-${systype} \ - ../../linux/dev/include/asm - - dnl Aliases have to come first. AC_DRIVER_ALIAS(3c501, el1) -- cgit v1.2.3