diff options
Diffstat (limited to 'gnulib/tests/havelib/rpathz')
m--------- | gnulib | 0 | ||||
-rw-r--r-- | gnulib/tests/havelib/rpathz/Makefile.am | 4 | ||||
-rw-r--r-- | gnulib/tests/havelib/rpathz/configure.ac | 27 | ||||
-rw-r--r-- | gnulib/tests/havelib/rpathz/rpathz.c | 3 |
4 files changed, 34 insertions, 0 deletions
diff --git a/gnulib b/gnulib deleted file mode 160000 -Subproject 443bc5ffcf7429e557f4a371b0661abe98ddbc1 diff --git a/gnulib/tests/havelib/rpathz/Makefile.am b/gnulib/tests/havelib/rpathz/Makefile.am new file mode 100644 index 0000000..675dda2 --- /dev/null +++ b/gnulib/tests/havelib/rpathz/Makefile.am @@ -0,0 +1,4 @@ +AUTOMAKE_OPTIONS = 1.5 foreign no-dependencies +lib_LTLIBRARIES = librpathz.la +librpathz_la_SOURCES = rpathz.c +librpathz_la_LDFLAGS = @LTLIBRPATHX@ @LTLIBRPATHY@ -lc -no-undefined diff --git a/gnulib/tests/havelib/rpathz/configure.ac b/gnulib/tests/havelib/rpathz/configure.ac new file mode 100644 index 0000000..819a1a4 --- /dev/null +++ b/gnulib/tests/havelib/rpathz/configure.ac @@ -0,0 +1,27 @@ +dnl Configuration of librpathz that depends on librpathx and librpathy. +dnl +dnl Copyright (C) 2002-2003, 2005, 2010-2011 Free Software Foundation, Inc. +dnl +dnl This program is free software: you can redistribute it and/or modify +dnl it under the terms of the GNU General Public License as published by +dnl the Free Software Foundation; either version 3 of the License, or +dnl (at your option) any later version. +dnl +dnl This program is distributed in the hope that it will be useful, +dnl but WITHOUT ANY WARRANTY; without even the implied warranty of +dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +dnl GNU General Public License for more details. +dnl +dnl You should have received a copy of the GNU General Public License +dnl along with this program. If not, see <http://www.gnu.org/licenses/>. + +AC_INIT([configure.ac]) +AC_CONFIG_AUX_DIR([../../../build-aux]) +AC_CONFIG_MACRO_DIR([../ltm4]) +AM_INIT_AUTOMAKE([gettext_rpathz], [0]) +AC_PROG_CC +AM_PROG_LIBTOOL +AC_LIB_LINKFLAGS([rpathx]) +AC_LIB_LINKFLAGS([rpathy],[rpathx]) +AC_SUBST([global_top_auxdir]) +AC_OUTPUT([Makefile]) diff --git a/gnulib/tests/havelib/rpathz/rpathz.c b/gnulib/tests/havelib/rpathz/rpathz.c new file mode 100644 index 0000000..da34af1 --- /dev/null +++ b/gnulib/tests/havelib/rpathz/rpathz.c @@ -0,0 +1,3 @@ +extern int rpathx_value (void); +extern int rpathy_value (void); +int rpathz_value () { return 1000 * rpathx_value () + 3 * rpathy_value (); } |