Browse Source

Replaced 'admin' directory with TDE submodule.

Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
pull/1/head
Mavridis Philippe 1 year ago
parent
commit
1bd3c5b42f
No known key found for this signature in database
GPG Key ID: F8D2D7E2F989A494
  1. 3
      .gitmodules
  2. 1
      admin
  3. 30
      admin/CVS/Entries
  4. 1
      admin/CVS/Repository
  5. 1
      admin/CVS/Root
  6. 761
      admin/ChangeLog
  7. 179
      admin/Doxyfile.am
  8. 1133
      admin/Doxyfile.global
  9. 35
      admin/Makefile.common
  10. 5776
      admin/acinclude.m4.in
  11. 2448
      admin/am_edit
  12. 156
      admin/bcheck.pl
  13. 99
      admin/compile
  14. 191
      admin/conf.change.pl
  15. 1449
      admin/config.guess
  16. 236
      admin/config.pl
  17. 1552
      admin/config.sub
  18. 45
      admin/configure.in.bot.end
  19. 57
      admin/configure.in.min
  20. 87
      admin/cvs-clean.pl
  21. 663
      admin/cvs.sh
  22. 43
      admin/debianrules
  23. 441
      admin/depcomp
  24. 19
      admin/deps.am
  25. 59
      admin/detect-autoconf.sh
  26. 276
      admin/install-sh
  27. 5891
      admin/libtool.m4.in
  28. 6401
      admin/ltmain.sh
  29. 336
      admin/missing
  30. 111
      admin/mkinstalldirs
  31. 371
      admin/nmcheck
  32. 192
      admin/oldinclude.m4.in
  33. 57
      admin/pkg.m4.in
  34. 143
      admin/ylwrap

3
.gitmodules vendored

@ -0,0 +1,3 @@
[submodule "admin"]
path = admin
url = https://mirror.git.trinitydesktop.org/gitea/TDE/tde-common-admin

1
admin

@ -0,0 +1 @@
Subproject commit 8c7e0d40de084fe5d54e173918756639e0d4d63e

30
admin/CVS/Entries

@ -1,30 +0,0 @@
/Doxyfile.global/1.2/Tue Sep 13 17:41:39 2005//
/Makefile.common/1.2/Tue Sep 13 17:41:39 2005//
/acinclude.m4.in/1.2/Tue Sep 13 17:41:39 2005//
/am_edit/1.2/Tue Sep 20 19:32:46 2005//
/conf.change.pl/1.2/Tue Sep 13 17:41:39 2005//
/config.guess/1.2/Tue Sep 13 17:41:39 2005//
/config.sub/1.2/Tue Sep 13 17:41:39 2005//
/configure.in.bot.end/1.2/Tue Sep 13 17:41:40 2005//
/cvs.sh/1.2/Tue Sep 13 17:41:39 2005//
/debianrules/1.2/Tue Sep 13 17:41:39 2005//
/detect-autoconf.sh/1.2/Tue Sep 13 17:41:39 2005//
/libtool.m4.in/1.2/Tue Sep 13 17:41:40 2005//
/ltmain.sh/1.2/Tue Sep 13 17:41:40 2005//
/ChangeLog/1.1.1.1/Tue Sep 13 17:41:39 2005//
/Doxyfile.am/1.1.1.1/Tue Sep 13 17:41:39 2005//
/bcheck.pl/1.1.1.1/Tue Sep 13 17:41:39 2005//
/compile/1.1.1.1/Tue Sep 13 17:41:39 2005//
/config.pl/1.1.1.1/Tue Sep 13 17:41:39 2005//
/configure.in.min/1.1.1.1/Tue Sep 13 17:41:39 2005//
/cvs-clean.pl/1.1.1.1/Tue Sep 13 17:41:39 2005//
/depcomp/1.1.1.1/Tue Sep 13 17:41:40 2005//
/install-sh/1.1.1.1/Tue Sep 13 17:41:40 2005//
/missing/1.1.1.1/Tue Sep 13 17:41:39 2005//
/mkinstalldirs/1.1.1.1/Tue Sep 13 17:41:39 2005//
/nmcheck/1.1.1.1/Tue Sep 13 17:41:39 2005//
/ylwrap/1.1.1.1/Tue Sep 13 17:41:39 2005//
/deps.am/1.1/Tue Sep 13 17:41:40 2005//
/oldinclude.m4.in/1.1/Tue Sep 13 17:41:39 2005//
/pkg.m4.in/1.1/Tue Sep 13 17:41:39 2005//
D

1
admin/CVS/Repository

@ -1 +0,0 @@
kompose/admin

1
admin/CVS/Root

@ -1 +0,0 @@
oisch@cvs.berlios.de:/cvsroot/kompose

761
admin/ChangeLog

