summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2009-04-13 18:39:46 +0200
committerSimon Josefsson <simon@josefsson.org>2009-04-13 18:39:46 +0200
commit6293e14b616b052fdbb474872eb0e3d99bb5e3ed (patch)
treea2bfaef506e7deae1b3f7f675d0b5f1cfe8aacf8 /lib
parent3f9decf30ed1e7ac93523fb8666eebd7804bab36 (diff)
downloadlibtasn1-6293e14b616b052fdbb474872eb0e3d99bb5e3ed.tar.gz
libtasn1-6293e14b616b052fdbb474872eb0e3d99bb5e3ed.tar.bz2
libtasn1-6293e14b616b052fdbb474872eb0e3d99bb5e3ed.zip
Update gnulib files.
Diffstat (limited to 'lib')
-rw-r--r--lib/gllib/Makefile.am22
-rw-r--r--lib/glm4/gnulib-cache.m46
-rw-r--r--lib/glm4/gnulib-comp.m42
-rw-r--r--lib/glm4/ld-version-script.m45
4 files changed, 20 insertions, 15 deletions
diff --git a/lib/gllib/Makefile.am b/lib/gllib/Makefile.am
index a045718..73421a5 100644
--- a/lib/gllib/Makefile.am
+++ b/lib/gllib/Makefile.am
@@ -9,7 +9,7 @@
# the same distribution terms as the rest of that program.
#
# Generated by gnulib-tool.
-# Reproduce by: gnulib-tool --import --dir=. --lib=libgnu --source-base=lib/gllib --m4-base=lib/glm4 --doc-base=doc --tests-base=tests --aux-dir=build-aux --avoid=dummy --lgpl=2 --libtool --macro-prefix=lgl --no-vc-files ld-version-script stdint visibility
+# Reproduce by: gnulib-tool --import --dir=. --lib=libgnu --source-base=lib/gllib --m4-base=lib/glm4 --doc-base=doc --tests-base=tests --aux-dir=build-aux --avoid=dummy --lgpl=2 --libtool --macro-prefix=lgl --no-vc-files lib-symbol-versions lib-symbol-visibility stdint
AUTOMAKE_OPTIONS = 1.5 gnits
@@ -37,6 +37,16 @@ libgnu_la_DEPENDENCIES = $(lgl_LTLIBOBJS)
EXTRA_libgnu_la_SOURCES =
libgnu_la_LDFLAGS = $(AM_LDFLAGS)
+## begin gnulib module lib-symbol-visibility
+
+# The value of $(CFLAG_VISIBILITY) needs to be added to the CFLAGS for the
+# compilation of all sources that make up the library. This line here does it
+# only for the gnulib part of it. The developer is responsible for adding
+# $(CFLAG_VISIBILITY) to the Makefile.ams of the other portions of the library.
+AM_CFLAGS += $(CFLAG_VISIBILITY)
+
+## end gnulib module lib-symbol-visibility
+
## begin gnulib module link-warning
LINK_WARNING_H=$(top_srcdir)/build-aux/link-warning.h
@@ -87,16 +97,6 @@ EXTRA_DIST += stdint.in.h
## end gnulib module stdint
-## begin gnulib module visibility
-
-# The value of $(CFLAG_VISIBILITY) needs to be added to the CFLAGS for the
-# compilation of all sources that make up the library. This line here does it
-# only for the gnulib part of it. The developer is responsible for adding
-# $(CFLAG_VISIBILITY) to the Makefile.ams of the other portions of the library.
-AM_CFLAGS += $(CFLAG_VISIBILITY)
-
-## end gnulib module visibility
-
## begin gnulib module wchar
BUILT_SOURCES += $(WCHAR_H)
diff --git a/lib/glm4/gnulib-cache.m4 b/lib/glm4/gnulib-cache.m4
index de4581f..63987dc 100644
--- a/lib/glm4/gnulib-cache.m4
+++ b/lib/glm4/gnulib-cache.m4
@@ -15,14 +15,14 @@
# Specification in the form of a command-line invocation:
-# gnulib-tool --import --dir=. --lib=libgnu --source-base=lib/gllib --m4-base=lib/glm4 --doc-base=doc --tests-base=tests --aux-dir=build-aux --avoid=dummy --lgpl=2 --libtool --macro-prefix=lgl --no-vc-files ld-version-script stdint visibility
+# gnulib-tool --import --dir=. --lib=libgnu --source-base=lib/gllib --m4-base=lib/glm4 --doc-base=doc --tests-base=tests --aux-dir=build-aux --avoid=dummy --lgpl=2 --libtool --macro-prefix=lgl --no-vc-files lib-symbol-versions lib-symbol-visibility stdint
# Specification in the form of a few gnulib-tool.m4 macro invocations:
gl_LOCAL_DIR([])
gl_MODULES([
- ld-version-script
+ lib-symbol-versions
+ lib-symbol-visibility
stdint
- visibility
])
gl_AVOID([dummy])
gl_SOURCE_BASE([lib/gllib])
diff --git a/lib/glm4/gnulib-comp.m4 b/lib/glm4/gnulib-comp.m4
index 79e80fe..0b8ae29 100644
--- a/lib/glm4/gnulib-comp.m4
+++ b/lib/glm4/gnulib-comp.m4
@@ -41,9 +41,9 @@ AC_DEFUN([lgl_INIT],
gl_COMMON
gl_source_base='lib/gllib'
gl_LD_VERSION_SCRIPT
+ gl_VISIBILITY
AC_REQUIRE([gl_MULTIARCH])
gl_STDINT_H
- gl_VISIBILITY
gl_WCHAR_H
m4_ifval(lgl_LIBSOURCES_LIST, [
m4_syscmd([test ! -d ]m4_defn([lgl_LIBSOURCES_DIR])[ ||
diff --git a/lib/glm4/ld-version-script.m4 b/lib/glm4/ld-version-script.m4
index e321347..a97888f 100644
--- a/lib/glm4/ld-version-script.m4
+++ b/lib/glm4/ld-version-script.m4
@@ -6,6 +6,11 @@ dnl with or without modifications, as long as this notice is preserved.
dnl From Simon Josefsson
+# FIXME: The test below returns a false positive for mingw
+# cross-compiles, 'local:' statements does not reduce number of
+# exported symbols in a DLL. Use --disable-ld-version-script to work
+# around the problem.
+
# gl_LD_VERSION_SCRIPT
# --------------------
# Check if LD supports linker scripts, and define automake conditional