Completed removal of autotool files. Those files were mistakenly forgotten in the previous commit.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
r14.0.x
Michele Calgaro 4 years ago
parent 8b1e76886b
commit 6ac3293a61
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

File diff suppressed because it is too large Load Diff

@ -1,161 +0,0 @@
dnl =======================================================
dnl FILE: configure.in.in
dnl =======================================================
dnl Process this file with autoconf to produce a configure script.
dnl Most of this file was shamelessly stolen from Licq Qt plugin, which has similar configuration options
AC_INIT
AC_CONFIG_SRCDIR([src/main.cpp])
AC_CONFIG_AUX_DIR(admin)
AC_CANONICAL_SYSTEM
AC_ARG_PROGRAM
dnl All versioning is done via the following line
AM_CONFIG_HEADER(src/config.h)
AM_INIT_AUTOMAKE(kchmviewer, 3.1)
dnl Chuck #defines for PACKAGE and VERSION into config.h
AC_DEFINE_UNQUOTED(APP_NAME, "$PACKAGE", [ Application name ] )
AC_DEFINE_UNQUOTED(APP_VERSION, "$VERSION", [ Application version as text ])
AC_DEFINE_UNQUOTED(APP_INT_VERSION,$INT_VERSION, [ Application version as integer ])
# Checks for programs.
AC_PROG_CC
AC_PROG_CXX
AC_CHECK_COMPILERS
AC_ENABLE_SHARED(yes)
AC_ENABLE_STATIC(no)
KDE_PROG_LIBTOOL
dnl Check for X and extra X libs needed
AC_PATH_XTRA
if test "$no_x" = yes; then
AC_MSG_ERROR(You need to have the X11 libraries and headers installed)
fi
CHMLIBDIR="lib/chmlib"
EXTRA_SUBDIRS=""
AC_ARG_WITH(kde, AC_HELP_STRING([--with-kde],[enable KDE support]))
if test "x$with_kde" = "xyes"; then
KDE_SET_PREFIX
AC_PATH_KDE
AM_KDE_WITH_NLS
AC_DEFINE(USE_KDE, 1, [use KDE support])
fi
if test "x$with_kde" != "xyes"; then
include_ARTS_FALSE="yes"
AC_PREFIX_DEFAULT(${prefix:-/usr/local})
KDE_SET_DEFAULT_PATHS([default])
eval "$kde_cv_all_paths"
fi
AM_CONDITIONAL([AMC_USE_KDE], [test "x$with_kde" = "xyes"])
dnl Checking whether to use built-in, or system-wide chmlib
dnl First check for --with-builtin-chmlib configure option - no more checks needed
USE_BUILTIN_CHMLIB="0"
AC_ARG_WITH(builtin-chmlib,
AC_HELP_STRING([--with-builtin-chmlib],[link with built-in chmlib]),
[ USE_BUILTIN_CHMLIB="1" ])
dnl Check for the libchm in system
if test "$USE_BUILTIN_CHMLIB" = "0"; then
AC_CHECK_LIB(chm, chm_open, [USE_BUILTIN_CHMLIB="0"], [USE_BUILTIN_CHMLIB="1"])
fi
if test "$USE_BUILTIN_CHMLIB" = "1"; then
CHM_INCLUDES="-I\$(top_srcdir)/$CHMLIBDIR"
CHM_LIBS="\$(top_builddir)/$CHMLIBDIR/libchm.la"
USE_LIB_CHM="internal"
EXTRA_SUBDIRS="chmlib $EXTRA_SUBDIRS"
AC_DEFINE(USE_BUILTIN_CHMLIB, 1, [use builtin chmlib])
else
CHM_LIBS="-lchm"
USE_LIB_CHM="system"
AC_DEFINE(USE_BUILTIN_CHMLIB, 0, [use builtin chmlib])
fi
AM_CONDITIONAL([AMC_BUILD_CHMLIB], [test "$USE_BUILTIN_CHMLIB" = "1"])
# libchmfile is built unconditionally
LIBCHMFILE_INCLUDES="-I\$(top_srcdir)/lib/libchmfile -I\$(top_srcdir)/src"
LIBCHMFILE_LIBS="\$(top_builddir)/lib/libchmfile/libchmfile.a"
AC_SUBST([EXTRA_SUBDIRS])
AC_SUBST(CHM_INCLUDES)
AC_SUBST(USE_KDE)
AC_SUBST(CHM_LIBS)
AC_SUBST(LIBCHMFILE_INCLUDES)
AC_SUBST(LIBCHMFILE_LIBS)
echo ""
echo "Please remember to use GNU make, often installed as gmake."
echo ""
echo "Install prefix : $prefix"
if test "$have_kde" = yes; then
echo "KDE support : includes in $kde_includes, libs in $kde_libraries"
else
echo "KDE support : disabled."
fi
echo "Qt includes : $QT_INCLUDES"
echo "Qt libraries : $LIB_QT"
echo "chmlib to link : $USE_LIB_CHM"
KDE_CREATE_SUBDIRSLIST
AC_CONFIG_FILES([ Makefile ])
AC_CONFIG_FILES([ lib/Makefile ])
AC_CONFIG_FILES([ lib/chmlib/Makefile ])
AC_CONFIG_FILES([ lib/tdeio-msits/Makefile ])
AC_CONFIG_FILES([ lib/libchmfile/Makefile ])
AC_CONFIG_FILES([ po/Makefile ])
AC_CONFIG_FILES([ src/Makefile ])
AC_CONFIG_FILES([ src/kde/Makefile ])
AC_CONFIG_FILES([ src/pics/Makefile ])
AC_OUTPUT
# Check if KDE_SET_PREFIX was called, and --prefix was passed to configure
if test -n "$kde_libs_prefix" -a -n "$given_prefix"; then
# And if so, warn when they don't match
if test "$kde_libs_prefix" != "$given_prefix"; then
# And if kde doesn't know about the prefix yet
echo ":"`tde-config --path exe`":" | grep ":$given_prefix/bin/:" 2>&1 >/dev/null
if test $? -ne 0; then
echo ""
echo "Warning: you chose to install this package in $given_prefix,"
echo "but KDE was found in $kde_libs_prefix."
echo "For this to work, you will need to tell KDE about the new prefix, by ensuring"
echo "that TDEDIRS contains it, e.g. export TDEDIRS=$given_prefix:$kde_libs_prefix"
echo "Then restart KDE."
echo ""
fi
fi
fi
if test x$GXX = "xyes" -a x$kde_have_gcc_visibility = "xyes" -a x$kde_cv_val_qt_gcc_visibility_patched = "xno"; then
echo ""
echo "Your GCC supports symbol visibility, but the patch for Qt supporting visibility"
echo "was not included. Therefore, GCC symbol visibility support remains disabled."
echo ""
echo "For better performance, consider including the Qt visibility supporting patch"
echo "located at:"
echo ""
echo "http://bugs.kde.org/show_bug.cgi?id=109386"
echo ""
echo "and recompile all of Qt and KDE. Note, this is entirely optional and"
echo "everything will continue to work just fine without it."
echo ""
fi
if test "$all_tests" = "bad"; then
if test ! "$cache_file" = "/dev/null"; then
echo ""
echo "Please remove the file $cache_file after changing your setup"
echo "so that configure will find the changes next time."
echo ""
fi
else
echo ""
echo "Good - your configure finished. Start make now"
echo ""
fi