@ -1,761 +0,0 @@
2002-10-03 Stephan Kulow <coolo@kde.org>
* made config.h.bot obsolete
2002-04-26 Stephan Kulow <coolo@kde.org>
* acinclude.m4.in removed bogus message
2001-11-07 Walter Tasin <tasin@kdevelop.org>
* now #MIN_CONFIG tag takes parameters for KDE_USE_QT, too.
e.g. #MIN_CONFIG(2.2) for qt 2.2 usage
2000-11-30 David Faure <faure@kde.org>
* acinclude.m4.in: Added kde_moduledir which points to $prefix/lib/kde2/
2000-07-24 Alex Zepeda <jazepeda@pacbell.net>
* acinclude.m4.in: Remove the test for malloc.h
2000-04-05 Michael Matz <matz@ifh.de>
* config.pl : added kludge for compiling regexp's even if
perl < 5.005 is installed
* conf.change.pl : added support for autoconf 2.14.1
2000-03-27 David Faure <faure@kde.org>
* acinclude.m4.in, Makefile.common: changed inst-apps semantics
If present, only the subdirs it lists will be configured and compiled.
If absent, then subdirs is used (and inst-apps isn't generated anymore)
2000-03-22 David Faure <faure@kde.org>
* am_edit: Added support for KDE_ICON = AUTO
2000-03-18 David Faure <faure@kde.org>
* Makefile.common: Rewrote the list-of-Makefiles generation to make it
simpler and nicer, using create_makefiles' way of doing it.
Added support for COMPILE_LAST and COMPILE_FIRST in toplevel Makefile.am
2000-01-05 David Faure <faure@kde.org>
* Makefile.common: hacked around autoconf bug (setting INSTALL to ".."
when calling a subconfigure and INSTALL is already set).
1999-12-15 Waldo Bastian <bastian@kde.org>
* acinclude.m4.in: Test whether Qt compiles AND LINKS without flags.
1999-06-24 Stephan Kulow <coolo@kde.org>
* am_edit: generate correct Makefile entries for kde-i18n toplevel directories
* am_edit:
1999-06-14 Stephan Kulow <coolo@kde.org>
* am_edit: remove idl generated files on make clean
1999-06-09 Stephan Kulow <coolo@kde.org>
* am_edit: skipping programs with variables in sources for final
1999-06-07 Stephan Kulow <coolo@kde.org>
* am_edit: added support for idl files
1999-06-02 Stephan Kulow <coolo@kde.org>
* Makefile.common: preserve comments in .pot files to make it
possible for programmers and translators to comment them
1999-06-02 Simon Hausmann <hausmann@kde.org>
* acinclude.m4.in: added kde_servicetypesdir
1999-06-02 David Faure <faure@kde.org>
* acinclude.m4.in: removed LIB_KFM and LIB_KDEUTIL aliases
1999-05-28 Simon Hausmann <hausmann@kde.org>
* acinclude.m4.in: added kde_servicesdir
1999-05-27 Stephan Kulow <coolo@kde.org>
* am_edit: lots of changes for better support of --enable-final
1999-05-22 Stephan Kulow <coolo@kde.org>
* acinclude.m4.in: added support for --with-dmalloc
1999-05-19 Stephan Kulow <coolo@kde.org>
* acinclude.m4.in: added support for --enable-final
* am_edit: added support for --enable-final
1999-05-06 Stephan Kulow <coolo@kde.org>
* acinclude.m4.in: change the meaning of --disable-debug
1999-05-04 Helge Deller <deller@gmx.de>
* acinclude.m4.in: the test for the X-includes/directories failed,
when compile & link work without special directories (as on HP-UX).
1999-04-20 Stephan Kulow <coolo@kde.org>
* am_edit: adding DESTDIR replacement for rm and uninstall-local
too. Seems very useless, but makes testing for uninstall easier
1999-04-01 David Faure <faure@kde.org>
* acinclude.m4.in: Added -lkfile to $(LIB_KIO)
1999-03-30 David Faure <faure@kde.org>
* acinclude.m4.in: Added AC_CHECK_KDEMAXPATHLEN, which defines KDEMAXPATHLEN.
1999-03-29 David Faure <faure@kde.org>
* acinclude.m4.in: added LIB_X11 to XPMLIB and GLLIB, because
on SCO, they need it _after_ themselves.
1999-03-28 David Faure <faure@kde.org>
* acinclude.m4.in: added LIB_KFM to LIB_KAB alias
1999-03-26 David Faure <faure@kde.org>
* acinclude.m4.in: made LIB_KFILE use LIB_KIO instead of LIB_KFM
added LIB_KFORMULA
1999-03-20 Stephan Kulow <coolo@kde.org>
* acinclude.m4.in: check for libXext - for Russel :)
1999-03-16 Stephan Kulow <coolo@kde.org>
* acinclud3.m4.in: extend the MICO test with a list of possible
places where to find CORBA.h
1999-03-15 Stephan Kulow <coolo@kde.org>
* acinclude.m4.in: move $QTINC and $QTLIB in search path
1999-03-14 Stephan Kulow <coolo@kde.org>
* am_edit: install-root is obsolute. Use DESTDIR always
1999-03-03 Stephan Kulow <coolo@kde.org>
* acinclude.m4.in: fixing a bug, that $QTDIR was taken before --with-qt*
* acinclude.m4.in: added KDE_USE_QT, that you can choose if to
use QT 2.0 or KDE 1.0
* Makefile.common: added target package-merge
* am_edit: many fixes to the POFILES handeling of am_edit
1999-03-02 Stephan Kulow <coolo@kde.org>
* acinclude.m4.in: first look at libjpeg6b (from kdesupport) then
for libjpeg
* config.*, libtool.*: update to the latest FSF tools
1999-02-23 Stephan Kulow <coolo@kde.org>
* acinclude.m4.in: error when Sparc CC is used. Better use it in
configure and tell him the story then letting him find it while
compiling
* acinclude.m4.in: adding KDE_CHECK_EXTRA_LIBS to all possible tests,
so that --with-extra-includes is used when needed.
* acinclude.m4.in: configure looks for giflib30, so it should say so
* acinclude.m4.in: don't overwrite x include parameters. Patch by
Ari Lemmke <ari.lemmke@regex.fi> (bug report 741)
1999-02-20 Stephan Kulow <coolo@kde.org>
* acinclude.m4.in: fixing KDE_CHECK_PATHS for rechecking. In case
of defaults (kdelibs) configure didn't cache the results
1999-02-18 David Faure <faure@kde.org>
* acinclude.m4.in: added AC_CHECK_S_ISSOCK, to fix #706.
1999-02-17 David Faure <faure@kde.org>
* acinclude.m4.in: added AC_CHECK_RANDOM, just like
AC_CHECK_USLEEP, to enable the fake if necessary.
1999-02-13 Kurt Granroth <granroth@kde.org>
* acinclude.m4.in: look for QT-2.0
1999-02-05 Stephan Kulow <coolo@kde.org>
* acinclude.m4.in: in macro KDE_FIND_PATH treat user given dirs
and $PATH dirs the same. Added seperate test for to find binary
($5) to replace findperl
1999-01-28 Stephan Kulow <coolo@kde.org>
* automoc: added patch by jbb to be a little bit more precise about
the number of sourcefiles that include the moc file if it's != 1.
Besides that automoc will fail with exit code, so the Makefile.cvs
process does stop in case a problem accoured.
* automoc: don't hardcode header suffix, but allow *.h, *.hh and *.H
1999-01-27 Stephan Kulow <coolo@kde.org>
* acinclude.m4.in: try qobjcoll.h and qapplication.h before saying
OK to qt headers. (I could kill SuSE for splitting into qt-dev
and qt-compat)
1991-01-23 Stephan Kulow <coolo@kde.org>
* automoc: added fixes by JB <jb.nz@writeme.com>
1999-01-21 Stephan Kulow <coolo@kde.org>
* automoc: added --help and --path (for use in dist-hook)
1999-01-20 Alex Zepeda <garbanzo@hooked.net>
* ltconfig: added entries for FreeBSD 4.x
1999-01-19 Stephan Kulow <coolo@kde.org>
* automoc: added a distclean-metasources target which deletes all
moc files and let distclean depend on it
1999-01-18 Stephan Kulow <coolo@kde.org>
* automoc: several fixes (ignore comment lines + join lines
with \ )
* automoc: support META_INCLUDES in case the header files are
not in the same dir as the sources.
1999-01-17 Stephan Kulow <coolo@kde.org>
* automoc: several fixes.
1999-01-16 Stephan Kulow <coolo@kde.org>
* automoc: added support for included MOC files.
* acinclude.m4.in: use srcdir for the subdirs stuff as well
* automoc: added better command line parsing and some preparation
for handling "normal" moc files
* acinclude.m4.in: added aliases for libkio and libkdeutil
1999-01-15 Harri Porten <porten@kde.org>
* automoc: Carved in stone syntax for Makefile.in:
{program}_METASOURCES = USE_AUTOMOC [{suffix}]
1999-01-15 Stephan Kulow <coolo@kde.org>
* Makefile.common: set top_srcdir to .
1999-01-14 Stephan Kulow <coolo@kde.org>
* acinclude.m4.in: don't use config.h.bot any longer
1999-01-08 Stephan Kulow <coolo@kde.org>
* acinclude.m4.in: added KDE_CHECK_NEWLIBS
* acinclude.m4.in: test for Qt even if both --with-qt-headers and
--with-qt-libraries are given. They may be wrong.
1999-01-06 Stephan Kulow <coolo@kde.org>
* acinclude.m4.in: change the MOC test so it can be used for other
tools as well
1998-12-28 Stephan Kulow <coolo@kde.org>
* acinclude.m4.in: look for QT-1.42 since kpanel needs it
1998-12-27 Stephan Kulow <coolo@kde.org>
* acinclude.m4.in: added /usr/lib for libpython test
* acinclude.m4.in: take my email address out of it and added a
reference to www.kde.org/faq
* acinclude.m4.in: use Qt >= 1.4
* acinclude.m4.in: added KDE_CHECK_NAMESPACES
1998-12-18 Stephan Kulow <coolo@kde.org>
* acinclude.m4.in: test for directories to exist before saying yes
to compilation :)
1998-12-14 Stephan Kulow <coolo@kde.org>
* acinclude.m4.in: added CPLUSPLUS for the kimgio test. It's
only important for shaman right now, but at least there it is :)
1998-12-12 Stephan Kulow <coolo@kde.org>
* Makefile.cvs: added common Makefile.cvs
* acinclude.m4.in: Thomas.Schwarz@pro-sieben.de reported a very ugly
bug in AC_PROG_CXXCPP, so I added my own version
* acinclude.m4.in: added KDE_CREATE_SUBDIRS_LIST to simplify
most toplevel configures
1998-12-11 Stephan Kulow <coolo@kde.org>
* acinclude.m4.in: added call to AC_PROG_CXXCPP. Not really sure why
it never caused problems
* acinclude.m4.in: moved LIBTIFF alias
* acinclude.m4.in: only test for the existance of libkimgio if the
user wants to. For 99% of the applications it doesn't matter if
configure can find libkimgio :)
1998-12-10 Stephan Kulow <coolo@kde.org>
* acinclude.m4.in: some changes to the python check to handle $LIBDL
1998-12-09 Stephan Kulow <coolo@kde.org>
* acinclude.m4.in: make Alex's tiff test a real one
* acinclude.m4.in: fix the LIB_TIFF alias to really expand
1998-12-08 Alex Zepeda <garbanzo@hooked.net>
* acinclude.m4.in: Fix tiff test to use libtiff34 if it exists.
This is what the FreeBSD port installs to for whatever reason.
* acinclude.m4.in: s/kde/KDE/ (at least in some of the
descriptions, obviously no variable names were touched.
1998-12-08 Stephan Kulow <coolo@kde.org>
* acinclude.m4.in: moved the LIB_QT alias to the Qt check
* acinclude.m4.in: unset KDEDIR before running conftest
* acinclude.m4.in: fixed mean typo
* acinclude.m4.in: added the copyright header for the gettext
tests, so that people know we're legal ;)
* acinclude.m4.in: set language to C++ before testing QIMGIO
1998-12-07 Alex Zepeda <garbanzo@hooked.net>
* acinclude.m4.in: Fix PNG test to use correct ANSI C code, and
not trip up gcc.
1998-12-07 Stephan Kulow <coolo@kde.org>
* acinclude.m4.in: don't hardcode -ldl
* acinclude.m4.in: move the LIB_X11 alias to the X test to make it
useful for kdesupport as well
* acinclude.m4.in: give the word CHECK_KIMGIO a meaning in really
checking for it
* acinclude.m4.in: simple fix to prevent kimgio test from compiling
KDE application in kdelibs
1998-12-05 Stephan Kulow <coolo@kde.org>
* acinclude.m4.in: let KDE_CHECK_KIMGIO depend on AC_PATH_KDE,
otherwise most tests fail. It didn't mean anything to 90% of the
packages since they test for KDE before kimgio, but for shaman
it does
* ltconfig: the real fix for the Solaris && gcc problem.
Thanks Kurt for reporting it and Alexandre for fixing it :)
1998-12-04 Stephan Kulow <coolo@kde.org>
* libtool.*: update again
* acinclude.m4.in: changed the function to test for libnsl to
inet_ntoa since UnixWare 7's version did not have gethostbyname,
but needs libnsl
1998-12-02 Stephan Kulow <coolo@kde.org>
* acinclude.m4.in: fixed the MOC test (again) to use the PATH variable
correctly (with the correct seperator)
* config.guess: update from the soon to be released autoconf-2.13
1998-12-01 Stephan Kulow <coolo@kde.org>
* acinclude.m4.in: fixes for the MOC test. Use PATH now when found
1998-11-30 Stephan Kulow <coolo@kde.org>
* acinclude.m4.in: extended the MOC test. It checks now for the
first line of the output of "moc --help" and looks for Qt in it.
1998-11-27 Stephan Kulow <coolo@kde.org>
* ltconfig: another libtool update. Fixes an ugly bug on Solaris,
when GNU ld is in path before Solaris ld, but gcc uses the later
1998-11-26 Stephan Kulow <coolo@kde.org>
* acinclude.m4.in: made the Qt test more advance to check for qt
1.41 - I still need to make it better, but there shouldn't be too
many qt releases in a row, would there? ;)
* ltconfig: libtool update with better BSD/OS support
1998-11-22 Stephan Kulow <coolo@kde.org>
* ltconfig: cool - libtool uses g++ now to link libraries on Solaris.
This means, static objects become usuable on that plattforms (some
others as well).
1998-11-20 Stephan Kulow <coolo@kde.org>
* ltmain.sh: updated libtool from their CVS - fixes bugs we haven't
found and adds some more features, that we do not need ;-)
1998-11-19 David Faure <faure@kde.org>
* acinclude.m4.in: added AC_CHECK_UTMP_FILE, taken from kdebase
1998-11-16 Harri Porten <porten@kde.org>
* automoc: take care of "ar" object files, too.
1998-11-16 Stephan Kulow <coolo@kde.org>
* libtool.m4.in: revised my --silent patch. The solution
Alexandre suggested is much better.
1998-11-15 Stephan Kulow <coolo@kde.org>
* ltconfig.in: done some tweakings to support -export-dynamic
with egcs
* config.sub: wow - BeOS support :)
1998-11-14 Stephan Kulow <coolo@kde.org>
* acinclude.m4.in: don't use rpath for test program, if rpath is
disabled for applications
* ltconfig: patched libtool to make it silent without making
ltconfig silent
* acinclude.m4.in: make libtool silent again
* libtool.m4.in: update to libtool-981114 (untested stuff, but
we have to test it to make it tested - sounds that logical? :-)
* libtool.m4.in: moved the self stricked libtool tests to "our"
file.
* acinclude.m4.in: moved ChangeLog of kdebase which I used to
maintain acinclude.m4.in logs to kde-common/admin. Hopefully I
will maintain it more often from now on :)
1998-07-27 Stephan Kulow <coolo@kde.org>
* acinclude.m4.in: fixed some things in the MOC test
* acinclude.m4.in: fixed this damn msgfmt test
1998-06-02 Stephan Kulow <coolo@kde.org>
* acinclude.m4.in: ignore msgfmt, if not GNU gettext
1998-05-28 Stephan Kulow <coolo@kde.org>
* acinclude.m4.in: fixed KDE_CHECK_STL. Checks for HP and SGI type
* acinclude.m4.in: embraced every variable with "" to make
it consistent
* acinclude.m4.in: various fixes for the koffice checks
(mico, ministl and python)
1998-05-16 Stephan Kulow <coolo@kde.org>
* acinclude.m4.in: don't use KDE_CHECK_QT_DIRECT, when
--with-qt-libs are given
1998-04-21 Stephan Kulow <coolo@kde.org>
* acinclude.m4.in: cool, I found the trick to suppress the ls
errors
1998-04-20 Stephan Kulow <coolo@kde.org>
* acinclude.m4.in: rewrote the qt checking test, since it
didn't work under FreeBSD, since it relied on the .so link.
The new version is a little bit buggy, but I need some testing
to make it perfect
* acinclude.m4.in: fixed the side effects of the PAM test
1998-04-18 Stephan Kulow <coolo@kde.org>
* acinclude.m4.in: hopefully fixed the PAM test (I rewrote it)
1998-04-16 Stephan Kulow <coolo@kde.org>
* acinclude.m4.in: extended the getsockname test inspired
by a patch by Martin Baulig
* configure.in: added test for utmp file
* acinclude.m4.in: made --without-pam default
1998-04-06 Stephan Kulow <coolo@kde.org>
* acinclude.m4.in: don't test compiling, linking, running in
one step. This proved to be too dangerous for my mail box.
1998-03-21 Stephan Kulow <coolo@kde.org>
* libtool.m4.in: created some new macros to work around this
ugly (because long) help of configure --enable-shared/static
1998-03-05 Stephan Kulow <coolo@kde.org>
* acinclude.m4.in: set language to C++ before trying the ksize_t
test
* configure.in: sorted the Makefile entries alphabeticly (and all
together: we love xemacs! we love xemacs! ;)
* configure.in: added sk
* acinclude.m4.in: substitute x_libraries to fix the empty -rpath
1998-03-03 Stephan Kulow <coolo@kde.org>
* acinclude.m4.in: add a rpath for every shared library, that is
linked too (especially X11 libraries)
Tue Feb 24 22:04:59 1998 Stephan Kulow <coolo@kde.org>
* acinclude.m4.in: added kde_sounddir and set kde_minidir to
kde_icondir/mini to break not too much
Sun Feb 15 18:25:50 1998 Stephan Kulow <coolo@kde.org>
* configure.in: added bugfix by Bob Miller <kbob@engr.sgi.com>
(correct reset of IFS)
Wed Feb 11 00:53:11 1998 Stephan Kulow <coolo@kde.org>
* configure.in: made shadow under Linux default, since the
binaries will work also under non-shadow systems. The only problem
left is PAM, so I disabled shadow in case, PAM is present
Tue Feb 10 16:46:32 1998 Stephan Kulow <coolo@kde.org>
* configure.in: added test for nice to find out, if the option
-nice works for the screensavers
* acinclude.m4.in: port to LynxOS. For this I moved all library
search routines in KDE_MISC_TESTS, so I don't need to write this
in every package
* README: some grammar fixes
* acinclude.m4.in: search for the libs in the exec_prefix, when
it's present
Sun Feb 8 14:07:23 1998 Stephan Kulow <coolo@kde.org>
* acinclude.m4.in: updated all packages
* libtool.m4.in: applied patch for libtool.m4.in to show the
correct default for shared and static
Sat Feb 7 10:56:00 1998 Stephan Kulow <coolo@kde.org>
* configure.in: good news - KDE is relocatable again.
* libtool.m4.in: updated to latest libtool 1.0i
Fri Feb 6 21:26:51 1998 Stephan Kulow <coolo@kde.org>
* acinclude.m4.in: added a AC_PROVIDE for AC_PROG_CC and
AC_PROG_CPP to KDE_CHECK_COMPILERS
Thu Feb 5 16:27:47 1998 Stephan Kulow <coolo@kde.org>
* acinclude.m4.in: put $QTDIR/bin before /usr/bin in the path to
look for moc. I don't know why, but I got a report, that configure
found /usr/bin/moc under Solaris
Fri Jan 30 15:47:50 1998 Stephan Kulow <coolo@kde.org>
* acinclude.m4.in: export LIBRARY_PATH after reset to the saved
value
* acinclude.m4.in: unset the LIBRARY_PATH to get a relieable
result when trying to find, if Qt compiles without -L
Sat Jan 24 00:45:52 1998 Stephan Kulow <coolo@kde.org>
* acinclude.m4.in: fixed another bug in AC_PATH_KDE
Thu Jan 22 14:46:15 1998 Stephan Kulow <coolo@kde.org>
* configure.in: fixed an ugly bug in AC_BASE_PATH_KDE
* kappfinder/kappfinder.in: let kappfinder create by configure to
allow the use of the kde_ paths
Wed Jan 21 22:19:35 1998 Stephan Kulow <coolo@kde.org>
* acinclude.m4.in: - added a install_root prefix to all paths, if
set, to enable package managers to move the whole installation at once
- added --with-install-root to set the install_root prefix
Tue Jan 20 22:41:04 1998 Stephan Kulow <coolo@kde.org>
* configure.in: added NOOPT_CXXFLAGS to allow kioslave to be
compiled without -O2
Mon Jan 19 21:55:21 1998 Stephan Kulow <coolo@kde.org>
* configure.in: some little fixes for the Makefiles
* acinclude.m4.in: --prefix will no longer override the search for
libraries. If they are present somewhere, they are used (through
the methodes in KApplication)
Mon Jan 12 00:30:36 1998 Stephan Kulow <coolo@kde.org>
* acinclude.m4.in fixed an ugly bug, that accoured, when
qt_libraries is not set (empty/equals X11/not necessary)
* acinclude.m4.in moved the remove of the files after the error
detection
Sun Jan 11 17:27:53 1998 Stephan Kulow <coolo@kde.org>
* acinclude.m4.in added a new macro KDE_CHECK_QT_DIRECT to unset
the Qt library path, if a Qt program compiles without them
* acinclude.m4.in added a return value in the CREATE_KFSSTND
macro. Perhaps this has caused the problems
Sat Jan 10 17:40:44 1998 Stephan Kulow <coolo@kde.org>
* ChangeLog started to maintain a ChangeLog file again
* acinclude.m4.in the AC_CREATE_KFSSTND to get better debug output
to find the problem
Old logs, Stephan Kulow made:
0.1 : first steps with libkde
0.2 : first release with libkde, khtmlw, kdehelp, acli, kwm, kpanel
0.3 : added kfm and bugfixes
0.4 : updated khtmlw, kdehelp, kwm, changed install in all subdirs
0.5 : support libtool (chooseable shared libs)
0.6 : split libkde in kdecore and kdeui
0.6.1 : Bugfixes
0.7 : added code from Janos Farkas (configure)
: added @{kde,qt}_{includes,libraries}@
0.7.1: Bugfixes
0.7.2: Bugfixes
0.7.3: added @all_includes@ and @all_libraries@
replaced all incompatible flags like $(CC) and -DHAVE_UNISTD_H
0.7.4: changed support for libkde (back in it's own)
added kpat
updated kpanel, kwm, kghostview
0.8: removed a bug in kghostview
lifted installation process of several apps
splitt kdebase into kdelibs and kdeapps
updated khtmlw, kfm and kdehelp
added kcalc and kpaint
updated kdisplay
added kscreensaver
added --enable-kscreensaver
added --enable-debug (and @CXXFLAGS@ to all Makefile.ins)
updated kwm to 0.4.7
added make uninstall to every app
added kvt
added khexdit
added .kdelnk for kmines, kedit, ktetris
put kwm, kfind's .kdelnk in the right directories
replaced --enable-kscreensaver by --disable-kscreensaver
updated kpanel to 0.15
some bugfixes (thanks Marco)
some bugfixes (thanks Martin)
changed acinclude.m4, because aclocal won't
updated kwm to 0.4.8 (patched it again for Qt-1.2)
updated kvt to 0.13 (patch from Matthias)
patched kvt and kwm
updated kwm to 0.5.0
updated kvt for 0.14 (again and again :-)
updated kview to 0.10
updated kfm to 0.6.3
patched kscreensaver for FreeBSD (thanks Marc)
0.9: updated kdisplay to 0.5.3
added klogout
patches from Matthias
updated kfm to 0.6.4
updated kghostview to 0.4
added QTINC and QTLIB
updated kdehelp to 0.4.11
patched kfm to support ktoolbar
updated kedit to kedit+
added kfontmanager 0.2.1
0.9.1: changed kpaint's make style
bugfixing
updated kmines to 0.6.5
updated ktetris to 0.2.4
changed to Makefiles to depend on Makefile.in
changed the Makefiles to let install depend on all
added kjots-0.2.2
updated kjots-0.2.3
updated kfm to 0.6.6
updated kjots-0.2.4
updated kpaint-0.2
updated kedit to 0.5
updated kfontmanager to 0.2.2
updated kfm to 0.6.7
updated ktetris to 0.2.5
updated kjots to 0.2.5
0.10: added HAVE_SQRTL
added HAVE_CRYPT_H
updated kfind
updated kfm to kfm-0.8.1
re-introduced automake to kdebase
bugfixes for the configure.in
added XPM, GL and PAM tests to configure
added morph3d to kscreensavers
updated kfind to 0.3.2
added some patches for SGI
... lost the time to maintain a Changelog ;)

