mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-14 00:07:35 -04:00
updated to support kdevelop
git-svn-id: http://svn.osgeo.org/qgis/trunk@52 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
parent
6ca58da88a
commit
bd84d0d576
646
Makefile.in
Normal file
646
Makefile.in
Normal file
@ -0,0 +1,646 @@
|
||||
# Makefile.in generated automatically by automake 1.5 from Makefile.am.
|
||||
# KDE tags expanded automatically by am_edit - $Revision$
|
||||
|
||||
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
|
||||
# Free Software Foundation, Inc.
|
||||
# This Makefile.in 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.
|
||||
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
# PARTICULAR PURPOSE.
|
||||
|
||||
@SET_MAKE@
|
||||
|
||||
####### kdevelop will overwrite this part!!! (begin)##########
|
||||
|
||||
SHELL = @SHELL@
|
||||
|
||||
srcdir = @srcdir@
|
||||
top_srcdir = @top_srcdir@
|
||||
VPATH = @srcdir@
|
||||
prefix = @prefix@
|
||||
exec_prefix = @exec_prefix@
|
||||
|
||||
bindir = @bindir@
|
||||
sbindir = @sbindir@
|
||||
libexecdir = @libexecdir@
|
||||
datadir = @datadir@
|
||||
sysconfdir = @sysconfdir@
|
||||
sharedstatedir = @sharedstatedir@
|
||||
localstatedir = @localstatedir@
|
||||
libdir = @libdir@
|
||||
infodir = @infodir@
|
||||
mandir = @mandir@
|
||||
includedir = @includedir@
|
||||
oldincludedir = /usr/include
|
||||
pkgdatadir = $(datadir)/@PACKAGE@
|
||||
pkglibdir = $(libdir)/@PACKAGE@
|
||||
pkgincludedir = $(includedir)/@PACKAGE@
|
||||
top_builddir = .
|
||||
|
||||
ACLOCAL = @ACLOCAL@
|
||||
AUTOCONF = @AUTOCONF@
|
||||
AUTOMAKE = @AUTOMAKE@
|
||||
AUTOHEADER = @AUTOHEADER@
|
||||
|
||||
INSTALL = @INSTALL@
|
||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||
INSTALL_DATA = @INSTALL_DATA@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
INSTALL_HEADER = $(INSTALL_DATA)
|
||||
transform = @program_transform_name@
|
||||
NORMAL_INSTALL = :
|
||||
PRE_INSTALL = :
|
||||
POST_INSTALL = :
|
||||
NORMAL_UNINSTALL = :
|
||||
PRE_UNINSTALL = :
|
||||
POST_UNINSTALL = :
|
||||
build_alias = @build_alias@
|
||||
build_triplet = @build@
|
||||
host_alias = @host_alias@
|
||||
host_triplet = @host@
|
||||
target_alias = @target_alias@
|
||||
target_triplet = @target@
|
||||
AMTAR = @AMTAR@
|
||||
ARTSCCONFIG = @ARTSCCONFIG@
|
||||
AS = @AS@
|
||||
AUTODIRS = @AUTODIRS@
|
||||
AWK = @AWK@
|
||||
CC = @CC@
|
||||
CONF_FILES = @CONF_FILES@
|
||||
CPP = @CPP@
|
||||
CXX = @CXX@
|
||||
CXXCPP = @CXXCPP@
|
||||
DCOPIDL = @DCOPIDL@
|
||||
DCOPIDL2CPP = @DCOPIDL2CPP@
|
||||
DCOP_DEPENDENCIES = @DCOP_DEPENDENCIES@
|
||||
DEPDIR = @DEPDIR@
|
||||
DLLTOOL = @DLLTOOL@
|
||||
DOXYGEN = @DOXYGEN@
|
||||
DOXYGEN_PROJECT_NAME = @DOXYGEN_PROJECT_NAME@
|
||||
DOXYGEN_PROJECT_NUMBER = @DOXYGEN_PROJECT_NUMBER@
|
||||
DPMSINC = @DPMSINC@
|
||||
DPMSLIB = @DPMSLIB@
|
||||
ECHO = @ECHO@
|
||||
EXEEXT = @EXEEXT@
|
||||
FRAMEWORK_COREAUDIO = @FRAMEWORK_COREAUDIO@
|
||||
GCJ = @GCJ@
|
||||
GCJFLAGS = @GCJFLAGS@
|
||||
GLINC = @GLINC@
|
||||
GLLIB = @GLLIB@
|
||||
GMSGFMT = @GMSGFMT@
|
||||
IDL = @IDL@
|
||||
IDL_DEPENDENCIES = @IDL_DEPENDENCIES@
|
||||
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||
JAR = @JAR@
|
||||
JAVAC = @JAVAC@
|
||||
JAVAH = @JAVAH@
|
||||
JVMLIBS = @JVMLIBS@
|
||||
KDECONFIG = @KDECONFIG@
|
||||
KDE_EXTRA_RPATH = @KDE_EXTRA_RPATH@
|
||||
KDE_HAS_DOXYGEN = @KDE_HAS_DOXYGEN@
|
||||
KDE_HAVE_DOT = @KDE_HAVE_DOT@
|
||||
KDE_INCLUDES = @KDE_INCLUDES@
|
||||
KDE_LDFLAGS = @KDE_LDFLAGS@
|
||||
KDE_MT_LDFLAGS = @KDE_MT_LDFLAGS@
|
||||
KDE_MT_LIBS = @KDE_MT_LIBS@
|
||||
KDE_PLUGIN = @KDE_PLUGIN@
|
||||
KDE_RPATH = @KDE_RPATH@
|
||||
KDE_USE_CLOSURE_FALSE = @KDE_USE_CLOSURE_FALSE@
|
||||
KDE_USE_CLOSURE_TRUE = @KDE_USE_CLOSURE_TRUE@
|
||||
KDE_USE_FINAL_FALSE = @KDE_USE_FINAL_FALSE@
|
||||
KDE_USE_FINAL_TRUE = @KDE_USE_FINAL_TRUE@
|
||||
KDE_XSL_STYLESHEET = @KDE_XSL_STYLESHEET@
|
||||
LEX = @LEX@
|
||||
LEXLIB = @LEXLIB@
|
||||
LIBCOMPAT = @LIBCOMPAT@
|
||||
LIBCRYPT = @LIBCRYPT@
|
||||
LIBDL = @LIBDL@
|
||||
LIBGEN = @LIBGEN@
|
||||
LIBJPEG = @LIBJPEG@
|
||||
LIBMICO = @LIBMICO@
|
||||
LIBOBJS = @LIBOBJS@
|
||||
LIBPNG = @LIBPNG@
|
||||
LIBPTHREAD = @LIBPTHREAD@
|
||||
LIBPYTHON = @LIBPYTHON@
|
||||
LIBQIMGIO = @LIBQIMGIO@
|
||||
LIBRESOLV = @LIBRESOLV@
|
||||
LIBSHADOW = @LIBSHADOW@
|
||||
LIBSM = @LIBSM@
|
||||
LIBSOCKET = @LIBSOCKET@
|
||||
LIBTIFF = @LIBTIFF@
|
||||
LIBTOOL = @LIBTOOL@
|
||||
LIBUCB = @LIBUCB@
|
||||
LIBUTIL = @LIBUTIL@
|
||||
LIBXINERAMA = @LIBXINERAMA@
|
||||
LIBZ = @LIBZ@
|
||||
LIB_KAB = @LIB_KAB@
|
||||
LIB_KDECORE = @LIB_KDECORE@
|
||||
LIB_KDEPRINT = @LIB_KDEPRINT@
|
||||
LIB_KDEUI = @LIB_KDEUI@
|
||||
LIB_KFILE = @LIB_KFILE@
|
||||
LIB_KFM = @LIB_KFM@
|
||||
LIB_KHTML = @LIB_KHTML@
|
||||
LIB_KIMGIO = @LIB_KIMGIO@
|
||||
LIB_KIO = @LIB_KIO@
|
||||
LIB_KPARTS = @LIB_KPARTS@
|
||||
LIB_KSPELL = @LIB_KSPELL@
|
||||
LIB_KSYCOCA = @LIB_KSYCOCA@
|
||||
LIB_POLL = @LIB_POLL@
|
||||
LIB_QPE = @LIB_QPE@
|
||||
LIB_QT = @LIB_QT@
|
||||
LIB_QTOPIA = @LIB_QTOPIA@
|
||||
LIB_SMB = @LIB_SMB@
|
||||
LIB_X11 = @LIB_X11@
|
||||
LIB_XEXT = @LIB_XEXT@
|
||||
LN_S = @LN_S@
|
||||
MCOPIDL = @MCOPIDL@
|
||||
MEINPROC = @MEINPROC@
|
||||
MICO_INCLUDES = @MICO_INCLUDES@
|
||||
MICO_LDFLAGS = @MICO_LDFLAGS@
|
||||
MOC = @MOC@
|
||||
MSGFMT = @MSGFMT@
|
||||
NOOPT_CFLAGS = @NOOPT_CFLAGS@
|
||||
NOOPT_CXXFLAGS = @NOOPT_CXXFLAGS@
|
||||
NOREPO = @NOREPO@
|
||||
OBJDUMP = @OBJDUMP@
|
||||
OBJEXT = @OBJEXT@
|
||||
PACKAGE = @PACKAGE@
|
||||
PAMLIBS = @PAMLIBS@
|
||||
PASSWDLIBS = @PASSWDLIBS@
|
||||
PYTHONINC = @PYTHONINC@
|
||||
PYTHONLIB = @PYTHONLIB@
|
||||
PYTHONMODDIR = @PYTHONMODDIR@
|
||||
QTDOCDIR = @QTDOCDIR@
|
||||
QTE_NORTTI = @QTE_NORTTI@
|
||||
QTOPIA_INCLUDES = @QTOPIA_INCLUDES@
|
||||
QT_INCLUDES = @QT_INCLUDES@
|
||||
QT_LDFLAGS = @QT_LDFLAGS@
|
||||
RANLIB = @RANLIB@
|
||||
RC = @RC@
|
||||
REPO = @REPO@
|
||||
SETUIDFLAGS = @SETUIDFLAGS@
|
||||
STRIP = @STRIP@
|
||||
TOPSUBDIRS = @TOPSUBDIRS@
|
||||
UIC = @UIC@
|
||||
UIC_TR = @UIC_TR@
|
||||
USER_INCLUDES = @USER_INCLUDES@
|
||||
USER_LDFLAGS = @USER_LDFLAGS@
|
||||
USE_EXCEPTIONS = @USE_EXCEPTIONS@
|
||||
USE_RTTI = @USE_RTTI@
|
||||
USE_THREADS = @USE_THREADS@
|
||||
VERSION = @VERSION@
|
||||
WOVERLOADED_VIRTUAL = @WOVERLOADED_VIRTUAL@
|
||||
XGETTEXT = @XGETTEXT@
|
||||
XPMINC = @XPMINC@
|
||||
XPMLIB = @XPMLIB@
|
||||
X_EXTRA_LIBS = @X_EXTRA_LIBS@
|
||||
X_INCLUDES = @X_INCLUDES@
|
||||
X_LDFLAGS = @X_LDFLAGS@
|
||||
X_PRE_LIBS = @X_PRE_LIBS@
|
||||
all_includes = @all_includes@
|
||||
all_libraries = @all_libraries@
|
||||
am__include = @am__include@
|
||||
am__quote = @am__quote@
|
||||
idldir = @idldir@
|
||||
install_sh = @install_sh@
|
||||
jni_includes = @jni_includes@
|
||||
kde_appsdir = @kde_appsdir@
|
||||
kde_bindir = @kde_bindir@
|
||||
kde_confdir = @kde_confdir@
|
||||
kde_datadir = @kde_datadir@
|
||||
kde_htmldir = @kde_htmldir@
|
||||
kde_icondir = @kde_icondir@
|
||||
kde_includes = @kde_includes@
|
||||
kde_libraries = @kde_libraries@
|
||||
kde_libs_htmldir = @kde_libs_htmldir@
|
||||
kde_libs_prefix = @kde_libs_prefix@
|
||||
kde_locale = @kde_locale@
|
||||
kde_mimedir = @kde_mimedir@
|
||||
kde_moduledir = @kde_moduledir@
|
||||
kde_qtver = @kde_qtver@
|
||||
kde_servicesdir = @kde_servicesdir@
|
||||
kde_servicetypesdir = @kde_servicetypesdir@
|
||||
kde_sounddir = @kde_sounddir@
|
||||
kde_styledir = @kde_styledir@
|
||||
kde_templatesdir = @kde_templatesdir@
|
||||
kde_wallpaperdir = @kde_wallpaperdir@
|
||||
kde_widgetdir = @kde_widgetdir@
|
||||
micodir = @micodir@
|
||||
qt_includes = @qt_includes@
|
||||
qt_libraries = @qt_libraries@
|
||||
x_includes = @x_includes@
|
||||
x_libraries = @x_libraries@
|
||||
|
||||
SUBDIRS = qgis
|
||||
|
||||
EXTRA_DIST = qgis.kdevprj admin AUTHORS COPYING ChangeLog INSTALL README TODO qgis.lsm
|
||||
|
||||
####### kdevelop will overwrite this part!!! (end)############
|
||||
# not a GNU package. You can remove this line, if
|
||||
# have all needed files, that a GNU package needs
|
||||
AUTOMAKE_OPTIONS = foreign
|
||||
|
||||
MAINTAINERCLEANFILES = subdirs configure.in acinclude.m4 configure.files
|
||||
subdir = .
|
||||
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
||||
mkinstalldirs = $(SHELL) $(top_srcdir)/admin/mkinstalldirs
|
||||
CONFIG_HEADER = config.h
|
||||
CONFIG_CLEAN_FILES =
|
||||
DIST_SOURCES =
|
||||
|
||||
RECURSIVE_TARGETS = info-recursive dvi-recursive install-info-recursive \
|
||||
uninstall-info-recursive all-recursive install-data-recursive \
|
||||
install-exec-recursive installdirs-recursive install-recursive \
|
||||
uninstall-recursive check-recursive installcheck-recursive
|
||||
DIST_COMMON = README ./stamp-h.in AUTHORS COPYING ChangeLog INSTALL \
|
||||
Makefile.am Makefile.in TODO acinclude.m4 aclocal.m4 \
|
||||
admin/ChangeLog admin/config.guess admin/config.sub \
|
||||
admin/depcomp admin/install-sh admin/ltmain.sh admin/missing \
|
||||
admin/mkinstalldirs admin/ylwrap config.h.in configure \
|
||||
configure.in
|
||||
DIST_SUBDIRS = $(SUBDIRS)
|
||||
#>- all: config.h
|
||||
#>+ 1
|
||||
all: docs-am config.h
|
||||
$(MAKE) $(AM_MAKEFLAGS) all-recursive
|
||||
|
||||
.SUFFIXES:
|
||||
|
||||
mostlyclean-libtool:
|
||||
-rm -f *.lo
|
||||
|
||||
clean-libtool:
|
||||
-rm -rf .libs _libs
|
||||
|
||||
distclean-libtool:
|
||||
-rm -f libtool
|
||||
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
||||
#>- cd $(top_srcdir) && \
|
||||
#>- $(AUTOMAKE) --foreign Makefile
|
||||
#>+ 3
|
||||
cd $(top_srcdir) && \
|
||||
$(AUTOMAKE) --foreign Makefile
|
||||
cd $(top_srcdir) && perl admin/am_edit Makefile.in
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
cd $(top_builddir) && \
|
||||
CONFIG_HEADERS= CONFIG_LINKS= \
|
||||
CONFIG_FILES=$@ $(SHELL) ./config.status
|
||||
|
||||
$(top_builddir)/config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
|
||||
$(SHELL) ./config.status --recheck
|
||||
$(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
|
||||
cd $(srcdir) && $(AUTOCONF)
|
||||
|
||||
$(ACLOCAL_M4): configure.in acinclude.m4
|
||||
cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
|
||||
config.h: stamp-h
|
||||
@if test ! -f $@; then \
|
||||
rm -f stamp-h; \
|
||||
$(MAKE) stamp-h; \
|
||||
else :; fi
|
||||
stamp-h: $(srcdir)/config.h.in $(top_builddir)/config.status
|
||||
@rm -f stamp-h stamp-hT
|
||||
@echo timestamp > stamp-hT 2> /dev/null
|
||||
cd $(top_builddir) \
|
||||
&& CONFIG_FILES= CONFIG_HEADERS=config.h \
|
||||
$(SHELL) ./config.status
|
||||
@mv stamp-hT stamp-h
|
||||
$(srcdir)/config.h.in: $(srcdir)/./stamp-h.in
|
||||
@if test ! -f $@; then \
|
||||
rm -f $(srcdir)/./stamp-h.in; \
|
||||
$(MAKE) $(srcdir)/./stamp-h.in; \
|
||||
else :; fi
|
||||
$(srcdir)/./stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
||||
@rm -f $(srcdir)/./stamp-h.in $(srcdir)/./stamp-h.inT
|
||||
@echo timestamp > $(srcdir)/./stamp-h.inT 2> /dev/null
|
||||
cd $(top_srcdir) && $(AUTOHEADER)
|
||||
@mv $(srcdir)/./stamp-h.inT $(srcdir)/./stamp-h.in
|
||||
|
||||
distclean-hdr:
|
||||
-rm -f config.h
|
||||
uninstall-info-am:
|
||||
|
||||
# This directory's subdirectories are mostly independent; you can cd
|
||||
# into them and run `make' without going through this Makefile.
|
||||
# To change the values of `make' variables: instead of editing Makefiles,
|
||||
# (1) if the variable is set in `config.status', edit `config.status'
|
||||
# (which will cause the Makefiles to be regenerated when you run `make');
|
||||
# (2) otherwise, pass the desired values on the `make' command line.
|
||||
$(RECURSIVE_TARGETS):
|
||||
@set fnord $(MAKEFLAGS); amf=$$2; \
|
||||
dot_seen=no; \
|
||||
target=`echo $@ | sed s/-recursive//`; \
|
||||
list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||
echo "Making $$target in $$subdir"; \
|
||||
if test "$$subdir" = "."; then \
|
||||
dot_seen=yes; \
|
||||
local_target="$$target-am"; \
|
||||
else \
|
||||
local_target="$$target"; \
|
||||
fi; \
|
||||
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|
||||
|| case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
|
||||
done; \
|
||||
if test "$$dot_seen" = "no"; then \
|
||||
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
|
||||
fi; test -z "$$fail"
|
||||
|
||||
mostlyclean-recursive clean-recursive distclean-recursive \
|
||||
maintainer-clean-recursive:
|
||||
@set fnord $(MAKEFLAGS); amf=$$2; \
|
||||
dot_seen=no; \
|
||||
case "$@" in \
|
||||
distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
|
||||
*) list='$(SUBDIRS)' ;; \
|
||||
esac; \
|
||||
rev=''; for subdir in $$list; do \
|
||||
if test "$$subdir" = "."; then :; else \
|
||||
rev="$$subdir $$rev"; \
|
||||
fi; \
|
||||
done; \
|
||||
rev="$$rev ."; \
|
||||
target=`echo $@ | sed s/-recursive//`; \
|
||||
for subdir in $$rev; do \
|
||||
echo "Making $$target in $$subdir"; \
|
||||
if test "$$subdir" = "."; then \
|
||||
local_target="$$target-am"; \
|
||||
else \
|
||||
local_target="$$target"; \
|
||||
fi; \
|
||||
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|
||||
|| case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
|
||||
done && test -z "$$fail"
|
||||
tags-recursive:
|
||||
list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||
test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
|
||||
done
|
||||
|
||||
tags: TAGS
|
||||
|
||||
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
|
||||
list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
|
||||
unique=`for i in $$list; do \
|
||||
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
||||
done | \
|
||||
$(AWK) ' { files[$$0] = 1; } \
|
||||
END { for (i in files) print i; }'`; \
|
||||
mkid -fID $$unique $(LISP)
|
||||
|
||||
TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
|
||||
$(TAGS_FILES) $(LISP)
|
||||
tags=; \
|
||||
here=`pwd`; \
|
||||
list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||
if test "$$subdir" = .; then :; else \
|
||||
test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
|
||||
fi; \
|
||||
done; \
|
||||
list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
|
||||
unique=`for i in $$list; do \
|
||||
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
||||
done | \
|
||||
$(AWK) ' { files[$$0] = 1; } \
|
||||
END { for (i in files) print i; }'`; \
|
||||
test -z "$(ETAGS_ARGS)config.h.in$$unique$(LISP)$$tags" \
|
||||
|| etags $(ETAGS_ARGS) $$tags config.h.in $$unique $(LISP)
|
||||
|
||||
GTAGS:
|
||||
here=`CDPATH=: && cd $(top_builddir) && pwd` \
|
||||
&& cd $(top_srcdir) \
|
||||
&& gtags -i $(GTAGS_ARGS) $$here
|
||||
|
||||
distclean-tags:
|
||||
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
|
||||
|
||||
#>- DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
||||
#>+ 4
|
||||
KDE_DIST=Makefile.dist subdirs
|
||||
|
||||
DISTFILES= $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) $(KDE_DIST)
|
||||
|
||||
|
||||
top_distdir = .
|
||||
# Avoid unsightly `./'.
|
||||
distdir = $(PACKAGE)-$(VERSION)
|
||||
|
||||
GZIP_ENV = --best
|
||||
|
||||
distdir: $(DISTFILES)
|
||||
-chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir)
|
||||
mkdir $(distdir)
|
||||
$(mkinstalldirs) $(distdir)/admin
|
||||
@for file in $(DISTFILES); do \
|
||||
if test -f $$file; then d=.; else d=$(srcdir); fi; \
|
||||
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
|
||||
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
|
||||
$(mkinstalldirs) "$(distdir)/$$dir"; \
|
||||
fi; \
|
||||
if test -d $$d/$$file; then \
|
||||
cp -pR $$d/$$file $(distdir) \
|
||||
|| exit 1; \
|
||||
else \
|
||||
test -f $(distdir)/$$file \
|
||||
|| cp -p $$d/$$file $(distdir)/$$file \
|
||||
|| exit 1; \
|
||||
fi; \
|
||||
done
|
||||
for subdir in $(SUBDIRS); do \
|
||||
if test "$$subdir" = .; then :; else \
|
||||
test -d $(distdir)/$$subdir \
|
||||
|| mkdir $(distdir)/$$subdir \
|
||||
|| exit 1; \
|
||||
(cd $$subdir && \
|
||||
$(MAKE) $(AM_MAKEFLAGS) \
|
||||
top_distdir="$(top_distdir)" \
|
||||
distdir=../$(distdir)/$$subdir \
|
||||
distdir) \
|
||||
|| exit 1; \
|
||||
fi; \
|
||||
done
|
||||
$(MAKE) $(AM_MAKEFLAGS) \
|
||||
top_distdir="${top_distdir}" distdir="$(distdir)" \
|
||||
dist-hook
|
||||
-find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
|
||||
! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
|
||||
! -type d ! -perm -400 -exec chmod a+r {} \; -o \
|
||||
! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
|
||||
|| chmod -R a+r $(distdir)
|
||||
dist: distdir
|
||||
$(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
|
||||
-chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir)
|
||||
|
||||
# This target untars the dist file and tries a VPATH configuration. Then
|
||||
# it guarantees that the distribution is self-contained by making another
|
||||
# tarfile.
|
||||
distcheck: dist
|
||||
-chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
|
||||
GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf -
|
||||
chmod -R a-w $(distdir); chmod a+w $(distdir)
|
||||
mkdir $(distdir)/=build
|
||||
mkdir $(distdir)/=inst
|
||||
chmod a-w $(distdir)
|
||||
dc_install_base=`CDPATH=: && cd $(distdir)/=inst && pwd` \
|
||||
&& cd $(distdir)/=build \
|
||||
&& ../configure --srcdir=.. --prefix=$$dc_install_base \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) dvi \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) check \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) install \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) installcheck \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) uninstall \
|
||||
&& (test `find $$dc_install_base -type f -print | wc -l` -le 1 \
|
||||
|| (echo "Error: files left after uninstall" 1>&2; \
|
||||
exit 1) ) \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) dist \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) distclean \
|
||||
&& rm -f $(distdir).tar.gz \
|
||||
&& (test `find . -type f -print | wc -l` -eq 0 \
|
||||
|| (echo "Error: files left after distclean" 1>&2; \
|
||||
exit 1) )
|
||||
-chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
|
||||
@echo "$(distdir).tar.gz is ready for distribution" | \
|
||||
sed 'h;s/./=/g;p;x;p;x'
|
||||
check-am: all-am
|
||||
check: check-recursive
|
||||
all-am: Makefile config.h
|
||||
installdirs: installdirs-recursive
|
||||
installdirs-am:
|
||||
|
||||
install: install-recursive
|
||||
install-exec: install-exec-recursive
|
||||
install-data: install-data-recursive
|
||||
uninstall: uninstall-recursive
|
||||
|
||||
install-am: all-am
|
||||
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
||||
|
||||
installcheck: installcheck-recursive
|
||||
install-strip:
|
||||
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
||||
`test -z '$(STRIP)' || \
|
||||
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
|
||||
mostlyclean-generic:
|
||||
|
||||
clean-generic:
|
||||
|
||||
distclean-generic:
|
||||
-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
|
||||
|
||||
maintainer-clean-generic:
|
||||
@echo "This command is intended for maintainers to use"
|
||||
@echo "it deletes files that may require special tools to rebuild."
|
||||
-test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
|
||||
#>- clean: clean-recursive
|
||||
#>+ 1
|
||||
clean: kde-rpo-clean clean-recursive
|
||||
|
||||
clean-am: clean-generic clean-libtool mostlyclean-am
|
||||
|
||||
dist-all: distdir
|
||||
$(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
|
||||
-chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir)
|
||||
distclean: distclean-recursive
|
||||
-rm -f config.status config.cache config.log
|
||||
distclean-am: clean-am distclean-generic distclean-hdr distclean-libtool \
|
||||
distclean-tags
|
||||
|
||||
dvi: dvi-recursive
|
||||
|
||||
dvi-am:
|
||||
|
||||
info: info-recursive
|
||||
|
||||
info-am:
|
||||
|
||||
install-data-am:
|
||||
|
||||
install-exec-am:
|
||||
|
||||
install-info: install-info-recursive
|
||||
|
||||
install-man:
|
||||
|
||||
installcheck-am:
|
||||
|
||||
maintainer-clean: maintainer-clean-recursive
|
||||
|
||||
maintainer-clean-am: distclean-am maintainer-clean-generic
|
||||
|
||||
mostlyclean: mostlyclean-recursive
|
||||
|
||||
mostlyclean-am: mostlyclean-generic mostlyclean-libtool
|
||||
|
||||
uninstall-am: uninstall-info-am
|
||||
|
||||
uninstall-info: uninstall-info-recursive
|
||||
|
||||
.PHONY: $(RECURSIVE_TARGETS) GTAGS all all-am check check-am clean \
|
||||
clean-generic clean-libtool clean-recursive dist dist-all \
|
||||
distcheck distclean distclean-generic distclean-hdr \
|
||||
distclean-libtool distclean-recursive distclean-tags distdir \
|
||||
dvi dvi-am dvi-recursive info info-am info-recursive install \
|
||||
install-am install-data install-data-am install-data-recursive \
|
||||
install-exec install-exec-am install-exec-recursive \
|
||||
install-info install-info-am install-info-recursive install-man \
|
||||
install-recursive install-strip installcheck installcheck-am \
|
||||
installdirs installdirs-am installdirs-recursive \
|
||||
maintainer-clean maintainer-clean-generic \
|
||||
maintainer-clean-recursive mostlyclean mostlyclean-generic \
|
||||
mostlyclean-libtool mostlyclean-recursive tags tags-recursive \
|
||||
uninstall uninstall-am uninstall-info-am \
|
||||
uninstall-info-recursive uninstall-recursive
|
||||
|
||||
|
||||
#$(top_srcdir)/configure.in: configure.in.in $(top_srcdir)/subdirs
|
||||
# cd $(top_srcdir) && $(MAKE) -f admin/Makefile.common configure.in ;
|
||||
|
||||
$(top_srcdir)/subdirs:
|
||||
cd $(top_srcdir) && $(MAKE) -f admin/Makefile.common subdirs
|
||||
|
||||
$(top_srcdir)/acinclude.m4: $(top_srcdir)/admin/acinclude.m4.in $(top_srcdir)/admin/libtool.m4.in
|
||||
@cd $(top_srcdir) && cat admin/acinclude.m4.in admin/libtool.m4.in > acinclude.m4
|
||||
|
||||
package-messages:
|
||||
$(MAKE) -f admin/Makefile.common package-messages
|
||||
$(MAKE) -C po merge
|
||||
|
||||
dist-hook:
|
||||
cd $(top_distdir) && perl admin/am_edit -padmin
|
||||
cd $(top_distdir) && $(MAKE) -f admin/Makefile.common subdirs
|
||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||
.NOEXPORT:
|
||||
|
||||
#>+ 2
|
||||
docs-am:
|
||||
|
||||
#>+ 6
|
||||
force-reedit:
|
||||
cd $(top_srcdir) && \
|
||||
$(AUTOMAKE) --foreign Makefile
|
||||
cd $(top_srcdir) && perl admin/am_edit Makefile.in
|
||||
|
||||
|
||||
#>+ 2
|
||||
final:
|
||||
$(MAKE) all-am
|
||||
#>+ 2
|
||||
final-install:
|
||||
$(MAKE) install-am
|
||||
#>+ 2
|
||||
no-final:
|
||||
$(MAKE) all-am
|
||||
#>+ 2
|
||||
no-final-install:
|
||||
$(MAKE) install-am
|
||||
#>+ 3
|
||||
cvs-clean:
|
||||
$(MAKE) admindir=$(top_srcdir)/admin -f $(top_srcdir)/admin/Makefile.common cvs-clean
|
||||
|
||||
#>+ 3
|
||||
kde-rpo-clean:
|
||||
-rm -f *.rpo
|
10282
acinclude.m4
Normal file
10282
acinclude.m4
Normal file
File diff suppressed because it is too large
Load Diff
10815
aclocal.m4
vendored
Normal file
10815
aclocal.m4
vendored
Normal file
File diff suppressed because it is too large
Load Diff
757
admin/ChangeLog
Normal file
757
admin/ChangeLog
Normal file
@ -0,0 +1,757 @@
|
||||
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 ;)
|
34
admin/Makefile.common
Normal file
34
admin/Makefile.common
Normal file
@ -0,0 +1,34 @@
|
||||
### 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.in configure.files subdirs package-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; \
|
||||
MAKE=$(MAKE) $(SHELL) $$admindir/cvs.sh $@
|
||||
|
||||
package-merge:
|
||||
@MAKE=$(MAKE) POFILES=$(POFILES) PACKAGE=$(PACKAGE) \
|
||||
$(SHELL) admin/cvs.sh package-merge
|
||||
|
||||
configure.in: configure.files $(shell test -f configure.files && cat configure.files) subdirs
|
||||
configure.files: subdirs
|
||||
|
||||
.SILENT:
|
||||
|
||||
.PHONY: cvs dist cvs-clean package-merge package-messages
|
4883
admin/acinclude.m4.in
Normal file
4883
admin/acinclude.m4.in
Normal file
File diff suppressed because it is too large
Load Diff
2015
admin/am_edit
Normal file
2015
admin/am_edit
Normal file
File diff suppressed because it is too large
Load Diff
177
admin/conf.change.pl
Normal file
177
admin/conf.change.pl
Normal file
@ -0,0 +1,177 @@
|
||||
#!/usr/bin/perl -w
|
||||
|
||||
# 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 File::Basename;
|
||||
|
||||
my $ac_aux_dir = dirname($0);
|
||||
my ($flag);
|
||||
local $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'
|
||||
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 section.*/) {
|
||||
$flag = 4;
|
||||
&insert_main_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;
|
||||
}
|
1325
admin/config.guess
vendored
Executable file
1325
admin/config.guess
vendored
Executable file
File diff suppressed because it is too large
Load Diff
235
admin/config.pl
Normal file
235
admin/config.pl
Normal file
@ -0,0 +1,235 @@
|
||||
#!/usr/bin/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.
|
||||
|
||||
my $ac_subs=$ARGV[0];
|
||||
my $ac_sacfiles = $ARGV[1];
|
||||
my $ac_given_srcdir=$ARGV[2];
|
||||
my $ac_given_INSTALL=$ARGV[3];
|
||||
|
||||
#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 ($srcdir, $top_srcdir);
|
||||
my $INSTALL;
|
||||
my $bad_perl = ($] < 5.005);
|
||||
|
||||
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 =~ /s%([^%]*)%([^%]*)%g/ )
|
||||
|| ($pat =~ m%/([^/]*)/([^/]*)/g% )
|
||||
|| ($pat =~ /s%([^%]*)%([^%]*)%;t/ )
|
||||
|| ($pat =~ m%/([^/]*)/([^/]*)/;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;
|
||||
$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 =~ s/\\(.)/$1/g;
|
||||
push @comp_subs, $repl;
|
||||
} elsif ( ($pat =~ /%([^%]*)%d/ )
|
||||
|| ($pat =~ m%/([^/]*)/d% )
|
||||
) {
|
||||
push @comp_match, eval "qr/\Q$1\E/";
|
||||
push @comp_subs, "";
|
||||
} else {
|
||||
die "Uhh. Malformed pattern in $ac_cs_root.subs ($pat)"
|
||||
unless ( $pat =~ /^\s*$/ ); # ignore white lines
|
||||
}
|
||||
}
|
||||
}
|
||||
undef @subs;
|
||||
|
||||
# read the list of files to be patched, form:
|
||||
# ./Makefile arts/Makefile arts/examples/Makefile arts/flow/Makefile
|
||||
|
||||
open(CF, "< $ac_sacfiles") || die "can't open $ac_sacfiles: $!";
|
||||
my @ac_files = <CF>;
|
||||
close(CF);
|
||||
chomp @ac_files;
|
||||
|
||||
|
||||
my $ac_file;
|
||||
foreach $ac_file (@ac_files) {
|
||||
next if $ac_file =~ /\.\./;
|
||||
next if $ac_file =~ /^\s*$/;
|
||||
my $ac_file_in;
|
||||
my ($ac_dir, $ac_dots, $ac_dir_suffix);
|
||||
|
||||
if ($ac_file =~ /.*:.*/ ) {
|
||||
($ac_file_in = $ac_file) =~ s%[^:]*:%%;
|
||||
$ac_file =~ s%:.*%%;
|
||||
} else {
|
||||
$ac_file_in = $ac_file.".in";
|
||||
}
|
||||
|
||||
# Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
|
||||
|
||||
# Remove last slash and all that follows it. Not all systems have dirname.
|
||||
($ac_dir = $ac_file) =~ s%/[^/][^/]*$%%;
|
||||
if ( ($ac_dir ne $ac_file) && ($ac_dir ne ".")) {
|
||||
# The file is in a subdirectory.
|
||||
if (! -d "$ac_dir") { mkdir "$ac_dir", 0777; }
|
||||
($ac_dir_suffix = $ac_dir) =~ s%^./%%;
|
||||
$ac_dir_suffix="/".$ac_dir_suffix;
|
||||
# A "../" for each directory in $ac_dir_suffix.
|
||||
($ac_dots = $ac_dir_suffix) =~ s%/[^/]*%../%g;
|
||||
} else {
|
||||
$ac_dir_suffix="";
|
||||
$ac_dots="";
|
||||
}
|
||||
|
||||
if ($ac_given_srcdir eq ".") {
|
||||
$srcdir=".";
|
||||
if ($ac_dots) {
|
||||
( $top_srcdir = $ac_dots) =~ s%/$%%;
|
||||
} else { $top_srcdir="."; }
|
||||
} elsif ($ac_given_srcdir =~ m%^/%) {
|
||||
$srcdir=$ac_given_srcdir.$ac_dir_suffix;
|
||||
$top_srcdir = $ac_given_srcdir;
|
||||
} else {
|
||||
$srcdir = $ac_dots.$ac_given_srcdir.$ac_dir_suffix;
|
||||
$top_srcdir = $ac_dots.$ac_given_srcdir;
|
||||
}
|
||||
|
||||
if ($ac_given_INSTALL) {
|
||||
if ($ac_given_INSTALL =~ m%^/% ) {
|
||||
$INSTALL = $ac_given_INSTALL;
|
||||
} else {
|
||||
$INSTALL = $ac_dots.$ac_given_INSTALL;
|
||||
}
|
||||
}
|
||||
|
||||
print "fast creating $ac_file\n";
|
||||
unlink $ac_file;
|
||||
my $ac_comsub="";
|
||||
my $fname=$ac_file_in;
|
||||
$fname =~ s%.*/%%;
|
||||
my $configure_input="Generated automatically from $fname by config.pl.";
|
||||
if ($ac_file =~ /.*[Mm]akefile.*/) {
|
||||
$ac_comsub="# ".$configure_input."\n"; # for the first line in $ac_file
|
||||
}
|
||||
|
||||
my $ac_file_inputs;
|
||||
($ac_file_inputs = $ac_file_in) =~ s%^%$ac_given_srcdir/%;
|
||||
$ac_file_inputs =~ s%:% $ac_given_srcdir/%g;
|
||||
|
||||
patch_file($ac_file, $ac_file_inputs, $ac_comsub);
|
||||
}
|
||||
|
||||
sub patch_file {
|
||||
my ($outf, $infiles, $identline) = @_;
|
||||
my $filedata;
|
||||
my @infiles=split(' ', $infiles);
|
||||
my $i=0;
|
||||
|
||||
foreach my $name (@infiles) {
|
||||
if (open(CF, "< $name")) {
|
||||
while (<CF>) {
|
||||
$filedata .= $_;
|
||||
}
|
||||
close(CF);
|
||||
} else {
|
||||
print STDERR "can't open $name: $!"."\n";
|
||||
}
|
||||
}
|
||||
if ($identline) {
|
||||
# Put the ident in the second line. For shitty automake 1.6x.
|
||||
$filedata =~ s%\n%\n$identline%;
|
||||
}
|
||||
|
||||
$filedata =~ s%\@configure_input\@%$configure_input%g;
|
||||
$filedata =~ s%\@srcdir\@%$srcdir%g;
|
||||
$filedata =~ s%\@top_srcdir\@%$top_srcdir%g;
|
||||
$filedata =~ s%\@INSTALL\@%$INSTALL%g;
|
||||
|
||||
if ($bad_perl) {
|
||||
while ($i <= $#comp_subs) {
|
||||
my $ref = $comp_subs[$i];
|
||||
&$ref(\$filedata);
|
||||
$i++;
|
||||
}
|
||||
} else {
|
||||
while ($i <= $#comp_match) {
|
||||
$filedata =~ s/$comp_match[$i]/$comp_subs[$i]/g;
|
||||
$i++;
|
||||
}
|
||||
}
|
||||
open(CF, "> $outf") || die "can't create $outf: $!";
|
||||
print CF $filedata;
|
||||
close(CF);
|
||||
}
|
||||
|
||||
sub make_closure {
|
||||
my ($pat, $sub) = @_;
|
||||
$pat =~ s/\@/\\@/g; # @bla@ -> \@bla\@
|
||||
$pat =~ s/\$/\\\$/g; # $bla -> \$bla
|
||||
$sub =~ s/\@/\\@/g;
|
||||
$sub =~ s/\$/\\\$/g;
|
||||
my $ret = eval "return sub { my \$ref=shift; \$\$ref =~ s%$pat%$sub%g; }";
|
||||
if ($@) {
|
||||
print "can't create CODE: $@\n";
|
||||
}
|
||||
return $ret;
|
||||
}
|
1440
admin/config.sub
vendored
Executable file
1440
admin/config.sub
vendored
Executable file
File diff suppressed because it is too large
Load Diff
57
admin/configure.in.min
Normal file
57
admin/configure.in.min
Normal file
@ -0,0 +1,57 @@
|
||||
dnl This file is part of the KDE libraries/packages
|
||||
dnl Copyright (C) 2001 Stephan Kulow (coolo@kde.org)
|
||||
|
||||
dnl This file is free software; you can redistribute it and/or
|
||||
dnl modify it under the terms of the GNU Library General Public
|
||||
dnl License as published by the Free Software Foundation; either
|
||||
dnl version 2 of the License, or (at your option) any later version.
|
||||
|
||||
dnl This library is distributed in the hope that it will be useful,
|
||||
dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
dnl Library General Public License for more details.
|
||||
|
||||
dnl You should have received a copy of the GNU Library General Public License
|
||||
dnl along with this library; see the file COPYING.LIB. If not, write to
|
||||
dnl the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||
dnl Boston, MA 02111-1307, USA.
|
||||
|
||||
# Original Author was Kalle@kde.org
|
||||
# I lifted it in some mater. (Stephan Kulow)
|
||||
# I used much code from Janos Farkas
|
||||
|
||||
dnl Process this file with autoconf to produce a configure script.
|
||||
|
||||
AC_INIT(acinclude.m4) dnl a source file from your sub dir
|
||||
|
||||
dnl This is so we can use kde-common
|
||||
AC_CONFIG_AUX_DIR(admin)
|
||||
|
||||
dnl This ksh/zsh feature conflicts with `cd blah ; pwd`
|
||||
unset CDPATH
|
||||
|
||||
dnl Checking host/target/build systems, for make, install etc.
|
||||
AC_CANONICAL_SYSTEM
|
||||
dnl Perform program name transformation
|
||||
AC_ARG_PROGRAM
|
||||
|
||||
dnl Automake doc recommends to do this only here. (Janos)
|
||||
AM_INIT_AUTOMAKE(@MODULENAME@, @VERSION@) dnl searches for some needed programs
|
||||
|
||||
KDE_SET_PREFIX
|
||||
|
||||
dnl generate the config header
|
||||
AM_CONFIG_HEADER(config.h) dnl at the distribution this done
|
||||
|
||||
dnl Checks for programs.
|
||||
AC_CHECK_COMPILERS
|
||||
AC_ENABLE_SHARED(yes)
|
||||
AC_ENABLE_STATIC(no)
|
||||
KDE_PROG_LIBTOOL
|
||||
|
||||
dnl for NLS support. Call them in this order!
|
||||
dnl WITH_NLS is for the po files
|
||||
AM_KDE_WITH_NLS
|
||||
|
||||
dnl KDE_USE_QT
|
||||
AC_PATH_KDE
|
87
admin/cvs-clean.pl
Normal file
87
admin/cvs-clean.pl
Normal file
@ -0,0 +1,87 @@
|
||||
#! /usr/bin/perl
|
||||
|
||||
#
|
||||
# This script recursively (beginning with the current directory)
|
||||
# wipes out everything not registered in CVS.
|
||||
#
|
||||
# written by Oswald Buddenhagen <ossi@kde.org>
|
||||
# inspired by the "old" cvs-clean target from Makefile.common
|
||||
#
|
||||
# This file is free software in terms of the BSD licence. That means
|
||||
# that you can do anything with it except removing this license or
|
||||
# the above copyright notice. There is NO WARRANTY of any kind.
|
||||
#
|
||||
|
||||
sub rmrf()
|
||||
{
|
||||
my $fn = shift;
|
||||
lstat ($fn);
|
||||
if (-d _) {
|
||||
if (opendir (DIR, $fn)) {
|
||||
for my $efn (grep (!/^\.\.?$/, readdir (DIR))) {
|
||||
&rmrf ($fn."/".$efn);
|
||||
}
|
||||
closedir (DIR);
|
||||
rmdir ($fn);
|
||||
}
|
||||
} else {
|
||||
unlink ($fn);
|
||||
}
|
||||
}
|
||||
|
||||
sub newfiles()
|
||||
{
|
||||
my ($indir, $incvs) = @_;
|
||||
for my $n (keys (%$incvs)) { delete $$indir{$n} }
|
||||
return sort (keys (%$indir));
|
||||
}
|
||||
|
||||
sub cvsclean()
|
||||
{
|
||||
my $dir = shift;
|
||||
my (%dirsdir, %filesdir, %dirscvs, %filescvs);
|
||||
my $dnam = $dir ? $dir : ".";
|
||||
if (!opendir (DIR, $dnam)) {
|
||||
print STDERR "Cannot enter \"".$dnam."\".\n";
|
||||
return;
|
||||
}
|
||||
for my $fn (grep (!/^\.\.?$/, readdir (DIR))) {
|
||||
if (-d $dir.$fn) {
|
||||
$fn eq "CVS" or $dirsdir{$fn} = 1;
|
||||
} else {
|
||||
$filesdir{$fn} = 1;
|
||||
}
|
||||
}
|
||||
closedir (DIR);
|
||||
if (!open (FILE, "<".$dir."CVS/Entries")) {
|
||||
print STDERR "No CVS information in \"".$dnam."\".\n";
|
||||
return;
|
||||
}
|
||||
while (<FILE>) {
|
||||
m%^D/([^/]+)/.*$% and $dirscvs{$1} = 1;
|
||||
m%^/([^/]+)/.*$% and $filescvs{$1} = 1;
|
||||
}
|
||||
close (FILE);
|
||||
if (open (FILE, "<".$dir."CVS/Entries.Log")) {
|
||||
while (<FILE>) {
|
||||
m%^A D/([^/]+)/.*$% and $dirscvs{$1} = 1;
|
||||
m%^A /([^/]+)/.*$% and $filescvs{$1} = 1;
|
||||
m%^R D/([^/]+)/.*$% and delete $dirscvs{$1};
|
||||
m%^R /([^/]+)/.*$% and delete $filescvs{$1};
|
||||
}
|
||||
close (FILE);
|
||||
}
|
||||
for my $fn (&newfiles (\%filesdir, \%filescvs)) {
|
||||
print ("F ".$dir.$fn."\n");
|
||||
&rmrf ($dir.$fn);
|
||||
}
|
||||
for my $fn (&newfiles (\%dirsdir, \%dirscvs)) {
|
||||
print ("D ".$dir.$fn."\n");
|
||||
&rmrf ($dir.$fn);
|
||||
}
|
||||
for my $fn (sort (keys (%dirscvs))) {
|
||||
&cvsclean ($dir.$fn."/");
|
||||
}
|
||||
}
|
||||
|
||||
&cvsclean ("");
|
473
admin/cvs.sh
Normal file
473
admin/cvs.sh
Normal file
@ -0,0 +1,473 @@
|
||||
#! /bin/sh
|
||||
#
|
||||
# cvs.sh
|
||||
#
|
||||
# This file contains support code from Makefile.common
|
||||
# It defines a shell function for each known target
|
||||
# and then does a case to call the correct function.
|
||||
|
||||
call_and_fix_autoconf()
|
||||
{
|
||||
$AUTOCONF || exit 1
|
||||
if test -r configure.in.in ; then
|
||||
perl -pi -e "print \"if test \\\"x\\\$with_fast_perl\\\" = \\\"xyes\\\"; then\
|
||||
\\n perl -i.bak \\\$ac_aux_dir/conf.change.pl \\\$CONFIG_STATUS\
|
||||
\\\\\\n || mv \\\$CONFIG_STATUS.bak \\\$CONFIG_STATUS\
|
||||
\\n rm -f \\\$CONFIG_STATUS.bak\\nfi\
|
||||
\\n\" if /^\\s*chmod\\s+.*\\+x\\s+.*CONFIG_STATUS/;" configure
|
||||
fi
|
||||
}
|
||||
|
||||
strip_makefile()
|
||||
{
|
||||
if test -f $makefile_wo; then :; else
|
||||
perl -e '$in=0; while ( <> ) { $in = 1 if ($_=~ m/^if /); print $_ unless ($in); $in = 0 if ($_ =~ m/^endif/); }' < Makefile.am.in > $makefile_wo
|
||||
fi
|
||||
}
|
||||
|
||||
check_autotool_versions()
|
||||
{
|
||||
AUTOCONF_VERSION=`$AUTOCONF --version | head -1`
|
||||
case $AUTOCONF_VERSION in
|
||||
Autoconf*2.5* | autoconf*2.5* ) : ;;
|
||||
"" )
|
||||
echo "*** AUTOCONF NOT FOUND!."
|
||||
echo "*** KDE requires autoconf 2.52 or 2.53"
|
||||
exit 1
|
||||
;;
|
||||
* )
|
||||
echo "*** YOU'RE USING $AUTOCONF_VERSION."
|
||||
echo "*** KDE requires autoconf 2.52 or 2.53"
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
AUTOHEADER_VERSION=`$AUTOHEADER --version | head -1`
|
||||
case $AUTOHEADER_VERSION in
|
||||
Autoconf*2.5* | autoheader*2.5* ) : ;;
|
||||
"" )
|
||||
echo "*** AUTOHEADER NOT FOUND!."
|
||||
echo "*** KDE requires autoheader 2.52 or 2.53 (part of autoconf)"
|
||||
exit 1
|
||||
;;
|
||||
* )
|
||||
echo "*** YOU'RE USING $AUTOHEADER_VERSION."
|
||||
echo "*** KDE requires autoheader 2.52 or 2.53 (part of autoconf)"
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
AUTOMAKE_STRING=`$AUTOMAKE --version | head -1`
|
||||
case $AUTOMAKE_STRING in
|
||||
automake*1.5d* )
|
||||
echo "*** YOU'RE USING $AUTOMAKE_STRING."
|
||||
echo "*** KDE requires automake 1.5"
|
||||
exit 1
|
||||
;;
|
||||
automake*1.5* | automake*1.5-* | automake*1.6.* ) : ;;
|
||||
"" )
|
||||
echo "*** AUTOMAKE NOT FOUND!."
|
||||
echo "*** KDE requires automake 1.5"
|
||||
exit 1
|
||||
;;
|
||||
unsermake* ) :
|
||||
echo "*** YOU'RE USING UNSERMAKE."
|
||||
echo "*** GOOD LUCK!! :)"
|
||||
;;
|
||||
* )
|
||||
echo "*** YOU'RE USING $AUTOMAKE_STRING."
|
||||
echo "*** KDE requires automake 1.5"
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
cvs()
|
||||
{
|
||||
check_autotool_versions
|
||||
|
||||
### Produce acinclude.m4
|
||||
if grep '\$(top_srcdir)/acinclude.m4:' $makefile_am >/dev/null; then
|
||||
echo "*** Creating acinclude.m4"
|
||||
rm -f acinclude.m4 configure.files
|
||||
|
||||
strip_makefile
|
||||
$MAKE -f $makefile_wo top_srcdir=. ./acinclude.m4
|
||||
fi
|
||||
|
||||
### Make new subdirs and configure.in.
|
||||
### The make calls could be optimized away here,
|
||||
### with a little thought.
|
||||
if test -r configure.in.in; then
|
||||
rm -f subdirs configure.in
|
||||
echo "*** Creating list of subdirectories"
|
||||
subdirs
|
||||
echo "*** Creating configure.in"
|
||||
configure_files
|
||||
strip_makefile
|
||||
$MAKE -f $makefile_wo top_srcdir=. ./configure.in || exit 1
|
||||
fi
|
||||
|
||||
echo "*** Creating aclocal.m4"
|
||||
$ACLOCAL || exit 1
|
||||
echo "*** Creating configure"
|
||||
call_and_fix_autoconf
|
||||
|
||||
if egrep "^AM_CONFIG_HEADER" configure.in >/dev/null 2>&1; then
|
||||
echo "*** Creating config.h template"
|
||||
$AUTOHEADER || exit 1
|
||||
fi
|
||||
|
||||
echo "*** Creating Makefile templates"
|
||||
$AUTOMAKE || exit 1
|
||||
if test -z "$UNSERMAKE"; then
|
||||
echo "*** Postprocessing Makefile templates"
|
||||
perl admin/am_edit || exit 1
|
||||
fi
|
||||
|
||||
if egrep "^cvs-local:" $makefile_am >/dev/null; then \
|
||||
strip_makefile
|
||||
$MAKE -f $makefile_wo cvs-local || exit 1
|
||||
fi
|
||||
|
||||
echo "*** Creating date/time stamp"
|
||||
touch stamp-h.in
|
||||
|
||||
echo "*** Finished"
|
||||
echo " Don't forget to run ./configure"
|
||||
echo " If you haven't done so in a while, run ./configure --help"
|
||||
}
|
||||
|
||||
dist()
|
||||
{
|
||||
check_autotool_versions
|
||||
|
||||
###
|
||||
### First build all of the files necessary to do just "make"
|
||||
###
|
||||
if grep '\$(top_srcdir)/acinclude.m4:' $makefile_am >/dev/null; then
|
||||
strip_makefile
|
||||
$MAKE -f $makefile_wo top_srcdir=. ./acinclude.m4
|
||||
fi
|
||||
if test -r configure.in.in; then
|
||||
subdirs
|
||||
configure_files
|
||||
strip_makefile
|
||||
$MAKE -f $makefile_wo top_srcdir=. ./configure.in
|
||||
fi
|
||||
$ACLOCAL
|
||||
$AUTOHEADER
|
||||
$AUTOMAKE --foreign --include-deps
|
||||
perl admin/am_edit
|
||||
call_and_fix_autoconf
|
||||
touch stamp-h.in
|
||||
if grep "^cvs-local:" $makefile_am >/dev/null; then
|
||||
strip_makefile
|
||||
$MAKE -f $makefile_wo cvs-local
|
||||
fi
|
||||
|
||||
###
|
||||
### Then make messages
|
||||
###
|
||||
if test -d po; then
|
||||
LIST=`find ./po -name "*.po"`
|
||||
for i in $LIST; do
|
||||
file2=`echo $i | sed -e "s#\.po#\.gmo#"`
|
||||
msgfmt -o $file2 $i || touch $file2
|
||||
done
|
||||
fi
|
||||
if grep "^cvs-dist-local:" $makefile_am >/dev/null; then
|
||||
strip_makefile
|
||||
$MAKE -f $makefile_wo cvs-dist-local
|
||||
fi
|
||||
}
|
||||
|
||||
subdir_dist()
|
||||
{
|
||||
$ACLOCAL
|
||||
$AUTOHEADER
|
||||
$AUTOMAKE --foreign --include-deps
|
||||
perl ../admin/am_edit
|
||||
call_and_fix_autoconf
|
||||
}
|
||||
|
||||
configure_in()
|
||||
{
|
||||
rm -f configure.in configure.in.new
|
||||
kde_use_qt_param=
|
||||
test -f configure.files || { echo "need configure.files for configure.in"; exit 1; }
|
||||
cat `egrep -v "configure.in.bot" < configure.files` > configure.in.new
|
||||
echo "KDE_CREATE_SUBDIRSLIST" >> configure.in.new
|
||||
if test -f Makefile.am.in; then
|
||||
subdirs=`cat subdirs`
|
||||
for dir in $subdirs; do
|
||||
dir=`echo $dir | sed -e "s,[-+],_,g"`
|
||||
echo "AM_CONDITIONAL($dir""_SUBDIR_included, test \"x\$$dir""_SUBDIR_included\" = xyes)" >> configure.in.new
|
||||
done
|
||||
fi
|
||||
# echo "AC_OUTPUT( \\" >> configure.in.new
|
||||
mfs=`find . -type d -print | fgrep -v "/." | \
|
||||
sed -e "s#\./##" -e "/^debian/d" | sort`
|
||||
for i in $mfs; do
|
||||
topleveldir=`echo $i| sed -e "s#/.*##"`
|
||||
if test -f $topleveldir/configure.in; then
|
||||
continue
|
||||
fi
|
||||
if test -f $i/Makefile.am; then :; else
|
||||
continue
|
||||
fi
|
||||
if test -s inst-apps; then
|
||||
if grep "\"^$topleveldir\"" inst-apps > /dev/null 2>&1; then
|
||||
continue
|
||||
fi
|
||||
fi
|
||||
echo "AC_CONFIG_FILES([ $i/Makefile ])" >> configure.in.new
|
||||
if test -n "$UNSERMAKE"; then
|
||||
echo "AC_CONFIG_FILES([ $i/Makefile.rules ])" >> configure.in.new
|
||||
fi
|
||||
done
|
||||
egrep '^dnl AC_OUTPUT\(.*\)' `cat configure.files` | sed -e "s#^.*dnl AC_OUTPUT(\(.*\))#AC_CONFIG_FILES([ \1 ])#" >> configure.in.new
|
||||
if test -n "$UNSERMAKE"; then
|
||||
echo "AC_CONFIG_FILES([ MakeVars ])" >> configure.in.new
|
||||
fi
|
||||
echo "AC_OUTPUT" >> configure.in.new
|
||||
modulename=
|
||||
if test -f configure.in.in; then
|
||||
if head -2 configure.in.in | egrep "^#MIN_CONFIG\(.*\)$" > /dev/null; then
|
||||
kde_use_qt_param=`cat configure.in.in | sed -n -e "s/#MIN_CONFIG(\(.*\))/\1/p"`
|
||||
fi
|
||||
if head -2 configure.in.in | egrep "^#MIN_CONFIG" > /dev/null; then
|
||||
line=`grep "^AM_INIT_AUTOMAKE(" configure.in.in`
|
||||
if test -n "$line"; then
|
||||
modulename=`echo $line | sed -e "s#AM_INIT_AUTOMAKE(\([^,]*\),.*#\1#"`
|
||||
VERSION=`echo $line | sed -e "s#AM_INIT_AUTOMAKE([^,]*, *\([^)]*\)).*#\1#"`
|
||||
fi
|
||||
sed -e "s#AM_INIT_AUTOMAKE([^@].*#dnl PACKAGE set before#" \
|
||||
configure.in.new > configure.in && mv configure.in configure.in.new
|
||||
fi
|
||||
fi
|
||||
if test -z "$modulename" || test "$modulename" = "@MODULENAME@"; then
|
||||
modulename=`pwd`; modulename=`basename $modulename`
|
||||
fi
|
||||
if test -z "$VERSION" || test "$VERSION" = "@VERSION@"; then
|
||||
VERSION="\"3.0\""
|
||||
fi
|
||||
if test -n "$kde_use_qt_param"; then
|
||||
sed -e "s#^dnl KDE_USE_QT#KDE_USE_QT($kde_use_qt_param)#" \
|
||||
configure.in.new > configure.in && mv configure.in configure.in.new
|
||||
fi
|
||||
sed -e "s#@MODULENAME@#$modulename#" configure.in.new |
|
||||
sed -e "s#@VERSION@#$VERSION#" > configure.in
|
||||
botfiles=`cat configure.files | egrep "configure.in.bot"`
|
||||
test -n "$botfiles" && cat $botfiles >> configure.in
|
||||
rm -f configure.in.new
|
||||
}
|
||||
|
||||
configure_files()
|
||||
{
|
||||
admindir=NO
|
||||
for i in . .. ../.. ../../..; do
|
||||
if test -x $i/admin; then admindir=$i/admin; break; fi
|
||||
done
|
||||
rm -f configure.files
|
||||
touch configure.files
|
||||
if test -f configure.in.in && head -2 configure.in.in | grep "^#MIN_CONFIG" > /dev/null; then
|
||||
echo $admindir/configure.in.min >> configure.files
|
||||
fi
|
||||
test -f configure.in.in && echo configure.in.in >> configure.files
|
||||
list=`find . -name "configure.in.in" -o -name "configure.in.bot" | sort`
|
||||
for i in $list; do if test -f $i && test `dirname $i` != "." ; then
|
||||
echo $i >> configure.files
|
||||
fi; done
|
||||
test -f configure.in.mid && echo configure.in.mid >> configure.files
|
||||
test -f configure.in.bot && echo configure.in.bot >> configure.files
|
||||
}
|
||||
|
||||
subdirs()
|
||||
{
|
||||
dirs=
|
||||
compilefirst=`sed -ne 's#^COMPILE_FIRST[ ]*=[ ]*##p' $makefile_am | head -1`
|
||||
compilelast=`sed -ne 's#^COMPILE_LAST[ ]*=[ ]*##p' $makefile_am | head -1`
|
||||
for i in `ls -1`; do
|
||||
if test -f $i/Makefile.am; then
|
||||
case " $compilefirst $compilelast " in
|
||||
*" $i "*) ;;
|
||||
*) dirs="$dirs $i"
|
||||
esac
|
||||
fi
|
||||
done
|
||||
rm -f _SUBDIRS
|
||||
for i in $dirs; do
|
||||
echo $i >> ./_SUBDIRS
|
||||
done
|
||||
if test -f Makefile.am.in; then
|
||||
cp Makefile.am.in Makefile.am
|
||||
topsubdirs=
|
||||
subdirs=
|
||||
if test -n "$compilefirst"; then
|
||||
topsubdirs='$(COMPILE_FIRST)'
|
||||
subdirs='$(COMPILE_FIRST) '
|
||||
fi
|
||||
if test -n "$UNSERMAKE"; then
|
||||
for i in $dirs; do
|
||||
vari=`echo $i | sed -e "s,[-+],_,g"`
|
||||
echo "if $vari""_SUBDIR_included" >> Makefile.am
|
||||
echo "$vari""_SUBDIR=$i" >> Makefile.am
|
||||
echo "endif" >> Makefile.am
|
||||
topsubdirs="$topsubdirs \$($vari""_SUBDIR)"
|
||||
done
|
||||
fi
|
||||
subdirs="$subdirs"'$(TOPSUBDIRS)'
|
||||
if test -n "$compilelast"; then
|
||||
topsubdirs="$topsubdirs "'$(COMPILE_LAST)'
|
||||
subdirs="$subdirs "'$(COMPILE_LAST)'
|
||||
fi
|
||||
if test -n "$UNSERMAKE"; then
|
||||
echo "SUBDIRS=$topsubdirs" >> Makefile.am
|
||||
else
|
||||
echo "SUBDIRS=$subdirs" >> Makefile.am
|
||||
fi
|
||||
fi
|
||||
if test -r subdirs && diff subdirs _SUBDIRS > /dev/null; then
|
||||
rm -f _SUBDIRS
|
||||
fi
|
||||
test -r _SUBDIRS && mv _SUBDIRS subdirs || true
|
||||
}
|
||||
|
||||
cvs_clean()
|
||||
{
|
||||
if test -d CVS; then :; else
|
||||
echo "You don't have a toplevel CVS directory."
|
||||
echo "You most certainly didn't use cvs to get these sources."
|
||||
echo "But this function depends on cvs's information."
|
||||
exit 1
|
||||
fi
|
||||
perl $admindir/cvs-clean.pl
|
||||
}
|
||||
|
||||
package_merge()
|
||||
{
|
||||
catalogs=$POFILES
|
||||
for cat in $catalogs; do
|
||||
msgmerge -o $cat.new $cat $PACKAGE.pot
|
||||
if test -s $cat.new; then
|
||||
grep -v "\"POT-Creation" $cat.new > $cat.new.2
|
||||
grep -v "\"POT-Creation" $cat >> $cat.new.1
|
||||
if diff $cat.new.1 $cat.new.2; then
|
||||
rm $cat.new
|
||||
else
|
||||
mv $cat.new $cat
|
||||
fi
|
||||
rm -f $cat.new.1 $cat.new.2
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
package_messages()
|
||||
{
|
||||
rm -rf po.backup
|
||||
mkdir po.backup
|
||||
|
||||
for i in `ls -1 po/*.pot 2>/dev/null | sed -e "s#po/##"`; do
|
||||
egrep -v '^#([^:]|$)' po/$i | egrep '^.*[^ ]+.*$' | grep -v "\"POT-Creation" > po.backup/$i
|
||||
cp po/$i po.backup/backup_$i
|
||||
touch -r po/$i po.backup/backup_$i
|
||||
rm po/$i
|
||||
done
|
||||
|
||||
podir=${podir:-$PWD/po}
|
||||
files=`find . -name Makefile.am | xargs egrep -l '^messages:' `
|
||||
dirs=`for i in $files; do echo \`dirname $i\`; done`
|
||||
tmpname="$PWD/messages.log"
|
||||
if test -z "$EXTRACTRC"; then EXTRACTRC=extractrc ; fi
|
||||
if test -z "$PREPARETIPS"; then PREPARETIPS=preparetips ; fi
|
||||
export EXTRACTRC PREPARETIPS
|
||||
|
||||
for subdir in $dirs; do
|
||||
test -z "$VERBOSE" || echo "Making messages in $subdir"
|
||||
(cd $subdir
|
||||
if test -n "`grep -e '^messages:.*rc.cpp' Makefile.am`"; then
|
||||
$EXTRACTRC *.rc *.ui > rc.cpp
|
||||
else
|
||||
candidates=`ls -1 *.rc *.ui 2>/dev/null`
|
||||
if test -n "$candidates"; then
|
||||
echo "$subdir has *.rc or *.ui files, but not correct messages line"
|
||||
fi
|
||||
fi
|
||||
if test -n "`grep -r KAboutData *.c* *.C* 2>/dev/null`"; then
|
||||
echo -e 'i18n("_: NAME OF TRANSLATORS\\n"\n"Your names")\ni18n("_: EMAIL OF TRANSLATORS\\n"\n"Your emails")' > _translatorinfo.cpp
|
||||
else echo " " > _translatorinfo.cpp
|
||||
fi
|
||||
perl -e '$mes=0; while (<STDIN>) { if (/^messages:/) { $mes=1; print $_; next; } if ($mes) { if (/$\\(XGETTEXT\)/ && / -o/) { s/ -o \$\(podir\)/ _translatorinfo.cpp -o \$\(podir\)/ } print $_; } else { print $_; } }' < Makefile.am > _transMakefile
|
||||
|
||||
$MAKE -s -f _transMakefile podir=$podir EXTRACTRC="$EXTRACTRC" PREPARETIPS="$PREPARETIPS" \
|
||||
XGETTEXT="${XGETTEXT:-xgettext} -C -ki18n -ktr2i18n -kI18N_NOOP -ktranslate -kaliasLocale -x ${includedir:-$KDEDIR/include}/kde.pot" \
|
||||
messages
|
||||
) 2>&1 | grep -v '^make\[1\]' > $tmpname
|
||||
test -s $tmpname && { echo $subdir ; cat "$tmpname"; }
|
||||
test -f $subdir/rc.cpp && rm -f $subdir/rc.cpp
|
||||
rm -f $subdir/_translatorinfo.cpp
|
||||
rm -f $subdir/_transMakefile
|
||||
done
|
||||
rm -f $tmpname
|
||||
for i in `ls -1 po.backup/*.pot 2>/dev/null | sed -e "s#po.backup/##" | egrep -v '^backup_'`; do
|
||||
test -f po/$i || echo "disappeared: $i"
|
||||
done
|
||||
for i in `ls -1 po/*.pot 2>/dev/null | sed -e "s#po/##"`; do
|
||||
msgmerge -q -o po/$i po/$i po/$i
|
||||
egrep -v '^#([^:]|$)' po/$i | egrep '^.*[^ ]+.*$' | grep -v "\"POT-Creation" > temp.pot
|
||||
if test -f po.backup/$i && test -n "`diff temp.pot po.backup/$i`"; then
|
||||
echo "will update $i"
|
||||
msgmerge -q po.backup/backup_$i po/$i > temp.pot
|
||||
mv temp.pot po/$i
|
||||
else
|
||||
if test -f po.backup/backup_$i; then
|
||||
test -z "$VERBOSE" || echo "I'm restoring $i"
|
||||
mv po.backup/backup_$i po/$i
|
||||
rm po.backup/$i
|
||||
else
|
||||
echo "will add $i"
|
||||
fi
|
||||
fi
|
||||
done
|
||||
rm -f temp.pot
|
||||
rm -rf po.backup
|
||||
}
|
||||
|
||||
admindir=`echo "$0" | sed 's%[\\/][^\\/][^\\/]*$%%'`
|
||||
test "x$admindir" = "x$0" && admindir=.
|
||||
|
||||
test "x$MAKE" = x && MAKE=make
|
||||
makefile_am=Makefile.am
|
||||
makefile_wo=Makefile.am
|
||||
if test -f Makefile.am.in; then
|
||||
makefile_am=Makefile.am.in
|
||||
makefile_wo=Makefile.am.in.wo
|
||||
fi
|
||||
|
||||
# Suck in the AUTOCONF detection code
|
||||
. $admindir/detect-autoconf.sh
|
||||
|
||||
###
|
||||
### Main
|
||||
###
|
||||
|
||||
arg=`echo $1 | tr '\-.' __`
|
||||
case $arg in
|
||||
cvs | dist | subdir_dist | configure_in | configure_files | subdirs | \
|
||||
cvs_clean | package_merge | package_messages ) $arg ;;
|
||||
* ) echo "Usage: cvs.sh <target>"
|
||||
echo "Target can be one of:"
|
||||
echo " cvs cvs-clean dist"
|
||||
echo " configure.in configure.files"
|
||||
echo " package-merge package-messages"
|
||||
echo ""
|
||||
echo "Usage: anything but $1"
|
||||
exit 1 ;;
|
||||
esac
|
||||
|
||||
if test -f Makefile.am.in.wo; then
|
||||
rm Makefile.am.in.wo
|
||||
fi
|
||||
|
||||
exit 0
|
114
admin/debianrules
Executable file
114
admin/debianrules
Executable file
@ -0,0 +1,114 @@
|
||||
#!/usr/bin/perl -w
|
||||
|
||||
use Shell qw(mv cp mkdir rm) ;
|
||||
use File::Find;
|
||||
use Cwd;
|
||||
|
||||
$origPwd = `pwd`;
|
||||
chomp $origPwd;
|
||||
|
||||
$kde_confdir = "/etc/kde3";
|
||||
$kde_prefix = "/usr";
|
||||
$kde_bindir = "$kde_prefix/bin";
|
||||
$kde_includedir = "$kde_prefix/include/kde";
|
||||
$kde_libdir = "$kde_prefix/lib";
|
||||
$kde_cgidir = "$kde_prefix/lib/cgi-bin";
|
||||
$kde_moduledir = "$kde_prefix/lib/kde3";
|
||||
$kde_appsdir = "$kde_prefix/share/applnk";
|
||||
$kde_datadir = "$kde_prefix/share/apps";
|
||||
$kde_htmldir = "$kde_prefix/share/doc/kde/HTML";
|
||||
$kde_icondir = "$kde_prefix/share/icons";
|
||||
$kde_locale = "$kde_prefix/share/locale";
|
||||
$kde_mimedir = "$kde_prefix/share/mimelnk";
|
||||
$kde_servicesdir = "$kde_prefix/share/services";
|
||||
$kde_servicetypesdir = "$kde_prefix/share/servicetypes";
|
||||
$kde_sounddir = "$kde_prefix/share/sounds";
|
||||
$kde_templatesdir = "$kde_prefix/share/templates";
|
||||
$kde_wallpaperdir = "$kde_prefix/share/wallpapers";
|
||||
|
||||
$mandir = "$kde_prefix/share/man";
|
||||
$infodir = "$kde_prefix/share/info";
|
||||
$sysconfdir = "/etc";
|
||||
|
||||
$QTDIR = "/usr/share/qt";
|
||||
$IDL = "$kde_bindir/cuteidl";
|
||||
$DCOPIDL = "$kde_bindir/dcopidl";
|
||||
$DCOPIDL2CPP = "$kde_bindir/dcopidl2cpp";
|
||||
$KDB2HTML = "$kde_bindir/kdb2html";
|
||||
$MCOPIDL = "$kde_bindir/mcopidl";
|
||||
$ARTSCCONFIG = "$kde_bindir/artsc-config";
|
||||
|
||||
if (defined $ENV{DEB_BUILD_OPTIONS} &&
|
||||
$ENV{DEB_BUILD_OPTIONS} =~ /\bdebug\b/) {
|
||||
$enable_debug="--enable-debug";
|
||||
$enable_final="";
|
||||
}
|
||||
else {
|
||||
$enable_debug="--disable-debug";
|
||||
$enable_final="--enable-final";
|
||||
}
|
||||
|
||||
if (@ARGV && $ARGV[0] eq 'echodirs') {
|
||||
print STDOUT "export kde_confdir=$kde_confdir\n";
|
||||
print STDOUT "export kde_prefix=$kde_prefix\n";
|
||||
print STDOUT "export kde_bindir=$kde_bindir\n";
|
||||
print STDOUT "export kde_includedir=$kde_includedir\n";
|
||||
print STDOUT "export kde_libdir=$kde_libdir\n";
|
||||
print STDOUT "export kde_cgidir=$kde_cgidir\n";
|
||||
print STDOUT "export kde_moduledir=$kde_moduledir\n";
|
||||
print STDOUT "export kde_appsdir=$kde_appsdir\n";
|
||||
print STDOUT "export kde_datadir=$kde_datadir\n";
|
||||
print STDOUT "export kde_htmldir=$kde_htmldir\n";
|
||||
print STDOUT "export kde_icondir=$kde_icondir\n";
|
||||
print STDOUT "export kde_locale=$kde_locale\n";
|
||||
print STDOUT "export kde_mimedir=$kde_mimedir\n";
|
||||
print STDOUT "export kde_servicesdir=$kde_servicesdir\n";
|
||||
print STDOUT "export kde_servicetypesdir=$kde_servicetypesdir\n";
|
||||
print STDOUT "export kde_sounddir=$kde_sounddir\n";
|
||||
print STDOUT "export kde_templatesdir=$kde_templatesdir\n";
|
||||
print STDOUT "export kde_wallpaperdir=$kde_wallpaperdir\n";
|
||||
|
||||
print STDOUT "export mandir=$mandir\n";
|
||||
print STDOUT "export infodir=$infodir\n";
|
||||
print STDOUT "export sysconfdir=$sysconfdir\n";
|
||||
|
||||
print STDOUT "export QTDIR=$QTDIR\n";
|
||||
print STDOUT "export IDL=$IDL\n";
|
||||
print STDOUT "export DCOPIDL=$DCOPIDL\n";
|
||||
print STDOUT "export DCOPIDL2CPP=$DCOPIDL2CPP\n";
|
||||
print STDOUT "export KDB2HTML=$KDB2HTML\n";
|
||||
print STDOUT "export MCOPIDL=$MCOPIDL\n";
|
||||
print STDOUT "export ARTSCCONFIG=$ARTSCCONFIG\n";
|
||||
print STDOUT "export INSTALL_DATA=install -p -c -m 644\n";
|
||||
|
||||
print STDOUT "configkde=$enable_debug $enable_final --disable-rpath --prefix=\$(kde_prefix) --libexecdir=\$(kde_bindir) --sysconfdir=\$(sysconfdir) --libdir=\$(kde_libdir) --includedir=\$(kde_includedir) --with-qt-includes=/usr/include/qt --mandir=\$(mandir) --infodir=\$(infodir)\n";
|
||||
print STDOUT "configkdevelop=$enable_debug $enable_final --disable-rpath --enable-docbase --enable-kdoc2 --libdir=\$(kde_libdir) --includedir=\$(kde_includedir) --with-qt-includes=/usr/include/qt --mandir=\$(mandir) --with-kdelibsdoc-dir=/usr/share/doc/kdelibs3-doc/html\n";
|
||||
print STDOUT "configkdepim=$enable_debug $enable_final --disable-rpath --with-extra-includes=/usr/include/libpisock --enable-shared --prefix=\$(kde_prefix) --libexecdir=\$(kde_bindir) --with-qt-includes=/usr/include/qt --mandir=\$(mandir) --infodir=\$(infodir)\n";
|
||||
|
||||
exit
|
||||
}
|
||||
|
||||
if (@ARGV && $ARGV[0] eq 'echoglobals') {
|
||||
print STDOUT "[Directories]\n";
|
||||
print STDOUT "dir_config=$kde_confdir\n";
|
||||
print STDOUT "dir_tmp=/tmp\n";
|
||||
print STDOUT "dir_socket=/tmp\n";
|
||||
print STDOUT "dir_exe=$kde_bindir\n";
|
||||
print STDOUT "dir_lib=$kde_libdir\n";
|
||||
print STDOUT "dir_cgi=$kde_cgidir\n";
|
||||
print STDOUT "dir_module=$kde_moduledir\n";
|
||||
print STDOUT "dir_apps=$kde_appsdir\n";
|
||||
print STDOUT "dir_data=$kde_datadir\n";
|
||||
print STDOUT "dir_html=$kde_htmldir\n";
|
||||
print STDOUT "dir_icon=$kde_icondir\n";
|
||||
print STDOUT "dir_locale=$kde_locale\n";
|
||||
print STDOUT "dir_mime=$kde_mimedir\n";
|
||||
print STDOUT "dir_services=$kde_servicesdir\n";
|
||||
print STDOUT "dir_servicetypes=$kde_servicetypesdir\n";
|
||||
print STDOUT "dir_sound=$kde_sounddir\n";
|
||||
print STDOUT "dir_templates=$kde_templatesdir\n";
|
||||
print STDOUT "dir_wallpaper=$kde_wallpaperdir\n";
|
||||
print STDOUT "[General]\n";
|
||||
print STDOUT "TerminalApplication=x-terminal-emulator\n";
|
||||
exit
|
||||
}
|
411
admin/depcomp
Executable file
411
admin/depcomp
Executable file
@ -0,0 +1,411 @@
|
||||
#! /bin/sh
|
||||
|
||||
# depcomp - compile a program generating dependencies as side-effects
|
||||
# Copyright 1999, 2000 Free Software Foundation, Inc.
|
||||
|
||||
# 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.
|
||||
|
||||
# Originally written by Alexandre Oliva <oliva@dcc.unicamp.br>.
|
||||
|
||||
if test -z "$depmode" || test -z "$source" || test -z "$object"; then
|
||||
echo "depcomp: Variables source, object and depmode must be set" 1>&2
|
||||
exit 1
|
||||
fi
|
||||
# `libtool' can also be set to `yes' or `no'.
|
||||
|
||||
depfile=${depfile-`echo "$object" | sed 's,\([^/]*\)$,.deps/\1,;s/\.\([^.]*\)$/.P\1/'`}
|
||||
tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`}
|
||||
|
||||
rm -f "$tmpdepfile"
|
||||
|
||||
# Some modes work just like other modes, but use different flags. We
|
||||
# parameterize here, but still list the modes in the big case below,
|
||||
# to make depend.m4 easier to write. Note that we *cannot* use a case
|
||||
# here, because this file can only contain one case statement.
|
||||
if test "$depmode" = hp; then
|
||||
# HP compiler uses -M and no extra arg.
|
||||
gccflag=-M
|
||||
depmode=gcc
|
||||
fi
|
||||
|
||||
if test "$depmode" = dashXmstdout; then
|
||||
# This is just like dashmstdout with a different argument.
|
||||
dashmflag=-xM
|
||||
depmode=dashmstdout
|
||||
fi
|
||||
|
||||
case "$depmode" in
|
||||
gcc3)
|
||||
## gcc 3 implements dependency tracking that does exactly what
|
||||
## we want. Yay! Note: for some reason libtool 1.4 doesn't like
|
||||
## it if -MD -MP comes after the -MF stuff. Hmm.
|
||||
"$@" -MT "$object" -MD -MP -MF "$tmpdepfile"
|
||||
stat=$?
|
||||
if test $stat -eq 0; then :
|
||||
else
|
||||
rm -f "$tmpdepfile"
|
||||
exit $stat
|
||||
fi
|
||||
mv "$tmpdepfile" "$depfile"
|
||||
;;
|
||||
|
||||
gcc)
|
||||
## There are various ways to get dependency output from gcc. Here's
|
||||
## why we pick this rather obscure method:
|
||||
## - Don't want to use -MD because we'd like the dependencies to end
|
||||
## up in a subdir. Having to rename by hand is ugly.
|
||||
## (We might end up doing this anyway to support other compilers.)
|
||||
## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like
|
||||
## -MM, not -M (despite what the docs say).
|
||||
## - Using -M directly means running the compiler twice (even worse
|
||||
## than renaming).
|
||||
if test -z "$gccflag"; then
|
||||
gccflag=-MD,
|
||||
fi
|
||||
"$@" -Wp,"$gccflag$tmpdepfile"
|
||||
stat=$?
|
||||
if test $stat -eq 0; then :
|
||||
else
|
||||
rm -f "$tmpdepfile"
|
||||
exit $stat
|
||||
fi
|
||||
rm -f "$depfile"
|
||||
echo "$object : \\" > "$depfile"
|
||||
alpha=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
|
||||
## The second -e expression handles DOS-style file names with drive letters.
|
||||
sed -e 's/^[^:]*: / /' \
|
||||
-e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile"
|
||||
## This next piece of magic avoids the `deleted header file' problem.
|
||||
## The problem is that when a header file which appears in a .P file
|
||||
## is deleted, the dependency causes make to die (because there is
|
||||
## typically no way to rebuild the header). We avoid this by adding
|
||||
## dummy dependencies for each header file. Too bad gcc doesn't do
|
||||
## this for us directly.
|
||||
tr ' ' '
|
||||
' < "$tmpdepfile" |
|
||||
## Some versions of gcc put a space before the `:'. On the theory
|
||||
## that the space means something, we add a space to the output as
|
||||
## well.
|
||||
## Some versions of the HPUX 10.20 sed can't process this invocation
|
||||
## correctly. Breaking it into two sed invocations is a workaround.
|
||||
sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
|
||||
rm -f "$tmpdepfile"
|
||||
;;
|
||||
|
||||
hp)
|
||||
# This case exists only to let depend.m4 do its work. It works by
|
||||
# looking at the text of this script. This case will never be run,
|
||||
# since it is checked for above.
|
||||
exit 1
|
||||
;;
|
||||
|
||||
sgi)
|
||||
if test "$libtool" = yes; then
|
||||
"$@" "-Wp,-MDupdate,$tmpdepfile"
|
||||
else
|
||||
"$@" -MDupdate "$tmpdepfile"
|
||||
fi
|
||||
stat=$?
|
||||
if test $stat -eq 0; then :
|
||||
else
|
||||
rm -f "$tmpdepfile"
|
||||
exit $stat
|
||||
fi
|
||||
rm -f "$depfile"
|
||||
|
||||
if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files
|
||||
echo "$object : \\" > "$depfile"
|
||||
|
||||
# Clip off the initial element (the dependent). Don't try to be
|
||||
# clever and replace this with sed code, as IRIX sed won't handle
|
||||
# lines with more than a fixed number of characters (4096 in
|
||||
# IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines;
|
||||
# the IRIX cc adds comments like `#:fec' to the end of the
|
||||
# dependency line.
|
||||
tr ' ' '
|
||||
' < "$tmpdepfile" \
|
||||
| sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \
|
||||
tr '
|
||||
' ' ' >> $depfile
|
||||
echo >> $depfile
|
||||
|
||||
# The second pass generates a dummy entry for each header file.
|
||||
tr ' ' '
|
||||
' < "$tmpdepfile" \
|
||||
| sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \
|
||||
>> $depfile
|
||||
else
|
||||
# The sourcefile does not contain any dependencies, so just
|
||||
# store a dummy comment line, to avoid errors with the Makefile
|
||||
# "include basename.Plo" scheme.
|
||||
echo "#dummy" > "$depfile"
|
||||
fi
|
||||
rm -f "$tmpdepfile"
|
||||
;;
|
||||
|
||||
aix)
|
||||
# The C for AIX Compiler uses -M and outputs the dependencies
|
||||
# in a .u file. This file always lives in the current directory.
|
||||
# Also, the AIX compiler puts `$object:' at the start of each line;
|
||||
# $object doesn't have directory information.
|
||||
stripped=`echo "$object" | sed -e 's,^.*/,,' -e 's/\(.*\)\..*$/\1/'`
|
||||
tmpdepfile="$stripped.u"
|
||||
outname="$stripped.o"
|
||||
if test "$libtool" = yes; then
|
||||
"$@" -Wc,-M
|
||||
else
|
||||
"$@" -M
|
||||
fi
|
||||
|
||||
stat=$?
|
||||
if test $stat -eq 0; then :
|
||||
else
|
||||
rm -f "$tmpdepfile"
|
||||
exit $stat
|
||||
fi
|
||||
|
||||
if test -f "$tmpdepfile"; then
|
||||
# Each line is of the form `foo.o: dependent.h'.
|
||||
# Do two passes, one to just change these to
|
||||
# `$object: dependent.h' and one to simply `dependent.h:'.
|
||||
sed -e "s,^$outname:,$object :," < "$tmpdepfile" > "$depfile"
|
||||
sed -e "s,^$outname: \(.*\)$,\1:," < "$tmpdepfile" >> "$depfile"
|
||||
else
|
||||
# The sourcefile does not contain any dependencies, so just
|
||||
# store a dummy comment line, to avoid errors with the Makefile
|
||||
# "include basename.Plo" scheme.
|
||||
echo "#dummy" > "$depfile"
|
||||
fi
|
||||
rm -f "$tmpdepfile"
|
||||
;;
|
||||
|
||||
tru64)
|
||||
# The Tru64 AIX compiler uses -MD to generate dependencies as a side
|
||||
# effect. `cc -MD -o foo.o ...' puts the dependencies into `foo.o.d'.
|
||||
# At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put
|
||||
# dependencies in `foo.d' instead, so we check for that too.
|
||||
# Subdirectories are respected.
|
||||
|
||||
tmpdepfile1="$object.d"
|
||||
tmpdepfile2=`echo "$object" | sed -e 's/.o$/.d/'`
|
||||
if test "$libtool" = yes; then
|
||||
"$@" -Wc,-MD
|
||||
else
|
||||
"$@" -MD
|
||||
fi
|
||||
|
||||
stat=$?
|
||||
if test $stat -eq 0; then :
|
||||
else
|
||||
rm -f "$tmpdepfile1" "$tmpdepfile2"
|
||||
exit $stat
|
||||
fi
|
||||
|
||||
if test -f "$tmpdepfile1"; then
|
||||
tmpdepfile="$tmpdepfile1"
|
||||
else
|
||||
tmpdepfile="$tmpdepfile2"
|
||||
fi
|
||||
if test -f "$tmpdepfile"; then
|
||||
sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile"
|
||||
# That's a space and a tab in the [].
|
||||
sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile"
|
||||
else
|
||||
echo "#dummy" > "$depfile"
|
||||
fi
|
||||
rm -f "$tmpdepfile"
|
||||
;;
|
||||
|
||||
#nosideeffect)
|
||||
# This comment above is used by automake to tell side-effect
|
||||
# dependency tracking mechanisms from slower ones.
|
||||
|
||||
dashmstdout)
|
||||
# Important note: in order to support this mode, a compiler *must*
|
||||
# always write the proprocessed file to stdout, regardless of -o,
|
||||
# because we must use -o when running libtool.
|
||||
test -z "$dashmflag" && dashmflag=-M
|
||||
( IFS=" "
|
||||
case " $* " in
|
||||
*" --mode=compile "*) # this is libtool, let us make it quiet
|
||||
for arg
|
||||
do # cycle over the arguments
|
||||
case "$arg" in
|
||||
"--mode=compile")
|
||||
# insert --quiet before "--mode=compile"
|
||||
set fnord "$@" --quiet
|
||||
shift # fnord
|
||||
;;
|
||||
esac
|
||||
set fnord "$@" "$arg"
|
||||
shift # fnord
|
||||
shift # "$arg"
|
||||
done
|
||||
;;
|
||||
esac
|
||||
"$@" $dashmflag | sed 's:^[^:]*\:[ ]*:'"$object"'\: :' > "$tmpdepfile"
|
||||
) &
|
||||
proc=$!
|
||||
"$@"
|
||||
stat=$?
|
||||
wait "$proc"
|
||||
if test "$stat" != 0; then exit $stat; fi
|
||||
rm -f "$depfile"
|
||||
cat < "$tmpdepfile" > "$depfile"
|
||||
tr ' ' '
|
||||
' < "$tmpdepfile" | \
|
||||
## Some versions of the HPUX 10.20 sed can't process this invocation
|
||||
## correctly. Breaking it into two sed invocations is a workaround.
|
||||
sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
|
||||
rm -f "$tmpdepfile"
|
||||
;;
|
||||
|
||||
dashXmstdout)
|
||||
# This case only exists to satisfy depend.m4. It is never actually
|
||||
# run, as this mode is specially recognized in the preamble.
|
||||
exit 1
|
||||
;;
|
||||
|
||||
makedepend)
|
||||
# X makedepend
|
||||
(
|
||||
shift
|
||||
cleared=no
|
||||
for arg in "$@"; do
|
||||
case $cleared in no)
|
||||
set ""; shift
|
||||
cleared=yes
|
||||
esac
|
||||
case "$arg" in
|
||||
-D*|-I*)
|
||||
set fnord "$@" "$arg"; shift;;
|
||||
-*)
|
||||
;;
|
||||
*)
|
||||
set fnord "$@" "$arg"; shift;;
|
||||
esac
|
||||
done
|
||||
obj_suffix="`echo $object | sed 's/^.*\././'`"
|
||||
touch "$tmpdepfile"
|
||||
${MAKEDEPEND-makedepend} 2>/dev/null -o"$obj_suffix" -f"$tmpdepfile" "$@"
|
||||
) &
|
||||
proc=$!
|
||||
"$@"
|
||||
stat=$?
|
||||
wait "$proc"
|
||||
if test "$stat" != 0; then exit $stat; fi
|
||||
rm -f "$depfile"
|
||||
cat < "$tmpdepfile" > "$depfile"
|
||||
tail +3 "$tmpdepfile" | tr ' ' '
|
||||
' | \
|
||||
## Some versions of the HPUX 10.20 sed can't process this invocation
|
||||
## correctly. Breaking it into two sed invocations is a workaround.
|
||||
sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
|
||||
rm -f "$tmpdepfile" "$tmpdepfile".bak
|
||||
;;
|
||||
|
||||
cpp)
|
||||
# Important note: in order to support this mode, a compiler *must*
|
||||
# always write the proprocessed file to stdout, regardless of -o,
|
||||
# because we must use -o when running libtool.
|
||||
( IFS=" "
|
||||
case " $* " in
|
||||
*" --mode=compile "*)
|
||||
for arg
|
||||
do # cycle over the arguments
|
||||
case $arg in
|
||||
"--mode=compile")
|
||||
# insert --quiet before "--mode=compile"
|
||||
set fnord "$@" --quiet
|
||||
shift # fnord
|
||||
;;
|
||||
esac
|
||||
set fnord "$@" "$arg"
|
||||
shift # fnord
|
||||
shift # "$arg"
|
||||
done
|
||||
;;
|
||||
esac
|
||||
"$@" -E |
|
||||
sed -n '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' |
|
||||
sed '$ s: \\$::' > "$tmpdepfile"
|
||||
) &
|
||||
proc=$!
|
||||
"$@"
|
||||
stat=$?
|
||||
wait "$proc"
|
||||
if test "$stat" != 0; then exit $stat; fi
|
||||
rm -f "$depfile"
|
||||
echo "$object : \\" > "$depfile"
|
||||
cat < "$tmpdepfile" >> "$depfile"
|
||||
sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile"
|
||||
rm -f "$tmpdepfile"
|
||||
;;
|
||||
|
||||
msvisualcpp)
|
||||
# Important note: in order to support this mode, a compiler *must*
|
||||
# always write the proprocessed file to stdout, regardless of -o,
|
||||
# because we must use -o when running libtool.
|
||||
( IFS=" "
|
||||
case " $* " in
|
||||
*" --mode=compile "*)
|
||||
for arg
|
||||
do # cycle over the arguments
|
||||
case $arg in
|
||||
"--mode=compile")
|
||||
# insert --quiet before "--mode=compile"
|
||||
set fnord "$@" --quiet
|
||||
shift # fnord
|
||||
;;
|
||||
esac
|
||||
set fnord "$@" "$arg"
|
||||
shift # fnord
|
||||
shift # "$arg"
|
||||
done
|
||||
;;
|
||||
esac
|
||||
"$@" -E |
|
||||
sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::echo "`cygpath -u \\"\1\\"`":p' | sort | uniq > "$tmpdepfile"
|
||||
) &
|
||||
proc=$!
|
||||
"$@"
|
||||
stat=$?
|
||||
wait "$proc"
|
||||
if test "$stat" != 0; then exit $stat; fi
|
||||
rm -f "$depfile"
|
||||
echo "$object : \\" > "$depfile"
|
||||
. "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s:: \1 \\:p' >> "$depfile"
|
||||
echo " " >> "$depfile"
|
||||
. "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s::\1\::p' >> "$depfile"
|
||||
rm -f "$tmpdepfile"
|
||||
;;
|
||||
|
||||
none)
|
||||
exec "$@"
|
||||
;;
|
||||
|
||||
*)
|
||||
echo "Unknown depmode $depmode" 1>&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
exit 0
|
71
admin/detect-autoconf.sh
Normal file
71
admin/detect-autoconf.sh
Normal file
@ -0,0 +1,71 @@
|
||||
#! /bin/sh
|
||||
|
||||
# Global variables...
|
||||
AUTOCONF="autoconf"
|
||||
AUTOHEADER="autoheader"
|
||||
AUTOM4TE="autom4te"
|
||||
AUTOMAKE="automake"
|
||||
ACLOCAL="aclocal"
|
||||
|
||||
|
||||
# We don't use variable here for remembering the type ... strings.
|
||||
# local variables are not that portable, but we fear namespace issues with
|
||||
# our includer. The repeated type calls are not that expensive.
|
||||
checkAutoconf()
|
||||
{
|
||||
if test -x "`$WHICH autoconf-2.5x`" ; then
|
||||
AUTOCONF="`$WHICH autoconf-2.5x`"
|
||||
elif test -x "`$WHICH autoconf-2.53`" ; then
|
||||
AUTOCONF="`$WHICH autoconf-2.53`"
|
||||
elif test -x "`$WHICH autoconf-2.52`" ; then
|
||||
AUTOCONF="`$WHICH autoconf-2.52`"
|
||||
elif test -x "`$WHICH autoconf2.50`" ; then
|
||||
AUTOCONF="`$WHICH autoconf2.50`"
|
||||
fi
|
||||
}
|
||||
|
||||
checkAutoheader()
|
||||
{
|
||||
if test -x "`$WHICH autoheader-2.5x`" ; then
|
||||
AUTOHEADER="`$WHICH autoheader-2.5x`"
|
||||
AUTOM4TE="`$WHICH autom4te-2.5x`"
|
||||
elif test -x "`$WHICH autoheader-2.53`" ; then
|
||||
AUTOHEADER="`$WHICH autoheader-2.53`"
|
||||
AUTOM4TE="`$WHICH autom4te-2.53`"
|
||||
elif test -x "`$WHICH autoheader-2.52`" ; then
|
||||
AUTOHEADER="`$WHICH autoheader-2.52`"
|
||||
elif test -x "`$WHICH autoheader2.50`" ; then
|
||||
AUTOHEADER="`$WHICH autoheader2.50`"
|
||||
fi
|
||||
}
|
||||
|
||||
checkAutomakeAclocal ()
|
||||
{
|
||||
if test -z "$UNSERMAKE"; then
|
||||
if test -x "`$WHICH automake-1.5`" ; then
|
||||
AUTOMAKE="`$WHICH automake-1.5`"
|
||||
ACLOCAL="`$WHICH aclocal-1.5`"
|
||||
elif test -x "`$WHICH automake-1.6`" ; then
|
||||
AUTOMAKE="`$WHICH automake-1.6`"
|
||||
ACLOCAL="`$WHICH aclocal-1.6`"
|
||||
fi
|
||||
else
|
||||
AUTOMAKE="$UNSERMAKE"
|
||||
fi
|
||||
}
|
||||
|
||||
checkWhich ()
|
||||
{
|
||||
WHICH=""
|
||||
for i in "type -p" "which" "type" ; do
|
||||
T=`$i sh`
|
||||
test -x "$T" && WHICH="$i" && break
|
||||
done
|
||||
}
|
||||
|
||||
checkWhich
|
||||
checkAutoconf
|
||||
checkAutoheader
|
||||
checkAutomakeAclocal
|
||||
|
||||
export WHICH AUTOHEADER AUTOCONF AUTOM4TE AUTOMAKE ACLOCAL
|
251
admin/install-sh
Executable file
251
admin/install-sh
Executable file
@ -0,0 +1,251 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# install - install a program, script, or datafile
|
||||
# This comes from X11R5 (mit/util/scripts/install.sh).
|
||||
#
|
||||
# Copyright 1991 by the Massachusetts Institute of Technology
|
||||
#
|
||||
# Permission to use, copy, modify, distribute, and sell this software and its
|
||||
# documentation for any purpose is hereby granted without fee, provided that
|
||||
# the above copyright notice appear in all copies and that both that
|
||||
# copyright notice and this permission notice appear in supporting
|
||||
# documentation, and that the name of M.I.T. not be used in advertising or
|
||||
# publicity pertaining to distribution of the software without specific,
|
||||
# written prior permission. M.I.T. makes no representations about the
|
||||
# suitability of this software for any purpose. It is provided "as is"
|
||||
# without express or implied warranty.
|
||||
#
|
||||
# Calling this script install-sh is preferred over install.sh, to prevent
|
||||
# `make' implicit rules from creating a file called install from it
|
||||
# when there is no Makefile.
|
||||
#
|
||||
# This script is compatible with the BSD install script, but was written
|
||||
# from scratch. It can only install one file at a time, a restriction
|
||||
# shared with many OS's install programs.
|
||||
|
||||
|
||||
# set DOITPROG to echo to test this script
|
||||
|
||||
# Don't use :- since 4.3BSD and earlier shells don't like it.
|
||||
doit="${DOITPROG-}"
|
||||
|
||||
|
||||
# put in absolute paths if you don't have them in your path; or use env. vars.
|
||||
|
||||
mvprog="${MVPROG-mv}"
|
||||
cpprog="${CPPROG-cp}"
|
||||
chmodprog="${CHMODPROG-chmod}"
|
||||
chownprog="${CHOWNPROG-chown}"
|
||||
chgrpprog="${CHGRPPROG-chgrp}"
|
||||
stripprog="${STRIPPROG-strip}"
|
||||
rmprog="${RMPROG-rm}"
|
||||
mkdirprog="${MKDIRPROG-mkdir}"
|
||||
|
||||
transformbasename=""
|
||||
transform_arg=""
|
||||
instcmd="$mvprog"
|
||||
chmodcmd="$chmodprog 0755"
|
||||
chowncmd=""
|
||||
chgrpcmd=""
|
||||
stripcmd=""
|
||||
rmcmd="$rmprog -f"
|
||||
mvcmd="$mvprog"
|
||||
src=""
|
||||
dst=""
|
||||
dir_arg=""
|
||||
|
||||
while [ x"$1" != x ]; do
|
||||
case $1 in
|
||||
-c) instcmd="$cpprog"
|
||||
shift
|
||||
continue;;
|
||||
|
||||
-d) dir_arg=true
|
||||
shift
|
||||
continue;;
|
||||
|
||||
-m) chmodcmd="$chmodprog $2"
|
||||
shift
|
||||
shift
|
||||
continue;;
|
||||
|
||||
-o) chowncmd="$chownprog $2"
|
||||
shift
|
||||
shift
|
||||
continue;;
|
||||
|
||||
-g) chgrpcmd="$chgrpprog $2"
|
||||
shift
|
||||
shift
|
||||
continue;;
|
||||
|
||||
-s) stripcmd="$stripprog"
|
||||
shift
|
||||
continue;;
|
||||
|
||||
-t=*) transformarg=`echo $1 | sed 's/-t=//'`
|
||||
shift
|
||||
continue;;
|
||||
|
||||
-b=*) transformbasename=`echo $1 | sed 's/-b=//'`
|
||||
shift
|
||||
continue;;
|
||||
|
||||
*) if [ x"$src" = x ]
|
||||
then
|
||||
src=$1
|
||||
else
|
||||
# this colon is to work around a 386BSD /bin/sh bug
|
||||
:
|
||||
dst=$1
|
||||
fi
|
||||
shift
|
||||
continue;;
|
||||
esac
|
||||
done
|
||||
|
||||
if [ x"$src" = x ]
|
||||
then
|
||||
echo "install: no input file specified"
|
||||
exit 1
|
||||
else
|
||||
true
|
||||
fi
|
||||
|
||||
if [ x"$dir_arg" != x ]; then
|
||||
dst=$src
|
||||
src=""
|
||||
|
||||
if [ -d $dst ]; then
|
||||
instcmd=:
|
||||
chmodcmd=""
|
||||
else
|
||||
instcmd=mkdir
|
||||
fi
|
||||
else
|
||||
|
||||
# Waiting for this to be detected by the "$instcmd $src $dsttmp" command
|
||||
# might cause directories to be created, which would be especially bad
|
||||
# if $src (and thus $dsttmp) contains '*'.
|
||||
|
||||
if [ -f $src -o -d $src ]
|
||||
then
|
||||
true
|
||||
else
|
||||
echo "install: $src does not exist"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ x"$dst" = x ]
|
||||
then
|
||||
echo "install: no destination specified"
|
||||
exit 1
|
||||
else
|
||||
true
|
||||
fi
|
||||
|
||||
# If destination is a directory, append the input filename; if your system
|
||||
# does not like double slashes in filenames, you may need to add some logic
|
||||
|
||||
if [ -d $dst ]
|
||||
then
|
||||
dst="$dst"/`basename $src`
|
||||
else
|
||||
true
|
||||
fi
|
||||
fi
|
||||
|
||||
## this sed command emulates the dirname command
|
||||
dstdir=`echo $dst | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'`
|
||||
|
||||
# Make sure that the destination directory exists.
|
||||
# this part is taken from Noah Friedman's mkinstalldirs script
|
||||
|
||||
# Skip lots of stat calls in the usual case.
|
||||
if [ ! -d "$dstdir" ]; then
|
||||
defaultIFS='
|
||||
'
|
||||
IFS="${IFS-${defaultIFS}}"
|
||||
|
||||
oIFS="${IFS}"
|
||||
# Some sh's can't handle IFS=/ for some reason.
|
||||
IFS='%'
|
||||
set - `echo ${dstdir} | sed -e 's@/@%@g' -e 's@^%@/@'`
|
||||
IFS="${oIFS}"
|
||||
|
||||
pathcomp=''
|
||||
|
||||
while [ $# -ne 0 ] ; do
|
||||
pathcomp="${pathcomp}${1}"
|
||||
shift
|
||||
|
||||
if [ ! -d "${pathcomp}" ] ;
|
||||
then
|
||||
$mkdirprog "${pathcomp}"
|
||||
else
|
||||
true
|
||||
fi
|
||||
|
||||
pathcomp="${pathcomp}/"
|
||||
done
|
||||
fi
|
||||
|
||||
if [ x"$dir_arg" != x ]
|
||||
then
|
||||
$doit $instcmd $dst &&
|
||||
|
||||
if [ x"$chowncmd" != x ]; then $doit $chowncmd $dst; else true ; fi &&
|
||||
if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dst; else true ; fi &&
|
||||
if [ x"$stripcmd" != x ]; then $doit $stripcmd $dst; else true ; fi &&
|
||||
if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dst; else true ; fi
|
||||
else
|
||||
|
||||
# If we're going to rename the final executable, determine the name now.
|
||||
|
||||
if [ x"$transformarg" = x ]
|
||||
then
|
||||
dstfile=`basename $dst`
|
||||
else
|
||||
dstfile=`basename $dst $transformbasename |
|
||||
sed $transformarg`$transformbasename
|
||||
fi
|
||||
|
||||
# don't allow the sed command to completely eliminate the filename
|
||||
|
||||
if [ x"$dstfile" = x ]
|
||||
then
|
||||
dstfile=`basename $dst`
|
||||
else
|
||||
true
|
||||
fi
|
||||
|
||||
# Make a temp file name in the proper directory.
|
||||
|
||||
dsttmp=$dstdir/#inst.$$#
|
||||
|
||||
# Move or copy the file name to the temp name
|
||||
|
||||
$doit $instcmd $src $dsttmp &&
|
||||
|
||||
trap "rm -f ${dsttmp}" 0 &&
|
||||
|
||||
# and set any options; do chmod last to preserve setuid bits
|
||||
|
||||
# If any of these fail, we abort the whole thing. If we want to
|
||||
# ignore errors from any of these, just make sure not to ignore
|
||||
# errors from the above "$doit $instcmd $src $dsttmp" command.
|
||||
|
||||
if [ x"$chowncmd" != x ]; then $doit $chowncmd $dsttmp; else true;fi &&
|
||||
if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dsttmp; else true;fi &&
|
||||
if [ x"$stripcmd" != x ]; then $doit $stripcmd $dsttmp; else true;fi &&
|
||||
if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dsttmp; else true;fi &&
|
||||
|
||||
# Now rename the file to the real destination.
|
||||
|
||||
$doit $rmcmd -f $dstdir/$dstfile &&
|
||||
$doit $mvcmd $dsttmp $dstdir/$dstfile
|
||||
|
||||
fi &&
|
||||
|
||||
|
||||
exit 0
|
5399
admin/libtool.m4.in
vendored
Normal file
5399
admin/libtool.m4.in
vendored
Normal file
File diff suppressed because it is too large
Load Diff
5572
admin/ltmain.sh
Normal file
5572
admin/ltmain.sh
Normal file
File diff suppressed because it is too large
Load Diff
302
admin/missing
Executable file
302
admin/missing
Executable file
@ -0,0 +1,302 @@
|
||||
#! /bin/sh
|
||||
# Common stub for a few missing GNU programs while installing.
|
||||
# Copyright 1996, 1997, 1999, 2000 Free Software Foundation, Inc.
|
||||
# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
|
||||
|
||||
# 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.
|
||||
|
||||
if test $# -eq 0; then
|
||||
echo 1>&2 "Try \`$0 --help' for more information"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# In the cases where this matters, `missing' is being run in the
|
||||
# srcdir already.
|
||||
if test -f configure.ac; then
|
||||
configure_ac=configure.ac
|
||||
else
|
||||
configure_ac=configure.in
|
||||
fi
|
||||
|
||||
case "$1" in
|
||||
--run)
|
||||
# Try to run requested program, and just exit if it succeeds.
|
||||
run=
|
||||
shift
|
||||
exec="$@"
|
||||
|
||||
# Suck in the AUTOCONF detection code.
|
||||
admindir=`echo "$0" | sed 's%[\\/][^\\/][^\\/]*$%%'`
|
||||
test "x$admindir" = "x$0" && admindir=.
|
||||
. $admindir/detect-autoconf.sh
|
||||
|
||||
case "$1" in
|
||||
aclocal)
|
||||
exec="`echo $exec|sed -e \"s^aclocal^$ACLOCAL^\"`"
|
||||
;;
|
||||
autoheader)
|
||||
exec="`echo $exec|sed -e \"s^autoheader^$AUTOHEADER^\"`"
|
||||
;;
|
||||
autoconf)
|
||||
exec="`echo $exec|sed -e \"s^autoconf^$AUTOCONF^\"`"
|
||||
;;
|
||||
automake)
|
||||
exec="`echo $exec|sed -e \"s^automake^$AUTOMAKE^\"`"
|
||||
;;
|
||||
esac
|
||||
$exec && exit 0
|
||||
;;
|
||||
esac
|
||||
|
||||
# If it does not exist, or fails to run (possibly an outdated version),
|
||||
# try to emulate it.
|
||||
case "$1" in
|
||||
|
||||
-h|--h|--he|--hel|--help)
|
||||
echo "\
|
||||
$0 [OPTION]... PROGRAM [ARGUMENT]...
|
||||
|
||||
Handle \`PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an
|
||||
error status if there is no known handling for PROGRAM.
|
||||
|
||||
Options:
|
||||
-h, --help display this help and exit
|
||||
-v, --version output version information and exit
|
||||
--run try to run the given command, and emulate it if it fails
|
||||
|
||||
Supported PROGRAM values:
|
||||
aclocal touch file \`aclocal.m4'
|
||||
autoconf touch file \`configure'
|
||||
autoheader touch file \`config.h.in'
|
||||
automake touch all \`Makefile.in' files
|
||||
bison create \`y.tab.[ch]', if possible, from existing .[ch]
|
||||
flex create \`lex.yy.c', if possible, from existing .c
|
||||
help2man touch the output file
|
||||
lex create \`lex.yy.c', if possible, from existing .c
|
||||
makeinfo touch the output file
|
||||
tar try tar, gnutar, gtar, then tar without non-portable flags
|
||||
yacc create \`y.tab.[ch]', if possible, from existing .[ch]"
|
||||
;;
|
||||
|
||||
-v|--v|--ve|--ver|--vers|--versi|--versio|--version)
|
||||
echo "missing 0.3 - GNU automake"
|
||||
;;
|
||||
|
||||
-*)
|
||||
echo 1>&2 "$0: Unknown \`$1' option"
|
||||
echo 1>&2 "Try \`$0 --help' for more information"
|
||||
exit 1
|
||||
;;
|
||||
|
||||
aclocal)
|
||||
echo 1>&2 "\
|
||||
WARNING: \`$1' is missing on your system. You should only need it if
|
||||
you modified \`acinclude.m4' or \`${configure_ac}'. You might want
|
||||
to install the \`Automake' and \`Perl' packages. Grab them from
|
||||
any GNU archive site."
|
||||
touch aclocal.m4
|
||||
;;
|
||||
|
||||
autoconf)
|
||||
echo 1>&2 "\
|
||||
WARNING: \`$1' is missing on your system. You should only need it if
|
||||
you modified \`${configure_ac}'. You might want to install the
|
||||
\`Autoconf' and \`GNU m4' packages. Grab them from any GNU
|
||||
archive site."
|
||||
touch configure
|
||||
;;
|
||||
|
||||
autoheader)
|
||||
echo 1>&2 "\
|
||||
WARNING: \`$1' is missing on your system. You should only need it if
|
||||
you modified \`acconfig.h' or \`${configure_ac}'. You might want
|
||||
to install the \`Autoconf' and \`GNU m4' packages. Grab them
|
||||
from any GNU archive site."
|
||||
files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' ${configure_ac}`
|
||||
test -z "$files" && files="config.h"
|
||||
touch_files=
|
||||
for f in $files; do
|
||||
case "$f" in
|
||||
*:*) touch_files="$touch_files "`echo "$f" |
|
||||
sed -e 's/^[^:]*://' -e 's/:.*//'`;;
|
||||
*) touch_files="$touch_files $f.in";;
|
||||
esac
|
||||
done
|
||||
touch $touch_files
|
||||
;;
|
||||
|
||||
automake)
|
||||
echo 1>&2 "\
|
||||
WARNING: \`$1' is missing on your system. You should only need it if
|
||||
you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'.
|
||||
You might want to install the \`Automake' and \`Perl' packages.
|
||||
Grab them from any GNU archive site."
|
||||
find . -type f -name Makefile.am -print |
|
||||
sed 's/\.am$/.in/' |
|
||||
while read f; do touch "$f"; done
|
||||
;;
|
||||
|
||||
bison|yacc)
|
||||
echo 1>&2 "\
|
||||
WARNING: \`$1' is missing on your system. You should only need it if
|
||||
you modified a \`.y' file. You may need the \`Bison' package
|
||||
in order for those modifications to take effect. You can get
|
||||
\`Bison' from any GNU archive site."
|
||||
rm -f y.tab.c y.tab.h
|
||||
if [ $# -ne 1 ]; then
|
||||
eval LASTARG="\${$#}"
|
||||
case "$LASTARG" in
|
||||
*.y)
|
||||
SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'`
|
||||
if [ -f "$SRCFILE" ]; then
|
||||
cp "$SRCFILE" y.tab.c
|
||||
fi
|
||||
SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'`
|
||||
if [ -f "$SRCFILE" ]; then
|
||||
cp "$SRCFILE" y.tab.h
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
if [ ! -f y.tab.h ]; then
|
||||
echo >y.tab.h
|
||||
fi
|
||||
if [ ! -f y.tab.c ]; then
|
||||
echo 'main() { return 0; }' >y.tab.c
|
||||
fi
|
||||
;;
|
||||
|
||||
lex|flex)
|
||||
echo 1>&2 "\
|
||||
WARNING: \`$1' is missing on your system. You should only need it if
|
||||
you modified a \`.l' file. You may need the \`Flex' package
|
||||
in order for those modifications to take effect. You can get
|
||||
\`Flex' from any GNU archive site."
|
||||
rm -f lex.yy.c
|
||||
if [ $# -ne 1 ]; then
|
||||
eval LASTARG="\${$#}"
|
||||
case "$LASTARG" in
|
||||
*.l)
|
||||
SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'`
|
||||
if [ -f "$SRCFILE" ]; then
|
||||
cp "$SRCFILE" lex.yy.c
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
if [ ! -f lex.yy.c ]; then
|
||||
echo 'main() { return 0; }' >lex.yy.c
|
||||
fi
|
||||
;;
|
||||
|
||||
help2man)
|
||||
echo 1>&2 "\
|
||||
WARNING: \`$1' is missing on your system. You should only need it if
|
||||
you modified a dependency of a manual page. You may need the
|
||||
\`Help2man' package in order for those modifications to take
|
||||
effect. You can get \`Help2man' from any GNU archive site."
|
||||
|
||||
file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'`
|
||||
if test -z "$file"; then
|
||||
file=`echo "$*" | sed -n 's/.*--output=\([^ ]*\).*/\1/p'`
|
||||
fi
|
||||
if [ -f "$file" ]; then
|
||||
touch $file
|
||||
else
|
||||
test -z "$file" || exec >$file
|
||||
echo ".ab help2man is required to generate this page"
|
||||
exit 1
|
||||
fi
|
||||
;;
|
||||
|
||||
makeinfo)
|
||||
if test -z "$run" && (makeinfo --version) > /dev/null 2>&1; then
|
||||
# We have makeinfo, but it failed.
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo 1>&2 "\
|
||||
WARNING: \`$1' is missing on your system. You should only need it if
|
||||
you modified a \`.texi' or \`.texinfo' file, or any other file
|
||||
indirectly affecting the aspect of the manual. The spurious
|
||||
call might also be the consequence of using a buggy \`make' (AIX,
|
||||
DU, IRIX). You might want to install the \`Texinfo' package or
|
||||
the \`GNU make' package. Grab either from any GNU archive site."
|
||||
file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'`
|
||||
if test -z "$file"; then
|
||||
file=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'`
|
||||
file=`sed -n '/^@setfilename/ { s/.* \([^ ]*\) *$/\1/; p; q; }' $file`
|
||||
fi
|
||||
touch $file
|
||||
;;
|
||||
|
||||
tar)
|
||||
shift
|
||||
if test -n "$run"; then
|
||||
echo 1>&2 "ERROR: \`tar' requires --run"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# We have already tried tar in the generic part.
|
||||
# Look for gnutar/gtar before invocation to avoid ugly error
|
||||
# messages.
|
||||
if (gnutar --version > /dev/null 2>&1); then
|
||||
gnutar ${1+"$@"} && exit 0
|
||||
fi
|
||||
if (gtar --version > /dev/null 2>&1); then
|
||||
gtar ${1+"$@"} && exit 0
|
||||
fi
|
||||
firstarg="$1"
|
||||
if shift; then
|
||||
case "$firstarg" in
|
||||
*o*)
|
||||
firstarg=`echo "$firstarg" | sed s/o//`
|
||||
tar "$firstarg" ${1+"$@"} && exit 0
|
||||
;;
|
||||
esac
|
||||
case "$firstarg" in
|
||||
*h*)
|
||||
firstarg=`echo "$firstarg" | sed s/h//`
|
||||
tar "$firstarg" ${1+"$@"} && exit 0
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
||||
echo 1>&2 "\
|
||||
WARNING: I can't seem to be able to run \`tar' with the given arguments.
|
||||
You may want to install GNU tar or Free paxutils, or check the
|
||||
command line arguments."
|
||||
exit 1
|
||||
;;
|
||||
|
||||
*)
|
||||
echo 1>&2 "\
|
||||
WARNING: \`$1' is needed, and you do not seem to have it handy on your
|
||||
system. You might have modified some files without having the
|
||||
proper tools for further handling them. Check the \`README' file,
|
||||
it often tells you about the needed prerequirements for installing
|
||||
this package. You may also peek at any GNU archive site, in case
|
||||
some other package would contain this missing \`$1' program."
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
exit 0
|
40
admin/mkinstalldirs
Executable file
40
admin/mkinstalldirs
Executable file
@ -0,0 +1,40 @@
|
||||
#! /bin/sh
|
||||
# mkinstalldirs --- make directory hierarchy
|
||||
# Author: Noah Friedman <friedman@prep.ai.mit.edu>
|
||||
# Created: 1993-05-16
|
||||
# Public domain
|
||||
|
||||
# $Id$
|
||||
|
||||
errstatus=0
|
||||
|
||||
for file
|
||||
do
|
||||
set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'`
|
||||
shift
|
||||
|
||||
pathcomp=
|
||||
for d
|
||||
do
|
||||
pathcomp="$pathcomp$d"
|
||||
case "$pathcomp" in
|
||||
-* ) pathcomp=./$pathcomp ;;
|
||||
esac
|
||||
|
||||
if test ! -d "$pathcomp"; then
|
||||
echo "mkdir $pathcomp"
|
||||
|
||||
mkdir "$pathcomp" || lasterr=$?
|
||||
|
||||
if test ! -d "$pathcomp"; then
|
||||
errstatus=$lasterr
|
||||
fi
|
||||
fi
|
||||
|
||||
pathcomp="$pathcomp/"
|
||||
done
|
||||
done
|
||||
|
||||
exit $errstatus
|
||||
|
||||
# mkinstalldirs ends here
|
143
admin/ylwrap
Executable file
143
admin/ylwrap
Executable file
@ -0,0 +1,143 @@
|
||||
#! /bin/sh
|
||||
# ylwrap - wrapper for lex/yacc invocations.
|
||||
# Copyright 1996, 1997, 1998, 1999 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:
|
||||
# ylwrap INPUT [OUTPUT DESIRED]... -- PROGRAM [ARGS]...
|
||||
# * INPUT is the input file
|
||||
# * OUTPUT is file PROG generates
|
||||
# * DESIRED is file we actually want
|
||||
# * PROGRAM is program to run
|
||||
# * ARGS are passed to PROG
|
||||
# Any number of OUTPUT,DESIRED pairs may be used.
|
||||
|
||||
# The input.
|
||||
input="$1"
|
||||
shift
|
||||
case "$input" in
|
||||
[\\/]* | ?:[\\/]*)
|
||||
# Absolute path; do nothing.
|
||||
;;
|
||||
*)
|
||||
# Relative path. Make it absolute.
|
||||
input="`pwd`/$input"
|
||||
;;
|
||||
esac
|
||||
|
||||
# The directory holding the input.
|
||||
input_dir=`echo "$input" | sed -e 's,\([\\/]\)[^\\/]*$,\1,'`
|
||||
# Quote $INPUT_DIR so we can use it in a regexp.
|
||||
# FIXME: really we should care about more than `.' and `\'.
|
||||
input_rx=`echo "$input_dir" | sed -e 's,\\\\,\\\\\\\\,g' -e 's,\\.,\\\\.,g'`
|
||||
|
||||
echo "got $input_rx"
|
||||
|
||||
pairlist=
|
||||
while test "$#" -ne 0; do
|
||||
if test "$1" = "--"; then
|
||||
shift
|
||||
break
|
||||
fi
|
||||
pairlist="$pairlist $1"
|
||||
shift
|
||||
done
|
||||
|
||||
# The program to run.
|
||||
prog="$1"
|
||||
shift
|
||||
# Make any relative path in $prog absolute.
|
||||
case "$prog" in
|
||||
[\\/]* | ?:[\\/]*) ;;
|
||||
*[\\/]*) prog="`pwd`/$prog" ;;
|
||||
esac
|
||||
|
||||
# FIXME: add hostname here for parallel makes that run commands on
|
||||
# other machines. But that might take us over the 14-char limit.
|
||||
dirname=ylwrap$$
|
||||
trap "cd `pwd`; rm -rf $dirname > /dev/null 2>&1" 1 2 3 15
|
||||
mkdir $dirname || exit 1
|
||||
|
||||
cd $dirname
|
||||
|
||||
$prog ${1+"$@"} "$input"
|
||||
status=$?
|
||||
|
||||
if test $status -eq 0; then
|
||||
set X $pairlist
|
||||
shift
|
||||
first=yes
|
||||
# Since DOS filename conventions don't allow two dots,
|
||||
# the DOS version of Bison writes out y_tab.c instead of y.tab.c
|
||||
# and y_tab.h instead of y.tab.h. Test to see if this is the case.
|
||||
y_tab_nodot="no"
|
||||
if test -f y_tab.c || test -f y_tab.h; then
|
||||
y_tab_nodot="yes"
|
||||
fi
|
||||
|
||||
while test "$#" -ne 0; do
|
||||
from="$1"
|
||||
# Handle y_tab.c and y_tab.h output by DOS
|
||||
if test $y_tab_nodot = "yes"; then
|
||||
if test $from = "y.tab.c"; then
|
||||
from="y_tab.c"
|
||||
else
|
||||
if test $from = "y.tab.h"; then
|
||||
from="y_tab.h"
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
if test -f "$from"; then
|
||||
# If $2 is an absolute path name, then just use that,
|
||||
# otherwise prepend `../'.
|
||||
case "$2" in
|
||||
[\\/]* | ?:[\\/]*) target="$2";;
|
||||
*) target="../$2";;
|
||||
esac
|
||||
|
||||
# Edit out `#line' or `#' directives. We don't want the
|
||||
# resulting debug information to point at an absolute srcdir;
|
||||
# it is better for it to just mention the .y file with no
|
||||
# path.
|
||||
sed -e "/^#/ s,$input_rx,," "$from" > "$target" || status=$?
|
||||
else
|
||||
# A missing file is only an error for the first file. This
|
||||
# is a blatant hack to let us support using "yacc -d". If -d
|
||||
# is not specified, we don't want an error when the header
|
||||
# file is "missing".
|
||||
if test $first = yes; then
|
||||
status=1
|
||||
fi
|
||||
fi
|
||||
shift
|
||||
shift
|
||||
first=no
|
||||
done
|
||||
else
|
||||
status=$?
|
||||
fi
|
||||
|
||||
# Remove the directory.
|
||||
cd ..
|
||||
rm -rf $dirname
|
||||
|
||||
exit $status
|
@ -31,6 +31,7 @@ author=Gary E.Sherman
|
||||
configure_args=\s--build=i386-linux --host=i386-linux --target=i386-linux --with-qt-dir=/opt/qt3.0.5\s
|
||||
email=sherman at mrcc dot com
|
||||
kdevprj_version=1.3
|
||||
lfv_open_groups=
|
||||
make_options=\s-j1
|
||||
makefiles=Makefile.am,qgis/Makefile.am,qgis/docs/Makefile.am,qgis/docs/en/Makefile.am
|
||||
modifyMakefiles=true
|
||||
|
Loading…
x
Reference in New Issue
Block a user