From 89a3a3d53a95afc90a6c269242036dc88e29deef Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sat, 15 Feb 2003 23:52:51 +0000 Subject: 2003-02-15 Roland McGrath * configure.ac: New file. * install-headers.in: New file. --- hurd/configure.ac | 11 +++++++++++ hurd/install-headers.in | 22 ++++++++++++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 hurd/configure.ac create mode 100755 hurd/install-headers.in (limited to 'hurd') diff --git a/hurd/configure.ac b/hurd/configure.ac new file mode 100644 index 00000000..bb6d7439 --- /dev/null +++ b/hurd/configure.ac @@ -0,0 +1,11 @@ +dnl Run through autoconf to create a configure script for install-headers. +AC_REVISION([$CVSid$]) +AC_PREREQ(2.53)dnl dnl Minimum Autoconf version required. +AC_INIT([GNU Hurd], [bootstrap installation of header files]) +AC_CONFIG_SRCDIR([hurd_types.h]) +AC_CONFIG_AUX_DIR([..]) + +AC_PROG_INSTALL + +AC_CONFIG_FILES([install-headers]) +AC_OUTPUT diff --git a/hurd/install-headers.in b/hurd/install-headers.in new file mode 100755 index 00000000..99d35833 --- /dev/null +++ b/hurd/install-headers.in @@ -0,0 +1,22 @@ +#!/bin/sh -e +# @configure_input@ +# +# This is a trivial script for those who aren't comfortable typing: +# cp hurd/*.h hurd/*.defs /usr/local/i686-gnu/include/hurd/ +# by themselves. That is, it copies the essential Hurd header files +# into $(includedir) before you attempt to build the Hurd itself. +# In addition to installing Mach headers, this is sufficient to bootstrap +# an empty cross-compilation environment such that glibc can be compiled. + +srcdir=@srcdir@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +includedir=@includedir@ + +INSTALL="@INSTALL@" +INSTALL_DATA="@INSTALL_DATA@" + +${srcdir}/../mkinstalldirs ${includedir}/hurd +for file in `cd ${srcdir}; echo *.h *.defs`; do + ${INSTALL_DATA} ${file} ${includedir}/hurd/${file} +done -- cgit v1.2.3