179
admin/Doxyfile.am

@ -1,179 +0,0 @@
## generate API documentation with doxygen
apidox-am-yes:
@if test "$(subdir)" != "."; then \
$(mkinstalldirs) $(top_builddir)/apidocs/$(subdir) ;\
if test ! -x $(top_builddir)/apidocs/common; then \
if test -d $(top_srcdir)/doc/common; then \
common_dir=`cd $(top_srcdir)/doc/common && pwd` ;\
else \
common_dir=$(kde_libs_htmldir)/en/common ;\
fi ;\
$(LN_S) $$common_dir $(top_builddir)/apidocs/common; \
fi ;\
cp $(top_srcdir)/admin/Doxyfile.global Doxyfile; \
echo "PROJECT_NAME = \"$(subdir) Library\"" >> Doxyfile; \
echo "PROJECT_NUMBER = \"Version $(VERSION)\"" >> Doxyfile; \
echo "INPUT = $(srcdir)" >> Doxyfile; \
echo "IMAGE_PATH = $(top_srcdir)/doc/api" >> Doxyfile ;\
echo "OUTPUT_DIRECTORY = $(top_builddir)/apidocs" >> Doxyfile; \
echo "HTML_OUTPUT = $(subdir)/html" >> Doxyfile; \
echo "HTML_HEADER = $(top_builddir)/apidocs/common/header.html" >> Doxyfile;\
echo "HTML_FOOTER = $(top_builddir)/apidocs/common/footer.html" >> Doxyfile;\
echo "HTML_STYLESHEET = $(top_builddir)/apidocs/common/doxygen.css" >> Doxyfile;\
echo "LATEX_OUTPUT = $(subdir)/latex" >> Doxyfile; \
echo "RTF_OUTPUT = $(subdir)/rtf" >> Doxyfile; \
echo "MAN_OUTPUT = $(subdir)/man" >> Doxyfile; \
echo "GENERATE_HTML = $(GENERATE_FLAG)" >> Doxyfile ;\
echo "GENERATE_MAN = $(GENERATE_FLAG)" >> Doxyfile ;\
echo "GENERATE_LATEX = $(GENERATE_FLAG)" >> Doxyfile ;\
if test -n "$(DOXYGEN_EXCLUDE)"; then \
patterns= ;\
dirs= ;\
for item in `echo "$(DOXYGEN_EXCLUDE)"`; do \
if test -d "$(srcdir)/$$item"; then \
dirs="$$dirs $(srcdir)/$$item/" ;\
else \
patterns="$$patterns $$item" ;\
fi ;\
done ;\
echo "EXCLUDE_PATTERNS += $$patterns" >> Doxyfile; \
echo "EXCLUDE += $$dirs" >> Doxyfile ;\
fi ;\
echo "TAGFILES = \\" >> Doxyfile; \
tags='$(DOXYGEN_REFERENCES) qt'; for tag in $$tags; do \
tagpath= ;\
path="../../$$tag" ;\
if test -f $(top_builddir)/apidocs/$$tag/$$tag.tag; then \
tagpath="$(top_builddir)/apidocs/$$tag/$$tag.tag" ;\
else \
tagpath=`ls -1 $(kde_htmldir)/en/*-apidocs/$$tag/$$tag.tag 2> /dev/null` ;\
if test -n "$$tagpath"; then \
path=`echo $$tagpath | sed -e "s,.*/\([^/]*-apidocs\)/$$tag/$$tag.tag,../../../\1/$$tag,"` ;\
fi ;\
fi ;\
if test "$$tag" = qt; then \
echo $$tagpath=$(QTDOCDIR) >> Doxyfile ;\
else if test -n "$$tagpath"; then \
echo "$$tagpath=$$path/html \\" >> Doxyfile ;\
fi ;\
fi ;\
done ;\
echo "GENERATE_TAGFILE = $(top_builddir)/apidocs/$(subdir)/`basename $(subdir)`.tag" >> Doxyfile ;\
echo "IGNORE_PREFIX = K" >> Doxyfile ;\
echo "HAVE_DOT = $(KDE_HAVE_DOT)" >> Doxyfile ;\
$(DOXYGEN) Doxyfile ;\
fi
apidox-am-no:
install-data-local: install-apidox
## install API documentation
install-apidox:
@if test "$(subdir)" != "."; then \
$(mkinstalldirs) $(DESTDIR)$(kde_htmldir)/en/$(PACKAGE)-apidocs/$(subdir)/html ; \
if test -f $(top_builddir)/apidocs/$(subdir)/$(subdir).tag; then \
echo $(INSTALL_DATA) $(top_builddir)/apidocs/$(subdir)/$(subdir).tag $(DESTDIR)$(kde_htmldir)/en/$(PACKAGE)-apidocs/$(subdir); \
$(INSTALL_DATA) $(top_builddir)/apidocs/$(subdir)/$(subdir).tag $(DESTDIR)$(kde_htmldir)/en/$(PACKAGE)-apidocs/$(subdir); \
fi; \
if test -d $(top_builddir)/apidocs/$(subdir)/html; then \
list=`ls $(top_builddir)/apidocs/$(subdir)/html`; \
echo "installing $(top_builddir)/apidocs/$(subdir)/html" ;\
for file in $$list; do \
$(INSTALL_DATA) $(top_builddir)/apidocs/$(subdir)/html/$$file $(DESTDIR)$(kde_htmldir)/en/$(PACKAGE)-apidocs/$(subdir)/html; \
done; \
fi; \
rm -f $(DESTDIR)$(kde_htmldir)/en/$(PACKAGE)-apidocs/common; \
$(LN_S) $(kde_libs_htmldir)/en/common $(DESTDIR)$(kde_htmldir)/en/$(PACKAGE)-apidocs/common; \
else\
if test -d $(top_builddir)/apidocs; then \
$(mkinstalldirs) $(DESTDIR)$(kde_htmldir)/en/$(PACKAGE)-apidocs ;\
list=`cd $(top_builddir)/apidocs && ls -1`; \
echo "installing $(top_builddir)/apidocs/$$file" ;\
for file in $$list; do \
if test -f $(top_builddir)/apidocs/$$file; then \
$(INSTALL_DATA) $(top_builddir)/apidocs/$$file $(DESTDIR)$(kde_htmldir)/en/$(PACKAGE)-apidocs; \
fi; \
done ; fi; \
fi
uninstall-local: uninstall-apidox
## uninstall API documentation
uninstall-apidox:
@if test "$(subdir)" != "."; then \
if test -d $(DESTDIR)$(kde_htmldir)/en/$(PACKAGE)-apidocs/$(subdir); then \
rm -rfv $(DESTDIR)$(kde_htmldir)/en/$(PACKAGE)-apidocs/$(subdir); \
fi\
else\
if test -d $(DESTDIR)$(kde_htmldir)/en/$(PACKAGE)-apidocs; then \
rm -rfv $(DESTDIR)$(kde_htmldir)/en/$(PACKAGE)-apidocs; \
fi\
fi
apidox:
@if test "$(subdir)" != "."; then \
$(MAKE) apidox-am-@KDE_HAS_DOXYGEN@ ;\
else \
$(MAKE) apidox-am-toplevel-@KDE_HAS_DOXYGEN@ ;\
fi
@set fnord $(MAKEFLAGS); amf=$$2; if test -n '$(SUBDIRS)'; then \
list='$(SUBDIRS)'; \
for subdir in $$list; do \
if grep '^include .*Doxyfile.am' $(srcdir)/$$subdir/Makefile.am; then \
echo "Making apidox in $$subdir"; \
if test "$$subdir" != "."; then \
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) GENERATE_FLAG=no apidox) || exit 1; \
fi ; fi ;\
done; \
for subdir in $$list; do \
if grep '^include .*Doxyfile.am' $(srcdir)/$$subdir/Makefile.am; then \
echo "Making apidox in $$subdir"; \
if test "$$subdir" != "."; then \
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) GENERATE_FLAG=yes apidox) || exit 1; \
fi ; fi ;\
done; \
fi
apidox-am-toplevel-no:
apidox-am-toplevel-yes:
@echo "*** Creating API documentation main page"; \
cp $(top_srcdir)/admin/Doxyfile.global Doxyfile; \
echo "PROJECT_NAME = \"$(DOXYGEN_PROJECT_NAME)\"" >> Doxyfile ; \
echo "PROJECT_NUMBER = \"$(DOXYGEN_PROJECT_NUMBER)\"" >> Doxyfile ; \
echo "INPUT = $(top_srcdir)" >> Doxyfile ; \
echo "OUTPUT_DIRECTORY = $(top_builddir)/apidocs" >> Doxyfile ; \
echo "FILE_PATTERNS = *.dox" >> Doxyfile ; \
echo "RECURSIVE = NO" >> Doxyfile ; \
echo "SOURCE_BROWSER = NO" >> Doxyfile ; \
echo "ALPHABETICAL_INDEX = NO" >> Doxyfile ; \
echo "HTML_OUTPUT = ." >> Doxyfile ; \
echo "HTML_HEADER = apidocs/common/mainheader.html" >> Doxyfile ; \
echo "HTML_FOOTER = apidocs/common/mainfooter.html" >> Doxyfile ; \
echo "HTML_STYLESHEET = apidocs/common/doxygen.css" >> Doxyfile ; \
echo "GENERATE_LATEX = NO" >> Doxyfile ; \
echo "GENERATE_RTF = NO" >> Doxyfile ; \
echo "GENERATE_MAN = NO" >> Doxyfile ; \
echo "GENERATE_XML = NO" >> Doxyfile ; \
echo "GENERATE_AUTOGEN_DEF = NO" >> Doxyfile ; \
echo "ENABLE_PREPROCESSING = NO" >> Doxyfile ; \
echo "CLASS_DIAGRAMS = NO" >> Doxyfile ; \
echo "HAVE_DOT = NO" >> Doxyfile ; \
echo "GENERATE_HTML = YES" >> Doxyfile ;\
$(mkinstalldirs) $(top_builddir)/apidocs ; \
rm -f $(top_builddir)/apidocs/common ; \
if test -d $(top_srcdir)/doc/common; then \
common_dir=`cd $(top_srcdir)/doc/common && pwd` ;\
else \
common_dir=$(kde_libs_htmldir)/en/common ;\
fi ;\
$(LN_S) $$common_dir $(top_builddir)/apidocs/common ;\
doxygen Doxyfile; \
rm -f Doxyfile
.PHONY: apidox-am-yes apidox-am-no install-data-local install-apidox install-apidox uninstall-local uninstall-apidox uninstall-apidox apidox apidox-am-toplevel-no apidox-am-toplevel-yes
# Local Variables:
# mode: makefile
# End:

