annotate build-aux/ldd.sh.in @ 7376:5b76a3b030e7

.
author Karl Berry <karl@freefriends.org>
date Wed, 27 Sep 2006 07:37:50 +0000
parents ed2b5c29e4cb
children bbbbbf4cd1c5
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
6555
ed2b5c29e4cb New module 'ldd'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
1 #!/bin/sh
ed2b5c29e4cb New module 'ldd'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
2 # Determine the dynamically linked dependencies of a program.
ed2b5c29e4cb New module 'ldd'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
3
ed2b5c29e4cb New module 'ldd'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
4 # Copyright (C) 2006 Free Software Foundation, Inc.
ed2b5c29e4cb New module 'ldd'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
5 # Written by Bruno Haible <bruno@clisp.org>, 2006.
ed2b5c29e4cb New module 'ldd'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
6 #
ed2b5c29e4cb New module 'ldd'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
7 # This program is free software; you can redistribute it and/or modify
ed2b5c29e4cb New module 'ldd'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
8 # it under the terms of the GNU General Public License as published by
ed2b5c29e4cb New module 'ldd'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
9 # the Free Software Foundation; either version 2, or (at your option)
ed2b5c29e4cb New module 'ldd'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
10 # any later version.
ed2b5c29e4cb New module 'ldd'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
11 #
ed2b5c29e4cb New module 'ldd'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
12 # This program is distributed in the hope that it will be useful,
ed2b5c29e4cb New module 'ldd'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
13 # but WITHOUT ANY WARRANTY; without even the implied warranty of
ed2b5c29e4cb New module 'ldd'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
ed2b5c29e4cb New module 'ldd'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
15 # GNU General Public License for more details.
ed2b5c29e4cb New module 'ldd'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
16 #
ed2b5c29e4cb New module 'ldd'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
17 # You should have received a copy of the GNU General Public License
ed2b5c29e4cb New module 'ldd'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
18 # along with this program; if not, write to the Free Software Foundation,
ed2b5c29e4cb New module 'ldd'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
19 # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
ed2b5c29e4cb New module 'ldd'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
20
ed2b5c29e4cb New module 'ldd'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
21 # Usage: ldd.sh program
ed2b5c29e4cb New module 'ldd'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
22
ed2b5c29e4cb New module 'ldd'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
23 @LDDPROG@ "$1" @LDDPOSTPROC@