--- /dev/null	2004-06-02 12:55:53.000000000 +0200
+++ libcroco.ver	2004-06-18 14:18:21.000000000 +0200
@@ -0,0 +1,3 @@
+CROCO_0.6 {
+	*;
+};
--- configure.in.old	2004-06-18 14:17:56.000000000 +0200
+++ configure.in	2004-06-18 14:48:26.000000000 +0200
@@ -104,6 +104,17 @@
 CROCO_LIB=libcroco-$LIBCROCO_MAJOR_VERSION.$LIBCROCO_MINOR_VERSION.la
 AC_SUBST(CROCO_LIB)
 
+dnl *******************
+dnl *Versioned symbols
+dnl *******************
+
+VERSYM_LDFLAGS=
+AC_MSG_CHECKING([version script options])
+AC_ARG_WITH([versioned-symbols],AC_HELP_STRING([--with-versioned-symbols],[Use versioned symbols]),[dnl
+VERSYM_LDFLAGS="-Wl,--version-script,\$(top_srcdir)/libcroco.ver"
+])
+AC_SUBST(VERSYM_LDFLAGS)
+AC_MSG_RESULT([${VERSYM_LDFLAGS}])
 
 dnl **********************************
 dnl *By default compile in debug mode
--- src/Makefile.am.old	2004-06-18 14:23:58.000000000 +0200
+++ src/Makefile.am	2004-06-18 14:20:44.000000000 +0200
@@ -92,4 +92,4 @@
 INCLUDES=-I$(top_srcdir) -I$(top_srcdir)/intl \
 @GLIB2_CFLAGS@ @LIBXML2_CFLAGS@
 libcroco_0_6_la_LDFLAGS=-version-info @LIBCROCO_VERSION_INFO@ \
-@GLIB2_CFLAGS@
+@GLIB2_CFLAGS@ @VERSYM_LDFLAGS@