1133
admin/Doxyfile.global

File diff suppressed because it is too large Load Diff

35
admin/Makefile.common

@ -1,35 +0,0 @@
### Makefile.common
###
### Copyright (C) 2002 by the KDE developers
### All the real work is done by the shellscript cvs.sh
SHELL=/bin/sh
cvs dist cvs-clean configure configure.in configure.files subdirs package-messages package-merge Makefile.am acinclude.m4 extract-messages:
@admindir=$(admindir); \
if test "x$$admindir" = x; then \
admindir=.; until test -f $$admindir/admin/cvs.sh; do \
admindir=$$admindir/..; \
if test `cd $$admindir && pwd` = / ; then break; fi; \
done; \
admindir=$$admindir/admin; \
if test -f $$admindir/cvs.sh; then :; else \
echo "Can't find the admin/ directory in any parent of the"; \
echo "current directory. Please set it with admindir=..."; \
exit 1; \
fi; \
fi; \
if test "$@" = "package-merge"; then \
MAKE="$(MAKE)" POFILES="$(POFILES)" PACKAGE="$(PACKAGE)" \
$(SHELL) $$admindir/cvs.sh package-merge ;\
else \
MAKE="$(MAKE)" $(SHELL) $$admindir/cvs.sh $@ ;\
fi
configure.in: configure.files subdirs
configure.files: subdirs
.SILENT:
.PHONY: cvs dist cvs-clean package-merge package-messages

