aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/m4
diff options
context:
space:
mode:
authorDavid M. Syzdek <david@syzdek.net>2022-04-15 06:19:10 -0800
committerDavid M. Syzdek <david@syzdek.net>2022-04-15 06:19:10 -0800
commit2b7cbd06dc90c741a2a007e2dbe8398d994df18e (patch)
treed4aaad9b3e5de816fd67be13ddddcf62e498cba8 /m4
parent4d1657c495490d7790221e4e1f8af9bd364b5528 (diff)
downloadbindletools-2b7cbd06dc90c741a2a007e2dbe8398d994df18e.tar.gz
bindletools-2b7cbd06dc90c741a2a007e2dbe8398d994df18e.tar.bz2
bindletools-2b7cbd06dc90c741a2a007e2dbe8398d994df18e.tar.xz
bindletools-2b7cbd06dc90c741a2a007e2dbe8398d994df18e.zip
libbindle: adding ability to add symbol prefix
Diffstat (limited to 'm4')
-rw-r--r--m4/bindle-libbindle.m446
1 files changed, 46 insertions, 0 deletions
diff --git a/m4/bindle-libbindle.m4 b/m4/bindle-libbindle.m4
new file mode 100644
index 0000000..e9f3e72
--- /dev/null
+++ b/m4/bindle-libbindle.m4
@@ -0,0 +1,46 @@
1#
2# Bindle Binaries Tools
3# Copyright (C) 2022 David M. Syzdek <david@syzdek.net>.
4#
5# Redistribution and use in source and binary forms, with or without
6# modification, are permitted provided that the following conditions are
7# met:
8#
9# * Redistributions of source code must retain the above copyright
10# notice, this list of conditions and the following disclaimer.
11# * Redistributions in binary form must reproduce the above copyright
12# notice, this list of conditions and the following disclaimer in the
13# documentation and/or other materials provided with the distribution.
14# * Neither the name of Bindle Binaries nor the
15# names of its contributors may be used to endorse or promote products
16# derived from this software without specific prior written permission.
17#
18# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
19# IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
20# THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
21# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL BINDLE BINARIES BE LIABLE FOR
22# ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
23# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
24# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
25# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
26# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
27# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
28# SUCH DAMAGE.
29#
30
31
32# AC_BINDLE_LIBBINDLE()
33# ______________________________________________________________________________
34AC_DEFUN([AC_BINDLE_LIBBINDLE],[dnl
35
36 AC_REQUIRE([AC_PROG_CC])
37 AC_REQUIRE([AC_BINDLE])
38
39 LIBBINDLE_PREFIX="$1"
40
41 AC_SUBST([LIBBINDLE_PREFIX], [${LIBBINDLE_PREFIX}])
42 AC_DEFINE_UNQUOTED([LIBBINDLE_PREFIX], ["$LIBBINDLE_PREFIX"], [libbindle.la function prefix])
43])dnl
44
45
46# end of m4 file