@ -1,104 +0,0 @@
dnl Process this file with autoconf to produce a configure script.
dnl Most of this file was shamelessly stolen from Licq Qt plugin, which has similar configuration options
AC_INIT
AC_CONFIG_SRCDIR([src/main.cpp])
AC_CONFIG_AUX_DIR(admin)
AC_CANONICAL_SYSTEM
AC_ARG_PROGRAM
dnl All versioning is done via the following line
AC_CONFIG_HEADER(src/config.h)
AM_INIT_AUTOMAKE(kchmviewer, 3.1)
dnl Chuck #defines for PACKAGE and VERSION into config.h
AC_DEFINE_UNQUOTED(APP_NAME, "$PACKAGE", [ Application name ] )
AC_DEFINE_UNQUOTED(APP_VERSION, "$VERSION", [ Application version as text ])
AC_DEFINE_UNQUOTED(APP_INT_VERSION,$INT_VERSION, [ Application version as integer ])
# Checks for programs.
AC_PROG_CC
AC_PROG_CXX
AC_CHECK_COMPILERS
AC_ENABLE_SHARED(yes)
AC_ENABLE_STATIC(no)
KDE_PROG_LIBTOOL
dnl Check for X and extra X libs needed
AC_PATH_XTRA
if test "$no_x" = yes; then
AC_MSG_ERROR(You need to have the X11 libraries and headers installed)
fi
KDE_SET_DEFAULT_BINDIRS
KDE_ENABLE_HIDDEN_VISIBILITY
CHMLIBDIR="lib/chmlib"
EXTRA_SUBDIRS=""
AC_ARG_WITH(kde, AC_HELP_STRING([--with-kde],[enable KDE support]))
if test "x$with_kde" = "xyes"; then
KDE_SET_PREFIX
AC_PATH_KDE
AM_KDE_WITH_NLS
AC_DEFINE(USE_KDE, 1, [use KDE support])
fi
if test "x$with_kde" != "xyes"; then
include_ARTS_FALSE="yes"
AC_PREFIX_DEFAULT(${prefix:-/usr/local})
KDE_SET_DEFAULT_PATHS([default])
eval "$kde_cv_all_paths"
fi
AM_CONDITIONAL([AMC_USE_KDE], [test "x$with_kde" = "xyes"])
dnl Checking whether to use built-in, or system-wide chmlib
dnl First check for --with-builtin-chmlib configure option - no more checks needed
USE_BUILTIN_CHMLIB="0"
AC_ARG_WITH(builtin-chmlib,
AC_HELP_STRING([--with-builtin-chmlib],[link with built-in chmlib]),
[ USE_BUILTIN_CHMLIB="1" ])
dnl Check for the libchm in system
if test "$USE_BUILTIN_CHMLIB" = "0"; then
AC_CHECK_LIB(chm, chm_open, [USE_BUILTIN_CHMLIB="0"], [USE_BUILTIN_CHMLIB="1"])
fi
if test "$USE_BUILTIN_CHMLIB" = "1"; then
CHM_INCLUDES="-I\$(top_srcdir)/$CHMLIBDIR"
CHM_LIBS="\$(top_builddir)/$CHMLIBDIR/libchm.la"
USE_LIB_CHM="internal"
EXTRA_SUBDIRS="chmlib $EXTRA_SUBDIRS"
AC_DEFINE(USE_BUILTIN_CHMLIB, 1, [use builtin chmlib])
else
CHM_LIBS="-lchm"
USE_LIB_CHM="system"
AC_DEFINE(USE_BUILTIN_CHMLIB, 0, [use builtin chmlib])
fi
AM_CONDITIONAL([AMC_BUILD_CHMLIB], [test "$USE_BUILTIN_CHMLIB" = "1"])
# libchmfile is built unconditionally
LIBCHMFILE_INCLUDES="-I\$(top_srcdir)/lib/libchmfile -I\$(top_srcdir)/src"
LIBCHMFILE_LIBS="\$(top_builddir)/lib/libchmfile/libchmfile.a"
AC_SUBST([EXTRA_SUBDIRS])
AC_SUBST(CHM_INCLUDES)
AC_SUBST(USE_KDE)
AC_SUBST(CHM_LIBS)
AC_SUBST(LIBCHMFILE_INCLUDES)
AC_SUBST(LIBCHMFILE_LIBS)
echo ""
echo "Please remember to use GNU make, often installed as gmake."
echo ""
echo "Install prefix : $prefix"
if test "$have_kde" = yes; then
echo "KDE support : includes in $kde_includes, libs in $kde_libraries"
else
echo "KDE support : disabled."
fi
echo "Qt includes : $QT_INCLUDES"
echo "Qt libraries : $LIB_QT"
echo "chmlib to link : $USE_LIB_CHM"