5776
admin/acinclude.m4.in

File diff suppressed because it is too large Load Diff

2448
admin/am_edit

File diff suppressed because it is too large Load Diff

156
admin/bcheck.pl

@ -1,156 +0,0 @@
#!/usr/bin/perl -w
use DB_File;
use Fcntl ':flock';
if (!defined($ARGV[0])) {
print "usage: requires .class dump as parameter!\n";
exit;
}
sub bailout
{
untie %bcheckdb if(defined(%bcheckdb));
if(defined(MYLOCK)) {
flock MYLOCK, LOCK_UN;
close(MYLOCK);
}
print @_;
exit 5;
}
sub ask_user
{
my ($dbkey, $dbchunk) = @_;
if (defined($ENV{"BCHECK_UPDATE"})) {
$bcheckdb{$dbkey} = $dbchunk;
return;
}
&bailout("BC problem detected") if (! -t STDIN);
print "(I)gnore / (Q)uit / (U)pdate: ";
my $key;
while(defined(read STDIN, $key, 1)) {
$key = lc($key);
print "got: >$key<\n";
return if ($key eq 'i');
&bailout("BC problem. aborted") if ($key eq 'q');
if ($key eq 'u') {
$bcheckdb{$dbkey} = $dbchunk;
return;
}
print "\n(I)gnore / (Q)uit / (U)pdate: ";
}
}
sub diff_chunk($$)
{
my ($oldl, $newl) = @_;
my @old = split /^/m, $oldl;
my @new = split /^/m, $newl;
my $haschanges = 0;
my $max = $#old > $#new ? $#old : $#new;
die "whoops. key different" if ($old[0] ne $new[0]);
if ($#old != $#new) {
warn ("Structural difference.\n");
print @old;
print "-----------------------------------------------\n";
print @new;
$haschanges = 1;
return $haschanges;
}
print $old[0];
my ($class) = ($old[0] =~ /^(?:Class |Vtable for )(\S+)/);
my $c = 1;
while ($c < $max) {
my ($o, $n) = ($old[$c], $new[$c]);
chomp $o;
chomp $n;
$c++;
next if ($o eq $n);
if(defined($class) and $n =~ /^(\d+\s+)\w+(::\S+\s*.*)$/) {
next if ($n eq "$1$class$2");
}
$haschanges = 1;
print "-$o\n+$n\n\n";
}
return $haschanges;
}
local $dblock = $ENV{"HOME"} . "/bcheck.lock";
my $dbfile = $ENV{"HOME"} . "/bcheck.db";
my $cdump = $ARGV[0];
die "file $cdump is not readable: $!" if (! -f $cdump);
# make sure the advisory lock exists
open(MYLOCK, ">$dblock");
print MYLOCK "";
flock MYLOCK, LOCK_EX;
tie %bcheckdb, 'DB_File', $dbfile;
my $chunk = "";
open (IN, "<$cdump") or die "cannot open $cdump: $!";
while (<IN>) {
chop;
s/0x[0-9a-fA-F]+/0x......../g;
s/base size=/size=/g;
s/base align=/align=/g;
$chunk .= $_ . "\n";
if(/^\s*$/) {
my @lines = split /^/m, $chunk;
my $key = $lines[0];
chomp $key;
if($key !~ /<anonymous struct>/ &&
$key !~ /<anonymous union>/) {
if(defined($bcheckdb{$key})) {
my $dbversion = $bcheckdb{$key};
if($dbversion ne $chunk) {
&ask_user($key, $chunk) if(&diff_chunk($dbversion, $chunk));
}
}
else {
$bcheckdb{$key} = $chunk;
print "NEW: $key\n";
}
}
$chunk = "";
next;
}
}
close(IN);
untie %bcheckdb;
flock MYLOCK, LOCK_UN;
close(MYLOCK);
exit 0;

