diff options
author | Bruno Haible <bruno@clisp.org> | 2002-01-21 13:33:42 +0000 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2009-06-22 01:05:29 +0200 |
commit | 4b0d4c9156417a9519b895e8fda7935f0d86c2c3 (patch) | |
tree | 60f2fcb71a8f9cd0a4ec9b72986c949835219843 /tests/rpathy | |
parent | 24ce4c3d7aa0b675c8f401043b088da1b4ba0a25 (diff) | |
download | external_gettext-4b0d4c9156417a9519b895e8fda7935f0d86c2c3.zip external_gettext-4b0d4c9156417a9519b895e8fda7935f0d86c2c3.tar.gz external_gettext-4b0d4c9156417a9519b895e8fda7935f0d86c2c3.tar.bz2 |
New tests for config.rpath and lib-link.m4.
Diffstat (limited to 'tests/rpathy')
-rw-r--r-- | tests/rpathy/Makefile.am | 5 | ||||
-rw-r--r-- | tests/rpathy/configure.in | 9 | ||||
-rw-r--r-- | tests/rpathy/rpathy.c | 2 |
3 files changed, 16 insertions, 0 deletions
diff --git a/tests/rpathy/Makefile.am b/tests/rpathy/Makefile.am new file mode 100644 index 0000000..8211094 --- /dev/null +++ b/tests/rpathy/Makefile.am @@ -0,0 +1,5 @@ +AUTOMAKE_OPTIONS = 1.5 foreign no-dependencies +mkinstalldirs = $(SHELL) @global_top_srcdir@/mkinstalldirs +lib_LTLIBRARIES = librpathy.la +librpathy_la_SOURCES = rpathy.c +librpathy_la_LDFLAGS = @LIBRPATHX@ -lc -no-undefined diff --git a/tests/rpathy/configure.in b/tests/rpathy/configure.in new file mode 100644 index 0000000..7018656 --- /dev/null +++ b/tests/rpathy/configure.in @@ -0,0 +1,9 @@ +# Configuration of librpathy that depends on librpathx. +AC_INIT(configure.in) +AC_CONFIG_AUX_DIRS($global_top_srcdir ../..) +AM_INIT_AUTOMAKE(gexttext_rpathy, 0) +AC_PROG_CC +AM_PROG_LIBTOOL +AC_LIB_LINKFLAGS([rpathx]) +AC_SUBST(global_top_srcdir) +AC_OUTPUT([Makefile]) diff --git a/tests/rpathy/rpathy.c b/tests/rpathy/rpathy.c new file mode 100644 index 0000000..7369d80 --- /dev/null +++ b/tests/rpathy/rpathy.c @@ -0,0 +1,2 @@ +extern int rpathx_value (); +int rpathy_value () { return 10 * rpathx_value () + 7; } |