summaryrefslogtreecommitdiff
path: root/libhurd-mm/headers.m4
blob: f7e6663b84588690d53877c9c4b05bdb67ad0d63 (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
# headers.m4 - Autoconf snippets to install links for header files.
# Copyright 2004, 2005, 2007, 2008 Free Software Foundation, Inc.
# Written by Neal H. Walfield <neal@gnu.org>.
#
# This file is free software; as a special exception the author gives
# unlimited permission to copy and/or distribute it, with or without
# modifications, as long as this notice is preserved.
#
# This file is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

AC_CONFIG_LINKS([
  sysroot/include/hurd/mm.h:libhurd-mm/mm.h
  sysroot/include/hurd/as.h:libhurd-mm/as.h
  sysroot/include/hurd/storage.h:libhurd-mm/storage.h
  sysroot/include/hurd/capalloc.h:libhurd-mm/capalloc.h
  sysroot/include/hurd/map.h:libhurd-mm/map.h
  sysroot/include/hurd/pager.h:libhurd-mm/pager.h
  sysroot/include/hurd/anonymous.h:libhurd-mm/anonymous.h
])

AC_CONFIG_COMMANDS_POST([
  mkdir -p sysroot/lib libhurd-mm &&
  ln -sf ../../libhurd-mm/libhurd-mm.a sysroot/lib/ &&
  touch libhurd-mm/libhurd-mm.a
])