summaryrefslogtreecommitdiff
path: root/libhurd-btree/headers.m4
blob: 4c26e2d3142f62b56f7ee35d907b45ede7347caa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# headers.m4 - Autoconf snippets to install links for header files.
# Copyright 2004 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/btree.h:libhurd-btree/btree.h])

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