99
admin/compile

@ -1,99 +0,0 @@
#! /bin/sh
# Wrapper for compilers which do not understand `-c -o'.
# Copyright 1999, 2000 Free Software Foundation, Inc.
# Written by Tom Tromey <tromey@cygnus.com>.
#
# 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, 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
# As a special exception to the GNU General Public License, if you
# distribute this file as part of a program that contains a
# configuration script generated by Autoconf, you may include it under
# the same distribution terms that you use for the rest of that program.
# Usage:
# compile PROGRAM [ARGS]...
# `-o FOO.o' is removed from the args passed to the actual compile.
prog=$1
shift
ofile=
cfile=
args=
while test $# -gt 0; do
case "$1" in
-o)
# configure might choose to run compile as `compile cc -o foo foo.c'.
# So we do something ugly here.
ofile=$2
shift
case "$ofile" in
*.o | *.obj)
;;
*)
args="$args -o $ofile"
ofile=
;;
esac
;;
*.c)
cfile=$1
args="$args $1"
;;
*)
args="$args $1"
;;
esac
shift
done
if test -z "$ofile" || test -z "$cfile"; then
# If no `-o' option was seen then we might have been invoked from a
# pattern rule where we don't need one. That is ok -- this is a
# normal compilation that the losing compiler can handle. If no
# `.c' file was seen then we are probably linking. That is also
# ok.
exec "$prog" $args
fi
# Name of file we expect compiler to create.
cofile=`echo $cfile | sed -e 's|^.*/||' -e 's/\.c$/.o/'`
# Create the lock directory.
# Note: use `[/.-]' here to ensure that we don't use the same name
# that we are using for the .o file. Also, base the name on the expected
# object file name, since that is what matters with a parallel build.
lockdir=`echo $cofile | sed -e 's|[/.-]|_|g'`.d
while true; do
if mkdir $lockdir > /dev/null 2>&1; then
break
fi
sleep 1
done
# FIXME: race condition here if user kills between mkdir and trap.
trap "rmdir $lockdir; exit 1" 1 2 15
# Run the compile.
"$prog" $args
status=$?
if test -f "$cofile"; then
mv "$cofile" "$ofile"
fi
rmdir $lockdir
exit $status

