summaryrefslogtreecommitdiff
path: root/viengoos/headers.m4
blob: 0fd845b2f724c0ecee1aad72f424eca63f8e5369 (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
# headers.m4 - Autoconf snippets to install links for header files.
# Copyright 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([])

AC_CONFIG_LINKS([
  viengoos/sys.h:viengoos/sysdeps/${arch}/sys.h
  viengoos/x86-64.h:viengoos/sysdeps/${arch}/x86-64.h
])

AC_CONFIG_COMMANDS_POST([
  mkdir -p sysroot/lib viengoos &&
  ln -sf ../../viengoos/libhurd-cap.a sysroot/lib/ &&
  echo '/* This file intentionally left blank.  */' >viengoos/libhurd-cap.a
])