@ -1,10 +0,0 @@
lib_LIBRARIES=libchmfile.a
libchmfile_a_SOURCES = libchmfile.cpp libchmfile_search.cpp libchmfileimpl.cpp \
libchmtextencoding.cpp libchmtocimage.cpp
noinst_HEADERS = libchmfile.h bitfiddle.h libchmfileimpl.h libchmtextencoding.h \
libchmtocimage.h libchmurlfactory.h
INCLUDES = $(QT_INCLUDES) $(CHM_INCLUDES) $(KDE_INCLUDES)
METASOURCES = AUTO
KDE_OPTIONS = qtonly

@ -1,123 +0,0 @@
/***************************************************************************
* Copyright (C) 2007 by Albert Astals Cid, aacid@kde.org *
* Please do not use email address above for bug reports; see *
* the README file *
* *
* 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 option) 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. *
***************************************************************************/
#ifndef INCLUDE_QT34_H
#define INCLUDE_QT34_H
#include <tqregexp.h>
#include <tqstring.h>
// TQt3/TQt4 compatibility: in TQt3 TQVector stores pointers, not values - so TQValueVector should be used.
// In TQt4 TQVector stores values, so we can use TQVector
#if defined (USE_TQT_4)
#define LIBCHMVector TQVector
#else
#include <tqvaluevector.h>
#define LIBCHMVector TQValueVector
#endif
#if defined (USE_TQT_4)
#define LIBCHMMemArray TQVector
#else
#define LIBCHMMemArray TQMemArray
#endif
class LIBCHMCString
{
public:
LIBCHMCString();
LIBCHMCString(const char *string);
const char *toCString() const;
void clear();
bool operator==(const TQString &string) const;
uint length() const;
bool isEmpty() const;
void prepend(char c);
char at(uint i) const;
void replace(uint index, uint len, const char *str);
void remove(uint index, uint len);
LIBCHMCString lower();
private:
#if defined (USE_TQT_4)
TQByteArray cs;
#else
TQCString cs;
#endif
};
class LIBCHMRegExp
{
public:
LIBCHMRegExp(const TQString &regexp);
int search(const TQString &str, int offset = 0);
TQString cap(int nth);
void setMinimal(bool minimal);
int matchedLength() const;
private:
TQRegExp re;
};
class LIBCHMString
{
public:
LIBCHMString();
LIBCHMString(const TQString &string);
LIBCHMString(const char *string);
TQString lower() const;
const char *ascii() const;
int find(char c, int index = -1) const;
int find(const TQChar &c, int index) const;
int find(const TQString &string, int index, bool cs) const;
int findRev(char c) const;
TQChar at(uint i) const;
TQString left(uint len) const;
LIBCHMString mid(uint index, uint len = 0xffffffff) const;
bool isEmpty() const;
TQString toString() const;
bool operator==(const TQString &string) const;
private:
TQString s;
};
class LIBCHMDir
{
public:
static TQString cleanDirPath(const TQString &dir);
};
class LIBCHMStringList
{
public:
static bool contains(const TQStringList &list, const TQString &string);
static TQStringList split(const TQRegExp &regexp, const TQString &string);
};
#endif