191
admin/conf.change.pl

@ -1,191 +0,0 @@
#!/usr/bin/env perl
# this script patches a config.status file, to use our own perl script
# in the main loop
# we do it this way to circumvent hacking (and thereby including)
# autoconf function (which are GPL) into our LGPL acinclude.m4.in
# written by Michael Matz <matz@kde.org>
# adapted by Dirk Mueller <mueller@kde.org>
#
# This file is free software; you can redistribute it and/or
# modify it under the terms of the GNU Library General Public
# License as published by the Free Software Foundation; either
# version 2 of the License, or (at your option) any later version.
# This library 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
# Library General Public License for more details.
# You should have received a copy of the GNU Library General Public License
# along with this library; see the file COPYING.LIB. If not, write to
# the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
# Boston, MA 02111-1307, USA.
# we have to change two places
# 1. the splitting of the substitutions into chunks of 90 (or even 48 in
# later autoconf's
# 2. the big main loop which patches all Makefile.in's
use strict;
use File::Basename;
my $ac_aux_dir = dirname($0);
my ($flag);
my $ac_version = 0;
my $vpath_seen = 0;
$flag = 0;
while (<>) {
# usage of $flag: 0 -- we have seen nothing yet
# 1 -- we are in (1)
# 2 -- we have ended (1)
# 3 -- we are in (2)
# 4 -- we ended (2)
if ($flag == 4) {
print;
} elsif ($flag == 0) {
# 1. begins with (including): "ac_max_sed_\S+\s*=\s*[0-9]+..."
# ends with (excluding) "CONFIG_FILE=..."
# in later autoconf (2.14.1) there is no CONFIG_FILES= line,
# but instead the (2) directly follow (1)
if (/^\s*ac_max_sed_([a-z]+).*=\s*([0-9]+)/ ) {
$flag = 1;
if ($1 eq 'lines') {
# lets hope its different with 2141,
# wasn't able to verify that
if ($2 eq '48') {
$ac_version = 250;
}
else {
$ac_version = 2141;
}
} elsif ($1 eq 'cmds') {
$ac_version = 213;
}
# hmm, we don't know the autoconf version, but we try anyway
} else {
print;
}
} elsif ($flag == 1) {
if (/^\s*CONFIG_FILES=/ && ($ac_version != 250)) {
print;
$flag = 2;
} elsif (/^\s*for\s+ac_file\s+in\s+.*CONFIG_FILES/ ) {
$flag = 3;
}
} elsif ($flag == 2) {
# 2. begins with: "for ac_file in.*CONFIG_FILES" (the next 'for' after (1))
# end with: "rm -f conftest.s\*"
# on autoconf 250, it ends with '# CONFIG_HEADER section'
#
# gg: if a post-processing commands section is found first,
# stop there and insert a new loop to honor the case/esac.
# (pattern: /^\s+#\sRun the commands associated with the file./)
if (/^\s*for\s+ac_file\s+in\s+.*CONFIG_FILES/ ) {
$flag = 3;
} else {
print;
}
} elsif ($flag == 3) {
if (/^\s*rm\s+-f\s+conftest/ ) {
$flag = 4;
&insert_main_loop();
} elsif (/^\s*rm\s+-f\s+.*ac_cs_root/ ) {
$flag = 4;
&insert_main_loop();
#die "hhhhhhh";
if ($ac_version != 2141) {
print STDERR "hmm, don't know autoconf version\n";
}
} elsif (/^\#\s*CONFIG_(HEADER|COMMANDS) section.*|^\s+#\s(Run) the commands associated/) {
$flag = 4;
my $commands = defined $2;
&insert_main_loop();
$commands && insert_command_loop();
if($ac_version != 250) {
print STDERR "hmm, something went wrong :-(\n";
}
} elsif (/VPATH/ ) {
$vpath_seen = 1;
}
}
}
die "wrong input (flag != 4)" unless $flag == 4;
print STDERR "hmm, don't know autoconf version\n" unless $ac_version;
sub insert_main_loop {
if ($ac_version == 250) {
&insert_main_loop_250();
}
else {
&insert_main_loop_213();
}
}
sub insert_main_loop_250 {
print <<EOF;
#echo Doing the fast build of Makefiles -- autoconf $ac_version
EOF
if ($vpath_seen) {
print <<EOF;
# VPATH subst was seen in original config.status main loop
echo '/^[ ]*VPATH[ ]*=[^:]*\$/d' >>\$tmp/subs.sed
EOF
}
print <<EOF;
rm -f \$tmp/subs.files
for ac_file in .. \$CONFIG_FILES ; do
if test "x\$ac_file" != x..; then
echo \$ac_file >> \$tmp/subs.files
fi
done
if test -f \$tmp/subs.files ; then
perl $ac_aux_dir/config.pl "\$tmp/subs.sed" "\$tmp/subs.files" "\$srcdir" "\$INSTALL"
fi
rm -f \$tmp/subs.files
fi
EOF
return;
}
sub insert_main_loop_213 {
print <<EOF;
#echo Doing the fast build of Makefiles -- autoconf $ac_version
if test "x\$ac_cs_root" = "x" ; then
ac_cs_root=conftest
fi
EOF
if ($vpath_seen) {
print <<EOF;
# VPATH subst was seen in original config.status main loop
echo '/^[ ]*VPATH[ ]*=[^:]*\$/d' >> \$ac_cs_root.subs
EOF
}
print <<EOF;
rm -f \$ac_cs_root.sacfiles
for ac_file in .. \$CONFIG_FILES ; do
if test "x\$ac_file" != x..; then
echo \$ac_file >> \$ac_cs_root.sacfiles
fi
done
if test -f \$ac_cs_root.sacfiles ; then
perl $ac_aux_dir/config.pl "\$ac_cs_root.subs" "\$ac_cs_root.sacfiles" "\$ac_given_srcdir" "\$ac_given_INSTALL"
fi
rm -f \$ac_cs_root.s*
EOF
return;
}
sub insert_command_loop {
print <<EOF;
for ac_file in .. \$CONFIG_FILES ; do
EOF
}

