From f807d6d5bda97eb7821de2b71ebae6ab5eb77f37 Mon Sep 17 00:00:00 2001
From: Michele Calgaro <michele.calgaro@yahoo.it>
Date: Tue, 28 Apr 2026 22:35:30 +0900
Subject: Remove autotools support

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
---
 Makefile.am                                        |   94 -
 admin/Makefile.am                                  |    1 -
 admin/acinclude.m4.in                              | 2525 --------
 admin/libtool.m4.in                                | 6602 --------------------
 autogen.sh                                         |  164 -
 config.h.in                                        |  142 -
 configure.in                                       |  264 -
 data/Makefile.am                                   |    6 -
 data/app/Makefile.am                               |    5 -
 data/config/Makefile.am                            |    5 -
 data/defscript/Makefile.am                         |   11 -
 data/deftheme/Makefile.am                          |    2 -
 data/deftheme/silverirc/Makefile.am                |    5 -
 data/doctemplates/Makefile.am                      |    1 -
 data/gendoc/Makefile.am                            |    1 -
 data/mimelnk/Makefile.am                           |    5 -
 data/msgcolors/Makefile.am                         |    5 -
 data/protocols/Makefile.am                         |    9 -
 doc/Makefile.am                                    |   10 -
 doc/man/Makefile.am                                |    3 -
 doc/scriptexamples/Makefile.am                     |    8 -
 doc/scriptexamples/antiidle/Makefile.am            |    6 -
 doc/scriptexamples/minesweeper/Makefile.am         |    6 -
 doc/scriptexamples/mp3share/Makefile.am            |    6 -
 doc/scriptexamples/playing/Makefile.am             |    6 -
 doc/scriptexamples/runmenu/Makefile.am             |    6 -
 doc/scriptexamples/simplehttp/Makefile.am          |    6 -
 doc/scriptexamples/tutorial/Makefile.am            |    6 -
 icons/128x128/Makefile.am                          |    5 -
 icons/16x16/Makefile.am                            |    5 -
 icons/32x32/Makefile.am                            |    6 -
 icons/48x48/Makefile.am                            |    5 -
 icons/64x64/Makefile.am                            |    5 -
 icons/Makefile.am                                  |    5 -
 icons/scalable/Makefile.am                         |    5 -
 pics/Makefile.am                                   |    8 -
 pics/coresmall/Makefile.am                         |    8 -
 pics/helppics/Makefile.am                          |    5 -
 src/Makefile.am                                    |   10 -
 src/kvilib/Makefile.am                             |    5 -
 src/kvilib/build/Makefile.am                       |  295 -
 src/kvilib/config/Makefile.am                      |    5 -
 src/kvilib/core/Makefile.am                        |    5 -
 src/kvilib/ext/Makefile.am                         |    5 -
 src/kvilib/file/Makefile.am                        |    5 -
 src/kvilib/include/Makefile.am                     |    4 -
 src/kvilib/irc/Makefile.am                         |    5 -
 src/kvilib/net/Makefile.am                         |    5 -
 src/kvilib/system/Makefile.am                      |    5 -
 src/kvilib/tal/Makefile.am                         |    5 -
 src/kvirc/Makefile.am                              |    5 -
 src/kvirc/build/Makefile.am                        |  543 --
 src/kvirc/include/Makefile.am                      |    3 -
 src/kvirc/kernel/Makefile.am                       |    5 -
 src/kvirc/kvs/Makefile.am                          |    5 -
 src/kvirc/module/Makefile.am                       |    5 -
 src/kvirc/sparser/Makefile.am                      |    5 -
 src/kvirc/ui/Makefile.am                           |    5 -
 src/modules/Makefile.am                            |   61 -
 src/modules/about/Makefile.am                      |   27 -
 src/modules/action/Makefile.am                     |   17 -
 src/modules/actioneditor/Makefile.am               |   21 -
 src/modules/addon/Makefile.am                      |   23 -
 src/modules/addon/pics/Makefile.am                 |    9 -
 src/modules/aliaseditor/Makefile.am                |   21 -
 src/modules/avatar/Makefile.am                     |   21 -
 src/modules/chan/Makefile.am                       |   18 -
 src/modules/channelsjoin/Makefile.am               |   21 -
 src/modules/clock/Makefile.am                      |   20 -
 src/modules/codetester/Makefile.am                 |   17 -
 src/modules/config/Makefile.am                     |   18 -
 src/modules/context/Makefile.am                    |   18 -
 src/modules/dcc/Makefile.am                        |   65 -
 src/modules/dialog/Makefile.am                     |   21 -
 src/modules/dockwidget/Makefile.am                 |   27 -
 src/modules/editor/Makefile.am                     |   21 -
 src/modules/eventeditor/Makefile.am                |   21 -
 src/modules/file/Makefile.am                       |   18 -
 src/modules/filetransferwindow/Makefile.am         |   23 -
 src/modules/filetransferwindow/caps/Makefile.am    |    9 -
 src/modules/help/Makefile.am                       |   22 -
 src/modules/http/Makefile.am                       |   27 -
 src/modules/ident/Makefile.am                      |   20 -
 src/modules/iograph/Makefile.am                    |   20 -
 src/modules/lamerizer/Makefile.am                  |   27 -
 src/modules/links/Makefile.am                      |   21 -
 src/modules/list/Makefile.am                       |   20 -
 src/modules/log/Makefile.am                        |   18 -
 src/modules/logview/Makefile.am                    |   23 -
 src/modules/logview/caps/Makefile.am               |    9 -
 src/modules/mask/Makefile.am                       |   18 -
 src/modules/math/Makefile.am                       |   18 -
 src/modules/mediaplayer/Makefile.am                |   36 -
 src/modules/mircimport/Makefile.am                 |   22 -
 src/modules/mircimport/caps/Makefile.am            |    9 -
 src/modules/mircimport/pics/Makefile.am            |    9 -
 src/modules/my/Makefile.am                         |   20 -
 src/modules/notifier/Makefile.am                   |   44 -
 src/modules/notifier/pics/Makefile.am              |    9 -
 src/modules/objects/Makefile.am                    |  142 -
 src/modules/options/Makefile.am                    |  159 -
 src/modules/options/mkcreateinstanceproc.sh        |  441 --
 src/modules/perl/Makefile.am                       |   18 -
 src/modules/perlcore/Makefile.am                   |   25 -
 src/modules/popupeditor/Makefile.am                |   17 -
 src/modules/raweditor/Makefile.am                  |   17 -
 src/modules/regchan/Makefile.am                    |   18 -
 src/modules/reguser/Makefile.am                    |   23 -
 src/modules/rijndael/Makefile.am                   |   23 -
 src/modules/rijndael/caps/Makefile.am              |    9 -
 src/modules/setup/Makefile.am                      |   26 -
 src/modules/sharedfile/Makefile.am                 |   14 -
 src/modules/sharedfileswindow/Makefile.am          |   23 -
 src/modules/sharedfileswindow/caps/Makefile.am     |    9 -
 src/modules/snd/Makefile.am                        |   22 -
 src/modules/socketspy/Makefile.am                  |   21 -
 src/modules/spaste/Makefile.am                     |   24 -
 src/modules/str/Makefile.am                        |   18 -
 src/modules/system/Makefile.am                     |   18 -
 src/modules/term/Makefile.am                       |   21 -
 src/modules/texticons/Makefile.am                  |   18 -
 src/modules/theme/Makefile.am                      |   30 -
 src/modules/tip/Makefile.am                        |   30 -
 src/modules/tmphighlight/Makefile.am               |   22 -
 src/modules/toolbar/Makefile.am                    |   18 -
 src/modules/toolbareditor/Makefile.am              |   22 -
 src/modules/torrent/Makefile.am                    |   30 -
 src/modules/url/Makefile.am                        |   23 -
 src/modules/url/caps/Makefile.am                   |    9 -
 src/modules/window/Makefile.am                     |   21 -
 src/scripts/Makefile.am                            |    5 -
 src/scripts/browser/Makefile.am                    |    6 -
 src/scripts/helpsearch/Makefile.am                 |    6 -
 src/tdeconf_update/Makefile.am                     |    7 -
 translations/Makefile.am                           |    1 -
 translations/messages/Makefile.am                  |   15 -
 translations/messages/kvirc-about/Makefile.am      |   54 -
 translations/messages/kvirc-dcc/Makefile.am        |   50 -
 translations/messages/kvirc-editor/Makefile.am     |   52 -
 .../messages/kvirc-filetransferwindow/Makefile.am  |   54 -
 translations/messages/kvirc-logview/Makefile.am    |   52 -
 .../messages/kvirc-mediaplayer/Makefile.am         |   48 -
 translations/messages/kvirc-notifier/Makefile.am   |   56 -
 translations/messages/kvirc-options/Makefile.am    |   58 -
 translations/messages/kvirc-perl/Makefile.am       |   52 -
 translations/messages/kvirc-perlcore/Makefile.am   |   50 -
 .../messages/kvirc-sharedfileswindow/Makefile.am   |   54 -
 translations/messages/kvirc-theme/Makefile.am      |   46 -
 translations/messages/kvirc-torrent/Makefile.am    |   48 -
 translations/messages/kvirc/Makefile.am            |   58 -
 150 files changed, 13889 deletions(-)
 delete mode 100644 Makefile.am
 delete mode 100644 admin/Makefile.am
 delete mode 100644 admin/acinclude.m4.in
 delete mode 100644 admin/libtool.m4.in
 delete mode 100755 autogen.sh
 delete mode 100644 config.h.in
 delete mode 100644 configure.in
 delete mode 100644 data/Makefile.am
 delete mode 100644 data/app/Makefile.am
 delete mode 100644 data/config/Makefile.am
 delete mode 100644 data/defscript/Makefile.am
 delete mode 100644 data/deftheme/Makefile.am
 delete mode 100644 data/deftheme/silverirc/Makefile.am
 delete mode 100644 data/doctemplates/Makefile.am
 delete mode 100644 data/gendoc/Makefile.am
 delete mode 100644 data/mimelnk/Makefile.am
 delete mode 100644 data/msgcolors/Makefile.am
 delete mode 100644 data/protocols/Makefile.am
 delete mode 100644 doc/Makefile.am
 delete mode 100644 doc/man/Makefile.am
 delete mode 100644 doc/scriptexamples/Makefile.am
 delete mode 100644 doc/scriptexamples/antiidle/Makefile.am
 delete mode 100644 doc/scriptexamples/minesweeper/Makefile.am
 delete mode 100644 doc/scriptexamples/mp3share/Makefile.am
 delete mode 100644 doc/scriptexamples/playing/Makefile.am
 delete mode 100644 doc/scriptexamples/runmenu/Makefile.am
 delete mode 100644 doc/scriptexamples/simplehttp/Makefile.am
 delete mode 100644 doc/scriptexamples/tutorial/Makefile.am
 delete mode 100644 icons/128x128/Makefile.am
 delete mode 100644 icons/16x16/Makefile.am
 delete mode 100644 icons/32x32/Makefile.am
 delete mode 100644 icons/48x48/Makefile.am
 delete mode 100644 icons/64x64/Makefile.am
 delete mode 100644 icons/Makefile.am
 delete mode 100644 icons/scalable/Makefile.am
 delete mode 100644 pics/Makefile.am
 delete mode 100644 pics/coresmall/Makefile.am
 delete mode 100644 pics/helppics/Makefile.am
 delete mode 100644 src/Makefile.am
 delete mode 100644 src/kvilib/Makefile.am
 delete mode 100644 src/kvilib/build/Makefile.am
 delete mode 100644 src/kvilib/config/Makefile.am
 delete mode 100644 src/kvilib/core/Makefile.am
 delete mode 100644 src/kvilib/ext/Makefile.am
 delete mode 100644 src/kvilib/file/Makefile.am
 delete mode 100644 src/kvilib/include/Makefile.am
 delete mode 100644 src/kvilib/irc/Makefile.am
 delete mode 100644 src/kvilib/net/Makefile.am
 delete mode 100644 src/kvilib/system/Makefile.am
 delete mode 100644 src/kvilib/tal/Makefile.am
 delete mode 100644 src/kvirc/Makefile.am
 delete mode 100644 src/kvirc/build/Makefile.am
 delete mode 100644 src/kvirc/include/Makefile.am
 delete mode 100644 src/kvirc/kernel/Makefile.am
 delete mode 100644 src/kvirc/kvs/Makefile.am
 delete mode 100644 src/kvirc/module/Makefile.am
 delete mode 100644 src/kvirc/sparser/Makefile.am
 delete mode 100644 src/kvirc/ui/Makefile.am
 delete mode 100644 src/modules/Makefile.am
 delete mode 100644 src/modules/about/Makefile.am
 delete mode 100644 src/modules/action/Makefile.am
 delete mode 100644 src/modules/actioneditor/Makefile.am
 delete mode 100644 src/modules/addon/Makefile.am
 delete mode 100644 src/modules/addon/pics/Makefile.am
 delete mode 100644 src/modules/aliaseditor/Makefile.am
 delete mode 100644 src/modules/avatar/Makefile.am
 delete mode 100644 src/modules/chan/Makefile.am
 delete mode 100644 src/modules/channelsjoin/Makefile.am
 delete mode 100644 src/modules/clock/Makefile.am
 delete mode 100644 src/modules/codetester/Makefile.am
 delete mode 100644 src/modules/config/Makefile.am
 delete mode 100644 src/modules/context/Makefile.am
 delete mode 100644 src/modules/dcc/Makefile.am
 delete mode 100644 src/modules/dialog/Makefile.am
 delete mode 100644 src/modules/dockwidget/Makefile.am
 delete mode 100644 src/modules/editor/Makefile.am
 delete mode 100644 src/modules/eventeditor/Makefile.am
 delete mode 100644 src/modules/file/Makefile.am
 delete mode 100644 src/modules/filetransferwindow/Makefile.am
 delete mode 100644 src/modules/filetransferwindow/caps/Makefile.am
 delete mode 100644 src/modules/help/Makefile.am
 delete mode 100644 src/modules/http/Makefile.am
 delete mode 100644 src/modules/ident/Makefile.am
 delete mode 100644 src/modules/iograph/Makefile.am
 delete mode 100644 src/modules/lamerizer/Makefile.am
 delete mode 100644 src/modules/links/Makefile.am
 delete mode 100644 src/modules/list/Makefile.am
 delete mode 100644 src/modules/log/Makefile.am
 delete mode 100644 src/modules/logview/Makefile.am
 delete mode 100644 src/modules/logview/caps/Makefile.am
 delete mode 100644 src/modules/mask/Makefile.am
 delete mode 100644 src/modules/math/Makefile.am
 delete mode 100644 src/modules/mediaplayer/Makefile.am
 delete mode 100644 src/modules/mircimport/Makefile.am
 delete mode 100644 src/modules/mircimport/caps/Makefile.am
 delete mode 100644 src/modules/mircimport/pics/Makefile.am
 delete mode 100644 src/modules/my/Makefile.am
 delete mode 100644 src/modules/notifier/Makefile.am
 delete mode 100755 src/modules/notifier/pics/Makefile.am
 delete mode 100644 src/modules/objects/Makefile.am
 delete mode 100644 src/modules/options/Makefile.am
 delete mode 100755 src/modules/options/mkcreateinstanceproc.sh
 delete mode 100644 src/modules/perl/Makefile.am
 delete mode 100644 src/modules/perlcore/Makefile.am
 delete mode 100644 src/modules/popupeditor/Makefile.am
 delete mode 100644 src/modules/raweditor/Makefile.am
 delete mode 100644 src/modules/regchan/Makefile.am
 delete mode 100644 src/modules/reguser/Makefile.am
 delete mode 100644 src/modules/rijndael/Makefile.am
 delete mode 100644 src/modules/rijndael/caps/Makefile.am
 delete mode 100644 src/modules/setup/Makefile.am
 delete mode 100644 src/modules/sharedfile/Makefile.am
 delete mode 100644 src/modules/sharedfileswindow/Makefile.am
 delete mode 100644 src/modules/sharedfileswindow/caps/Makefile.am
 delete mode 100644 src/modules/snd/Makefile.am
 delete mode 100644 src/modules/socketspy/Makefile.am
 delete mode 100644 src/modules/spaste/Makefile.am
 delete mode 100644 src/modules/str/Makefile.am
 delete mode 100644 src/modules/system/Makefile.am
 delete mode 100644 src/modules/term/Makefile.am
 delete mode 100644 src/modules/texticons/Makefile.am
 delete mode 100644 src/modules/theme/Makefile.am
 delete mode 100644 src/modules/tip/Makefile.am
 delete mode 100644 src/modules/tmphighlight/Makefile.am
 delete mode 100644 src/modules/toolbar/Makefile.am
 delete mode 100644 src/modules/toolbareditor/Makefile.am
 delete mode 100644 src/modules/torrent/Makefile.am
 delete mode 100644 src/modules/url/Makefile.am
 delete mode 100644 src/modules/url/caps/Makefile.am
 delete mode 100644 src/modules/window/Makefile.am
 delete mode 100644 src/scripts/Makefile.am
 delete mode 100644 src/scripts/browser/Makefile.am
 delete mode 100644 src/scripts/helpsearch/Makefile.am
 delete mode 100644 src/tdeconf_update/Makefile.am
 delete mode 100644 translations/Makefile.am
 delete mode 100644 translations/messages/Makefile.am
 delete mode 100644 translations/messages/kvirc-about/Makefile.am
 delete mode 100644 translations/messages/kvirc-dcc/Makefile.am
 delete mode 100644 translations/messages/kvirc-editor/Makefile.am
 delete mode 100644 translations/messages/kvirc-filetransferwindow/Makefile.am
 delete mode 100644 translations/messages/kvirc-logview/Makefile.am
 delete mode 100644 translations/messages/kvirc-mediaplayer/Makefile.am
 delete mode 100644 translations/messages/kvirc-notifier/Makefile.am
 delete mode 100644 translations/messages/kvirc-options/Makefile.am
 delete mode 100644 translations/messages/kvirc-perl/Makefile.am
 delete mode 100644 translations/messages/kvirc-perlcore/Makefile.am
 delete mode 100644 translations/messages/kvirc-sharedfileswindow/Makefile.am
 delete mode 100644 translations/messages/kvirc-theme/Makefile.am
 delete mode 100644 translations/messages/kvirc-torrent/Makefile.am
 delete mode 100644 translations/messages/kvirc/Makefile.am

diff --git a/Makefile.am b/Makefile.am
deleted file mode 100644
index db354d3d..00000000
--- a/Makefile.am
+++ /dev/null
@@ -1,94 +0,0 @@
-###############################################################################
-# KVirc IRC client Makefile - 16.12.98 Szymon Stefanek 
-###############################################################################
-
-EXTRA_DIST    = autogen.sh README FAQ
-
-SUBDIRS          = admin data doc icons pics src translations
-
-AUTOMAKE_OPTIONS = foreign 
-
-###############################################################################
-# Delete moc files all around
-###############################################################################
-
-delmoc:
-	rm -f $(topdir)/src/*/*/*.moc
-	rm -f $(topdir)/src/*/*/moc_*.cpp
-
-###############################################################################
-# Main make command
-###############################################################################
-
-kvirc-intro:
-	@echo "################################################################################"
-	@echo "### Ok..."
-	@echo "### The compilation process will take a while..."
-	@echo "### Have a cold beer in the meantime..."
-	@echo "################################################################################"
-	
-kvirc-outro:
-	@echo "################################################################################"
-	@echo "### Finished..."
-	@echo "### Now type 'make install'"
-	@echo "################################################################################"
-
-kvirc: kvirc-intro all kvirc-outro
-
-install: install-recursive docs banner
-
-install-devel: install-recursive banner
-
-messages:
-	cd $(topdir)/translations/messages/kvirc && make messages
-	cd $(topdir)/translations/messages/kvirc-about && make messages
-	cd $(topdir)/translations/messages/kvirc-dcc && make messages
-	cd $(topdir)/translations/messages/kvirc-editor && make messages
-	cd $(topdir)/translations/messages/kvirc-filetransferwindow && make messages
-	cd $(topdir)/translations/messages/kvirc-logview && make messages
-	cd $(topdir)/translations/messages/kvirc-mediaplayer && make messages
-	cd $(topdir)/translations/messages/kvirc-notifier && make messages
-	cd $(topdir)/translations/messages/kvirc-options && make messages
-	cd $(topdir)/translations/messages/kvirc-perl && make messages
-	cd $(topdir)/translations/messages/kvirc-perlcore && make messages
-	cd $(topdir)/translations/messages/kvirc-sharedfileswindow && make messages
-	cd $(topdir)/translations/messages/kvirc-theme && make messages
-	cd $(topdir)/translations/messages/kvirc-torrent && make messages
-
-###############################################################################
-# Generate documentation
-###############################################################################
-
-docs:
-	$(mkinstalldirs) $(DESTDIR)$(helpdir)
-	perl data/gendoc/gendoc.pl -v $(VERSION) $(DESTDIR)$(helpdir) data/doctemplates .
-
-###############################################################################
-# Rule for developer documentation
-###############################################################################
-
-devdocs:
-	cd admin && doxygen
-
-###############################################################################
-# Finished :)
-###############################################################################
-
-banner:
-	@echo "################################################################################"
-	@echo "### INSTALLATION COMPLETE"
-	@echo "################################################################################"
-	@echo "###"
-	@echo "### KVIrc is now installed and ready to run."
-	@echo "###"
-	@echo "### Please send bug reports and suggestions"
-	@echo "### to pragma at kvirc dot net"
-	@echo "### You can use the mail report form on"
-	@echo "###"
-	@echo "### http://www.kvirc.net"
-	@echo "###"
-	@echo "### We hope that you will enjoy KVIrc."
-	@echo "###"
-	@echo "### Szymon Stefanek and the KVIrc Development Team"
-	@echo "###"
-	@echo "################################################################################"
diff --git a/admin/Makefile.am b/admin/Makefile.am
deleted file mode 100644
index e7a6bc98..00000000
--- a/admin/Makefile.am
+++ /dev/null
@@ -1 +0,0 @@
-EXTRA_DIST = acinclude.m4.in libtool.m4.in
diff --git a/admin/acinclude.m4.in b/admin/acinclude.m4.in
deleted file mode 100644
index b51fa274..00000000
--- a/admin/acinclude.m4.in
+++ /dev/null
@@ -1,2525 +0,0 @@
-dnl # // ##################################################################################################################
-dnl # // ## Initialization
-dnl # // ##################################################################################################################
-
-AC_DEFUN([AC_SS_INIT_VARIABLES],
-[
-	SS_BUILD_FLAGS=""
-	SS_BUILD_NUMBER=""
-
-	dnl # // X Stuff
-
-	SS_X_INCDIR=""
-	SS_X_LIBDIR=""
-	SS_X_LDFLAGS=""
-	SS_X_CPPFLAGS=""
-
-	dnl # // TQt Stuff
-
-	SS_QT3_GENERAL_DIR=""
-	SS_QT3_INCDIR=""
-	SS_QT3_LIBDIR=""
-	SS_QT3_MOC=""
-
-	dnl # // KDE Stuff
-
-	SS_KDE_REQUESTED="no"
-	SS_KDE_GENERAL_DIR=""
-	SS_KDE_INCDIR=""
-	SS_KDE_LIBDIR=""
-	SS_KDE_SERVICESDIR=""
-	SS_KDE_ICONS32DIR=""
-
-	dnl # // Perl stuff
-	
-	SS_PERL_ENABLE="no"
-	SS_PERL_CCFLAGS=""
-	SS_PERL_LDFLAGS=""
-	SS_PERL_BINARY="true"
-	
-
-	dnl # // CXXFLAGS, will be set by AC_SS_CXXFLAGS
-
-	dnl # CXXFLAGS=""
-
-	dnl Build flags:
-	dnl g     - Debug version
-	dnl h     - Memory checks
-	dnl m     - Memory profiling
-	dnl s     - System memmove
-	dnl S     - splash screen
-	dnl o     = openssl support
-	dnl b     - Big channels
-	dnl x     - ix86 asm
-	dnl T     - tips
-	dnl c     - crypt
-	dnl I     - IPC
-	dnl G     - GSM codec
-	dnl 8     - local 8 bit
-	dnl A     - dcc sound audio support
-	dnl a     - ignore sigalarm
-	dnl i     - ipv6
-	dnl B     - big endian
-	dnl k     - KDE
-	dnl p     - pseudo transparency
-	dnl e	  - Esound daemon support
-	dnl r     - Arts daemon support
-	dnl f	  - Audiofile support
-	dnl P     - profiling support
-	dnl p     - perl scripting support
-])
-
-dnl # // ##################################################################################################################
-dnl # // ## OUTPUT MACROS
-dnl # // ##################################################################################################################
-AC_DEFUN([AC_CROSS_COLOR],
-[
-
-	TPUT=0
-	PRINTF=0
-	COLOR=0
-	IFS_OLD=$IFS
-	IFS=":"
-
-	for i in $PATH; do
-		if test -x "$i/tput"; then
-			TPUT=1
-		fi
-	done
-
-	type printf >/dev/null 2>&1 && PRINTF=1
-
-	for i in $PATH; do
-		if test -x "$i/printf"; then
-			PRINTF=1
-		fi
-	done
-
-	if test "$TPUT" = "1" -o "$PRINTF" = "1"; then
-		COLOR=1
-	fi
-
-	if test "$COLOR" = 1; then
-		if test "$TPUT" = "1"; then
-			if test "$1" = "1"; then
-				tput bold
-			else
-				tput sgr0
-			fi
-			if test "$2" != ""; then
-				tput setaf $2
-			fi
-		elif test "$PRINTF" = "1"; then
-			if test "$2" != ""; then
-				printf "\033\1330$1;3$2m"
-			fi
-		fi
-	fi
-
-	IFS=$IFS_OLD
-])
-
-AC_DEFUN([AC_SS_HEADER],
-[
-	AC_CROSS_COLOR([1],[2])
-	echo "################################################################################"
-	echo "### $1"
-	echo "################################################################################"
-	AC_CROSS_COLOR([0],[9])
-])
-
-AC_DEFUN([AC_SS_SECTION],
-[
-	AC_CROSS_COLOR([1],[3])
-	echo "### $1"
-	AC_CROSS_COLOR([0],[9])
-])
-
-AC_DEFUN([AC_SS_SET_REDINK],
-[
-	AC_CROSS_COLOR([1],[1])
-])
-
-AC_DEFUN([AC_SS_SET_GREENINK],
-[
-	AC_CROSS_COLOR([1],[2])
-])
-
-AC_DEFUN([AC_SS_SET_NORMALINK],
-[
-	AC_CROSS_COLOR([0],[9])
-])
-
-dnl # // ##################################################################################################################
-dnl # // ## FILE LOOKUP MACROS
-dnl # // ##################################################################################################################
-
-AC_DEFUN([AC_SS_FIND_FILE_PATH],
-[
-	$3="FAILED"
-	for a_dir in $2; do
-		for a_file in $1; do
-			if test -r "$a_dir/$a_file"; then
-				$3=$(echo "$a_dir" | sed -e 's/\/\.\//\//g' | sed -e 's/\/\//\//g' | sed -e 's/\/\.\//\//g' | sed -e 's/\/\//\//g')
-				break 2
-			fi
-		done
-	done	
-])
-
-AC_DEFUN([AC_SS_FIND_FILE_PATH_EXT],
-[
-	$4="FAILED"
-
-	for a_dir in $2; do
-		for a_semidir in $3; do
-			for a_file in $1; do
-				if test -r "$a_dir/$a_semidir/$a_file"; then
-					$4=$(echo "$a_dir/$a_semidir" | sed -e 's/\/\.\//\//g' | sed -e 's/\/\//\//g' | sed -e 's/\/\.\//\//g' | sed -e 's/\/\//\//g')
-					break 3
-				fi
-			done
-		done
-	done
-])
-
-dnl # // ##################################################################################################################
-dnl # // ## BASIC COMPILER FLAGS
-dnl # // ##################################################################################################################
-
-
-AC_DEFUN([AC_SS_CXXFLAGS_DEBUG_SYMBOLS],
-[
-	dnl # // Checks if the --with-debug-symbols option has been passed to configure
-	dnl # // adds -g to SS_CXXFLAGS
-	dnl # // adds g to SS_BUILD_FLAGS
-
-	AC_MSG_CHECKING([if you want the debug symbols])
-
-	SS_LOCAL_ADD_DEBUG_SYMBOLS=""
-
-	AC_ARG_ENABLE(debug,
-		AC_HELP_STRING([--enable-debug],[Compile an executable suitable for debugging]),
-		[SS_LOCAL_ADD_DEBUG_SYMBOLS="true"])
-
-	if test -n "$SS_LOCAL_ADD_DEBUG_SYMBOLS"; then
-		AC_MSG_RESULT([yes])
-		if test -n "$SS_CXXFLAGS"; then
-			SS_CXXFLAGS="$SS_CXXFLAGS -g"
-		else
-			SS_CXXFLAGS="-g"
-		fi
-		SS_BUILD_FLAGS="g$SS_BUILD_FLAGS"
-	else
-		AC_MSG_RESULT([no])
-	fi	
-])
-
-AC_DEFUN([AC_SS_CXXFLAGS_PIPES],
-[
-	dnl # // Checks if the --with-pipes option has been passed to configure
-	dnl # // adds -pipe to CXXFLAGS
-
-	AC_MSG_CHECKING([if you want to use pipes for compilation])
-
-	SS_LOCAL_USE_PIPES=""
-	AC_ARG_ENABLE(pipes,
-		AC_HELP_STRING([--enable-pipes],[Use pipes instead of files for the compilation]),
-		[SS_LOCAL_USE_PIPES="true"])
-
-	if test -n "$SS_LOCAL_USE_PIPES"; then
-		AC_MSG_RESULT([yes])
-		if test -n "$SS_CXXFLAGS"; then
-			SS_CXXFLAGS="$SS_CXXFLAGS -pipe"
-		else
-			SS_CXXFLAGS="-pipe"
-		fi
-	else
-		AC_MSG_RESULT([no])
-	fi
-])
-
-
-AC_DEFUN([AC_SS_CXXFLAGS_PROFILING],
-[
-	AC_MSG_CHECKING([if you want the profiling information])
-
-	SS_LOCAL_ADD_PROFILING=""
-
-	AC_ARG_ENABLE(profiling,
-		AC_HELP_STRING([--enable-profiling],[Compile an executable suitable for profiling]),
-		[SS_LOCAL_ADD_PROFILING="true"])
-
-	if test -n "$SS_LOCAL_ADD_PROFILING"; then
-		AC_MSG_RESULT([yes])
-		if test -n "$SS_CXXFLAGS"; then
-			SS_CXXFLAGS="$SS_CXXFLAGS -pg"
-		else
-			SS_CXXFLAGS="-pg"
-		fi
-		if test -n "$SS_LDFLAGS"; then
-			SS_LDFLAGS="$SS_LDFLAGS -pg"
-		else
-			SS_LDFLAGS="-pg"
-		fi
-		SS_BUILD_FLAGS="P$SS_BUILD_FLAGS"
-	else
-		AC_MSG_RESULT([no])
-	fi	
-])
-
-AC_DEFUN([AC_SS_CXXFLAGS_FNORTTI],
-[
-	AC_MSG_CHECKING([if you want to use -fno-rtti])
-
-	SS_LOCAL_FNORTTI=""
-	AC_ARG_ENABLE(fno-rtti,
-		AC_HELP_STRING([--enable-fno-rtti],[Disable runtime type information (dangerous)]),
-		SS_LOCAL_FNORTTI="true")
-
-	if test -n "$SS_LOCAL_FNORTTI"; then
-		AC_MSG_RESULT([yes])
-		if test -n "$SS_CXXFLAGS"; then
-			SS_CXXFLAGS="$SS_CXXFLAGS -fno-rtti"
-		else
-			SS_CXXFLAGS="-fno-rtti"
-		fi
-	else
-		AC_MSG_RESULT([no])
-	fi
-])
-
-AC_DEFUN([AC_SS_CXXFLAGS_ANSI],
-[
-	SS_ANSI_COMPILATION=""
-	AC_MSG_CHECKING([if you want a strict ansi compilation])
-	AC_ARG_ENABLE(ansi,
-		AC_HELP_STRING([--enable-ansi],[Strict ansi compilation (might not compile)]),
-		SS_ANSI_COMPILATION="true")
-
-	if test -n "$SS_ANSI_COMPILATION"; then
-		AC_MSG_RESULT([yes])
-		if test -n "$SS_CXXFLAGS"; then
-			SS_CXXFLAGS="$SS_CXXFLAGS -ansi"
-		else
-			SS_CXXFLAGS="-ansi"
-		fi
-	else
-		AC_MSG_RESULT([no])
-	fi
-])
-
-
-AC_DEFUN([AC_SS_CXXFLAGS_WALL],
-[
-	SS_WALL_COMPILATION=""
-	AC_MSG_CHECKING([if you want gcc to be paranoic])
-	AC_ARG_ENABLE(wall,
-		AC_HELP_STRING([--enable-wall],[Make gcc be paranoic (might not compile)]),
-		SS_WALL_COMPILATION="true")
-
-	if test -n "$SS_WALL_COMPILATION"; then
-		AC_MSG_RESULT([yes])
-		if test -n "$SS_CXXFLAGS"; then
-			SS_CXXFLAGS="$SS_CXXFLAGS -Wall"
-		else
-			SS_CXXFLAGS="-Wall"
-		fi
-	else
-		AC_MSG_RESULT([no])
-	fi
-])
-
-
-AC_DEFUN([AC_SS_CXXFLAGS_PEDANTIC],
-[
-	SS_PEDANTIC_COMPILATION=""
-	AC_MSG_CHECKING([if you want a strict ansi compilation])
-
-	AC_ARG_ENABLE(pedantic,
-		AC_HELP_STRING([--enable-pedantic],[Pedantic compilation (might not compile)]),
-		SS_PEDANTIC_COMPILATION="true")
-
-	if test -n "$SS_PEDANTIC_COMPILATION"; then
-		AC_MSG_RESULT([yes])
-		if test -n "$SS_CXXFLAGS"; then
-			SS_CXXFLAGS="$SS_CXXFLAGS -pedantic"
-		else
-			SS_CXXFLAGS="-pedantic"
-		fi
-	else
-		AC_MSG_RESULT([no])
-	fi
-])
-
-AC_DEFUN([AC_SS_CXXFLAGS_OPTIMISATION],
-[
-	AC_MSG_CHECKING([for the optimisation level])
-
-	SS_LOCAL_OPTIMISATION=""
-	AC_ARG_ENABLE(optimisation,
-		AC_HELP_STRING([--enable-optimisation=N],[Use optimisation level N when compiling]),
-			SS_LOCAL_OPTIMISATION="$enableval")
-
-	if test -n "$SS_LOCAL_OPTIMISATION"; then
-		AC_MSG_RESULT([using -O$SS_LOCAL_OPTIMISATION])
-		if test -n "$SS_CXXFLAGS"; then
-			SS_CXXFLAGS="$SS_CXXFLAGS -O$SS_LOCAL_OPTIMISATION"
-		else
-			SS_CXXFLAGS="-O$SS_LOCAL_OPTIMISATION"
-		fi
-		SS_BUILD_FLAGS="$SS_LOCAL_OPTIMISATION$SS_BUILD_FLAGS"
-	else
-		AC_MSG_RESULT([using no optimisation flag])
-	fi
-])
-
-
-
-AC_DEFUN([AC_SS_CXXFLAGS],
-[
-	SS_CXXFLAGS=""
-
-	AC_SS_CXXFLAGS_DEBUG_SYMBOLS
-	AC_SS_CXXFLAGS_PROFILING
-	AC_SS_CXXFLAGS_PIPES
-	AC_SS_CXXFLAGS_OPTIMISATION
-	AC_SS_CXXFLAGS_FNORTTI
-	AC_SS_CXXFLAGS_ANSI
-	AC_SS_CXXFLAGS_PEDANTIC
-	AC_SS_CXXFLAGS_WALL
-
-	if test -n "$SS_CXXFLAGS"; then
-		if test -n "$CXXFLAGS"; then
-			CXXFLAGS="$CXXFLAGS $SS_CXXFLAGS"
-		else
-			CXXFLAGS="$SS_CXXFLAGS"
-		fi
-	fi
-])
-
-
-dnl ###################################################################################################################
-dnl ### HEADERS AND FUNCTIONS
-dnl ###################################################################################################################
-
-AC_DEFUN([AC_SS_HEADER_CHECKS],
-[
-	SS_HAS_OSS_SUPPORT="false"
-	AC_CHECK_HEADER(strings.h)
-	AC_CHECK_HEADERS(linux/soundcard.h sys/soundcard.h soundcard.h,SS_HAS_OSS_SUPPORT="true")
-
-	if test "$SS_HAS_OSS_SUPPORT" = "true"; then
-		AC_DEFINE([COMPILE_OSS_SUPPORT], 1, [define if you want to enable OSS sound support])
-	fi
-
-])
-
-AC_DEFUN([AC_SS_FUNCTION_CHECKS],
-[
-	SS_HAVE_IPV6_FUNCTIONS="true"
-
-	AC_CHECK_FUNCS(getenv strerror)
-	AC_CHECK_FUNCS(inet_ntoa inet_aton)
-	AC_CHECK_FUNCS(setenv unsetenv putenv)
-	AC_CHECK_FUNCS(gmtime_r localtime_r)
-
-	AC_CHECK_FUNC(inet_ntop,SS_HAVE_IPV6_FUNCTIONS="true",SS_HAVE_IPV6_FUNCTIONS="false")
-	AC_CHECK_FUNC(inet_pton,SS_HAVE_IPV6_FUNCTIONS="true",SS_HAVE_IPV6_FUNCTIONS="false")
-	AC_CHECK_FUNC(getaddrinfo,SS_HAVE_IPV6_FUNCTIONS="true",SS_HAVE_IPV6_FUNCTIONS="false")
-
-	AC_CHECK_FUNCS(getnameinfo)
-])
-
-
-
-dnl ###################################################################################################################
-dnl ### MISC OPTIONS
-dnl ###################################################################################################################
-
-
-AC_DEFUN([AC_SS_MISC_OPTIONS],
-[
-	AC_MSG_CHECKING([if you want the memory profiling])
-	AC_ARG_WITH(memory-profile, [  --with-memory-profile   Compile the memory profile],SS_COMPILE_MEMORY_PROFILE="true")
-	if test "$SS_COMPILE_MEMORY_PROFILE" = "true"; then
-		AC_MSG_RESULT(yes)
-		AC_DEFINE([COMPILE_MEMORY_PROFILE], 1, [define if you want the gcc memory profile])
-		SS_BUILD_FLAGS="m$SS_BUILD_FLAGS"
-	else
-		AC_MSG_RESULT(no)
-	fi
-
-	AC_MSG_CHECKING([how to waste your time])
-	AC_MSG_RESULT(by performing senseless checks)
-
-	AC_MSG_CHECKING([if you want memory checking in malloc])
-	AC_ARG_WITH(memory-checks, [  --with-memory-checks    Enable malloc memory checks],SS_COMPILE_MEMORY_CHECKS="true")
-	if test "$SS_COMPILE_MEMORY_CHECKS" = "true"; then
-		AC_MSG_RESULT(yes)
-		AC_DEFINE([COMPILE_MEMORY_CHECKS], 1, [define if you want the memory checks])
-		SS_BUILD_FLAGS="h$SS_BUILD_FLAGS"
-	else
-		AC_MSG_RESULT(no)
-	fi
-
-
-	AC_MSG_CHECKING([if you want to use system memmove])
-	AC_ARG_WITH(system-memmove, [  --without-system-memmove   Do not use system memmove and memcpy],SS_DO_NOT_USE_SYSTEM_MEMMOVE="true")
-	if test "$SS_DO_NOT_USE_SYSTEM_MEMMOVE" = "true"; then
-		AC_MSG_RESULT(no)
-	else
-		AC_DEFINE([COMPILE_WITH_SYSTEM_MEMMOVE], 1, [define if you trust your memmove() function])
-		AC_MSG_RESULT(yes)
-		SS_BUILD_FLAGS="s$SS_BUILD_FLAGS"
-	fi
-
-	AC_MSG_CHECKING([if you want to optimize for big channels])
-	AC_ARG_WITH(big-channels, [  --with-big-channels     Optimize for big irc channels],SS_OPTIMIZE_BIG_CHANNELS="true")
-	if test "$SS_OPTIMIZE_BIG_CHANNELS" = "true"; then
-		AC_MSG_RESULT(yes: using 349 as dict size)
-		AC_DEFINE_UNQUOTED([AVERAGE_CHANNEL_USERS],349, [define this to the number of average channel users])
-		SS_BUILD_FLAGS="b$SS_BUILD_FLAGS"
-	else
-		AC_MSG_RESULT(no: using 101 as dict size)
-		AC_DEFINE_UNQUOTED([AVERAGE_CHANNEL_USERS],101, [define this to the number of average channel users])
-	fi
-
-	AC_MSG_CHECKING([if you want ix86 assembly optimisations])
-	AC_ARG_WITH(ix86-asm, [  --with-ix86-asm         Compile ix86 assembly optimisations],SS_COMPILE_ix86_ASM="true")
-	if test "$SS_COMPILE_ix86_ASM" = "true"; then
-		AC_MSG_RESULT(yes)
-		AC_MSG_CHECKING(target system CPU)
-		if test "$target_cpu" = "i386"; then
-			AC_MSG_RESULT(i386 : compiling asm code)
-		else
-			if test "$target_cpu" = "i486"; then
-				AC_MSG_RESULT(i486 : compiling asm code)
-			else
-				if test "$target_cpu" = "i586"; then
-					AC_MSG_RESULT(i586 : compiling asm code)
-				else
-					if test "$target_cpu" = "i686"; then
-						AC_MSG_RESULT(i686 : compiling asm code)
-					else
-						AC_MSG_RESULT($target_cpu , no i386 optimisations)
-						unset SS_COMPILE_ix86_ASM
-					fi
-				fi
-			fi
-		fi
-
-		if test "$SS_COMPILE_ix86_ASM" = "true"; then
-			AC_DEFINE([COMPILE_ix86_ASM], 1, [define if you want the i386 asm code])
-			SS_BUILD_FLAGS="x$SS_BUILD_FLAGS"
-		fi
-	else
-		AC_MSG_RESULT(no)
-	fi
-
-	AC_PATH_PROG(SS_MSGFMT,msgfmt,":",$PATH:/bin:/usr/bin:/bin:/usr/local/bin:/usr/X11R6/bin:/usr/lib/tqt/bin:/usr/local/tqt/bin:/usr/X11R6/tqt/bin:/usr/tqt/bin:/usr/build/tqt/bin)
-	if test -z "SS_MSGFMT"; then
-		SS_MSGFMT=":"
-	fi
-	AC_SUBST(SS_MSGFMT)
-
-	AC_MSG_CHECKING([if you want the DCC VOICE sound support])
-	AC_ARG_WITH(dcc-sound,[  --without-dcc-sound     Do not compile the DCC VOICE sound support],SS_NO_SOUND="true")
-	if test "$SS_NO_SOUND" = "true"; then
-		AC_MSG_RESULT(no)
-		AC_DEFINE([COMPILE_DISABLE_DCC_VOICE], 1, [define if you want to disable DCC VOICE sound support])
-	else
-		AC_MSG_RESULT(yes)
-		SS_BUILD_FLAGS="A$SS_BUILD_FLAGS"
-	fi
-
-	SS_BUILD_FLAGS="T$SS_BUILD_FLAGS"
-	AC_DEFINE([COMPILE_INFO_TIPS], 1, [define if you want the info tips to be compiled in])
-
-	AC_MSG_CHECKING([if you want to disable the ipV6 support])
-	AC_ARG_WITH(ipv6-support,[  --without-ipv6-support  Do not compile the IpV6 support],SS_NOIPV6_SUPPORT="true")
-	if test "$SS_NOIPV6_SUPPORT" = "true"; then
-		AC_MSG_RESULT(yes)
-	else
-		AC_MSG_RESULT(no)
-	fi
-
-	AC_MSG_CHECKING([if you want to disable the cryptography support])
-	AC_ARG_WITH(crypt-support,[  --without-crypt-support Do not compile the cryptography support],SS_NOCRYPT_SUPPORT="true")
-	if test "$SS_NOCRYPT_SUPPORT" = "true"; then
-		AC_MSG_RESULT(yes)
-	else
-		AC_MSG_RESULT(no)
-		AC_DEFINE([COMPILE_CRYPT_SUPPORT], 1, [define if you want to compile the crypt support])
-		SS_BUILD_FLAGS="c$SS_BUILD_FLAGS"
-	fi
-
-	AC_MSG_CHECKING([if you want to disable the X bell support])
-	AC_ARG_WITH(x-bell,[  --without-x-bell        Disable the X bell support],SS_NO_X_BELL="true")
-	if test "$SS_NO_X_BELL" = "true"; then
-		AC_MSG_RESULT(yes)
-		AC_DEFINE([COMPILE_NO_X_BELL], 1, [define if you want to disable the X bell support])
-	else
-		AC_MSG_RESULT(no)
-	fi
-
-	AC_DEFINE([COMPILE_NEW_KVS], 1, [define if you want to enable the new KVS parser])
-
-	AC_MSG_CHECKING([if you want to link to the embedded version of tqt])
-	AC_ARG_WITH(tqt-embedded,[  --with-tqt-embedded      Link to tqt-embedded (see INSTALL)],SS_QT3_EMBEDDED="true")
-	if test "$SS_QT3_EMBEDDED" = "true"; then
-		AC_MSG_RESULT(yes)
-		SS_BUILD_FLAGS="E$SS_BUILD_FLAGS"
-	else
-		AC_MSG_RESULT(no)
-	fi
-
-
-	AC_MSG_CHECKING([if you want to disable inter-process communication])
-	AC_ARG_WITH(ipc,[  --without-ipc           Disable inter-process communication support],SS_NO_IPC="true")
-	if test "$SS_NO_IPC" = "true"; then
-		AC_MSG_RESULT(yes)
-		SS_BUILD_FLAGS="I$SS_BUILD_FLAGS"
-		AC_DEFINE([COMPILE_NO_IPC], 1, [define this if you want to disable the inter-process communication support])
-	else
-		AC_MSG_RESULT(no)
-	fi
-
-	AC_MSG_CHECKING([if you want to explicitly disable the gsm codec support])
-	AC_ARG_WITH(gsm,[  --without-gsm           Disable gsm codec support],SS_NO_GSM="true")
-	if test "$SS_NO_GSM" = "true"; then
-		AC_MSG_RESULT(yes)
-	else
-		AC_MSG_RESULT(no)
-		AC_CHECK_HEADER(gsm/gsm.h,HAVE_GSM_H="yes",HAVE_GSM_H="no")
-		AC_CHECK_LIB(gsm, gsm_create, HAVE_GSM_LIB="yes", HAVE_GSM_LIB="no")
-		if test "x$HAVE_GSM_H" = "xyes" && test "x$HAVE_GSM_LIB" = "xyes"; then
-			AC_DEFINE([COMPILE_USE_GSM], 1, [define if you have libgsm and want the GSM code to be compiled])
-			SS_BUILD_FLAGS="G$SS_BUILD_FLAGS"
-		fi
-	fi
-
-	AC_MSG_CHECKING([if you want to ignore SIGALARM])
-	AC_ARG_WITH(ignore-sigalarm, [  --with-ignore-sigalarm  Ignore SIGALARM in all threads],SS_IGNORE_SIGALARM="true")
-	if test "$SS_IGNORE_SIGALARM" = "true"; then
-		AC_MSG_RESULT(yes)
-		AC_DEFINE([COMPILE_IGNORE_SIGALARM], 1, [define this if you want to ignore the SIGALARM signal])
-		SS_BUILD_FLAGS="a$SS_BUILD_FLAGS"
-	else
-		AC_MSG_RESULT(no)
-	fi
-
-	AC_MSG_CHECKING([if you want the pseudo-transparency support])
-	AC_ARG_WITH(transparency,  [  --without-transparency  Do NOT compile the pseudo-transparency support],SS_NO_PSEUDO_TRANSPARENCY="true")
-	if test "$SS_NO_PSEUDO_TRANSPARENCY" = "true"; then
-		AC_MSG_RESULT(no)
-	else
-		AC_MSG_RESULT(yes)
-		AC_DEFINE([COMPILE_PSEUDO_TRANSPARENCY], 1, [define if you have the KDE support and want the pseudo transparency])
-		SS_BUILD_FLAGS="p$SS_BUILD_FLAGS"
-	fi
-
-	AC_ARG_WITH(pizza,[  --with-pizza            Use this when hungry],SS_PIZZA="true")
-
-])
-
-
-dnl ###################################################################################################################
-dnl ### DYNAMIC LABELS
-dnl ###################################################################################################################
-
-AC_DEFUN([AC_SS_CHECK_DYNAMIC_LABELS],
-[
-	AC_MSG_CHECKING([if the compiler supports dynamic labels])
-	AC_ARG_WITH(dyn-labels, [  --without-dyn-labels    Disable usage of the dynamic label jumps],SS_DISABLE_DYNAMIC_LABELS="true")
-	if test "$SS_DISABLE_DYNAMIC_LABELS" = "true"; then
-		AC_MSG_RESULT("no: trusting you")
-	else
-		AC_TRY_RUN([
-				int main(int argc,char ** argv)
-				{
-					int retVal = 10;
-					void * label = &&action4;
-					goto action2;
-					action1:
-						retVal -= 4;
-						label = &&endofcode;
-						goto *label;
-					action2:
-						retVal -= 5;
-						goto *label;
-					action3:
-						retVal += 40;
-					action4:
-						retVal -= 1;
-						label = &&action1;
-						goto *label;
-					endofcode:
-						return retVal;
-				}
-			],SS_DISABLE_DYNAMIC_LABELS="false",SS_DISABLE_DYNAMIC_LABELS="true",SS_DISABLE_DYNAMIC_LABELS="true")
-
-		if test "$SS_DISABLE_DYNAMIC_LABELS" = "true"; then
-			AC_MSG_RESULT("no")
-		else
-			AC_MSG_RESULT("yes")
-			AC_DEFINE([COMPILE_USE_DYNAMIC_LABELS], 1, [define if your compiler supports gotos do dynamic labels])
-		fi
-	fi
-])
-
-dnl ###################################################################################################################
-dnl ### BIG_ENDIAN
-dnl ###################################################################################################################
-
-AC_DEFUN([AC_SS_CHECK_BIG_ENDIAN],
-[
-	AC_MSG_CHECKING([if this system is big endian])
-	AC_TRY_RUN([
-			int main(int argc,char ** argv)
-			{
-				int nl;
-				unsigned char * nlc;
-				nl = 0x12CAFE34;
-				nlc = (unsigned char *)(&nl);
-				if((nlc[0] == 0x12) && (nlc[1] == 0xCA) && (nlc[2] == 0xFE) && (nlc[3] == 0x34))return 0;
-				return 1;
-			}
-		],SS_BIG_ENDIAN_MACHINE="true",SS_BIG_ENDIAN_MACHINE="false",SS_BIG_ENDIAN_MACHINE="false")
-
-	dnl # This will fail if we're cross compiling...
-
-	if test "$SS_BIG_ENDIAN_MACHINE" = "true"; then
-		AC_MSG_RESULT([yes])
-		SS_BUILD_FLAGS="B$SS_BUILD_FLAGS"
-		AC_DEFINE([BIG_ENDIAN_MACHINE_BYTE_ORDER], 1, [define this if you are on a big endian machine])
-	else
-		AC_MSG_RESULT([no])
-	fi
-])
-
-dnl ###################################################################################################################
-dnl ### DLOPEN
-dnl ###################################################################################################################
-
-
-AC_DEFUN([AC_SS_CHECK_DL],
-[
-	AC_MSG_CHECKING([for dlopen capabilities])
-
-	SS_LINK_TO_LIBDL="no"
-
-	SS_SAVE_LIBS="$LIBS"
-	LIBS="-rdynamic"
-	AC_TRY_LINK([
-			#include <dlfcn.h>
-		],[
-			/* sparc-unknown-openbsd3.0 hack */
-			#ifndef RTLD_NOW
-				#define RTLD_NOW RTLD_LAZY
-			#endif
-			dlopen("/lib/libc.so.6",RTLD_NOW);
-		],
-			eval "SS_DLOPEN_OK=yes"
-		,
-			eval "SS_DLOPEN_OK=no"
-		)
-	LIBS="$SS_SAVE_LIBS"
-
-	if test "$SS_DLOPEN_OK" = "yes"; then
-		AC_MSG_RESULT([builtin in libc])
-	else
-
-		SS_SAVE_LIBS="$LIBS"
-		LIBS="-rdynamic -ldl"
-		AC_TRY_LINK([
-				#include <dlfcn.h>
-			],[
-				/* sparc-unknown-openbsd3.0 hack */
-				#ifndef RTLD_NOW
-					#define RTLD_NOW RTLD_LAZY
-				#endif
-				dlopen("/usr/lib/libdl.so",RTLD_NOW);
-			],
-				eval "SS_DLOPEN_OK=yes",
-				eval "SS_DLOPEN_OK=no"
-			)
-		LIBS="$SS_SAVE_LIBS"
-
-		if test "$SS_DLOPEN_OK" = "yes"; then
-			SS_LINK_TO_LIBDL="yes"
-			AC_MSG_RESULT([external in libdl])
-		else
-			AC_MSG_RESULT([FAILED])
-			AC_SS_SET_REDINK
-			echo "################################################################################"
-			echo "### CONFIGURE ERROR:"
-			echo "###  No dlopen capabilities found."
-			echo "###  It looks that your system has no interface to the dynamic linker ?"
-			echo "###  If you're on linux, you either miss libdl , or the linker is not"
-			echo "###  able to find it. Make sure that libdl is in /lib or /usr/lib."
-			echo "###  If you're sure you have libdl, make sure you have also g++ installed."
-			echo "###  If you're not on linux, please drop a mail to pragma at kvirc dot net"
-			echo "###  describing your system and I'll try to fix it."
-			echo "################################################################################"
-			AC_SS_SET_NORMALINK
-			AC_MSG_ERROR(["This was fatal...aborting"])
-		fi
-	fi
-])
-
-
-dnl ###################################################################################################################
-dnl ### PERL
-dnl ###################################################################################################################
-
-
-AC_DEFUN([AC_SS_CHECK_PERL],
-[
-	SS_PERL_ENABLE="yes"
-	SS_PERL_CCFLAGS=""
-	SS_PERL_LDFLAGS=""
-	SS_PERL_BINARY="true"
-	SS_PERL_RESULT_MESSAGE=""
-
-	AC_ARG_ENABLE(perl,AC_HELP_STRING([--enable-perl],[Enable perl scripting support (default=detect)]),eval "SS_PERL_ENABLE=$enableval")
-
-	if test "$SS_PERL_ENABLE" = "yes"; then
-		AC_PATH_PROG(SS_PERL_BINARY,perl,":",$PATH:/bin:/usr/bin:/bin:/usr/local/bin:/usr/X11R6/bin:/usr/lib/tqt/bin:/usr/local/tqt/bin:/usr/X11R6/tqt/bin:/usr/tqt/bin:/usr/build/tqt/bin)
-		if test -z "SS_PERL_BINARY"; then
-			SS_PERL_RESULT_MESSAGE="disabled: can't find the perl binary"
-			SS_PERL_ENABLE="no"
-			SS_PERL_BINARY="true"
-		fi
-	else
-		SS_PERL_RESULT_MESSAGE="disabled by user"
-	fi
-	
-	if test "$SS_PERL_ENABLE" = "yes"; then
-		AC_MSG_CHECKING([if perl il compiled with MULTIPLICITY option])
-		SS_PERL_TEMP=$($SS_PERL_BINARY -V | grep MULTIPLICITY)
-		if test -z "$SS_PERL_TEMP"; then
-			AC_MSG_RESULT([no])
-			SS_PERL_ENABLE="no"
-			SS_PERL_BINARY="true"
-			SS_PERL_RESULT_MESSAGE="disabled: MULTIPLICITY not defined"
-		fi
-	fi
-
-	if test "$SS_PERL_ENABLE" = "yes"; then
-		AC_MSG_CHECKING([for the system perl directory])
-		SS_PERL_DIR=$($SS_PERL_BINARY -MConfig -e 'print $Config{archlib}')
-		SS_PERL_DIR="$SS_PERL_DIR/CORE"
-		AC_MSG_RESULT([got $SS_PERL_DIR])
-		AC_MSG_CHECKING([for the perl ccflags])
-		SS_PERL_CCFLAGS=$($SS_PERL_BINARY -MConfig -e 'print $Config{ccflags}')
-		AC_MSG_RESULT([got $SS_PERL_CCFLAGS])
-		AC_MSG_CHECKING([for the perl ldflags])
-		SS_PERL_LDFLAGS=$($SS_PERL_BINARY -MExtUtils::Embed -e ldopts)
-		AC_MSG_RESULT([got $SS_PERL_LDFLAGS])
-
-		AC_MSG_CHECKING([if we can compile a perl application])
-		SS_SAVED_LIBS="$LIBS"
-		SS_SAVED_CFLAGS="$CFLAGS"
-		SS_SAVED_CCFLAGS="$CCFLAGS"
-		SS_SAVED_LDFLAGS="$LDFLAGS"
-		SS_SAVED_CXXFLAGS="$CXXFLAGS"
-		SS_SAVED_CPPFLAGS="$CPPFLAGS"
-
-		LIBS="$SS_PERL_LDFLAGS"
-		LDFLAGS="$LIBS"
-		CFLAGS="$SS_PERL_CCFLAGS -I$SS_PERL_DIR"
-		CCFLAGS="$CFLAGS"
-		CXXFLAGS="$CFLAGS"
-		CPPFLAGS="$CFLAGS"
-
-		AC_TRY_LINK([
-					#include <EXTERN.h>
-					#include <perl.h>
-					#include <XSUB.h>
-
-					extern "C" void boot_DynaLoader(pTHX_ CV* cv);
-
-					extern "C" void xs_init(pTHX)
-					{
-						char * file = __FILE__;
-						newXS("DynaLoader::boot_DynaLoader",boot_DynaLoader,file);
-					}
-					
-			],[
-					PerlInterpreter *my_perl;
-					my_perl = perl_alloc();
-					perl_construct(my_perl);
-					perl_parse(my_perl,xs_init, 0, 0, (char **)NULL);
-					perl_run(my_perl);
-					perl_destruct(my_perl);
-					perl_free(my_perl);
-			],
-				eval "SS_PERL_ENABLE=yes",
-				eval "SS_PERL_ENABLE=no"
-			)
-
-		SS_PERL_LDFLAGS="$LDFLAGS"
-		SS_PERL_CCFLAGS="$CCFLAGS"
-
-		LIBS="$SS_SAVED_LIBS"
-		CFLAGS="$SS_SAVED_CFLAGS"
-		LDFLAGS="$SS_SAVED_LDFLAGS"
-		CXXFLAGS="$SS_SAVED_CXXFLAGS"
-		CPPFLAGS="$SS_SAVED_CPPFLAGS"
-		CCFLAGS="$SS_SAVED_CCFLAGS"
-
-		if test "$SS_PERL_ENABLE" = "yes"; then
-			AC_MSG_RESULT([seems ok])
-			AC_DEFINE([COMPILE_PERL_SUPPORT], 1, [define if you have perl and want the perl scripting support in kvirc])
-			SS_BUILD_FLAGS="p$SS_BUILD_FLAGS"
-			SS_PERL_RESULT_MESSAGE="enabled"
-		else
-			AC_MSG_RESULT([seems broken])
-			SS_PERL_RESULT_MESSAGE="disabled: failed to compile the test program"
-			SS_PERL_LDFLAGS=""
-			SS_PERL_CCFLAGS=""
-		fi
-	fi
-
-	AC_SUBST(SS_PERL_CCFLAGS)
-	AC_SUBST(SS_PERL_LDFLAGS)
-	AC_SUBST(SS_PERL_BINARY)
-
-	AC_MSG_CHECKING([for perl scripting support])
-	AC_MSG_RESULT([$SS_PERL_RESULT_MESSAGE])
-])
-
-dnl ###################################################################################################################
-dnl ### OPENSSL
-dnl ###################################################################################################################
-
-
-AC_DEFUN([AC_SS_CHECK_OPENSSL],
-[
-	SS_LINK_TO_LIBSSL="false"
-	SS_SSL_RESULT_MESSAGE=""
-	SS_ENABLE_SSL_SUPPORT="yes"
-
-	AC_ARG_ENABLE(ssl,AC_HELP_STRING([--disable-ssl],[Disable OpenSSL support]),eval "SS_ENABLE_SSL_SUPPORT=$enableval")
-
-	if test "$SS_ENABLE_SSL_SUPPORT" = "yes"; then
-		AC_MSG_CHECKING([If we can compile and link a small SSL test application])
-		SS_SAVED_LIBS="$LIBS"
-		LIBS="-lcrypto -lssl"
-		AC_TRY_LINK([
-				#include <openssl/ssl.h>
-			],[
-				SSL_new(0);
-			],
-				eval "SS_ENABLE_SSL_SUPPORT=yes",
-				eval "SS_ENABLE_SSL_SUPPORT=no"
-			)
-		LIBS="$SS_SAVED_LIBS"
-		if test "$SS_ENABLE_SSL_SUPPORT" = "yes"; then
-			AC_MSG_RESULT([yes])
-
-			AC_CHECK_HEADER(openssl/ssl.h,SS_DUMMY="yes",SS_ENABLE_SSL_SUPPORT="no")
-			AC_CHECK_HEADER(openssl/err.h,SS_DUMMY="yes",SS_ENABLE_SSL_SUPPORT="no")
-			AC_CHECK_HEADER(openssl/asn1.h,SS_DUMMY="yes",SS_ENABLE_SSL_SUPPORT="no")
-			AC_CHECK_HEADER(openssl/evp.h,SS_DUMMY="yes",SS_ENABLE_SSL_SUPPORT="no")
-
-			if test "$SS_ENABLE_SSL_SUPPORT" = "yes"; then
-				AC_DEFINE([COMPILE_SSL_SUPPORT], 1, [define if you have openssl and want the ssl support in kvirc])
-				SS_LINK_TO_LIBSSL="true"
-				SS_BUILD_FLAGS="o$SS_BUILD_FLAGS"
-				SS_SSL_RESULT_MESSAGE="enabled"
-			else
-				SS_SSL_RESULT_MESSAGE="disabled: missing header files"
-			fi
-		else
-			AC_MSG_RESULT([no])
-			SS_SSL_RESULT_MESSAGE="disabled: failed to compile the test program"
-		fi
-	else
-		SS_SSL_RESULT_MESSAGE="disabled by user"
-	fi
-
-	AC_MSG_CHECKING([for secure connections support])
-	AC_MSG_RESULT([$SS_SSL_RESULT_MESSAGE])
-])
-
-
-dnl ###################################################################################################################
-dnl ### ESD
-dnl ###################################################################################################################
-
-AC_DEFUN([AC_SS_CHECK_ESD],
-[
-	SS_LINK_TO_LIBESD="false"
-	SS_DISABLE_ESD_SUPPORT="true"
-	SS_SAVED_LIBS=$LIBS
-	LIBS="$LIBS -lesd"
-	AC_CHECK_LIB(esd,esd_play_file,SS_DISABLE_ESD_SUPPORT="false")
-	LIBS="$SS_SAVED_LIBS"
-
-	if test "$SS_DISABLE_ESD_SUPPORT" = "false"; then
-		SS_DISABLE_ESD_SUPPORT="true"
-		AC_CHECK_HEADER(esd.h,SS_DISABLE_ESD_SUPPORT="false")
-	fi
-
-	AC_MSG_CHECKING([for Esound daemon support])
-	AC_ARG_WITH(esd-support, [  --without-esd-support   Disable Esound daemon support],SS_DISABLE_ESD_SUPPORT="true")
-
-	if test "$SS_DISABLE_ESD_SUPPORT" = "true"; then
-		AC_MSG_RESULT(disabled by user)
-	else
-		AC_MSG_RESULT(yes: have libs and headers)
-		AC_DEFINE([COMPILE_ESD_SUPPORT], 1, [define if you want to enable the Esound daemon support])
-		SS_LINK_TO_LIBESD="true"
-		SS_BUILD_FLAGS="e$SS_BUILD_FLAGS"
-	fi
-
-])
-
-dnl ###################################################################################################################
-dnl ### ZLIB
-dnl ###################################################################################################################
-
-AC_DEFUN([AC_SS_CHECK_ZLIB],
-[
-	SS_LINK_TO_LIBZLIB="no"
-	SS_DISABLE_ZLIB_SUPPORT="true"
-	SS_SAVED_LIBS=$LIBS
-	LIBS="$LIBS -lz"
-	AC_CHECK_LIB(z,gzopen,SS_DISABLE_ZLIB_SUPPORT="false")
-	LIBS="$SS_SAVED_LIBS"
-
-	if test "$SS_DISABLE_ZLIB_SUPPORT" = "false"; then
-		SS_DISABLE_ZLIB_SUPPORT="true"
-		AC_CHECK_HEADER(zlib.h,SS_DISABLE_ZLIB_SUPPORT="false")
-	fi
-
-	AC_MSG_CHECKING([for GZip support])
-	AC_ARG_WITH(zlib-support, [  --without-zlib-support   Disable ZLIB support],SS_DISABLE_ZLIB_SUPPORT="true")
-
-	if test "$SS_DISABLE_ZLIB_SUPPORT" = "true"; then
-		AC_MSG_RESULT(disabled by user)
-	else
-		AC_MSG_RESULT(yes: have libs and headers)
-		AC_DEFINE([COMPILE_ZLIB_SUPPORT], 1, [define if you want to enable the ZLib library support])
-		SS_LINK_TO_LIBZ="yes"
-		SS_BUILD_FLAGS="Z$SS_BUILD_FLAGS"
-	fi
-])
-
-dnl ###################################################################################################################
-dnl ### XSS
-dnl ###################################################################################################################
-
-AC_DEFUN([AC_SS_CHECK_XSS],
-[
-	SS_LINK_TO_XSS="no"
-	SS_COMPILE_XSS_SUPPORT="false"
-	SS_SAVED_LIBS=$LIBS
-	LIBS="$LIBS -lXss"
-	AC_CHECK_LIB(Xss,XScreenSaverAllocInfo,SS_COMPILE_XSS_SUPPORT="true")
-	LIBS="$SS_SAVED_LIBS"
-
-	AC_MSG_CHECKING([for Xss support])
-
-	if test "$SS_COMPILE_XSS_SUPPORT" = "false"; then
-		AC_MSG_RESULT(disabled)
-	else
-		AC_MSG_RESULT(yes: lib is ok)
-		AC_DEFINE([COMPILE_XSS_SUPPORT], 1, [define if you want to enable the ZLib library support])
-		SS_LINK_TO_XSS="yes"
-		SS_BUILD_FLAGS="$SS_BUILD_FLAGS"
-	fi
-])
-
-dnl ###################################################################################################################
-dnl ### Audiofile library
-dnl ###################################################################################################################
-
-AC_DEFUN([AC_SS_CHECK_AUDIOFILE],
-[
-	SS_LINK_TO_LIBAUDIOFILE="false"
-	SS_DISABLE_AUDIOFILE_SUPPORT="true"
-	SS_SAVED_LIBS=$LIBS
-	LIBS="$LIBS -laudiofile"
-	AC_CHECK_LIB(audiofile,afOpenFile,SS_DISABLE_AUDIOFILE_SUPPORT="false")
-
-	if test "$SS_DISABLE_AUDIOFILE_SUPPORT" = "false"; then
-		SS_DISABLE_AUDIOFILE_SUPPORT="true"
-		AC_CHECK_LIB(audiofile,afGetVirtualFrameSize,SS_DISABLE_AUDIOFILE_SUPPORT="false")
-	fi
-
-	LIBS="$SS_SAVED_LIBS"
-
-	if test "$SS_DISABLE_AUDIOFILE_SUPPORT" = "false"; then
-		SS_DISABLE_AUDIOFILE_SUPPORT="true"
-		AC_CHECK_HEADER(audiofile.h,SS_DISABLE_AUDIOFILE_SUPPORT="false")
-	fi
-
-	AC_MSG_CHECKING([for audiofile support])
-
-	if test "$SS_DISABLE_AUDIOFILE_SUPPORT" = "true"; then
-		AC_MSG_RESULT(missing header or libs or wrong version)
-	else
-
-		if test "$SS_HAS_OSS_SUPPORT" = "false"; then
-			SS_DISABLE_AUDIOFILE_SUPPORT="true"
-			AC_MSG_RESULT(no oss support at all)
-		else
-			AC_ARG_WITH(af-support, [  --without-af-support    Disable Audiofile library for playing files to OSS support], SS_DISABLE_AUDIOFILE_SUPPORT="true")
-
-			if test "$SS_DISABLE_AUDIOFILE_SUPPORT" = "true"; then
-				AC_MSG_RESULT(disabled by user)
-			else
-				AC_MSG_RESULT(yes: have libs and headers)
-				AC_DEFINE([COMPILE_AUDIOFILE_SUPPORT], 1, [define if you want to enable the Audiofile library support])
-				SS_LINK_TO_LIBAUDIOFILE="true"
-				SS_BUILD_FLAGS="f$SS_BUILD_FLAGS"
-			fi
-		fi
-	fi
-])
-
-dnl ###################################################################################################################
-dnl ### ARTS
-dnl ###################################################################################################################
-
-
-AC_DEFUN([AC_SS_CHECK_ARTS],
-[
-	SS_LINK_TO_LIBARTS="false"
-	SS_DISABLE_ARTS_SUPPORT="false"
-
-	AC_MSG_CHECKING([if Arts support is requested])
-	AC_ARG_WITH(arts-support, [  --without-arts-support   Disable Arts daemon support],SS_DISABLE_ARTS_SUPPORT="true")
-
-	if test "$SS_KDE_REQUESTED" = "yes"; then
-		if test "$SS_DISABLE_ARTS_SUPPORT" = "true"; then
-			AC_MSG_RESULT(disabled by user)
-		else
-			AC_MSG_RESULT([yes])
-			AC_MSG_CHECKING(if we can compile a simple Arts application)
-			AC_LANG_CPLUSPLUS
-			ss_save_CPPFLAGS="$CPPFLAGS"
-			ss_save_CXXFLAGS="$CXXFLAGS"
-			ss_save_LDFLAGS="$LDFLAGS"
-			ss_save_LIBS="$LIBS"
-			CPPFLAGS="-I$SS_X_INCDIR -I$SS_QT3_INCDIR -I$SS_KDE_INCDIR $CPPFLAGS $X_CFLAGS"
-			CXXFLAGS="-O2 -Wall $CXXFLAGS"
-			LIBS="-L$SS_KDE_LIBDIR -L$SS_X_LIBDIR $SS_X_LDFLAGS $SS_X_LIBLINK -L$SS_QT3_LIBDIR $LIBS -lsoundserver_idl -ltdecore -l$SS_TQTLIB_NAME -Wl,-rpath $SS_KDE_LIBDIR"
-			if test "$SS_LINK_TO_LIBDL" = "yes"; then
-				LIBS="$LIBS -ldl";
-			fi
-			LDFLAGS="-s $LDFLAGS"
-			AC_TRY_LINK([
-				#include <arts/soundserver.h>
-			],[
-				Arts::Dispatcher * d = new Arts::Dispatcher();
-				Arts::SimpleSoundServer *server = new Arts::SimpleSoundServer(Arts::Reference("global:Arts_SimpleSoundServer"));
-			],
-			SS_ARTS_LINKED_OK="TRUE",
-			SS_ARTS_LINKED_OK="FALSE"
-			)
-			if test "$SS_ARTS_LINKED_OK" = "FALSE"; then
-				AC_MSG_RESULT(failed)
-			else
-				AC_MSG_RESULT(success)
-				AC_DEFINE([COMPILE_ARTS_SUPPORT], 1, [define if you want to enable the Arts daemon support])
-				SS_LINK_TO_LIBARTS="true"
-				SS_BUILD_FLAGS="r$SS_BUILD_FLAGS"
-			fi
-			LIBS="$ss_save_LIBS"
-			LDFLAGS="$ss_save_LDFLAGS"
-			CXXFLAGS="$ss_save_CXXFLAGS"
-			CPPFLAGS="$ss_save_CPPFLAGS"
-		fi
-	else
-		SS_DISABLE_ARTS_SUPPORT="true"
-		AC_MSG_RESULT([no KDE so no Arts])
-	fi
-])
-		
-
-dnl ###################################################################################################################
-dnl ### INTERFACE ADDRESS STUFF
-dnl ###################################################################################################################
-
-AC_DEFUN([AC_SS_CHECK_IFADDR_STUFF],
-[
-	AC_MSG_CHECKING([if we can get interface addresses])
-
-	AC_TRY_LINK([
-			#include <stdio.h>
-			#include <sys/ioctl.h>
-			#include <net/if.h>
-			#include <netinet/in.h>
-			#include <arpa/inet.h>
-			#include <string.h>
-		],[
-			struct ifreq ifr;
-			int ret;
-			struct sockaddr * sa;
-			ret = IFNAMSIZ;
-			ret = ioctl(ret,SIOCGIFADDR,&ifr);
-			if(ifr.ifr_name != 0)sa = (struct sockaddr *)&(ifr.ifr_addr);
-		],
-			eval "SS_DISABLE_IFADDR=false"
-		,
-			eval "SS_DISABLE_IFADDR=true"
-	)
-
-	if test "$SS_DISABLE_IFADDR" = "true"; then
-		AC_MSG_RESULT("no")
-	else
-		AC_MSG_RESULT("yes")
-		AC_DEFINE([COMPILE_GET_INTERFACE_ADDRESS], 1, [define if you have the SIOCGIFADDR ioctl and the related headers])
-	fi
-])
-
-dnl ###################################################################################################################
-dnl ### PTHREAD
-dnl ###################################################################################################################
-
-AC_DEFUN([AC_SS_CHECK_THREAD_STUFF],
-[
-	SS_THREAD_LIBLINK="-lpthread"
-
-	AC_MSG_CHECKING([if your pthread implementation works])
-	SS_DO_IT="false"
-	SS_SAVE_LIBS="$LIBS"
-	LIBS="$SS_THREAD_LIBLINK"
-	AC_TRY_LINK([
-			#include <pthread.h>
-		],[
-			pthread_mutex_lock(0);
-		],
-			eval "SS_PTHREAD_OK=yes"
-		,
-			eval "SS_PTHREAD_OK=no"
-		)
-	LIBS="$SS_SAVE_LIBS"
-	
-	if test "$SS_PTHREAD_OK" = "yes"; then
-		AC_MSG_RESULT(yes, it seems to)
-	else
-		AC_MSG_RESULT(["FAILED"])
-		AC_SS_SET_REDINK
-		echo "################################################################################"
-		echo "### CONFIGURE ERROR:"
-		echo "###  Failed to compile the pthread test program."
-		echo "###  It looks that you either don't have libpthread installed or"
-		echo "###  it is not reachable by the linker."
-		echo "###  Make sure that libpthread is in /lib or /usr/lib."
-		echo "################################################################################"
-		AC_SS_SET_NORMALINK
-		AC_MSG_ERROR(["This was fatal...aborting"])
-	fi
-])
-
-dnl ###################################################################################################################
-dnl ### X
-dnl ###################################################################################################################
-
-
-AC_DEFUN([AC_SS_FIND_X],
-[
-	SS_DISABLE_X_SUPPORT="false"
-
-	AC_MSG_CHECKING([if you want to ignore X at all])
-	AC_ARG_ENABLE(x-support, [  --disable-x-support   Ignore X Windows completely],SS_DISABLE_X_SUPPORT="true")
-
-	if test $SS_DISABLE_X_SUPPORT = "true"; then
-		AC_DEFINE([COMPILE_NO_X], 1, [define if you want to ignore X Windows completely])
- 		SS_X_INCDIR="/usr/include"
-		SS_X_LIBDIR="/usr/lib"
-		SS_X_LDFLAGS=""
-		SS_X_CPPFLAGS=""
-		SS_X_LIBLINK=""
-		AC_MSG_RESULT(yes)
-	else
-		AC_MSG_RESULT(no, proceeding with checks)
-		AC_PATH_XTRA
-	
-		if test -n "$no_x"; then
-			AC_SS_SET_REDINK
-			echo "################################################################################"
-			echo "### CONFIGURE ERROR:"
-			echo "### Can not find the X libraries."
-			echo "### Make sure that X is installed on your system and try to run configure again,"
-			echo "### this time passing the --x-includes and --x-libraries options."
-			echo "### You may also take a look at the config.log file in this directory,"
-			echo "### that will tell you which checks have failed and maybe more about the"
-			echo "### reason of the failure."
-			echo "###"
-			echo "### If you use an environment that does not require X support such as TQt-Mac"
-			echo "### you may try to rerun configure with --disable-x-support"
-			echo "################################################################################"
-			AC_SS_SET_NORMALINK
-			AC_MSG_ERROR([This was a fatal one...aborting])
-		else
-			# Set the X include and lib dir
-	 		SS_X_INCDIR="$x_includes"
-			SS_X_LIBDIR="$x_libraries"
-			SS_X_LIBLINK="-lX11 -lXext"
-	
-			if test -z "$SS_X_INCDIR"; then
-				# Ops... X headers not found ?
-				AC_TRY_COMPILE([
-						#include <X11/Xlib.h>
-					],[
-						Display * d = XOpenDisplay(0);
-						XCloseDisplay(d);
-					],
-						eval "ss_x_incdir_found=yes"
-					,
-						eval "ss_x_incdir_found=no"
-					)
-	
-				if test "$ss_x_incdir_found" = "no"; then
-					AC_SS_SET_REDINK
-					echo "################################################################################"
-					echo "### CONFIGURE ERROR:"
-					echo "### Can not find the X headers."
-					echo "### Possible reasons:"
-					echo "###   1) You miss the X server development files (Xlib.h for example)"
-					echo "###"
-					echo "###   2) Autoconf/Automake wasn't able to find the headers"
-					echo "###      for some ugly reason."
-					echo "###"
-					echo "### You might try looking for a file named Xlib.h in your hard-drive"
-					echo "### and try passing the --x-includes option to ./configure"
-					echo "### Remember that if you find Xlib.h in /somepath/include/X11/Xlib.h"
-					echo "### Then you must pass --x-includes=/somepath/include to ./configure"
-					echo "### For example, my Xlib.h is in /usr/X11R6/include/X11/Xlib.h"
-					echo "### then i would try: ./configure --x-includes=/usr/X11R6/include"
-					echo "### If you can't find Xlib.h on your hard drive then install the X-devel"
-					echo "### package from your distribution."
-					echo "### If Xlib.h is there and --x-includes doesn't help, well , there is something"
-					echo "### wrong with X , autoconf or automake."
-					echo "### You may also take a look at the config.log file in this directory,"
-					echo "### that will tell you which checks have failed and maybe more about the"
-					echo "### reason of the failure."
-					echo "###"
-					echo "### If you use an environment that does not require X support such as TQt-Mac"
-					echo "### you may try to rerun configure with --disable-x-support"
-					echo "################################################################################"
-					AC_SS_SET_NORMALINK
-					AC_MSG_ERROR([This was a fatal one...aborting])
-				else
-					# We can compile X programs without any additional path... use a dummy include path then
-					# Should we print a warning ?
-					SS_X_INCDIR="/usr/include"
-				fi
-			fi
-	
-	
-			if test -z "$SS_X_LIBDIR"; then
-				# Ops... X libs not found ?
-				SS_SAVE_LIBS="$LIBS"
-				SS_SAVE_CFLAGS="$CFLAGS"
-				SS_SAVE_CPPFLAGS="$CPPFLAGS"
-				SS_SAVE_CXXFLAGS="$CXXFLAGS"
-	
-				CFLAGS="-I$SS_X_INCDIR"
-				CPPFLAGS="$CFLAGS"
-				CXXFLAGS="$CFLAGS"
-				LIBS="$SS_X_LIBLINK"
-				AC_TRY_LINK([
-						#include <X11/Xlib.h>
-					],[
-						Display * d = XOpenDisplay(0);
-						XCloseDisplay(d);
-					],
-						eval "ss_x_libdir_found=yes"
-					,
-						eval "ss_x_libdir_found=no"
-					)
-				LIBS="$SS_SAVE_LIBS"
-				CFLAGS="$SS_SAVE_CFLAGS"
-				CPPFLAGS="$SS_SAVE_CPPFLAGS"
-				CXXFLAGS="$SS_SAVE_CXXFLAGS"
-	
-				if test "$ss_x_libdir_found" = "no"; then
-					AC_SS_SET_REDINK
-					echo "################################################################################"
-					echo "### CONFIGURE ERROR:"
-					echo "### Can not find the X libraries."
-					echo "### Possible reasons:"
-					echo "###   1) You have no X server : KVIrc can't run on this system"
-					echo "###"
-					echo "###   2) Autoconf/Automake wasn't able to find the libraries"
-					echo "###      for some ugly reason."
-					echo "###"
-					echo "### You might try looking for a file named libX11.so in your hard-drive"
-					echo "### and try passing the --x-libraries option to ./configure"
-					echo "### Remember that if you find libX11.so in /somepath/lib/libX11.so"
-					echo "### Then you must pass --x-libraries=/somepath/lib to ./configure"
-					echo "### For example, my libX11.so is in /usr/X11R6/lib/libX11.so"
-					echo "### then i would try: ./configure --x-libraries=/usr/X11R6/lib"
-					echo "### If you can't find libX11.so on your hard drive then install the X server"
-					echo "### package from your distribution."
-					echo "### If libX11.so is there and --x-libraries doesn't help, well , there is something"
-					echo "### wrong with X , autoconf or automake."
-					echo "### You may also take a look at the config.log file in this directory,"
-					echo "### that will tell you which checks have failed and maybe more about the"
-					echo "### reason of the failure."
-					echo "###"
-					echo "### If you use an environment that does not require X support such as TQt-Mac"
-					echo "### you may try to rerun configure with --disable-x-support"
-					echo "################################################################################"
-					AC_SS_SET_NORMALINK
-					AC_MSG_ERROR([This was a fatal one...aborting])
-				else
-					# We can link X programs without any additional path... use a dummy lib path then
-					# Should we print a warning ?
-					SS_X_LIBDIR="/usr/lib"
-				fi
-			fi
-
-			# Add any extra libs needed
-			SS_X_LDFLAGS=""
-
-			if test -n "$X_PRE_LIBS"; then
-				SS_X_LDFLAGS="$X_PRE_LIBS $SS_X_LDFLAGS"
-			fi
-
-			if test -n "$X_EXTRA_LIBS"; then
-				SS_X_LDFLAGS="$SS_X_LDFLAGS $X_EXTRA_LIBS"
-			fi
-
-			if test -n "$X_LIBS"; then
-				SS_X_LDFLAGS="$SS_X_LDFLAGS $X_LIBS"
-			fi
-	
-			# Add any extra gcc flags
-			SS_X_CPPFLAGS=$X_CFLAGS
-		fi
-	fi
-])
-
-dnl ###################################################################################################################
-dnl ### TQt
-dnl ###################################################################################################################
-
-AC_DEFUN([AC_SS_FIND_QT],
-[
-	AC_ARG_ENABLE(tqt-check,
-			AC_HELP_STRING([--disable-tqt-check],[Do not check if TQt and X compile]),
-			SS_CHECK_QTX_COMPILE="$withval",SS_CHECK_QTX_COMPILE="NOTGIVEN")
-
-	AC_SS_FIND_QT3_NAME
-	AC_SS_FIND_QT3_GENERAL_DIR
-	AC_SS_FIND_QT3_LIBRARY_DIR
-	AC_SS_FIND_QT3_INCLUDE_DIR
-	AC_SS_FIND_QT3_MOC
-	AC_SS_FIND_QT3_MT
-
-	if test "$SS_CHECK_QTX_COMPILE" = "NOTGIVEN"; then
-		AC_SS_ENSURE_CAN_COMPILE_X_AND_QT3
-	fi
-])
-
-AC_DEFUN([AC_SS_FIND_QT3_NAME],
-[
-	AC_MSG_CHECKING([for the TQt library name])
-	AC_ARG_WITH(tqt-name,[  --with-tqt-name=NAME     Use NAME instead of \"tqt\" as TQt library name],SS_TQTLIB_NAME="$withval",SS_TQTLIB_NAME="tqt")
-	AC_MSG_RESULT("$SS_TQTLIB_NAME")
-])
-
-AC_DEFUN([AC_SS_FIND_QT3_GENERAL_DIR],
-[
-	AC_MSG_CHECKING([for the general Qt3.x directory])
-
-	lib_multiarch="`gcc -print-multiarch 2>/dev/null`"
-	ss_qt_general_test_dirs="/usr/local /usr /usr/X11R6 /usr/lib/$lib_multiarch /usr/lib /opt /opt/kde /kde /usr/kde /usr/build /usr/src /usr/local/lib /"
-	ss_qt_general_test_dirs="$ss_qt_general_test_dirs /usr/local/kde /usr/opt/kde"
-
-	if test -n "$HOME"; then
-		ss_qt_general_test_dirs="$ss_qt_general_test_dirs $HOME $HOME/lib"
-	fi
-
-	if test -n "$TQTDIR"; then
-		ss_qt_general_test_dirs="$TQTDIR $ss_qt_general_test_dirs"
-	fi
-
-	ss_qt_general_test_path_suffix="tqt$SS_QT3_MAJOR_VERSION_REQUIRED.$SS_QT3_MINOR_VERSION_REQUIRED.$SS_QT3_PATCH_LEVEL_REQUIRED"
-	ss_qt_general_test_path_suffix="$ss_qt_general_test_path_suffix tqt.$SS_QT3_MAJOR_VERSION_REQUIRED.$SS_QT3_MINOR_VERSION_REQUIRED.$SS_QT3_PATCH_LEVEL_REQUIRED"
-	ss_qt_general_test_path_suffix="$ss_qt_general_test_path_suffix tqt.$SS_QT3_MAJOR_VERSION_REQUIRED$SS_QT3_MINOR_VERSION_REQUIRED$SS_QT3_PATCH_LEVEL_REQUIRED"
-	ss_qt_general_test_path_suffix="$ss_qt_general_test_path_suffix tqt-$SS_QT3_MAJOR_VERSION_REQUIRED.$SS_QT3_MINOR_VERSION_REQUIRED.$SS_QT3_PATCH_LEVEL_REQUIRED"
-	ss_qt_general_test_path_suffix="$ss_qt_general_test_path_suffix tqt-$SS_QT3_MAJOR_VERSION_REQUIRED$SS_QT3_MINOR_VERSION_REQUIRED$SS_QT3_PATCH_LEVEL_REQUIRED"
-	ss_qt_general_test_path_suffix="$ss_qt_general_test_path_suffix tqt$SS_QT3_MAJOR_VERSION_REQUIRED.$SS_QT3_MINOR_VERSION_REQUIRED"
-	ss_qt_general_test_path_suffix="$ss_qt_general_test_path_suffix tqt.$SS_QT3_MAJOR_VERSION_REQUIRED.$SS_QT3_MINOR_VERSION_REQUIRED"
-	ss_qt_general_test_path_suffix="$ss_qt_general_test_path_suffix tqt.$SS_QT3_MAJOR_VERSION_REQUIRED$SS_QT3_MINOR_VERSION_REQUIRED"
-	ss_qt_general_test_path_suffix="$ss_qt_general_test_path_suffix tqt-$SS_QT3_MAJOR_VERSION_REQUIRED.$SS_QT3_MINOR_VERSION_REQUIRED"
-	ss_qt_general_test_path_suffix="$ss_qt_general_test_path_suffix tqt-$SS_QT3_MAJOR_VERSION_REQUIRED$SS_QT3_MINOR_VERSION_REQUIRED"
-	ss_qt_general_test_path_suffix="$ss_qt_general_test_path_suffix tqt$SS_QT3_MAJOR_VERSION_REQUIRED"
-	ss_qt_general_test_path_suffix="$ss_qt_general_test_path_suffix tqt.$SS_QT3_MAJOR_VERSION_REQUIRED"
-	ss_qt_general_test_path_suffix="$ss_qt_general_test_path_suffix tqt-$SS_QT3_MAJOR_VERSION_REQUIRED"
-	ss_qt_general_test_path_suffix="$ss_qt_general_test_path_suffix lib"
-	ss_qt_general_test_path_suffix="$ss_qt_general_test_path_suffix tqt ."
-
-	AC_SS_FIND_FILE_PATH_EXT($SS_TQT3_GENERAL_FILE_TO_SEARCH,$ss_qt_general_test_dirs,$ss_qt_general_test_path_suffix,SS_QT3_GENERAL_DIR)
-	if test "$SS_QT3_GENERAL_DIR" = "FAILED"; then
-		AC_SS_FIND_FILE_PATH_EXT($SS_QT3_GENERAL_FILE_TO_SEARCH,$ss_qt_general_test_dirs,$ss_qt_general_test_path_suffix,SS_QT3_GENERAL_DIR)
-		if test "$SS_QT3_GENERAL_DIR" = "FAILED"; then
-			AC_MSG_RESULT([failed...continuing with normal checks])
-			unset SS_QT3_GENERAL_DIR
-		else
-			AC_MSG_RESULT([Seems to be $SS_QT3_GENERAL_DIR])
-		fi
-	else
-		AC_MSG_RESULT([Seems to be $SS_QT3_GENERAL_DIR])
-	fi
-])
-
-AC_DEFUN([AC_SS_FIND_QT3_INCLUDE_DIR],
-[
-	AC_ARG_WITH(tqt-include-dir,[  --with-tqt-include-dir   path to the TQt 3.x headers ],SS_QT3_INCDIR="$withval",SS_QT3_INCDIR="NOTGIVEN")
-	if test "$SS_QT3_INCDIR" = "NOTGIVEN"; then
-
-		AC_MSG_CHECKING([for the TQt 3.x header files])
-
-		ss_qt_include_test_dirs="$SS_QT3_GENERAL_DIR/include /include /usr/include /usr/local/include /usr/tqt/include /usr/local/tqt/include /usr/X11R6/include /usr/lib/tqt/include /usr/lib/tqt /usr/include/X11"
-		test -n "$TQTDIR" && ss_qt_include_test_dirs="$TQTDIR/include $TQTDIR $ss_qt_include_test_dirs"
-		ss_qt_include_test_dirs="$ss_qt_include_test_dirs /usr/include/tqt /usr/include/tqt3 /usr/include/qt3 /usr/local/include/tqt /include/tqt /usr/X11R6/include/tqt /usr/build/tqt/include"
-		ss_qt_include_test_dirs="$ss_qt_include_test_dirs /usr/include/tqt$SS_QT3_MAJOR_VERSION_REQUIRED /usr/include/tqt$SS_QT3_MAJOR_VERSION_REQUIRED /usr/include/tqt-$SS_QT3_MAJOR_VERSION_REQUIRED /usr/local/include/tqt$SS_QT3_MAJOR_VERSION_REQUIRED"
-		ss_qt_include_test_dirs="$ss_qt_include_test_dirs /include/tqt$SS_QT3_MAJOR_VERSION_REQUIRED /include/tqt$SS_QT3_MAJOR_VERSION_REQUIRED /usr/X11R6/include/tqt$SS_QT3_MAJOR_VERSION_REQUIRED"
-		ss_qt_include_test_dirs="$ss_qt_include_test_dirs /usr/include/X11/tqt$SS_QT3_MAJOR_VERSION_REQUIRED /opt/tqt /opt/kde/tqt"
-
-		AC_SS_FIND_FILE_PATH($SS_TQT3_INCLUDE_FILE_TO_SEARCH,$ss_qt_include_test_dirs,SS_QT3_INCDIR)
-
-		if test "$SS_QT3_INCDIR" = "FAILED"; then
-			AC_SS_FIND_FILE_PATH($SS_QT3_INCLUDE_FILE_TO_SEARCH,$ss_qt_include_test_dirs,SS_QT3_INCDIR)
-		fi
-
-		if test "$SS_QT3_INCDIR" = "FAILED"; then
-			AC_MSG_RESULT([FAILED])
-			AC_SS_SET_REDINK
-			echo "################################################################################"
-			echo "### CONFIGURE ERROR:"
-			echo "### Can not find the tqt 3.x header files."
-			echo "### Make sure that tqt is correctly installed on your system,"
-			echo "### and the tqt version is the one requested by this version of kvirc."
-			echo "### Try to run configure again, this time passing the --with-tqt-include-dir"
-			echo "### option (see ./configure --help)."
-			echo "### You may also take a look at the config.log file in this directory,"
-			echo "### that will tell you which check has failed and maybe more about the reason"
-			echo "### of the failure."
-			echo "### If you're feeling that this may be a bug in this configure script"
-			echo "### and want to report this to me , please include your configure script,"
-			echo "### the config.log file as well as the complete configure output."
-			echo "################################################################################"
-			AC_SS_SET_NORMALINK
-			AC_MSG_ERROR([This was a fatal one...aborting])
-		else
-			AC_MSG_RESULT([found in $SS_QT3_INCDIR])
-		fi
-
-	else
-		AC_MSG_RESULT([using user supplied path for the TQt 3.x include files $SS_QT3_INCDIR])
-	fi
-])
-
-
-AC_DEFUN([AC_SS_FIND_QT3_LIBRARY_DIR],
-[
-	AC_ARG_WITH(tqt-library-dir,[  --with-tqt-library-dir   path to the TQt 3.x library ],SS_QT3_LIBDIR="$withval",SS_QT3_LIBDIR="NOTGIVEN")
-	if test "$SS_QT3_LIBDIR" = "NOTGIVEN"; then
-		AC_MSG_CHECKING([for the TQt library])
-
-		lib_multiarch="`gcc -print-multiarch 2>/dev/null`"
-		ss_qt_library_test_dirs="$SS_QT3_GENERAL_DIR/lib /lib/$lib_multiarch /usr/lib/$lib_multiarch /usr/local/lib/$lib_multiarch /lib /usr/lib /usr/local/lib /usr/tqt/lib /usr/local/tqt/lib /usr/X11R6/lib /usr/lib/tqt/lib /usr/lib/tqt /usr/local/lib/tqt/lib"
-		test -n "$TQTDIR" && ss_qt_library_test_dirs="$TQTDIR/lib $TQTDIR $ss_qt_library_test_dirs"
-		ss_qt_library_test_dirs="$ss_qt_library_test_dirs /usr/local/lib/tqt /usr/X11R6/lib/tqt /usr/build/tqt/lib /opt/lib /opt/tqt/lib"
-
-		ss_qt_libs_to_find="lib$SS_TQTLIB_NAME-mt.so.$SS_QT3_MAJOR_VERSION_REQUIRED.$SS_QT3_MINOR_VERSION_REQUIRED.$SS_QT3_PATCH_LEVEL_REQUIRED"
-		ss_qt_libs_to_find="$ss_qt_libs_to_find lib$SS_TQTLIB_NAME-mt.so.$SS_QT3_MAJOR_VERSION_REQUIRED.$SS_QT3_MINOR_VERSION_REQUIRED"
-		ss_qt_libs_to_find="$ss_qt_libs_to_find lib$SS_TQTLIB_NAME-mt.so.$SS_QT3_MAJOR_VERSION_REQUIRED"
-		ss_qt_libs_to_find="$ss_qt_libs_to_find lib$SS_TQTLIB_NAME-mt.so"
-		ss_qt_libs_to_find="$ss_qt_libs_to_find lib$SS_TQTLIB_NAME.so.$SS_QT3_MAJOR_VERSION_REQUIRED.$SS_QT3_MINOR_VERSION_REQUIRED.$SS_QT3_PATCH_LEVEL_REQUIRED"
-		ss_qt_libs_to_find="$ss_qt_libs_to_find lib$SS_TQTLIB_NAME.so.$SS_QT3_MAJOR_VERSION_REQUIRED.$SS_QT3_MINOR_VERSION_REQUIRED"
-		ss_qt_libs_to_find="$ss_qt_libs_to_find lib$SS_TQTLIB_NAME.so.$SS_QT3_MAJOR_VERSION_REQUIRED"
-		ss_qt_libs_to_find="$ss_qt_libs_to_find lib$SS_TQTLIB_NAME.so"
-		ss_qt_libs_to_find="$ss_qt_libs_to_find lib$SS_TQTLIB_NAME-mt.$SS_QT3_MAJOR_VERSION_REQUIRED.$SS_QT3_MINOR_VERSION_REQUIRED.$SS_QT3_PATCH_LEVEL_REQUIRED.dylib"
-		ss_qt_libs_to_find="$ss_qt_libs_to_find lib$SS_TQTLIB_NAME-mt.$SS_QT3_MAJOR_VERSION_REQUIRED.$SS_QT3_MINOR_VERSION_REQUIRED.dylib"
-		ss_qt_libs_to_find="$ss_qt_libs_to_find lib$SS_TQTLIB_NAME-mt.$SS_QT3_MAJOR_VERSION_REQUIRED.dylib"
-		ss_qt_libs_to_find="$ss_qt_libs_to_find lib$SS_TQTLIB_NAME-mt.dylib"
-		ss_qt_libs_to_find="$ss_qt_libs_to_find lib$SS_TQTLIB_NAME.$SS_QT3_MAJOR_VERSION_REQUIRED.$SS_QT3_MINOR_VERSION_REQUIRED.$SS_QT3_PATCH_LEVEL_REQUIRED.dylib"
-		ss_qt_libs_to_find="$ss_qt_libs_to_find lib$SS_TQTLIB_NAME.$SS_QT3_MAJOR_VERSION_REQUIRED.$SS_QT3_MINOR_VERSION_REQUIRED.dylib"
-		ss_qt_libs_to_find="$ss_qt_libs_to_find lib$SS_TQTLIB_NAME.$SS_QT3_MAJOR_VERSION_REQUIRED.dylib"
-		ss_qt_libs_to_find="$ss_qt_libs_to_find lib$SS_TQTLIB_NAME.dylib"
-		ss_qt_libs_to_find="$ss_qt_libs_to_find lib$SS_TQTLIB_NAME-mt.a"
-		ss_qt_libs_to_find="$ss_qt_libs_to_find lib$SS_TQTLIB_NAME.a"
-
-		AC_SS_FIND_FILE_PATH($ss_qt_libs_to_find,$ss_qt_library_test_dirs,SS_QT3_LIBDIR)
-
-		if test "$SS_QT3_LIBDIR" = "FAILED"; then
-			AC_MSG_RESULT([FAILED])
-			AC_SS_SET_REDINK
-			echo "################################################################################"
-			echo "### CONFIGURE ERROR:"
-			echo "### Can not find the tqt 3.x library file."
-			echo "### Make sure that tqt is correctly installed on your system,"
-			echo "### and the tqt version is the one requested by this version of kvirc."
-			echo "### (Usually a greater version is OK too)"
-			echo "### Try to run configure again, this time passing the --with-tqt-library-dir"
-			echo "### option (see ./configure --help)."
-			echo "### You may also take a look at the config.log file in this directory,"
-			echo "### that will tell you which check has failed and maybe more about the reason"
-			echo "### of the failure."
-			echo "### If you're feeling that this may be a bug in this configure script"
-			echo "### and want to report this to me , please include your configure script,"
-			echo "### the config.log file as well as the complete configure output."
-			echo "################################################################################"
-			AC_SS_SET_NORMALINK
-			AC_MSG_ERROR([This was a fatal one...aborting])
-		else
-			AC_MSG_RESULT([TQt3 found in $SS_QT3_LIBDIR])
-		fi
-	else
-		AC_MSG_RESULT([using user supplied path for the TQt library $SS_QT3_LIBDIR])
-	fi
-])
-
-
-AC_DEFUN([AC_SS_FIND_QT3_MOC],
-[	
-	AC_ARG_WITH(tqt-moc,[  --with-tqt-moc           filename of the TQt 3.x meta object compiler ],SS_QT3_MOC="$withval",SS_QT3_MOC="NOTGIVEN")
-
- 	if test "$SS_QT3_MOC" = "NOTGIVEN"; then
-		AC_MSG_CHECKING([for the TQt 3.x tqmoc])
-
- 		unset SS_QT3_MOC
-		ss_moc_test_dirs="$TQTDIR/bin $PATH /usr/bin /bin /usr/local/bin /usr/X11R6/bin /usr/lib/tqt/bin /usr/local/tqt/bin /usr/X11R6/tqt/bin /usr/tqt/bin /usr/build/tqt/bin"
-		if test -n "$SS_QT3_GENERAL_DIR"; then
-			ss_moc_test_dirs="$SS_QT3_GENERAL_DIR/bin $ss_moc_test_dirs"
-		fi
-
-		AC_SS_FIND_FILE_PATH(tqmoc,$ss_moc_test_dirs,SS_QT3_MOC)
-
-		if test "$SS_QT3_MOC" = "FAILED"; then
-			AC_MSG_RESULT([FAILED])
-			AC_SS_SET_REDINK
-			echo "################################################################################"
-			echo "### CONFIGURE ERROR:"
-			echo "### The TQt meta object compiler can not be found."
-			echo "### Make sure that tqt is correctly installed on your system, it is on your path,"
-			echo "### and the tqt version is the one requested by this version of kvirc."
-			echo "### Try to run configure again, this time passing the --with-tqt-moc"
-			echo "### option (see ./configure --help)."
-			echo "### You may also take a look at the config.log file in this directory,"
-			echo "### that will tell you which check has failed and maybe more about the reason"
-			echo "### of the failure."
-			echo "### If you're feeling that this may be a bug in this configure script"
-			echo "### and want to report this to me , please include your configure script,"
-			echo "### the config.log file as well as the complete configure output."
-			echo "################################################################################"
-			AC_SS_SET_NORMALINK
-			AC_MSG_ERROR([This was a fatal one...aborting])
-		else
-			SS_QT3_MOC="$SS_QT3_MOC/tqmoc"
-			AC_MSG_RESULT([found as $SS_QT3_MOC])
-		fi
-	else
-		AC_MSG_RESULT([trusting you: using $SS_QT3_MOC])
- 	fi
-])
-
-
-AC_DEFUN([AC_SS_FIND_QT3_MT],
-[
-	AC_ARG_ENABLE(tqt-mt,[  --disable-tqt-mt         ignore the threaded version of TQt],SS_QT3_NOMT="$withval",SS_QT3_NOMT="NOTGIVEN")
-
-	AC_MSG_CHECKING([for the multithreaded version of TQt])
-
-	if test "$SS_QT3_NOMT" = "NOTGIVEN"; then
-		ss_qt_libs_to_find="lib$SS_TQTLIB_NAME-mt.so.$SS_QT3_MAJOR_VERSION_REQUIRED.$SS_QT3_MINOR_VERSION_REQUIRED.$SS_QT3_PATCH_LEVEL_REQUIRED"
-		ss_qt_libs_to_find="$ss_qt_libs_to_find lib$SS_TQTLIB_NAME-mt.so.$SS_QT3_MAJOR_VERSION_REQUIRED.$SS_QT3_MINOR_VERSION_REQUIRED"
-		ss_qt_libs_to_find="$ss_qt_libs_to_find lib$SS_TQTLIB_NAME-mt.so.$SS_QT3_MAJOR_VERSION_REQUIRED"
-		ss_qt_libs_to_find="$ss_qt_libs_to_find lib$SS_TQTLIB_NAME-mt.so"
-		ss_qt_libs_to_find="$ss_qt_libs_to_find lib$SS_TQTLIB_NAME-mt.$SS_QT3_MAJOR_VERSION_REQUIRED.$SS_QT3_MINOR_VERSION_REQUIRED.$SS_QT3_PATCH_LEVEL_REQUIRED.dylib"
-		ss_qt_libs_to_find="$ss_qt_libs_to_find lib$SS_TQTLIB_NAME-mt.$SS_QT3_MAJOR_VERSION_REQUIRED.$SS_QT3_MINOR_VERSION_REQUIRED.dylib"
-		ss_qt_libs_to_find="$ss_qt_libs_to_find lib$SS_TQTLIB_NAME-mt.$SS_QT3_MAJOR_VERSION_REQUIRED.dylib"
-		ss_qt_libs_to_find="$ss_qt_libs_to_find lib$SS_TQTLIB_NAME-mt.dylib"
-		ss_qt_libs_to_find="$ss_qt_libs_to_find lib$SS_TQTLIB_NAME-mt.a"
-
-		AC_SS_FIND_FILE_PATH($ss_qt_libs_to_find,$SS_QT3_LIBDIR,SS_QTMTLIBDIR)
-		if test "$SS_QTMTLIBDIR" = "FAILED"; then
-			AC_MSG_RESULT([not found])
-		else
-			AC_MSG_RESULT([seems to be available])
-			SS_TQTLIB_NAME="$SS_TQTLIB_NAME-mt"
-		fi
-	else
-		AC_MSG_RESULT([disabled by user])
-	fi
-])
-
-AC_DEFUN([AC_SS_ENSURE_CAN_COMPILE_X_AND_QT3],
-[
-	
-		AC_MSG_CHECKING([if we can compile an X-TQt 3.x application])
-		AC_LANG_CPLUSPLUS
-		ss_save_CPPFLAGS="$CPPFLAGS"
-		ss_save_CXXFLAGS="$CXXFLAGS"
-		ss_save_LDFLAGS="$LDFLAGS"
-		ss_save_LIBS="$LIBS"
-		if test -n "$SS_X_INCDIR"; then
-			CPPFLAGS="-I$SS_X_INCDIR"
-		else
-			CPPFLAGS=""
-		fi
-		CPPFLAGS="$CPPFLAGS -I$SS_QT3_INCDIR"
-		CXXFLAGS="-O2 -Wall $CXXFLAGS"
-		if test -n "$SS_X_LIBDIR"; then
-			LIBS="-L$SS_X_LIBDIR"
-		else
-			LIBS=""
-		fi
-		LIBS="$LIBS -L$SS_QT3_LIBDIR -l$SS_TQTLIB_NAME"
-		if test -n "$SS_X_LDFLAGS"; then
-			LIBS="$LIBS $SS_X_LDFLAGS"
-		fi
-		if test -n "$SS_X_LIBLINK"; then
-			LIBS="$LIBS $SS_X_LIBLINK"
-		fi
-		LDFLAGS="-s $LDFLAGS"
-		AC_TRY_LINK([
-			#include <tqglobal.h>
-			],[return 0; ],SS_QTX_LINKED_OK="TRUE",SS_QTX_LINKED_OK="FALSE")
-		if test "$SS_QTX_LINKED_OK" = "FALSE"; then
-			AC_MSG_RESULT([FAILED]);
-			AC_SS_SET_REDINK
-			echo "################################################################################"
-			echo "### CONFIGURE ERROR:"
-			echo "### Failed to compile the TQt library test program."
-			echo "### This may be a bad sign :)"
-			echo "### First of all, make sure that tqt is correctly installed on your system,"
-			echo "### and the tqt version is the one requested by this version of kvirc."
-			echo "### Ensure that you have only one copy of tqt visible at a time."
-			echo "### You may also take a look at the config.log file in this directory,"
-			echo "### that will tell you which check has failed and maybe more about the reason"
-			echo "### of the failure."
-			echo "### The CPPFLAGS used were:"
-			for a_flag in $CPPFLAGS ; do
-				echo "###   $a_flag"
-			done
-			echo "### The CXXFLAGS used were:"
-			for a_flag in $CXXFLAGS ; do
-				echo "###   $a_flag"
-			done
-			echo "### The LIBS used were:"
-			for a_flag in $LIBS ; do
-				echo "###   $a_flag"
-			done
-			echo "### The LDFLAGS used were:"
-			for a_flag in $LDFLAGS ; do
-				echo "###   $a_flag"
-			done
-			echo "### If you're sure that tqt is correctly installed , you may force configure"
-			echo "### to skip this check and try to compile kvirc anyway."
-			echo "### Try using the --without-tqt-check option."
-			echo "### If you're feeling that this may be a bug in this configure script"
-			echo "### and want to report this to me , please include your configure script,"
-			echo "### the config.log file as well as the complete configure output."
-			echo "################################################################################"
-			AC_SS_SET_NORMALINK
-			AC_MSG_ERROR([This was a fatal one...aborting])
-		fi
-		LIBS="$ss_save_LIBS"
-		LDFLAGS="$ss_save_LDFLAGS"
-		CXXFLAGS="$ss_save_CXXFLAGS"
-		CPPFLAGS="$ss_save_CPPFLAGS"
-		AC_MSG_RESULT([success])
-])
-
-
-dnl ###################################################################################################################
-dnl ### KDE
-dnl ###################################################################################################################
-
-AC_DEFUN([AC_SS_FIND_KDE],
-[
-	AC_SS_CHECK_IF_KDE_IS_REQUESTED
-	if test "$SS_KDE_REQUESTED" = "yes"; then
-		AC_SS_FIND_KDE_GENERAL_DIR
-		if test "$SS_KDE_REQUESTED" = "yes"; then
-			AC_SS_FIND_KDE_SERVICES_DIR
-			AC_SS_FIND_KDE_LIBRARY_DIR
-			if test "$SS_KDE_REQUESTED" = "yes"; then
-				AC_SS_FIND_KDE_INCLUDE_DIR
-				if test "$SS_KDE_REQUESTED" = "yes"; then
-					AC_SS_ENSURE_CAN_COMPILE_X_QT3_AND_KDE
-				fi
-			fi
-		fi
-	fi
-])
-
-AC_DEFUN([AC_SS_CHECK_IF_KDE_IS_REQUESTED],
-[
- 	AC_MSG_CHECKING([if KDE support is requested])
-	SS_KDE_REQUESTED="yes"
-	AC_ARG_WITH(kde-support,[  --without-kde-support      Disable the KDE support even if it is detected ],SS_KDE_REQUESTED="$withval")
-	if test "$SS_KDE_REQUESTED" = "yes"; then
-		AC_MSG_RESULT([yes])
-	else
-		AC_MSG_RESULT([no])
-	fi
-])
-
-AC_DEFUN([AC_SS_FIND_KDE_GENERAL_DIR],
-[
-	AC_MSG_CHECKING([for the general KDE directory])
-	ss_kde_general_test_dirs="/usr /usr/local /usr /usr/local /usr/build /usr/X11R6 /opt /usr/opt /usr/lib /usr/lib /usr/src /usr/lib /usr/local/lib"
-	if test -n "$HOME"; then
-		ss_kde_general_test_dirs="$ss_kde_general_test_dirs $HOME $HOME/lib"
-	fi
-	if test -n "$TDEDIR"; then
-		ss_kde_general_test_dirs="$TDEDIR $ss_kde_general_test_dirs"
-	fi
-	ss_kde_general_test_path_suffix="trinity tde TDE kde kde3.0 kde3 KDE Kde KDE3 kde3 ."
-
-	AC_SS_FIND_FILE_PATH_EXT($SS_KDE_GENERAL_FILE_TO_SEARCH,$ss_kde_general_test_dirs,$ss_kde_general_test_path_suffix,SS_KDE_GENERAL_DIR)
-
-	if test "$SS_KDE_GENERAL_DIR" = "FAILED"; then
-		AC_MSG_RESULT([failed...continuing with normal checks])
-		unset SS_KDE_GENERAL_DIR
-	else
-		AC_MSG_RESULT([Seems to be $SS_KDE_GENERAL_DIR])
-	fi
-])
-
-
-AC_DEFUN([AC_SS_FIND_KDE_SERVICES_DIR],
-[
-	AC_ARG_WITH(kde-services-dir,[  --with-kde-services-dir path to the KDE protocol services dir ],SS_KDE_SERVICESDIR="$withval",SS_KDE_SERVICESDIR="NOTGIVEN")
-	if test "$SS_KDE_SERVICESDIR" = "NOTGIVEN"; then
-
-		AC_MSG_CHECKING([for KDE services directory])
-
-		ss_kde_services_test_dirs="/usr/share/services /usr/local/share/services /usr/kde/share/services /usr/local/kde/share/services /usr/X11R6/share/services /opt/kde/share/services /usr/lib/kde/share/services"
-		test -n "$TDEDIR" && ss_kde_services_test_dirs="$TDEDIR/share/services $ss_kde_services_test_dirs"
-		ss_kde_services_test_dirs="$ss_kde_services_test_dirs /usr/share/kde/services"
-		test -n "$SS_KDE_GENERAL_DIR" && ss_kde_services_test_dirs="$SS_KDE_GENERAL_DIR/share/services $ss_kde_services_test_dirs"
-
-		AC_SS_FIND_FILE_PATH("http.protocol",$ss_kde_services_test_dirs,SS_KDE_SERVICESDIR)
-
-		if test "$SS_KDE_SERVICESDIR" = "FAILED"; then
-			SS_KDE_SERVICESDIR=""
-			AC_MSG_RESULT([unknown])
-		else
-			AC_MSG_RESULT([found in $SS_KDE_SERVICESDIR])
-		fi
-
-	else
-		AC_MSG_RESULT([using user supplied path for the KDE services dir $SS_KDE_SERVICESDIR])
-	fi
-])
-
-
-AC_DEFUN([AC_SS_FIND_KDE_INCLUDE_DIR],
-[
-	AC_ARG_WITH(kde-include-dir,[  --with-kde-include-dir  path to the KDE headers ],SS_KDE_INCDIR="$withval",SS_KDE_INCDIR="NOTGIVEN")
-	if test "$SS_KDE_INCDIR" = "NOTGIVEN"; then
-
-		AC_MSG_CHECKING([for KDE header files])
-
-		ss_kde_include_test_dirs="/include /usr/include /usr/local/include /usr/kde/include /usr/local/kde/include /usr/X11R6/include /opt/kde/include /usr/lib/kde/include /usr/lib/kde /usr/include/X11"
-		test -n "$TDEDIR" && ss_kde_include_test_dirs="$TDEDIR/include $TDEDIR $ss_kde_include_test_dirs"
-		ss_kde_include_test_dirs="$ss_kde_include_test_dirs /usr/include/tde /usr/local/include/tde /include/tde /usr/X11R6/include/tde /usr/build/kde/include"
-		ss_kde_include_test_dirs="$ss_kde_include_test_dirs /usr/include/tde2 /usr/local/include/tde2 /include/tde2 /usr/X11R6/include/tde2 /usr/include/X11/kde2"
-		test -n "$SS_KDE_GENERAL_DIR" && ss_kde_include_test_dirs="$SS_KDE_GENERAL_DIR/include $ss_kde_include_test_dirs"
-		test -n "$SS_KDE_GENERAL_DIR" && ss_kde_include_test_dirs="`$SS_KDE_GENERAL_DIR/bin/tde-config --expandvars --install include` $ss_kde_include_test_dirs"
-
-		AC_SS_FIND_FILE_PATH($SS_KDE_INCLUDE_FILE_TO_SEARCH,$ss_kde_include_test_dirs,SS_KDE_INCDIR)
-
-		if test "$SS_KDE_INCDIR" = "FAILED"; then
-			AC_MSG_RESULT("FAILED")
-			SS_KDE_REQUESTED="no"
-			SS_KDE_INCDIR=""
-		else
-			AC_MSG_RESULT([found in $SS_KDE_INCDIR])
-		fi
-
-	else
-		AC_MSG_RESULT([using user supplied path for the KDE include files $SS_KDE_INCDIR])
-	fi
-
-	if test -z "$SS_KDE_GENERAL_DIR"; then
-		# Set it.... we need it :)...
-		SS_KDE_GENERAL_DIR=`echo $SS_KDE_INCDIR | sed -e 's/\/include\$//'`
-	fi
-])
-
-AC_DEFUN([AC_SS_FIND_KDE_LIBRARY_DIR],
-[
-	AC_ARG_WITH(kde-library-dir,[  --with-kde-library-dir  path to the KDE libraries ],SS_KDE_LIBDIR="$withval",SS_KDE_LIBDIR="NOTGIVEN")
-	if test "$SS_KDE_LIBDIR" = "NOTGIVEN"; then
-		AC_MSG_CHECKING([for the KDE libraries])
-
-		ss_kde_library_test_dirs="/lib /usr/lib /usr/local/lib /usr/kde/lib /opt/kde/lib /opt/lib /usr/opt/kde/lib /usr/local/kde/lib /usr/X11R6/lib /usr/lib/kde/lib /usr/lib/kde /usr/local/lib/kde/lib"
-		test -n "$TDEDIR" && ss_kde_library_test_dirs="$TDEDIR/lib $TDEDIR $ss_kde_library_test_dirs"
-		ss_kde_library_test_dirs="$ss_kde_library_test_dirs /usr/local/lib/kde /usr/X11R6/lib/kde /usr/build/kde/lib"
-		if test -n "$SS_KDE_GENERAL_DIR"; then
-			ss_kde_library_test_dirs="$SS_KDE_GENERAL_DIR/lib $ss_kde_library_test_dirs"
-		fi
-
-
-		AC_SS_FIND_FILE_PATH(libtdecore.so.6 libtdecore.so.5 libtdecore.so.4 libtdecore.so.3 libtdecore.so,$ss_kde_library_test_dirs,SS_KDE_LIBDIR)
-		if test "$SS_KDE_LIBDIR" = "FAILED"; then
-			AC_SS_FIND_FILE_PATH(libtdecore.so.8 libtdecore.so.7 libtdecore.so.4.0.0 libtdecore.so.4.1.0 libtdecore.so.4.2.0 ,$ss_kde_library_test_dirs,SS_KDE_LIBDIR)
-			if test "$SS_KDE_LIBDIR" = "FAILED"; then
-				# Try the senseless too
-				AC_SS_FIND_FILE_PATH(libtdecore.so.4.0.0 libtdecore.so.4.1.0 libtdecore.so.4.2.0 libtdecore.so.4.3.0,$ss_kde_library_test_dirs,SS_KDE_LIBDIR)
-				if test "$SS_KDE_LIBDIR" = "FAILED"; then
-					AC_SS_FIND_FILE_PATH(libtdecore.so.4.4.0 libtdecore.so.4.5.0 libtdecore.so.4.6.0 libtdecore.so.4.7.0 libtdecore.a,$ss_kde_library_test_dirs,SS_KDE_LIBDIR)
-				fi
-			fi
-		fi
-
-		if test "$SS_KDE_LIBDIR" = "FAILED"; then
-			AC_MSG_RESULT("FAILED")
-			SS_KDE_REQUESTED="no"
-			SS_KDE_LIBDIR=""
-		else
-			AC_MSG_RESULT([found in $SS_KDE_LIBDIR])
-		fi
-	else
-		AC_MSG_RESULT([using user supplied path for the KDE libraries $SS_KDE_LIBDIR])
-	fi
-
-	if test -z "$SS_KDE_GENERAL_DIR"; then
-		# Set it.... we need it :)...
-		SS_KDE_GENERAL_DIR=`echo $SS_KDE_LIBDIR | sed -e 's/\/lib\$//'`
-	fi
-])
-
-AC_DEFUN([AC_SS_ENSURE_CAN_COMPILE_X_QT3_AND_KDE],
-[
-	AC_ARG_WITH(kde-check,[  --without-kde-check     Do not check if TQt,KDE and X compile ],SS_CHECK_QTX_COMPILE="$withval",SS_CHECK_KQTX_COMPILE="yes")
-  	if test "$SS_CHECK_KQTX_COMPILE" = "yes"; then
-		AC_MSG_CHECKING(if we can compile an X-TQt-KDE application)
-		AC_LANG_CPLUSPLUS
-		ss_save_CPPFLAGS="$CPPFLAGS"
-		ss_save_CXXFLAGS="$CXXFLAGS"
-		ss_save_LDFLAGS="$LDFLAGS"
-		ss_save_LIBS="$LIBS"
-		if test -n "$SS_X_INCDIR"; then
-			CPPFLAGS="-I$SS_X_INCDIR"
-		else
-			CPPFLAGS=""
-		fi
-		CPPFLAGS="$CPPFLAGS -I$SS_X_INCDIR -I$SS_QT3_INCDIR -I$SS_KDE_INCDIR"
-		CXXFLAGS="-O2 -Wall $CXXFLAGS"
-		if test -n "$SS_X_LIBDIR"; then
-			LIBS="-L$SS_X_LIBDIR"
-		else
-			LIBS=""
-		fi
-		if test -n "$SS_X_LDFLAGS"; then
-			LIBS="$SS_X_LDFLAGS $LIBS"
-		fi
-		if test -n "$SS_X_LIBLINK"; then
-			LIBS="$LIBS $SS_X_LIBLINK"
-		fi
-		LIBS="-L$SS_KDE_LIBDIR -L$SS_QT3_LIBDIR -ltdecore -l$SS_TQTLIB_NAME $LIBS -Wl,-rpath $SS_KDE_LIBDIR"
-		if test "$SS_LINK_TO_LIBDL" = "yes"; then
-			LIBS="$LIBS -ldl";
-		fi
-		LDFLAGS="-s $LDFLAGS"
-		AC_TRY_LINK([
-				#include "tdeapplication.h"
-				#include "twin.h"
-			],[
-				int a = KWin::currentDesktop();
-				TDEApplication app(a,0,TQCString("kvirc"));
-			],
-			SS_KQTX_LINKED_OK="TRUE",
-			SS_KQTX_LINKED_OK="FALSE"
-		)
-		if test "$SS_KQTX_LINKED_OK" = "FALSE"; then
-			AC_MSG_RESULT(failed)
-			AC_MSG_ERROR([This was a fatal one...aborting])			
-		else
-			AC_MSG_RESULT(success)
-		fi
-		LIBS="$ss_save_LIBS"
-		LDFLAGS="$ss_save_LDFLAGS"
-		CXXFLAGS="$ss_save_CXXFLAGS"
-		CPPFLAGS="$ss_save_CPPFLAGS"
-	fi
-])
-
-
-
-
-
-
-AC_DEFUN([AC_SS_CHECK_OTHER_LIBS],
-[
-	SS_OTHER_LIBDIRS=""
-	SS_OTHER_LIBLINK=""
-	SS_OTHER_INCDIRS=""
-
-
-	AC_MSG_CHECKING([if you want to link to libresolv])
-	SS_DO_IT="false"
-	AC_ARG_WITH(libresolv,      [  --with-libresolv        Link to libresolv],SS_DO_IT="true")
-	if test "$SS_DO_IT" = "true"; then
-		AC_MSG_RESULT(yes)
-		SS_OTHER_LIBLINK="$SS_OTHER_LIBLINK -lresolv"
-	else
-		AC_MSG_RESULT(no)
-	fi
-
-	AC_MSG_CHECKING([if you want to link to libsocket])
-	SS_DO_IT="false"
-	AC_ARG_WITH(libsocket,      [  --with-libsocket        Link to libsocket],SS_DO_IT="true")
-	if test "$SS_DO_IT" = "true"; then
-		AC_MSG_RESULT(yes)
-		SS_OTHER_LIBLINK="$SS_OTHER_LIBLINK -lsocket"
-	else
-		AC_MSG_RESULT(no)
-	fi
-
-	AC_MSG_CHECKING([if you want to link to libnsl])
-	SS_DO_IT="false"
-	AC_ARG_WITH(libnsl,         [  --with-libnsl           Link to libnsl],SS_DO_IT="true")
-	if test "$SS_DO_IT" = "true"; then
-		AC_MSG_RESULT(yes)
-		SS_OTHER_LIBLINK="$SS_OTHER_LIBLINK -lnsl"
-	else
-		AC_MSG_RESULT(no)
-	fi
-
-	AC_MSG_CHECKING([if you want to link to libcompat])
-	SS_DO_IT="false"
-	AC_ARG_WITH(libnsl,         [  --with-libcompat        Link to libcompat],SS_DO_IT="true")
-	if test "$SS_DO_IT" = "true"; then
-		AC_MSG_RESULT(yes)
-		SS_OTHER_LIBLINK="$SS_OTHER_LIBLINK -lcompat"
-	else
-		AC_MSG_RESULT(no)
-	fi
-
-	AC_MSG_CHECKING([if you want to link to other libraries])
-	SS_DO_IT="false"
-	AC_ARG_WITH(other-libs,     [  --with-other-libs=...   Link to the specified libraries],SS_DO_IT="$withval")
-	if test "$SS_DO_IT" != "false"; then
-		AC_MSG_RESULT([yes])
-		SS_OTHER_LIBLINK="$SS_OTHER_LIBLINK $SS_DO_IT"
-	else
-		AC_MSG_RESULT([no])
-	fi
-
-	AC_MSG_CHECKING([if you want to add other library search paths])
-	SS_DO_IT="false"
-	AC_ARG_WITH(other-ldirs,    [  --with-other-ldirs=...  Add the specified library paths],SS_DO_IT="$withval")
-	if test "$SS_DO_IT" != "false"; then
-		AC_MSG_RESULT([yes])
-		SS_OTHER_LIBDIRS="$SS_OTHER_LIBDIRS $SS_DO_IT"
-	else
-		AC_MSG_RESULT([no])
-	fi
-
-	AC_MSG_CHECKING([if you want to add other include search paths])
-	SS_DO_IT="false"
-	AC_ARG_WITH(other-idirs,    [  --with-other-idirs=...  Add the specified include search paths],SS_DO_IT="$withval")
-	if test "$SS_DO_IT" != "false"; then
-		AC_MSG_RESULT([yes])
-		SS_OTHER_INCDIRS="$SS_OTHER_INCDIRS $SS_DO_IT"
-	else
-		AC_MSG_RESULT([no])
-	fi
-
-])
-
-
-
-AC_DEFUN([AC_SS_FINAL_CONFIG],
-[
-	AC_MSG_CHECKING([if we finally have to compile the IpV6 support])
-
-	if test "$SS_NOIPV6_SUPPORT" = "true"; then
-		AC_MSG_RESULT([no: disabled by user])
-	else
-		if test "$SS_HAVE_IPV6_FUNCTIONS" = "true"; then
-			AC_MSG_RESULT([yes])
-			AC_DEFINE([COMPILE_IPV6_SUPPORT], 1, [define if you want the IpV6 support])
-			SS_BUILD_FLAGS="i$SS_BUILD_FLAGS"
-		else
-			AC_MSG_RESULT([no: the system lacks support])
-		fi
-	fi
-
-	dnl # // Toplevel source directory
-
-	SS_TOPSRCDIR=`pwd`
-
-	AC_SUBST(SS_TOPSRCDIR)
-
-	SS_CPPFLAGS="-D_REENTRANT -DREENTRANT"
-	if test -n "$SS_X_CPPFLAGS"; then
-		SS_CPPFLAGS="$SS_CPPFLAGS $SS_X_CPPFLAGS"
-	fi
-
-	SS_INCDIRS="-I$SS_QT3_INCDIR -I$SS_X_INCDIR"
-
-	if test -n "$SS_X_INCDIR"; then
-		SS_INCDIRS="$SS_INCDIRS -I$SS_X_INCDIR"
-	fi
-
-	if test -n "$SS_X_LDFLAGS"; then
-		SS_LDFLAGS="$SS_X_LDFLAGS"
-	else
-		SS_LDFLAGS=""
-	fi
-
-	SS_RPATH="-rpath $SS_QT3_LIBDIR -rpath $libdir"
-
-	if test -n "$SS_X_LIBDIR"; then
-		SS_RPATH="$SS_RPATH -rpath $SS_X_LIBDIR"
-	fi
-
-	SS_LIBDIRS="-L$SS_TOPSRCDIR/src/kvilib/build/ -L$SS_QT3_LIBDIR"
-
-	if test -n "$SS_X_LIBDIR"; then
-		SS_LIBDIRS="$SS_LIBDIRS -L$SS_X_LIBDIR"
-	fi
-
-	SS_LIBLINK="-l$SS_TQTLIB_NAME"
-	if test -n "$SS_X_LIBLINK"; then
-		SS_LIBLINK="$SS_LIBLINK $SS_X_LIBLINK"
-	fi
-	SS_LIBLINK="$SS_LIBLINK $SS_THREAD_LIBLINK"
-	if test "$SS_LINK_TO_LIBSSL" = "true"; then
-		SS_LIBLINK="$SS_LIBLINK -lssl -lcrypto"
-	fi
-	if test "$SS_LINK_TO_LIBESD" = "true"; then
-		SS_LIBLINK="$SS_LIBLINK -lesd"
-	fi
-	if test "$SS_LINK_TO_LIBARTS" = "true"; then
-		SS_LIBLINK="$SS_LIBLINK -lsoundserver_idl"
-	fi
-	if test "$SS_LINK_TO_LIBAUDIOFILE" = "true"; then
-		SS_LIBLINK="$SS_LIBLINK -laudiofile -lm"
-	fi
-
-	if test "$SS_LOCAL_8BIT" = "true"; then
-		SS_CPPFLAGS="$SS_CPPFLAGS -DQT3_NO_ASCII_CAST -DQT3_NO_COMPAT"
-	fi
-
-	if test "$SS_QT3_EMBEDDED" = "true"; then
-		SS_CPPFLAGS="$SS_CPPFLAGS -DQWS"
-	fi
-
-	if test "$SS_KDE_REQUESTED" = "yes"; then
-		SS_INCDIRS="$SS_INCDIRS -I$SS_KDE_INCDIR"
-		SS_RPATH="$SS_RPATH -rpath $SS_KDE_LIBDIR"
-		SS_LIBDIRS="$SS_LIBDIRS -L$SS_KDE_LIBDIR"
-		SS_LIBLINK="-ltdecore -ltdeui -ltdeparts -lDCOP -ltdefx -ltdeio $SS_LIBLINK"
-		AC_DEFINE([COMPILE_TDE_SUPPORT], 1, [define if you want to compile the TDE support])
-		AC_DEFINE_UNQUOTED([TDE_DIR], "$SS_KDE_GENERAL_DIR", [contain path to TDE if compiled with the TDE support])
-		AC_DEFINE_UNQUOTED([TDE_LIBDIR], "$SS_KDE_LIBDIR", [contain path to TDE libs if compiled with the TDE support])
-		SS_BUILD_FLAGS="k$SS_BUILD_FLAGS"
-	else
-		AC_DEFINE_UNQUOTED([TDE_DIR], "${prefix}", [contain path to TDE if compiled with the TDE support])
-		AC_DEFINE_UNQUOTED([TDE_LIBDIR], "${prefix}/lib", [contain path to TDE libs if compiled with the TDE support])
-	fi
-
-	if test -n "$SS_OTHER_LIBLINK"; then
-		SS_LIBLINK="$SS_LIBLINK $SS_OTHER_LIBLINK"
-	fi
-
-	if test -n "$SS_OTHER_LIBDIRS"; then
-		SS_LIBDIRS="$SS_LIBDIRS $SS_OTHER_LIBDIRS"
-		SS_OTHER_LIBDIRS=`echo "$SS_OTHER_LIBDIRS" | sed -e s/-L//g`
-		SS_RPATH="$SS_RPATH -rpath $SS_OTHER_LIBDIRS"
-	fi
-
-	if test -n "$SS_OTHER_INCDIRS"; then
-		SS_INCDIRS="$SS_INCDIRS $SS_OTHER_INCDIRS"
-	fi
-
-	if test "$SS_LINK_TO_LIBDL" = "yes"; then
-		SS_LIBLINK="$SS_LIBLINK -ldl"
-	fi
-	
-	if test "$SS_LINK_TO_LIBZ" = "yes"; then
-		SS_LIBLINK="$SS_LIBLINK -lz"
-	fi
-	if test "$SS_LINK_TO_XSS" = "yes"; then
-		SS_LIBLINK="$SS_LIBLINK -lXss"
-	fi
-
-	AC_SUBST(SS_CPPFLAGS)
-	AC_SUBST(SS_INCDIRS)
-	AC_SUBST(SS_LDFLAGS)
-	AC_SUBST(SS_RPATH)
-	AC_SUBST(SS_LIBDIRS)
-	AC_SUBST(SS_LIBLINK)
-	
-	SS_QT_MOC=$SS_QT3_MOC
-	SS_QT_MOC_FLAGS=""
-	
-	AC_SUBST(SS_QT_MOC)
-	AC_SUBST(SS_QT_MOC_FLAGS)
-
-	dnl # Let's sort the build flags
-
-	SS_AUX_CHARS="a b c d e f g h i j k l m n o p q r s t u v w x y z A B C D E F G H I J K L M N O P Q R S T U V W X Y Z 0 1 2 3 4 5 6 7 8 9"
-
-	buid_flags=""
-
-	for achar in $SS_AUX_CHARS; do
-		tmp_val=`echo "$SS_BUILD_FLAGS" | grep $achar`
-		if test "$tmp_val"; then
-			build_flags="$build_flags$achar"
-		fi
-	done
-	
-	globalkvircdir="\${datadir}/apps/kvirc"
-	AC_SUBST(globalkvircdir)
-
-	configdir="\${globalkvircdir}/config"
-	AC_SUBST(configdir)
-
-	picsdir="\${globalkvircdir}/pics"
-	AC_SUBST(picsdir)
-
-	helpdir="\${globalkvircdir}/help/en"
-	AC_SUBST(helpdir)
-
-	pluglibdir="\${libdir}/kvirc/modules"
-	AC_SUBST(pluglibdir)
-
-	modulelibdir="\${libdir}/kvirc/modules"
-	AC_SUBST(modulelibdir)
-
-	defscriptdir="\${globalkvircdir}/defscript"
-	AC_SUBST(defscriptdir)
-	
-	themedir="\${globalkvircdir}/themes"
-	AC_SUBST(themedir)
-
-	msgcolorsdir="\${globalkvircdir}/msgcolors"
-	AC_SUBST(msgcolorsdir)
-
-	if test -z "$mandir"; then
-		mandir="\${exec_prefix}/man/man1"
-	fi
-	AC_SUBST(mandir)
-
-	licensedir="\${globalkvircdir}/license"
-	AC_SUBST(licensedir)
-
-	docdir="\${globalkvircdir}/doc"
-	AC_SUBST(docdir)
-
-	if test -n "$SS_KDE_SERVICESDIR"; then
-		kdeservicesdir="$SS_KDE_SERVICESDIR"
-	else
-		kdeservicesdir="\${exec_prefix}/share/kvirc/protocols"
-	fi
-	AC_SUBST(kdeservicesdir)
-
-	if test "$SS_KDE_REQUESTED" = "yes"; then
-		iconapps16datadir="$SS_KDE_GENERAL_DIR/share/icons/hicolor/16x16/apps"
-		iconapps32datadir="$SS_KDE_GENERAL_DIR/share/icons/hicolor/32x32/apps"
-		iconapps48datadir="$SS_KDE_GENERAL_DIR/share/icons/hicolor/48x48/apps"
-		iconapps64datadir="$SS_KDE_GENERAL_DIR/share/icons/hicolor/64x64/apps"
-		iconapps128datadir="$SS_KDE_GENERAL_DIR/share/icons/hicolor/128x128/apps"
-		iconappsscalabledatadir="$SS_KDE_GENERAL_DIR/share/icons/hicolor/scalable/apps"
-		iconmime16datadir="$SS_KDE_GENERAL_DIR/share/icons/hicolor/16x16/mimetypes"
-		iconmime32datadir="$SS_KDE_GENERAL_DIR/share/icons/hicolor/32x32/mimetypes"
-		iconmime48datadir="$SS_KDE_GENERAL_DIR/share/icons/hicolor/48x48/mimetypes"
-		iconmime64datadir="$SS_KDE_GENERAL_DIR/share/icons/hicolor/64x64/mimetypes"
-		iconmime128datadir="$SS_KDE_GENERAL_DIR/share/icons/hicolor/128x128/mimetypes"
-		iconmimescalabledatadir="$SS_KDE_GENERAL_DIR/share/icons/hicolor/scalable/mimetypes"
-		xdg_apps="$SS_KDE_GENERAL_DIR/share/applications/tde"
-		mimelnkdir="$SS_KDE_GENERAL_DIR/share/mimelnk/text"
-	else
-		iconapps16datadir="\${exec_prefix}/share/kvirc/icons/16x16"
-		iconapps32datadir="\${exec_prefix}/share/kvirc/icons/32x32"
-		iconapps48datadir="\${exec_prefix}/share/kvirc/icons/48x48"
-		iconapps64datadir="\${exec_prefix}/share/kvirc/icons/64x64"
-		iconapps128datadir="\${exec_prefix}/share/kvirc/icons/128x128"
-		iconappsscalabledatadir="\${exec_prefix}/share/kvirc/icons/scalable"
-		iconmime16datadir="\${exec_prefix}/share/kvirc/icons/16x16"
-		iconmime32datadir="\${exec_prefix}/share/kvirc/icons/32x32"
-		iconmime48datadir="\${exec_prefix}/share/kvirc/icons/48x48"
-		iconmime64datadir="\${exec_prefix}/share/kvirc/icons/64x64"
-		iconmime128datadir="\${exec_prefix}/share/kvirc/icons/128x128"
-		iconmimescalabledatadir="\${exec_prefix}/share/kvirc/icons/scalable"
-		xdg_apps="\${exec_prefix}/share/kvirc/applications"
-		mimelnkdir="\${exec_prefix}/share/kvirc/mimelnk"
-	fi
-	AC_SUBST(iconapps16datadir)
-	AC_SUBST(iconapps32datadir)
-	AC_SUBST(iconapps48datadir)
-	AC_SUBST(iconapps64datadir)
-	AC_SUBST(iconapps128datadir)
-	AC_SUBST(iconappsscalabledatadir)
-	AC_SUBST(iconmime16datadir)
-	AC_SUBST(iconmime32datadir)
-	AC_SUBST(iconmime48datadir)
-	AC_SUBST(iconmime64datadir)
-	AC_SUBST(iconmime128datadir)
-	AC_SUBST(iconmimescalabledatadir)
-	AC_SUBST(xdg_apps)
-	AC_SUBST(mimelnkdir)
-
-	if test "$SS_KDE_REQUESTED" = "yes"; then
-		localedir="\${datadir}/locale"
-	else
-		localedir="\${globalkvircdir}/locale"
-	fi
-	AC_SUBST(localedir)
-
-	headersdir="\${exec_prefix}/include/kvirc"
-	AC_SUBST(headersdir)
-
-
-	configmodulesdir="\${globalkvircdir}/config/modules"
-	AC_SUBST(configmodulesdir)
-
-
-	topdir=`pwd`
-	AC_SUBST(topdir)
-
-	AC_SS_HEADER([Configuration status:])
-	AC_SS_SET_GREENINK
-	echo "### The kvirc binary will be installed in:"
-	echo "###   $bindir"
-	echo "### The libraries will be installed in:"
-	echo "###   $libdir"
-	echo "### Modules will be installed in:"
-	echo "###   $pluglibdir"
-	AC_SS_SET_NORMALINK
-	AC_SS_HEADER([Take a look at the paths above just to be sure that they're correct])
-])
-
-dnl just a wrapper to clean up configure.in
-AC_DEFUN([KVIRC_PROG_LIBTOOL],
-[
-	AM_PROG_LIBTOOL
-	LIBTOOL_SHELL="/bin/sh ./libtool"
-])
-
-# ===========================================================================
-#
-# SYNOPSIS
-#
-#   TDE_CXX_COMPILE_STDCXX(VERSION, [ext|noext], [mandatory|optional])
-#
-# DESCRIPTION
-#
-#   Check for baseline language coverage in the compiler for the specified
-#   version of the C++ standard.  If necessary, add switches to CXX and
-#   CXXCPP to enable support.  VERSION may be '11' (for the C++11 standard)
-#   or '14' (for the C++14 standard).
-#
-#   The second argument, if specified, indicates whether you insist on an
-#   extended mode (e.g. -std=gnu++11) or a strict conformance mode (e.g.
-#   -std=c++11).  If neither is specified, you get whatever works, with
-#   preference for no added switch, and then for an extended mode.
-#
-#   The third argument, if specified 'mandatory' or if left unspecified,
-#   indicates that baseline support for the specified C++ standard is
-#   required and that the macro should error out if no mode with that
-#   support is found.  If specified 'optional', then configuration proceeds
-#   regardless, after defining HAVE_CXX${VERSION} if and only if a
-#   supporting mode is found.
-#
-# LICENSE
-#
-#   Copyright (c) 2008 Benjamin Kosnik <bkoz@redhat.com>
-#   Copyright (c) 2012 Zack Weinberg <zackw@panix.com>
-#   Copyright (c) 2013 Roy Stogner <roystgnr@ices.utexas.edu>
-#   Copyright (c) 2014, 2015 Google Inc.; contributed by Alexey Sokolov <sokolov@google.com>
-#   Copyright (c) 2015 Paul Norman <penorman@mac.com>
-#   Copyright (c) 2015 Moritz Klammler <moritz@klammler.eu>
-#   Copyright (c) 2016, 2018 Krzesimir Nowak <qdlacz@gmail.com>
-#   Copyright (c) 2019 Enji Cooper <yaneurabeya@gmail.com>
-#   Copyright (c) 2020 Jason Merrill <jason@redhat.com>
-#   Copyright (c) 2021 SlĂĄvek Banko <slavek.banko@axis.cz>
-#
-#   Copying and distribution of this file, with or without modification, are
-#   permitted in any medium without royalty provided the copyright notice
-#   and this notice are preserved.  This file is offered as-is, without any
-#   warranty.
-
-dnl  This macro is simplified version of the macro AX_CXX_COMPILE_STDCXX
-
-AC_DEFUN([TDE_CXX_COMPILE_STDCXX], [dnl
-  m4_if([$1], [11], [tde_cxx_compile_alternatives="11 0x"],
-        [$1], [14], [tde_cxx_compile_alternatives="14 1y"],
-        [$1], [17], [tde_cxx_compile_alternatives="17 1z"],
-        [m4_fatal([invalid first argument `$1' to TDE_CXX_COMPILE_STDCXX])])dnl
-  m4_if([$2], [], [],
-        [$2], [ext], [],
-        [$2], [noext], [],
-        [m4_fatal([invalid second argument `$2' to TDE_CXX_COMPILE_STDCXX])])dnl
-  m4_if([$3], [], [tde_cxx_compile_cxx$1_required=true],
-        [$3], [mandatory], [tde_cxx_compile_cxx$1_required=true],
-        [$3], [optional], [tde_cxx_compile_cxx$1_required=false],
-        [m4_fatal([invalid third argument `$3' to TDE_CXX_COMPILE_STDCXX])])
-  AC_LANG_PUSH([C++])dnl
-  ac_success=no
-
-  m4_if([$2], [], [dnl
-    AC_CACHE_CHECK(whether $CXX supports C++$1 features by default,
-                   tde_cv_cxx_compile_cxx$1,
-      [AC_COMPILE_IFELSE([AC_LANG_SOURCE([_TDE_CXX_COMPILE_STDCXX_testbody_$1])],
-        [tde_cv_cxx_compile_cxx$1=yes],
-        [tde_cv_cxx_compile_cxx$1=no])])
-    if test x$tde_cv_cxx_compile_cxx$1 = xyes; then
-      ac_success=yes
-    fi])
-
-  m4_if([$2], [noext], [], [dnl
-  if test x$ac_success = xno; then
-    for alternative in ${tde_cxx_compile_alternatives}; do
-      switch="-std=gnu++${alternative}"
-      cachevar=AS_TR_SH([tde_cv_cxx_compile_cxx$1_$switch])
-      AC_CACHE_CHECK(whether $CXX supports C++$1 features with $switch,
-                     $cachevar,
-        [ac_save_CXX="$CXX"
-         CXX="$CXX $switch"
-         AC_COMPILE_IFELSE([AC_LANG_SOURCE([_TDE_CXX_COMPILE_STDCXX_testbody_$1])],
-          [eval $cachevar=yes],
-          [eval $cachevar=no])
-         CXX="$ac_save_CXX"])
-      if eval test x\$$cachevar = xyes; then
-        CXX="$CXX $switch"
-        if test -n "$CXXCPP" ; then
-          CXXCPP="$CXXCPP $switch"
-        fi
-        ac_success=yes
-        break
-      fi
-    done
-  fi])
-
-  m4_if([$2], [ext], [], [dnl
-  if test x$ac_success = xno; then
-    dnl HP's aCC needs +std=c++11 according to:
-    dnl http://h21007.www2.hp.com/portal/download/files/unprot/aCxx/PDF_Release_Notes/769149-001.pdf
-    dnl Cray's crayCC needs "-h std=c++11"
-    for alternative in ${tde_cxx_compile_alternatives}; do
-      for switch in -std=c++${alternative} +std=c++${alternative} "-h std=c++${alternative}"; do
-        cachevar=AS_TR_SH([tde_cv_cxx_compile_cxx$1_$switch])
-        AC_CACHE_CHECK(whether $CXX supports C++$1 features with $switch,
-                       $cachevar,
-          [ac_save_CXX="$CXX"
-           CXX="$CXX $switch"
-           AC_COMPILE_IFELSE([AC_LANG_SOURCE([_TDE_CXX_COMPILE_STDCXX_testbody_$1])],
-            [eval $cachevar=yes],
-            [eval $cachevar=no])
-           CXX="$ac_save_CXX"])
-        if eval test x\$$cachevar = xyes; then
-          CXX="$CXX $switch"
-          if test -n "$CXXCPP" ; then
-            CXXCPP="$CXXCPP $switch"
-          fi
-          ac_success=yes
-          break
-        fi
-      done
-      if test x$ac_success = xyes; then
-        break
-      fi
-    done
-  fi])
-  AC_LANG_POP([C++])
-  if test x$tde_cxx_compile_cxx$1_required = xtrue; then
-    if test x$ac_success = xno; then
-      AC_MSG_ERROR([*** A compiler with support for C++$1 language features is required.])
-    fi
-  fi
-  if test x$ac_success = xno; then
-    HAVE_CXX$1=0
-    AC_MSG_NOTICE([No compiler with C++$1 support was found])
-  else
-    HAVE_CXX$1=1
-    AC_DEFINE(HAVE_CXX$1,1,
-              [define if the compiler supports basic C++$1 syntax])
-  fi
-  AC_SUBST(HAVE_CXX$1)
-])
-
-
-dnl  Test body for checking C++11 support
-
-m4_define([_TDE_CXX_COMPILE_STDCXX_testbody_11],
-  _TDE_CXX_COMPILE_STDCXX_testbody_new_in_11
-)
-
-
-dnl  Test body for checking C++14 support
-
-m4_define([_TDE_CXX_COMPILE_STDCXX_testbody_14],
-  _TDE_CXX_COMPILE_STDCXX_testbody_new_in_11
-  _TDE_CXX_COMPILE_STDCXX_testbody_new_in_14
-)
-
-
-dnl  Test body for checking C++17 support
-
-m4_define([_TDE_CXX_COMPILE_STDCXX_testbody_17],
-  _TDE_CXX_COMPILE_STDCXX_testbody_new_in_11
-  _TDE_CXX_COMPILE_STDCXX_testbody_new_in_14
-  _TDE_CXX_COMPILE_STDCXX_testbody_new_in_17
-)
-
-dnl  Tests for new features in C++11
-
-m4_define([_TDE_CXX_COMPILE_STDCXX_testbody_new_in_11], [[
-
-#ifndef __cplusplus
-
-#error "This is not a C++ compiler"
-
-#elif __cplusplus < 201103L
-
-#error "This is not a C++11 compiler"
-
-#endif  // __cplusplus >= 201103L
-
-]])
-
-
-dnl  Tests for new features in C++14
-
-m4_define([_TDE_CXX_COMPILE_STDCXX_testbody_new_in_14], [[
-
-#ifndef __cplusplus
-
-#error "This is not a C++ compiler"
-
-#elif __cplusplus < 201402L
-
-#error "This is not a C++14 compiler"
-
-#endif  // __cplusplus >= 201402L
-
-]])
-
-
-dnl  Tests for new features in C++17
-
-m4_define([_TDE_CXX_COMPILE_STDCXX_testbody_new_in_17], [[
-
-#ifndef __cplusplus
-
-#error "This is not a C++ compiler"
-
-#elif __cplusplus < 201703L
-
-#error "This is not a C++17 compiler"
-
-#endif  // __cplusplus >= 201703L
-
-]])
diff --git a/admin/libtool.m4.in b/admin/libtool.m4.in
deleted file mode 100644
index 2839e6fd..00000000
--- a/admin/libtool.m4.in
+++ /dev/null
@@ -1,6602 +0,0 @@
-# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
-#
-#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
-#                 2006, 2007, 2008 Free Software Foundation, Inc.
-#   Written by Gordon Matzigkeit, 1996
-#
-# This file is free software; the Free Software Foundation gives
-# unlimited permission to copy and/or distribute it, with or without
-# modifications, as long as this notice is preserved.
-
-m4_define([_LT_COPYING], [dnl
-#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
-#                 2006, 2007, 2008 Free Software Foundation, Inc.
-#   Written by Gordon Matzigkeit, 1996
-#
-#   This file is part of GNU Libtool.
-#
-# GNU Libtool is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License as
-# published by the Free Software Foundation; either version 2 of
-# the License, or (at your option) any later version.
-#
-# As a special exception to the GNU General Public License,
-# if you distribute this file as part of a program or library that
-# is built using GNU Libtool, you may include this file under the
-# same distribution terms that you use for the rest of that program.
-#
-# GNU Libtool is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with GNU Libtool; see the file COPYING.  If not, a copy
-# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
-# obtained by writing to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-])
-
-# serial 56 LT_INIT
-
-
-# LT_PREREQ(VERSION)
-# ------------------
-# Complain and exit if this libtool version is less that VERSION.
-m4_defun([LT_PREREQ],
-[m4_if(m4_version_compare(m4_defn([LT_PACKAGE_VERSION]), [$1]), -1,
-       [m4_default([$3],
-		   [m4_fatal([Libtool version $1 or higher is required],
-		             63)])],
-       [$2])])
-
-
-# _LT_CHECK_BUILDDIR
-# ------------------
-# Complain if the absolute build directory name contains unusual characters
-m4_defun([_LT_CHECK_BUILDDIR],
-[case `pwd` in
-  *\ * | *\	*)
-    AC_MSG_WARN([Libtool does not cope well with whitespace in `pwd`]) ;;
-esac
-])
-
-
-# LT_INIT([OPTIONS])
-# ------------------
-AC_DEFUN([LT_INIT],
-[AC_PREREQ([2.58])dnl We use AC_INCLUDES_DEFAULT
-AC_BEFORE([$0], [LT_LANG])dnl
-AC_BEFORE([$0], [LT_OUTPUT])dnl
-AC_BEFORE([$0], [LTDL_INIT])dnl
-m4_require([_LT_CHECK_BUILDDIR])dnl
-
-dnl Autoconf doesn't catch unexpanded LT_ macros by default:
-m4_pattern_forbid([^_?LT_[A-Z_]+$])dnl
-m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])dnl
-dnl aclocal doesn't pull ltoptions.m4, ltsugar.m4, or ltversion.m4
-dnl unless we require an AC_DEFUNed macro:
-AC_REQUIRE([LTOPTIONS_VERSION])dnl
-AC_REQUIRE([LTSUGAR_VERSION])dnl
-AC_REQUIRE([LTVERSION_VERSION])dnl
-AC_REQUIRE([LTOBSOLETE_VERSION])dnl
-m4_require([_LT_PROG_LTMAIN])dnl
-
-dnl Parse OPTIONS
-_LT_SET_OPTIONS([$0], [$1])
-
-# This can be used to rebuild libtool when needed
-LIBTOOL_DEPS="$ltmain"
-
-# Always use our own libtool.
-LIBTOOL='$(SHELL) $(top_builddir)/libtool'
-AC_SUBST(LIBTOOL)dnl
-
-_LT_SETUP
-
-# Only expand once:
-m4_define([LT_INIT])
-])# LT_INIT
-
-# Old names:
-AU_ALIAS([AC_PROG_LIBTOOL], [LT_INIT])
-AU_ALIAS([AM_PROG_LIBTOOL], [LT_INIT])
-dnl aclocal-1.4 backwards compatibility:
-dnl AC_DEFUN([AC_PROG_LIBTOOL], [])
-dnl AC_DEFUN([AM_PROG_LIBTOOL], [])
-
-
-# _LT_CC_BASENAME(CC)
-# -------------------
-# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
-m4_defun([_LT_CC_BASENAME],
-[for cc_temp in $1""; do
-  case $cc_temp in
-    compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;;
-    distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;;
-    \-*) ;;
-    *) break;;
-  esac
-done
-cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
-])
-
-
-# _LT_FILEUTILS_DEFAULTS
-# ----------------------
-# It is okay to use these file commands and assume they have been set
-# sensibly after `m4_require([_LT_FILEUTILS_DEFAULTS])'.
-m4_defun([_LT_FILEUTILS_DEFAULTS],
-[: ${CP="cp -f"}
-: ${MV="mv -f"}
-: ${RM="rm -f"}
-])# _LT_FILEUTILS_DEFAULTS
-
-
-# _LT_SETUP
-# ---------
-m4_defun([_LT_SETUP],
-[AC_REQUIRE([AC_CANONICAL_HOST])dnl
-AC_REQUIRE([AC_CANONICAL_BUILD])dnl
-_LT_DECL([], [host_alias], [0], [The host system])dnl
-_LT_DECL([], [host], [0])dnl
-_LT_DECL([], [host_os], [0])dnl
-dnl
-_LT_DECL([], [build_alias], [0], [The build system])dnl
-_LT_DECL([], [build], [0])dnl
-_LT_DECL([], [build_os], [0])dnl
-dnl
-AC_REQUIRE([AC_PROG_CC])dnl
-AC_REQUIRE([LT_PATH_LD])dnl
-AC_REQUIRE([LT_PATH_NM])dnl
-dnl
-AC_REQUIRE([AC_PROG_LN_S])dnl
-test -z "$LN_S" && LN_S="ln -s"
-_LT_DECL([], [LN_S], [1], [Whether we need soft or hard links])dnl
-dnl
-AC_REQUIRE([LT_CMD_MAX_LEN])dnl
-_LT_DECL([objext], [ac_objext], [0], [Object file suffix (normally "o")])dnl
-_LT_DECL([], [exeext], [0], [Executable file suffix (normally "")])dnl
-dnl
-m4_require([_LT_FILEUTILS_DEFAULTS])dnl
-m4_require([_LT_CHECK_SHELL_FEATURES])dnl
-m4_require([_LT_CMD_RELOAD])dnl
-m4_require([_LT_CHECK_MAGIC_METHOD])dnl
-m4_require([_LT_CMD_OLD_ARCHIVE])dnl
-m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl
-
-_LT_CONFIG_LIBTOOL_INIT([
-# See if we are running on zsh, and set the options which allow our
-# commands through without removal of \ escapes INIT.
-if test -n "\${ZSH_VERSION+set}" ; then
-   setopt NO_GLOB_SUBST
-fi
-])
-if test -n "${ZSH_VERSION+set}" ; then
-   setopt NO_GLOB_SUBST
-fi
-
-_LT_CHECK_OBJDIR
-
-m4_require([_LT_TAG_COMPILER])dnl
-_LT_PROG_ECHO_BACKSLASH
-
-case $host_os in
-aix3*)
-  # AIX sometimes has problems with the GCC collect2 program.  For some
-  # reason, if we set the COLLECT_NAMES environment variable, the problems
-  # vanish in a puff of smoke.
-  if test "X${COLLECT_NAMES+set}" != Xset; then
-    COLLECT_NAMES=
-    export COLLECT_NAMES
-  fi
-  ;;
-esac
-
-# Sed substitution that helps us do robust quoting.  It backslashifies
-# metacharacters that are still active within double-quoted strings.
-sed_quote_subst='s/\([["`$\\]]\)/\\\1/g'
-
-# Same as above, but do not quote variable references.
-double_quote_subst='s/\([["`\\]]\)/\\\1/g'
-
-# Sed substitution to delay expansion of an escaped shell variable in a
-# double_quote_subst'ed string.
-delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
-
-# Sed substitution to delay expansion of an escaped single quote.
-delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
-
-# Sed substitution to avoid accidental globbing in evaled expressions
-no_glob_subst='s/\*/\\\*/g'
-
-# Global variables:
-ofile=libtool
-can_build_shared=yes
-
-# All known linkers require a `.a' archive for static linking (except MSVC,
-# which needs '.lib').
-libext=a
-
-with_gnu_ld="$lt_cv_prog_gnu_ld"
-
-old_CC="$CC"
-old_CFLAGS="$CFLAGS"
-
-# Set sane defaults for various variables
-test -z "$CC" && CC=cc
-test -z "$LTCC" && LTCC=$CC
-test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
-test -z "$LD" && LD=ld
-test -z "$ac_objext" && ac_objext=o
-
-_LT_CC_BASENAME([$compiler])
-
-# Only perform the check for file, if the check method requires it
-test -z "$MAGIC_CMD" && MAGIC_CMD=file
-case $deplibs_check_method in
-file_magic*)
-  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
-    _LT_PATH_MAGIC
-  fi
-  ;;
-esac
-
-# Use C for the default configuration in the libtool script
-LT_SUPPORTED_TAG([CC])
-_LT_LANG_C_CONFIG
-_LT_LANG_DEFAULT_CONFIG
-_LT_CONFIG_COMMANDS
-])# _LT_SETUP
-
-
-# _LT_PROG_LTMAIN
-# ---------------
-# Note that this code is called both from `configure', and `config.status'
-# now that we use AC_CONFIG_COMMANDS to generate libtool.  Notably,
-# `config.status' has no value for ac_aux_dir unless we are using Automake,
-# so we pass a copy along to make sure it has a sensible value anyway.
-m4_defun([_LT_PROG_LTMAIN],
-[m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([ltmain.sh])])dnl
-_LT_CONFIG_LIBTOOL_INIT([ac_aux_dir='$ac_aux_dir'])
-ltmain="$ac_aux_dir/ltmain.sh"
-])# _LT_PROG_LTMAIN
-
-
-## ------------------------------------- ##
-## Accumulate code for creating libtool. ##
-## ------------------------------------- ##
-
-# So that we can recreate a full libtool script including additional
-# tags, we accumulate the chunks of code to send to AC_CONFIG_COMMANDS
-# in macros and then make a single call at the end using the `libtool'
-# label.
-
-
-# _LT_CONFIG_LIBTOOL_INIT([INIT-COMMANDS])
-# ----------------------------------------
-# Register INIT-COMMANDS to be passed to AC_CONFIG_COMMANDS later.
-m4_define([_LT_CONFIG_LIBTOOL_INIT],
-[m4_ifval([$1],
-          [m4_append([_LT_OUTPUT_LIBTOOL_INIT],
-                     [$1
-])])])
-
-# Initialize.
-m4_define([_LT_OUTPUT_LIBTOOL_INIT])
-
-
-# _LT_CONFIG_LIBTOOL([COMMANDS])
-# ------------------------------
-# Register COMMANDS to be passed to AC_CONFIG_COMMANDS later.
-m4_define([_LT_CONFIG_LIBTOOL],
-[m4_ifval([$1],
-          [m4_append([_LT_OUTPUT_LIBTOOL_COMMANDS],
-                     [$1
-])])])
-
-# Initialize.
-m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS])
-
-
-# _LT_CONFIG_SAVE_COMMANDS([COMMANDS], [INIT_COMMANDS])
-# -----------------------------------------------------
-m4_defun([_LT_CONFIG_SAVE_COMMANDS],
-[_LT_CONFIG_LIBTOOL([$1])
-_LT_CONFIG_LIBTOOL_INIT([$2])
-])
-
-
-# _LT_FORMAT_COMMENT([COMMENT])
-# -----------------------------
-# Add leading comment marks to the start of each line, and a trailing
-# full-stop to the whole comment if one is not present already.
-m4_define([_LT_FORMAT_COMMENT],
-[m4_ifval([$1], [
-m4_bpatsubst([m4_bpatsubst([$1], [^ *], [# ])],
-              [['`$\]], [\\\&])]m4_bmatch([$1], [[!?.]$], [], [.])
-)])
-
-
-
-## ------------------------ ##
-## FIXME: Eliminate VARNAME ##
-## ------------------------ ##
-
-
-# _LT_DECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION], [IS-TAGGED?])
-# -------------------------------------------------------------------
-# CONFIGNAME is the name given to the value in the libtool script.
-# VARNAME is the (base) name used in the configure script.
-# VALUE may be 0, 1 or 2 for a computed quote escaped value based on
-# VARNAME.  Any other value will be used directly.
-m4_define([_LT_DECL],
-[lt_if_append_uniq([lt_decl_varnames], [$2], [, ],
-    [lt_dict_add_subkey([lt_decl_dict], [$2], [libtool_name],
-	[m4_ifval([$1], [$1], [$2])])
-    lt_dict_add_subkey([lt_decl_dict], [$2], [value], [$3])
-    m4_ifval([$4],
-	[lt_dict_add_subkey([lt_decl_dict], [$2], [description], [$4])])
-    lt_dict_add_subkey([lt_decl_dict], [$2],
-	[tagged?], [m4_ifval([$5], [yes], [no])])])
-])
-
-
-# _LT_TAGDECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION])
-# --------------------------------------------------------
-m4_define([_LT_TAGDECL], [_LT_DECL([$1], [$2], [$3], [$4], [yes])])
-
-
-# lt_decl_tag_varnames([SEPARATOR], [VARNAME1...])
-# ------------------------------------------------
-m4_define([lt_decl_tag_varnames],
-[_lt_decl_filter([tagged?], [yes], $@)])
-
-
-# _lt_decl_filter(SUBKEY, VALUE, [SEPARATOR], [VARNAME1..])
-# ---------------------------------------------------------
-m4_define([_lt_decl_filter],
-[m4_case([$#],
-  [0], [m4_fatal([$0: too few arguments: $#])],
-  [1], [m4_fatal([$0: too few arguments: $#: $1])],
-  [2], [lt_dict_filter([lt_decl_dict], [$1], [$2], [], lt_decl_varnames)],
-  [3], [lt_dict_filter([lt_decl_dict], [$1], [$2], [$3], lt_decl_varnames)],
-  [lt_dict_filter([lt_decl_dict], $@)])[]dnl
-])
-
-
-# lt_decl_quote_varnames([SEPARATOR], [VARNAME1...])
-# --------------------------------------------------
-m4_define([lt_decl_quote_varnames],
-[_lt_decl_filter([value], [1], $@)])
-
-
-# lt_decl_dquote_varnames([SEPARATOR], [VARNAME1...])
-# ---------------------------------------------------
-m4_define([lt_decl_dquote_varnames],
-[_lt_decl_filter([value], [2], $@)])
-
-
-# lt_decl_varnames_tagged([SEPARATOR], [VARNAME1...])
-# ---------------------------------------------------
-m4_define([lt_decl_varnames_tagged],
-[m4_assert([$# <= 2])dnl
-_$0(m4_quote(m4_default([$1], [[, ]])),
-    m4_ifval([$2], [[$2]], [m4_dquote(lt_decl_tag_varnames)]),
-    m4_split(m4_normalize(m4_quote(_LT_TAGS)), [ ]))])
-m4_define([_lt_decl_varnames_tagged],
-[m4_ifval([$3], [lt_combine([$1], [$2], [_], $3)])])
-
-
-# lt_decl_all_varnames([SEPARATOR], [VARNAME1...])
-# ------------------------------------------------
-m4_define([lt_decl_all_varnames],
-[_$0(m4_quote(m4_default([$1], [[, ]])),
-     m4_if([$2], [],
-	   m4_quote(lt_decl_varnames),
-	m4_quote(m4_shift($@))))[]dnl
-])
-m4_define([_lt_decl_all_varnames],
-[lt_join($@, lt_decl_varnames_tagged([$1],
-			lt_decl_tag_varnames([[, ]], m4_shift($@))))dnl
-])
-
-
-# _LT_CONFIG_STATUS_DECLARE([VARNAME])
-# ------------------------------------
-# Quote a variable value, and forward it to `config.status' so that its
-# declaration there will have the same value as in `configure'.  VARNAME
-# must have a single quote delimited value for this to work.
-m4_define([_LT_CONFIG_STATUS_DECLARE],
-[$1='`$ECHO "X$][$1" | $Xsed -e "$delay_single_quote_subst"`'])
-
-
-# _LT_CONFIG_STATUS_DECLARATIONS
-# ------------------------------
-# We delimit libtool config variables with single quotes, so when
-# we write them to config.status, we have to be sure to quote all
-# embedded single quotes properly.  In configure, this macro expands
-# each variable declared with _LT_DECL (and _LT_TAGDECL) into:
-#
-#    <var>='`$ECHO "X$<var>" | $Xsed -e "$delay_single_quote_subst"`'
-m4_defun([_LT_CONFIG_STATUS_DECLARATIONS],
-[m4_foreach([_lt_var], m4_quote(lt_decl_all_varnames),
-    [m4_n([_LT_CONFIG_STATUS_DECLARE(_lt_var)])])])
-
-
-# _LT_LIBTOOL_TAGS
-# ----------------
-# Output comment and list of tags supported by the script
-m4_defun([_LT_LIBTOOL_TAGS],
-[_LT_FORMAT_COMMENT([The names of the tagged configurations supported by this script])dnl
-available_tags="_LT_TAGS"dnl
-])
-
-
-# _LT_LIBTOOL_DECLARE(VARNAME, [TAG])
-# -----------------------------------
-# Extract the dictionary values for VARNAME (optionally with TAG) and
-# expand to a commented shell variable setting:
-#
-#    # Some comment about what VAR is for.
-#    visible_name=$lt_internal_name
-m4_define([_LT_LIBTOOL_DECLARE],
-[_LT_FORMAT_COMMENT(m4_quote(lt_dict_fetch([lt_decl_dict], [$1],
-					   [description])))[]dnl
-m4_pushdef([_libtool_name],
-    m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [libtool_name])))[]dnl
-m4_case(m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [value])),
-    [0], [_libtool_name=[$]$1],
-    [1], [_libtool_name=$lt_[]$1],
-    [2], [_libtool_name=$lt_[]$1],
-    [_libtool_name=lt_dict_fetch([lt_decl_dict], [$1], [value])])[]dnl
-m4_ifval([$2], [_$2])[]m4_popdef([_libtool_name])[]dnl
-])
-
-
-# _LT_LIBTOOL_CONFIG_VARS
-# -----------------------
-# Produce commented declarations of non-tagged libtool config variables
-# suitable for insertion in the LIBTOOL CONFIG section of the `libtool'
-# script.  Tagged libtool config variables (even for the LIBTOOL CONFIG
-# section) are produced by _LT_LIBTOOL_TAG_VARS.
-m4_defun([_LT_LIBTOOL_CONFIG_VARS],
-[m4_foreach([_lt_var],
-    m4_quote(_lt_decl_filter([tagged?], [no], [], lt_decl_varnames)),
-    [m4_n([_LT_LIBTOOL_DECLARE(_lt_var)])])])
-
-
-# _LT_LIBTOOL_TAG_VARS(TAG)
-# -------------------------
-m4_define([_LT_LIBTOOL_TAG_VARS],
-[m4_foreach([_lt_var], m4_quote(lt_decl_tag_varnames),
-    [m4_n([_LT_LIBTOOL_DECLARE(_lt_var, [$1])])])])
-
-
-# _LT_TAGVAR(VARNAME, [TAGNAME])
-# ------------------------------
-m4_define([_LT_TAGVAR], [m4_ifval([$2], [$1_$2], [$1])])
-
-
-# _LT_CONFIG_COMMANDS
-# -------------------
-# Send accumulated output to $CONFIG_STATUS.  Thanks to the lists of
-# variables for single and double quote escaping we saved from calls
-# to _LT_DECL, we can put quote escaped variables declarations
-# into `config.status', and then the shell code to quote escape them in
-# for loops in `config.status'.  Finally, any additional code accumulated
-# from calls to _LT_CONFIG_LIBTOOL_INIT is expanded.
-m4_defun([_LT_CONFIG_COMMANDS],
-[AC_PROVIDE_IFELSE([LT_OUTPUT],
-	dnl If the libtool generation code has been placed in $CONFIG_LT,
-	dnl instead of duplicating it all over again into config.status,
-	dnl then we will have config.status run $CONFIG_LT later, so it
-	dnl needs to know what name is stored there:
-        [AC_CONFIG_COMMANDS([libtool],
-            [$SHELL $CONFIG_LT || AS_EXIT(1)], [CONFIG_LT='$CONFIG_LT'])],
-    dnl If the libtool generation code is destined for config.status,
-    dnl expand the accumulated commands and init code now:
-    [AC_CONFIG_COMMANDS([libtool],
-        [_LT_OUTPUT_LIBTOOL_COMMANDS], [_LT_OUTPUT_LIBTOOL_COMMANDS_INIT])])
-])#_LT_CONFIG_COMMANDS
-
-
-# Initialize.
-m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS_INIT],
-[
-
-sed_quote_subst='$sed_quote_subst'
-double_quote_subst='$double_quote_subst'
-delay_variable_subst='$delay_variable_subst'
-_LT_CONFIG_STATUS_DECLARATIONS
-LTCC='$LTCC'
-LTCFLAGS='$LTCFLAGS'
-compiler='$compiler_DEFAULT'
-
-# Quote evaled strings.
-for var in lt_decl_all_varnames([[ \
-]], lt_decl_quote_varnames); do
-    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
-    *[[\\\\\\\`\\"\\\$]]*)
-      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
-      ;;
-    *)
-      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
-      ;;
-    esac
-done
-
-# Double-quote double-evaled strings.
-for var in lt_decl_all_varnames([[ \
-]], lt_decl_dquote_varnames); do
-    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
-    *[[\\\\\\\`\\"\\\$]]*)
-      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
-      ;;
-    *)
-      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
-      ;;
-    esac
-done
-
-# Fix-up fallback echo if it was mangled by the above quoting rules.
-case \$lt_ECHO in
-*'\\\[$]0 --fallback-echo"')dnl "
-  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\[$]0 --fallback-echo"\[$]/\[$]0 --fallback-echo"/'\`
-  ;;
-esac
-
-_LT_OUTPUT_LIBTOOL_INIT
-])
-
-
-# LT_OUTPUT
-# ---------
-# This macro allows early generation of the libtool script (before
-# AC_OUTPUT is called), incase it is used in configure for compilation
-# tests.
-AC_DEFUN([LT_OUTPUT],
-[: ${CONFIG_LT=./config.lt}
-AC_MSG_NOTICE([creating $CONFIG_LT])
-cat >"$CONFIG_LT" <<_LTEOF
-#! $SHELL
-# Generated by $as_me.
-# Run this file to recreate a libtool stub with the current configuration.
-
-lt_cl_silent=false
-SHELL=\${CONFIG_SHELL-$SHELL}
-_LTEOF
-
-cat >>"$CONFIG_LT" <<\_LTEOF
-AS_SHELL_SANITIZE
-_AS_PREPARE
-
-exec AS_MESSAGE_FD>&1
-exec AS_MESSAGE_LOG_FD>>config.log
-{
-  echo
-  AS_BOX([Running $as_me.])
-} >&AS_MESSAGE_LOG_FD
-
-lt_cl_help="\
-\`$as_me' creates a local libtool stub from the current configuration,
-for use in further configure time tests before the real libtool is
-generated.
-
-Usage: $[0] [[OPTIONS]]
-
-  -h, --help      print this help, then exit
-  -V, --version   print version number, then exit
-  -q, --quiet     do not print progress messages
-  -d, --debug     don't remove temporary files
-
-Report bugs to <bug-libtool@gnu.org>."
-
-lt_cl_version="\
-m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])config.lt[]dnl
-m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION])
-configured by $[0], generated by m4_PACKAGE_STRING.
-
-Copyright (C) 2008 Free Software Foundation, Inc.
-This config.lt script is free software; the Free Software Foundation
-gives unlimited permision to copy, distribute and modify it."
-
-while test $[#] != 0
-do
-  case $[1] in
-    --version | --v* | -V )
-      echo "$lt_cl_version"; exit 0 ;;
-    --help | --h* | -h )
-      echo "$lt_cl_help"; exit 0 ;;
-    --debug | --d* | -d )
-      debug=: ;;
-    --quiet | --q* | --silent | --s* | -q )
-      lt_cl_silent=: ;;
-
-    -*) AC_MSG_ERROR([unrecognized option: $[1]
-Try \`$[0] --help' for more information.]) ;;
-
-    *) AC_MSG_ERROR([unrecognized argument: $[1]
-Try \`$[0] --help' for more information.]) ;;
-  esac
-  shift
-done
-
-if $lt_cl_silent; then
-  exec AS_MESSAGE_FD>/dev/null
-fi
-_LTEOF
-
-cat >>"$CONFIG_LT" <<_LTEOF
-_LT_OUTPUT_LIBTOOL_COMMANDS_INIT
-_LTEOF
-
-cat >>"$CONFIG_LT" <<\_LTEOF
-AC_MSG_NOTICE([creating $ofile])
-_LT_OUTPUT_LIBTOOL_COMMANDS
-AS_EXIT(0)
-_LTEOF
-chmod +x "$CONFIG_LT"
-
-# configure is writing to config.log, but config.lt does its own redirection,
-# appending to config.log, which fails on DOS, as config.log is still kept
-# open by configure.  Here we exec the FD to /dev/null, effectively closing
-# config.log, so it can be properly (re)opened and appended to by config.lt.
-if test "$no_create" != yes; then
-  lt_cl_success=:
-  test "$silent" = yes &&
-    lt_config_lt_args="$lt_config_lt_args --quiet"
-  exec AS_MESSAGE_LOG_FD>/dev/null
-  $SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false
-  exec AS_MESSAGE_LOG_FD>>config.log
-  $lt_cl_success || AS_EXIT(1)
-fi
-])# LT_OUTPUT
-
-
-# _LT_CONFIG(TAG)
-# ---------------
-# If TAG is the built-in tag, create an initial libtool script with a
-# default configuration from the untagged config vars.  Otherwise add code
-# to config.status for appending the configuration named by TAG from the
-# matching tagged config vars.
-m4_defun([_LT_CONFIG],
-[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
-_LT_CONFIG_SAVE_COMMANDS([
-  m4_define([_LT_TAG], m4_if([$1], [], [C], [$1]))dnl
-  m4_if(_LT_TAG, [C], [
-    # See if we are running on zsh, and set the options which allow our
-    # commands through without removal of \ escapes.
-    if test -n "${ZSH_VERSION+set}" ; then
-      setopt NO_GLOB_SUBST
-    fi
-
-    cfgfile="${ofile}T"
-    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
-    $RM "$cfgfile"
-
-    cat <<_LT_EOF >> "$cfgfile"
-#! $SHELL
-
-# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
-# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
-# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
-# NOTE: Changes made to this file will be lost: look at ltmain.sh.
-#
-_LT_COPYING
-_LT_LIBTOOL_TAGS
-
-# ### BEGIN LIBTOOL CONFIG
-_LT_LIBTOOL_CONFIG_VARS
-_LT_LIBTOOL_TAG_VARS
-# ### END LIBTOOL CONFIG
-
-_LT_EOF
-
-  case $host_os in
-  aix3*)
-    cat <<\_LT_EOF >> "$cfgfile"
-# AIX sometimes has problems with the GCC collect2 program.  For some
-# reason, if we set the COLLECT_NAMES environment variable, the problems
-# vanish in a puff of smoke.
-if test "X${COLLECT_NAMES+set}" != Xset; then
-  COLLECT_NAMES=
-  export COLLECT_NAMES
-fi
-_LT_EOF
-    ;;
-  esac
-
-  _LT_PROG_LTMAIN
-
-  # We use sed instead of cat because bash on DJGPP gets confused if
-  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
-  # text mode, it properly converts lines to CR/LF.  This bash problem
-  # is reportedly fixed, but why not run on old versions too?
-  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
-    || (rm -f "$cfgfile"; exit 1)
-
-  _LT_PROG_XSI_SHELLFNS
-
-  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
-    || (rm -f "$cfgfile"; exit 1)
-
-  mv -f "$cfgfile" "$ofile" ||
-    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
-  chmod +x "$ofile"
-],
-[cat <<_LT_EOF >> "$ofile"
-
-dnl Unfortunately we have to use $1 here, since _LT_TAG is not expanded
-dnl in a comment (ie after a #).
-# ### BEGIN LIBTOOL TAG CONFIG: $1
-_LT_LIBTOOL_TAG_VARS(_LT_TAG)
-# ### END LIBTOOL TAG CONFIG: $1
-_LT_EOF
-])dnl /m4_if
-],
-[m4_if([$1], [], [
-    PACKAGE='$PACKAGE'
-    VERSION='$VERSION'
-    TIMESTAMP='$TIMESTAMP'
-    RM='$RM'
-    ofile='$ofile'], [])
-])dnl /_LT_CONFIG_SAVE_COMMANDS
-])# _LT_CONFIG
-
-
-# LT_SUPPORTED_TAG(TAG)
-# ---------------------
-# Trace this macro to discover what tags are supported by the libtool
-# --tag option, using:
-#    autoconf --trace 'LT_SUPPORTED_TAG:$1'
-AC_DEFUN([LT_SUPPORTED_TAG], [])
-
-
-# C support is built-in for now
-m4_define([_LT_LANG_C_enabled], [])
-m4_define([_LT_TAGS], [])
-
-
-# LT_LANG(LANG)
-# -------------
-# Enable libtool support for the given language if not already enabled.
-AC_DEFUN([LT_LANG],
-[AC_BEFORE([$0], [LT_OUTPUT])dnl
-m4_case([$1],
-  [C],			[_LT_LANG(C)],
-  [C++],		[_LT_LANG(CXX)],
-  [Java],		[_LT_LANG(GCJ)],
-  [Fortran 77],		[_LT_LANG(F77)],
-  [Fortran],		[_LT_LANG(FC)],
-  [Windows Resource],	[_LT_LANG(RC)],
-  [m4_ifdef([_LT_LANG_]$1[_CONFIG],
-    [_LT_LANG($1)],
-    [m4_fatal([$0: unsupported language: "$1"])])])dnl
-])# LT_LANG
-
-
-# _LT_LANG(LANGNAME)
-# ------------------
-m4_defun([_LT_LANG],
-[m4_ifdef([_LT_LANG_]$1[_enabled], [],
-  [LT_SUPPORTED_TAG([$1])dnl
-  m4_append([_LT_TAGS], [$1 ])dnl
-  m4_define([_LT_LANG_]$1[_enabled], [])dnl
-  _LT_LANG_$1_CONFIG($1)])dnl
-])# _LT_LANG
-
-
-# _LT_LANG_DEFAULT_CONFIG
-# -----------------------
-m4_defun([_LT_LANG_DEFAULT_CONFIG],
-[AC_PROVIDE_IFELSE([AC_PROG_CXX],
-  [LT_LANG(CXX)],
-  [m4_define([AC_PROG_CXX], defn([AC_PROG_CXX])[LT_LANG(CXX)])])
-
-AC_PROVIDE_IFELSE([AC_PROG_F77],
-  [LT_LANG(F77)],
-  [m4_define([AC_PROG_F77], defn([AC_PROG_F77])[LT_LANG(F77)])])
-
-AC_PROVIDE_IFELSE([AC_PROG_FC],
-  [LT_LANG(FC)],
-  [m4_define([AC_PROG_FC], defn([AC_PROG_FC])[LT_LANG(FC)])])
-
-dnl The call to [A][M_PROG_GCJ] is quoted like that to stop aclocal
-dnl pulling things in needlessly.
-AC_PROVIDE_IFELSE([AC_PROG_GCJ],
-  [LT_LANG(GCJ)],
-  [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],
-    [LT_LANG(GCJ)],
-    [AC_PROVIDE_IFELSE([LT_PROG_GCJ],
-      [LT_LANG(GCJ)],
-      [m4_ifdef([AC_PROG_GCJ],
-	[m4_define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[LT_LANG(GCJ)])])
-       m4_ifdef([A][M_PROG_GCJ],
-	[m4_define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[LT_LANG(GCJ)])])
-       m4_ifdef([LT_PROG_GCJ],
-	[m4_define([LT_PROG_GCJ], defn([LT_PROG_GCJ])[LT_LANG(GCJ)])])])])])
-
-AC_PROVIDE_IFELSE([LT_PROG_RC],
-  [LT_LANG(RC)],
-  [m4_define([LT_PROG_RC], defn([LT_PROG_RC])[LT_LANG(RC)])])
-])# _LT_LANG_DEFAULT_CONFIG
-
-# Obsolete macros:
-AU_DEFUN([AC_LIBTOOL_CXX], [LT_LANG(C++)])
-AU_DEFUN([AC_LIBTOOL_F77], [LT_LANG(Fortran 77)])
-AU_DEFUN([AC_LIBTOOL_FC], [LT_LANG(Fortran)])
-AU_DEFUN([AC_LIBTOOL_GCJ], [LT_LANG(Java)])
-dnl aclocal-1.4 backwards compatibility:
-dnl AC_DEFUN([AC_LIBTOOL_CXX], [])
-dnl AC_DEFUN([AC_LIBTOOL_F77], [])
-dnl AC_DEFUN([AC_LIBTOOL_FC], [])
-dnl AC_DEFUN([AC_LIBTOOL_GCJ], [])
-
-
-# _LT_TAG_COMPILER
-# ----------------
-m4_defun([_LT_TAG_COMPILER],
-[AC_REQUIRE([AC_PROG_CC])dnl
-
-_LT_DECL([LTCC], [CC], [1], [A C compiler])dnl
-_LT_DECL([LTCFLAGS], [CFLAGS], [1], [LTCC compiler flags])dnl
-_LT_TAGDECL([CC], [compiler], [1], [A language specific compiler])dnl
-_LT_TAGDECL([with_gcc], [GCC], [0], [Is the compiler the GNU compiler?])dnl
-
-# If no C compiler was specified, use CC.
-LTCC=${LTCC-"$CC"}
-
-# If no C compiler flags were specified, use CFLAGS.
-LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
-
-# Allow CC to be a program name with arguments.
-compiler=$CC
-])# _LT_TAG_COMPILER
-
-
-# _LT_COMPILER_BOILERPLATE
-# ------------------------
-# Check for compiler boilerplate output or warnings with
-# the simple compiler test code.
-m4_defun([_LT_COMPILER_BOILERPLATE],
-[m4_require([_LT_DECL_SED])dnl
-ac_outfile=conftest.$ac_objext
-echo "$lt_simple_compile_test_code" >conftest.$ac_ext
-eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
-_lt_compiler_boilerplate=`cat conftest.err`
-$RM conftest*
-])# _LT_COMPILER_BOILERPLATE
-
-
-# _LT_LINKER_BOILERPLATE
-# ----------------------
-# Check for linker boilerplate output or warnings with
-# the simple link test code.
-m4_defun([_LT_LINKER_BOILERPLATE],
-[m4_require([_LT_DECL_SED])dnl
-ac_outfile=conftest.$ac_objext
-echo "$lt_simple_link_test_code" >conftest.$ac_ext
-eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
-_lt_linker_boilerplate=`cat conftest.err`
-$RM -r conftest*
-])# _LT_LINKER_BOILERPLATE
-
-# _LT_REQUIRED_DARWIN_CHECKS
-# -------------------------
-m4_defun_once([_LT_REQUIRED_DARWIN_CHECKS],[
-  case $host_os in
-    rhapsody* | darwin*)
-    AC_CHECK_TOOL([DSYMUTIL], [dsymutil], [:])
-    AC_CHECK_TOOL([NMEDIT], [nmedit], [:])
-    AC_CHECK_TOOL([LIPO], [lipo], [:])
-    AC_CHECK_TOOL([OTOOL], [otool], [:])
-    AC_CHECK_TOOL([OTOOL64], [otool64], [:])
-    _LT_DECL([], [DSYMUTIL], [1],
-      [Tool to manipulate archived DWARF debug symbol files on Mac OS X])
-    _LT_DECL([], [NMEDIT], [1],
-      [Tool to change global to local symbols on Mac OS X])
-    _LT_DECL([], [LIPO], [1],
-      [Tool to manipulate fat objects and archives on Mac OS X])
-    _LT_DECL([], [OTOOL], [1],
-      [ldd/readelf like tool for Mach-O binaries on Mac OS X])
-    _LT_DECL([], [OTOOL64], [1],
-      [ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4])
-
-    AC_CACHE_CHECK([for -single_module linker flag],[lt_cv_apple_cc_single_mod],
-      [lt_cv_apple_cc_single_mod=no
-      if test -z "${LT_MULTI_MODULE}"; then
-	# By default we will add the -single_module flag. You can override
-	# by either setting the environment variable LT_MULTI_MODULE
-	# non-empty at configure time, or by adding -multi_module to the
-	# link flags.
-	rm -rf libconftest.dylib*
-	echo "int foo(void){return 1;}" > conftest.c
-	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
--dynamiclib -Wl,-single_module conftest.c" >&AS_MESSAGE_LOG_FD
-	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
-	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
-        _lt_result=$?
-	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
-	  lt_cv_apple_cc_single_mod=yes
-	else
-	  cat conftest.err >&AS_MESSAGE_LOG_FD
-	fi
-	rm -rf libconftest.dylib*
-	rm -f conftest.*
-      fi])
-    AC_CACHE_CHECK([for -exported_symbols_list linker flag],
-      [lt_cv_ld_exported_symbols_list],
-      [lt_cv_ld_exported_symbols_list=no
-      save_LDFLAGS=$LDFLAGS
-      echo "_main" > conftest.sym
-      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
-      AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
-	[lt_cv_ld_exported_symbols_list=yes],
-	[lt_cv_ld_exported_symbols_list=no])
-	LDFLAGS="$save_LDFLAGS"
-    ])
-    case $host_os in
-    rhapsody* | darwin1.[[012]])
-      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
-    darwin1.*)
-      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
-    darwin*) # darwin 5.x on
-      # if running on 10.5 or later, the deployment target defaults
-      # to the OS version, if on x86, and 10.4, the deployment
-      # target defaults to 10.4. Don't you love it?
-      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
-	10.0,*86*-darwin8*|10.0,*-darwin[[91]]*)
-	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
-	10.[[012]]*)
-	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
-	10.*)
-	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
-      esac
-    ;;
-  esac
-    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
-      _lt_dar_single_mod='$single_module'
-    fi
-    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
-      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
-    else
-      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
-    fi
-    if test "$DSYMUTIL" != ":"; then
-      _lt_dsymutil='~$DSYMUTIL $lib || :'
-    else
-      _lt_dsymutil=
-    fi
-    ;;
-  esac
-])
-
-
-# _LT_DARWIN_LINKER_FEATURES
-# --------------------------
-# Checks for linker and compiler features on darwin
-m4_defun([_LT_DARWIN_LINKER_FEATURES],
-[
-  m4_require([_LT_REQUIRED_DARWIN_CHECKS])
-  _LT_TAGVAR(archive_cmds_need_lc, $1)=no
-  _LT_TAGVAR(hardcode_direct, $1)=no
-  _LT_TAGVAR(hardcode_automatic, $1)=yes
-  _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
-  _LT_TAGVAR(whole_archive_flag_spec, $1)=''
-  _LT_TAGVAR(link_all_deplibs, $1)=yes
-  _LT_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined"
-  case $cc_basename in
-     ifort*) _lt_dar_can_shared=yes ;;
-     *) _lt_dar_can_shared=$GCC ;;
-  esac
-  if test "$_lt_dar_can_shared" = "yes"; then
-    output_verbose_link_cmd=echo
-    _LT_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
-    _LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
-    _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
-    _LT_TAGVAR(module_expsym_cmds, $1)="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
-    m4_if([$1], [CXX],
-[   if test "$lt_cv_apple_cc_single_mod" != "yes"; then
-      _LT_TAGVAR(archive_cmds, $1)="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
-      _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
-    fi
-],[])
-  else
-  _LT_TAGVAR(ld_shlibs, $1)=no
-  fi
-])
-
-# _LT_SYS_MODULE_PATH_AIX
-# -----------------------
-# Links a minimal program and checks the executable
-# for the system default hardcoded library path. In most cases,
-# this is /usr/lib:/lib, but when the MPI compilers are used
-# the location of the communication and MPI libs are included too.
-# If we don't find anything, use the default library path according
-# to the aix ld manual.
-m4_defun([_LT_SYS_MODULE_PATH_AIX],
-[m4_require([_LT_DECL_SED])dnl
-AC_LINK_IFELSE(AC_LANG_PROGRAM,[
-lt_aix_libpath_sed='
-    /Import File Strings/,/^$/ {
-	/^0/ {
-	    s/^0  *\(.*\)$/\1/
-	    p
-	}
-    }'
-aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
-# Check for a 64-bit object if we didn't find anything.
-if test -z "$aix_libpath"; then
-  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
-fi],[])
-if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
-])# _LT_SYS_MODULE_PATH_AIX
-
-
-# _LT_SHELL_INIT(ARG)
-# -------------------
-m4_define([_LT_SHELL_INIT],
-[ifdef([AC_DIVERSION_NOTICE],
-	     [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)],
-	 [AC_DIVERT_PUSH(NOTICE)])
-$1
-AC_DIVERT_POP
-])# _LT_SHELL_INIT
-
-
-# _LT_PROG_ECHO_BACKSLASH
-# -----------------------
-# Add some code to the start of the generated configure script which
-# will find an echo command which doesn't interpret backslashes.
-m4_defun([_LT_PROG_ECHO_BACKSLASH],
-[_LT_SHELL_INIT([
-# Check that we are running under the correct shell.
-SHELL=${CONFIG_SHELL-/bin/sh}
-
-case X$lt_ECHO in
-X*--fallback-echo)
-  # Remove one level of quotation (which was required for Make).
-  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','`
-  ;;
-esac
-
-ECHO=${lt_ECHO-echo}
-if test "X[$]1" = X--no-reexec; then
-  # Discard the --no-reexec flag, and continue.
-  shift
-elif test "X[$]1" = X--fallback-echo; then
-  # Avoid inline document here, it may be left over
-  :
-elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
-  # Yippee, $ECHO works!
-  :
-else
-  # Restart under the correct shell.
-  exec $SHELL "[$]0" --no-reexec ${1+"[$]@"}
-fi
-
-if test "X[$]1" = X--fallback-echo; then
-  # used as fallback echo
-  shift
-  cat <<_LT_EOF
-[$]*
-_LT_EOF
-  exit 0
-fi
-
-if test -z "$lt_ECHO"; then
-  if test "X${echo_test_string+set}" != Xset; then
-    # find a string as large as possible, as long as the shell can cope with it
-    for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do
-      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
-      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
-	 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
-      then
-        break
-      fi
-    done
-  fi
-
-  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
-     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
-     test "X$echo_testing_string" = "X$echo_test_string"; then
-    :
-  else
-    # The Solaris, AIX, and Digital Unix default echo programs unquote
-    # backslashes.  This makes it impossible to quote backslashes using
-    #   echo "$something" | sed 's/\\/\\\\/g'
-    #
-    # So, first we look for a working echo in the user's PATH.
-
-    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
-    for dir in $PATH /usr/ucb; do
-      IFS="$lt_save_ifs"
-      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
-         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
-         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
-         test "X$echo_testing_string" = "X$echo_test_string"; then
-        ECHO="$dir/echo"
-        break
-      fi
-    done
-    IFS="$lt_save_ifs"
-
-    if test "X$ECHO" = Xecho; then
-      # We didn't find a better echo, so look for alternatives.
-      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
-         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
-         test "X$echo_testing_string" = "X$echo_test_string"; then
-        # This shell has a builtin print -r that does the trick.
-        ECHO='print -r'
-      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
-	   test "X$CONFIG_SHELL" != X/bin/ksh; then
-        # If we have ksh, try running configure again with it.
-        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
-        export ORIGINAL_CONFIG_SHELL
-        CONFIG_SHELL=/bin/ksh
-        export CONFIG_SHELL
-        exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"}
-      else
-        # Try using printf.
-        ECHO='printf %s\n'
-        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
-	   echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
-	   test "X$echo_testing_string" = "X$echo_test_string"; then
-	  # Cool, printf works
-	  :
-        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
-	     test "X$echo_testing_string" = 'X\t' &&
-	     echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
-	     test "X$echo_testing_string" = "X$echo_test_string"; then
-	  CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
-	  export CONFIG_SHELL
-	  SHELL="$CONFIG_SHELL"
-	  export SHELL
-	  ECHO="$CONFIG_SHELL [$]0 --fallback-echo"
-        elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
-	     test "X$echo_testing_string" = 'X\t' &&
-	     echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
-	     test "X$echo_testing_string" = "X$echo_test_string"; then
-	  ECHO="$CONFIG_SHELL [$]0 --fallback-echo"
-        else
-	  # maybe with a smaller string...
-	  prev=:
-
-	  for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do
-	    if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
-	    then
-	      break
-	    fi
-	    prev="$cmd"
-	  done
-
-	  if test "$prev" != 'sed 50q "[$]0"'; then
-	    echo_test_string=`eval $prev`
-	    export echo_test_string
-	    exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"}
-	  else
-	    # Oops.  We lost completely, so just stick with echo.
-	    ECHO=echo
-	  fi
-        fi
-      fi
-    fi
-  fi
-fi
-
-# Copy echo and quote the copy suitably for passing to libtool from
-# the Makefile, instead of quoting the original, which is used later.
-lt_ECHO=$ECHO
-if test "X$lt_ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then
-   lt_ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo"
-fi
-
-AC_SUBST(lt_ECHO)
-])
-_LT_DECL([], [SHELL], [1], [Shell to use when invoking shell scripts])
-_LT_DECL([], [ECHO], [1],
-    [An echo program that does not interpret backslashes])
-])# _LT_PROG_ECHO_BACKSLASH
-
-
-# _LT_ENABLE_LOCK
-# ---------------
-m4_defun([_LT_ENABLE_LOCK],
-[AC_ARG_ENABLE([libtool-lock],
-  [AS_HELP_STRING([--disable-libtool-lock],
-    [avoid locking (might break parallel builds)])])
-test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
-
-# Some flags need to be propagated to the compiler or linker for good
-# libtool support.
-case $host in
-x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
-s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
-  # Find out which ABI we are using.
-  echo 'int i;' > conftest.$ac_ext
-  if AC_TRY_EVAL(ac_compile); then
-    case `/usr/bin/file conftest.o` in
-      *32-bit*)
-	case $host in
-	  x86_64-*kfreebsd*-gnu)
-	    LD="${LD-ld} -m elf_i386_fbsd"
-	    ;;
-	  x86_64-*linux*)
-	    LD="${LD-ld} -m elf_i386"
-	    ;;
-	  ppc64-*linux*|powerpc64-*linux*)
-	    LD="${LD-ld} -m elf32ppclinux"
-	    ;;
-	  s390x-*linux*)
-	    LD="${LD-ld} -m elf_s390"
-	    ;;
-	  sparc64-*linux*)
-	    LD="${LD-ld} -m elf32_sparc"
-	    ;;
-	esac
-	;;
-      *64-bit*)
-	case $host in
-	  x86_64-*kfreebsd*-gnu)
-	    LD="${LD-ld} -m elf_x86_64_fbsd"
-	    ;;
-	  x86_64-*linux*)
-	    LD="${LD-ld} -m elf_x86_64"
-	    ;;
-	  ppc*-*linux*|powerpc*-*linux*)
-	    LD="${LD-ld} -m elf64ppc"
-	    ;;
-	  s390*-*linux*|s390*-*tpf*)
-	    LD="${LD-ld} -m elf64_s390"
-	    ;;
-	  sparc*-*linux*)
-	    LD="${LD-ld} -m elf64_sparc"
-	    ;;
-	esac
-	;;
-    esac
-  fi
-  rm -rf conftest*
-  ;;
-
-sparc*-*solaris*)
-  # Find out which ABI we are using.
-  echo 'int i;' > conftest.$ac_ext
-  if AC_TRY_EVAL(ac_compile); then
-    case `/usr/bin/file conftest.o` in
-    *64-bit*)
-      case $lt_cv_prog_gnu_ld in
-      yes*) LD="${LD-ld} -m elf64_sparc" ;;
-      *)
-	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
-	  LD="${LD-ld} -64"
-	fi
-	;;
-      esac
-      ;;
-    esac
-  fi
-  rm -rf conftest*
-  ;;
-esac
-
-need_locks="$enable_libtool_lock"
-])# _LT_ENABLE_LOCK
-
-
-# _LT_CMD_OLD_ARCHIVE
-# -------------------
-m4_defun([_LT_CMD_OLD_ARCHIVE],
-[AC_CHECK_TOOL(AR, ar, false)
-test -z "$AR" && AR=ar
-test -z "$AR_FLAGS" && AR_FLAGS=cru
-_LT_DECL([], [AR], [1], [The archiver])
-_LT_DECL([], [AR_FLAGS], [1])
-
-AC_CHECK_TOOL(STRIP, strip, :)
-test -z "$STRIP" && STRIP=:
-_LT_DECL([], [STRIP], [1], [A symbol stripping program])
-
-AC_CHECK_TOOL(RANLIB, ranlib, :)
-test -z "$RANLIB" && RANLIB=:
-_LT_DECL([], [RANLIB], [1],
-    [Commands used to install an old-style archive])
-
-# Determine commands to create old-style static archives.
-old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
-old_postinstall_cmds='chmod 644 $oldlib'
-old_postuninstall_cmds=
-
-if test -n "$RANLIB"; then
-  case $host_os in
-  openbsd*)
-    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
-    ;;
-  *)
-    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
-    ;;
-  esac
-  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
-fi
-_LT_DECL([], [old_postinstall_cmds], [2])
-_LT_DECL([], [old_postuninstall_cmds], [2])
-_LT_TAGDECL([], [old_archive_cmds], [2],
-    [Commands used to build an old-style archive])
-])# _LT_CMD_OLD_ARCHIVE
-
-
-# _LT_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
-#		[OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE])
-# ----------------------------------------------------------------
-# Check whether the given compiler option works
-AC_DEFUN([_LT_COMPILER_OPTION],
-[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
-m4_require([_LT_DECL_SED])dnl
-AC_CACHE_CHECK([$1], [$2],
-  [$2=no
-   m4_if([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
-   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
-   lt_compiler_flag="$3"
-   # Insert the option either (1) after the last *FLAGS variable, or
-   # (2) before a word containing "conftest.", or (3) at the end.
-   # Note that $ac_compile itself does not contain backslashes and begins
-   # with a dollar sign (not a hyphen), so the echo should work correctly.
-   # The option is referenced via a variable to avoid confusing sed.
-   lt_compile=`echo "$ac_compile" | $SED \
-   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-   -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
-   -e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
-   (eval "$lt_compile" 2>conftest.err)
-   ac_status=$?
-   cat conftest.err >&AS_MESSAGE_LOG_FD
-   echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
-   if (exit $ac_status) && test -s "$ac_outfile"; then
-     # The compiler can only warn and ignore the option if not recognized
-     # So say no if there are warnings other than the usual output.
-     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
-     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
-     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
-       $2=yes
-     fi
-   fi
-   $RM conftest*
-])
-
-if test x"[$]$2" = xyes; then
-    m4_if([$5], , :, [$5])
-else
-    m4_if([$6], , :, [$6])
-fi
-])# _LT_COMPILER_OPTION
-
-# Old name:
-AU_ALIAS([AC_LIBTOOL_COMPILER_OPTION], [_LT_COMPILER_OPTION])
-dnl aclocal-1.4 backwards compatibility:
-dnl AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], [])
-
-
-# _LT_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
-#                  [ACTION-SUCCESS], [ACTION-FAILURE])
-# ----------------------------------------------------
-# Check whether the given linker option works
-AC_DEFUN([_LT_LINKER_OPTION],
-[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
-m4_require([_LT_DECL_SED])dnl
-AC_CACHE_CHECK([$1], [$2],
-  [$2=no
-   save_LDFLAGS="$LDFLAGS"
-   LDFLAGS="$LDFLAGS $3"
-   echo "$lt_simple_link_test_code" > conftest.$ac_ext
-   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
-     # The linker can only warn and ignore the option if not recognized
-     # So say no if there are warnings
-     if test -s conftest.err; then
-       # Append any errors to the config.log.
-       cat conftest.err 1>&AS_MESSAGE_LOG_FD
-       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
-       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
-       if diff conftest.exp conftest.er2 >/dev/null; then
-         $2=yes
-       fi
-     else
-       $2=yes
-     fi
-   fi
-   $RM -r conftest*
-   LDFLAGS="$save_LDFLAGS"
-])
-
-if test x"[$]$2" = xyes; then
-    m4_if([$4], , :, [$4])
-else
-    m4_if([$5], , :, [$5])
-fi
-])# _LT_LINKER_OPTION
-
-# Old name:
-AU_ALIAS([AC_LIBTOOL_LINKER_OPTION], [_LT_LINKER_OPTION])
-dnl aclocal-1.4 backwards compatibility:
-dnl AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], [])
-
-
-# LT_CMD_MAX_LEN
-#---------------
-AC_DEFUN([LT_CMD_MAX_LEN],
-[AC_REQUIRE([AC_CANONICAL_HOST])dnl
-# find the maximum length of command line arguments
-AC_MSG_CHECKING([the maximum length of command line arguments])
-AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
-  i=0
-  teststring="ABCD"
-
-  case $build_os in
-  msdosdjgpp*)
-    # On DJGPP, this test can blow up pretty badly due to problems in libc
-    # (any single argument exceeding 2000 bytes causes a buffer overrun
-    # during glob expansion).  Even if it were fixed, the result of this
-    # check would be larger than it should be.
-    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
-    ;;
-
-  gnu*)
-    # Under GNU Hurd, this test is not required because there is
-    # no limit to the length of command line arguments.
-    # Libtool will interpret -1 as no limit whatsoever
-    lt_cv_sys_max_cmd_len=-1;
-    ;;
-
-  cygwin* | mingw* | cegcc*)
-    # On Win9x/ME, this test blows up -- it succeeds, but takes
-    # about 5 minutes as the teststring grows exponentially.
-    # Worse, since 9x/ME are not pre-emptively multitasking,
-    # you end up with a "frozen" computer, even though with patience
-    # the test eventually succeeds (with a max line length of 256k).
-    # Instead, let's just punt: use the minimum linelength reported by
-    # all of the supported platforms: 8192 (on NT/2K/XP).
-    lt_cv_sys_max_cmd_len=8192;
-    ;;
-
-  amigaos*)
-    # On AmigaOS with pdksh, this test takes hours, literally.
-    # So we just punt and use a minimum line length of 8192.
-    lt_cv_sys_max_cmd_len=8192;
-    ;;
-
-  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
-    # This has been around since 386BSD, at least.  Likely further.
-    if test -x /sbin/sysctl; then
-      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
-    elif test -x /usr/sbin/sysctl; then
-      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
-    else
-      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
-    fi
-    # And add a safety zone
-    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
-    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
-    ;;
-
-  interix*)
-    # We know the value 262144 and hardcode it with a safety zone (like BSD)
-    lt_cv_sys_max_cmd_len=196608
-    ;;
-
-  sysv5* | sco5v6* | sysv4.2uw2*)
-    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
-    if test -n "$kargmax"; then
-      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[	 ]]//'`
-    else
-      lt_cv_sys_max_cmd_len=32768
-    fi
-    ;;
-  *)
-    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
-    if test -n "$lt_cv_sys_max_cmd_len"; then
-      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
-      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
-    else
-      # Make teststring a little bigger before we do anything with it.
-      # a 1K string should be a reasonable start.
-      for i in 1 2 3 4 5 6 7 8 ; do
-        teststring=$teststring$teststring
-      done
-      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
-      # If test is not a shell built-in, we'll probably end up computing a
-      # maximum length that is only half of the actual maximum length, but
-      # we can't tell.
-      while { test "X"`$SHELL [$]0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
-	         = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
-	      test $i != 17 # 1/2 MB should be enough
-      do
-        i=`expr $i + 1`
-        teststring=$teststring$teststring
-      done
-      # Only check the string length outside the loop.
-      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
-      teststring=
-      # Add a significant safety factor because C++ compilers can tack on
-      # massive amounts of additional arguments before passing them to the
-      # linker.  It appears as though 1/2 is a usable value.
-      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
-    fi
-    ;;
-  esac
-])
-if test -n $lt_cv_sys_max_cmd_len ; then
-  AC_MSG_RESULT($lt_cv_sys_max_cmd_len)
-else
-  AC_MSG_RESULT(none)
-fi
-max_cmd_len=$lt_cv_sys_max_cmd_len
-_LT_DECL([], [max_cmd_len], [0],
-    [What is the maximum length of a command?])
-])# LT_CMD_MAX_LEN
-
-# Old name:
-AU_ALIAS([AC_LIBTOOL_SYS_MAX_CMD_LEN], [LT_CMD_MAX_LEN])
-dnl aclocal-1.4 backwards compatibility:
-dnl AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], [])
-
-
-# _LT_HEADER_DLFCN
-# ----------------
-m4_defun([_LT_HEADER_DLFCN],
-[AC_CHECK_HEADERS([dlfcn.h], [], [], [AC_INCLUDES_DEFAULT])dnl
-])# _LT_HEADER_DLFCN
-
-
-# _LT_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
-#                      ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
-# ----------------------------------------------------------------
-m4_defun([_LT_TRY_DLOPEN_SELF],
-[m4_require([_LT_HEADER_DLFCN])dnl
-if test "$cross_compiling" = yes; then :
-  [$4]
-else
-  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
-  lt_status=$lt_dlunknown
-  cat > conftest.$ac_ext <<_LT_EOF
-[#line __oline__ "configure"
-#include "confdefs.h"
-
-#if HAVE_DLFCN_H
-#include <dlfcn.h>
-#endif
-
-#include <stdio.h>
-
-#ifdef RTLD_GLOBAL
-#  define LT_DLGLOBAL		RTLD_GLOBAL
-#else
-#  ifdef DL_GLOBAL
-#    define LT_DLGLOBAL		DL_GLOBAL
-#  else
-#    define LT_DLGLOBAL		0
-#  endif
-#endif
-
-/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
-   find out it does not work in some platform. */
-#ifndef LT_DLLAZY_OR_NOW
-#  ifdef RTLD_LAZY
-#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
-#  else
-#    ifdef DL_LAZY
-#      define LT_DLLAZY_OR_NOW		DL_LAZY
-#    else
-#      ifdef RTLD_NOW
-#        define LT_DLLAZY_OR_NOW	RTLD_NOW
-#      else
-#        ifdef DL_NOW
-#          define LT_DLLAZY_OR_NOW	DL_NOW
-#        else
-#          define LT_DLLAZY_OR_NOW	0
-#        endif
-#      endif
-#    endif
-#  endif
-#endif
-
-void fnord() { int i=42;}
-int main ()
-{
-  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
-  int status = $lt_dlunknown;
-
-  if (self)
-    {
-      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
-      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
-      /* dlclose (self); */
-    }
-  else
-    puts (dlerror ());
-
-  return status;
-}]
-_LT_EOF
-  if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then
-    (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null
-    lt_status=$?
-    case x$lt_status in
-      x$lt_dlno_uscore) $1 ;;
-      x$lt_dlneed_uscore) $2 ;;
-      x$lt_dlunknown|x*) $3 ;;
-    esac
-  else :
-    # compilation failed
-    $3
-  fi
-fi
-rm -fr conftest*
-])# _LT_TRY_DLOPEN_SELF
-
-
-# LT_SYS_DLOPEN_SELF
-# ------------------
-AC_DEFUN([LT_SYS_DLOPEN_SELF],
-[m4_require([_LT_HEADER_DLFCN])dnl
-if test "x$enable_dlopen" != xyes; then
-  enable_dlopen=unknown
-  enable_dlopen_self=unknown
-  enable_dlopen_self_static=unknown
-else
-  lt_cv_dlopen=no
-  lt_cv_dlopen_libs=
-
-  case $host_os in
-  beos*)
-    lt_cv_dlopen="load_add_on"
-    lt_cv_dlopen_libs=
-    lt_cv_dlopen_self=yes
-    ;;
-
-  mingw* | pw32* | cegcc*)
-    lt_cv_dlopen="LoadLibrary"
-    lt_cv_dlopen_libs=
-    ;;
-
-  cygwin*)
-    lt_cv_dlopen="dlopen"
-    lt_cv_dlopen_libs=
-    ;;
-
-  darwin*)
-  # if libdl is installed we need to link against it
-    AC_CHECK_LIB([dl], [dlopen],
-		[lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],[
-    lt_cv_dlopen="dyld"
-    lt_cv_dlopen_libs=
-    lt_cv_dlopen_self=yes
-    ])
-    ;;
-
-  *)
-    AC_CHECK_FUNC([shl_load],
-	  [lt_cv_dlopen="shl_load"],
-      [AC_CHECK_LIB([dld], [shl_load],
-	    [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"],
-	[AC_CHECK_FUNC([dlopen],
-	      [lt_cv_dlopen="dlopen"],
-	  [AC_CHECK_LIB([dl], [dlopen],
-		[lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
-	    [AC_CHECK_LIB([svld], [dlopen],
-		  [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
-	      [AC_CHECK_LIB([dld], [dld_link],
-		    [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"])
-	      ])
-	    ])
-	  ])
-	])
-      ])
-    ;;
-  esac
-
-  if test "x$lt_cv_dlopen" != xno; then
-    enable_dlopen=yes
-  else
-    enable_dlopen=no
-  fi
-
-  case $lt_cv_dlopen in
-  dlopen)
-    save_CPPFLAGS="$CPPFLAGS"
-    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
-
-    save_LDFLAGS="$LDFLAGS"
-    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
-
-    save_LIBS="$LIBS"
-    LIBS="$lt_cv_dlopen_libs $LIBS"
-
-    AC_CACHE_CHECK([whether a program can dlopen itself],
-	  lt_cv_dlopen_self, [dnl
-	  _LT_TRY_DLOPEN_SELF(
-	    lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes,
-	    lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross)
-    ])
-
-    if test "x$lt_cv_dlopen_self" = xyes; then
-      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
-      AC_CACHE_CHECK([whether a statically linked program can dlopen itself],
-	  lt_cv_dlopen_self_static, [dnl
-	  _LT_TRY_DLOPEN_SELF(
-	    lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes,
-	    lt_cv_dlopen_self_static=no,  lt_cv_dlopen_self_static=cross)
-      ])
-    fi
-
-    CPPFLAGS="$save_CPPFLAGS"
-    LDFLAGS="$save_LDFLAGS"
-    LIBS="$save_LIBS"
-    ;;
-  esac
-
-  case $lt_cv_dlopen_self in
-  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
-  *) enable_dlopen_self=unknown ;;
-  esac
-
-  case $lt_cv_dlopen_self_static in
-  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
-  *) enable_dlopen_self_static=unknown ;;
-  esac
-fi
-_LT_DECL([dlopen_support], [enable_dlopen], [0],
-	 [Whether dlopen is supported])
-_LT_DECL([dlopen_self], [enable_dlopen_self], [0],
-	 [Whether dlopen of programs is supported])
-_LT_DECL([dlopen_self_static], [enable_dlopen_self_static], [0],
-	 [Whether dlopen of statically linked programs is supported])
-])# LT_SYS_DLOPEN_SELF
-
-# Old name:
-AU_ALIAS([AC_LIBTOOL_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF])
-dnl aclocal-1.4 backwards compatibility:
-dnl AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], [])
-
-
-# _LT_COMPILER_C_O([TAGNAME])
-# ---------------------------
-# Check to see if options -c and -o are simultaneously supported by compiler.
-# This macro does not hard code the compiler like AC_PROG_CC_C_O.
-m4_defun([_LT_COMPILER_C_O],
-[m4_require([_LT_DECL_SED])dnl
-m4_require([_LT_FILEUTILS_DEFAULTS])dnl
-m4_require([_LT_TAG_COMPILER])dnl
-AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext],
-  [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)],
-  [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no
-   $RM -r conftest 2>/dev/null
-   mkdir conftest
-   cd conftest
-   mkdir out
-   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
-
-   lt_compiler_flag="-o out/conftest2.$ac_objext"
-   # Insert the option either (1) after the last *FLAGS variable, or
-   # (2) before a word containing "conftest.", or (3) at the end.
-   # Note that $ac_compile itself does not contain backslashes and begins
-   # with a dollar sign (not a hyphen), so the echo should work correctly.
-   lt_compile=`echo "$ac_compile" | $SED \
-   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-   -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
-   -e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
-   (eval "$lt_compile" 2>out/conftest.err)
-   ac_status=$?
-   cat out/conftest.err >&AS_MESSAGE_LOG_FD
-   echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
-   if (exit $ac_status) && test -s out/conftest2.$ac_objext
-   then
-     # The compiler can only warn and ignore the option if not recognized
-     # So say no if there are warnings
-     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
-     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
-     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
-       _LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
-     fi
-   fi
-   chmod u+w . 2>&AS_MESSAGE_LOG_FD
-   $RM conftest*
-   # SGI C++ compiler will create directory out/ii_files/ for
-   # template instantiation
-   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
-   $RM out/* && rmdir out
-   cd ..
-   $RM -r conftest
-   $RM conftest*
-])
-_LT_TAGDECL([compiler_c_o], [lt_cv_prog_compiler_c_o], [1],
-	[Does compiler simultaneously support -c and -o options?])
-])# _LT_COMPILER_C_O
-
-
-# _LT_COMPILER_FILE_LOCKS([TAGNAME])
-# ----------------------------------
-# Check to see if we can do hard links to lock some files if needed
-m4_defun([_LT_COMPILER_FILE_LOCKS],
-[m4_require([_LT_ENABLE_LOCK])dnl
-m4_require([_LT_FILEUTILS_DEFAULTS])dnl
-_LT_COMPILER_C_O([$1])
-
-hard_links="nottested"
-if test "$_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then
-  # do not overwrite the value of need_locks provided by the user
-  AC_MSG_CHECKING([if we can lock with hard links])
-  hard_links=yes
-  $RM conftest*
-  ln conftest.a conftest.b 2>/dev/null && hard_links=no
-  touch conftest.a
-  ln conftest.a conftest.b 2>&5 || hard_links=no
-  ln conftest.a conftest.b 2>/dev/null && hard_links=no
-  AC_MSG_RESULT([$hard_links])
-  if test "$hard_links" = no; then
-    AC_MSG_WARN([`$CC' does not support `-c -o', so `make -j' may be unsafe])
-    need_locks=warn
-  fi
-else
-  need_locks=no
-fi
-_LT_DECL([], [need_locks], [1], [Must we lock files when doing compilation?])
-])# _LT_COMPILER_FILE_LOCKS
-
-
-# _LT_CHECK_OBJDIR
-# ----------------
-m4_defun([_LT_CHECK_OBJDIR],
-[AC_CACHE_CHECK([for objdir], [lt_cv_objdir],
-[rm -f .libs 2>/dev/null
-mkdir .libs 2>/dev/null
-if test -d .libs; then
-  lt_cv_objdir=.libs
-else
-  # MS-DOS does not allow filenames that begin with a dot.
-  lt_cv_objdir=_libs
-fi
-rmdir .libs 2>/dev/null])
-objdir=$lt_cv_objdir
-_LT_DECL([], [objdir], [0],
-         [The name of the directory that contains temporary libtool files])dnl
-m4_pattern_allow([LT_OBJDIR])dnl
-AC_DEFINE_UNQUOTED(LT_OBJDIR, "$lt_cv_objdir/",
-  [Define to the sub-directory in which libtool stores uninstalled libraries.])
-])# _LT_CHECK_OBJDIR
-
-
-# _LT_LINKER_HARDCODE_LIBPATH([TAGNAME])
-# --------------------------------------
-# Check hardcoding attributes.
-m4_defun([_LT_LINKER_HARDCODE_LIBPATH],
-[AC_MSG_CHECKING([how to hardcode library paths into programs])
-_LT_TAGVAR(hardcode_action, $1)=
-if test -n "$_LT_TAGVAR(hardcode_libdir_flag_spec, $1)" ||
-   test -n "$_LT_TAGVAR(runpath_var, $1)" ||
-   test "X$_LT_TAGVAR(hardcode_automatic, $1)" = "Xyes" ; then
-
-  # We can hardcode non-existent directories.
-  if test "$_LT_TAGVAR(hardcode_direct, $1)" != no &&
-     # If the only mechanism to avoid hardcoding is shlibpath_var, we
-     # have to relink, otherwise we might link with an installed library
-     # when we should be linking with a yet-to-be-installed one
-     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, $1)" != no &&
-     test "$_LT_TAGVAR(hardcode_minus_L, $1)" != no; then
-    # Linking always hardcodes the temporary library directory.
-    _LT_TAGVAR(hardcode_action, $1)=relink
-  else
-    # We can link without hardcoding, and we can hardcode nonexisting dirs.
-    _LT_TAGVAR(hardcode_action, $1)=immediate
-  fi
-else
-  # We cannot hardcode anything, or else we can only hardcode existing
-  # directories.
-  _LT_TAGVAR(hardcode_action, $1)=unsupported
-fi
-AC_MSG_RESULT([$_LT_TAGVAR(hardcode_action, $1)])
-
-if test "$_LT_TAGVAR(hardcode_action, $1)" = relink ||
-   test "$_LT_TAGVAR(inherit_rpath, $1)" = yes; then
-  # Fast installation is not supported
-  enable_fast_install=no
-elif test "$shlibpath_overrides_runpath" = yes ||
-     test "$enable_shared" = no; then
-  # Fast installation is not necessary
-  enable_fast_install=needless
-fi
-_LT_TAGDECL([], [hardcode_action], [0],
-    [How to hardcode a shared library path into an executable])
-])# _LT_LINKER_HARDCODE_LIBPATH
-
-
-# _LT_CMD_STRIPLIB
-# ----------------
-m4_defun([_LT_CMD_STRIPLIB],
-[m4_require([_LT_DECL_EGREP])
-striplib=
-old_striplib=
-AC_MSG_CHECKING([whether stripping libraries is possible])
-if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
-  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
-  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
-  AC_MSG_RESULT([yes])
-else
-# FIXME - insert some real tests, host_os isn't really good enough
-  case $host_os in
-  darwin*)
-    if test -n "$STRIP" ; then
-      striplib="$STRIP -x"
-      old_striplib="$STRIP -S"
-      AC_MSG_RESULT([yes])
-    else
-      AC_MSG_RESULT([no])
-    fi
-    ;;
-  *)
-    AC_MSG_RESULT([no])
-    ;;
-  esac
-fi
-_LT_DECL([], [old_striplib], [1], [Commands to strip libraries])
-_LT_DECL([], [striplib], [1])
-])# _LT_CMD_STRIPLIB
-
-
-# _LT_SYS_DYNAMIC_LINKER([TAG])
-# -----------------------------
-# PORTME Fill in your ld.so characteristics
-m4_defun([_LT_SYS_DYNAMIC_LINKER],
-[AC_REQUIRE([AC_CANONICAL_HOST])dnl
-m4_require([_LT_DECL_EGREP])dnl
-m4_require([_LT_FILEUTILS_DEFAULTS])dnl
-m4_require([_LT_DECL_OBJDUMP])dnl
-m4_require([_LT_DECL_SED])dnl
-AC_MSG_CHECKING([dynamic linker characteristics])
-m4_if([$1],
-	[], [
-if test "$GCC" = yes; then
-  case $host_os in
-    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
-    *) lt_awk_arg="/^libraries:/" ;;
-  esac
-  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
-  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
-    # if the path contains ";" then we assume it to be the separator
-    # otherwise default to the standard path separator (i.e. ":") - it is
-    # assumed that no part of a normal pathname contains ";" but that should
-    # okay in the real world where ";" in dirpaths is itself problematic.
-    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
-  else
-    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
-  fi
-  # Ok, now we have the path, separated by spaces, we can step through it
-  # and add multilib dir if necessary.
-  lt_tmp_lt_search_path_spec=
-  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
-  for lt_sys_path in $lt_search_path_spec; do
-    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
-      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
-    else
-      test -d "$lt_sys_path" && \
-	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
-    fi
-  done
-  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
-BEGIN {RS=" "; FS="/|\n";} {
-  lt_foo="";
-  lt_count=0;
-  for (lt_i = NF; lt_i > 0; lt_i--) {
-    if ($lt_i != "" && $lt_i != ".") {
-      if ($lt_i == "..") {
-        lt_count++;
-      } else {
-        if (lt_count == 0) {
-          lt_foo="/" $lt_i lt_foo;
-        } else {
-          lt_count--;
-        }
-      }
-    }
-  }
-  if (lt_foo != "") { lt_freq[[lt_foo]]++; }
-  if (lt_freq[[lt_foo]] == 1) { print lt_foo; }
-}'`
-  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
-else
-  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
-fi])
-library_names_spec=
-libname_spec='lib$name'
-soname_spec=
-shrext_cmds=".so"
-postinstall_cmds=
-postuninstall_cmds=
-finish_cmds=
-finish_eval=
-shlibpath_var=
-shlibpath_overrides_runpath=unknown
-version_type=none
-dynamic_linker="$host_os ld.so"
-sys_lib_dlsearch_path_spec="/lib /usr/lib"
-need_lib_prefix=unknown
-hardcode_into_libs=no
-
-# when you set need_version to no, make sure it does not cause -set_version
-# flags to be left without arguments
-need_version=unknown
-
-case $host_os in
-aix3*)
-  version_type=linux
-  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
-  shlibpath_var=LIBPATH
-
-  # AIX 3 has no versioning support, so we append a major version to the name.
-  soname_spec='${libname}${release}${shared_ext}$major'
-  ;;
-
-aix[[4-9]]*)
-  version_type=linux
-  need_lib_prefix=no
-  need_version=no
-  hardcode_into_libs=yes
-  if test "$host_cpu" = ia64; then
-    # AIX 5 supports IA64
-    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
-    shlibpath_var=LD_LIBRARY_PATH
-  else
-    # With GCC up to 2.95.x, collect2 would create an import file
-    # for dependence libraries.  The import file would start with
-    # the line `#! .'.  This would cause the generated library to
-    # depend on `.', always an invalid library.  This was fixed in
-    # development snapshots of GCC prior to 3.0.
-    case $host_os in
-      aix4 | aix4.[[01]] | aix4.[[01]].*)
-      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
-	   echo ' yes '
-	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
-	:
-      else
-	can_build_shared=no
-      fi
-      ;;
-    esac
-    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
-    # soname into executable. Probably we can add versioning support to
-    # collect2, so additional links can be useful in future.
-    if test "$aix_use_runtimelinking" = yes; then
-      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
-      # instead of lib<name>.a to let people know that these are not
-      # typical AIX shared libraries.
-      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
-    else
-      # We preserve .a as extension for shared libraries through AIX4.2
-      # and later when we are not doing run time linking.
-      library_names_spec='${libname}${release}.a $libname.a'
-      soname_spec='${libname}${release}${shared_ext}$major'
-    fi
-    shlibpath_var=LIBPATH
-  fi
-  ;;
-
-amigaos*)
-  case $host_cpu in
-  powerpc)
-    # Since July 2007 AmigaOS4 officially supports .so libraries.
-    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
-    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
-    ;;
-  m68k)
-    library_names_spec='$libname.ixlibrary $libname.a'
-    # Create ${libname}_ixlibrary.a entries in /sys/libs.
-    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
-    ;;
-  esac
-  ;;
-
-beos*)
-  library_names_spec='${libname}${shared_ext}'
-  dynamic_linker="$host_os ld.so"
-  shlibpath_var=LIBRARY_PATH
-  ;;
-
-bsdi[[45]]*)
-  version_type=linux
-  need_version=no
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
-  soname_spec='${libname}${release}${shared_ext}$major'
-  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
-  shlibpath_var=LD_LIBRARY_PATH
-  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
-  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
-  # the default ld.so.conf also contains /usr/contrib/lib and
-  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
-  # libtool to hard-code these into programs
-  ;;
-
-cygwin* | mingw* | pw32* | cegcc*)
-  version_type=windows
-  shrext_cmds=".dll"
-  need_version=no
-  need_lib_prefix=no
-
-  case $GCC,$host_os in
-  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
-    library_names_spec='$libname.dll.a'
-    # DLL is installed to $(libdir)/../bin by postinstall_cmds
-    postinstall_cmds='base_file=`basename \${file}`~
-      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
-      dldir=$destdir/`dirname \$dlpath`~
-      test -d \$dldir || mkdir -p \$dldir~
-      $install_prog $dir/$dlname \$dldir/$dlname~
-      chmod a+x \$dldir/$dlname~
-      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
-        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
-      fi'
-    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
-      dlpath=$dir/\$dldll~
-       $RM \$dlpath'
-    shlibpath_overrides_runpath=yes
-
-    case $host_os in
-    cygwin*)
-      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
-      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
-      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
-      ;;
-    mingw* | cegcc*)
-      # MinGW DLLs use traditional 'lib' prefix
-      soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
-      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
-      if $ECHO "$sys_lib_search_path_spec" | [$GREP ';[c-zC-Z]:/' >/dev/null]; then
-        # It is most probably a Windows format PATH printed by
-        # mingw gcc, but we are running on Cygwin. Gcc prints its search
-        # path with ; separators, and with drive letters. We can handle the
-        # drive letters (cygwin fileutils understands them), so leave them,
-        # especially as we might pass files found there to a mingw objdump,
-        # which wouldn't understand a cygwinified path. Ahh.
-        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
-      else
-        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
-      fi
-      ;;
-    pw32*)
-      # pw32 DLLs use 'pw' prefix rather than 'lib'
-      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
-      ;;
-    esac
-    ;;
-
-  *)
-    library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib'
-    ;;
-  esac
-  dynamic_linker='Win32 ld.exe'
-  # FIXME: first we should search . and the directory the executable is in
-  shlibpath_var=PATH
-  ;;
-
-darwin* | rhapsody*)
-  dynamic_linker="$host_os dyld"
-  version_type=darwin
-  need_lib_prefix=no
-  need_version=no
-  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
-  soname_spec='${libname}${release}${major}$shared_ext'
-  shlibpath_overrides_runpath=yes
-  shlibpath_var=DYLD_LIBRARY_PATH
-  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
-m4_if([$1], [],[
-  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"])
-  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
-  ;;
-
-freebsd1*)
-  dynamic_linker=no
-  ;;
-
-freebsd* | dragonfly*)
-  # DragonFly does not have aout.  When/if they implement a new
-  # versioning mechanism, adjust this.
-  if test -x /usr/bin/objformat; then
-    objformat=`/usr/bin/objformat`
-  else
-    case $host_os in
-    freebsd[[123]]*) objformat=aout ;;
-    *) objformat=elf ;;
-    esac
-  fi
-  version_type=freebsd-$objformat
-  case $version_type in
-    freebsd-elf*)
-      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
-      need_version=no
-      need_lib_prefix=no
-      ;;
-    freebsd-*)
-      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
-      need_version=yes
-      ;;
-  esac
-  shlibpath_var=LD_LIBRARY_PATH
-  case $host_os in
-  freebsd2*)
-    shlibpath_overrides_runpath=yes
-    ;;
-  freebsd3.[[01]]* | freebsdelf3.[[01]]*)
-    shlibpath_overrides_runpath=yes
-    hardcode_into_libs=yes
-    ;;
-  freebsd3.[[2-9]]* | freebsdelf3.[[2-9]]* | \
-  freebsd4.[[0-5]] | freebsdelf4.[[0-5]] | freebsd4.1.1 | freebsdelf4.1.1)
-    shlibpath_overrides_runpath=no
-    hardcode_into_libs=yes
-    ;;
-  *) # from 4.6 on, and DragonFly
-    shlibpath_overrides_runpath=yes
-    hardcode_into_libs=yes
-    ;;
-  esac
-  ;;
-
-gnu*)
-  version_type=linux
-  need_lib_prefix=no
-  need_version=no
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
-  soname_spec='${libname}${release}${shared_ext}$major'
-  shlibpath_var=LD_LIBRARY_PATH
-  hardcode_into_libs=yes
-  ;;
-
-interix[[3-9]]*)
-  version_type=linux
-  need_lib_prefix=no
-  need_version=no
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
-  soname_spec='${libname}${release}${shared_ext}$major'
-  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
-  shlibpath_var=LD_LIBRARY_PATH
-  shlibpath_overrides_runpath=no
-  hardcode_into_libs=yes
-  ;;
-
-# No shared lib support for Linux oldld, aout, or coff.
-linux*oldld* | linux*aout* | linux*coff*)
-  dynamic_linker=no
-  ;;
-
-# This must be Linux ELF.
-linux* | k*bsd*-gnu | kopensolaris*-gnu)
-  version_type=linux
-  need_lib_prefix=no
-  need_version=no
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
-  soname_spec='${libname}${release}${shared_ext}$major'
-  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
-  shlibpath_var=LD_LIBRARY_PATH
-  shlibpath_overrides_runpath=no
-  # Some binutils ld are patched to set DT_RUNPATH
-  save_LDFLAGS=$LDFLAGS
-  save_libdir=$libdir
-  eval "libdir=/foo; wl=\"$_LT_TAGVAR(lt_prog_compiler_wl, $1)\"; \
-       LDFLAGS=\"\$LDFLAGS $_LT_TAGVAR(hardcode_libdir_flag_spec, $1)\""
-  AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
-    [AS_IF([ ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null],
-       [shlibpath_overrides_runpath=yes])])
-  LDFLAGS=$save_LDFLAGS
-  libdir=$save_libdir
-
-  # This implies no fast_install, which is unacceptable.
-  # Some rework will be needed to allow for fast_install
-  # before this can be enabled.
-  hardcode_into_libs=yes
-
-  # Append ld.so.conf contents to the search path
-  if test -f /etc/ld.so.conf; then
-    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[	 ]*hwcap[	 ]/d;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
-    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
-  fi
-
-  # We used to test for /lib/ld.so.1 and disable shared libraries on
-  # powerpc, because MkLinux only supported shared libraries with the
-  # GNU dynamic linker.  Since this was broken with cross compilers,
-  # most powerpc-linux boxes support dynamic linking these days and
-  # people can always --disable-shared, the test was removed, and we
-  # assume the GNU/Linux dynamic linker is in use.
-  dynamic_linker='GNU/Linux ld.so'
-  ;;
-
-netbsdelf*-gnu)
-  version_type=linux
-  need_lib_prefix=no
-  need_version=no
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
-  soname_spec='${libname}${release}${shared_ext}$major'
-  shlibpath_var=LD_LIBRARY_PATH
-  shlibpath_overrides_runpath=no
-  hardcode_into_libs=yes
-  dynamic_linker='NetBSD ld.elf_so'
-  ;;
-
-netbsd*)
-  version_type=sunos
-  need_lib_prefix=no
-  need_version=no
-  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
-    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
-    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
-    dynamic_linker='NetBSD (a.out) ld.so'
-  else
-    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
-    soname_spec='${libname}${release}${shared_ext}$major'
-    dynamic_linker='NetBSD ld.elf_so'
-  fi
-  shlibpath_var=LD_LIBRARY_PATH
-  shlibpath_overrides_runpath=yes
-  hardcode_into_libs=yes
-  ;;
-
-newsos6)
-  version_type=linux
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
-  shlibpath_var=LD_LIBRARY_PATH
-  shlibpath_overrides_runpath=yes
-  ;;
-
-*nto* | *qnx*)
-  version_type=qnx
-  need_lib_prefix=no
-  need_version=no
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
-  soname_spec='${libname}${release}${shared_ext}$major'
-  shlibpath_var=LD_LIBRARY_PATH
-  shlibpath_overrides_runpath=no
-  hardcode_into_libs=yes
-  dynamic_linker='ldqnx.so'
-  ;;
-
-openbsd*)
-  version_type=sunos
-  sys_lib_dlsearch_path_spec="/usr/lib"
-  need_lib_prefix=no
-  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
-  case $host_os in
-    openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
-    *)				need_version=no  ;;
-  esac
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
-  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
-  shlibpath_var=LD_LIBRARY_PATH
-  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
-    case $host_os in
-      openbsd2.[[89]] | openbsd2.[[89]].*)
-	shlibpath_overrides_runpath=no
-	;;
-      *)
-	shlibpath_overrides_runpath=yes
-	;;
-      esac
-  else
-    shlibpath_overrides_runpath=yes
-  fi
-  ;;
-
-os2*)
-  libname_spec='$name'
-  shrext_cmds=".dll"
-  need_lib_prefix=no
-  library_names_spec='$libname${shared_ext} $libname.a'
-  dynamic_linker='OS/2 ld.exe'
-  shlibpath_var=LIBPATH
-  ;;
-
-rdos*)
-  dynamic_linker=no
-  ;;
-
-solaris*)
-  version_type=linux
-  need_lib_prefix=no
-  need_version=no
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
-  soname_spec='${libname}${release}${shared_ext}$major'
-  shlibpath_var=LD_LIBRARY_PATH
-  shlibpath_overrides_runpath=yes
-  hardcode_into_libs=yes
-  # ldd complains unless libraries are executable
-  postinstall_cmds='chmod +x $lib'
-  ;;
-
-sunos4*)
-  version_type=sunos
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
-  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
-  shlibpath_var=LD_LIBRARY_PATH
-  shlibpath_overrides_runpath=yes
-  if test "$with_gnu_ld" = yes; then
-    need_lib_prefix=no
-  fi
-  need_version=yes
-  ;;
-
-sysv4 | sysv4.3*)
-  version_type=linux
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
-  soname_spec='${libname}${release}${shared_ext}$major'
-  shlibpath_var=LD_LIBRARY_PATH
-  case $host_vendor in
-    sni)
-      shlibpath_overrides_runpath=no
-      need_lib_prefix=no
-      runpath_var=LD_RUN_PATH
-      ;;
-    siemens)
-      need_lib_prefix=no
-      ;;
-    motorola)
-      need_lib_prefix=no
-      need_version=no
-      shlibpath_overrides_runpath=no
-      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
-      ;;
-  esac
-  ;;
-
-sysv4*MP*)
-  if test -d /usr/nec ;then
-    version_type=linux
-    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
-    soname_spec='$libname${shared_ext}.$major'
-    shlibpath_var=LD_LIBRARY_PATH
-  fi
-  ;;
-
-sysv5* | unixware* | OpenUNIX* | sysv4*uw2*)
-  version_type=freebsd-elf
-  need_lib_prefix=no
-  need_version=no
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
-  soname_spec='${libname}${release}${shared_ext}$major'
-  shlibpath_var=LD_LIBRARY_PATH
-  shlibpath_overrides_runpath=yes
-  hardcode_into_libs=yes
-  if test "$with_gnu_ld" = yes; then
-    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
-  else
-    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
-  fi
-  sys_lib_dlsearch_path_spec='/usr/lib'
-  ;;
-
-tpf*)
-  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
-  version_type=linux
-  need_lib_prefix=no
-  need_version=no
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
-  shlibpath_var=LD_LIBRARY_PATH
-  shlibpath_overrides_runpath=no
-  hardcode_into_libs=yes
-  ;;
-
-uts4*)
-  version_type=linux
-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
-  soname_spec='${libname}${release}${shared_ext}$major'
-  shlibpath_var=LD_LIBRARY_PATH
-  ;;
-
-*)
-  dynamic_linker=no
-  ;;
-esac
-AC_MSG_RESULT([$dynamic_linker])
-test "$dynamic_linker" = no && can_build_shared=no
-
-variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
-if test "$GCC" = yes; then
-  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
-fi
-
-if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
-  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
-fi
-if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
-  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
-fi
-
-_LT_DECL([], [variables_saved_for_relink], [1],
-    [Variables whose values should be saved in libtool wrapper scripts and
-    restored at link time])
-_LT_DECL([], [need_lib_prefix], [0],
-    [Do we need the "lib" prefix for modules?])
-_LT_DECL([], [need_version], [0], [Do we need a version for libraries?])
-_LT_DECL([], [version_type], [0], [Library versioning type])
-_LT_DECL([], [runpath_var], [0],  [Shared library runtime path variable])
-_LT_DECL([], [shlibpath_var], [0],[Shared library path variable])
-_LT_DECL([], [shlibpath_overrides_runpath], [0],
-    [Is shlibpath searched before the hard-coded library search path?])
-_LT_DECL([], [libname_spec], [1], [Format of library name prefix])
-_LT_DECL([], [library_names_spec], [1],
-    [[List of archive names.  First name is the real one, the rest are links.
-    The last name is the one that the linker finds with -lNAME]])
-_LT_DECL([], [soname_spec], [1],
-    [[The coded name of the library, if different from the real name]])
-_LT_DECL([], [postinstall_cmds], [2],
-    [Command to use after installation of a shared archive])
-_LT_DECL([], [postuninstall_cmds], [2],
-    [Command to use after uninstallation of a shared archive])
-_LT_DECL([], [finish_cmds], [2],
-    [Commands used to finish a libtool library installation in a directory])
-_LT_DECL([], [finish_eval], [1],
-    [[As "finish_cmds", except a single script fragment to be evaled but
-    not shown]])
-_LT_DECL([], [hardcode_into_libs], [0],
-    [Whether we should hardcode library paths into libraries])
-_LT_DECL([], [sys_lib_search_path_spec], [2],
-    [Compile-time system search path for libraries])
-_LT_DECL([], [sys_lib_dlsearch_path_spec], [2],
-    [Run-time system search path for libraries])
-])# _LT_SYS_DYNAMIC_LINKER
-
-
-# _LT_PATH_TOOL_PREFIX(TOOL)
-# --------------------------
-# find a file program which can recognize shared library
-AC_DEFUN([_LT_PATH_TOOL_PREFIX],
-[m4_require([_LT_DECL_EGREP])dnl
-AC_MSG_CHECKING([for $1])
-AC_CACHE_VAL(lt_cv_path_MAGIC_CMD,
-[case $MAGIC_CMD in
-[[\\/*] |  ?:[\\/]*])
-  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
-  ;;
-*)
-  lt_save_MAGIC_CMD="$MAGIC_CMD"
-  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
-dnl $ac_dummy forces splitting on constant user-supplied paths.
-dnl POSIX.2 word splitting is done only on the output of word expansions,
-dnl not every word.  This closes a longstanding sh security hole.
-  ac_dummy="m4_if([$2], , $PATH, [$2])"
-  for ac_dir in $ac_dummy; do
-    IFS="$lt_save_ifs"
-    test -z "$ac_dir" && ac_dir=.
-    if test -f $ac_dir/$1; then
-      lt_cv_path_MAGIC_CMD="$ac_dir/$1"
-      if test -n "$file_magic_test_file"; then
-	case $deplibs_check_method in
-	"file_magic "*)
-	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
-	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
-	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
-	    $EGREP "$file_magic_regex" > /dev/null; then
-	    :
-	  else
-	    cat <<_LT_EOF 1>&2
-
-*** Warning: the command libtool uses to detect shared libraries,
-*** $file_magic_cmd, produces output that libtool cannot recognize.
-*** The result is that libtool may fail to recognize shared libraries
-*** as such.  This will affect the creation of libtool libraries that
-*** depend on shared libraries, but programs linked with such libtool
-*** libraries will work regardless of this problem.  Nevertheless, you
-*** may want to report the problem to your system manager and/or to
-*** bug-libtool@gnu.org
-
-_LT_EOF
-	  fi ;;
-	esac
-      fi
-      break
-    fi
-  done
-  IFS="$lt_save_ifs"
-  MAGIC_CMD="$lt_save_MAGIC_CMD"
-  ;;
-esac])
-MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
-if test -n "$MAGIC_CMD"; then
-  AC_MSG_RESULT($MAGIC_CMD)
-else
-  AC_MSG_RESULT(no)
-fi
-_LT_DECL([], [MAGIC_CMD], [0],
-	 [Used to examine libraries when file_magic_cmd begins with "file"])dnl
-])# _LT_PATH_TOOL_PREFIX
-
-# Old name:
-AU_ALIAS([AC_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX])
-dnl aclocal-1.4 backwards compatibility:
-dnl AC_DEFUN([AC_PATH_TOOL_PREFIX], [])
-
-
-# _LT_PATH_MAGIC
-# --------------
-# find a file program which can recognize a shared library
-m4_defun([_LT_PATH_MAGIC],
-[_LT_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH)
-if test -z "$lt_cv_path_MAGIC_CMD"; then
-  if test -n "$ac_tool_prefix"; then
-    _LT_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH)
-  else
-    MAGIC_CMD=:
-  fi
-fi
-])# _LT_PATH_MAGIC
-
-
-# LT_PATH_LD
-# ----------
-# find the pathname to the GNU or non-GNU linker
-AC_DEFUN([LT_PATH_LD],
-[AC_REQUIRE([AC_PROG_CC])dnl
-AC_REQUIRE([AC_CANONICAL_HOST])dnl
-AC_REQUIRE([AC_CANONICAL_BUILD])dnl
-m4_require([_LT_DECL_SED])dnl
-m4_require([_LT_DECL_EGREP])dnl
-
-AC_ARG_WITH([gnu-ld],
-    [AS_HELP_STRING([--with-gnu-ld],
-	[assume the C compiler uses GNU ld @<:@default=no@:>@])],
-    [test "$withval" = no || with_gnu_ld=yes],
-    [with_gnu_ld=no])dnl
-
-ac_prog=ld
-if test "$GCC" = yes; then
-  # Check if gcc -print-prog-name=ld gives a path.
-  AC_MSG_CHECKING([for ld used by $CC])
-  case $host in
-  *-*-mingw*)
-    # gcc leaves a trailing carriage return which upsets mingw
-    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
-  *)
-    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
-  esac
-  case $ac_prog in
-    # Accept absolute paths.
-    [[\\/]]* | ?:[[\\/]]*)
-      re_direlt='/[[^/]][[^/]]*/\.\./'
-      # Canonicalize the pathname of ld
-      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
-      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
-	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
-      done
-      test -z "$LD" && LD="$ac_prog"
-      ;;
-  "")
-    # If it fails, then pretend we aren't using GCC.
-    ac_prog=ld
-    ;;
-  *)
-    # If it is relative, then search for the first ld in PATH.
-    with_gnu_ld=unknown
-    ;;
-  esac
-elif test "$with_gnu_ld" = yes; then
-  AC_MSG_CHECKING([for GNU ld])
-else
-  AC_MSG_CHECKING([for non-GNU ld])
-fi
-AC_CACHE_VAL(lt_cv_path_LD,
-[if test -z "$LD"; then
-  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
-  for ac_dir in $PATH; do
-    IFS="$lt_save_ifs"
-    test -z "$ac_dir" && ac_dir=.
-    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
-      lt_cv_path_LD="$ac_dir/$ac_prog"
-      # Check to see if the program is GNU ld.  I'd rather use --version,
-      # but apparently some variants of GNU ld only accept -v.
-      # Break only if it was the GNU/non-GNU ld that we prefer.
-      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
-      *GNU* | *'with BFD'*)
-	test "$with_gnu_ld" != no && break
-	;;
-      *)
-	test "$with_gnu_ld" != yes && break
-	;;
-      esac
-    fi
-  done
-  IFS="$lt_save_ifs"
-else
-  lt_cv_path_LD="$LD" # Let the user override the test with a path.
-fi])
-LD="$lt_cv_path_LD"
-if test -n "$LD"; then
-  AC_MSG_RESULT($LD)
-else
-  AC_MSG_RESULT(no)
-fi
-test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
-_LT_PATH_LD_GNU
-AC_SUBST([LD])
-
-_LT_TAGDECL([], [LD], [1], [The linker used to build libraries])
-])# LT_PATH_LD
-
-# Old names:
-AU_ALIAS([AM_PROG_LD], [LT_PATH_LD])
-AU_ALIAS([AC_PROG_LD], [LT_PATH_LD])
-dnl aclocal-1.4 backwards compatibility:
-dnl AC_DEFUN([AM_PROG_LD], [])
-dnl AC_DEFUN([AC_PROG_LD], [])
-
-
-# _LT_PATH_LD_GNU
-#- --------------
-m4_defun([_LT_PATH_LD_GNU],
-[AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld,
-[# I'd rather use --version here, but apparently some GNU lds only accept -v.
-case `$LD -v 2>&1 </dev/null` in
-*GNU* | *'with BFD'*)
-  lt_cv_prog_gnu_ld=yes
-  ;;
-*)
-  lt_cv_prog_gnu_ld=no
-  ;;
-esac])
-with_gnu_ld=$lt_cv_prog_gnu_ld
-])# _LT_PATH_LD_GNU
-
-
-# _LT_CMD_RELOAD
-# --------------
-# find reload flag for linker
-#   -- PORTME Some linkers may need a different reload flag.
-m4_defun([_LT_CMD_RELOAD],
-[AC_CACHE_CHECK([for $LD option to reload object files],
-  lt_cv_ld_reload_flag,
-  [lt_cv_ld_reload_flag='-r'])
-reload_flag=$lt_cv_ld_reload_flag
-case $reload_flag in
-"" | " "*) ;;
-*) reload_flag=" $reload_flag" ;;
-esac
-reload_cmds='$LD$reload_flag -o $output$reload_objs'
-case $host_os in
-  darwin*)
-    if test "$GCC" = yes; then
-      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
-    else
-      reload_cmds='$LD$reload_flag -o $output$reload_objs'
-    fi
-    ;;
-esac
-_LT_DECL([], [reload_flag], [1], [How to create reloadable object files])dnl
-_LT_DECL([], [reload_cmds], [2])dnl
-])# _LT_CMD_RELOAD
-
-
-# _LT_CHECK_MAGIC_METHOD
-# ----------------------
-# how to check for library dependencies
-#  -- PORTME fill in with the dynamic library characteristics
-m4_defun([_LT_CHECK_MAGIC_METHOD],
-[m4_require([_LT_DECL_EGREP])
-m4_require([_LT_DECL_OBJDUMP])
-AC_CACHE_CHECK([how to recognize dependent libraries],
-lt_cv_deplibs_check_method,
-[lt_cv_file_magic_cmd='$MAGIC_CMD'
-lt_cv_file_magic_test_file=
-lt_cv_deplibs_check_method='unknown'
-# Need to set the preceding variable on all platforms that support
-# interlibrary dependencies.
-# 'none' -- dependencies not supported.
-# `unknown' -- same as none, but documents that we really don't know.
-# 'pass_all' -- all dependencies passed with no checks.
-# 'test_compile' -- check by making test program.
-# 'file_magic [[regex]]' -- check by looking for files in library path
-# which responds to the $file_magic_cmd with a given extended regex.
-# If you have `file' or equivalent on your system and you're not sure
-# whether `pass_all' will *always* work, you probably want this one.
-
-case $host_os in
-aix[[4-9]]*)
-  lt_cv_deplibs_check_method=pass_all
-  ;;
-
-beos*)
-  lt_cv_deplibs_check_method=pass_all
-  ;;
-
-bsdi[[45]]*)
-  lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)'
-  lt_cv_file_magic_cmd='/usr/bin/file -L'
-  lt_cv_file_magic_test_file=/shlib/libc.so
-  ;;
-
-cygwin*)
-  # func_win32_libid is a shell function defined in ltmain.sh
-  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
-  lt_cv_file_magic_cmd='func_win32_libid'
-  ;;
-
-mingw* | pw32*)
-  # Base MSYS/MinGW do not provide the 'file' command needed by
-  # func_win32_libid shell function, so use a weaker test based on 'objdump',
-  # unless we find 'file', for example because we are cross-compiling.
-  if ( file / ) >/dev/null 2>&1; then
-    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
-    lt_cv_file_magic_cmd='func_win32_libid'
-  else
-    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
-    lt_cv_file_magic_cmd='$OBJDUMP -f'
-  fi
-  ;;
-
-cegcc)
-  # use the weaker test based on 'objdump'. See mingw*.
-  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
-  lt_cv_file_magic_cmd='$OBJDUMP -f'
-  ;;
-
-darwin* | rhapsody*)
-  lt_cv_deplibs_check_method=pass_all
-  ;;
-
-freebsd* | dragonfly*)
-  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
-    case $host_cpu in
-    i*86 )
-      # Not sure whether the presence of OpenBSD here was a mistake.
-      # Let's accept both of them until this is cleared up.
-      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand paged shared library'
-      lt_cv_file_magic_cmd=/usr/bin/file
-      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
-      ;;
-    esac
-  else
-    lt_cv_deplibs_check_method=pass_all
-  fi
-  ;;
-
-gnu*)
-  lt_cv_deplibs_check_method=pass_all
-  ;;
-
-interix[[3-9]]*)
-  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
-  lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|\.a)$'
-  ;;
-
-# This must be Linux ELF.
-linux* | k*bsd*-gnu | kopensolaris*-gnu)
-  lt_cv_deplibs_check_method=pass_all
-  ;;
-
-netbsd* | netbsdelf*-gnu)
-  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
-    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
-  else
-    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$'
-  fi
-  ;;
-
-newos6*)
-  lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)'
-  lt_cv_file_magic_cmd=/usr/bin/file
-  lt_cv_file_magic_test_file=/usr/lib/libnls.so
-  ;;
-
-*nto* | *qnx*)
-  lt_cv_deplibs_check_method=pass_all
-  ;;
-
-openbsd*)
-  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
-    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$'
-  else
-    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
-  fi
-  ;;
-
-rdos*)
-  lt_cv_deplibs_check_method=pass_all
-  ;;
-
-solaris*)
-  lt_cv_deplibs_check_method=pass_all
-  ;;
-
-sysv5* | unixware* | OpenUNIX* | sysv4*uw2*)
-  lt_cv_deplibs_check_method=pass_all
-  ;;
-
-sysv4 | sysv4.3*)
-  case $host_vendor in
-  motorola)
-    lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib) M[[0-9]][[0-9]]* Version [[0-9]]'
-    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
-    ;;
-  ncr)
-    lt_cv_deplibs_check_method=pass_all
-    ;;
-  sequent)
-    lt_cv_file_magic_cmd='/bin/file'
-    lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )'
-    ;;
-  sni)
-    lt_cv_file_magic_cmd='/bin/file'
-    lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib"
-    lt_cv_file_magic_test_file=/lib/libc.so
-    ;;
-  siemens)
-    lt_cv_deplibs_check_method=pass_all
-    ;;
-  pc)
-    lt_cv_deplibs_check_method=pass_all
-    ;;
-  esac
-  ;;
-
-tpf*)
-  lt_cv_deplibs_check_method=pass_all
-  ;;
-esac
-])
-file_magic_cmd=$lt_cv_file_magic_cmd
-deplibs_check_method=$lt_cv_deplibs_check_method
-test -z "$deplibs_check_method" && deplibs_check_method=unknown
-
-_LT_DECL([], [deplibs_check_method], [1],
-    [Method to check whether dependent libraries are shared objects])
-_LT_DECL([], [file_magic_cmd], [1],
-    [Command to use when deplibs_check_method == "file_magic"])
-])# _LT_CHECK_MAGIC_METHOD
-
-
-# LT_PATH_NM
-# ----------
-# find the pathname to a BSD- or MS-compatible name lister
-AC_DEFUN([LT_PATH_NM],
-[AC_REQUIRE([AC_PROG_CC])dnl
-AC_CACHE_CHECK([for BSD- or MS-compatible name lister (nm)], lt_cv_path_NM,
-[if test -n "$NM"; then
-  # Let the user override the test.
-  lt_cv_path_NM="$NM"
-else
-  lt_nm_to_check="${ac_tool_prefix}nm"
-  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
-    lt_nm_to_check="$lt_nm_to_check nm"
-  fi
-  for lt_tmp_nm in $lt_nm_to_check; do
-    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
-    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
-      IFS="$lt_save_ifs"
-      test -z "$ac_dir" && ac_dir=.
-      tmp_nm="$ac_dir/$lt_tmp_nm"
-      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
-	# Check to see if the nm accepts a BSD-compat flag.
-	case `"$tmp_nm" -B /dev/null 2>&1` in
-	*'Invalid file or object type'*)
-	  lt_cv_path_NM="$tmp_nm -B"
-	  break
-	  ;;
-	*)
-	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
-	  */dev/null*)
-	    lt_cv_path_NM="$tmp_nm -p"
-	    break
-	    ;;
-	  *)
-	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
-	    continue # so that we can try to find one that supports BSD flags
-	    ;;
-	  esac
-	  ;;
-	esac
-      fi
-    done
-    IFS="$lt_save_ifs"
-  done
-  : ${lt_cv_path_NM=no}
-fi])
-if test "$lt_cv_path_NM" != "no"; then
-  NM="$lt_cv_path_NM"
-else
-  # Didn't find any BSD compatible name lister, look for dumpbin.
-  AC_CHECK_TOOLS(DUMPBIN, ["dumpbin -symbols" "link -dump -symbols"], :)
-  AC_SUBST([DUMPBIN])
-  if test "$DUMPBIN" != ":"; then
-    NM="$DUMPBIN"
-  fi
-fi
-test -z "$NM" && NM=nm
-AC_SUBST([NM])
-_LT_DECL([], [NM], [1], [A BSD- or MS-compatible name lister])dnl
-
-AC_CACHE_CHECK([the name lister ($NM) interface], [lt_cv_nm_interface],
-  [lt_cv_nm_interface="BSD nm"
-  echo "int some_variable = 0;" > conftest.$ac_ext
-  (eval echo "\"\$as_me:__oline__: $ac_compile\"" >&AS_MESSAGE_LOG_FD)
-  (eval "$ac_compile" 2>conftest.err)
-  cat conftest.err >&AS_MESSAGE_LOG_FD
-  (eval echo "\"\$as_me:__oline__: $NM \\\"conftest.$ac_objext\\\"\"" >&AS_MESSAGE_LOG_FD)
-  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
-  cat conftest.err >&AS_MESSAGE_LOG_FD
-  (eval echo "\"\$as_me:__oline__: output\"" >&AS_MESSAGE_LOG_FD)
-  cat conftest.out >&AS_MESSAGE_LOG_FD
-  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
-    lt_cv_nm_interface="MS dumpbin"
-  fi
-  rm -f conftest*])
-])# LT_PATH_NM
-
-# Old names:
-AU_ALIAS([AM_PROG_NM], [LT_PATH_NM])
-AU_ALIAS([AC_PROG_NM], [LT_PATH_NM])
-dnl aclocal-1.4 backwards compatibility:
-dnl AC_DEFUN([AM_PROG_NM], [])
-dnl AC_DEFUN([AC_PROG_NM], [])
-
-
-# LT_LIB_M
-# --------
-# check for math library
-AC_DEFUN([LT_LIB_M],
-[AC_REQUIRE([AC_CANONICAL_HOST])dnl
-LIBM=
-case $host in
-*-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*)
-  # These system don't have libm, or don't need it
-  ;;
-*-ncr-sysv4.3*)
-  AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw")
-  AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm")
-  ;;
-*)
-  AC_CHECK_LIB(m, cos, LIBM="-lm")
-  ;;
-esac
-AC_SUBST([LIBM])
-])# LT_LIB_M
-
-# Old name:
-AU_ALIAS([AC_CHECK_LIBM], [LT_LIB_M])
-dnl aclocal-1.4 backwards compatibility:
-dnl AC_DEFUN([AC_CHECK_LIBM], [])
-
-
-# _LT_COMPILER_NO_RTTI([TAGNAME])
-# -------------------------------
-m4_defun([_LT_COMPILER_NO_RTTI],
-[m4_require([_LT_TAG_COMPILER])dnl
-
-_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
-
-if test "$GCC" = yes; then
-  _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
-
-  _LT_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions],
-    lt_cv_prog_compiler_rtti_exceptions,
-    [-fno-rtti -fno-exceptions], [],
-    [_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)="$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"])
-fi
-_LT_TAGDECL([no_builtin_flag], [lt_prog_compiler_no_builtin_flag], [1],
-	[Compiler flag to turn off builtin functions])
-])# _LT_COMPILER_NO_RTTI
-
-
-# _LT_CMD_GLOBAL_SYMBOLS
-# ----------------------
-m4_defun([_LT_CMD_GLOBAL_SYMBOLS],
-[AC_REQUIRE([AC_CANONICAL_HOST])dnl
-AC_REQUIRE([AC_PROG_CC])dnl
-AC_REQUIRE([LT_PATH_NM])dnl
-AC_REQUIRE([LT_PATH_LD])dnl
-m4_require([_LT_DECL_SED])dnl
-m4_require([_LT_DECL_EGREP])dnl
-m4_require([_LT_TAG_COMPILER])dnl
-
-# Check for command to grab the raw symbol name followed by C symbol from nm.
-AC_MSG_CHECKING([command to parse $NM output from $compiler object])
-AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe],
-[
-# These are sane defaults that work on at least a few old systems.
-# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
-
-# Character class describing NM global symbol codes.
-symcode='[[BCDEGRST]]'
-
-# Regexp to match symbols that can be accessed directly from C.
-sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)'
-
-# Define system-specific variables.
-case $host_os in
-aix*)
-  symcode='[[BCDT]]'
-  ;;
-cygwin* | mingw* | pw32* | cegcc*)
-  symcode='[[ABCDGISTW]]'
-  ;;
-solaris*)
-  symcode='[[BDRT]]'
-  ;;
-sysv4.2uw2*)
-  symcode='[[DT]]'
-  ;;
-sysv5* | sco5v6* | unixware* | OpenUNIX*)
-  symcode='[[ABDT]]'
-  ;;
-sysv4)
-  symcode='[[DFNSTU]]'
-  ;;
-esac
-
-# If we're using GNU nm, then use its standard symbol codes.
-case `$NM -V 2>&1` in
-*GNU* | *'with BFD'*)
-  symcode='[[ABCDGIRSTW]]' ;;
-esac
-
-# Transform an extracted symbol line into a proper C declaration.
-# Some systems (esp. on ia64) link data and code symbols differently,
-# so use this general approach.
-lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
-
-# Transform an extracted symbol line into symbol name and symbol address
-lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/  {\"\2\", (void *) \&\2},/p'"
-lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([[^ ]]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \(lib[[^ ]]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
-
-# Handle CRLF in mingw tool chain
-opt_cr=
-case $build_os in
-mingw*)
-  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
-  ;;
-esac
-
-# Try without a prefix underscore, then with it.
-for ac_symprfx in "" "_"; do
-
-  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
-  symxfrm="\\1 $ac_symprfx\\2 \\2"
-
-  # Write the raw and C identifiers.
-  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
-    # Fake it for dumpbin and say T for any non-static function
-    # and D for any global variable.
-    # Also find C++ and __fastcall symbols from MSVC++,
-    # which start with @ or ?.
-    lt_cv_sys_global_symbol_pipe="$AWK ['"\
-"     {last_section=section; section=\$ 3};"\
-"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
-"     \$ 0!~/External *\|/{next};"\
-"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
-"     {if(hide[section]) next};"\
-"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
-"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
-"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
-"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
-"     ' prfx=^$ac_symprfx]"
-  else
-    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[	 ]]\($symcode$symcode*\)[[	 ]][[	 ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
-  fi
-
-  # Check to see that the pipe works correctly.
-  pipe_works=no
-
-  rm -f conftest*
-  cat > conftest.$ac_ext <<_LT_EOF
-#ifdef __cplusplus
-extern "C" {
-#endif
-char nm_test_var;
-void nm_test_func(void);
-void nm_test_func(void){}
-#ifdef __cplusplus
-}
-#endif
-int main(){nm_test_var='a';nm_test_func();return(0);}
-_LT_EOF
-
-  if AC_TRY_EVAL(ac_compile); then
-    # Now try to grab the symbols.
-    nlist=conftest.nm
-    if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) && test -s "$nlist"; then
-      # Try sorting and uniquifying the output.
-      if sort "$nlist" | uniq > "$nlist"T; then
-	mv -f "$nlist"T "$nlist"
-      else
-	rm -f "$nlist"T
-      fi
-
-      # Make sure that we snagged all the symbols we need.
-      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
-	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
-	  cat <<_LT_EOF > conftest.$ac_ext
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-_LT_EOF
-	  # Now generate the symbol file.
-	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
-
-	  cat <<_LT_EOF >> conftest.$ac_ext
-
-/* The mapping between symbol names and symbols.  */
-const struct {
-  const char *name;
-  void       *address;
-}
-lt__PROGRAM__LTX_preloaded_symbols[[]] =
-{
-  { "@PROGRAM@", (void *) 0 },
-_LT_EOF
-	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
-	  cat <<\_LT_EOF >> conftest.$ac_ext
-  {0, (void *) 0}
-};
-
-/* This works around a problem in FreeBSD linker */
-#ifdef FREEBSD_WORKAROUND
-static const void *lt_preloaded_setup() {
-  return lt__PROGRAM__LTX_preloaded_symbols;
-}
-#endif
-
-#ifdef __cplusplus
-}
-#endif
-_LT_EOF
-	  # Now try linking the two files.
-	  mv conftest.$ac_objext conftstm.$ac_objext
-	  lt_save_LIBS="$LIBS"
-	  lt_save_CFLAGS="$CFLAGS"
-	  LIBS="conftstm.$ac_objext"
-	  CFLAGS="$CFLAGS$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)"
-	  if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then
-	    pipe_works=yes
-	  fi
-	  LIBS="$lt_save_LIBS"
-	  CFLAGS="$lt_save_CFLAGS"
-	else
-	  echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD
-	fi
-      else
-	echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD
-      fi
-    else
-      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD
-    fi
-  else
-    echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD
-    cat conftest.$ac_ext >&5
-  fi
-  rm -rf conftest* conftst*
-
-  # Do not use the global_symbol_pipe unless it works.
-  if test "$pipe_works" = yes; then
-    break
-  else
-    lt_cv_sys_global_symbol_pipe=
-  fi
-done
-])
-if test -z "$lt_cv_sys_global_symbol_pipe"; then
-  lt_cv_sys_global_symbol_to_cdecl=
-fi
-if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
-  AC_MSG_RESULT(failed)
-else
-  AC_MSG_RESULT(ok)
-fi
-
-_LT_DECL([global_symbol_pipe], [lt_cv_sys_global_symbol_pipe], [1],
-    [Take the output of nm and produce a listing of raw symbols and C names])
-_LT_DECL([global_symbol_to_cdecl], [lt_cv_sys_global_symbol_to_cdecl], [1],
-    [Transform the output of nm in a proper C declaration])
-_LT_DECL([global_symbol_to_c_name_address],
-    [lt_cv_sys_global_symbol_to_c_name_address], [1],
-    [Transform the output of nm in a C name address pair])
-_LT_DECL([global_symbol_to_c_name_address_lib_prefix],
-    [lt_cv_sys_global_symbol_to_c_name_address_lib_prefix], [1],
-    [Transform the output of nm in a C name address pair when lib prefix is needed])
-]) # _LT_CMD_GLOBAL_SYMBOLS
-
-
-# _LT_COMPILER_PIC([TAGNAME])
-# ---------------------------
-m4_defun([_LT_COMPILER_PIC],
-[m4_require([_LT_TAG_COMPILER])dnl
-_LT_TAGVAR(lt_prog_compiler_wl, $1)=
-_LT_TAGVAR(lt_prog_compiler_pic, $1)=
-_LT_TAGVAR(lt_prog_compiler_static, $1)=
-
-AC_MSG_CHECKING([for $compiler option to produce PIC])
-m4_if([$1], [CXX], [
-  # C++ specific cases for pic, static, wl, etc.
-  if test "$GXX" = yes; then
-    _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
-    _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
-
-    case $host_os in
-    aix*)
-      # All AIX code is PIC.
-      if test "$host_cpu" = ia64; then
-	# AIX 5 now supports IA64 processor
-	_LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
-      fi
-      ;;
-
-    amigaos*)
-      case $host_cpu in
-      powerpc)
-            # see comment about AmigaOS4 .so support
-            _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
-        ;;
-      m68k)
-            # FIXME: we need at least 68020 code to build shared libraries, but
-            # adding the `-m68020' flag to GCC prevents building anything better,
-            # like `-m68040'.
-            _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
-        ;;
-      esac
-      ;;
-
-    beos*)
-      # PIC is the default for this OS
-      ;;
-    mingw* | cygwin* | os2* | pw32* | cegcc*)
-      # This hack is so that the source file can tell whether it is being
-      # built for inclusion in a dll (and should export symbols for example).
-      # Although the cygwin gcc ignores -fPIC, still need this for old-style
-      # (--disable-auto-import) libraries
-      m4_if([$1], [GCJ], [],
-	[_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
-      ;;
-    darwin* | rhapsody*)
-      # PIC is the default on this platform
-      # Common symbols not allowed in MH_DYLIB files
-      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
-      ;;
-    *djgpp*)
-      # DJGPP does not support shared libraries at all
-      _LT_TAGVAR(lt_prog_compiler_pic, $1)=
-      ;;
-    interix[[3-9]]*)
-      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
-      # Instead, we relocate shared libraries at runtime.
-      ;;
-    sysv4*MP*)
-      if test -d /usr/nec; then
-	_LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
-      fi
-      ;;
-    *qnx* | *nto*)
-      # QNX uses GNU C++, but need to define -shared option too, otherwise
-      # it will coredump.
-      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
-      ;;
-    *)
-      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
-      ;;
-    esac
-  else
-    case $host_os in
-      aix[[4-9]]*)
-	# All AIX code is PIC.
-	if test "$host_cpu" = ia64; then
-	  # AIX 5 now supports IA64 processor
-	  _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
-	else
-	  _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
-	fi
-	;;
-      chorus*)
-	case $cc_basename in
-	cxch68*)
-	  # Green Hills C++ Compiler
-	  # _LT_TAGVAR(lt_prog_compiler_static, $1)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
-	  ;;
-	esac
-	;;
-      freebsd* | dragonfly*)
-	# FreeBSD uses GNU C++
-	;;
-      interix*)
-	# This is c89, which is MS Visual C++ (no shared libs)
-	# Anyone wants to do a port?
-	;;
-      linux* | k*bsd*-gnu | kopensolaris*-gnu)
-	case $cc_basename in
-	  KCC*)
-	    # KAI C++ Compiler
-	    _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
-	    _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
-	    ;;
-	  ecpc* )
-	    # old Intel C++ for x86_64 which still supported -KPIC.
-	    _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
-	    _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
-	    _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
-	    ;;
-	  icpc* )
-	    # Intel C++, used to be incompatible with GCC.
-	    # ICC 10 doesn't accept -KPIC any more.
-	    _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
-	    _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
-	    _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
-	    ;;
-	  pgCC* | pgcpp*)
-	    # Portland Group C++ compiler
-	    _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
-	    _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
-	    _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
-	    ;;
-	  cxx*)
-	    # Compaq C++
-	    # Make sure the PIC flag is empty.  It appears that all Alpha
-	    # Linux objects are PIC.
-	    _LT_TAGVAR(lt_prog_compiler_pic, $1)=
-	    _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
-	    ;;
-	  xlc* | xlC*)
-	    # IBM XL 8.0 on PPC
-	    _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
-	    _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic'
-	    _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
-	    ;;
-	  *)
-	    case `$CC -V 2>&1 | sed 5q` in
-	    *Sun\ C*)
-	      # Sun C++ 5.9
-	      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
-	      _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
-	      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
-	      ;;
-	    esac
-	    ;;
-	esac
-	;;
-      lynxos*)
-	;;
-      m88k*)
-	;;
-      mvs*)
-	case $cc_basename in
-	  cxx*)
-	    _LT_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall'
-	    ;;
-	  *)
-	    ;;
-	esac
-	;;
-      netbsd* | netbsdelf*-gnu)
-	;;
-      *qnx* | *nto*)
-        # QNX uses GNU C++, but need to define -shared option too, otherwise
-        # it will coredump.
-        _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
-        ;;
-      psos*)
-	;;
-      solaris*)
-	case $cc_basename in
-	  CC*)
-	    # Sun C++ 4.2, 5.x and Centerline C++
-	    _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
-	    _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
-	    _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
-	    ;;
-	  gcx*)
-	    # Green Hills C++ Compiler
-	    _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
-	    ;;
-	  *)
-	    ;;
-	esac
-	;;
-      sunos4*)
-	case $cc_basename in
-	  CC*)
-	    # Sun C++ 4.x
-	    _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
-	    _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
-	    ;;
-	  lcc*)
-	    # Lucid
-	    _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
-	    ;;
-	  *)
-	    ;;
-	esac
-	;;
-      sysv5* | unixware* | OpenUNIX*)
-	case $cc_basename in
-	  CC*)
-	    _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
-	    _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
-	    _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
-	    ;;
-	esac
-	;;
-      vxworks*)
-	;;
-      *)
-	_LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
-	;;
-    esac
-  fi
-],
-[
-  if test "$GCC" = yes; then
-    _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
-    _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
-
-    case $host_os in
-      aix*)
-      # All AIX code is PIC.
-      if test "$host_cpu" = ia64; then
-	# AIX 5 now supports IA64 processor
-	_LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
-      fi
-      ;;
-
-    amigaos*)
-      case $host_cpu in
-      powerpc)
-            # see comment about AmigaOS4 .so support
-            _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
-        ;;
-      m68k)
-            # FIXME: we need at least 68020 code to build shared libraries, but
-            # adding the `-m68020' flag to GCC prevents building anything better,
-            # like `-m68040'.
-            _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
-        ;;
-      esac
-      ;;
-
-    beos*)
-      # PIC is the default for this OS
-      ;;
-
-    mingw* | cygwin* | pw32* | os2* | cegcc*)
-      # This hack is so that the source file can tell whether it is being
-      # built for inclusion in a dll (and should export symbols for example).
-      # Although the cygwin gcc ignores -fPIC, still need this for old-style
-      # (--disable-auto-import) libraries
-      m4_if([$1], [GCJ], [],
-	[_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
-      ;;
-
-    darwin* | rhapsody*)
-      # PIC is the default on this platform
-      # Common symbols not allowed in MH_DYLIB files
-      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
-      ;;
-
-    interix[[3-9]]*)
-      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
-      # Instead, we relocate shared libraries at runtime.
-      ;;
-
-    msdosdjgpp*)
-      # Just because we use GCC doesn't mean we suddenly get shared libraries
-      # on systems that don't support them.
-      _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
-      enable_shared=no
-      ;;
-
-    *nto* | *qnx*)
-      # QNX uses GNU C++, but need to define -shared option too, otherwise
-      # it will coredump.
-      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
-      ;;
-
-    sysv4*MP*)
-      if test -d /usr/nec; then
-	_LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
-      fi
-      ;;
-
-    *)
-      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
-      ;;
-    esac
-  else
-    # PORTME Check for flag to pass linker flags through the system compiler.
-    case $host_os in
-    aix*)
-      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
-      if test "$host_cpu" = ia64; then
-	# AIX 5 now supports IA64 processor
-	_LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
-      else
-	_LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
-      fi
-      ;;
-
-    mingw* | cygwin* | pw32* | os2* | cegcc*)
-      # This hack is so that the source file can tell whether it is being
-      # built for inclusion in a dll (and should export symbols for example).
-      m4_if([$1], [GCJ], [],
-	[_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
-      ;;
-
-    linux* | k*bsd*-gnu | kopensolaris*-gnu)
-      case $cc_basename in
-      # old Intel for x86_64 which still supported -KPIC.
-      ecc*)
-	_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
-	_LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
-	_LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
-        ;;
-      # icc used to be incompatible with GCC.
-      # ICC 10 doesn't accept -KPIC any more.
-      icc* | ifort*)
-	_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
-	_LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
-	_LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
-        ;;
-      # Lahey Fortran 8.1.
-      lf95*)
-	_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
-	_LT_TAGVAR(lt_prog_compiler_pic, $1)='--shared'
-	_LT_TAGVAR(lt_prog_compiler_static, $1)='--static'
-	;;
-      pgcc* | pgf77* | pgf90* | pgf95*)
-        # Portland Group compilers (*not* the Pentium gcc compiler,
-	# which looks to be a dead project)
-	_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
-	_LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
-	_LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
-        ;;
-      ccc*)
-        _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
-        # All Alpha code is PIC.
-        _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
-        ;;
-      xl*)
-	# IBM XL C 8.0/Fortran 10.1 on PPC
-	_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
-	_LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic'
-	_LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
-	;;
-      *)
-	case `$CC -V 2>&1 | sed 5q` in
-	*Sun\ C*)
-	  # Sun C 5.9
-	  _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
-	  _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
-	  _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
-	  ;;
-	*Sun\ F*)
-	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
-	  _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
-	  _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
-	  _LT_TAGVAR(lt_prog_compiler_wl, $1)=''
-	  ;;
-	esac
-	;;
-      esac
-      ;;
-
-    newsos6)
-      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
-      _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
-      ;;
-
-    *nto* | *qnx*)
-      # QNX uses GNU C++, but need to define -shared option too, otherwise
-      # it will coredump.
-      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
-      ;;
-
-    rdos*)
-      _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
-      ;;
-
-    solaris*)
-      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
-      _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
-      case $cc_basename in
-      f77* | f90* | f95*)
-	_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';;
-      *)
-	_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';;
-      esac
-      ;;
-
-    sunos4*)
-      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
-      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
-      _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
-      ;;
-
-    sysv4 | sysv4.2uw2* | sysv4.3*)
-      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
-      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
-      _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
-      ;;
-
-    sysv4*MP*)
-      if test -d /usr/nec ;then
-	_LT_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic'
-	_LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
-      fi
-      ;;
-
-    sysv5* | unixware* | OpenUNIX*)
-      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
-      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
-      _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
-      ;;
-
-    unicos*)
-      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
-      _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
-      ;;
-
-    uts4*)
-      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
-      _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
-      ;;
-
-    *)
-      _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
-      ;;
-    esac
-  fi
-])
-case $host_os in
-  # For platforms which do not support PIC, -DPIC is meaningless:
-  *djgpp*)
-    _LT_TAGVAR(lt_prog_compiler_pic, $1)=
-    ;;
-  *)
-    _LT_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])"
-    ;;
-esac
-AC_MSG_RESULT([$_LT_TAGVAR(lt_prog_compiler_pic, $1)])
-_LT_TAGDECL([wl], [lt_prog_compiler_wl], [1],
-	[How to pass a linker flag through the compiler])
-
-#
-# Check to make sure the PIC flag actually works.
-#
-if test -n "$_LT_TAGVAR(lt_prog_compiler_pic, $1)"; then
-  _LT_COMPILER_OPTION([if $compiler PIC flag $_LT_TAGVAR(lt_prog_compiler_pic, $1) works],
-    [_LT_TAGVAR(lt_cv_prog_compiler_pic_works, $1)],
-    [$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])], [],
-    [case $_LT_TAGVAR(lt_prog_compiler_pic, $1) in
-     "" | " "*) ;;
-     *) _LT_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_TAGVAR(lt_prog_compiler_pic, $1)" ;;
-     esac],
-    [_LT_TAGVAR(lt_prog_compiler_pic, $1)=
-     _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no])
-fi
-_LT_TAGDECL([pic_flag], [lt_prog_compiler_pic], [1],
-	[Additional compiler flags for building library objects])
-
-#
-# Check to make sure the static flag actually works.
-#
-wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1) eval lt_tmp_static_flag=\"$_LT_TAGVAR(lt_prog_compiler_static, $1)\"
-_LT_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works],
-  _LT_TAGVAR(lt_cv_prog_compiler_static_works, $1),
-  $lt_tmp_static_flag,
-  [],
-  [_LT_TAGVAR(lt_prog_compiler_static, $1)=])
-_LT_TAGDECL([link_static_flag], [lt_prog_compiler_static], [1],
-	[Compiler flag to prevent dynamic linking])
-])# _LT_COMPILER_PIC
-
-
-# _LT_LINKER_SHLIBS([TAGNAME])
-# ----------------------------
-# See if the linker supports building shared libraries.
-m4_defun([_LT_LINKER_SHLIBS],
-[AC_REQUIRE([LT_PATH_LD])dnl
-AC_REQUIRE([LT_PATH_NM])dnl
-m4_require([_LT_FILEUTILS_DEFAULTS])dnl
-m4_require([_LT_DECL_EGREP])dnl
-m4_require([_LT_DECL_SED])dnl
-m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl
-m4_require([_LT_TAG_COMPILER])dnl
-AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
-m4_if([$1], [CXX], [
-  _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
-  case $host_os in
-  aix[[4-9]]*)
-    # If we're using GNU nm, then we don't want the "-C" option.
-    # -C means demangle to AIX nm, but means don't demangle with GNU nm
-    if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
-      _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
-    else
-      _LT_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
-    fi
-    ;;
-  pw32*)
-    _LT_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds"
-  ;;
-  cygwin* | mingw* | cegcc*)
-    _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;/^.*[[ ]]__nm__/s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols'
-  ;;
-  linux* | k*bsd*-gnu)
-    _LT_TAGVAR(link_all_deplibs, $1)=no
-  ;;
-  *)
-    _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
-  ;;
-  esac
-  _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
-], [
-  runpath_var=
-  _LT_TAGVAR(allow_undefined_flag, $1)=
-  _LT_TAGVAR(always_export_symbols, $1)=no
-  _LT_TAGVAR(archive_cmds, $1)=
-  _LT_TAGVAR(archive_expsym_cmds, $1)=
-  _LT_TAGVAR(compiler_needs_object, $1)=no
-  _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
-  _LT_TAGVAR(export_dynamic_flag_spec, $1)=
-  _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
-  _LT_TAGVAR(hardcode_automatic, $1)=no
-  _LT_TAGVAR(hardcode_direct, $1)=no
-  _LT_TAGVAR(hardcode_direct_absolute, $1)=no
-  _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
-  _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
-  _LT_TAGVAR(hardcode_libdir_separator, $1)=
-  _LT_TAGVAR(hardcode_minus_L, $1)=no
-  _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
-  _LT_TAGVAR(inherit_rpath, $1)=no
-  _LT_TAGVAR(link_all_deplibs, $1)=unknown
-  _LT_TAGVAR(module_cmds, $1)=
-  _LT_TAGVAR(module_expsym_cmds, $1)=
-  _LT_TAGVAR(old_archive_from_new_cmds, $1)=
-  _LT_TAGVAR(old_archive_from_expsyms_cmds, $1)=
-  _LT_TAGVAR(thread_safe_flag_spec, $1)=
-  _LT_TAGVAR(whole_archive_flag_spec, $1)=
-  # include_expsyms should be a list of space-separated symbols to be *always*
-  # included in the symbol list
-  _LT_TAGVAR(include_expsyms, $1)=
-  # exclude_expsyms can be an extended regexp of symbols to exclude
-  # it will be wrapped by ` (' and `)$', so one must not match beginning or
-  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
-  # as well as any symbol that contains `d'.
-  _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
-  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
-  # platforms (ab)use it in PIC code, but their linkers get confused if
-  # the symbol is explicitly referenced.  Since portable code cannot
-  # rely on this symbol name, it's probably fine to never include it in
-  # preloaded symbol tables.
-  # Exclude shared library initialization/finalization symbols.
-dnl Note also adjust exclude_expsyms for C++ above.
-  extract_expsyms_cmds=
-
-  case $host_os in
-  cygwin* | mingw* | pw32* | cegcc*)
-    # FIXME: the MSVC++ port hasn't been tested in a loooong time
-    # When not using gcc, we currently assume that we are using
-    # Microsoft Visual C++.
-    if test "$GCC" != yes; then
-      with_gnu_ld=no
-    fi
-    ;;
-  interix*)
-    # we just hope/assume this is gcc and not c89 (= MSVC++)
-    with_gnu_ld=yes
-    ;;
-  openbsd*)
-    with_gnu_ld=no
-    ;;
-  linux* | k*bsd*-gnu)
-    _LT_TAGVAR(link_all_deplibs, $1)=no
-    ;;
-  esac
-
-  _LT_TAGVAR(ld_shlibs, $1)=yes
-  if test "$with_gnu_ld" = yes; then
-    # If archive_cmds runs LD, not CC, wlarc should be empty
-    wlarc='${wl}'
-
-    # Set some defaults for GNU ld with shared library support. These
-    # are reset later if shared libraries are not supported. Putting them
-    # here allows them to be overridden if necessary.
-    runpath_var=LD_RUN_PATH
-    _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
-    _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
-    # ancient GNU ld didn't support --whole-archive et. al.
-    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
-      _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
-    else
-      _LT_TAGVAR(whole_archive_flag_spec, $1)=
-    fi
-    supports_anon_versioning=no
-    case `$LD -v 2>&1` in
-      *GNU\ gold*) supports_anon_versioning=yes ;;
-      *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
-      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
-      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
-      *\ 2.11.*) ;; # other 2.11 versions
-      *) supports_anon_versioning=yes ;;
-    esac
-
-    # See if GNU ld supports shared libraries.
-    case $host_os in
-    aix[[3-9]]*)
-      # On AIX/PPC, the GNU linker is very broken
-      if test "$host_cpu" != ia64; then
-	_LT_TAGVAR(ld_shlibs, $1)=no
-	cat <<_LT_EOF 1>&2
-
-*** Warning: the GNU linker, at least up to release 2.9.1, is reported
-*** to be unable to reliably create shared libraries on AIX.
-*** Therefore, libtool is disabling shared libraries support.  If you
-*** really care for shared libraries, you may want to modify your PATH
-*** so that a non-GNU linker is found, and then restart.
-
-_LT_EOF
-      fi
-      ;;
-
-    amigaos*)
-      case $host_cpu in
-      powerpc)
-            # see comment about AmigaOS4 .so support
-            _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
-            _LT_TAGVAR(archive_expsym_cmds, $1)=''
-        ;;
-      m68k)
-            _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
-            _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
-            _LT_TAGVAR(hardcode_minus_L, $1)=yes
-        ;;
-      esac
-      ;;
-
-    beos*)
-      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
-	_LT_TAGVAR(allow_undefined_flag, $1)=unsupported
-	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
-	# support --undefined.  This deserves some investigation.  FIXME
-	_LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
-      else
-	_LT_TAGVAR(ld_shlibs, $1)=no
-      fi
-      ;;
-
-    cygwin* | mingw* | pw32* | cegcc*)
-      # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
-      # as there is no search path for DLLs.
-      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
-      _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
-      _LT_TAGVAR(always_export_symbols, $1)=no
-      _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
-      _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/'\'' | $SED -e '\''/^[[AITW]][[ ]]/s/.*[[ ]]//'\'' | sort | uniq > $export_symbols'
-
-      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
-        _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
-	# If the export-symbols file already is a .def file (1st line
-	# is EXPORTS), use it as is; otherwise, prepend...
-	_LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
-	  cp $export_symbols $output_objdir/$soname.def;
-	else
-	  echo EXPORTS > $output_objdir/$soname.def;
-	  cat $export_symbols >> $output_objdir/$soname.def;
-	fi~
-	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
-      else
-	_LT_TAGVAR(ld_shlibs, $1)=no
-      fi
-      ;;
-
-    interix[[3-9]]*)
-      _LT_TAGVAR(hardcode_direct, $1)=no
-      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
-      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
-      _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
-      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
-      # Instead, shared libraries are loaded at an image base (0x10000000 by
-      # default) and relocated if they conflict, which is a slow very memory
-      # consuming and fragmenting process.  To avoid this, we pick a random,
-      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
-      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
-      _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
-      _LT_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
-      ;;
-
-    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
-      tmp_diet=no
-      if test "$host_os" = linux-dietlibc; then
-	case $cc_basename in
-	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
-	esac
-      fi
-      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
-	 && test "$tmp_diet" = no
-      then
-	tmp_addflag=
-	tmp_sharedflag='-shared'
-	case $cc_basename,$host_cpu in
-        pgcc*)				# Portland Group C compiler
-	  _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
-	  tmp_addflag=' $pic_flag'
-	  ;;
-	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
-	  _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
-	  tmp_addflag=' $pic_flag -Mnomain' ;;
-	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
-	  tmp_addflag=' -i_dynamic' ;;
-	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
-	  tmp_addflag=' -i_dynamic -nofor_main' ;;
-	ifc* | ifort*)			# Intel Fortran compiler
-	  tmp_addflag=' -nofor_main' ;;
-	lf95*)				# Lahey Fortran 8.1
-	  _LT_TAGVAR(whole_archive_flag_spec, $1)=
-	  tmp_sharedflag='--shared' ;;
-	xl[[cC]]*)			# IBM XL C 8.0 on PPC (deal with xlf below)
-	  tmp_sharedflag='-qmkshrobj'
-	  tmp_addflag= ;;
-	esac
-	case `$CC -V 2>&1 | sed 5q` in
-	*Sun\ C*)			# Sun C 5.9
-	  _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
-	  _LT_TAGVAR(compiler_needs_object, $1)=yes
-	  tmp_sharedflag='-G' ;;
-	*Sun\ F*)			# Sun Fortran 8.3
-	  tmp_sharedflag='-G' ;;
-	esac
-	_LT_TAGVAR(archive_cmds, $1)='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
-
-        if test "x$supports_anon_versioning" = xyes; then
-          _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
-	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
-	    echo "local: *; };" >> $output_objdir/$libname.ver~
-	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
-        fi
-
-	case $cc_basename in
-	xlf*)
-	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
-	  _LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive'
-	  _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
-	  _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir'
-	  _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
-	  if test "x$supports_anon_versioning" = xyes; then
-	    _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
-	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
-	      echo "local: *; };" >> $output_objdir/$libname.ver~
-	      $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
-	  fi
-	  ;;
-	esac
-      else
-        _LT_TAGVAR(ld_shlibs, $1)=no
-      fi
-      ;;
-
-    netbsd* | netbsdelf*-gnu)
-      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
-	_LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
-	wlarc=
-      else
-	_LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
-	_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
-      fi
-      ;;
-
-    solaris*)
-      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
-	_LT_TAGVAR(ld_shlibs, $1)=no
-	cat <<_LT_EOF 1>&2
-
-*** Warning: The releases 2.8.* of the GNU linker cannot reliably
-*** create shared libraries on Solaris systems.  Therefore, libtool
-*** is disabling shared libraries support.  We urge you to upgrade GNU
-*** binutils to release 2.9.1 or newer.  Another option is to modify
-*** your PATH or compiler configuration so that the native linker is
-*** used, and then restart.
-
-_LT_EOF
-      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
-	_LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
-	_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
-      else
-	_LT_TAGVAR(ld_shlibs, $1)=no
-      fi
-      ;;
-
-    sysv5* | unixware* | OpenUNIX*)
-      case `$LD -v 2>&1` in
-        *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*)
-	_LT_TAGVAR(ld_shlibs, $1)=no
-	cat <<_LT_EOF 1>&2
-
-*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
-*** reliably create shared libraries on SCO systems.  Therefore, libtool
-*** is disabling shared libraries support.  We urge you to upgrade GNU
-*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
-*** your PATH or compiler configuration so that the native linker is
-*** used, and then restart.
-
-_LT_EOF
-	;;
-	*)
-	  # For security reasons, it is highly recommended that you always
-	  # use absolute paths for naming shared libraries, and exclude the
-	  # DT_RUNPATH tag from executables and libraries.  But doing so
-	  # requires that you compile everything twice, which is a pain.
-	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
-	    _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
-	    _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
-	    _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
-	  else
-	    _LT_TAGVAR(ld_shlibs, $1)=no
-	  fi
-	;;
-      esac
-      ;;
-
-    sunos4*)
-      _LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
-      wlarc=
-      _LT_TAGVAR(hardcode_direct, $1)=yes
-      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
-      ;;
-
-    *)
-      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
-	_LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
-	_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
-      else
-	_LT_TAGVAR(ld_shlibs, $1)=no
-      fi
-      ;;
-    esac
-
-    if test "$_LT_TAGVAR(ld_shlibs, $1)" = no; then
-      runpath_var=
-      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
-      _LT_TAGVAR(export_dynamic_flag_spec, $1)=
-      _LT_TAGVAR(whole_archive_flag_spec, $1)=
-    fi
-  else
-    # PORTME fill in a description of your system's linker (not GNU ld)
-    case $host_os in
-    aix3*)
-      _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
-      _LT_TAGVAR(always_export_symbols, $1)=yes
-      _LT_TAGVAR(archive_expsym_cmds, $1)='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
-      # Note: this linker hardcodes the directories in LIBPATH if there
-      # are no directories specified by -L.
-      _LT_TAGVAR(hardcode_minus_L, $1)=yes
-      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
-	# Neither direct hardcoding nor static linking is supported with a
-	# broken collect2.
-	_LT_TAGVAR(hardcode_direct, $1)=unsupported
-      fi
-      ;;
-
-    aix[[4-9]]*)
-      if test "$host_cpu" = ia64; then
-	# On IA64, the linker does run time linking by default, so we don't
-	# have to do anything special.
-	aix_use_runtimelinking=no
-	exp_sym_flag='-Bexport'
-	no_entry_flag=""
-      else
-	# If we're using GNU nm, then we don't want the "-C" option.
-	# -C means demangle to AIX nm, but means don't demangle with GNU nm
-	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
-	  _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
-	else
-	  _LT_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
-	fi
-	aix_use_runtimelinking=no
-
-	# Test if we are trying to use run time linking or normal
-	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
-	# need to do runtime linking.
-	case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
-	  for ld_flag in $LDFLAGS; do
-	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
-	    aix_use_runtimelinking=yes
-	    break
-	  fi
-	  done
-	  ;;
-	esac
-
-	exp_sym_flag='-bexport'
-	no_entry_flag='-bnoentry'
-      fi
-
-      # When large executables or shared objects are built, AIX ld can
-      # have problems creating the table of contents.  If linking a library
-      # or program results in "error TOC overflow" add -mminimal-toc to
-      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
-      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
-
-      _LT_TAGVAR(archive_cmds, $1)=''
-      _LT_TAGVAR(hardcode_direct, $1)=yes
-      _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
-      _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
-      _LT_TAGVAR(link_all_deplibs, $1)=yes
-      _LT_TAGVAR(file_list_spec, $1)='${wl}-f,'
-
-      if test "$GCC" = yes; then
-	case $host_os in aix4.[[012]]|aix4.[[012]].*)
-	# We only want to do this on AIX 4.2 and lower, the check
-	# below for broken collect2 doesn't work under 4.3+
-	  collect2name=`${CC} -print-prog-name=collect2`
-	  if test -f "$collect2name" &&
-	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
-	  then
-	  # We have reworked collect2
-	  :
-	  else
-	  # We have old collect2
-	  _LT_TAGVAR(hardcode_direct, $1)=unsupported
-	  # It fails to find uninstalled libraries when the uninstalled
-	  # path is not listed in the libpath.  Setting hardcode_minus_L
-	  # to unsupported forces relinking
-	  _LT_TAGVAR(hardcode_minus_L, $1)=yes
-	  _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
-	  _LT_TAGVAR(hardcode_libdir_separator, $1)=
-	  fi
-	  ;;
-	esac
-	shared_flag='-shared'
-	if test "$aix_use_runtimelinking" = yes; then
-	  shared_flag="$shared_flag "'${wl}-G'
-	fi
-	_LT_TAGVAR(link_all_deplibs, $1)=no
-      else
-	# not using gcc
-	if test "$host_cpu" = ia64; then
-	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
-	# chokes on -Wl,-G. The following line is correct:
-	  shared_flag='-G'
-	else
-	  if test "$aix_use_runtimelinking" = yes; then
-	    shared_flag='${wl}-G'
-	  else
-	    shared_flag='${wl}-bM:SRE'
-	  fi
-	fi
-      fi
-
-      _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-bexpall'
-      # It seems that -bexpall does not export symbols beginning with
-      # underscore (_), so it is better to generate a list of symbols to export.
-      _LT_TAGVAR(always_export_symbols, $1)=yes
-      if test "$aix_use_runtimelinking" = yes; then
-	# Warning - without using the other runtime loading flags (-brtl),
-	# -berok will link without error, but may produce a broken library.
-	_LT_TAGVAR(allow_undefined_flag, $1)='-berok'
-        # Determine the default libpath from the value encoded in an
-        # empty executable.
-        _LT_SYS_MODULE_PATH_AIX
-        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
-        _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
-      else
-	if test "$host_cpu" = ia64; then
-	  _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
-	  _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
-	  _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
-	else
-	 # Determine the default libpath from the value encoded in an
-	 # empty executable.
-	 _LT_SYS_MODULE_PATH_AIX
-	 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
-	  # Warning - without using the other run time loading flags,
-	  # -berok will link without error, but may produce a broken library.
-	  _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
-	  _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
-	  # Exported symbols can be pulled into shared objects from archives
-	  _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
-	  _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
-	  # This is similar to how AIX traditionally builds its shared libraries.
-	  _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
-	fi
-      fi
-      ;;
-
-    amigaos*)
-      case $host_cpu in
-      powerpc)
-            # see comment about AmigaOS4 .so support
-            _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
-            _LT_TAGVAR(archive_expsym_cmds, $1)=''
-        ;;
-      m68k)
-            _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
-            _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
-            _LT_TAGVAR(hardcode_minus_L, $1)=yes
-        ;;
-      esac
-      ;;
-
-    bsdi[[45]]*)
-      _LT_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic
-      ;;
-
-    cygwin* | mingw* | pw32* | cegcc*)
-      # When not using gcc, we currently assume that we are using
-      # Microsoft Visual C++.
-      # hardcode_libdir_flag_spec is actually meaningless, as there is
-      # no search path for DLLs.
-      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
-      _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
-      # Tell ltmain to make .lib files, not .a files.
-      libext=lib
-      # Tell ltmain to make .dll files, not .so files.
-      shrext_cmds=".dll"
-      # FIXME: Setting linknames here is a bad hack.
-      _LT_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
-      # The linker will automatically build a .lib file if we build a DLL.
-      _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'
-      # FIXME: Should let the user specify the lib program.
-      _LT_TAGVAR(old_archive_cmds, $1)='lib -OUT:$oldlib$oldobjs$old_deplibs'
-      _LT_TAGVAR(fix_srcfile_path, $1)='`cygpath -w "$srcfile"`'
-      _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
-      ;;
-
-    darwin* | rhapsody*)
-      _LT_DARWIN_LINKER_FEATURES($1)
-      ;;
-
-    freebsd1*)
-      _LT_TAGVAR(ld_shlibs, $1)=no
-      ;;
-
-    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
-    # support.  Future versions do this automatically, but an explicit c++rt0.o
-    # does not break anything, and helps significantly (at the cost of a little
-    # extra space).
-    freebsd2.2*)
-      _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
-      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
-      _LT_TAGVAR(hardcode_direct, $1)=yes
-      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
-      ;;
-
-    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
-    freebsd2*)
-      _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
-      _LT_TAGVAR(hardcode_direct, $1)=yes
-      _LT_TAGVAR(hardcode_minus_L, $1)=yes
-      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
-      ;;
-
-    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
-    freebsd* | dragonfly*)
-      _LT_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
-      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
-      _LT_TAGVAR(hardcode_direct, $1)=yes
-      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
-      ;;
-
-    netbsd* | netbsdelf*-gnu)
-      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
-	_LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
-      else
-	_LT_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
-      fi
-      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
-      _LT_TAGVAR(hardcode_direct, $1)=yes
-      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
-      ;;
-
-    newsos6)
-      _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
-      _LT_TAGVAR(hardcode_direct, $1)=yes
-      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
-      _LT_TAGVAR(hardcode_libdir_separator, $1)=:
-      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
-      ;;
-
-    *nto* | *qnx*)
-      ;;
-
-    openbsd*)
-      if test -f /usr/libexec/ld.so; then
-	_LT_TAGVAR(hardcode_direct, $1)=yes
-	_LT_TAGVAR(hardcode_shlibpath_var, $1)=no
-	_LT_TAGVAR(hardcode_direct_absolute, $1)=yes
-	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
-	  _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
-	  _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
-	  _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
-	  _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
-	else
-	  case $host_os in
-	   openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*)
-	     _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
-	     _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
-	     ;;
-	   *)
-	     _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
-	     _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
-	     ;;
-	  esac
-	fi
-      else
-	_LT_TAGVAR(ld_shlibs, $1)=no
-      fi
-      ;;
-
-    os2*)
-      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
-      _LT_TAGVAR(hardcode_minus_L, $1)=yes
-      _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
-      _LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
-      _LT_TAGVAR(old_archive_from_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
-      ;;
-
-    solaris*)
-      _LT_TAGVAR(no_undefined_flag, $1)=' -z defs'
-      if test "$GCC" = yes; then
-	wlarc='${wl}'
-	_LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
-	_LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
-	  $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
-      else
-	case `$CC -V 2>&1` in
-	*"Compilers 5.0"*)
-	  wlarc=''
-	  _LT_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
-	  _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
-	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
-	  ;;
-	*)
-	  wlarc='${wl}'
-	  _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
-	  _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
-	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
-	  ;;
-	esac
-      fi
-      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
-      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
-      case $host_os in
-      solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
-      *)
-	# The compiler driver will combine and reorder linker options,
-	# but understands `-z linker_flag'.  GCC discards it without `$wl',
-	# but is careful enough not to reorder.
-	# Supported since Solaris 2.6 (maybe 2.5.1?)
-	if test "$GCC" = yes; then
-	  _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
-	else
-	  _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
-	fi
-	;;
-      esac
-      _LT_TAGVAR(link_all_deplibs, $1)=yes
-      ;;
-
-    sunos4*)
-      if test "x$host_vendor" = xsequent; then
-	# Use $CC to link under sequent, because it throws in some extra .o
-	# files that make .init and .fini sections work.
-	_LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
-      else
-	_LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
-      fi
-      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
-      _LT_TAGVAR(hardcode_direct, $1)=yes
-      _LT_TAGVAR(hardcode_minus_L, $1)=yes
-      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
-      ;;
-
-    sysv4)
-      case $host_vendor in
-	sni)
-	  _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
-	  _LT_TAGVAR(hardcode_direct, $1)=yes # is this really true???
-	;;
-	siemens)
-	  ## LD is ld it makes a PLAMLIB
-	  ## CC just makes a GrossModule.
-	  _LT_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags'
-	  _LT_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs'
-	  _LT_TAGVAR(hardcode_direct, $1)=no
-        ;;
-	motorola)
-	  _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
-	  _LT_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie
-	;;
-      esac
-      runpath_var='LD_RUN_PATH'
-      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
-      ;;
-
-    sysv4.3*)
-      _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
-      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
-      _LT_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport'
-      ;;
-
-    sysv4*MP*)
-      if test -d /usr/nec; then
-	_LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
-	_LT_TAGVAR(hardcode_shlibpath_var, $1)=no
-	runpath_var=LD_RUN_PATH
-	hardcode_runpath_var=yes
-	_LT_TAGVAR(ld_shlibs, $1)=yes
-      fi
-      ;;
-
-    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7*)
-      _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
-      _LT_TAGVAR(archive_cmds_need_lc, $1)=no
-      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
-      runpath_var='LD_RUN_PATH'
-
-      if test "$GCC" = yes; then
-	_LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
-	_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
-      else
-	_LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
-	_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
-      fi
-      ;;
-
-    sysv5*)
-      # Note: We can NOT use -z defs as we might desire, because we do not
-      # link with -lc, and that would cause any symbols used from libc to
-      # always be unresolved, which means just about no library would
-      # ever link correctly.  If we're not using GNU ld we use -z text
-      # though, which does catch some bad symbols but isn't as heavy-handed
-      # as -z defs.
-      _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
-      _LT_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
-      _LT_TAGVAR(archive_cmds_need_lc, $1)=no
-      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
-      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R,$libdir'
-      _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
-      _LT_TAGVAR(link_all_deplibs, $1)=yes
-      _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
-      runpath_var='LD_RUN_PATH'
-
-      if test "$GCC" = yes; then
-	_LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
-	_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
-      else
-	_LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
-	_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
-      fi
-      ;;
-
-    uts4*)
-      _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
-      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
-      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
-      ;;
-
-    *)
-      _LT_TAGVAR(ld_shlibs, $1)=no
-      ;;
-    esac
-
-    if test x$host_vendor = xsni; then
-      case $host in
-      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
-	_LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Blargedynsym'
-	;;
-      esac
-    fi
-  fi
-])
-AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)])
-test "$_LT_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
-
-_LT_TAGVAR(with_gnu_ld, $1)=$with_gnu_ld
-
-_LT_DECL([], [libext], [0], [Old archive suffix (normally "a")])dnl
-_LT_DECL([], [shrext_cmds], [1], [Shared library suffix (normally ".so")])dnl
-_LT_DECL([], [extract_expsyms_cmds], [2],
-    [The commands to extract the exported symbol list from a shared archive])
-
-#
-# Do we need to explicitly link libc?
-#
-case "x$_LT_TAGVAR(archive_cmds_need_lc, $1)" in
-x|xyes)
-  # Assume -lc should be added
-  _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
-
-  if test "$enable_shared" = yes && test "$GCC" = yes; then
-    case $_LT_TAGVAR(archive_cmds, $1) in
-    *'~'*)
-      # FIXME: we may have to deal with multi-command sequences.
-      ;;
-    '$CC '*)
-      # Test whether the compiler implicitly links with -lc since on some
-      # systems, -lgcc has to come before -lc. If gcc already passes -lc
-      # to ld, don't add -lc before -lgcc.
-      AC_MSG_CHECKING([whether -lc should be explicitly linked in])
-      $RM conftest*
-      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
-
-      if AC_TRY_EVAL(ac_compile) 2>conftest.err; then
-        soname=conftest
-        lib=conftest
-        libobjs=conftest.$ac_objext
-        deplibs=
-        wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1)
-	pic_flag=$_LT_TAGVAR(lt_prog_compiler_pic, $1)
-        compiler_flags=-v
-        linker_flags=-v
-        verstring=
-        output_objdir=.
-        libname=conftest
-        lt_save_allow_undefined_flag=$_LT_TAGVAR(allow_undefined_flag, $1)
-        _LT_TAGVAR(allow_undefined_flag, $1)=
-        if AC_TRY_EVAL(_LT_TAGVAR(archive_cmds, $1) 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1)
-        then
-	  _LT_TAGVAR(archive_cmds_need_lc, $1)=no
-        else
-	  _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
-        fi
-        _LT_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag
-      else
-        cat conftest.err 1>&5
-      fi
-      $RM conftest*
-      AC_MSG_RESULT([$_LT_TAGVAR(archive_cmds_need_lc, $1)])
-      ;;
-    esac
-  fi
-  ;;
-esac
-
-_LT_TAGDECL([build_libtool_need_lc], [archive_cmds_need_lc], [0],
-    [Whether or not to add -lc for building shared libraries])
-_LT_TAGDECL([allow_libtool_libs_with_static_runtimes],
-    [enable_shared_with_static_runtimes], [0],
-    [Whether or not to disallow shared libs when runtime libs are static])
-_LT_TAGDECL([], [export_dynamic_flag_spec], [1],
-    [Compiler flag to allow reflexive dlopens])
-_LT_TAGDECL([], [whole_archive_flag_spec], [1],
-    [Compiler flag to generate shared objects directly from archives])
-_LT_TAGDECL([], [compiler_needs_object], [1],
-    [Whether the compiler copes with passing no objects directly])
-_LT_TAGDECL([], [old_archive_from_new_cmds], [2],
-    [Create an old-style archive from a shared archive])
-_LT_TAGDECL([], [old_archive_from_expsyms_cmds], [2],
-    [Create a temporary old-style archive to link instead of a shared archive])
-_LT_TAGDECL([], [archive_cmds], [2], [Commands used to build a shared archive])
-_LT_TAGDECL([], [archive_expsym_cmds], [2])
-_LT_TAGDECL([], [module_cmds], [2],
-    [Commands used to build a loadable module if different from building
-    a shared archive.])
-_LT_TAGDECL([], [module_expsym_cmds], [2])
-_LT_TAGDECL([], [with_gnu_ld], [1],
-    [Whether we are building with GNU ld or not])
-_LT_TAGDECL([], [allow_undefined_flag], [1],
-    [Flag that allows shared libraries with undefined symbols to be built])
-_LT_TAGDECL([], [no_undefined_flag], [1],
-    [Flag that enforces no undefined symbols])
-_LT_TAGDECL([], [hardcode_libdir_flag_spec], [1],
-    [Flag to hardcode $libdir into a binary during linking.
-    This must work even if $libdir does not exist])
-_LT_TAGDECL([], [hardcode_libdir_flag_spec_ld], [1],
-    [[If ld is used when linking, flag to hardcode $libdir into a binary
-    during linking.  This must work even if $libdir does not exist]])
-_LT_TAGDECL([], [hardcode_libdir_separator], [1],
-    [Whether we need a single "-rpath" flag with a separated argument])
-_LT_TAGDECL([], [hardcode_direct], [0],
-    [Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes
-    DIR into the resulting binary])
-_LT_TAGDECL([], [hardcode_direct_absolute], [0],
-    [Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes
-    DIR into the resulting binary and the resulting library dependency is
-    "absolute", i.e impossible to change by setting ${shlibpath_var} if the
-    library is relocated])
-_LT_TAGDECL([], [hardcode_minus_L], [0],
-    [Set to "yes" if using the -LDIR flag during linking hardcodes DIR
-    into the resulting binary])
-_LT_TAGDECL([], [hardcode_shlibpath_var], [0],
-    [Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
-    into the resulting binary])
-_LT_TAGDECL([], [hardcode_automatic], [0],
-    [Set to "yes" if building a shared library automatically hardcodes DIR
-    into the library and all subsequent libraries and executables linked
-    against it])
-_LT_TAGDECL([], [inherit_rpath], [0],
-    [Set to yes if linker adds runtime paths of dependent libraries
-    to runtime path list])
-_LT_TAGDECL([], [link_all_deplibs], [0],
-    [Whether libtool must link a program against all its dependency libraries])
-_LT_TAGDECL([], [fix_srcfile_path], [1],
-    [Fix the shell variable $srcfile for the compiler])
-_LT_TAGDECL([], [always_export_symbols], [0],
-    [Set to "yes" if exported symbols are required])
-_LT_TAGDECL([], [export_symbols_cmds], [2],
-    [The commands to list exported symbols])
-_LT_TAGDECL([], [exclude_expsyms], [1],
-    [Symbols that should not be listed in the preloaded symbols])
-_LT_TAGDECL([], [include_expsyms], [1],
-    [Symbols that must always be exported])
-_LT_TAGDECL([], [prelink_cmds], [2],
-    [Commands necessary for linking programs (against libraries) with templates])
-_LT_TAGDECL([], [file_list_spec], [1],
-    [Specify filename containing input files])
-dnl FIXME: Not yet implemented
-dnl _LT_TAGDECL([], [thread_safe_flag_spec], [1],
-dnl    [Compiler flag to generate thread safe objects])
-])# _LT_LINKER_SHLIBS
-
-
-# _LT_LANG_C_CONFIG([TAG])
-# ------------------------
-# Ensure that the configuration variables for a C compiler are suitably
-# defined.  These variables are subsequently used by _LT_CONFIG to write
-# the compiler configuration to `libtool'.
-m4_defun([_LT_LANG_C_CONFIG],
-[m4_require([_LT_DECL_EGREP])dnl
-lt_save_CC="$CC"
-AC_LANG_PUSH(C)
-
-# Source file extension for C test sources.
-ac_ext=c
-
-# Object file extension for compiled C test sources.
-objext=o
-_LT_TAGVAR(objext, $1)=$objext
-
-# Code to be used in simple compile tests
-lt_simple_compile_test_code="int some_variable = 0;"
-
-# Code to be used in simple link tests
-lt_simple_link_test_code='int main(){return(0);}'
-
-_LT_TAG_COMPILER
-# Save the default compiler, since it gets overwritten when the other
-# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
-compiler_DEFAULT=$CC
-
-# save warnings/boilerplate of simple test code
-_LT_COMPILER_BOILERPLATE
-_LT_LINKER_BOILERPLATE
-
-## CAVEAT EMPTOR:
-## There is no encapsulation within the following macros, do not change
-## the running order or otherwise move them around unless you know exactly
-## what you are doing...
-if test -n "$compiler"; then
-  _LT_COMPILER_NO_RTTI($1)
-  _LT_COMPILER_PIC($1)
-  _LT_COMPILER_C_O($1)
-  _LT_COMPILER_FILE_LOCKS($1)
-  _LT_LINKER_SHLIBS($1)
-  _LT_SYS_DYNAMIC_LINKER($1)
-  _LT_LINKER_HARDCODE_LIBPATH($1)
-  LT_SYS_DLOPEN_SELF
-  _LT_CMD_STRIPLIB
-
-  # Report which library types will actually be built
-  AC_MSG_CHECKING([if libtool supports shared libraries])
-  AC_MSG_RESULT([$can_build_shared])
-
-  AC_MSG_CHECKING([whether to build shared libraries])
-  test "$can_build_shared" = "no" && enable_shared=no
-
-  # On AIX, shared libraries and static libraries use the same namespace, and
-  # are all built from PIC.
-  case $host_os in
-  aix3*)
-    test "$enable_shared" = yes && enable_static=no
-    if test -n "$RANLIB"; then
-      archive_cmds="$archive_cmds~\$RANLIB \$lib"
-      postinstall_cmds='$RANLIB $lib'
-    fi
-    ;;
-
-  aix[[4-9]]*)
-    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
-      test "$enable_shared" = yes && enable_static=no
-    fi
-    ;;
-  esac
-  AC_MSG_RESULT([$enable_shared])
-
-  AC_MSG_CHECKING([whether to build static libraries])
-  # Make sure either enable_shared or enable_static is yes.
-  test "$enable_shared" = yes || enable_static=yes
-  AC_MSG_RESULT([$enable_static])
-
-  _LT_CONFIG($1)
-fi
-AC_LANG_POP
-CC="$lt_save_CC"
-])# _LT_LANG_C_CONFIG
-
-
-# _LT_PROG_CXX
-# ------------
-# Since AC_PROG_CXX is broken, in that it returns g++ if there is no c++
-# compiler, we have our own version here.
-m4_defun([_LT_PROG_CXX],
-[
-pushdef([AC_MSG_ERROR], [_lt_caught_CXX_error=yes])
-AC_PROG_CXX
-if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
-    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
-    (test "X$CXX" != "Xg++"))) ; then
-  AC_PROG_CXXCPP
-else
-  _lt_caught_CXX_error=yes
-fi
-popdef([AC_MSG_ERROR])
-])# _LT_PROG_CXX
-
-dnl aclocal-1.4 backwards compatibility:
-dnl AC_DEFUN([_LT_PROG_CXX], [])
-
-
-# _LT_LANG_CXX_CONFIG([TAG])
-# --------------------------
-# Ensure that the configuration variables for a C++ compiler are suitably
-# defined.  These variables are subsequently used by _LT_CONFIG to write
-# the compiler configuration to `libtool'.
-m4_defun([_LT_LANG_CXX_CONFIG],
-[AC_REQUIRE([_LT_PROG_CXX])dnl
-m4_require([_LT_FILEUTILS_DEFAULTS])dnl
-m4_require([_LT_DECL_EGREP])dnl
-
-AC_LANG_PUSH(C++)
-_LT_TAGVAR(archive_cmds_need_lc, $1)=no
-_LT_TAGVAR(allow_undefined_flag, $1)=
-_LT_TAGVAR(always_export_symbols, $1)=no
-_LT_TAGVAR(archive_expsym_cmds, $1)=
-_LT_TAGVAR(compiler_needs_object, $1)=no
-_LT_TAGVAR(export_dynamic_flag_spec, $1)=
-_LT_TAGVAR(hardcode_direct, $1)=no
-_LT_TAGVAR(hardcode_direct_absolute, $1)=no
-_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
-_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
-_LT_TAGVAR(hardcode_libdir_separator, $1)=
-_LT_TAGVAR(hardcode_minus_L, $1)=no
-_LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
-_LT_TAGVAR(hardcode_automatic, $1)=no
-_LT_TAGVAR(inherit_rpath, $1)=no
-_LT_TAGVAR(module_cmds, $1)=
-_LT_TAGVAR(module_expsym_cmds, $1)=
-_LT_TAGVAR(link_all_deplibs, $1)=unknown
-_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
-_LT_TAGVAR(no_undefined_flag, $1)=
-_LT_TAGVAR(whole_archive_flag_spec, $1)=
-_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
-
-# Source file extension for C++ test sources.
-ac_ext=cpp
-
-# Object file extension for compiled C++ test sources.
-objext=o
-_LT_TAGVAR(objext, $1)=$objext
-
-# No sense in running all these tests if we already determined that
-# the CXX compiler isn't working.  Some variables (like enable_shared)
-# are currently assumed to apply to all compilers on this platform,
-# and will be corrupted by setting them based on a non-working compiler.
-if test "$_lt_caught_CXX_error" != yes; then
-  # Code to be used in simple compile tests
-  lt_simple_compile_test_code="int some_variable = 0;"
-
-  # Code to be used in simple link tests
-  lt_simple_link_test_code='int main(int, char *[[]]) { return(0); }'
-
-  # ltmain only uses $CC for tagged configurations so make sure $CC is set.
-  _LT_TAG_COMPILER
-
-  # save warnings/boilerplate of simple test code
-  _LT_COMPILER_BOILERPLATE
-  _LT_LINKER_BOILERPLATE
-
-  # Allow CC to be a program name with arguments.
-  lt_save_CC=$CC
-  lt_save_LD=$LD
-  lt_save_GCC=$GCC
-  GCC=$GXX
-  lt_save_with_gnu_ld=$with_gnu_ld
-  lt_save_path_LD=$lt_cv_path_LD
-  if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
-    lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
-  else
-    $as_unset lt_cv_prog_gnu_ld
-  fi
-  if test -n "${lt_cv_path_LDCXX+set}"; then
-    lt_cv_path_LD=$lt_cv_path_LDCXX
-  else
-    $as_unset lt_cv_path_LD
-  fi
-  test -z "${LDCXX+set}" || LD=$LDCXX
-  CC=${CXX-"c++"}
-  compiler=$CC
-  _LT_TAGVAR(compiler, $1)=$CC
-  _LT_CC_BASENAME([$compiler])
-
-  if test -n "$compiler"; then
-    # We don't want -fno-exception when compiling C++ code, so set the
-    # no_builtin_flag separately
-    if test "$GXX" = yes; then
-      _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
-    else
-      _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
-    fi
-
-    if test "$GXX" = yes; then
-      # Set up default GNU C++ configuration
-
-      LT_PATH_LD
-
-      # Check if GNU C++ uses GNU ld as the underlying linker, since the
-      # archiving commands below assume that GNU ld is being used.
-      if test "$with_gnu_ld" = yes; then
-        _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
-        _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
-
-        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
-        _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
-
-        # If archive_cmds runs LD, not CC, wlarc should be empty
-        # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
-        #     investigate it a little bit more. (MM)
-        wlarc='${wl}'
-
-        # ancient GNU ld didn't support --whole-archive et. al.
-        if eval "`$CC -print-prog-name=ld` --help 2>&1" |
-	  $GREP 'no-whole-archive' > /dev/null; then
-          _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
-        else
-          _LT_TAGVAR(whole_archive_flag_spec, $1)=
-        fi
-      else
-        with_gnu_ld=no
-        wlarc=
-
-        # A generic and very simple default shared library creation
-        # command for GNU C++ for the case where it uses the native
-        # linker, instead of GNU ld.  If possible, this setting should
-        # overridden to take advantage of the native linker features on
-        # the platform it is being used on.
-        _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
-      fi
-
-      # Commands to make compiler produce verbose output that lists
-      # what "hidden" libraries, object files and flags are used when
-      # linking a shared library.
-      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
-
-    else
-      GXX=no
-      with_gnu_ld=no
-      wlarc=
-    fi
-
-    # PORTME: fill in a description of your system's C++ link characteristics
-    AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
-    _LT_TAGVAR(ld_shlibs, $1)=yes
-    case $host_os in
-      aix3*)
-        # FIXME: insert proper C++ library support
-        _LT_TAGVAR(ld_shlibs, $1)=no
-        ;;
-      aix[[4-9]]*)
-        if test "$host_cpu" = ia64; then
-          # On IA64, the linker does run time linking by default, so we don't
-          # have to do anything special.
-          aix_use_runtimelinking=no
-          exp_sym_flag='-Bexport'
-          no_entry_flag=""
-        else
-          aix_use_runtimelinking=no
-
-          # Test if we are trying to use run time linking or normal
-          # AIX style linking. If -brtl is somewhere in LDFLAGS, we
-          # need to do runtime linking.
-          case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
-	    for ld_flag in $LDFLAGS; do
-	      case $ld_flag in
-	      *-brtl*)
-	        aix_use_runtimelinking=yes
-	        break
-	        ;;
-	      esac
-	    done
-	    ;;
-          esac
-
-          exp_sym_flag='-bexport'
-          no_entry_flag='-bnoentry'
-        fi
-
-        # When large executables or shared objects are built, AIX ld can
-        # have problems creating the table of contents.  If linking a library
-        # or program results in "error TOC overflow" add -mminimal-toc to
-        # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
-        # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
-
-        _LT_TAGVAR(archive_cmds, $1)=''
-        _LT_TAGVAR(hardcode_direct, $1)=yes
-        _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
-        _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
-        _LT_TAGVAR(link_all_deplibs, $1)=yes
-        _LT_TAGVAR(file_list_spec, $1)='${wl}-f,'
-
-        if test "$GXX" = yes; then
-          case $host_os in aix4.[[012]]|aix4.[[012]].*)
-          # We only want to do this on AIX 4.2 and lower, the check
-          # below for broken collect2 doesn't work under 4.3+
-	  collect2name=`${CC} -print-prog-name=collect2`
-	  if test -f "$collect2name" &&
-	     strings "$collect2name" | $GREP resolve_lib_name >/dev/null
-	  then
-	    # We have reworked collect2
-	    :
-	  else
-	    # We have old collect2
-	    _LT_TAGVAR(hardcode_direct, $1)=unsupported
-	    # It fails to find uninstalled libraries when the uninstalled
-	    # path is not listed in the libpath.  Setting hardcode_minus_L
-	    # to unsupported forces relinking
-	    _LT_TAGVAR(hardcode_minus_L, $1)=yes
-	    _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
-	    _LT_TAGVAR(hardcode_libdir_separator, $1)=
-	  fi
-          esac
-          shared_flag='-shared'
-	  if test "$aix_use_runtimelinking" = yes; then
-	    shared_flag="$shared_flag "'${wl}-G'
-	  fi
-        else
-          # not using gcc
-          if test "$host_cpu" = ia64; then
-	  # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
-	  # chokes on -Wl,-G. The following line is correct:
-	  shared_flag='-G'
-          else
-	    if test "$aix_use_runtimelinking" = yes; then
-	      shared_flag='${wl}-G'
-	    else
-	      shared_flag='${wl}-bM:SRE'
-	    fi
-          fi
-        fi
-
-        _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-bexpall'
-        # It seems that -bexpall does not export symbols beginning with
-        # underscore (_), so it is better to generate a list of symbols to
-	# export.
-        _LT_TAGVAR(always_export_symbols, $1)=yes
-        if test "$aix_use_runtimelinking" = yes; then
-          # Warning - without using the other runtime loading flags (-brtl),
-          # -berok will link without error, but may produce a broken library.
-          _LT_TAGVAR(allow_undefined_flag, $1)='-berok'
-          # Determine the default libpath from the value encoded in an empty
-          # executable.
-          _LT_SYS_MODULE_PATH_AIX
-          _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
-
-          _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
-        else
-          if test "$host_cpu" = ia64; then
-	    _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
-	    _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
-	    _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
-          else
-	    # Determine the default libpath from the value encoded in an
-	    # empty executable.
-	    _LT_SYS_MODULE_PATH_AIX
-	    _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
-	    # Warning - without using the other run time loading flags,
-	    # -berok will link without error, but may produce a broken library.
-	    _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
-	    _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
-	    # Exported symbols can be pulled into shared objects from archives
-	    _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
-	    _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
-	    # This is similar to how AIX traditionally builds its shared
-	    # libraries.
-	    _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
-          fi
-        fi
-        ;;
-
-      beos*)
-	if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
-	  _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
-	  # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
-	  # support --undefined.  This deserves some investigation.  FIXME
-	  _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
-	else
-	  _LT_TAGVAR(ld_shlibs, $1)=no
-	fi
-	;;
-
-      chorus*)
-        case $cc_basename in
-          *)
-	  # FIXME: insert proper C++ library support
-	  _LT_TAGVAR(ld_shlibs, $1)=no
-	  ;;
-        esac
-        ;;
-
-      cygwin* | mingw* | pw32* | cegcc*)
-        # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
-        # as there is no search path for DLLs.
-        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
-        _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
-        _LT_TAGVAR(always_export_symbols, $1)=no
-        _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
-
-        if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
-          _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
-          # If the export-symbols file already is a .def file (1st line
-          # is EXPORTS), use it as is; otherwise, prepend...
-          _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
-	    cp $export_symbols $output_objdir/$soname.def;
-          else
-	    echo EXPORTS > $output_objdir/$soname.def;
-	    cat $export_symbols >> $output_objdir/$soname.def;
-          fi~
-          $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
-        else
-          _LT_TAGVAR(ld_shlibs, $1)=no
-        fi
-        ;;
-      darwin* | rhapsody*)
-        _LT_DARWIN_LINKER_FEATURES($1)
-	;;
-
-      freebsd[[12]]*)
-        # C++ shared libraries reported to be fairly broken before
-	# switch to ELF
-        _LT_TAGVAR(ld_shlibs, $1)=no
-        ;;
-
-      freebsd-elf*)
-        _LT_TAGVAR(archive_cmds_need_lc, $1)=no
-        ;;
-
-      freebsd* | dragonfly*)
-        # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
-        # conventions
-        _LT_TAGVAR(ld_shlibs, $1)=yes
-        ;;
-
-      gnu*)
-        ;;
-
-      interix[[3-9]]*)
-	_LT_TAGVAR(hardcode_direct, $1)=no
-	_LT_TAGVAR(hardcode_shlibpath_var, $1)=no
-	_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
-	_LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
-	# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
-	# Instead, shared libraries are loaded at an image base (0x10000000 by
-	# default) and relocated if they conflict, which is a slow very memory
-	# consuming and fragmenting process.  To avoid this, we pick a random,
-	# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
-	# time.  Moving up from 0x10000000 also allows more sbrk(2) space.
-	_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
-	_LT_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
-	;;
-
-      linux* | k*bsd*-gnu | kopensolaris*-gnu)
-        case $cc_basename in
-          KCC*)
-	    # Kuck and Associates, Inc. (KAI) C++ Compiler
-
-	    # KCC will only create a shared library if the output file
-	    # ends with ".so", so rename the library
-	    # to its proper name (with version) after linking.
-	    _LT_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
-	    _LT_TAGVAR(archive_expsym_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
-	    # Commands to make compiler produce verbose output that lists
-	    # what "hidden" libraries, object files and flags are used when
-	    # linking a shared library.
-	    #
-	    # There doesn't appear to be a way to prevent this compiler from
-	    # explicitly linking system object files so we need to strip them
-	    # from the output so that they don't get included in the library
-	    # dependencies.
-	    output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
-
-	    _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
-	    _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
-
-	    # Archives containing C++ object files must be created using
-	    # "CC -Bstatic", where "CC" is the KAI C++ compiler.
-	    _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
-	    ;;
-	  icpc* | ecpc* )
-	    # Intel C++
-	    with_gnu_ld=yes
-	    # version 8.0 and above of icpc choke on multiply defined symbols
-	    # if we add $predep_objects and $postdep_objects, however 7.1 and
-	    # earlier do not add the objects themselves.
-	    case `$CC -V 2>&1` in
-	      *"Version 7."*)
-	        _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
-		_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
-		;;
-	      *)  # Version 8.0 or newer
-	        tmp_idyn=
-	        case $host_cpu in
-		  ia64*) tmp_idyn=' -i_dynamic';;
-		esac
-	        _LT_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
-		_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
-		;;
-	    esac
-	    _LT_TAGVAR(archive_cmds_need_lc, $1)=no
-	    _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
-	    _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
-	    _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
-	    ;;
-          pgCC* | pgcpp*)
-            # Portland Group C++ compiler
-	    case `$CC -V` in
-	    *pgCC\ [[1-5]]* | *pgcpp\ [[1-5]]*)
-	      _LT_TAGVAR(prelink_cmds, $1)='tpldir=Template.dir~
-		rm -rf $tpldir~
-		$CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
-		compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
-	      _LT_TAGVAR(old_archive_cmds, $1)='tpldir=Template.dir~
-		rm -rf $tpldir~
-		$CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
-		$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
-		$RANLIB $oldlib'
-	      _LT_TAGVAR(archive_cmds, $1)='tpldir=Template.dir~
-		rm -rf $tpldir~
-		$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
-		$CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
-	      _LT_TAGVAR(archive_expsym_cmds, $1)='tpldir=Template.dir~
-		rm -rf $tpldir~
-		$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
-		$CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
-	      ;;
-	    *) # Version 6 will use weak symbols
-	      _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
-	      _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
-	      ;;
-	    esac
-
-	    _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
-	    _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
-	    _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
-            ;;
-	  cxx*)
-	    # Compaq C++
-	    _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
-	    _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname  -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
-
-	    runpath_var=LD_RUN_PATH
-	    _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
-	    _LT_TAGVAR(hardcode_libdir_separator, $1)=:
-
-	    # Commands to make compiler produce verbose output that lists
-	    # what "hidden" libraries, object files and flags are used when
-	    # linking a shared library.
-	    #
-	    # There doesn't appear to be a way to prevent this compiler from
-	    # explicitly linking system object files so we need to strip them
-	    # from the output so that they don't get included in the library
-	    # dependencies.
-	    output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
-	    ;;
-	  xl*)
-	    # IBM XL 8.0 on PPC, with GNU ld
-	    _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
-	    _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
-	    _LT_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
-	    if test "x$supports_anon_versioning" = xyes; then
-	      _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
-		cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
-		echo "local: *; };" >> $output_objdir/$libname.ver~
-		$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
-	    fi
-	    ;;
-	  *)
-	    case `$CC -V 2>&1 | sed 5q` in
-	    *Sun\ C*)
-	      # Sun C++ 5.9
-	      _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs'
-	      _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
-	      _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
-	      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
-	      _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
-	      _LT_TAGVAR(compiler_needs_object, $1)=yes
-
-	      # Not sure whether something based on
-	      # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
-	      # would be better.
-	      output_verbose_link_cmd='echo'
-
-	      # Archives containing C++ object files must be created using
-	      # "CC -xar", where "CC" is the Sun C++ compiler.  This is
-	      # necessary to make sure instantiated templates are included
-	      # in the archive.
-	      _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
-	      ;;
-	    esac
-	    ;;
-	esac
-	;;
-
-      lynxos*)
-        # FIXME: insert proper C++ library support
-	_LT_TAGVAR(ld_shlibs, $1)=no
-	;;
-
-      m88k*)
-        # FIXME: insert proper C++ library support
-        _LT_TAGVAR(ld_shlibs, $1)=no
-	;;
-
-      mvs*)
-        case $cc_basename in
-          cxx*)
-	    # FIXME: insert proper C++ library support
-	    _LT_TAGVAR(ld_shlibs, $1)=no
-	    ;;
-	  *)
-	    # FIXME: insert proper C++ library support
-	    _LT_TAGVAR(ld_shlibs, $1)=no
-	    ;;
-	esac
-	;;
-
-      netbsd*)
-        if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
-	  _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
-	  wlarc=
-	  _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
-	  _LT_TAGVAR(hardcode_direct, $1)=yes
-	  _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
-	fi
-	# Workaround some broken pre-1.5 toolchains
-	output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
-	;;
-
-      *nto* | *qnx*)
-        _LT_TAGVAR(ld_shlibs, $1)=yes
-	;;
-
-      openbsd2*)
-        # C++ shared libraries are fairly broken
-	_LT_TAGVAR(ld_shlibs, $1)=no
-	;;
-
-      openbsd*)
-	if test -f /usr/libexec/ld.so; then
-	  _LT_TAGVAR(hardcode_direct, $1)=yes
-	  _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
-	  _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
-	  _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
-	  _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
-	  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
-	    _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
-	    _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
-	    _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
-	  fi
-	  output_verbose_link_cmd=echo
-	else
-	  _LT_TAGVAR(ld_shlibs, $1)=no
-	fi
-	;;
-
-      psos*)
-        # FIXME: insert proper C++ library support
-        _LT_TAGVAR(ld_shlibs, $1)=no
-        ;;
-
-      sunos4*)
-        case $cc_basename in
-          CC*)
-	    # Sun C++ 4.x
-	    # FIXME: insert proper C++ library support
-	    _LT_TAGVAR(ld_shlibs, $1)=no
-	    ;;
-          lcc*)
-	    # Lucid
-	    # FIXME: insert proper C++ library support
-	    _LT_TAGVAR(ld_shlibs, $1)=no
-	    ;;
-          *)
-	    # FIXME: insert proper C++ library support
-	    _LT_TAGVAR(ld_shlibs, $1)=no
-	    ;;
-        esac
-        ;;
-
-      solaris*)
-        case $cc_basename in
-          CC*)
-	    # Sun C++ 4.2, 5.x and Centerline C++
-            _LT_TAGVAR(archive_cmds_need_lc,$1)=yes
-	    _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs'
-	    _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
-	    _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
-	      $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
-
-	    _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
-	    _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
-	    case $host_os in
-	      solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
-	      *)
-		# The compiler driver will combine and reorder linker options,
-		# but understands `-z linker_flag'.
-	        # Supported since Solaris 2.6 (maybe 2.5.1?)
-		_LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
-	        ;;
-	    esac
-	    _LT_TAGVAR(link_all_deplibs, $1)=yes
-
-	    output_verbose_link_cmd='echo'
-
-	    # Archives containing C++ object files must be created using
-	    # "CC -xar", where "CC" is the Sun C++ compiler.  This is
-	    # necessary to make sure instantiated templates are included
-	    # in the archive.
-	    _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
-	    ;;
-          gcx*)
-	    # Green Hills C++ Compiler
-	    _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
-
-	    # The C++ compiler must be used to create the archive.
-	    _LT_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
-	    ;;
-          *)
-	    # GNU C++ compiler with Solaris linker
-	    if test "$GXX" = yes && test "$with_gnu_ld" = no; then
-	      _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs'
-	      if $CC --version | $GREP -v '^2\.7' > /dev/null; then
-	        _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
-	        _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
-		  $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
-
-	        # Commands to make compiler produce verbose output that lists
-	        # what "hidden" libraries, object files and flags are used when
-	        # linking a shared library.
-	        output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
-	      else
-	        # g++ 2.7 appears to require `-G' NOT `-shared' on this
-	        # platform.
-	        _LT_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
-	        _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
-		  $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
-
-	        # Commands to make compiler produce verbose output that lists
-	        # what "hidden" libraries, object files and flags are used when
-	        # linking a shared library.
-	        output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
-	      fi
-
-	      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir'
-	      case $host_os in
-		solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
-		*)
-		  _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
-		  ;;
-	      esac
-	    fi
-	    ;;
-        esac
-        ;;
-
-    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7*)
-      _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
-      _LT_TAGVAR(archive_cmds_need_lc, $1)=no
-      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
-      runpath_var='LD_RUN_PATH'
-
-      case $cc_basename in
-        CC*)
-	  _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
-	  _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
-	  ;;
-	*)
-	  _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
-	  _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
-	  ;;
-      esac
-      ;;
-
-      sysv5*)
-	# Note: We can NOT use -z defs as we might desire, because we do not
-	# link with -lc, and that would cause any symbols used from libc to
-	# always be unresolved, which means just about no library would
-	# ever link correctly.  If we're not using GNU ld we use -z text
-	# though, which does catch some bad symbols but isn't as heavy-handed
-	# as -z defs.
-	_LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
-	_LT_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
-	_LT_TAGVAR(archive_cmds_need_lc, $1)=no
-	_LT_TAGVAR(hardcode_shlibpath_var, $1)=no
-	_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R,$libdir'
-	_LT_TAGVAR(hardcode_libdir_separator, $1)=':'
-	_LT_TAGVAR(link_all_deplibs, $1)=yes
-	_LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
-	runpath_var='LD_RUN_PATH'
-
-	case $cc_basename in
-          CC*)
-	    _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
-	    _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
-	    ;;
-	  *)
-	    _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
-	    _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
-	    ;;
-	esac
-      ;;
-
-      vxworks*)
-        # FIXME: insert proper C++ library support
-        _LT_TAGVAR(ld_shlibs, $1)=no
-        ;;
-
-      *)
-        # FIXME: insert proper C++ library support
-        _LT_TAGVAR(ld_shlibs, $1)=no
-        ;;
-    esac
-
-    AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)])
-    test "$_LT_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
-
-    _LT_TAGVAR(GCC, $1)="$GXX"
-    _LT_TAGVAR(LD, $1)="$LD"
-
-    ## CAVEAT EMPTOR:
-    ## There is no encapsulation within the following macros, do not change
-    ## the running order or otherwise move them around unless you know exactly
-    ## what you are doing...
-    _LT_SYS_HIDDEN_LIBDEPS($1)
-    _LT_COMPILER_PIC($1)
-    _LT_COMPILER_C_O($1)
-    _LT_COMPILER_FILE_LOCKS($1)
-    _LT_LINKER_SHLIBS($1)
-    _LT_SYS_DYNAMIC_LINKER($1)
-    _LT_LINKER_HARDCODE_LIBPATH($1)
-
-    _LT_CONFIG($1)
-  fi # test -n "$compiler"
-
-  CC=$lt_save_CC
-  LDCXX=$LD
-  LD=$lt_save_LD
-  GCC=$lt_save_GCC
-  with_gnu_ld=$lt_save_with_gnu_ld
-  lt_cv_path_LDCXX=$lt_cv_path_LD
-  lt_cv_path_LD=$lt_save_path_LD
-  lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
-  lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
-fi # test "$_lt_caught_CXX_error" != yes
-
-AC_LANG_POP
-])# _LT_LANG_CXX_CONFIG
-
-
-# _LT_SYS_HIDDEN_LIBDEPS([TAGNAME])
-# ---------------------------------
-# Figure out "hidden" library dependencies from verbose
-# compiler output when linking a shared library.
-# Parse the compiler output and extract the necessary
-# objects, libraries and library flags.
-m4_defun([_LT_SYS_HIDDEN_LIBDEPS],
-[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
-# Dependencies to place before and after the object being linked:
-_LT_TAGVAR(predep_objects, $1)=
-_LT_TAGVAR(postdep_objects, $1)=
-_LT_TAGVAR(predeps, $1)=
-_LT_TAGVAR(postdeps, $1)=
-_LT_TAGVAR(compiler_lib_search_path, $1)=
-
-dnl we can't use the lt_simple_compile_test_code here,
-dnl because it contains code intended for an executable,
-dnl not a library.  It's possible we should let each
-dnl tag define a new lt_????_link_test_code variable,
-dnl but it's only used here...
-m4_if([$1], [], [cat > conftest.$ac_ext <<_LT_EOF
-int a;
-void foo (void) { a = 0; }
-_LT_EOF
-], [$1], [CXX], [cat > conftest.$ac_ext <<_LT_EOF
-class Foo
-{
-public:
-  Foo (void) { a = 0; }
-private:
-  int a;
-};
-_LT_EOF
-], [$1], [F77], [cat > conftest.$ac_ext <<_LT_EOF
-      subroutine foo
-      implicit none
-      integer*4 a
-      a=0
-      return
-      end
-_LT_EOF
-], [$1], [FC], [cat > conftest.$ac_ext <<_LT_EOF
-      subroutine foo
-      implicit none
-      integer a
-      a=0
-      return
-      end
-_LT_EOF
-], [$1], [GCJ], [cat > conftest.$ac_ext <<_LT_EOF
-public class foo {
-  private int a;
-  public void bar (void) {
-    a = 0;
-  }
-};
-_LT_EOF
-])
-dnl Parse the compiler output and extract the necessary
-dnl objects, libraries and library flags.
-if AC_TRY_EVAL(ac_compile); then
-  # Parse the compiler output and extract the necessary
-  # objects, libraries and library flags.
-
-  # Sentinel used to keep track of whether or not we are before
-  # the conftest object file.
-  pre_test_object_deps_done=no
-
-  for p in `eval "$output_verbose_link_cmd"`; do
-    case $p in
-
-    -L* | -R* | -l*)
-       # Some compilers place space between "-{L,R}" and the path.
-       # Remove the space.
-       if test $p = "-L" ||
-          test $p = "-R"; then
-	 prev=$p
-	 continue
-       else
-	 prev=
-       fi
-
-       if test "$pre_test_object_deps_done" = no; then
-	 case $p in
-	 -L* | -R*)
-	   # Internal compiler library paths should come after those
-	   # provided the user.  The postdeps already come after the
-	   # user supplied libs so there is no need to process them.
-	   if test -z "$_LT_TAGVAR(compiler_lib_search_path, $1)"; then
-	     _LT_TAGVAR(compiler_lib_search_path, $1)="${prev}${p}"
-	   else
-	     _LT_TAGVAR(compiler_lib_search_path, $1)="${_LT_TAGVAR(compiler_lib_search_path, $1)} ${prev}${p}"
-	   fi
-	   ;;
-	 # The "-l" case would never come before the object being
-	 # linked, so don't bother handling this case.
-	 esac
-       else
-	 if test -z "$_LT_TAGVAR(postdeps, $1)"; then
-	   _LT_TAGVAR(postdeps, $1)="${prev}${p}"
-	 else
-	   _LT_TAGVAR(postdeps, $1)="${_LT_TAGVAR(postdeps, $1)} ${prev}${p}"
-	 fi
-       fi
-       ;;
-
-    *.$objext)
-       # This assumes that the test object file only shows up
-       # once in the compiler output.
-       if test "$p" = "conftest.$objext"; then
-	 pre_test_object_deps_done=yes
-	 continue
-       fi
-
-       if test "$pre_test_object_deps_done" = no; then
-	 if test -z "$_LT_TAGVAR(predep_objects, $1)"; then
-	   _LT_TAGVAR(predep_objects, $1)="$p"
-	 else
-	   _LT_TAGVAR(predep_objects, $1)="$_LT_TAGVAR(predep_objects, $1) $p"
-	 fi
-       else
-	 if test -z "$_LT_TAGVAR(postdep_objects, $1)"; then
-	   _LT_TAGVAR(postdep_objects, $1)="$p"
-	 else
-	   _LT_TAGVAR(postdep_objects, $1)="$_LT_TAGVAR(postdep_objects, $1) $p"
-	 fi
-       fi
-       ;;
-
-    *) ;; # Ignore the rest.
-
-    esac
-  done
-
-  # Clean up.
-  rm -f a.out a.exe
-else
-  echo "libtool.m4: error: problem compiling $1 test program"
-fi
-
-$RM -f confest.$objext
-
-# PORTME: override above test on systems where it is broken
-m4_if([$1], [CXX],
-[case $host_os in
-interix[[3-9]]*)
-  # Interix 3.5 installs completely hosed .la files for C++, so rather than
-  # hack all around it, let's just trust "g++" to DTRT.
-  _LT_TAGVAR(predep_objects,$1)=
-  _LT_TAGVAR(postdep_objects,$1)=
-  _LT_TAGVAR(postdeps,$1)=
-  ;;
-
-linux*)
-  case `$CC -V 2>&1 | sed 5q` in
-  *Sun\ C*)
-    # Sun C++ 5.9
-
-    # The more standards-conforming stlport4 library is
-    # incompatible with the Cstd library. Avoid specifying
-    # it if it's in CXXFLAGS. Ignore libCrun as
-    # -library=stlport4 depends on it.
-    case " $CXX $CXXFLAGS " in
-    *" -library=stlport4 "*)
-      solaris_use_stlport4=yes
-      ;;
-    esac
-
-    if test "$solaris_use_stlport4" != yes; then
-      _LT_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun'
-    fi
-    ;;
-  esac
-  ;;
-
-solaris*)
-  case $cc_basename in
-  CC*)
-    # The more standards-conforming stlport4 library is
-    # incompatible with the Cstd library. Avoid specifying
-    # it if it's in CXXFLAGS. Ignore libCrun as
-    # -library=stlport4 depends on it.
-    case " $CXX $CXXFLAGS " in
-    *" -library=stlport4 "*)
-      solaris_use_stlport4=yes
-      ;;
-    esac
-
-    # Adding this requires a known-good setup of shared libraries for
-    # Sun compiler versions before 5.6, else PIC objects from an old
-    # archive will be linked into the output, leading to subtle bugs.
-    if test "$solaris_use_stlport4" != yes; then
-      _LT_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun'
-    fi
-    ;;
-  esac
-  ;;
-esac
-])
-
-case " $_LT_TAGVAR(postdeps, $1) " in
-*" -lc "*) _LT_TAGVAR(archive_cmds_need_lc, $1)=no ;;
-esac
- _LT_TAGVAR(compiler_lib_search_dirs, $1)=
-if test -n "${_LT_TAGVAR(compiler_lib_search_path, $1)}"; then
- _LT_TAGVAR(compiler_lib_search_dirs, $1)=`echo " ${_LT_TAGVAR(compiler_lib_search_path, $1)}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
-fi
-_LT_TAGDECL([], [compiler_lib_search_dirs], [1],
-    [The directories searched by this compiler when creating a shared library])
-_LT_TAGDECL([], [predep_objects], [1],
-    [Dependencies to place before and after the objects being linked to
-    create a shared library])
-_LT_TAGDECL([], [postdep_objects], [1])
-_LT_TAGDECL([], [predeps], [1])
-_LT_TAGDECL([], [postdeps], [1])
-_LT_TAGDECL([], [compiler_lib_search_path], [1],
-    [The library search path used internally by the compiler when linking
-    a shared library])
-])# _LT_SYS_HIDDEN_LIBDEPS
-
-
-# _LT_PROG_F77
-# ------------
-# Since AC_PROG_F77 is broken, in that it returns the empty string
-# if there is no fortran compiler, we have our own version here.
-m4_defun([_LT_PROG_F77],
-[
-pushdef([AC_MSG_ERROR], [_lt_disable_F77=yes])
-AC_PROG_F77
-if test -z "$F77" || test "X$F77" = "Xno"; then
-  _lt_disable_F77=yes
-fi
-popdef([AC_MSG_ERROR])
-])# _LT_PROG_F77
-
-dnl aclocal-1.4 backwards compatibility:
-dnl AC_DEFUN([_LT_PROG_F77], [])
-
-
-# _LT_LANG_F77_CONFIG([TAG])
-# --------------------------
-# Ensure that the configuration variables for a Fortran 77 compiler are
-# suitably defined.  These variables are subsequently used by _LT_CONFIG
-# to write the compiler configuration to `libtool'.
-m4_defun([_LT_LANG_F77_CONFIG],
-[AC_REQUIRE([_LT_PROG_F77])dnl
-AC_LANG_PUSH(Fortran 77)
-
-_LT_TAGVAR(archive_cmds_need_lc, $1)=no
-_LT_TAGVAR(allow_undefined_flag, $1)=
-_LT_TAGVAR(always_export_symbols, $1)=no
-_LT_TAGVAR(archive_expsym_cmds, $1)=
-_LT_TAGVAR(export_dynamic_flag_spec, $1)=
-_LT_TAGVAR(hardcode_direct, $1)=no
-_LT_TAGVAR(hardcode_direct_absolute, $1)=no
-_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
-_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
-_LT_TAGVAR(hardcode_libdir_separator, $1)=
-_LT_TAGVAR(hardcode_minus_L, $1)=no
-_LT_TAGVAR(hardcode_automatic, $1)=no
-_LT_TAGVAR(inherit_rpath, $1)=no
-_LT_TAGVAR(module_cmds, $1)=
-_LT_TAGVAR(module_expsym_cmds, $1)=
-_LT_TAGVAR(link_all_deplibs, $1)=unknown
-_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
-_LT_TAGVAR(no_undefined_flag, $1)=
-_LT_TAGVAR(whole_archive_flag_spec, $1)=
-_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
-
-# Source file extension for f77 test sources.
-ac_ext=f
-
-# Object file extension for compiled f77 test sources.
-objext=o
-_LT_TAGVAR(objext, $1)=$objext
-
-# No sense in running all these tests if we already determined that
-# the F77 compiler isn't working.  Some variables (like enable_shared)
-# are currently assumed to apply to all compilers on this platform,
-# and will be corrupted by setting them based on a non-working compiler.
-if test "$_lt_disable_F77" != yes; then
-  # Code to be used in simple compile tests
-  lt_simple_compile_test_code="\
-      subroutine t
-      return
-      end
-"
-
-  # Code to be used in simple link tests
-  lt_simple_link_test_code="\
-      program t
-      end
-"
-
-  # ltmain only uses $CC for tagged configurations so make sure $CC is set.
-  _LT_TAG_COMPILER
-
-  # save warnings/boilerplate of simple test code
-  _LT_COMPILER_BOILERPLATE
-  _LT_LINKER_BOILERPLATE
-
-  # Allow CC to be a program name with arguments.
-  lt_save_CC="$CC"
-  lt_save_GCC=$GCC
-  CC=${F77-"f77"}
-  compiler=$CC
-  _LT_TAGVAR(compiler, $1)=$CC
-  _LT_CC_BASENAME([$compiler])
-  GCC=$G77
-  if test -n "$compiler"; then
-    AC_MSG_CHECKING([if libtool supports shared libraries])
-    AC_MSG_RESULT([$can_build_shared])
-
-    AC_MSG_CHECKING([whether to build shared libraries])
-    test "$can_build_shared" = "no" && enable_shared=no
-
-    # On AIX, shared libraries and static libraries use the same namespace, and
-    # are all built from PIC.
-    case $host_os in
-      aix3*)
-        test "$enable_shared" = yes && enable_static=no
-        if test -n "$RANLIB"; then
-          archive_cmds="$archive_cmds~\$RANLIB \$lib"
-          postinstall_cmds='$RANLIB $lib'
-        fi
-        ;;
-      aix[[4-9]]*)
-	if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
-	  test "$enable_shared" = yes && enable_static=no
-	fi
-        ;;
-    esac
-    AC_MSG_RESULT([$enable_shared])
-
-    AC_MSG_CHECKING([whether to build static libraries])
-    # Make sure either enable_shared or enable_static is yes.
-    test "$enable_shared" = yes || enable_static=yes
-    AC_MSG_RESULT([$enable_static])
-
-    _LT_TAGVAR(GCC, $1)="$G77"
-    _LT_TAGVAR(LD, $1)="$LD"
-
-    ## CAVEAT EMPTOR:
-    ## There is no encapsulation within the following macros, do not change
-    ## the running order or otherwise move them around unless you know exactly
-    ## what you are doing...
-    _LT_COMPILER_PIC($1)
-    _LT_COMPILER_C_O($1)
-    _LT_COMPILER_FILE_LOCKS($1)
-    _LT_LINKER_SHLIBS($1)
-    _LT_SYS_DYNAMIC_LINKER($1)
-    _LT_LINKER_HARDCODE_LIBPATH($1)
-
-    _LT_CONFIG($1)
-  fi # test -n "$compiler"
-
-  GCC=$lt_save_GCC
-  CC="$lt_save_CC"
-fi # test "$_lt_disable_F77" != yes
-
-AC_LANG_POP
-])# _LT_LANG_F77_CONFIG
-
-
-# _LT_PROG_FC
-# -----------
-# Since AC_PROG_FC is broken, in that it returns the empty string
-# if there is no fortran compiler, we have our own version here.
-m4_defun([_LT_PROG_FC],
-[
-pushdef([AC_MSG_ERROR], [_lt_disable_FC=yes])
-AC_PROG_FC
-if test -z "$FC" || test "X$FC" = "Xno"; then
-  _lt_disable_FC=yes
-fi
-popdef([AC_MSG_ERROR])
-])# _LT_PROG_FC
-
-dnl aclocal-1.4 backwards compatibility:
-dnl AC_DEFUN([_LT_PROG_FC], [])
-
-
-# _LT_LANG_FC_CONFIG([TAG])
-# -------------------------
-# Ensure that the configuration variables for a Fortran compiler are
-# suitably defined.  These variables are subsequently used by _LT_CONFIG
-# to write the compiler configuration to `libtool'.
-m4_defun([_LT_LANG_FC_CONFIG],
-[AC_REQUIRE([_LT_PROG_FC])dnl
-AC_LANG_PUSH(Fortran)
-
-_LT_TAGVAR(archive_cmds_need_lc, $1)=no
-_LT_TAGVAR(allow_undefined_flag, $1)=
-_LT_TAGVAR(always_export_symbols, $1)=no
-_LT_TAGVAR(archive_expsym_cmds, $1)=
-_LT_TAGVAR(export_dynamic_flag_spec, $1)=
-_LT_TAGVAR(hardcode_direct, $1)=no
-_LT_TAGVAR(hardcode_direct_absolute, $1)=no
-_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
-_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
-_LT_TAGVAR(hardcode_libdir_separator, $1)=
-_LT_TAGVAR(hardcode_minus_L, $1)=no
-_LT_TAGVAR(hardcode_automatic, $1)=no
-_LT_TAGVAR(inherit_rpath, $1)=no
-_LT_TAGVAR(module_cmds, $1)=
-_LT_TAGVAR(module_expsym_cmds, $1)=
-_LT_TAGVAR(link_all_deplibs, $1)=unknown
-_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
-_LT_TAGVAR(no_undefined_flag, $1)=
-_LT_TAGVAR(whole_archive_flag_spec, $1)=
-_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
-
-# Source file extension for fc test sources.
-ac_ext=${ac_fc_srcext-f}
-
-# Object file extension for compiled fc test sources.
-objext=o
-_LT_TAGVAR(objext, $1)=$objext
-
-# No sense in running all these tests if we already determined that
-# the FC compiler isn't working.  Some variables (like enable_shared)
-# are currently assumed to apply to all compilers on this platform,
-# and will be corrupted by setting them based on a non-working compiler.
-if test "$_lt_disable_FC" != yes; then
-  # Code to be used in simple compile tests
-  lt_simple_compile_test_code="\
-      subroutine t
-      return
-      end
-"
-
-  # Code to be used in simple link tests
-  lt_simple_link_test_code="\
-      program t
-      end
-"
-
-  # ltmain only uses $CC for tagged configurations so make sure $CC is set.
-  _LT_TAG_COMPILER
-
-  # save warnings/boilerplate of simple test code
-  _LT_COMPILER_BOILERPLATE
-  _LT_LINKER_BOILERPLATE
-
-  # Allow CC to be a program name with arguments.
-  lt_save_CC="$CC"
-  lt_save_GCC=$GCC
-  CC=${FC-"f95"}
-  compiler=$CC
-  GCC=$ac_cv_fc_compiler_gnu
-
-  _LT_TAGVAR(compiler, $1)=$CC
-  _LT_CC_BASENAME([$compiler])
-
-  if test -n "$compiler"; then
-    AC_MSG_CHECKING([if libtool supports shared libraries])
-    AC_MSG_RESULT([$can_build_shared])
-
-    AC_MSG_CHECKING([whether to build shared libraries])
-    test "$can_build_shared" = "no" && enable_shared=no
-
-    # On AIX, shared libraries and static libraries use the same namespace, and
-    # are all built from PIC.
-    case $host_os in
-      aix3*)
-        test "$enable_shared" = yes && enable_static=no
-        if test -n "$RANLIB"; then
-          archive_cmds="$archive_cmds~\$RANLIB \$lib"
-          postinstall_cmds='$RANLIB $lib'
-        fi
-        ;;
-      aix[[4-9]]*)
-	if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
-	  test "$enable_shared" = yes && enable_static=no
-	fi
-        ;;
-    esac
-    AC_MSG_RESULT([$enable_shared])
-
-    AC_MSG_CHECKING([whether to build static libraries])
-    # Make sure either enable_shared or enable_static is yes.
-    test "$enable_shared" = yes || enable_static=yes
-    AC_MSG_RESULT([$enable_static])
-
-    _LT_TAGVAR(GCC, $1)="$ac_cv_fc_compiler_gnu"
-    _LT_TAGVAR(LD, $1)="$LD"
-
-    ## CAVEAT EMPTOR:
-    ## There is no encapsulation within the following macros, do not change
-    ## the running order or otherwise move them around unless you know exactly
-    ## what you are doing...
-    _LT_SYS_HIDDEN_LIBDEPS($1)
-    _LT_COMPILER_PIC($1)
-    _LT_COMPILER_C_O($1)
-    _LT_COMPILER_FILE_LOCKS($1)
-    _LT_LINKER_SHLIBS($1)
-    _LT_SYS_DYNAMIC_LINKER($1)
-    _LT_LINKER_HARDCODE_LIBPATH($1)
-
-    _LT_CONFIG($1)
-  fi # test -n "$compiler"
-
-  GCC=$lt_save_GCC
-  CC="$lt_save_CC"
-fi # test "$_lt_disable_FC" != yes
-
-AC_LANG_POP
-])# _LT_LANG_FC_CONFIG
-
-
-# _LT_LANG_GCJ_CONFIG([TAG])
-# --------------------------
-# Ensure that the configuration variables for the GNU Java Compiler compiler
-# are suitably defined.  These variables are subsequently used by _LT_CONFIG
-# to write the compiler configuration to `libtool'.
-m4_defun([_LT_LANG_GCJ_CONFIG],
-[AC_REQUIRE([LT_PROG_GCJ])dnl
-AC_LANG_SAVE
-
-# Source file extension for Java test sources.
-ac_ext=java
-
-# Object file extension for compiled Java test sources.
-objext=o
-_LT_TAGVAR(objext, $1)=$objext
-
-# Code to be used in simple compile tests
-lt_simple_compile_test_code="class foo {}"
-
-# Code to be used in simple link tests
-lt_simple_link_test_code='public class conftest { public static void main(String[[]] argv) {}; }'
-
-# ltmain only uses $CC for tagged configurations so make sure $CC is set.
-_LT_TAG_COMPILER
-
-# save warnings/boilerplate of simple test code
-_LT_COMPILER_BOILERPLATE
-_LT_LINKER_BOILERPLATE
-
-# Allow CC to be a program name with arguments.
-lt_save_CC="$CC"
-lt_save_GCC=$GCC
-GCC=yes
-CC=${GCJ-"gcj"}
-compiler=$CC
-_LT_TAGVAR(compiler, $1)=$CC
-_LT_TAGVAR(LD, $1)="$LD"
-_LT_CC_BASENAME([$compiler])
-
-# GCJ did not exist at the time GCC didn't implicitly link libc in.
-_LT_TAGVAR(archive_cmds_need_lc, $1)=no
-
-_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
-
-## CAVEAT EMPTOR:
-## There is no encapsulation within the following macros, do not change
-## the running order or otherwise move them around unless you know exactly
-## what you are doing...
-if test -n "$compiler"; then
-  _LT_COMPILER_NO_RTTI($1)
-  _LT_COMPILER_PIC($1)
-  _LT_COMPILER_C_O($1)
-  _LT_COMPILER_FILE_LOCKS($1)
-  _LT_LINKER_SHLIBS($1)
-  _LT_LINKER_HARDCODE_LIBPATH($1)
-
-  _LT_CONFIG($1)
-fi
-
-AC_LANG_RESTORE
-
-GCC=$lt_save_GCC
-CC="$lt_save_CC"
-])# _LT_LANG_GCJ_CONFIG
-
-
-# _LT_LANG_RC_CONFIG([TAG])
-# -------------------------
-# Ensure that the configuration variables for the Windows resource compiler
-# are suitably defined.  These variables are subsequently used by _LT_CONFIG
-# to write the compiler configuration to `libtool'.
-m4_defun([_LT_LANG_RC_CONFIG],
-[AC_REQUIRE([LT_PROG_RC])dnl
-AC_LANG_SAVE
-
-# Source file extension for RC test sources.
-ac_ext=rc
-
-# Object file extension for compiled RC test sources.
-objext=o
-_LT_TAGVAR(objext, $1)=$objext
-
-# Code to be used in simple compile tests
-lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
-
-# Code to be used in simple link tests
-lt_simple_link_test_code="$lt_simple_compile_test_code"
-
-# ltmain only uses $CC for tagged configurations so make sure $CC is set.
-_LT_TAG_COMPILER
-
-# save warnings/boilerplate of simple test code
-_LT_COMPILER_BOILERPLATE
-_LT_LINKER_BOILERPLATE
-
-# Allow CC to be a program name with arguments.
-lt_save_CC="$CC"
-lt_save_GCC=$GCC
-GCC=
-CC=${RC-"windres"}
-compiler=$CC
-_LT_TAGVAR(compiler, $1)=$CC
-_LT_CC_BASENAME([$compiler])
-_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
-
-if test -n "$compiler"; then
-  :
-  _LT_CONFIG($1)
-fi
-
-GCC=$lt_save_GCC
-AC_LANG_RESTORE
-CC="$lt_save_CC"
-])# _LT_LANG_RC_CONFIG
-
-
-# LT_PROG_GCJ
-# -----------
-AC_DEFUN([LT_PROG_GCJ],
-[m4_ifdef([AC_PROG_GCJ], [AC_PROG_GCJ],
-  [m4_ifdef([A][M_PROG_GCJ], [A][M_PROG_GCJ],
-    [AC_CHECK_TOOL(GCJ, gcj,)
-      test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2"
-      AC_SUBST(GCJFLAGS)])])[]dnl
-])
-
-# Old name:
-AU_ALIAS([LT_AC_PROG_GCJ], [LT_PROG_GCJ])
-dnl aclocal-1.4 backwards compatibility:
-dnl AC_DEFUN([LT_AC_PROG_GCJ], [])
-
-
-# LT_PROG_RC
-# ----------
-AC_DEFUN([LT_PROG_RC],
-[AC_CHECK_TOOL(RC, windres,)
-])
-
-# Old name:
-AU_ALIAS([LT_AC_PROG_RC], [LT_PROG_RC])
-dnl aclocal-1.4 backwards compatibility:
-dnl AC_DEFUN([LT_AC_PROG_RC], [])
-
-
-# _LT_DECL_EGREP
-# --------------
-# If we don't have a new enough Autoconf to choose the best grep
-# available, choose the one first in the user's PATH.
-m4_defun([_LT_DECL_EGREP],
-[AC_REQUIRE([AC_PROG_EGREP])dnl
-AC_REQUIRE([AC_PROG_FGREP])dnl
-test -z "$GREP" && GREP=grep
-_LT_DECL([], [GREP], [1], [A grep program that handles long lines])
-_LT_DECL([], [EGREP], [1], [An ERE matcher])
-_LT_DECL([], [FGREP], [1], [A literal string matcher])
-dnl Non-bleeding-edge autoconf doesn't subst GREP, so do it here too
-AC_SUBST([GREP])
-])
-
-
-# _LT_DECL_OBJDUMP
-# --------------
-# If we don't have a new enough Autoconf to choose the best objdump
-# available, choose the one first in the user's PATH.
-m4_defun([_LT_DECL_OBJDUMP],
-[AC_CHECK_TOOL(OBJDUMP, objdump, false)
-test -z "$OBJDUMP" && OBJDUMP=objdump
-_LT_DECL([], [OBJDUMP], [1], [An object symbol dumper])
-AC_SUBST([OBJDUMP])
-])
-
-
-# _LT_DECL_SED
-# ------------
-# Check for a fully-functional sed program, that truncates
-# as few characters as possible.  Prefer GNU sed if found.
-m4_defun([_LT_DECL_SED],
-[AC_PROG_SED
-test -z "$SED" && SED=sed
-Xsed="$SED -e 1s/^X//"
-_LT_DECL([], [SED], [1], [A sed program that does not truncate output])
-_LT_DECL([], [Xsed], ["\$SED -e 1s/^X//"],
-    [Sed that helps us avoid accidentally triggering echo(1) options like -n])
-])# _LT_DECL_SED
-
-m4_ifndef([AC_PROG_SED], [
-############################################################
-# NOTE: This macro has been submitted for inclusion into   #
-#  GNU Autoconf as AC_PROG_SED.  When it is available in   #
-#  a released version of Autoconf we should remove this    #
-#  macro and use it instead.                               #
-############################################################
-
-m4_defun([AC_PROG_SED],
-[AC_MSG_CHECKING([for a sed that does not truncate output])
-AC_CACHE_VAL(lt_cv_path_SED,
-[# Loop through the user's path and test for sed and gsed.
-# Then use that list of sed's as ones to test for truncation.
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-  for lt_ac_prog in sed gsed; do
-    for ac_exec_ext in '' $ac_executable_extensions; do
-      if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
-        lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
-      fi
-    done
-  done
-done
-IFS=$as_save_IFS
-lt_ac_max=0
-lt_ac_count=0
-# Add /usr/xpg4/bin/sed as it is typically found on Solaris
-# along with /bin/sed that truncates output.
-for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
-  test ! -f $lt_ac_sed && continue
-  cat /dev/null > conftest.in
-  lt_ac_count=0
-  echo $ECHO_N "0123456789$ECHO_C" >conftest.in
-  # Check for GNU sed and select it if it is found.
-  if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
-    lt_cv_path_SED=$lt_ac_sed
-    break
-  fi
-  while true; do
-    cat conftest.in conftest.in >conftest.tmp
-    mv conftest.tmp conftest.in
-    cp conftest.in conftest.nl
-    echo >>conftest.nl
-    $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
-    cmp -s conftest.out conftest.nl || break
-    # 10000 chars as input seems more than enough
-    test $lt_ac_count -gt 10 && break
-    lt_ac_count=`expr $lt_ac_count + 1`
-    if test $lt_ac_count -gt $lt_ac_max; then
-      lt_ac_max=$lt_ac_count
-      lt_cv_path_SED=$lt_ac_sed
-    fi
-  done
-done
-])
-SED=$lt_cv_path_SED
-AC_SUBST([SED])
-AC_MSG_RESULT([$SED])
-])#AC_PROG_SED
-])#m4_ifndef
-
-# Old name:
-AU_ALIAS([LT_AC_PROG_SED], [AC_PROG_SED])
-dnl aclocal-1.4 backwards compatibility:
-dnl AC_DEFUN([LT_AC_PROG_SED], [])
-
-
-# _LT_CHECK_SHELL_FEATURES
-# ------------------------
-# Find out whether the shell is Bourne or XSI compatible,
-# or has some other useful features.
-m4_defun([_LT_CHECK_SHELL_FEATURES],
-[AC_MSG_CHECKING([whether the shell understands some XSI constructs])
-# Try some XSI features
-xsi_shell=no
-( _lt_dummy="a/b/c"
-  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
-      = c,a/b,, \
-    && eval 'test $(( 1 + 1 )) -eq 2 \
-    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
-  && xsi_shell=yes
-AC_MSG_RESULT([$xsi_shell])
-_LT_CONFIG_LIBTOOL_INIT([xsi_shell='$xsi_shell'])
-
-AC_MSG_CHECKING([whether the shell understands "+="])
-lt_shell_append=no
-( foo=bar; set foo baz; eval "$[1]+=\$[2]" && test "$foo" = barbaz ) \
-    >/dev/null 2>&1 \
-  && lt_shell_append=yes
-AC_MSG_RESULT([$lt_shell_append])
-_LT_CONFIG_LIBTOOL_INIT([lt_shell_append='$lt_shell_append'])
-
-if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
-  lt_unset=unset
-else
-  lt_unset=false
-fi
-_LT_DECL([], [lt_unset], [0], [whether the shell understands "unset"])dnl
-
-# test EBCDIC or ASCII
-case `echo X|tr X '\101'` in
- A) # ASCII based system
-    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
-  lt_SP2NL='tr \040 \012'
-  lt_NL2SP='tr \015\012 \040\040'
-  ;;
- *) # EBCDIC based system
-  lt_SP2NL='tr \100 \n'
-  lt_NL2SP='tr \r\n \100\100'
-  ;;
-esac
-_LT_DECL([SP2NL], [lt_SP2NL], [1], [turn spaces into newlines])dnl
-_LT_DECL([NL2SP], [lt_NL2SP], [1], [turn newlines into spaces])dnl
-])# _LT_CHECK_SHELL_FEATURES
-
-
-# _LT_PROG_XSI_SHELLFNS
-# ---------------------
-# Bourne and XSI compatible variants of some useful shell functions.
-m4_defun([_LT_PROG_XSI_SHELLFNS],
-[case $xsi_shell in
-  yes)
-    cat << \_LT_EOF >> "$cfgfile"
-
-# func_dirname file append nondir_replacement
-# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
-# otherwise set result to NONDIR_REPLACEMENT.
-func_dirname ()
-{
-  case ${1} in
-    */*) func_dirname_result="${1%/*}${2}" ;;
-    *  ) func_dirname_result="${3}" ;;
-  esac
-}
-
-# func_basename file
-func_basename ()
-{
-  func_basename_result="${1##*/}"
-}
-
-# func_dirname_and_basename file append nondir_replacement
-# perform func_basename and func_dirname in a single function
-# call:
-#   dirname:  Compute the dirname of FILE.  If nonempty,
-#             add APPEND to the result, otherwise set result
-#             to NONDIR_REPLACEMENT.
-#             value returned in "$func_dirname_result"
-#   basename: Compute filename of FILE.
-#             value retuned in "$func_basename_result"
-# Implementation must be kept synchronized with func_dirname
-# and func_basename. For efficiency, we do not delegate to
-# those functions but instead duplicate the functionality here.
-func_dirname_and_basename ()
-{
-  case ${1} in
-    */*) func_dirname_result="${1%/*}${2}" ;;
-    *  ) func_dirname_result="${3}" ;;
-  esac
-  func_basename_result="${1##*/}"
-}
-
-# func_stripname prefix suffix name
-# strip PREFIX and SUFFIX off of NAME.
-# PREFIX and SUFFIX must not contain globbing or regex special
-# characters, hashes, percent signs, but SUFFIX may contain a leading
-# dot (in which case that matches only a dot).
-func_stripname ()
-{
-  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
-  # positional parameters, so assign one to ordinary parameter first.
-  func_stripname_result=${3}
-  func_stripname_result=${func_stripname_result#"${1}"}
-  func_stripname_result=${func_stripname_result%"${2}"}
-}
-
-# func_opt_split
-func_opt_split ()
-{
-  func_opt_split_opt=${1%%=*}
-  func_opt_split_arg=${1#*=}
-}
-
-# func_lo2o object
-func_lo2o ()
-{
-  case ${1} in
-    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
-    *)    func_lo2o_result=${1} ;;
-  esac
-}
-
-# func_xform libobj-or-source
-func_xform ()
-{
-  func_xform_result=${1%.*}.lo
-}
-
-# func_arith arithmetic-term...
-func_arith ()
-{
-  func_arith_result=$(( $[*] ))
-}
-
-# func_len string
-# STRING may not start with a hyphen.
-func_len ()
-{
-  func_len_result=${#1}
-}
-
-_LT_EOF
-    ;;
-  *) # Bourne compatible functions.
-    cat << \_LT_EOF >> "$cfgfile"
-
-# func_dirname file append nondir_replacement
-# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
-# otherwise set result to NONDIR_REPLACEMENT.
-func_dirname ()
-{
-  # Extract subdirectory from the argument.
-  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
-  if test "X$func_dirname_result" = "X${1}"; then
-    func_dirname_result="${3}"
-  else
-    func_dirname_result="$func_dirname_result${2}"
-  fi
-}
-
-# func_basename file
-func_basename ()
-{
-  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
-}
-
-dnl func_dirname_and_basename
-dnl A portable version of this function is already defined in general.m4sh
-dnl so there is no need for it here.
-
-# func_stripname prefix suffix name
-# strip PREFIX and SUFFIX off of NAME.
-# PREFIX and SUFFIX must not contain globbing or regex special
-# characters, hashes, percent signs, but SUFFIX may contain a leading
-# dot (in which case that matches only a dot).
-# func_strip_suffix prefix name
-func_stripname ()
-{
-  case ${2} in
-    .*) func_stripname_result=`$ECHO "X${3}" \
-           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
-    *)  func_stripname_result=`$ECHO "X${3}" \
-           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
-  esac
-}
-
-# sed scripts:
-my_sed_long_opt='1s/^\(-[[^=]]*\)=.*/\1/;q'
-my_sed_long_arg='1s/^-[[^=]]*=//'
-
-# func_opt_split
-func_opt_split ()
-{
-  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
-  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
-}
-
-# func_lo2o object
-func_lo2o ()
-{
-  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
-}
-
-# func_xform libobj-or-source
-func_xform ()
-{
-  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[[^.]]*$/.lo/'`
-}
-
-# func_arith arithmetic-term...
-func_arith ()
-{
-  func_arith_result=`expr "$[@]"`
-}
-
-# func_len string
-# STRING may not start with a hyphen.
-func_len ()
-{
-  func_len_result=`expr "$[1]" : ".*" 2>/dev/null || echo $max_cmd_len`
-}
-
-_LT_EOF
-esac
-
-case $lt_shell_append in
-  yes)
-    cat << \_LT_EOF >> "$cfgfile"
-
-# func_append var value
-# Append VALUE to the end of shell variable VAR.
-func_append ()
-{
-  eval "$[1]+=\$[2]"
-}
-_LT_EOF
-    ;;
-  *)
-    cat << \_LT_EOF >> "$cfgfile"
-
-# func_append var value
-# Append VALUE to the end of shell variable VAR.
-func_append ()
-{
-  eval "$[1]=\$$[1]\$[2]"
-}
-
-_LT_EOF
-    ;;
-  esac
-])
diff --git a/autogen.sh b/autogen.sh
deleted file mode 100755
index 186884d0..00000000
--- a/autogen.sh
+++ /dev/null
@@ -1,164 +0,0 @@
-#! /bin/bash
-
-###############################################################################
-#
-#	Run this to generate the Makefile templates, etc.
-#
-###############################################################################
-
-THIS_PROGGIE_EXECUTABLE="./autogen.sh"
-THIS_PROGGIE_NAME="KVIrc autogen.sh"
-THIS_PROGGIE_VERSION="1.0.0"
-PKG_NAME="kvirc"
-DIE=0
-GEN_FILES="configure.in"
-
-USE_BUNDLED_LIBTOOL=0
-
-# Handle arguments
-
-
-while test "$#" -gt 0
-do
-	arg="$1"
-	shift
-
-	case $arg in
-		--help)
-			echo $THIS_PROGGIE_NAME $THIS_PROGGIE_VERSION
-			echo "Usage:"
-			echo $THIS_PROGGIE_EXECUTABLE "[options]"
-			echo "Options:"
-			echo "   --bundled-libtool   : use the bundled libtool instead"
-			echo "                         of the system one"
-			exit 0
-	    ;;
-
-		--version)
-			echo $THIS_PROGGIE_NAME $THIS_PROGGIE_VERSION
-			exit 0
-	    ;;
-
-		--bundled-libtool)
-			USE_BUNDLED_LIBTOOL=1
-		;;
-
-		*)
-			echo "Unrecognized option $arg"
-			echo "See $THIS_PROGGIE_EXECUTABLE --help"
-		    exit -1
-		;;
-	esac
-done
-
-
-set -e
-
-function RUN_TOOL()
-{
-	if [ -z "$*" ]; then return; fi
-	echo "... Running $*"
-	$*
-}
-
-
-###############################################################################
-#
-#
-
-
-echo "... Generating build files for $PKG_NAME"
-
-(autoconf --version) < /dev/null > /dev/null 2>&1 || {
-	echo
-	echo "**Error**: You must have GNU \`autoconf' installed."
-	DIE=1
-}
-
-(test "$USE_BUNDLED_LIBTOOL" -eq 0) && {
-	(libtool --version) < /dev/null > /dev/null 2>&1 || {
-		echo "*Warning*: You don't have GNU \`libtool' installed."
-		echo "*Warning*: Using the buindled libtool instead."
-		USE_BUNDLED_LIBTOOL=1
-	}
-}
-
-(automake --version) < /dev/null > /dev/null 2>&1 || {
-	echo
-	echo "**Error**: You must have GNU \`automake' installed."
-	DIE=1
-	NO_AUTOMAKE=yes
-}
-
-# if no automake, do not bother testing for aclocal
-test -n "$NO_AUTOMAKE" || (aclocal --version) < /dev/null > /dev/null 2>&1 || {
-	echo
-	echo "**Error**: Missing \`aclocal'. The version of \`automake'"
-	echo "installed does not appear recent enough."
-	DIE=1
-}
-
-if test "$DIE" -eq 1; then
-	exit 1
-fi
-
-case $CC in
-xlc)
-	am_opt=--include-deps;;
-esac
-
-for coin in $GEN_FILES
-do
-	dr=`dirname $coin`
-	if test -f $dr/NO-AUTO-GEN; then
-		echo "... skipping $dr -- flagged as no auto-gen"
-	else
-		echo "... processing \"$dr\""
-		macrodirs=`sed -n -e 's,AM_ACLOCAL_INCLUDE(\(.*\)),\1,gp' < $coin`
-		(
-			cd $dr
-			aclocalinclude="$ACLOCAL_FLAGS"
-			for k in $macrodirs; do
-				if test -d $k; then
-					aclocalinclude="$aclocalinclude -I $k"
-				fi
-			done
-
-			MACRO_FILES="admin/acinclude.m4.in admin/libtool.m4.in"
-
-			cat $MACRO_FILES > acinclude.m4
-
-			if test "$USE_BUNDLED_LIBTOOL" -eq 0; then
-				echo "... Using system libtool"
-				echo "...   Re-run with --bundled-libtool to use"
-				echo "...   the libtool shipped with the KVIrc svn"
-				RUN_TOOL libtoolize --copy --force
-			else
-				echo "... Using bundled libtool"
-				rm -f admin/ltmain.sh
-				rm -f admin/config.guess
-				rm -f admin/config.sub
-				cp admin/libtool/ltmain.sh admin/ltmain.sh
-				cp admin/libtool/config.guess admin/config.guess
-				cp admin/libtool/config.sub admin/config.sub
-			fi
-
-			RUN_TOOL aclocal $aclocalinclude
-			if grep "^AM_CONFIG_HEADER" $coin > /dev/null; then
-				RUN_TOOL autoheader
-			fi
-			RUN_TOOL automake --add-missing --force-missing --copy $am_opt
-			RUN_TOOL autoconf
-			touch stamp-h.in
-		)
-	fi
-done
-
-echo "###"
-echo "### Done. The next step is ./configure --help"
-echo "### Take a look at the options (eventually read the INSTALL file)"
-echo "### and run ./configure <your_options>"
-echo "###"
-
-#
-###############################################################################
diff --git a/config.h.in b/config.h.in
deleted file mode 100644
index 4c87ab73..00000000
--- a/config.h.in
+++ /dev/null
@@ -1,142 +0,0 @@
-/* config.h.in.  Generated from configure.in by autoheader.  */
-
-/* define this to the number of average channel users */
-#undef AVERAGE_CHANNEL_USERS
-
-/* define this if you are on a big endian machine */
-#undef BIG_ENDIAN_MACHINE_BYTE_ORDER
-
-/* define if you want to enable the Arts daemon support */
-#undef COMPILE_ARTS_SUPPORT
-
-/* define if you want to enable the Audiofile library support */
-#undef COMPILE_AUDIOFILE_SUPPORT
-
-/* define if you want to compile the crypt support */
-#undef COMPILE_CRYPT_SUPPORT
-
-/* define if you want to disable DCC VOICE sound support */
-#undef COMPILE_DISABLE_DCC_VOICE
-
-/* define if you want to enable the Esound daemon support */
-#undef COMPILE_ESD_SUPPORT
-
-/* define if you have the SIOCGIFADDR ioctl and the related headers */
-#undef COMPILE_GET_INTERFACE_ADDRESS
-
-/* define this if you want to ignore the SIGALARM signal */
-#undef COMPILE_IGNORE_SIGALARM
-
-/* define if you want the info tips to be compiled in */
-#undef COMPILE_INFO_TIPS
-
-/* define if you want the IpV6 support */
-#undef COMPILE_IPV6_SUPPORT
-
-/* define if you want to compile the TDE support */
-#undef COMPILE_TDE_SUPPORT
-
-/* define if you want the memory checks */
-#undef COMPILE_MEMORY_CHECKS
-
-/* define if you want the gcc memory profile */
-#undef COMPILE_MEMORY_PROFILE
-
-/* define if you want to enable the new KVS parser */
-#undef COMPILE_NEW_KVS
-
-/* define this if you want to disable the inter-process communication support */
-#undef COMPILE_NO_IPC
-
-/* define if you want to ignore X Windows completely */
-#undef COMPILE_NO_X
-
-/* define if you want to disable the X bell support */
-#undef COMPILE_NO_X_BELL
-
-/* define if you want to enable OSS sound support */
-#undef COMPILE_OSS_SUPPORT
-
-/* define if you have perl and want the perl scripting support in kvirc */
-#undef COMPILE_PERL_SUPPORT
-
-/* define if you have the KDE support and want the pseudo transparency */
-#undef COMPILE_PSEUDO_TRANSPARENCY
-
-/* define if you have openssl and want the ssl support in kvirc */
-#undef COMPILE_SSL_SUPPORT
-
-/* define if your compiler supports gotos do dynamic labels */
-#undef COMPILE_USE_DYNAMIC_LABELS
-
-/* define if you have libgsm and want the GSM code to be compiled */
-#undef COMPILE_USE_GSM
-
-/* define if you trust your memmove() function */
-#undef COMPILE_WITH_SYSTEM_MEMMOVE
-
-/* define if you want to enable the ZLib library support */
-#undef COMPILE_XSS_SUPPORT
-
-/* define if you want to enable the ZLib library support */
-#undef COMPILE_ZLIB_SUPPORT
-
-/* define if you want the i386 asm code */
-#undef COMPILE_ix86_ASM
-
-/* Define to 1 if you have the <dlfcn.h> header file. */
-#undef HAVE_DLFCN_H
-
-/* Define to 1 if you have the `inet_aton' function. */
-#undef HAVE_INET_ATON
-
-/* Define to 1 if you have the `inet_ntoa' function. */
-#undef HAVE_INET_NTOA
-
-/* Define to 1 if you have the <linux/soundcard.h> header file. */
-#undef HAVE_LINUX_SOUNDCARD_H
-
-/* Define to 1 if you have the `putenv' function. */
-#undef HAVE_PUTENV
-
-/* Define to 1 if you have the `setenv' function. */
-#undef HAVE_SETENV
-
-/* Define to 1 if you have the <soundcard.h> header file. */
-#undef HAVE_SOUNDCARD_H
-
-/* Define to 1 if you have the <sys/soundcard.h> header file. */
-#undef HAVE_SYS_SOUNDCARD_H
-
-/* Define to 1 if you have the `unsetenv' function. */
-#undef HAVE_UNSETENV
-
-/* The size of `int', as computed by sizeof. */
-#undef SIZEOF_INT
-
-/* The size of `long int', as computed by sizeof. */
-#undef SIZEOF_LONG_INT
-
-/* The size of `long long int', as computed by sizeof. */
-#undef SIZEOF_LONG_LONG_INT
-
-/* The size of `short int', as computed by sizeof. */
-#undef SIZEOF_SHORT_INT
-
-/* Enable GNU extensions on systems that have them.  */
-#ifndef _GNU_SOURCE
-# undef _GNU_SOURCE
-#endif
-/* Enable general extensions on Solaris.  */
-#ifndef __EXTENSIONS__
-# undef __EXTENSIONS__
-#endif
-
-/* Version number of package */
-#undef VERSION
-
-/* TDE directory */
-#undef TDE_DIR
-
-/* TDE Library directory */
-#undef TDE_LIBDIR
diff --git a/configure.in b/configure.in
deleted file mode 100644
index cd06ad9a..00000000
--- a/configure.in
+++ /dev/null
@@ -1,264 +0,0 @@
-#------------------------------------------------------------------
-# configure.in for the KVIrc IRC client
-# Szymon Stefanek (07-04-2000)
-#------------------------------------------------------------------
-
-AC_INIT(README)
-
-AC_SS_HEADER([Trying to find out where I am])
-
-AC_CONFIG_AUX_DIR(admin)
-
-AC_CANONICAL_SYSTEM
-
-AC_SS_HEADER([Initializing automake])
-
-AC_PREREQ(2.52)
-
-AM_INIT_AUTOMAKE(kvirc,3.4.0)
-
-AM_MAINTAINER_MODE
-
-AC_PREFIX_DEFAULT(/usr/local)
-AC_CONFIG_HEADER(config.h)
-
-#------------------------------------------------------------------
-# HERE starts your real configure script
-#------------------------------------------------------------------
-
-AC_SS_INIT_VARIABLES
-
-AC_SS_HEADER([Checking the compilation mode])
-
-AC_SS_CXXFLAGS
-
-AC_SS_HEADER([Checking the C++ environment])
-
-AC_PROG_CC
-AC_AIX
-AC_MINIX
-AC_EXEEXT
-AC_LANG_CPLUSPLUS
-AC_PROG_CXX
-TDE_CXX_COMPILE_STDCXX(17)
-
-AC_SS_HEADER([Initializing libtool])
-
-AM_DISABLE_STATIC
-AC_LIBTOOL_DLOPEN
-KVIRC_PROG_LIBTOOL
-
-AC_SS_HEADER([Checking system properties])
-
-AC_SS_HEADER_CHECKS
-AC_SS_FUNCTION_CHECKS
-
-AC_SS_CHECK_IFADDR_STUFF
-AC_SS_CHECK_DYNAMIC_LABELS
-AC_SS_CHECK_BIG_ENDIAN
-AC_SS_MISC_OPTIONS
-
-AC_CHECK_SIZEOF(short int)
-AC_CHECK_SIZEOF(unsigned short int)
-AC_CHECK_SIZEOF(int)
-AC_CHECK_SIZEOF(unsigned int)
-AC_CHECK_SIZEOF(long int)
-AC_CHECK_SIZEOF(unsigned long int)
-AC_CHECK_SIZEOF(long long int)
-AC_CHECK_SIZEOF(unsigned long long int)
-AC_CHECK_SIZEOF(void *)
-
-#AC_SS_CHECK_KVISOCKLEN_T
-#AC_SS_CHECK_BOOL
-#AC_SS_LIBRARY_CHECKS
-#AC_SS_FIND_JPEG
-
-AC_SS_HEADER([Looking for required libraries])
-
-AC_SS_CHECK_DL
-AC_SS_CHECK_THREAD_STUFF
-
-AC_SS_HEADER([Looking for X])
-
-AC_SS_FIND_X
-AC_SS_CHECK_XSS
-AC_SS_HEADER([Looking for TQt])
-
-SS_QT3_MAJOR_VERSION_REQUIRED="3"
-SS_QT3_MINOR_VERSION_REQUIRED="0"
-SS_QT3_PATCH_LEVEL_REQUIRED="0"
-SS_QT3_GENERAL_FILE_TO_SEARCH="include/qinputdialog.h"
-SS_QT3_INCLUDE_FILE_TO_SEARCH="qiconview.h"
-
-SS_TQT3_GENERAL_FILE_TO_SEARCH="include/tqinputdialog.h"
-SS_TQT3_INCLUDE_FILE_TO_SEARCH="tqiconview.h"
-
-AC_SS_FIND_QT
-
-AC_SS_HEADER([Checking TDE])
-
-SS_KDE_GENERAL_FILE_TO_SEARCH="bin/tde-config"
-SS_KDE_INCLUDE_FILE_TO_SEARCH="tdemacros.h"
-
-AC_SS_FIND_KDE
-
-AC_SS_HEADER([Checking additional compilation options])
-AC_SS_CHECK_OPENSSL
-AC_SS_CHECK_ESD
-AC_SS_CHECK_ARTS
-AC_SS_CHECK_ZLIB
-AC_SS_CHECK_AUDIOFILE
-AC_SS_CHECK_OTHER_LIBS
-AC_SS_CHECK_PERL
-AC_SS_HEADER([Working out the final configuration])
-
-AC_SS_FINAL_CONFIG
-
-AC_SS_HEADER([Creating Makefiles])
-
-AC_OUTPUT( \
-	Makefile \
-	admin/Makefile \
-	data/Makefile \
-	data/app/Makefile \
-	data/config/Makefile \
-	data/defscript/Makefile \
-	data/deftheme/Makefile \
-	data/deftheme/silverirc/Makefile \
-	data/doctemplates/Makefile \
-	data/gendoc/Makefile \
-	data/mimelnk/Makefile \
-	data/msgcolors/Makefile \
-	data/protocols/Makefile \
-	doc/Makefile \
-	doc/man/Makefile \
-	doc/scriptexamples/Makefile \
-	doc/scriptexamples/antiidle/Makefile \
-	doc/scriptexamples/minesweeper/Makefile \
-	doc/scriptexamples/mp3share/Makefile \
-	doc/scriptexamples/playing/Makefile \
-	doc/scriptexamples/runmenu/Makefile \
-	doc/scriptexamples/simplehttp/Makefile \
-	doc/scriptexamples/tutorial/Makefile \
-	icons/Makefile \
-	icons/16x16/Makefile \
-	icons/32x32/Makefile \
-	icons/48x48/Makefile \
-	icons/64x64/Makefile \
-	icons/128x128/Makefile \
-	icons/scalable/Makefile \
-	pics/Makefile \
-	pics/coresmall/Makefile \
-	pics/helppics/Makefile \
-	translations/Makefile \
-	translations/messages/Makefile \
-	translations/messages/kvirc/Makefile \
-	translations/messages/kvirc-about/Makefile \
-	translations/messages/kvirc-dcc/Makefile \
-	translations/messages/kvirc-editor/Makefile \
-	translations/messages/kvirc-filetransferwindow/Makefile \
-	translations/messages/kvirc-logview/Makefile \
-	translations/messages/kvirc-mediaplayer/Makefile \
-	translations/messages/kvirc-notifier/Makefile \
-	translations/messages/kvirc-options/Makefile \
-	translations/messages/kvirc-perl/Makefile \
-	translations/messages/kvirc-perlcore/Makefile \
-	translations/messages/kvirc-sharedfileswindow/Makefile \
-	translations/messages/kvirc-theme/Makefile \
-	translations/messages/kvirc-torrent/Makefile \
-	src/Makefile \
-	src/kvilib/Makefile \
-	src/kvilib/build/Makefile \
-	src/kvilib/config/Makefile \
-	src/kvilib/core/Makefile \
-	src/kvilib/ext/Makefile \
-	src/kvilib/file/Makefile \
-	src/kvilib/include/Makefile \
-	src/kvilib/irc/Makefile \
-	src/kvilib/net/Makefile \
-	src/kvilib/system/Makefile \
-	src/kvilib/tal/Makefile \
-	src/kvirc/Makefile \
-	src/kvirc/build/Makefile \
-	src/kvirc/include/Makefile \
-	src/kvirc/kernel/Makefile \
-	src/kvirc/kvs/Makefile \
-	src/kvirc/module/Makefile \
-	src/kvirc/sparser/Makefile \
-	src/kvirc/ui/Makefile \
-	src/modules/Makefile \
-	src/modules/about/Makefile \
-	src/modules/action/Makefile \
-	src/modules/actioneditor/Makefile \
-	src/modules/addon/Makefile \
-	src/modules/addon/pics/Makefile \
-	src/modules/aliaseditor/Makefile \
-	src/modules/avatar/Makefile \
-	src/modules/chan/Makefile \
-	src/modules/channelsjoin/Makefile \
-	src/modules/clock/Makefile \
-	src/modules/codetester/Makefile \
-	src/modules/config/Makefile \
-	src/modules/context/Makefile \
-	src/modules/dialog/Makefile \
-	src/modules/dcc/Makefile \
-	src/modules/dockwidget/Makefile \
-	src/modules/editor/Makefile \
-	src/modules/eventeditor/Makefile \
-	src/modules/file/Makefile \
-	src/modules/filetransferwindow/Makefile \
-	src/modules/filetransferwindow/caps/Makefile \
-	src/modules/help/Makefile \
-	src/modules/http/Makefile \
-	src/modules/ident/Makefile \
-	src/modules/iograph/Makefile \
-	src/modules/lamerizer/Makefile \
-	src/modules/links/Makefile \
-	src/modules/list/Makefile \
-	src/modules/log/Makefile \
-	src/modules/logview/Makefile \
-	src/modules/logview/caps/Makefile \
-	src/modules/mask/Makefile \
-	src/modules/math/Makefile \
-	src/modules/mediaplayer/Makefile \
-	src/modules/mircimport/Makefile \
-	src/modules/mircimport/caps/Makefile \
-	src/modules/mircimport/pics/Makefile \
-	src/modules/my/Makefile \
-	src/modules/notifier/Makefile \
-	src/modules/notifier/pics/Makefile \
-	src/modules/objects/Makefile \
-	src/modules/options/Makefile \
-	src/modules/perl/Makefile \
-	src/modules/perlcore/Makefile \
-	src/modules/popupeditor/Makefile \
-	src/modules/raweditor/Makefile \
-	src/modules/regchan/Makefile \
-	src/modules/reguser/Makefile \
-	src/modules/rijndael/Makefile \
-	src/modules/rijndael/caps/Makefile \
-	src/modules/setup/Makefile \
-	src/modules/sharedfile/Makefile \
-	src/modules/sharedfileswindow/Makefile \
-	src/modules/sharedfileswindow/caps/Makefile \
-	src/modules/snd/Makefile \
-	src/modules/socketspy/Makefile \
-	src/modules/spaste/Makefile \
-	src/modules/str/Makefile \
-	src/modules/system/Makefile \
-	src/modules/term/Makefile \
-	src/modules/texticons/Makefile \
-	src/modules/theme/Makefile \
-	src/modules/tip/Makefile \
-	src/modules/tmphighlight/Makefile \
-	src/modules/toolbar/Makefile \
-	src/modules/toolbareditor/Makefile \
-	src/modules/torrent/Makefile \
-	src/modules/url/Makefile \
-	src/modules/url/caps/Makefile \
-	src/modules/window/Makefile \
-	src/scripts/Makefile \
-	src/scripts/browser/Makefile \
-	src/scripts/helpsearch/Makefile \
-	src/tdeconf_update/Makefile \
-)
diff --git a/data/Makefile.am b/data/Makefile.am
deleted file mode 100644
index 000cda17..00000000
--- a/data/Makefile.am
+++ /dev/null
@@ -1,6 +0,0 @@
-###############################################################################
-# KVirc IRC client Makefile - 16.12.98 Szymon Stefanek <stefanek@tin.it>
-###############################################################################
-
-SUBDIRS = app config defscript deftheme doctemplates \
-          gendoc mimelnk msgcolors protocols
diff --git a/data/app/Makefile.am b/data/app/Makefile.am
deleted file mode 100644
index cd2d4963..00000000
--- a/data/app/Makefile.am
+++ /dev/null
@@ -1,5 +0,0 @@
-tmpdir = $(xdg_apps)
-
-tmp_DATA = kvirc.desktop
-   
-EXTRA_DIST = $(tmp_DATA)
diff --git a/data/config/Makefile.am b/data/config/Makefile.am
deleted file mode 100644
index 4b41fbd9..00000000
--- a/data/config/Makefile.am
+++ /dev/null
@@ -1,5 +0,0 @@
-tmpdir = $(configdir)
-
-tmp_DATA = serverdb.kvc texticons.kvc
-   
-EXTRA_DIST = $(tmp_DATA)
diff --git a/data/defscript/Makefile.am b/data/defscript/Makefile.am
deleted file mode 100644
index 768c9b8f..00000000
--- a/data/defscript/Makefile.am
+++ /dev/null
@@ -1,11 +0,0 @@
-tmpdir = $(defscriptdir)
-
-tmp_DATA = default.kvs \
-	aliases.kvs \
-	events.kvs \
-	popups.kvs \
-	toolbars.kvs \
-	installer.kvs \
-	theme-install.kvs
-   
-EXTRA_DIST = $(tmp_DATA)
diff --git a/data/deftheme/Makefile.am b/data/deftheme/Makefile.am
deleted file mode 100644
index c6ce91e6..00000000
--- a/data/deftheme/Makefile.am
+++ /dev/null
@@ -1,2 +0,0 @@
-SUBDIRS = silverirc
-
diff --git a/data/deftheme/silverirc/Makefile.am b/data/deftheme/silverirc/Makefile.am
deleted file mode 100644
index e4f01a62..00000000
--- a/data/deftheme/silverirc/Makefile.am
+++ /dev/null
@@ -1,5 +0,0 @@
-tmpdir = $(themedir)/silverirc
-
-tmp_DATA = themeinfo.kvc themedata.kvc pixmapIrcViewBackground.png pixmapInputBackground.png pixmapUserListViewBackground.png
-   
-EXTRA_DIST = $(tmp_DATA)
\ No newline at end of file
diff --git a/data/doctemplates/Makefile.am b/data/doctemplates/Makefile.am
deleted file mode 100644
index edd47224..00000000
--- a/data/doctemplates/Makefile.am
+++ /dev/null
@@ -1 +0,0 @@
-EXTRA_DIST = rfc2812.template kvircintro.template ircintro.template
diff --git a/data/gendoc/Makefile.am b/data/gendoc/Makefile.am
deleted file mode 100644
index bf092064..00000000
--- a/data/gendoc/Makefile.am
+++ /dev/null
@@ -1 +0,0 @@
-EXTRA_DIST = gendoc.pl
diff --git a/data/mimelnk/Makefile.am b/data/mimelnk/Makefile.am
deleted file mode 100644
index 9abef9cf..00000000
--- a/data/mimelnk/Makefile.am
+++ /dev/null
@@ -1,5 +0,0 @@
-tmpdir = $(mimelnkdir)
-
-tmp_DATA = x-kvs.desktop x-kvt.desktop x-kva.desktop x-kvc.desktop
-   
-EXTRA_DIST = $(tmp_DATA)
diff --git a/data/msgcolors/Makefile.am b/data/msgcolors/Makefile.am
deleted file mode 100644
index 078addb5..00000000
--- a/data/msgcolors/Makefile.am
+++ /dev/null
@@ -1,5 +0,0 @@
-tmpdir = $(msgcolorsdir)
-
-tmp_DATA = *.msgclr
-   
-EXTRA_DIST = $(tmp_DATA)
diff --git a/data/protocols/Makefile.am b/data/protocols/Makefile.am
deleted file mode 100644
index 720388f0..00000000
--- a/data/protocols/Makefile.am
+++ /dev/null
@@ -1,9 +0,0 @@
-###############################################################################
-# KVirc IRC client Makefile - 16.12.98 Szymon Stefanek <stefanek@tin.it>
-###############################################################################
-
-tmpdir = $(kdeservicesdir)
-
-tmp_DATA = irc.protocol irc6.protocol
-   
-EXTRA_DIST = $(tmp_DATA)
diff --git a/doc/Makefile.am b/doc/Makefile.am
deleted file mode 100644
index 338e9203..00000000
--- a/doc/Makefile.am
+++ /dev/null
@@ -1,10 +0,0 @@
-###############################################################################
-# KVirc IRC client Makefile - 16.12.98 Szymon Stefanek <stefanek@tin.it>
-###############################################################################
-
-SUBDIRS = man scriptexamples
-
-EXTRA_DIST = *.txt
-
-tmpdir = $(licensedir)
-tmp_DATA = COPYING
diff --git a/doc/man/Makefile.am b/doc/man/Makefile.am
deleted file mode 100644
index b58f2f44..00000000
--- a/doc/man/Makefile.am
+++ /dev/null
@@ -1,3 +0,0 @@
-tmpdir = $(mandir)/man1
-tmp_DATA=kvirc.1
-EXTRA_DIST=$(tmp_DATA)
diff --git a/doc/scriptexamples/Makefile.am b/doc/scriptexamples/Makefile.am
deleted file mode 100644
index 9a6c1c05..00000000
--- a/doc/scriptexamples/Makefile.am
+++ /dev/null
@@ -1,8 +0,0 @@
-###############################################################################
-# KVirc IRC client Makefile - 16.12.98 Szymon Stefanek <stefanek@tin.it>
-###############################################################################
-
-SUBDIRS = antiidle minesweeper mp3share playing runmenu simplehttp tutorial
-
-tmpdir = $(docdir)/scriptexamples
-tmp_DATA = *.kvs
diff --git a/doc/scriptexamples/antiidle/Makefile.am b/doc/scriptexamples/antiidle/Makefile.am
deleted file mode 100644
index 129ff570..00000000
--- a/doc/scriptexamples/antiidle/Makefile.am
+++ /dev/null
@@ -1,6 +0,0 @@
-###############################################################################
-# KVirc IRC client Makefile - 16.12.98 Szymon Stefanek <stefanek@tin.it>
-###############################################################################
-
-tmpdir = $(docdir)/scriptexamples/antiidle
-tmp_DATA = antiidle.kvs
diff --git a/doc/scriptexamples/minesweeper/Makefile.am b/doc/scriptexamples/minesweeper/Makefile.am
deleted file mode 100644
index f5e2526d..00000000
--- a/doc/scriptexamples/minesweeper/Makefile.am
+++ /dev/null
@@ -1,6 +0,0 @@
-###############################################################################
-# KVirc IRC client Makefile - 16.12.98 Szymon Stefanek <stefanek@tin.it>
-###############################################################################
-
-tmpdir = $(docdir)/scriptexamples/minesweeper
-tmp_DATA = minesweeper.kvs
diff --git a/doc/scriptexamples/mp3share/Makefile.am b/doc/scriptexamples/mp3share/Makefile.am
deleted file mode 100644
index 4ad4e539..00000000
--- a/doc/scriptexamples/mp3share/Makefile.am
+++ /dev/null
@@ -1,6 +0,0 @@
-###############################################################################
-# KVirc IRC client Makefile - 16.12.98 Szymon Stefanek <stefanek@tin.it>
-###############################################################################
-
-tmpdir = $(docdir)/scriptexamples/mp3share
-tmp_DATA = mp3share.kvs mp3share_icon.png
diff --git a/doc/scriptexamples/playing/Makefile.am b/doc/scriptexamples/playing/Makefile.am
deleted file mode 100644
index f55625a2..00000000
--- a/doc/scriptexamples/playing/Makefile.am
+++ /dev/null
@@ -1,6 +0,0 @@
-###############################################################################
-# KVirc IRC client Makefile - 16.12.98 Szymon Stefanek <stefanek@tin.it>
-###############################################################################
-
-tmpdir = $(docdir)/scriptexamples/playing
-tmp_DATA = playing.kvs playing_icon.png
diff --git a/doc/scriptexamples/runmenu/Makefile.am b/doc/scriptexamples/runmenu/Makefile.am
deleted file mode 100644
index 58e4bca5..00000000
--- a/doc/scriptexamples/runmenu/Makefile.am
+++ /dev/null
@@ -1,6 +0,0 @@
-###############################################################################
-# KVirc IRC client Makefile - 16.12.98 Szymon Stefanek <stefanek@tin.it>
-###############################################################################
-
-tmpdir = $(docdir)/scriptexamples/runmenu
-tmp_DATA = runmenu.kvs
diff --git a/doc/scriptexamples/simplehttp/Makefile.am b/doc/scriptexamples/simplehttp/Makefile.am
deleted file mode 100644
index 0c4dce06..00000000
--- a/doc/scriptexamples/simplehttp/Makefile.am
+++ /dev/null
@@ -1,6 +0,0 @@
-###############################################################################
-# KVirc IRC client Makefile - 16.12.98 Szymon Stefanek <stefanek@tin.it>
-###############################################################################
-
-tmpdir = $(docdir)/scriptexamples/simplehttp
-tmp_DATA = simplehttp.kvs
diff --git a/doc/scriptexamples/tutorial/Makefile.am b/doc/scriptexamples/tutorial/Makefile.am
deleted file mode 100644
index e78d5702..00000000
--- a/doc/scriptexamples/tutorial/Makefile.am
+++ /dev/null
@@ -1,6 +0,0 @@
-###############################################################################
-# KVirc IRC client Makefile - 16.12.98 Szymon Stefanek <stefanek@tin.it>
-###############################################################################
-
-tmpdir = $(docdir)/scriptexamples/tutorial
-tmp_DATA = *.kvs
diff --git a/icons/128x128/Makefile.am b/icons/128x128/Makefile.am
deleted file mode 100644
index 58687070..00000000
--- a/icons/128x128/Makefile.am
+++ /dev/null
@@ -1,5 +0,0 @@
-iconapps128data_DATA = kvirc.png
-
-iconmime128data_DATA = kvs.png kvc.png kvt.png kva.png
-   
-EXTRA_DIST = $(iconapps128data_DATA) $(iconmime128data_DATA)
diff --git a/icons/16x16/Makefile.am b/icons/16x16/Makefile.am
deleted file mode 100644
index 929471ed..00000000
--- a/icons/16x16/Makefile.am
+++ /dev/null
@@ -1,5 +0,0 @@
-iconapps16data_DATA = kvirc.png
-
-iconmime16data_DATA = kvs.png kvc.png kvt.png kva.png
-   
-EXTRA_DIST = $(iconapps16data_DATA) $(iconmime16data_DATA)
diff --git a/icons/32x32/Makefile.am b/icons/32x32/Makefile.am
deleted file mode 100644
index aa871e35..00000000
--- a/icons/32x32/Makefile.am
+++ /dev/null
@@ -1,6 +0,0 @@
-iconapps32data_DATA = kvirc.png \
-	kvirc.xpm
-
-iconmime32data_DATA = kvs.png kvc.png kvt.png kva.png
-   
-EXTRA_DIST = $(iconapps32data_DATA) $(iconmime32data_DATA)
diff --git a/icons/48x48/Makefile.am b/icons/48x48/Makefile.am
deleted file mode 100644
index 72b5a3c5..00000000
--- a/icons/48x48/Makefile.am
+++ /dev/null
@@ -1,5 +0,0 @@
-iconapps48data_DATA = kvirc.png kvirc.xpm
-
-iconmime48data_DATA = kvs.png kvc.png kvt.png kva.png
-   
-EXTRA_DIST = $(iconapps48data_DATA) $(iconmime48data_DATA)
diff --git a/icons/64x64/Makefile.am b/icons/64x64/Makefile.am
deleted file mode 100644
index cac3ad65..00000000
--- a/icons/64x64/Makefile.am
+++ /dev/null
@@ -1,5 +0,0 @@
-iconapps64data_DATA = kvirc.png
-
-iconmime64data_DATA = kvs.png
-   
-EXTRA_DIST = $(iconapps64data_DATA) $(iconmime64data_DATA)
diff --git a/icons/Makefile.am b/icons/Makefile.am
deleted file mode 100644
index 1b20afaa..00000000
--- a/icons/Makefile.am
+++ /dev/null
@@ -1,5 +0,0 @@
-###############################################################################
-# KVirc IRC client Makefile - 16.12.98 Szymon Stefanek <stefanek@tin.it>
-###############################################################################
-
-SUBDIRS          = 16x16 32x32 48x48 64x64 128x128 scalable
diff --git a/icons/scalable/Makefile.am b/icons/scalable/Makefile.am
deleted file mode 100644
index 93e27bf1..00000000
--- a/icons/scalable/Makefile.am
+++ /dev/null
@@ -1,5 +0,0 @@
-iconappsscalabledata_DATA = kvirc.svgz
-
-iconmimescalabledata_DATA = kvs.svgz kvc.svgz kvt.svgz kva.svgz
-   
-EXTRA_DIST = $(iconappsscalabledata_DATA) $(iconmimescalabledata_DATA) createpng.sh
diff --git a/pics/Makefile.am b/pics/Makefile.am
deleted file mode 100644
index 62149edb..00000000
--- a/pics/Makefile.am
+++ /dev/null
@@ -1,8 +0,0 @@
-tmpdir = $(picsdir)
-
-tmp_DATA = *.png
-
-EXTRA_DIST = $(tmp_DATA)
-
-SUBDIRS = coresmall helppics
-
diff --git a/pics/coresmall/Makefile.am b/pics/coresmall/Makefile.am
deleted file mode 100644
index 747abac3..00000000
--- a/pics/coresmall/Makefile.am
+++ /dev/null
@@ -1,8 +0,0 @@
-tmpdir = $(picsdir)/coresmall
-
-tmp_DATA = *.png
-
-
-EXTRA_DIST = $(tmp_DATA)
-
-
diff --git a/pics/helppics/Makefile.am b/pics/helppics/Makefile.am
deleted file mode 100644
index 8b657db3..00000000
--- a/pics/helppics/Makefile.am
+++ /dev/null
@@ -1,5 +0,0 @@
-tmpdir = $(helpdir)
-
-tmp_DATA = helplogoleft.png helplogoright.png
-   
-EXTRA_DIST = $(tmp_DATA)
diff --git a/src/Makefile.am b/src/Makefile.am
deleted file mode 100644
index 22c92d3b..00000000
--- a/src/Makefile.am
+++ /dev/null
@@ -1,10 +0,0 @@
-###############################################################################
-# KVirc IRC client Makefile - 16.12.98 Szymon Stefanek <stefanek@tin.it>
-###############################################################################
-
-SUBDIRS = kvilib kvirc modules scripts tdeconf_update
-
-headers_HEADERS=kvi_configstatus.h
-
-kvi_configstatus.h: $(top_builddir)/config.h
-	cp -f $(top_builddir)/config.h kvi_configstatus.h
diff --git a/src/kvilib/Makefile.am b/src/kvilib/Makefile.am
deleted file mode 100644
index 1268e5e0..00000000
--- a/src/kvilib/Makefile.am
+++ /dev/null
@@ -1,5 +0,0 @@
-###############################################################################
-# KVirc IRC client Makefile - 16.12.98 Szymon Stefanek <stefanek@tin.it>
-###############################################################################
-
-SUBDIRS          = build config core ext file include irc net system tal
diff --git a/src/kvilib/build/Makefile.am b/src/kvilib/build/Makefile.am
deleted file mode 100644
index ffc99f47..00000000
--- a/src/kvilib/build/Makefile.am
+++ /dev/null
@@ -1,295 +0,0 @@
-########################################################################################################################
-#
-# KVILIB Makefile : KVIrc utility library
-# Szymon Stefanek 21.09.2001
-#
-########################################################################################################################
-
-AM_CPPFLAGS = -I$(SS_TOPSRCDIR)/src/kvilib/include/ \
--I$(SS_TOPSRCDIR)/src/kvilib/config/ -I$(SS_TOPSRCDIR)/src/kvilib/core/ \
--I$(SS_TOPSRCDIR)/src/kvilib/ext/ -I$(SS_TOPSRCDIR)/src/kvilib/file/ \
--I$(SS_TOPSRCDIR)/src/kvilib/irc/ -I$(SS_TOPSRCDIR)/src/kvilib/net/ \
--I$(SS_TOPSRCDIR)/src/kvilib/system/ -I$(SS_TOPSRCDIR)/src/kvilib/tal/ \
-$(SS_INCDIRS) $(SS_CPPFLAGS)
-
-lib_LTLIBRARIES      = libkvilib.la
-libkvilib_la_LDFLAGS = $(SS_LDFLAGS) -version-info 3:0:0 $(SS_LIBDIRS)
-libkvilib_la_LIBADD  = $(SS_LIBLINK)
-
-#
-# Command useful to find out all the sources
-# SRC=`find ../ -name *.cpp | sort`
-# echo $SRC
-#
-
-libkvilib_la_SOURCES = \
-	../core/kvi_error.cpp \
-	../core/kvi_heapobject.cpp \
-	../core/kvi_malloc.cpp \
-	../core/kvi_memmove.cpp \
-	../core/kvi_qstring.cpp \
-	../core/kvi_string.cpp \
-	../core/kvi_stringarray.cpp \
-	../ext/kvi_cmdformatter.cpp \
-	../ext/kvi_config.cpp \
-	../ext/kvi_crypt.cpp \
-	../ext/kvi_databuffer.cpp \
-	../ext/kvi_dcophelper.cpp \
-	../ext/kvi_doublebuffer.cpp \
-	../ext/kvi_garbage.cpp \
-	../ext/kvi_osinfo.cpp \
-	../ext/kvi_imagelib.cpp \
-	../ext/kvi_md5.cpp \
-	../ext/kvi_mediatype.cpp \
-	../ext/kvi_miscutils.cpp \
-	../ext/kvi_msgtype.cpp \
-	../ext/kvi_parameterlist.cpp \
-	../ext/kvi_pixmap.cpp \
-	../ext/kvi_proxydb.cpp \
-	../ext/kvi_regchan.cpp \
-	../ext/kvi_regusersdb.cpp \
-	../ext/kvi_sharedfiles.cpp \
-	../ext/kvi_stringconversion.cpp \
-	../file/kvi_file.cpp \
-	../file/kvi_fileutils.cpp \
-	../file/kvi_packagefile.cpp \
-	../irc/kvi_avatar.cpp \
-	../irc/kvi_avatarcache.cpp \
-	../irc/kvi_ircmask.cpp \
-	../irc/kvi_ircserver.cpp \
-	../irc/kvi_ircserverdb.cpp \
-	../irc/kvi_ircuserdb.cpp \
-	../irc/kvi_mirccntrl.cpp \
-	../irc/kvi_nickserv.cpp \
-	../irc/kvi_useridentity.cpp \
-	../net/kvi_dns.cpp \
-	../net/kvi_http.cpp \
-	../net/kvi_netutils.cpp \
-	../net/kvi_socket.cpp \
-	../net/kvi_ssl.cpp \
-	../net/kvi_url.cpp \
-	../system/kvi_env.cpp \
-	../system/kvi_locale.cpp \
-	../system/kvi_thread.cpp \
-	../system/kvi_time.cpp \
-	../tal/kvi_tal_application.cpp \
-	../tal/kvi_tal_filedialog.cpp \
-	../tal/kvi_tal_grid.cpp \
-	../tal/kvi_tal_groupbox.cpp \
-	../tal/kvi_tal_hbox.cpp \
-	../tal/kvi_tal_iconview.cpp \
-	../tal/kvi_tal_listbox.cpp \
-	../tal/kvi_tal_listview.cpp \
-	../tal/kvi_tal_mainwindow.cpp \
-	../tal/kvi_tal_menubar.cpp \
-	../tal/kvi_tal_popupmenu.cpp \
-	../tal/kvi_tal_scrollview.cpp \
-	../tal/kvi_tal_tabdialog.cpp \
-	../tal/kvi_tal_textedit.cpp \
-	../tal/kvi_tal_toolbar.cpp \
-	../tal/kvi_tal_tooltip.cpp \
-	../tal/kvi_tal_vbox.cpp \
-	../tal/kvi_tal_widgetstack.cpp \
-	../tal/kvi_tal_wizard.cpp
-
-#
-# Command useful to find out all the headers
-# rm -f ../include/*.h
-# SRC=`find ../ -name *.h | sort`
-# echo $SRC
-#
-
-
-headers_HEADERS = \
-	../config/kvi_confignames.h \
-	../config/kvi_debug.h \
-	../config/kvi_defaults.h \
-	../config/kvi_fileextensions.h \
-	../config/kvi_settings.h \
-	../config/kvi_sourcesdate.h \
-	../config/kvi_wincfg.h \
-	../core/kvi_bswap.h \
-	../core/kvi_error.h \
-	../core/kvi_heapobject.h \
-	../core/kvi_inttypes.h \
-	../core/kvi_malloc.h \
-	../core/kvi_memmove.h \
-	../core/kvi_pointerlist.h \
-	../core/kvi_pointerhashtable.h \
-	../core/kvi_qcstring.h \
-	../core/kvi_qstring.h \
-	../core/kvi_strasm.h \
-	../core/kvi_string.h \
-	../core/kvi_stringarray.h \
-	../core/kvi_valuelist.h \
-	../ext/kvi_accel.h \
-	../ext/kvi_cmdformatter.h \
-	../ext/kvi_config.h \
-	../ext/kvi_crypt.h \
-	../ext/kvi_databuffer.h \
-	../ext/kvi_doublebuffer.h \
-	../ext/kvi_draganddrop.h \
-	../ext/kvi_osinfo.h \
-	../ext/kvi_garbage.h \
-	../ext/kvi_imagelib.h \
-	../ext/kvi_md5.h \
-	../ext/kvi_mediatype.h \
-	../ext/kvi_miscutils.h \
-	../ext/kvi_msgtype.h \
-	../ext/kvi_parameterlist.h \
-	../ext/kvi_pixmap.h \
-	../ext/kvi_proxydb.h \
-	../ext/kvi_regchan.h \
-	../ext/kvi_regusersdb.h \
-	../ext/kvi_sharedfiles.h \
-	../ext/kvi_stringconversion.h \
-	../ext/kvi_xlib.h \
-	../file/kvi_file.h \
-	../file/kvi_fileutils.h \
-	../file/kvi_packagefile.h \
-	../irc/kvi_avatar.h \
-	../irc/kvi_avatarcache.h \
-	../irc/kvi_ircmask.h \
-	../irc/kvi_ircserverdb.h \
-	../irc/kvi_ircserver.h \
-	../irc/kvi_ircuserdb.h \
-	../irc/kvi_mirccntrl.h \
-	../irc/kvi_nickserv.h \
-	../irc/kvi_useridentity.h \
-	../net/kvi_dns.h \
-	../net/kvi_http.h \
-	../net/kvi_netutils.h \
-	../net/kvi_socket.h \
-	../net/kvi_sockettype.h \
-	../net/kvi_ssl.h \
-	../net/kvi_url.h \
-	../system/kvi_env.h \
-	../system/kvi_library.h \
-	../system/kvi_locale.h \
-	../system/kvi_process.h \
-	../system/kvi_stdarg.h \
-	../system/kvi_thread.h \
-	../system/kvi_time.h \
-	../tal/kvi_tal_application.h \
-	../tal/kvi_tal_application_kde.h \
-	../tal/kvi_tal_application_qt.h \
-	../tal/kvi_tal_filedialog.h \
-	../tal/kvi_tal_filedialog_kde.h \
-	../tal/kvi_tal_filedialog_qt.h \
-	../tal/kvi_tal_grid.h \
-	../tal/kvi_tal_grid_qt3.h \
-	../tal/kvi_tal_groupbox.h \
-	../tal/kvi_tal_groupbox_qt3.h \
-	../tal/kvi_tal_hbox.h \
-	../tal/kvi_tal_hbox_qt3.h \
-	../tal/kvi_tal_iconview.h \
-	../tal/kvi_tal_iconview_qt3.h \
-	../tal/kvi_tal_listbox.h \
-	../tal/kvi_tal_listbox_qt3.h \
-	../tal/kvi_tal_listview.h \
-	../tal/kvi_tal_listview_qt3.h \
-	../tal/kvi_tal_mainwindow.h \
-	../tal/kvi_tal_mainwindow_kde.h \
-	../tal/kvi_tal_mainwindow_qt3.h \
-	../tal/kvi_tal_menubar.h \
-	../tal/kvi_tal_menubar_kde.h \
-	../tal/kvi_tal_menubar_qt.h \
-	../tal/kvi_tal_popupmenu.h \
-	../tal/kvi_tal_popupmenu_qt3.h \
-	../tal/kvi_tal_scrollview.h \
-	../tal/kvi_tal_scrollview_qt3.h \
-	../tal/kvi_tal_tabdialog.h \
-	../tal/kvi_tal_tabdialog_qt3.h \
-	../tal/kvi_tal_textedit.h \
-	../tal/kvi_tal_textedit_qt3.h \
-	../tal/kvi_tal_toolbar.h \
-	../tal/kvi_tal_toolbar_kde.h \
-	../tal/kvi_tal_toolbar_qt3.h \
-	../tal/kvi_tal_toolbardocktype.h \
-	../tal/kvi_tal_tooltip.h \
-	../tal/kvi_tal_vbox.h \
-	../tal/kvi_tal_vbox_qt3.h \
-	../tal/kvi_tal_widgetstack.h \
-	../tal/kvi_tal_widgetstack_qt3.h \
-	../tal/kvi_tal_wizard.h \
-	../tal/kvi_tal_windowstate.h
-
-
-../ext/%.moc: ../ext/%.h
-	$(SS_QT_MOC) $(SS_QT_MOC_FLAGS) $< -o $@
-
-../file/%.moc: ../file/%.h
-	$(SS_QT_MOC) $(SS_QT_MOC_FLAGS) $< -o $@
-
-../irc/%.moc: ../irc/%.h
-	$(SS_QT_MOC) $(SS_QT_MOC_FLAGS) $< -o $@
-
-../net/%.moc: ../net/%.h
-	$(SS_QT_MOC) $(SS_QT_MOC_FLAGS) $< -o $@
-
-../system/%.moc: ../system/%.h
-	$(SS_QT_MOC) $(SS_QT_MOC_FLAGS) $< -o $@
-
-../tal/%.moc: ../tal/%.h
-	$(SS_QT_MOC) $(SS_QT_MOC_FLAGS) $< -o $@
-
-%.moc: %.h
-	$(SS_QT_MOC) $(SS_QT_MOC_FLAGS) $< -o $@
-
-#
-# Command useful to find the moc dependancies
-# grep "\.moc" ../*/*.cpp | sort | sed -e 's/[[:space:]]*#include//' | sed -e 's/\"//g'
-# needs to be modified by hand then to add the moc file path... :)
-#
-
-../ext/kvi_crypt.cpp: ../ext/kvi_crypt.moc
-../ext/kvi_garbage.cpp: ../ext/kvi_garbage.moc
-../ext/kvi_regusersdb.cpp: ../ext/kvi_regusersdb.moc
-../ext/kvi_sharedfiles.cpp: ../ext/kvi_sharedfiles.moc
-../irc/kvi_ircuserdb.cpp: ../irc/kvi_ircuserdb.moc
-../net/kvi_dns.cpp: ../net/kvi_dns.moc
-../net/kvi_http.cpp: ../net/kvi_http.moc
-../system/kvi_locale.cpp: ../system/kvi_locale.moc
-../system/kvi_thread.cpp: ../system/kvi_thread.moc
-../tal/kvi_tal_wizard.cpp: ../tal/kvi_tal_wizard.moc
-../tal/kvi_tal_application.cpp: ../tal/kvi_tal_application_kde.moc
-../tal/kvi_tal_application.cpp: ../tal/kvi_tal_application_qt.moc
-../tal/kvi_tal_mainwindow.cpp: ../tal/kvi_tal_mainwindow_kde.moc
-../tal/kvi_tal_mainwindow.cpp: ../tal/kvi_tal_mainwindow_qt3.moc
-../tal/kvi_tal_menubar.cpp: ../tal/kvi_tal_menubar_kde.moc
-../tal/kvi_tal_menubar.cpp: ../tal/kvi_tal_menubar_qt.moc
-../tal/kvi_tal_filedialog.cpp: ../tal/kvi_tal_filedialog_kde.moc
-../tal/kvi_tal_filedialog.cpp: ../tal/kvi_tal_filedialog_qt.moc
-../tal/kvi_tal_grid.cpp: ../tal/kvi_tal_grid_qt3.moc
-../tal/kvi_tal_groupbox.cpp: ../tal/kvi_tal_groupbox_qt3.moc
-../tal/kvi_tal_hbox.cpp: ../tal/kvi_tal_hbox_qt3.moc
-../tal/kvi_tal_vbox.cpp: ../tal/kvi_tal_vbox_qt3.moc
-../tal/kvi_tal_popupmenu.cpp: ../tal/kvi_tal_popupmenu_qt3.moc
-../tal/kvi_tal_listview.cpp: ../tal/kvi_tal_listview_qt3.moc
-../tal/kvi_tal_listbox.cpp: ../tal/kvi_tal_listbox_qt3.moc
-../tal/kvi_tal_iconview.cpp: ../tal/kvi_tal_iconview_qt3.moc
-../tal/kvi_tal_scrollview.cpp: ../tal/kvi_tal_scrollview_qt3.moc
-../tal/kvi_tal_tabdialog.cpp: ../tal/kvi_tal_tabdialog_qt3.moc
-../tal/kvi_tal_textedit.cpp: ../tal/kvi_tal_textedit_qt3.moc
-../tal/kvi_tal_toolbar.cpp: ../tal/kvi_tal_toolbar_qt3.moc
-../tal/kvi_tal_toolbar.cpp: ../tal/kvi_tal_toolbar_kde.moc
-../tal/kvi_tal_tooltip.cpp: ../tal/kvi_tal_tooltip.moc
-../tal/kvi_tal_widgetstack.cpp: ../tal/kvi_tal_widgetstack_qt3.moc
-
-#
-# All the cpp files depend on the precompiled headers being up-to-date
-#
-
-#../*/*.cpp: symlinks $(PRECOMPILED_HDRS) gchsymlinks
-
-../*/*.cpp: symlinks
-
-#
-# Symlinks depend on all the header files: symlink is rebuilt whenewer an *.h file changes
-#
-
-symlinks: ../config/*.h ../core/*.h ../ext/*.h ../file/*.h ../irc/*.h ../net/*.h ../system/*.h ../tal/*.h
-	cd ../include; for i in kvi_*.h; do if [ ! -f $$i ]; then rm -f $$i; fi; done; for i in $(SS_TOPSRCDIR)/src/kvilib/*/kvi_*.h; do $(LN_S) $$i . >/dev/null 2>&1; echo "Created link to $$i"; done;
-	touch symlinks
-
-CLEANFILES = ../include/*.h symlinks ../*/*.moc
diff --git a/src/kvilib/config/Makefile.am b/src/kvilib/config/Makefile.am
deleted file mode 100644
index 23078cbb..00000000
--- a/src/kvilib/config/Makefile.am
+++ /dev/null
@@ -1,5 +0,0 @@
-###############################################################################
-# KVirc IRC client Makefile - 16.12.98 Szymon Stefanek <stefanek@tin.it>
-###############################################################################
-
-EXTRA_DIST       = *.h
diff --git a/src/kvilib/core/Makefile.am b/src/kvilib/core/Makefile.am
deleted file mode 100644
index c84487eb..00000000
--- a/src/kvilib/core/Makefile.am
+++ /dev/null
@@ -1,5 +0,0 @@
-###############################################################################
-# KVirc IRC client Makefile - 16.12.98 Szymon Stefanek <stefanek@tin.it>
-###############################################################################
-
-EXTRA_DIST       = *.cpp *.h
diff --git a/src/kvilib/ext/Makefile.am b/src/kvilib/ext/Makefile.am
deleted file mode 100644
index c84487eb..00000000
--- a/src/kvilib/ext/Makefile.am
+++ /dev/null
@@ -1,5 +0,0 @@
-###############################################################################
-# KVirc IRC client Makefile - 16.12.98 Szymon Stefanek <stefanek@tin.it>
-###############################################################################
-
-EXTRA_DIST       = *.cpp *.h
diff --git a/src/kvilib/file/Makefile.am b/src/kvilib/file/Makefile.am
deleted file mode 100644
index c84487eb..00000000
--- a/src/kvilib/file/Makefile.am
+++ /dev/null
@@ -1,5 +0,0 @@
-###############################################################################
-# KVirc IRC client Makefile - 16.12.98 Szymon Stefanek <stefanek@tin.it>
-###############################################################################
-
-EXTRA_DIST       = *.cpp *.h
diff --git a/src/kvilib/include/Makefile.am b/src/kvilib/include/Makefile.am
deleted file mode 100644
index 60838ee7..00000000
--- a/src/kvilib/include/Makefile.am
+++ /dev/null
@@ -1,4 +0,0 @@
-###############################################################################
-# KVirc IRC client Makefile - 16.12.98 Szymon Stefanek <stefanek@tin.it>
-###############################################################################
-
diff --git a/src/kvilib/irc/Makefile.am b/src/kvilib/irc/Makefile.am
deleted file mode 100644
index c84487eb..00000000
--- a/src/kvilib/irc/Makefile.am
+++ /dev/null
@@ -1,5 +0,0 @@
-###############################################################################
-# KVirc IRC client Makefile - 16.12.98 Szymon Stefanek <stefanek@tin.it>
-###############################################################################
-
-EXTRA_DIST       = *.cpp *.h
diff --git a/src/kvilib/net/Makefile.am b/src/kvilib/net/Makefile.am
deleted file mode 100644
index c84487eb..00000000
--- a/src/kvilib/net/Makefile.am
+++ /dev/null
@@ -1,5 +0,0 @@
-###############################################################################
-# KVirc IRC client Makefile - 16.12.98 Szymon Stefanek <stefanek@tin.it>
-###############################################################################
-
-EXTRA_DIST       = *.cpp *.h
diff --git a/src/kvilib/system/Makefile.am b/src/kvilib/system/Makefile.am
deleted file mode 100644
index c84487eb..00000000
--- a/src/kvilib/system/Makefile.am
+++ /dev/null
@@ -1,5 +0,0 @@
-###############################################################################
-# KVirc IRC client Makefile - 16.12.98 Szymon Stefanek <stefanek@tin.it>
-###############################################################################
-
-EXTRA_DIST       = *.cpp *.h
diff --git a/src/kvilib/tal/Makefile.am b/src/kvilib/tal/Makefile.am
deleted file mode 100644
index c84487eb..00000000
--- a/src/kvilib/tal/Makefile.am
+++ /dev/null
@@ -1,5 +0,0 @@
-###############################################################################
-# KVirc IRC client Makefile - 16.12.98 Szymon Stefanek <stefanek@tin.it>
-###############################################################################
-
-EXTRA_DIST       = *.cpp *.h
diff --git a/src/kvirc/Makefile.am b/src/kvirc/Makefile.am
deleted file mode 100644
index e65e65cf..00000000
--- a/src/kvirc/Makefile.am
+++ /dev/null
@@ -1,5 +0,0 @@
-###############################################################################
-# KVirc IRC client Makefile - 16.12.98 Szymon Stefanek <stefanek@tin.it>
-###############################################################################
-
-SUBDIRS          = build include kernel kvs module sparser ui
diff --git a/src/kvirc/build/Makefile.am b/src/kvirc/build/Makefile.am
deleted file mode 100644
index f4b76206..00000000
--- a/src/kvirc/build/Makefile.am
+++ /dev/null
@@ -1,543 +0,0 @@
-########################################################################################################################
-#
-# KVIrc executable Makefile
-# Szymon Stefanek 21.09.2001
-#
-########################################################################################################################
-
-AM_CPPFLAGS = -I$(SS_TOPSRCDIR)/src/kvilib/include/ -I$(SS_TOPSRCDIR)/src/kvirc/include/ \
--I$(SS_TOPSRCDIR)/src/kvirc/kernel/ -I$(SS_TOPSRCDIR)/src/kvirc/kvs/ \
--I$(SS_TOPSRCDIR)/src/kvirc/module/ -I$(SS_TOPSRCDIR)/src/kvirc/sparser/ \
--I$(SS_TOPSRCDIR)/src/kvirc/ui/ \
-$(SS_INCDIRS) $(SS_CPPFLAGS) -DGLOBAL_KVIRC_DIR=\"$(globalkvircdir)\"
-
-lib_LTLIBRARIES     = libkvirc.la
-libkvirc_la_LDFLAGS = $(SS_LDFLAGS) -version-info 3:0:0 $(SS_LIBDIRS)
-libkvirc_la_LIBADD  = $(SS_LIBLINK) ../../kvilib/build/libkvilib.la
-
-bin_PROGRAMS  = kvirc
-kvirc_LDFLAGS = $(SS_LDFLAGS) $(SS_LIBDIRS) $(SS_RPATH)
-kvirc_LDADD   = $(SS_LIBLINK) libkvirc.la ../../kvilib/build/libkvilib.la
-
-#
-# Command useful to find out all the sources
-# SRC=`find ../ -name *.cpp | sort`
-# echo $SRC
-#
-
-libkvirc_la_SOURCES = \
-../kernel/kvi_action.cpp \
-../kernel/kvi_actionmanager.cpp \
-../kernel/kvi_app.cpp \
-../kernel/kvi_coreactions.cpp \
-../kernel/kvi_filetransfer.cpp \
-../kernel/kvi_app_fs.cpp \
-../kernel/kvi_app_setup.cpp \
-../kernel/kvi_asynchronousconnectiondata.cpp \
-../kernel/kvi_customtoolbardescriptor.cpp \
-../kernel/kvi_customtoolbarmanager.cpp \
-../kernel/kvi_iconmanager.cpp \
-../kernel/kvi_internalcmd.cpp \
-../kernel/kvi_ipc.cpp \
-../kernel/kvi_ircdatastreammonitor.cpp \
-../kernel/kvi_ircconnection.cpp \
-../kernel/kvi_ircconnectionantictcpflooddata.cpp \
-../kernel/kvi_ircconnectionasyncwhoisdata.cpp \
-../kernel/kvi_ircconnectionnetsplitdetectordata.cpp \
-../kernel/kvi_ircconnectiontarget.cpp \
-../kernel/kvi_ircconnectiontargetresolver.cpp \
-../kernel/kvi_ircconnectionserverinfo.cpp \
-../kernel/kvi_ircconnectionstatedata.cpp \
-../kernel/kvi_ircconnectionstatistics.cpp \
-../kernel/kvi_ircconnectionuserinfo.cpp \
-../kernel/kvi_irccontext.cpp \
-../kernel/kvi_irclink.cpp \
-../kernel/kvi_ircsocket.cpp \
-../kernel/kvi_ircurl.cpp \
-../kernel/kvi_lagmeter.cpp \
-../kernel/kvi_notifylist.cpp \
-../kernel/kvi_options.cpp \
-../kernel/kvi_sslmaster.cpp \
-../kernel/kvi_texticonmanager.cpp \
-../kernel/kvi_theme.cpp \
-../kernel/kvi_useraction.cpp \
-../kernel/kvi_userinput.cpp \
-../kvs/kvi_kvs.cpp \
-../kvs/kvi_kvs_action.cpp \
-../kvs/kvi_kvs_aliasmanager.cpp \
-../kvs/kvi_kvs_array.cpp \
-../kvs/kvi_kvs_arraycast.cpp \
-../kvs/kvi_kvs_asyncdnsoperation.cpp \
-../kvs/kvi_kvs_asyncoperation.cpp \
-../kvs/kvi_kvs_callbackobject.cpp \
-../kvs/kvi_kvs_corecallbackcommands.cpp \
-../kvs/kvi_kvs_corefunctions.cpp \
-../kvs/kvi_kvs_corefunctions_af.cpp \
-../kvs/kvi_kvs_corefunctions_gl.cpp \
-../kvs/kvi_kvs_corefunctions_mr.cpp \
-../kvs/kvi_kvs_corefunctions_sz.cpp \
-../kvs/kvi_kvs_coresimplecommands.cpp \
-../kvs/kvi_kvs_coresimplecommands_af.cpp \
-../kvs/kvi_kvs_coresimplecommands_gl.cpp \
-../kvs/kvi_kvs_coresimplecommands_mr.cpp \
-../kvs/kvi_kvs_coresimplecommands_sz.cpp \
-../kvs/kvi_kvs_dnsmanager.cpp \
-../kvs/kvi_kvs_event.cpp \
-../kvs/kvi_kvs_eventhandler.cpp \
-../kvs/kvi_kvs_eventmanager.cpp \
-../kvs/kvi_kvs_eventtable.cpp \
-../kvs/kvi_kvs_hash.cpp \
-../kvs/kvi_kvs_kernel.cpp \
-../kvs/kvi_kvs_moduleinterface.cpp \
-../kvs/kvi_kvs_object.cpp \
-../kvs/kvi_kvs_object_class.cpp \
-../kvs/kvi_kvs_object_controller.cpp \
-../kvs/kvi_kvs_object_functioncall.cpp \
-../kvs/kvi_kvs_object_functionhandler.cpp \
-../kvs/kvi_kvs_object_functionhandlerimpl.cpp \
-../kvs/kvi_kvs_parameterprocessor.cpp \
-../kvs/kvi_kvs_parser.cpp \
-../kvs/kvi_kvs_parser_command.cpp \
-../kvs/kvi_kvs_parser_comment.cpp \
-../kvs/kvi_kvs_parser_dollar.cpp \
-../kvs/kvi_kvs_parser_expression.cpp \
-../kvs/kvi_kvs_parser_lside.cpp \
-../kvs/kvi_kvs_parser_specialcommands.cpp \
-../kvs/kvi_kvs_popupmanager.cpp \
-../kvs/kvi_kvs_popupmenu.cpp \
-../kvs/kvi_kvs_processmanager.cpp \
-../kvs/kvi_kvs_report.cpp \
-../kvs/kvi_kvs_runtimecall.cpp \
-../kvs/kvi_kvs_runtimecontext.cpp \
-../kvs/kvi_kvs_rwevaluationresult.cpp \
-../kvs/kvi_kvs_script.cpp \
-../kvs/kvi_kvs_scriptaddonmanager.cpp \
-../kvs/kvi_kvs_switchlist.cpp \
-../kvs/kvi_kvs_timermanager.cpp \
-../kvs/kvi_kvs_treenode_aliasfunctioncall.cpp \
-../kvs/kvi_kvs_treenode_aliassimplecommand.cpp \
-../kvs/kvi_kvs_treenode_arraycount.cpp \
-../kvs/kvi_kvs_treenode_arrayelement.cpp \
-../kvs/kvi_kvs_treenode_arrayorhashelement.cpp \
-../kvs/kvi_kvs_treenode_arrayreferenceassert.cpp \
-../kvs/kvi_kvs_treenode_base.cpp \
-../kvs/kvi_kvs_treenode_baseobjectfunctioncall.cpp \
-../kvs/kvi_kvs_treenode_callbackcommand.cpp \
-../kvs/kvi_kvs_treenode_command.cpp \
-../kvs/kvi_kvs_treenode_commandevaluation.cpp \
-../kvs/kvi_kvs_treenode_commandwithparameters.cpp \
-../kvs/kvi_kvs_treenode_compositedata.cpp \
-../kvs/kvi_kvs_treenode_constantdata.cpp \
-../kvs/kvi_kvs_treenode_corecallbackcommand.cpp \
-../kvs/kvi_kvs_treenode_corefunctioncall.cpp \
-../kvs/kvi_kvs_treenode_coresimplecommand.cpp \
-../kvs/kvi_kvs_treenode_data.cpp \
-../kvs/kvi_kvs_treenode_datalist.cpp \
-../kvs/kvi_kvs_treenode_expression.cpp \
-../kvs/kvi_kvs_treenode_expressionreturn.cpp \
-../kvs/kvi_kvs_treenode_extendedscopevariable.cpp \
-../kvs/kvi_kvs_treenode_functioncall.cpp \
-../kvs/kvi_kvs_treenode_globalvariable.cpp \
-../kvs/kvi_kvs_treenode_hashcount.cpp \
-../kvs/kvi_kvs_treenode_hashelement.cpp \
-../kvs/kvi_kvs_treenode_hashreferenceassert.cpp \
-../kvs/kvi_kvs_treenode_indirectdata.cpp \
-../kvs/kvi_kvs_treenode_instruction.cpp \
-../kvs/kvi_kvs_treenode_instructionblock.cpp \
-../kvs/kvi_kvs_treenode_localvariable.cpp \
-../kvs/kvi_kvs_treenode_modulecallbackcommand.cpp \
-../kvs/kvi_kvs_treenode_modulefunctioncall.cpp \
-../kvs/kvi_kvs_treenode_modulesimplecommand.cpp \
-../kvs/kvi_kvs_treenode_multipleparameteridentifier.cpp \
-../kvs/kvi_kvs_treenode_objectfield.cpp \
-../kvs/kvi_kvs_treenode_objectfunctioncall.cpp \
-../kvs/kvi_kvs_treenode_operation.cpp \
-../kvs/kvi_kvs_treenode_parameterreturn.cpp \
-../kvs/kvi_kvs_treenode_rebindingswitch.cpp \
-../kvs/kvi_kvs_treenode_scopeoperator.cpp \
-../kvs/kvi_kvs_treenode_simplecommand.cpp \
-../kvs/kvi_kvs_treenode_singleparameteridentifier.cpp \
-../kvs/kvi_kvs_treenode_specialcommand.cpp \
-../kvs/kvi_kvs_treenode_specialcommandbreak.cpp \
-../kvs/kvi_kvs_treenode_specialcommandclass.cpp \
-../kvs/kvi_kvs_treenode_specialcommanddefpopup.cpp \
-../kvs/kvi_kvs_treenode_specialcommanddo.cpp \
-../kvs/kvi_kvs_treenode_specialcommandfor.cpp \
-../kvs/kvi_kvs_treenode_specialcommandforeach.cpp \
-../kvs/kvi_kvs_treenode_specialcommandif.cpp \
-../kvs/kvi_kvs_treenode_specialcommandswitch.cpp \
-../kvs/kvi_kvs_treenode_specialcommandunset.cpp \
-../kvs/kvi_kvs_treenode_specialcommandwhile.cpp \
-../kvs/kvi_kvs_treenode_stringcast.cpp \
-../kvs/kvi_kvs_treenode_switchlist.cpp \
-../kvs/kvi_kvs_treenode_thisobjectfunctioncall.cpp \
-../kvs/kvi_kvs_treenode_variable.cpp \
-../kvs/kvi_kvs_useraction.cpp \
-../kvs/kvi_kvs_variant.cpp \
-../kvs/kvi_kvs_variantlist.cpp \
-../kvs/kvi_kvs_treenode_voidfunctioncall.cpp \
-../module/kvi_mexlinkfilter.cpp \
-../module/kvi_mexserverimport.cpp ../module/kvi_mextoolbar.cpp \
-../module/kvi_module.cpp ../module/kvi_moduleextension.cpp ../module/kvi_modulemanager.cpp \
-../sparser/kvi_antispam.cpp ../sparser/kvi_ircmessage.cpp ../sparser/kvi_sparser.cpp \
-../sparser/kvi_sp_ctcp.cpp ../sparser/kvi_sp_literal.cpp ../sparser/kvi_sp_numeric.cpp \
-../sparser/kvi_sp_tables.cpp \
-../ui/kvi_actiondrawer.cpp \
-../ui/kvi_channel.cpp \
-../ui/kvi_colorwin.cpp \
-../ui/kvi_console.cpp \
-../ui/kvi_cryptcontroller.cpp \
-../ui/kvi_ctcppagedialog.cpp \
-../ui/kvi_customtoolbar.cpp \
-../ui/kvi_debugwindow.cpp \
-../ui/kvi_dynamictooltip.cpp \
-../ui/kvi_filedialog.cpp \
-../ui/kvi_frame.cpp \
-../ui/kvi_historywin.cpp \
-../ui/kvi_htmldialog.cpp \
-../ui/kvi_imagedialog.cpp \
-../ui/kvi_input.cpp \
-../ui/kvi_ipeditor.cpp \
-../ui/kvi_irctoolbar.cpp \
-../ui/kvi_ircview.cpp \
-../ui/kvi_ircviewtools.cpp \
-../ui/kvi_listview.cpp \
-../ui/kvi_maskeditor.cpp \
-../ui/kvi_mdicaption.cpp \
-../ui/kvi_mdichild.cpp \
-../ui/kvi_mdimanager.cpp \
-../ui/kvi_menubar.cpp \
-../ui/kvi_modeeditor.cpp \
-../ui/kvi_modew.cpp \
-../ui/kvi_msgbox.cpp \
-../ui/kvi_optionswidget.cpp \
-../ui/kvi_query.cpp \
-../ui/kvi_scriptbutton.cpp\
-../ui/kvi_scripteditor.cpp \
-../ui/kvi_selectors.cpp \
-../ui/kvi_splash.cpp \
-../ui/kvi_statusbar.cpp \
-../ui/kvi_statusbarapplet.cpp \
-../ui/kvi_taskbar.cpp \
-../ui/kvi_texticonwin.cpp \
-../ui/kvi_themedlabel.cpp \
-../ui/kvi_toolbar.cpp \
-../ui/kvi_toolwindows_container.cpp \
-../ui/kvi_topicw.cpp \
-../ui/kvi_styled_controls.cpp \
-../ui/kvi_userlistview.cpp \
-../ui/kvi_window.cpp
-
-kvirc_SOURCES = \ 
-../kernel/kvi_main.cpp
-
-#
-# Command useful to find out all the headers
-# rm -f ../include/*.h
-# SRC=`find ../ -name *.h | sort`
-# echo $SRC
-#
-
-headers_HEADERS = ../kernel/kvi_action.h \
-../kernel/kvi_actionmanager.h \
-../kernel/kvi_app.h \
-../kernel/kvi_asynchronousconnectiondata.h \
-../kernel/kvi_coreactions.h \
-../kernel/kvi_coreactionnames.h \
-../kernel/kvi_customtoolbardescriptor.h \
-../kernel/kvi_customtoolbarmanager.h \
-../kernel/kvi_filetransfer.h \
-../kernel/kvi_iconmanager.h \
-../kernel/kvi_internalcmd.h \
-../kernel/kvi_ipc.h \
-../kernel/kvi_ircdatastreammonitor.h \
-../kernel/kvi_ircconnection.h \
-../kernel/kvi_ircconnectionantictcpflooddata.h \
-../kernel/kvi_ircconnectionasyncwhoisdata.h \
-../kernel/kvi_ircconnectionnetsplitdetectordata.h \
-../kernel/kvi_ircconnectiontarget.h \
-../kernel/kvi_ircconnectiontargetresolver.h \
-../kernel/kvi_ircconnectionserverinfo.h \
-../kernel/kvi_ircconnectionstatedata.h \
-../kernel/kvi_ircconnectionstatistics.h \
-../kernel/kvi_ircconnectionuserinfo.h \
-../kernel/kvi_irccontext.h \
-../kernel/kvi_irclink.h \
-../kernel/kvi_ircsocket.h \
-../kernel/kvi_ircurl.h \
-../kernel/kvi_lagmeter.h \
-../kernel/kvi_notifylist.h \
-../kernel/kvi_options.h \
-../kernel/kvi_out.h \
-../kernel/kvi_sslmaster.h \
-../kernel/kvi_texticonmanager.h \
-../kernel/kvi_theme.h \
-../sparser/kvi_antispam.h \
-../sparser/kvi_ircmessage.h \
-../kernel/kvi_useraction.h \
-../kernel/kvi_userinput.h \
-../kvs/kvi_kvs.h \
-../kvs/kvi_kvs_action.h \
-../kvs/kvi_kvs_aliasmanager.h \
-../kvs/kvi_kvs_array.h \
-../kvs/kvi_kvs_arraycast.h \
-../kvs/kvi_kvs_asyncdnsoperation.h \
-../kvs/kvi_kvs_asyncoperation.h \
-../kvs/kvi_kvs_callbackobject.h \
-../kvs/kvi_kvs_corecallbackcommands.h \
-../kvs/kvi_kvs_corefunctions.h \
-../kvs/kvi_kvs_coresimplecommands.h \
-../kvs/kvi_kvs_dnsmanager.h \
-../kvs/kvi_kvs_event.h \
-../kvs/kvi_kvs_eventhandler.h \
-../kvs/kvi_kvs_eventmanager.h \
-../kvs/kvi_kvs_eventtriggers.h \
-../kvs/kvi_kvs_eventtable.h \
-../kvs/kvi_kvs_hash.h \
-../kvs/kvi_kvs_kernel.h \
-../kvs/kvi_kvs_moduleinterface.h \
-../kvs/kvi_kvs_object.h \
-../kvs/kvi_kvs_object_class.h \
-../kvs/kvi_kvs_object_controller.h \
-../kvs/kvi_kvs_object_functioncall.h \
-../kvs/kvi_kvs_object_functionhandler.h \
-../kvs/kvi_kvs_object_functionhandlerimpl.h \
-../kvs/kvi_kvs_parameterprocessor.h \
-../kvs/kvi_kvs_parser.h \
-../kvs/kvi_kvs_parser_macros.h \
-../kvs/kvi_kvs_popupmanager.h \
-../kvs/kvi_kvs_popupmenu.h \
-../kvs/kvi_kvs_processmanager.h \
-../kvs/kvi_kvs_report.h \
-../kvs/kvi_kvs_runtimecall.h \
-../kvs/kvi_kvs_runtimecontext.h \
-../kvs/kvi_kvs_rwevaluationresult.h \
-../kvs/kvi_kvs_script.h \
-../kvs/kvi_kvs_scriptaddonmanager.h \
-../kvs/kvi_kvs_switchlist.h \
-../kvs/kvi_kvs_timermanager.h \
-../kvs/kvi_kvs_treenode.h \
-../kvs/kvi_kvs_treenode_aliasfunctioncall.h \
-../kvs/kvi_kvs_treenode_aliassimplecommand.h \
-../kvs/kvi_kvs_treenode_arraycount.h \
-../kvs/kvi_kvs_treenode_arrayelement.h \
-../kvs/kvi_kvs_treenode_arrayorhashelement.h \
-../kvs/kvi_kvs_treenode_arrayreferenceassert.h \
-../kvs/kvi_kvs_treenode_base.h \
-../kvs/kvi_kvs_treenode_baseobjectfunctioncall.h \
-../kvs/kvi_kvs_treenode_callbackcommand.h \
-../kvs/kvi_kvs_treenode_command.h \
-../kvs/kvi_kvs_treenode_commandevaluation.h \
-../kvs/kvi_kvs_treenode_commandwithparameters.h \
-../kvs/kvi_kvs_treenode_compositedata.h \
-../kvs/kvi_kvs_treenode_constantdata.h \
-../kvs/kvi_kvs_treenode_corecallbackcommand.h \
-../kvs/kvi_kvs_treenode_corefunctioncall.h \
-../kvs/kvi_kvs_treenode_coresimplecommand.h \
-../kvs/kvi_kvs_treenode_data.h \
-../kvs/kvi_kvs_treenode_datalist.h \
-../kvs/kvi_kvs_treenode_expression.h \
-../kvs/kvi_kvs_treenode_expressionreturn.h \
-../kvs/kvi_kvs_treenode_extendedscopevariable.h \
-../kvs/kvi_kvs_treenode_functioncall.h \
-../kvs/kvi_kvs_treenode_globalvariable.h \
-../kvs/kvi_kvs_treenode_hashcount.h \
-../kvs/kvi_kvs_treenode_hashelement.h \
-../kvs/kvi_kvs_treenode_hashreferenceassert.h \
-../kvs/kvi_kvs_treenode_indirectdata.h \
-../kvs/kvi_kvs_treenode_instruction.h \
-../kvs/kvi_kvs_treenode_instructionblock.h \
-../kvs/kvi_kvs_treenode_localvariable.h \
-../kvs/kvi_kvs_treenode_modulecallbackcommand.h \
-../kvs/kvi_kvs_treenode_modulefunctioncall.h \
-../kvs/kvi_kvs_treenode_modulesimplecommand.h \
-../kvs/kvi_kvs_treenode_multipleparameteridentifier.h \
-../kvs/kvi_kvs_treenode_objectfield.h \
-../kvs/kvi_kvs_treenode_objectfunctioncall.h \
-../kvs/kvi_kvs_treenode_operation.h \
-../kvs/kvi_kvs_treenode_parameterreturn.h \
-../kvs/kvi_kvs_treenode_rebindingswitch.h \
-../kvs/kvi_kvs_treenode_scopeoperator.h \
-../kvs/kvi_kvs_treenode_simplecommand.h \
-../kvs/kvi_kvs_treenode_singleparameteridentifier.h \
-../kvs/kvi_kvs_treenode_specialcommand.h \
-../kvs/kvi_kvs_treenode_specialcommandbreak.h \
-../kvs/kvi_kvs_treenode_specialcommandclass.h \
-../kvs/kvi_kvs_treenode_specialcommanddefpopup.h \
-../kvs/kvi_kvs_treenode_specialcommanddo.h \
-../kvs/kvi_kvs_treenode_specialcommandfor.h \
-../kvs/kvi_kvs_treenode_specialcommandforeach.h \
-../kvs/kvi_kvs_treenode_specialcommandif.h \
-../kvs/kvi_kvs_treenode_specialcommandswitch.h \
-../kvs/kvi_kvs_treenode_specialcommandunset.h \
-../kvs/kvi_kvs_treenode_specialcommandwhile.h \
-../kvs/kvi_kvs_treenode_stringcast.h \
-../kvs/kvi_kvs_treenode_switchlist.h \
-../kvs/kvi_kvs_treenode_thisobjectfunctioncall.h \
-../kvs/kvi_kvs_treenode_variable.h \
-../kvs/kvi_kvs_treenode_voidfunctioncall.h \
-../kvs/kvi_kvs_types.h \
-../kvs/kvi_kvs_useraction.h \
-../kvs/kvi_kvs_variant.h \
-../kvs/kvi_kvs_variantlist.h \
-../module/kvi_mexlinkfilter.h ../module/kvi_mexserverimport.h ../module/kvi_mextoolbar.h \
-../module/kvi_module.h ../module/kvi_moduleextension.h ../module/kvi_modulemanager.h \
-../sparser/kvi_numeric.h \
-../sparser/kvi_sparser.h \
-../ui/kvi_actiondrawer.h \
-../ui/kvi_channel.h \
-../ui/kvi_colorwin.h \
-../ui/kvi_console.h \
-../ui/kvi_cryptcontroller.h \
-../ui/kvi_ctcppagedialog.h \
-../ui/kvi_customtoolbar.h \
-../ui/kvi_debugwindow.h \
-../ui/kvi_dynamictooltip.h \
-../ui/kvi_filedialog.h \
-../ui/kvi_frame.h \
-../ui/kvi_historywin.h \
-../ui/kvi_htmldialog.h \
-../ui/kvi_imagedialog.h \
-../ui/kvi_input.h \
-../ui/kvi_ipeditor.h \
-../ui/kvi_irctoolbar.h \
-../ui/kvi_ircview.h \
-../ui/kvi_ircviewprivate.h \
-../ui/kvi_ircviewtools.h \
-../ui/kvi_listview.h \
-../ui/kvi_maskeditor.h \
-../ui/kvi_mdicaption.h \
-../ui/kvi_mdichild.h \
-../ui/kvi_mdimanager.h \
-../ui/kvi_menubar.h \
-../ui/kvi_modeeditor.h \
-../ui/kvi_msgbox.h \
-../ui/kvi_optionswidget.h \
-../ui/kvi_query.h \
-../ui/kvi_scriptbutton.h \
-../ui/kvi_scripteditor.h \
-../ui/kvi_selectors.h \
-../ui/kvi_splash.h \
-../ui/kvi_statusbar.h \
-../ui/kvi_statusbarapplet.h \
-../ui/kvi_taskbar.h ../ui/kvi_texticonwin.h ../ui/kvi_themedlabel.h \
-../ui/kvi_toolbar.h ../ui/kvi_topicw.h ../ui/kvi_userlistview.h \
-../ui/kvi_window.h \
-../ui/kvi_modew.h \
-../ui/kvi_styled_controls.h \
-../ui/kvi_toolwindows_container.h
-
-../kvs/%.moc: ../kvs/%.h
-	$(SS_QT_MOC) $(SS_QT_FLAGS) $< -o $@
-
-../kernel/%.moc: ../kernel/%.h
-	$(SS_QT_MOC) $(SS_QT_FLAGS) $< -o $@
-
-../module/%.moc: ../module/%.h
-	$(SS_QT_MOC) $(SS_QT_FLAGS) $< -o $@
-
-../ui/%.moc: ../ui/%.h
-	$(SS_QT_MOC) $(SS_QT_FLAGS) $< -o $@
-
-%.moc: %.h
-	$(SS_QT_MOC) $(SS_QT_MOC_FLAGS) $< -o $@
-
-# Command useful to find the moc dependancies
-# DIRS="kernel sparser ui uparser"
-# for dire in $DIRS; do grep "\.moc" ../$dire/*.cpp | sort | sed -e 's/[[:space:]]*#include//' | sed -e s/\\\"/..\\\/$dire\\\// | sed -e 's/\"//'; done
-
-../kernel/kvi_action.cpp: ../kernel/kvi_action.moc
-../kernel/kvi_actionmanager.cpp: ../kernel/kvi_actionmanager.moc
-../kernel/kvi_app.cpp: ../kernel/kvi_app.moc
-../kernel/kvi_coreactions.cpp: ../kernel/kvi_coreactions.moc
-../kernel/kvi_filetransfer.cpp: ../kernel/kvi_filetransfer.moc
-../kernel/kvi_iconmanager.cpp: ../kernel/kvi_iconmanager.moc
-../kernel/kvi_ipc.cpp: ../kernel/kvi_ipc.moc
-../kernel/kvi_ircconnection.cpp: ../kernel/kvi_ircconnection.moc
-../kernel/kvi_ircconnectiontargetresolver.cpp: ../kernel/kvi_ircconnectiontargetresolver.moc
-../kernel/kvi_irccontext.cpp: ../kernel/kvi_irccontext.moc
-../kernel/kvi_irclink.cpp: ../kernel/kvi_irclink.moc
-../kernel/kvi_ircsocket.cpp: ../kernel/kvi_ircsocket.moc
-../kernel/kvi_lagmeter.cpp: ../kernel/kvi_lagmeter.moc
-../kernel/kvi_notifylist.cpp: ../kernel/kvi_notifylist.moc
-../kernel/kvi_texticonmanager.cpp: ../kernel/kvi_texticonmanager.moc
-../kvs/kvi_kvs_action.cpp: ../kvs/kvi_kvs_action.moc
-../kvs/kvi_kvs_asyncdnsoperation.cpp: ../kvs/kvi_kvs_asyncdnsoperation.moc
-../kvs/kvi_kvs_asyncoperation.cpp: ../kvs/kvi_kvs_asyncoperation.moc
-../kvs/kvi_kvs_dnsmanager.cpp: ../kvs/kvi_kvs_dnsmanager.moc
-../kvs/kvi_kvs_object.cpp: ../kvs/kvi_kvs_object.moc
-../kvs/kvi_kvs_popupmenu.cpp: ../kvs/kvi_kvs_popupmenu.moc
-../kvs/kvi_kvs_processmanager.cpp: ../kvs/kvi_kvs_processmanager.moc
-../kvs/kvi_kvs_timermanager.cpp: ../kvs/kvi_kvs_timermanager.moc
-../kvs/kvi_kvs_useraction.cpp: ../kvs/kvi_kvs_useraction.moc
-../module/kvi_mexlinkfilter.cpp: ../module/kvi_mexlinkfilter.moc
-../module/kvi_mexserverimport.cpp: ../module/kvi_mexserverimport.moc
-../module/kvi_mextoolbar.cpp: ../module/kvi_mextoolbar.moc
-../module/kvi_modulemanager.cpp: ../module/kvi_modulemanager.moc
-../sparser/kvi_sparser.cpp: ../sparser/kvi_sparser.moc
-../ui/kvi_actiondrawer.cpp: ../ui/kvi_actiondrawer.moc
-../ui/kvi_channel.cpp: ../ui/kvi_channel.moc
-../ui/kvi_colorwin.cpp: ../ui/kvi_colorwin.moc
-../ui/kvi_console.cpp: ../ui/kvi_console.moc
-../ui/kvi_cryptcontroller.cpp: ../ui/kvi_cryptcontroller.moc
-../ui/kvi_ctcppagedialog.cpp: ../ui/kvi_ctcppagedialog.moc
-../ui/kvi_customtoolbar.cpp: ../ui/kvi_customtoolbar.moc
-../ui/kvi_debugwindow.cpp: ../ui/kvi_debugwindow.moc
-../ui/kvi_dynamictooltip.cpp: ../ui/kvi_dynamictooltip.moc
-../ui/kvi_filedialog.cpp: ../ui/kvi_filedialog.moc
-../ui/kvi_frame.cpp: ../ui/kvi_frame.moc
-../ui/kvi_historywin.cpp: ../ui/kvi_historywin.moc
-../ui/kvi_htmldialog.cpp: ../ui/kvi_htmldialog.moc
-../ui/kvi_imagedialog.cpp: ../ui/kvi_imagedialog.moc
-../ui/kvi_input.cpp: ../ui/kvi_input.moc
-../ui/kvi_ipeditor.cpp: ../ui/kvi_ipeditor.moc
-../ui/kvi_irctoolbar.cpp: ../ui/kvi_irctoolbar.moc
-../ui/kvi_ircview.cpp: ../ui/kvi_ircview.moc
-../ui/kvi_ircviewtools.cpp: ../ui/kvi_ircviewtools.moc
-../ui/kvi_listview.cpp: ../ui/kvi_listview.moc
-../ui/kvi_maskeditor.cpp: ../ui/kvi_maskeditor.moc
-../ui/kvi_mdicaption.cpp: ../ui/kvi_mdicaption.moc
-../ui/kvi_mdichild.cpp: ../ui/kvi_mdichild.moc
-../ui/kvi_mdimanager.cpp: ../ui/kvi_mdimanager.moc
-../ui/kvi_menubar.cpp: ../ui/kvi_menubar.moc
-../ui/kvi_modeeditor.cpp: ../ui/kvi_modeeditor.moc
-../ui/kvi_modew.cpp: ../ui/kvi_modew.moc
-../ui/kvi_optionswidget.cpp: ../ui/kvi_optionswidget.moc
-../ui/kvi_query.cpp: ../ui/kvi_query.moc
-../ui/kvi_scriptbutton.cpp: ../ui/kvi_scriptbutton.moc
-../ui/kvi_scripteditor.cpp: ../ui/kvi_scripteditor.moc
-../ui/kvi_selectors.cpp: ../ui/kvi_selectors.moc
-../ui/kvi_splash.cpp: ../ui/kvi_splash.moc
-../ui/kvi_statusbarapplet.cpp: ../ui/kvi_statusbarapplet.moc
-../ui/kvi_statusbar.cpp: ../ui/kvi_statusbar.moc
-../ui/kvi_styled_controls.cpp: ../ui/kvi_styled_controls.moc
-../ui/kvi_taskbar.cpp: ../ui/kvi_taskbar.moc
-../ui/kvi_texticonwin.cpp: ../ui/kvi_texticonwin.moc
-../ui/kvi_texticonwin.cpp: ../ui/kvi_texticonwin.moc
-../ui/kvi_themedlabel.cpp: ../ui/kvi_themedlabel.moc
-../ui/kvi_toolbar.cpp: ../ui/kvi_toolbar.moc
-../ui/kvi_toolwindows_container.cpp: ../ui/kvi_toolwindows_container.moc
-../ui/kvi_topicw.cpp: ../ui/kvi_topicw.moc
-../ui/kvi_userlistview.cpp: ../ui/kvi_userlistview.moc
-../ui/kvi_window.cpp: ../ui/kvi_window.moc
-
-#
-# All the cpp files depend on symlinks beging up-to-date
-#
-
-../*/kvi_*.cpp: symlinks
-../*/*/kvi_*.cpp: symlinks
-
-#
-# Symlinks depend on all the header files: symlink is rebuilt whenewer an *.h file changes
-#
-
-symlinks: ../kernel/*.h ../kvs/*.h ../module/*h ../sparser/*.h ../ui/*.h
-	cd ../include; for i in kvi_*.h; do if [ ! -f $$i ]; then rm -f $$i; fi; done; for i in $(SS_TOPSRCDIR)/src/kvirc/*/kvi_*.h; do $(LN_S) $$i . >/dev/null 2>&1; echo "Created link to $$i"; done
-	touch symlinks
-
-#
-# When cleaning...remove also the symlinks
-#
-
-CLEANFILES = ../include/*.h symlinks ../*/*.moc ../*/moc_kvi_*.cpp
diff --git a/src/kvirc/include/Makefile.am b/src/kvirc/include/Makefile.am
deleted file mode 100644
index 6847f085..00000000
--- a/src/kvirc/include/Makefile.am
+++ /dev/null
@@ -1,3 +0,0 @@
-###############################################################################
-# KVirc IRC client Makefile - 16.12.98 Szymon Stefanek <stefanek@tin.it>
-###############################################################################
diff --git a/src/kvirc/kernel/Makefile.am b/src/kvirc/kernel/Makefile.am
deleted file mode 100644
index c84487eb..00000000
--- a/src/kvirc/kernel/Makefile.am
+++ /dev/null
@@ -1,5 +0,0 @@
-###############################################################################
-# KVirc IRC client Makefile - 16.12.98 Szymon Stefanek <stefanek@tin.it>
-###############################################################################
-
-EXTRA_DIST       = *.cpp *.h
diff --git a/src/kvirc/kvs/Makefile.am b/src/kvirc/kvs/Makefile.am
deleted file mode 100644
index c84487eb..00000000
--- a/src/kvirc/kvs/Makefile.am
+++ /dev/null
@@ -1,5 +0,0 @@
-###############################################################################
-# KVirc IRC client Makefile - 16.12.98 Szymon Stefanek <stefanek@tin.it>
-###############################################################################
-
-EXTRA_DIST       = *.cpp *.h
diff --git a/src/kvirc/module/Makefile.am b/src/kvirc/module/Makefile.am
deleted file mode 100644
index c84487eb..00000000
--- a/src/kvirc/module/Makefile.am
+++ /dev/null
@@ -1,5 +0,0 @@
-###############################################################################
-# KVirc IRC client Makefile - 16.12.98 Szymon Stefanek <stefanek@tin.it>
-###############################################################################
-
-EXTRA_DIST       = *.cpp *.h
diff --git a/src/kvirc/sparser/Makefile.am b/src/kvirc/sparser/Makefile.am
deleted file mode 100644
index c84487eb..00000000
--- a/src/kvirc/sparser/Makefile.am
+++ /dev/null
@@ -1,5 +0,0 @@
-###############################################################################
-# KVirc IRC client Makefile - 16.12.98 Szymon Stefanek <stefanek@tin.it>
-###############################################################################
-
-EXTRA_DIST       = *.cpp *.h
diff --git a/src/kvirc/ui/Makefile.am b/src/kvirc/ui/Makefile.am
deleted file mode 100644
index c84487eb..00000000
--- a/src/kvirc/ui/Makefile.am
+++ /dev/null
@@ -1,5 +0,0 @@
-###############################################################################
-# KVirc IRC client Makefile - 16.12.98 Szymon Stefanek <stefanek@tin.it>
-###############################################################################
-
-EXTRA_DIST       = *.cpp *.h
diff --git a/src/modules/Makefile.am b/src/modules/Makefile.am
deleted file mode 100644
index 267a89ef..00000000
--- a/src/modules/Makefile.am
+++ /dev/null
@@ -1,61 +0,0 @@
-SUBDIRS = about \
-		action \
-		actioneditor \
-		addon \
-		aliaseditor \
-		avatar \
-		chan \
-		channelsjoin \
-		clock \
-		codetester \
-		config \
-		context \
-		dcc \
-		dialog \
-		editor \
-		eventeditor \
-		file \
-		filetransferwindow \
-		dockwidget \
-		help \
-		http \
-		ident \
-		iograph \
-		lamerizer \
-		links \
-		list \
-		log \
-		logview \
-		mask \
-		math \
-		mediaplayer \
-		mircimport \
-		my \
-		notifier \
-		objects \
-		options \
-		perl \
-		perlcore \
-		popupeditor \
-		raweditor \
-		regchan \
-		reguser \
-		rijndael \
-		setup \
-		sharedfile \
-		sharedfileswindow \
-		snd \
-		socketspy \
-		spaste \
-		str \
-		system \
-		term \
-		texticons \
-		theme \
-		tip \
-		tmphighlight \
-		toolbar \
-		toolbareditor \
-		torrent \
-		url \
-		window
diff --git a/src/modules/about/Makefile.am b/src/modules/about/Makefile.am
deleted file mode 100644
index bc1654d5..00000000
--- a/src/modules/about/Makefile.am
+++ /dev/null
@@ -1,27 +0,0 @@
-###############################################################################
-# KVirc IRC client Makefile - 10.03.2000 Szymon Stefanek <stefanek@tin.it>
-###############################################################################
-
-AM_CPPFLAGS = -I$(SS_TOPSRCDIR)/src/kvilib/include/ -I$(SS_TOPSRCDIR)/src/kvirc/include/ \
-$(SS_INCDIRS) $(SS_CPPFLAGS) -DGLOBAL_KVIRC_DIR=\"$(globalkvircdir)\"
-
-pluglib_LTLIBRARIES      = libkviabout.la
-
-libkviabout_la_LDFLAGS = -module -avoid-version $(SS_LDFLAGS) $(SS_LIBDIRS)
-
-libkviabout_la_SOURCES = libkviabout.cpp aboutdialog.cpp
-
-libkviabout_la_LIBADD  = $(SS_LIBLINK) ../../kvirc/build/libkvirc.la
-
-noinst_HEADERS= aboutdialog.h
-
-EXTRA_DIST = mkabouttext.pl abouttext.inc ENTRIES
-
-abouttext:
-	perl mkabouttext.pl
-
-%.moc: %.h
-	$(SS_QT_MOC) $< -o $@
-
-#libkviabout.cpp: libkviabout.moc
-aboutdialog.cpp: aboutdialog.moc
diff --git a/src/modules/action/Makefile.am b/src/modules/action/Makefile.am
deleted file mode 100644
index f765fa25..00000000
--- a/src/modules/action/Makefile.am
+++ /dev/null
@@ -1,17 +0,0 @@
-###############################################################################
-# KVirc IRC client Makefile - 10.03.2000 Szymon Stefanek <stefanek@tin.it>
-###############################################################################
-
-AM_CPPFLAGS = -I$(SS_TOPSRCDIR)/src/kvilib/include/ -I$(SS_TOPSRCDIR)/src/kvirc/include/ \
-$(SS_INCDIRS) $(SS_CPPFLAGS) -DGLOBAL_KVIRC_DIR=\"$(globalkvircdir)\"
-
-pluglib_LTLIBRARIES      = libkviaction.la
-
-libkviaction_la_LDFLAGS = -module -avoid-version $(SS_LDFLAGS) $(SS_LIBDIRS)
-
-libkviaction_la_SOURCES = libkviaction.cpp
-
-libkviaction_la_LIBADD  = $(SS_LIBLINK) ../../kvirc/build/libkvirc.la
-
-#noinst_HEADERS= actiondialog.h
-
diff --git a/src/modules/actioneditor/Makefile.am b/src/modules/actioneditor/Makefile.am
deleted file mode 100644
index 937892e1..00000000
--- a/src/modules/actioneditor/Makefile.am
+++ /dev/null
@@ -1,21 +0,0 @@
-###############################################################################
-# KVirc IRC client module Makefile - Szymon Stefanek <pragma at kvirc dot net>
-###############################################################################
-
-AM_CPPFLAGS = -I$(SS_TOPSRCDIR)/src/kvilib/include/ -I$(SS_TOPSRCDIR)/src/kvirc/include/ \
-$(SS_INCDIRS) $(SS_CPPFLAGS) -DGLOBAL_KVIRC_DIR=\"$(globalkvircdir)\"
-
-pluglib_LTLIBRARIES      = libkviactioneditor.la
-
-libkviactioneditor_la_LDFLAGS = -module -avoid-version $(SS_LDFLAGS) $(SS_LIBDIRS)
-
-libkviactioneditor_la_SOURCES = libkviactioneditor.cpp actioneditor.cpp
-
-libkviactioneditor_la_LIBADD  = $(SS_LIBLINK) ../../kvirc/build/libkvirc.la
-
-noinst_HEADERS = actioneditor.h
-
-%.moc: %.h
-	$(SS_QT_MOC) $< -o $@
-
-actioneditor.cpp: actioneditor.moc
diff --git a/src/modules/addon/Makefile.am b/src/modules/addon/Makefile.am
deleted file mode 100644
index 61e2a1cc..00000000
--- a/src/modules/addon/Makefile.am
+++ /dev/null
@@ -1,23 +0,0 @@
-###############################################################################
-# KVirc IRC client Makefile - 10.03.2000 Szymon Stefanek <stefanek@tin.it>
-###############################################################################
-
-SUBDIRS = pics
-
-AM_CPPFLAGS = -I$(SS_TOPSRCDIR)/src/kvilib/include/ -I$(SS_TOPSRCDIR)/src/kvirc/include/ \
-$(SS_INCDIRS) $(SS_CPPFLAGS) -DGLOBAL_KVIRC_DIR=\"$(globalkvircdir)\"
-
-pluglib_LTLIBRARIES      = libkviaddon.la
-
-libkviaddon_la_LDFLAGS = -module -avoid-version $(SS_LDFLAGS) $(SS_LIBDIRS)
-
-libkviaddon_la_SOURCES = libkviaddon.cpp managementdialog.cpp
-
-libkviaddon_la_LIBADD  = $(SS_LIBLINK) ../../kvirc/build/libkvirc.la
-
-noinst_HEADERS= managementdialog.h
-
-%.moc: %.h
-	$(SS_QT_MOC) $< -o $@
-
-managementdialog.cpp: managementdialog.moc
diff --git a/src/modules/addon/pics/Makefile.am b/src/modules/addon/pics/Makefile.am
deleted file mode 100644
index 726f519d..00000000
--- a/src/modules/addon/pics/Makefile.am
+++ /dev/null
@@ -1,9 +0,0 @@
-###############################################################################
-# KVirc IRC client Makefile - 10.03.2000 Szymon Stefanek <stefanek@tin.it>
-###############################################################################
-
-tmpdir = $(picsdir)
-
-tmp_DATA= kvi_dialog_addons.png
-
-EXTRA_DIST = $(tmp_DATA)
diff --git a/src/modules/aliaseditor/Makefile.am b/src/modules/aliaseditor/Makefile.am
deleted file mode 100644
index 6fcfd844..00000000
--- a/src/modules/aliaseditor/Makefile.am
+++ /dev/null
@@ -1,21 +0,0 @@
-###############################################################################
-# KVirc IRC client Makealiaseditor - 10.03.2000 Szymon Stefanek <stefanek@tin.it>
-###############################################################################
-
-AM_CPPFLAGS = -I$(SS_TOPSRCDIR)/src/kvilib/include/ -I$(SS_TOPSRCDIR)/src/kvirc/include/ \
-$(SS_INCDIRS) $(SS_CPPFLAGS) -DGLOBAL_KVIRC_DIR=\"$(globalkvircdir)\"
-
-pluglib_LTLIBRARIES      = libkvialiaseditor.la
-
-libkvialiaseditor_la_LDFLAGS = -module -avoid-version $(SS_LDFLAGS) $(SS_LIBDIRS)
-
-libkvialiaseditor_la_SOURCES = libkvialiaseditor.cpp aliaseditor.cpp
-
-libkvialiaseditor_la_LIBADD  = $(SS_LIBLINK) ../../kvirc/build/libkvirc.la
-
-noinst_HEADERS = aliaseditor.h
-
-%.moc: %.h
-	$(SS_QT_MOC) $< -o $@
-
-aliaseditor.cpp: aliaseditor.moc
diff --git a/src/modules/avatar/Makefile.am b/src/modules/avatar/Makefile.am
deleted file mode 100644
index 7567295c..00000000
--- a/src/modules/avatar/Makefile.am
+++ /dev/null
@@ -1,21 +0,0 @@
-###############################################################################
-# KVirc IRC client Makefile - 10.03.2000 Szymon Stefanek <stefanek@tin.it>
-###############################################################################
-
-AM_CPPFLAGS = -I$(SS_TOPSRCDIR)/src/kvilib/include/ -I$(SS_TOPSRCDIR)/src/kvirc/include/ \
-$(SS_INCDIRS) $(SS_CPPFLAGS) -DGLOBAL_KVIRC_DIR=\"$(globalkvircdir)\"
-
-pluglib_LTLIBRARIES      = libkviavatar.la
-
-libkviavatar_la_LDFLAGS = -module -avoid-version $(SS_LDFLAGS) $(SS_LIBDIRS)
-
-libkviavatar_la_SOURCES = libkviavatar.cpp
-
-libkviavatar_la_LIBADD  = $(SS_LIBLINK) ../../kvirc/build/libkvirc.la
-
-noinst_HEADERS = libkviavatar.h
-
-%.moc: %.h
-	$(SS_QT_MOC) $< -o $@
-
-libkviavatar.cpp: libkviavatar.moc
diff --git a/src/modules/chan/Makefile.am b/src/modules/chan/Makefile.am
deleted file mode 100644
index 312f12b1..00000000
--- a/src/modules/chan/Makefile.am
+++ /dev/null
@@ -1,18 +0,0 @@
-###############################################################################
-# KVirc IRC client Makefile - 31.01.2002 Szymon Stefanek <stefanek@tin.it>
-###############################################################################
-
-AM_CPPFLAGS = -I$(SS_TOPSRCDIR)/src/kvilib/include/ -I$(SS_TOPSRCDIR)/src/kvirc/include/ \
-$(SS_INCDIRS) $(SS_CPPFLAGS) -DGLOBAL_KVIRC_DIR=\"$(globalkvircdir)\"
-
-pluglib_LTLIBRARIES      = libkvichan.la
-
-libkvichan_la_LDFLAGS = -module -avoid-version $(SS_LDFLAGS) $(SS_LIBDIRS)
-
-libkvichan_la_SOURCES = libkvichan.cpp
-libkvichan_la_LIBADD  = $(SS_LIBLINK) ../../kvirc/build/libkvirc.la
-
-# noinst_HEADERS=
-
-%.moc: %.h
-	$(SS_QT_MOC) $< -o $@
diff --git a/src/modules/channelsjoin/Makefile.am b/src/modules/channelsjoin/Makefile.am
deleted file mode 100644
index 09436e6e..00000000
--- a/src/modules/channelsjoin/Makefile.am
+++ /dev/null
@@ -1,21 +0,0 @@
-###############################################################################
-# KVirc IRC client Makefile - 10.03.2000 Szymon Stefanek <stefanek@tin.it>
-################################################################################
-
-AM_CPPFLAGS = -I$(SS_TOPSRCDIR)/src/kvilib/include/ -I$(SS_TOPSRCDIR)/src/kvirc/include/ \
-$(SS_INCDIRS) $(SS_CPPFLAGS) -DGLOBAL_KVIRC_DIR=\"$(globalkvircdir)\"
-
-pluglib_LTLIBRARIES      = libkvichannelsjoin.la
-
-libkvichannelsjoin_la_LDFLAGS = -module -avoid-version $(SS_LDFLAGS) $(SS_LIBDIRS)
-
-libkvichannelsjoin_la_SOURCES = libkvichannelsjoin.cpp channelsjoinwindow.cpp
-
-libkvichannelsjoin_la_LIBADD  = $(SS_LIBLINK) ../../kvirc/build/libkvirc.la
-
-noinst_HEADERS= channelsjoinwindow.h
-
-%.moc: %.h
-	$(SS_QT_MOC) $< -o $@
-
-channelsjoinwindow.cpp: channelsjoinwindow.moc
diff --git a/src/modules/clock/Makefile.am b/src/modules/clock/Makefile.am
deleted file mode 100644
index 3ae0d0ba..00000000
--- a/src/modules/clock/Makefile.am
+++ /dev/null
@@ -1,20 +0,0 @@
-###############################################################################
-# KVirc IRC client Makefile - 10.03.2000 Szymon Stefanek <stefanek@tin.it>
-###############################################################################
-
-AM_CPPFLAGS = -I$(SS_TOPSRCDIR)/src/kvilib/include/ -I$(SS_TOPSRCDIR)/src/kvirc/include/ \
-$(SS_INCDIRS) $(SS_CPPFLAGS) -DGLOBAL_KVIRC_DIR=\"$(globalkvircdir)\"
-
-pluglib_LTLIBRARIES      = libkviclock.la
-
-libkviclock_la_LDFLAGS = -module -avoid-version $(SS_LDFLAGS) $(SS_LIBDIRS)
-
-libkviclock_la_SOURCES = libkviclock.cpp
-libkviclock_la_LIBADD  = $(SS_LIBLINK)  ../../kvirc/build/libkvirc.la
-
-noinst_HEADERS= libkviclock.h
-
-%.moc: %.h
-	$(SS_QT_MOC) $< -o $@
-
-libkviclock.cpp: libkviclock.moc
diff --git a/src/modules/codetester/Makefile.am b/src/modules/codetester/Makefile.am
deleted file mode 100644
index b7b15455..00000000
--- a/src/modules/codetester/Makefile.am
+++ /dev/null
@@ -1,17 +0,0 @@
-AM_CPPFLAGS = -I$(SS_TOPSRCDIR)/src/kvilib/include/ -I$(SS_TOPSRCDIR)/src/kvirc/include/ \
-$(SS_INCDIRS) $(SS_CPPFLAGS) -DGLOBAL_KVIRC_DIR=\"$(globalkvircdir)\"
-
-pluglib_LTLIBRARIES      = libkvicodetester.la
-
-libkvicodetester_la_LDFLAGS = -module -avoid-version $(SS_LDFLAGS) $(SS_LIBDIRS)
-
-libkvicodetester_la_SOURCES = libkvicodetester.cpp codetester.cpp
-
-libkvicodetester_la_LIBADD  = $(SS_LIBLINK) ../../kvirc/build/libkvirc.la
-
-noinst_HEADERS = codetester.h
-
-%.moc: %.h
-	$(SS_QT_MOC) $< -o $@
-
-codetester.cpp: codetester.moc
diff --git a/src/modules/config/Makefile.am b/src/modules/config/Makefile.am
deleted file mode 100644
index 78310a2e..00000000
--- a/src/modules/config/Makefile.am
+++ /dev/null
@@ -1,18 +0,0 @@
-###############################################################################
-# KVirc IRC client Makefile - 31.01.2002 Szymon Stefanek <stefanek@tin.it>
-###############################################################################
-
-AM_CPPFLAGS = -I$(SS_TOPSRCDIR)/src/kvilib/include/ -I$(SS_TOPSRCDIR)/src/kvirc/include/ \
-$(SS_INCDIRS) $(SS_CPPFLAGS) -DGLOBAL_KVIRC_DIR=\"$(globalkvircdir)\"
-
-pluglib_LTLIBRARIES      = libkviconfig.la
-
-libkviconfig_la_LDFLAGS = -module -avoid-version $(SS_LDFLAGS) $(SS_LIBDIRS)
-
-libkviconfig_la_SOURCES = libkviconfig.cpp
-libkviconfig_la_LIBADD  = $(SS_LIBLINK) ../../kvirc/build/libkvirc.la
-
-# noinst_HEADERS=
-
-%.moc: %.h
-	$(SS_QT_MOC) $< -o $@
diff --git a/src/modules/context/Makefile.am b/src/modules/context/Makefile.am
deleted file mode 100644
index a303fc0d..00000000
--- a/src/modules/context/Makefile.am
+++ /dev/null
@@ -1,18 +0,0 @@
-###############################################################################
-# KVirc IRC client Makefile - 10.03.2000 Szymon Stefanek <stefanek@tin.it>
-###############################################################################
-
-AM_CPPFLAGS = -I$(SS_TOPSRCDIR)/src/kvilib/include/ -I$(SS_TOPSRCDIR)/src/kvirc/include/ \
-$(SS_INCDIRS) $(SS_CPPFLAGS) -DGLOBAL_KVIRC_DIR=\"$(globalkvircdir)\"
-
-pluglib_LTLIBRARIES      = libkvicontext.la
-
-libkvicontext_la_LDFLAGS = -module -avoid-version $(SS_LDFLAGS) $(SS_LIBDIRS)
-
-libkvicontext_la_SOURCES = libkvicontext.cpp
-libkvicontext_la_LIBADD  = $(SS_LIBLINK) ../../kvirc/build/libkvirc.la
-
-# noinst_HEADERS=
-
-%.moc: %.h
-	$(SS_QT_MOC) $< -o $@
diff --git a/src/modules/dcc/Makefile.am b/src/modules/dcc/Makefile.am
deleted file mode 100644
index f168506a..00000000
--- a/src/modules/dcc/Makefile.am
+++ /dev/null
@@ -1,65 +0,0 @@
-###############################################################################
-# KVirc IRC client Makefile - 10.03.2000 Szymon Stefanek <stefanek@tin.it>
-###############################################################################
-
-tmpdir=$(picsdir)
-
-tmp_DATA=kvi_dccfiletransfericons.png
-
-EXTRA_DIST=kvi_dccfiletransfericons.png
-
-AM_CPPFLAGS = -I$(SS_TOPSRCDIR)/src/kvilib/include/ -I$(SS_TOPSRCDIR)/src/kvirc/include/ \
-$(SS_INCDIRS) $(SS_CPPFLAGS) -DGLOBAL_KVIRC_DIR=\"$(globalkvircdir)\"
-
-pluglib_LTLIBRARIES      = libkvidcc.la
-
-libkvidcc_la_LDFLAGS = -module -avoid-version $(SS_LDFLAGS) $(SS_LIBDIRS)
-
-libkvidcc_la_SOURCES = adpcmcodec.cpp \
-										broker.cpp \
-										canvas.cpp \
-										canvaswidget.cpp \
-										chat.cpp \
-										codec.cpp \
-										descriptor.cpp \
-										dialogs.cpp \
-										gsmcodec.cpp \
-										libkvidcc.cpp \
-										marshal.cpp \
-										requests.cpp \
-										send.cpp \
-										thread.cpp \
-										utils.cpp \
-										voice.cpp \
-										window.cpp
-
-libkvidcc_la_LIBADD  = $(SS_LIBLINK) ../../kvirc/build/libkvirc.la
-
-noinst_HEADERS= adpcmcodec.h \
-								broker.h \
-								canvas.h \
-								canvaswidget.h \
-								chat.h \
-								codec.h \
-								descriptor.h \
-								dialogs.h \
-								gsmcodec.h \
-								marshal.h \
-								send.h \
-								thread.h \
-								utils.h \
-								voice.h \
-								window.h
-
-%.moc: %.h
-	$(SS_QT_MOC) $< -o $@
-
-broker.cpp: broker.moc
-canvas.cpp: canvas.moc
-canvaswidget.cpp: canvaswidget.moc
-chat.cpp: chat.moc
-dialogs.cpp: dialogs.moc
-marshal.cpp: marshal.moc
-send.cpp: send.moc
-voice.cpp: voice.moc
-window.cpp: window.moc
diff --git a/src/modules/dialog/Makefile.am b/src/modules/dialog/Makefile.am
deleted file mode 100644
index 4ed9e9fa..00000000
--- a/src/modules/dialog/Makefile.am
+++ /dev/null
@@ -1,21 +0,0 @@
-###############################################################################
-# KVirc IRC client Makefile - 10.03.2000 Szymon Stefanek <stefanek@tin.it>
-###############################################################################
-
-AM_CPPFLAGS = -I$(SS_TOPSRCDIR)/src/kvilib/include/ -I$(SS_TOPSRCDIR)/src/kvirc/include/ \
-$(SS_INCDIRS) $(SS_CPPFLAGS) -DGLOBAL_KVIRC_DIR=\"$(globalkvircdir)\"
-
-pluglib_LTLIBRARIES      = libkvidialog.la
-
-libkvidialog_la_LDFLAGS = -module -avoid-version $(SS_LDFLAGS) $(SS_LIBDIRS)
-
-libkvidialog_la_SOURCES = libkvidialog.cpp
-
-libkvidialog_la_LIBADD  = $(SS_LIBLINK) ../../kvirc/build/libkvirc.la
-
-noinst_HEADERS= libkvidialog.h
-
-%.moc: %.h
-	$(SS_QT_MOC) $< -o $@
-
-libkvidialog.cpp: libkvidialog.moc
diff --git a/src/modules/dockwidget/Makefile.am b/src/modules/dockwidget/Makefile.am
deleted file mode 100644
index 72dbe1fc..00000000
--- a/src/modules/dockwidget/Makefile.am
+++ /dev/null
@@ -1,27 +0,0 @@
-###############################################################################
-# KVirc IRC client Makefile - 10.03.2000 Szymon Stefanek <stefanek@tin.it>
-###############################################################################
-
-AM_CPPFLAGS = -I$(SS_TOPSRCDIR)/src/kvilib/include/ -I$(SS_TOPSRCDIR)/src/kvirc/include/ \
-$(SS_INCDIRS) $(SS_CPPFLAGS) -DGLOBAL_KVIRC_DIR=\"$(globalkvircdir)\"
-
-pluglib_LTLIBRARIES      = libkvidockwidget.la
-
-libkvidockwidget_la_LDFLAGS = -module -avoid-version $(SS_LDFLAGS) $(SS_LIBDIRS)
-
-libkvidockwidget_la_SOURCES = libkvidockwidget_qt3.cpp
-
-libkvidockwidget_la_LIBADD  = $(SS_LIBLINK) ../../kvirc/build/libkvirc.la
-
-noinst_HEADERS= libkvidockwidget.h libkvidockwidget_qt3.h
-
-tmpdir = $(picsdir)
-
-tmp_DATA = kvi_dock.png kvi_dock_part-0.png kvi_dock_part-1.png kvi_dock_part-2.png
-   
-EXTRA_DIST = $(tmp_DATA)
-
-%.moc: %.h
-	$(SS_QT_MOC) $< -o $@
-	
-libkvidockwidget_qt3.cpp: libkvidockwidget_qt3.moc
diff --git a/src/modules/editor/Makefile.am b/src/modules/editor/Makefile.am
deleted file mode 100644
index 55d96437..00000000
--- a/src/modules/editor/Makefile.am
+++ /dev/null
@@ -1,21 +0,0 @@
-###############################################################################
-# KVirc IRC client Makefile - 10.03.2000 Szymon Stefanek <stefanek@tin.it>
-###############################################################################
-
-AM_CPPFLAGS = -I$(SS_TOPSRCDIR)/src/kvilib/include/ -I$(SS_TOPSRCDIR)/src/kvirc/include/ \
-$(SS_INCDIRS) $(SS_CPPFLAGS) -DGLOBAL_KVIRC_DIR=\"$(globalkvircdir)\" -DKVIRC_SSEX
-
-pluglib_LTLIBRARIES      = libkvieditor.la
-
-libkvieditor_la_LDFLAGS = -module -avoid-version $(SS_LDFLAGS) $(SS_LIBDIRS)
-
-libkvieditor_la_SOURCES = libkvieditor.cpp scripteditor.cpp
-
-libkvieditor_la_LIBADD  = $(SS_LIBLINK) ../../kvirc/build/libkvirc.la
-
-noinst_HEADERS= scripteditor.h
-
-%.moc: %.h
-	$(SS_QT_MOC) $< -o $@
-
-scripteditor.cpp: scripteditor.moc
diff --git a/src/modules/eventeditor/Makefile.am b/src/modules/eventeditor/Makefile.am
deleted file mode 100644
index b6f56d92..00000000
--- a/src/modules/eventeditor/Makefile.am
+++ /dev/null
@@ -1,21 +0,0 @@
-###############################################################################
-# KVirc IRC client Makeeventeditor - 10.03.2000 Szymon Stefanek <stefanek@tin.it>
-###############################################################################
-
-AM_CPPFLAGS = -I$(SS_TOPSRCDIR)/src/kvilib/include/ -I$(SS_TOPSRCDIR)/src/kvirc/include/ \
-$(SS_INCDIRS) $(SS_CPPFLAGS) -DGLOBAL_KVIRC_DIR=\"$(globalkvircdir)\"
-
-pluglib_LTLIBRARIES      = libkvieventeditor.la
-
-libkvieventeditor_la_LDFLAGS = -module -avoid-version $(SS_LDFLAGS) $(SS_LIBDIRS)
-
-libkvieventeditor_la_SOURCES = libkvieventeditor.cpp eventeditor.cpp
-
-libkvieventeditor_la_LIBADD  = $(SS_LIBLINK) ../../kvirc/build/libkvirc.la
-
-noinst_HEADERS = eventeditor.h
-
-%.moc: %.h
-	$(SS_QT_MOC) $< -o $@
-
-eventeditor.cpp: eventeditor.moc
diff --git a/src/modules/file/Makefile.am b/src/modules/file/Makefile.am
deleted file mode 100644
index f1b70abd..00000000
--- a/src/modules/file/Makefile.am
+++ /dev/null
@@ -1,18 +0,0 @@
-###############################################################################
-# KVirc IRC client Makefile - 10.03.2000 Szymon Stefanek <stefanek@tin.it>
-###############################################################################
-
-AM_CPPFLAGS = -I$(SS_TOPSRCDIR)/src/kvilib/include/ -I$(SS_TOPSRCDIR)/src/kvirc/include/ \
-$(SS_INCDIRS) $(SS_CPPFLAGS) -DGLOBAL_KVIRC_DIR=\"$(globalkvircdir)\"
-
-pluglib_LTLIBRARIES      = libkvifile.la
-
-libkvifile_la_LDFLAGS = -module -avoid-version $(SS_LDFLAGS) $(SS_LIBDIRS)
-
-libkvifile_la_SOURCES = libkvifile.cpp
-libkvifile_la_LIBADD  = $(SS_LIBLINK) ../../kvirc/build/libkvirc.la
-
-# noinst_HEADERS=
-
-%.moc: %.h
-	$(SS_QT_MOC) $< -o $@
diff --git a/src/modules/filetransferwindow/Makefile.am b/src/modules/filetransferwindow/Makefile.am
deleted file mode 100644
index 61ba2db1..00000000
--- a/src/modules/filetransferwindow/Makefile.am
+++ /dev/null
@@ -1,23 +0,0 @@
-###############################################################################
-# KVirc IRC client Makefile - 10.03.2000 Szymon Stefanek <stefanek@tin.it>
-###############################################################################
-
-SUBDIRS = caps
-
-AM_CPPFLAGS = -I$(SS_TOPSRCDIR)/src/kvilib/include/ -I$(SS_TOPSRCDIR)/src/kvirc/include/ \
-$(SS_INCDIRS) $(SS_CPPFLAGS) -DGLOBAL_KVIRC_DIR=\"$(globalkvircdir)\"
-
-pluglib_LTLIBRARIES      = libkvifiletransferwindow.la
-
-libkvifiletransferwindow_la_LDFLAGS = -module -avoid-version $(SS_LDFLAGS) $(SS_LIBDIRS)
-
-libkvifiletransferwindow_la_SOURCES = libkvifiletransferwindow.cpp filetransferwindow.cpp
-
-libkvifiletransferwindow_la_LIBADD  = $(SS_LIBLINK) ../../kvirc/build/libkvirc.la
-
-noinst_HEADERS= filetransferwindow.h
-
-%.moc: %.h
-	$(SS_QT_MOC) $< -o $@
-
-filetransferwindow.cpp: filetransferwindow.moc
diff --git a/src/modules/filetransferwindow/caps/Makefile.am b/src/modules/filetransferwindow/caps/Makefile.am
deleted file mode 100644
index c3e694b7..00000000
--- a/src/modules/filetransferwindow/caps/Makefile.am
+++ /dev/null
@@ -1,9 +0,0 @@
-###############################################################################
-# KVirc IRC client Makefile - 10.03.2000 Szymon Stefanek <stefanek@tin.it>
-###############################################################################
-
-tmpdir = $(pluglibdir)/caps/tool/
-
-tmp_DATA= filetransferwindow
-
-EXTRA_DIST = $(tmp_DATA)
diff --git a/src/modules/help/Makefile.am b/src/modules/help/Makefile.am
deleted file mode 100644
index 36e130af..00000000
--- a/src/modules/help/Makefile.am
+++ /dev/null
@@ -1,22 +0,0 @@
-###############################################################################
-# KVirc IRC client Makefile - 10.03.2000 Szymon Stefanek <stefanek@tin.it>
-###############################################################################
-
-AM_CPPFLAGS = -I$(SS_TOPSRCDIR)/src/kvilib/include/ -I$(SS_TOPSRCDIR)/src/kvirc/include/ \
-$(SS_INCDIRS) $(SS_CPPFLAGS) -DGLOBAL_KVIRC_DIR=\"$(globalkvircdir)\"
-
-pluglib_LTLIBRARIES      = libkvihelp.la
-
-libkvihelp_la_LDFLAGS = -module -avoid-version $(SS_LDFLAGS) $(SS_LIBDIRS)
-
-libkvihelp_la_SOURCES = libkvihelp.cpp helpwidget.cpp helpwindow.cpp index.cpp index.moc
-libkvihelp_la_LIBADD  = $(SS_LIBLINK) ../../kvirc/build/libkvirc.la
-
-noinst_HEADERS= helpwidget.h helpwindow.h index.h
-
-%.moc: %.h
-	$(SS_QT_MOC) $< -o $@
-
-helpwidget.cpp: helpwidget.moc
-helpwindow.cpp: helpwindow.moc
-index.cpp: index.moc
diff --git a/src/modules/http/Makefile.am b/src/modules/http/Makefile.am
deleted file mode 100644
index ff710130..00000000
--- a/src/modules/http/Makefile.am
+++ /dev/null
@@ -1,27 +0,0 @@
-###############################################################################
-# KVirc IRC client Makefile - 31.01.2002 Szymon Stefanek <stefanek@tin.it>
-###############################################################################
-
-tmpdir=$(picsdir)
-
-tmp_DATA=kvi_httpicons.png
-
-EXTRA_DIST=kvi_httpicons.png
-
-AM_CPPFLAGS = -I$(SS_TOPSRCDIR)/src/kvilib/include/ -I$(SS_TOPSRCDIR)/src/kvirc/include/ \
-$(SS_INCDIRS) $(SS_CPPFLAGS) -DGLOBAL_KVIRC_DIR=\"$(globalkvircdir)\"
-
-pluglib_LTLIBRARIES      = libkvihttp.la
-
-libkvihttp_la_LDFLAGS = -module -avoid-version $(SS_LDFLAGS) $(SS_LIBDIRS)
-
-libkvihttp_la_SOURCES = libkvihttp.cpp httpfiletransfer.cpp
-
-libkvihttp_la_LIBADD  = $(SS_LIBLINK) ../../kvirc/build/libkvirc.la
-
-noinst_HEADERS= httpfiletransfer.h
-
-%.moc: %.h
-	$(SS_QT_MOC) $< -o $@
-
-httpfiletransfer.cpp: httpfiletransfer.moc
diff --git a/src/modules/ident/Makefile.am b/src/modules/ident/Makefile.am
deleted file mode 100644
index 71bf0e9b..00000000
--- a/src/modules/ident/Makefile.am
+++ /dev/null
@@ -1,20 +0,0 @@
-###############################################################################
-# KVirc IRC client Makefile - 10.03.2000 Szymon Stefanek <stefanek@tin.it>
-###############################################################################
-
-AM_CPPFLAGS = -I$(SS_TOPSRCDIR)/src/kvilib/include/ -I$(SS_TOPSRCDIR)/src/kvirc/include/ \
-$(SS_INCDIRS) $(SS_CPPFLAGS) -DGLOBAL_KVIRC_DIR=\"$(globalkvircdir)\"
-
-pluglib_LTLIBRARIES      = libkviident.la
-
-libkviident_la_LDFLAGS = -module -avoid-version $(SS_LDFLAGS) $(SS_LIBDIRS)
-
-libkviident_la_SOURCES = libkviident.cpp
-libkviident_la_LIBADD  = $(SS_LIBLINK)  ../../kvirc/build/libkvirc.la
-
-noinst_HEADERS= libkviident.h
-
-%.moc: %.h
-	$(SS_QT_MOC) $< -o $@
-
-libkviident.cpp: libkviident.moc
diff --git a/src/modules/iograph/Makefile.am b/src/modules/iograph/Makefile.am
deleted file mode 100644
index 8d10a3cf..00000000
--- a/src/modules/iograph/Makefile.am
+++ /dev/null
@@ -1,20 +0,0 @@
-###############################################################################
-# KVirc IRC client Makefile - 10.03.2000 Szymon Stefanek <stefanek@tin.it>
-###############################################################################
-
-AM_CPPFLAGS = -I$(SS_TOPSRCDIR)/src/kvilib/include/ -I$(SS_TOPSRCDIR)/src/kvirc/include/ \
-$(SS_INCDIRS) $(SS_CPPFLAGS) -DGLOBAL_KVIRC_DIR=\"$(globalkvircdir)\"
-
-pluglib_LTLIBRARIES      = libkviiograph.la
-
-libkviiograph_la_LDFLAGS = -module -avoid-version $(SS_LDFLAGS) $(SS_LIBDIRS)
-
-libkviiograph_la_SOURCES = libkviiograph.cpp
-libkviiograph_la_LIBADD  = $(SS_LIBLINK) ../../kvirc/build/libkvirc.la
-
-noinst_HEADERS= libkviiograph.h
-
-%.moc: %.h
-	$(SS_QT_MOC) $< -o $@
-
-libkviiograph.cpp: libkviiograph.moc
diff --git a/src/modules/lamerizer/Makefile.am b/src/modules/lamerizer/Makefile.am
deleted file mode 100644
index 164a6523..00000000
--- a/src/modules/lamerizer/Makefile.am
+++ /dev/null
@@ -1,27 +0,0 @@
-###############################################################################
-# KVirc IRC client Makefile - 10.03.2000 Szymon Stefanek <stefanek@tin.it>
-###############################################################################
-
-AM_CPPFLAGS = -I$(SS_TOPSRCDIR)/src/kvilib/include/ -I$(SS_TOPSRCDIR)/src/kvirc/include/ \
-$(SS_INCDIRS) $(SS_CPPFLAGS) -DGLOBAL_KVIRC_DIR=\"$(globalkvircdir)\"
-
-pluglib_LTLIBRARIES      = libkvilamerizer.la
-
-libkvilamerizer_la_LDFLAGS = -module -avoid-version $(SS_LDFLAGS) $(SS_LIBDIRS)
-
-libkvilamerizer_la_SOURCES = libkvilamerizer.cpp
-libkvilamerizer_la_LIBADD  = $(SS_LIBLINK) ../../kvirc/build/libkvirc.la
-
-noinst_HEADERS= libkvilamerizer.h
-
-tmpdir = $(pluglibdir)/caps/crypt/
-
-tmp_DATA= lamerizer
-
-EXTRA_DIST = $(tmp_DATA)
-
-
-%.moc: %.h
-	$(SS_QT_MOC) $< -o $@
-
-libkvilamerizer.cpp: libkvilamerizer.moc
diff --git a/src/modules/links/Makefile.am b/src/modules/links/Makefile.am
deleted file mode 100644
index d20dae11..00000000
--- a/src/modules/links/Makefile.am
+++ /dev/null
@@ -1,21 +0,0 @@
-###############################################################################
-# KVirc IRC client Makefile - 10.03.2000 Szymon Stefanek <stefanek@tin.it>
-###############################################################################
-
-AM_CPPFLAGS = -I$(SS_TOPSRCDIR)/src/kvilib/include/ -I$(SS_TOPSRCDIR)/src/kvirc/include/ \
-$(SS_INCDIRS) $(SS_CPPFLAGS) -DGLOBAL_KVIRC_DIR=\"$(globalkvircdir)\"
-
-pluglib_LTLIBRARIES      = libkvilinks.la
-
-libkvilinks_la_LDFLAGS = -module -avoid-version $(SS_LDFLAGS) $(SS_LIBDIRS)
-
-libkvilinks_la_SOURCES = libkvilinks.cpp linkswindow.cpp
-
-libkvilinks_la_LIBADD  = $(SS_LIBLINK) ../../kvirc/build/libkvirc.la
-
-noinst_HEADERS= linkswindow.h
-
-%.moc: %.h
-	$(SS_QT_MOC) $< -o $@
-
-linkswindow.cpp: linkswindow.moc
diff --git a/src/modules/list/Makefile.am b/src/modules/list/Makefile.am
deleted file mode 100644
index bb75d337..00000000
--- a/src/modules/list/Makefile.am
+++ /dev/null
@@ -1,20 +0,0 @@
-###############################################################################
-# KVirc IRC client Makefile - 10.03.2000 Szymon Stefanek <stefanek@tin.it>
-###############################################################################
-
-AM_CPPFLAGS = -I$(SS_TOPSRCDIR)/src/kvilib/include/ -I$(SS_TOPSRCDIR)/src/kvirc/include/ \
-$(SS_INCDIRS) $(SS_CPPFLAGS) -DGLOBAL_KVIRC_DIR=\"$(globalkvircdir)\"
-
-pluglib_LTLIBRARIES      = libkvilist.la
-
-libkvilist_la_LDFLAGS = -module -avoid-version $(SS_LDFLAGS) $(SS_LIBDIRS)
-
-libkvilist_la_SOURCES = libkvilist.cpp listwindow.cpp
-libkvilist_la_LIBADD  = $(SS_LIBLINK) ../../kvirc/build/libkvirc.la
-
-noinst_HEADERS= listwindow.h
-
-%.moc: %.h
-	$(SS_QT_MOC) $< -o $@
-
-listwindow.cpp: listwindow.moc
diff --git a/src/modules/log/Makefile.am b/src/modules/log/Makefile.am
deleted file mode 100644
index 52703f8f..00000000
--- a/src/modules/log/Makefile.am
+++ /dev/null
@@ -1,18 +0,0 @@
-###############################################################################
-# KVirc IRC client Makefile - 10.03.2000 Szymon Stefanek <stefanek@tin.it>
-###############################################################################
-
-AM_CPPFLAGS = -I$(SS_TOPSRCDIR)/src/kvilib/include/ -I$(SS_TOPSRCDIR)/src/kvirc/include/ \
-$(SS_INCDIRS) $(SS_CPPFLAGS) -DGLOBAL_KVIRC_DIR=\"$(globalkvircdir)\"
-
-pluglib_LTLIBRARIES      = libkvilog.la
-
-libkvilog_la_LDFLAGS = -module -avoid-version $(SS_LDFLAGS) $(SS_LIBDIRS)
-
-libkvilog_la_SOURCES = libkvilog.cpp
-libkvilog_la_LIBADD  = $(SS_LIBLINK) ../../kvirc/build/libkvirc.la
-
-# noinst_HEADERS=
-
-%.moc: %.h
-	$(SS_QT_MOC) $< -o $@
diff --git a/src/modules/logview/Makefile.am b/src/modules/logview/Makefile.am
deleted file mode 100644
index 36dfce6c..00000000
--- a/src/modules/logview/Makefile.am
+++ /dev/null
@@ -1,23 +0,0 @@
-###############################################################################
-# KVirc IRC client Makefile - 3.23.2002 Juanjo Álvarez <juanjux@yahoo.es>
-###############################################################################
-
-SUBDIRS = caps
-
-AM_CPPFLAGS = -I$(SS_TOPSRCDIR)/src/kvilib/include/ -I$(SS_TOPSRCDIR)/src/kvirc/include/ \
-$(SS_INCDIRS) $(SS_CPPFLAGS) -DGLOBAL_KVIRC_DIR=\"$(globalkvircdir)\"
-
-pluglib_LTLIBRARIES      = libkvilogview.la
-
-libkvilogview_la_LDFLAGS = -module -avoid-version $(SS_LDFLAGS) $(SS_LIBDIRS)
-
-libkvilogview_la_SOURCES = libkvilogview.cpp logviewwidget.cpp logviewmdiwindow.cpp
-libkvilogview_la_LIBADD  = $(SS_LIBLINK) ../../kvirc/build/libkvirc.la
-
-noinst_HEADERS= logviewwidget.h logviewmdiwindow.h
-
-%.moc: %.h
-	$(SS_QT_MOC) $< -o $@
-
-logviewwidget.cpp: logviewwidget.moc
-logviewmdiwindow.cpp: logviewmdiwindow.moc
diff --git a/src/modules/logview/caps/Makefile.am b/src/modules/logview/caps/Makefile.am
deleted file mode 100644
index 13c80350..00000000
--- a/src/modules/logview/caps/Makefile.am
+++ /dev/null
@@ -1,9 +0,0 @@
-###############################################################################
-# KVirc IRC client Makefile - 10.03.2000 Szymon Stefanek <stefanek@tin.it>
-###############################################################################
-
-tmpdir = $(pluglibdir)/caps/tool/
-
-tmp_DATA= logview
-
-EXTRA_DIST = $(tmp_DATA)
diff --git a/src/modules/mask/Makefile.am b/src/modules/mask/Makefile.am
deleted file mode 100644
index 1cd18470..00000000
--- a/src/modules/mask/Makefile.am
+++ /dev/null
@@ -1,18 +0,0 @@
-###############################################################################
-# KVirc IRC client Makefile - 10.03.2000 Szymon Stefanek <stefanek@tin.it>
-###############################################################################
-
-AM_CPPFLAGS = -I$(SS_TOPSRCDIR)/src/kvilib/include/ -I$(SS_TOPSRCDIR)/src/kvirc/include/ \
-$(SS_INCDIRS) $(SS_CPPFLAGS) -DGLOBAL_KVIRC_DIR=\"$(globalkvircdir)\"
-
-pluglib_LTLIBRARIES      = libkvimask.la
-
-libkvimask_la_LDFLAGS = -module -avoid-version $(SS_LDFLAGS) $(SS_LIBDIRS)
-
-libkvimask_la_SOURCES = libkvimask.cpp
-libkvimask_la_LIBADD  = $(SS_LIBLINK) ../../kvirc/build/libkvirc.la
-
-# noinst_HEADERS=
-
-%.moc: %.h
-	$(SS_QT_MOC) $< -o $@
diff --git a/src/modules/math/Makefile.am b/src/modules/math/Makefile.am
deleted file mode 100644
index bfaaaafa..00000000
--- a/src/modules/math/Makefile.am
+++ /dev/null
@@ -1,18 +0,0 @@
-###############################################################################
-# KVirc IRC client Makemath - 10.03.2000 Szymon Stefanek <stefanek@tin.it>
-###############################################################################
-
-AM_CPPFLAGS = -I$(SS_TOPSRCDIR)/src/kvilib/include/ -I$(SS_TOPSRCDIR)/src/kvirc/include/ \
-$(SS_INCDIRS) $(SS_CPPFLAGS) -DGLOBAL_KVIRC_DIR=\"$(globalkvircdir)\"
-
-pluglib_LTLIBRARIES      = libkvimath.la
-
-libkvimath_la_LDFLAGS = -module -avoid-version $(SS_LDFLAGS) $(SS_LIBDIRS)
-
-libkvimath_la_SOURCES = libkvimath.cpp
-libkvimath_la_LIBADD  = $(SS_LIBLINK) ../../kvirc/build/libkvirc.la
-
-# noinst_HEADERS=
-
-%.moc: %.h
-	$(SS_QT_MOC) $< -o $@
diff --git a/src/modules/mediaplayer/Makefile.am b/src/modules/mediaplayer/Makefile.am
deleted file mode 100644
index 97e03ca3..00000000
--- a/src/modules/mediaplayer/Makefile.am
+++ /dev/null
@@ -1,36 +0,0 @@
-###############################################################################
-# KVirc IRC client Makefile - 10.03.2000 Szymon Stefanek <stefanek@tin.it>
-###############################################################################
-
-AM_CPPFLAGS = -I$(SS_TOPSRCDIR)/src/kvilib/include/ -I$(SS_TOPSRCDIR)/src/kvirc/include/ \
-$(SS_INCDIRS) $(SS_CPPFLAGS) -DGLOBAL_KVIRC_DIR=\"$(globalkvircdir)\"
-
-pluglib_LTLIBRARIES      = libkvimediaplayer.la
-
-#%.moc: %.h
-#	$(SS_QT_MOC) $< -o $@
-
-libkvimediaplayer_la_LDFLAGS = -avoid-version -module $(SS_LDFLAGS) $(SS_LIBDIRS)
-
-libkvimediaplayer_la_SOURCES = libkvimediaplayer.cpp \
-		mp_amarokinterface.cpp \
-		mp_amipinterface.cpp \
-		mp_dcopinterface.cpp \
-		mp_interface.cpp \
-		mp_jukinterface.cpp \
-		mp_mp3.cpp \
-		mp_winampinterface.cpp \
-		mp_xmmsinterface.cpp
-		
-libkvimediaplayer_la_LIBADD = $(SS_LIBLINK) ../../kvirc/build/libkvirc.la
-
-noinst_HEADERS = mp_amarokinterface.h \
-		mp_amipinterface.h \
-		mp_dcopinterface.h \
-		mp_interface.h \
-		mp_jukinterface.h \
-		mp_mp3.h \
-		mp_winampinterface.h \
-		mp_xmmsinterface.h
-
-
diff --git a/src/modules/mircimport/Makefile.am b/src/modules/mircimport/Makefile.am
deleted file mode 100644
index 5bd59ac1..00000000
--- a/src/modules/mircimport/Makefile.am
+++ /dev/null
@@ -1,22 +0,0 @@
-###############################################################################
-# KVirc IRC client Makefile- 10.03.2000 Szymon Stefanek <stefanek@tin.it>
-###############################################################################
-
-AM_CPPFLAGS = -I$(SS_TOPSRCDIR)/src/kvilib/include/ -I$(SS_TOPSRCDIR)/src/kvirc/include/ \
-$(SS_INCDIRS) $(SS_CPPFLAGS) -DGLOBAL_KVIRC_DIR=\"$(globalkvircdir)\"
-
-SUBDIRS = caps pics
-
-pluglib_LTLIBRARIES      = libkvimircimport.la
-
-libkvimircimport_la_LDFLAGS = -module -avoid-version $(SS_LDFLAGS) $(SS_LIBDIRS)
-
-libkvimircimport_la_SOURCES = libkvimircimport.cpp
-libkvimircimport_la_LIBADD  = $(SS_LIBLINK) ../../kvirc/build/libkvirc.la
-
-noinst_HEADERS= libkvimircimport.h
-
-%.moc: %.h
-	$(SS_QT_MOC) $< -o $@
-
-libkvimircimport.cpp: libkvimircimport.moc
diff --git a/src/modules/mircimport/caps/Makefile.am b/src/modules/mircimport/caps/Makefile.am
deleted file mode 100644
index 151a1e0a..00000000
--- a/src/modules/mircimport/caps/Makefile.am
+++ /dev/null
@@ -1,9 +0,0 @@
-###############################################################################
-# KVirc IRC client Makefile - 10.03.2000 Szymon Stefanek <stefanek@tin.it>
-###############################################################################
-
-tmpdir = $(pluglibdir)/caps/serverimport/
-
-tmp_DATA= mircimport
-
-EXTRA_DIST = $(tmp_DATA)
diff --git a/src/modules/mircimport/pics/Makefile.am b/src/modules/mircimport/pics/Makefile.am
deleted file mode 100644
index 839e9668..00000000
--- a/src/modules/mircimport/pics/Makefile.am
+++ /dev/null
@@ -1,9 +0,0 @@
-###############################################################################
-# KVirc IRC client Makefile - 10.03.2000 Szymon Stefanek <stefanek@tin.it>
-###############################################################################
-
-tmpdir = $(picsdir)
-
-tmp_DATA= kvi_mircimport.png
-
-EXTRA_DIST = $(tmp_DATA)
diff --git a/src/modules/my/Makefile.am b/src/modules/my/Makefile.am
deleted file mode 100644
index c3d31944..00000000
--- a/src/modules/my/Makefile.am
+++ /dev/null
@@ -1,20 +0,0 @@
-###############################################################################
-# KVirc IRC client Makefile - 10.03.2000 Szymon Stefanek <stefanek@tin.it>
-###############################################################################
-
-AM_CPPFLAGS = -I$(SS_TOPSRCDIR)/src/kvilib/include/ -I$(SS_TOPSRCDIR)/src/kvirc/include/ \
-$(SS_INCDIRS) $(SS_CPPFLAGS) -DGLOBAL_KVIRC_DIR=\"$(globalkvircdir)\"
-
-pluglib_LTLIBRARIES      = libkvimy.la
-
-libkvimy_la_LDFLAGS = -module -avoid-version $(SS_LDFLAGS) $(SS_LIBDIRS)
-
-libkvimy_la_SOURCES = libkvimy.cpp idle_x11.cpp idle_mac.cpp idle.cpp
-libkvimy_la_LIBADD  = $(SS_LIBLINK) ../../kvirc/build/libkvirc.la
-
-noinst_HEADERS= idle.h
-
-%.moc: %.h
-	$(SS_QT_MOC) $< -o $@
-	
-idle.cpp: idle.moc
diff --git a/src/modules/notifier/Makefile.am b/src/modules/notifier/Makefile.am
deleted file mode 100644
index 30a5c731..00000000
--- a/src/modules/notifier/Makefile.am
+++ /dev/null
@@ -1,44 +0,0 @@
-###############################################################################
-# KVirc IRC client Makefile - 10.03.2000 Szymon Stefanek <stefanek@tin.it>
-###############################################################################
-
-SUBDIRS = pics
-
-AM_CPPFLAGS = -I$(SS_TOPSRCDIR)/src/kvilib/include/ -I$(SS_TOPSRCDIR)/src/kvirc/include/ \
-$(SS_INCDIRS) $(SS_CPPFLAGS) -DGLOBAL_KVIRC_DIR=\"$(globalkvircdir)\"
-
-pluglib_LTLIBRARIES      = libkvinotifier.la
-
-libkvinotifier_la_LDFLAGS = -module -avoid-version $(SS_LDFLAGS) $(SS_LIBDIRS)
-
-libkvinotifier_la_SOURCES = libkvinotifier.cpp \
-							notifierwindow.cpp \
-							notifiermessage.cpp \
-							notifierwindowtabs.cpp \
-							notifierwindowbody.cpp \
-							notifierwindowborder.cpp \
-							notifierwindowprogressbar.cpp
-							
-libkvinotifier_la_LIBADD  = $(SS_LIBLINK) ../../kvirc/build/libkvirc.la
-
-noinst_HEADERS= \
-			notifiersettings.h \
-			notifierwindow.h \
-			notifiermessage.h \
-			notifierwindowtabs.h \
-			notifierwindowbody.h \
-			notifierwindowborder.h \
-			notifierwindowprogressbar.h
-
-confdir = $(configmodulesdir)
-
-conf_DATA = libkvinotifier.kvc
-
-EXTRA_DIST = $(conf_DATA)
-
-%.moc: %.h
-	$(SS_QT_MOC) $< -o $@
-
-notifierwindow.cpp: notifierwindow.moc
-notifierwindowtabs.cpp: notifierwindowtabs.moc
-
diff --git a/src/modules/notifier/pics/Makefile.am b/src/modules/notifier/pics/Makefile.am
deleted file mode 100755
index 26f8bf9b..00000000
--- a/src/modules/notifier/pics/Makefile.am
+++ /dev/null
@@ -1,9 +0,0 @@
-###############################################################################
-# KVirc IRC client Makefile - 10.03.2000 Szymon Stefanek <stefanek@tin.it>
-###############################################################################
-
-tmpdir = $(picsdir)
-
-tmp_DATA= *.png
-
-EXTRA_DIST = $(tmp_DATA)
diff --git a/src/modules/objects/Makefile.am b/src/modules/objects/Makefile.am
deleted file mode 100644
index 5c59b485..00000000
--- a/src/modules/objects/Makefile.am
+++ /dev/null
@@ -1,142 +0,0 @@
-###############################################################################
-# KVirc IRC client Makefile - 10.03.2000 Szymon Stefanek <stefanek@tin.it>
-###############################################################################
-
-AM_CPPFLAGS = -I$(SS_TOPSRCDIR)/src/kvilib/include/ -I$(SS_TOPSRCDIR)/src/kvirc/include/ \
-$(SS_INCDIRS) $(SS_CPPFLAGS) -DGLOBAL_KVIRC_DIR=\"$(globalkvircdir)\"
-
-pluglib_LTLIBRARIES      = libkviobjects.la
-
-libkviobjects_la_LDFLAGS = -module -avoid-version $(SS_LDFLAGS) $(SS_LIBDIRS)
-
-libkviobjects_la_SOURCES =  libkviobjects.cpp \
-		class_button.cpp \
-		class_buttongroup.cpp \
-		class_checkbox.cpp \
-		class_combobox.cpp \
-		class_dialog.cpp \
-		class_dockwindow.cpp \
-		class_file.cpp \
-		class_groupbox.cpp \
-		class_label.cpp \
-		class_layout.cpp \
-		class_lcd.cpp \
-		class_lineedit.cpp \
-		class_list.cpp \
-		class_listbox.cpp \
-		class_listview.cpp \
-		class_listviewitem.cpp \
-		class_mainwindow.cpp \
-		class_menubar.cpp \
-		class_multilineedit.cpp \
-		class_popupmenu.cpp \
-		class_process.cpp \
-		class_progressbar.cpp \
-		class_radiobutton.cpp \
-		class_slider.cpp \
-		class_socket.cpp \
-		class_spinbox.cpp \
-		class_tabwidget.cpp \
-		class_toolbar.cpp \
-		class_toolbutton.cpp \
-		class_painter.cpp \
-		class_pixmap.cpp \
-		class_tbrowser.cpp \
-		class_widget.cpp \
-		class_window.cpp \
-		class_wizard.cpp \
-		class_workspace.cpp \
-		class_wrapper.cpp \
-		class_urllabel.cpp \
-		class_xmlreader.cpp \
-		class_vbox.cpp \
-		class_hbox.cpp
-
-libkviobjects_la_LIBADD  = $(SS_LIBLINK) ../../kvirc/build/libkvirc.la
-
-noinst_HEADERS=	class_button.h \
-		class_buttongroup.h \
-		class_checkbox.h \
-		class_combobox.h \
-		class_dialog.h \
-		class_dockwindow.h \
-		class_file.h \
-		class_groupbox.h \
-		class_label.h \
-		class_layout.h \
-		class_lcd.h \
-		class_lineedit.h \
-		class_list.h \
-		class_listbox.h \
-		class_listview.h \
-		class_listviewitem.h \
-		class_mainwindow.h \
-		class_menubar.h \
-		class_multilineedit.h \
-		class_painter.h \
-		class_pixmap.h \
-		class_popupmenu.h \
-		class_process.h \
-		class_progressbar.h \
-		class_radiobutton.h \
-		class_slider.h \
-		class_socket.h \
-		class_spinbox.h \
-		class_tabwidget.h \
-		class_tbrowser.h \
-		class_toolbar.h \
-		class_toolbutton.h \
-		class_urllabel.h \
-		class_widget.h \
-		class_window.h \
-		class_wizard.h \
-		class_workspace.h \
-		class_wrapper.h \
-		class_xmlreader.h \
-		class_vbox.h \
-		class_hbox.h \
-		object_macros.h
-
-%.moc: %.h
-	$(SS_QT_MOC) $< -o $@
-
-class_checkbox.cpp: class_checkbox.moc
-class_combobox.cpp: class_combobox.moc
-class_button.cpp: class_button.moc
-class_dialog.cpp: class_dialog.moc
-class_dockwindow.cpp: class_dockwindow.moc
-class_file.cpp: class_file.moc
-class_groupbox.cpp: class_groupbox.moc
-class_label.cpp: class_label.moc
-class_layout.cpp: class_layout.moc
-class_lcd.cpp: class_lcd.moc
-class_lineedit.cpp: class_lineedit.moc
-class_list.cpp: class_list.moc
-class_listbox.cpp: class_listbox.moc
-class_listview.cpp: class_listview.moc
-class_listviewitem.cpp: class_listviewitem.moc
-class_listbox.cpp: class_listbox.moc
-class_mainwindow.cpp: class_mainwindow.moc
-class_menubar.cpp: class_menubar.moc
-class_multilineedit.cpp: class_multilineedit.moc
-class_painter.cpp: class_painter.moc
-class_pixmap.cpp: class_pixmap.moc
-class_popupmenu.cpp: class_popupmenu.moc
-class_process.cpp: class_process.moc
-class_progressbar.cpp: class_progressbar.moc
-class_radiobutton.cpp: class_radiobutton.moc
-class_slider.cpp: class_slider.moc
-class_socket.cpp: class_socket.moc
-class_spinbox.cpp: class_spinbox.moc
-class_tabwidget.cpp: class_tabwidget.moc
-class_tbrowser.cpp: class_tbrowser.moc
-class_toolbar.cpp: class_toolbar.moc
-class_toolbutton.cpp: class_toolbutton.moc
-class_urllabel.cpp: class_urllabel.moc
-class_widget.cpp: class_widget.moc
-class_window.cpp: class_window.moc
-class_wizard.cpp: class_wizard.moc
-class_workspace.cpp: class_workspace.moc
-class_wrapper.cpp: class_wrapper.moc
-class_xmlreader.cpp: class_xmlreader.moc
-
diff --git a/src/modules/options/Makefile.am b/src/modules/options/Makefile.am
deleted file mode 100644
index 092b198c..00000000
--- a/src/modules/options/Makefile.am
+++ /dev/null
@@ -1,159 +0,0 @@
-###############################################################################
-# KVirc IRC client Makefile - 10.03.2000 Szymon Stefanek <stefanek@tin.it>
-###############################################################################
-
-AM_CPPFLAGS = -I$(SS_TOPSRCDIR)/src/kvilib/include/ -I$(SS_TOPSRCDIR)/src/kvirc/include/ \
-$(SS_INCDIRS) $(SS_CPPFLAGS) -DGLOBAL_KVIRC_DIR=\"$(globalkvircdir)\"
-
-EXTRA_DIST = mkcreateinstanceproc.sh
-
-pluglib_LTLIBRARIES      = libkvioptions.la
-
-libkvioptions_la_LDFLAGS = -module -avoid-version $(SS_LDFLAGS) $(SS_LIBDIRS)
-
-libkvioptions_la_SOURCES = libkvioptions.cpp \
-				container.cpp \
-				dialog.cpp \
-				instances.cpp \
-				optw_antispam.cpp \
-				optw_avatar.cpp \
-				optw_connection.cpp \
-				optw_ctcp.cpp \
-				optw_ctcpfloodprotection.cpp \
-				optw_dcc.cpp \
-				optw_generalopt.cpp \
-				optw_highlighting.cpp \
-				optw_ident.cpp \
-				optw_identity.cpp \
-				optw_ignore.cpp \
-				optw_input.cpp \
-				optw_interfacefeatures.cpp \
-				optw_interfacelookglobal.cpp \
-				optw_irc.cpp \
-				optw_ircoutput.cpp \
-				optw_ircview.cpp \
-				optw_lag.cpp \
-				optw_logging.cpp \
-				optw_mediatypes.cpp \
-				optw_messages.cpp \
-				optw_nickserv.cpp \
-				optw_notify.cpp \
-				optw_protection.cpp \
-				optw_proxy.cpp \
-				optw_query.cpp \
-				optw_servers.cpp \
-				optw_sound.cpp \
-				optw_ssl.cpp \
-				optw_taskbar.cpp \
-				optw_textencoding.cpp \
-				optw_texticons.cpp \
-				optw_theme.cpp \
-				optw_tools.cpp \
-				optw_transport.cpp \
-				optw_topiclabel.cpp \
-				optw_away.cpp \
-				optw_uparser.cpp \
-				optw_urlhandlers.cpp \
-				optw_userlist.cpp \
-				optw_tray.cpp
-
-libkvioptions_la_LIBADD  = $(SS_LIBLINK) ../../kvirc/build/libkvirc.la
-
-noinst_HEADERS= container.h \
-				dialog.h \
-				instances.h \
-				optw_antispam.h \
-				optw_avatar.h \
-				optw_connection.h \
-				optw_ctcp.h \
-				optw_ctcpfloodprotection.h \
-				optw_dcc.h \
-				optw_generalopt.h \
-				optw_highlighting.h \
-				optw_ident.h \
-				optw_identity.h \
-				optw_ignore.h \
-				optw_input.h \
-				optw_interfacefeatures.h \
-				optw_interfacelookglobal.h \
-				optw_irc.h \
-				optw_ircoutput.h \
-				optw_ircview.h \
-				optw_lag.h \
-				optw_logging.h \
-				optw_mediatypes.h \
-				optw_messages.h \
-				optw_nickserv.h \
-				optw_notify.h \
-				optw_protection.h \
-				optw_proxy.h \
-				optw_query.h \
-				optw_servers.h \
-				optw_sound.h \
-				optw_ssl.h \
-				optw_taskbar.h \
-				optw_textencoding.h \
-				optw_texticons.h \
-				optw_theme.h \
-				optw_tools.h \
-				optw_transport.h \
-				optw_topiclabel.h \
-				optw_away.h \
-				optw_uparser.h \
-				optw_urlhandlers.h \
-				optw_userlist.h \
-				optw_tray.h
-
-instances.h: optw_*.h mkcreateinstanceproc.sh
-	./mkcreateinstanceproc.sh
-
-%.moc: %.h
-	$(SS_QT_MOC) $< -o $@
-
-container.cpp libkvioptions.cpp dialogs.h: instances.h
-
-container.cpp: container.moc
-dialog.cpp: dialog.moc
-instances.cpp: instances.moc
-optw_antispam.cpp: optw_antispam.moc
-optw_avatar.cpp: optw_avatar.moc
-optw_away.cpp: optw_away.moc
-optw_connection.cpp: optw_connection.moc
-optw_ctcp.cpp: optw_ctcp.moc
-optw_ctcpfloodprotection.cpp: optw_ctcpfloodprotection.moc
-optw_dcc.cpp: optw_dcc.moc
-optw_generalopt.cpp: optw_generalopt.moc
-optw_highlighting.cpp: optw_highlighting.moc
-optw_ident.cpp: optw_ident.moc
-optw_identity.cpp: optw_identity.moc
-optw_ignore.cpp: optw_ignore.moc
-optw_input.cpp: optw_input.moc
-optw_interfacefeatures.cpp: optw_interfacefeatures.moc
-optw_interfacelookglobal.cpp: optw_interfacelookglobal.moc
-optw_irc.cpp: optw_irc.moc
-optw_ircoutput.cpp: optw_ircoutput.moc
-optw_ircview.cpp: optw_ircview.moc
-optw_lag.cpp: optw_lag.moc
-optw_logging.cpp: optw_logging.moc
-optw_look.cpp: optw_look.moc
-optw_mediatypes.cpp: optw_mediatypes.moc
-optw_messages.cpp: optw_messages.moc
-optw_nickserv.cpp: optw_nickserv.moc
-optw_notify.cpp: optw_notify.moc
-optw_protection.cpp: optw_protection.moc
-optw_proxy.cpp: optw_proxy.moc
-optw_query.cpp: optw_query.moc
-optw_servers.cpp: optw_servers.moc
-optw_sound.cpp: optw_sound.moc
-optw_ssl.cpp: optw_ssl.moc
-optw_taskbar.cpp: optw_taskbar.moc
-optw_textencoding.cpp: optw_textencoding.moc
-optw_texticons.cpp: optw_texticons.moc
-optw_transport.cpp: optw_transport.moc
-optw_theme.cpp: optw_theme.moc
-optw_topiclabel.cpp: optw_topiclabel.moc
-optw_tools.cpp: optw_tools.moc
-optw_uparser.cpp: optw_uparser.moc
-optw_urlhandlers.cpp: optw_urlhandlers.moc
-optw_userlist.cpp: optw_userlist.moc
-optw_tray.cpp : optw_tray.moc
diff --git a/src/modules/options/mkcreateinstanceproc.sh b/src/modules/options/mkcreateinstanceproc.sh
deleted file mode 100755
index ed1d8cb7..00000000
--- a/src/modules/options/mkcreateinstanceproc.sh
+++ /dev/null
@@ -1,441 +0,0 @@
-#!/bin/sh
-
-#####################################################################################################
-#
-# Generator for instances.h and instances.cpp
-#
-# This file is part of the KVirc irc client distribution
-# Copyright (C) 2001-2006 Szymon Stefanek (pragma at kvirc dot net)
-#
-#####################################################################################################
-
-
-echo "" > instances.h
-
-######################################################################################################
-cat >> instances.h <<EOF
-
-#ifndef __OPTIONS_INSTANCES_H__
-#define __OPTIONS_INSTANCES_H__
-
-//
-//   File : instances.h
-//
-//   This file is part of the KVirc irc client distribution
-//   Copyright (C) 2001-2006 Szymon Stefanek (pragma at kvirc dot net)
-//
-//   This program is FREE software. You can redistribute it and/or
-//   modify it under the terms of the GNU General Public License
-//   as published by the Free Software Foundation; either version 2
-//   of the License, or (at your opinion) any later version.
-//
-//   This program is distributed in the HOPE that it will be USEFUL,
-//   but WITHOUT ANY WARRANTY; without even the implied warranty of
-//   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-//   See the GNU General Public License for more details.
-//
-//   You should have received a copy of the GNU General Public License
-//   along with this program. If not, write to the Free Software Foundation,
-//   Inc. ,51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-//
-
-//
-// Instance creation routines for the KVIrc options module
-// DO NOT EDIT THIS FILE!! ALL CHANGES WILL BE LOST!!
-// This file is automatically generated by mkcreateinstanceproc.sh
-// so any change should go in that script
-//
-
-#include "kvi_optionswidget.h"
-#include "kvi_module.h"
-#include "kvi_pointerlist.h"
-#include "kvi_qstring.h"
-
-typedef struct _KviOptionsWidgetInstanceEntry KviOptionsWidgetInstanceEntry;
-
-
-typedef struct _KviOptionsWidgetInstanceEntry
-{
-	KviOptionsWidget                          * (*createProc)(TQWidget *);
-	KviOptionsWidget                          * pWidget;   // singleton
-	int                                         iIcon;
-	TQString                                     szName;
-	TQString                                     szNameNoLocale;
-	const char                                * szClassName;
-	int                                         iPriority;
-	TQString                                     szKeywords;
-	TQString                                     szKeywordsNoLocale;
-	TQString                                     szGroup;
-	bool                                        bIsContainer;
-	bool                                        bIsNotContained;
-	KviPointerList<KviOptionsWidgetInstanceEntry> * pChildList;
-	bool                                        bDoInsert; // a helper for KviOptionsDialog::fillListView()
-} KviOptionsWidgetInstanceEntry;
-
-
-class KviOptionsInstanceManager : public TQObject
-{
-	TQ_OBJECT
-public:
-	KviOptionsInstanceManager();
-	virtual ~KviOptionsInstanceManager();
-protected:
-	KviPointerList<KviOptionsWidgetInstanceEntry> *  m_pInstanceTree;
-public:
-	KviPointerList<KviOptionsWidgetInstanceEntry> * instanceEntryTree(){ return m_pInstanceTree; };
-	KviOptionsWidget * getInstance(KviOptionsWidgetInstanceEntry * e,TQWidget * par);
-	KviOptionsWidgetInstanceEntry * findInstanceEntry(const char * clName);
-	void cleanup(KviModule * m);
-protected:
-	KviOptionsWidgetInstanceEntry * findInstanceEntry(const char * clName,KviPointerList<KviOptionsWidgetInstanceEntry> * l);
-	KviOptionsWidgetInstanceEntry * findInstanceEntry(const TQObject * ptr,KviPointerList<KviOptionsWidgetInstanceEntry> * l);
-	void deleteInstanceTree(KviPointerList<KviOptionsWidgetInstanceEntry> * l);
-protected slots:
-	void widgetDestroyed();
-};
-
-#endif //__OPTIONS_INSTANCES_H__
-
-EOF
-######################################################################################################
-
-CLASS_LIST=`grep -h "[ ]*\:[ ]*public[ ]*KviOptionsWidget" optw_*.h | sed -e 's/[ ]*\:[ ]*public[ ]*KviOptionsWidget'//g | sed -e 's/[ 	]*class[ ]*//g'`
-
-
-TARGET="instances.cpp"
-
-echo "" > $TARGET
-
-######################################################################################################
-cat >> instances.cpp <<EOF
-
-//
-//   File : instances.cpp
-//
-//   This file is part of the KVirc irc client distribution
-//   Copyright (C) 2001 Szymon Stefanek (stefanek@tin.it)
-//
-//   This program is FREE software. You can redistribute it and/or
-//   modify it under the terms of the GNU General Public License
-//   as published by the Free Software Foundation; either version 2
-//   of the License, or (at your opinion) any later version.
-//
-//   This program is distributed in the HOPE that it will be USEFUL,
-//   but WITHOUT ANY WARRANTY; without even the implied warranty of
-//   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-//   See the GNU General Public License for more details.
-//
-//   You should have received a copy of the GNU General Public License
-//   along with this program. If not, write to the Free Software Foundation,
-//   Inc. ,51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-//
-
-//
-// Instance creation routines for the KVIrc options module
-// DO NOT EDIT THIS FILE!! ALL CHANGES WILL BE LOST!!
-// This file is automatically generated by mkcreateinstanceproc.sh
-// so any change should go in that script
-//
-
-EOF
-######################################################################################################
-
-
-for afile in optw_*.h; do
-	echo "#include \"$afile\"" >> $TARGET
-done
-
-######################################################################################################
-cat >> instances.cpp <<EOF
-
-#include "kvi_locale.h"
-#include "kvi_iconmanager.h"
-#include "instances.h"
-
-int g_iOptionWidgetInstances = 0;
-
-EOF
-######################################################################################################
-
-
-for aclass in $CLASS_LIST; do
-	echo -n "KviOptionsWidget * class$aclass" >> $TARGET
-		echo "_createInstanceProc(TQWidget * parent)" >> $TARGET
-	echo "{" >> $TARGET
-	echo "	return new $aclass(parent);" >> $TARGET
-	echo "}" >> $TARGET
-	echo "" >> $TARGET
-done
-
-######################################################################################################
-cat >> instances.cpp <<EOF
-
-
-EOF
-######################################################################################################
-
-for aclass in $CLASS_LIST; do
-	echo "static const char * g_szName_$aclass = KVI_OPTIONS_WIDGET_NAME_$aclass;" >> $TARGET
-	echo "static const char * g_szClassName_$aclass = \"$aclass\";" >> $TARGET
-done
-
-######################################################################################################
-cat >> instances.cpp <<EOF
-
-KviOptionsInstanceManager::KviOptionsInstanceManager()
-: TQObject(0)
-{
-
-	//tqDebug("Instantiating");
-	// Create the global widget dict : case sensitive , do not copy keys
-	m_pInstanceTree = new KviPointerList<KviOptionsWidgetInstanceEntry>;
-	m_pInstanceTree->setAutoDelete(true);
-
-EOF
-######################################################################################################
-
-CLASSDIR=".classtmp"
-
-mkdir -p $CLASSDIR
-
-rm -f $CLASSDIR/*
-
-for aclass in $CLASS_LIST; do
-	PARENT=`grep -h "KVI_OPTIONS_WIDGET_PARENT_$aclass" optw_*.h | sed -e 's/#define//g' | sed -e s/KVI_OPTIONS_WIDGET_PARENT_$aclass//g | sed -e 's/[ ]*//g'`
-	if [ -z "$PARENT" ]; then
-		PARENT="NOPARENT"
-	fi
-	echo $aclass >> $CLASSDIR/$PARENT
-done
-
-SPACES=""
-
-printclass()
-{
-	echo "" >> $TARGET
-	found=
-	for anum in $DECLARED; do
-		if [ "$anum" = "$1" ]; then
-			found="yes"
-			break
-		fi
-	done
-	if [ -z "$found" ]; then
-		echo "$3	KviOptionsWidgetInstanceEntry * e$1;" >> $TARGET
-		DECLARED="$DECLARED $1"
-	fi
-	echo "$3	e$1 = new KviOptionsWidgetInstanceEntry;"  >> $TARGET
-	echo -n "$3	e$1->createProc = &class$2"  >> $TARGET
-		echo "_createInstanceProc;"  >> $TARGET
-	echo "$3	e$1->pWidget = 0;" >> $TARGET
-	echo "$3	e$1->szClassName = g_szClassName_$2;" >> $TARGET
-	echo "$3	e$1->iIcon = KVI_OPTIONS_WIDGET_ICON_$2;" >> $TARGET
-
-	echo "$3	#ifdef KVI_OPTIONS_WIDGET_PRIORITY_$2" >> $TARGET
-	echo "$3	e$1->iPriority = KVI_OPTIONS_WIDGET_PRIORITY_$2;" >> $TARGET
-	echo "$3	#else" >> $TARGET
-	echo "$3	e$1->iPriority = 0;" >> $TARGET
-	echo "$3	#endif" >> $TARGET
-
-	echo "$3	#ifdef KVI_OPTIONS_WIDGET_KEYWORDS_$2" >> $TARGET
-	echo "$3	e$1->szKeywordsNoLocale = KVI_OPTIONS_WIDGET_KEYWORDS_$2;" >> $TARGET
-	echo "$3	e$1->szKeywords = __tr2qs_ctx_no_xgettext(e$1->szKeywordsNoLocale,\"options\");;" >> $TARGET
-	echo "$3	#endif" >> $TARGET
-
-	echo "$3	#ifdef KVI_OPTIONS_WIDGET_GROUP_$2" >> $TARGET
-	echo "$3	e$1->szGroup = KVI_OPTIONS_WIDGET_GROUP_$2;" >> $TARGET
-	echo "$3	#else" >> $TARGET
-	echo "$3	e$1->szGroup = \"general\";" >> $TARGET
-	echo "$3	#endif" >> $TARGET
-
-	echo "$3	#ifdef KVI_OPTIONS_WIDGET_CONTAINER_$2" >> $TARGET
-	echo "$3	e$1->bIsContainer = KVI_OPTIONS_WIDGET_CONTAINER_$2;" >> $TARGET
-	echo "$3	#else" >> $TARGET
-	echo "$3	e$1->bIsContainer = false;" >> $TARGET
-	echo "$3	#endif" >> $TARGET
-
-	echo "$3	#ifdef KVI_OPTIONS_WIDGET_NOTCONTAINED_$2" >> $TARGET
-	echo "$3	e$1->bIsNotContained = KVI_OPTIONS_WIDGET_NOTCONTAINED_$2;" >> $TARGET
-	echo "$3	#else" >> $TARGET
-	echo "$3	e$1->bIsNotContained = false;" >> $TARGET
-	echo "$3	#endif" >> $TARGET
-
-	echo "$3	e$1->szNameNoLocale = g_szName_$2;" >> $TARGET
-	echo "$3	e$1->szName = __tr2qs_ctx_no_xgettext(g_szName_$2,\"options\");" >> $TARGET
-
-	if [ "$1" = "0" ]; then
-		echo "$3	m_pInstanceTree->append(e$1);" >> $TARGET
-	else
-		VAL=`expr $1 - 1`
-		echo "$3	e$VAL->pChildList->append(e$1);" >> $TARGET
-	fi
-}
-
-addchildren()
-{
-	if [ -f "$CLASSDIR/$2" ]; then
-		LEVEL=`cat $CLASSDIR/$2`
-		for achild in $LEVEL; do
-			printclass $1 $achild "$3"
-			if [ -f "$CLASSDIR/$achild" ]; then
-				echo "" >> $TARGET
-				echo "$3	e$1->pChildList = new KviPointerList<KviOptionsWidgetInstanceEntry>;" >> $TARGET
-				echo "$3	e$1->pChildList->setAutoDelete(true);" >> $TARGET
-				NEXTLEVEL=`expr $1 + 1`
-				addchildren $NEXTLEVEL $achild "$3	"
-			else
-				echo "$3	e$1->pChildList = 0;" >> $TARGET
-			fi
-		done
-	fi
-}
-
-addchildren 0 NOPARENT ""
-
-
-rm -fr $CLASSDIR
-
-######################################################################################################
-cat >> $TARGET <<EOF
-
-}
-
-void KviOptionsInstanceManager::deleteInstanceTree(KviPointerList<KviOptionsWidgetInstanceEntry> * l)
-{
-	if(l)
-	{
-		for(KviOptionsWidgetInstanceEntry * e = l->first();e;e = l->next())
-		{
-			if(e->pWidget)
-			{
-				if(e->pWidget->parent()->inherits("KviOptionsWidgetContainer"))
-				{
-					disconnect(e->pWidget,TQ_SIGNAL(destroyed()),this,TQ_SLOT(widgetDestroyed()));
-					delete e->pWidget->parent();
-					e->pWidget =  0;
-				} else {
-					tqDebug("Ops...i have deleted the options dialog ?");
-				}
-			} //else tqDebug("Clas %s has no widget",e->szName);
-			if(e->pChildList)deleteInstanceTree(e->pChildList);
-		}
-		delete l;
-	}
-}
-
-
-KviOptionsInstanceManager::~KviOptionsInstanceManager()
-{
-	if(m_pInstanceTree)tqDebug("Ops...KviOptionsInstanceManager::cleanup() not called ?");
-}
-
-void KviOptionsInstanceManager::cleanup(KviModule * m)
-{
-	deleteInstanceTree(m_pInstanceTree);
-	m_pInstanceTree = 0;
-}
-
-void KviOptionsInstanceManager::widgetDestroyed()
-{
-	KviOptionsWidgetInstanceEntry * e = findInstanceEntry(sender(),m_pInstanceTree);
-	if(e)e->pWidget = 0;
-	if(g_iOptionWidgetInstances > 0)g_iOptionWidgetInstances--;
-
-}
-
-KviOptionsWidget * KviOptionsInstanceManager::getInstance(KviOptionsWidgetInstanceEntry * e,TQWidget * par)
-{
-	if(!e)return 0;
-	if(!(e->pWidget))
-	{
-		e->pWidget = e->createProc(par);
-		g_iOptionWidgetInstances++;
-		connect(e->pWidget,TQ_SIGNAL(destroyed()),this,TQ_SLOT(widgetDestroyed()));
-	}
-	if(e->pWidget->parent() != par)
-	{
-		TQWidget * oldPar = (TQWidget *)e->pWidget->parent();
-		e->pWidget->reparent(par,TQPoint(0,0));
-		delete oldPar;
-	}
-	if(e->bIsContainer)
-	{
-		// need to create the container structure!
-		e->pWidget->createTabbedPage();
-		if(e->pChildList)
-		{
-			KviPointerList<KviOptionsWidgetInstanceEntry> tmp;
-			tmp.setAutoDelete(false);
-
-			for(KviOptionsWidgetInstanceEntry * e2 = e->pChildList->first();e2;e2 = e->pChildList->next())
-			{
-				// add only non containers and widgets not explicitly marked as noncontained
-				if((!e2->bIsContainer) && (!e2->bIsNotContained))
-				{
-					KviOptionsWidgetInstanceEntry * ee = tmp.first();
-					int idx = 0;
-					while(ee)
-					{
-						if(ee->iPriority >= e2->iPriority)break;
-						idx++;
-						ee = tmp.next();
-					}
-					tmp.insert(idx,e2);
-				}
-			}
-
-			for(KviOptionsWidgetInstanceEntry * e3 = tmp.last();e3;e3 = tmp.prev())
-			{
-				KviOptionsWidget * ow = getInstance(e3,e->pWidget->tabWidget());
-				e->pWidget->addOptionsWidget(e3->szName,*(g_pIconManager->getSmallIcon(e3->iIcon)),ow);
-			}
-		}
-	}
-	return e->pWidget;
-}
-
-KviOptionsWidgetInstanceEntry * KviOptionsInstanceManager::findInstanceEntry(const TQObject * ptr,KviPointerList<KviOptionsWidgetInstanceEntry> * l)
-{
-	if(l)
-	{
-		for(KviOptionsWidgetInstanceEntry * e = l->first();e;e = l->next())
-		{
-			if(ptr == e->pWidget)return e;
-			if(e->pChildList)
-			{
-				KviOptionsWidgetInstanceEntry * e2 = findInstanceEntry(ptr,e->pChildList);
-				if(e2)return e2;
-			}
-		}
-	}
-	return 0;
-}
-
-KviOptionsWidgetInstanceEntry * KviOptionsInstanceManager::findInstanceEntry(const char * clName,KviPointerList<KviOptionsWidgetInstanceEntry> * l)
-{
-	if(l)
-	{
-		for(KviOptionsWidgetInstanceEntry * e = l->first();e;e = l->next())
-		{
-			if(kvi_strEqualCI(e->szClassName,clName))return e;
-			if(e->pChildList)
-			{
-				KviOptionsWidgetInstanceEntry * e2 = findInstanceEntry(clName,e->pChildList);
-				if(e2)return e2;
-			}
-		}
-	}
-	return 0;
-}
-
-KviOptionsWidgetInstanceEntry * KviOptionsInstanceManager::findInstanceEntry(const char * clName)
-{
-	return findInstanceEntry(clName,m_pInstanceTree);
-}
-
-
-#include "instances.moc"
-
-EOF
-######################################################################################################
-
diff --git a/src/modules/perl/Makefile.am b/src/modules/perl/Makefile.am
deleted file mode 100644
index 7f6f2d8b..00000000
--- a/src/modules/perl/Makefile.am
+++ /dev/null
@@ -1,18 +0,0 @@
-###############################################################################
-# KVirc IRC client Makefile - 10.03.2000 Szymon Stefanek <stefanek@tin.it>
-###############################################################################
-
-AM_CPPFLAGS = -I$(SS_TOPSRCDIR)/src/kvilib/include/ -I$(SS_TOPSRCDIR)/src/kvirc/include/ \
-$(SS_INCDIRS) $(SS_CPPFLAGS) -DGLOBAL_KVIRC_DIR=\"$(globalkvircdir)\"
-
-pluglib_LTLIBRARIES      = libkviperl.la
-
-libkviperl_la_LDFLAGS = -module -avoid-version $(SS_LDFLAGS) $(SS_LIBDIRS)
-
-libkviperl_la_SOURCES = libkviperl.cpp
-libkviperl_la_LIBADD  = $(SS_LIBLINK) ../../kvirc/build/libkvirc.la
-
-# noinst_HEADERS=
-
-%.moc: %.h
-	$(SS_QT_MOC) $< -o $@
diff --git a/src/modules/perlcore/Makefile.am b/src/modules/perlcore/Makefile.am
deleted file mode 100644
index 94dd4c65..00000000
--- a/src/modules/perlcore/Makefile.am
+++ /dev/null
@@ -1,25 +0,0 @@
-###############################################################################
-# KVirc IRC client Makefile - 10.03.2000 Szymon Stefanek <stefanek@tin.it>
-###############################################################################
-
-AM_CPPFLAGS = -I$(SS_TOPSRCDIR)/src/kvilib/include/ -I$(SS_TOPSRCDIR)/src/kvirc/include/ \
-$(SS_INCDIRS) $(SS_CPPFLAGS) -DGLOBAL_KVIRC_DIR=\"$(globalkvircdir)\" $(SS_PERL_CCFLAGS)
-
-pluglib_LTLIBRARIES      = libkviperlcore.la
-
-libkviperlcore_la_LDFLAGS = -module -avoid-version $(SS_LDFLAGS) $(SS_LIBDIRS) $(SS_PERL_LDFLAGS)
-
-libkviperlcore_la_SOURCES = libkviperlcore.cpp
-libkviperlcore_la_LIBADD  = $(SS_LIBLINK) ../../kvirc/build/libkvirc.la
-
-noinst_HEADERS = perlcoreinterface.h
-
-EXTRA_DIST = KVIrc.xs ppport.h xs.inc typemap
-
-%.moc: %.h
-	$(SS_QT_MOC) $< -o $@
-
-libkviperlcore.cpp: xs.inc
-
-xs.inc:
-	xsubpp -noversioncheck -C++ -noprototypes KVIrc.xs > xs.inc
diff --git a/src/modules/popupeditor/Makefile.am b/src/modules/popupeditor/Makefile.am
deleted file mode 100644
index 91da5914..00000000
--- a/src/modules/popupeditor/Makefile.am
+++ /dev/null
@@ -1,17 +0,0 @@
-AM_CPPFLAGS = -I$(SS_TOPSRCDIR)/src/kvilib/include/ -I$(SS_TOPSRCDIR)/src/kvirc/include/ \
-$(SS_INCDIRS) $(SS_CPPFLAGS) -DGLOBAL_KVIRC_DIR=\"$(globalkvircdir)\"
-
-pluglib_LTLIBRARIES      = libkvipopupeditor.la
-
-libkvipopupeditor_la_LDFLAGS = -module -avoid-version $(SS_LDFLAGS) $(SS_LIBDIRS)
-
-libkvipopupeditor_la_SOURCES = libkvipopupeditor.cpp popupeditor.cpp
-
-libkvipopupeditor_la_LIBADD  = $(SS_LIBLINK) ../../kvirc/build/libkvirc.la
-
-noinst_HEADERS = popupeditor.h
-
-%.moc: %.h
-	$(SS_QT_MOC) $< -o $@
-
-popupeditor.cpp: popupeditor.moc
diff --git a/src/modules/raweditor/Makefile.am b/src/modules/raweditor/Makefile.am
deleted file mode 100644
index 34612156..00000000
--- a/src/modules/raweditor/Makefile.am
+++ /dev/null
@@ -1,17 +0,0 @@
-AM_CPPFLAGS = -I$(SS_TOPSRCDIR)/src/kvilib/include/ -I$(SS_TOPSRCDIR)/src/kvirc/include/ \
-$(SS_INCDIRS) $(SS_CPPFLAGS) -DGLOBAL_KVIRC_DIR=\"$(globalkvircdir)\"
-
-pluglib_LTLIBRARIES      = libkviraweditor.la
-
-libkviraweditor_la_LDFLAGS = -module -avoid-version $(SS_LDFLAGS) $(SS_LIBDIRS)
-
-libkviraweditor_la_SOURCES = libkviraweditor.cpp raweditor.cpp
-
-libkviraweditor_la_LIBADD  = $(SS_LIBLINK) ../../kvirc/build/libkvirc.la
-
-noinst_HEADERS = raweditor.h
-
-%.moc: %.h
-	$(SS_QT_MOC) $< -o $@
-
-raweditor.cpp: raweditor.moc
diff --git a/src/modules/regchan/Makefile.am b/src/modules/regchan/Makefile.am
deleted file mode 100644
index 5f7d5479..00000000
--- a/src/modules/regchan/Makefile.am
+++ /dev/null
@@ -1,18 +0,0 @@
-###############################################################################
-# KVirc IRC client Makefile - 10.03.2000 Szymon Stefanek <stefanek@tin.it>
-###############################################################################
-
-AM_CPPFLAGS = -I$(SS_TOPSRCDIR)/src/kvilib/include/ -I$(SS_TOPSRCDIR)/src/kvirc/include/ \
-$(SS_INCDIRS) $(SS_CPPFLAGS) -DGLOBAL_KVIRC_DIR=\"$(globalkvircdir)\"
-
-pluglib_LTLIBRARIES      = libkviregchan.la
-
-libkviregchan_la_LDFLAGS = -module -avoid-version $(SS_LDFLAGS) $(SS_LIBDIRS)
-
-libkviregchan_la_SOURCES = libkviregchan.cpp
-libkviregchan_la_LIBADD  = $(SS_LIBLINK) ../../kvirc/build/libkvirc.la
-
-#noinst_HEADERS= edituser.h
-
-%.moc: %.h
-	$(SS_QT_MOC) $< -o $@
diff --git a/src/modules/reguser/Makefile.am b/src/modules/reguser/Makefile.am
deleted file mode 100644
index 0dbeb866..00000000
--- a/src/modules/reguser/Makefile.am
+++ /dev/null
@@ -1,23 +0,0 @@
-###############################################################################
-# KVirc IRC client Makefile - 10.03.2000 Szymon Stefanek <stefanek@tin.it>
-###############################################################################
-
-AM_CPPFLAGS = -I$(SS_TOPSRCDIR)/src/kvilib/include/ -I$(SS_TOPSRCDIR)/src/kvirc/include/ \
-$(SS_INCDIRS) $(SS_CPPFLAGS) -DGLOBAL_KVIRC_DIR=\"$(globalkvircdir)\"
-
-pluglib_LTLIBRARIES      = libkvireguser.la
-
-libkvireguser_la_LDFLAGS = -module -avoid-version $(SS_LDFLAGS) $(SS_LIBDIRS)
-
-libkvireguser_la_SOURCES = libkvireguser.cpp edituser.cpp wizard.cpp dialog.cpp
-
-libkvireguser_la_LIBADD  = $(SS_LIBLINK) ../../kvirc/build/libkvirc.la
-
-noinst_HEADERS= edituser.h wizard.h dialog.h
-
-%.moc: %.h
-	$(SS_QT_MOC) $< -o $@
-	
-dialog.cpp: dialog.moc
-edituser.cpp: edituser.moc
-wizard.cpp: wizard.moc
diff --git a/src/modules/rijndael/Makefile.am b/src/modules/rijndael/Makefile.am
deleted file mode 100644
index 3a46a300..00000000
--- a/src/modules/rijndael/Makefile.am
+++ /dev/null
@@ -1,23 +0,0 @@
-###############################################################################
-# KVirc IRC client Makefile - 10.03.2000 Szymon Stefanek <stefanek@tin.it>
-###############################################################################
-
-SUBDIRS = caps
-
-AM_CPPFLAGS = -I$(SS_TOPSRCDIR)/src/kvilib/include/ -I$(SS_TOPSRCDIR)/src/kvirc/include/ \
-$(SS_INCDIRS) $(SS_CPPFLAGS) -DGLOBAL_KVIRC_DIR=\"$(globalkvircdir)\"
-
-pluglib_LTLIBRARIES      = libkvirijndael.la
-
-libkvirijndael_la_LDFLAGS = -module -avoid-version $(SS_LDFLAGS) $(SS_LIBDIRS)
-
-libkvirijndael_la_SOURCES = libkvirijndael.cpp rijndael.cpp ablowfish.cpp
-libkvirijndael_la_LIBADD  = $(SS_LIBLINK) ../../kvirc/build/libkvirc.la
-
-noinst_HEADERS= libkvirijndael.h rijndael.h ablowfish.h
-
-
-%.moc: %.h
-	$(SS_QT_MOC) $< -o $@
-
-libkvirijndael.cpp: libkvirijndael.moc
diff --git a/src/modules/rijndael/caps/Makefile.am b/src/modules/rijndael/caps/Makefile.am
deleted file mode 100644
index 663f77a8..00000000
--- a/src/modules/rijndael/caps/Makefile.am
+++ /dev/null
@@ -1,9 +0,0 @@
-###############################################################################
-# KVirc IRC client Makefile - 10.03.2000 Szymon Stefanek <stefanek@tin.it>
-###############################################################################
-
-tmpdir = $(pluglibdir)/caps/crypt/
-
-tmp_DATA= rijndael
-
-EXTRA_DIST = $(tmp_DATA)
diff --git a/src/modules/setup/Makefile.am b/src/modules/setup/Makefile.am
deleted file mode 100644
index 7634b3fc..00000000
--- a/src/modules/setup/Makefile.am
+++ /dev/null
@@ -1,26 +0,0 @@
-###############################################################################
-# KVirc IRC client Makefile - 10.03.2000 Szymon Stefanek <stefanek@tin.it>
-###############################################################################
-
-AM_CPPFLAGS = -I$(SS_TOPSRCDIR)/src/kvilib/include/ -I$(SS_TOPSRCDIR)/src/kvirc/include/ \
-$(SS_INCDIRS) $(SS_CPPFLAGS) -DGLOBAL_KVIRC_DIR=\"$(globalkvircdir)\"
-
-pluglib_LTLIBRARIES      = libkvisetup.la
-
-libkvisetup_la_LDFLAGS = -module -avoid-version $(SS_LDFLAGS) $(SS_LIBDIRS)
-
-libkvisetup_la_SOURCES = libkvisetup.cpp setupwizard.cpp
-libkvisetup_la_LIBADD  = $(SS_LIBLINK) ../../kvirc/build/libkvirc.la
-
-noinst_HEADERS= setupwizard.h
-
-#datadir = $(picsdir)
-
-#data_DATA = kvi_dock.png
-   
-#EXTRA_DIST = $(data_DATA)
-
-%.moc: %.h
-	$(SS_QT_MOC) $< -o $@
-
-setupwizard.cpp: setupwizard.moc
diff --git a/src/modules/sharedfile/Makefile.am b/src/modules/sharedfile/Makefile.am
deleted file mode 100644
index effd6099..00000000
--- a/src/modules/sharedfile/Makefile.am
+++ /dev/null
@@ -1,14 +0,0 @@
-###############################################################################
-# KVirc IRC client Makefile - 10.03.2000 Szymon Stefanek <stefanek@tin.it>
-###############################################################################
-
-AM_CPPFLAGS = -I$(SS_TOPSRCDIR)/src/kvilib/include/ -I$(SS_TOPSRCDIR)/src/kvirc/include/ \
-$(SS_INCDIRS) $(SS_CPPFLAGS) -DGLOBAL_KVIRC_DIR=\"$(globalkvircdir)\"
-
-pluglib_LTLIBRARIES      = libkvisharedfile.la
-
-libkvisharedfile_la_LDFLAGS = -module -avoid-version $(SS_LDFLAGS) $(SS_LIBDIRS)
-
-libkvisharedfile_la_SOURCES = libkvisharedfile.cpp
-
-libkvisharedfile_la_LIBADD  = $(SS_LIBLINK) ../../kvirc/build/libkvirc.la
diff --git a/src/modules/sharedfileswindow/Makefile.am b/src/modules/sharedfileswindow/Makefile.am
deleted file mode 100644
index 6707b018..00000000
--- a/src/modules/sharedfileswindow/Makefile.am
+++ /dev/null
@@ -1,23 +0,0 @@
-###############################################################################
-# KVirc IRC client Makefile - 10.03.2000 Szymon Stefanek <stefanek@tin.it>
-###############################################################################
-
-SUBDIRS = caps
-
-AM_CPPFLAGS = -I$(SS_TOPSRCDIR)/src/kvilib/include/ -I$(SS_TOPSRCDIR)/src/kvirc/include/ \
-$(SS_INCDIRS) $(SS_CPPFLAGS) -DGLOBAL_KVIRC_DIR=\"$(globalkvircdir)\"
-
-pluglib_LTLIBRARIES      = libkvisharedfileswindow.la
-
-libkvisharedfileswindow_la_LDFLAGS = -module -avoid-version $(SS_LDFLAGS) $(SS_LIBDIRS)
-
-libkvisharedfileswindow_la_SOURCES = libkvisharedfileswindow.cpp sharedfileswindow.cpp
-
-libkvisharedfileswindow_la_LIBADD  = $(SS_LIBLINK) ../../kvirc/build/libkvirc.la
-
-noinst_HEADERS= sharedfileswindow.h
-
-%.moc: %.h
-	$(SS_QT_MOC) $< -o $@
-
-sharedfileswindow.cpp: sharedfileswindow.moc
diff --git a/src/modules/sharedfileswindow/caps/Makefile.am b/src/modules/sharedfileswindow/caps/Makefile.am
deleted file mode 100644
index bc03ac24..00000000
--- a/src/modules/sharedfileswindow/caps/Makefile.am
+++ /dev/null
@@ -1,9 +0,0 @@
-###############################################################################
-# KVirc IRC client Makefile - 10.03.2000 Szymon Stefanek <stefanek@tin.it>
-###############################################################################
-
-tmpdir = $(pluglibdir)/caps/tool/
-
-tmp_DATA= sharedfileswindow
-
-EXTRA_DIST = $(tmp_DATA)
diff --git a/src/modules/snd/Makefile.am b/src/modules/snd/Makefile.am
deleted file mode 100644
index 10e1110a..00000000
--- a/src/modules/snd/Makefile.am
+++ /dev/null
@@ -1,22 +0,0 @@
-###############################################################################
-# KVirc IRC client Makestr - 10.03.2002 Juanjo Álvarez <juanjux@yahoo.es>
-###############################################################################
-
-AM_CPPFLAGS = -I$(SS_TOPSRCDIR)/src/kvilib/include/ -I$(SS_TOPSRCDIR)/src/kvirc/include/ \
--I/usr/include/tde/arts\
-$(SS_INCDIRS) $(SS_CPPFLAGS) -DGLOBAL_KVIRC_DIR=\"$(globalkvircdir)\"
-
-pluglib_LTLIBRARIES      = libkvisnd.la
-
-libkvisnd_la_LDFLAGS = -module -avoid-version $(SS_LDFLAGS) $(SS_LIBDIRS)
-
-libkvisnd_la_SOURCES = libkvisnd.cpp
-libkvisnd_la_LIBADD  = $(SS_LIBLINK) ../../kvirc/build/libkvirc.la
-
-
-noinst_HEADERS= libkvisnd.h
-
-%.moc: %.h
-	$(SS_QT_MOC) $< -o $@
-
-libkvisnd.cpp: libkvisnd.moc
diff --git a/src/modules/socketspy/Makefile.am b/src/modules/socketspy/Makefile.am
deleted file mode 100644
index b65e3ff7..00000000
--- a/src/modules/socketspy/Makefile.am
+++ /dev/null
@@ -1,21 +0,0 @@
-###############################################################################
-# KVirc IRC client Makefile - 10.03.2000 Szymon Stefanek <stefanek@tin.it>
-###############################################################################
-
-AM_CPPFLAGS = -I$(SS_TOPSRCDIR)/src/kvilib/include/ -I$(SS_TOPSRCDIR)/src/kvirc/include/ \
-$(SS_INCDIRS) $(SS_CPPFLAGS) -DGLOBAL_KVIRC_DIR=\"$(globalkvircdir)\"
-
-pluglib_LTLIBRARIES      = libkvisocketspy.la
-
-libkvisocketspy_la_LDFLAGS = -module -avoid-version $(SS_LDFLAGS) $(SS_LIBDIRS)
-
-libkvisocketspy_la_SOURCES = libkvisocketspy.cpp socketspywindow.cpp
-
-libkvisocketspy_la_LIBADD  = $(SS_LIBLINK) ../../kvirc/build/libkvirc.la
-
-noinst_HEADERS= socketspywindow.h
-
-%.moc: %.h
-	$(SS_QT_MOC) $< -o $@
-
-socketspywindow.cpp: socketspywindow.moc
diff --git a/src/modules/spaste/Makefile.am b/src/modules/spaste/Makefile.am
deleted file mode 100644
index 1de6b360..00000000
--- a/src/modules/spaste/Makefile.am
+++ /dev/null
@@ -1,24 +0,0 @@
-###############################################################################
-# KVirc IRC client Makestr - 10.03.2002 Juanjo Álvarez <juanjux@yahoo.es>
-###############################################################################
-
-AM_CPPFLAGS = -I$(SS_TOPSRCDIR)/src/kvilib/include/ -I$(SS_TOPSRCDIR)/src/kvirc/include/ \
--I/usr/include/tde/arts\
-$(SS_INCDIRS) $(SS_CPPFLAGS) -DGLOBAL_KVIRC_DIR=\"$(globalkvircdir)\"
-
-#ARTS_LD_FLAGS = -DPIC -fPIC 
-#ARTS_C_FLAGS = -L/usr/lib -ldl -lartsc -lpthread
-pluglib_LTLIBRARIES      = libkvispaste.la
-
-libkvispaste_la_LDFLAGS = -module -avoid-version $(SS_LDFLAGS) $(SS_LIBDIRS)
-
-libkvispaste_la_SOURCES = libkvispaste.cpp controller.cpp
-libkvispaste_la_LIBADD  = $(SS_LIBLINK) ../../kvirc/build/libkvirc.la
-
-
-noinst_HEADERS= controller.h libkvispaste.h
-
-%.moc: %.h
-	$(SS_QT_MOC) $< -o $@
-
-controller.cpp: controller.moc
diff --git a/src/modules/str/Makefile.am b/src/modules/str/Makefile.am
deleted file mode 100644
index 1557f046..00000000
--- a/src/modules/str/Makefile.am
+++ /dev/null
@@ -1,18 +0,0 @@
-###############################################################################
-# KVirc IRC client Makestr - 10.03.2000 Szymon Stefanek <stefanek@tin.it>
-###############################################################################
-
-AM_CPPFLAGS = -I$(SS_TOPSRCDIR)/src/kvilib/include/ -I$(SS_TOPSRCDIR)/src/kvirc/include/ \
-$(SS_INCDIRS) $(SS_CPPFLAGS) -DGLOBAL_KVIRC_DIR=\"$(globalkvircdir)\"
-
-pluglib_LTLIBRARIES      = libkvistr.la
-
-libkvistr_la_LDFLAGS = -module -avoid-version $(SS_LDFLAGS) $(SS_LIBDIRS)
-
-libkvistr_la_SOURCES = libkvistr.cpp
-libkvistr_la_LIBADD  = $(SS_LIBLINK) ../../kvirc/build/libkvirc.la
-
-# noinst_HEADERS=
-
-%.moc: %.h
-	$(SS_QT_MOC) $< -o $@
diff --git a/src/modules/system/Makefile.am b/src/modules/system/Makefile.am
deleted file mode 100644
index 19d452f9..00000000
--- a/src/modules/system/Makefile.am
+++ /dev/null
@@ -1,18 +0,0 @@
-###############################################################################
-# KVirc IRC client Makesystem - 10.03.2000 Szymon Stefanek <stefanek@tin.it>
-###############################################################################
-
-AM_CPPFLAGS = -I$(SS_TOPSRCDIR)/src/kvilib/include/ -I$(SS_TOPSRCDIR)/src/kvirc/include/ \
-$(SS_INCDIRS) $(SS_CPPFLAGS) -DGLOBAL_KVIRC_DIR=\"$(globalkvircdir)\"
-
-pluglib_LTLIBRARIES      = libkvisystem.la
-
-libkvisystem_la_LDFLAGS = -module -avoid-version $(SS_LDFLAGS) $(SS_LIBDIRS)
-
-libkvisystem_la_SOURCES = libkvisystem.cpp plugin.cpp
-libkvisystem_la_LIBADD  = $(SS_LIBLINK) ../../kvirc/build/libkvirc.la
-
-noinst_HEADERS = plugin.h
-
-%.moc: %.h
-	$(SS_QT_MOC) $< -o $@
diff --git a/src/modules/term/Makefile.am b/src/modules/term/Makefile.am
deleted file mode 100644
index f7a7e279..00000000
--- a/src/modules/term/Makefile.am
+++ /dev/null
@@ -1,21 +0,0 @@
-###############################################################################
-# KVirc IRC client Makefile - 10.03.2000 Szymon Stefanek <stefanek@tin.it>
-###############################################################################
-
-AM_CPPFLAGS = -I$(SS_TOPSRCDIR)/src/kvilib/include/ -I$(SS_TOPSRCDIR)/src/kvirc/include/ \
-$(SS_INCDIRS) $(SS_CPPFLAGS) -DGLOBAL_KVIRC_DIR=\"$(globalkvircdir)\"
-
-pluglib_LTLIBRARIES      = libkviterm.la
-
-libkviterm_la_LDFLAGS = -module -avoid-version $(SS_LDFLAGS) $(SS_LIBDIRS)
-
-libkviterm_la_SOURCES = libkviterm.cpp termwidget.cpp termwindow.cpp
-libkviterm_la_LIBADD  = $(SS_LIBLINK) ../../kvirc/build/libkvirc.la
-
-noinst_HEADERS= termwidget.h termwindow.h
-
-%.moc: %.h
-	$(SS_QT_MOC) $< -o $@
-
-termwidget.cpp: termwidget.moc
-termwindow.cpp: termwindow.moc
diff --git a/src/modules/texticons/Makefile.am b/src/modules/texticons/Makefile.am
deleted file mode 100644
index 447d85dd..00000000
--- a/src/modules/texticons/Makefile.am
+++ /dev/null
@@ -1,18 +0,0 @@
-###############################################################################
-# KVirc IRC client Makemath - 10.03.2000 Szymon Stefanek <stefanek@tin.it>
-###############################################################################
-
-AM_CPPFLAGS = -I$(SS_TOPSRCDIR)/src/kvilib/include/ -I$(SS_TOPSRCDIR)/src/kvirc/include/ \
-$(SS_INCDIRS) $(SS_CPPFLAGS) -DGLOBAL_KVIRC_DIR=\"$(globalkvircdir)\"
-
-pluglib_LTLIBRARIES      = libkvitexticons.la
-
-libkvitexticons_la_LDFLAGS = -module -avoid-version $(SS_LDFLAGS) $(SS_LIBDIRS)
-
-libkvitexticons_la_SOURCES = libkvitexticons.cpp
-libkvitexticons_la_LIBADD  = $(SS_LIBLINK) ../../kvirc/build/libkvirc.la
-
-# noinst_HEADERS=
-
-%.moc: %.h
-	$(SS_QT_MOC) $< -o $@
diff --git a/src/modules/theme/Makefile.am b/src/modules/theme/Makefile.am
deleted file mode 100644
index 1ba74a09..00000000
--- a/src/modules/theme/Makefile.am
+++ /dev/null
@@ -1,30 +0,0 @@
-###############################################################################
-# KVirc IRC client Makefile - 30.12.2006 Szymon Stefanek <pragma at kvirc dot net>
-###############################################################################
-
-AM_CPPFLAGS = -I$(SS_TOPSRCDIR)/src/kvilib/include/ -I$(SS_TOPSRCDIR)/src/kvirc/include/ \
-$(SS_INCDIRS) $(SS_CPPFLAGS) -DGLOBAL_KVIRC_DIR=\"$(globalkvircdir)\"
-
-pluglib_LTLIBRARIES      = libkvitheme.la
-
-libkvitheme_la_LDFLAGS = -module -avoid-version $(SS_LDFLAGS) $(SS_LIBDIRS)
-
-libkvitheme_la_SOURCES = libkvitheme.cpp \
-		managementdialog.cpp \
-		packthemedialog.cpp \
-		savethemedialog.cpp \
-		themefunctions.cpp
-
-libkvitheme_la_LIBADD  = $(SS_LIBLINK) ../../kvirc/build/libkvirc.la
-
-noinst_HEADERS= managementdialog.h \
-		packthemedialog.h \
-		savethemedialog.h \
-		themefunctions.h
-
-%.moc: %.h
-	$(SS_QT_MOC) $< -o $@
-
-managementdialog.cpp: managementdialog.moc
-packthemedialog.cpp: packthemedialog.moc
-savethemedialog.cpp: savethemedialog.moc
diff --git a/src/modules/tip/Makefile.am b/src/modules/tip/Makefile.am
deleted file mode 100644
index 37be4b04..00000000
--- a/src/modules/tip/Makefile.am
+++ /dev/null
@@ -1,30 +0,0 @@
-###############################################################################
-# KVirc IRC client Makefile - 10.03.2000 Szymon Stefanek <stefanek@tin.it>
-###############################################################################
-
-AM_CPPFLAGS = -I$(SS_TOPSRCDIR)/src/kvilib/include/ -I$(SS_TOPSRCDIR)/src/kvirc/include/ \
-$(SS_INCDIRS) $(SS_CPPFLAGS) -DGLOBAL_KVIRC_DIR=\"$(globalkvircdir)\"
-
-pluglib_LTLIBRARIES      = libkvitip.la
-
-libkvitip_la_LDFLAGS = -module -avoid-version $(SS_LDFLAGS) $(SS_LIBDIRS)
-
-libkvitip_la_SOURCES = libkvitip.cpp
-libkvitip_la_LIBADD  = $(SS_LIBLINK) ../../kvirc/build/libkvirc.la
-
-noinst_HEADERS= libkvitip.h
-
-tmpdir = $(picsdir)
-
-tmp_DATA = kvi_tip.png
-
-confdir = $(configmodulesdir)
-
-conf_DATA = libkvitip.kvc libkvitip_it.kvc libkvitip_cs.kvc libkvitip_ru.kvc
-
-EXTRA_DIST = $(tmp_DATA) $(conf_DATA)
-
-%.moc: %.h
-	$(SS_QT_MOC) $< -o $@
-
-libkvitip.cpp: libkvitip.moc
diff --git a/src/modules/tmphighlight/Makefile.am b/src/modules/tmphighlight/Makefile.am
deleted file mode 100644
index 1a9c1461..00000000
--- a/src/modules/tmphighlight/Makefile.am
+++ /dev/null
@@ -1,22 +0,0 @@
-###############################################################################
-# KVirc IRC client Makestr - 10.03.2002 Juanjo Álvarez <juanjux@yahoo.es>
-###############################################################################
-
-AM_CPPFLAGS = -I$(SS_TOPSRCDIR)/src/kvilib/include/ -I$(SS_TOPSRCDIR)/src/kvirc/include/ \
--I/usr/include/tde/arts\
-$(SS_INCDIRS) $(SS_CPPFLAGS) -DGLOBAL_KVIRC_DIR=\"$(globalkvircdir)\"
-
-#ARTS_LD_FLAGS = -DPIC -fPIC 
-#ARTS_C_FLAGS = -L/usr/lib -ldl -lartsc -lpthread
-pluglib_LTLIBRARIES      = libkvitmphighlight.la
-
-libkvitmphighlight_la_LDFLAGS = -module -avoid-version $(SS_LDFLAGS) $(SS_LIBDIRS)
-
-libkvitmphighlight_la_SOURCES = libkvitmphighlight.cpp
-libkvitmphighlight_la_LIBADD  = $(SS_LIBLINK) ../../kvirc/build/libkvirc.la
-
-
-#noinst_HEADERS= 
-
-%.moc: %.h
-	$(SS_QT_MOC) $< -o $@
diff --git a/src/modules/toolbar/Makefile.am b/src/modules/toolbar/Makefile.am
deleted file mode 100644
index 445235f2..00000000
--- a/src/modules/toolbar/Makefile.am
+++ /dev/null
@@ -1,18 +0,0 @@
-###############################################################################
-# KVirc IRC client Maketoolbar - 10.03.2000 Szymon Stefanek <stefanek@tin.it>
-###############################################################################
-
-AM_CPPFLAGS = -I$(SS_TOPSRCDIR)/src/kvilib/include/ -I$(SS_TOPSRCDIR)/src/kvirc/include/ \
-$(SS_INCDIRS) $(SS_CPPFLAGS) -DGLOBAL_KVIRC_DIR=\"$(globalkvircdir)\"
-
-pluglib_LTLIBRARIES      = libkvitoolbar.la
-
-libkvitoolbar_la_LDFLAGS = -module -avoid-version $(SS_LDFLAGS) $(SS_LIBDIRS)
-
-libkvitoolbar_la_SOURCES = libkvitoolbar.cpp
-libkvitoolbar_la_LIBADD  = $(SS_LIBLINK) ../../kvirc/build/libkvirc.la
-
-# noinst_HEADERS=
-
-%.moc: %.h
-	$(SS_QT_MOC) $< -o $@
diff --git a/src/modules/toolbareditor/Makefile.am b/src/modules/toolbareditor/Makefile.am
deleted file mode 100644
index 4ac10229..00000000
--- a/src/modules/toolbareditor/Makefile.am
+++ /dev/null
@@ -1,22 +0,0 @@
-###############################################################################
-# KVirc IRC client Maketoolbareditor - 10.03.2000 Szymon Stefanek <stefanek@tin.it>
-###############################################################################
-
-AM_CPPFLAGS = -I$(SS_TOPSRCDIR)/src/kvilib/include/ -I$(SS_TOPSRCDIR)/src/kvirc/include/ \
-$(SS_INCDIRS) $(SS_CPPFLAGS) -DGLOBAL_KVIRC_DIR=\"$(globalkvircdir)\"
-
-
-pluglib_LTLIBRARIES      = libkvitoolbareditor.la
-
-libkvitoolbareditor_la_LDFLAGS = -module -avoid-version $(SS_LDFLAGS) $(SS_LIBDIRS)
-
-libkvitoolbareditor_la_SOURCES = libkvitoolbareditor.cpp toolbareditor.cpp
-
-libkvitoolbareditor_la_LIBADD  = $(SS_LIBLINK) ../../kvirc/build/libkvirc.la
-
-noinst_HEADERS = toolbareditor.h
-
-%.moc: %.h
-	$(SS_QT_MOC) $< -o $@
-
-toolbareditor.cpp: toolbareditor.moc
diff --git a/src/modules/torrent/Makefile.am b/src/modules/torrent/Makefile.am
deleted file mode 100644
index 5325de6b..00000000
--- a/src/modules/torrent/Makefile.am
+++ /dev/null
@@ -1,30 +0,0 @@
-###############################################################################
-# KVirc IRC client Makefile - 10.03.2000 Szymon Stefanek <stefanek@tin.it>
-###############################################################################
-
-AM_CPPFLAGS = -I$(SS_TOPSRCDIR)/src/kvilib/include/ -I$(SS_TOPSRCDIR)/src/kvirc/include/ \
-$(SS_INCDIRS) $(SS_CPPFLAGS) -DGLOBAL_KVIRC_DIR=\"$(globalkvircdir)\"
-
-pluglib_LTLIBRARIES      = libkvitorrent.la
-
-#%.moc: %.h
-#	$(SS_QT_MOC) $< -o $@
-
-libkvitorrent_la_LDFLAGS = -avoid-version -module $(SS_LDFLAGS) $(SS_LIBDIRS)
-
-libkvitorrent_la_SOURCES = libkvitorrent.cpp \
-		tc_interface.cpp \
-		tc_ktorrentdcopinterface.cpp \
-		tc_statusbarapplet.cpp
-		
-libkvitorrent_la_LIBADD = $(SS_LIBLINK) ../../kvirc/build/libkvirc.la
-
-noinst_HEADERS = tc_interface.h \
-		tc_ktorrentdcopinterface.h \
-		tc_statusbarapplet.h
-
-%.moc: %.h
-	$(SS_QT_MOC) $< -o $@
-
-tc_ktorrentdcopinterface.cpp: tc_ktorrentdcopinterface.moc
-tc_statusbarapplet.cpp: tc_statusbarapplet.moc
diff --git a/src/modules/url/Makefile.am b/src/modules/url/Makefile.am
deleted file mode 100644
index ab6d4a29..00000000
--- a/src/modules/url/Makefile.am
+++ /dev/null
@@ -1,23 +0,0 @@
-###############################################################################
-# KVirc IRC client Makefile - 10.03.2000 Szymon Stefanek <stefanek@tin.it>
-###############################################################################
-
-SUBDIRS = caps
-
-AM_CPPFLAGS = -I$(SS_TOPSRCDIR)/src/kvilib/include/ -I$(SS_TOPSRCDIR)/src/kvirc/include/ \
-$(SS_INCDIRS) $(SS_CPPFLAGS) -DGLOBAL_KVIRC_DIR=\"$(globalkvircdir)\"
-
-pluglib_LTLIBRARIES      = libkviurl.la
-
-libkviurl_la_LDFLAGS = -module -avoid-version $(SS_LDFLAGS) $(SS_LIBDIRS)
-
-libkviurl_la_SOURCES = libkviurl.cpp
-libkviurl_la_LIBADD  = $(SS_LIBLINK) ../../kvirc/build/libkvirc.la
-
-
-noinst_HEADERS= libkviurl.h icons.h
-
-%.moc: %.h
-	$(SS_QT_MOC) $< -o $@
-
-libkviurl.cpp: libkviurl.moc
diff --git a/src/modules/url/caps/Makefile.am b/src/modules/url/caps/Makefile.am
deleted file mode 100644
index 231fa79c..00000000
--- a/src/modules/url/caps/Makefile.am
+++ /dev/null
@@ -1,9 +0,0 @@
-###############################################################################
-# KVirc IRC client Makefile - 10.03.2000 Szymon Stefanek <stefanek@tin.it>
-###############################################################################
-
-tmpdir = $(pluglibdir)/caps/action/
-
-tmp_DATA= url
-
-EXTRA_DIST = $(tmp_DATA)
diff --git a/src/modules/window/Makefile.am b/src/modules/window/Makefile.am
deleted file mode 100644
index 623952cc..00000000
--- a/src/modules/window/Makefile.am
+++ /dev/null
@@ -1,21 +0,0 @@
-###############################################################################
-# KVirc IRC client Makefile - 10.03.2000 Szymon Stefanek <stefanek@tin.it>
-###############################################################################
-
-AM_CPPFLAGS = -I$(SS_TOPSRCDIR)/src/kvilib/include/ -I$(SS_TOPSRCDIR)/src/kvirc/include/ \
-$(SS_INCDIRS) $(SS_CPPFLAGS) -DGLOBAL_KVIRC_DIR=\"$(globalkvircdir)\"
-
-pluglib_LTLIBRARIES      = libkviwindow.la
-
-libkviwindow_la_LDFLAGS = -module -avoid-version $(SS_LDFLAGS) $(SS_LIBDIRS)
-
-libkviwindow_la_SOURCES = libkviwindow.cpp userwindow.cpp
-
-libkviwindow_la_LIBADD  = $(SS_LIBLINK) ../../kvirc/build/libkvirc.la
-
-noinst_HEADERS= userwindow.h
-
-%.moc: %.h
-	$(SS_QT_MOC) $< -o $@
-
-userwindow.cpp: userwindow.moc
diff --git a/src/scripts/Makefile.am b/src/scripts/Makefile.am
deleted file mode 100644
index 4a7d94c7..00000000
--- a/src/scripts/Makefile.am
+++ /dev/null
@@ -1,5 +0,0 @@
-###############################################################################
-# KVirc IRC client Makefile - 16.12.98 Szymon Stefanek <stefanek@tin.it>
-###############################################################################
-
-SUBDIRS = browser helpsearch
diff --git a/src/scripts/browser/Makefile.am b/src/scripts/browser/Makefile.am
deleted file mode 100644
index 6e5f216a..00000000
--- a/src/scripts/browser/Makefile.am
+++ /dev/null
@@ -1,6 +0,0 @@
-###############################################################################
-# KVirc Makefile 08.12.98 Szymon Stefanek
-###############################################################################
-bin_SCRIPTS = kvi_run_netscape
-
-EXTRA_DIST= $(bin_SCRIPTS)
diff --git a/src/scripts/helpsearch/Makefile.am b/src/scripts/helpsearch/Makefile.am
deleted file mode 100644
index 45f812a6..00000000
--- a/src/scripts/helpsearch/Makefile.am
+++ /dev/null
@@ -1,6 +0,0 @@
-###############################################################################
-# KVirc Makefile 08.12.98 Szymon Stefanek
-###############################################################################
-bin_SCRIPTS = kvi_search_help
-
-EXTRA_DIST= $(bin_SCRIPTS)
diff --git a/src/tdeconf_update/Makefile.am b/src/tdeconf_update/Makefile.am
deleted file mode 100644
index 349fb72d..00000000
--- a/src/tdeconf_update/Makefile.am
+++ /dev/null
@@ -1,7 +0,0 @@
-update_DATA = \
-	kvirc_soundsystem.upd
-
-update_SCRIPTS = \
-	kvirc_soundsystem_upd.sh
-
-updatedir = $(datadir)/apps/tdeconf_update
diff --git a/translations/Makefile.am b/translations/Makefile.am
deleted file mode 100644
index 533bb55a..00000000
--- a/translations/Makefile.am
+++ /dev/null
@@ -1 +0,0 @@
-SUBDIRS = messages
diff --git a/translations/messages/Makefile.am b/translations/messages/Makefile.am
deleted file mode 100644
index c4ae0605..00000000
--- a/translations/messages/Makefile.am
+++ /dev/null
@@ -1,15 +0,0 @@
-SUBDIRS = \
-	kvirc \
-	kvirc-about \
-	kvirc-dcc \
-	kvirc-editor \
-	kvirc-filetransferwindow \
-	kvirc-logview \
-	kvirc-mediaplayer \
-	kvirc-notifier \
-	kvirc-options \
-	kvirc-perl \
-	kvirc-perlcore \
-	kvirc-sharedfileswindow \
-	kvirc-theme \
-	kvirc-torrent
diff --git a/translations/messages/kvirc-about/Makefile.am b/translations/messages/kvirc-about/Makefile.am
deleted file mode 100644
index 7ce52c5b..00000000
--- a/translations/messages/kvirc-about/Makefile.am
+++ /dev/null
@@ -1,54 +0,0 @@
-THISMODULE = about
-
-# The *.po files
-POFILES  = \
-	ca.po \
-	cs.po \
-	de.po \
-	es.po \
-	es_AR.po \
-	fi.po \
-	fr.po \
-	hr.po \
-	hu.po \
-	it.po \
-	ka.po \
-	pt.po \
-	pt_BR.po \
-	ru.po \
-	uk.po
-
-# The *.mo files to generate
-MO_FILES  = \
-	ca.mo \
-	cs.mo \
-	de.mo \
-	es.mo \
-	es_AR.mo \
-	fi.mo \
-	fr.mo \
-	hr.mo \
-	hu.mo \
-	it.mo \
-	ka.mo \
-	pt.mo \
-	pt_BR.mo \
-	ru.mo \
-	uk.mo
-
-BUILT_SOURCES = $(MO_FILES)
-CLEANFILES = $(MO_FILES)
-EXTRA_DIST = $(POFILES)
-
-%.mo: %.po
-	-touch $@ && $(SS_MSGFMT) -vo $@ $<
-
-## Install and rename .mo files:
-## from <locale>.mo to $(localedir)/<locale>/LC_MESSAGES/kvirc-<module>.mo
-install-exec-hook:
-	for f in $(MO_FILES); do \
-	  locale="$${f%.mo}"; \
-	  instdir="$(DESTDIR)$(localedir)/$$locale/LC_MESSAGES"; \
-	  $(MKDIR_P) "$$instdir" || exit 1; \
-	  $(INSTALL_DATA) $$f "$$instdir/kvirc-$(THISMODULE).mo" || exit $$?; \
-	done
diff --git a/translations/messages/kvirc-dcc/Makefile.am b/translations/messages/kvirc-dcc/Makefile.am
deleted file mode 100644
index fb207c9d..00000000
--- a/translations/messages/kvirc-dcc/Makefile.am
+++ /dev/null
@@ -1,50 +0,0 @@
-THISMODULE = dcc
-
-# The *.po files
-POFILES  = \
-	ca.po \
-	cs.po \
-	de.po \
-	es.po \
-	es_AR.po \
-	fi.po \
-	fr.po \
-	hu.po \
-	it.po \
-	pt.po \
-	pt_BR.po \
-	ru.po \
-	uk.po
-
-# The *.mo files to generate
-MO_FILES  = \
-	ca.mo \
-	cs.mo \
-	de.mo \
-	es.mo \
-	es_AR.mo \
-	fi.mo \
-	fr.mo \
-	hu.mo \
-	it.mo \
-	pt.mo \
-	pt_BR.mo \
-	ru.mo \
-	uk.mo
-
-BUILT_SOURCES = $(MO_FILES)
-CLEANFILES = $(MO_FILES)
-EXTRA_DIST = $(POFILES)
-
-%.mo: %.po
-	-touch $@ && $(SS_MSGFMT) -vo $@ $<
-
-## Install and rename .mo files:
-## from <locale>.mo to $(localedir)/<locale>/LC_MESSAGES/kvirc-<module>.mo
-install-exec-hook:
-	for f in $(MO_FILES); do \
-	  locale="$${f%.mo}"; \
-	  instdir="$(DESTDIR)$(localedir)/$$locale/LC_MESSAGES"; \
-	  $(MKDIR_P) "$$instdir" || exit 1; \
-	  $(INSTALL_DATA) $$f "$$instdir/kvirc-$(THISMODULE).mo" || exit $$?; \
-	done
diff --git a/translations/messages/kvirc-editor/Makefile.am b/translations/messages/kvirc-editor/Makefile.am
deleted file mode 100644
index c49719f9..00000000
--- a/translations/messages/kvirc-editor/Makefile.am
+++ /dev/null
@@ -1,52 +0,0 @@
-THISMODULE = editor
-
-# The *.po files
-POFILES  = \
-	ca.po \
-	cs.po \
-	de.po \
-	es.po \
-	es_AR.po \
-	fi.po \
-	fr.po \
-	hu.po \
-	it.po \
-	ka.po \
-	pt.po \
-	pt_BR.po \
-	ru.po \
-	uk.po
-
-# The *.mo files to generate
-MO_FILES  = \
-	ca.mo \
-	cs.mo \
-	de.mo \
-	es.mo \
-	es_AR.mo \
-	fi.mo \
-	fr.mo \
-	hu.mo \
-	it.mo \
-	ka.mo \
-	pt.mo \
-	pt_BR.mo \
-	ru.mo \
-	uk.mo
-
-BUILT_SOURCES = $(MO_FILES)
-CLEANFILES = $(MO_FILES)
-EXTRA_DIST = $(POFILES)
-
-%.mo: %.po
-	-touch $@ && $(SS_MSGFMT) -vo $@ $<
-
-## Install and rename .mo files:
-## from <locale>.mo to $(localedir)/<locale>/LC_MESSAGES/kvirc-<module>.mo
-install-exec-hook:
-	for f in $(MO_FILES); do \
-	  locale="$${f%.mo}"; \
-	  instdir="$(DESTDIR)$(localedir)/$$locale/LC_MESSAGES"; \
-	  $(MKDIR_P) "$$instdir" || exit 1; \
-	  $(INSTALL_DATA) $$f "$$instdir/kvirc-$(THISMODULE).mo" || exit $$?; \
-	done
diff --git a/translations/messages/kvirc-filetransferwindow/Makefile.am b/translations/messages/kvirc-filetransferwindow/Makefile.am
deleted file mode 100644
index 4ba1dce9..00000000
--- a/translations/messages/kvirc-filetransferwindow/Makefile.am
+++ /dev/null
@@ -1,54 +0,0 @@
-THISMODULE = filetransferwindow
-
-# The *.po files
-POFILES  = \
-	ca.po \
-	cs.po \
-	de.po \
-	es.po \
-	es_AR.po \
-	fi.po \
-	fr.po \
-	hr.po \
-	hu.po \
-	it.po \
-	ka.po \
-	pt.po \
-	pt_BR.po \
-	ru.po \
-	uk.po
-
-# The *.mo files to generate
-MO_FILES  = \
-	ca.mo \
-	cs.mo \
-	de.mo \
-	es.mo \
-	es_AR.mo \
-	fi.mo \
-	fr.mo \
-	hr.mo \
-	hu.mo \
-	it.mo \
-	ka.mo \
-	pt.mo \
-	pt_BR.mo \
-	ru.mo \
-	uk.mo
-
-BUILT_SOURCES = $(MO_FILES)
-CLEANFILES = $(MO_FILES)
-EXTRA_DIST = $(POFILES)
-
-%.mo: %.po
-	-touch $@ && $(SS_MSGFMT) -vo $@ $<
-
-## Install and rename .mo files:
-## from <locale>.mo to $(localedir)/<locale>/LC_MESSAGES/kvirc-<module>.mo
-install-exec-hook:
-	for f in $(MO_FILES); do \
-	  locale="$${f%.mo}"; \
-	  instdir="$(DESTDIR)$(localedir)/$$locale/LC_MESSAGES"; \
-	  $(MKDIR_P) "$$instdir" || exit 1; \
-	  $(INSTALL_DATA) $$f "$$instdir/kvirc-$(THISMODULE).mo" || exit $$?; \
-	done
diff --git a/translations/messages/kvirc-logview/Makefile.am b/translations/messages/kvirc-logview/Makefile.am
deleted file mode 100644
index 34692139..00000000
--- a/translations/messages/kvirc-logview/Makefile.am
+++ /dev/null
@@ -1,52 +0,0 @@
-THISMODULE = logview
-
-# The *.po files
-POFILES  = \
-	ca.po \
-	cs.po \
-	de.po \
-	es.po \
-	es_AR.po \
-	fi.po \
-	fr.po \
-	hu.po \
-	it.po \
-	ka.po \
-	pt.po \
-	pt_BR.po \
-	ru.po \
-	uk.po
-
-# The *.mo files to generate
-MO_FILES  = \
-	ca.mo \
-	cs.mo \
-	de.mo \
-	es.mo \
-	es_AR.mo \
-	fi.mo \
-	fr.mo \
-	hu.mo \
-	it.mo \
-	ka.mo \
-	pt.mo \
-	pt_BR.mo \
-	ru.mo \
-	uk.mo
-
-BUILT_SOURCES = $(MO_FILES)
-CLEANFILES = $(MO_FILES)
-EXTRA_DIST = $(POFILES)
-
-%.mo: %.po
-	-touch $@ && $(SS_MSGFMT) -vo $@ $<
-
-## Install and rename .mo files:
-## from <locale>.mo to $(localedir)/<locale>/LC_MESSAGES/kvirc-<module>.mo
-install-exec-hook:
-	for f in $(MO_FILES); do \
-	  locale="$${f%.mo}"; \
-	  instdir="$(DESTDIR)$(localedir)/$$locale/LC_MESSAGES"; \
-	  $(MKDIR_P) "$$instdir" || exit 1; \
-	  $(INSTALL_DATA) $$f "$$instdir/kvirc-$(THISMODULE).mo" || exit $$?; \
-	done
diff --git a/translations/messages/kvirc-mediaplayer/Makefile.am b/translations/messages/kvirc-mediaplayer/Makefile.am
deleted file mode 100644
index 4614a533..00000000
--- a/translations/messages/kvirc-mediaplayer/Makefile.am
+++ /dev/null
@@ -1,48 +0,0 @@
-THISMODULE = mediaplayer
-
-# The *.po files
-POFILES  = \
-	cs.po \
-	de.po \
-	es_AR.po \
-	fi.po \
-	fr.po \
-	hr.po \
-	hu.po \
-	it.po \
-	ka.po \
-	nl.po \
-	ru.po \
-	uk.po
-
-# The *.mo files to generate
-MO_FILES  = \
-	cs.mo \
-	de.mo \
-	es_AR.mo \
-	fi.mo \
-	fr.mo \
-	hr.mo \
-	hu.mo \
-	it.mo \
-	ka.mo \
-	nl.mo \
-	ru.mo \
-	uk.mo
-
-BUILT_SOURCES = $(MO_FILES)
-CLEANFILES = $(MO_FILES)
-EXTRA_DIST = $(POFILES)
-
-%.mo: %.po
-	-touch $@ && $(SS_MSGFMT) -vo $@ $<
-
-## Install and rename .mo files:
-## from <locale>.mo to $(localedir)/<locale>/LC_MESSAGES/kvirc-<module>.mo
-install-exec-hook:
-	for f in $(MO_FILES); do \
-	  locale="$${f%.mo}"; \
-	  instdir="$(DESTDIR)$(localedir)/$$locale/LC_MESSAGES"; \
-	  $(MKDIR_P) "$$instdir" || exit 1; \
-	  $(INSTALL_DATA) $$f "$$instdir/kvirc-$(THISMODULE).mo" || exit $$?; \
-	done
diff --git a/translations/messages/kvirc-notifier/Makefile.am b/translations/messages/kvirc-notifier/Makefile.am
deleted file mode 100644
index 6c2bddcb..00000000
--- a/translations/messages/kvirc-notifier/Makefile.am
+++ /dev/null
@@ -1,56 +0,0 @@
-THISMODULE = notifier
-
-# The *.po files
-POFILES  = \
-	ca.po \
-	cs.po \
-	de.po \
-	es.po \
-	es_AR.po \
-	fi.po \
-	fr.po \
-	hr.po \
-	hu.po \
-	it.po \
-	ka.po \
-	nl.po \
-	pt.po \
-	pt_BR.po \
-	ru.po \
-	uk.po
-
-# The *.mo files to generate
-MO_FILES  = \
-	ca.mo \
-	cs.mo \
-	de.mo \
-	es.mo \
-	es_AR.mo \
-	fi.mo \
-	fr.mo \
-	hr.mo \
-	hu.mo \
-	it.mo \
-	ka.mo \
-	nl.mo \
-	pt.mo \
-	pt_BR.mo \
-	ru.mo \
-	uk.mo
-
-BUILT_SOURCES = $(MO_FILES)
-CLEANFILES = $(MO_FILES)
-EXTRA_DIST = $(POFILES)
-
-%.mo: %.po
-	-touch $@ && $(SS_MSGFMT) -vo $@ $<
-
-## Install and rename .mo files:
-## from <locale>.mo to $(localedir)/<locale>/LC_MESSAGES/kvirc-<module>.mo
-install-exec-hook:
-	for f in $(MO_FILES); do \
-	  locale="$${f%.mo}"; \
-	  instdir="$(DESTDIR)$(localedir)/$$locale/LC_MESSAGES"; \
-	  $(MKDIR_P) "$$instdir" || exit 1; \
-	  $(INSTALL_DATA) $$f "$$instdir/kvirc-$(THISMODULE).mo" || exit $$?; \
-	done
diff --git a/translations/messages/kvirc-options/Makefile.am b/translations/messages/kvirc-options/Makefile.am
deleted file mode 100644
index d2177c95..00000000
--- a/translations/messages/kvirc-options/Makefile.am
+++ /dev/null
@@ -1,58 +0,0 @@
-THISMODULE = options
-
-# The *.po files
-POFILES = \
-	bg.po \
-	ca.po \
-	cs.po \
-	de.po \
-	es.po \
-	es_AR.po \
-	fi.po \
-	fr.po \
-	hu.po \
-	it.po \
-	nl.po \
-	pl.po \
-	pt.po \
-	pt_BR.po \
-	ru.po \
-	sr.po \
-	uk.po
-
-# The *.mo files to generate
-MO_FILES  = \
-	bg.mo \
-	ca.mo \
-	cs.mo \
-	de.mo \
-	es.mo \
-	es_AR.mo \
-	fi.mo \
-	fr.mo \
-	hu.mo \
-	it.mo \
-	nl.mo \
-	pl.mo \
-	pt.mo \
-	pt_BR.mo \
-	ru.mo \
-	sr.mo \
-	uk.mo
-
-BUILT_SOURCES = $(MO_FILES)
-CLEANFILES = $(MO_FILES)
-EXTRA_DIST = $(POFILES)
-
-%.mo: %.po
-	-touch $@ && $(SS_MSGFMT) -vo $@ $<
-
-## Install and rename .mo files:
-## from <locale>.mo to $(localedir)/<locale>/LC_MESSAGES/kvirc-<module>.mo
-install-exec-hook:
-	for f in $(MO_FILES); do \
-	  locale="$${f%.mo}"; \
-	  instdir="$(DESTDIR)$(localedir)/$$locale/LC_MESSAGES"; \
-	  $(MKDIR_P) "$$instdir" || exit 1; \
-	  $(INSTALL_DATA) $$f "$$instdir/kvirc-$(THISMODULE).mo" || exit $$?; \
-	done
diff --git a/translations/messages/kvirc-perl/Makefile.am b/translations/messages/kvirc-perl/Makefile.am
deleted file mode 100644
index e74bcb8a..00000000
--- a/translations/messages/kvirc-perl/Makefile.am
+++ /dev/null
@@ -1,52 +0,0 @@
-THISMODULE = perl
-
-# The *.po files
-POFILES  = \
-	ca.po \
-	cs.po \
-	de.po \
-	es.po \
-	es_AR.po \
-	fi.po \
-	fr.po \
-	hu.po \
-	it.po \
-	ka.po \
-	pt.po \
-	pt_BR.po \
-	ru.po \
-	uk.po
-
-# The *.mo files to generate
-MO_FILES  = \
-	ca.mo \
-	cs.mo \
-	de.mo \
-	es.mo \
-	es_AR.mo \
-	fi.mo \
-	fr.mo \
-	hu.mo \
-	it.mo \
-	ka.mo \
-	pt.mo \
-	pt_BR.mo \
-	ru.mo \
-	uk.mo
-
-BUILT_SOURCES = $(MO_FILES)
-CLEANFILES = $(MO_FILES)
-EXTRA_DIST = $(POFILES)
-
-%.mo: %.po
-	-touch $@ && $(SS_MSGFMT) -vo $@ $<
-
-## Install and rename .mo files:
-## from <locale>.mo to $(localedir)/<locale>/LC_MESSAGES/kvirc-<module>.mo
-install-exec-hook:
-	for f in $(MO_FILES); do \
-	  locale="$${f%.mo}"; \
-	  instdir="$(DESTDIR)$(localedir)/$$locale/LC_MESSAGES"; \
-	  $(MKDIR_P) "$$instdir" || exit 1; \
-	  $(INSTALL_DATA) $$f "$$instdir/kvirc-$(THISMODULE).mo" || exit $$?; \
-	done
diff --git a/translations/messages/kvirc-perlcore/Makefile.am b/translations/messages/kvirc-perlcore/Makefile.am
deleted file mode 100644
index 8c6c2f42..00000000
--- a/translations/messages/kvirc-perlcore/Makefile.am
+++ /dev/null
@@ -1,50 +0,0 @@
-THISMODULE = perlcore
-
-# The *.po files
-POFILES  = \
-	ca.po \
-	cs.po \
-	de.po \
-	es.po \
-	es_AR.po \
-	fi.po \
-	fr.po \
-	hu.po \
-	it.po \
-	ka.po \
-	pt_BR.po \
-	ru.po \
-	uk.po
-
-# The *.mo files to generate
-MO_FILES  = \
-	ca.mo \
-	cs.mo \
-	de.mo \
-	es.mo \
-	es_AR.mo \
-	fi.mo \
-	fr.mo \
-	hu.mo \
-	it.mo \
-	ka.mo \
-	pt_BR.mo \
-	ru.mo \
-	uk.mo
-
-BUILT_SOURCES = $(MO_FILES)
-CLEANFILES = $(MO_FILES)
-EXTRA_DIST = $(POFILES)
-
-%.mo: %.po
-	-touch $@ && $(SS_MSGFMT) -vo $@ $<
-
-## Install and rename .mo files:
-## from <locale>.mo to $(localedir)/<locale>/LC_MESSAGES/kvirc-<module>.mo
-install-exec-hook:
-	for f in $(MO_FILES); do \
-	  locale="$${f%.mo}"; \
-	  instdir="$(DESTDIR)$(localedir)/$$locale/LC_MESSAGES"; \
-	  $(MKDIR_P) "$$instdir" || exit 1; \
-	  $(INSTALL_DATA) $$f "$$instdir/kvirc-$(THISMODULE).mo" || exit $$?; \
-	done
diff --git a/translations/messages/kvirc-sharedfileswindow/Makefile.am b/translations/messages/kvirc-sharedfileswindow/Makefile.am
deleted file mode 100644
index 7f04b989..00000000
--- a/translations/messages/kvirc-sharedfileswindow/Makefile.am
+++ /dev/null
@@ -1,54 +0,0 @@
-THISMODULE = sharedfileswindow
-
-# The *.po files
-POFILES  = \
-	ca.po \
-	cs.po \
-	de.po \
-	es.po \
-	es_AR.po \
-	fi.po \
-	fr.po \
-	hr.po \
-	hu.po \
-	it.po \
-	ka.po \
-	pt.po \
-	pt_BR.po \
-	ru.po \
-	uk.po
-
-# The *.mo files to generate
-MO_FILES  = \
-	ca.mo \
-	cs.mo \
-	de.mo \
-	es.mo \
-	es_AR.mo \
-	fi.mo \
-	fr.mo \
-	hr.mo \
-	hu.mo \
-	it.mo \
-	ka.mo \
-	pt.mo \
-	pt_BR.mo \
-	ru.mo \
-	uk.mo
-
-BUILT_SOURCES = $(MO_FILES)
-CLEANFILES = $(MO_FILES)
-EXTRA_DIST = $(POFILES)
-
-%.mo: %.po
-	-touch $@ && $(SS_MSGFMT) -vo $@ $<
-
-## Install and rename .mo files:
-## from <locale>.mo to $(localedir)/<locale>/LC_MESSAGES/kvirc-<module>.mo
-install-exec-hook:
-	for f in $(MO_FILES); do \
-	  locale="$${f%.mo}"; \
-	  instdir="$(DESTDIR)$(localedir)/$$locale/LC_MESSAGES"; \
-	  $(MKDIR_P) "$$instdir" || exit 1; \
-	  $(INSTALL_DATA) $$f "$$instdir/kvirc-$(THISMODULE).mo" || exit $$?; \
-	done
diff --git a/translations/messages/kvirc-theme/Makefile.am b/translations/messages/kvirc-theme/Makefile.am
deleted file mode 100644
index 5de3a0f6..00000000
--- a/translations/messages/kvirc-theme/Makefile.am
+++ /dev/null
@@ -1,46 +0,0 @@
-THISMODULE = theme
-
-# The *.po files
-POFILES  = \
-	cs.po \
-	de.po \
-	es_AR.po \
-	fi.po \
-	fr.po \
-	hu.po \
-	it.po \
-	ka.po \
-	pt.po \
-	ru.po \
-	uk.po
-
-# The *.mo files to generate
-MO_FILES  = \
-	cs.mo \
-	de.mo \
-	es_AR.mo \
-	fi.mo \
-	fr.mo \
-	hu.mo \
-	it.mo \
-	ka.mo \
-	pt.mo \
-	ru.mo \
-	uk.mo
-
-BUILT_SOURCES = $(MO_FILES)
-CLEANFILES = $(MO_FILES)
-EXTRA_DIST = $(POFILES)
-
-%.mo: %.po
-	-touch $@ && $(SS_MSGFMT) -vo $@ $<
-
-## Install and rename .mo files:
-## from <locale>.mo to $(localedir)/<locale>/LC_MESSAGES/kvirc-<module>.mo
-install-exec-hook:
-	for f in $(MO_FILES); do \
-	  locale="$${f%.mo}"; \
-	  instdir="$(DESTDIR)$(localedir)/$$locale/LC_MESSAGES"; \
-	  $(MKDIR_P) "$$instdir" || exit 1; \
-	  $(INSTALL_DATA) $$f "$$instdir/kvirc-$(THISMODULE).mo" || exit $$?; \
-	done
diff --git a/translations/messages/kvirc-torrent/Makefile.am b/translations/messages/kvirc-torrent/Makefile.am
deleted file mode 100644
index 49332431..00000000
--- a/translations/messages/kvirc-torrent/Makefile.am
+++ /dev/null
@@ -1,48 +0,0 @@
-THISMODULE = torrent
-
-# The *.po files
-POFILES  = \
-	cs.po \
-	de.po \
-	es_AR.po \
-	fi.po \
-	hr.po \
-	hu.po \
-	it.po \
-	ka.po \
-	nl.po \
-	pt.po \
-	ru.po \
-	uk.po
-
-# The *.mo files to generate
-MO_FILES = \
-	cs.mo \
-	de.mo \
-	es_AR.mo \
-	fi.mo \
-	hr.mo \
-	hu.mo \
-	it.mo \
-	ka.mo \
-	nl.mo \
-	pt.mo \
-	ru.mo \
-	uk.mo
-
-BUILT_SOURCES = $(MO_FILES)
-CLEANFILES = $(MO_FILES)
-EXTRA_DIST = $(POFILES)
-
-%.mo: %.po
-	-touch $@ && $(SS_MSGFMT) -vo $@ $<
-
-## Install and rename .mo files:
-## from <locale>.mo to $(localedir)/<locale>/LC_MESSAGES/kvirc-<module>.mo
-install-exec-hook:
-	for f in $(MO_FILES); do \
-	  locale="$${f%.mo}"; \
-	  instdir="$(DESTDIR)$(localedir)/$$locale/LC_MESSAGES"; \
-	  $(MKDIR_P) "$$instdir" || exit 1; \
-	  $(INSTALL_DATA) $$f "$$instdir/kvirc-$(THISMODULE).mo" || exit $$?; \
-	done
diff --git a/translations/messages/kvirc/Makefile.am b/translations/messages/kvirc/Makefile.am
deleted file mode 100644
index 5743390a..00000000
--- a/translations/messages/kvirc/Makefile.am
+++ /dev/null
@@ -1,58 +0,0 @@
-# The *.po files
-POFILES = \
-	bg.po \
-	ca.po \
-	cs.po \
-	de.po \
-	es.po \
-	es_AR.po \
-	fi.po \
-	fr.po \
-	hr.po \
-	hu.po \
-	it.po \
-	nl.po \
-	pl.po \
-	pt.po \
-	pt_BR.po \
-	ru.po \
-	sr.po \
-	uk.po
-
-# The *.mo files to generate
-MO_FILES  = \
-	bg.mo \
-	ca.mo \
-	cs.mo \
-	de.mo \
-	es.mo \
-	es_AR.mo \
-	fi.mo \
-	fr.mo \
-	hr.mo \
-	hu.mo \
-	it.mo \
-	nl.mo \
-	pl.mo \
-	pt.mo \
-	pt_BR.mo \
-	ru.mo \
-	sr.mo \
-	uk.mo
-
-BUILT_SOURCES = $(MO_FILES)
-CLEANFILES = $(MO_FILES)
-EXTRA_DIST=$(POFILES)
-
-%.mo: %.po
-	-touch $@ && $(SS_MSGFMT) -vo $@ $<
-
-## Install and rename .mo files:
-## from <locale>.mo to $(localedir)/<locale>/LC_MESSAGES/kvirc.mo
-install-exec-hook:
-	for f in $(MO_FILES); do \
-	  locale="$${f%.mo}"; \
-	  instdir="$(DESTDIR)$(localedir)/$$locale/LC_MESSAGES"; \
-	  $(MKDIR_P) "$$instdir" || exit 1; \
-	  $(INSTALL_DATA) $$f "$$instdir/kvirc.mo" || exit $$?; \
-	done
-- 
cgit v1.2.3