@ -1,14 +0,0 @@
METASOURCES = AUTO
INCLUDES = $(QT_INCLUDES) $(CHM_INCLUDES) $(KDE_INCLUDES) $(LIBCHMFILE_INCLUDES)
kde_module_LTLIBRARIES = tdeio_msits.la
tdeio_msits_la_SOURCES = msits.cpp
tdeio_msits_la_LIBADD = -ltdeio $(CHM_LIBS)
tdeio_msits_la_LDFLAGS = -module -avoid-version $(KDE_LDFLAGS) $(LIB_QT) $(LIB_TDEIO) $(LIB_TDECORE) $(KDE_PLUGIN) $(QT_LDFLAGS)
protocol_DATA = msits.protocol
protocoldir = $(kde_servicesdir)
# Put it here to avoid creating another directory
kde_apps_DATA = kchmviewer.desktop

@ -1,39 +0,0 @@
if AMC_USE_KDE
LIB_KDEEXTRADIR = tde
LIB_KDEEXTRA = tde/libkdeextra.a
endif
bin_PROGRAMS = kchmviewer
kchmviewer_SOURCES = iconstorage.cpp kchmbookmarkwindow.cpp kchmconfig.cpp \
kchmindexwindow.cpp kchmmainwindow.cpp kchmsearchtoolbar.cpp kchmsearchwindow.cpp \
kchmsettings.cpp kchmsourcefactory.cpp kchmtreeviewitem.cpp kchmviewwindow.cpp main.cpp \
kchmdialogchooseurlfromlist.cpp tde-tqt.cpp kchmviewwindow_qtextbrowser.cpp \
kchmsetupdialog.ui kqtempfile.cpp kchmnavtoolbar.cpp kchmviewwindowmgr.cpp \
kchmkeyeventfilter.cpp kchmcontentswindow.cpp kchmsearchengine_impl.cpp \
kchmsearchengine.cpp kchmsetupdialog_impl.cpp
# set the include path found by configure
INCLUDES = $(QT_INCLUDES) $(CHM_INCLUDES) $(KDE_INCLUDES) $(LIBCHMFILE_INCLUDES)
SUBDIRS = $(LIB_KDEEXTRADIR) . pics
# the library search path.
kchmviewer_LDADD = $(top_builddir)/lib/libchmfile/libchmfile.a $(LIB_KDEEXTRA) \
$(CHM_LIBS) $(LIB_QT) $(LIB_TDEUI) $(LIB_TDEHTML) $(LIB_TDEPARTS) $(LIB_TDEIO)
kchmviewer_LDFLAGS = $(QT_LDFLAGS) $(KDE_LDFLAGS) $(LIB_TDECORE) -lDCOP $(LIB_TDEUI) $(LIB_TDEPARTS) $(LIB_TDEIO) -L../lib/chmlib/
METASOURCES = AUTO
KDE_OPTIONS = qtonly
KDE_ICON = AUTO
noinst_HEADERS = kchmsettings.h forwarddeclarations.h kchmsourcefactory.h \
iconstorage.h kchmbookmarkwindow.h kchmconfig.h kchmtreeviewitem.h \
kchmdialogchooseurlfromlist.h kchmviewwindow.h kchmindexwindow.h \
kchmmainwindow.h kchmviewwindow_qtextbrowser.h kchmsearchtoolbar.h tde-tqt.h \
kchmsearchwindow.h kqtempfile.h kqrunprocess.h kchmnavtoolbar.h kchmviewwindowmgr.h \
kchmkeyeventfilter.h kchmcontentswindow.h kchmlistitemtooltip.h kchmsearchengine_impl.h \
kchmsearchengine.h kchmsetupdialog_impl.h
messages: rc.cpp
$(EXTRACTRC) *.rc > rc.cpp
$(EXTRACTRC) *.ui >> rc.cpp
$(XGETTEXT) rc.cpp *.h *.cpp -o $(podir)/kchmviewer.pot

@ -1,8 +0,0 @@
lib_LIBRARIES=libkdeextra.a
libkdeextra_a_SOURCES = kchmdcopiface.cpp kchmdcopiface.skel kchmviewwindow_tdehtmlpart.cpp
noinst_HEADERS = kchmdcopiface.h kchmviewwindow_tdehtmlpart.h
INCLUDES = $(QT_INCLUDES) $(CHM_INCLUDES) $(KDE_INCLUDES) $(LIBCHMFILE_INCLUDES)
METASOURCES = AUTO
KDE_OPTIONS = qtonly
Loading…
Cancel
Save