1449
admin/config.guess vendored

File diff suppressed because it is too large Load Diff

236
admin/config.pl

@ -1,236 +0,0 @@
#!/usr/bin/env perl
# a script for use by autoconf to make the Makefiles
# from the Makefile.in's
#
# the original autoconf mechanism first splits all substitutions into groups
# of ca. 90, and than invokes sed for _every_ Makefile.in and every group
# (so around 2-3 times per Makefile.in). So this takes forever, as sed
# has to recompile the regexps every time.
#
# this script does better. It changes all Makefile.ins in one process.
# in kdelibs the time for building Makefile went down from 2:59 min to 13 sec!
#
# written by Michael Matz <matz@kde.org>
# adapted by Dirk Mueller <mueller@kde.org>
# This file is free software; you can redistribute it and/or
# modify it under the terms of the GNU Library General Public
# License as published by the Free Software Foundation; either
# version 2 of the License, or (at your option) any later version.
# This library 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
# Library General Public License for more details.
# You should have received a copy of the GNU Library General Public License
# along with this library; see the file COPYING.LIB. If not, write to
# the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
# Boston, MA 02111-1307, USA.
use strict;
use File::Path;
my $ac_subs=$ARGV[0];
my $ac_sacfiles = $ARGV[1];
my $ac_given_srcdir=$ARGV[2];
my $ac_given_INSTALL=$ARGV[3];
my @comp_match;
my @comp_subs;
#print "ac_subs=$ac_subs\n";
#print "ac_sacfiles=$ac_sacfiles\n";
#print "ac_given_srcdir=$ac_given_srcdir\n";
#print "ac_given_INSTALL=$ac_given_INSTALL\n";
my $configure_input;
my ($srcdir, $top_srcdir);
my $INSTALL;
my $bad_perl = ($] < 5.005);
my $created_file_count = 0;
open(CF, "< $ac_subs") || die "can't open $ac_subs: $!";
my @subs = <CF>;
close(CF);
chomp @subs;
@comp_match=();
@comp_subs=();
if ($bad_perl) {
print "Using perl older than version 5.005\n";
foreach my $pat (@subs) {
if ( ($pat =~ m/s%([^%]*)%([^%]*)%g/ )
|| ($pat =~ m/s%([^%]*)%([^%]*)%;t/ )
|| ($pat =~ m/s,([^,]*),(.*),;t/)
|| ($pat =~ m%s/([^/]*)/([^/]*)/g% )
|| ($pat =~ m%s/([^/]*)/([^/]*)/;t% )
) {
# form : s%bla%blubb%g
# or s%bla%blubb%;t t (autoconf > 2.13 and < 2.52 ?)
# or s,bla,blubb,;t t (autoconf 2.52)
my $srch = $1;
my $repl = $2;
$repl =~ s/\\(.)/$1/g;
push @comp_subs, make_closure($srch, $repl);
} elsif ( ($pat =~ /%([^%]*)%d/ )
|| ($pat =~ m%/([^/]*)/d% )
) {
push @comp_subs, make_closure($1, "");
} else {
die "Uhh. Malformed pattern in $ac_subs ($pat)"
unless ( $pat =~ /^\s*$/ ); # ignore white lines
}
}
} else {
foreach my $pat (@subs) {
if ( ($pat =~ /s%([^%]*)%([^%]*)%g/ ) ||
($pat =~ /s%([^%]*)%([^%]*)%;t/ ) ||
($pat =~ /s,([^,]*),(.*),;t/) ) {
# form : s%bla%blubb%g
# or s%bla%blubb%;t t (autoconf > 2.13 and < 2.52 ?)
# or s,bla,blubb,;t t (autoconf 2.52)
my $srch = $1;
my $repl = $2;
push @comp_match, eval "qr/\Q$srch\E/"; # compile match pattern
$repl =~</