summaryrefslogtreecommitdiff
path: root/i386/linux/Drivers.in
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1999-05-01 00:34:46 +0000
committerRoland McGrath <roland@gnu.org>1999-05-01 00:34:46 +0000
commit06874232a8d5990046006f317b72e30acbeb8b6e (patch)
tree8bde252e2b7d2aaf2e44d55b368a5e6e7856fc91 /i386/linux/Drivers.in
parent280a7878941a7129f6e89a8360a37a9b6fcacdbb (diff)
1999-04-30 Roland McGrath <roland@baalperazim.frob.com>
* 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.
Diffstat (limited to 'i386/linux/Drivers.in')
-rw-r--r--i386/linux/Drivers.in33
1 files changed, 2 insertions, 31 deletions
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)